/* ─────────────────────────────────────────────────────────────
   SayPC site — same look as the app: clean and light (white,
   soft greys, black buttons), or the same in dark. Font: Geist.
   The colours below are the app's own theme values.
   ───────────────────────────────────────────────────────────── */
:root {
  --bg: #ffffff;
  --bg-alt: #fafafa;
  --panel: #f4f4f5;
  --line: #e4e4e7;
  --hover: #d4d4d8;
  --text: #0a0a0a;
  --muted: #52525b;
  --dim: #8b8b94;
  --btn: #0a0a0a;
  --btn-2: #3f3f46;
  --on-btn: #ffffff;
  --green: #16a34a;
  --card: #ffffff;
  --shadow: 0 1px 2px rgba(10,10,10,.04), 0 12px 32px -8px rgba(10,10,10,.10);
  --shadow-lg: 0 2px 4px rgba(10,10,10,.04), 0 40px 80px -24px rgba(10,10,10,.22);
  --radius: 16px;
  --wrap: 1120px;
  --font: "Geist", "Segoe UI Variable Text", "Segoe UI", system-ui, sans-serif;
  --mono: "Geist Mono", ui-monospace, Consolas, monospace;
  color-scheme: light;
}
:root[data-theme="dark"] {
  --bg: #212121;
  --bg-alt: #1b1b1b;
  --panel: #2f2f2f;
  --line: #424242;
  --hover: #525252;
  --text: #ececec;
  --muted: #a3a3a3;
  --dim: #7d7d7d;
  --btn: #ececec;
  --btn-2: #b4b4b4;
  --on-btn: #0a0a0a;
  --green: #22c55e;
  --card: #2f2f2f;
  --shadow: 0 1px 2px rgba(0,0,0,.2), 0 12px 32px -8px rgba(0,0,0,.4);
  --shadow-lg: 0 2px 4px rgba(0,0,0,.2), 0 40px 80px -24px rgba(0,0,0,.6);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16.5px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background .2s ease, color .2s ease;
}
h1, h2, h3, p, ul, ol, fieldset { margin: 0; padding: 0; }
h1, h2, h3 { text-wrap: balance; }
[hidden] { display: none !important; }
ul, ol { list-style: none; }
fieldset { border: 0; min-width: 0; }
a { color: inherit; }
svg { display: block; }
:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; border-radius: 8px; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ic { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.center { text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--btn); color: var(--on-btn); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
.soft { color: var(--dim); }
.fine { font-size: 13.5px; color: var(--dim); }
.fine a { color: var(--muted); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); flex: none; display: inline-block; }
.tag { font: 500 10.5px/1 var(--mono); font-style: normal; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); border: 1px solid var(--line); padding: 4px 7px; border-radius: 6px; vertical-align: middle; }

/* ───────────── Buttons (black pills, like the app's) ───────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 500 15.5px/1 var(--font);
  padding: 14px 22px; border-radius: 999px; border: 1px solid transparent;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background .15s ease, border-color .15s ease, transform .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--btn); color: var(--on-btn); }
.btn-primary:hover { background: var(--btn-2); }
.btn-ghost { background: var(--card); border-color: var(--hover); color: var(--text); }
.btn-ghost:hover { background: var(--panel); }
.btn-sm { padding: 10px 16px; font-size: 14.5px; }
.btn-block { width: 100%; }
.round-btn {
  width: 36px; height: 36px; border-radius: 50%; flex: none; padding: 0;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--panel); color: var(--text); border: 0; cursor: pointer;
  transition: background .15s ease;
}
button.round-btn:hover { background: var(--line); }

/* ───────────── Logo ───────────── */
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-mark {
  width: 30px; height: 30px; border-radius: 23.5%; flex: none;
  background: var(--btn); color: var(--on-btn);
  display: inline-flex; align-items: center; justify-content: center;
}
.brand-mark svg { width: 100%; height: 100%; }
.brand-mark.sm { width: 22px; height: 22px; }
.brand-mark.lg { width: 72px; height: 72px; box-shadow: var(--shadow); }
.brand-name { font: 600 18px/1 var(--font); letter-spacing: -.02em; }

/* ───────────── Nav ───────────── */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; gap: 12px; height: 64px; }
.nav-links { display: flex; gap: 26px; margin: 0 14px 0 auto; }
.nav-links a { text-decoration: none; color: var(--muted); font-size: 14.5px; font-weight: 500; transition: color .15s; }
.nav-links a:hover { color: var(--text); }

/* ───────────── Hero ───────────── */
.hero { padding: 76px 0 96px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 56px; align-items: center; }
.status-pill {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 13.5px; color: var(--muted);
  background: var(--panel); border-radius: 999px; padding: 7px 14px 7px 12px;
}
h1 {
  font: 600 clamp(38px, 5.4vw, 66px)/1.02 var(--font);
  letter-spacing: -.045em; margin: 24px 0 22px;
}
.lede { font-size: clamp(16.5px, 1.4vw, 18.5px); color: var(--muted); max-width: 33em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 10px; margin: 32px 0 28px; }
.facts { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 13.5px; color: var(--dim); }
.facts li { position: relative; padding-left: 14px; }
.facts li::before { content: ""; position: absolute; left: 0; top: .68em; width: 5px; height: 5px; border-radius: 50%; background: var(--hover); }

/* The app window */
.app {
  width: 100%; max-width: 418px; justify-self: center;
  background: var(--bg); border: 1px solid var(--line); border-radius: 14px;
  box-shadow: var(--shadow-lg);
  display: flex; flex-direction: column; overflow: hidden;
}
.app-head { display: flex; align-items: center; gap: 10px; padding: 14px 16px 10px; }
.app-title { display: flex; flex-direction: column; gap: 3px; line-height: 1.15; min-width: 0; }
.app-title b { font-weight: 600; font-size: 15px; letter-spacing: -.01em; }
.app-status { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); }
.app-status .dot { width: 6.5px; height: 6.5px; }
.app-head .tag { margin-left: auto; }
.app-feed { height: 344px; padding: 10px 18px 6px; display: flex; flex-direction: column; gap: 10px; justify-content: flex-end; position: relative; }
.app-hero { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font: 600 22px/1.2 var(--font); letter-spacing: -.02em; text-align: center; padding: 0 20px; transition: opacity .25s; }
.app-hero.gone { opacity: 0; }
.bubble { font-size: 14px; line-height: 1.45; padding: 9px 14px; border-radius: 18px; max-width: 86%; animation: rise .25s ease both; }
.bubble.you { align-self: flex-end; background: var(--panel); border: 1px solid var(--line); border-bottom-right-radius: 6px; }
.bubble.ai { align-self: flex-start; padding-left: 2px; padding-right: 0; color: var(--text); }
.bubble.ai.thinking { color: var(--muted); }
.app-steps { display: flex; flex-direction: column; gap: 6px; align-self: stretch; }
.app-steps li { display: flex; align-items: center; gap: 9px; font: 400 12.5px/1.4 var(--mono); color: var(--muted); animation: rise .25s ease both; }
.app-steps li::before { content: ""; width: 14px; height: 14px; border-radius: 50%; flex: none; border: 1.5px solid var(--hover); border-top-color: var(--text); animation: spin .7s linear infinite; }
.app-steps li.ok { color: var(--text); }
.app-steps li.ok::before {
  animation: none; border: 0; background: var(--green);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 0a8 8 0 100 16A8 8 0 008 0zm3.7 6.3l-4.2 4.4a.8.8 0 01-1.1 0L4.3 8.6a.8.8 0 011.1-1.1L7 9l3.6-3.8a.8.8 0 011.1 1.1z'/%3E%3C/svg%3E") center/contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 0a8 8 0 100 16A8 8 0 008 0zm3.7 6.3l-4.2 4.4a.8.8 0 01-1.1 0L4.3 8.6a.8.8 0 011.1-1.1L7 9l3.6-3.8a.8.8 0 011.1 1.1z'/%3E%3C/svg%3E") center/contain no-repeat;
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes rise { from { opacity: 0; transform: translateY(6px); } }

/* The box at the bottom: a rounded card with a thin outline */
.app-bar {
  margin: 8px 13px 13px; min-height: 52px; padding: 9px 9px 9px 18px;
  display: flex; align-items: center; gap: 4px;
  background: var(--card); border: 1px solid var(--hover); border-radius: 22px;
}
.app-input { flex: 1; min-width: 0; font-size: 14px; line-height: 1.4; min-height: 1.4em; }
.caret { display: inline-block; width: 1.5px; height: 1.05em; background: var(--text); margin-left: 1px; vertical-align: -0.16em; animation: blink 1s steps(2) infinite; }
.caret.off { visibility: hidden; }
@keyframes blink { 50% { opacity: 0; } }
.ibtn { width: 32px; height: 32px; border-radius: 50%; flex: none; display: inline-flex; align-items: center; justify-content: center; color: var(--text); transition: background .2s, color .2s; }
.ibtn-send { width: 34px; height: 34px; background: var(--btn); color: var(--on-btn); }
.ibtn-send .ic { width: 16px; height: 16px; stroke-width: 2; }
.app.is-awake #demoMic { background: var(--green); color: #fff; }
.app.is-awake .app-status { color: var(--text); }

/* ───────────── Sections ───────────── */
.section { padding: 104px 0; }
.section-alt { background: var(--bg-alt); border-block: 1px solid var(--line); }
.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head.center { margin-inline: auto; }
.kicker { font: 500 12px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--dim); margin-bottom: 16px; }
h2 { font: 600 clamp(30px, 4vw, 48px)/1.06 var(--font); letter-spacing: -.035em; }
h3 { font: 600 17.5px/1.25 var(--font); letter-spacing: -.015em; }
.sub { color: var(--muted); margin-top: 16px; font-size: 17.5px; max-width: 40em; }
.section-head.center .sub { margin-inline: auto; }

/* How it works */
.how { padding: 0 0 8px; }
.steps3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.steps3 article { padding: 26px 26px 28px; background: var(--panel); border-radius: var(--radius); }
.steps3 p { color: var(--muted); font-size: 15.5px; margin-top: 8px; }
.num { font: 500 13px/1 var(--mono); color: var(--on-btn); background: var(--btn); width: 26px; height: 26px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 18px; }

/* Topic cards (the app's help cards: an icon, the name, examples) */
.topics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.topic {
  display: flex; flex-direction: column; gap: 8px; text-decoration: none;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 22px 20px;
  transition: border-color .15s, box-shadow .2s, transform .2s;
}
.topic:hover { border-color: var(--hover); box-shadow: var(--shadow); transform: translateY(-2px); }
.topic-icon {
  width: 38px; height: 38px; border-radius: 11px; margin-bottom: 8px;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--c); background: color-mix(in srgb, var(--c) 13%, transparent);
}
.topic-icon .ic { width: 20px; height: 20px; }
.topic h3 { display: flex; align-items: center; gap: 8px; }
.topic p { color: var(--muted); font-size: 15px; line-height: 1.5; }
.topic .eg { margin-top: auto; padding-top: 10px; font-size: 13.5px; color: var(--dim); }

/* Commands */
.cmd { border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); overflow: hidden; }
.cmd-tabs { display: flex; flex-wrap: wrap; gap: 6px; padding: 14px; border-bottom: 1px solid var(--line); }
.cmd-tabs button {
  font: 500 14px/1 var(--font); color: var(--muted); background: var(--panel);
  border: 0; border-radius: 999px; padding: 9px 14px; cursor: pointer; white-space: nowrap;
  transition: color .15s, background .15s;
}
.cmd-tabs button:hover { color: var(--text); background: var(--line); }
.cmd-tabs button[aria-selected="true"] { color: var(--on-btn); background: var(--btn); }
.cmd-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 32px; padding: 10px 24px 20px; min-height: 340px; align-content: start; }
.cmd-list li { font: 400 14px/1.5 var(--mono); padding: 12px 0; border-bottom: 1px solid var(--line); color: var(--text); animation: rise .25s ease both; }
.cmd-list .hc { color: var(--dim); }
.cmd-list .var { color: var(--muted); background: var(--panel); border-radius: 5px; padding: 1px 5px; }

/* Phone */
.phone-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 64px; align-items: center; }
.ticks { display: flex; flex-direction: column; gap: 13px; margin-top: 28px; }
.ticks li { position: relative; padding-left: 32px; color: var(--muted); font-size: 16px; }
.ticks li b { color: var(--text); font-weight: 600; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .22em; width: 19px; height: 19px; border-radius: 50%; background: var(--btn);
}
.ticks li::after {
  content: ""; position: absolute; left: 6px; top: calc(.22em + 5px); width: 7px; height: 4px;
  border-left: 1.8px solid var(--on-btn); border-bottom: 1.8px solid var(--on-btn); transform: rotate(-45deg);
}
.phone-art { display: flex; justify-content: center; }
.handset { width: 268px; border-radius: 40px; background: #0a0a0a; padding: 10px; box-shadow: var(--shadow-lg); }
:root[data-theme="dark"] .handset { background: #000; outline: 1px solid var(--line); }
.handset-screen { background: var(--bg); border-radius: 31px; padding: 26px 16px 18px; display: flex; flex-direction: column; gap: 9px; min-height: 420px; }
.hs-title { display: flex; align-items: center; gap: 8px; font: 600 16px/1 var(--font); letter-spacing: -.01em; }
.hs-status { display: flex; align-items: center; gap: 7px; font-size: 12.5px; color: var(--muted); margin-bottom: 10px; }
.hs-status .dot { width: 6.5px; height: 6.5px; }
.handset .bubble { font-size: 13.5px; animation: none; }
.handset .bubble.you { background: var(--btn); color: var(--on-btn); border-color: transparent; }
.handset .bubble.ai { background: var(--panel); padding: 9px 14px; border-bottom-left-radius: 6px; color: var(--text); }
.hs-file { display: flex; gap: 10px; align-items: center; margin-top: auto; font-size: 12.5px; line-height: 1.4; color: var(--muted); border: 1px solid var(--line); border-radius: 14px; padding: 10px 12px; }
.hs-file b { color: var(--text); font-weight: 600; }
.hs-file-icon { width: 30px; height: 30px; border-radius: 50%; flex: none; background: var(--panel); color: var(--text); display: inline-flex; align-items: center; justify-content: center; }
.hs-file-icon .ic { width: 15px; height: 15px; }

/* Privacy */
.priv { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.priv article { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 24px 26px; }
.priv p { color: var(--muted); font-size: 15px; margin-top: 8px; }

/* Pricing */
.price-card {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  max-width: 920px; margin: 0 auto; border: 1px solid var(--line); border-radius: 22px; overflow: hidden;
  background: var(--card); box-shadow: var(--shadow-lg);
}
.price-incl { padding: 38px 36px; }
.price-incl h3 { font-size: 23px; letter-spacing: -.025em; }
.price-incl .ticks li { color: var(--text); font-size: 15.5px; }
.price-pick { padding: 30px; background: var(--panel); border-left: 1px solid var(--line); display: flex; flex-direction: column; gap: 12px; }
.price-pick fieldset { display: flex; flex-direction: column; gap: 10px; margin-bottom: 6px; }
.plan { display: block; cursor: pointer; position: relative; }
.plan input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.plan-body { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; align-items: baseline; padding: 18px 18px 16px 50px; border: 1.5px solid var(--line); border-radius: 16px; background: var(--bg); transition: border-color .15s; position: relative; }
.plan-body::before { content: ""; position: absolute; left: 18px; top: 21px; width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid var(--hover); transition: border .15s; }
.plan:hover .plan-body { border-color: var(--hover); }
.plan input:checked + .plan-body { border-color: var(--btn); }
.plan input:checked + .plan-body::before { border: 6px solid var(--btn); }
.plan input:focus-visible + .plan-body { outline: 2px solid var(--text); outline-offset: 3px; }
.plan-name { font-weight: 600; font-size: 16px; display: flex; align-items: center; gap: 9px; flex-wrap: wrap; }
.save { font: 500 11px/1 var(--mono); font-style: normal; letter-spacing: .02em; color: #fff; background: var(--green); padding: 5px 7px; border-radius: 6px; }
.plan-price b { font: 600 26px/1 var(--font); letter-spacing: -.03em; }
.plan-price small { color: var(--muted); font-size: 13.5px; margin-left: 2px; }
.plan-note { grid-column: 1 / -1; font-size: 13.5px; color: var(--dim); }

/* FAQ */
.faq-wrap { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 56px; align-items: start; }
.faq-wrap .section-head { margin-bottom: 0; position: sticky; top: 104px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 44px 20px 0; font: 600 16.5px/1.35 var(--font); letter-spacing: -.01em; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 14px; font: 400 24px/1.2 var(--font); color: var(--muted); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding: 0 44px 22px 0; font-size: 15.5px; }

/* Final CTA + footer */
.final { padding: 112px 0; text-align: center; }
.final-inner { display: flex; flex-direction: column; align-items: center; }
.final h2 { margin-top: 28px; }
.final p { color: var(--muted); font-size: 18px; margin: 12px 0 30px; }
.footer { border-top: 1px solid var(--line); padding: 30px 0 40px; }
.footer-inner { display: flex; align-items: center; gap: 20px 32px; flex-wrap: wrap; }
.footer-links { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-left: auto; }
.footer-links a { color: var(--muted); text-decoration: none; font-size: 14.5px; }
.footer-links a:hover { color: var(--text); }
.footer .fine { width: 100%; }

/* Toast */
.toast {
  position: fixed; left: 50%; bottom: 26px; transform: translate(-50%, 20px); z-index: 80;
  background: var(--btn); color: var(--on-btn); font-size: 14.5px; font-weight: 500; line-height: 1.4;
  padding: 12px 20px; border-radius: 18px; max-width: min(92vw, 520px); text-align: center;
  opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s; box-shadow: var(--shadow);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* Thanks page */
.thanks { min-height: calc(100vh - 64px); display: flex; align-items: center; padding: 64px 0 88px; }
.thanks-inner { max-width: 720px; }
.thanks h1 { font-size: clamp(42px, 6vw, 68px); margin-top: 22px; }
.thanks .hero-cta { margin-bottom: 40px; }
.quick { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
.quick li { display: flex; gap: 14px; align-items: flex-start; padding: 18px 22px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 15.5px; }
.quick li:last-child { border-bottom: 0; }
.quick li b { color: var(--text); font-weight: 600; }
.quick .num { margin: 0; flex: none; }
.quick code { font: 400 13.5px var(--mono); color: var(--text); background: var(--panel); border-radius: 5px; padding: 1px 6px; }

/* Reveal on scroll */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .5s ease, border-color .15s, box-shadow .2s; }
.js .reveal.in { opacity: 1; transform: none; }
.js .topic.reveal.in:hover { transform: translateY(-2px); }

/* ───────────── Responsive ───────────── */
@media (max-width: 980px) {
  .hero { padding: 52px 0 72px; }
  .hero-grid, .phone-grid, .faq-wrap { grid-template-columns: 1fr; gap: 44px; }
  .faq-wrap .section-head { position: static; }
  .topics, .priv { grid-template-columns: repeat(2, 1fr); }
  .price-card { grid-template-columns: 1fr; max-width: 540px; }
  .price-pick { border-left: 0; border-top: 1px solid var(--line); }
  .section { padding: 80px 0; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .wrap { padding: 0 18px; }
  .nav-links { display: none; }
  .nav-inner .brand { margin-right: auto; }
  .steps3, .topics, .priv { grid-template-columns: 1fr; }
  .cmd-tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .cmd-tabs::-webkit-scrollbar { display: none; }
  .cmd-list { grid-template-columns: 1fr; padding: 6px 18px 14px; min-height: 0; }
  .price-incl { padding: 28px 22px; }
  .price-pick { padding: 22px 16px; }
  .hero-cta .btn { flex: 1 1 auto; }
  .footer-links { margin-left: 0; }
  .section { padding: 64px 0; }
  .section-head { margin-bottom: 32px; }
}

@media (max-width: 340px) {
  .nav-inner .btn { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* Account page */
.account { min-height: calc(100vh - 64px); display: flex; align-items: center; padding: 56px 0 88px; }
.account-inner { display: flex; justify-content: center; }
.acct-card { width: 100%; max-width: 440px; border: 1px solid var(--line); border-radius: 22px; background: var(--card); box-shadow: var(--shadow-lg); padding: 34px 30px 28px; }
.acct-card h1 { font-size: 30px; line-height: 1.15; letter-spacing: -.03em; margin: 4px 0 8px; }
.acct-sub { color: var(--muted); font-size: 15px; margin-bottom: 22px; min-height: 1px; }
.acct-card .btn { margin-top: 10px; }
.acct-card .fine { margin-top: 14px; }
.acct-card .fine b { color: var(--text); font-weight: 600; overflow-wrap: anywhere; }
.field { display: grid; gap: 6px; margin-bottom: 14px; }
.field label { font-size: 13.5px; font-weight: 500; color: var(--muted); }
.field input { width: 100%; font: 400 16px/1.2 var(--font); color: var(--text); background: var(--bg); border: 1.5px solid var(--line); border-radius: 12px; padding: 13px 14px; transition: border-color .15s; }
.field input:hover { border-color: var(--hover); }
.field input:focus { outline: none; border-color: var(--btn); }
.acct-msg { font-size: 14px; color: #dc2626; min-height: 20px; margin: 4px 0 2px; }
.acct-msg.good { color: var(--green); }
.acct-msg:empty { min-height: 0; margin: 0; }
.btn:disabled, .btn.is-busy { opacity: .6; cursor: default; pointer-events: none; }
.status-pill.is-waiting::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--dim); animation: acct-pulse 1s ease-in-out infinite; }
@keyframes acct-pulse { 50% { opacity: .25; } }
@media (prefers-reduced-motion: reduce) { .status-pill.is-waiting::before { animation: none; } }

/* How to install the phone app */
.install-guide { margin-top: 40px; max-width: 760px; padding: 0 24px; border: 1px solid var(--line); border-radius: 18px; }
.install-guide[open] { padding-bottom: 22px; }
.install-guide summary { cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 0; font-weight: 600; font-size: 17px; color: var(--text); }
.install-guide summary::-webkit-details-marker { display: none; }
.install-guide summary::after { content: ""; width: 9px; height: 9px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform .2s; flex: none; }
.install-guide[open] summary::after { transform: rotate(-135deg); }
.install-guide summary:focus-visible { outline: 2px solid var(--text); outline-offset: 4px; border-radius: 8px; }
.install-guide p { color: var(--muted); font-size: 16px; }
.install-guide p + p { margin-top: 12px; }
.install-guide p b { color: var(--text); font-weight: 600; }
.install-guide ol { margin: 18px 0 0; padding-left: 26px; list-style: decimal; display: flex; flex-direction: column; gap: 12px; color: var(--muted); font-size: 16px; }
.install-guide ol b { color: var(--text); font-weight: 600; }
.install-guide ul { margin: 8px 0 0; padding-left: 20px; list-style: disc; display: flex; flex-direction: column; gap: 4px; }
.install-guide .fine { margin-top: 18px; font-size: 14px; }
.install-guide a { text-decoration: underline; }

/* Privacy policy, terms and refund pages */
.legal { padding: 56px 0 96px; }
.legal-inner { max-width: 760px; }
.legal-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.legal-tabs a { padding: 7px 14px; border: 1px solid var(--line); border-radius: 999px; font-size: 14px; color: var(--muted); text-decoration: none; }
.legal-tabs a:hover { color: var(--text); border-color: var(--hover); }
.legal-tabs a[aria-current="page"] { background: var(--btn); border-color: var(--btn); color: var(--on-btn); }
.legal h1 { font: 600 clamp(34px, 5vw, 52px)/1.05 var(--font); letter-spacing: -.035em; margin-bottom: 12px; }
.legal .updated { color: var(--dim); font-size: 14.5px; margin-bottom: 32px; }
.legal h2 { font: 600 22px/1.25 var(--font); letter-spacing: -.02em; margin: 44px 0 12px; }
.legal h3 { font: 600 17px/1.3 var(--font); margin: 26px 0 8px; }
.legal p, .legal li { color: var(--muted); font-size: 16px; line-height: 1.65; }
.legal p + p { margin-top: 12px; }
.legal ul, .legal ol { margin: 10px 0 0; padding-left: 22px; display: flex; flex-direction: column; gap: 6px; }
.legal ul { list-style: disc; }
.legal ol { list-style: decimal; }
.legal b, .legal strong { color: var(--text); font-weight: 600; }
.legal a { color: var(--text); text-decoration: underline; text-underline-offset: 2px; }
.legal .summary { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; }
.legal .summary p { color: var(--text); }
.table-scroll { overflow-x: auto; margin-top: 14px; border: 1px solid var(--line); border-radius: 12px; }
.legal table { border-collapse: collapse; width: 100%; min-width: 640px; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: 11px 13px; border-bottom: 1px solid var(--line); font-size: 14.5px; line-height: 1.5; color: var(--muted); }
.legal th { color: var(--text); font-weight: 600; background: var(--bg-alt); }
.legal tr:last-child td { border-bottom: 0; }
.legal .fine { margin-top: 40px; font-size: 14px; color: var(--dim); }
@media (max-width: 600px) { .legal { padding: 36px 0 72px; } .legal h2 { margin-top: 36px; } }
