/* Ohhai website. Tokens come from design/tokens.json (the iOS design system).
   Layout: calm rounded type on the app's mint-grey ground. The only ornaments are the product's
   own draft bar (1 2 3 + tone chips) and the apricot caret from the mark. */

@font-face {
  font-family: "Nunito";
  src: url("../fonts/nunito-latin.woff2") format("woff2");
  font-weight: 600 800;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light dark;
  --bg: #F4F6F5;
  --surface: #FFFFFF;
  --surface2: #E9EDEB;
  --ink: #0F1A19;
  --ink2: #4A5856;
  --ink3: #66736F;
  --hairline: #DDE3E1;
  --accent: #0A7C76;
  --accent-pressed: #086660;
  --accent-tint: #D9F0EC;
  --accent-text: #08665F;
  --on-accent: #FFFFFF;
  --spark: #FF8A5B;
  --band: #075F5A;
  --band-ink: #FFFFFF;
  --band-ink2: #CDEBE6;
  --band-line: rgba(255, 255, 255, 0.2);
  --kb: #D1D4D9;
  --chip-fill: rgba(255, 255, 255, 0.62);
  --chip-label: #1B2322;
  --tone-on-fill: #FFFFFF;
  --strip-divider: rgba(0, 0, 0, 0.14);
  --phone-frame: #0F1A19;
  --phone-ring: rgba(15, 26, 25, 0.1);
  --field-line: #87948F;
  --danger: #B3261E;
  --on-danger: #FFFFFF;
  --warn: #854800;
  --warn-tint: #FFF0D9;

  --font-display: ui-rounded, "SF Pro Rounded", "Nunito", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-text: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --gutter: 20px;
  --wrap: 1120px;
  --r-card: 18px;
  --r-btn: 16px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0C1211;
    --surface: #161D1C;
    --surface2: #202928;
    --ink: #F1F5F4;
    --ink2: #A9B5B3;
    --ink3: #86928F;
    --hairline: #2A3433;
    --accent: #2CC5B8;
    --accent-pressed: #25A99E;
    --accent-tint: #12332F;
    --accent-text: #4FD8CB;
    --on-accent: #04211F;
    --spark: #FFB088;
    --band: #12332F;
    --band-ink: #F1F5F4;
    --band-ink2: #A9D5CF;
    --band-line: rgba(255, 255, 255, 0.14);
    --kb: #2B2B2D;
    --chip-fill: rgba(255, 255, 255, 0.1);
    --chip-label: #EDF2F1;
    --tone-on-fill: rgba(44, 197, 184, 0.18);
    --strip-divider: rgba(255, 255, 255, 0.16);
    --phone-frame: #2A3433;
    --phone-ring: rgba(255, 255, 255, 0.06);
    --field-line: #66736F;
    --danger: #FF8A80;
    --on-danger: #2B0A07;
    --warn: #FFB454;
    --warn-tint: #33260F;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-text);
  font-size: 1.0625rem;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { max-width: 100%; }
h1, h2, h3, p, ul, ol, figure, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: var(--accent-text); text-underline-offset: 0.18em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--font-display); text-wrap: balance; }

.wrap {
  max-width: var(--wrap);
  margin-inline: auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
}
.skip {
  position: absolute; left: 12px; top: -60px; z-index: 50;
  background: var(--surface); color: var(--ink); padding: 10px 14px; border-radius: 10px;
}
.skip:focus { top: 12px; }

/* ---------- Header ---------- */
.head-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; }
.brand {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px;
  font-family: var(--font-display); font-weight: 700; font-size: 1.375rem; letter-spacing: -0.01em;
  color: var(--ink); text-decoration: none;
}
.mark { width: 30px; height: 28px; flex: none; fill: var(--accent-text); }
.mark .mark-caret { fill: var(--spark); }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 10px;
  font-size: 0.9375rem; font-weight: 500; color: var(--ink2); text-decoration: none; border-radius: 10px;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }
.nav a[aria-current="page"] { font-weight: 600; }
@media (max-width: 430px) { .nav .nav-wide { display: none; } .nav { gap: 0; } .nav a { padding: 0 9px; } }

/* ---------- Buttons, pills, chips ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 0 22px; border-radius: var(--r-btn);
  background: var(--accent); color: var(--on-accent);
  font-family: var(--font-display); font-weight: 600; font-size: 1.0625rem; text-decoration: none;
  transition: background-color 0.15s ease-out;
}
.btn:hover { background: var(--accent-pressed); }
.btn svg { width: 20px; height: 20px; }
.soon {
  display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 18px 0 16px;
  border: 1px solid var(--hairline); border-radius: var(--r-btn); background: var(--surface);
  font-family: var(--font-display); font-weight: 600; font-size: 1.0625rem; color: var(--ink);
}
.soon .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--spark); flex: none; }
.tag {
  display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 12px;
  background: var(--accent-tint); color: var(--accent-text);
  font-family: var(--font-display); font-weight: 600; font-size: 0.8125rem; white-space: nowrap;
}
.cap {
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink3);
}

/* ---------- Hero ---------- */
.hero { padding-block: 28px 56px; }
.hero-grid { display: grid; gap: 44px; align-items: center; }
.hero h1 {
  font-size: clamp(2.125rem, 9.6vw, 3.75rem); line-height: 1.06; font-weight: 700; letter-spacing: -0.02em;
}
.hero h1 .accent { display: block; color: var(--accent-text); white-space: nowrap; }
.caret {
  display: inline-block; width: 0.11em; height: 0.86em; margin-left: 0.09em; border-radius: 0.06em;
  background: var(--spark); vertical-align: -0.08em; animation: blink 1.1s steps(1, end) infinite;
}
@keyframes blink { 50% { opacity: 0; } }
.lede { margin-top: 18px; font-size: 1.1875rem; line-height: 1.45; color: var(--ink2); max-width: 34ch; }
.voice-line {
  display: flex; align-items: center; gap: 10px; margin-top: 12px;
  font-family: var(--font-display); font-weight: 600; font-size: 1.1875rem; color: var(--ink);
}
.voice-line svg { width: 22px; height: 22px; flex: none; color: var(--accent-text); }
.cta-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.assure { display: grid; gap: 8px; margin-top: 26px; }
.assure li { display: flex; align-items: flex-start; gap: 10px; font-size: 0.9375rem; font-weight: 500; color: var(--ink); }
.assure svg { width: 20px; height: 20px; flex: none; margin-top: 1px; color: var(--accent-text); }

.hero-shot { position: relative; display: grid; place-items: center; }
.phone {
  position: relative; width: min(74vw, 300px); padding: 9px; border-radius: 50px;
  background: var(--phone-frame); box-shadow: 0 0 0 1px var(--phone-ring), 0 30px 60px -28px rgba(8, 40, 37, 0.45);
}
.phone img { display: block; width: 100%; height: auto; border-radius: 41px; background: #F4F6F5; }

.works { padding-block: 0 8px; }
.works-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.works-row .cap { margin-right: 6px; }
.works-row li {
  display: inline-flex; align-items: center; height: 34px; padding: 0 13px; border-radius: 17px;
  background: var(--surface); border: 1px solid var(--hairline);
  font-family: var(--font-display); font-weight: 600; font-size: 0.9375rem; color: var(--ink);
}

/* ---------- Sections ---------- */
.section { padding-block: 64px; }
.section-head { max-width: 40rem; margin-bottom: 32px; }
.section-head h2, .band h2 {
  font-size: clamp(1.75rem, 5.4vw, 2.5rem); line-height: 1.12; font-weight: 700; letter-spacing: -0.015em;
}
.section-head p { margin-top: 12px; color: var(--ink2); font-size: 1.125rem; max-width: 36rem; }
.split { display: grid; gap: 36px; align-items: start; }
.split > * { min-width: 0; }

.steps { display: grid; gap: 0; counter-reset: step; }
.steps li { display: grid; grid-template-columns: 40px 1fr; gap: 14px; padding-block: 18px; border-top: 1px solid var(--hairline); }
.steps li:first-child { border-top: 0; padding-top: 0; }
.steps .num {
  display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  background: var(--surface2); color: var(--ink2);
  font-family: var(--font-display); font-weight: 700; font-size: 1rem;
}
.steps h3 { font-size: 1.25rem; font-weight: 700; line-height: 1.25; }
.steps p { margin-top: 4px; color: var(--ink2); max-width: 34rem; }

/* ---------- Draft bar demo ---------- */
.demo { border: 1px solid var(--hairline); border-radius: 24px; background: var(--surface); overflow: hidden; }
.seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; margin: 14px 14px 0; padding: 2px; border-radius: 10px; background: var(--surface2); }
.seg button {
  min-height: 40px; border: 0; border-radius: 8px; background: transparent; color: var(--ink2); cursor: pointer;
  font-family: var(--font-display); font-weight: 600; font-size: 0.9375rem;
}
.seg button[aria-pressed="true"] { background: var(--surface); color: var(--ink); box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12); }
@media (prefers-color-scheme: dark) { .seg button[aria-pressed="true"] { background: #3A4543; } }
.chat { padding: 18px 16px 20px; display: grid; gap: 10px; min-height: 196px; align-content: start; }
.bubble {
  justify-self: start; max-width: min(290px, 86%); padding: 9px 14px; border-radius: 18px 18px 18px 6px;
  background: var(--surface2); color: var(--ink); font-size: 1rem;
}
.field { display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: end; margin-top: 4px; }
.field-text {
  min-height: 44px; padding: 10px 14px; border: 1px solid var(--hairline); border-radius: 20px;
  background: var(--bg); color: var(--ink); font-size: 1rem;
}
.field-text .caret { height: 1.1em; width: 2px; border-radius: 1px; margin-left: 1px; vertical-align: -0.2em; background: var(--accent); }
.field-text.swap { animation: arrive 0.18s ease-out; }
@keyframes arrive { from { opacity: 0; transform: translateY(4px); } }
.send { display: grid; place-items: center; width: 36px; height: 36px; margin-bottom: 4px; border-radius: 50%; background: var(--ink); color: var(--bg); }
.send svg { width: 18px; height: 18px; }
.strip {
  display: flex; align-items: center; gap: 6px; padding: 9px 8px; background: var(--kb);
  overflow-x: auto; scrollbar-width: none;
}
.strip::-webkit-scrollbar { display: none; }
.strip .group { display: flex; gap: 4px; flex: none; }
.strip .divider { width: 1px; height: 22px; background: var(--strip-divider); flex: none; margin-inline: 1px; }
.chip {
  display: inline-flex; align-items: center; justify-content: center; height: 34px; min-width: 34px; padding: 0 10px;
  border: 1.5px solid transparent; border-radius: 17px; background: var(--chip-fill); color: var(--chip-label); cursor: pointer;
  font-family: var(--font-display); font-weight: 600; font-size: 0.9375rem; white-space: nowrap;
  transition: background-color 0.12s ease-out, color 0.12s ease-out, border-color 0.12s ease-out;
}
.chip.draft { padding: 0; width: 34px; }
.chip.draft[aria-pressed="true"] { background: var(--accent); color: var(--on-accent); }
.chip.tone[aria-pressed="true"] { background: var(--tone-on-fill); border-color: var(--accent); color: var(--accent-text); }
.demo-note { margin-top: 12px; font-size: 0.875rem; color: var(--ink3); }

/* ---------- Voice ---------- */
.said { display: grid; gap: 12px; }
.said-card { padding: 16px 18px; border-radius: var(--r-card); border: 1px solid var(--hairline); background: var(--surface); }
.said-card.raw { background: transparent; border-style: dashed; }
.said-card .cap { margin-bottom: 6px; }
.said-card p.words { font-size: 1.125rem; line-height: 1.4; }
.said-card.raw p.words { color: var(--ink2); }
.said-arrow { justify-self: center; width: 22px; height: 22px; color: var(--ink3); }
.restyle { display: flex; align-items: center; gap: 8px; margin-top: 12px; }
.restyle .chip { background: var(--surface2); }
.restyle .chip[aria-pressed="true"] { background: var(--accent-tint); border-color: var(--accent); color: var(--accent-text); }
.restyle span { font-size: 0.875rem; color: var(--ink3); }
.points { display: grid; gap: 10px; margin-top: 20px; }
.points li { display: flex; gap: 10px; align-items: flex-start; color: var(--ink); }
.points svg { width: 20px; height: 20px; flex: none; margin-top: 2px; color: var(--accent-text); }

/* ---------- Cards: devices, AI choice, pricing ---------- */
.cards { display: grid; gap: 14px; }
.card { padding: 22px; border-radius: var(--r-card); border: 1px solid var(--hairline); background: var(--surface); }
.card-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.card h3 { font-size: 1.375rem; font-weight: 700; line-height: 1.2; }
.card p { color: var(--ink2); }
.card .keys { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.card .keys li {
  display: inline-flex; align-items: center; height: 30px; padding: 0 11px; border-radius: 8px;
  background: var(--surface2); color: var(--ink); font-size: 0.875rem; font-weight: 500;
}
.rows { border: 1px solid var(--hairline); border-radius: var(--r-card); background: var(--surface); }
.rows li { display: grid; grid-template-columns: 24px 1fr; gap: 14px; padding: 16px 18px; border-top: 1px solid var(--hairline); }
.rows li:first-child { border-top: 0; }
.radio { width: 22px; height: 22px; margin-top: 2px; border-radius: 50%; border: 1.75px solid var(--ink3); display: grid; place-items: center; }
.radio.on { border-color: var(--accent); background: var(--accent); color: var(--on-accent); }
.radio svg { width: 13px; height: 13px; }
.rows h3 { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-family: var(--font-text); font-size: 1.0625rem; font-weight: 600; }
.rows p { margin-top: 2px; color: var(--ink2); font-size: 0.9375rem; }

.plans { display: grid; gap: 14px; }
.plan { position: relative; padding: 22px; border-radius: var(--r-card); border: 1px solid var(--hairline); background: var(--surface); }
.plan.best { border: 1.5px solid var(--accent); }
.plan .card-top { margin-bottom: 6px; }
.plan h3 { font-family: var(--font-text); font-size: 1.0625rem; font-weight: 600; }
.plan .price { color: var(--ink); margin-top: 0; font-family: var(--font-display); font-weight: 700; font-size: 2.5rem; line-height: 1.1; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.plan .price small { font-family: var(--font-text); font-size: 1rem; font-weight: 500; letter-spacing: 0; color: var(--ink2); }
.plan p { margin-top: 4px; color: var(--ink2); font-size: 0.9375rem; }
.fineprint { margin-top: 16px; color: var(--ink2); font-size: 0.9375rem; max-width: 40rem; }
.fineprint strong { color: var(--ink); font-weight: 600; }

/* ---------- Privacy band ---------- */
.band { background: var(--band); color: var(--band-ink); padding-block: 60px; }
.band .cap { color: var(--band-ink2); margin-bottom: 10px; }
.band h2 { max-width: 20ch; }
.promises { display: grid; gap: 0; margin-top: 28px; }
.promises li { padding-block: 18px; border-top: 1px solid var(--band-line); }
.promises h3 { display: flex; align-items: center; gap: 10px; font-size: 1.1875rem; font-weight: 700; line-height: 1.25; }
.promises svg { width: 20px; height: 20px; flex: none; color: var(--spark); }
.promises p { margin-top: 6px; color: var(--band-ink2); font-size: 0.9688rem; max-width: 30rem; }
.band-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; margin-top: 12px; padding-top: 22px; border-top: 1px solid var(--band-line); }
.band-foot p { font-family: var(--font-display); font-weight: 600; }
.band a { color: var(--band-ink); font-weight: 600; display: inline-flex; align-items: center; min-height: 44px; }
.band :focus-visible { outline-color: var(--band-ink); }

/* ---------- Closing + footer ---------- */
.closing { text-align: left; padding-block: 64px 72px; }
.closing h2 { font-size: clamp(1.75rem, 5.4vw, 2.5rem); line-height: 1.12; font-weight: 700; letter-spacing: -0.015em; }
.closing p { margin-top: 12px; color: var(--ink2); max-width: 34rem; }
.site-foot { border-top: 1px solid var(--hairline); padding-block: 28px 36px; color: var(--ink2); font-size: 0.9375rem; }
.foot-links { display: flex; flex-wrap: wrap; gap: 0 4px; margin-left: -10px; }
.foot-copy { margin-top: 10px; }
.foot-links a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 10px; color: var(--ink2); text-decoration: none; }
.foot-links a:hover, .foot-links a[aria-current="page"] { color: var(--ink); }
.foot-links a:hover { text-decoration: underline; }
.foot-note { margin-top: 10px; font-size: 0.8125rem; color: var(--ink3); max-width: 46rem; }

/* ---------- Legal pages ---------- */
.legal { padding-block: 28px 72px; }
.legal-body { max-width: 44rem; }
.legal h1 { font-size: clamp(2rem, 7vw, 2.75rem); line-height: 1.1; font-weight: 700; letter-spacing: -0.02em; }
.legal .meta { margin-top: 10px; color: var(--ink3); font-size: 0.9375rem; }
.legal h2 { margin-top: 44px; font-size: 1.5rem; line-height: 1.2; font-weight: 700; letter-spacing: -0.01em; scroll-margin-top: 16px; }
.legal h3 { margin-top: 26px; font-family: var(--font-text); font-size: 1.0625rem; font-weight: 600; }
.legal p, .legal-body > ul, .legal-body > ol { margin-top: 12px; }
.legal p, .legal li { color: var(--ink); }
.legal-body ul, .legal-body ol { padding-left: 1.3em; display: grid; gap: 8px; }
.legal-body ul { list-style: disc; }
.legal-body ol { list-style: decimal; }
.legal li::marker { color: var(--ink3); }
.legal strong { font-weight: 600; }
.summary { margin-top: 26px; padding: 20px 22px; border-radius: var(--r-card); border: 1px solid var(--hairline); background: var(--surface); }
.summary h2 { margin-top: 0; font-size: 1.1875rem; }
.summary ul { margin-top: 10px; }
.toc { margin-top: 26px; }
.toc ol { columns: 2 14rem; column-gap: 28px; display: block; padding-left: 1.5em; }
.toc li { padding-block: 3px; break-inside: avoid; font-size: 0.9688rem; }
.table-wrap { margin-top: 14px; overflow-x: auto; border: 1px solid var(--hairline); border-radius: 14px; background: var(--surface); }
table { width: 100%; min-width: 34rem; border-collapse: collapse; font-size: 0.9375rem; }
th, td { text-align: left; vertical-align: top; padding: 11px 14px; border-top: 1px solid var(--hairline); }
thead th { border-top: 0; font-size: 0.75rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink3); }
tbody th { font-weight: 600; white-space: nowrap; }
.shout { font-size: 0.9375rem; }
address { font-style: normal; margin-top: 12px; }


/* ---------- Buttons as real buttons, and their variants ---------- */
button.btn { border: 0; cursor: pointer; }
.btn.block { width: 100%; }
.btn.quiet { background: var(--surface); color: var(--ink); box-shadow: inset 0 0 0 1px var(--hairline); }
.btn.quiet:hover { background: var(--surface2); }
.btn.danger { background: var(--danger); color: var(--on-danger); }
.btn.danger:hover { background: var(--danger); filter: brightness(0.92); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: 0.55; cursor: default; pointer-events: none; }
.btn .spin {
  width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid currentColor; border-right-color: transparent;
  animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.linkbtn {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0; border: 0; background: none; cursor: pointer;
  font: inherit; font-size: 0.9375rem; font-weight: 500; color: var(--accent-text); text-decoration: underline; text-underline-offset: 0.18em;
}
.linkbtn[disabled] { color: var(--ink3); text-decoration: none; cursor: default; }
.linkbtn.danger { color: var(--danger); }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
[hidden] { display: none !important; }

/* ---------- Simple pages: pricing, sign in, account, welcome, support, FAQ ---------- */
.page { padding-block: 28px 72px; }
.page-head { max-width: 40rem; margin-bottom: 28px; }
.page-head h1, .auth h1, .done h1 {
  font-size: clamp(2rem, 7vw, 2.75rem); line-height: 1.1; font-weight: 700; letter-spacing: -0.02em;
}
.page-head .tag { margin-bottom: 12px; }
.page-head p { margin-top: 12px; color: var(--ink2); font-size: 1.125rem; max-width: 36rem; }
.page h2.group { margin: 40px 0 14px; font-size: 1.375rem; font-weight: 700; line-height: 1.2; letter-spacing: -0.01em; scroll-margin-top: 16px; }
.mid { max-width: 42rem; }
.stack { display: grid; gap: 14px; }

.notice { padding: 12px 14px; border-radius: 14px; background: var(--surface2); color: var(--ink2); font-size: 0.9375rem; }
.notice.warn { background: var(--warn-tint); color: var(--warn); }
.notice.ok { background: var(--accent-tint); color: var(--accent-text); }
.notice a { color: inherit; font-weight: 600; }
.help { font-size: 0.875rem; color: var(--ink3); }
.err { font-size: 0.9375rem; font-weight: 500; color: var(--danger); }

/* Forms */
.form { display: grid; gap: 14px; }
.label { display: block; margin-bottom: 6px; font-size: 0.9375rem; font-weight: 600; }
.input {
  display: block; width: 100%; min-height: 52px; padding: 0 16px; border: 1.5px solid var(--field-line); border-radius: 14px;
  background: var(--surface); color: var(--ink); font: inherit; font-size: 1.0625rem;
}
.input::placeholder { color: var(--ink3); opacity: 1; }
.input:focus-visible { outline: 3px solid var(--accent); outline-offset: 1px; border-color: var(--accent); border-radius: 14px; }
.input[aria-invalid="true"] { border-color: var(--danger); }
.input.code {
  font-family: var(--font-display); font-size: 1.625rem; font-weight: 700; letter-spacing: 0.3em; text-align: center;
  font-variant-numeric: tabular-nums; padding-left: calc(16px + 0.3em);
}
.field-meta { margin-top: 6px; display: grid; gap: 4px; }

/* Sign in */
.auth { max-width: 26rem; margin-inline: auto; padding-top: 12px; display: grid; gap: 18px; }
.auth .sub { color: var(--ink2); margin-top: -8px; }
.auth-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0 16px; }
.or { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; color: var(--ink3); font-size: 0.875rem; }
.or::before, .or::after { content: ""; height: 1px; background: var(--hairline); }
.btn .glogo { width: 20px; height: 20px; }
.apple-line { padding: 14px 16px; border-radius: 14px; background: var(--surface2); color: var(--ink2); font-size: 0.9375rem; }

/* Pricing */
.buy-grid { display: grid; gap: 32px; align-items: start; }
.buy-grid > * { min-width: 0; }
.buy { display: grid; gap: 14px; }
.planpick { border: 0; margin: 0; padding: 0; min-width: 0; display: grid; gap: 10px; }
.plan.pick { display: grid; grid-template-columns: 24px 1fr; gap: 14px; padding: 18px; border: 1.5px solid var(--hairline); cursor: pointer; }
.plan.pick input {
  appearance: none; -webkit-appearance: none; width: 22px; height: 22px; margin: 2px 0 0; border-radius: 50%;
  border: 1.75px solid var(--ink3); background: transparent; display: grid; place-content: center; cursor: pointer;
}
.plan.pick input:checked { border-color: var(--accent); background: var(--accent); }
.plan.pick input:checked::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--on-accent); }
.plan.pick input:focus-visible { outline: none; }
.plan.pick:has(input:checked) { border-color: var(--accent); }
.plan.pick:has(input:focus-visible) { outline: 3px solid var(--accent); outline-offset: 3px; }
.plan.pick .pick-body, .plan.pick .price, .plan.pick .plan-sub { display: block; }
.plan.pick .card-top { display: flex; margin-bottom: 4px; }
.plan.pick .plan-name { font-size: 1.0625rem; font-weight: 600; }
.plan.pick .price { font-size: 2rem; }
.plan.pick .plan-sub { margin-top: 4px; color: var(--ink2); font-size: 0.9375rem; }
.plan.pick .trial { color: var(--accent-text); font-weight: 600; }
.trial-line { font-weight: 600; color: var(--ink); }
.benefits { display: grid; gap: 12px; }
.benefits li { display: flex; gap: 10px; align-items: flex-start; font-size: 1.0625rem; font-weight: 500; }
.benefits svg { width: 22px; height: 22px; flex: none; margin-top: 1px; color: var(--accent-text); }
.freeline { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--hairline); color: var(--ink2); max-width: 30rem; }
.freeline strong { color: var(--ink); font-weight: 600; }
.terms-box { margin-top: 48px; padding: 24px 22px; border-radius: var(--r-card); border: 1px solid var(--hairline); background: var(--surface); max-width: 46rem; }
.terms-box h2 { font-size: 1.375rem; font-weight: 700; line-height: 1.2; }
.terms-box ul { margin-top: 14px; padding-left: 1.2em; list-style: disc; display: grid; gap: 10px; }
.terms-box li::marker { color: var(--ink3); }
.terms-box strong { font-weight: 600; }
.terms-box p { margin-top: 14px; color: var(--ink2); font-size: 0.9375rem; }

/* Account */
.who { font-family: var(--font-display); font-size: 1.375rem; font-weight: 700; line-height: 1.25; overflow-wrap: anywhere; }
.card .cap { margin-bottom: 8px; }
.card .card-top .cap { margin-bottom: 0; }
.card h2.cap { font-family: var(--font-text); }
.card .cta-row { margin-top: 16px; }
.card .help, .card .notice { margin-top: 12px; }
.acct-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 20px; margin-top: 6px; }
.danger-panel { border-color: var(--danger); }
.danger-panel h2 { font-size: 1.375rem; font-weight: 700; line-height: 1.2; }
.danger-panel p { margin-top: 8px; color: var(--ink); }
.danger-panel ul { margin-top: 12px; padding-left: 1.2em; list-style: disc; display: grid; gap: 6px; color: var(--ink2); }

/* Welcome */
.done { max-width: 26rem; margin-inline: auto; padding-top: 20px; display: grid; gap: 16px; }
.done .check { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--accent-tint); color: var(--accent-text); }
.done .check svg { width: 28px; height: 28px; }
.done .lead { font-size: 1.125rem; color: var(--ink2); }
.done .btn.big { min-height: 60px; font-size: 1.1875rem; }
.done .center { text-align: center; }
.next-list { display: grid; gap: 0; border: 1px solid var(--hairline); border-radius: var(--r-card); background: var(--surface); }
.next-list li { padding: 14px 18px; border-top: 1px solid var(--hairline); color: var(--ink2); font-size: 0.9688rem; }
.next-list li:first-child { border-top: 0; }
.next-list strong { display: block; color: var(--ink); font-weight: 600; }

/* FAQ lists (details) */
.faq { border: 1px solid var(--hairline); border-radius: var(--r-card); background: var(--surface); max-width: 46rem; }
.faq details { border-top: 1px solid var(--hairline); }
.faq details:first-child { border-top: 0; }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 56px; padding: 12px 18px;
  cursor: pointer; list-style: none; font-weight: 600; border-radius: var(--r-card);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 9px; height: 9px; margin: -4px 4px 0 0;
  border-right: 2px solid var(--ink3); border-bottom: 2px solid var(--ink3); transform: rotate(45deg); transition: transform 0.15s ease-out;
}
.faq details[open] > summary::after { transform: rotate(-135deg); margin-top: 4px; }
.faq summary h3 { font-family: var(--font-text); font-size: 1.0625rem; font-weight: 600; line-height: 1.35; }
.faq .a { padding: 0 18px 18px; display: grid; gap: 10px; color: var(--ink2); max-width: 42rem; }
.faq .a ol, .faq .a ul { padding-left: 1.3em; display: grid; gap: 6px; }
.faq .a ol { list-style: decimal; }
.faq .a ul { list-style: disc; }
.faq .a strong { color: var(--ink); font-weight: 600; }
.jump { display: flex; flex-wrap: wrap; gap: 8px; }
.jump a {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border-radius: 20px;
  background: var(--surface); border: 1px solid var(--hairline); color: var(--ink); text-decoration: none;
  font-family: var(--font-display); font-weight: 600; font-size: 0.9375rem;
}
.jump a:hover { border-color: var(--accent); }
.contact { margin-top: 40px; max-width: 46rem; }
.contact h2 { font-size: 1.375rem; font-weight: 700; }
.contact p { margin-top: 6px; }

/* ---------- Guides and comparisons ---------- */
.crumbs { margin-bottom: 18px; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 2px 8px; font-size: 0.875rem; color: var(--ink3); }
.crumbs li + li::before { content: "/"; margin-right: 8px; }
.crumbs a { color: var(--ink2); display: inline-block; padding-block: 6px; }
.crumbs li[aria-current] { padding-block: 6px; }
@media (max-width: 600px) { .crumbs li:nth-child(3) { display: none; } }
.article .answer { font-size: 1.1875rem; line-height: 1.5; margin-top: 18px; }
.legal-body blockquote {
  margin: 14px 0 0; padding: 16px 18px; border-radius: 14px; border: 1px solid var(--hairline); background: var(--surface); font-size: 1rem;
}
.legal-body blockquote p:first-child { margin-top: 0; }
.legal-body blockquote ul { margin-top: 10px; }
.legal-body tbody th { white-space: normal; min-width: 8.5rem; }
.article td { min-width: 11rem; }
.article h3.q { margin-top: 22px; }
.callout { margin-top: 48px; padding: 24px 22px; border-radius: 24px; background: var(--accent-tint); }
.legal .callout h2 { margin-top: 0; }
.legal .callout p { color: var(--ink); max-width: 34rem; }
.callout .soon { background: var(--surface); }
.more { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--hairline); }
.legal .more h2 { margin-top: 0; font-size: 1.1875rem; }
.legal-body .more ul { list-style: none; padding-left: 0; margin-top: 8px; gap: 2px; }
.more a { display: inline-block; padding-block: 8px; font-weight: 500; }
.hub { display: grid; gap: 14px; max-width: 46rem; }
.hub .card h2 { font-size: 1.25rem; font-weight: 700; line-height: 1.25; }
.hub .card h2 a { color: var(--ink); text-decoration: none; }
.hub .card h2 a:hover { color: var(--accent-text); text-decoration: underline; }
.hub .card p { margin-top: 6px; }
.hub .card { position: relative; }
.hub .card h2 a::after { content: ""; position: absolute; inset: 0; border-radius: var(--r-card); }

/* ---------- Wider screens ---------- */
@media (min-width: 720px) {
  :root { --gutter: 32px; }
  .cards.two { grid-template-columns: 1fr 1fr; }
  .plans { grid-template-columns: 1fr 1fr; max-width: 44rem; }
  .promises { grid-template-columns: 1fr 1fr; column-gap: 40px; }
  .section { padding-block: 88px; }
  .band { padding-block: 80px; }
  .page { padding-block: 40px 96px; }
  .buy-grid { grid-template-columns: 1fr 1fr; gap: 56px; }
  .buy-grid .buy { order: 2; }
}
@media (min-width: 900px) {
  .hero { padding-block: 40px 80px; }
  .hero-grid { grid-template-columns: 1.2fr 0.8fr; gap: 56px; }
  .phone { width: 320px; }
  .lede { font-size: 1.3125rem; max-width: 30ch; }
  .voice-line { font-size: 1.3125rem; }
  .split { grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
  .split.flip > :first-child { order: 2; }
  .promises { grid-template-columns: repeat(4, 1fr); column-gap: 32px; }
  .promises li { border-top: 0; padding-block: 0; }
  .promises { margin-top: 36px; }
  .band-foot { margin-top: 36px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .caret { animation: none; }
  .btn .spin { animation-duration: 1.6s; }
  .field-text.swap { animation: none; }
  * { transition-duration: 0.01ms !important; }
}
