/* Meeeply, redesign 5G (from 4C). Redesign 3's quiet base (warm white, ink, one blue, Funnel Display + Funnel Sans),
   with an Apple-style scroll story: home, the math full screen, the video on black, pricing pinned, questions, contact. */
@font-face { font-family: "Funnel Display"; src: url("media/fonts/funnel-display-latin.woff2?v=10221504") format("woff2"); font-weight: 300 800; font-display: swap; }
@font-face { font-family: "Funnel Sans"; src: url("media/fonts/funnel-sans-latin.woff2?v=10221504") format("woff2"); font-weight: 300 800; font-display: swap; }

:root {
  --bg: #faf9f6;
  --card: #fff;
  --ink: #141414;
  --ink-2: #5f5f5c;
  --soft: #8a8984;
  --line: #e7e5df;
  --blue: #0a84ff;          /* the bot, and the one accent */
  --blue-text: #0066d6;     /* the same blue, deep enough for text */
  --pill: #0071e3;
  --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);
  --slow: cubic-bezier(.2, .7, .2, 1);
  font: 400 18px/1.6 var(--text);
  -webkit-text-size-adjust: 100%;
}
/* the video section turns the page black */
body[data-theme="dark"] { --bg: #000; --card: #1c1c1e; --ink: #f5f5f7; --ink-2: #a1a1a6; --soft: #86868b; --line: #2c2c2e; --blue-text: #2997ff; }
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; background: #faf9f6; }
body { margin: 0; overflow-x: clip; background: var(--bg); color: var(--ink); -webkit-font-smoothing: antialiased; transition: background-color .8s var(--slow), color .8s var(--slow); }
:where(h1, h2, h3, p, dt, dd, summary, li, label, output, small, b, a, span) { transition: color .8s var(--slow), border-color .8s var(--slow); }
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: var(--bg); 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(34px, 4.4vw, 56px); }
.kicker { margin-bottom: 14px; font: 500 16px/1.2 var(--text); color: var(--ink-2); }
.soft { color: var(--soft); }
.note { margin-top: 28px; font-size: 16px; color: var(--ink-2); max-width: 36em; }

/* header: a little bigger than redesign 3 */
.top { position: sticky; top: 0; z-index: 40; background: transparent; transition: background-color .5s var(--slow), box-shadow .3s, -webkit-backdrop-filter .5s, backdrop-filter .5s; padding-top: env(safe-area-inset-top); }
.top.solid { background: rgba(250, 249, 246, .78); -webkit-backdrop-filter: saturate(1.8) blur(20px); backdrop-filter: saturate(1.8) blur(20px); box-shadow: 0 .5px 0 rgba(0, 0, 0, .12); }
body[data-theme="dark"] .top.solid { background: rgba(0, 0, 0, .72); box-shadow: 0 .5px 0 rgba(255, 255, 255, .14); }
.top-in { display: flex; align-items: center; gap: 20px; min-height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 12px; margin-right: auto; text-decoration: none; }
.brand-bot { display: block; padding-top: 10px; margin-top: -10px; }
.brand-bot .bot { width: 40px; height: 36px; }
.brand-name { font: 600 26px/1 var(--display); letter-spacing: -.03em; }
.brand-by { font-size: 16px; color: var(--ink-2); }
.nav-list { display: flex; gap: 8px; }
.nav-list a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; font-size: 17px; white-space: nowrap; text-decoration: none; color: var(--ink-2); border-radius: 10px; }
.nav-list a:hover { color: var(--ink); }

/* hero: line one clears like frosted glass, line two arrives word by word, then "answer" gets a data-detector sweep */
.hero { padding: clamp(48px, 8vw, 112px) 0 clamp(40px, 5vw, 64px); }
.hero-in { display: grid; justify-items: center; text-align: center; }
.pre { font-size: 16px; color: var(--ink-2); animation: rise-in .9s var(--slow) .05s both; }
.hero h1 { margin-top: 18px; font-size: clamp(46px, 7.6vw, 104px); max-width: 12em; }
.l1 { display: block; animation: frost 1.15s var(--slow) .1s both; }
.l2 { display: block; color: var(--soft); }
.l2 .w { display: inline-block; animation: word .85s var(--slow) both; animation-delay: calc(.75s + var(--i) * .32s); }
.dd { position: relative; display: inline-block; animation: dd-ink .5s ease 2.95s forwards; }
.dot { margin-left: .035em; }
.dd::after { content: ""; position: absolute; left: .02em; right: .02em; bottom: .02em; height: max(3px, .055em); border-radius: 9px; background: var(--blue); transform: scaleX(0); transform-origin: 0 50%; animation: sweep .75s cubic-bezier(.65, 0, .25, 1) 2.85s forwards; }
@keyframes frost { from { opacity: 0; filter: blur(20px); transform: scale(1.035); } 60% { opacity: 1; } to { opacity: 1; filter: blur(0); transform: none; } }
@keyframes word { from { opacity: 0; filter: blur(10px); transform: translateY(.14em); } to { opacity: 1; filter: blur(0); transform: none; } }
@keyframes sweep { to { transform: scaleX(1); } }
@keyframes dd-ink { to { color: var(--blue-text); } }
@keyframes rise-in { from { opacity: 0; transform: translateY(12px); } }
.lede { margin-top: 26px; max-width: 30em; text-wrap: balance; font-size: clamp(18px, 1.6vw, 21px); color: var(--ink-2); animation: rise-in 1s var(--slow) 1.9s both; }

/* the demo: a real iPhone 16 Pro Max screen (440 x 956 pt) */
.demo-stage { --w: min(372px, max(300px, 27vw), calc((100svh - 150px) * 440 / 956)); position: relative; display: flex; flex-direction: column; align-items: center; width: 100%; margin-top: clamp(44px, 6vw, 72px); }
.iphone { position: relative; padding: 11px; border-radius: calc(var(--w) * .125 + 11px); background: #1d1d1f; box-shadow: inset 0 0 0 1.5px #48484a, 0 0 0 1px rgba(0, 0, 0, .08), 0 50px 90px -40px rgba(20, 20, 20, .45); animation: rise-in 1.1s var(--slow) .6s both; }
.iphone::before, .iphone::after { content: ""; position: absolute; width: 4px; border-radius: 3px; background: #2c2c2e; box-shadow: inset 0 0 0 1px #48484a; }
.iphone::before { left: -3px; top: 20%; height: 9%; box-shadow: inset 0 0 0 1px #48484a, 0 calc(var(--w) * .14) 0 #2c2c2e, 0 calc(var(--w) * -.12) 0 #2c2c2e; } /* volume up/down + action, left */
.iphone::after { right: -3px; top: 26%; height: 13%; } /* power, right */
.screen { position: relative; display: flex; flex-direction: column; width: var(--w); aspect-ratio: 440 / 956; border-radius: calc(var(--w) * .125); background: #fff; color: #000; overflow: hidden; text-align: left; font-family: var(--ios); }
.sb { position: relative; display: flex; align-items: center; justify-content: space-between; flex: none; height: calc(var(--w) * 54 / 440); padding: 0 calc(var(--w) * 30 / 440) 0 calc(var(--w) * 40 / 440); font: 600 calc(var(--w) * 17.5 / 440)/1 var(--ios); letter-spacing: -.01em; }
.island { position: absolute; left: 50%; top: calc(var(--w) * 11 / 440); width: calc(var(--w) * 126 / 440); height: calc(var(--w) * 37 / 440); margin-left: calc(var(--w) * -63 / 440); border-radius: 99px; background: #000; }
.sb-icons { display: flex; align-items: center; gap: calc(var(--w) * 6 / 440); }
.sb-icons svg { height: calc(var(--w) * 13.5 / 440); width: auto; fill: currentColor; }
.ih { position: relative; flex: none; display: grid; justify-items: center; padding: 2px 12px 10px; background: rgba(249, 249, 249, .94); border-bottom: .5px solid #d8d8dc; }
.ih-back { position: absolute; left: 12px; top: 18px; color: #0a84ff; }
.ih-back svg { width: 11px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.ih-mid { display: grid; justify-items: center; gap: 3px; }
.avatar { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: linear-gradient(#a8adb5, #8a8f98); color: #fff; font: 600 15px/1 var(--ios); letter-spacing: -.02em; }
.ih-name { font: 500 12.5px/1.2 var(--ios); letter-spacing: -.01em; color: #000; }
.ih-sub { font: 11px/1.2 var(--ios); color: #6c6c70; }
.ph-thread { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: auto; padding: 10px 10px 8px; scrollbar-width: none; }
.ph-thread::-webkit-scrollbar { display: none; }
@media (pointer: coarse) { .ph-thread { overflow-y: hidden; } .screen { touch-action: pan-y; } } /* a swipe on the phone always scrolls the page */
.stamp { align-self: center; margin: 2px 0 10px; font: 500 11px/1.3 var(--ios); color: #6c6c70; }
.ask { flex: none; display: flex; flex-direction: column; align-items: flex-end; gap: 6px; padding: 6px 10px 6px; }
.chip { max-width: 92%; min-height: 40px; padding: 7px 13px; border-radius: 20px; border: 1px solid #b9d8ff; background: #f2f8ff; color: #0066d6; white-space: normal; overflow-wrap: anywhere; -webkit-tap-highlight-color: transparent; font: 14.5px/1.2 var(--ios); letter-spacing: -.01em; text-align: left; transition: border-color .15s, background-color .15s; }
.chip:hover { border-color: #0a84ff; background: #f5f9ff; }
.chip[disabled] { cursor: default; }
.ibar { flex: none; display: flex; align-items: center; gap: 8px; margin: 2px 10px 0; min-height: 44px; padding: 0; border: 0; background: none; text-align: left; }
.ibar-plus { display: grid; place-items: center; flex: none; width: 32px; height: 32px; border-radius: 50%; background: #e9e9eb; color: #6c6c70; }
.ibar-plus svg { width: 14px; height: 14px; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.ibar-field { flex: 1; display: flex; align-items: center; height: 36px; padding: 0 14px; border: 1px solid #d1d1d6; border-radius: 18px; font: 15px/1 var(--ios); color: #6c6c70; }
.ibar:hover .ibar-field { border-color: #0a84ff; }
.home { flex: none; align-self: center; width: calc(var(--w) * 134 / 440); height: 5px; margin: 12px 0 9px; border-radius: 3px; background: #000; }

/* "Try me", Apple-clean: a label and a flat arrow pointing at the phone */
.try { position: absolute; z-index: 2; left: calc(50% + var(--w) / 2 + 40px); top: 34%; display: grid; justify-items: start; gap: 2px; text-align: left; animation: rise-in .8s var(--slow) 3.3s both; transition: opacity .5s, transform .5s var(--ease); }
.try-t { font: 600 30px/1.1 var(--display); letter-spacing: -.02em; }
.try-s { max-width: 15em; font-size: 15px; color: var(--ink-2); }
.try-arrow { width: 64px; height: 32px; margin-top: 12px; margin-left: -6px; overflow: visible; fill: none; stroke: var(--blue); stroke-width: 4.5; stroke-linecap: round; stroke-linejoin: round; }
.try-arrow path { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw .55s var(--ease) 3.7s forwards; }
.try-arrow .ta-head { animation-delay: 4.1s; animation-duration: .3s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.try.done { opacity: 0; transform: translateX(8px); pointer-events: none; }

.timer { margin-top: 2px; min-height: 1.6em; font-size: 16px; color: var(--ink-2); }
.timer b { font: 600 1.25em/1 var(--display); color: var(--ink); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.rush { min-height: 44px; margin-top: 18px; padding: 0 10px; border: 0; background: none; color: var(--blue-text); font-size: 16px; }
.rush:hover { text-decoration: underline; text-underline-offset: 4px; }
.rush[disabled] { opacity: .45; cursor: default; }

/* iMessage pieces: colours fixed by the brief */
.thread { display: flex; flex-direction: column; font: 15px/1.3 var(--ios); }
.msg { position: relative; max-width: 76%; width: fit-content; padding: 6px 11px 7px; border-radius: 18px; overflow-wrap: anywhere; letter-spacing: -.01em; }
.msg.in { align-self: flex-start; margin-left: 7px; background: var(--in); color: #000; }
.msg.out { align-self: flex-end; margin-right: 7px; 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: 9px; }
.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 18px; 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: 11px 12px; }
.msg.typing i { width: 7px; height: 7px; 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); } }

/* the short version: thin dividers, no boxes */
.stats { padding: clamp(40px, 6vw, 72px) 0 clamp(64px, 9vw, 120px); }
.stats-in { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); text-align: center; }
.stat { display: grid; align-content: start; gap: 8px; padding: 6px clamp(16px, 2.6vw, 36px); }
.stat + .stat { border-left: 1px solid var(--line); }
.stat b { font: 500 clamp(28px, 3.2vw, 40px)/1.1 var(--display); letter-spacing: -.03em; text-wrap: balance; }
.stat span { font-size: 15px; line-height: 1.5; color: var(--ink-2); text-wrap: pretty; }

/* the math: pops in, fills the screen while you scroll through it, then lets you go. no scroll capture */
.math { position: relative; height: 220vh; }
.pin { position: sticky; top: 0; height: 100vh; height: 100svh; }
.math .pin { display: grid; }
.math-panel { --m: 1; --c: 0; display: grid; align-items: center; background: #fff; color: #141414; clip-path: inset(calc(var(--m) * 10vh) calc(var(--m) * 7vw) round calc(var(--m) * 48px)); will-change: clip-path; }
.math-in { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(36px, 6vw, 96px); align-items: center; padding-top: 76px; opacity: var(--c); transform: translateY(calc((1 - var(--c)) * 40px)); }
.math .kicker, .math .sub, .math .calc-fine { color: #5f5f5c; }
.math .soft { color: #8a8984; }
.math h2 { font-size: clamp(34px, 4.6vw, 64px); }
.math .sub { margin-top: 20px; font-size: clamp(17px, 1.5vw, 20px); max-width: 30em; }
.calc { display: grid; gap: 14px; align-self: start; margin-top: -12px; }
.field { position: relative; display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: 4px 16px; }
.field label { font-size: 16.5px; font-weight: 500; color: #141414; }
.field output { font: 500 26px/1 var(--display); letter-spacing: -.02em; color: #141414; font-variant-numeric: tabular-nums; }
/* iOS-style slider: thin rounded track, blue fill, white capsule thumb that swells while you drag */
.field input { --p: 50%; grid-column: 1 / -1; width: 100%; height: 34px; margin: 0; background: none; -webkit-appearance: none; appearance: none; cursor: pointer; touch-action: pan-y; -webkit-tap-highlight-color: transparent; outline: none; }
.field input::-webkit-slider-runnable-track { height: 6px; border-radius: 6px; background: linear-gradient(90deg, #0a84ff var(--p), rgba(120, 120, 128, .2) var(--p)); }
.field input::-moz-range-track { height: 6px; border-radius: 6px; background: rgba(120, 120, 128, .2); }
.field input::-moz-range-progress { height: 6px; border-radius: 6px; background: #0a84ff; }
.field input::-webkit-slider-thumb { -webkit-appearance: none; width: 38px; height: 24px; margin-top: -9px; border-radius: 12px; background: #fff; box-shadow: 0 0 0 .5px rgba(0, 0, 0, .06), 0 3px 8px rgba(0, 0, 0, .16), 0 1px 1px rgba(0, 0, 0, .1); transition: transform .2s var(--ease); }
.field input::-moz-range-thumb { width: 38px; height: 24px; border: 0; border-radius: 12px; background: #fff; box-shadow: 0 0 0 .5px rgba(0, 0, 0, .06), 0 3px 8px rgba(0, 0, 0, .16); }
.field input:active::-webkit-slider-thumb { transform: scale(1.12); }
.field input:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 3px rgba(10, 132, 255, .35), 0 3px 8px rgba(0, 0, 0, .16); }
.field input::-moz-focus-outer { border: 0; }
/* faint tick marks, centred under each stop (the 38px thumb travels 19px in from each end) */
.ticks { grid-column: 1 / -1; height: 5px; margin: -6px 18.5px 0 18.5px; background: repeating-linear-gradient(90deg, #c7c7cc 0 1px, transparent 1px calc((100% - 1px) / var(--n))); background-size: calc(100% + (100% - 1px) / var(--n)) 100%; pointer-events: none; }
.calc-result { padding-top: 16px; border-top: 1px solid #e7e5df; }
.calc-k { font-size: 15.5px; color: #5f5f5c; }
.calc-v { margin-top: 4px; font: 600 clamp(60px, 7.2vw, 100px)/1 var(--display); letter-spacing: -.045em; color: var(--blue); font-variant-numeric: tabular-nums; }
.calc-v small { color: #5f5f5c; font: 400 18px/1 var(--text); letter-spacing: 0; color: #5f5f5c; }
.calc-note { margin-top: 12px; font-size: 16px; color: #141414; }
.calc-fine { font-size: 13.5px; }
.math.unpinned { height: auto; }
.math.unpinned .pin { position: static; height: auto; }
.math.unpinned .math-panel { clip-path: none; padding-block: 64px; }
.math.unpinned .math-in { opacity: 1; transform: none; padding-top: 0; }

/* the video, on black */
.how { padding: clamp(80px, 12vw, 160px) 0 clamp(64px, 9vw, 120px); }
.how-in { display: grid; justify-items: center; text-align: center; }
.how-title { position: relative; z-index: 2; margin-bottom: -.55em; font-size: clamp(44px, 7vw, 96px); color: #f5f5f7; text-shadow: 0 2px 30px rgba(0, 0, 0, .6); opacity: 0; }
.how-title.go { animation: frost 1.15s var(--slow) both; }
.player { width: min(340px, 100%); }
.frame { position: relative; border-radius: 40px; padding: 9px; background: #1c1c1e; box-shadow: inset 0 0 0 1.5px #3a3a3c; }
.frame video { width: 100%; height: auto; aspect-ratio: 9 / 16; border-radius: 32px; background: #111; 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; }
/* one glyph, no ring, no background */
.p-mute { position: absolute; right: 16px; bottom: 16px; width: 44px; height: 44px; padding: 0; border: 0; background: none; color: #fff; display: grid; place-items: center; filter: drop-shadow(0 1px 3px rgba(0, 0, 0, .6)); }
.p-mute svg { width: 24px; height: 24px; 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-cap { margin-top: 12px; font-size: 14px; color: var(--ink-2); }
/* display only: they don't touch the video */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); width: 100%; margin-top: clamp(56px, 8vw, 96px); text-align: left; counter-reset: s; }
.steps li { position: relative; display: grid; align-content: start; gap: 6px; padding-top: 18px; border-top: 1px solid var(--line); counter-increment: s; transition: border-color .8s, opacity .8s var(--slow), transform .8s var(--slow); }
.steps li::before { content: "0" counter(s); font: 500 15px/1 var(--display); color: var(--blue-text); font-variant-numeric: tabular-nums; }
.steps li.after::before { content: "Night"; }
.steps b { font: 500 clamp(19px, 1.7vw, 23px)/1.25 var(--display); letter-spacing: -.02em; }
.steps span { color: var(--ink-2); font-size: 15.5px; }

/* pricing: pinned, centered, written out step by step as you scroll */
.pricing { position: relative; height: 240vh; overflow-x: clip; }
.pricing .pin { display: grid; align-items: center; }
.pricing-in { --f: 1; --g: 1; padding-top: 76px; }
.price-card { width: calc(min(100%, 440px) + (100% - min(100%, 440px)) * var(--g)); margin: 0 auto; padding: clamp(26px, 4vw, 44px); border-radius: 30px; background: var(--card); box-shadow: 0 0 0 1px var(--line), 0 30px 70px -40px rgba(20, 20, 20, .3); opacity: var(--f); transform: translateY(calc((1 - var(--g)) * 7vh)) scale(calc(1 + (1 - var(--f)) * .12)); transform-origin: 50% 40%; }
.step { opacity: 0; transform: translateY(28px); filter: blur(8px); transition: opacity .7s var(--slow), transform .7s var(--slow), filter .7s var(--slow), color .8s var(--slow); }
.step.on { opacity: 1; transform: none; filter: none; }
.pricing.unpinned { height: auto; padding: clamp(72px, 10vw, 120px) 0; }
.pricing.unpinned .pin { position: static; height: auto; }
.pricing.unpinned .pricing-in { padding-top: 0; }
.menu { margin-top: 30px; border-top: 1px solid var(--ink); }
.menu div { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.menu dt { min-width: 0; font: 500 clamp(19px, 1.8vw, 22px)/1.3 var(--display); letter-spacing: -.01em; }
.menu dd { margin-left: auto; text-align: right; font: 500 clamp(28px, 2.8vw, 36px)/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; }
.pill { display: inline-flex; align-items: center; min-height: 44px; margin-top: 30px; padding: 0 24px; border-radius: 999px; background: var(--pill); color: #fff; font: 500 17px/1 var(--text); text-decoration: none; transition: background-color .2s; }
.pill:hover { background: #0077ed; }

/* questions and contact: full screen, centered, easing in as you arrive */
.faq { padding: clamp(48px, 7vw, 88px) 0 clamp(40px, 5vw, 64px); }
.end { padding: clamp(40px, 6vw, 72px) 0 clamp(48px, 6vw, 80px); }
.faq-list { margin-top: 26px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { -webkit-tap-highlight-color: transparent; -webkit-user-select: none; user-select: none; position: relative; display: block; padding: 21px 44px 21px 0; cursor: pointer; list-style: none; font: 500 clamp(18px, 1.6vw, 21px)/1.35 var(--display); letter-spacing: -.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:focus:not(:focus-visible) { outline: 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 { text-align: center; }
.end p { margin-top: 12px; color: var(--ink-2); }
/* keep: the blue underline that breaks around the g and y descenders */
.end .mail { margin-top: 30px; font: 500 clamp(21px, 5.6vw, 48px)/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: max(2px, .05em); text-underline-offset: .1em; text-decoration-skip-ink: auto; -webkit-text-decoration-skip: ink; }
.end .mail a:hover { color: var(--blue-text); }
.quiet { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink); text-decoration: underline; text-decoration-color: var(--blue); text-decoration-thickness: 2px; text-underline-offset: .12em; text-decoration-skip-ink: auto; -webkit-text-decoration-skip: ink; }
.rv { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--slow), transform .8s var(--slow), color .8s var(--slow); }
.rv.in { opacity: 1; transform: none; }

.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, box-shadow .8s, transform .5s cubic-bezier(.2, 1.15, .3, 1), opacity .25s, visibility 0s; }
.launch:hover { background: #33302b; }
body[data-theme="dark"] .launch { box-shadow: 0 0 0 1px rgba(255, 255, 255, .16), 0 12px 32px rgba(0, 0, 0, .5); }
.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.away:not(.open) .launch { transform: translateY(calc(100% + 32px)); opacity: 0; visibility: hidden; transition: transform .35s var(--ease), opacity .25s, visibility 0s .35s; }
/* the chat sheet simply rises and fades. no flips, no morphing */
.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); opacity: 0; translate: 0 18px; transition: opacity .26s ease, translate .38s cubic-bezier(.2, .9, .25, 1); }
.panel.show { opacity: 1; translate: 0 0; }
.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; font-size: 16px; }
.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; max-width: none; white-space: nowrap; }
.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 { caret-color: var(--blue); -webkit-tap-highlight-color: transparent; transition: border-color .2s; }
.panel-form input:focus, .panel-form input:focus-visible { outline: none; border-color: #a7a7ad; }
.send { -webkit-tap-highlight-color: transparent; flex: none; width: 44px; height: 44px; border: 0; border-radius: 50%; background: none; display: grid; place-items: center; }
.send svg { width: 44px; height: 44px; padding: 9px; 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; }

/* tablets */
@media (max-width: 1080px) {
  .try { left: calc(50% + var(--w) / 2 + 24px); }
  .try-t { font-size: 25px; }
  .try-s { max-width: 11em; }
}
@media (max-width: 920px) {
  /* "Try me" moves above the phone and points down */
  .try { position: static; order: -1; justify-items: center; text-align: center; margin-bottom: 10px; }
  .try-arrow { width: 44px; height: 22px; margin: 22px 0 14px; transform: rotate(-90deg); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .try.done { transform: translateY(-6px); }
  .math-in { grid-template-columns: minmax(0, 1fr); gap: 28px; }

}
@media (max-width: 600px) {
  :root { font-size: 17px; }
  .top-in { min-height: 64px; gap: 10px; }
  .brand-bot .bot { width: 34px; height: 31px; }
  .brand-name { font-size: 23px; }
  .brand-by { display: none; }
  .nav-list { gap: 0; }
  .nav-list a { padding: 0 9px; font-size: 16px; }
  .nav-list li:first-child { display: none; }
  .demo-stage { --w: min(330px, 84vw); }
  .stats-in { grid-template-columns: minmax(0, 1fr); }
  .stat { padding: 18px 0; }
  .stat + .stat { border-left: 0; border-top: 1px solid var(--line); }
  .gbp { display: block; }
  .how-in { padding: 0; }
  .player { width: 100%; }
  .frame { border-radius: 0; padding: 0; background: none; box-shadow: none; }
  .frame video { border-radius: 0; }
  .p-cap { padding: 0 var(--gut); }
  .steps { grid-template-columns: minmax(0, 1fr); padding: 0 var(--gut); }
  .how-title { margin-bottom: -.7em; }
  .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 (prefers-reduced-motion: reduce) {
  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, .step { opacity: 1; transform: none; filter: none; }
  .how-title { opacity: 1; animation: none; }
  .dd::after { transform: none; }
}
