
@font-face { font-family: "Instrument Serif"; font-style: normal; font-weight: 400; font-display: optional; src: url(/fonts/instrument-serif.woff2) format("woff2"); }
@font-face { font-family: "Instrument Serif"; font-style: italic; font-weight: 400; font-display: optional; src: url(/fonts/instrument-serif-italic.woff2) format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 300 800; font-display: optional; src: url(/fonts/inter-var.woff2) format("woff2"); }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 900; font-display: swap; src: url(/fonts/montserrat-black.woff2) format("woff2"); }
@font-face { font-family: "Playfair Display"; font-style: normal; font-weight: 700; font-display: swap; src: url(/fonts/playfair-display-bold.woff2) format("woff2"); }
@font-face { font-family: "Archivo Black"; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/archivo-black.woff2) format("woff2"); }

:root {
  color-scheme: light dark;
  --bg: #FCFBF9;
  --surface: #FFFFFF;
  --sunken: #F2F0EC;
  --text: #1D1F20;
  --muted: #6B7174;
  --line: rgba(29, 31, 32, 0.08);
  --primary: #4A36D5;
  --on-primary: #FFFFFF;
  --link: #4A36D5;
  --tint: #EEEBFF;
  --tint-2: #FFF2E9;
  --tint-3: #EAF6FF;
  --peach: #FFC9A6;
  --sky: #BBE1FF;
  --lilac: #DAD3FF;
  --band-bg: #1D1F20;
  --band-fg: #F6F6F4;
  --band-muted: #A9ADB0;
  --glass: rgba(255, 255, 255, 0.55);
  --glass-strong: rgba(255, 255, 255, 0.78);
  --glass-ring: rgba(255, 255, 255, 0.6);
  --button-bg: #1D1F20;
  --button-fg: #FFFFFF;
  --serif: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --font: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;
  --wrap: 74rem;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --radius-card: 2.25rem;
  --radius-tile: 1.25rem;
  --header: 4.75rem;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0C0C10;
    --surface: #15151B;
    --sunken: #1C1C24;
    --text: #F4F4F6;
    --muted: #A0A4AA;
    --line: rgba(244, 244, 246, 0.1);
    --primary: #6E5BFF;
    --link: #B3A7FF;
    --tint: #1B1930;
    --tint-2: #2A1E19;
    --tint-3: #16222E;
    --peach: #46291E;
    --sky: #17304A;
    --lilac: #272052;
    --band-bg: #15151B;
    --band-fg: #F4F4F6;
    --band-muted: #A0A4AA;
    --glass: rgba(18, 18, 24, 0.55);
    --glass-strong: rgba(18, 18, 24, 0.8);
    --glass-ring: rgba(255, 255, 255, 0.12);
    --button-bg: #F4F4F6;
    --button-fg: #0C0C10;
  }
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  position: relative; /* the washes are placed against the page, not the first screen */
  margin: 0;
  padding-top: var(--header);
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img, svg, video { display: block; max-width: 100%; }

a { color: var(--link); text-underline-offset: 0.18em; text-decoration-thickness: 0.07em; }
a:hover { text-decoration-thickness: 0.12em; }

:focus-visible { outline: 3px solid var(--link); outline-offset: 3px; border-radius: 0.25rem; }

/* Anchored sections land below the floating header. */
[id] { scroll-margin-top: calc(var(--header) + 0.5rem); }

h1, h2, h3 { margin: 0; line-height: 1.1; }
h1, h2 { font-family: var(--serif); font-weight: 400; letter-spacing: -0.01em; }
h3 { font-weight: 600; letter-spacing: -0.01em; }
p { margin: 0; }
button { font: inherit; color: inherit; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: 56rem; }

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  padding: 0.6rem 1rem;
  background: var(--surface);
  color: var(--text);
  border-radius: 0.6rem;
  z-index: 100;
}
.skip:focus { top: 1rem; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- Reveal on scroll (only once the script has run) ---------- */

.js .reveal { opacity: 0; transform: translateY(1rem); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1); }
@media (pointer: coarse) { .js .reveal { transform: none; transition: opacity 0.5s ease; } }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- Backdrop: the warm-to-cool wash under the hero and the footer ---------- */

.wash {
  position: absolute;
  left: 0;
  right: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
  background:
    radial-gradient(60% 60% at 8% 0%, var(--peach) 0%, transparent 70%),
    radial-gradient(55% 55% at 92% 12%, var(--sky) 0%, transparent 70%),
    radial-gradient(40% 40% at 55% 40%, var(--lilac) 0%, transparent 70%);
}
.wash-top { top: 0; height: min(110vh, 64rem); mask-image: linear-gradient(#000 45%, transparent 100%); -webkit-mask-image: linear-gradient(#000 45%, transparent 100%); }
.wash-bottom { bottom: 0; height: 36rem; transform: scaleY(-1); mask-image: linear-gradient(#000 30%, transparent 100%); -webkit-mask-image: linear-gradient(#000 30%, transparent 100%); }
/* Film grain over the whole page: a small tiled texture, cheap to paint. */
.grain {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: url(/media/grain.png) repeat;
  background-size: 128px 128px;
  opacity: 0.12;
  mix-blend-mode: multiply;
}
@media (prefers-color-scheme: dark) { .grain { mix-blend-mode: screen; opacity: 0.06; } }
.grain-defs { position: absolute; width: 0; height: 0; overflow: hidden; }

/* ---------- Header: a floating glass pill ---------- */

.site-header {
  position: fixed;
  top: 0.75rem;
  left: 0;
  right: 0;
  z-index: 50;
  padding-inline: var(--gutter);
  pointer-events: none;
}
.site-header .wrap {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 1rem;
  height: 3.5rem;
  padding-inline: 1.1rem 0.5rem;
  border-radius: 999px;
  background: var(--glass);
  -webkit-backdrop-filter: blur(24px) saturate(1.4);
  backdrop-filter: blur(24px) saturate(1.4);
  box-shadow:
    inset 0 0 0 1.5px var(--glass-ring),
    0 10px 30px rgba(0, 0, 0, 0.02),
    0 5px 10px rgba(0, 0, 0, 0.02),
    0 2px 6px rgba(0, 0, 0, 0.04);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}
.site-header.scrolled .wrap { background: var(--glass-strong); box-shadow: inset 0 0 0 1.5px var(--glass-ring), 0 12px 32px rgba(0, 0, 0, 0.08), 0 2px 6px rgba(0, 0, 0, 0.05); }

.brand { display: inline-flex; align-items: center; gap: 0.55rem; color: var(--text); text-decoration: none; }
.wordmark { font-weight: 650; font-size: 1rem; letter-spacing: -0.02em; }

.site-nav { margin-left: auto; display: flex; align-items: center; gap: 0.25rem; }
.site-nav a { color: var(--text); text-decoration: none; font-size: 0.9375rem; font-weight: 500; padding: 0.45rem 0.8rem; border-radius: 999px; transition: background 0.15s ease, color 0.15s ease; }
.site-nav a:hover { background: var(--line); }
.site-nav a[aria-current="page"] { color: var(--link); }
.site-nav .nav-account { display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem; min-height: 2.5rem; margin-left: 0.4rem; padding: 0.45rem 0.85rem; border: 1px solid var(--line); border-radius: 0.8rem; background: var(--surface); font-weight: 600; white-space: nowrap; }
.site-nav .nav-account svg { flex: none; width: 1.1rem; height: 1.1rem; color: var(--muted); }
.site-nav .nav-account:hover, .site-nav .nav-account[aria-current="page"] { background: var(--tint); border-color: var(--primary); color: var(--link); }
.site-nav .nav-account:active { transform: translateY(1px); }
.site-nav .nav-app { margin-left: 0.35rem; background: var(--button-bg); color: var(--button-fg); padding: 0.55rem 1.05rem; font-weight: 600; }
.site-nav .nav-app:hover { background: var(--primary); color: var(--on-primary); }

@media (max-width: 40rem) {
  .site-nav .nav-anchor { display: none; }
  .wordmark { display: none; }
  .site-header .wrap { -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
}
@media (max-width: 26rem) {
  .site-nav a { padding-inline: 0.65rem; }
  .site-nav .nav-account { margin-left: 0.15rem; padding-inline: 0.7rem; }
  .site-nav .nav-account svg { display: none; }
  .site-nav .nav-app { margin-left: 0.15rem; padding-inline: 0.8rem; }
}

/* ---------- Buttons ---------- */

.button, .button-outline, .store {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3rem;
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  line-height: 1.2;
  border: 0;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}
.button, .store { background: var(--button-bg); color: var(--button-fg); }
.button:hover, .store:hover { background: var(--primary); color: var(--on-primary); transform: translateY(-1px); }
.button-outline { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1.5px var(--text); }
.button-outline:hover { background: var(--text); color: var(--bg); transform: translateY(-1px); }
.button svg, .button-outline svg { width: 1.1rem; height: 1.1rem; }
/* Apple's badge: shown as it is, the same height as the other buttons. */
.store { padding: 0; background: none; border-radius: 0.5rem; min-height: 3rem; }
.store:hover { background: none; transform: translateY(-1px); }
.store img { height: 3rem; width: auto; }

/* ---------- Hero ---------- */

.hero { position: relative; padding-block: clamp(2.5rem, 7vw, 5.5rem) 0; text-align: center; }
.hero .wrap { display: grid; justify-items: center; gap: 1.25rem; }
.hero h1 { font-size: clamp(2.75rem, 7vw, 5.25rem); line-height: 1.02; max-width: 14ch; text-wrap: balance; }
.hero h1 em { font-style: italic; color: var(--primary); }
.hero .lede { font-size: clamp(1.0625rem, 1.5vw, 1.25rem); color: var(--muted); max-width: 36rem; text-wrap: pretty; }
.hero .cta { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 0.75rem 1rem; margin-top: 0.5rem; }
.hero .soon { display: inline-flex; align-items: center; gap: 0.45rem; min-height: 3rem; font-size: 0.875rem; color: var(--muted); padding: 0 1.1rem; border-radius: 999px; background: var(--glass); box-shadow: inset 0 0 0 1px var(--glass-ring); }
.hero .soon b { font-weight: 600; color: var(--text); }

/* The editor's door: a dropzone in the hero, like the app's Add video tile. */
.editor-box { width: min(100%, 44rem); margin-top: 1rem; padding: 0.6rem; border-radius: 1.75rem; background: var(--glass-strong); box-shadow: inset 0 0 0 1.5px var(--glass-ring), 0 20px 50px -30px rgba(29, 31, 32, 0.4); -webkit-backdrop-filter: blur(30px); backdrop-filter: blur(30px); text-align: center; }
.dropzone { position: relative; display: grid; gap: 0.35rem; justify-items: center; padding: clamp(1.5rem, 4vw, 2.5rem) 1.5rem; border-radius: 1.3rem; border: 1.5px dashed var(--line); background: var(--surface); cursor: pointer; transition: border-color 0.2s ease, background 0.2s ease; }
.dropzone:hover, .dropzone.over, .dropzone:focus-within { border-color: var(--primary); background: var(--tint); }
.dropzone input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.dropzone-icon { width: 3rem; height: 3rem; color: var(--primary); margin-bottom: 0.25rem; }
.dropzone-icon svg { width: 100%; height: 100%; }
.dropzone-title { font-weight: 600; font-size: 1.0625rem; }
.dropzone-note { font-size: 0.875rem; color: var(--muted); max-width: 30rem; text-wrap: pretty; }
.editor-box-bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.6rem 0.4rem 0.2rem; }
.editor-box-bar .button-outline { min-height: 2.5rem; padding: 0.4rem 1rem; font-size: 0.9375rem; }
.muted-note { font-size: 0.8125rem; color: var(--muted); }

/* ---------- Cookie choices ---------- */
.consent { position: fixed; left: var(--gutter, 1rem); right: var(--gutter, 1rem); bottom: 1rem; z-index: 60; max-width: 26rem; margin-inline: 0 auto; padding: 1rem 1.1rem; border-radius: 1.25rem; background: var(--surface); color: var(--text); box-shadow: 0 24px 60px -24px rgba(0, 0, 0, 0.45), 0 0 0 1px var(--line); font-size: 0.9375rem; display: grid; gap: 0.8rem; }
.consent[hidden] { display: none; }
.consent p { margin: 0; line-height: 1.5; }
.consent a { color: var(--link, var(--primary)); }
.consent-actions { display: flex; gap: 0.5rem; justify-content: flex-end; flex-wrap: wrap; }
.consent-actions button { font: inherit; font-weight: 600; font-size: 0.9375rem; padding: 0.55rem 1rem; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--text); cursor: pointer; }
.consent-actions .consent-allow { background: var(--primary); color: var(--on-primary, #fff); border-color: transparent; }
@media (max-width: 30rem) { .consent { left: 0.75rem; right: 0.75rem; bottom: 0.75rem; max-width: none; } }

/* The editor pages: no header, footer or washes; the app draws its own bar. */
body.app-page { padding-top: 0; }

/* The phone: the creator clip with the app's own caption frames over it. */
.stage { margin-top: clamp(2rem, 5vw, 3.5rem); display: grid; justify-items: center; gap: 1rem; }
.phone {
  position: relative;
  width: min(19rem, 68vw);
  aspect-ratio: 886 / 1920;
  border-radius: clamp(1.8rem, 6vw, 2.75rem);
  overflow: hidden;
  background: #101014;
  box-shadow:
    0 40px 80px -30px rgba(29, 31, 32, 0.45),
    0 12px 28px -12px rgba(29, 31, 32, 0.25),
    inset 0 0 0 1px rgba(255, 255, 255, 0.18);
  isolation: isolate;
}
.phone video, .phone .cap, .phone .poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.phone .cap { opacity: 0; transition: opacity 0.06s linear; pointer-events: none; }
.phone .cap.on { opacity: 1; }
/* Without the script the last word stays up, so the frame still reads as a caption. */
html:not(.js) .phone [data-word="5"] { opacity: 1; }
.phone[data-style]:not([data-style="pulse"]) [data-word] { opacity: 0 !important; }
.phone [data-style-overlay] { opacity: 0; }
.phone[data-style]:not([data-style="pulse"]) [data-style-overlay] { opacity: 1; }
.phone .label {
  position: absolute;
  left: 50%;
  bottom: 5%;
  transform: translateX(-50%);
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  white-space: nowrap;
}

.ai-note { font-size: 0.8125rem; color: var(--muted); text-align: center; padding-inline: var(--gutter); }

/* The style strip: sixteen of the app's styles on the same line. */
.styles-strip { width: 100%; max-width: var(--wrap); margin-inline: auto; margin-top: 1.5rem; }
.styles-strip h2 { font-family: var(--font); font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin: 0; text-align: center; }
.styles {
  display: flex;
  gap: 0.75rem;
  margin: 0;
  padding: 0.5rem var(--gutter) 1.25rem;
  list-style: none;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  scroll-padding-inline: var(--gutter);
}
.styles::-webkit-scrollbar { display: none; }
.styles li { flex: 0 0 auto; scroll-snap-align: center; }
.style-card {
  display: grid;
  gap: 0.5rem;
  justify-items: center;
  width: 7.5rem;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--muted);
}
.style-card .thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 886 / 1920;
  border-radius: 1rem;
  overflow: hidden;
  background: #101014;
  box-shadow: 0 0 0 1.5px var(--line), 0 10px 24px -14px rgba(29, 31, 32, 0.5);
  transition: transform 0.25s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.25s ease;
}
.style-card .thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.style-card:hover .thumb { transform: translateY(-3px); }
.style-card[aria-pressed="true"] { color: var(--text); }
.style-card[aria-pressed="true"] .thumb { box-shadow: 0 0 0 2.5px var(--primary), 0 12px 28px -14px rgba(29, 31, 32, 0.5); }
@media (max-width: 40rem) { .style-card { width: 6rem; } }

/* ---------- Sections ---------- */

.block { padding-block: clamp(4rem, 9vw, 7.5rem) 0; }
.block:last-of-type { padding-bottom: clamp(4rem, 9vw, 7.5rem); }
.block-head { text-align: center; max-width: 44rem; margin: 0 auto clamp(2rem, 4vw, 3.25rem); }
.block-head h2 { font-size: clamp(2.1rem, 4.6vw, 3.25rem); text-wrap: balance; }
.block-head p { margin-top: 0.9rem; color: var(--muted); font-size: 1.0625rem; text-wrap: pretty; }
.block-head.left { text-align: left; margin-inline: 0; }

/* ---------- Image + text list (the "made for the phone" section) ---------- */

.split { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
@media (max-width: 52rem) { .split { grid-template-columns: 1fr; } }
.split h2 { font-size: clamp(2.1rem, 4.6vw, 3.25rem); margin-bottom: 1.5rem; text-wrap: balance; }
.list { list-style: none; margin: 0; padding: 0; display: grid; }
.list li { padding-block: 1.25rem; border-top: 1px solid var(--line); }
.list li:last-child { border-bottom: 1px solid var(--line); }
.list h3 { font-size: 1.25rem; margin-bottom: 0.35rem; }
.list p { color: var(--muted); font-size: 1rem; }

.card {
  position: relative;
  border-radius: var(--radius-card);
  background: linear-gradient(180deg, var(--tint) 0%, var(--tint-3) 100%);
  padding: clamp(1.5rem, 4vw, 3rem);
  display: grid;
  place-items: center;
  overflow: hidden;
}
.card-peach { background: linear-gradient(180deg, var(--tint-2) 0%, var(--tint) 100%); }
.card .phone { width: min(17rem, 60vw); box-shadow: 0 30px 60px -30px rgba(29, 31, 32, 0.5), inset 0 0 0 1px rgba(255, 255, 255, 0.2); }

/* ---------- Two feature cards ---------- */

.duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
@media (max-width: 46rem) { .duo { grid-template-columns: 1fr; } }
.feature { display: grid; grid-template-rows: auto 1fr; gap: 0; border-radius: var(--radius-card); background: var(--tint); overflow: hidden; }
.feature-peach { background: var(--tint-2); }
.feature .demo { min-height: 17rem; display: grid; place-items: center; padding: clamp(1.5rem, 4vw, 2.5rem); }
.feature .text { padding: 0 clamp(1.5rem, 4vw, 2.5rem) clamp(1.5rem, 4vw, 2.5rem); }
.feature h3 { font-size: 1.35rem; margin-bottom: 0.4rem; }
.feature p { color: var(--muted); font-size: 1rem; }

/* The transcript demo: a word corrected, its timing nudged. */
.demo-edit { width: min(100%, 22rem); background: var(--surface); border-radius: var(--radius-tile); padding: 1.25rem 1.4rem; display: grid; gap: 0.9rem; box-shadow: 0 20px 40px -24px rgba(29, 31, 32, 0.35); }
.demo-edit .line { font-size: 1.1rem; line-height: 1.9; }
.demo-edit del { color: var(--muted); text-decoration-thickness: 0.1em; }
.demo-edit ins { text-decoration: none; background: var(--tint); color: var(--text); padding: 0.1em 0.4em; border-radius: 0.4em; box-shadow: inset 0 -2px 0 var(--primary); }
.demo-edit .timing { display: flex; gap: 0.3rem; align-items: center; }
.demo-edit .timing span { height: 0.5rem; border-radius: 999px; background: var(--line); flex: 1; }
.demo-edit .timing .on { background: var(--primary); flex: 1.4; }

/* The translation demo: one line in two languages. */
.demo-translate { width: min(100%, 20rem); display: grid; gap: 0.6rem; justify-items: center; text-align: center; }
.demo-translate .langs { display: flex; gap: 0.4rem; font-size: 0.75rem; color: var(--muted); }
.demo-translate .langs span { border: 1px solid var(--line); background: var(--surface); border-radius: 999px; padding: 0.15rem 0.6rem; }
.demo-translate .src { font-family: "Montserrat", var(--font); font-weight: 900; text-transform: uppercase; font-size: 1.35rem; letter-spacing: -0.01em; color: var(--text); }
.demo-translate .src b { color: #FFE14D; -webkit-text-stroke: 1px #000; paint-order: stroke fill; font-weight: 900; }
.demo-translate .dst { font-family: "Playfair Display", var(--serif); font-weight: 700; font-size: 1.15rem; color: var(--primary); }

/* ---------- Feature grid ---------- */

.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.5rem 2rem; }
@media (max-width: 56rem) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 36rem) { .grid { grid-template-columns: 1fr; gap: 1.75rem; } }
.grid article { display: grid; grid-template-columns: 2.75rem 1fr; gap: 1rem; align-items: start; }
.grid .icon { width: 2.75rem; height: 2.75rem; border-radius: 0.85rem; background: var(--tint); display: grid; place-items: center; color: var(--primary); }
.grid .icon svg { width: 1.35rem; height: 1.35rem; }
.grid h3 { font-size: 1.0625rem; margin-bottom: 0.25rem; }
.grid p { color: var(--muted); font-size: 0.9375rem; }

/* ---------- Same clip, three styles ---------- */

.trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; justify-items: center; }
@media (max-width: 46rem) { .trio { grid-template-columns: 1fr; } }
.trio figure { margin: 0; display: grid; gap: 0.85rem; justify-items: center; }
.trio .phone { width: min(16rem, 70vw); }
.trio figcaption { font-weight: 500; }
.trio figcaption span { display: block; color: var(--muted); font-size: 0.875rem; font-weight: 400; }

/* Captions drawn by the page, in three of the app's styles. The spoken word is .on. */
.captions {
  position: absolute;
  left: 7%;
  right: 7%;
  top: 56%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.1em 0.22em;
  text-align: center;
  line-height: 1.08;
  pointer-events: none;
}
.captions .cw { display: inline-block; transition: transform 0.12s ease, color 0.12s ease, background 0.12s ease; }
.cap-pulse { font-family: "Montserrat", var(--font); font-weight: 900; font-size: 1.55rem; text-transform: uppercase; letter-spacing: -0.01em; color: #fff; -webkit-text-stroke: 0.06em #000; paint-order: stroke fill; text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6); }
.cap-pulse .cw.on { color: #FFE14D; transform: scale(1.1); }
.cap-marquee { font-family: "Montserrat", var(--font); font-weight: 900; font-size: 1.35rem; text-transform: uppercase; color: #fff; text-shadow: 0 1.5px 6px rgba(0, 0, 0, 0.75); gap: 0.15em 0.3em; }
.cap-marquee .cw { padding: 0.04em 0.24em; border-radius: 0.3em; }
.cap-marquee .cw.on { background: #FFE14D; color: #000; text-shadow: none; }
.cap-vellum { font-family: "Playfair Display", var(--serif); font-weight: 700; font-size: 1.35rem; color: #FBF5E9; text-shadow: 0 1px 8px rgba(0, 0, 0, 0.8); gap: 0.1em 0.28em; }
.cap-vellum .cw { opacity: 0.55; transition: opacity 0.25s ease; }
.cap-vellum .cw.on { opacity: 1; }
@media (max-width: 46rem) { .cap-pulse { font-size: 1.7rem; } .cap-marquee, .cap-vellum { font-size: 1.45rem; } }

/* ---------- Numbers ---------- */

.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; text-align: center; }
@media (max-width: 46rem) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.stats strong { display: block; font-family: var(--serif); font-weight: 400; font-size: clamp(2.5rem, 5vw, 3.5rem); line-height: 1; letter-spacing: -0.01em; }
.stats span { display: block; margin-top: 0.5rem; color: var(--muted); font-size: 0.9375rem; }

/* ---------- Privacy band ---------- */

.band { background: var(--band-bg); color: var(--band-fg); border-radius: var(--radius-card); padding: clamp(2rem, 5vw, 3.5rem); display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 2rem 3rem; align-items: start; }
@media (max-width: 46rem) { .band { grid-template-columns: 1fr; } }
.band h2 { font-size: clamp(2rem, 4.2vw, 3rem); text-wrap: balance; }
.band p { color: var(--band-muted); margin-top: 1rem; font-size: 1.0625rem; }
.band a { color: #C9C0FF; }
.facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.1rem; }
.facts li { display: grid; grid-template-columns: 1.5rem 1fr; gap: 0.75rem; }
.facts svg { width: 1.5rem; height: 1.5rem; margin-top: 0.1rem; }
.facts strong { display: block; }
.facts span { color: var(--band-muted); font-size: 0.9375rem; }

/* ---------- Pricing ---------- */

.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; align-items: stretch; }
@media (max-width: 60rem) { .plans { grid-template-columns: 1fr; max-width: 32rem; margin-inline: auto; } }
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-card); padding: clamp(1.5rem, 3vw, 2rem); display: flex; flex-direction: column; gap: 1rem; }
.plan-pro { background: var(--tint); border-color: transparent; }
.plan h3 { font-size: 1.1rem; }
.price { font-family: var(--serif); font-size: 3rem; font-weight: 400; line-height: 1; letter-spacing: -0.01em; }
.price small { font-family: var(--font); font-size: 1rem; font-weight: 500; letter-spacing: 0; color: var(--muted); }
.plan .alt { color: var(--muted); font-size: 0.9375rem; margin-top: -0.4rem; }
.plan ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 0.55rem; }
.plan li { padding-left: 1.6rem; position: relative; }
.plan li::before { content: ""; position: absolute; left: 0.15rem; top: 0.55em; width: 0.7rem; height: 0.38rem; border-left: 2px solid var(--primary); border-bottom: 2px solid var(--primary); transform: rotate(-45deg); }
.plan .fine { color: var(--muted); font-size: 0.875rem; margin-top: auto; }
.plan-packs { gap: 1.25rem; }
.plan-packs .alt { line-height: 1.6; }
.plan-packs .packs { display: grid; gap: 0.625rem; }
.plan-packs .pack-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 0.75rem; min-width: 0; padding: 0.95rem 1rem; border-radius: 1rem; border: 1px solid var(--line); background: var(--bg); color: var(--text); text-decoration: none; transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease; }
.plan-packs .pack-row:hover { border-color: var(--primary); background: var(--tint); transform: translateY(-1px); }
.plan-packs .pack-row:active { transform: translateY(0); }
.plan-packs .pack-row-popular { background: var(--tint); border-color: var(--primary); }
.plan-packs .pack-name { display: grid; min-width: 0; gap: 0.15rem; line-height: 1.4; }
.plan-packs .pack-name strong { font-size: 1rem; font-weight: 600; letter-spacing: -0.02em; }
.plan-packs .pack-name small { color: var(--muted); font-weight: 400; font-size: 0.75rem; }
.plan-packs .pack-badge { width: fit-content; margin-bottom: 0.15rem; color: var(--link); font-size: 0.6875rem; font-weight: 600; }
.plan-packs .pack-price { display: grid; justify-items: end; gap: 0.35rem; font-size: 1.1875rem; font-weight: 600; font-variant-numeric: tabular-nums; letter-spacing: -0.03em; line-height: 1.2; white-space: nowrap; }
.plan-packs .pack-buy { display: inline-flex; align-items: center; gap: 0.3rem; color: var(--muted); font-size: 0.75rem; font-weight: 500; letter-spacing: 0; }
.plan-packs .pack-row-popular .pack-buy { padding: 0.35rem 0.65rem; border-radius: 0.5rem; background: var(--primary); color: var(--on-primary); }
.plan-packs .pack-row:hover .pack-buy { color: var(--link); }
.plan-packs .pack-row-popular:hover .pack-buy { color: var(--on-primary); }
.plan-packs .fine { line-height: 1.6; }
@media (prefers-reduced-motion: reduce) { .plan-packs .pack-row { transition: none; } }
.pricing-note { margin: 1.5rem auto 0; color: var(--muted); font-size: 0.9375rem; max-width: 46rem; text-align: center; }

/* ---------- Closing call ---------- */

.closing { position: relative; text-align: center; padding-block: clamp(5rem, 12vw, 9rem); }
.closing h2 { font-size: clamp(2.75rem, 7vw, 5rem); line-height: 1; }
.closing p { margin: 1.25rem auto 0; color: var(--muted); max-width: 32rem; text-wrap: pretty; }
.closing .cta { margin-top: 2rem; display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem; }

/* ---------- FAQ ---------- */

.faq { border-top: 1px solid var(--line); max-width: 46rem; margin-inline: auto; }
.faq details { border-bottom: 1px solid var(--line); interpolate-size: allow-keywords; }
.faq summary { list-style: none; cursor: pointer; padding: 1.25rem 2.5rem 1.25rem 0; font-weight: 500; font-size: 1.125rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before, .faq summary::after { content: ""; position: absolute; right: 0.4rem; top: 50%; width: 0.9rem; height: 1.5px; background: var(--muted); transform: translateY(-50%); transition: transform 0.25s ease; }
.faq summary::after { transform: translateY(-50%) rotate(90deg); }
.faq details[open] summary::after { transform: translateY(-50%) rotate(0deg); }
.faq .answer { padding: 0 0 1.4rem; color: var(--muted); display: grid; gap: 0.75rem; }
.faq .answer ul, .faq .answer ol { margin: 0; padding-left: 1.25rem; display: grid; gap: 0.35rem; }
.faq .answer strong { color: var(--text); }
.faq details::details-content { block-size: 0; overflow-y: clip; transition: block-size 0.3s ease, content-visibility 0.3s allow-discrete; }
.faq details[open]::details-content { block-size: auto; }
.more { margin-top: 1.5rem; text-align: center; }
@media (prefers-reduced-motion: reduce) { .faq summary::before, .faq summary::after, .faq details::details-content { transition: none; } }

/* ---------- Help center ---------- */

.page-head { position: relative; padding-block: clamp(2rem, 6vw, 4.5rem) clamp(1.5rem, 4vw, 2.5rem); }
.page-head h1 { font-size: clamp(2.6rem, 6vw, 4.25rem); }
.page-head .lede { margin-top: 1rem; color: var(--muted); font-size: 1.1875rem; max-width: 38rem; }

.topics { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.75rem; padding: 0; list-style: none; }
.topics a { display: inline-block; padding: 0.45rem 0.95rem; border-radius: 999px; background: var(--glass); box-shadow: inset 0 0 0 1px var(--glass-ring); color: var(--text); text-decoration: none; font-size: 0.9375rem; }
.topics a:hover { background: var(--surface); color: var(--link); }

.help-section { padding-block: 1.5rem 2rem; scroll-margin-top: calc(var(--header) + 1rem); }
.help-section h2 { font-size: 1.9rem; margin-bottom: 0.75rem; }

.contact { margin-block: 2.5rem 4rem; background: var(--tint); border-radius: var(--radius-card); padding: clamp(1.5rem, 4vw, 2.5rem); max-width: 46rem; display: grid; gap: 0.9rem; justify-items: start; }
.contact h2 { font-size: 1.9rem; }
.contact p { color: var(--muted); }

/* ---------- Legal documents ---------- */

.doc { max-width: 46rem; padding-bottom: 4rem; }
.doc .updated { margin-top: 0.9rem; color: var(--muted); font-size: 0.9375rem; }
.doc .summary { margin-top: 1.75rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-tile); padding: 1.25rem 1.5rem; }
.doc .summary h2 { font-family: var(--font); font-weight: 600; font-size: 1.1rem; margin: 0 0 0.6rem; }
.doc .summary ul { margin: 0; padding-left: 1.2rem; display: grid; gap: 0.4rem; }
.toc { margin-top: 1.75rem; }
.toc h2 { font-family: var(--font); font-size: 1rem; font-weight: 600; margin-bottom: 0.5rem; }
.doc .toc ol { margin: 0; padding: 0; list-style: none; columns: 2 16rem; column-gap: 2rem; }
.doc .toc li { break-inside: avoid; margin: 0; padding-block: 0.15rem; }
.doc section { scroll-margin-top: calc(var(--header) + 1rem); }
.doc section > h2 { font-size: 1.75rem; margin: 2.75rem 0 0.9rem; }
.doc h3 { font-size: 1.1rem; margin: 1.6rem 0 0.5rem; }
.doc p { margin-block: 0 0.9rem; }
.doc ul, .doc ol { margin: 0 0 0.9rem; padding-left: 1.3rem; }
.doc li { margin-bottom: 0.4rem; }
.doc .caps { font-size: 0.9375rem; }
.table-scroll { overflow-x: auto; margin: 0 0 1rem; }
.doc table { border-collapse: collapse; width: 100%; font-size: 0.9375rem; min-width: 32rem; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 0.65rem 0.75rem 0.65rem 0; border-bottom: 1px solid var(--line); }
.doc th { font-weight: 600; }
.doc address { font-style: normal; }

.doc .index { list-style: none; margin: 1rem 0 0; padding: 0; display: grid; gap: 1rem; }
.doc .index li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-tile); padding: 1.25rem 1.5rem; margin: 0; }
.index h2 { font-family: var(--font); font-weight: 600; font-size: 1.2rem; margin: 0 0 0.35rem; }
.index p { color: var(--muted); margin: 0; }

/* ---------- 404 ---------- */

.lost { position: relative; padding-block: clamp(4rem, 12vw, 9rem); max-width: 40rem; }
.lost h1 { font-size: clamp(2.6rem, 6vw, 4.25rem); }
.lost p { margin-top: 1rem; color: var(--muted); font-size: 1.125rem; }
.lost .links { margin-top: 2rem; display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; }

/* ---------- Footer ---------- */

.site-footer { position: relative; padding-block: 3.5rem 2.5rem; margin-top: 2rem; font-size: 0.9375rem; }
.site-footer .wrap { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 2rem; }
@media (max-width: 46rem) { .site-footer .wrap { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
.footer-brand .wordmark { display: inline; }
.footer-brand p { color: var(--muted); margin-top: 0.75rem; max-width: 18rem; }
.site-footer h2 { font-family: var(--font); font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.75rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.5rem; }
.site-footer a { color: var(--text); text-decoration: none; }
.site-footer a:hover { color: var(--link); text-decoration: underline; }
.copyright { grid-column: 1 / -1; color: var(--muted); font-size: 0.875rem; border-top: 1px solid var(--line); padding-top: 1.5rem; margin-top: 0.5rem; }
