/* Chatvok web. One token set; every page imports this file and nothing else.
   Roles: --ink is text and primary actions; --sky is anything that is sound or listening
   (waveforms, listener dots, progress); --glow (tangerine) is the single main action on a screen. */
:root {
  color-scheme: dark;

  --bg: #0b1426;          /* canvas */
  --bg-2: #101c34;        /* inputs, quiet bands */
  --surface: #14213d;     /* the brand navy, for the one raised panel on a page */
  --line: rgba(206, 222, 255, 0.11);
  --line-2: rgba(206, 222, 255, 0.2);

  --ink: #f3f6fd;
  --ink-2: rgba(243, 246, 253, 0.7);
  --ink-3: rgba(243, 246, 253, 0.5);

  --sky: #9ec2ff;
  --sky-dim: rgba(158, 194, 255, 0.16);
  --glow: #ff8a3d;
  --on-glow: #14213d;

  --serif: 'Fraunces', 'Iowan Old Style', Georgia, serif;
  --sans: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --mono: 'Geist Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  --r-lg: 28px;
  --r-md: 16px;
  --r-pill: 999px;
  --sh: 0 1px 1px rgba(0, 0, 0, 0.25), 0 24px 64px -24px rgba(0, 0, 0, 0.6);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --gutter: max(20px, env(safe-area-inset-left, 0px));
  --gutter-r: max(20px, env(safe-area-inset-right, 0px));
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration-color: var(--line-2); text-underline-offset: 3px; }
a:hover { text-decoration-color: currentColor; }
img, svg { display: block; max-width: 100%; }
::selection { background: var(--sky); color: var(--surface); }
:focus-visible { outline: 2px solid var(--sky); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter-r); }
.narrow { max-width: 760px; }

/* type roles */
.display {
  font-family: var(--serif);
  font-weight: 340;
  font-optical-sizing: auto;
  letter-spacing: -0.035em;
  line-height: 0.94;
  margin: 0;
  text-wrap: balance;
}
.display em { font-style: italic; font-weight: 300; color: var(--sky); letter-spacing: -0.03em; }
.h2 { font-family: var(--serif); font-weight: 360; font-size: clamp(36px, 5.4vw, 64px); line-height: 1.02; letter-spacing: -0.03em; margin: 0; text-wrap: balance; }
.h3 { font-family: var(--serif); font-weight: 420; font-size: 22px; line-height: 1.25; letter-spacing: -0.01em; margin: 0; }
.lede { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.55; color: var(--ink-2); margin: 0; max-width: 34em; text-wrap: pretty; }
.body { color: var(--ink-2); margin: 0; max-width: 62ch; text-wrap: pretty; }
.meta { font-family: var(--mono); font-size: 12px; line-height: 1.4; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); }
.num { font-family: var(--mono); font-variant-numeric: tabular-nums; }

/* nav */
.nav { position: sticky; top: 0; z-index: 20; background: rgba(11, 20, 38, 0.82); backdrop-filter: saturate(140%) blur(14px); -webkit-backdrop-filter: saturate(140%) blur(14px); border-bottom: 1px solid transparent; transition: border-color 0.3s var(--ease); padding-top: env(safe-area-inset-top, 0px); }
.nav.scrolled { border-bottom-color: var(--line); }
.nav .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--serif); font-weight: 450; font-size: 22px; letter-spacing: -0.02em; }
.brand svg { width: 28px; height: 28px; border-radius: 8px; }
.nav-links { display: flex; align-items: center; gap: 28px; font-size: 15px; color: var(--ink-2); }
.nav-links a { text-decoration: none; transition: color 0.2s var(--ease); }
.nav-links a:hover { color: var(--ink); }
@media (max-width: 720px) { .nav-links .hide-sm { display: none; } }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px; border-radius: var(--r-pill); font: 600 15px/1 var(--sans); letter-spacing: -0.005em; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: transform 0.2s var(--ease), background-color 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease); white-space: nowrap; }
.btn:active { transform: scale(0.98); }
.btn-glow { background: var(--glow); color: var(--on-glow); }
.btn-glow:hover { background: #ff9a57; }
.btn-ink { background: var(--ink); color: var(--surface); }
.btn-ink:hover { background: #ffffff; }
.btn-ghost { border-color: var(--line-2); color: var(--ink); background: transparent; }
.btn-ghost:hover { border-color: var(--ink-3); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 14px; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; color: var(--ink-2); text-decoration: none; font-size: 15px; }
.link-arrow:hover { color: var(--ink); }
.link-arrow svg { width: 16px; height: 16px; transition: transform 0.25s var(--ease); }
.link-arrow:hover svg { transform: translateY(2px); }

/* sections */
.section { padding: clamp(88px, 10vw, 136px) 0; border-top: 1px solid var(--line); }
.section-head { display: grid; gap: 22px; margin-bottom: clamp(48px, 6vw, 80px); }

/* cinematic hero (home). Without scripts, or with reduced motion, it is a plain stacked layout.
   With scripts it pins to the screen and cine.js plays it as you scroll: the card rises, opens into the
   app, then pulls back to reveal the call to action. */
.cine {
  --nav-h: calc(68px + env(safe-area-inset-top, 0px));
  --s: 1; /* phone scale; cine.js fits it to the screen */
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: clamp(48px, 7vw, 96px) 0 clamp(80px, 9vw, 128px);
}
@media (max-width: 899px) { .cine { --s: 0.72; } }
@media (max-width: 520px) { .cine { --s: 0.62; } }
.cine-gridbg {
  position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: 0.7;
  background-size: 64px 64px;
  background-image: linear-gradient(to right, var(--line) 1px, transparent 1px), linear-gradient(to bottom, var(--line) 1px, transparent 1px);
  -webkit-mask-image: radial-gradient(ellipse at 50% 38%, #000 0%, transparent 68%);
  mask-image: radial-gradient(ellipse at 50% 38%, #000 0%, transparent 68%);
}
.cine-grain {
  position: absolute; inset: 0; z-index: 6; pointer-events: none; opacity: 0.05; mix-blend-mode: overlay;
  background: url("data:image/svg+xml;utf8,<svg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
.cine-words { position: relative; z-index: 1; text-align: center; padding: 0 var(--gutter-r) 0 var(--gutter); }
.cine-title { font-size: clamp(64px, 12.5vw, 188px); }
.cine-title .cine-l1, .cine-title .cine-l2 { display: block; }
/* room for the italic overhang and ascenders, so the reveal wipe never clips a letter */
.cine-title .cine-l2 { padding: 0.1em 0.12em 0.14em; margin: -0.1em -0.12em -0.14em; }
.cine-sub { margin: 30px auto 0; text-align: center; }
.cine-hint { display: none; }

.cine-stage { position: relative; z-index: 2; margin-top: clamp(56px, 7vw, 96px); padding: 0 var(--gutter-r) 0 var(--gutter); }
.cine-card {
  position: relative; margin: 0 auto; max-width: 1180px; overflow: hidden; border-radius: 40px;
  background: linear-gradient(145deg, #1b2c55 0%, #0f1a33 55%, #0a1222 100%);
  border: 1px solid rgba(206, 222, 255, 0.06);
  box-shadow: 0 40px 100px -20px rgba(0, 0, 0, 0.85), 0 20px 40px -20px rgba(0, 0, 0, 0.7),
    inset 0 1px 1px rgba(255, 255, 255, 0.14), inset 0 -2px 4px rgba(0, 0, 0, 0.6);
}
.cine-sheen {
  position: absolute; inset: 0; z-index: 3; pointer-events: none; border-radius: inherit;
  background: radial-gradient(720px circle at var(--mx, 50%) var(--my, 30%), rgba(158, 194, 255, 0.085) 0%, transparent 42%);
}
.cine-grid {
  position: relative; z-index: 2; width: 100%; height: 100%; max-width: 1180px; margin: 0 auto;
  display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 24px 48px;
  padding: clamp(36px, 5vw, 56px) clamp(24px, 4vw, 56px);
}
.cine-brand { text-align: right; }
.cine-brand span {
  font-family: var(--serif); font-weight: 330; font-size: clamp(52px, 6.4vw, 112px); line-height: 0.9; letter-spacing: -0.045em;
  color: var(--ink); text-shadow: 0 14px 30px rgba(0, 0, 0, 0.55), 0 3px 6px rgba(0, 0, 0, 0.4);
}
.cine-h { font-family: var(--serif); font-weight: 360; font-size: clamp(32px, 3.4vw, 48px); line-height: 1.04; letter-spacing: -0.028em; margin: 0 0 16px; }
.cine-copy p { margin: 0; color: var(--ink-2); font-size: clamp(15px, 1.2vw, 18px); line-height: 1.6; max-width: 26em; text-wrap: pretty; }
@media (max-width: 899px) {
  .cine-grid { display: flex; flex-direction: column; justify-content: space-evenly; text-align: center; gap: 28px; }
  .cine-brand { order: 1; text-align: center; }
  .cine-device { order: 2; }
  .cine-copy { order: 3; }
  .cine-copy p { margin: 0 auto; }
  .cine-brand span { font-size: clamp(48px, 13vw, 84px); }
}
@media (max-width: 520px) { .cine-copy p { display: none; } .cine-h { margin: 0; } }

/* the phone: a 280 x 580 device drawn at --s */
.cine-device { position: relative; flex: none; width: calc(280px * var(--s)); height: calc(580px * var(--s)); margin: 0 auto; perspective: 1000px; }
.cine-scale { position: absolute; top: 0; left: 0; width: 280px; height: 580px; transform: scale(var(--s)); transform-origin: 0 0; }
.cine-phone {
  position: absolute; inset: 0; border-radius: 48px; background: #0d1018; transform-style: preserve-3d; will-change: transform;
  box-shadow: inset 0 0 0 2px #4a5468, inset 0 0 0 7px #000, 0 40px 80px -15px rgba(0, 0, 0, 0.9), 0 15px 25px -5px rgba(0, 0, 0, 0.7);
}
.cine-phone .hw { position: absolute; width: 3px; border-radius: 3px 0 0 3px; background: linear-gradient(90deg, #4a5262 0%, #1a1e27 100%); }
.hw-1 { top: 120px; left: -3px; height: 25px; }
.hw-2 { top: 160px; left: -3px; height: 45px; }
.hw-3 { top: 220px; left: -3px; height: 45px; }
.hw-4 { top: 170px; right: -3px; height: 70px; border-radius: 0 3px 3px 0 !important; }
.cine-screen { position: absolute; inset: 7px; overflow: hidden; border-radius: 41px; background: #08101f; box-shadow: inset 0 0 15px #000; }
.cine-glare { position: absolute; inset: 0; z-index: 4; pointer-events: none; background: linear-gradient(110deg, rgba(255, 255, 255, 0.07) 0%, rgba(255, 255, 255, 0) 45%); }
.cine-island { position: absolute; z-index: 5; top: 6px; left: 50%; width: 100px; height: 28px; margin-left: -50px; border-radius: 99px; background: #000; display: flex; align-items: center; justify-content: flex-end; padding: 0 12px; }
.cine-island i { width: 6px; height: 6px; border-radius: 50%; background: var(--glow); box-shadow: 0 0 8px rgba(255, 138, 61, 0.85); animation: cine-pulse 1.6s ease-in-out infinite; }
@keyframes cine-pulse { 50% { opacity: 0.35; } }
.cine-app { position: absolute; inset: 0; display: flex; flex-direction: column; gap: 14px; padding: 50px 18px 26px; text-align: left; }
.cine-top .meta { display: block; font-size: 9px; letter-spacing: 0.16em; }
.cine-top b { display: block; margin-top: 6px; font-family: var(--serif); font-weight: 400; font-size: 20px; line-height: 1.15; letter-spacing: -0.012em; color: var(--ink); }
.cine-ring { position: relative; width: 150px; height: 150px; margin: 2px auto 0; display: grid; place-items: center; text-align: center; }
.cine-ring svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.cine-ring .track { stroke: rgba(158, 194, 255, 0.1); }
.cine-arc { stroke: var(--sky); stroke-linecap: round; stroke-dasharray: 402; stroke-dashoffset: 241; transform: rotate(-90deg); transform-origin: center; }
.cine-count { display: block; font-family: var(--mono); font-weight: 500; font-size: 32px; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; color: var(--ink); }
.cine-ring .meta { display: block; margin-top: 2px; font-size: 8.5px; }
.cine-caps { margin: 0; min-height: 4.3em; font-family: var(--serif); font-weight: 380; font-size: 15px; line-height: 1.42; color: var(--ink); }
.cine-live .cine-caps span { color: rgba(243, 246, 253, 0.26); transition: color 0.25s var(--ease); }
.cine-live .cine-caps span.on { color: var(--ink); }
.cine-row {
  display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 16px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045) 0%, rgba(255, 255, 255, 0.012) 100%);
  border: 1px solid rgba(255, 255, 255, 0.035);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3), inset 0 1px 1px rgba(255, 255, 255, 0.05), inset 0 -1px 1px rgba(0, 0, 0, 0.5);
}
.cine-row .ic, .cine-badge .ic { flex: none; display: grid; place-items: center; color: var(--sky); background: rgba(158, 194, 255, 0.1); border: 1px solid rgba(158, 194, 255, 0.2); }
.cine-row .ic { width: 34px; height: 34px; border-radius: 10px; }
.cine-row .ic svg { width: 16px; height: 16px; }
.cine-row b, .cine-badge b { display: block; font-size: 12px; font-weight: 600; line-height: 1.3; color: var(--ink); }
.cine-row div span, .cine-badge div span { display: block; font-size: 11px; line-height: 1.35; color: var(--ink-3); }
.cine-home { position: absolute; bottom: 8px; left: 50%; width: 120px; height: 4px; margin-left: -60px; border-radius: 99px; background: rgba(255, 255, 255, 0.22); }

/* glass notices floating off the phone */
.cine-badge {
  position: absolute; z-index: 6; display: flex; align-items: center; gap: 12px; padding: 12px 18px 12px 12px; border-radius: 18px; white-space: nowrap;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.02) 100%);
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1), 0 25px 50px -12px rgba(0, 0, 0, 0.8), inset 0 1px 1px rgba(255, 255, 255, 0.18), inset 0 -1px 1px rgba(0, 0, 0, 0.4);
}
.cine-badge .ic { width: 38px; height: 38px; border-radius: 50%; }
.cine-badge .ic svg { width: 17px; height: 17px; }
.cine-badge b { font-size: 13.5px; }
.cine-badge div span { font-size: 12px; }
/* placed over the bezel, below the last row and beside the ring, so they never cover the app's words or the copy */
.cine-badge-a { bottom: 8px; left: -200px; }
.cine-badge-b { top: 150px; right: -180px; }
@media (max-width: 520px) { .cine-badge-a { left: -110px; } .cine-badge-b { display: none; } }

/* call to action under the card */
.cine-cta { position: relative; z-index: 1; display: grid; justify-items: center; gap: 22px; margin-top: clamp(72px, 9vw, 120px); padding: 0 var(--gutter-r) 0 var(--gutter); text-align: center; }
.cine-cta .lede { text-align: center; }
.cine-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 14px; }
.tbtn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; padding: 0 28px; border-radius: 20px;
  font: 600 16px/1 var(--sans); letter-spacing: -0.005em; text-decoration: none; white-space: nowrap;
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.4s cubic-bezier(0.25, 1, 0.5, 1), background 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}
.tbtn svg { width: 18px; height: 18px; transition: transform 0.3s var(--ease); }
.tbtn:hover { transform: translateY(-3px); }
.tbtn:hover svg { transform: translateX(3px); }
.tbtn:active { transform: translateY(1px); }
.tbtn-glow {
  background: linear-gradient(180deg, #ffa064 0%, #ff8a3d 100%); color: var(--on-glow);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08), 0 2px 4px rgba(0, 0, 0, 0.25), 0 14px 28px -6px rgba(255, 138, 61, 0.38),
    inset 0 1px 1px rgba(255, 255, 255, 0.55), inset 0 -3px 6px rgba(150, 50, 0, 0.18);
}
.tbtn-glow:hover { box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08), 0 6px 12px -2px rgba(0, 0, 0, 0.3), 0 22px 36px -8px rgba(255, 138, 61, 0.5), inset 0 1px 1px rgba(255, 255, 255, 0.55), inset 0 -3px 6px rgba(150, 50, 0, 0.18); }
.tbtn-glow:active { background: linear-gradient(180deg, #ff8a3d 0%, #f47e31 100%); box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.2), inset 0 3px 6px rgba(150, 50, 0, 0.25); }
.tbtn-dark {
  background: linear-gradient(180deg, #1d2d52 0%, #14213d 100%); color: var(--ink);
  box-shadow: 0 0 0 1px rgba(206, 222, 255, 0.12), 0 2px 4px rgba(0, 0, 0, 0.6), 0 12px 24px -4px rgba(0, 0, 0, 0.8),
    inset 0 1px 1px rgba(255, 255, 255, 0.12), inset 0 -3px 6px rgba(0, 0, 0, 0.55);
}
.tbtn-dark:hover { background: linear-gradient(180deg, #24365f 0%, #182747 100%); }
.tbtn-dark:active { background: #14213d; box-shadow: 0 0 0 1px rgba(206, 222, 255, 0.08), inset 0 3px 8px rgba(0, 0, 0, 0.7); }
@media (max-width: 520px) { .cine-actions { width: 100%; } .tbtn { width: 100%; } }

/* pinned and played by cine.js */
@media (prefers-reduced-motion: no-preference) {
  html.js .cine:not(.cine-static) { height: 100vh; height: 100svh; padding: 0; perspective: 1500px; }
  html.js .cine:not(.cine-static) :is(.cine-words, .cine-stage, .cine-cta) {
    position: absolute; left: 0; right: 0; top: var(--nav-h); bottom: 0; margin: 0;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
  }
  html.js .cine:not(.cine-static) .cine-cta { gap: 22px; }
  html.js .cine:not(.cine-static) .cine-stage { pointer-events: none; perspective: 1500px; padding: 0; }
  html.js .cine:not(.cine-static) .cine-card { pointer-events: auto; width: 85vw; height: 86%; max-width: none; margin: 0; flex: none; }
  html.js .cine:not(.cine-static) .cine-hint { position: absolute; z-index: 3; left: 0; right: 0; bottom: max(24px, env(safe-area-inset-bottom, 0px)); display: flex; justify-content: center; align-items: center; gap: 8px; }
  html.js .cine:not(.cine-static) .cine-hint svg { width: 14px; height: 14px; animation: cine-nudge 1.8s var(--ease) infinite; }
  @keyframes cine-nudge { 50% { transform: translateY(4px); } }
  /* hidden until the intro plays, so nothing flashes before the script runs */
  html.js .cine:not(.cine-static) :is(.cine-l1, .cine-l2, .cine-sub, .cine-card, .cine-cta) { visibility: hidden; }
}
@media (prefers-reduced-motion: no-preference) and (max-width: 767px) {
  html.js .cine:not(.cine-static) .cine-card { width: 92vw; height: 92%; border-radius: 32px; }
}

/* the voice instrument */
.voice { margin-top: 0; }
.bars { display: block; width: 100%; height: clamp(112px, 14vw, 184px); }
.voice-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); }
.voice-row .left { display: flex; align-items: center; gap: 16px; min-width: 0; }
.mic { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-2); background: transparent; color: var(--ink); display: grid; place-items: center; cursor: pointer; flex: none; transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease); }
.mic:hover { border-color: var(--ink-3); }
.mic svg { width: 20px; height: 20px; }
.mic[aria-pressed='true'] { background: var(--ink); color: var(--surface); border-color: var(--ink); }
.voice-label { font-size: 15px; color: var(--ink-2); }
.voice-label b { color: var(--ink); font-weight: 600; }

/* spread */
.spread { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(40px, 7vw, 110px); align-items: center; }
@media (max-width: 900px) { .spread { grid-template-columns: 1fr; } }
.steps { list-style: none; margin: 40px 0 0; padding: 0; border-top: 1px solid var(--line); }
.steps li { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--line); transition: opacity 0.4s var(--ease); }
.steps li .tier { font-family: var(--serif); font-size: 30px; font-weight: 360; letter-spacing: -0.02em; line-height: 1.1; color: var(--ink-3); transition: color 0.4s var(--ease); }
.steps li.on .tier { color: var(--sky); }
.steps li p { margin: 4px 0 0; color: var(--ink-2); font-size: 16px; }
.steps li strong { color: var(--ink); font-weight: 600; }
.disc-wrap { position: relative; aspect-ratio: 1; width: 100%; max-width: 560px; justify-self: center; }
.disc-wrap canvas { width: 100%; height: 100%; }
.disc-read { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-top: 18px; max-width: 560px; justify-self: center; width: 100%; }
.disc-read .count { font-family: var(--serif); font-size: 34px; font-weight: 360; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.replay { background: none; border: 0; padding: 6px 0; color: var(--ink-3); font: 500 12px/1 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; cursor: pointer; }
.replay:hover { color: var(--ink); }

/* features */
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.grid-2 > div { padding: 36px 36px 40px 0; border-bottom: 1px solid var(--line); display: grid; gap: 14px; align-content: start; }
.grid-2 > div:nth-child(2n) { padding-left: 36px; padding-right: 0; border-left: 1px solid var(--line); }
@media (max-width: 720px) {
  .grid-2 { grid-template-columns: 1fr; }
  .grid-2 > div, .grid-2 > div:nth-child(2n) { padding: 28px 0 32px; border-left: 0; }
}
.icon { width: 24px; height: 24px; color: var(--sky); }

/* two-column statement + ruled list */
.split { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(40px, 7vw, 110px); align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.ruled { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.ruled li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 16px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.ruled li .n { padding-top: 5px; }
.ruled li p { margin: 6px 0 0; color: var(--ink-2); font-size: 16px; }

/* join */
.join { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 110px); align-items: end; }
@media (max-width: 900px) { .join { grid-template-columns: 1fr; align-items: start; } }
.form { display: grid; gap: 12px; }
.field { display: grid; gap: 8px; }
.field label { font-size: 14px; color: var(--ink-2); }
.input { width: 100%; min-height: 52px; padding: 0 18px; border-radius: 14px; border: 1px solid var(--line-2); background: var(--bg-2); color: var(--ink); font: 400 16px/1.2 var(--sans); transition: border-color 0.2s var(--ease); }
.input::placeholder { color: var(--ink-3); }
.input:focus { outline: none; border-color: var(--sky); }
.form-row { display: flex; gap: 10px; }
.form-row .input { flex: 1; min-width: 0; }
@media (max-width: 520px) { .form-row { flex-direction: column; } .form-row .btn { width: 100%; } .player { gap: 16px; } .play { width: 64px; height: 64px; } .wave { height: 60px; } }
.form-note { font-size: 14px; color: var(--ink-3); margin: 4px 0 0; min-height: 1.4em; }
.form-note.ok { color: var(--sky); }
.form-note.err { color: #ffb38a; }
.form.done .form-row, .form.done .field { display: none; }

/* clip page */
.clip { padding: clamp(40px, 7vw, 88px) 0 clamp(64px, 8vw, 112px); }
.who { display: flex; align-items: center; gap: 14px; min-width: 0; }
.orb { flex: none; width: 48px; height: 48px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08); }
.orb.lg { width: 96px; height: 96px; }
.who .name { font-weight: 600; font-size: 16px; text-decoration: none; }
.who .name:hover { text-decoration: underline; }
.clip-title { font-family: var(--serif); font-weight: 340; font-size: clamp(44px, 8vw, 96px); line-height: 0.98; letter-spacing: -0.035em; margin: 36px 0 0; text-wrap: balance; overflow-wrap: anywhere; }
.player { margin-top: clamp(40px, 6vw, 64px); display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 22px; align-items: center; }
.play { width: 76px; height: 76px; border-radius: 50%; border: 0; background: var(--glow); color: var(--on-glow); display: grid; place-items: center; cursor: pointer; transition: transform 0.2s var(--ease), background-color 0.2s var(--ease); }
.play:hover { background: #ff9a57; }
.play:active { transform: scale(0.96); }
.play svg { width: 28px; height: 28px; }
.play[disabled] { opacity: 0.4; cursor: default; }
.wave { display: flex; align-items: center; gap: clamp(1.5px, 0.35vw, 3px); height: 72px; min-width: 0; cursor: pointer; touch-action: none; }
.wave i { flex: 1 1 0; min-width: 0; border-radius: 99px; background: rgba(158, 194, 255, 0.26); transition: background-color 0.18s linear; }
.wave i.on { background: var(--sky); }
.times { display: flex; justify-content: space-between; margin-top: 12px; grid-column: 2; }
.lyrics { margin-top: clamp(48px, 7vw, 80px); padding-top: 28px; border-top: 1px solid var(--line); }
.lyrics p { font-family: var(--serif); font-weight: 360; font-size: clamp(24px, 3.2vw, 34px); line-height: 1.38; letter-spacing: -0.012em; margin: 18px 0 0; color: var(--ink-3); text-wrap: pretty; }
.lyrics p span { transition: color 0.25s var(--ease); }
.lyrics p span.heard { color: var(--ink); }
.stats { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 36px; }
.stats b { color: var(--ink); font-weight: 500; }

/* panel: the one raised surface on a page */
.panel { background: var(--surface); border-radius: var(--r-lg); padding: clamp(28px, 4vw, 48px); box-shadow: var(--sh); display: grid; gap: 22px; }

/* profile */
.person { display: grid; gap: 22px; padding: clamp(48px, 7vw, 88px) 0 clamp(40px, 5vw, 64px); }
.person .name { font-family: var(--serif); font-weight: 340; font-size: clamp(52px, 9vw, 112px); line-height: 0.95; letter-spacing: -0.035em; margin: 0; overflow-wrap: anywhere; }
.rows { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.rows a { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 18px; align-items: center; padding: 20px 0; border-bottom: 1px solid var(--line); text-decoration: none; transition: background-color 0.2s var(--ease); }
.rows a:hover .t { color: var(--sky); }
.rows .dot { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; color: var(--ink); }
.rows .dot svg { width: 14px; height: 14px; margin-left: 2px; }
.rows .t { font-family: var(--serif); font-size: 22px; font-weight: 380; letter-spacing: -0.01em; line-height: 1.25; transition: color 0.2s var(--ease); overflow-wrap: anywhere; }

/* documents */
.doc { padding: clamp(48px, 7vw, 88px) 0 clamp(64px, 8vw, 112px); }
.doc h1 { font-family: var(--serif); font-weight: 340; font-size: clamp(48px, 8vw, 88px); line-height: 0.98; letter-spacing: -0.035em; margin: 18px 0 28px; }
.doc h2 { font-family: var(--serif); font-weight: 400; font-size: 26px; letter-spacing: -0.015em; line-height: 1.2; margin: 0 0 12px; }
.doc section { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 12px; padding: 32px 0; border-top: 1px solid var(--line); }
.doc section .n { padding-top: 8px; }
.doc p, .doc li { color: var(--ink-2); max-width: 64ch; }
.doc p { margin: 0 0 14px; }
.doc ul { margin: 0 0 14px; padding-left: 20px; }
.doc li { margin-bottom: 8px; }
.doc li::marker { color: var(--ink-3); }
.doc strong { color: var(--ink); font-weight: 600; }
@media (max-width: 600px) { .doc section { grid-template-columns: 1fr; gap: 4px; } }
.mail { font-family: var(--mono); font-size: 15px; color: var(--ink); user-select: all; overflow-wrap: anywhere; }
.copy { background: none; border: 1px solid var(--line-2); color: var(--ink-2); border-radius: var(--r-pill); padding: 6px 12px; font: 500 12px/1 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; cursor: pointer; }
.copy:hover { color: var(--ink); border-color: var(--ink-3); }

/* footer */
.footer { border-top: 1px solid var(--line); padding: 48px 0 calc(48px + env(safe-area-inset-bottom, 0px)); }
.footer .container { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 28px; align-items: end; }
.footer nav { display: flex; flex-wrap: wrap; gap: 10px 26px; font-size: 15px; color: var(--ink-2); }
.footer nav a { text-decoration: none; }
.footer nav a:hover { color: var(--ink); }
.footer .fine { display: grid; gap: 14px; }
@media (max-width: 640px) { .footer .container { grid-template-columns: 1fr; } }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

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

/* play / pause swap */
.play .i-pause { display: none; }
.play.playing .i-play { display: none; }
.play.playing .i-pause { display: block; }
