/* pennydance.com — night ledger.
   Everything here is self-hosted: no fonts, scripts or images from anyone
   else. That is part of the pitch (see the "0 third-party requests" line). */

@font-face { font-family: 'Archivo'; src: url('../fonts/Archivo-Regular.ttf') format('truetype'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Archivo'; src: url('../fonts/Archivo-Medium.ttf') format('truetype'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Archivo'; src: url('../fonts/Archivo-SemiBold.ttf') format('truetype'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Archivo'; src: url('../fonts/Archivo-Bold.ttf') format('truetype'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Archivo'; src: url('../fonts/Archivo-ExtraBold.ttf') format('truetype'); font-weight: 800; font-display: swap; }
@font-face { font-family: 'Archivo'; src: url('../fonts/Archivo-Black.ttf') format('truetype'); font-weight: 900; font-display: swap; }
@font-face { font-family: 'Plex Mono'; src: url('../fonts/IBMPlexMono-Regular.ttf') format('truetype'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Plex Mono'; src: url('../fonts/IBMPlexMono-Medium.ttf') format('truetype'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Plex Mono'; src: url('../fonts/IBMPlexMono-SemiBold.ttf') format('truetype'); font-weight: 600; font-display: swap; }

/* the rotating border glow on the plan cards animates this */
@property --spin { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
/* the theme slots fade their glow colour, which needs a typed property */
@property --glow { syntax: '<color>'; inherits: false; initial-value: transparent; }

:root {
  color-scheme: dark;
  --ground: #08080a;
  --ground-2: #0f0f13;
  --ink: #f4efe6;
  --ink-soft: rgba(244, 239, 230, 0.66);
  --ink-faint: rgba(244, 239, 230, 0.40);
  --rule: rgba(244, 239, 230, 0.12);
  --glass: rgba(255, 255, 255, 0.05);
  --glass-edge: rgba(255, 255, 255, 0.12);
  --persimmon: #ff6b3d;
  --persimmon-deep: #e4491c;
  --butter: #f7d65a;
  --cobalt: #5b8cff;
  --violet: #a178ff;
  --mint: #4cc796;
  --free: #9fb0ff;
  --plus: #ffd45e;
  --premium: #b397ff;
  --gutter: clamp(20px, 5vw, 64px);
  --max: 1240px;
  --mx: 50vw;
  --my: 30vh;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  background: var(--ground);
  color: var(--ink);
  font: 400 17px/1.55 'Archivo', system-ui, -apple-system, 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
.mono { font-family: 'Plex Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace; font-variant-numeric: tabular-nums; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding-inline: var(--gutter); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
::selection { background: var(--persimmon); color: #140a05; }

/* ── page-wide atmosphere ───────────────────────────────────────── */
/* fine grid that only lights up around the cursor */
.cursor-grid {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(260px circle at var(--mx) var(--my), #000 0%, transparent 70%);
          mask-image: radial-gradient(260px circle at var(--mx) var(--my), #000 0%, transparent 70%);
  transition: opacity .4s;
}
.cursor-glow {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(520px circle at var(--mx) var(--my), rgba(255, 140, 90, 0.07), transparent 60%);
}
/* film grain, so the big gradients don't band */
.grain {
  position: fixed; inset: -50%; z-index: 60; pointer-events: none; opacity: .06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); } 40% { transform: translate(2%, -3%); }
  60% { transform: translate(-2%, -1%); } 80% { transform: translate(3%, 3%); } 100% { transform: translate(0, 0); }
}
main, header, footer { position: relative; z-index: 1; }

/* ── nav ─────────────────────────────────────────────────────────── */
.nav {
  position: fixed; z-index: 50; left: 50%; transform: translateX(-50%);
  top: calc(14px + env(safe-area-inset-top, 0px));
  width: min(calc(100% - 2 * var(--gutter)), 1080px);
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 8px 8px 8px 16px;
  border-radius: 999px;
  background: rgba(16, 16, 20, 0.55);
  border: 1px solid var(--glass-edge);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
          backdrop-filter: blur(18px) saturate(1.4);
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: -0.01em; font-size: 18px; }
.brand img { width: 30px; height: 30px; border-radius: 9px; }
.nav-links { display: flex; gap: 4px; }
.nav-links a {
  font: 500 13px/1 'Plex Mono', monospace; letter-spacing: .08em; text-transform: uppercase;
  padding: 10px 14px; border-radius: 999px; color: var(--ink-soft); transition: color .2s, background .2s;
}
.nav-links a:hover { color: var(--ink); background: rgba(255, 255, 255, 0.07); }
.btn {
  display: inline-flex; align-items: center; gap: 10px; white-space: nowrap;
  font: 600 14px/1 'Archivo', sans-serif; letter-spacing: .01em;
  padding: 13px 20px; border-radius: 999px;
  transition: transform .2s, background .2s, box-shadow .3s;
}
.btn-light { background: var(--ink); color: #111; }
.btn-light:hover { transform: translateY(-1px); box-shadow: 0 8px 30px rgba(255, 180, 140, 0.25); }
.btn-ghost { border: 1px solid var(--glass-edge); background: var(--glass); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.1); }
.btn small { font: 500 11px/1 'Plex Mono', monospace; letter-spacing: .08em; opacity: .6; text-transform: uppercase; }
@media (max-width: 980px) { .nav-links { display: none; } }

/* ── phone frame (holds a real screenshot, 1080×2400) ────────────── */
.phone {
  --w: 300px;
  position: relative; width: var(--w); aspect-ratio: 1080 / 2400;
  border-radius: calc(var(--w) * 0.14);
  padding: calc(var(--w) * 0.028);
  background: linear-gradient(145deg, #3a3a40, #121215 40%, #26262b);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.12) inset,
    0 40px 80px -20px rgba(0, 0, 0, 0.8),
    0 20px 40px -10px rgba(0, 0, 0, 0.6);
  transform-style: preserve-3d;
  flex: none;
}
.phone .screen {
  position: relative; width: 100%; height: 100%; overflow: hidden;
  border-radius: calc(var(--w) * 0.115);
  background: #111;
}
.phone .screen > img, .phone .screen > video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
/* stacked screens: only the .on one shows */
.phone .screen.stack > * { transition: opacity .6s ease, transform .8s cubic-bezier(.2, .8, .2, 1); }
.phone .screen.stack > :not(.on) { opacity: 0; transform: scale(1.04); }
/* the moving highlight across the glass — follows the cursor */
.phone .shine {
  position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 3;
  background: radial-gradient(circle at var(--sx, 30%) var(--sy, 20%), rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0.05) 30%, transparent 55%);
  mix-blend-mode: soft-light;
}
.phone .island {
  position: absolute; z-index: 4; top: calc(var(--w) * 0.05); left: 50%; transform: translateX(-50%);
  width: 28%; height: calc(var(--w) * 0.075); border-radius: 999px; background: #000;
}

/* ── hero ─────────────────────────────────────────────────────────── */
.hero {
  position: relative; min-height: 100svh; overflow: hidden;
  display: grid; align-items: center;
  padding-block: calc(110px + env(safe-area-inset-top, 0px)) 60px;
  perspective: 1400px;
}
.hero-sky { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.dust { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-sky .aurora {
  position: absolute; border-radius: 50%; filter: blur(80px); opacity: .55;
}
.aurora.a1 { width: 60vw; height: 60vw; left: -18vw; top: -20vw; background: radial-gradient(circle, #ff6b3d, transparent 65%); }
.aurora.a2 { width: 55vw; height: 55vw; right: -20vw; top: 10vh; background: radial-gradient(circle, #3b4dff, transparent 65%); opacity: .35; }
.aurora.a3 { width: 40vw; height: 40vw; left: 30vw; bottom: -25vw; background: radial-gradient(circle, #f7d65a, transparent 65%); opacity: .25; }
.hero-inner { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: center; gap: 40px; }
.hero-copy { position: relative; z-index: 4; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font: 500 12px/1 'Plex Mono', monospace; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft);
  padding: 9px 14px; border: 1px solid var(--glass-edge); border-radius: 999px; background: var(--glass);
}
@media (max-width: 430px) { .eyebrow { letter-spacing: .1em; } .eyebrow .opt { display: none; } }
.eyebrow .dot { flex: none;  width: 7px; height: 7px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 12px var(--mint); }
h1.display {
  margin-top: 26px;
  font-weight: 800; font-size: clamp(44px, 4.9vw, 86px); line-height: .92; letter-spacing: -0.045em;
}
h1.display .line { display: block; overflow: hidden; padding-bottom: .06em; }
h1.display .line > span { display: inline-block; }
.grad-text {
  background: linear-gradient(100deg, #ffd9a8 0%, #ff8a5c 35%, #ff5e8a 70%, #b48cff 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
/* tier badges — the same boxed word wherever a feature belongs to a paid plan:
   gold for Plus, purple for Premium, taken from the plan cards' glows */
.tier-badge {
  --t: var(--plus);
  display: inline-block; vertical-align: .12em; margin-inline: .2em; padding: .42em .6em .38em; border-radius: 6px;
  font: 700 max(9.5px, .62em)/1 'Plex Mono', monospace; font-style: normal; letter-spacing: .14em; text-transform: uppercase; white-space: nowrap;
  color: var(--t); background: color-mix(in srgb, var(--t) 13%, transparent);
  border: 1.5px solid color-mix(in srgb, var(--t) 65%, transparent);
  box-shadow: 0 0 16px color-mix(in srgb, var(--t) 22%, transparent);
}
.tier-badge.premium { --t: var(--premium); }
.tier-badge.free { --t: var(--free); }
/* the four promises — one lights up at a time and the centre phone shows its proof */
.promises { margin-top: 26px; list-style: none; display: grid; gap: 4px; max-width: 480px; }
.promises button {
  position: relative; width: 100%; text-align: left; overflow: hidden;
  display: grid; grid-template-columns: 42px 1fr; column-gap: 14px; row-gap: 2px; align-items: center;
  padding: 9px 14px 9px 9px; border-radius: 16px; border: 1px solid transparent;
  transition: background .35s, border-color .35s;
}
.promises .ico {
  grid-row: span 2; width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center;
  color: var(--c); background: color-mix(in srgb, var(--c) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--c) 35%, transparent);
  transition: background .35s, color .35s, box-shadow .35s;
}
.promises .ico svg { width: 21px; height: 21px; }
.promises b { font-weight: 700; font-size: clamp(18px, 1.5vw, 22px); line-height: 1.15; letter-spacing: -0.015em; color: var(--ink-soft); transition: color .35s; }
.promises small { font: 400 12px/1.35 'Plex Mono', monospace; letter-spacing: .02em; color: var(--ink-faint); }
.promises li:first-child b { color: var(--ink); }
.promises li.on button { background: rgba(255, 255, 255, 0.05); border-color: rgba(255, 255, 255, 0.1); }
.promises li.on b { color: var(--ink); }
.promises li.on small { color: var(--ink-soft); }
.promises li.on .ico { background: var(--c); color: #111; box-shadow: 0 0 26px color-mix(in srgb, var(--c) 60%, transparent); }
.promises .bar { position: absolute; left: 14px; right: 14px; bottom: 0; height: 2px; border-radius: 2px; background: var(--c); transform: scaleX(0); transform-origin: left; opacity: 0; }
.promises li.on .bar { opacity: 1; animation: fill var(--dwell, 4s) linear forwards; }
.promises.hold li.on .bar { animation: none; transform: scaleX(1); }
@keyframes fill { to { transform: scaleX(1); } }
.hero-cta { margin-top: 30px; display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.btn-cta {
  position: relative; overflow: hidden; gap: 12px; padding: 12px 24px 12px 16px;
  background: linear-gradient(100deg, #ffd9a8 0%, #ff8a5c 45%, #ff5e8a 100%); color: #1c0c06;
  box-shadow: 0 10px 40px rgba(255, 107, 61, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.25) inset;
}
.btn-cta:hover { transform: translateY(-2px); box-shadow: 0 14px 50px rgba(255, 107, 61, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.3) inset; }
.btn-cta > span { display: grid; gap: 5px; font: 800 18px/1 'Archivo', sans-serif; letter-spacing: -0.01em; }
.btn-cta small { opacity: .72; }
/* a glint crosses the button every few seconds */
.btn-cta::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, 0.6) 50%, transparent 65%);
  transform: translateX(-120%); animation: glint 4.5s ease-in-out 1.6s infinite;
}
@keyframes glint { 0%, 70% { transform: translateX(-120%); } 100% { transform: translateX(120%); } }
.cta-note { margin-top: 16px; font: 400 12px/1.6 'Plex Mono', monospace; letter-spacing: .03em; color: var(--ink-faint); }
.cta-note i { font-style: normal; color: var(--persimmon); margin: 0 4px; }
/* the proof card that swaps with each promise */
.proof { position: absolute; z-index: 5; left: -3%; bottom: 3%; display: grid; pointer-events: none; }
.proof > div {
  grid-area: 1 / 1; padding: 14px 18px; border-radius: 18px; min-width: 210px;
  background: rgba(18, 18, 22, 0.74); border: 1px solid color-mix(in srgb, var(--c) 45%, transparent);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.5), 0 0 40px color-mix(in srgb, var(--c) 22%, transparent);
  opacity: 0; transform: translateY(12px) scale(.96); transition: opacity .45s, transform .6s cubic-bezier(.2, .8, .2, 1);
}
.proof > div.on { opacity: 1; transform: none; }
.proof b { display: block; font: 800 30px/1 'Archivo', sans-serif; letter-spacing: -0.03em; color: var(--c); white-space: nowrap; }
.proof b i { font-style: normal; font-size: 15px; color: var(--ink-soft); letter-spacing: 0; }
.proof small { display: block; margin-top: 7px; font: 400 12px/1.4 'Plex Mono', monospace; color: var(--ink-soft); }
.hero-stage { position: relative; height: min(78vh, 720px); transform-style: preserve-3d; }
.hero-stage .phone { position: absolute; left: 50%; top: 50%; }
.hero-stage .p-center .screen > img { object-position: top; }
.hero-stage .p-center { --w: clamp(220px, 21vw, 300px); z-index: 3; transform: translate(-50%, -50%); }
.hero-stage .p-left { --w: clamp(180px, 17vw, 250px); z-index: 2; transform: translate(-112%, -44%) rotate(-8deg); opacity: .92; }
.hero-stage .p-right { --w: clamp(180px, 17vw, 250px); z-index: 2; transform: translate(22%, -56%) rotate(8deg); opacity: .92; }
.scroll-cue {
  position: absolute; z-index: 3; left: 50%; bottom: 26px; transform: translateX(-50%);
  font: 500 11px/1 'Plex Mono', monospace; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-faint);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.scroll-cue i { width: 1px; height: 40px; background: linear-gradient(var(--ink-faint), transparent); animation: cue 2s ease-in-out infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

.hero-marquee {
  position: relative; z-index: 2; margin-top: 30px; overflow: hidden; white-space: nowrap;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.hero-marquee .reel {
  display: inline-block; padding-block: 16px; animation: reel 40s linear infinite;
  font: 500 13px/1 'Plex Mono', monospace; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-faint);
}
.hero-marquee .reel b { color: var(--persimmon); font-weight: 500; margin: 0 22px; }
@keyframes reel { to { transform: translateX(-50%); } }

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; text-align: left; }
  .hero-stage { height: 520px; margin-top: 10px; }
  .proof { left: 50%; bottom: 0; transform: translateX(-50%); }
  .proof > div { min-width: 0; padding: 12px 16px; }
  .proof b { font-size: 24px; }
  .hero-stage .p-center { --w: 210px; }
  .hero-stage .p-left, .hero-stage .p-right { --w: 170px; }
}

/* ── stops (the four beats) ──────────────────────────────────────── */
.stop { position: relative; }
.stop-pin { position: relative; min-height: 100svh; display: grid; grid-template-columns: minmax(0, 1fr); align-items: center; overflow: hidden; padding-block: 90px; }
.stop-grid { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(30px, 5vw, 80px); align-items: center; }
.stop-grid.flip > .copy { order: 2; }
.stop-num {
  display: flex; align-items: center; gap: 14px;
  font: 500 12px/1 'Plex Mono', monospace; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-soft);
}
.stop-num b {
  font: 800 15px/1 'Plex Mono', monospace; color: var(--c, var(--persimmon));
  padding: 7px 10px; border: 1px solid currentColor; border-radius: 999px;
}
.stop-num .tier-badge { margin: 0; font-size: 11px; }
.stop h2 {
  margin-top: 22px; font-weight: 800; letter-spacing: -0.04em; line-height: .95;
  font-size: clamp(40px, 5vw, 76px);
}
.stop h2 em { font-style: normal; color: var(--c, var(--persimmon)); }
.stop .copy p { margin-top: 22px; max-width: 42ch; color: var(--ink-soft); font-size: clamp(16px, 1.3vw, 19px); }
.stop .copy p b { color: var(--ink); font-weight: 600; }
/* each point gets a lit check badge in the stop's colour */
.ticks { margin-top: 26px; display: grid; gap: 14px; list-style: none; }
.ticks li { position: relative; padding-left: 36px; font-size: clamp(15px, 1.15vw, 17px); line-height: 1.5; color: var(--ink-soft); }
.ticks li b { color: var(--ink); font-weight: 600; }
.ticks li::before {
  content: ''; position: absolute; left: 0; top: calc(.75em - 12px); width: 24px; height: 24px; border-radius: 50%;
  background: color-mix(in srgb, var(--c, var(--persimmon)) 18%, transparent); border: 1px solid color-mix(in srgb, var(--c, var(--persimmon)) 55%, transparent);
  box-shadow: 0 0 14px color-mix(in srgb, var(--c, var(--persimmon)) 30%, transparent);
}
.ticks li::after { content: ''; position: absolute; left: 7.5px; top: calc(.75em - 4.5px); width: 9px; height: 5px; border: solid var(--c, var(--persimmon)); border-width: 0 0 2px 2px; transform: rotate(-45deg); }
.ai-route { margin-top: 24px; display: flex; align-items: stretch; flex-wrap: wrap; gap: 8px; max-width: 520px; }
.ai-route span { flex: 1 1 0; min-width: 118px; padding: 10px 12px; border-radius: 12px; background: rgba(255, 255, 255, 0.03); border: 1px solid var(--rule); }
.ai-route b { display: block; font-size: 12px; font-weight: 600; color: var(--ink); letter-spacing: .02em; }
.ai-route small { display: block; margin-top: 4px; font-size: 11px; line-height: 1.35; color: var(--ink-faint); }
.ai-route span.g { border-color: color-mix(in srgb, var(--c, var(--cobalt)) 45%, transparent); }
.ai-route i { flex: none; align-self: center; width: 14px; height: 2px; background: var(--ink-faint); position: relative; }
.ai-route i::after { content: ''; position: absolute; right: -1px; top: -3px; border: 4px solid transparent; border-left: 6px solid var(--ink-faint); border-right: 0; }
@media (max-width: 480px) {
  .ai-route { flex-direction: column; align-items: stretch; }
  .ai-route i { align-self: center; transform: rotate(90deg); margin: 4px 0; }
}
.big-num {
  position: absolute; z-index: 0; right: -2vw; top: 50%; transform: translateY(-50%);
  font: 900 clamp(240px, 40vw, 560px)/.8 'Archivo', sans-serif; letter-spacing: -0.06em;
  color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, 0.07);
  pointer-events: none; user-select: none;
}
.stop-grid.flip + .big-num, .big-num.left { right: auto; left: -2vw; }
.visual { position: relative; display: grid; place-items: center; min-height: 600px; }
@media (max-width: 900px) {
  .stop-grid { grid-template-columns: minmax(0, 1fr); }
  .stop-grid.flip > .copy { order: 0; }
  .visual { min-height: 520px; }
}

/* stop 1 — no ads */
.s-ads { --c: var(--persimmon); }
/* the ad layer lives inside the phone screen and is sized in screen widths (cqw) */
.ads-visual { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; }
.ads-visual .screen { container-type: inline-size; }
.ad-layer {
  position: absolute; inset: 0; z-index: 2; font-family: 'Archivo', sans-serif;
  clip-path: inset(var(--cut, 100%) 0 0 0);
}
.ad-layer .cta { justify-self: end; padding: 1.8cqw 3.2cqw; border-radius: 99px; font-weight: 700; font-size: 3.4cqw; white-space: nowrap; }
.ad-layer small { display: block; font: 600 2.5cqw/1.2 'Plex Mono', monospace; letter-spacing: .1em; text-transform: uppercase; opacity: .7; }
.ad-layer b { display: block; font-weight: 700; font-size: 4.2cqw; line-height: 1.15; }
.ad-top, .ad-native, .ad-bottom { position: absolute; display: grid; align-items: center; gap: 1cqw 3cqw; }
.ad-top {
  left: 3cqw; right: 3cqw; top: 13cqw; grid-template-columns: 1fr auto; padding: 3.2cqw 3.6cqw; border-radius: 3.6cqw;
  background: linear-gradient(120deg, #1d6cf0, #0a47c2); color: #fff; box-shadow: 0 2cqw 6cqw rgba(0, 0, 0, 0.35);
}
.ad-top .cta { grid-row: span 2; grid-column: 2; background: #fff; color: #0a47c2; }
.ad-native {
  left: 3cqw; right: 3cqw; top: 36%; grid-template-columns: 11cqw 1fr auto; padding: 2.8cqw; border-radius: 3.6cqw;
  background: #fff8d6; color: #2b2200; border: 1px solid #f0cf3a; box-shadow: 0 2cqw 6cqw rgba(0, 0, 0, 0.25);
}
.ad-native i { width: 11cqw; height: 11cqw; border-radius: 2.4cqw; background: linear-gradient(135deg, #22c55e, #0e7a3a); }
.ad-native .cta { background: #22a355; color: #fff; }
.ad-modal { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(8, 8, 12, 0.55); }
.ad-modal .card {
  position: relative; width: 78cqw; margin-top: 14cqw; padding: 7cqw 5cqw 5cqw; border-radius: 5cqw; text-align: center;
  display: grid; gap: 2cqw; justify-items: center;
  background: linear-gradient(160deg, #ff3b5c, #b50f2c); color: #fff; box-shadow: 0 4cqw 12cqw rgba(0, 0, 0, 0.5);
}
.ad-modal .card b { font-size: 6cqw; }
.ad-modal .card .cta { justify-self: center; margin-top: 2cqw; background: #fff; color: #b50f2c; font-size: 3.8cqw; padding: 2.4cqw 5cqw; }
.ad-modal .card em { position: absolute; top: 2.6cqw; right: 3.6cqw; font: 500 2.6cqw/1 'Plex Mono', monospace; font-style: normal; opacity: .75; }
.ad-bottom {
  left: 0; right: 0; bottom: 0; grid-template-columns: 1fr auto; padding: 3.4cqw 4cqw 7cqw;
  background: linear-gradient(160deg, #ffe14d, #ffb300); color: #231a00;
}
.ad-bottom .cta { grid-row: span 2; grid-column: 2; background: #231a00; color: #ffe14d; }
.scanline {
  position: absolute; z-index: 3; left: 0; right: 0; top: var(--cut, 100%); height: 3px; margin-top: -1px;
  background: #ffd0bd; opacity: var(--scan, 0); pointer-events: none;
  box-shadow: 0 0 10px 2px var(--persimmon), 0 0 30px 6px rgba(255, 107, 61, 0.55);
}
/* the glow trail the scan leaves behind it */
.scanline::before {
  content: ''; position: absolute; left: 0; right: 0; bottom: 100%; height: 22cqw;
  background: linear-gradient(transparent, rgba(255, 107, 61, 0.22));
}
.ads-label { display: grid; font: 600 13px/1 'Plex Mono', monospace; letter-spacing: .16em; text-transform: uppercase; }
.ads-label span { grid-area: 1 / 1; justify-self: center; padding: 11px 18px; border-radius: 999px; white-space: nowrap; }
.ads-label .before { color: #ff8a9c; background: rgba(255, 59, 92, 0.1); border: 1px solid rgba(255, 59, 92, 0.4); opacity: 0; }
.ads-label .after { color: var(--mint); background: rgba(76, 199, 150, 0.1); border: 1px solid rgba(76, 199, 150, 0.4); }
.audit {
  margin-top: 30px; max-width: 420px; padding: 18px 20px; border-radius: 16px;
  background: rgba(255, 255, 255, 0.03); border: 1px solid var(--rule);
  font: 400 14px/1.9 'Plex Mono', monospace; color: var(--ink-soft);
}
.audit .row { display: flex; justify-content: space-between; gap: 10px; }
.audit .row span:first-child { flex: 1; overflow: hidden; white-space: nowrap; }
.audit .row span:first-child::after { content: ' ........................................'; color: rgba(255, 255, 255, 0.15); }
.audit .row b { color: var(--ink); font-weight: 600; }
.audit .row.total { border-top: 1px dashed var(--rule); margin-top: 8px; padding-top: 8px; }
.audit .row.total b { color: var(--mint); }
/* --s drives the slam (overshoots), --m the mint (0..1); both rest at 1 */
.ad-meter {
  --s: 1; --m: 1;
  position: absolute; z-index: 6; right: calc(50% + clamp(240px, 23vw, 300px) / 2 - 64px); top: 30%; width: max-content; padding: 16px 22px 14px; border-radius: 18px;
  background: rgba(12, 16, 14, 0.8); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border: 2px solid color-mix(in srgb, var(--mint) calc(var(--m) * 100%), rgba(255, 255, 255, 0.12));
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.5), 0 0 60px color-mix(in srgb, var(--mint) calc(var(--m) * 45%), transparent),
    inset 0 0 24px color-mix(in srgb, var(--mint) calc(var(--m) * 18%), transparent);
  transform: rotate(calc(var(--s) * -8deg)) scale(calc(1 + var(--s) * 0.08));
}
.ad-meter span { display: block; font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-faint); }
.ad-meter b { display: block; margin-top: 8px; font: 800 56px/1 'Archivo', sans-serif; color: var(--mint); text-shadow: 0 0 28px rgba(76, 199, 150, 0.6); transition: color .3s, text-shadow .3s; }
.ad-meter.busy b { color: #ff5470; text-shadow: 0 0 28px rgba(255, 84, 112, 0.5); }
.ad-meter em { display: block; margin-top: 10px; font-style: normal; font-size: 10px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--mint); opacity: var(--m); }
@media (max-width: 560px) {
  .ad-meter { right: calc(50% - 16px); padding: 12px 14px 11px; }
  .ad-meter b { font-size: 42px; }
  .ad-meter em { font-size: 9px; letter-spacing: .14em; }
}

/* stop 2 — never forget */
.s-remember { --c: var(--butter); }
.phone-wrap { position: relative; }
.remember-visual { display: flex; align-items: center; justify-content: center; gap: clamp(22px, 3vw, 48px); padding-right: clamp(0px, 3vw, 56px); }
/* three views, stacked beside the phone; the lit one fills its bar while it's on screen */
.view-switch { display: grid; gap: 10px; flex: none; }
.view-switch button {
  position: relative; overflow: hidden; display: flex; align-items: center; gap: 14px; width: 100%; text-align: left;
  padding: 12px 20px 14px 12px; border-radius: 18px; background: rgba(255, 255, 255, 0.03); border: 1px solid var(--rule);
  transition: background .3s, border-color .3s;
}
.view-switch button:hover { background: rgba(255, 255, 255, 0.06); }
.view-switch .ico { flex: none; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; background: rgba(255, 255, 255, 0.06); color: var(--ink-soft); transition: background .3s, color .3s, box-shadow .3s; }
.view-switch .ico svg { width: 21px; height: 21px; }
.view-switch b { display: block; font-weight: 700; font-size: clamp(18px, 1.5vw, 22px); letter-spacing: -0.015em; color: var(--ink-soft); transition: color .3s; }
.view-switch button[aria-pressed='true'] { background: rgba(247, 214, 90, 0.07); border-color: rgba(247, 214, 90, 0.45); }
.view-switch button[aria-pressed='true'] .ico { background: var(--butter); color: #1d1600; box-shadow: 0 0 26px rgba(247, 214, 90, 0.5); }
.view-switch button[aria-pressed='true'] b { color: var(--ink); }
.view-switch .bar { position: absolute; left: 14px; right: 14px; bottom: 0; height: 2px; border-radius: 2px; background: var(--butter); transform: scaleX(0); transform-origin: left; opacity: 0; }
.view-switch button[aria-pressed='true'] .bar { opacity: 1; animation: fill var(--dwell, 3.4s) linear forwards; }
.view-switch.hold button[aria-pressed='true'] .bar { animation: none; transform: scaleX(1); }
/* pinned: scroll drives the views; each bar fills with its share of the scroll */
.view-switch.scrub .bar { animation: none !important; opacity: 1; transform: scaleX(var(--p, 0)); }
@media (max-width: 900px) {
  .remember-visual { flex-direction: column; padding-right: 0; }
  .view-switch { width: 100%; max-width: 420px; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .view-switch button { flex-direction: column; gap: 8px; padding: 12px 8px 14px; text-align: center; }
  .phone-wrap .search-demo { width: min(92vw, 340px); }
}
.search-demo {
  position: absolute; z-index: 5; left: 50%; bottom: 7%; transform: translateX(-50%);
  width: min(calc(100% + 48px), 340px); padding: 16px 18px; border-radius: 18px;
  background: rgba(20, 20, 24, 0.66); border: 1px solid var(--glass-edge);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5), 0 0 50px rgba(247, 214, 90, 0.08);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
}
.search-demo .q { display: flex; align-items: center; gap: 10px; font: 500 16px/1 'Plex Mono', monospace; }
.search-demo .q svg { width: 18px; height: 18px; opacity: .6; }
.search-demo .caret { display: inline-block; width: 2px; height: 1.1em; background: var(--butter); animation: blink 1s steps(1) infinite; vertical-align: -3px; }
@keyframes blink { 50% { opacity: 0; } }
.search-demo .hit {
  margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--rule);
  display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; gap: 12px; align-items: center;
}
.search-demo .hit img { width: 48px; height: 48px; border-radius: 12px; object-fit: cover; }
.search-demo .hit b { display: block; font-weight: 600; white-space: nowrap; }
.search-demo .hit small { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font: 400 12px/1.4 'Plex Mono', monospace; color: var(--ink-faint); }
.search-demo .hit .price { font: 600 16px/1 'Plex Mono', monospace; color: var(--butter); }


/* stop 3 — subscriptions */
.s-subs { --c: var(--cobalt); }
.subs-visual { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 44px; }
.subs-label { display: grid; font: 600 13px/1 'Plex Mono', monospace; letter-spacing: .16em; text-transform: uppercase; }
.subs-label span { grid-area: 1 / 1; justify-self: center; padding: 11px 18px; border-radius: 999px; white-space: nowrap; }
.subs-label .before { color: #ffc27a; background: rgba(255, 158, 64, 0.12); border: 1px dashed rgba(255, 158, 64, 0.6); box-shadow: 0 0 26px rgba(255, 158, 64, 0.22); opacity: 0; }
.subs-label .after { color: #c5d3ff; background: rgba(91, 140, 255, 0.14); border: 1px solid rgba(91, 140, 255, 0.6); box-shadow: 0 0 26px rgba(91, 140, 255, 0.25); }
/* hides a row of the real screenshot until its charge docks there (rests revealed) */
.row-cover { position: absolute; left: 0; right: 0; background: #1c1b20; opacity: 0; }
/* once every charge has docked: the whole list lights up as one */
.list-ring {
  position: absolute; left: 3%; right: 3%; top: 27%; height: 38.6%; border-radius: 14px; pointer-events: none;
  border: 2px solid var(--cobalt); box-shadow: 0 0 0 4px rgba(91, 140, 255, 0.15), 0 0 30px rgba(91, 140, 255, 0.45), inset 0 0 30px rgba(91, 140, 255, 0.18);
}
.list-tag {
  position: absolute; z-index: 5; right: -22%; top: 43%; display: flex; align-items: center; gap: 10px;
  padding: 10px 16px 10px 12px; border-radius: 16px; background: var(--cobalt); color: #fff;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.5), 0 0 40px rgba(91, 140, 255, 0.5); white-space: nowrap;
}
.list-tag b { font: 800 34px/1 'Archivo', sans-serif; }
.list-tag span { font: 600 12px/1.35 'Plex Mono', monospace; letter-spacing: .04em; }
.list-tag em { font-style: normal; opacity: .85; }
@media (max-width: 560px) { .list-tag { right: -8%; top: auto; bottom: 22%; } }
/* the charges rest docked (hidden); the timeline scatters them first */
.sub-chip {
  position: absolute; z-index: 4; display: flex; align-items: center; gap: 10px; opacity: 0;
  padding: 10px 14px 10px 10px; border-radius: 14px;
  background: rgba(22, 24, 34, 0.86); border: 1px solid rgba(140, 170, 255, 0.28);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
  white-space: nowrap;
}
.sub-chip i {
  width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center;
  font: 800 14px/1 'Archivo', sans-serif; font-style: normal; color: #fff; background: var(--bg, #444);
}
.sub-chip b { display: block; font-weight: 600; font-size: 14px; }
.sub-chip small { display: block; margin-top: 3px; font: 400 11px/1 'Plex Mono', monospace; color: var(--ink-faint); }
.sub-chip .p { font: 500 13px/1 'Plex Mono', monospace; color: #b9c8ff; margin-left: 6px; }
.notif {
  position: absolute; z-index: 6; top: -5%; left: 50%; width: min(calc(100% + 70px), 400px); transform: translateX(-50%);
  display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: center;
  padding: 16px 18px; border-radius: 24px;
  background: rgba(34, 38, 56, 0.95); border: 1px solid rgba(91, 140, 255, 0.55);
  -webkit-backdrop-filter: blur(24px) saturate(1.5); backdrop-filter: blur(24px) saturate(1.5);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6), 0 0 70px rgba(91, 140, 255, 0.4);
}
.notif::before { content: ''; position: absolute; inset: -1px; border-radius: inherit; border: 2px solid var(--cobalt); opacity: 0; animation: nudge 2.6s ease-out infinite; pointer-events: none; }
@keyframes nudge { 0% { opacity: .9; transform: scale(1); } 70%, 100% { opacity: 0; transform: scale(1.08, 1.3); } }
.notif img { width: 44px; height: 44px; border-radius: 12px; }
.notif .t { display: flex; justify-content: space-between; font: 500 11px/1 'Plex Mono', monospace; letter-spacing: .08em; color: #9fb4ff; text-transform: uppercase; }
.notif b { display: block; margin-top: 6px; font-weight: 700; font-size: 17px; color: #fff; }
.notif p { font-size: 14px; color: var(--ink-soft); margin: 3px 0 0 !important; }
.month-strip {
  margin-top: 30px; display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; max-width: 420px;
  font: 500 12px/1 'Plex Mono', monospace;
}
.month-strip div {
  aspect-ratio: 1; border-radius: 10px; display: grid; place-items: center; position: relative;
  background: rgba(255, 255, 255, 0.03); border: 1px solid var(--rule); color: var(--ink-faint);
}
.month-strip div.charge { color: var(--ink); border-color: rgba(91, 140, 255, 0.45); background: rgba(91, 140, 255, 0.10); }
.month-strip div.charge::after { content: ''; position: absolute; bottom: 5px; width: 4px; height: 4px; border-radius: 50%; background: var(--cobalt); }
.month-strip div.tomorrow { color: #fff; border-color: var(--cobalt); box-shadow: 0 0 0 3px rgba(91, 140, 255, 0.25), 0 0 26px rgba(91, 140, 255, 0.5); animation: ring 2.4s ease-in-out infinite; }
@keyframes ring { 50% { box-shadow: 0 0 0 6px rgba(91, 140, 255, 0.08), 0 0 36px rgba(91, 140, 255, 0.7); } }
.sum-line { margin-top: 18px; font: 500 14px/1.4 'Plex Mono', monospace; color: var(--ink-soft); }
.sum-line b { color: var(--ink); font-size: 22px; font-weight: 600; }

/* stop 4 — AI */
.s-ai { --c: var(--violet); }
.ai-stage { position: relative; width: min(100%, 520px); display: grid; gap: 16px; }
.ai-input {
  position: relative; padding: 18px 20px; border-radius: 20px;
  background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.14);
  font: 400 17px/1.5 'Plex Mono', monospace; min-height: 92px;
}
.ai-input .label { font: 500 10px/1 'Plex Mono', monospace; letter-spacing: .18em; color: var(--ink-faint); text-transform: uppercase; margin-bottom: 10px; display: flex; justify-content: space-between; }
.ai-input .typed::after { content: ''; display: inline-block; width: 2px; height: 1.1em; background: var(--violet); margin-left: 2px; vertical-align: -3px; animation: blink 1s steps(1) infinite; }
.sparkle-btn {
  position: absolute; right: 14px; bottom: 14px; width: 46px; height: 46px; border-radius: 14px;
  display: grid; place-items: center; font-size: 20px;
  background: linear-gradient(135deg, #7c5cff, #ff5e8a); box-shadow: 0 0 0 0 rgba(161, 120, 255, 0.6);
}
.sparkle-btn.pulse { animation: sparkle 1.2s ease-out; }
@keyframes sparkle { 0% { box-shadow: 0 0 0 0 rgba(161, 120, 255, 0.7); transform: scale(.92); } 100% { box-shadow: 0 0 0 30px rgba(161, 120, 255, 0); transform: scale(1); } }
.ai-out {
  position: relative; padding: 18px 20px; border-radius: 20px; overflow: hidden;
  background: linear-gradient(180deg, rgba(161, 120, 255, 0.10), rgba(255, 94, 138, 0.04));
  border: 1px solid rgba(161, 120, 255, 0.35);
  box-shadow: 0 0 60px rgba(161, 120, 255, 0.15);
}
.ai-out .sweep {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, 0.18) 50%, transparent 70%);
  transform: translateX(-100%);
}
.ai-fields { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 18px; }
.ai-fields div small { display: block; font: 500 10px/1 'Plex Mono', monospace; letter-spacing: .16em; color: var(--ink-faint); text-transform: uppercase; }
.ai-fields div b { display: block; margin-top: 6px; font-weight: 600; font-size: 17px; }
.ai-fields div b.m { font-family: 'Plex Mono', monospace; }
.ai-fields .wide { grid-column: 1 / -1; }
.ai-timer { display: flex; align-items: center; gap: 10px; font: 500 13px/1 'Plex Mono', monospace; color: var(--ink-faint); }
.ai-timer b { font-size: 26px; color: var(--ink); font-weight: 600; }
.receipt-wrap { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 18px; align-items: start; }
.paper-receipt {
  position: relative; padding: 16px 14px 22px; background: #f6f3ec; color: #222; border-radius: 4px 4px 0 0;
  font: 500 10px/1.7 'Plex Mono', monospace; overflow: hidden;
  -webkit-mask: linear-gradient(#000, #000) top / 100% calc(100% - 8px) no-repeat, radial-gradient(circle 5px at 5px 100%, transparent 98%, #000) bottom left / 10px 9px repeat-x;
          mask: linear-gradient(#000, #000) top / 100% calc(100% - 8px) no-repeat, radial-gradient(circle 5px at 5px 100%, transparent 98%, #000) bottom left / 10px 9px repeat-x;
  transform: rotate(-3deg);
}
.paper-receipt h5 { font: 700 12px/1.2 'Plex Mono', monospace; text-align: center; letter-spacing: .1em; margin-bottom: 8px; }
.paper-receipt .r { display: flex; justify-content: space-between; }
.paper-receipt hr { border: 0; border-top: 1px dashed #999; margin: 6px 0; }
.paper-receipt .laser {
  position: absolute; left: 0; right: 0; top: 0; height: 2px; background: #a178ff;
  box-shadow: 0 0 12px 3px rgba(161, 120, 255, 0.8);
}
.scan-list { display: grid; gap: 8px; }
.scan-list .li {
  display: flex; justify-content: space-between; gap: 10px; padding: 10px 12px; border-radius: 12px;
  background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.1); font-size: 14px;
}
.scan-list .li span:last-child { font-family: 'Plex Mono', monospace; }
.scan-list .li.total { align-items: center; margin-top: 4px; font-weight: 700; border: 1px solid rgba(76, 199, 150, 0.55); background: rgba(76, 199, 150, 0.08); box-shadow: 0 0 24px rgba(76, 199, 150, 0.18); }
.scan-list .li.total span:last-child { font-weight: 700; }
.scan-list .ok { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font: 600 10px/1 'Plex Mono', monospace; letter-spacing: .12em; text-transform: uppercase; color: var(--mint); white-space: nowrap; }
.scan-list .ok i { display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: var(--mint); color: #05241a; font: 800 11px/1 'Archivo', sans-serif; font-style: normal; box-shadow: 0 0 12px rgba(76, 199, 150, 0.6); }
.scan-list .ok em { font-style: normal; }
@media (max-width: 560px) {
  .receipt-wrap { grid-template-columns: 130px minmax(0, 1fr); gap: 12px; }
  .scan-list .ok em { display: none; }
}

/* ── themes ───────────────────────────────────────────────────────── */
.themes { position: relative; overflow: hidden; padding-block: 130px 100px; }
.themes-head { position: relative; z-index: 2; display: grid; justify-items: center; gap: 18px; text-align: center; }
.themes-head h2 { font-weight: 800; letter-spacing: -0.04em; line-height: .95; font-size: clamp(42px, 5.6vw, 84px); }
.themes-head p { max-width: 46ch; color: var(--ink-soft); }
.theme-duo {
  position: relative; z-index: 2; margin-top: 56px; max-width: 1000px;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(14px, 5vw, 90px);
}
.theme-slot { position: relative; isolation: isolate; display: grid; justify-items: center; align-content: start; gap: 18px; }
.slot-glow {
  position: absolute; z-index: -1; left: 50%; top: 48%; width: 190%; aspect-ratio: 1; transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, var(--glow), transparent); transition: --glow 1s ease; pointer-events: none;
}
.slot-tag { display: grid; justify-items: center; gap: 8px; }
.slot-tag b { font: 800 clamp(30px, 3.4vw, 52px)/1 'Archivo', sans-serif; letter-spacing: -0.03em; color: var(--mint); text-shadow: 0 0 36px rgba(76, 199, 150, 0.35); }
.slot-tag span {
  font: 600 11px/1 'Plex Mono', monospace; letter-spacing: .18em; text-transform: uppercase; color: var(--mint);
  padding: 7px 12px; border-radius: 999px; background: rgba(76, 199, 150, 0.08); border: 1px solid rgba(76, 199, 150, 0.35);
}
/* both slot names wear the tier-badge box, scaled up: mint for Free, gold for Plus */
.slot-tag b {
  --t: var(--mint);
  padding: .12em .32em .16em; border: 2px solid color-mix(in srgb, var(--t) 65%, transparent); border-radius: 14px;
  background: color-mix(in srgb, var(--t) 12%, transparent); box-shadow: 0 0 30px color-mix(in srgb, var(--t) 22%, transparent);
}
.plus .slot-tag b { --t: var(--plus); color: var(--plus); text-shadow: 0 0 36px rgba(255, 212, 94, 0.35); }
.plus .slot-tag span { color: var(--plus); background: rgba(255, 212, 94, 0.08); border-color: rgba(255, 212, 94, 0.4); }
.theme-slot .phone { --w: clamp(140px, 25vw, 340px); }
.theme-slot .track { display: flex; height: 100%; transform: translateX(calc(var(--i, 0) * -100%)); transition: transform .9s cubic-bezier(.65, 0, .35, 1); }
.theme-slot .track img { flex: none; width: 100%; height: 100%; object-fit: cover; }
.slot-name { font-weight: 700; font-size: clamp(18px, 1.8vw, 24px); letter-spacing: -0.01em; text-align: center; }
.slot-name small { margin-left: 8px; font: 500 10px/1 'Plex Mono', monospace; letter-spacing: .18em; text-transform: uppercase; color: var(--butter); vertical-align: 3px; }
.dots { display: flex; gap: 4px; flex-wrap: wrap; justify-content: center; }
.dots button { width: 32px; height: 32px; display: grid; place-items: center; }
.dots button::before {
  content: ''; width: 20px; height: 20px; border-radius: 50%; background: var(--sw);
  border: 2px solid rgba(255, 255, 255, 0.22); transition: transform .25s, border-color .25s, box-shadow .25s;
}
.dots button:hover::before { transform: scale(1.12); }
.dots button[aria-pressed='true']::before { border-color: #fff; transform: scale(1.2); box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.12); }
@media (max-width: 700px) {
  .theme-slot .phone { --w: 41vw; }
  .dots { gap: 0; }
  .dots button { width: 26px; height: 26px; }
  .dots button::before { width: 16px; height: 16px; }
}

/* ── plans ───────────────────────────────────────────────────────── */
.plans { position: relative; padding-block: 140px 120px; }
.plans-head { text-align: center; }
.plans-head h2 { font-weight: 800; letter-spacing: -0.04em; line-height: .95; font-size: clamp(42px, 5.6vw, 84px); }
.plans-head p { margin: 20px auto 0; max-width: 52ch; color: var(--ink-soft); }
.trial-pill {
  display: inline-flex; gap: 10px; align-items: baseline; flex-wrap: wrap; justify-content: center; margin-top: 30px;
  font: 600 15px/1.2 'Plex Mono', monospace; letter-spacing: .06em; text-transform: uppercase; color: #05241a;
  padding: 14px 26px; border-radius: 999px; background: linear-gradient(135deg, #6fe0b3, var(--mint));
  box-shadow: 0 0 0 6px rgba(76, 199, 150, 0.14), 0 14px 44px rgba(76, 199, 150, 0.4);
}
.trial-pill b { font: 800 26px/1 'Archivo', sans-serif; letter-spacing: -0.02em; text-transform: none; }
.trial-pill i { font-style: normal; font-weight: 500; opacity: .75; }
@media (max-width: 560px) { .trial-pill { padding: 12px 20px; font-size: 13px; } .trial-pill i { display: none; } }
.plan-grid { margin-top: 60px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.plan {
  --g1: #9fb4ff; --g2: #6c86ff; --g3: #1b2a66;
  position: relative; border-radius: 28px; padding: 2px; isolation: isolate;
}
/* glowing gradient border that spins */
.plan::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit; z-index: -1;
  background: conic-gradient(from var(--spin), var(--g1), var(--g2), transparent 40%, transparent 60%, var(--g1));
  animation: spin 6s linear infinite;
}
.plan::after {
  content: ''; position: absolute; inset: -12px; border-radius: 36px; z-index: -2;
  background: conic-gradient(from var(--spin), var(--g1), var(--g2), transparent 40%, transparent 60%, var(--g1));
  filter: blur(28px); opacity: .45; animation: spin 6s linear infinite;
}
@keyframes spin { to { --spin: 360deg; } }
.plan-inner {
  position: relative; height: 100%; border-radius: 26px; overflow: hidden;
  padding: 26px 26px 30px; display: flex; flex-direction: column;
  background:
    radial-gradient(400px circle at var(--px, 50%) var(--py, 0%), rgba(255, 255, 255, 0.07), transparent 50%),
    linear-gradient(180deg, #111114 0%, #111114 45%, var(--g3) 100%);
}
.plan-inner::after {
  /* the warm bloom at the bottom edge, like light under a door */
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 45%; pointer-events: none; z-index: 0;
  background: radial-gradient(120% 90% at 50% 110%, var(--g1) 0%, var(--g2) 25%, transparent 70%); opacity: .55;
}
.plan-inner > * { position: relative; z-index: 1; }
.plan.free { --g1: #cfd8ff; --g2: #6c86ff; --g3: #16204a; }
.plan.plus { --g1: #ffe38a; --g2: #ff8a3d; --g3: #4a1d0c; }
.plan.premium { --g1: #ffb3d1; --g2: #9b6bff; --g3: #2a1257; }
.plan .tier { display: flex; justify-content: space-between; align-items: center; font: 600 12px/1 'Plex Mono', monospace; letter-spacing: .2em; }
.plan .tier small { color: var(--ink-faint); font-weight: 500; letter-spacing: .12em; font-size: 10px; }
.plan .tier .tier-badge { margin: 0; font-size: 13px; letter-spacing: .2em; }
.plan .price { margin-top: 18px; display: flex; align-items: baseline; gap: 8px; }
.plan .price b { font: 800 54px/1 'Archivo', sans-serif; letter-spacing: -0.04em; }
.plan .price small { font: 500 13px/1.3 'Plex Mono', monospace; color: var(--ink-soft); }
.plan .alt { margin-top: 6px; font: 400 12px/1.4 'Plex Mono', monospace; color: var(--ink-faint); min-height: 1.4em; }
.plan .peek {
  margin-top: 22px; height: 250px; border-radius: 18px; overflow: hidden; position: relative;
  border: 1px solid rgba(255, 255, 255, 0.1); background: #0c0c0f;
}
/* --fy is set by site.js so each peek centres on its screen's main content */
.plan .peek img, .plan .peek video {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% var(--fy, 0%);
  transition: object-position 1s cubic-bezier(.45, 0, .25, 1);
}
.plan .peek::after { content: ''; position: absolute; inset: auto 0 0; height: 20%; background: linear-gradient(transparent, rgba(12, 12, 15, 0.85)); }
.plan ul { margin-top: 22px; list-style: none; display: grid; gap: 11px; font-size: 15px; }
.plan li { display: grid; grid-template-columns: 18px 1fr; gap: 10px; color: var(--ink-soft); }
.plan li::before { content: ''; justify-self: start; width: 10px; height: 5px; margin-top: .45em; border: solid var(--g1); border-width: 0 0 2px 2px; transform: rotate(-45deg); }
.plan li.lead { color: var(--ink); font: 600 11px/1.6 'Plex Mono', monospace; letter-spacing: .14em; }
.plan li.lead::before { content: '→'; width: auto; height: auto; margin: 0; border: 0; transform: none; font: 700 13px/1.5 'Plex Mono', monospace; color: var(--g1); }
.plan .note { margin-top: auto; padding-top: 22px; font: 400 12px/1.5 'Plex Mono', monospace; color: var(--ink-faint); }
.period-toggle {
  display: inline-flex; margin-top: 10px; padding: 3px; border-radius: 999px; background: rgba(255, 255, 255, 0.06);
  font: 500 11px/1 'Plex Mono', monospace; letter-spacing: .1em;
}
.period-toggle button { padding: 7px 11px; border-radius: 999px; color: var(--ink-soft); }
.period-toggle button[aria-pressed='true'] { background: rgba(255, 255, 255, 0.14); color: var(--ink); }
.plans-foot { margin-top: 44px; text-align: center; font: 400 13px/1.7 'Plex Mono', monospace; color: var(--ink-faint); }
.plans-foot b { color: var(--ink-soft); font-weight: 500; }
@media (max-width: 980px) { .plan-grid { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; } }

/* ── faq ─────────────────────────────────────────────────────────── */
/* native <details>, so every answer is in the HTML (crawlers and AI read it) and works without JS */
.faq { position: relative; padding-block: 40px 60px; }
.faq-head { text-align: center; }
.faq-head h2 { font-weight: 800; letter-spacing: -0.04em; line-height: .95; font-size: clamp(42px, 5.6vw, 84px); }
.faq-head p { margin: 18px auto 0; max-width: 46ch; color: var(--ink-soft); }
.faq-list { max-width: 780px; margin: 48px auto 0; border-top: 1px solid var(--rule); }
.faq-list details { border-bottom: 1px solid var(--rule); }
.faq-list summary {
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 22px 4px; cursor: pointer; list-style: none;
  font: 600 clamp(17px, 1.6vw, 20px)/1.3 'Archivo', sans-serif; letter-spacing: -0.01em;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: '+'; flex: none; width: 30px; height: 30px; display: grid; place-items: center;
  border: 1px solid var(--glass-edge); border-radius: 50%;
  font: 400 18px/1 'Plex Mono', monospace; color: var(--ink-soft); transition: transform .25s ease, color .25s ease;
}
.faq-list details[open] summary::after { transform: rotate(45deg); color: var(--persimmon); }
.faq-list summary:hover { color: #fff; }
.faq-list summary:focus-visible { outline: 2px solid var(--persimmon); outline-offset: 2px; border-radius: 6px; }
.faq-list details p { padding: 0 4px 24px; max-width: 64ch; color: var(--ink-soft); }
.faq-list details p b { color: var(--ink); font-weight: 600; }

/* ── finale + footer ─────────────────────────────────────────────── */
.finale { position: relative; padding-block: 120px 80px; text-align: center; overflow: hidden; }
.finale .icon { width: 108px; height: 108px; border-radius: 28px; margin: 0 auto; box-shadow: 0 0 80px rgba(247, 214, 90, 0.35), 0 30px 60px rgba(0, 0, 0, 0.6); }
.finale h2 { margin-top: 34px; font-weight: 800; letter-spacing: -0.045em; line-height: .92; font-size: clamp(48px, 7.4vw, 116px); }
.finale p { margin: 22px auto 0; max-width: 46ch; color: var(--ink-soft); }
.finale .hero-cta { justify-content: center; }
.wordmark-huge {
  margin-top: 90px; font: 900 clamp(56px, 12vw, 190px)/.8 'Archivo', sans-serif; letter-spacing: -0.06em;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0));
  -webkit-background-clip: text; background-clip: text; color: transparent; white-space: nowrap;
  user-select: none;
}
footer { border-top: 1px solid var(--rule); padding-block: 28px calc(28px + env(safe-area-inset-bottom, 0px)); }
footer .wrap { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font: 400 12px/1.6 'Plex Mono', monospace; color: var(--ink-faint); letter-spacing: .04em; }
footer b { display: inline-block; padding: 1px 8px; border-radius: 6px; background: var(--ink); color: #111; font-weight: 700; }
footer .foot-links { display: flex; flex-wrap: wrap; gap: 6px 18px; }
footer .foot-links a { color: var(--ink-soft); }
footer .foot-links a:hover { color: var(--ink); }

/* ── motion preferences ──────────────────────────────────────────── */
/* the ad layer rests fully wiped (--cut: 100%), so without JS or motion the phone is simply clean */
@media (prefers-reduced-motion: reduce) {
  .grain, .hero-marquee .reel, .scroll-cue i, .plan::before, .plan::after, .month-strip div.tomorrow, .btn-cta::after, .notif::before { animation: none; }
  .promises li.on .bar { animation: none; transform: scaleX(1); }
  .view-switch button[aria-pressed='true'] .bar { animation: none; transform: scaleX(1); }
  .theme-slot .track, .phone .screen.stack > * { transition: none; }
}
@media (hover: none) { .cursor-grid, .cursor-glow { display: none; } }
