/* Creyaa pricing lab — shared shell.
   Mirrors the waitlist page exactly: fixed /hero-bg-2.png + ASCII cursor
   trail + top darken, the centered glass nav pill, and the sitemap footer
   with progressive blur. Variants supply ONLY the <main class="pricing"> body.
   Self-hosted Inter (CSP blocks fonts.googleapis.com). */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/inter-var.woff2") format("woff2");
}

:root {
  --ink: #0a0908;            /* page ground — matches waitlist root */
  --ember: #ff6a1a;
  --ember-deep: #ec7200;
  --t-95: rgba(255, 255, 255, 0.95);
  --t-92: rgba(255, 255, 255, 0.92);
  --t-72: rgba(255, 255, 255, 0.72);
  --t-60: rgba(255, 255, 255, 0.60);
  --t-50: rgba(255, 255, 255, 0.50);
  --t-40: rgba(255, 255, 255, 0.40);
  --t-28: rgba(255, 255, 255, 0.28);
  --hairline: rgba(255, 255, 255, 0.08);
  --hairline-2: rgba(255, 255, 255, 0.12);
  --glass: rgba(255, 255, 255, 0.06);
  --glass-2: rgba(255, 255, 255, 0.08);
  --radius-card: 20px;
  --radius-pill: 9999px;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-spring: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow-pillow: inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 1px 2px rgba(0, 0, 0, 0.4), 0 8px 30px -12px rgba(0, 0, 0, 0.6);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  min-height: 100dvh;
  background: var(--ink);
  color: var(--t-92);
  font-family: "Inter", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-synthesis: none;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }
::selection { background: rgba(255, 106, 26, 0.28); }

/* ── Fixed page background — hero-bg-2.png + darken + ASCII host ───────── */
.page-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: url("/hero-bg-2.png");
  background-size: cover;
  background-position: center bottom;
  background-color: var(--ink);
}
.page-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(10, 10, 11, 0.62) 0%,
    rgba(10, 10, 11, 0.20) 42%,
    rgba(10, 10, 11, 0.55) 100%
  );
}
.ascii-fx {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

/* ── Nav — centered glass pill (verbatim port from waitlist) ──────────── */
.nav {
  position: relative;
  z-index: 3;
  width: 100%;
  height: 90px;
  padding-block: 20px;
  display: flex;
  justify-content: center;
  box-sizing: border-box;
}
.nav-pill {
  position: relative;
  width: 460px;
  height: 50px;
  border-radius: 14px;
  background: var(--glass-2);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  padding: 5px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-sizing: border-box;
}
.nav-mark {
  position: absolute;
  left: 5px;
  top: 5px;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  object-fit: contain;
  display: block;
}
.nav-links {
  position: absolute;
  left: 65px;
  top: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-link {
  font-size: 14px;
  line-height: 18px;
  color: var(--t-60);
  transition: color 180ms ease;
}
.nav-link:hover { color: var(--t-95); }
.nav-link.is-active { color: var(--t-95); }
.nav-right {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-left: auto;
}
.nav-right .nav-link { padding-inline: 12px; }

/* Join-waitlist pill — orange chip, white tile expands on hover */
.nav-join {
  position: relative;
  display: block;
  width: 138px;
  height: 40px;
  border-radius: 10px;
  background: var(--ember-deep);
  box-shadow: inset 0 2px 3px rgba(255, 255, 255, 0.30),
    inset 0 -2px 3px rgba(0, 0, 0, 0.47);
  flex-shrink: 0;
  cursor: pointer;
}
.nav-join .lbl {
  position: absolute;
  left: 11px;
  top: 11px;
  z-index: 1;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  line-height: 18px;
  pointer-events: none;
  transition: color 220ms var(--ease-out) 50ms, transform 260ms var(--ease-out);
}
.nav-join .tile {
  position: absolute;
  top: 2px;
  bottom: 2px;
  right: 2px;
  width: 36px;
  border-radius: 9px;
  background: #fff;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.10),
    inset 0 -1px 1px rgba(0, 0, 0, 0.75), 0 2px 3px rgba(0, 0, 0, 0.20);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 9px;
  transition: width 260ms var(--ease-out);
  will-change: width;
}
.nav-join .tile svg { transition: transform 260ms var(--ease-out); }
.nav-join:hover .lbl { color: #000; transform: translateX(4px); }
.nav-join:hover .tile { width: calc(100% - 4px); }
.nav-join:hover .tile svg { transform: translateX(-4px); }

/* ── Page content lane ───────────────────────────────────────────────── */
.page {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100dvh;
}
.pricing {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1120px;
  margin-inline: auto;
  padding: clamp(56px, 8vw, 104px) 24px clamp(96px, 10vw, 160px);
  box-sizing: border-box;
}

/* ── Shared pricing primitives ───────────────────────────────────────── */
.eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--t-40);
}
.h-display {
  font-size: clamp(36px, 5.2vw, 60px);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.03em;
  color: #fff;
  text-wrap: balance;
}
.h-sub {
  font-size: 17px;
  line-height: 1.55;
  color: var(--t-72);
  letter-spacing: -0.005em;
  text-wrap: pretty;
}

/* Page header + grids */
.ph { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 18px; margin-bottom: clamp(40px, 5vw, 64px); }
.ph .h-sub { max-width: 600px; }
.ph .billing { margin-top: 6px; }
.grid { display: grid; gap: 18px; align-items: stretch; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card .btn { margin-top: 26px; }
.card .feat { flex: 1; }
/* V1 (grid-3): taller cards — extra height becomes empty space at the bottom
   (the feature list flexes), top content stays put. */
.grid-3 .card { min-height: 520px; }

/* Billing toggle */
.billing {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border-radius: var(--radius-pill);
  background: var(--glass);
  border: 1px solid var(--hairline);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.billing button {
  position: relative;
  border: none;
  background: none;
  cursor: pointer;
  padding: 7px 16px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 500;
  color: var(--t-50);
  transition: color 200ms var(--ease-out);
}
.billing button.on { color: #fff; }
.billing .knob {
  position: absolute;
  inset: 4px auto 4px 4px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
  transition: transform 320ms var(--ease-spring), width 320ms var(--ease-spring);
  z-index: 0;
}
.billing button { z-index: 1; }
.save-tag {
  margin-left: 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--ember);
}

/* Card — glass pillow */
.card {
  position: relative;
  border-radius: var(--radius-card);
  /* bottom scrim masks the fixed orange-horizon bg bleeding through the glass
     at the card's lower edge; upper card stays glassy */
  background: linear-gradient(180deg, transparent 40%, rgba(8, 8, 10, 0.85) 88%, rgb(10, 10, 12) 98%),
    var(--glass);
  border: 1px solid var(--hairline);
  /* the bottom sits over the near-black scrim, where the 8%-white hairline
     reads as a bright etched line — dim just that side */
  border-bottom-color: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  /* the trailing solid dark shadows sit right under the card's rounded edge so
     its anti-aliased pixels blend into dark instead of the bright horizon —
     kills the seam line whatever sits behind the card */
  box-shadow: var(--shadow-pillow), 0 1px 0 rgb(10, 10, 12),
    0 2px 3px rgba(10, 10, 12, 0.7);
  padding: 28px;
  display: flex;
  flex-direction: column;
  transition: transform 220ms var(--ease-out), border-color 220ms var(--ease-out),
    background-color 220ms var(--ease-out);
}
.card:hover { border-color: var(--hairline-2); border-bottom-color: rgba(255, 255, 255, 0.05); }
.card.featured {
  background: linear-gradient(180deg, rgba(255, 106, 26, 0.10), rgba(255, 106, 26, 0.02) 40%, var(--glass));
  border-color: rgba(255, 106, 26, 0.32);
  box-shadow: var(--shadow-pillow), 0 0 0 1px rgba(255, 106, 26, 0.10);
}
/* Tint only — original ember shade (255,106,26 at 0.10→0.02), washed further
   down the card. Layered over the glass base so the card keeps its fill. */
.card.tint {
  background: linear-gradient(180deg, rgba(255, 106, 26, 0.22) 0%,
      rgba(255, 106, 26, 0.08) 55%, rgba(255, 106, 26, 0) 90%),
    linear-gradient(180deg, transparent 40%, rgba(8, 8, 10, 0.85) 88%, rgb(10, 10, 12) 98%),
    var(--glass);
}
/* The gradients must span the BORDER box and never repeat: with the default
   padding-box origin + repeat, the 1px bottom border row falls outside the
   gradient tile and gets painted with the tile's TOP (strong ember on .tint,
   transparent on plain cards) — the "weird bottom line". */
.card, .card.tint, .card.featured {
  background-origin: border-box;
  background-repeat: no-repeat;
}
.plan-name { font-size: 15px; font-weight: 600; color: #fff; letter-spacing: -0.01em; }
.plan-for { margin-top: 4px; font-size: 13px; color: var(--t-50); line-height: 1.45; }
.price {
  margin-top: 22px;
  display: flex;
  align-items: baseline;
  gap: 4px;
}
.price .amt {
  font-size: 46px;
  font-weight: 600;
  letter-spacing: -0.04em;
  color: #fff;
  font-variant-numeric: tabular-nums;
}
.price .per { font-size: 14px; color: var(--t-50); font-weight: 500; }
/* " · billed yearly" suffix — blur-fades in at the end on the year toggle.
   inline-block (no overflow clip) keeps the baseline aligned with "/month".
   Asymmetric: enter decelerates + lingers; exit accelerates away (emil). */
.per-yearly {
  display: inline-block;
  opacity: 0;
  filter: blur(5px);
  transform: translateX(-5px);
  will-change: opacity, filter, transform;
  transition: opacity 200ms ease, filter 200ms ease,
    transform 220ms cubic-bezier(0.5, 0, 1, 0.5);
}
[data-per].is-yearly .per-yearly {
  opacity: 1;
  filter: blur(0);
  transform: translateX(0);
  transition: opacity 360ms ease-out 60ms, filter 380ms ease-out 60ms,
    transform 420ms var(--ease-out) 60ms;
}
@media (prefers-reduced-motion: reduce) {
  .per-yearly { transition: opacity 180ms ease; transform: none; filter: none; }
  [data-per].is-yearly .per-yearly { transition: opacity 180ms ease; transform: none; filter: none; }
}
.price.custom .amt { font-size: 34px; }

.popular {
  position: absolute;
  top: 18px;
  right: 18px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ember);
  background: rgba(255, 106, 26, 0.14);
  padding: 5px 9px;
  border-radius: var(--radius-pill);
  z-index: 3;
}

.feat { margin-top: 24px; display: flex; flex-direction: column; gap: 12px; }
.feat li {
  list-style: none;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  line-height: 1.45;
  color: var(--t-72);
}
.feat .ic {
  flex-shrink: 0;
  margin-top: 1px;
  width: 16px;
  height: 16px;
  background: var(--ember);
  -webkit-mask: var(--check) center / contain no-repeat;
  mask: var(--check) center / contain no-repeat;
}
.feat li.muted { color: var(--t-40); }
.feat li.muted .ic {
  background: var(--t-28);
  -webkit-mask: var(--dash) center / contain no-repeat;
  mask: var(--dash) center / contain no-repeat;
}
:root {
  --check: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path d="M4.5 10.5 L8.5 14.5 L15.5 5.5" fill="none" stroke="black" stroke-width="2.2" stroke-linecap="round" stroke-linejoin="round"/></svg>');
  --dash: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path d="M5 10 H15" fill="none" stroke="black" stroke-width="2.2" stroke-linecap="round"/></svg>');
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 18px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: transform 140ms var(--ease-out), background-color 200ms ease,
    border-color 200ms ease, color 200ms ease;
  white-space: nowrap;
}
.btn:active { transform: scale(0.98); }
.btn-block { width: 100%; }
.btn-hero {
  background: var(--ember-deep);
  color: #fff;
  box-shadow: inset 0 2px 3px rgba(255, 255, 255, 0.30),
    inset 0 -2px 3px rgba(0, 0, 0, 0.47);
}
.btn-hero:hover { background: var(--ember); }
.btn-ghost {
  background: var(--glass-2);
  color: var(--t-92);
  border: 1px solid var(--hairline-2);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.12); }
.btn .lucide { transition: transform 200ms var(--ease-out); }
.btn:hover .lucide { transform: translateX(2px); }

/* CTA button — the nav "Join waitlist" mechanic, full width.
   A pill with a label on the left and a white tile (up-right arrow) on the
   right that expands to fill on hover; the label flips to black + nudges, the
   arrow nudges in. --ember = orange pill (center plan); --gray = neutral pill
   (outer plans). Same exact UI + hover, only the pill base color differs. */
.cta {
  position: relative;
  display: block;
  width: 100%;
  height: 46px;
  border-radius: 12px;
  cursor: pointer;
  flex-shrink: 0;
  text-decoration: none;
  transition: transform 140ms var(--ease-out);
}
.cta:active { transform: scale(0.98); }
.cta .lbl {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  /* Reserve the tile's footprint so the label optically centers in the
     pill body, not under the resting tile. */
  padding-right: 40px;
  font-size: 14px;
  font-weight: 500;
  pointer-events: none;
  transition: color 200ms var(--ease-out) 40ms;
}
.cta .tile {
  position: absolute;
  top: 3px;
  bottom: 3px;
  right: 3px;
  width: 40px;
  border-radius: 9px;
  background: #fff;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.10),
    inset 0 -1px 1px rgba(0, 0, 0, 0.75), 0 2px 3px rgba(0, 0, 0, 0.20);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 11px;
  transition: width 260ms var(--ease-out);
  will-change: width;
}
.cta .tile svg { transition: transform 260ms var(--ease-out); display: block; }
.cta:hover .lbl { color: #000; }
.cta:hover .tile { width: calc(100% - 6px); }
.cta:hover .tile svg { transform: translateX(-4px); }

.cta--ember {
  background: var(--ember-deep);
  box-shadow: inset 0 2px 3px rgba(255, 255, 255, 0.30),
    inset 0 -2px 3px rgba(0, 0, 0, 0.10);
}
.cta--ember .lbl { color: #fff; }

.cta--gray {
  background: #26262a;
  box-shadow: inset 0 2px 3px rgba(255, 255, 255, 0.10),
    inset 0 -2px 3px rgba(0, 0, 0, 0.10);
}
.cta--gray .lbl { color: var(--t-92); }

.card .cta { margin-top: 26px; }

/* ── Pricing CTA options (pick one) ─────────────────────────────────────
   Three simple, premium, on-system button styles. Each has an ember form
   (.is-ember, for the featured plan) and a neutral form (.is-neutral, for
   secondary plans). Specific-prop transitions, strong ease-out, press 0.98. */
/* ── Lively CTAs (.lb) — pill with pillow depth + an inner tile/well + arrow
   icon + motion. The two-material composition is what gives them life (the old
   waitlist button DNA), proportioned for the wider card. Each: .is-ember
   (featured) / .is-neutral (secondary), and a style: sweep / chip / well. */
.lb {
  position: relative;
  display: block;
  width: 100%;
  height: 46px;
  border-radius: 12px;
  cursor: pointer;
  text-decoration: none;
  box-sizing: border-box;
  overflow: hidden;
  transition: background-color 180ms ease, box-shadow 200ms var(--ease-out),
    transform 140ms var(--ease-out);
}
.card .lb { margin-top: 26px; }
.lb:active { transform: scale(0.98); }
.lb .lbl {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-right: 38px; /* reserve the tile footprint so the label optically centers */
  font-family: "Inter", system-ui, sans-serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.011em;
  pointer-events: none;
  transition: color 200ms var(--ease-out) 40ms;
}
.lb .tile {
  position: absolute;
  top: 4px;
  bottom: 4px;
  right: 4px;
  width: 38px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  overflow: hidden;
  z-index: 1;
  background: #fff;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.10),
    inset 0 -1px 1px rgba(0, 0, 0, 0.75), 0 2px 3px rgba(0, 0, 0, 0.25);
}
/* two stacked arrows — one launches out top-right, one flies in bottom-left */
.lb .tile .ar {
  grid-area: 1 / 1;
  display: block;
  transition: transform 340ms var(--ease-out), opacity 320ms var(--ease-out);
}
.lb .tile .ar-in { transform: translate(-160%, 160%); opacity: 0; }

/* pill depth — ember pillow / #171717 chip (site recipes) */
.lb.is-ember {
  background: var(--ember);
  box-shadow: inset 0 2px 3px rgba(255, 255, 255, 0.32),
    inset 0 -2px 4px rgba(0, 0, 0, 0.38), 0 2px 6px rgba(0, 0, 0, 0.32);
}
.lb.is-ember .lbl { color: #fff; }
.lb.is-ember:hover { background: #e8610f; }
.lb.is-neutral {
  background: #171717;
  box-shadow: inset 0 2px 3px -1px rgba(255, 255, 255, 0.16),
    inset 0 -2px 4px -1px rgba(0, 0, 0, 0.90), 0 1px 2px rgba(0, 0, 0, 0.4);
}
.lb.is-neutral .lbl { color: rgba(255, 255, 255, 0.92); }
.lb.is-neutral:hover { background: #1c1c1e; }

/* Hover: the current arrow launches out the TOP-RIGHT corner; a fresh arrow
   flies in from the BOTTOM-LEFT to center. Diagonal matches the up-right glyph.
   The tile stays put (no expand); pill just brightens (see .is-*:hover). */
.lb:hover .tile .ar-out { transform: translate(160%, -160%); opacity: 0; }
.lb:hover .tile .ar-in { transform: translate(0, 0); opacity: 1; transition-delay: 55ms; }

@media (prefers-reduced-motion: reduce) {
  .lb, .lb .lbl { transition: background-color 180ms ease, box-shadow 200ms ease; }
  .lb .tile .ar { transition: opacity 160ms ease; }
  .lb .tile .ar-in { transform: none; }
  .lb:hover .tile .ar-out { transform: none; opacity: 0; }
  .lb:hover .tile .ar-in { transform: none; opacity: 1; transition-delay: 0ms; }
}

/* ── Footer (ported from WaitlistFooter) ─────────────────────────────── */
.foot {
  position: relative;
  z-index: 2;
  width: 100%;
  font-synthesis: none;
}
.foot-blur { position: absolute; inset: 0; pointer-events: none; }
.foot-blur > div { position: absolute; inset: 0; }
.foot-scrim {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    rgba(7, 7, 8, 0) 0%,
    rgba(7, 7, 8, 0.55) 45%,
    rgba(7, 7, 8, 0.82) 100%
  );
}
.foot-lane {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1920px;
  margin-inline: auto;
  box-sizing: border-box;
}
.foot-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) repeat(3, minmax(0, 0.9fr));
  gap: clamp(28px, 4vw, 64px);
  padding-inline: clamp(24px, 6.25vw, 120px);
  padding-top: clamp(64px, 6vw, 104px);
  padding-bottom: clamp(40px, 4vw, 64px);
}
.foot-logo { height: 28px; width: auto; display: block; }
.foot-tag {
  margin-top: 18px;
  max-width: 26ch;
  font-size: 14px;
  line-height: 1.5;
  color: var(--t-50);
}
.foot-head {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--t-40);
  margin-bottom: 16px;
}
.foot-col { display: flex; flex-direction: column; gap: 11px; }
.foot-link {
  font-size: 14px;
  line-height: 18px;
  color: rgba(255, 255, 255, 0.45);
  transition: color 200ms var(--ease-out);
}
.foot-link:hover { color: var(--t-92); }
.foot-link.cta { color: var(--ember); }
.foot-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  border-top: 1px solid var(--hairline);
  padding-top: 26px;
  padding-bottom: clamp(28px, 2.3vw, 44px);
  padding-inline: clamp(24px, 6.25vw, 120px);
  box-sizing: border-box;
}
.foot-copy { color: rgba(255, 255, 255, 0.45); font-size: 14px; line-height: 18px; }
.foot-meta-right { display: flex; align-items: center; gap: 28px; }

/* ── Responsive ──────────────────────────────────────────────────────── */
@media (max-width: 920px) {
  .grid-3, .grid-4 { grid-template-columns: 1fr !important; }
  .grid-2 { grid-template-columns: 1fr !important; }
}
@media (max-width: 720px) {
  .nav-pill { width: calc(100% - 32px); max-width: 460px; }
  /* The center links would collide with the right cluster on a narrow pill;
     the real waitlist swaps to a hamburger drawer here. For the lab, drop the
     center links so logo + Login + Join stay clean. */
  .nav-links { display: none; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}

/* ── Premium load reveal: blur + translate-y, staggered ──────────────
   Header text lines resolve out of a soft blur first, then the pricing
   cards rise from further down. Mirrors the waitlist wlRise recipe. */
@keyframes phReveal {
  from { opacity: 0; transform: translateY(14px); filter: blur(6px); }
  to   { opacity: 1; transform: translateY(0);    filter: blur(0); }
}
.reveal { opacity: 0; animation: phReveal 620ms cubic-bezier(0.23, 1, 0.32, 1) forwards; }
.reveal.rv1 { animation-delay: 420ms; }
.reveal.rv2 { animation-delay: 530ms; }
.reveal.rv3 { animation-delay: 650ms; }
.reveal.rv4 { animation-delay: 770ms; }
.reveal.rv5 { animation-delay: 1300ms; }
.h-display .reveal { display: block; }

/* Cards rise from the bottom with a soft blur, staggered after the text. */
@keyframes rise {
  from { opacity: 0; transform: translateY(34px); filter: blur(6px); }
  to   { opacity: 1; transform: translateY(0);    filter: blur(0); }
}
.rise { opacity: 0; animation: rise 720ms var(--ease-spring) forwards; }

@media (prefers-reduced-motion: reduce) {
  .reveal, .rise { animation: none; opacity: 1; filter: none; transform: none; }
  html { scroll-behavior: auto; }
}
