/* MyMedMetrics — the design system and the page.
   Tokens on :root; dark by design (a marketing page, not the app); motion respects prefers-reduced-motion. */

:root {
  color-scheme: dark;
  --ink: #06080f;
  --ink-2: #0b0f1a;
  --surface: rgba(255, 255, 255, 0.045);
  --surface-2: rgba(255, 255, 255, 0.08);
  --line: rgba(255, 255, 255, 0.10);
  --text: #e9edf5;
  --muted: #9aa3b8;
  --faint: #6b7489;
  --teal: #19d3c5;
  --violet: #7c5cff;
  --coral: #ff6b8b;
  --amber: #ffb547;
  --good: #3ddc97;
  --grad: linear-gradient(120deg, var(--teal) 0%, var(--violet) 55%, var(--coral) 100%);
  --display: "Sora", system-ui, -apple-system, "Segoe UI", sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius: 22px;
  --radius-sm: 14px;
  --wrap: 1180px;
  --gutter: 16px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--ink);
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--display); letter-spacing: -0.02em; margin: 0; }
h1 { font-size: clamp(2.6rem, 6.2vw, 4.6rem); line-height: 1.02; font-weight: 800; }
h2 { font-size: clamp(1.9rem, 4vw, 3rem); line-height: 1.1; font-weight: 700; }
h3 { font-size: 1.2rem; line-height: 1.3; font-weight: 600; }
p { margin: 0; }
em { font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--violet); color: #fff; padding: 8px 12px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

/* ─── Buttons ─────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 0 22px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 600; font-size: 1rem; cursor: pointer; white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), border-color .25s;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn-primary { background: var(--grad); color: #0a0c14; box-shadow: 0 10px 30px -10px rgba(124, 92, 255, .7); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -12px rgba(124, 92, 255, .8); }
.btn-ghost { background: var(--surface); border-color: var(--line); color: var(--text); }
.btn-ghost:hover { background: var(--surface-2); border-color: rgba(255,255,255,.2); }
.btn-sm { min-height: 42px; padding: 0 16px; font-size: .95rem; }

/* ─── Nav ─────────────────────────────────────────────────────────────────── */
.nav { position: sticky; top: 0; z-index: 50; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); background: rgba(6, 8, 15, .55); border-bottom: 1px solid transparent; transition: border-color .3s, background .3s; }
.nav.scrolled { border-bottom-color: var(--line); background: rgba(6, 8, 15, .8); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; }
.wordmark { font-family: var(--display); font-weight: 700; font-size: 1.15rem; letter-spacing: -0.01em; }
.wordmark span { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.links { display: flex; gap: 28px; font-weight: 500; color: var(--muted); }
.links a { padding: 8px 0; position: relative; transition: color .2s; }
.links a:hover { color: var(--text); }
.links a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 2px; height: 2px; background: var(--grad); transition: right .3s var(--ease); border-radius: 2px; }
.links a:hover::after { right: 0; }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.menu { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); flex-direction: column; justify-content: center; align-items: center; gap: 6px; cursor: pointer; }
.menu span { display: block; width: 18px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .3s var(--ease), opacity .3s; }
.menu[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.menu[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* ─── Hero ────────────────────────────────────────────────────────────────── */
.hero { position: relative; overflow: hidden; padding: clamp(56px, 9vw, 120px) 0 clamp(40px, 6vw, 80px); isolation: isolate; }
.aurora { position: absolute; top: -20%; left: 50%; width: min(170vw, 2400px); height: 120%; transform: translateX(-50%); z-index: -2; filter: blur(110px); opacity: .8; pointer-events: none; }
.aurora i { position: absolute; border-radius: 50%; mix-blend-mode: screen; animation: drift 22s var(--ease) infinite alternate; }
.aurora i:nth-child(1) { width: 52%; aspect-ratio: 1; left: -6%; top: -16%; background: radial-gradient(circle at 30% 30%, rgba(25, 211, 197, .55), transparent 60%); }
.aurora i:nth-child(2) { width: 56%; aspect-ratio: 1; right: -8%; top: -14%; background: radial-gradient(circle at 60% 40%, rgba(124, 92, 255, .6), transparent 60%); animation-duration: 28s; animation-delay: -6s; }
.aurora i:nth-child(3) { width: 40%; aspect-ratio: 1; left: 32%; top: 22%; background: radial-gradient(circle at 50% 50%, rgba(255, 107, 139, .45), transparent 60%); animation-duration: 34s; animation-delay: -12s; }
@keyframes drift { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(4%, 6%, 0) scale(1.12); } }
.grid-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 56px 56px; mask-image: radial-gradient(ellipse 70% 60% at 50% 20%, #000 30%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 20%, #000 30%, transparent 75%); }
.hero-inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: .9rem; letter-spacing: .02em; color: var(--muted); text-transform: uppercase; margin-bottom: 18px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--grad); box-shadow: 0 0 0 6px rgba(124, 92, 255, .18); }
.lead { font-size: clamp(1.05rem, 1.5vw, 1.25rem); color: var(--muted); max-width: 58ch; margin-top: 22px; }
.lead strong { color: var(--text); font-weight: 600; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.fine { margin-top: 18px; color: var(--faint); font-size: .95rem; }
.fine em { font-weight: 600; }

/* The phone */
.hero-visual { position: relative; display: grid; place-items: center; min-height: 560px; padding-bottom: 40px; }
.hero-visual .phone { margin-right: 56px; }
.phone {
  position: relative; width: 320px; aspect-ratio: 9 / 19.5; border-radius: 46px; padding: 10px;
  background: linear-gradient(160deg, #2a2f3f, #0d1019 60%); box-shadow: 0 50px 100px -30px rgba(0,0,0,.9), inset 0 0 0 1px rgba(255,255,255,.12), 0 0 0 1px rgba(0,0,0,.6);
  animation: float 9s ease-in-out infinite;
}
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.phone-notch { position: absolute; top: 18px; left: 50%; transform: translateX(-50%); width: 92px; height: 26px; border-radius: 16px; background: #0b0d14; z-index: 2; box-shadow: inset 0 0 0 1px rgba(255,255,255,.06); }
.screen { position: relative; height: 100%; border-radius: 38px; overflow: hidden; background: linear-gradient(180deg, #0e1220, #0a0d17); padding: 54px 14px 14px; display: flex; flex-direction: column; gap: 9px; font-size: 12.5px; }
.status { position: absolute; top: 14px; left: 22px; right: 22px; display: flex; justify-content: space-between; font-size: 11px; color: var(--muted); font-weight: 600; }
.sig { letter-spacing: -1px; font-size: 9px; }
.screen-title { display: flex; align-items: baseline; justify-content: space-between; font-family: var(--display); font-weight: 700; font-size: 18px; padding: 2px 4px; }
.screen-title small { font-family: var(--body); font-weight: 500; color: var(--muted); font-size: 12px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 12px; }
.card-h { font-weight: 600; color: var(--muted); font-size: 11.5px; margin-bottom: 8px; }
.row { display: grid; grid-template-columns: 52px 1fr 70px; align-items: center; gap: 8px; padding: 4px 0; }
.row .k { color: var(--muted); font-size: 11.5px; }
.row .v { text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; }
.row .v small { color: var(--faint); font-weight: 500; }
.bar { height: 7px; border-radius: 6px; background: rgba(255,255,255,.08); overflow: hidden; }
.bar i { display: block; height: 100%; width: var(--w, 0%); border-radius: 6px; background: var(--grad); transform-origin: left; animation: grow 1.4s var(--ease) both; animation-delay: .4s; }
.bar i.good { background: linear-gradient(90deg, var(--teal), var(--good)); }
.bar i.warn { background: linear-gradient(90deg, var(--amber), var(--coral)); }
.bar.big { height: 12px; }
@keyframes grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.sub { margin-top: 6px; color: var(--faint); font-size: 11px; }
.sub b { color: var(--muted); font-weight: 600; }
.entries { display: flex; flex-direction: column; gap: 6px; }
.entry { display: grid; grid-template-columns: 38px 1fr auto; gap: 8px; align-items: center; padding: 9px 12px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; }
.entry .t { color: var(--faint); font-size: 11px; font-variant-numeric: tabular-nums; }
.entry .n { font-weight: 500; }
.entry .n small { display: block; color: var(--faint); font-size: 10.5px; font-weight: 400; }
.entry .c { color: var(--muted); font-size: 11.5px; font-variant-numeric: tabular-nums; }
.dock { margin-top: auto; display: flex; justify-content: flex-end; gap: 10px; padding-top: 4px; }
.dock span { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-size: 15px; background: var(--surface-2); border: 1px solid var(--line); }
.dock .mic { background: var(--grad); color: #0a0c14; box-shadow: 0 8px 20px -6px rgba(124,92,255,.8); }
.dock .mic.live { animation: pulse 1.8s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(25,211,197,.45); } 50% { box-shadow: 0 0 0 12px rgba(25,211,197,0); } }

.glass { background: rgba(14, 18, 32, .72); border: 1px solid var(--line); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-radius: var(--radius); box-shadow: 0 30px 80px -30px rgba(0,0,0,.8); }
.hero-chat { position: absolute; right: 0; bottom: 8px; width: min(290px, 86vw); padding: 14px 16px; display: flex; flex-direction: column; gap: 10px; animation: float 11s ease-in-out infinite reverse; }
.chat-you, .chat-ariel { font-size: .95rem; line-height: 1.45; }
.who { display: block; font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; color: var(--faint); font-weight: 600; margin-bottom: 3px; }
.chat-ariel .who { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.chat-ariel p { color: var(--text); }
.chat-you p { color: var(--muted); }
.caret::after { content: "▍"; display: inline-block; margin-left: 1px; animation: blink 1s steps(2) infinite; color: var(--teal); }
@keyframes blink { to { opacity: 0; } }

/* ─── Proof strip ─────────────────────────────────────────────────────────── */
.proof { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--ink-2); }
.proof-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.proof-item { padding: 26px 22px; border-left: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; }
.proof-item:first-child { border-left: 0; padding-left: 0; }
.proof-item b { font-family: var(--display); font-size: 1.05rem; font-weight: 600; }
.proof-item span { color: var(--muted); font-size: .95rem; line-height: 1.5; }

/* ─── Sections ────────────────────────────────────────────────────────────── */
section { padding: clamp(64px, 9vw, 120px) 0; }
.section-head { max-width: 760px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head .lead { margin-top: 18px; }

/* Features: a bento grid */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.tile { position: relative; padding: 28px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); overflow: hidden; transition: transform .35s var(--ease), border-color .35s, background .35s; }
.tile::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; background: var(--grad); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity .35s; pointer-events: none; }
.tile:hover { transform: translateY(-4px); background: var(--surface-2); }
.tile:hover::before { opacity: .9; }
.tile-wide { grid-column: span 2; }
.tile h3 { margin: 18px 0 10px; font-size: 1.3rem; }
.tile p { color: var(--muted); font-size: 1rem; }
.icon { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(135deg, rgba(25,211,197,.18), rgba(124,92,255,.18)); border: 1px solid var(--line); }
.icon svg { width: 24px; height: 24px; fill: none; stroke: url(#iconGrad); stroke: var(--teal); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 18px 0 0; }
.chips li { padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.06); border: 1px solid var(--line); font-size: .85rem; color: var(--muted); font-weight: 500; }

/* Ariel */
.ariel { background: radial-gradient(ellipse 60% 50% at 80% 40%, rgba(124,92,255,.16), transparent 60%), var(--ink-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.ariel-inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.ticks { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-direction: column; gap: 14px; color: var(--muted); }
.ticks li { position: relative; padding-left: 30px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 7px; width: 16px; height: 16px; border-radius: 50%; background: var(--grad); -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path d='M3 8.5 6.5 12 13 4' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/></svg>") center / 100% no-repeat; mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path d='M3 8.5 6.5 12 13 4' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/></svg>") center / 100% no-repeat; }
.ticks b { color: var(--text); }
.hint { margin-top: 26px; color: var(--faint); font-weight: 500; }
.ariel-demo { display: grid; justify-items: center; gap: 18px; }
.prompts { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; max-width: 460px; }
.prompt { padding: 9px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--muted); font-size: .9rem; font-weight: 500; cursor: pointer; transition: all .25s var(--ease); }
.prompt:hover { color: var(--text); border-color: rgba(255,255,255,.25); transform: translateY(-1px); }
.prompt.active { color: #0a0c14; background: var(--grad); border-color: transparent; }
.phone-chat { animation: none; width: 330px; }
.thread { display: flex; flex-direction: column; gap: 10px; padding-top: 6px; }
.b { max-width: 92%; padding: 10px 13px; border-radius: 16px; font-size: 13px; line-height: 1.45; animation: pop .4s var(--ease) both; }
.b.you { align-self: flex-end; background: linear-gradient(135deg, rgba(124,92,255,.55), rgba(25,211,197,.45)); border-bottom-right-radius: 6px; }
.b.ariel { align-self: flex-start; background: var(--surface-2); border: 1px solid var(--line); border-bottom-left-radius: 6px; }
@keyframes pop { from { opacity: 0; transform: translateY(8px) scale(.98); } to { opacity: 1; transform: none; } }
.mini { display: flex; align-items: flex-end; gap: 5px; height: 48px; margin-top: 10px; padding-top: 6px; border-top: 1px dashed var(--line); }
.mini i { flex: 1; height: var(--h, 40%); max-height: 100%; border-radius: 4px 4px 2px 2px; background: linear-gradient(180deg, var(--teal), rgba(25,211,197,.35)); animation: grow-y .9s var(--ease) both; transform-origin: bottom; }
.mini i.over { background: linear-gradient(180deg, var(--coral), rgba(255,107,139,.35)); }
.mini.hidden { display: none; }
@keyframes grow-y { from { transform: scaleY(0); } to { transform: scaleY(1); } }

/* Hydration vignette */
.vignette { background: radial-gradient(ellipse 50% 60% at 20% 50%, rgba(25,211,197,.12), transparent 60%); }
.vig-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.drinks { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.drink { padding: 18px; border-radius: var(--radius-sm); background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 4px; transition: transform .35s var(--ease), background .35s; }
.drink:hover { transform: translateY(-3px); background: var(--surface-2); }
.drink .emoji { font-size: 1.6rem; margin-bottom: 6px; }
.drink b { font-family: var(--display); font-weight: 600; }
.drink small { color: var(--faint); }
.drink em { font-weight: 600; margin-top: 4px; }
.drink.total { grid-column: span 2; flex-direction: row; align-items: center; gap: 16px; background: linear-gradient(135deg, rgba(25,211,197,.12), rgba(124,92,255,.12)); }
.drink.total .bar { flex: 1; }

/* Privacy */
.privacy { background: var(--ink-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.three { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.pillar { padding: 28px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.pillar .num { font-family: var(--display); font-weight: 800; font-size: 2rem; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pillar h3 { margin: 10px 0 10px; }
.pillar p { color: var(--muted); }

/* How */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: s; }
.steps li { padding: 28px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); }
.step { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--grad); color: #0a0c14; font-family: var(--display); font-weight: 800; margin-bottom: 18px; }
.steps h3 { margin-bottom: 10px; }
.steps p { color: var(--muted); }

/* Early access */
.early-inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(24px, 4vw, 56px); padding: clamp(28px, 4vw, 56px); align-items: center; position: relative; overflow: hidden; }
.early-inner::after { content: ""; position: absolute; inset: auto -20% -60% auto; width: 60%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(124,92,255,.35), transparent 60%); filter: blur(30px); pointer-events: none; }
.form { display: flex; flex-direction: column; gap: 14px; position: relative; z-index: 1; }
.field { display: flex; flex-direction: column; gap: 6px; font-weight: 500; font-size: .95rem; color: var(--muted); }
.field small { color: var(--faint); font-weight: 400; }
.field input { min-height: 52px; padding: 0 16px; border-radius: 14px; border: 1px solid var(--line); background: rgba(255,255,255,.05); color: var(--text); font: inherit; font-size: 1rem; outline: none; transition: border-color .2s, box-shadow .2s; }
.field input:focus { border-color: var(--teal); box-shadow: 0 0 0 4px rgba(25,211,197,.18); }
.field input::placeholder { color: var(--faint); }
/* The early-access honeypot: off-screen and out of the tab order and the accessibility tree; a person never fills it, a form bot does. */
.field.trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-note { min-height: 1.4em; color: var(--muted); font-size: .95rem; }
.form-note.ok { color: var(--good); }
.form-note.err { color: var(--coral); }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 40px 0 48px; background: var(--ink-2); }
.foot-inner { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: start; }
.foot-brand { display: grid; grid-template-columns: auto 1fr; gap: 10px 12px; align-items: center; }
.foot-brand p { grid-column: 1 / -1; color: var(--muted); font-size: .95rem; }
.foot-links { display: flex; gap: 22px; color: var(--muted); font-weight: 500; }
.foot-links a:hover { color: var(--text); }
.legal { grid-column: 1 / -1; color: var(--faint); font-size: .85rem; max-width: 70ch; }

/* ─── Reveal on scroll ────────────────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.delay-1 { transition-delay: .1s; } .delay-2 { transition-delay: .2s; } .delay-3 { transition-delay: .3s; }

/* ─── Responsive ─────────────────────────────────────────────────────────── */
@media (max-width: 1000px) {
  .hero-inner, .ariel-inner, .vig-grid, .early-inner { grid-template-columns: 1fr; }
  .hero-visual { min-height: 0; margin-top: 8px; }
  .hero-chat { position: static; width: min(360px, 100%); margin-top: 18px; animation: none; }
  .bento { grid-template-columns: 1fr 1fr; }
  .tile-wide { grid-column: span 2; }
  .proof-grid { grid-template-columns: 1fr 1fr; }
  .proof-item { border-left: 0; padding-left: 0; }
  .three, .steps { grid-template-columns: 1fr; }
  .ariel-copy { order: 0; } .ariel-demo { order: 1; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .links { position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; gap: 0; background: rgba(6,8,15,.96); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 16px; display: none; }
  .links.open { display: flex; }
  .links a { padding: 14px 4px; border-bottom: 1px solid var(--line); }
  .links a::after { display: none; }
  .menu { display: flex; }
  .nav-cta .btn { display: none; }
  .bento { grid-template-columns: 1fr; }
  .tile-wide { grid-column: auto; }
  .proof-grid { grid-template-columns: 1fr; }
  .proof-item { padding: 18px 0; border-top: 1px solid var(--line); }
  .proof-item:first-child { border-top: 0; }
  .drinks { grid-template-columns: 1fr; }
  .drink.total { grid-column: auto; }
  .phone { width: min(300px, 86vw); }
  .foot-inner { grid-template-columns: 1fr; }
  .cta-row .btn { flex: 1 1 auto; }
}

/* ─── Reduced motion ─────────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .aurora i, .phone, .hero-chat, .dock .mic.live, .bar i, .mini i, .b { animation: none !important; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .tile, .drink, .btn { transition: none; }
}
