:root {
  --bg: #0a0a0a;
  --surface: #121212;
  --surface-2: #181818;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --text: #f2f2ef;
  --text-2: #8b8b86;
  --text-3: #5c5c58;
  --amber: #ff9a3c;
  --stamp: #4a6dff;
  --up: #3ddc97;

  --sans: "Geist", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --gutter: clamp(20px, 4vw, 40px);
  --max: 1240px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --r-lg: 20px;
  --r-md: 12px;

  color-scheme: dark;
}

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

/* No `scroll-behavior: smooth` here: GSAP ScrollTrigger (section-transition.js) measures by jumping the
   page, and smooth scrolling makes it measure the wrong place. */
html { scroll-padding-top: 72px; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

a { color: inherit; }
button { font: inherit; color: inherit; }
::selection { background: var(--amber); color: #0a0a0a; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; border-radius: 6px; }

.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; }
.skip { position: absolute; left: 12px; top: -48px; z-index: 100; background: var(--text); color: var(--bg); padding: 10px 14px; border-radius: 8px; text-decoration: none; font-weight: 500; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.num { font-variant-numeric: tabular-nums; }
.dim { color: var(--text-2); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 20px; border-radius: 999px;
  font-size: 15px; font-weight: 500; text-decoration: none; white-space: nowrap;
  border: 1px solid transparent; cursor: pointer;
  transition: transform 120ms var(--ease-out), background-color 160ms, border-color 160ms, color 160ms;
}
.btn:active { transform: scale(0.97); }
.btn--sm { min-height: 36px; padding: 0 14px; font-size: 14px; }
.btn--light { background: var(--text); color: var(--bg); }
.btn--ghost { border-color: var(--line-2); color: var(--text); }
@media (hover: hover) {
  .btn--light:hover { background: #fff; }
  .btn--ghost:hover { border-color: rgba(255, 255, 255, 0.32); }
}

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  padding-top: env(safe-area-inset-top);
  transition: background-color 200ms, border-color 200ms, backdrop-filter 200ms;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(10, 10, 10, 0.72);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
  border-bottom-color: var(--line);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; min-height: 44px; }
.brand__word { width: 92px; height: 12px; fill: currentColor; }
.brand__tag {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; line-height: 1;
  padding: 4px 6px 3px; border: 1px solid var(--line-2); border-radius: 5px; color: var(--text-2);
}
.nav__links { display: flex; gap: 4px; margin-inline: auto; }
.nav__links a {
  font-size: 14px; color: var(--text-2); text-decoration: none; padding: 8px 12px; border-radius: 8px;
  transition: color 150ms;
}
@media (hover: hover) { .nav__links a:hover { color: var(--text); } }
@media (max-width: 760px) { .nav__links { display: none; } }

/* Over the white part of the hero sequence the nav flips to dark ink, with no bar behind it. */
.nav { color: var(--text); }
.nav .brand, .nav .brand__tag, .nav .nav__links a, .nav .btn--light { transition: color 200ms ease, background-color 200ms ease, border-color 200ms ease, transform 120ms var(--ease-out); }
.nav.is-over-seq, .nav.is-over-seq.is-scrolled { background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; border-bottom-color: transparent; }
.nav[data-on="light"] .brand { color: #0a0a0a; }
.nav[data-on="light"] .brand__tag { color: #6b6b67; border-color: rgba(0, 0, 0, 0.14); }
.nav[data-on="light"] .nav__links a { color: #6b6b67; }
.nav[data-on="light"] .btn--light { background: #0a0a0a; color: #fff; }
@media (hover: hover) { .nav[data-on="light"] .nav__links a:hover { color: #0a0a0a; } }

/* ---------- Shared type ---------- */
.meta, .label {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-2);
}
.meta__rule, .label__rule { width: 24px; height: 1px; background: var(--text-3); }
.h2 {
  margin: 20px 0 0; max-width: 18ch;
  font-size: clamp(32px, 4.6vw, 56px); line-height: 1.04; letter-spacing: -0.035em; font-weight: 500;
  text-wrap: balance;
}
.section { padding-block: clamp(88px, 12vw, 160px); border-top: 1px solid var(--line); }

/* ---------- Hero ---------- */
/* ---------- Hero sequence (hero-seq.js) ---------- */
/* Static by default: no JS, no WebGL or reduced motion get the hero, then the finished UI. */
.seq { --seq-x: clamp(20px, 8.333vw, 120px); position: relative; margin-top: -64px; background: #fff; color: #000; }
.seq__stage { position: relative; height: 100vh; height: 100svh; min-height: 560px; overflow: hidden; }
.seq__gl { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; display: none; pointer-events: none; }
.seq__box {
  position: absolute; z-index: 1; left: 50%; top: 50%; width: 243px; height: 129px; border-radius: 16px;
  transform: translate(-50%, -50%);
  background:
    radial-gradient(85% 160% at 8% 100%, rgba(197, 38, 255, 0.6), rgba(226, 147, 255, 0.3) 45%, transparent 75%),
    radial-gradient(90% 150% at 92% 15%, rgba(197, 38, 255, 0.6), rgba(150, 70, 179, 0.3) 50%, transparent 100%),
    radial-gradient(160% 160% at 50% 20%, #132364, #24337e 25%, #364397 50%, #5862ca 100%);
  box-shadow: inset 0 0 30px 4px rgba(255, 255, 255, 0.25), inset 0 0 51px 15px rgba(255, 255, 255, 0.55);
}
.seq__kicker {
  position: absolute; z-index: 3; left: var(--seq-x); top: clamp(96px, 14vh, 144px); margin: 0;
  display: flex; align-items: center; gap: 12px;
  font: 700 14px/1 "Pragati Narrow", var(--sans); letter-spacing: 0.045em; text-transform: uppercase; color: #b2b2b2;
}
.seq__block { width: 10px; height: 14px; background: currentColor; flex: none; }
.seq__title {
  position: absolute; z-index: 1; left: var(--seq-x); right: var(--seq-x); bottom: clamp(48px, 12.3vh, 126px); margin: 0;
  font-size: clamp(36px, 3.9vw, 56px); font-weight: 400; line-height: 1.07; letter-spacing: -0.02em; color: #000;
  text-wrap: balance;
}
.seq__title span { display: block; }
.seq__t1 { color: #9f9f9f; }
.seq__static {
  margin: 0; display: grid; place-items: center; min-height: 100svh; padding: 96px 24px;
  background: linear-gradient(180deg, #000 0%, #242424 51.442%, #7d7d7d 100%);
}
.seq__static img { display: block; width: auto; height: min(66.6vh, 852px); max-width: 100%; object-fit: contain; border-radius: 12.8% / 5.6%; }

/* Live: a tall track with a sticky stage; the canvas draws box, wireframe, wave and final UI. */
.seq.is-live { height: 580vh; } /* 480vh of scroll: see TRACK in hero-seq.js */
.seq.is-live .seq__stage { position: sticky; top: 0; }
.seq.is-live .seq__gl { display: block; }
.seq.is-live .seq__title { will-change: filter, opacity; }
.seq.is-live .seq__static { display: none; }
.seq.is-drawn .seq__box { visibility: hidden; }

/* Processing notes (built by hero-seq.js): corner brackets + live measurements over the skeleton. */
.seq__notes { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.note { position: absolute; opacity: 0; color: rgba(255, 255, 255, 0.6); will-change: opacity, transform; transition: color 240ms ease; }
.note i { position: absolute; width: 7px; height: 7px; border: 0 solid currentColor; }
.note i:nth-child(1) { left: 0; top: 0; border-left-width: 1px; border-top-width: 1px; }
.note i:nth-child(2) { right: 0; top: 0; border-right-width: 1px; border-top-width: 1px; }
.note i:nth-child(3) { left: 0; bottom: 0; border-left-width: 1px; border-bottom-width: 1px; }
.note i:nth-child(4) { right: 0; bottom: 0; border-right-width: 1px; border-bottom-width: 1px; }
.note__label {
  position: absolute; bottom: calc(100% + 5px); white-space: nowrap;
  font: 500 9.5px/1 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; font-variant-numeric: tabular-nums;
  color: rgba(255, 255, 255, 0.5);
}
/* Labels sit outside the phone, on a short leader line, like annotations on a design canvas */
.note__label { top: 50%; bottom: auto; transform: translateY(-50%); }
.note--l .note__label { right: calc(100% + 22px); }
.note--r .note__label { left: calc(100% + 22px); }
.note::after { content: ""; position: absolute; top: 50%; width: 16px; height: 1px; background: currentColor; opacity: 0.5; }
.note--l::after { right: calc(100% + 3px); }
.note--r::after { left: calc(100% + 3px); }
/* Narrow screens have no room beside the phone: label goes above the element */
@media (max-width: 700px) {
  .note__label { top: auto; bottom: calc(100% + 5px); transform: none; }
  .note--l .note__label { right: auto; left: 0; }
  .note--r .note__label { left: auto; right: 0; }
  .note::after { display: none; }
}
.note__label b { font-weight: 500; color: rgba(255, 255, 255, 0.88); }
.note__arrow { color: rgba(255, 255, 255, 0.32); }
.note__b { transition: color 240ms ease; }
.note.is-done { color: #e293ff; }
.note.is-done .note__b { color: #e293ff; }
@media (max-width: 600px) { .note--minor { display: none; } }
.seq.is-full, .seq.is-full .seq__stage { background: var(--bg); }

/* ---------- Section 2: statement (Figma 3650-49020) ---------- */
.statement {
  display: grid; place-items: center; min-height: 100vh; min-height: 100svh; padding: 96px var(--gutter);
  background: #fff; color: #202020; color-scheme: light;
}
.statement__title {
  margin: 0; max-width: 36ch; text-align: center;
  font-size: clamp(26px, 2.78vw, 40px); font-weight: 400; line-height: 1.1; letter-spacing: -0.02em;
  text-wrap: balance;
}
.statement__line { display: block; }
/* Live hero: section 2 overlaps the last screen of the hero track, so it scrolls in over the stage
   once the outro has turned it white, and is centred exactly when the stage lets go. */
.seq.is-live + .statement {
  position: relative; z-index: 4;
  height: max(100vh, 560px); height: max(100svh, 560px); min-height: 0;
  margin-top: calc(-1 * max(100vh, 560px)); margin-top: calc(-1 * max(100svh, 560px));
  background: transparent;
}
.seq.is-live + .statement .statement__title { will-change: transform; }
.statement__line + .statement__line { margin-top: 0.425em; } /* 17px at 40px */

/* Gradient sweep text reveal (text-reveal.js). Hidden state only once JS is running (html.js),
   so without JS the text simply shows in its resting colour. */
.js [data-reveal-06] {
  --reveal-resting-color: #111111;
  --reveal-duration: 1.2s;
  --reveal-delay: 0.1s;
  --reveal-blur: 2px;
  --reveal-color-1: rgb(121, 184, 255);
  --reveal-color-2: rgb(31, 128, 255);
  --reveal-color-3: rgb(255, 91, 244);
  --reveal-color-4: rgb(255, 48, 41);
  --reveal-color-5: rgb(254, 123, 2);
  display: inline;
  color: transparent;
  background-image: linear-gradient(
    90deg,
    var(--reveal-resting-color) 0%,
    var(--reveal-resting-color) 33.33%,
    var(--reveal-color-1) 40%,
    var(--reveal-color-2) 45%,
    var(--reveal-color-3) 50%,
    var(--reveal-color-4) 55%,
    var(--reveal-color-5) 60%,
    transparent 66.67%,
    transparent 100%
  );
  background-position: 100% 0;
  background-size: 300% 100%;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.js [data-reveal-06].is-revealed {
  animation:
    text-reveal-06-sweep
    var(--reveal-duration)
    cubic-bezier(0.455, 0.03, 0.515, 0.955)
    var(--reveal-delay)
    forwards;
}
@keyframes text-reveal-06-sweep {
  from {
    filter: blur(var(--reveal-blur));
    background-position: 100% 0;
  }
  to {
    filter: blur(0px);
    background-position: 0 0;
  }
}

/* ---------- Section 3: steps on a dial (Figma 3652-27986, steps.js) ---------- */
/* Static by default: the three cards in a column. Live (.is-live): pinned, the cards swap 01 -> 02 -> 03
   in the middle while the dial on the left turns the next week marker into place. */
.steps { position: relative; background: #fff; color: #000; color-scheme: light; padding: 120px var(--gutter); }
.steps__cards { list-style: none; margin: 0; padding: 0; display: grid; justify-items: center; gap: 24px; }
.steps__dial { display: none; }

.step-card {
  position: relative; box-sizing: border-box; width: min(452px, 100%); margin: 0;
  display: flex; flex-direction: column; align-items: center; gap: 80px;
  padding: 48px 40px 32px; border-radius: 32px; background: #686868; color: #fff;
  box-shadow: inset 0 0 45px 7px rgba(255, 255, 255, 0.25);
}
.step-card__head { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; }
.step-card__no {
  display: inline-flex; align-items: center; justify-content: center; padding: 6px 12px; border: 1px solid #fff; border-radius: 19px;
  font: 700 14px/1 "Pragati Narrow", var(--sans); letter-spacing: 0.045em; text-transform: uppercase;
}
.step-card__title { margin: 0; font-size: 26px; font-weight: 400; line-height: 44px; letter-spacing: -0.02em; }
.step-card__lede { margin: -2px 0 0; max-width: 375px; font-size: 14px; line-height: 20px; letter-spacing: -0.005em; color: rgba(255, 255, 255, 0.94); }
.step-card__get { align-self: stretch; display: flex; flex-direction: column; gap: 16px; }
.step-card__eyebrow { margin: 0; font: 700 14px/1 "Pragati Narrow", var(--sans); letter-spacing: 0.045em; text-transform: uppercase; opacity: 0.5; }
.step-card__get ul { margin: 0; padding-left: 22.5px; font-size: 15px; font-weight: 500; line-height: 22px; letter-spacing: -0.005em; color: rgba(255, 255, 255, 0.94); }
.step-card__part { align-self: stretch; margin: 0; display: flex; flex-direction: column; gap: 2px; font-size: 12px; font-weight: 500; line-height: 16px; letter-spacing: -0.005em; color: rgba(255, 255, 255, 0.7); }
.step-card__part span { font-weight: 400; color: rgba(255, 255, 255, 0.5); }

/* one screen of scroll per card (steps.js sets --steps-n) */
.steps.is-live { height: calc(var(--steps-n, 3) * 100vh); padding: 0; }
.steps.is-live .steps__stage { position: sticky; top: 0; height: max(100vh, 640px); height: max(100svh, 640px); overflow: hidden; }
/* all cards share one cell; the row takes the tallest card and the others stretch to it, so swapping
   cards never changes the card's size */
.steps.is-live .steps__cards { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; align-items: stretch; gap: 0; padding: 0 16px; }
.steps.is-live .step-card { grid-area: 1 / 1; justify-content: space-between; will-change: transform, opacity, filter; }
@media (min-width: 900px) {
  .steps.is-live .steps__dial { display: block; position: absolute; inset: 0; pointer-events: none; }
}
.steps__ring { position: absolute; border-radius: 50%; border: 2px solid #f3f3f3; box-sizing: border-box; }
.steps__mark { position: absolute; left: 0; top: 0; width: 12px; height: 12px; will-change: transform, opacity; }
.steps__dot { position: absolute; inset: 0; background: #575757; }
.steps__label {
  position: absolute; right: 84px; top: 50%; transform: translateY(-50%); width: max-content;
  display: flex; flex-direction: column; gap: 4px;
  font: 700 14px/1 "Pragati Narrow", var(--sans); letter-spacing: 0.045em; text-transform: uppercase; color: #000;
}
.steps__label b { font-weight: 700; }
.steps__label span { opacity: 0.5; }

/* The pixel transition (section-transition.js) clips its section; `clip`, unlike `hidden`, keeps the
   sticky stage inside working (the script leaves an existing clip alone). */
.steps { overflow: clip; }

/* ---------- Section 4: showcase (Figma 3644-48000) ---------- */
/* --seq-x only exists on the hero, so the side gutter is defined here too (without it the whole padding
   declaration was invalid and every side computed to 0) */
.showcase { --t: clamp(28px, 2.78vw, 40px); --seq-x: clamp(20px, 8.333vw, 120px); position: relative; background: #020202; color: #fff; padding: 152px var(--seq-x) 48px; }
.showcase__inner {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: minmax(0, 306fr) minmax(0, 799fr) minmax(0, 95fr);
  grid-template-areas: ". main .";
}
.showcase__main { grid-area: main; }
.showcase__kinds {
  grid-area: main; justify-self: start; align-self: start; margin: 0; padding: 0; list-style: none;
  /* sits in the left gutter, near the top of the device (Figma: 120px from the edge, 197px below the title) */
  position: relative; left: calc(-306 / 799 * 100%); top: calc(var(--t) * 2.4 + 101px);
  display: flex; flex-direction: column; gap: 10px;
  font: 700 14px/1 "Pragati Narrow", var(--sans); letter-spacing: 0.045em; text-transform: uppercase;
}
.showcase__kinds li { display: flex; }
/* each type is a tab button; the white block marks the active one */
.showcase__kinds button, .showcase__kind-soon {
  display: flex; align-items: center; gap: 12px; padding: 0; border: 0; background: none; color: inherit;
  font: inherit; letter-spacing: inherit; text-transform: inherit; opacity: 0.5;
}
.showcase__kinds button { cursor: pointer; transition: opacity 150ms ease; }
.showcase__kinds button::before, .showcase__kind-soon::before { content: ""; width: 10px; height: 14px; flex: none; transition: background-color 150ms ease; }
.showcase__kinds button[aria-selected="true"] { opacity: 1; cursor: default; }
.showcase__kinds button[aria-selected="true"]::before { background: #fff; }
@media (hover: hover) and (pointer: fine) { .showcase__kinds button[aria-selected="false"]:hover { opacity: 0.8; } }
.showcase__kinds button:focus-visible { outline: 2px solid #e293ff; outline-offset: 4px; border-radius: 2px; }
.showcase__kind-soon { opacity: 0.25; }
.showcase__title {
  margin: 0 0 58px; font-size: var(--t); font-weight: 400; line-height: 1.2; letter-spacing: -0.02em;
}
.showcase__title span { display: block; }
.showcase__dim { color: rgba(255, 255, 255, 0.4); }
.showcase__device { display: block; width: 100%; height: auto; }
/* caption on the left, button on the right, under the device */
.showcase__foot { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 51px; }
.showcase__caption {
  margin: 0; font-size: 18px; font-weight: 500; line-height: 1.2; letter-spacing: -0.005em; color: rgba(255, 255, 255, 0.64);
}

/* ---------- Button: dark pill with a colour glow that keeps waving around its rim ---------- */
/* Five soft colour blobs, larger than the pill, drift around it on staggered paths; a radial mask keeps
   only the rim, blur melts them together, and the hue keeps cycling. Always on; hover turns it up. */
.cta {
  position: relative; isolation: isolate; overflow: hidden; flex: none;
  display: inline-flex; align-items: center; justify-content: center; padding: 12px 16px; border-radius: 9999px;
  background: #252525; color: #fff; text-decoration: none; white-space: nowrap; border: 0; cursor: pointer;
  font-family: inherit; font-size: 18px; font-weight: 500; line-height: 18px; letter-spacing: -0.005em;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05), inset 0 1px 0 rgba(255, 255, 255, 0.07), 0 1px 1px rgba(0, 0, 0, 0.24);
  transition: transform 160ms var(--ease-out);
}
.cta::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none;
  background:
    radial-gradient(closest-side, rgb(20 110 255), transparent),
    radial-gradient(closest-side, rgb(255 70 170), transparent),
    radial-gradient(closest-side, rgb(255 150 30), transparent),
    radial-gradient(closest-side, rgb(40 220 170), transparent),
    radial-gradient(closest-side, rgb(170 80 255), transparent);
  background-size: 180% 180%;
  background-repeat: no-repeat;
  background-position: 0% 0%, 100% 0%, 100% 100%, 0% 100%, 50% 50%;
  -webkit-mask: radial-gradient(46% 46%, transparent 50%, #000 200%);
  mask: radial-gradient(46% 46%, transparent 50%, #000 200%);
  filter: saturate(1.3) blur(6px);
  opacity: 0.75;
  animation: cta-drift 5s ease-in-out infinite, cta-hue 4s linear infinite;
  transition: opacity 240ms ease;
}
@keyframes cta-drift {
  0%, 100% { background-position: 0% 0%, 100% 0%, 100% 100%, 0% 100%, 50% 0%; }
  25% { background-position: 100% 0%, 100% 100%, 0% 100%, 0% 0%, 100% 50%; }
  50% { background-position: 100% 100%, 0% 100%, 0% 0%, 100% 0%, 50% 100%; }
  75% { background-position: 0% 100%, 0% 0%, 100% 0%, 100% 100%, 0% 50%; }
}
@keyframes cta-hue {
  from { filter: hue-rotate(0deg) saturate(1.3) blur(6px); }
  to { filter: hue-rotate(-360deg) saturate(1.3) blur(6px); }
}
@media (hover: hover) and (pointer: fine) {
  .cta:hover::before { opacity: 1; }
}
/* label swap (try-wave.js): the outgoing label sits on top of the incoming one while it blurs out */
.cta__label { position: relative; display: block; }
.cta__label--out { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); white-space: nowrap; pointer-events: none; }
.cta:focus-visible { outline: 2px solid #e293ff; outline-offset: 3px; }
.cta:active { transform: scale(0.97); }
@media (prefers-reduced-motion: reduce) {
  .cta::before { animation: none; }
}

@media (max-width: 900px) {
  .showcase { padding: 96px 20px 48px; }
  .showcase__inner { grid-template-columns: minmax(0, 1fr); grid-template-areas: "kinds" "main"; }
  .showcase__kinds { grid-area: kinds; position: static; flex-direction: row; flex-wrap: wrap; gap: 10px 20px; margin: 0 0 24px; }
  .showcase__title { margin-bottom: 32px; }
  .showcase__foot { flex-direction: column; align-items: flex-start; gap: 20px; margin-top: 32px; }
  .showcase__caption { font-size: 16px; }
}

/* ---------- "Try it out": the iPad screen refreshes through a distortion wave (try-wave.js) ---------- */
/* The device image already shows the "before" screen; the "after" screen sits on top, inside the
   display area (Figma: 25.24px inset on a 798.94 x 611.83 device), revealed by a mask that follows the
   wave drawn on the canvas above it. */
/* both devices share one grid cell, so switching tabs never changes the section's height;
   the iPhone is 298.69 wide on the 799 column (same 612 height as the iPad) and sits on the left, as in Figma */
.showcase__devices { display: grid; }
/* Switching devices: the outgoing one zooms out a touch and blurs away (quick), the incoming one zooms in
   out of a blur a beat later (a little slower, strong ease-out). Transitions, so a quick re-click reverses. */
.showcase__device-wrap {
  grid-area: 1 / 1; position: relative; transform-origin: 50% 50%;
  opacity: 0; filter: blur(8px); scale: 0.95; visibility: hidden;
  transition:
    opacity 260ms cubic-bezier(0.23, 1, 0.32, 1),
    filter 260ms cubic-bezier(0.23, 1, 0.32, 1),
    scale 300ms cubic-bezier(0.23, 1, 0.32, 1),
    visibility 0s 300ms;
}
.showcase__device-wrap.is-active {
  opacity: 1; filter: blur(0px); scale: 1; visibility: visible;
  transition:
    opacity 380ms cubic-bezier(0.23, 1, 0.32, 1) 90ms,
    filter 380ms cubic-bezier(0.23, 1, 0.32, 1) 90ms,
    scale 440ms cubic-bezier(0.23, 1, 0.32, 1) 90ms,
    visibility 0s;
}
@media (prefers-reduced-motion: reduce) {
  .showcase__device-wrap, .showcase__device-wrap.is-active { scale: 1; filter: none; transition: opacity 200ms ease, visibility 0s 200ms; }
  .showcase__device-wrap.is-active { transition: opacity 200ms ease, visibility 0s; }
}
.showcase__device-wrap--phone { width: calc(298.69 / 799 * 100%); justify-self: start; align-self: start; }
.showcase__device-wrap--phone .showcase__screen {
  /* Figma: display at 13.24 / 11.13 inside the 298.69 x 611.85 device, 272.02 x 589.61, rounded like the glass */
  left: 4.432%; top: 1.82%; width: 91.07%; height: 96.36%; border-radius: 14% / 6.45%;
}
@media (max-width: 900px) { .showcase__device-wrap--phone { width: 60%; justify-self: center; } }
.showcase__screen {
  position: absolute; left: 3.159%; top: 4.126%; width: 93.83%; height: 91.91%;
  border-radius: 2.1% / 2.8%; overflow: hidden; pointer-events: none;
}
.showcase__after { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; visibility: hidden; }
.showcase__wave { position: absolute; inset: 0; width: 100%; height: 100%; display: none; }
.showcase__device-wrap.is-after .showcase__after { visibility: visible; }

/* ---------- Floating waitlist bar (Figma 3667-28154), pinned 12px from the bottom ---------- */
/* Collapsed it's the pill from Figma (the row of input + button is the whole card). At the end of the page
   waitlist.js drives --wl-q (0..1) and the card's box: it spills from the pill into the big card docked in
   the "join" section, picks up the hero box gradient and reveals its headline. */
.waitlist {
  --wl-q: 0;
  --wl-pad: 12px;
  position: fixed; z-index: 60; left: 50%; bottom: calc(12px + env(safe-area-inset-bottom));
  width: min(330px, calc(100% - 24px)); height: 60px; box-sizing: border-box; overflow: hidden;
  border-radius: 32px; background: #686868; color: #fff;
  box-shadow:
    inset 0 0 45px 7px rgba(255, 255, 255, 0.25),
    0 15px 6px rgba(0, 0, 0, 0.01), 0 9px 5px rgba(0, 0, 0, 0.05), 0 4px 4px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.09);
  translate: -50% 0;
  transition: translate 320ms cubic-bezier(0.23, 1, 0.32, 1), opacity 220ms ease, visibility 0s, background-color 240ms ease;
}
/* the hero box's gradient, fading in as the card spills open */
.waitlist::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: var(--wl-q);
  background:
    radial-gradient(85% 160% at 8% 100%, rgba(197, 38, 255, 0.6), rgba(226, 147, 255, 0.3) 45%, transparent 75%),
    radial-gradient(90% 150% at 92% 15%, rgba(197, 38, 255, 0.6), rgba(150, 70, 179, 0.3) 50%, transparent 100%),
    radial-gradient(160% 160% at 50% 20%, #132364, #24337e 25%, #364397 50%, #5862ca 100%);
}
/* while morphing / docked, waitlist.js sets the box inline (left/top/width/height) */
.waitlist.is-open { translate: none; bottom: auto; transition: opacity 220ms ease, visibility 0s, background-color 240ms ease; }
.waitlist.is-snap { transition: none; }
/* tucked away on load until it slides up */
.waitlist.is-away { translate: -50% calc(100% + 24px); opacity: 0; visibility: hidden; transition: translate 260ms cubic-bezier(0.23, 1, 0.32, 1), opacity 200ms ease, visibility 0s 260ms; }
/* over dark sections the card steps back: see-through grey (Figma 3667-28174), with a light blur so the
   text stays readable over the devices and copy behind it */
.waitlist.is-on-dark {
  background: rgba(104, 104, 104, 0.31);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  backdrop-filter: blur(14px) saturate(1.2);
}

.waitlist__head {
  position: absolute; left: 28px; right: 28px; top: 28px; display: flex; flex-direction: column; gap: 10px;
  opacity: var(--wl-head, 0); filter: blur(calc((1 - var(--wl-head, 0)) * 6px)); translate: 0 calc((1 - var(--wl-head, 0)) * 10px);
  pointer-events: none;
}
.waitlist.is-docked .waitlist__head { pointer-events: auto; }
.waitlist__kicker { margin: 0; display: flex; align-items: center; gap: 12px; font: 700 14px/1 "Pragati Narrow", var(--sans); letter-spacing: 0.045em; text-transform: uppercase; color: rgba(255, 255, 255, 0.72); }
.waitlist__title { margin: 6px 0 0; font-size: clamp(24px, 2.4vw, 32px); font-weight: 400; line-height: 1.1; letter-spacing: -0.02em; text-wrap: balance; }
.waitlist__lede { margin: 0; max-width: 40ch; font-size: 15px; font-weight: 500; line-height: 1.45; letter-spacing: -0.005em; color: rgba(255, 255, 255, 0.78); text-wrap: pretty; }

.waitlist__row {
  position: absolute; left: var(--wl-pad); right: var(--wl-pad); bottom: var(--wl-pad); height: 36px;
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
}
/* the input gets a field of its own once the card is open */
.waitlist__row::before {
  content: ""; position: absolute; inset: -6px; border-radius: 26px; pointer-events: none;
  background: rgba(255, 255, 255, 0.12); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14); opacity: var(--wl-q);
}
.waitlist__input {
  position: relative; flex: 1; min-width: 0; height: 36px; padding: 0 8px; border: 0; border-radius: 18px; background: transparent; color: rgba(255, 255, 255, 0.94);
  font: 400 14px/20px var(--sans); letter-spacing: -0.005em; outline: none;
}
.waitlist__input::placeholder { color: rgba(255, 255, 255, 0.94); opacity: 0.7; }
/* focus without a ring: the placeholder dims, and once the card is open its field lights up a touch */
.waitlist__input::placeholder { transition: opacity 150ms ease; }
.waitlist__input:focus::placeholder { opacity: 0.45; }
.waitlist__row::before { transition: background-color 150ms ease; }
.waitlist__row:focus-within::before { background: rgba(255, 255, 255, 0.2); }
/* ---- states (data-state on the form, set by waitlist.js) ---- */
/* invalid / error: the whole card flushes a muted red (keeping its inner glow), and the row shakes once
   (on submit only). A layer above the background and the hero gradient, below the content. */
.waitlist::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: #c4473f; box-shadow: inset 0 0 45px 7px rgba(255, 255, 255, 0.22);
  opacity: 0; transition: opacity 200ms ease;
}
.waitlist[data-state="invalid"]::after,
.waitlist[data-state="error"]::after { opacity: 1; }
.waitlist__head, .waitlist__row { z-index: 1; }
.waitlist__row.is-shaking { animation: waitlist-shake 320ms cubic-bezier(0.23, 1, 0.32, 1); }
@keyframes waitlist-shake {
  0%, 100% { translate: 0 0; }
  20% { translate: -6px 0; }
  40% { translate: 5px 0; }
  60% { translate: -3px 0; }
  80% { translate: 2px 0; }
}
/* valid: a small check settles in at the end of the field while you type */
.waitlist__ok {
  position: absolute; right: calc(var(--wl-btn-w, 103px) + 16px); top: 50%; color: #b9f5c9; pointer-events: none;
  opacity: 0; scale: 0.6; translate: 0 -50%; filter: blur(2px);
  transition: opacity 180ms cubic-bezier(0.23, 1, 0.32, 1), scale 220ms cubic-bezier(0.23, 1, 0.32, 1), filter 180ms ease;
}
.waitlist[data-state="valid"] .waitlist__ok { opacity: 1; scale: 1; filter: blur(0px); }
.waitlist[data-state="valid"] .waitlist__input { padding-right: 30px; }
/* the button: spinner while sending, check once you're in */
.waitlist__btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; overflow: hidden; }
.waitlist__spin, .waitlist__done { display: none; flex: none; }
.waitlist__spin { width: 12px; height: 12px; border-radius: 50%; border: 1.6px solid rgba(0, 0, 0, 0.18); border-top-color: rgba(0, 0, 0, 0.8); animation: waitlist-spin 640ms linear infinite; }
@keyframes waitlist-spin { to { rotate: 360deg; } }
.waitlist[data-state="loading"] .waitlist__spin { display: block; }
.waitlist[data-state="loading"] .waitlist__btn { cursor: progress; }
.waitlist[data-state="success"] .waitlist__done { display: block; color: #1a7f45; }
.waitlist[data-state="loading"] .waitlist__input { opacity: 0.6; }
@media (prefers-reduced-motion: reduce) {
  .waitlist__row.is-shaking { animation: none; }
  .waitlist__spin { animation-duration: 1.6s; }
}
.waitlist__btn {
  position: relative; flex: none; height: 36px; padding: 0 12px; border: 0; border-radius: 56px; background: #fff; color: rgba(0, 0, 0, 0.94); cursor: pointer; box-sizing: border-box;
  font: 500 14px/20px var(--sans); letter-spacing: -0.005em; white-space: nowrap;
  transition: transform 160ms var(--ease-out), background-color 150ms ease;
}
@media (hover: hover) and (pointer: fine) { .waitlist__btn:hover { background: #f1f1f1; } }
.waitlist__btn:active { transform: scale(0.97); }
.waitlist__btn:focus-visible { outline: 2px solid #e293ff; outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) {
  .waitlist, .waitlist.is-away { transition: opacity 200ms ease, visibility 0s; translate: -50% 0; }
  .waitlist.is-open { translate: none; }
  .waitlist__head { filter: none; translate: none; }
}

/* ---------- End: the waitlist card docks here ---------- */
.join { position: relative; min-height: 100vh; min-height: 100svh; display: grid; place-items: center; padding: 72px 16px; background: #020202; }
.join__slot { width: min(560px, 100%); height: 300px; }
@media (max-width: 600px) { .join__slot { height: 310px; } }

/* Over light sections the nav gets dark ink on a light frosted bar */
.nav.is-over-light, .nav.is-over-light.is-scrolled {
  background: rgba(255, 255, 255, 0.72);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
  border-bottom-color: rgba(0, 0, 0, 0.06);
}

.hero { position: relative; min-height: min(100svh, 920px); display: flex; align-items: center; overflow: hidden; }
.hero__inner { position: relative; z-index: 1; padding-block: 72px 96px; }
.hero__title {
  margin: 28px 0 0; max-width: 13ch;
  font-size: clamp(44px, 8vw, 104px); line-height: 0.98; letter-spacing: -0.045em; font-weight: 500;
}
.hero__title .dim { display: block; }
.hero__lede { margin: 28px 0 0; max-width: 46ch; font-size: clamp(17px, 1.6vw, 19px); line-height: 1.5; color: var(--text-2); text-wrap: pretty; }
.hero__lede .num { color: var(--text); }
.hero__foot { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.dots { position: absolute; inset: 0; width: 100%; height: 100%; display: block; pointer-events: none; }
.hero .dots { -webkit-mask-image: linear-gradient(90deg, transparent 15%, #000 70%); mask-image: linear-gradient(90deg, transparent 15%, #000 70%); }
@media (max-width: 760px) {
  .hero .dots { -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 55%); mask-image: linear-gradient(180deg, #000 0%, transparent 55%); opacity: 0.6; }
}

/* install */
.install {
  margin-top: 36px; max-width: 720px;
  background: rgba(18, 18, 18, 0.82); border: 1px solid var(--line-2); border-radius: 14px;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.install__tabs { display: flex; gap: 2px; padding: 6px 6px 0; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.install__tabs button {
  background: none; border: 0; cursor: pointer; white-space: nowrap;
  font-size: 13px; color: var(--text-3); padding: 10px 10px 11px; min-height: 40px;
  position: relative; transition: color 150ms;
}
.install__tabs button[aria-selected="true"] { color: var(--text); }
.install__tabs button[aria-selected="true"]::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: -1px; height: 1px; background: var(--text); }
@media (hover: hover) { .install__tabs button:hover { color: var(--text); } }
.install__panel { display: flex; align-items: center; gap: 12px; padding: 8px 8px 8px 16px; min-height: 60px; }
.install__panel[hidden] { display: none; }
@media (max-width: 760px) {
  .install__panel code { -webkit-mask-image: linear-gradient(90deg, #000 82%, transparent); mask-image: linear-gradient(90deg, #000 82%, transparent); padding-right: 24px; }
}
.install__panel code {
  flex: 1; min-width: 0; font-family: var(--mono); font-size: 13.5px; color: var(--text);
  white-space: nowrap; overflow-x: auto; scrollbar-width: none; padding-block: 6px;
}
.prompt { color: var(--amber); margin-right: 6px; user-select: none; }
.install__note {
  display: flex; align-items: center; gap: 8px; margin: 0; padding: 12px 16px;
  border-top: 1px solid var(--line); font-size: 13px; color: var(--text-2);
}
.install__lock { flex: none; width: 6px; height: 6px; background: var(--up); border-radius: 1px; box-shadow: 0 0 8px rgba(61, 220, 151, 0.6); }
.install--cta { margin-top: 32px; }
.copy {
  flex: none; min-width: 72px; min-height: 40px; padding: 0 12px; border-radius: 9px; cursor: pointer;
  background: var(--surface-2); border: 1px solid var(--line-2); font-size: 13px; color: var(--text-2);
  transition: color 150ms, border-color 150ms, transform 120ms var(--ease-out);
}
.copy:active { transform: scale(0.96); }
.copy.is-done { color: var(--up); border-color: rgba(61, 220, 151, 0.4); }
@media (hover: hover) { .copy:hover { color: var(--text); } }

/* stamp */
.stamp { position: absolute; z-index: 2; color: var(--stamp); pointer-events: none; }
.stamp svg { width: 100%; height: 100%; overflow: visible; }
.stamp circle { fill: none; stroke: currentColor; stroke-width: 1.4; }
.stamp text { fill: currentColor; font-family: var(--mono); font-size: 8.6px; letter-spacing: 0.04em; }
.stamp .stamp__big { font-family: var(--sans); font-weight: 600; font-size: 15px; letter-spacing: 0.02em; }
.stamp .stamp__small { font-size: 7px; letter-spacing: 0.2em; }
.stamp--hero { width: 128px; height: 128px; right: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))); bottom: 72px; transform: rotate(-14deg); opacity: 0.9; }
.stamp--hero svg { animation: spin 40s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 760px) { .stamp--hero { display: none; } }

/* ---------- Manifesto ---------- */
.grid-2 { display: grid; grid-template-columns: 1fr 2fr; gap: 32px; align-items: start; }
.grid-2 > .label { padding-top: 14px; }
@media (max-width: 860px) { .grid-2 { grid-template-columns: 1fr; gap: 0; } }
.manifesto .h2 { margin-top: 0; max-width: 20ch; }
@media (max-width: 860px) { .manifesto .h2 { margin-top: 20px; } }
.manifesto__body > p { margin: 28px 0 0; max-width: 52ch; color: var(--text-2); font-size: 18px; text-wrap: pretty; }
.advisory {
  margin-top: 40px; display: inline-flex; flex-direction: column; align-items: stretch;
  border: 3px solid var(--text); background: #000; color: var(--text); padding: 3px; transform: rotate(-3deg);
  font-family: var(--sans); text-transform: uppercase; text-align: center; line-height: 1;
}
.advisory__top, .advisory__bot { font-size: 11px; font-weight: 600; letter-spacing: 0.1em; padding: 5px 10px; background: var(--text); color: #000; }
.advisory__mid { font-size: 30px; font-weight: 600; letter-spacing: 0.02em; padding: 6px 12px 4px; }

/* ---------- Demo ---------- */
.demo__frame { margin-top: 48px; border: 1px solid var(--line-2); border-radius: var(--r-lg); background: var(--surface); overflow: hidden; }
.demo__bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 12px 12px 12px 20px; border-bottom: 1px solid var(--line); }
.demo__prompt { font-family: var(--mono); font-size: 13.5px; color: var(--text); }

.seg { position: relative; display: inline-grid; grid-auto-flow: column; grid-auto-columns: 1fr; padding: 3px; border-radius: 10px; background: #0d0d0d; border: 1px solid var(--line); }
.seg button { position: relative; z-index: 1; background: none; border: 0; cursor: pointer; padding: 0 14px; min-height: 36px; font-size: 13px; color: var(--text-2); border-radius: 7px; transition: color 200ms; white-space: nowrap; }
.seg button[aria-checked="true"] { color: var(--text); }
.seg__thumb { position: absolute; top: 3px; bottom: 3px; left: 3px; width: calc(50% - 3px); border-radius: 7px; background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line-2); transition: transform 320ms var(--ease-out); }
.seg[data-mode="on"] .seg__thumb { transform: translateX(100%); }

.demo__body { display: grid; grid-template-columns: 1.25fr 1fr; min-height: 440px; }
@media (max-width: 900px) { .demo__body { grid-template-columns: 1fr; } }
.demo__stage {
  position: relative; display: grid; place-items: center; padding: 48px 24px; overflow: hidden;
  background-image: radial-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px); background-size: 16px 16px;
}
.demo__stage > * { grid-area: 1 / 1; transition: opacity 360ms var(--ease-out), transform 420ms var(--ease-out), filter 360ms; }
[data-mode="on"] .card-generic, [data-mode="off"] .card-figura { opacity: 0; transform: scale(0.96) translateY(8px); filter: blur(6px); pointer-events: none; }

/* generic card: deliberately average */
.card-generic {
  width: min(340px, 100%); padding: 24px; border-radius: 28px; text-align: center; color: #fff;
  background: linear-gradient(135deg, #7c3aed, #db2777 60%, #f59e0b);
  box-shadow: 0 20px 60px rgba(219, 39, 119, 0.45); font-family: Arial, Helvetica, sans-serif;
}
.cg__head { font-size: 15px; font-weight: 700; }
.cg__amt { font-size: 40px; font-weight: 800; margin-top: 6px; }
.cg__chg { font-size: 13px; opacity: 0.9; }
.cg__btns { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 18px; }
.cg__btns span { padding: 8px 0; border-radius: 6px; font-size: 12px; font-weight: 700; background: rgba(255, 255, 255, 0.25); }
.cg__btns span:nth-child(2) { background: #22d3ee; color: #000; border-radius: 20px; }
.cg__btns span:nth-child(4) { background: #facc15; color: #000; }

/* figura card */
.card-figura {
  width: min(360px, 100%); padding: 12px; border-radius: 24px; background: #0e0e0e;
  border: 1px solid var(--line-2);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04) inset, 0 24px 48px -12px rgba(0, 0, 0, 0.6);
}
.cf__top { display: flex; align-items: center; justify-content: space-between; padding: 8px 8px 0; }
.cf__acct { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; }
.cf__acct i { width: 22px; height: 22px; border-radius: 50%; background: linear-gradient(140deg, #ff9a3c, #e0442e); }
.cf__label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-3); }
.cf__amt { padding: 28px 8px 0; font-size: 44px; font-weight: 500; letter-spacing: -0.04em; line-height: 1; }
.cf__amt span { color: var(--text-3); }
.cf__chg { display: flex; align-items: center; gap: 8px; padding: 12px 8px 28px; font-size: 14px; }
.cf__chg .up { color: var(--up); }
.cf__chg .chip { color: var(--up); background: rgba(61, 220, 151, 0.12); padding: 2px 8px; border-radius: 999px; font-size: 13px; }
.cf__chg .muted { color: var(--text-3); }
.cf__btns { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.cf__btns span {
  display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 0 10px;
  border-radius: 12px; background: var(--surface-2); font-size: 12px; color: var(--text-2);
  transition: transform 120ms var(--ease-out);
}
.cf__btns span:active { transform: scale(0.97); }
.cf__btns b { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--text); color: var(--bg); font-size: 14px; font-weight: 600; }

.demo__log {
  list-style: none; margin: 0; padding: 28px 24px; border-left: 1px solid var(--line);
  display: flex; flex-direction: column; justify-content: center; gap: 14px;
  font-family: var(--mono); font-size: 12.5px; line-height: 1.55; color: var(--text-2);
}
@media (max-width: 900px) { .demo__log { border-left: 0; border-top: 1px solid var(--line); } }
.demo__log li { transition: opacity 300ms var(--ease-out), transform 360ms var(--ease-out); }
.demo__log .tool { display: block; color: var(--amber); }
[data-mode="on"] .demo__log [data-off],
[data-mode="off"] .demo__log [data-on] { display: none; }
.demo__log li.is-enter { opacity: 0; transform: translateY(6px); }

/* ---------- Tools ---------- */
.tools { list-style: none; margin: 48px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
@media (max-width: 900px) { .tools { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .tools { grid-template-columns: 1fr; } }
.tool-card { background: var(--bg); padding: 28px 24px 24px; display: flex; flex-direction: column; gap: 12px; min-height: 220px; transition: background-color 200ms; }
@media (hover: hover) { .tool-card:hover { background: #0f0f0f; } }
.tool-card__name { font-family: var(--mono); font-size: 14px; color: var(--amber); }
.tool-card p { margin: 0; color: var(--text-2); font-size: 15px; text-wrap: pretty; }
.tool-card__eg { margin-top: auto; padding-top: 12px; font-family: var(--mono); font-size: 12px; color: var(--text-3); }

/* ---------- Process ---------- */

.clients { margin-top: 72px; display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.clients__label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-3); }
.clients ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.clients li { font-size: 14px; color: var(--text-2); padding: 7px 12px; border: 1px solid var(--line); border-radius: 999px; }

/* ---------- Proof ---------- */
.cases { list-style: none; margin: 48px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 960px) { .cases { grid-template-columns: 1fr; } }
.case { border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: var(--surface); display: flex; flex-direction: column; }
.case__art { position: relative; aspect-ratio: 4 / 3; background: radial-gradient(120% 90% at 70% 20%, hsl(var(--hue) 70% 22% / 0.9), transparent 70%), #0c0c0c; }
@media (max-width: 960px) { .case__art { aspect-ratio: 16 / 7; } }
.case__raised {
  position: absolute; left: 16px; bottom: 16px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--stamp); border: 1.5px solid currentColor; border-radius: 999px; padding: 6px 10px 5px; transform: rotate(-4deg);
  background: rgba(10, 10, 10, 0.6);
}
.case__body { padding: 20px 20px 24px; display: flex; flex-direction: column; flex: 1; }
.case__name { font-size: 14px; color: var(--text-2); }
.case h3 { margin: 6px 0 0; font-size: 22px; line-height: 1.2; font-weight: 500; letter-spacing: -0.02em; text-wrap: balance; }
.case dl { margin: auto 0 0; padding-top: 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.case dt { font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-3); }
.case dd { margin: 4px 0 0; font-size: 18px; }

/* ---------- Pricing ---------- */
.plans { list-style: none; margin: 48px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: stretch; }
@media (max-width: 960px) { .plans { grid-template-columns: 1fr; max-width: 520px; } }
.plan {
  position: relative; display: flex; flex-direction: column; padding: 28px 24px 24px;
  border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface);
}
.plan--pro { border-color: rgba(255, 154, 60, 0.45); background: linear-gradient(180deg, rgba(255, 154, 60, 0.06), transparent 40%), var(--surface); }
.plan__badge {
  position: absolute; top: -11px; left: 24px; padding: 4px 10px 3px; border-radius: 999px;
  background: var(--amber); color: #120a02; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.06em; text-transform: uppercase;
}
.plan__head h3 { margin: 0; font-size: 15px; font-weight: 500; color: var(--text-2); }
.plan__price { margin: 14px 0 0; font-size: 44px; line-height: 1; font-weight: 500; letter-spacing: -0.04em; }
.plan__per { margin: 6px 0 0; font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-3); }
.plan__desc { margin: 20px 0 0; color: var(--text-2); font-size: 15px; text-wrap: pretty; }
.plan__list { list-style: none; margin: 20px 0 0; padding: 20px 0 0; border-top: 1px solid var(--line); display: grid; gap: 10px; font-size: 15px; }
.plan__list li { display: flex; gap: 10px; align-items: baseline; }
.plan__list li::before { content: ""; flex: none; width: 5px; height: 5px; border-radius: 1px; background: var(--amber); transform: translateY(-2px); }
.plan__cta { margin-top: auto; width: 100%; }
.plan__list { margin-bottom: 28px; }
.plans__note { margin: 20px 0 0; font-size: 13px; color: var(--text-3); }

/* ---------- Access ---------- */
.access { position: relative; overflow: hidden; border-top: 1px solid var(--line); padding-block: clamp(112px, 16vw, 200px); }
.access .dots { -webkit-mask-image: radial-gradient(70% 80% at 80% 50%, #000, transparent 80%); mask-image: radial-gradient(70% 80% at 80% 50%, #000, transparent 80%); }
.access__inner { position: relative; z-index: 1; }
.access__title { margin: 20px 0 0; font-size: clamp(44px, 8vw, 104px); line-height: 0.98; letter-spacing: -0.045em; font-weight: 500; max-width: 12ch; }
.access__lede { margin: 24px 0 0; color: var(--text-2); max-width: 44ch; font-size: 18px; }
.access__alt { margin: 20px 0 0; color: var(--text-3); font-size: 15px; }
.access__alt a { color: var(--text); text-underline-offset: 3px; text-decoration-color: var(--text-3); }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 28px 0 calc(24px + env(safe-area-inset-bottom)); overflow: hidden; }
.footer__row { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; color: var(--text-3); }
.footer__row nav { display: flex; gap: 20px; flex-wrap: wrap; }
.footer__row a { text-decoration: none; color: var(--text-2); }
@media (hover: hover) { .footer__row a:hover { color: var(--text); } }
.footer__word { display: block; width: 100%; aspect-ratio: 1046 / 126; height: auto; margin-top: 56px; fill: #161616; }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity 640ms var(--ease-out), transform 720ms var(--ease-out); transition-delay: var(--d, 0ms); }
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .stamp--hero svg { animation: none; }
  .demo__stage > *, .demo__log li, .seg__thumb { transition-duration: 1ms; }
  [data-mode="on"] .card-generic, [data-mode="off"] .card-figura { transform: none; filter: none; }
}

/* ---------- figura.digital site nav, inverted (mirrors components/Nav.tsx + app/globals.css) ---------- */
@font-face { font-family: "Inter Display"; src: url("/fonts/inter-display-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter Display"; src: url("/fonts/inter-display-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
.site-nav {
  --site-pad: 40px;
  position: sticky; top: 0; z-index: 50; box-sizing: border-box;
  display: flex; align-items: center; justify-content: space-between;
  height: calc(64px + env(safe-area-inset-top)); padding: env(safe-area-inset-top) var(--site-pad) 0;
  background: rgba(255, 255, 255, 0.72); color: #000;
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  font-family: "Inter Display", "Inter", var(--sans);
}
.site-nav__logo { display: flex; align-items: center; color: #000; }
.site-nav__logo svg { display: block; width: 101px; height: 12px; }
.site-nav__links { display: flex; align-items: center; gap: 20px; }
.site-nav__links a { color: #000; text-decoration: none; font-size: 14px; font-weight: 500; line-height: 20px; letter-spacing: normal; }
.site-nav__rule { width: 28px; height: 1px; background: rgba(0, 0, 0, 0.45); }
.site-nav a:focus-visible, .site-nav__toggle:focus-visible { outline: 2px solid #000; outline-offset: 3px; border-radius: 4px; }
.site-nav__toggle { display: none; background: none; border: 0; width: 32px; height: 24px; padding: 0; cursor: pointer; }
.site-nav__toggle span { display: block; height: 1.5px; background: #000; margin: 6px 0; }
.site-nav__panel {
  position: absolute; inset: calc(64px + env(safe-area-inset-top)) 0 auto 0;
  display: flex; flex-direction: column; gap: 18px; padding: 24px var(--site-pad) 32px;
  background: #fff; border-top: 1px solid rgba(0, 0, 0, 0.12);
}
.site-nav__panel[hidden] { display: none; }
.site-nav__panel a { color: #000; font-size: 22px; font-weight: 600; text-decoration: none; }
.site-nav__panel .site-nav__panel-book {
  display: inline-flex; align-items: center; justify-content: center; min-height: 40px; padding: 8px 18px; border-radius: 999px;
  background: #000; color: #fff; font-size: 16px;
}
@media (max-width: 809.98px) {
  .site-nav { --site-pad: 20px; }
  .site-nav__links { display: none; }
  .site-nav__toggle { display: block; }
}

/* ---------- waitlist: success ---------- */
/* the card keeps its own colour. A distortion wave (the "Try it out" one from section 4, on a canvas above
   the content) rises from the button and carries the row into the note, then the rim keeps a soft colour
   glow waving around it (the same blobs as the .cta button). */
.waitlist__wave { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; display: none; pointer-events: none; }
.waitlist__glow {
  position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background:
    radial-gradient(closest-side, rgb(20 110 255), transparent),
    radial-gradient(closest-side, rgb(255 70 170), transparent),
    radial-gradient(closest-side, rgb(255 150 30), transparent),
    radial-gradient(closest-side, rgb(40 220 170), transparent),
    radial-gradient(closest-side, rgb(170 80 255), transparent);
  background-size: 180% 180%;
  background-repeat: no-repeat;
  background-position: 0% 0%, 100% 0%, 100% 100%, 0% 100%, 50% 50%;
  -webkit-mask: radial-gradient(46% 46%, transparent 50%, #000 200%);
  mask: radial-gradient(46% 46%, transparent 50%, #000 200%);
  filter: saturate(1.3) blur(6px);
  opacity: 0;
  transition: opacity 600ms ease;
}
.waitlist[data-state="success"] .waitlist__glow {
  opacity: 0.8;
  animation: cta-drift 5s ease-in-out infinite, cta-hue 4s linear infinite;
  transition-delay: 700ms; /* as the wave's colour settles onto the edges */
}
/* the row gives way to the note */
.waitlist__row { transition: opacity 220ms ease, filter 220ms ease, translate 260ms cubic-bezier(0.23, 1, 0.32, 1); }
.waitlist[data-state="success"] .waitlist__row { opacity: 0; filter: blur(6px); translate: 0 -6px; pointer-events: none; }
.waitlist__success {
  position: absolute; z-index: 1; left: calc(var(--wl-pad) + 6px); right: var(--wl-pad); bottom: var(--wl-pad); height: 36px;
  display: flex; align-items: center; gap: 12px; pointer-events: none;
  opacity: 0; filter: blur(6px); translate: 0 8px;
  transition: opacity 320ms cubic-bezier(0.23, 1, 0.32, 1) 120ms, filter 320ms cubic-bezier(0.23, 1, 0.32, 1) 120ms, translate 380ms cubic-bezier(0.23, 1, 0.32, 1) 120ms;
}
.waitlist[data-state="success"] .waitlist__success { opacity: 1; filter: blur(0px); translate: 0 0; }
.waitlist__success-check { flex: none; color: #fff; overflow: visible; }
.waitlist__success-check circle, .waitlist__success-check path {
  fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1;
}
.waitlist__success-check circle { stroke-width: 1.5; opacity: 0.55; }
.waitlist__success-check path { stroke-width: 2; }
.waitlist[data-state="success"] .waitlist__success-check circle { animation: waitlist-draw 520ms cubic-bezier(0.65, 0, 0.35, 1) 450ms forwards; }
.waitlist[data-state="success"] .waitlist__success-check path { animation: waitlist-draw 360ms cubic-bezier(0.23, 1, 0.32, 1) 800ms forwards; }
@keyframes waitlist-draw { to { stroke-dashoffset: 0; } }
.waitlist__success-text { margin: 0; min-width: 0; display: flex; flex-direction: column; gap: 1px; line-height: 1.25; }
.waitlist__success-text strong { font-size: 14px; font-weight: 600; letter-spacing: -0.005em; }
.waitlist__success-text span { font-size: 12px; color: rgba(255, 255, 255, 0.78); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.waitlist__success-text b { font-weight: 500; color: #fff; }
.waitlist__success-more { font-style: normal; }
.waitlist:not(.is-open) .waitlist__success-more { display: none; }
/* in the open card the note may wrap (narrow screens); in the pill it stays on one line */
.waitlist.is-open .waitlist__success { height: auto; min-height: 36px; }
.waitlist.is-open .waitlist__success-text span { white-space: normal; text-wrap: pretty; }
/* the button stays as a quiet confirmation */
.waitlist[data-state="success"] .waitlist__btn { pointer-events: none; }
@media (prefers-reduced-motion: reduce) {
  .waitlist__success, .waitlist__row { filter: none; translate: none; }
  .waitlist__success-check circle, .waitlist__success-check path { animation: none !important; stroke-dashoffset: 0; }
  .waitlist[data-state="success"] .waitlist__glow { animation: none; transition-delay: 0ms; }
}
