/* Orviah website.
   Tokens are the app's own (OrviahDesignSystem/Theme.swift): soft white canvas, graphite dark
   mode, one accent (deep blue-green), typography and hairlines before containers. The copper
   mark is the app icon's. No webfonts: the system stack renders in SF on Apple devices, which is
   what the app uses. No JavaScript except the beta form's own small script (progressive: the form posts without it). */

:root {
  --canvas: #FBFBFA;
  --surface: #F2F2F0;
  --raised: #FFFFFF;
  --ink: #0E0F10;
  --ink-2: #5E6166;
  --ink-3: #6F7378;
  --hairline: rgba(0, 0, 0, 0.08);
  --accent: #0B6B6E;
  --accent-soft: rgba(11, 107, 110, 0.10);
  --on-accent: #FFFFFF;
  --action: #0E0F10;
  --on-action: #FFFFFF;
  --red: #C4332D;
  --brand: #E28A55;
  --brand-bg: #221C18;
  --shadow: 0 5px 14px rgba(0, 0, 0, 0.06);
  --shadow-phone: 0 40px 80px rgba(0, 0, 0, 0.18), 0 12px 24px rgba(0, 0, 0, 0.08);
  --radius: 22px;
  --radius-row: 18px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Helvetica Neue", "Segoe UI", Roboto, Inter, system-ui, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --max: 1120px;
  --edge: 20px;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --canvas: #0B0C0D;
    --surface: #17191B;
    --raised: #1F2224;
    --ink: #F2F3F4;
    --ink-2: #A1A5AB;
    --ink-3: #8E9399;
    --hairline: rgba(255, 255, 255, 0.10);
    --accent: #56C7C2;
    --accent-soft: rgba(86, 199, 194, 0.16);
    --on-accent: #06201F;
    --action: #F2F3F4;
    --on-action: #0B0C0D;
    --red: #FF6B62;
    --brand-bg: #0E0D0C;
    --shadow: none;
    --shadow-phone: 0 40px 80px rgba(0, 0, 0, 0.5);
  }
}
:root[data-theme="dark"] {
  --canvas: #0B0C0D;
  --surface: #17191B;
  --raised: #1F2224;
  --ink: #F2F3F4;
  --ink-2: #A1A5AB;
  --ink-3: #8E9399;
  --hairline: rgba(255, 255, 255, 0.10);
  --accent: #56C7C2;
  --accent-soft: rgba(86, 199, 194, 0.16);
  --on-accent: #06201F;
  --action: #F2F3F4;
  --on-action: #0B0C0D;
  --red: #FF6B62;
  --brand-bg: #0E0D0C;
  --shadow: none;
  --shadow-phone: 0 40px 80px rgba(0, 0, 0, 0.5);
}

/* Base */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }   /* a display rule on a class must never beat the hidden attribute */
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-wrap: anywhere;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--accent); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; letter-spacing: -0.02em; line-height: 1.12; text-wrap: balance; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.25em; }
li { margin-bottom: 0.35em; }
strong { font-weight: 600; }
.skip { position: absolute; left: 16px; top: -60px; background: var(--action); color: var(--on-action); padding: 10px 14px; border-radius: 10px; z-index: 100; text-decoration: none; }
.skip:focus { top: 12px; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--edge); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--canvas) 84%, transparent);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid var(--hairline);
}
.header-row { display: flex; align-items: center; gap: 28px; min-height: 64px; position: relative; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; }
.brand .mark { width: 28px; height: 28px; color: var(--brand); flex: none; }
.wordmark { font-weight: 700; font-size: 19px; letter-spacing: -0.02em; }
.site-nav { display: flex; gap: 26px; margin-left: auto; }
.site-nav a, .menu-panel a { color: var(--ink-2); font-size: 15px; font-weight: 500; text-decoration: none; }
.site-nav a:hover, .site-nav a[aria-current="page"], .menu-panel a:hover { color: var(--ink); }
.header-cta { flex: none; }
.menu { display: none; }

/* Buttons */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; padding: 0 24px; border-radius: 999px; border: 0; cursor: pointer; font-family: inherit;
  background: var(--action); color: var(--on-action);
  font-weight: 600; font-size: 16px; text-decoration: none; white-space: nowrap;
}
.button:hover { opacity: 0.88; text-decoration: none; }
.button-accent { background: var(--accent); color: var(--on-accent); }
.button-quiet { background: var(--surface); color: var(--ink); }
.button-small { min-height: 40px; padding: 0 16px; font-size: 15px; }

/* Sections and type */
.section { padding-block: clamp(56px, 8vw, 112px); }
.section + .section { border-top: 1px solid var(--hairline); }
.eyebrow { font-size: 15px; font-weight: 600; color: var(--accent); margin: 0 0 14px; letter-spacing: 0; }
h1 { font-size: clamp(2.5rem, 6vw, 4.25rem); line-height: 1.02; letter-spacing: -0.03em; margin-bottom: 22px; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); line-height: 1.08; letter-spacing: -0.025em; margin-bottom: 16px; }
h3 { font-size: 1.25rem; font-weight: 600; letter-spacing: -0.015em; margin-bottom: 8px; }
.lead { font-size: clamp(1.125rem, 1.5vw, 1.3125rem); color: var(--ink-2); line-height: 1.45; max-width: 34em; }
.section-head { max-width: 44em; margin-bottom: clamp(32px, 4vw, 56px); }
.section-head .lead { margin-bottom: 0; }
.muted { color: var(--ink-2); }
.quiet { color: var(--ink-3); font-size: 15px; }
.inline-link { font-weight: 600; text-decoration: none; }
.inline-link:hover { text-decoration: underline; }

/* Hero */
.hero { padding-block: clamp(40px, 6vw, 88px) clamp(24px, 3vw, 40px); }
/* The first section after the hero sits close to it: the hero's bottom and the section's top paddings used to add up to a blank screen's worth. */
.hero + .section { padding-top: clamp(40px, 5vw, 64px); }
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.hero-note { margin-top: 20px; font-size: 16px; color: var(--ink-3); max-width: 36em; }
.hero-figure { margin: 0; display: flex; justify-content: center; }

/* Three questions */
.questions { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 3vw, 40px); }
.question { border-top: 1px solid var(--hairline); padding-top: 20px; }
.question h3 { font-size: clamp(1.35rem, 2vw, 1.6rem); font-weight: 700; letter-spacing: -0.025em; line-height: 1.15; margin-bottom: 12px; }
.question p { color: var(--ink-2); margin: 0; }

/* How it works */
.how-grid { display: grid; grid-template-columns: 1fr auto; gap: clamp(40px, 6vw, 96px); align-items: center; }
.steps { list-style: none; padding: 0; margin: 0; counter-reset: step; }
.steps li { position: relative; padding: 24px 0 24px 56px; border-top: 1px solid var(--hairline); margin: 0; }
.steps li::before {
  counter-increment: step; content: counter(step);
  position: absolute; left: 0; top: 24px;
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--accent-soft); color: var(--accent);
  display: grid; place-items: center; font-weight: 700; font-size: 16px;
}
.steps h3 { margin-bottom: 6px; }
.steps p { color: var(--ink-2); margin: 0; max-width: 40em; }
.remembers { margin-top: clamp(32px, 4vw, 48px); padding-top: 24px; border-top: 1px solid var(--hairline); max-width: 44em; }
.remembers p { color: var(--ink-2); margin: 0; }

/* Places */
.place { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; padding-block: clamp(28px, 4vw, 56px); }
.place + .place { border-top: 1px solid var(--hairline); }
.place:nth-of-type(even) .place-text { order: 2; }
.place-text { max-width: 30em; }
.place-text h3 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); font-weight: 700; letter-spacing: -0.025em; line-height: 1.1; margin-bottom: 12px; }
.place-text p { color: var(--ink-2); }
.place-text p:last-child { margin-bottom: 0; }
.place-figure { margin: 0; display: flex; justify-content: center; }
.tag { display: inline-block; font-size: 13px; font-weight: 600; color: var(--accent); background: var(--accent-soft); padding: 3px 10px; border-radius: 999px; margin-left: 10px; vertical-align: middle; letter-spacing: 0; }

/* Columns of facts */
.cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 3vw, 40px); }
.col { border-top: 1px solid var(--hairline); padding-top: 18px; }
.col h3 { font-size: 1.0625rem; margin-bottom: 10px; }
.col ul { list-style: none; padding: 0; margin: 0; }
.col li { color: var(--ink-2); padding: 7px 0; border-top: 1px solid var(--hairline); margin: 0; font-size: 17px; }
.col li:first-child { border-top: 0; padding-top: 0; }
.facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 clamp(32px, 4vw, 56px); }
.fact { padding: 22px 0; border-top: 1px solid var(--hairline); }
.fact h3 { font-size: 1.125rem; margin-bottom: 6px; }
.fact p { margin: 0; color: var(--ink-2); font-size: 17px; }
.after { margin-top: 28px; }

/* Beta card */
.cta-card {
  background: var(--raised); border: 0.5px solid var(--hairline); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: clamp(32px, 5vw, 56px); text-align: center; max-width: 760px; margin: 0 auto;
}
.cta-card h2 { margin-bottom: 12px; }
.cta-card .lead { margin: 0 auto 24px; }
.cta-card .quiet { margin: 18px 0 0; }

/* Footer */
.site-footer { border-top: 1px solid var(--hairline); padding: 40px 0 56px; font-size: 15px; color: var(--ink-3); }
.footer-top { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.footer-nav { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-nav a { color: var(--ink-2); text-decoration: none; }
.footer-nav a:hover { color: var(--ink); text-decoration: underline; }
.footer-fine { margin: 24px 0 0; max-width: 60em; }

/* Documents: privacy, terms, support, google */
.doc { max-width: 720px; margin: 0 auto; padding-block: clamp(40px, 6vw, 80px) clamp(56px, 8vw, 112px); }
.doc-head { margin-bottom: clamp(28px, 4vw, 44px); }
.doc-head h1 { font-size: clamp(2.1rem, 4.5vw, 3.25rem); }
.doc-head .meta { color: var(--ink-3); font-size: 15px; margin: 0; }
.doc h2 { font-size: clamp(1.4rem, 2.4vw, 1.75rem); margin: 48px 0 12px; }
.doc h3 { font-size: 1.125rem; margin: 28px 0 8px; }
.doc p, .doc li { font-size: 17px; line-height: 1.6; }
.doc li { margin-bottom: 0.5em; }
.doc .summary { background: var(--surface); border-radius: var(--radius); padding: 24px 28px; margin: 0 0 32px; }
.doc .summary h2 { margin: 0 0 12px; font-size: 1.125rem; }
.doc .summary ul { margin: 0; }
.doc .summary li:last-child { margin-bottom: 0; }
.toc { list-style: none; padding: 0; margin: 0 0 8px; columns: 2; column-gap: 32px; font-size: 15.5px; }
.toc li { break-inside: avoid; margin: 0 0 6px; }
.toc a { color: var(--ink-2); text-decoration: none; }
.toc a:hover { color: var(--ink); text-decoration: underline; }
.doc table { width: 100%; border-collapse: collapse; font-size: 15.5px; margin: 8px 0 24px; table-layout: fixed; }
/* Definition lists on the long pages (permissions, providers): the name beside its meaning, so no
   column is ever squeezed into a ribbon of three words a line. */
.defs { margin: 12px 0 28px; padding: 0; }
.defs .def { display: grid; grid-template-columns: minmax(0, 13em) 1fr; gap: 8px 28px; padding: 18px 0; border-top: 1px solid var(--hairline); margin: 0; }
.defs .def:last-child { border-bottom: 1px solid var(--hairline); }
.defs dt { font-weight: 600; margin: 0; overflow-wrap: anywhere; line-height: 1.5; }
.defs dd { margin: 0; }
.defs dd p { margin: 0 0 8px; font-size: 17px; line-height: 1.55; color: var(--ink); }
.defs dd p:last-child { margin-bottom: 0; }
.defs dd .why { color: var(--ink-2); }
.defs dd .lbl { display: block; font-weight: 600; color: var(--ink-3); font-size: 13px; letter-spacing: 0.02em; text-transform: uppercase; margin-bottom: 2px; }
@media (max-width: 640px) { .defs .def { grid-template-columns: 1fr; gap: 6px; } }
.doc th:first-child, .doc td:first-child { width: 28%; }
.doc td code { overflow-wrap: anywhere; }
/* On a phone the three columns cannot share the width without breaking words, so each row becomes a short block: the name, then what it means. */
@media (max-width: 640px) {
  .doc table, .doc tbody, .doc tr, .doc td { display: block; width: auto; }
  .doc thead { display: none; }
  .doc tr { border-top: 1px solid var(--hairline); padding: 12px 0; }
  .doc td { border-top: 0; padding: 2px 0; }
  .doc td:first-child { font-weight: 600; padding-bottom: 4px; }
  .doc td code { white-space: nowrap; overflow-wrap: normal; }
}
.doc th, .doc td { text-align: left; vertical-align: top; padding: 12px 10px 12px 0; border-top: 1px solid var(--hairline); line-height: 1.5; }
.doc th { font-weight: 600; color: var(--ink-2); font-size: 14px; }
.doc tr:last-child td { border-bottom: 1px solid var(--hairline); }
.doc code { font-family: var(--mono); font-size: 0.88em; background: var(--surface); padding: 2px 6px; border-radius: 6px; }
.doc dl { margin: 0 0 1em; }
.doc dt { font-weight: 600; margin-top: 18px; }
.doc dd { margin: 4px 0 0; color: var(--ink-2); }
.note { border-left: 2px solid var(--accent); padding: 4px 0 4px 18px; margin: 20px 0; color: var(--ink-2); }
.note p:last-child { margin-bottom: 0; }
.faq details { border-top: 1px solid var(--hairline); padding: 14px 0; }
.faq details:last-child { border-bottom: 1px solid var(--hairline); }
.faq summary { cursor: pointer; font-weight: 600; font-size: 17px; list-style: none; display: flex; justify-content: space-between; gap: 16px; align-items: baseline; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--ink-3); font-weight: 400; flex: none; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 12px 0 0; color: var(--ink-2); }
.faq details p + p { margin-top: 8px; }
.contact-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 8px 0 32px; }
.contact-card { background: var(--raised); border: 0.5px solid var(--hairline); border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px 24px; }
.contact-card h2 { margin: 0 0 6px; font-size: 1.0625rem; }
.contact-card p { margin: 0; color: var(--ink-2); font-size: 17px; }
.contact-card a { font-weight: 600; }

/* 404 */
.notfound { text-align: center; padding-block: clamp(80px, 14vw, 180px); }
.notfound .mark { width: 56px; height: 56px; margin: 0 auto 24px; color: var(--brand); }
.notfound .lead { margin: 0 auto 28px; }
.notfound .button { width: auto; }
.status-icons .battery { width: 27px; }

/* --- The phone: Orviah's screens, rendered from the app's own tokens and layout.
   Authored at 390 points wide (iPhone 17) and scaled with zoom. --- */
.phone { width: 390px; zoom: 0.84; flex: none; }
.phone-shell { background: #0B0C0D; border-radius: 60px; padding: 12px; box-shadow: var(--shadow-phone); }
.screen {
  position: relative; height: 800px; overflow: hidden; border-radius: 48px;
  background: var(--canvas); color: var(--ink);
  font-size: 17px; line-height: 1.3; letter-spacing: -0.01em; text-wrap: initial;
}
.island { position: absolute; top: 12px; left: 50%; transform: translateX(-50%); width: 124px; height: 36px; border-radius: 20px; background: #000; }
.status { display: flex; justify-content: space-between; align-items: center; padding: 20px 32px 0; font-size: 16px; font-weight: 600; }
.status-icons { display: flex; gap: 6px; align-items: center; }
.status-icons svg { width: 18px; height: 12px; }
.ph-body { padding: 24px 20px 0; }
.ph-greet { font-size: 15px; color: var(--ink-2); display: flex; justify-content: space-between; align-items: center; }
.ph-greet svg { width: 20px; height: 20px; color: var(--ink-2); }
.ph-head { font-size: 28px; font-weight: 700; letter-spacing: -0.022em; line-height: 1.12; margin: 12px 0 8px; }
.ph-sub { font-size: 17px; color: var(--ink-2); line-height: 1.3; }
.ph-title { font-size: 34px; font-weight: 700; letter-spacing: -0.025em; line-height: 1.1; display: flex; justify-content: space-between; align-items: center; }
.ph-title svg { width: 22px; height: 22px; color: var(--ink-2); }
.ph-label { font-size: 16px; color: var(--ink-2); margin: 24px 0 10px; }
.ph-label-row { display: flex; justify-content: space-between; align-items: center; margin: 22px 0 10px; }
.ph-shelf { display: flex; align-items: center; gap: 10px; font-size: 17px; font-weight: 500; }
.ph-shelf svg { width: 20px; height: 20px; color: var(--accent); }
.ph-shelf-right { font-size: 15px; color: var(--ink-3); display: flex; align-items: center; gap: 6px; }
.ph-card { background: var(--raised); border-radius: 22px; box-shadow: var(--shadow); border: 0.5px solid var(--hairline); padding: 2px 16px; }
.ph-tray { background: var(--surface); border-radius: 20px; padding: 2px 16px; }
.ph-row { display: flex; gap: 14px; align-items: flex-start; padding: 13px 0; border-top: 1px solid var(--hairline); }
.ph-row:first-child { border-top: 0; }
.ph-row-main { flex: 1; min-width: 0; }
.ph-row-right { flex: none; font-size: 15px; color: var(--ink-2); display: flex; align-items: center; gap: 6px; padding-top: 2px; }
.ph-row-right svg, .ph-more svg { width: 12px; height: 12px; color: var(--ink-3); }
.ph-circle { flex: none; width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid var(--ink-3); margin-top: 1px; }
.ph-circle.is-first { border: 2px solid var(--accent); }
.ph-icon { flex: none; width: 22px; height: 22px; color: var(--ink-2); margin-top: 1px; }
.ph-item { font-size: 17px; font-weight: 500; line-height: 1.25; }
.ph-item.is-plain { font-weight: 400; }
.ph-detail { font-size: 15px; color: var(--ink-2); margin-top: 3px; line-height: 1.3; }
.ph-detail .t-accent { color: var(--accent); font-weight: 600; }
.ph-detail .t-red { color: var(--red); }
.ph-more { display: flex; justify-content: space-between; align-items: center; padding: 14px 0; border-top: 1px solid var(--hairline); color: var(--ink-2); font-size: 16px; }
.ph-standing { background: var(--accent-soft); border-radius: 20px; padding: 16px 18px; margin-top: 18px; }
.ph-standing .ph-small { color: var(--accent); font-weight: 600; font-size: 14px; margin-bottom: 4px; }
.ph-standing p { margin: 0; font-size: 17px; line-height: 1.3; }
.ph-tagright { color: var(--accent); font-weight: 600; font-size: 15px; }
.ph-nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.ph-nav .ph-glyph { width: 44px; height: 44px; border-radius: 50%; background: var(--raised); box-shadow: var(--shadow); border: 0.5px solid var(--hairline); display: grid; place-items: center; }
.ph-nav .ph-glyph svg { width: 18px; height: 18px; }
.ph-nav-title { font-size: 17px; font-weight: 600; flex: 1; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ph-nav-actions { display: flex; align-items: center; gap: 18px; height: 44px; padding: 0 18px; border-radius: 999px; background: var(--raised); box-shadow: var(--shadow); border: 0.5px solid var(--hairline); color: var(--accent); font-size: 22px; font-weight: 300; }
.ph-centre { text-align: center; color: var(--ink-3); font-size: 15px; margin-top: 10px; }
.ph-buttons { display: flex; gap: 10px; margin-top: 16px; }
.ph-pill { font-size: 15px; font-weight: 600; padding: 0 16px; min-height: 44px; display: inline-flex; align-items: center; border-radius: 999px; background: var(--surface); }
.ph-pill.is-accent { background: var(--accent); color: var(--on-accent); }
.ph-fade { position: absolute; left: 0; right: 0; bottom: 0; height: 130px; background: linear-gradient(to bottom, transparent, var(--canvas) 62%); pointer-events: none; }
.ph-bar { position: absolute; left: 14px; right: 14px; bottom: 22px; display: flex; align-items: center; gap: 10px; }
.ph-tabs {
  flex: 1; display: flex; justify-content: space-between; align-items: center; height: 64px; padding: 5px;
  border-radius: 999px; border: 0.5px solid var(--hairline); box-shadow: var(--shadow);
  background: color-mix(in srgb, var(--raised) 86%, transparent);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}
.ph-tab { display: flex; flex-direction: column; align-items: center; gap: 3px; font-size: 11px; font-weight: 500; color: var(--ink); padding: 7px 0 5px; border-radius: 999px; flex: 1; }
.ph-tab svg { width: 22px; height: 22px; }
.ph-tab.is-active { background: var(--accent-soft); color: var(--accent); }
.ph-mic { flex: none; width: 64px; height: 64px; border-radius: 50%; background: var(--accent); display: grid; place-items: center; box-shadow: var(--shadow); }
.ph-mic svg { width: 26px; height: 26px; color: var(--on-accent); }

/* Talk, the listening screen */
.ph-talk { height: 100%; display: flex; flex-direction: column; padding: 70px 20px 28px; }
.ph-talk-top { font-size: 17px; color: var(--ink); }
.ph-talk-centre { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px; }
.wave { display: flex; align-items: center; gap: 5px; height: 64px; }
.wave span { display: block; width: 4px; border-radius: 2px; background: var(--accent); height: 12px; }
.wave span:nth-child(3n) { height: 30px; } .wave span:nth-child(4n) { height: 48px; } .wave span:nth-child(5n) { height: 22px; } .wave span:nth-child(7n) { height: 58px; } .wave span:nth-child(11n) { height: 40px; }
.ph-status { font-size: 20px; font-weight: 600; }
.ph-timer { font-size: 17px; color: var(--ink-3); font-variant-numeric: tabular-nums; margin-top: -12px; }
.ph-done { height: 54px; border-radius: 999px; background: var(--action); color: var(--on-action); display: grid; place-items: center; font-weight: 600; font-size: 17px; }
.ph-type { text-align: center; color: var(--ink-2); font-size: 16px; margin-top: 16px; }

/* Responsive */
@media (max-width: 1000px) {
  .hero-grid, .how-grid, .place { grid-template-columns: 1fr; }
  .place:nth-of-type(even) .place-text { order: 0; }
  .hero-figure, .place-figure { justify-content: center; }
  .how-grid .phone { margin-top: 8px; }
}
@media (max-width: 820px) {
  .questions, .cols { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr; }
  .contact-row { grid-template-columns: 1fr; }
  .toc { columns: 1; }
}
@media (max-width: 760px) {
  .site-nav, .header-cta { display: none; }
  .menu { display: block; margin-left: auto; position: relative; }
  .menu summary { list-style: none; cursor: pointer; width: 44px; height: 44px; display: grid; place-items: center; gap: 0; border-radius: 12px; }
  .menu summary::-webkit-details-marker { display: none; }
  .menu-bar { display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; margin: 2.5px 0; }
  .menu-panel {
    position: absolute; right: 0; top: 52px; min-width: 220px;
    background: var(--raised); border: 0.5px solid var(--hairline); border-radius: 18px; box-shadow: 0 12px 32px rgba(0, 0, 0, 0.14);
    padding: 8px; display: flex; flex-direction: column;
  }
  .menu-panel a { padding: 12px 14px; border-radius: 12px; font-size: 16px; color: var(--ink); }
  .menu-panel a:hover { background: var(--surface); }
  .phone { zoom: 0.78; }
  .hero-figure .phone { zoom: 0.8; }
  .steps li { padding-left: 50px; }
  .button { width: 100%; }
  .hero-actions .button { width: auto; flex: 1 1 auto; }
}
@media (max-width: 400px) {
  .phone { zoom: 0.72; }
  .hero-figure .phone { zoom: 0.74; }
}
@media print {
  .site-header, .site-footer, .phone, .hero-actions { display: none; }
  body { font-size: 11pt; }
  a { color: inherit; text-decoration: none; }
}


/* Beta page: one card, two fields, one button; the success state takes the card over. */
.beta-page { padding-block: clamp(40px, 6vw, 88px) clamp(56px, 8vw, 112px); }
.beta-card {
  max-width: 560px; margin: 0 auto; background: var(--raised); border: 0.5px solid var(--hairline);
  border-radius: var(--radius); box-shadow: var(--shadow); padding: clamp(28px, 5vw, 48px);
}
.beta-card h1 { font-size: clamp(2rem, 4vw, 2.75rem); margin-bottom: 14px; }
.beta-card .lead { margin-bottom: 28px; }
.beta-form { display: grid; gap: 18px; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; font-size: 15px; }
.field input {
  font: inherit; font-size: 17px; color: var(--ink); background: var(--surface); border: 1px solid transparent;
  border-radius: 14px; padding: 14px 16px; min-height: 52px; width: 100%;
}
.field input:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.field input[aria-invalid="true"] { border-color: var(--red); }
.trap { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.beta-form .button { width: 100%; }
.beta-form .button[disabled] { opacity: 0.72; cursor: default; }
.spinner { width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, 0.35); border-top-color: var(--on-accent); animation: spin 0.8s linear infinite; display: none; }
.is-sending .spinner { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }
.form-error { color: var(--red); font-size: 15px; margin: 0; }
.form-note { margin: 0; text-align: center; }
.beta-success { text-align: center; padding: 8px 0; }
.beta-success .check { width: 64px; height: 64px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; margin: 0 auto 20px; }
.beta-success .check svg { width: 30px; height: 30px; }
.beta-success h2, .beta-success h1 { font-size: clamp(1.5rem, 3vw, 1.9rem); margin-bottom: 10px; outline: none; line-height: 1.15; letter-spacing: -0.02em; }
.beta-success p { color: var(--ink-2); margin: 0; }
.beta-success .after { margin-top: 24px; }
.beta-form, .beta-success { transition: opacity 0.35s ease, transform 0.35s ease; }
.beta-form.is-leaving { opacity: 0; transform: translateY(-6px); }
.beta-success.is-entering { opacity: 0; transform: translateY(6px); }
@media (prefers-reduced-motion: reduce) {
  .beta-form, .beta-success { transition: none; }
  .spinner { animation: none; }
}
/* Without the script: a failed post comes back to /beta#retry and this note shows. */
.retry-note { display: none; }
.beta-card:target .retry-note { display: block; }
