/* Meeeply, redesign 3: the quiet one. Warm white, ink, one colour (the bot's blue). Funnel Display + Funnel Sans (OFL). */
@font-face { font-family: "Funnel Display"; src: url("media/fonts/funnel-display-latin.woff2?v=10221348") format("woff2"); font-weight: 300 800; font-display: swap; }
@font-face { font-family: "Funnel Sans"; src: url("media/fonts/funnel-sans-latin.woff2?v=10221348") format("woff2"); font-weight: 300 800; font-display: swap; }

:root {
  --bg: #faf9f6;
  --card: #fff;
  --ink: #141414;
  --ink-2: #5f5f5c;
  --line: #e7e5df;
  --blue: #0a84ff;          /* the bot, and the one accent */
  --blue-text: #0066d6;     /* the same blue, deep enough for text */
  --bubble-out: #0a84ff;
  --in: #e9e9eb;
  --receipt: #8e8e93;
  --ios: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  --display: "Funnel Display", "Helvetica Neue", Arial, sans-serif;
  --text: "Funnel Sans", "Helvetica Neue", Arial, sans-serif;
  --gut: clamp(20px, 5vw, 56px);
  --ease: cubic-bezier(.2, .8, .2, 1);
  font: 400 18px/1.6 var(--text);
  color: var(--ink);
  background: var(--bg);
  -webkit-text-size-adjust: 100%;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; overflow-x: clip; background: var(--bg); -webkit-font-smoothing: antialiased; }
h1, h2, h3, p, ol, ul, dl, dd, figure { margin: 0; padding: 0; }
ol, ul { list-style: none; }
a { color: inherit; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; -webkit-tap-highlight-color: transparent; }
img, video, svg { display: block; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -80px; z-index: 99; padding: 10px 16px; background: var(--ink); color: #fff; border-radius: 10px; text-decoration: none; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: calc(1120px + 2 * var(--gut)); margin: 0 auto; padding-left: max(var(--gut), env(safe-area-inset-left)); padding-right: max(var(--gut), env(safe-area-inset-right)); }
.narrow { max-width: calc(720px + 2 * var(--gut)); }
h1, h2 { font-family: var(--display); font-weight: 500; letter-spacing: -.03em; line-height: 1.02; text-wrap: balance; }
h2 { font-size: clamp(32px, 4vw, 48px); }
.note { margin-top: 28px; font-size: 15.5px; color: var(--ink-2); max-width: 36em; }

/* header */
.top { position: sticky; top: 0; z-index: 40; background: rgba(250, 249, 246, .86); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); transition: box-shadow .3s; padding-top: env(safe-area-inset-top); }
.top.solid { box-shadow: 0 1px 0 var(--line); }
.top-in { display: flex; align-items: center; gap: 20px; min-height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 10px; margin-right: auto; text-decoration: none; }
.brand-bot { display: block; padding-top: 8px; margin-top: -8px; }
.brand-bot .bot { width: 40px; height: 36px; }
.brand-name { font: 600 26px/1 var(--display); letter-spacing: -.03em; }
.brand-by { font-size: 15.5px; color: var(--ink-2); }
.nav-list { display: flex; gap: 6px; }
.nav-list a { white-space: nowrap; display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; font-size: 17px; text-decoration: none; color: var(--ink-2); border-radius: 10px; }
.nav-list a:hover { color: var(--ink); }

/* hero */
.hero { padding: clamp(56px, 9vw, 120px) 0 clamp(40px, 5vw, 64px); }
.hero-in { display: grid; justify-items: center; text-align: center; }
.pre { font-size: 15px; color: var(--ink-2); }
.hero h1 { margin-top: 18px; font-size: clamp(44px, 7.4vw, 96px); max-width: 12em; }
.soft { color: #8a8984; }
.lede { margin-top: 24px; max-width: 28em; font-size: clamp(18px, 1.6vw, 21px); color: var(--ink-2); }

/* the demo: one conversation */
.demo { display: grid; grid-template-rows: auto auto minmax(0, 1fr) auto auto; width: min(100%, 400px); aspect-ratio: 440 / 956; max-height: max(620px, calc(100svh - 120px)); margin-top: clamp(40px, 6vw, 64px); text-align: left; background: var(--card); border-radius: 28px; box-shadow: 0 1px 2px rgba(20, 20, 20, .04), 0 24px 60px -28px rgba(20, 20, 20, .22); overflow: hidden; }
.demo-head { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-bottom: 1px solid #f0efeb; }
.avatar { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 50%; background: #e9e8e3; font: 600 17px/1 var(--display); }
.demo-who { min-width: 0; margin-right: auto; }
.demo-who h2 { font: 600 16px/1.2 var(--ios); letter-spacing: -.01em; }
.demo-who p { font: 13px/1.3 var(--ios); color: var(--ink-2); }
.live { display: inline-flex; align-items: center; gap: 7px; font: 500 12px/1 var(--ios); color: var(--ink-2); }
.live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--blue); }
.missed { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 14px 0 2px; font: 12px/1 var(--ios); color: #6c6c70; }
.missed svg { width: 13px; height: 13px; fill: currentColor; }
.demo .thread { min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 12px 12px 10px; scrollbar-width: none; }
.demo .thread::-webkit-scrollbar { display: none; }
.ask { display: flex; flex-wrap: wrap; gap: 8px; padding: 4px 14px 6px; }
.demo-foot { display: flex; justify-content: space-between; padding: 2px 12px 10px; }
.link { min-height: 44px; padding: 0 6px; border: 0; background: none; color: var(--blue-text); font: 500 15px/1.2 var(--ios); }
.link:hover { text-decoration: underline; text-underline-offset: 3px; }
.link[disabled] { opacity: .4; cursor: default; }
.chip { min-height: 44px; padding: 10px 15px; border-radius: 999px; border: 1px solid #dddcd7; background: #fff; color: #000; font: 15px/1.2 var(--ios); text-align: left; transition: border-color .15s, transform .15s var(--ease); }
.chip:hover { border-color: var(--blue); }
.chip:active { transform: scale(.97); }
.chip[disabled] { opacity: .45; cursor: default; }
.timer { margin-top: 22px; min-height: 1.6em; font-size: 16px; color: var(--ink-2); }
.timer b { font: 600 1.3em/1 var(--display); color: var(--ink); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }

/* iMessage pieces: colours fixed by the brief */
.thread { display: flex; flex-direction: column; font: 16px/1.3 var(--ios); }
.msg { position: relative; max-width: min(80%, 30ch); width: fit-content; padding: 7px 12px 8px; border-radius: 18px; overflow-wrap: anywhere; letter-spacing: -.01em; }
.msg.in { align-self: flex-start; margin-left: 8px; background: var(--in); color: #000; }
.msg.out { align-self: flex-end; margin-right: 8px; background: var(--bubble-out); color: #fff; }
.msg + .msg { margin-top: 2px; }
.msg.in + .msg.out, .msg.out + .msg.in, .receipt + .msg, .sys + .msg, .msg + .sys { margin-top: 10px; }
.msg.tail::before { content: ""; position: absolute; bottom: 0; width: 20px; height: 18px; background: inherit; -webkit-clip-path: path("M7 0L7 8A10 10 0 0 1 0 17.54L0 18L4 18A16 14 0 0 0 14.5 14.57L14 0Z"); clip-path: path("M7 0L7 8A10 10 0 0 1 0 17.54L0 18L4 18A16 14 0 0 0 14.5 14.57L14 0Z"); }
.msg.in.tail::before { left: -7px; }
.msg.out.tail::before { right: -7px; transform: scaleX(-1); }
.receipt { align-self: flex-start; margin: 3px 0 0 20px; font: 600 12px/1.25 system-ui, -apple-system, sans-serif; color: var(--receipt); letter-spacing: -.01em; }
.sys { align-self: center; text-align: center; font: 12px/1.3 var(--ios); color: #6c6c70; max-width: 30ch; }
.msg.typing { display: flex; gap: 4px; align-items: center; padding: 12px 13px; }
.msg.typing i { width: 8px; height: 8px; border-radius: 50%; background: #8e8e93; animation: dots 1.1s ease-in-out infinite; }
.msg.typing i:nth-child(2) { animation-delay: .16s; }
.msg.typing i:nth-child(3) { animation-delay: .32s; }
@keyframes dots { 0%, 60%, 100% { opacity: .35; } 30% { opacity: 1; } }
.msg.pop { animation: pop .34s cubic-bezier(.2, 1.25, .4, 1) both; transform-origin: 0 100%; }
.msg.rise { animation: rise .32s cubic-bezier(.2, 1.1, .4, 1) both; transform-origin: 100% 100%; }
@keyframes pop { from { opacity: 0; transform: scale(.86); } }
@keyframes rise { from { opacity: 0; transform: translateY(14px) scale(.96); } }

/* three facts on one line */
.facts { padding: clamp(32px, 5vw, 56px) 0; }
.facts-in { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); text-align: center; }
.facts li { display: grid; gap: 4px; padding: 6px 12px; }
.facts li + li { border-left: 1px solid var(--line); }
.facts b { font: 500 clamp(28px, 3.2vw, 40px)/1.05 var(--display); letter-spacing: -.03em; }
.facts span { font-size: 15px; line-height: 1.45; color: var(--ink-2); max-width: 22em; justify-self: center; }

/* how it works */
.how { padding: clamp(64px, 10vw, 128px) 0; }
.how-in { display: grid; grid-template-columns: minmax(240px, 320px) minmax(0, 1fr); gap: clamp(40px, 8vw, 120px); align-items: center; }
.frame { position: relative; border-radius: 40px; padding: 9px; background: #111; }
.frame video { width: 100%; height: auto; aspect-ratio: 9 / 16; border-radius: 32px; background: #1a1a1a; object-fit: cover; }
.p-play { position: absolute; left: 50%; top: 50%; width: 72px; height: 72px; margin: -36px 0 0 -36px; border: 0; border-radius: 50%; background: #fff; color: #000; display: grid; place-items: center; transition: transform .2s var(--ease), opacity .3s; }
.p-play:hover { transform: scale(1.06); }
.p-play svg { width: 30px; height: 30px; fill: currentColor; }
.p-play .i-pause, .playing .p-play .i-play { display: none; }
.playing .p-play .i-pause { display: inline; }
.playing .p-play { opacity: 0; }
.playing .frame:hover .p-play, .playing .p-play:focus-visible { opacity: 1; }
.p-bar { display: flex; align-items: center; gap: 12px; margin-top: 12px; font-size: 14px; color: var(--ink-2); }
.p-mute { flex: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: #fff; display: grid; place-items: center; }
.p-mute svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.p-mute .i-spk { fill: currentColor; }
.p-mute .i-x, .muted .p-mute .i-wave { display: none; }
.muted .p-mute .i-x { display: inline; }
.p-vol input { width: 100px; accent-color: var(--ink); }
@media (hover: none) and (pointer: coarse) { .p-vol { display: none; } }
.steps { margin-top: 28px; border-top: 1px solid var(--line); counter-reset: s; }
.steps li { counter-increment: s; border-bottom: 1px solid var(--line); }
.steps button { position: relative; display: grid; gap: 2px; width: 100%; padding: 20px 0 20px 52px; border: 0; background: none; text-align: left; }
.steps button::before { content: "0" counter(s); position: absolute; left: 0; top: 22px; font: 500 15px/1 var(--display); color: #7a7974; font-variant-numeric: tabular-nums; transition: color .25s; }
.steps b { font: 500 clamp(20px, 1.8vw, 24px)/1.25 var(--display); letter-spacing: -.02em; transition: color .25s; }
.steps span { color: var(--ink-2); font-size: 16px; }
.steps .on button::before { color: var(--blue-text); }
.steps button:hover b { color: var(--blue-text); }

/* pricing: a short menu */
.pricing, .faq { padding: clamp(56px, 8vw, 104px) 0; }
.menu { margin-top: 28px; border-top: 1px solid var(--ink); }
.menu div { display: flex; align-items: baseline; gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.menu dt { margin-right: auto; font: 500 clamp(18px, 1.7vw, 21px)/1.3 var(--display); letter-spacing: -.01em; }
.menu dd { font: 500 clamp(26px, 2.6vw, 34px)/1 var(--display); letter-spacing: -.03em; white-space: nowrap; }
.menu dd small { font: 400 15px/1 var(--text); letter-spacing: 0; color: var(--ink-2); }
.menu .dd-text { font: 400 16px/1.3 var(--text); letter-spacing: 0; color: var(--ink-2); white-space: normal; text-align: right; }

/* questions */
.faq-list { margin-top: 24px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { position: relative; display: block; padding: 20px 44px 20px 0; cursor: pointer; list-style: none; font: 500 clamp(18px, 1.6vw, 20px)/1.35 var(--display); letter-spacing: -.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font: 300 26px/1 var(--display); color: var(--ink-2); transition: transform .25s var(--ease); }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 0 0 22px; color: var(--ink-2); max-width: 34em; }

/* end */
.end { padding: clamp(72px, 11vw, 140px) 0; text-align: center; }
.end p { margin-top: 12px; color: var(--ink-2); }
.end .mail { margin-top: 28px; font: 500 clamp(21px, 5.6vw, 44px)/1.15 var(--display); letter-spacing: -.03em; white-space: nowrap; }
.end .mail a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--blue); text-decoration-thickness: 2px; text-underline-offset: .18em; }
.end .mail a:hover { color: var(--blue-text); }
.quiet { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink-2); text-underline-offset: 4px; }

.foot { padding: 28px 0 120px; border-top: 1px solid var(--line); font-size: 14px; color: var(--ink-2); }
.foot-in { display: grid; gap: 4px; }

/* the pinned chat: the old box, pointy bottom-left */
.chat { position: fixed; z-index: 50; right: var(--gut); bottom: max(18px, env(safe-area-inset-bottom)); font-family: var(--ios); }
.launch { display: flex; align-items: center; gap: 14px; padding: 15px 28px 15px 17px; border: 0; border-radius: 30px 30px 30px 6px; background: #262420; color: #f4f1ea; box-shadow: 0 12px 32px rgba(20, 20, 20, .2); text-align: left; transition: background-color .2s, transform .5s cubic-bezier(.2, 1.15, .3, 1), opacity .25s, visibility 0s; }
.launch:hover { background: #33302b; }
.launch-text b { display: block; font: 600 18px/1.2 var(--ios); letter-spacing: -.01em; }
.launch-text small { display: block; font: 14px/1.3 var(--ios); color: #a8a49c; }
.chat.open .launch { visibility: hidden; }
.chat.snap .launch { transition: none !important; }
.chat.away:not(.open) .launch { transform: translateY(calc(100% + 32px)); opacity: 0; visibility: hidden; transition: transform .35s var(--ease), opacity .25s, visibility 0s .35s; }
.panel { position: fixed; right: var(--gut); bottom: max(18px, env(safe-area-inset-bottom)); width: min(400px, calc(100vw - 2 * var(--gut))); height: min(640px, calc(100svh - 36px)); display: grid; grid-template-rows: auto minmax(0, 1fr) auto auto; background: #fff; color: #000; border-radius: 28px; overflow: hidden; box-shadow: 0 30px 80px -20px rgba(20, 20, 20, .35), 0 0 0 1px rgba(20, 20, 20, .06); }
.panel-head { display: flex; align-items: center; gap: 12px; padding: 16px 12px 12px 16px; border-bottom: 1px solid #efefef; }
.panel-head .bot.mini { flex: none; }
.panel-who { min-width: 0; margin-right: auto; }
.panel-who b { display: block; font: 600 16px/1.25 var(--ios); }
.panel-who small { display: block; font: 12px/1.3 var(--ios); color: #6c6c70; }
.panel-x { flex: none; width: 44px; height: 44px; border: 0; border-radius: 50%; background: #f1f1f3; color: #000; display: grid; place-items: center; }
.panel-x:hover { background: #e6e6ea; }
.panel-x svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; }
.panel-log { overflow-y: auto; overflow-x: hidden; padding: 16px 12px 12px; overscroll-behavior: contain; }
.panel-try { display: flex; gap: 8px; padding: 0 12px 10px; overflow-x: auto; scrollbar-width: none; }
.panel-try::-webkit-scrollbar { display: none; }
.panel-try .chip { flex: none; }
.panel-form { display: flex; align-items: center; gap: 6px; padding: 8px 10px 12px 12px; }
.panel-form input { flex: 1; min-width: 0; height: 44px; padding: 0 16px; border: 1px solid #d1d1d6; border-radius: 22px; background: #fff; color: #000; font: 17px var(--ios); }
.panel-form input::placeholder { color: #8e8e93; }
.panel-form input:focus-visible { outline: 2px solid var(--blue); outline-offset: 1px; }
.send { flex: none; width: 44px; height: 44px; border: 0; border-radius: 50%; background: none; display: grid; place-items: center; }
.send svg { width: 32px; height: 32px; padding: 6px; border-radius: 50%; background: var(--blue); fill: none; stroke: #fff; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.panel-form.busy .send svg { opacity: .5; }

.rv { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.rv.in { opacity: 1; transform: none; }

@media (max-width: 860px) {
  .how-in { grid-template-columns: minmax(0, 1fr); }
  .player { max-width: 300px; width: 100%; justify-self: center; }
}
@media (max-width: 600px) {
  :root { font-size: 17px; }
  .brand-by { display: none; }
  .nav-list a { padding: 0 9px; font-size: 15px; }
  .nav-list li:first-child { display: none; }
  .live { display: none; }
  .facts-in { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .facts li { padding: 16px 0; }
  .facts li + li { border-left: 0; border-top: 1px solid var(--line); }
  .menu div { flex-wrap: wrap; gap: 4px 16px; }
  .receipt { font-size: 13px; }
}
@media (max-width: 560px) {
  .chat { left: 12px; right: 12px; display: flex; justify-content: flex-end; }
  .panel { inset: 0; width: 100%; height: 100%; height: 100dvh; border-radius: 0; padding-top: env(safe-area-inset-top); padding-bottom: env(safe-area-inset-bottom); }
}
@media (max-width: 380px) {
  .nav-list li:not(.nav-back) a { padding: 0 6px; }
}
@media (prefers-reduced-motion: reduce) {
  .l1, .l2 .w, .l2 mark { animation: none !important; opacity: 1 !important; filter: none !important; }
  .math .pin { opacity: 1 !important; transform: none !important; }
  html { scroll-behavior: auto; }
  :where(:not(.bot, .bot *)), :where(:not(.bot, .bot *))::before, :where(:not(.bot, .bot *))::after { animation-duration: .01ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .msg.typing i { animation: none; opacity: .7; }
  .rv { opacity: 1; transform: none; }
}

/* ---------- redesign 4 ---------- */
/* hero: frosted line 1, then line 2 word by word, then the data-detector highlight on "answer" */
.hero h1 { font-size: clamp(44px, 7.4vw, 96px); }
.go .l1 { display: inline-block; animation: frost 1.1s var(--ease) both; }
.go .l2 .w, .go .l2 mark { display: inline-block; white-space: pre; animation: word .7s ease-out both; animation-delay: calc(1.1s + var(--i) * .26s); }
@keyframes frost { from { opacity: 0; filter: blur(18px); transform: scale(1.03); } }
@keyframes word { from { opacity: 0; filter: blur(6px); transform: translateY(.12em); } }
.l2 mark { color: inherit; background: linear-gradient(rgba(10, 132, 255, .16), rgba(10, 132, 255, .16)) no-repeat 0 100% / 0% 100%; border-radius: .12em; padding: 0 .06em; box-shadow: inset 0 -.06em 0 0 transparent; transition: background-size .9s cubic-bezier(.65, 0, .35, 1), color .5s .3s, box-shadow .4s .6s; }
.l2 mark.hit { background-size: 100% 100%; color: var(--blue-text); box-shadow: inset 0 -.06em 0 0 var(--blue); }

/* demo phone + the Apple-clean "Try me" note */
.stage { position: relative; display: grid; justify-items: center; width: 100%; margin-top: clamp(40px, 6vw, 64px); }
.stage .demo { margin-top: 0; }
.demo .thread > li:first-child { margin-top: auto; }
.demo .thread { padding: 16px 14px 12px; }
.thread .msg + .msg { margin-top: 3px; }
.thread .msg.in + .msg.out, .thread .msg.out + .msg.in, .thread .receipt + .msg { margin-top: 14px; }
.ask { position: relative; padding: 6px 14px 4px; }
.dust { position: absolute; width: 3px; height: 3px; border-radius: 50%; background: #8e8e93; pointer-events: none; }
.tryme { position: absolute; top: 34%; left: calc(50% + 200px + 18px); display: flex; align-items: center; gap: 12px; flex-direction: row-reverse; text-align: left; color: var(--ink); animation: word .8s ease-out 3.2s both; }
.tryme span { font: 600 22px/1.15 var(--display); letter-spacing: -.02em; }
.tryme small { display: block; margin-top: 4px; max-width: 13em; font: 400 14px/1.4 var(--text); letter-spacing: 0; color: var(--ink-2); }
.tryme svg { width: 56px; height: 22px; fill: none; stroke: var(--blue); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 1000px) {
  .tryme { position: static; order: -1; margin-bottom: 14px; flex-direction: column-reverse; text-align: center; gap: 6px; }
  .tryme svg { transform: rotate(-90deg); width: 40px; }
  .tryme small { margin-inline: auto; }
}

/* pinned scenes: CSS sticky inside a taller section. native scroll, nothing to trap */
.math { height: 190vh; height: 190svh; padding: 0; }
.math .pin, .pricing .pin { position: sticky; top: 0; height: 100vh; height: 100svh; display: grid; align-items: center; overflow: hidden; }
.math .pin { background: #fff; opacity: calc(.4 + var(--in, 1) * .6); transform: scale(calc(.94 + var(--in, 1) * .06)); border-radius: calc((1 - var(--in, 1)) * 40px); }
.math-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 96px); align-items: center; }
.kicker { font: 500 15px/1 var(--text); color: var(--blue-text); margin-bottom: 16px; }
.math h2 { font-size: clamp(34px, 4.4vw, 60px); }
.sub { margin-top: 20px; color: var(--ink-2); max-width: 30em; }
.calc { display: grid; gap: 22px; padding: clamp(22px, 3vw, 34px); border-radius: 28px; background: var(--bg); }
.field { display: grid; grid-template-columns: 1fr auto; gap: 10px 12px; align-items: baseline; }
.field label { font-size: 16px; color: var(--ink-2); }
.field output { font: 600 20px/1 var(--display); font-variant-numeric: tabular-nums; }
/* iOS-style slider: thin rounded track, blue fill, round white knob with soft shadow */
.field input { grid-column: 1 / -1; -webkit-appearance: none; appearance: none; width: 100%; height: 28px; margin: 0; background: none; cursor: pointer; }
.field input::-webkit-slider-runnable-track { height: 6px; border-radius: 6px; background: linear-gradient(var(--blue), var(--blue)) 0 0 / var(--p, 50%) 100% no-repeat, #e3e3e8; }
.field input::-moz-range-track { height: 6px; border-radius: 6px; background: #e3e3e8; }
.field input::-moz-range-progress { height: 6px; border-radius: 6px; background: var(--blue); }
.field input::-webkit-slider-thumb { -webkit-appearance: none; width: 28px; height: 28px; margin-top: -11px; border-radius: 50%; background: #fff; border: 0; box-shadow: 0 .5px 4px rgba(0, 0, 0, .12), 0 6px 13px rgba(0, 0, 0, .12); transition: transform .15s; }
.field input::-moz-range-thumb { width: 28px; height: 28px; border-radius: 50%; background: #fff; border: 0; box-shadow: 0 .5px 4px rgba(0, 0, 0, .12), 0 6px 13px rgba(0, 0, 0, .12); }
.field input:active::-webkit-slider-thumb { transform: scale(1.12); }
.field input:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; }
.calc-result { padding: 20px 22px; border-radius: 20px; background: #fff; box-shadow: 0 1px 2px rgba(20, 20, 20, .04), 0 18px 40px -24px rgba(20, 20, 20, .25); }
.calc-k { font-size: 15px; color: var(--ink-2); }
.calc-v { margin-top: 6px; font: 500 clamp(44px, 5vw, 64px)/1 var(--display); letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.calc-v small { font: 400 17px/1 var(--text); letter-spacing: 0; color: var(--ink-2); }
.calc-note { margin-top: 10px; font-size: 16px; color: var(--ink-2); }
.calc-fine { font-size: 13px; color: var(--ink-2); }

/* the video: the page goes dark while it's in view */
body { transition: background-color .7s var(--ease), color .7s var(--ease); }
.top, .foot, section { transition: background-color .7s var(--ease), color .7s var(--ease); }
body.dark { background: #000; color: #f5f5f7; }
body.dark .top { background: rgba(0, 0, 0, .72); color: #f5f5f7; box-shadow: none; }
body.dark .nav-list a, body.dark .brand-by { color: #a1a1a6; }
.how { min-height: 100vh; min-height: 100svh; display: grid; align-items: center; }
body.dark .how { --ink: #f5f5f7; --ink-2: #a1a1a6; --line: #2c2c2e; --blue-text: #4da3ff; color: var(--ink); }
body.dark .p-mute { background: #1c1c1e; border-color: #2c2c2e; color: #f5f5f7; }
body.dark .p-vol input { accent-color: #f5f5f7; }
.frame { background: #1c1c1e; }

/* pricing: pinned, lines reveal as you scroll */
.pricing { height: 230vh; height: 230svh; padding: 0; }
.pricing h2 { font-size: clamp(40px, 6vw, 80px); }
.pricing .step { opacity: .08; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.pricing .step.in { opacity: 1; transform: none; }
.pricing .menu dd { font-size: clamp(30px, 3.4vw, 44px); }

/* email underline that skips the descenders (g, y) */
.end .mail a { text-decoration-skip-ink: auto; }

@media (max-width: 860px) {
  .math-in { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .math { height: auto; }
  .math .pin { position: relative; height: auto; padding: 72px 0; opacity: 1; transform: none; border-radius: 0; }
  .math h2 { font-size: clamp(30px, 8vw, 40px); }
}
@media (max-width: 600px) {
  .facts b { font-size: 30px; }
  .brand-name { font-size: 23px; }
  .demo { max-height: none; aspect-ratio: auto; height: min(760px, calc(100svh - 90px)); }
}
@media (max-height: 620px) { .pricing .pin { position: relative; height: auto; padding: 64px 0; } .pricing { height: auto; } .pricing .step { opacity: 1; transform: none; } }
