:root {
  color-scheme: dark;
  --bg: #0b0b0f;
  --panel: #131318;
  --raised: #1a1a21;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.15);
  --ink: #f1f1f5;
  --muted: #a0a0ad;
  --faint: #6f6f7c;
  --accent: #7fb2ff;
  --accent-soft: rgba(127, 178, 255, 0.16);
  --btn: #f1f1f5;
  --on-btn: #0b0b0f;
  --shadow: 0 8px 26px rgba(0, 0, 0, 0.45);
  --shadow-soft: 0 2px 10px rgba(0, 0, 0, 0.3);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --wave: #dfe4ee;
  --glass: rgba(255, 255, 255, 0.07);
}

:root[data-theme='light'] {
  color-scheme: light;
  --bg: #f6f6f8;
  --panel: #ffffff;
  --raised: #eeeef2;
  --line: rgba(10, 10, 20, 0.09);
  --line-strong: rgba(10, 10, 20, 0.18);
  --ink: #15151a;
  --muted: #565662;
  --faint: #7a7a86;
  --accent: #2563d6;
  --accent-soft: rgba(37, 99, 214, 0.12);
  --btn: #15151a;
  --on-btn: #ffffff;
  --shadow: 0 8px 26px rgba(20, 20, 40, 0.14);
  --shadow-soft: 0 2px 10px rgba(20, 20, 40, 0.08);
  --wave: #2a2f3a;
  --glass: rgba(20, 20, 40, 0.06);
}

* { box-sizing: border-box; }

html {
  background: var(--bg);
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.6 -apple-system, BlinkMacSystemFont, 'Segoe UI Variable Text', 'Segoe UI', system-ui, Roboto, 'Helvetica Neue', Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: var(--accent); text-underline-offset: 3px; }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 6px;
}

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3 { line-height: 1.2; letter-spacing: -0.015em; margin: 0; font-weight: 600; }
h1 { font-size: clamp(32px, 5.2vw, 50px); letter-spacing: -0.025em; }
h2 { font-size: clamp(22px, 2.8vw, 27px); margin-bottom: 14px; }
h3 { font-size: 17px; margin-bottom: 6px; letter-spacing: -0.01em; }
h3.after { margin-top: 20px; }
p { margin: 0 0 12px; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding-left: 20px; }
li { margin-bottom: 8px; }
li:last-child { margin-bottom: 0; }

code, kbd {
  font: 0.86em ui-monospace, SFMono-Regular, Consolas, Menlo, monospace;
  background: var(--raised);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 2px 6px;
  overflow-wrap: anywhere;
}
kbd { white-space: nowrap; border-bottom-width: 2px; }

.skip {
  position: absolute;
  left: -999px;
  top: 8px;
  background: var(--btn);
  color: var(--on-btn);
  padding: 8px 14px;
  border-radius: 8px;
  z-index: 20;
}
.skip:focus { left: 8px; }

/* Header */
.top {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px clamp(16px, 4vw, 40px);
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  view-transition-name: site-header;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--ink);
  font-weight: 650;
  font-size: 17px;
  letter-spacing: -0.02em;
  text-decoration: none;
}
.mark { flex: none; }
.top nav {
  display: flex;
  gap: 2px;
  margin-left: auto;
  overflow-x: auto;
  scrollbar-width: none;
}
.top nav::-webkit-scrollbar { display: none; }
.top nav a {
  position: relative;
  padding: 7px 11px;
  color: var(--muted);
  text-decoration: none;
  font-size: 14.5px;
  white-space: nowrap;
  border-radius: 8px;
  transition: color 0.15s;
}
.top nav a:hover { color: var(--ink); }
.top nav a[aria-current] { color: var(--ink); }
.nav-mark {
  position: absolute;
  left: 11px;
  right: 11px;
  bottom: 1px;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
  view-transition-name: nav-mark;
}
.theme {
  flex: none;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--muted);
  cursor: pointer;
  transition: color 0.15s, border-color 0.15s;
}
.theme:hover { color: var(--ink); border-color: var(--line-strong); }

/* Page layout */
main { max-width: 1120px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 40px); }
.hero { padding: clamp(52px, 8vw, 88px) 0 clamp(20px, 4vw, 40px); text-align: center; }
.hero h1 { max-width: 20ch; margin: 0 auto 16px; }
.lead { font-size: clamp(17px, 1.9vw, 19px); color: var(--muted); max-width: 60ch; margin: 0 auto 28px; line-height: 1.5; }
.head { padding: clamp(48px, 8vw, 80px) 0 12px; }
.head .lead { margin-left: 0; margin-top: 16px; }
.head h1 { font-size: clamp(30px, 4.6vw, 42px); }
.band { padding: clamp(36px, 6vw, 64px) 0; }
.band.narrow { max-width: 620px; }
.plain { color: var(--muted); max-width: 72ch; margin-top: 16px; }
.band > .plain:first-child { margin-top: 0; margin-bottom: 20px; }
.helper { color: var(--muted); font-size: 14.5px; margin-top: 16px; }
.closer { text-align: center; padding: clamp(40px, 7vw, 72px) 0 clamp(56px, 8vw, 96px); }
.closer p { color: var(--muted); margin-bottom: 22px; }
.jump { display: flex; gap: 10px; }

.grid { display: grid; gap: 14px; }
.grid.two { grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); }
.grid.three { grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.tile {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px;
  min-width: 0;
}
.tile p, .tile li { color: var(--muted); }
.tile li strong { color: var(--ink); font-weight: 600; }

/* Buttons */
.cta { display: flex; flex-wrap: wrap; gap: 8px 22px; justify-content: center; align-items: center; }
.link-quiet { color: var(--muted); text-decoration: none; font-weight: 500; }
.link-quiet:hover { color: var(--ink); }
/* How many downloads so far, under the hero's buttons. */
.dl-count { display: inline-block; margin: 22px 0 0; padding: 7px 16px; border: 1px solid var(--line); border-radius: 999px; background: var(--panel); color: var(--muted); font-size: 14px; }
.dl-count strong { color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; }
.btn {
  display: inline-block;
  padding: 11px 20px;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  box-shadow: var(--shadow-soft);
  transition: transform 0.16s var(--ease), box-shadow 0.16s var(--ease), background 0.15s;
}
.btn.primary { background: var(--btn); color: var(--on-btn); border-color: transparent; }
.btn.big { padding: 15px 30px; font-size: 18px; }
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn:active { transform: translateY(1px); box-shadow: var(--shadow-soft); }
.btn[disabled] { opacity: 0.6; cursor: default; transform: none; }

/* Words beside a picture, swapping sides down the page */
.show {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(24px, 6vw, 72px);
  align-items: center;
  padding: clamp(40px, 7vw, 80px) 0;
}
.show.flip .show-text { order: 2; }
.show-text p { color: var(--muted); }
.show .shot { margin: 0; max-width: none; }
.trio {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
  gap: 26px clamp(24px, 4vw, 48px);
  padding: clamp(40px, 7vw, 76px) 0 clamp(16px, 3vw, 32px);
}
.trio h2 { font-size: 16px; margin-bottom: 6px; letter-spacing: -0.005em; }
.trio p { color: var(--muted); font-size: 15px; margin: 0; }
.looks { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 12px; }
.looks figure, .flow-steps figure { margin: 0; }
.looks img, .flow-steps img { border-radius: 12px; border: 1px solid var(--line); background: #17181c; }
.looks figcaption { color: var(--faint); font-size: 13.5px; margin-top: 6px; }
.looks-band { padding-top: 0; }
.caption { color: var(--faint); font-size: 14px; margin-top: 14px; }
.flow-steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 16px; }
.flow-steps li { margin: 0; }
.flow-steps figcaption { color: var(--muted); font-size: 15px; margin-top: 10px; }
.flow-steps strong { color: var(--ink); font-weight: 600; }
.sub-head { margin: 30px 0 4px; }
.sub-head + .plain { margin-top: 2px; margin-bottom: 12px; }
.custom .shot { margin: 0; max-width: none; }
.spots {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  border: 1px solid var(--line-strong);
  background: radial-gradient(70% 70% at 50% 110%, var(--accent-soft), transparent 70%), var(--panel);
}
.spot {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: 13%;
  height: 4px;
  transform: translate(-50%, -50%);
  border-radius: 4px;
  background: var(--line-strong);
}
.spot.on { width: 24%; height: 5px; background: var(--wave); box-shadow: 0 0 18px var(--accent-soft); }
.tab-in { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 24px; max-width: none; align-items: start; }
.tab-in .shot { margin: 0; }
.tab > summary { font-size: 17px; }
.spec { font-size: 14.5px; }
.spec tbody th { min-width: 96px; width: 96px; color: var(--muted); font-weight: 500; }
.spec td { color: var(--ink); }
.spec td:last-child { color: var(--muted); }
.spec-note { color: var(--muted); font-size: 14.5px; margin-top: 12px; }
.specs { gap: 36px; }

/* The pill that opens into the listening bar */
.demo { margin: clamp(40px, 7vw, 64px) auto 0; max-width: 720px; }
.demo-screen {
  position: relative;
  height: 250px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: radial-gradient(90% 90% at 50% 110%, var(--accent-soft), transparent 70%), var(--panel);
  overflow: hidden;
}
.demo-text {
  position: absolute;
  inset: 26px 28px auto;
  margin: 0;
  text-align: left;
  color: var(--ink);
  font-size: clamp(15px, 2.2vw, 18px);
}
.demo-text span {
  display: inline-block;
  opacity: 0;
  animation: demo-text 7s var(--ease) infinite;
}
.pill {
  position: absolute;
  left: 50%;
  bottom: 34px;
  width: 70px;
  height: 56px;
  transform: translateX(-50%);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 16%, #000 84%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 16%, #000 84%, transparent);
  overflow: hidden;
  filter: drop-shadow(0 0 16px var(--accent-soft));
  animation: pill 7s var(--ease) infinite;
}
.ribbons {
  position: absolute;
  left: 0;
  top: 0;
  width: 200%;
  min-width: 600px;
  height: 100%;
  fill: none;
  stroke: var(--wave);
  stroke-linecap: round;
  stroke-width: 1.5;
  transform: scaleY(0.12);
  animation: ribbons 7s var(--ease) infinite;
}
.ribbons path { animation: slide 6s linear infinite; }
.ribbons .r1 { opacity: 0.45; }
.ribbons .r2 { opacity: 0.7; animation-duration: 4.5s; animation-direction: reverse; }
.ribbons .r3 { opacity: 0.55; animation-duration: 5.2s; }
.ribbons .r4 { opacity: 0.95; animation-duration: 3.4s; }
@keyframes pill {
  0%, 8% { width: 70px; }
  18%, 62% { width: min(340px, 82%); }
  72%, 100% { width: 70px; }
}
@keyframes ribbons {
  0%, 8% { transform: scaleY(0.12); }
  18% { transform: scaleY(0.8); }
  28% { transform: scaleY(0.45); }
  38% { transform: scaleY(1); }
  48% { transform: scaleY(0.55); }
  62% { transform: scaleY(0.85); }
  72%, 100% { transform: scaleY(0.12); }
}
@keyframes slide {
  to { transform: translateX(-300px); }
}
@keyframes demo-text {
  0%, 66% { opacity: 0; transform: translateY(6px); }
  72%, 94% { opacity: 1; transform: none; }
  100% { opacity: 0; }
}

/* Download cards */
.dl-card {
  position: relative;
  display: block;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px;
  color: inherit;
  text-decoration: none;
  box-shadow: var(--shadow-soft);
  transition: transform 0.16s var(--ease), box-shadow 0.16s var(--ease), border-color 0.15s;
  min-width: 0;
}
a.dl-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: var(--line-strong); }
a.dl-card:active { transform: translateY(1px); }
.dl-card h3 { font-size: 22px; margin-bottom: 0; }
.dl-card .sub { color: var(--muted); margin-bottom: 16px; }
.dl-go {
  display: block;
  text-align: center;
  padding: 11px;
  border-radius: 11px;
  border: 1px solid var(--line-strong);
  font-weight: 600;
  margin-bottom: 16px;
}
.dl-card.me { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), 0 10px 40px var(--accent-soft); }
.dl-card.me .dl-go { background: var(--btn); color: var(--on-btn); border-color: transparent; }
.badge {
  display: none;
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 2px 9px;
  border-radius: 99px;
}
.dl-card.me .badge { display: block; }
.dl-card dl { display: grid; grid-template-columns: auto 1fr; gap: 3px 14px; margin: 0; font-size: 14px; }
.dl-card dt { color: var(--faint); }
.dl-card dd { margin: 0; color: var(--muted); }
.dl-card.off { opacity: 0.75; box-shadow: none; }
.soon { color: var(--muted); font-weight: 600; }
.uses {
  margin-top: 14px;
  color: var(--muted);
  font-size: 14.5px;
  max-width: 80ch;
}
.uses strong { color: var(--ink); }
.note {
  margin-top: 14px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-left: 2px solid var(--accent);
  border-radius: 12px;
  padding: 18px 22px;
}
.note p { color: var(--muted); }

/* Tables */
.table-wrap { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; font-size: 15px; }
.settings { margin: 8px 0 18px; }
th, td { text-align: left; vertical-align: top; padding: 11px 14px 11px 0; border-bottom: 1px solid var(--line); }
thead th { color: var(--faint); font-weight: 600; font-size: 13px; }
tbody th { font-weight: 600; min-width: 160px; }
td { color: var(--muted); }
td.def { white-space: nowrap; }
.tab-name { margin: 34px 0 6px; font-size: 20px; }
.band .tab-name:first-of-type { margin-top: 24px; }

/* Pictures */
.shot { margin: 10px 0 8px; }
.shot img { border-radius: 12px; border: 1px solid var(--line); box-shadow: var(--shadow); background: var(--raised); }
.steps { list-style: none; padding: 0; counter-reset: step; display: grid; gap: 28px; }
.steps li {
  counter-increment: step;
  display: grid;
  gap: 14px 26px;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  align-items: start;
  margin: 0;
}
.steps h3::before { content: counter(step) '. '; color: var(--faint); }
.steps p { color: var(--muted); }
.steps img { border-radius: 12px; border: 1px solid var(--line); background: var(--raised); }
.flow { padding-left: 22px; max-width: 60ch; color: var(--muted); }
.flow strong { color: var(--ink); }

.word-demo { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 16px 0; }
.box { background: var(--panel); border: 1px solid var(--line-strong); border-radius: 9px; padding: 8px 14px; overflow-wrap: anywhere; }
.arrow { color: var(--faint); }

/* Things that open and close */
.fold { border-bottom: 1px solid var(--line); }
.fold summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 16px 2px;
  font-weight: 600;
}
.fold summary::-webkit-details-marker { display: none; }
.fold summary::after {
  content: '';
  flex: none;
  width: 9px;
  height: 9px;
  border-right: 2px solid var(--faint);
  border-bottom: 2px solid var(--faint);
  transform: rotate(45deg);
  transition: transform 0.22s var(--ease);
  margin-right: 4px;
}
.fold[open] summary::after { transform: rotate(-135deg); }
.fold-in { overflow: hidden; padding: 0 2px 18px; color: var(--muted); max-width: 72ch; }
.fold-in h3 { color: var(--ink); font-size: 14px; margin: 12px 0 6px; }
.fold-in h3:first-child { margin-top: 0; }
.release .ver { font-size: 20px; letter-spacing: -0.01em; }
.release .date { margin-left: auto; color: var(--faint); font-weight: 400; font-size: 14px; }

/* Prose */
.prose { max-width: 72ch; }
.prose h2 { font-size: 21px; margin: 34px 0 10px; }
.prose h2:first-child { margin-top: 0; }
.prose p { color: var(--muted); }

/* The form */
.form { display: grid; gap: 16px; }
.form label { display: grid; gap: 6px; font-weight: 600; font-size: 15px; }
.form small { color: var(--faint); font-weight: 400; }
input, select, textarea {
  width: 100%;
  font: inherit;
  font-weight: 400;
  color: var(--ink);
  background: var(--panel);
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  padding: 10px 12px;
}
textarea { resize: vertical; }
.hp { position: absolute !important; left: -9999px; height: 1px; overflow: hidden; }
.form-state { padding: 12px 16px; border-radius: 10px; margin: 0; background: var(--accent-soft); }
.form-state.bad { background: rgba(255, 110, 110, 0.12); }

/* Footer */
.foot { border-top: 1px solid var(--line); margin-top: 40px; }
.foot-in {
  max-width: 1120px;
  margin: 0 auto;
  padding: 28px clamp(16px, 4vw, 40px);
  display: flex;
  flex-wrap: wrap;
  gap: 14px 26px;
  align-items: center;
  color: var(--faint);
  font-size: 14.5px;
}
.foot-links { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.foot-links a { color: var(--muted); text-decoration: none; }
.foot-links a:hover { color: var(--ink); }
.foot-in p { margin: 0 0 0 auto; }

/* Fades in once, the first time it's seen. Only with scripts on, so nothing ever stays hidden. */
.js .reveal { opacity: 0; transform: translateY(10px); transition: opacity 0.5s var(--ease), transform 0.5s var(--ease); }
.js .reveal.seen { opacity: 1; transform: none; }

/* Between pages: a short fade with a slight slide up. Browsers without this just switch. */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: page-out 120ms ease-out both; }
::view-transition-new(root) { animation: page-in 230ms ease-out both; }
::view-transition-group(nav-mark) { animation-duration: 230ms; animation-timing-function: var(--ease); }
@keyframes page-out { to { opacity: 0; } }
@keyframes page-in { from { opacity: 0; transform: translateY(8px); } }

@media (max-width: 760px) {
  .top { flex-wrap: wrap; gap: 6px 10px; padding-bottom: 6px; }
  .top nav { order: 3; width: 100%; margin: 0; justify-content: space-between; gap: 0; }
  .top nav a { padding: 7px 4px; font-size: 14px; }
  .nav-mark { left: 4px; right: 4px; }
  .theme { margin-left: auto; }
  .steps li { grid-template-columns: minmax(0, 1fr); }
  .show { grid-template-columns: minmax(0, 1fr); }
  .show.flip .show-text { order: 0; }
  .tab-in { grid-template-columns: minmax(0, 1fr); }
  tbody th { min-width: 120px; }
  .foot-in p { margin-left: 0; width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  @view-transition { navigation: none; }
  .js .reveal { opacity: 1; transform: none; }
  /* Show the finished state of the demo instead. */
  .pill { width: min(340px, 82%); }
  .ribbons { transform: scaleY(0.8); }
  .demo-text span { opacity: 1; }
}

/* Buying, the licence key and the licence page */
.price-card { background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 28px; max-width: 560px; margin: 0 auto 18px; text-align: center; }
.price { font-size: clamp(40px, 6vw, 56px); font-weight: 700; letter-spacing: -0.02em; margin: 0 0 12px; }
.ticks { list-style: none; padding: 0; margin: 0 auto 22px; text-align: left; max-width: 420px; color: var(--muted); }
.ticks li { padding: 6px 0 6px 26px; position: relative; }
.ticks li::before { content: ''; position: absolute; left: 4px; top: 13px; width: 10px; height: 6px; border-left: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(-45deg); }
.key-box { display: flex; gap: 12px; align-items: center; justify-content: center; flex-wrap: wrap; background: var(--panel); border: 1px solid var(--line-strong); border-radius: 14px; padding: 18px; }
.key-box code { font-size: clamp(16px, 3.6vw, 22px); letter-spacing: 0.04em; background: none; padding: 0; overflow-wrap: anywhere; }
.btn.small { padding: 8px 16px; font-size: 14px; }
.dl-form { margin: 0; display: flex; }
.dl-form .dl-card { width: 100%; text-align: left; font: inherit; color: inherit; cursor: pointer; }
.note-inline { background: var(--accent-soft); border-radius: 10px; padding: 12px 16px; max-width: 560px; margin: 0 auto 18px; }
.licence-form { max-width: 460px; margin: 0 auto; display: grid; gap: 14px; }
.licence-form label { display: grid; gap: 6px; font-weight: 500; }
.error { background: rgba(255, 110, 110, 0.12); border-radius: 10px; padding: 12px 16px; margin: 0; }
.inline-form { margin: 12px 0 0; }

/* The heartbeat wordmark: written left to right like a monitor sweeping, then it stays. */
.hero-mark { max-width: 1000px; margin: -8px auto 22px; }
.hero-mark .wordmark { display: block; width: 100%; height: auto; overflow: visible; --logo-trace: var(--ink); --logo-bg: var(--bg); }
.wordmark .sweep { transform-box: view-box; transform-origin: 0 0; animation: wm-sweep 1.8s cubic-bezier(0.4, 0.1, 0.6, 1) both; }
.wordmark .scan { animation: wm-scan 1.8s cubic-bezier(0.4, 0.1, 0.6, 1) both; }
@keyframes wm-sweep { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes wm-scan { from { transform: translateX(0); opacity: 1; } 92% { opacity: 1; } to { transform: translateX(var(--sweep)); opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .wordmark .sweep { animation: none; }
  .wordmark .scan { display: none; }
}

/* Why murmrrr */
.why { text-align: center; }
.why-title { font-size: clamp(26px, 3.4vw, 36px); letter-spacing: -0.02em; margin: 0 0 12px; }
.why-lead { color: var(--muted); max-width: 62ch; margin: 0 auto 28px; font-size: 17px; line-height: 1.55; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 14px; margin: 0 auto 56px; max-width: 960px; }
.stat { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 22px 16px; display: grid; gap: 4px; }
.stat-num { font-size: clamp(30px, 4vw, 40px); font-weight: 700; letter-spacing: -0.02em; color: var(--ink); }
.stat-label { color: var(--muted); font-size: 15px; }
.why-grid { text-align: left; margin: 8px 0 56px; }
.why-grid h3 { font-size: 17px; margin: 0 0 6px; }
.calc { background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: clamp(22px, 4vw, 36px); max-width: 760px; margin: 0 auto; }
.calc-in { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 18px 28px; text-align: left; margin-bottom: 18px; }
.calc-in label { display: grid; grid-template-columns: 1fr auto; gap: 8px; font-weight: 500; }
.calc-in output { font-weight: 700; color: var(--ink); }
.calc-in input[type='range'] { grid-column: 1 / -1; width: 100%; accent-color: var(--ink); }
.calc-out { font-size: 18px; margin: 0; }
.calc-out strong { color: var(--ink); }
.fine { color: var(--faint); font-size: 13px; max-width: 70ch; margin: 18px auto 0; }
.btn[disabled] { opacity: 0.55; cursor: not-allowed; transform: none; box-shadow: none; }
