@font-face { font-family: "Halant"; src: url("./public/fonts/halant-regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Halant"; src: url("./public/fonts/halant-medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Inter Display"; src: url("./public/fonts/inter-display-regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter Display"; src: url("./public/fonts/inter-display-medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Inter Display"; src: url("./public/fonts/inter-display-bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Fragment Mono"; src: url("./public/fonts/fragment-mono.woff2") format("woff2"); font-weight: 400; font-display: swap; }

:root {
  color-scheme: dark;
  --paper: #28292d;
  --surface: #303136;
  --deep: #1f1f21;
  --ink: #faf6f2;
  --warm: #e8d3c0;
  --soft: #f6f0e9;
  --muted: rgba(255, 255, 255, .56);
  --faint: #94877c;
  --line: rgba(255, 255, 255, .12);
  --line-strong: rgba(255, 255, 255, .25);
  --serif: "Halant", Georgia, serif;
  --sans: "Inter Display", Inter, sans-serif;
  --mono: "Fragment Mono", monospace;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
::selection { color: var(--deep); background: var(--warm); }
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
p { margin: 0; }
.shell { width: min(calc(100% - 64px), 1240px); margin-inline: auto; }
.section { padding-block: 124px; }
.scroll-progress { position: fixed; z-index: 100; inset: 0 0 auto; height: 2px; pointer-events: none; }
.scroll-progress span { display: block; width: 100%; height: 100%; background: linear-gradient(90deg, #ff8f9c, #9c8cff, #70c3e8); transform: scaleX(0); transform-origin: left; }

.site-header {
  position: sticky; z-index: 50; top: 0; display: grid; grid-template-columns: 1fr auto 1fr;
  align-items: center; min-height: 74px; padding: 12px max(32px, calc((100vw - 1240px) / 2));
  border-bottom: 1px solid var(--line); background: rgba(40, 41, 45, .88); backdrop-filter: blur(18px);
}
.wordmark { display: inline-flex; align-items: center; justify-self: start; gap: 8px; font-family: var(--serif); font-size: 31px; line-height: 1; letter-spacing: -.035em; }
.wordmark img { width: 30px; height: 30px; object-fit: contain; }
.site-header > nav { display: flex; align-items: center; gap: clamp(24px, 3vw, 48px); color: var(--muted); font-size: 14px; }
.site-header > nav a { position: relative; padding: 10px 0; transition: color 180ms var(--ease); }
.site-header > nav a::after { content: ""; position: absolute; inset: auto 0 5px; height: 1px; background: var(--ink); transform: scaleX(0); transition: transform 180ms var(--ease); }
.site-header > nav a:hover { color: var(--ink); }
.site-header > nav a:hover::after { transform: scaleX(1); }
.site-header__actions { display: flex; justify-self: end; gap: 8px; align-items: center; }
.mobile-menu-toggle { display: none; width: 42px; height: 42px; padding: 0; align-items: center; justify-content: center; flex-direction: column; gap: 4px; border: 1px solid var(--line); border-radius: 10px; color: var(--ink); background: rgba(255,255,255,.04); cursor: pointer; transition: border-color 180ms var(--ease), background 180ms var(--ease); }
.mobile-menu-toggle:hover { border-color: var(--line-strong); background: rgba(255,255,255,.075); }
.mobile-menu-toggle span { display: block; width: 18px; height: 1.5px; border-radius: 2px; background: currentColor; transform-origin: center; transition: opacity 160ms var(--ease), transform 220ms var(--ease); }
.site-header.is-menu-open .mobile-menu-toggle span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.site-header.is-menu-open .mobile-menu-toggle span:nth-child(2) { opacity: 0; transform: scaleX(.3); }
.site-header.is-menu-open .mobile-menu-toggle span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }
.mobile-menu { position: absolute; top: calc(100% + 1px); right: 15px; left: 15px; display: none; padding: 10px; border: 1px solid var(--line); border-radius: 0 0 14px 14px; background: rgba(31,31,33,.97); box-shadow: 0 24px 54px rgba(0,0,0,.34); backdrop-filter: blur(22px); }
.mobile-menu nav { display: grid; gap: 2px; }
.mobile-menu a { display: flex; min-height: 48px; padding: 0 14px; align-items: center; justify-content: space-between; border-radius: 9px; color: rgba(250,246,242,.72); font-size: 15px; transition: color 160ms var(--ease), background 160ms var(--ease); }
.mobile-menu a:hover, .mobile-menu a:focus-visible { color: var(--ink); background: rgba(255,255,255,.065); outline: none; }
.mobile-menu .mobile-menu__cta { min-height: 50px; margin-top: 6px; color: #2b180a; background: var(--ink); font-weight: 500; }
.mobile-menu .mobile-menu__cta:hover, .mobile-menu .mobile-menu__cta:focus-visible { color: #2b180a; background: #fff; }
.mobile-menu__cta span { font-size: 16px; }

.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 18px; min-height: 46px; padding: 0 22px;
  border: 1px solid var(--ink); border-radius: 10px; color: #2b180a; background: var(--ink);
  font-size: 14px; font-weight: 500; transition: transform 180ms var(--ease), background 180ms var(--ease), box-shadow 180ms var(--ease);
}
.button:hover { transform: translateY(-2px); background: #fff; box-shadow: 0 9px 24px rgba(0, 0, 0, .22); }
.button[href] { gap: 0; overflow: hidden; }
.button[href]::after { width: 0; margin-left: 0; overflow: hidden; content: "↗"; opacity: 0; transform: translate(-7px, 7px); transition: width 220ms var(--ease), margin-left 220ms var(--ease), opacity 160ms var(--ease), transform 260ms var(--ease); }
.button[href]:hover::after, .button[href]:focus-visible::after { width: 14px; margin-left: 12px; opacity: 1; transform: translate(0, 0); }
.button--small { min-height: 40px; padding-inline: 18px; }
.button--full { width: 100%; }

h1, h2, h3, blockquote { font-family: var(--serif); font-weight: 400; }
h1, h2, h3 { margin: 0; }
h2 { color: var(--warm); font-size: 56px; line-height: 1.1; letter-spacing: -.042em; }
.section-label { display: none; }
.sr-only { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important; }
.rating { color: #dfa67e; font-size: 13px; letter-spacing: 4px; }
.warm-copy { color: var(--warm) !important; }

.hero { padding-top: 126px; }
.hero__copy { max-width: 990px; margin-inline: auto; text-align: center; }
.trust-kicker { margin: 20px 0 24px; color: var(--soft); font-size: 16px; }
.hero h1 { max-width: 800px; margin-inline: auto; font-size: 68px; line-height: 1.1; letter-spacing: -.048em; }
.hero h1 em { color: var(--warm); font-style: normal; }
.hero__lede { max-width: 650px; margin: 34px auto 28px; color: var(--soft); font-size: 17px; line-height: 1.55; }
.brand-film { position: relative; margin: 92px 0 0; }
.media-label { display: none; }
/* Plan / Focus: the pricing toggle, centred above the film; it swaps both recordings. */
.film-switch { display: flex; justify-content: center; margin-bottom: 22px; }
.film-switch .billing-toggle { margin-top: 0; }
.film-switch .billing-toggle button { position: relative; height: 42px; padding: 0 18px 0 15px; font-size: 15px; justify-content: center; }
.film-switch svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
/* Until a visitor picks a mode, the films take turns; the line under the playing one shows when it hands over. */
.film-switch__progress { position: absolute; left: 16px; right: 16px; bottom: 5px; height: 2px; border-radius: 2px; background: currentColor; opacity: 0; transform: scaleX(var(--progress, 0)); transform-origin: left; }
.film-switch [aria-checked="true"] .film-switch__progress { opacity: .35; }
.film-switch.is-chosen .film-switch__progress { display: none; }
.film-switch .billing-toggle button:not([aria-checked="true"]) { color: var(--app-secondary); }
.brand-film video { transition: opacity 180ms var(--ease); }
.brand-film__screen { position: relative; aspect-ratio: 1280 / 832; overflow: hidden; border: 1px solid var(--line); border-radius: 13px; background: var(--deep); }
.brand-film__screen video { display: block; width: 100%; height: 100%; object-fit: cover; }
/* An iPhone drawn in CSS around the phone recording (390x844 screen); sizes are in cqw so the bezel scales with it. */
.brand-film__phone { position: absolute; z-index: 2; right: 3.5%; bottom: -9%; width: clamp(180px, 24%, 300px); aspect-ratio: 100 / 208.3; container-type: inline-size; pointer-events: none; }
.brand-film__phone-body { position: absolute; inset: 0; padding: 3.5cqw; border-radius: 15cqw; background: #0b0b0c; box-shadow: inset 0 0 0 .7cqw #2c2c2e, 0 0 0 .45cqw #6e6e73, 0 28px 60px rgba(0,0,0,.42), 0 10px 22px rgba(0,0,0,.28); }
.brand-film__phone-body video { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 11.5cqw; background: #000; }
.brand-film__phone::after { content: ""; position: absolute; top: 6.1cqw; left: 50%; width: 30cqw; height: 8.8cqw; transform: translateX(-50%); border-radius: 99px; background: #000; }
.trust-row { padding: 132px 0 80px; border-bottom: 1px solid var(--line); text-align: center; }
.trust-row > p { margin: 0 0 36px; color: var(--muted); font-size: 15px; }
.trust-logos { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); margin: 0; padding: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); list-style: none; }
.trust-logos li { display: grid; height: 84px; padding: 0 22px; place-items: center; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.trust-logos img { width: 100%; max-width: 116px; height: 30px; object-fit: contain; filter: grayscale(1) brightness(2.2); opacity: .72; }

.problem { display: grid; grid-template-columns: .88fr 1.12fr; gap: 9%; align-items: center; }
.problem__copy h2 { margin: 0 0 34px; font-size: 56px; line-height: 1.1; }
.problem__copy p { margin-top: 18px; color: var(--muted); font-size: 17px; line-height: 1.6; }
.flower-film { min-height: 520px; overflow: hidden; border: 1px solid var(--line); border-radius: 50% 50% 12px 12px; background: var(--deep); }
.flower-film video { width: 100%; height: 100%; min-height: 520px; object-fit: cover; }

.promise-strip { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-strong); border-bottom: 1px solid var(--line-strong); }
.promise-strip h3 { min-height: 240px; padding: 38px 38px 38px 0; font-size: 42px; line-height: 1.08; letter-spacing: -.035em; }
.promise-strip h3 + h3 { padding-left: 38px; border-left: 1px solid var(--line); }

.quote { padding-block: 122px; border-bottom: 1px solid var(--line); text-align: center; }
.quote blockquote { max-width: 950px; margin: 30px auto 34px; color: var(--warm); font-size: 48px; line-height: 1.1; letter-spacing: -.035em; }
.quote blockquote strong { color: var(--ink); font-weight: 500; }
.quote__person { display: inline-flex; align-items: center; gap: 13px; color: var(--muted); font-size: 12px; }
.quote__person img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.quote--last { border-bottom: 0; }

.method { padding-top: 30px; }
.story-row { display: grid; grid-template-columns: .93fr 1.07fr; gap: 8%; align-items: center; min-height: 700px; padding-block: 90px; border-bottom: 1px solid var(--line); }
.story-row--reverse .story-row__copy { order: 2; }
.story-row--reverse .story-row__media { order: 1; }
.story-row__copy h3 { margin: 0 0 28px; color: var(--warm); font-size: 52px; line-height: 1.06; letter-spacing: -.04em; }
.story-row__copy p { margin-top: 18px; color: var(--muted); font-size: 17px; line-height: 1.6; }
.story-row__copy p em { color: var(--soft); }
.story-row__copy .button { margin-top: 32px; }
.story-row__media { display: grid; place-items: center; min-height: 460px; overflow: hidden; border: 0; border-radius: 12px; background: var(--deep); }
.story-row__media img { width: 100%; height: 100%; min-height: 460px; max-height: none; object-fit: cover; object-position: center; filter: none; transition: transform 500ms var(--ease); }
.story-row:hover .story-row__media img { transform: scale(1.018); }
/* Recordings fill their card edge to edge, at the recording's own shape. */
.story-row__media--video { align-self: center; min-height: 0; aspect-ratio: 1280 / 832; border: 1px solid var(--line); }
.story-row__media video { display: block; width: 100%; height: 100%; object-fit: cover; background: var(--deep); cursor: pointer; }
.story-row.reveal .story-row__media { clip-path: inset(0 50% 0 50% round 12px); }
.story-row.reveal.is-visible .story-row__media { animation: shutter-open 860ms var(--ease) 120ms forwards; }
@keyframes shutter-open { to { clip-path: inset(0 0 0 0 round 12px); } }
.wash--blue, .wash--violet, .wash--rose, .wash--sand { background: #1f2023; }

.review-band { display: grid; grid-template-columns: 58px 120px 1fr 120px; gap: 26px; align-items: center; padding-block: 62px; border-bottom: 1px solid var(--line); }
.review-initial { display: grid; place-items: center; width: 52px; height: 52px; border: 1px solid var(--line); border-radius: 50%; color: var(--faint); font-family: var(--mono); font-size: 10px; }
.review-band.is-visible .review-initial { animation: elastic-tag 720ms cubic-bezier(.2, 1.45, .45, 1) 180ms both; }
@keyframes elastic-tag { from { opacity: 0; transform: scale(.35) rotate(-18deg); } 65% { transform: scale(1.1) rotate(3deg); } to { opacity: 1; transform: scale(1) rotate(0); } }
.review-band blockquote { margin: 0; font-size: clamp(25px, 2.7vw, 38px); line-height: 1.12; letter-spacing: -.025em; }
.review-band > span { color: var(--muted); font-size: 12px; text-align: right; }

.science__intro { display: grid; grid-template-columns: 1.2fr .8fr; gap: 72px; align-items: start; margin-bottom: 70px; }
.science__intro h2 { max-width: 690px; }
.science__intro > div p { margin-bottom: 18px; color: var(--muted); font-size: 17px; line-height: 1.6; }
.science__image { width: min(78%, 920px); margin-inline: auto; overflow: hidden; border: 1px solid var(--line); border-radius: 12px; }
.science__image img { width: 100%; height: 500px; object-fit: cover; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 58px; border-top: 1px solid var(--line-strong); }
.stats div { min-height: 230px; padding: 34px 30px 28px 0; }
.stats div + div { padding-left: 30px; border-left: 1px solid var(--line); }
.stats strong { display: block; color: var(--warm); font-family: var(--serif); font-size: clamp(52px, 5.5vw, 76px); font-weight: 400; line-height: 1; }
.stats span { display: block; margin-top: 14px; color: var(--muted); font-size: 12px; }
.mini-cta { display: flex; align-items: center; justify-content: space-between; gap: 40px; padding: 34px; border: 1px solid var(--line); border-radius: 10px; background: var(--deep); }
.mini-cta__copy { display: flex; align-items: center; gap: 22px; }
.mini-cta__copy img { width: 76px; height: 76px; flex: 0 0 76px; object-fit: contain; }
.mini-cta p { font-family: var(--serif); font-size: 30px; }
.mini-cta div > span { display: block; margin-top: 6px; color: var(--muted); font-size: 12px; }

.section-heading { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; align-items: start; margin-bottom: 58px; }
.section-heading h2 { max-width: 850px; }
.section-heading > p { max-width: 400px; color: var(--muted); font-size: 16px; line-height: 1.6; }
.section-heading > .button { justify-self: start; }
.video-stories { display: grid; gap: 70px; }
.video-story { display: grid; grid-template-columns: 300px 1fr; gap: 46px; align-items: end; padding-top: 22px; border-top: 1px solid var(--line); }
.video-story > div > span { color: var(--faint); font-family: var(--mono); font-size: 10px; }
.video-story h3 { margin: 34px 0 18px; color: var(--warm); font-size: 46px; line-height: 1; }
.video-story p { color: var(--muted); font-size: 16px; line-height: 1.6; }
.video-story video { width: 100%; aspect-ratio: 1280 / 832; object-fit: cover; border: 1px solid var(--line); border-radius: 12px; background: var(--deep); cursor: pointer; }

.video-story > div > span { display: none; }
.feature-grid { position: relative; display: block; height: 625px; isolation: isolate; }
.feature { position: absolute; z-index: var(--arc-z); top: var(--arc-row, 0); left: 50%; display: flex; width: 250px; min-height: 250px; padding: 24px; flex-direction: column; gap: 22px; overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: #242529; box-shadow: 0 18px 34px rgba(0,0,0,.2), inset 0 1px rgba(255,255,255,.035); transform: translateX(calc(-50% + var(--arc-x))) translateY(var(--arc-y)) rotate(var(--arc-r)) scale(var(--arc-scale, 1)); transform-origin: 50% 115%; transition: transform 340ms cubic-bezier(.16,1,.3,1), box-shadow 260ms var(--ease), border-color 180ms var(--ease); }
.feature:nth-child(1), .feature:nth-child(6) { --arc-x: -370px; --arc-y: 56px; --arc-r: -5deg; --arc-z: 1; }
.feature:nth-child(2), .feature:nth-child(7) { --arc-x: -185px; --arc-y: 19px; --arc-r: -2.5deg; --arc-z: 2; }
.feature:nth-child(3), .feature:nth-child(8) { --arc-x: 0px; --arc-y: -3px; --arc-r: 0deg; --arc-z: 3; }
.feature:nth-child(4), .feature:nth-child(9) { --arc-x: 185px; --arc-y: 19px; --arc-r: 2.5deg; --arc-z: 4; }
.feature:nth-child(5), .feature:nth-child(10) { --arc-x: 370px; --arc-y: 56px; --arc-r: 5deg; --arc-z: 5; }
.feature:nth-child(n + 6) { --arc-row: 320px; }
.feature h3 { color: var(--ink); font-family: var(--serif); font-size: 25px; font-weight: 400; line-height: 1.08; }
.feature p { margin-top: 11px; color: var(--muted); font-size: 15px; line-height: 1.5; }
.feature-icon { display: grid; width: 48px; height: 48px; flex: 0 0 48px; place-items: center; border: 1px solid rgba(232,211,192,.2); border-radius: 12px; color: var(--warm); background: rgba(232,211,192,.07); }
.feature-icon svg { position: relative; z-index: 2; width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.feature:nth-child(3n + 2) .feature-icon { border-color: rgba(167,151,241,.25); color: #c4b9f6; background: rgba(167,151,241,.08); }
.feature:nth-child(3n + 3) .feature-icon { border-color: rgba(112,195,232,.23); color: #9cd8ef; background: rgba(112,195,232,.07); }

@media (hover: hover) and (pointer: fine) {
  .feature-grid:hover .feature { border-color: var(--line-strong); box-shadow: 0 22px 40px rgba(0,0,0,.24), inset 0 1px rgba(255,255,255,.045); }
  .feature-grid:hover .feature:nth-child(1), .feature-grid:hover .feature:nth-child(6) { --arc-x: -430px; --arc-y: 28px; --arc-r: -14deg; }
  .feature-grid:hover .feature:nth-child(2), .feature-grid:hover .feature:nth-child(7) { --arc-x: -215px; --arc-y: 0px; --arc-r: -7deg; --arc-scale: 1.015; }
  .feature-grid:hover .feature:nth-child(3), .feature-grid:hover .feature:nth-child(8) { --arc-y: -18px; --arc-scale: 1.04; }
  .feature-grid:hover .feature:nth-child(4), .feature-grid:hover .feature:nth-child(9) { --arc-x: 215px; --arc-y: 0px; --arc-r: 7deg; --arc-scale: 1.015; }
  .feature-grid:hover .feature:nth-child(5), .feature-grid:hover .feature:nth-child(10) { --arc-x: 430px; --arc-y: 28px; --arc-r: 14deg; }
}

.comparison-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.compare-card { position: relative; display: flex; min-width: 0; min-height: 540px; padding: 0 0 38px; align-items: center; flex-direction: column; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; text-align: center; background: var(--deep); }
.compare-card h3 { margin: 18px 0 18px; font-size: 48px; line-height: 1.05; }
.compare-card p { max-width: 490px; padding-inline: 30px; color: var(--soft); font-size: 17px; line-height: 1.55; }
.comparison-carousel { position: relative; z-index: 3; width: 100%; padding: 13px 0; overflow: hidden; border-bottom: 1px solid var(--line); background: rgba(31,31,33,.72); backdrop-filter: blur(10px); }
.comparison-carousel__track { display: flex; width: max-content; animation: comparison-scroll 24s linear infinite; will-change: transform; }
.comparison-carousel__track > div { display: flex; gap: 12px; padding-right: 12px; }
.comparison-carousel span { flex: 0 0 auto; padding: 10px 16px; border: 1px solid var(--line); border-radius: 9px; color: var(--muted); background: rgba(255,255,255,.07); font-size: 13px; white-space: nowrap; }
.comparison-carousel--aftertone .comparison-carousel__track { animation-direction: reverse; }
.comparison-carousel--aftertone span { border-color: var(--ink); color: var(--deep); background: var(--ink); }
@keyframes comparison-scroll { to { transform: translateX(-25%); } }
.compare-card--other { justify-content: flex-end; isolation: isolate; }
.compare-card--other::after { position: absolute; z-index: 1; inset: 0; content: ""; background: linear-gradient(180deg, rgba(31,31,33,.04) 20%, rgba(31,31,33,.38) 50%, rgba(31,31,33,.96) 100%); pointer-events: none; }
.compare-card--other .comparison-carousel { position: absolute; top: 0; left: 0; }
.compare-card--other h3, .compare-card--other p { position: relative; z-index: 2; }
.apps-art { position: absolute; z-index: 0; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; border: 0; }
.aftertone-art { width: 176px; height: 176px; margin-top: 34px; object-fit: contain; }
.compare-card--aftertone { background: #1b1b1d; }

.pricing { display: block; }
.pricing__intro { text-align: center; }
.pricing__intro h2 { max-width: 760px; margin: 0 auto 26px; }
.pricing__intro p { max-width: 580px; margin-inline: auto; color: var(--muted); font-size: 17px; line-height: 1.6; }
/* The toggle and card are the app's pricing screen (aftertone-react PricingScreen), in its dark theme and type. */
.pricing, .film-switch {
  --app-surface: oklch(21.5% 0 0); --app-raised: oklch(24% 0 0); --app-muted-surface: oklch(26% 0 0);
  --app-fg: oklch(96% 0 0); --app-bg: oklch(19% 0 0); --app-secondary: oklch(77% 0 0); --app-muted: oklch(64% 0 0);
  --app-border: oklch(29% 0 0); --app-border-subtle: oklch(25% 0 0); --app-success: oklch(78% .18 150);
  --app-font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro", "Segoe UI", system-ui, sans-serif;
  --app-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro", "Segoe UI", system-ui, sans-serif;
}
.billing-toggle { position: relative; isolation: isolate; display: inline-flex; align-items: center; margin-top: 28px; padding: 3px; border: 1px solid var(--app-border-subtle); border-radius: 999px; background: var(--app-muted-surface); font: 13px/1 var(--app-font); letter-spacing: -.01em; }
.billing-toggle__thumb { position: absolute; z-index: -1; top: 3px; bottom: 3px; left: 0; width: var(--thumb-width, 0); border-radius: 999px; background: var(--app-raised); box-shadow: 0 0 0 1px var(--app-border), inset 0 1px 0 oklch(100% 0 0 / .05), 0 1px 2px oklch(0% 0 0 / .3); transform: translateX(var(--thumb-x, 0)); transition: transform 240ms var(--ease), width 240ms var(--ease); }
.billing-toggle button { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 14px; border: 0; border-radius: 999px; background: transparent; color: var(--app-muted); font: inherit; font-weight: 500; letter-spacing: inherit; white-space: nowrap; cursor: pointer; transition: color 150ms var(--ease); }
.billing-toggle button:has(.billing-toggle__save) { padding-right: 5px; }
.billing-toggle button[aria-checked="true"] { color: var(--app-fg); cursor: default; }
.billing-toggle button:not([aria-checked="true"]):hover { color: var(--app-secondary); }
.billing-toggle__save { display: inline-flex; align-items: center; height: 24px; padding: 0 8px; border-radius: 999px; background: color-mix(in oklab, var(--app-fg) 6%, transparent); color: var(--app-secondary); font-size: 12px; font-variant-numeric: tabular-nums; transition: background-color 240ms var(--ease), color 240ms var(--ease); }
[aria-checked="true"] > .billing-toggle__save { background: color-mix(in oklab, var(--app-success) 18%, transparent); color: var(--app-success); }
.price-card { width: min(100%, 460px); margin: 24px auto 0; padding: 32px; border: 1px solid var(--app-border); border-radius: 26px; background: var(--app-surface); color: var(--app-fg); font: 13px/1.4 var(--app-font); letter-spacing: -.01em; text-align: left; }
.price-card__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
/* Plan name and price take the app's title serif (--font-title, scaled by --title-scale 1.2), as in PricingScreen. */
.price-card__top h3 { margin: 0; font: 500 28.8px/1.1 var(--serif); letter-spacing: -.03em; }
.price-card__top p { margin: 4px 0 0; color: var(--app-secondary); }
.recommended { display: inline-flex; align-items: center; min-height: 26px; padding: 0 10px; border: 1px solid color-mix(in oklab, oklch(80% 0 0) 24%, var(--app-border)); border-radius: 999px; background: oklch(80% 0 0 / .13); color: oklch(91% 0 0); font-size: 12px; font-weight: 500; white-space: nowrap; transition: opacity 240ms var(--ease); }
.price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; min-height: 3.75rem; margin-top: 24px; }
.price__amount { display: inline-flex; align-items: baseline; font: 500 62.4px/.9 var(--serif); letter-spacing: -.01em; font-variant-numeric: proportional-nums lining-nums; }
.price__currency { align-self: flex-start; margin: .1em .06em 0 0; color: var(--app-secondary); font-size: .42em; font-weight: 500; letter-spacing: 0; }
.price__period { color: var(--app-muted); font-size: 13px; line-height: 1.4; white-space: nowrap; }
.price-card__facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr)); gap: 8px; margin: 20px 0 0; padding: 0; list-style: none; }
.price-card__facts li { display: flex; align-items: flex-start; gap: 12px; padding: 12px 16px; border: 1px solid var(--app-border); border-radius: 14px; background: var(--app-muted-surface); color: var(--app-secondary); font-size: 12px; }
.price-card__facts svg { flex: none; margin-top: 1px; color: var(--app-fg); }
.price-card__facts span { display: grid; gap: 2px; }
.price-card__facts strong { color: var(--app-fg); font-size: 13px; font-weight: 500; }
/* The app's BrandShimmer: the brand colours sweep across the text, which otherwise reads in its own colour. */
.shimmer {
  background: linear-gradient(100deg, currentColor 36%, color-mix(in oklab, #e9899e 70%, currentColor) 43%, color-mix(in oklab, #fa9cdb 70%, currentColor) 48%, color-mix(in oklab, #6d7ff2 70%, currentColor) 53%, color-mix(in oklab, #2b6cec 60%, currentColor) 58%, currentColor 64%) 100% 0 / 300% 100% no-repeat;
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  animation: brand-sweep 4s ease-in-out infinite;
}
@keyframes brand-sweep { 0% { background-position: 100% 0; } 60%, 100% { background-position: 0 0; } }
@media (prefers-reduced-motion: reduce) { .shimmer { animation: none; background: none; -webkit-text-fill-color: currentColor; } }
.price-card__features { display: grid; gap: 12px; margin: 24px 0; padding: 24px 0 0; border-top: 1px solid var(--app-border-subtle); list-style: none; }
.price-card__features li { display: flex; align-items: flex-start; gap: 12px; }
.price-card__features li svg { flex: none; margin-top: 1px; color: var(--app-success); }
.price-card__cta { display: flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 20px; border-radius: 18px; background: var(--app-fg); color: var(--app-bg); font-weight: 500; transition: opacity 150ms var(--ease), box-shadow 150ms var(--ease); }
.price-card__cta:hover { opacity: .91; box-shadow: 0 1px 2px oklch(0% 0 0 / .3); }
.price-card__cta:active { opacity: .84; }
.price-card__note { margin: 12px 0 0; color: var(--app-muted); font-size: 12px; text-align: center; text-wrap: pretty; }
.price-card--referral { display: grid; gap: 4px; margin-top: 16px; padding: 24px; }
.price-card--referral h3 { margin: 0; font: 500 14px/1.4 var(--app-font); letter-spacing: -.01em; text-wrap: balance; }
.price-card--referral p { margin: 0; color: var(--app-secondary); font-size: 13px; line-height: 1.5; text-wrap: pretty; }

.faq-list { width: 70%; margin-left: 30%; border-top: 1px solid var(--line-strong); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; gap: 25px; padding: 27px 0; cursor: pointer; list-style: none; font-size: 17px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary span { color: var(--faint); font-family: var(--mono); transition: transform 220ms var(--ease); }
.faq details[open] summary span { transform: rotate(45deg); }
.faq details p { max-width: 760px; padding: 0 60px 30px 0; color: var(--muted); font-size: 16px; line-height: 1.67; animation: faq-in 260ms var(--ease); }
@keyframes faq-in { from { opacity: 0; transform: translateY(-5px); } }

.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; padding-top: 72px; border-top: 1px solid var(--line); }
.contact-card { position: relative; display: grid; min-height: 520px; overflow: hidden; place-items: center; border-radius: 24px; text-align: center; }
.contact-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(35,24,43,.08), rgba(35,24,43,.2)); }
.contact-card > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(1.15) blur(.2px); transform: scale(1.04); }
.contact-card > div { position: relative; z-index: 1; max-width: 470px; padding: 40px; }
.contact-card h2 { color: var(--ink); font-size: 56px; line-height: 1; }
.contact-card p { margin-top: 24px; color: rgba(255,255,255,.78); font-size: 16px; line-height: 1.55; }
.contact-card .button { margin-top: 28px; }
.contact-form { display: flex; min-height: 520px; flex-direction: column; gap: 20px; padding: 32px; border: 1px solid var(--line); border-radius: 24px; background: var(--deep); }
.contact-form label { display: block; }
.contact-form input, .contact-form textarea { width: 100%; padding: 17px 20px; border: 1px solid transparent; border-radius: 12px; outline: none; color: var(--ink); background: var(--surface); font-family: var(--sans); font-size: 14px; resize: vertical; }
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--warm); }
.contact-form textarea { min-height: 150px; }
.contact-form .button { width: 100%; margin-top: auto; }
.contact-form .button span { padding-left: 18px; border-left: 1px solid rgba(43, 24, 10, .18); }
.contact-form small { color: var(--muted); font-size: 10px; }
.contact-form small a { text-decoration: underline; text-underline-offset: 3px; }
.form-status { min-height: 18px; margin: -8px 0 0; font-size: 12px; }
.form-status.is-pending { color: var(--muted); }
.form-status.is-success { color: #8fdaaa; }
.form-status.is-error { color: #ff9d9d; }
.contact-form button:disabled { cursor: wait; opacity: .65; }
.form-honeypot { position: absolute !important; left: -9999px !important; opacity: 0 !important; pointer-events: none !important; }

.review-initial, .video-story > div > span {
  font-family: var(--sans);
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
}
.review-initial, .video-story > div > span { color: rgba(250, 246, 242, .72); font-size: 12px; }

.site-footer { border-top: 1px solid var(--line-strong); background: var(--deep); }
.footer-cta { display: grid; grid-template-columns: 1fr 350px; gap: 60px; align-items: center; padding-block: 90px; border-bottom: 1px solid var(--line); }
.footer-cta h2 { color: var(--ink); font-family: var(--serif); font-size: 56px; line-height: 1.1; }
.footer-cta p { max-width: 520px; margin: 18px 0 30px; color: var(--muted); font-family: var(--serif); font-size: 25px; line-height: 1.3; }
.footer-cta > img { justify-self: end; width: 300px; max-height: 330px; object-fit: contain; }
.footer-links { display: grid; grid-template-columns: repeat(4, 1fr); gap: 50px; padding-block: 76px; }
.footer-links > div { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.footer-links h3 { margin: 0 0 12px; color: var(--warm); font-family: var(--serif); font-size: 27px; }
.footer-links h3:not(:first-child) { margin-top: 24px; }
.footer-links a { color: var(--muted); font-size: 12px; transition: color 160ms var(--ease); }
.footer-links a:hover { color: var(--ink); }
.footer-bottom { display: flex; justify-content: space-between; padding-block: 24px 36px; border-top: 1px solid var(--line); color: var(--faint); font-family: var(--serif); font-size: 16px; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity 720ms var(--ease), transform 720ms var(--ease); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 980px) {
  .site-header { grid-template-columns: 1fr auto; }
  .site-header > nav { display: none; }
  .mobile-menu-toggle { display: flex; }
  .mobile-menu:not([hidden]) { display: block; animation: mobile-menu-enter 200ms var(--ease) both; }
  .pricing, .contact { grid-template-columns: 1fr; gap: 70px; }
  .story-row { grid-template-columns: 1fr; gap: 48px; }
  .story-row--reverse .story-row__copy, .story-row--reverse .story-row__media { order: initial; }
  .review-band { grid-template-columns: 58px 1fr; }
  .review-band blockquote { grid-column: 1 / -1; }
  .review-band > span { text-align: left; }
  .science__intro { grid-template-columns: 1fr; }
  .science__intro > div { grid-column: auto; }
  .video-story { grid-template-columns: 1fr; }
  .feature-grid { height: 570px; }
  .feature { width: 210px; min-height: 230px; padding: 20px; gap: 18px; }
  .feature:nth-child(1), .feature:nth-child(6) { --arc-x: -310px; --arc-y: 40px; }
  .feature:nth-child(2), .feature:nth-child(7) { --arc-x: -155px; --arc-y: 13px; }
  .feature:nth-child(4), .feature:nth-child(9) { --arc-x: 155px; --arc-y: 13px; }
  .feature:nth-child(5), .feature:nth-child(10) { --arc-x: 310px; --arc-y: 40px; }
  .feature-grid:hover .feature:nth-child(1), .feature-grid:hover .feature:nth-child(6) { --arc-x: -330px; --arc-y: 34px; }
  .feature-grid:hover .feature:nth-child(2), .feature-grid:hover .feature:nth-child(7) { --arc-x: -165px; --arc-y: 8px; }
  .feature-grid:hover .feature:nth-child(4), .feature-grid:hover .feature:nth-child(9) { --arc-x: 165px; --arc-y: 8px; }
  .feature-grid:hover .feature:nth-child(5), .feature-grid:hover .feature:nth-child(10) { --arc-x: 330px; --arc-y: 34px; }
  .feature:nth-child(n + 6) { --arc-row: 290px; }
  .footer-cta { grid-template-columns: 1fr 260px; }
}

@media (max-width: 700px) {
  .shell { width: min(calc(100% - 30px), 1240px); }
  .section { padding-block: 76px; }
  .site-header { min-height: 62px; padding-inline: 15px; }
  .wordmark { font-size: 27px; }
  .wordmark img { width: 27px; height: 27px; }
  .site-header .button { min-height: 36px; padding-inline: 13px; font-size: 12px; }
  .hero { padding-top: 86px; }
  .hero h1 { font-size: clamp(54px, 15vw, 78px); }
  .trust-kicker { font-size: 14px; }
  .brand-film { margin-top: 65px; }
  .brand-film__screen { border-radius: 8px; }
  .brand-film__phone { right: 2%; bottom: -13%; width: clamp(118px, 34%, 210px); }
  .trust-row { padding-top: 104px; padding-bottom: 62px; }
  .trust-logos { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .trust-logos li { height: 72px; padding: 0 16px; }
  .trust-logos img { height: 26px; }
  .problem__copy h2 { font-size: 48px; }
  .problem { grid-template-columns: 1fr; gap: 54px; align-items: start; }
  .flower-film, .flower-film video { min-height: 320px; }
  .promise-strip { grid-template-columns: 1fr; }
  .promise-strip h3 { min-height: 160px; padding: 28px 0; }
  .promise-strip h3 + h3 { padding-left: 0; border-top: 1px solid var(--line); border-left: 0; }
  .quote { padding-block: 88px; }
  .quote blockquote { font-size: 38px; }
  .story-row { min-height: 0; padding-block: 72px; }
  .story-row__copy h3 { font-size: 44px; }
  .story-row__media, .story-row__media img { min-height: 320px; }
  .story-row__media--video { min-height: 0; }
  .review-band { padding-block: 48px; }
  .science__intro, .section-heading { grid-template-columns: 1fr; gap: 26px; }
  .science__intro > div { grid-column: auto; }
  h2 { font-size: 48px; }
  .science__image { width: 100%; }
  .science__image img { height: 270px; }
  .stats { grid-template-columns: 1fr; }
  .stats div, .stats div + div { min-height: 160px; padding: 30px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .mini-cta { align-items: flex-start; flex-direction: column; }
  .video-story h3 { font-size: 40px; }
  .features .section-heading { margin-bottom: 40px; }
  .feature-grid { display: grid; height: auto; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .feature { position: relative; top: auto; left: auto; width: auto; min-height: 230px; padding: 20px; gap: 18px; border-style: solid; border-radius: 14px; box-shadow: inset 0 1px rgba(255,255,255,.025); transform: none; }
  .feature h3 { font-size: 24px; }
  .feature p { font-size: 15px; }
  .feature-icon { width: 44px; height: 44px; flex-basis: 44px; }
  .comparison-grid { grid-template-columns: 1fr; }
  .compare-card { min-height: 480px; padding: 0 0 28px; }
  .compare-card h3 { margin: 14px 0; font-size: 42px; }
  .compare-card p { padding-inline: 22px; font-size: 16px; }
  .apps-art { height: 100%; }
  .aftertone-art { width: 142px; height: 142px; margin-top: 28px; }
  .pricing { gap: 52px; }
  .price-card { padding: 24px 20px; }
  .faq-list { width: 100%; margin-left: 0; }
  .contact { gap: 16px; padding-top: 48px; }
  .contact-card, .contact-form { min-height: 430px; }
  .contact-card h2 { font-size: 48px; }
  .contact-form { padding: 24px; }
  .footer-cta { grid-template-columns: 1fr; padding-block: 70px; }
  .footer-cta h2 { font-size: 48px; }
  .footer-cta > img { justify-self: start; width: 220px; }
  .footer-links { grid-template-columns: 1fr 1fr; gap: 50px 24px; }
  .footer-bottom { align-items: flex-start; flex-direction: column; gap: 10px; }
}

@media (max-width: 430px) {
  .site-header__actions > .button { display: none; }
  .hero h1 { font-size: 54px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature { min-height: 190px; }
  .footer-links { grid-template-columns: 1fr; gap: 42px; }
  .footer-links h3 { margin-bottom: 6px; }
}

@keyframes mobile-menu-enter { from { opacity: 0; transform: translateY(-8px) scale(.985); } to { opacity: 1; transform: translateY(0) scale(1); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
