/* =========================================================================
   The page is deliberately monochrome. Every colour you see comes out of the
   visualizer canvases — the product is the only thing on the page allowed to
   be colourful. Theme variables (--stop-*, --glow, --tint) are written onto
   :root by js/site.js from the app's own presets.
   ========================================================================= */

:root {
  --stop-0: #6366f1;
  --stop-1: #a855f7;
  --stop-2: #ec4899;
  --glow: #a855f7;
  --tint: rgba(76, 46, 140, 0.38);

  --bg: #000;
  --ink: #fff;
  --ink-2: #8a8a90;
  --ink-3: #5c5c62;
  --line: rgba(255, 255, 255, 0.11);
  --fill: #0e0e10;

  --gutter: clamp(20px, 5vw, 56px);
  --maxw: 1080px;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

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

/* Anchor jumps stop below the floating nav instead of under it. */
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Inter Tight", "Segoe UI Variable Display", "Segoe UI", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

p { margin: 0; }
a { color: inherit; text-decoration: none; }
canvas { display: block; width: 100%; height: 100%; }

code, kbd {
  font-family: ui-monospace, "Cascadia Mono", Consolas, monospace;
  font-size: 0.87em;
}

h1, h2, h3 {
  margin: 0;
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.03;
}

:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

.skip {
  position: absolute;
  left: -9999px;
  top: 8px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--ink);
  color: #000;
  font-weight: 600;
}
.skip:focus { left: 12px; }

/* ───────────────────────────────────────────────────────────────── nav ─── */

/* A floating capsule, detached from the top edge, rather than a full-width bar. */
.nav {
  position: sticky;
  top: 14px;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: min(780px, calc(100% - 32px));
  height: 52px;
  margin: 14px auto 0;
  padding: 0 6px 0 20px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(10, 10, 12, 0.72);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  box-shadow: 0 10px 34px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.025em;
}

/* The Weyv wave, redrawn as SVG from the brand PNG. It keeps its own
   gradient: the logo is the one piece of page chrome allowed colour. */
.wordmark__logo {
  display: block;
  width: auto;
  height: 18px;
}

.nav__right { display: flex; align-items: center; gap: 4px; }

.nav__links { display: flex; align-items: center; gap: 2px; margin-right: 6px; }

.nav__item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink-2);
  transition: color 160ms var(--ease), background 160ms var(--ease);
}
.nav__item:hover { color: var(--ink); background: rgba(255, 255, 255, 0.06); }

/* Returning buyers, one step quieter than Buy. */
.nav__item--outline {
  height: 40px;
  border: 1px solid var(--line);
  color: var(--ink);
}
.nav__item--outline:hover { border-color: rgba(255, 255, 255, 0.2); }

.nav__item--solid {
  height: 40px;
  padding: 0 18px;
  background: var(--ink);
  color: #000;
  font-weight: 600;
}
.nav__item--solid:hover { background: #d8d8dc; color: #000; }
.nav__item--solid span { transition: transform 170ms var(--ease); }
.nav__item--solid:hover span { transform: translateX(2px); }

/* ──────────────────────────────────────────────────────────────── hero ─── */

.hero {
  /* Full width, not the page column: the ribbons behind the name run edge to edge. */
  margin: 0 auto;
  /* Top padding leaves room for the ring's upper spokes below the nav. */
  padding: clamp(96px, 15vw, 172px) var(--gutter) clamp(34px, 5vw, 52px);
  text-align: center;
  overflow-x: clip; /* the ring is wider than a phone */
}

/* The wordmark sits inside a live Ring visualizer. The canvas is centred on
   the word and sized so the ring's inner edge clears it, then held back in
   opacity so the headline stays the headline. */
.hero__stage {
  position: relative;
  isolation: isolate;
}

.hero__ring {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: -1;
  width: clamp(300px, 50vw, 560px);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  opacity: 0.85;
  pointer-events: none;
  -webkit-mask-image: radial-gradient(closest-side, #000 72%, transparent 100%);
  mask-image: radial-gradient(closest-side, #000 72%, transparent 100%);
}
.hero__ring canvas { display: block; width: 100%; height: 100%; }

/* A disc of the page's black under the ring, so the ribbons pass behind it
   instead of showing through its middle: solid out to the ring's inner edge,
   then thinning out along the spokes. Same box as the ring, painted first. */
.hero__stage::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: -1;
  width: clamp(300px, 50vw, 560px);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(closest-side, #000 56%, rgba(0, 0, 0, 0.82) 66%, rgba(0, 0, 0, 0) 88%);
  pointer-events: none;
}

/* Ribbons of light running the full width of the page, behind the ring and
   the name (js/showcase.js). Every kick sends a bump out from the middle, so
   it reads as coming off the ring. The mask lets both ends fade out. */
.hero__waves {
  position: absolute;
  left: calc(-1 * var(--gutter));
  right: calc(-1 * var(--gutter));
  top: 50%;
  z-index: -2;
  height: clamp(280px, 44vw, 520px);
  transform: translateY(-50%);
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 14%, #000 86%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 14%, #000 86%, transparent);
}

/* The product name, set as large as the viewport will take. */
.hero__word {
  display: inline-block;
  text-shadow: 0 2px 30px rgba(0, 0, 0, 0.55);
  font-size: clamp(4.4rem, 17vw, 12rem);
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 0.92;
}

.hero__sub {
  position: relative;
  max-width: 34ch;
  text-shadow: 0 1px 14px #000, 0 0 4px #000;
  /* Clears the ring's lower spokes. */
  margin: clamp(92px, 12vw, 136px) auto 0;
  font-size: clamp(16px, 1.7vw, 19px);
  color: var(--ink-2);
  text-wrap: balance;
}

/* Buyer count under the hero's buy button. White and grey, like the rest of the chrome. */
.counter {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: clamp(36px, 5vw, 56px);
}
.counter[hidden] { display: none; }
.counter__n {
  font-size: clamp(40px, 6vw, 64px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.counter__label {
  margin-top: 8px;
  font-size: 14px;
  color: var(--ink-2);
}

.row { display: flex; flex-wrap: wrap; gap: 10px; }
.row--center { justify-content: center; margin-top: clamp(26px, 3.4vw, 36px); }
.row--center.row--tight { margin-top: 10px; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--fill);
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  white-space: nowrap;
  cursor: pointer;
  transition: background 170ms var(--ease), border-color 170ms var(--ease);
}
.btn:hover { background: #1a1a1d; border-color: rgba(255, 255, 255, 0.2); }

.btn--light {
  background: var(--ink);
  border-color: var(--ink);
  color: #000;
  font-weight: 600;
}
.btn--light:hover { background: #d8d8dc; border-color: #d8d8dc; }

.btn__icon { width: 17px; height: 17px; flex: none; }

.fine {
  margin-top: 16px;
  font-size: 13.5px;
  color: var(--ink-3);
}

/* ──────────────────────────────────────────────────────────── the shot ─── */

.shot {
  position: relative;
  max-width: 860px;
  margin: 0 auto;
  padding: clamp(24px, 4vw, 44px) var(--gutter) clamp(60px, 9vw, 110px);
  isolation: isolate;
}

/* The widget's own light, spilling past its edges onto the page — which is
   what it actually does sitting on a dark wallpaper. */
.shot__bloom {
  position: absolute;
  inset: clamp(4px, 1vw, 12px) 4% clamp(44px, 8vw, 92px);
  z-index: -1;
  filter: blur(46px) saturate(155%);
  opacity: 0.62;
  transform: scale(1.06);
  pointer-events: none;
}

/* The app's own card chrome, rule for rule. */
.card {
  position: relative;
  aspect-ratio: 16 / 9;
  margin: 0;
  border-radius: clamp(16px, 2.6vw, 26px);
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(130% 110% at 50% -10%, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.02) 42%, rgba(255, 255, 255, 0) 68%),
    linear-gradient(165deg, rgba(20, 20, 28, 0.8) 0%, rgba(10, 10, 15, 0.9) 100%);
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 100% at 50% 110%, var(--tint), rgba(0, 0, 0, 0) 72%);
  transition: background 420ms ease;
  pointer-events: none;
}
.card canvas { position: absolute; inset: 0; }

.card__meta {
  position: absolute;
  top: clamp(12px, 2vw, 18px);
  left: clamp(14px, 2.4vw, 22px);
  display: flex;
  align-items: center;
  gap: 8px;
  opacity: 0.8;
  pointer-events: none;
}

.card__pip {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--glow);
  transition: background 420ms var(--ease);
}

.card__label {
  font-size: clamp(9px, 1vw, 11px);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}

/* ────────────────────────────────────────────────────────────── bands ─── */

.band {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(64px, 10vw, 124px) var(--gutter);
  border-top: 1px solid var(--line);
}

.eyebrow {
  margin-bottom: clamp(18px, 2.4vw, 26px);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.band h2, .get h2 {
  font-size: clamp(2.3rem, 6.2vw, 4.1rem);
  font-weight: 700;
  letter-spacing: -0.045em;
}

.lede {
  max-width: 48ch;
  margin-top: clamp(20px, 2.6vw, 28px);
  font-size: clamp(16px, 1.6vw, 18px);
  color: var(--ink-2);
}

.note {
  max-width: 56ch;
  margin-top: clamp(20px, 2.6vw, 28px);
  font-size: 15px;
  color: var(--ink-3);
}
.note strong { color: var(--ink-2); font-weight: 500; }

.link {
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--ink-3);
  cursor: pointer;
  transition: text-decoration-color 160ms var(--ease);
}
.link:hover { text-decoration-color: var(--ink); }
.link:disabled { color: var(--ink-3); cursor: wait; }

kbd {
  display: inline-block;
  padding: 1px 6px;
  border: 1px solid var(--line);
  border-radius: 5px;
  font-size: 12px;
  color: var(--ink);
}

code {
  padding: 2px 5px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.07);
  color: var(--ink);
}

/* ───────────────────────────────────────────────────────────── picker ─── */

.picker {
  display: flex;
  flex-wrap: wrap;
  gap: 10px clamp(20px, 3vw, 40px);
  margin-top: clamp(28px, 3.6vw, 40px);
}

.picker__row { display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: center; }

/* Text, not buttons — the active one is simply the one that is white. */
.pick {
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  font-size: clamp(16px, 1.8vw, 19px);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--ink-3);
  cursor: pointer;
  transition: color 170ms var(--ease);
}
.pick:hover { color: var(--ink-2); }
.pick[aria-pressed="true"] { color: var(--ink); }

.picker__row--swatches { gap: 8px 10px; }

/* No frame and no background: the drawing routines feather their own edges,
   so the strip dissolves straight into the page. */
.strip {
  height: clamp(170px, 23vw, 270px);
  margin-top: clamp(24px, 3vw, 36px);
}

.swatch {
  width: 22px;
  height: 22px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2);
  opacity: 0.6;
  transition: opacity 170ms var(--ease), transform 170ms var(--ease);
}
.swatch:hover { opacity: 0.8; }
.swatch[aria-pressed="true"] {
  opacity: 1;
  transform: scale(1.1);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35), 0 0 0 2px #000, 0 0 0 3px var(--ink);
}

/* ────────────────────────────────────────────────────────────── split ─── */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 6vw, 76px);
  align-items: center;
}

/* The split column is half width, so the display size has to come down with it. */
.split h2 { font-size: clamp(2rem, 4.2vw, 2.9rem); }

.plain {
  margin: clamp(22px, 3vw, 30px) 0 0;
  padding: 0;
  list-style: none;
}
.plain li {
  padding: 13px 0;
  border-top: 1px solid var(--line);
  font-size: 16px;
  color: var(--ink-2);
}
.plain li:last-child { border-bottom: 1px solid var(--line); }

/* ─────────────────────────────────────────────────────── desktop mock ─── */

.mock {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px var(--line);
}

.mock__wall {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(75% 70% at 18% 10%, color-mix(in srgb, var(--stop-0) 26%, transparent), transparent 62%),
    radial-gradient(65% 70% at 88% 88%, color-mix(in srgb, var(--stop-2) 22%, transparent), transparent 60%),
    #0a0a0c;
  transition: background 480ms var(--ease);
}
/* The widget, painted onto the wallpaper layer itself. */
.mock__wall canvas {
  position: absolute;
  right: 6%;
  top: 9%;
  width: 44%;
  height: 33%;
}

.mock__icons { position: absolute; top: 7%; left: 6%; display: grid; gap: 14px; }
.mock__icons span {
  width: 24px;
  height: 20px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.13);
}

/* A window on top, to show the widget genuinely sits behind. */
.mock__win {
  position: absolute;
  left: 12%;
  top: 32%;
  width: 66%;
  border-radius: 9px;
  overflow: hidden;
  background: rgba(14, 14, 16, 0.95);
  box-shadow: 0 22px 50px -14px rgba(0, 0, 0, 0.9), inset 0 0 0 1px rgba(255, 255, 255, 0.09);
}
.mock__bar {
  display: flex;
  gap: 5px;
  padding: 9px 11px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.mock__bar i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255, 255, 255, 0.18); }
.mock__lines { display: grid; gap: 8px; padding: 14px 12px 20px; }
.mock__lines span { height: 6px; border-radius: 3px; background: rgba(255, 255, 255, 0.08); }

.mock__taskbar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  justify-content: center;
  gap: 9px;
  padding: 8px;
  background: rgba(8, 8, 10, 0.86);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
/* Four apps, and none of them is the widget. */
.mock__taskbar i {
  width: 16px;
  height: 16px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.13);
}

/* ────────────────────────────────────────────────────────────── facts ─── */

.facts { margin: clamp(30px, 4vw, 44px) 0 0; }

.facts > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr);
  gap: clamp(16px, 4vw, 48px);
  padding: clamp(22px, 3vw, 30px) 0;
  border-top: 1px solid var(--line);
}
.facts > div:last-child { border-bottom: 1px solid var(--line); }

.facts dt {
  font-size: clamp(17px, 1.9vw, 20px);
  font-weight: 600;
  letter-spacing: -0.025em;
}
.facts dd { margin: 0; font-size: 16px; color: var(--ink-2); }

/* ────────────────────────────────────────────────────────────── steps ─── */

.steps {
  margin: clamp(30px, 4vw, 44px) 0 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.steps li {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: clamp(12px, 3vw, 32px);
  padding: clamp(22px, 3vw, 30px) 0;
  border-top: 1px solid var(--line);
}
.steps li:last-child { border-bottom: 1px solid var(--line); }

.steps__n {
  font-size: 14px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--ink-3);
  padding-top: 3px;
}

.steps h3 {
  font-size: clamp(17px, 1.9vw, 20px);
  font-weight: 600;
  letter-spacing: -0.025em;
}
.steps p { margin-top: 8px; max-width: 58ch; font-size: 16px; color: var(--ink-2); }

/* ──────────────────────────────────────────────────────────────── faq ─── */

.faq { margin-top: clamp(30px, 4vw, 44px); }

.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: clamp(18px, 2.4vw, 24px) 0;
  font-size: clamp(16px, 1.8vw, 19px);
  font-weight: 500;
  letter-spacing: -0.02em;
  cursor: pointer;
  list-style: none;
  transition: color 160ms var(--ease);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--ink-2); }

/* A plus that becomes a minus. */
.faq summary::after {
  content: "+";
  flex: none;
  font-size: 22px;
  font-weight: 400;
  line-height: 1;
  color: var(--ink-3);
  transition: transform 220ms var(--ease), color 160ms var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); color: var(--ink); }

.faq p {
  max-width: 62ch;
  padding-bottom: clamp(20px, 2.6vw, 26px);
  font-size: 16px;
  color: var(--ink-2);
}

/* ──────────────────────────────────────────────────────────────── get ─── */

.get {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(74px, 12vw, 140px) var(--gutter);
  border-top: 1px solid var(--line);
  text-align: center;
}

/* ─────────────────────────────────────────────────── thanks + restore ─── */

.get__lede {
  max-width: 44ch;
  margin: 18px auto 0;
  color: var(--ink-2);
  text-wrap: balance;
}

.field {
  flex: 1 1 260px;
  max-width: 340px;
  padding: 12px 20px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--fill);
  font: inherit;
  font-size: 15px;
  color: var(--ink);
}
.field::placeholder { color: var(--ink-3); }
.field:focus { outline: none; border-color: rgba(255, 255, 255, 0.4); }

.btn:disabled { opacity: 0.5; cursor: wait; }

.status { min-height: 1.55em; margin-top: 18px; color: var(--ink-2); }

/* ───────────────────────────────────────────────────────────── footer ─── */

.foot {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: space-between;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 26px var(--gutter) 40px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--ink-3);
}
.foot__links { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.foot__links a { transition: color 160ms var(--ease); }
.foot__links a:hover { color: var(--ink); }

/* ───────────────────────────────────────────────────────────── terms ─── */

/* legal.html: one readable column, same rules and greys as the rest. */
.doc {
  max-width: 720px;
  margin: 0 auto;
  padding: clamp(110px, 14vw, 150px) var(--gutter) clamp(64px, 10vw, 110px);
}
.doc h1 { font-size: clamp(2.3rem, 6.2vw, 3.6rem); letter-spacing: -0.045em; }
.doc__lede { margin: 20px 0 0; color: var(--ink-2); }
.doc__toc { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 28px; font-size: 14px; color: var(--ink-3); }
.doc__toc a:hover { color: var(--ink); }
.doc section { margin-top: 48px; padding-top: 36px; border-top: 1px solid var(--line); }
.doc h2 { font-size: 1.6rem; letter-spacing: -0.03em; }
.doc h3 { margin-top: 26px; font-size: 1.05rem; letter-spacing: -0.01em; }
.doc p { margin: 14px 0 0; color: var(--ink-2); }
.doc ul { margin: 14px 0 0; padding-left: 22px; color: var(--ink-2); }
.doc li + li { margin-top: 6px; }
.doc p a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

/* ──────────────────────────────────────────────────────────────── tag ─── */

/* "Beta", beside an eyebrow. Monochrome like the rest of the page chrome. */
.tag {
  display: inline-block;
  margin-left: 8px;
  padding: 1px 7px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-2);
}

/* ────────────────────────────────────────────────────────────── clock ─── */

.demo { margin-top: clamp(28px, 3.6vw, 40px); }

/* The clock sits straight on the wallpaper in the app, so it gets no frame
   here either — only the same wash of theme colour the mock wall uses. */
.demo__stage {
  display: grid;
  place-items: center;
  min-height: clamp(210px, 26vw, 300px);
  padding: clamp(20px, 3vw, 34px);
  border-radius: 10px;
  background:
    radial-gradient(80% 90% at 14% 8%, color-mix(in srgb, var(--stop-0) 20%, transparent), transparent 64%),
    radial-gradient(70% 80% at 90% 92%, color-mix(in srgb, var(--stop-2) 16%, transparent), transparent 62%),
    #0a0a0c;
  box-shadow: inset 0 0 0 1px var(--line);
  transition: background 480ms var(--ease);
}

/* face.css sizes everything from --clock-size; this only positions it. */
.clockdemo { max-width: 100%; }

.demo .picker__row { margin-top: clamp(18px, 2.4vw, 26px); }

/* ────────────────────────────────────────────────────────────── keys ─── */

.keys {
  width: 100%;
  margin: clamp(26px, 3.4vw, 36px) 0 0;
  border-collapse: collapse;
  text-align: left;
}
.keys caption { text-align: left; padding-bottom: 14px; }

.keys th, .keys td {
  padding: 14px 0;
  border-top: 1px solid var(--line);
  font-weight: 400;
  vertical-align: baseline;
}
.keys tr:last-child th, .keys tr:last-child td { border-bottom: 1px solid var(--line); }

.keys th {
  width: 8.5em;
  padding-right: 20px;
  color: var(--ink);
}
.keys td { color: var(--ink-2); font-size: 16px; }

/* Global, not just the key table: the same treatment wherever a key is named. */
kbd {
  padding: 2px 6px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--fill);
  color: var(--ink);
}

/* ──────────────────────────────────────────────────────────── ledger ─── */

/* The CPU table. Numbers right-aligned so the drop reads down the column. */
.ledger {
  width: 100%;
  margin: clamp(26px, 3.4vw, 36px) 0 0;
  border-collapse: collapse;
  text-align: left;
}

.ledger th, .ledger td {
  padding: 14px 0;
  border-top: 1px solid var(--line);
  font-weight: 400;
}
.ledger thead th {
  border-top: 0;
  padding-top: 0;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.ledger tbody tr:last-child td { border-bottom: 1px solid var(--line); }

.ledger td:first-child { color: var(--ink-2); font-size: 16px; }
.ledger th:last-child, .ledger td:last-child {
  width: 9em;
  text-align: right;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
}
/* The one that matters. */
.ledger tbody tr:last-child td { color: var(--ink); }

/* ────────────────────────────────────────────────────────────── scene ─── */

/* A scene covers a whole display, so it is shown at display proportions and
   bleeds wider than the text column. It clears itself — no background here. */
.scene {
  aspect-ratio: 16 / 9;
  margin-top: clamp(26px, 3.4vw, 36px);
  border-radius: clamp(10px, 1.4vw, 16px);
  overflow: hidden;
  background: #060608;
  box-shadow: inset 0 0 0 1px var(--line);
}

/* ───────────────────────────────────────────────────── the pro widgets ─── */

/* One widget at a time on a patch of wallpaper, the same wash the clock's
   stage uses. The widgets feather their own edges, so the canvas has no frame. */
.prostage {
  display: grid;
  /* One track the size of the stage, so the widget's 100% height means something. */
  grid-template: minmax(0, 1fr) / minmax(0, 1fr);
  place-items: center;
  height: clamp(260px, 42vw, 460px);
  margin-top: clamp(24px, 3vw, 36px);
  padding: clamp(12px, 2.2vw, 26px);
  border-radius: 10px;
  overflow: hidden;
  background:
    radial-gradient(80% 90% at 14% 8%, color-mix(in srgb, var(--stop-0) 20%, transparent), transparent 64%),
    radial-gradient(70% 80% at 90% 92%, color-mix(in srgb, var(--stop-2) 16%, transparent), transparent 62%),
    #0a0a0c;
  box-shadow: inset 0 0 0 1px var(--line);
  cursor: pointer;
  transition: background 480ms var(--ease);
}

/* Each widget likes a different shape of box; showcase.js sets --ratio. */
.prostage__fit {
  height: 100%;
  min-width: 0;
  max-width: 100%;
  aspect-ratio: var(--ratio, 1.4);
}

.prostage__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px clamp(20px, 4vw, 48px);
  /* Room for the longest description, so the page doesn't shift as they change. */
  min-height: 5.4em;
  margin-top: clamp(16px, 2.2vw, 22px);
}
.prostage__line { flex: 1 1 320px; max-width: 54ch; font-size: 16px; color: var(--ink-2); }

.picker__row--small { gap: 6px 16px; }
.picker__row--small .pick { font-size: 15px; }

.eyebrow--sub { margin-top: clamp(48px, 7vw, 84px); }

/* The rest of Pro: three columns of hairlines, no cards. */
.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 clamp(20px, 3vw, 40px);
  margin: 0;
  border-top: 1px solid var(--line);
}
.grid > div { padding: clamp(18px, 2.4vw, 24px) 0; border-bottom: 1px solid var(--line); }
.grid dt { font-size: 17px; font-weight: 600; letter-spacing: -0.02em; }
.grid dd { margin: 6px 0 0; font-size: 15px; color: var(--ink-2); }

/* ─────────────────────────────────────────────────────── free and pro ─── */

/* Two columns split by a hairline, not two cards. */
.tiers {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: clamp(30px, 4vw, 44px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.tier {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(26px, 3.4vw, 40px) clamp(0px, 3vw, 40px) clamp(28px, 3.4vw, 40px) 0;
}
.tier + .tier {
  padding-left: clamp(20px, 3vw, 40px);
  padding-right: 0;
  border-left: 1px solid var(--line);
}

.tier__name {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.tier__price {
  margin-top: 10px;
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1;
}
.tier__once { font-size: 16px; font-weight: 500; letter-spacing: 0; color: var(--ink-2); }
.tier__trial { margin-top: 14px; font-size: 13.5px; line-height: 1.5; color: var(--ink-2); }
.tier__trial strong { color: var(--ink); font-weight: 500; }

.tier__list {
  flex: 1;
  width: 100%;
  margin: clamp(20px, 2.6vw, 28px) 0 clamp(24px, 3vw, 32px);
  padding: 0;
  list-style: none;
}
.tier__list li {
  padding: 10px 0;
  border-top: 1px solid var(--line);
  font-size: 15px;
  color: var(--ink-2);
}
.tier__list strong { color: var(--ink); font-weight: 500; }

/* The Pro key on thanks.html and restore.html. */
.keyrow { margin-top: clamp(26px, 3.4vw, 36px); }

.field--key {
  flex: 1 1 360px;
  max-width: 560px;
  font-family: "Cascadia Mono", Consolas, ui-monospace, monospace;
  font-size: 13px;
  text-overflow: ellipsis;
}

.howto {
  max-width: 44ch;
  margin: 22px auto 0;
  padding-left: 1.3em;
  text-align: left;
  color: var(--ink-2);
}
.howto strong { color: var(--ink); font-weight: 500; }

/* ───────────────────────────────────────────────────────── responsive ─── */

@media (max-width: 980px) {
  /* Six nav items do not fit a narrow window; the page still has all of them. */
  .nav__item--wide { display: none; }
}

@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
  .split__text { order: -1; }
  .facts > div { grid-template-columns: 1fr; gap: 10px; }
  .keys th { width: 6em; }
  .tiers { grid-template-columns: 1fr; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tier, .tier + .tier { padding-left: 0; padding-right: 0; border-left: 0; }
  .tier + .tier { border-top: 1px solid var(--line); }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .nav { padding-left: 16px; }
  .nav__links { display: none; }
  .nav__item--outline, .nav__item--solid { padding: 0 13px; font-size: 14px; white-space: nowrap; }
  /* "Download →" is wider than "Buy →" was; the arrow goes so both still fit. */
  .nav__item--solid > span { display: none; }
  .hero__sub { max-width: 28ch; }
  .row--center .btn { flex: 1 1 100%; justify-content: center; }
  .steps li { grid-template-columns: 1fr; gap: 6px; }
  .steps__n { padding-top: 0; }
  .grid { grid-template-columns: 1fr; }
  .prostage__foot { min-height: 0; }
}

/* The smallest phones: logo, Already bought? and Buy only just share the bar. */
@media (max-width: 360px) {
  .nav { gap: 10px; padding-left: 14px; }
  .nav__item--outline, .nav__item--solid { padding: 0 10px; font-size: 13.5px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}
