/* PhiPTV — site.css (landing, legal, 404, delete)
   Static, same-origin only. No inline styles anywhere in the HTML. */

@font-face {
  font-family: "Figtree";
  src: url("fonts/Figtree-Variable.woff2") format("woff2-variations"),
       url("fonts/Figtree-Variable.woff2") format("woff2");
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #0A0614;
  --surface: #1A1030;
  --surface-alt: #231645;
  --surface-hi: #2A1A52;
  --violet: #8B5CF6;
  --violet-deep: #6D4BDC;
  --glow: #BA9EFF;
  --text: #F3EEFF;
  --muted: #9486B0;
  --error: #FF6B7A;
  --warn: #FFC66B;
  --success: #58E0A8;
  --line: rgba(186, 158, 255, 0.14);
  --line-strong: rgba(186, 158, 255, 0.28);
  --r-sm: 12px;
  --r: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --font: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  --glow-shadow: 0 12px 40px rgba(139, 92, 246, 0.35);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --dur: 220ms;
  --container: 1200px;
  --gutter: clamp(20px, 5vw, 48px);
}

*, *::before, *::after { box-sizing: border-box; }
html { color-scheme: dark; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  font-weight: 400;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
body::before {
  content: "";
  position: fixed; inset: 0; z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(60vw 40vh at 50% -10%, rgba(139, 92, 246, 0.28), transparent 70%),
    radial-gradient(40vw 40vh at 100% 100%, rgba(109, 75, 220, 0.12), transparent 70%);
}
img, svg { display: block; max-inline-size: 100%; }
a { color: var(--glow); text-decoration: none; text-underline-offset: 0.2em; }
a:hover { color: var(--text); text-decoration: underline; }
:focus { outline: none; }
:focus-visible { outline: 3px solid var(--glow); outline-offset: 3px; border-radius: 6px; }
::selection { background: rgba(139, 92, 246, 0.5); color: var(--text); }
h1, h2, h3, h4 { margin: 0; font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
strong { font-weight: 700; }
kbd, code, .path {
  font-family: var(--mono);
  font-size: 0.86em;
  background: var(--surface-alt);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0.1em 0.45em;
  color: var(--glow);
}
.visually-hidden {
  position: absolute !important; inline-size: 1px; block-size: 1px;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

/* ── Layout ─────────────────────────────────────────── */
.container { inline-size: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.section { padding-block: clamp(56px, 9vw, 120px); }
.section-head { max-inline-size: 640px; margin-block-end: clamp(32px, 5vw, 56px); display: grid; gap: 14px; }
.section-head h2 { font-size: clamp(30px, 4.2vw, 48px); }
.section-head p { color: var(--muted); font-size: clamp(16px, 1.3vw, 19px); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--glow);
}
.eyebrow::before { content: ""; inline-size: 20px; block-size: 2px; background: var(--violet); border-radius: 2px; }

/* ── Skip link ──────────────────────────────────────── */
.skip-link {
  position: absolute; inset-inline-start: 16px; inset-block-start: -100px; z-index: 100;
  padding: 12px 18px; border-radius: var(--r-sm);
  background: var(--violet); color: #fff; font-weight: 700;
}
.skip-link:focus { inset-block-start: 16px; text-decoration: none; }

/* ── Header ─────────────────────────────────────────── */
.site-header {
  position: sticky; inset-block-start: 0; z-index: 50;
  background: rgba(10, 6, 20, 0.72);
  -webkit-backdrop-filter: blur(18px) saturate(1.3);
  backdrop-filter: blur(18px) saturate(1.3);
  border-block-end: 1px solid var(--line);
}
.site-header-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  min-block-size: 72px; padding-block: 12px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--text); min-block-size: 44px; }
.brand:hover { text-decoration: none; color: var(--text); }
.brand-logo { inline-size: 34px; block-size: 34px; filter: drop-shadow(0 4px 16px rgba(139, 92, 246, 0.55)); }
.brand-text { font-weight: 800; letter-spacing: 0.22em; font-size: 15px; color: var(--glow); }
.site-nav { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; justify-content: flex-end; }
.site-nav a {
  display: inline-flex; align-items: center; min-block-size: 44px; padding-inline: 14px;
  border-radius: 999px; color: var(--muted); font-weight: 600; font-size: 15px;
  transition: color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.site-nav a:hover { color: var(--text); background: rgba(186, 158, 255, 0.08); text-decoration: none; }
.site-nav a.is-current { color: var(--text); }
.site-nav a.btn { margin-inline-start: 8px; color: #fff; }
@media (max-width: 720px) {
  /* Phones get the two things a phone visitor comes for: try the app and
     their account. Manage my TV stays in the footer and on /account. */
  .site-nav a:not(.nav-try):not(.nav-account) { display: none; }
  .site-nav a { padding-inline: 10px; font-size: 14.5px; }
  .site-nav a.nav-account { color: var(--text); border: 1px solid var(--line-strong); }
}

/* ── Buttons ────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-block-size: 52px; padding: 0 26px;
  border-radius: 999px; border: 1px solid transparent;
  background: var(--violet); color: #fff;
  font: inherit; font-weight: 700; font-size: 16px; letter-spacing: -0.005em;
  cursor: pointer; text-decoration: none; white-space: nowrap;
  box-shadow: var(--glow-shadow);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), background var(--dur) var(--ease);
}
.btn:hover { background: var(--violet-deep); color: #fff; text-decoration: none; transform: translateY(-1px); box-shadow: 0 16px 48px rgba(139, 92, 246, 0.45); }
.btn:active { transform: translateY(0) scale(0.985); }
.btn-secondary { background: rgba(186, 158, 255, 0.08); border-color: var(--line-strong); color: var(--text); box-shadow: none; }
.btn-secondary:hover { background: rgba(186, 158, 255, 0.14); box-shadow: none; }
.btn-small { min-block-size: 44px; padding-inline: 20px; font-size: 15px; }

/* ── Cards ──────────────────────────────────────────── */
.card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0)) , var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(24px, 3vw, 32px);
  transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease), background var(--dur) var(--ease);
}

/* ── Hero ───────────────────────────────────────────── */
.hero {
  display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(40px, 5vw, 64px);
  align-items: center;
  padding-block: clamp(48px, 8vw, 112px) clamp(40px, 6vw, 80px);
}
@media (min-width: 960px) { .hero { grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); } }
.hero-copy { display: grid; gap: 24px; justify-items: start; }
.hero-logo { inline-size: 64px; block-size: 64px; filter: drop-shadow(0 8px 32px rgba(139, 92, 246, 0.6)); }
.hero h1 {
  font-size: clamp(40px, 6vw, 76px);
  font-weight: 800; letter-spacing: -0.035em; line-height: 0.98;
  max-inline-size: 12ch;
}
.hero .lead { color: var(--muted); font-size: clamp(17px, 1.4vw, 21px); max-inline-size: 52ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-fineprint { color: var(--muted); font-size: 14px; max-inline-size: 52ch; padding-inline-start: 14px; border-inline-start: 2px solid var(--line-strong); }
.hero-visual { position: relative; }
.hero-visual::before {
  content: ""; position: absolute; inset: 10% 5% -10%; z-index: -1; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(139, 92, 246, 0.35), transparent);
  filter: blur(40px);
}
.hero-visual img { inline-size: 100%; block-size: auto; border-radius: var(--r-lg); }
@media (prefers-reduced-motion: no-preference) {
  .hero-copy > * { animation: rise 700ms var(--ease) both; }
  .hero-copy > :nth-child(2) { animation-delay: 60ms; }
  .hero-copy > :nth-child(3) { animation-delay: 120ms; }
  .hero-copy > :nth-child(4) { animation-delay: 180ms; }
  .hero-copy > :nth-child(5) { animation-delay: 240ms; }
  .hero-visual { animation: rise 900ms var(--ease) 200ms both; }
}
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ── Features ───────────────────────────────────────── */
.features {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
}
.feature { display: grid; gap: 14px; align-content: start; min-block-size: 220px; }
.feature:hover { border-color: var(--line-strong); background: var(--surface-alt); }
.feature-icon {
  inline-size: 48px; block-size: 48px; display: grid; place-items: center;
  border-radius: 14px; background: var(--surface-hi); color: var(--glow);
  border: 1px solid var(--line);
}
.feature-icon svg { inline-size: 22px; block-size: 22px; }
.feature h3 { font-size: 20px; margin-block-start: 6px; }
.feature p { color: var(--muted); font-size: 15.5px; }
.feature em { font-style: normal; color: var(--glow); }

/* ── Steps ──────────────────────────────────────────── */
.steps {
  list-style: none; margin: 0; padding: 0; counter-reset: step;
  display: grid; gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
}
.step { counter-increment: step; display: grid; gap: 12px; align-content: start; position: relative; }
.step::before {
  content: counter(step, decimal-leading-zero);
  font-size: 13px; font-weight: 700; letter-spacing: 0.16em; color: var(--glow);
  font-variant-numeric: tabular-nums;
}
.step h3 { font-size: 21px; }
.step p { color: var(--muted); font-size: 15.5px; }
.supported { margin-block-start: 28px; color: var(--muted); font-size: 15px; max-inline-size: 72ch; }
.supported strong { color: var(--text); }
.source-note {
  margin-block-start: 16px; display: flex; gap: 12px; align-items: flex-start;
  color: var(--text); font-size: 15px; max-inline-size: 72ch;
}
.source-note svg { flex: 0 0 auto; inline-size: 20px; block-size: 20px; margin-block-start: 3px; color: var(--glow); }

/* ── Content responsibility notice ──────────────────── */
#responsibility { padding-block: 0; }
.notice {
  margin-inline: auto; max-inline-size: 880px;
  padding: clamp(32px, 5vw, 56px);
  border-radius: var(--r-xl);
  background: linear-gradient(160deg, var(--surface-alt), var(--surface));
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  text-align: center; display: grid; gap: 18px;
}
.notice p { font-size: clamp(18px, 1.7vw, 23px); font-weight: 500; line-height: 1.45; text-wrap: balance; }
.notice .notice-sub { font-size: 14px; font-weight: 400; color: var(--muted); margin-block-start: 8px; }

/* ── Screens ────────────────────────────────────────── */
.screens {
  display: grid; gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  align-items: start;
}
.screens figure { margin: 0; display: grid; gap: 14px; }
.screens img { inline-size: 100%; block-size: auto; border-radius: var(--r); box-shadow: var(--shadow); }
.screens .is-phone { grid-row: span 2; }
.screens .is-phone img { inline-size: min(100%, 300px); margin-inline: auto; border-radius: var(--r-xl); }
.screens figcaption { color: var(--muted); font-size: 14.5px; }
.screens-note { margin-block-start: 28px; color: var(--muted); font-size: 14px; max-inline-size: 72ch; }

/* ── FAQ ────────────────────────────────────────────── */
.faq { display: grid; gap: 10px; max-inline-size: 760px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding-inline: 22px; transition: border-color var(--dur) var(--ease); }
.faq details[open] { border-color: var(--line-strong); background: var(--surface-alt); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; min-block-size: 60px; padding-block: 14px; font-weight: 700; font-size: 17.5px; letter-spacing: -0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: 0 0 auto; inline-size: 10px; block-size: 10px; border-inline-end: 2px solid var(--glow); border-block-end: 2px solid var(--glow); transform: rotate(45deg); margin-inline-end: 4px; transition: transform var(--dur) var(--ease); }
.faq details[open] summary::after { transform: rotate(-135deg); }
.faq summary:focus-visible { outline-offset: -3px; border-radius: var(--r); }
.faq details p { color: var(--muted); font-size: 15.5px; padding-block: 0 20px; max-inline-size: 64ch; }

/* ── Works on ───────────────────────────────────────── */
.works-on { list-style: none; margin: 0 auto 28px; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); max-inline-size: 720px; }
.works-on li { display: grid; gap: 4px; padding: 20px 24px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); text-align: start; }
.works-on strong { font-size: 16.5px; }
.works-on span { color: var(--muted); font-size: 14.5px; }

/* ── Platform tiles + logos (index, downloads) ───────── */
.pf-title { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; font-size: 20px; margin-block: 8px 16px; }
.pf-grid + .pf-title { margin-block-start: 44px; }
.tag { font-size: 11.5px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; padding: 5px 11px; border-radius: 999px; }
.tag-now { color: var(--success); background: rgba(88, 224, 168, 0.1); border: 1px solid rgba(88, 224, 168, 0.4); }
.tag-next { color: var(--glow); background: rgba(186, 158, 255, 0.08); border: 1px solid var(--line-strong); }
.pf-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 215px), 1fr)); }
.pf { display: grid; gap: 6px; align-content: start; padding: 22px; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--surface); }
.pf svg { inline-size: 30px; block-size: 30px; margin-block-end: 8px; color: var(--glow); }
.pf strong { font-size: 17px; letter-spacing: -0.01em; }
.pf span { color: var(--muted); font-size: 14.5px; line-height: 1.5; }
.pf-now { border-color: rgba(88, 224, 168, 0.32); background: linear-gradient(160deg, rgba(88, 224, 168, 0.09), transparent 55%), var(--surface); }
.pf-now svg { color: var(--success); }
.pf-next { border-color: var(--line-strong); background: linear-gradient(160deg, rgba(139, 92, 246, 0.16), transparent 60%), var(--surface); }
.pf-plan { border-style: dashed; border-color: var(--line-strong); background: transparent; }
.pf-plan svg { color: var(--muted); }
.pf-note { margin-block-start: 28px; color: var(--muted); font-size: 13px; max-inline-size: 86ch; }
/* Brand marks in their official colours (Simple Icons brand hex values) on a
   white tile, so blue, black and dark-red marks keep contrast on the dark UI.
   The tile is the element; the mark is a masked ::after so no inline styles
   and no per-colour image files are needed. */
.logo {
  display: grid; place-items: center;
  inline-size: 44px; block-size: 44px; margin-block-end: 8px;
  border-radius: 12px; background: #fff;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35), inset 0 0 0 1px rgba(0, 0, 0, 0.06);
}
.logo::after {
  content: ""; display: block; inline-size: var(--mark, 26px); block-size: var(--mark, 26px);
  background-color: var(--brand, #111);
  -webkit-mask: var(--m) center / var(--mask-size, contain) no-repeat;
  mask: var(--m) center / var(--mask-size, contain) no-repeat;
}
.logo-android { --m: url("img/platforms/android.svg"); --brand: #3DDC84; }
.logo-googletv { --m: url("img/platforms/googletv.svg"); --brand: #4285F4; }
.logo-lg { --m: url("img/platforms/lg.svg"); --brand: #A50034; --mark: 30px; }
.logo-samsung { --m: url("img/platforms/samsung.svg"); --brand: #1428A0; inline-size: 84px; --mark: 76px; --mask-size: 76px 76px; }
.logo-apple { --m: url("img/platforms/apple.svg"); --brand: #000000; }
.logo-macos { --m: url("img/platforms/macos.svg"); --brand: #000000; inline-size: 76px; --mark: 68px; --mask-size: 68px 68px; }
.logo-linux { --m: url("img/platforms/linux.svg"); --brand: #000000; --mark: 30px; }
.logo-windows { --brand: #0078D4; }
.logo-windows::after { -webkit-mask: none; mask: none; background:
  linear-gradient(var(--brand), var(--brand)) 0 0 / 46% 46% no-repeat,
  linear-gradient(var(--brand), var(--brand)) 100% 0 / 46% 46% no-repeat,
  linear-gradient(var(--brand), var(--brand)) 0 100% / 46% 46% no-repeat,
  linear-gradient(var(--brand), var(--brand)) 100% 100% / 46% 46% no-repeat; }
.logo-glyph::after { -webkit-mask: none; mask: none; background: none; }
.logo-glyph svg { inline-size: 26px; block-size: 26px; color: #4B3A7A; }

/* ── Inner pages (pricing, downloads, providers) ─────── */
.page-head { padding-block: clamp(40px, 6vw, 80px) clamp(16px, 3vw, 32px); display: grid; gap: 16px; max-inline-size: 760px; }
.page-head h1 { font-size: clamp(36px, 5vw, 62px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.02; }
.page-head .lead { color: var(--muted); font-size: clamp(17px, 1.4vw, 20px); }
.page-head .lead strong { color: var(--text); }
.subnav { display: flex; flex-wrap: wrap; gap: 8px; margin-block-start: 8px; }
.subnav a { display: inline-flex; align-items: center; min-block-size: 40px; padding-inline: 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--muted); font-size: 14px; font-weight: 600; }
.subnav a:hover { color: var(--text); border-color: var(--line-strong); text-decoration: none; }
.section-tight { padding-block: clamp(32px, 5vw, 64px); }
.callout { padding: 20px 24px; border-radius: var(--r); border: 1px solid var(--line-strong); background: rgba(186, 158, 255, 0.06); color: var(--text); font-size: 15.5px; display: grid; gap: 8px; max-inline-size: 86ch; }
.callout.warn { border-color: rgba(255, 198, 107, 0.35); background: rgba(255, 198, 107, 0.07); }
.callout.good { border-color: rgba(88, 224, 168, 0.35); background: rgba(88, 224, 168, 0.06); }
.callout strong { color: var(--text); }
.callout p { color: var(--muted); }
.callout p strong { color: var(--text); }
.status { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; padding: 5px 11px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); }
.status::before { content: ""; inline-size: 7px; block-size: 7px; border-radius: 50%; background: currentColor; }
.status.soon { color: var(--glow); border-color: var(--line-strong); }
.status.dev { color: var(--warn); border-color: rgba(255, 198, 107, 0.4); }
.status.ok { color: var(--success); border-color: rgba(88, 224, 168, 0.4); }

/* Spec tables */
.spec-wrap { overflow-x: auto; border-radius: var(--r); border: 1px solid var(--line); background: var(--surface); }
.spec { inline-size: 100%; border-collapse: collapse; font-size: 15px; }
.spec th, .spec td { padding: 14px 16px; text-align: start; vertical-align: top; border-block-end: 1px solid var(--line); }
.spec th { font-size: 12.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); background: var(--surface-alt); }
.spec tr:last-child td { border-block-end: 0; }
.spec td:first-child { font-weight: 700; }
.spec td { color: rgba(243, 238, 255, 0.86); }
.spec .muted { color: var(--muted); }
.yes { color: var(--success); font-weight: 700; }
.no { color: var(--error); font-weight: 700; }
.part { color: var(--warn); font-weight: 700; }

/* Code blocks */
pre.code { margin: 0; padding: 18px 20px; overflow-x: auto; border-radius: var(--r); background: #07040F; border: 1px solid var(--line); font-family: var(--mono); font-size: 13.5px; line-height: 1.6; color: rgba(243, 238, 255, 0.9); }
pre.code .c { color: var(--muted); }
pre.code .k { color: var(--glow); }
pre.code .v { color: var(--success); }

/* Checklist */
.checklist { list-style: none; margin: 0; padding: 0; counter-reset: item; display: grid; gap: 12px; }
.checklist li { counter-increment: item; display: grid; grid-template-columns: 40px 1fr; gap: 14px; padding: 18px 20px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); }
.checklist li::before { content: counter(item, decimal-leading-zero); font-family: var(--mono); font-weight: 700; color: var(--glow); font-size: 14px; padding-block-start: 3px; }
.checklist strong { display: block; font-size: 16.5px; margin-block-end: 4px; }
.checklist p { color: var(--muted); font-size: 15px; }
.checklist p code { color: var(--glow); }

/* Two-column guide rows */
.guide { display: grid; gap: 16px; }
.guide-row { display: grid; gap: 16px; padding: clamp(20px, 3vw, 28px); border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--surface); }
@media (min-width: 900px) { .guide-row { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px; align-items: start; } }
.guide-row h3 { font-size: 22px; margin-block-end: 8px; }
.guide-row > div > p { color: var(--muted); font-size: 15.5px; }
.guide-row ul { margin: 10px 0 0; padding-inline-start: 1.2em; color: var(--muted); font-size: 15px; display: grid; gap: 6px; }
.guide-row li::marker { color: var(--glow); }
.guide-row li strong, .guide-row p strong { color: var(--text); }
.guide-row pre.code { min-inline-size: 0; }

/* Download cards */
.dl-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.dl { display: grid; gap: 10px; align-content: start; padding: 24px; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--surface); }
.dl .status { justify-self: start; }
.dl-grid + .pf-title { margin-block-start: 44px; }
.dl h3 { font-size: 19px; }
.dl p { color: var(--muted); font-size: 14.5px; }
.dl .meta { font-family: var(--mono); font-size: 12.5px; color: var(--muted); }
.dl .actions { display: flex; flex-wrap: wrap; gap: 8px; margin-block-start: 6px; }
.dl .btn { min-block-size: 44px; padding-inline: 18px; font-size: 15px; }
.dl.is-now { border-color: rgba(88, 224, 168, 0.32); background: linear-gradient(160deg, rgba(88, 224, 168, 0.08), transparent 55%), var(--surface); }

/* Pricing */
.plans { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); align-items: stretch; }
.plan { position: relative; display: grid; gap: 14px; align-content: start; padding: clamp(24px, 3vw, 30px); border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--surface); }
.plan.featured { border-color: var(--violet); background: linear-gradient(170deg, rgba(139, 92, 246, 0.2), rgba(139, 92, 246, 0.04) 60%), var(--surface); box-shadow: var(--glow-shadow); }
.plan .tag { justify-self: start; }
.plan h3 { font-size: 24px; }
.plan .price { font-size: clamp(30px, 3.4vw, 40px); font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.plan .price small { display: block; margin-block-start: 6px; font-size: 13.5px; font-weight: 500; letter-spacing: 0; color: var(--muted); }
.plan .who { color: var(--muted); font-size: 15px; min-block-size: 3.2em; }
.plan ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.plan li { position: relative; padding-inline-start: 26px; font-size: 15px; }
.plan li::before { content: ""; position: absolute; inset-inline-start: 0; inset-block-start: 6px; inline-size: 14px; block-size: 14px; border-radius: 50%; background: rgba(88, 224, 168, 0.16); box-shadow: inset 0 0 0 1.5px rgba(88, 224, 168, 0.7); }
.plan li::after { content: ""; position: absolute; inset-inline-start: 5px; inset-block-start: 8px; inline-size: 3px; block-size: 7px; border: solid var(--success); border-width: 0 2px 2px 0; rotate: 45deg; }
.plan li.off { color: var(--muted); }
.plan li.off::before { background: rgba(148, 134, 176, 0.12); box-shadow: inset 0 0 0 1.5px rgba(148, 134, 176, 0.5); }
.plan li.off::after { display: none; }
.plan .btn { margin-block-start: auto; }
.compare td:not(:first-child), .compare th:not(:first-child) { text-align: center; }
.fine { color: var(--muted); font-size: 13.5px; max-inline-size: 86ch; margin-block-start: 24px; }

/* ── Get ────────────────────────────────────────────── */
#get .section-head { text-align: center; margin-inline: auto; justify-items: center; }
#get .section-head .eyebrow::before { display: none; }
#get .hero-actions { justify-content: center; }
.store-badges { display: flex; justify-content: center; gap: 16px; min-block-size: 0; margin-block-end: 20px; }
.store-badges:empty { display: none; }

/* ── Footer ─────────────────────────────────────────── */
.site-footer { border-block-start: 1px solid var(--line); padding-block: 48px 40px; margin-block-start: clamp(24px, 4vw, 48px); }
.site-footer .container { display: grid; gap: 18px; justify-items: center; text-align: center; }
.footer-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 8px; }
.footer-nav a { display: inline-flex; align-items: center; min-block-size: 44px; padding-inline: 12px; color: var(--muted); font-weight: 600; font-size: 15px; }
.footer-nav a:hover { color: var(--text); }
.footer-note { color: var(--glow); font-weight: 600; font-size: 15px; }
.footer-copy { color: var(--muted); font-size: 13.5px; }

/* ── Legal documents (generated from Markdown) ──────── */
.doc-container { max-inline-size: 760px; padding-block: clamp(32px, 5vw, 64px) clamp(48px, 6vw, 96px); }
.doc-switch {
  display: inline-flex; gap: 4px; padding: 4px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 999px;
  margin-block-end: clamp(32px, 4vw, 48px);
}
.doc-switch a {
  display: inline-flex; align-items: center; min-block-size: 44px; padding-inline: 20px;
  border-radius: 999px; color: var(--muted); font-weight: 600; font-size: 15px;
}
.doc-switch a:hover { color: var(--text); text-decoration: none; }
.doc-switch a.is-current { background: var(--surface-hi); color: var(--text); box-shadow: inset 0 0 0 1px var(--line-strong); }
.doc { font-size: 17px; line-height: 1.7; }
.doc > * + * { margin-block-start: 1em; }
.doc h1 { font-size: clamp(32px, 4.5vw, 48px); letter-spacing: -0.03em; margin-block-end: 0.6em; }
.doc h2 { font-size: clamp(24px, 2.6vw, 30px); margin-block-start: 2.2em; padding-block-start: 0.4em; }
.doc h3 { font-size: 20px; margin-block-start: 1.8em; color: var(--glow); font-weight: 700; }
.doc p, .doc li { color: rgba(243, 238, 255, 0.86); }
.doc strong { color: var(--text); }
.doc em { color: var(--muted); }
.doc a { text-decoration: underline; text-decoration-color: rgba(186, 158, 255, 0.4); }
.doc a:hover { text-decoration-color: currentColor; }
.doc ul, .doc ol { padding-inline-start: 1.4em; display: grid; gap: 0.5em; }
.doc li::marker { color: var(--glow); font-weight: 700; }
.doc hr { border: 0; block-size: 1px; background: var(--line); margin-block: 2.5em; }
.doc code { font-size: 0.82em; color: var(--warn); background: rgba(255, 198, 107, 0.08); border-color: rgba(255, 198, 107, 0.22); }
.doc blockquote {
  margin: 1.5em 0; padding: 20px 24px;
  border-radius: var(--r);
  background: rgba(255, 198, 107, 0.07);
  border: 1px solid rgba(255, 198, 107, 0.3);
  color: var(--text);
}
.doc blockquote p { color: var(--text); }
.doc blockquote strong { color: var(--warn); }
.doc .table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }
.doc table { inline-size: 100%; border-collapse: collapse; font-size: 15.5px; }
.doc th, .doc td { padding: 14px 18px; text-align: start; border-block-end: 1px solid var(--line); vertical-align: top; }
.doc th { color: var(--muted); font-weight: 700; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; background: var(--surface-alt); }
.doc tr:last-child td { border-block-end: 0; }
.doc h2 + hr, .doc hr + h2 { margin-block-start: 1em; }

/* ── 404 ────────────────────────────────────────────── */
.page-404 main { display: grid; place-items: center; min-block-size: calc(100vh - 72px - 220px); padding-block: 64px; }
.notfound { max-inline-size: 560px; text-align: center; display: grid; gap: 16px; justify-items: center; padding: clamp(32px, 5vw, 56px); }
.notfound .big {
  font-size: clamp(72px, 14vw, 128px); font-weight: 800; letter-spacing: -0.06em; line-height: 0.9;
  background: linear-gradient(180deg, var(--glow), var(--violet-deep));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.notfound h1 { font-size: clamp(26px, 3vw, 34px); }
.notfound p { color: var(--muted); }
.notfound .actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-block-start: 8px; }

/* ── Delete account (page-delete) ───────────────────── */
.page-delete body, body.page-delete { font-size: 16px; }
.page-delete .wrap { max-inline-size: 480px; margin-inline: auto; padding: 28px var(--gutter) 48px; display: grid; gap: 22px; }
.page-delete h1 { font-size: clamp(28px, 4vw, 34px); }
.page-delete .sub { color: var(--muted); font-size: 15.5px; margin-block: 8px 20px; }
.page-delete .card { display: grid; gap: 12px; }
.page-delete label { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 700; color: var(--muted); margin-block-start: 6px; }
.page-delete input {
  inline-size: 100%; min-block-size: 52px; padding: 0 16px;
  background: var(--surface-alt); color: var(--text);
  border: 1.5px solid var(--line); border-radius: var(--r-sm); font: inherit; font-size: 16px;
}
.page-delete input:focus { border-color: var(--glow); background: var(--surface-hi); outline: none; }
.page-delete input::placeholder { color: rgba(148, 134, 176, 0.7); }
.page-delete .btn { inline-size: 100%; }
.page-delete .btn.google { background: #fff; color: #1f1f1f; box-shadow: none; }
.page-delete .btn.google:hover { background: #f1eefa; }
.page-delete .btn.violet { background: var(--violet); }
.page-delete .btn.danger { background: rgba(255, 107, 122, 0.12); border-color: rgba(255, 107, 122, 0.45); color: var(--error); box-shadow: none; }
.page-delete .btn.danger:hover { background: rgba(255, 107, 122, 0.2); }
.page-delete .btn.ghost { background: rgba(186, 158, 255, 0.08); border-color: var(--line-strong); color: var(--text); box-shadow: none; }
.page-delete .btn:disabled { opacity: 0.55; cursor: not-allowed; transform: none; }
.page-delete .divider { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 12px; letter-spacing: 0.12em; }
.page-delete .divider::before, .page-delete .divider::after { content: ""; flex: 1; block-size: 1px; background: var(--line); }
.page-delete .warn { padding: 14px 16px; border-radius: var(--r-sm); font-size: 14px; line-height: 1.5; background: rgba(255, 198, 107, 0.08); border: 1px solid rgba(255, 198, 107, 0.3); color: var(--text); }
.page-delete .who { display: flex; align-items: center; gap: 12px; padding: 12px 14px; background: var(--surface-alt); border: 1px solid var(--line); border-radius: var(--r-sm); }
.page-delete .avatar { inline-size: 36px; block-size: 36px; border-radius: 50%; background: linear-gradient(135deg, var(--violet), var(--glow)); display: grid; place-items: center; font-weight: 800; color: #fff; flex: 0 0 auto; }
.page-delete .email { font-weight: 600; word-break: break-all; }
.page-delete .msg { display: none; padding: 12px 14px; border-radius: var(--r-sm); font-size: 14px; }
.page-delete .msg.error { display: block; background: rgba(255, 107, 122, 0.12); color: var(--error); border: 1px solid rgba(255, 107, 122, 0.35); }
.page-delete .state { text-align: center; justify-items: center; padding-block: 32px; }
.page-delete .state .check { inline-size: 72px; block-size: 72px; border-radius: 50%; background: rgba(88, 224, 168, 0.12); border: 2px solid rgba(88, 224, 168, 0.45); display: grid; place-items: center; font-size: 32px; color: var(--success); }
.page-delete .state h2 { font-size: 24px; }
.page-delete .state p { color: var(--muted); }
.page-delete footer { text-align: center; color: var(--muted); font-size: 13px; }
[hidden] { display: none !important; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
