/* VOX Metronome site. Tokens follow the app's "midnight" theme. */
:root {
  /* The chosen theme (set from the Voice section's tiles): ink, background, accent, and which way to shade. */
  --t-bg: #101d33; --t-ink: #e8f0fa; --t-acc: #ffb454; --t-lift: #ffffff; --t-shade: #000000; --t-deep: #000000; --on-acc: #1b1407;
  --t-key1: color-mix(in srgb, #101d33, #fff 8.5%); --t-key2: color-mix(in srgb, #101d33, #000 2.5%);
  --bg: color-mix(in srgb, var(--t-bg), var(--t-deep) 30%);
  --bg-2: color-mix(in srgb, var(--t-bg), var(--t-deep) 20%);
  --surface: var(--t-bg);
  --panel-1: color-mix(in srgb, var(--t-bg), var(--t-lift) 4%);
  --panel-2: color-mix(in srgb, var(--t-bg), var(--t-deep) 18%);
  --ink: var(--t-ink);
  --card: color-mix(in srgb, var(--ink) 4.5%, transparent);
  --card-2: color-mix(in srgb, var(--ink) 7%, transparent);
  --line: color-mix(in srgb, var(--ink) 9%, transparent);
  --line-2: color-mix(in srgb, var(--ink) 16%, transparent);
  --muted: color-mix(in srgb, var(--ink) 64%, transparent);
  --faint: color-mix(in srgb, var(--ink) 42%, transparent);
  --amber: var(--t-acc);
  --green: #5bd68a;
  --yellow: #e9c46a;
  --red: #e07a5f;
  --radius: 22px;
  --wrap: 1160px;
  --sans: 'Inter', 'Helvetica Neue', system-ui, -apple-system, sans-serif;
  --display: 'Inter Tight', 'Inter', 'Helvetica Neue', system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  transition: background-color .5s, color .5s;
  font: 400 17px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video, canvas, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--display); margin: 0; letter-spacing: -0.025em; }
p { margin: 0; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--amber); color: #111; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; border-radius: 6px; }

/* Wordmark: V|O|X with thin bars, like the app header. */
.wordmark { display: inline-flex; align-items: center; gap: 0.32em; font: 300 22px/1 var(--sans); letter-spacing: 0.04em; }
.wordmark i { width: 1px; height: 0.95em; background: currentColor; opacity: 0.75; }
.wordmark-sm { font-size: 18px; }
.wordmark-lg { font-size: 34px; }

/* NAV */
.nav { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 72%, transparent); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s; }
.nav.scrolled { border-bottom-color: var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 24px; }
.nav-links { display: flex; gap: 28px; font-size: 14px; color: var(--muted); }
.nav-links a:hover { color: var(--ink); }

.btn { display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; background: var(--amber); color: var(--on-acc); font-weight: 600; letter-spacing: 0.01em; transition: transform .2s, box-shadow .2s; box-shadow: 0 6px 24px -8px color-mix(in srgb, var(--amber) 60%, transparent); }
.btn:hover { transform: translateY(-1px); }
.btn-small { height: 38px; padding: 0 18px; font-size: 14px; }

.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); padding: 7px 14px; border: 1px solid var(--line-2); border-radius: 999px; background: var(--card); }
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 10px var(--amber); animation: beat 0.6s ease-out infinite alternate; }
@keyframes beat { from { opacity: 1; } to { opacity: 0.35; } }

/* HERO */
.hero { position: relative; padding: 72px 0 40px; overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(900px 600px at 78% 30%, color-mix(in srgb, var(--amber) 10%, transparent), transparent 60%), radial-gradient(700px 500px at 10% 0%, color-mix(in srgb, color-mix(in srgb, var(--t-bg), var(--t-lift) 25%) 30%, transparent), transparent 60%); pointer-events: none; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.08fr 0.92fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(40px, 5.4vw, 66px); line-height: 1.02; font-weight: 600; margin: 22px 0 22px; }
.lede { font-size: clamp(17px, 1.6vw, 20px); color: var(--muted); max-width: 33em; }
.stores { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.store img { height: 50px; width: auto; }
.store { transition: transform .2s; }
.store:hover { transform: translateY(-2px); }
.trust { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 14px; color: var(--muted); }
.trust li { display: flex; align-items: center; gap: 8px; }
.trust svg { width: 16px; height: 16px; fill: none; stroke: var(--green); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

.hero-visual { position: relative; display: flex; justify-content: center; }
.glow { position: absolute; width: 420px; height: 420px; border-radius: 50%; top: 50%; left: 50%; transform: translate(-50%, -50%); background: radial-gradient(circle, color-mix(in srgb, var(--amber) 22%, transparent), transparent 65%); filter: blur(10px); }

/* Phone frame around a capture (captures are 0.491 wide/tall, status bar cropped). */
.phone { position: relative; width: min(330px, 78vw); aspect-ratio: 0.4917; padding: 10px; border-radius: 52px; background: linear-gradient(160deg, #2a3446, #0a0f18 40%, #1a2232); box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08), 0 40px 80px -30px rgba(0, 0, 0, 0.8), 0 0 60px -20px color-mix(in srgb, var(--amber) 15%, transparent); }
.phone .screen { width: 100%; height: 100%; object-fit: cover; border-radius: 42px; background: #101d33; }
.phone-hero { width: min(340px, 74vw); }

.float { position: absolute; display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 18px; background: color-mix(in srgb, var(--panel-1) 82%, transparent); border: 1px solid var(--line-2); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.7); font-size: 14px; }
.float-voice { left: -6%; top: 22%; animation: floaty 6s ease-in-out infinite; }
.float-voice em { display: block; font-style: normal; color: var(--muted); font-size: 12px; }
.float-voice b { font-weight: 600; }
.float .mic { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle at 35% 30%, color-mix(in srgb, var(--amber), #fff 45%), color-mix(in srgb, var(--amber), #000 30%)); }
.float .mic svg { width: 18px; height: 18px; fill: none; stroke: var(--on-acc); stroke-width: 2; stroke-linecap: round; }
.float-eco { right: -4%; bottom: 18%; flex-direction: column; align-items: flex-start; gap: 2px; animation: floaty 7s ease-in-out -2s infinite; }
.float-eco b { font: 300 30px/1 var(--sans); color: var(--green); }
.float-eco span { font-size: 12px; color: var(--muted); letter-spacing: 0.06em; text-transform: uppercase; }
.float-eco .bars { display: flex; gap: 4px; align-items: flex-end; height: 22px; margin-top: 8px; }
.float-eco .bars i { width: 8px; border-radius: 2px; background: var(--green); }
.float-eco .bars i:nth-child(1) { height: 50%; background: var(--yellow); }
.float-eco .bars i:nth-child(2) { height: 80%; }
.float-eco .bars i:nth-child(3) { height: 100%; }
.float-eco .bars i:nth-child(4) { height: 70%; }
.float-eco .bars i:nth-child(5) { height: 90%; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* HOW */
.how { padding: 40px 0 24px; }
.how-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.how-step { padding: 24px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); }
.how-n { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line-2); font-size: 13px; color: var(--amber); margin-bottom: 14px; }
.how-step h3 { font-size: 20px; margin-bottom: 6px; }
.how-step p { color: var(--muted); font-size: 15px; }

/* SECTIONS */
.feature { padding: 110px 0; }
.kicker { font-size: 13px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--amber); margin-bottom: 16px; }
.kicker-green { color: var(--green); }
h2 { font-size: clamp(34px, 4.6vw, 56px); line-height: 1.05; font-weight: 600; margin-bottom: 20px; }
.body { color: var(--muted); font-size: 18px; max-width: 34em; }
.body + .body { margin-top: 14px; }
.body strong { color: var(--ink); font-weight: 600; }
.fine { font-size: 13px; color: var(--faint); margin-top: 14px; }
.center { text-align: center; }
.section-head { max-width: 760px; margin-bottom: 48px; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split-rev .split-copy { order: 2; }
.split-visual { display: flex; flex-direction: column; align-items: center; gap: 22px; }

/* MODE MARKS: the app's icons. VOX = the orb, ECO = a wave and its echo, META = a bullseye. */
.kicker-mode { display: inline-flex; align-items: center; gap: 10px; }
.mark { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }
.mark-eco { width: 26px; height: 26px; }
.mark-meta { stroke-width: 1.8; }
.mark .dot { fill: currentColor; stroke: none; }
.mark-vox { display: inline-block; border-radius: 50%; --vb: var(--t-bg); --vl: var(--t-lift); --va: var(--t-acc);
  background:
    radial-gradient(circle at 34% 62%, color-mix(in srgb, var(--va) 75%, transparent), transparent 38%),
    radial-gradient(circle at 66% 36%, color-mix(in srgb, color-mix(in srgb, var(--vb), var(--vl) 60%) 60%, transparent), transparent 36%),
    radial-gradient(circle at 62% 70%, color-mix(in srgb, var(--vl) 45%, transparent), transparent 28%),
    linear-gradient(135deg, color-mix(in srgb, var(--vb), var(--vl) 75%), color-mix(in srgb, var(--vb), var(--vl) 30%), color-mix(in srgb, var(--vb), var(--vl) 75%));
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--t-ink) 22%, transparent); }

/* Each feature is its own band. */
.feature, .private, .faq { border-top: 1px solid var(--line); }

/* VOICE: the whole band takes the chosen theme. */
.feature-voice {
  --t-soft: color-mix(in srgb, var(--t-ink) 70%, transparent);
  --t-faint: color-mix(in srgb, var(--t-ink) 48%, transparent);
  --t-line: color-mix(in srgb, var(--t-ink) 12%, transparent);
  background: radial-gradient(90% 60% at 50% 0%, color-mix(in srgb, var(--t-bg), var(--t-lift) 7%), var(--t-bg) 70%);
  color: var(--t-ink);
}
.feature-voice .kicker { color: var(--t-acc); }
.feature-voice .body { color: var(--t-soft); }
.feature-voice .body strong { color: var(--t-ink); }

.console { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); border-radius: 32px; border: 1px solid var(--t-line); background: color-mix(in srgb, var(--t-bg), var(--t-lift) 3%); box-shadow: 0 40px 90px -50px color-mix(in srgb, var(--t-shade) 80%, transparent); overflow: hidden; }

/* The metronome module */
.stage { position: relative; display: flex; flex-direction: column; align-items: center; padding: 44px 36px 34px; min-height: 580px; user-select: none; -webkit-user-select: none;
  background: radial-gradient(110% 70% at 50% 0%, color-mix(in srgb, var(--t-bg), var(--t-lift) 9%), var(--t-bg) 65%, color-mix(in srgb, var(--t-bg), var(--t-shade) 12%));
  border-right: 1px solid var(--t-line); }
.leds { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; min-height: 24px; max-width: 330px; }
.led { width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid color-mix(in srgb, var(--t-ink) 50%, transparent); background: color-mix(in srgb, var(--t-ink) 14%, transparent); transition: background .08s, box-shadow .2s; }
.led.on { background: var(--t-ink); box-shadow: 0 0 14px color-mix(in srgb, var(--t-ink) 70%, transparent); }
.led.on.accent { background: var(--t-acc); border-color: var(--t-acc); box-shadow: 0 0 16px var(--t-acc); }
.demo-timer { margin-top: 16px; display: flex; align-items: center; gap: 6px; font-size: 13px; font-variant-numeric: tabular-nums; padding: 5px 10px; border-radius: 999px; background: color-mix(in srgb, var(--t-acc) 16%, transparent); color: var(--t-acc); }
.demo-timer[hidden] { display: none; }
.demo-timer svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.demo-tempo { margin-top: auto; display: flex; flex-direction: column; align-items: center; cursor: ew-resize; touch-action: pan-y; padding: 6px 24px; }
.demo-bpm { font: 200 128px/1 var(--sans); letter-spacing: -0.04em; font-variant-numeric: tabular-nums; transition: transform .25s; }
.demo-bpm.bump { transform: scale(1.06); }
.demo-mark { display: flex; align-items: center; gap: 12px; margin-top: 12px; font-size: 11px; letter-spacing: 0.32em; text-transform: uppercase; color: var(--t-soft); }
.demo-mark i { width: 22px; height: 1px; background: currentColor; opacity: 0.6; }
.heard { min-height: 30px; margin: 14px 0 10px; font-size: 14px; opacity: 0; transform: translateY(6px); transition: opacity .25s, transform .25s; text-align: center; }
.heard.show { opacity: 1; transform: none; }
.heard em { font-style: normal; color: var(--t-faint); margin-right: 6px; }
.heard b { color: var(--t-acc); font-weight: 600; }

.capsule-wrap { position: relative; width: 100%; max-width: 360px; }
.capsule { display: flex; height: 76px; border-radius: 26px; background: color-mix(in srgb, var(--t-ink) 6%, transparent); border: 1px solid var(--t-line); box-shadow: inset 0 1px 0 color-mix(in srgb, var(--t-ink) 9%, transparent), 0 14px 30px -18px color-mix(in srgb, var(--t-shade) 80%, transparent); overflow: hidden; }
.cap-cell { flex: 1; display: grid; place-items: center; position: relative; background: none; border: 0; padding: 0; cursor: pointer; color: inherit; transition: background .2s; }
.cap-cell:hover { background: color-mix(in srgb, var(--t-ink) 5%, transparent); }
.cap-cell + .cap-cell { border-left: 1px solid var(--t-line); }
.cap-meter { font: 300 30px/1 var(--sans); }
.cap-meter[aria-expanded='true'] { color: var(--t-acc); }
.cap-play svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linejoin: round; }
.cap-play .i-stop { display: none; }
.stage.running .cap-play .i-play { display: none; }
.stage.running .cap-play .i-stop { display: block; }
.cap-note svg { width: 30px; height: 30px; fill: currentColor; stroke: currentColor; stroke-width: 1.6; }
.n-trip { position: absolute; top: 14px; right: 30%; font-size: 12px; font-weight: 600; color: var(--t-acc); opacity: 0; transition: opacity .2s; }
.stage.trip .n-trip { opacity: 1; }

/* Time signature picker: the app's numerators over 4. */
.meter-pop { position: absolute; left: 0; bottom: calc(100% + 10px); width: 100%; z-index: 5; display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; padding: 10px; border-radius: 20px; background: color-mix(in srgb, var(--t-bg), var(--t-lift) 10%); border: 1px solid var(--t-line); box-shadow: 0 20px 40px -16px color-mix(in srgb, var(--t-shade) 80%, transparent); animation: pop .18s ease-out; }
.meter-pop[hidden] { display: none; }
.meter-pop button { height: 40px; border-radius: 12px; border: 1px solid transparent; background: none; cursor: pointer; font: 300 17px/1 var(--sans); font-variant-numeric: tabular-nums; color: inherit; }
.meter-pop button:hover { background: color-mix(in srgb, var(--t-ink) 7%, transparent); }
.meter-pop button[aria-selected='true'] { border-color: var(--t-acc); color: var(--t-acc); }
@keyframes pop { from { opacity: 0; transform: translateY(6px); } }

/* Orb dock: ECO key, the VOX orb, META key (sizes from OrbDock). */
.dock { display: flex; align-items: flex-start; justify-content: center; gap: 28px; margin-top: 34px; height: 92px; }
.key { display: flex; flex-direction: column; align-items: center; gap: 8px; margin-top: 17px; color: color-mix(in srgb, var(--t-ink) 80%, transparent); }
.key-face { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(180deg, var(--t-key1), var(--t-key2)); border: 1.5px solid color-mix(in srgb, var(--t-lift) 12%, transparent); box-shadow: 0 6px 12px -2px color-mix(in srgb, var(--t-shade) 45%, transparent); transition: border-color .2s, color .2s, transform .15s; }
.key .ico { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }
.key .ico-meta { width: 20px; height: 20px; stroke-width: 1.8; }
.key .ico .dot { fill: currentColor; stroke: none; }
.key small { font-size: 8px; font-weight: 500; letter-spacing: 3px; padding-left: 3px; color: color-mix(in srgb, var(--t-ink) 55%, transparent); transition: color .2s; }
.key:hover { color: var(--t-acc); }
.key:hover .key-face { border-color: var(--t-acc); }
.key:hover small { color: var(--t-acc); }
.key:active .key-face { transform: translateY(2px); }

.orb { position: relative; width: 78px; height: 78px; padding: 0; border: 0; background: none; border-radius: 50%; cursor: pointer; }
.orb-halo { position: absolute; inset: -21px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--t-acc) 45%, transparent), color-mix(in srgb, var(--t-acc) 32%, transparent) 62%, color-mix(in srgb, var(--t-acc) 12%, transparent) 80%, transparent 100%); opacity: 0; transition: opacity .32s; pointer-events: none; }
.orb-ball { position: absolute; inset: 0; border-radius: 50%; overflow: hidden; box-shadow: 0 4px 10px color-mix(in srgb, var(--t-shade) 40%, transparent); transition: box-shadow .3s, transform .2s; }
.orb-face { position: absolute; inset: -30%; background: linear-gradient(135deg, color-mix(in srgb, var(--t-bg), var(--t-lift) 75%), color-mix(in srgb, var(--t-bg), var(--t-lift) 30%), color-mix(in srgb, var(--t-bg), var(--t-lift) 75%)); animation: spin 8s linear infinite; }
.orb-blob { position: absolute; left: 50%; top: 50%; width: 47px; height: 47px; margin: -23.5px; border-radius: 50%; }
.b1 { animation: wander1 3.4s ease-in-out infinite alternate; background: radial-gradient(circle, color-mix(in srgb, var(--t-acc) 42%, transparent), color-mix(in srgb, var(--t-acc) 28%, transparent) 45%, color-mix(in srgb, var(--t-acc) 12%, transparent) 75%, transparent); }
.b2 { animation: wander2 4.1s ease-in-out infinite alternate; --c: color-mix(in srgb, var(--t-bg), var(--t-lift) 60%); background: radial-gradient(circle, color-mix(in srgb, var(--c) 42%, transparent), color-mix(in srgb, var(--c) 28%, transparent) 45%, color-mix(in srgb, var(--c) 12%, transparent) 75%, transparent); }
.b3 { animation: wander3 2.8s ease-in-out infinite alternate; background: radial-gradient(circle, color-mix(in srgb, var(--t-lift) 42%, transparent), color-mix(in srgb, var(--t-lift) 28%, transparent) 45%, color-mix(in srgb, var(--t-lift) 12%, transparent) 75%, transparent); }
.orb-blob-wrap { position: absolute; inset: 0; transition: transform .3s; }
.orb:hover .orb-ball { transform: scale(1.04); }
/* Running all the time, like the app with voice on; hearing a command makes it swell. */
.orb-halo { opacity: .6; }
.stage.listening .orb-halo { opacity: 1; }
.stage.listening .orb-ball { box-shadow: 0 0 18px var(--t-acc); transform: scale(1.06); }
.stage.listening .orb-blob-wrap { transform: scale(1.35); }
.stage.ack .orb-ball::after { content: ''; position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(circle, rgba(48, 209, 88, 0.5), rgba(48, 209, 88, 0.28) 60%, rgba(48, 209, 88, 0.05)); animation: ack .7s ease-out forwards; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes wander1 { 0% { transform: translate(-14px, 10px) scale(.8); } 50% { transform: translate(16px, -6px) scale(1.3); } 100% { transform: translate(-4px, -18px) scale(1); } }
@keyframes wander2 { 0% { transform: translate(14px, -12px) scale(1.1); } 50% { transform: translate(-18px, 4px) scale(.75); } 100% { transform: translate(8px, 18px) scale(1.35); } }
@keyframes wander3 { 0% { transform: translate(4px, 16px) scale(.9); } 50% { transform: translate(10px, -16px) scale(1.2); } 100% { transform: translate(-16px, 2px) scale(.8); } }
@keyframes ack { 0% { opacity: 0; } 25% { opacity: 1; } 100% { opacity: 0; } }

/* Side: commands and themes */
.console-side { display: flex; flex-direction: column; }
.side-block { padding: 36px 36px 32px; }
.side-block + .side-block { border-top: 1px solid var(--t-line); }
.side-label { display: flex; justify-content: space-between; font-size: 12px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--t-faint); margin-bottom: 16px; }
.side-label span { color: var(--t-acc); letter-spacing: 0.08em; }
.side-fine { font-size: 13px; color: var(--t-faint); margin-top: 16px; }
.commands { display: flex; flex-wrap: wrap; gap: 8px; }
.cmd { cursor: pointer; padding: 10px 15px; border-radius: 999px; background: color-mix(in srgb, var(--t-ink) 6%, transparent); border: 1px solid color-mix(in srgb, var(--t-ink) 16%, transparent); color: var(--t-ink); font-size: 14px; transition: background .2s, border-color .2s, transform .15s; }
.cmd:hover { border-color: color-mix(in srgb, var(--t-acc) 70%, transparent); }
.cmd:active { transform: scale(0.97); }
.cmd.is-on { background: color-mix(in srgb, var(--t-acc) 18%, transparent); border-color: var(--t-acc); }

.tiles { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.tile { padding: 0; border: 0; background: none; cursor: pointer; color: inherit; display: flex; flex-direction: column; gap: 6px; text-align: left; }
.tile-face { position: relative; display: flex; flex-direction: column; justify-content: space-between; aspect-ratio: 1.15; border-radius: 12px; padding: 8px 9px; background: radial-gradient(120% 90% at 50% 0%, color-mix(in srgb, var(--s2), var(--s4) 8%), var(--s2)); color: var(--s1); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--t-ink) 14%, transparent); transition: transform .15s, box-shadow .2s; }
.tile-face b { font: 300 18px/1 var(--sans); letter-spacing: -0.02em; }
.tile-face i { display: flex; gap: 3px; }
.tile-face i::before, .tile-face i::after, .tile-face i span { content: ''; width: 6px; height: 6px; border-radius: 50%; background: color-mix(in srgb, var(--s1) 35%, transparent); }
.tile-face i::before { background: var(--s3); }
.tile-name { font-size: 11px; color: var(--t-faint); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: color .2s; }
.tile:hover .tile-face { transform: translateY(-2px); }
.tile[aria-checked='true'] .tile-face { box-shadow: 0 0 0 2px var(--t-bg), 0 0 0 4px var(--t-acc); }
.tile[aria-checked='true'] .tile-name { color: var(--t-ink); }

/* ECO */
.feature-eco { background: linear-gradient(180deg, transparent, rgba(91, 214, 138, 0.04) 30%, transparent); }
.eco-stage { display: grid; grid-template-columns: 1.55fr 1fr; gap: 24px; align-items: stretch; }
.eco-panel { border-radius: 28px; background: linear-gradient(180deg, var(--panel-1), var(--panel-2)); border: 1px solid var(--line); padding: 20px; display: flex; flex-direction: column; gap: 14px; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.8); }
.eco-head { display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: var(--muted); }
.tier { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 11px; letter-spacing: 0.14em; color: var(--ink); }
.tier i { width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
.eco-tempo b { font: 300 22px/1 var(--sans); color: var(--ink); margin-right: 2px; }
#ecoCanvas { width: 100%; flex: 1; min-height: 380px; border-radius: 16px; }
.eco-read { display: flex; justify-content: center; gap: 26px; font-size: 14px; color: var(--muted); }
.eco-read b { color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; }
.eco-read span:first-child b { color: var(--green); }
.eco-side { display: grid; grid-template-rows: auto 1fr; gap: 24px; }
.model-card { border-radius: 24px; padding: 24px; background: radial-gradient(120% 120% at 0% 0%, rgba(91, 214, 138, 0.14), transparent 60%), var(--card); border: 1px solid var(--line); }
.model-tag { font-size: 11px; letter-spacing: 0.2em; color: var(--green); font-weight: 600; }
.model-big { font: 600 26px/1.15 var(--display); margin: 12px 0 10px; letter-spacing: -0.02em; }
.model-sub { color: var(--muted); font-size: 15px; }
.shot-card { margin: 0; border-radius: 24px; overflow: hidden; background: var(--surface); border: 1px solid var(--line); position: relative; }
.shot-card img { width: 100%; height: 330px; object-fit: cover; object-position: 50% 0; }
.shot-card figcaption { padding: 14px 18px 18px; font-size: 14px; color: var(--muted); }

/* META */
.ticks { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.ticks li { position: relative; padding-left: 26px; color: var(--muted); font-size: 16px; }
.ticks li::before { content: ''; position: absolute; left: 0; top: 0.55em; width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--amber); }
.ticks b { color: var(--ink); font-weight: 600; }
.meta-card { position: relative; width: min(400px, 88vw); aspect-ratio: 0.82; border-radius: 34px; padding: 28px; background: radial-gradient(90% 60% at 50% 40%, color-mix(in srgb, var(--amber) 10%, transparent), transparent 70%), linear-gradient(180deg, var(--panel-1), var(--panel-2)); border: 1px solid var(--line); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.85); display: flex; flex-direction: column; align-items: center; overflow: hidden; }
.meta-top { display: flex; align-items: center; gap: 12px; font-size: 12px; letter-spacing: 0.16em; color: var(--muted); }
.meta-chip { padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line-2); }
.meta-chip b { color: var(--ink); font-weight: 600; letter-spacing: 0; margin-left: 4px; }
.meta-chip-goal { border-color: color-mix(in srgb, var(--amber) 50%, transparent); }
.meta-chip-goal b { color: var(--amber); }
.meta-arrow { color: var(--faint); }
.meta-ring { position: relative; width: 78%; aspect-ratio: 1; margin-top: 26px; }
.meta-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring-bg { fill: none; stroke: color-mix(in srgb, var(--ink) 6%, transparent); stroke-width: 10; }
.seg { fill: none; stroke: color-mix(in srgb, var(--ink) 16%, transparent); stroke-width: 10; stroke-linecap: round; transition: stroke .3s; }
.seg.on { stroke: var(--amber); filter: drop-shadow(0 0 6px color-mix(in srgb, var(--amber) 60%, transparent)); }
.meta-center { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.meta-bpm { font: 200 84px/1 var(--sans); letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.meta-level { font-size: 11px; letter-spacing: 0.24em; color: var(--muted); margin-top: 8px; }
.meta-hold { margin-top: auto; font-size: 14px; color: var(--muted); font-variant-numeric: tabular-nums; }
.toast { position: absolute; left: 50%; top: 42%; transform: translate(-50%, -50%) scale(0.92); width: 72%; padding: 16px; border-radius: 18px; text-align: center; background: color-mix(in srgb, var(--surface) 95%, transparent); border: 1px solid color-mix(in srgb, var(--amber) 55%, transparent); box-shadow: 0 0 30px -6px color-mix(in srgb, var(--amber) 45%, transparent); opacity: 0; transition: opacity .25s, transform .25s; pointer-events: none; }
.toast.show { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.toast small { display: block; font-size: 11px; letter-spacing: 0.4em; color: var(--amber); font-weight: 700; }
.toast b { display: block; font: 300 44px/1.1 var(--sans); margin: 6px 0 2px; }
.toast span { font-size: 12px; color: var(--muted); }
.goal { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; background: color-mix(in srgb, var(--panel-2) 96%, transparent); opacity: 0; transition: opacity .4s; pointer-events: none; }
.goal.show { opacity: 1; }
.goal small { font-size: 12px; letter-spacing: 0.42em; color: var(--muted); }
.goal b { font: 200 96px/1 var(--sans); margin: 14px 0 6px; letter-spacing: -0.04em; }
.goal span { font-size: 13px; color: var(--muted); }
.goal-bars { display: flex; align-items: flex-end; gap: 10px; height: 90px; margin-top: 26px; }
.goal-bars i { width: 22px; height: 0; border-radius: 4px; background: var(--green); transition: height .7s cubic-bezier(.2, .8, .2, 1); }
.goal-bars i:first-child { background: var(--yellow); }
.goal.show .goal-bars i { height: calc(var(--h) * 100%); }
.goal.show .goal-bars i:nth-child(2) { transition-delay: .08s; }
.goal.show .goal-bars i:nth-child(3) { transition-delay: .16s; }
.goal.show .goal-bars i:nth-child(4) { transition-delay: .24s; }
.goal.show .goal-bars i:nth-child(5) { transition-delay: .32s; }
.confetti { position: absolute; inset: 0; pointer-events: none; }
.confetti i { position: absolute; top: -12px; width: 8px; height: 12px; border-radius: 2px; animation: fall 1.8s cubic-bezier(.3, .6, .5, 1) forwards; }
@keyframes fall { to { transform: translate(var(--dx), 520px) rotate(var(--rot)); opacity: 0.2; } }

/* ROUTINES */
.routine { margin-top: 30px; border-radius: 22px; background: var(--card); border: 1px solid var(--line); padding: 18px; max-width: 460px; }
.routine-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 12px; }
.routine-head b { font-size: 17px; }
.routine-head span { font-size: 13px; color: var(--faint); }
.routine ol { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.step { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 14px; background: color-mix(in srgb, var(--ink) 3%, transparent); border: 1px solid transparent; transition: background .3s, border-color .3s; }
.step.is-now { background: color-mix(in srgb, var(--amber) 8%, transparent); border-color: color-mix(in srgb, var(--amber) 40%, transparent); }
.step.is-done { opacity: 0.55; }
.step-name { flex: 1; font-size: 15px; font-weight: 500; }
.step-name small { display: block; font-size: 12px; font-weight: 400; color: var(--faint); }
.step-time { font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.mode { width: 30px; height: 30px; flex: none; display: grid; place-items: center; }
.mode .mark-vox { width: 22px; height: 22px; }
.mode-eco { color: var(--green); }
.mode-meta { color: var(--amber); }
.mode-meta .mark { width: 20px; height: 20px; }
.routine-bar { height: 3px; border-radius: 3px; background: var(--line); margin-top: 14px; overflow: hidden; }
.routine-bar i { display: block; height: 100%; width: 0; background: var(--amber); border-radius: 3px; }

/* PROGRESS */
.week { margin-top: 30px; border-radius: 22px; background: var(--card); border: 1px solid var(--line); padding: 20px; max-width: 460px; }
.week-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; }
.week-head span { font-size: 11px; letter-spacing: 0.2em; color: var(--faint); width: 100%; }
.week-head b { font: 300 32px/1 var(--sans); }
.week-head em { font-style: normal; font-size: 13px; color: var(--green); }
.week-bars { display: flex; align-items: flex-end; gap: 10px; height: 110px; margin-top: 18px; }
.week-bars i { flex: 1; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; gap: 3px; }
.week-bars i::before, .week-bars i::after { content: ''; border-radius: 4px; height: 0; transition: height .9s cubic-bezier(.2, .8, .2, 1); }
.week-bars i::before { background: color-mix(in srgb, var(--ink) 28%, transparent); }
.week-bars i::after { background: var(--amber); }
.week.in .week-bars i::before { height: calc(var(--f) * 100%); }
.week.in .week-bars i::after { height: calc(var(--r) * 100%); }
.week-days { display: flex; gap: 10px; margin-top: 8px; }
.week-days span { flex: 1; text-align: center; font-size: 11px; color: var(--faint); }
.week-legend { display: flex; gap: 18px; margin-top: 14px; font-size: 12px; color: var(--muted); }
.week-legend span { display: flex; align-items: center; gap: 6px; }
.week-legend i { width: 8px; height: 8px; border-radius: 2px; }
.lg-r { background: var(--amber); }
.lg-f { background: color-mix(in srgb, var(--ink) 28%, transparent); }
.week-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.week-stats small { display: block; font-size: 10px; letter-spacing: 0.18em; color: var(--faint); }
.week-stats b { font: 300 22px/1.3 var(--sans); }

/* PRIVATE */
.private { padding: 110px 0; background: linear-gradient(180deg, transparent, var(--bg-2) 20%, var(--bg-2) 80%, transparent); overflow: hidden; }
.places-row { overflow: hidden; margin-bottom: 40px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.places { display: flex; gap: 12px; width: max-content; animation: drift 90s linear infinite; }
.places span { padding: 12px 22px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--card); font-size: 15px; color: var(--muted); white-space: nowrap; }
@keyframes drift { to { transform: translateX(-50%); } }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.fact { padding: 26px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); display: flex; gap: 16px; align-items: center; }
.fact svg { width: 42px; height: 42px; flex: none; padding: 9px; border-radius: 50%; background: color-mix(in srgb, var(--amber) 10%, transparent); fill: none; stroke: var(--amber); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.fact p { font-size: 16px; font-weight: 500; line-height: 1.35; }


/* FAQ */
.faq { padding: 110px 0; background: var(--bg-2); }
.faq-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 48px; align-items: start; }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { cursor: pointer; list-style: none; padding: 22px 40px 22px 0; font-size: 18px; font-weight: 500; position: relative; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: ''; position: absolute; right: 6px; top: 50%; width: 10px; height: 10px; border-right: 1.5px solid var(--muted); border-bottom: 1.5px solid var(--muted); transform: translateY(-70%) rotate(45deg); transition: transform .25s; }
.faq-list details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq-list details p { color: var(--muted); padding: 0 0 22px; max-width: 40em; }

/* FINAL */
.final { padding: 130px 0; text-align: center; background: radial-gradient(600px 300px at 50% 60%, color-mix(in srgb, var(--amber) 12%, transparent), transparent 70%); }
.final-inner { display: flex; flex-direction: column; align-items: center; }
.final h2 { margin: 28px 0 8px; }
.final .stores { justify-content: center; }

.footer { border-top: 1px solid var(--line); padding: 30px 0 calc(30px + env(safe-area-inset-bottom)); font-size: 14px; color: var(--faint); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer-links { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.footer-links a:hover { color: var(--ink); }

/* Reveal on scroll (only when JS runs). */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .8, .2, 1); }
.js .reveal.in { opacity: 1; transform: none; }

/* RESPONSIVE */
@media (max-width: 960px) {
  .nav-links { display: none; }
  .hero { padding-top: 40px; }
  .hero-grid, .split, .eco-stage, .faq-grid { grid-template-columns: 1fr; }
  .hero-grid { gap: 56px; }
  .hero-copy { text-align: center; display: flex; flex-direction: column; align-items: center; }
  .stores, .trust { justify-content: center; }
  .split { gap: 48px; }
  .split-rev .split-copy { order: 0; }
  .split-copy .body, .routine, .week { max-width: none; }
  .feature, .private, .faq { padding: 80px 0; }
  .eco-side { grid-template-columns: 1fr 1fr; grid-template-rows: none; }
  .console { grid-template-columns: 1fr; }
  .stage { border-right: 0; border-bottom: 1px solid var(--t-line); }
}
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  body { font-size: 16px; }
  .how-grid, .facts, .eco-side { grid-template-columns: 1fr; }
  .float-voice { left: 0; top: 10%; }
  .float-eco { right: 0; bottom: 10%; }
  #ecoCanvas { flex: none; min-height: 0; height: 280px; }
  .eco-read { gap: 14px; font-size: 13px; }
  .stage { padding: 34px 16px 26px; min-height: 540px; }
  .demo-bpm { font-size: 100px; }
  .side-block { padding: 28px 18px 24px; }
  .tiles { grid-template-columns: repeat(4, 1fr); }
  .meta-bpm { font-size: 70px; }
  .faq-list summary { font-size: 16px; }
  .final { padding: 90px 0; }
  .footer-inner { justify-content: center; text-align: center; }
  .footer-links { justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ARTICLES: the home section and the article pages. Built on the VOX design system (Midnight, glass panels
   with a 1px hairline, uppercase tracked labels, light headlines, one accent per view). */
.articles { padding: 110px 0; }
.article-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.article-card { display: flex; flex-direction: column; border-radius: 23px; overflow: hidden; background: linear-gradient(180deg, color-mix(in srgb, var(--t-bg), var(--t-lift) 10%), var(--t-bg)); border: 1px solid var(--line); transition: transform .2s, border-color .2s; }
.article-card:hover { transform: translateY(-2px); border-color: var(--line-2); }
.article-card img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; background: var(--panel-2); }
.article-card img[src*="metronome-hero"], .article-hero img[src*="metronome-hero"] { object-position: center 22%; }
.article-card-body { display: flex; flex-direction: column; gap: 10px; flex: 1; padding: 22px 22px 24px; }
.article-card h3 { font-size: 22px; line-height: 1.2; letter-spacing: -0.015em; }
.article-card p { color: var(--muted); font-size: 15px; line-height: 1.55; }
.article-card .more { margin-top: auto; padding-top: 10px; display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; }
.article-card .more svg, .crumb svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s; }
.article-card:hover .more svg { transform: translateX(3px); }
.label { font-size: 12px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }

/* Article pages: the design system's own type (Helvetica Neue, light headlines). */
.article-page { --sans: "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif; --display: var(--sans); --prose: #a0aec2; background: linear-gradient(180deg, color-mix(in srgb, var(--t-bg), var(--t-lift) 4.5%) 0, var(--bg) 640px); }
.article { padding: 56px 0 24px; }
.article-head, .prose, .sources { max-width: 768px; margin: 0 auto; padding: 0 24px; }
.crumb { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); transition: color .2s; }
.crumb:hover { color: var(--ink); }
.article-head .label { margin-top: 34px; }
.article h1 { font-weight: 300; font-size: clamp(38px, 5.6vw, 62px); line-height: 1.05; letter-spacing: -0.035em; margin: 14px 0 20px; }
.article-head .lede { font-size: clamp(18px, 1.8vw, 21px); line-height: 1.55; color: var(--prose); max-width: 36em; }
.article-hero { max-width: 1088px; margin: 44px auto 8px; padding: 0 24px; }
.article-hero img, .prose figure img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 23px; border: 1px solid var(--line); background: var(--panel-2); }
.article figcaption { margin-top: 10px; font-size: 12px; color: var(--faint); }
.prose { font-size: 18px; line-height: 1.72; color: var(--prose); }
.prose > p, .prose > ol, .prose > ul { margin-top: 20px; }
.prose h2 { font-weight: 300; font-size: clamp(28px, 3.4vw, 38px); line-height: 1.12; letter-spacing: -0.025em; color: var(--ink); margin: 64px 0 0; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--line-2); text-decoration-thickness: 1px; text-underline-offset: 4px; transition: text-decoration-color .2s; }
.prose a:hover { text-decoration-color: var(--ink); }
.prose ul { padding-left: 1.1em; }
.prose ul li::marker { color: var(--faint); }
.prose li + li { margin-top: 12px; }
.prose ol { list-style: none; padding: 0; counter-reset: step; }
.prose ol li { position: relative; padding-left: 48px; counter-increment: step; }
.prose ol li::before { content: counter(step); position: absolute; left: 0; top: 2px; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; font-size: 13px; line-height: 1; color: var(--ink); }
.prose figure { margin: 48px 0 8px; }
.prose figure + p, .prose figure + h2 { margin-top: 40px; }

/* Data figures and demo video: shown whole (no 16:9 crop), wider than the text column on large screens. */
.prose figure.fig-data img { aspect-ratio: auto; object-fit: contain; border: 0; border-radius: 0; background: transparent; }
.prose figure.fig-data img[src$=".jpg"] { border: 1px solid var(--line); border-radius: 12px; }
.prose figure.fig-media video { display: block; width: 100%; height: auto; border-radius: 23px; border: 1px solid var(--line); background: var(--panel-2); }
.prose p.note { margin-top: 12px; font-size: 14px; line-height: 1.55; color: var(--faint); }
@media (min-width: 1120px) {
  .prose figure.fig-data, .prose figure.fig-media { margin-left: -160px; margin-right: -160px; }
}

/* "In VOX": a glass panel with the mode mark. */
.callout { margin: 28px 0 0; padding: 22px 24px; border-radius: 23px; background: linear-gradient(180deg, color-mix(in srgb, var(--t-bg), var(--t-lift) 10%), var(--t-bg)); border: 1px solid var(--line); }
.callout .label { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.callout .label .mark { width: 22px; height: 22px; }
.callout-eco .mark { color: var(--green); }
.callout-meta .mark { color: var(--amber); }
.callout p { font-size: 17px; line-height: 1.65; color: var(--prose); }
.callout p + p { margin-top: 10px; }

/* Voice commands: what you say, and what VOX does. */
.prose ul.voice-list { list-style: none; margin: 28px 0 0; padding: 8px 0; border-radius: 23px; background: linear-gradient(180deg, color-mix(in srgb, var(--t-bg), var(--t-lift) 10%), var(--t-bg)); border: 1px solid var(--line); }
.voice-list li { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 22px; margin: 0; }
.voice-list li + li { margin: 0; border-top: 1px solid var(--line); }
.voice-list .say { padding: 8px 16px; border-radius: 999px; background: var(--card-2); color: var(--ink); font-size: 16px; }
.voice-list .does { font-size: 12px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); text-align: right; }

/* Tables: a glass panel with hairline rows; the VOX row or column is set in ink. */
.prose .table-wrap { margin: 28px 0 0; overflow-x: auto; border-radius: 23px; background: linear-gradient(180deg, color-mix(in srgb, var(--t-bg), var(--t-lift) 10%), var(--t-bg)); border: 1px solid var(--line); }
.prose table { width: 100%; border-collapse: collapse; font-size: 16px; line-height: 1.5; }
.prose th { padding: 16px 20px 12px; text-align: left; font-size: 12px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.prose td { padding: 14px 20px; border-top: 1px solid var(--line); vertical-align: top; }
.prose tr.vox td, .prose .vox { color: var(--ink); font-weight: 600; }
.prose table.scores th:not(:first-child), .prose table.scores td:not(:first-child) { text-align: right; font-variant-numeric: tabular-nums; }
.prose table.grouped tr.group td { padding: 22px 20px 8px; color: var(--ink); font-weight: 600; text-align: left !important; border-top: 1px solid var(--line-2); }
.prose table.grouped tr.group td span { color: var(--muted); font-weight: 400; }
.prose table.grouped tr.group + tr td { border-top: 0; }
.prose table.grouped tbody tr:first-child td { border-top: 0; }

.sources { margin-top: 72px; }
.sources-inner { border-top: 1px solid var(--line); padding-top: 28px; }
.sources ul { list-style: none; margin: 16px 0 0; padding: 0; font-size: 14px; line-height: 1.6; color: var(--muted); }
.sources li + li { margin-top: 10px; }
.sources a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 3px; }
.sources a:hover { text-decoration-color: var(--ink); }

.more-articles { padding: 96px 0 24px; }
.more-articles .wrap > .label { margin-bottom: 20px; }
.article-page .article-card h3 { font-weight: 400; letter-spacing: -0.01em; }
.more-articles .article-cards { grid-template-columns: repeat(2, 1fr); }
.articles .article-cards { grid-template-columns: repeat(4, 1fr); }
.articles .article-card h3 { font-size: 20px; }
.articles .article-card-body { padding: 20px 20px 22px; }
.articles .article-card .label { font-size: 13px; letter-spacing: 0.16em; }

@media (max-width: 1180px) {
  .articles .article-cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
  .articles .article-cards { grid-template-columns: 1fr; }
  .nav-links { display: flex; }
  .nav-links a:not(.nav-articles) { display: none; }
  .article-cards { grid-template-columns: 1fr; max-width: 560px; }
  .articles { padding: 80px 0; }
}
@media (max-width: 640px) {
  .article-head, .prose, .sources, .article-hero { padding: 0 16px; }
  .article { padding-top: 32px; }
  .prose { font-size: 17px; }
  .prose h2 { margin-top: 52px; }
  .more-articles .article-cards { grid-template-columns: 1fr; }
  .voice-list li { flex-direction: column; align-items: flex-start; gap: 8px; }
  .voice-list .does { text-align: left; }
  .prose table { font-size: 15px; }
  .prose th, .prose td { padding-left: 14px; padding-right: 14px; }
  .prose th { white-space: normal; letter-spacing: 0.1em; }
  .prose table.scores th:not(:first-child), .prose table.scores td:not(:first-child) { padding-left: 6px; }
}

/* LANDING PAGES (generated from src/pages by scripts/build.py). Article type, home layout pieces. */
.lp-hero { position: relative; padding: 64px 0 40px; overflow: hidden; }
.lp-hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(800px 520px at 78% 30%, color-mix(in srgb, var(--amber) 9%, transparent), transparent 60%); pointer-events: none; }
.lp-hero-grid { position: relative; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; }
.lp-hero h1 { font-weight: 300; font-size: clamp(40px, 5.6vw, 64px); line-height: 1.04; letter-spacing: -0.035em; margin: 10px 0 22px; }
.lp-hero .lede { color: var(--prose); }
.lp-hero .kicker { display: inline-flex; align-items: center; gap: 10px; }
.lp-hero .kicker .mark { width: 20px; height: 20px; }
.lp-hero-visual { display: flex; justify-content: center; }
.lp-section { padding: 88px 0; }
.lp-section + .lp-section { padding-top: 24px; }
.lp-section .prose { padding: 0; }
.lp-section h2 { font-weight: 300; font-size: clamp(30px, 3.8vw, 44px); letter-spacing: -0.03em; }
.lp-split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.lp-split-rev .lp-copy { order: 2; }
.lp-copy .body { color: var(--prose); }
.lp-grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 8px; }
.lp-card { padding: 24px; border-radius: 23px; background: linear-gradient(180deg, color-mix(in srgb, var(--t-bg), var(--t-lift) 10%), var(--t-bg)); border: 1px solid var(--line); }
.lp-card h3 { font-size: 20px; font-weight: 500; letter-spacing: -0.01em; margin-bottom: 10px; }
.lp-card p { color: var(--prose); font-size: 16px; line-height: 1.6; }
.lp-card .label { display: block; margin-bottom: 14px; }
.lp-faq .faq-list p { color: var(--prose); }
.lp-related { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.lp-related a { padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 14px; color: var(--muted); transition: color .2s, border-color .2s; }
.lp-related a:hover { color: var(--ink); border-color: var(--ink); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.nav-links a[aria-current="page"] { color: var(--ink); }

/* TEMPO LADDER TOOL */
.ladder { max-width: 768px; margin: 36px auto 0; padding: 26px 24px 24px; border-radius: 23px; background: linear-gradient(180deg, color-mix(in srgb, var(--t-bg), var(--t-lift) 10%), var(--t-bg)); border: 1px solid var(--line); }
.ladder-form { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.ladder-form label { display: flex; flex-direction: column; gap: 8px; font-size: 13px; color: var(--muted); }
.ladder-form .unit { color: var(--faint); font-size: 12px; }
.ladder-form input, .ladder-form select { width: 100%; height: 46px; padding: 0 12px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--panel-2); color: var(--ink); font: 500 17px/1 var(--sans); }
.ladder-sum { margin-top: 22px; color: var(--prose); font-size: 16px; }
.ladder-steps { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 8px; counter-reset: rung; }
.ladder-steps li { display: grid; grid-template-columns: 36px 104px 1fr; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); counter-increment: rung; }
.ladder-steps li::before { content: counter(rung); width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; font-size: 12px; color: var(--muted); }
.ladder-steps b { font-weight: 600; font-variant-numeric: tabular-nums; }
.ladder-steps span { color: var(--prose); font-size: 15px; }
.ladder-steps li.is-goal { border-color: color-mix(in srgb, var(--green) 55%, transparent); }
.ladder-steps li.is-goal b { color: var(--green); }
.ladder-steps li.is-over { opacity: 0.7; border-style: dashed; }
.ladder-steps li.is-over::before { content: '+'; }
.ladder-note { margin-top: 16px; font-size: 14px; color: var(--faint); }
.ladder-actions { display: flex; gap: 10px; margin-top: 18px; }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--line-2); box-shadow: none; }

@media (max-width: 960px) {
  .lp-hero-grid, .lp-split { grid-template-columns: 1fr; gap: 48px; }
  .lp-hero-copy { text-align: center; display: flex; flex-direction: column; align-items: center; }
  .lp-split-rev .lp-copy { order: 0; }
  .lp-grid3 { grid-template-columns: 1fr; }
  .ladder-form { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .lp-hero { padding-top: 32px; }
  .lp-section { padding: 64px 0; }
  .ladder { margin-left: 16px; margin-right: 16px; padding: 20px 16px; }
  .ladder-steps li { grid-template-columns: 30px 1fr; }
  .ladder-steps span { grid-column: 2; }
}
@media print {
  .nav, .footer, .final, .lp-faq, .prose, .ladder-actions, .ladder-form, .article-head .crumb { display: none !important; }
  body, .article-page { background: #fff !important; color: #000 !important; }
  .ladder { border: 0; background: none; }
  .ladder-steps li { background: none; border: 1px solid #999; }
  .ladder-steps span, .ladder-sum { color: #000; }
}
.more-link { color: var(--ink); text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 4px; transition: text-decoration-color .2s; }
.more-link:hover { text-decoration-color: var(--ink); }
.lp-hub-group { margin: 56px 0 20px; }
.more-articles h2.label { font-size: 12px; font-weight: 700; letter-spacing: 0.2em; margin-bottom: 20px; }
.lp-visual { display: flex; justify-content: center; }
