/*
Theme Name: chassis
Version: 0.1.0
License: Proprietary
Requires at least: 6.0
Requires PHP: 8.0
Text Domain: chassis
*/

/* ==============================================================
   FONTS — self-hosted Satoshi + JetBrains Mono
   ============================================================== */
@font-face {
  font-family: 'Satoshi';
  src: url('assets/fonts/satoshi-500.woff2') format('woff2');
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Satoshi';
  src: url('assets/fonts/satoshi-700.woff2') format('woff2');
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Satoshi';
  src: url('assets/fonts/satoshi-900.woff2') format('woff2');
  font-weight: 900; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'JetBrains Mono';
  src: url('assets/fonts/jetbrains-mono-400.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}

/* Metric-matched fallback — kills CLS during the fallback→webfont swap */
@font-face {
  font-family: 'Satoshi Fallback';
  src: local('Inter'), local('Arial');
  size-adjust: 100%;
  ascent-override: 95%;
  descent-override: 24%;
  line-gap-override: 0%;
}

/* ==============================================================
   TOKENS
   ============================================================== */
:root {
  /* Palette — see docs/BRAND.md */
  --accent:      #F66E61;
  --accent-hi:   #FF8477;
  --accent-dim:  #B84B41;

  --ink:        #0D0F13;
  --ink-2:      #14171C;
  --ink-3:      #1E222A;

  --strut:      rgba(255,255,255,.10);
  --strut-2:    rgba(255,255,255,.04);

  --panel:      #F5F3EE;
  --panel-2:    #FFFFFF;
  --panel-ink:  #181A1F;

  --wisp:       rgba(255,255,255,.72);
  --wisp-2:     rgba(255,255,255,.48);

  --warn:     #FFA600;
  --signal:     #7FE84A;
  --alert:      #F5B5A6;

  /* Type */
  --font-display:  'Satoshi', 'Satoshi Fallback', 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body:     'Satoshi', 'Satoshi Fallback', 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono:     'JetBrains Mono', 'Cascadia Mono', Consolas, monospace;

  /* Rhythm */
  --radius-pill:   999px;
  --radius-card:   16px;
  --radius-sm:     6px;
  --gutter:        clamp(16px, 4vw, 32px);
  --rig-max:       1200px;

  /* Motion */
  --ease:          cubic-bezier(.2,.7,.2,1);
  --tx-fast:       .15s var(--ease);
  --tx-med:        .22s var(--ease);
  --tx-slow:       .38s var(--ease);
}

/* ==============================================================
   BASE + RESET
   ============================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { color-scheme: dark; overflow-x: clip; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--wisp);
  font-family: var(--font-body);
  font-weight: 500; font-size: 16px; line-height: 1.55;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
button { font: inherit; color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 3px; }
.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--accent); color: var(--ink);
  padding: 12px 16px; font-weight: 700; z-index: 10000;
}
.skip-link:focus { left: 0; }

/* ==============================================================
   LAYOUT PRIMITIVES
   ============================================================== */
.rig-in {
  width: 100%;
  max-width: var(--rig-max);
  margin: 0 auto;
  padding-inline: var(--gutter);
}
.bay {
  padding: clamp(56px, 8vw, 96px) 0;
}
.bay.deck-ink   { background: var(--ink);   color: var(--wisp); }
.bay.deck-ink-2 { background: var(--ink-2); color: var(--wisp); }
.bay.deck-cream { background: var(--panel); color: var(--panel-ink); }
.bay.deck-white { background: var(--panel-2); color: var(--panel-ink); }

.bay-head {
  max-width: 720px;
  margin: 0 0 clamp(32px, 5vw, 56px);
}
.bay-head.center { margin-inline: auto; text-align: center; }

/* ==============================================================
   TYPOGRAPHY
   ============================================================== */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 900;
  color: var(--panel-2);
  margin: 0 0 .4em;
  letter-spacing: -.01em;
  line-height: 1;
  text-transform: uppercase;
  text-wrap: balance;
  overflow-wrap: anywhere;
}
h1 { font-size: clamp(44px, 7.5vw, 96px); }
h2 { font-size: clamp(32px, 4.5vw, 56px); }
h3 { font-size: clamp(20px, 2.2vw, 26px); }
h4 { font-size: clamp(16px, 1.4vw, 18px); }
.deck-cream h1, .deck-cream h2, .deck-cream h3, .deck-cream h4,
.deck-white h1, .deck-white h2, .deck-white h3, .deck-white h4 { color: var(--panel-ink); }

p, li { text-wrap: pretty; }
p { margin: 0 0 1em; }
p.lead { font-size: clamp(16px, 1.7vw, 20px); color: var(--wisp); }
.deck-cream p, .deck-white p, .deck-cream li, .deck-white li { color: #444851; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-body); font-weight: 700;
  font-size: 12px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 20px;
}
.eyebrow::before {
  content: ''; width: 8px; height: 8px; border-radius: 999px;
  background: var(--accent); box-shadow: 0 0 0 4px rgba(246,110,97,.18);
}

.mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }

/* Two-tone H1 pattern — signature Hyperfit-derived treatment */
.hero-h1 {
  display: block; margin: 0 0 22px;
  font-size: clamp(52px, 9.5vw, 112px);
  line-height: .96;
}
.hero-h1 .line-solid  { display: block; color: var(--accent); }
.hero-h1 .line-outline {
  display: block;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--accent);
  text-stroke: 1.5px var(--accent);
}
@media (max-width: 480px) {
  .hero-h1 .line-outline { -webkit-text-stroke-width: 1px; text-stroke: 1px var(--accent); }
}

/* Statement H2 (assertion + qualifier on two lines) */
.h2-statement { display: block; }
.h2-statement .assert  { display: block; color: var(--panel-2); }
.h2-statement .qualify { display: block; color: var(--accent); }
.deck-cream .h2-statement .assert,
.deck-white .h2-statement .assert { color: var(--panel-ink); }

/* Links in body copy */
a { color: var(--accent); text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
a:hover { color: var(--accent-hi); }

/* ==============================================================
   BUTTON PILL SYSTEM
   ============================================================== */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 0 8px 0 22px;
  min-height: 52px;
  border-radius: var(--radius-pill);
  font-family: var(--font-body); font-weight: 700;
  font-size: 13.5px; letter-spacing: .14em; text-transform: uppercase;
  text-decoration: none;
  border: 0; cursor: pointer;
  transition: background var(--tx-fast), color var(--tx-fast), border-color var(--tx-fast), transform var(--tx-fast);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0) scale(.98); }

/* Filled white (default primary CTA on dark) */
.btn.filled {
  background: var(--panel-2); color: var(--ink);
}
.btn.filled:hover { background: #EFEDE8; color: var(--ink); }

/* Coral filled ("armed") */
.btn.armed {
  background: var(--accent); color: var(--ink);
}
.btn.armed:hover { background: var(--accent-hi); }

/* Outline / wire on dark */
.btn.wire {
  background: transparent;
  color: var(--panel-2);
  border: 1.5px solid rgba(255,255,255,.35);
  padding-left: 20px;
}
.btn.wire:hover { border-color: var(--panel-2); background: rgba(255,255,255,.05); }

/* Outline / wire on cream */
.deck-cream .btn.wire, .deck-white .btn.wire {
  color: var(--ink); border-color: rgba(0,0,0,.2);
}
.deck-cream .btn.wire:hover, .deck-white .btn.wire:hover { border-color: var(--ink); background: rgba(0,0,0,.04); }

/* Icon-suffix chip inside the pill (signature Hyperfit detail) */
.btn .pill-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 999px;
  margin-left: 6px;
  transition: background var(--tx-fast);
}
.btn.filled .pill-icon { background: var(--ink); color: var(--panel-2); }
.btn.armed  .pill-icon { background: var(--ink); color: var(--accent); }
.btn.wire   .pill-icon { background: rgba(255,255,255,.14); color: var(--panel-2); }
.btn .pill-icon svg { width: 16px; height: 16px; stroke-width: 2.5; }

.btn.sm { min-height: 40px; font-size: 12px; padding: 0 6px 0 16px; }
.btn.sm .pill-icon { width: 28px; height: 28px; }
.btn.block { display: flex; justify-content: center; width: 100%; }

/* ==============================================================
   STATUS STRIP (top ribbon)
   ============================================================== */
.status-strip {
  background: var(--accent);
  color: var(--ink);
  font-family: var(--font-body); font-weight: 700;
  font-size: 12px; letter-spacing: .12em; text-transform: uppercase;
}
.status-strip .rig-in {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 36px;
  padding-block: 8px;
  gap: 20px;
}
.status-strip a { color: var(--ink); text-decoration: none; }
.status-strip a:hover { text-decoration: underline; }
.status-strip .status-dot {
  display: inline-block; width: 8px; height: 8px; border-radius: 999px;
  background: var(--ink); margin-right: 8px;
  vertical-align: 1px;
  animation: pulse 2s var(--ease) infinite;
}
@keyframes pulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(13,15,19,.5); }
  50%     { box-shadow: 0 0 0 6px rgba(13,15,19,0); }
}
@media (max-width: 600px) {
  .status-strip { display: none; }
}

/* ==============================================================
   HEADER
   ============================================================== */
.site-top {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background .25s ease, border-color .25s ease, backdrop-filter .25s ease;
}
.site-top.is-scrolled {
  background: rgba(13, 15, 19, .85);
  border-bottom-color: var(--strut);
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
}
/* Front-page: hide the coral status strip so header floats cleanly over hero */
/* Status strip retired site-wide — the green live-status pill on the product hero carries the signal. */
.status-strip { display: none; }
/* Non-home pages: fixed header needs clearance since it no longer takes doc-flow space.
   Product page carries its own full-viewport hero and needs no extra top padding. */
body:not(.home):not(.is-product) main { padding-top: 78px; }
.site-top .rig-in {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 78px; gap: 16px;
}
.site-brand {
  display: inline-flex; align-items: center; gap: 12px;
  text-decoration: none;
}
.site-brand img { height: 34px; width: auto; display: block; }
.site-brand .brand-mark { display: none; }
@media (max-width: 720px) {
  .site-brand .brand-full { display: none; }
  .site-brand .brand-mark { display: block; height: 36px; width: 36px; }
}

/* Desktop pill nav */
.pill-nav {
  display: none;
  align-items: center; gap: 4px;
  background: var(--ink-2);
  border: 1px solid var(--strut);
  border-radius: var(--radius-pill);
  padding: 5px;
}
.pill-nav a {
  display: inline-flex; align-items: center;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  color: var(--panel-2);
  font-weight: 700; font-size: 13px;
  text-transform: uppercase; letter-spacing: .1em;
  text-decoration: none;
  transition: background var(--tx-fast);
}
.pill-nav a:hover { background: var(--ink-3); }
.pill-nav a[aria-current="page"] { background: var(--accent); color: var(--ink); }

/* Header right-hand cluster */
.site-nav-right { display: flex; align-items: center; gap: 10px; }

/* Discord icon button (header) — round pill matching hamburger scale */
.icon-btn {
  width: 52px; height: 52px;
  border: 1px solid var(--strut);
  border-radius: 999px;
  color: var(--panel-2);
  display: inline-flex; align-items: center; justify-content: center;
  text-decoration: none;
  transition: background var(--tx-fast), border-color var(--tx-fast), color var(--tx-fast);
}
.icon-btn:hover { border-color: var(--accent); color: var(--accent); background: var(--ink-2); }
.icon-btn.discord-btn svg { width: 22px; height: 16px; }

/* Hamburger — only visible <900 */
.hamburger {
  width: 52px; height: 52px;
  background: var(--panel-2); color: var(--ink);
  border: 0; border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer; padding: 0;
  transition: background var(--tx-fast);
}
.hamburger:hover { background: #EFEDE8; }
.hamburger .bars { display: inline-flex; flex-direction: column; gap: 5px; width: 20px; }
.hamburger .bars span { display: block; height: 2px; width: 100%; background: var(--ink); border-radius: 1px; }

@media (min-width: 900px) {
  .pill-nav { display: inline-flex; }
  .hamburger { display: none; }
}

/* Mobile header — tighten paddings so buttons fit clean */
@media (max-width: 720px) {
  .site-top .rig-in { padding-inline: 12px; min-height: 64px; gap: 8px; }
  .site-brand img { height: 28px; }
  .icon-btn { width: 44px; height: 44px; }
  .site-nav-right .btn.armed { padding: 0 6px 0 14px; min-height: 44px; font-size: 12px; letter-spacing: .1em; }
  .site-nav-right .btn.armed .pill-icon { width: 30px; height: 30px; }
  .hamburger { width: 44px; height: 44px; }
}
@media (max-width: 380px) {
  /* Tightest phones — drop the header CTA (drawer has it), keep Discord + hamburger */
  .site-nav-right .btn.armed { display: none; }
}

/* ==============================================================
   HAMBURGER DRAWER
   ============================================================== */
.drawer-scrim {
  position: fixed; inset: 0; background: rgba(0,0,0,.72);
  z-index: 998; opacity: 0; transition: opacity var(--tx-med);
}
.drawer-scrim.is-open { opacity: 1; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0;
  width: min(92vw, 380px);
  background: var(--ink-2);
  border-left: 1px solid var(--strut);
  z-index: 999;
  display: flex; flex-direction: column;
  transform: translateX(100%);
  transition: transform var(--tx-med);
  overflow-y: auto;
  padding-bottom: env(safe-area-inset-bottom);
}
.drawer.is-open { transform: translateX(0); }
.drawer-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 22px 18px;
  border-bottom: 1px solid var(--strut);
}
.drawer-brand img { height: 28px; }
.drawer-close {
  width: 44px; height: 44px;
  background: transparent; border: 1px solid var(--strut); border-radius: 999px;
  color: var(--panel-2); cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
}
.drawer-close:hover { border-color: var(--accent); color: var(--accent); }
.drawer-nav { display: flex; flex-direction: column; padding: 12px 0; }
.drawer-nav a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 22px;
  color: var(--panel-2);
  font-weight: 700; font-size: 16px; letter-spacing: .04em;
  text-decoration: none;
  border-bottom: 1px solid var(--strut);
  min-height: 56px;
}
.drawer-nav a:hover { background: var(--ink-3); color: var(--accent); }
.drawer-nav .arrow { color: var(--accent); }
.drawer-cta { padding: 24px 22px; display: flex; flex-direction: column; gap: 12px; border-top: 1px solid var(--strut); }
.drawer-legal {
  list-style: none; margin: 0; padding: 16px 22px 24px;
  display: flex; flex-wrap: wrap; gap: 12px 20px;
  border-top: 1px solid var(--strut);
}
.drawer-legal a {
  color: var(--wisp); text-decoration: none;
  font-size: 12px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase;
  min-height: 32px; display: inline-flex; align-items: center;
}
.drawer-legal a:hover { color: var(--accent); }

/* ==============================================================
   HERO — full-viewport premium, centered composition, cinematic
   ============================================================== */
.hero {
  position: relative;
  min-height: 100svh;
  color: var(--panel-2);
  overflow: hidden;
  isolation: isolate;
}
.hero-media {
  position: absolute; inset: 0; z-index: 0;
  overflow: hidden;
}
.hero-media picture,
.hero-media img {
  width: 100%; height: 100%;
  display: block;
  object-fit: cover;
  object-position: center 55%;
}
.hero-media img {
  opacity: .96;
  transform: scale(1.02);
  animation: heroKen 32s ease-in-out infinite alternate;
}
@keyframes heroKen {
  from { transform: scale(1.02) translateY(0); }
  to   { transform: scale(1.06) translateY(-1.5%); }
}

/* Multi-stop veil — legibility on top, mood + fade-out on bottom */
.hero-veil {
  position: absolute; inset: 0; z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(13,15,19,.62) 0%, rgba(13,15,19,.18) 22%, rgba(13,15,19,0) 40%),
    linear-gradient(180deg, transparent 55%, rgba(13,15,19,.55) 80%, var(--ink) 100%),
    radial-gradient(ellipse 90% 60% at 50% 100%, rgba(246,110,97,.10), transparent 55%);
}
/* Faint film-grain overlay for editorial texture */
.hero::after {
  content: '';
  position: absolute; inset: 0; z-index: 2;
  pointer-events: none;
  opacity: .3;
  mix-blend-mode: overlay;
  background-image:
    radial-gradient(1px 1px at 12% 8%,  rgba(255,255,255,.28), transparent 60%),
    radial-gradient(1px 1px at 74% 44%, rgba(255,255,255,.22), transparent 60%),
    radial-gradient(1px 1px at 32% 82%, rgba(255,255,255,.24), transparent 60%);
  background-size: 3px 3px, 5px 5px, 7px 7px;
}

/* Fallback ground when no per-site hero image is set — radial coral aura on ink */
.hero-media-fallback {
  background:
    radial-gradient(ellipse 800px 500px at 70% 40%, rgba(246,110,97,.14), transparent 70%),
    radial-gradient(ellipse 600px 400px at 20% 80%, rgba(246,110,97,.08), transparent 60%),
    var(--ink);
}
.hero-media-fallback::after { display: none; }

.hero-inner {
  position: relative; z-index: 3;
  width: 100%; max-width: 1180px;
  margin: 0 auto;
  min-height: 100svh;
  padding: clamp(140px, 20vh, 200px) clamp(24px, 4vw, 56px) clamp(36px, 5vh, 60px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: 1fr auto;
  align-items: end;
  gap: clamp(28px, 4vw, 56px) clamp(24px, 4vw, 56px);
}
.hero-content {
  grid-column: 1; grid-row: 1 / span 2;
  align-self: end;
  display: flex; flex-direction: column;
  gap: clamp(18px, 1.8vw, 24px);
  max-width: 560px;
  text-align: left;
}

.hero-eyebrow {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #FAFBFC;
  text-shadow: 0 2px 12px rgba(0,0,0,.6);
}

.hero-lede {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(38px, 6.4vw, 82px);
  line-height: 1;
  letter-spacing: -.028em;
  text-transform: uppercase;
  text-wrap: balance;
  text-shadow: 0 4px 30px rgba(0,0,0,.55);
}
.hero-lede .line-top    { display: block; color: #FAFBFC; }
.hero-lede .line-bottom { display: block; color: var(--accent); }

.hero-lead {
  margin: 0;
  max-width: 44ch;
  font-size: clamp(15px, 1.15vw, 16.5px);
  line-height: 1.5;
  color: rgba(255,255,255,.82);
  text-shadow: 0 2px 20px rgba(0,0,0,.55);
}

.hero-actions {
  display: flex; flex-wrap: wrap; gap: 12px;
  margin-top: 8px;
}
.hero-actions .btn.armed { box-shadow: 0 20px 60px -20px rgba(246,110,97,.55); }

/* Trust badges pinned bottom-right */
.hero-badges {
  grid-column: 2; grid-row: 2;
  align-self: end;
  list-style: none; margin: 0; padding: 0;
  display: flex; gap: clamp(24px, 3vw, 40px);
  flex-wrap: wrap;
}
.hero-badge {
  display: flex; align-items: center; gap: 12px;
  color: var(--panel-2);
}
.hero-badge-ico {
  flex: 0 0 42px; width: 42px; height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.24);
  background: rgba(255,255,255,.06);
  color: var(--accent);
  display: inline-flex; align-items: center; justify-content: center;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.hero-badge-ico svg { width: 18px; height: 18px; stroke-width: 1.8; }
.hero-badge-body b {
  display: block;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 11.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #FAFBFC;
  margin-bottom: 3px;
  text-shadow: 0 2px 12px rgba(0,0,0,.55);
}
.hero-badge-body span {
  font-size: 12.5px;
  color: rgba(255,255,255,.68);
  line-height: 1.3;
  text-shadow: 0 2px 12px rgba(0,0,0,.55);
}

@media (prefers-reduced-motion: reduce) {
  .hero-media img { animation: none; }
}

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    grid-template-rows: 1fr auto auto;
    padding-top: clamp(120px, 16vh, 160px);
  }
  .hero-content { grid-column: 1; grid-row: 1 / span 2; }
  .hero-badges  { grid-column: 1; grid-row: 3; justify-self: start; }
}
@media (max-width: 560px) {
  .hero-lede { font-size: clamp(34px, 9vw, 54px); }
  .hero-badges { flex-direction: column; gap: 16px; }
}

/* Trust bar below hero — icon+label rows */
.trust-bar {
  list-style: none; margin: clamp(32px, 5vw, 56px) 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px 32px;
}
.trust-bar li {
  display: flex; align-items: center; gap: 14px;
  color: var(--panel-2);
}
.trust-ico {
  flex: 0 0 44px; width: 44px; height: 44px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--strut); border-radius: 999px;
  color: var(--accent);
}
.trust-ico svg { width: 20px; height: 20px; stroke-width: 1.8; }
.trust-bar li b {
  display: block; font-family: var(--font-body); font-weight: 700;
  font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--panel-2);
  margin-bottom: 2px;
}
.trust-bar li span:last-child { font-size: 13.5px; color: var(--wisp); }

/* ==============================================================
   CARDS + GRIDS
   ============================================================== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.card {
  background: var(--ink-2);
  border: 1px solid var(--strut);
  border-radius: var(--radius-card);
  padding: 28px 24px;
  transition: border-color var(--tx-med), transform var(--tx-med);
}
.card:hover { border-color: rgba(246,110,97,.35); transform: translateY(-2px); }
.card h3 { font-size: 22px; margin-bottom: 12px; }
.card p  { font-size: 15px; color: var(--wisp); margin: 0; }
.card .card-ico {
  display: inline-flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; border-radius: 999px;
  background: rgba(246,110,97,.14); color: var(--accent);
  margin-bottom: 20px;
}
.card .card-ico svg { width: 22px; height: 22px; stroke-width: 1.8; }
.deck-cream .card, .deck-white .card {
  background: var(--panel-2); border-color: rgba(0,0,0,.08); color: var(--panel-ink);
}
.deck-cream .card h3, .deck-white .card h3 { color: var(--panel-ink); }
.deck-cream .card p,  .deck-white .card p  { color: #4a4e57; }
.deck-cream .card:hover, .deck-white .card:hover { border-color: var(--accent); }

/* ==============================================================
   PRICING TIERS
   ============================================================== */
.tier-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
.tier {
  background: var(--ink-2);
  border: 1px solid var(--strut);
  border-radius: var(--radius-card);
  padding: 32px 28px;
  display: flex; flex-direction: column; gap: 16px;
  position: relative;
}
.tier.picked {
  border-color: var(--accent);
  background: linear-gradient(180deg, rgba(246,110,97,.05), transparent 60%), var(--ink-2);
}
.tier-flag {
  position: absolute; top: -12px; right: 20px;
  background: var(--accent); color: var(--ink);
  padding: 5px 12px; border-radius: 999px;
  font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
}
.tier-dur { font-family: var(--font-mono); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--wisp-2); }
.tier-amt {
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(44px, 5vw, 56px); line-height: 1; color: var(--panel-2);
}
.tier-amt .cursym { font-size: .6em; color: var(--accent); margin-right: 4px; vertical-align: .35em; }
.tier ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; font-size: 14.5px; color: var(--wisp); }
.tier ul li::before { content: '✓'; color: var(--accent); margin-right: 10px; font-weight: 900; }

/* Currency chip cluster */
.cur { display: inline-flex; gap: 6px; padding: 0; border: 0; background: transparent; }
.cur button {
  min-height: 40px; min-width: 56px;
  padding: 8px 14px;
  border: 1px solid var(--strut);
  background: var(--ink-2);
  color: var(--wisp);
  font-family: var(--font-body); font-weight: 700;
  font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase;
  cursor: pointer; border-radius: 999px;
  transition: all var(--tx-fast);
}
.cur button:hover { border-color: var(--accent); color: var(--panel-2); }
.cur button.on { background: var(--accent); border-color: var(--accent); color: var(--ink); }

/* ==============================================================
   TABLES (mobile stacked-card fallback)
   ============================================================== */
.compare-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.compare-table {
  width: 100%; min-width: 640px;
  border-collapse: separate; border-spacing: 0;
  background: var(--panel-2); color: var(--panel-ink);
  border: 1px solid rgba(0,0,0,.08); border-radius: var(--radius-card); overflow: hidden;
  font-size: 14.5px;
}
.compare-table thead th {
  background: var(--ink); color: var(--panel-2);
  padding: 14px 16px; text-align: left; font-size: 12.5px;
  letter-spacing: .14em; text-transform: uppercase;
}
.compare-table thead th.col-ours { background: var(--accent); color: var(--ink); }
.compare-table tbody th, .compare-table tbody td {
  padding: 12px 16px; border-bottom: 1px solid rgba(0,0,0,.08);
}
.compare-table tbody tr:last-child th, .compare-table tbody tr:last-child td { border-bottom: 0; }
.compare-table tbody th { font-weight: 700; }
.compare-table tbody td.col-ours { background: rgba(246,110,97,.06); font-weight: 700; }

@media (max-width: 640px) {
  .compare-wrap { overflow: visible; }
  .compare-table { display: block; min-width: 0; border: 0; background: transparent; }
  .compare-table thead { display: none; }
  .compare-table tbody, .compare-table tbody tr { display: block; }
  .compare-table tbody tr {
    background: var(--panel-2); color: var(--panel-ink);
    border: 1px solid rgba(0,0,0,.1); border-radius: var(--radius-card);
    padding: 16px 18px; margin-bottom: 14px;
  }
  .compare-table tbody th {
    display: block; padding: 0 0 12px; margin-bottom: 10px;
    border-bottom: 1px solid rgba(0,0,0,.08);
    font-size: 15px;
  }
  .compare-table tbody td {
    display: grid; grid-template-columns: 110px 1fr; align-items: baseline;
    gap: 10px; padding: 6px 0; border: 0; font-size: 13.5px;
  }
  .compare-table tbody td::before {
    content: attr(data-col);
    font-weight: 700; font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: rgba(0,0,0,.5);
  }
  .compare-table tbody td:nth-child(2):not([data-col])::before { content: 'Ours'; color: var(--accent); }
  .compare-table tbody td:nth-child(3):not([data-col])::before { content: 'Typical loader'; }
  .compare-table tbody td:nth-child(4):not([data-col])::before { content: 'Free / stealer'; }
}

/* ==============================================================
   FAQ
   ============================================================== */
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  border: 1px solid var(--strut); background: var(--ink-2);
  border-radius: var(--radius-card); padding: 20px 22px;
}
.faq-item[open] { border-color: var(--accent); }
.faq-item summary {
  cursor: pointer; list-style: none;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  font-family: var(--font-display); font-weight: 700; font-size: 16px; color: var(--panel-2);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+'; display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: 999px; background: var(--ink-3);
  color: var(--accent); font-size: 20px; font-weight: 700;
  transition: transform var(--tx-med);
}
.faq-item[open] summary::after { content: '×'; transform: rotate(0); }
.faq-item p { color: var(--wisp); margin: 14px 0 0; font-size: 15px; line-height: 1.6; }
.deck-cream .faq-item, .deck-white .faq-item { background: var(--panel-2); border-color: rgba(0,0,0,.1); }
.deck-cream .faq-item summary, .deck-white .faq-item summary { color: var(--panel-ink); }
.deck-cream .faq-item summary::after, .deck-white .faq-item summary::after { background: var(--panel); color: var(--accent); }
.deck-cream .faq-item p, .deck-white .faq-item p { color: #4a4e57; }

/* ==============================================================
   BREADCRUMBS
   ============================================================== */
.crumbs { background: var(--ink-2); padding: 14px 0; border-bottom: 1px solid var(--strut); }
.crumbs ol {
  list-style: none; padding: 0; margin: 0;
  display: flex; align-items: center; flex-wrap: wrap;
  font-family: var(--font-body); font-weight: 700; font-size: 11.5px;
  letter-spacing: .14em; text-transform: uppercase; color: var(--wisp-2);
}
.crumbs a { color: var(--wisp); text-decoration: none; }
.crumbs a:hover { color: var(--accent); }
.crumbs li[aria-current="page"] { color: var(--accent); }
.crumbs li + li::before { content: '/'; color: var(--wisp-2); margin: 0 10px; font-weight: 900; }

/* ==============================================================
   FOOTER — Hyperfit-derived single-row + compact bottom bar
   ============================================================== */
.site-foot {
  background: var(--ink);
  border-top: 1px solid var(--strut);
  padding-top: clamp(56px, 6vw, 88px);
}
.site-foot .rig-in { display: block; }

.foot-row {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 20px;
  padding-bottom: clamp(24px, 3vw, 40px);
}
.foot-brand-block { display: flex; flex-direction: column; gap: 12px; max-width: 44ch; }
.foot-brand img { height: 32px; display: block; }
.foot-tagline {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.55;
  color: rgba(255,255,255,.62);
}

.foot-nav {
  /* Reuses .pill-nav base; override for footer scale */
  padding: 4px;
}
.foot-nav a {
  padding: 8px 16px;
  font-size: 12px;
}
.foot-nav a:hover { background: var(--ink-3); color: var(--accent); }

.foot-top-btn {
  cursor: pointer;
  min-height: 46px;
  padding: 0 6px 0 20px;
  font-size: 12.5px;
}
.foot-top-btn .pill-icon { width: 30px; height: 30px; }

.foot-bar {
  display: flex; align-items: center; gap: 24px;
  padding: 20px 0;
  border-top: 1px solid var(--strut);
  flex-wrap: wrap;
}
.foot-discord {
  display: inline-flex; align-items: center; gap: 12px;
  color: var(--panel-2); text-decoration: none;
}
.foot-discord:hover .foot-discord-tile { background: var(--accent); color: var(--ink); }
.foot-discord-tile {
  flex: 0 0 40px; width: 40px; height: 40px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 10px;
  background: var(--ink-3); color: var(--accent);
  transition: background var(--tx-fast), color var(--tx-fast);
}
.foot-discord-tile svg { width: 20px; height: 15px; }
.foot-discord b {
  display: block;
  font-family: var(--font-body); font-weight: 700;
  font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--wisp-2); margin-bottom: 2px;
}
.foot-discord span span, .foot-discord > span > *:last-child { color: var(--panel-2); font-size: 13.5px; font-weight: 700; }

.foot-legal {
  list-style: none; margin: 0 auto 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: 6px;
}
.foot-legal a {
  display: inline-flex; align-items: center;
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--wisp);
  font-family: var(--font-body); font-weight: 700;
  font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase;
  text-decoration: none;
  transition: background var(--tx-fast), color var(--tx-fast);
}
.foot-legal a:hover { background: var(--ink-3); color: var(--accent); }

.foot-copyright {
  font-family: var(--font-mono); font-size: 11.5px; color: var(--wisp-2);
  letter-spacing: .02em;
}

@media (max-width: 760px) {
  .foot-row { flex-wrap: wrap; justify-content: center; text-align: center; gap: 16px; }
  .foot-nav { order: 3; flex-basis: 100%; justify-content: center; }
  .foot-bar { justify-content: center; }
  .foot-legal { margin: 0; }
}

/* ==============================================================
   UTILITIES
   ============================================================== */
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ==============================================================
   UNDER-HERO — centered two-tone statement + two lede paragraphs
   Single <h2> element; spans are visual line breaks only.
   ============================================================== */
.under-hero {
  padding: clamp(72px, 8vw, 120px) 0;
}
.under-hero-body {
  text-align: center;
  max-width: 780px;
  margin: 0 auto;
}
.statement-lede {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -.015em;
  margin: 0;
  text-wrap: balance;
  text-transform: uppercase;
}
.statement-lede .line-accent {
  display: block;
  color: var(--accent);
  font-size: clamp(22px, 2.6vw, 32px);
  letter-spacing: -.005em;
  margin-bottom: 4px;
}
.statement-lede .line-solid {
  display: block;
  color: #FAFBFC;
  font-size: clamp(38px, 5.2vw, 62px);
  letter-spacing: -.025em;
}

/* ---- Legal pages ------------------------------------------------
   Statement-lede is the hero-scale H1 used across the product page.
   Legal pages (/privacy/, /terms/, /refund/, /contact/) are documents,
   not marketing statements — smaller title, tighter section headings,
   readable body copy. */
.legal { padding: clamp(64px, 10vh, 120px) 0; }
.legal .statement-lede .line-solid {
  font-size: clamp(28px, 3.2vw, 42px);
  letter-spacing: -.015em;
  line-height: 1.1;
}
.legal .legal-head { margin-bottom: 32px; }
.legal .legal-updated { color: rgba(255,255,255,.55); font-size: 13.5px; margin-top: 10px; }
.legal .legal-body { color: rgba(255,255,255,.78); font-size: 15.5px; line-height: 1.7; }
.legal .legal-body h2 {
  font-family: var(--font-display);
  font-size: clamp(19px, 1.8vw, 23px);
  font-weight: 600;
  letter-spacing: -.005em;
  line-height: 1.25;
  color: #FAFBFC;
  margin: 32px 0 10px;
  text-wrap: balance;
}
.legal .legal-body p         { margin: 0 0 14px; }
.legal .legal-body ul,
.legal .legal-body ol        { margin: 0 0 14px; padding-left: 22px; }
.legal .legal-body li        { margin-bottom: 6px; }
.legal .legal-body a         { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.legal .legal-contact li     { list-style: none; padding-left: 0; }
.under-hero-leads {
  margin: 30px auto 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 62ch;
}
.under-hero-leads p {
  margin: 0;
  font-size: 16.5px;
  line-height: 1.62;
  color: rgba(255,255,255,.62);
  text-wrap: balance;
}
.under-hero-leads p b {
  color: rgba(255,255,255,.92);
  font-weight: 600;
}

/* ==============================================================
   HOW IT WORKS — 5-step 3+2 grid, dark cards, big display numerals
   ============================================================== */
.how-it-works {
  padding: clamp(80px, 9vw, 128px) 0 clamp(96px, 10vw, 140px);
}
.how-head { text-align: center; max-width: 780px; margin: 0 auto; }
.how-eyebrow {
  justify-content: center;
  color: rgba(255,255,255,.62) !important;
}
.how-eyebrow::before {
  background: rgba(255,255,255,.4) !important;
  box-shadow: 0 0 0 3px rgba(255,255,255,.08) !important;
}
.how-lead {
  max-width: 52ch;
  margin: 22px auto 0;
  font-size: 16.5px;
  line-height: 1.62;
  color: rgba(255,255,255,.6);
  text-wrap: balance;
}
.how-grid {
  margin-top: clamp(48px, 5vw, 72px);
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 20px;
}
.how-card {
  grid-column: span 2;
  background: var(--ink-2);
  border: 1px solid var(--strut);
  border-radius: 20px;
  padding: 30px 30px 32px;
  display: flex;
  flex-direction: column;
  min-height: 260px;
  transition: border-color .2s ease, transform .2s ease;
}
.how-card:hover {
  border-color: rgba(255,255,255,.14);
  transform: translateY(-2px);
}
.how-card:nth-child(4) { grid-column: 2 / span 2; }
.how-card:nth-child(5) { grid-column: 4 / span 2; }
.how-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 44px;
  line-height: 1;
  letter-spacing: -.025em;
  color: #FAFBFC;
  margin: 0 0 auto;
  padding-bottom: 44px;
}
.how-card h3 {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  line-height: 1.25;
  letter-spacing: -.01em;
  color: #FAFBFC;
  text-transform: none;
}
.how-card p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.6;
  color: rgba(255,255,255,.62);
}

@media (max-width: 960px) {
  .how-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .how-card,
  .how-card:nth-child(4),
  .how-card:nth-child(5) { grid-column: auto; }
  .how-card:nth-child(5) { grid-column: 1 / -1; max-width: 480px; margin-left: auto; margin-right: auto; }
  .how-num { padding-bottom: 32px; font-size: 38px; }
  .how-card { min-height: auto; padding: 26px 24px 28px; }
}
@media (max-width: 560px) {
  .how-grid { grid-template-columns: 1fr; }
  .how-card:nth-child(5) { max-width: none; }
}

/* ==============================================================
   SHOWCASE — annotated feature image with callouts around it
   ============================================================== */
.showcase {
  display: grid;
  grid-template-columns: 1fr minmax(320px, 560px) 1fr;
  gap: clamp(24px, 3vw, 48px);
  align-items: center;
}
.showcase-img {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-card);
  overflow: hidden;
  border: 1px solid var(--strut);
  background: var(--ink-2);
  box-shadow: 0 20px 60px -20px rgba(0,0,0,.5);
}
.showcase-img-inner { position: static; display: block; width: 100%; height: 100%; }
.showcase-img-inner img { width: 100%; height: 100%; object-fit: cover; display: block; }
.showcase-img::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(13,15,19,.55));
  pointer-events: none;
}

/* Callout wires — cool periwinkle hairline that composites into the
   composition via plus-lighter, terminating in a translucent dot with
   a two-radial atmospheric halo (cool bloom + subliminal coral breath).
   Left column DOM order: line then dot (dot on image side).
   Right column DOM order: dot then line. */
.cw {
  position: absolute;
  top: 20px;                 /* aligned to icon vertical centre (40px icon) */
  display: inline-flex;
  align-items: center;
  gap: 0;
  pointer-events: none;
  z-index: 1;
  /* Scope plus-lighter to this stack — without this it composites against
     the page body and drifts unpredictably. */
  isolation: isolate;
}
.cw-line {
  display: block;
  height: 1px;
  background: linear-gradient(
    to right,
    rgba(224, 232, 245, 0)    0%,
    rgba(224, 232, 245, .55) 30%,
    rgba(224, 232, 245, .82) 100%
  );
  mix-blend-mode: plus-lighter;
  opacity: .7;
  flex-shrink: 0;
}
.cw-dot {
  position: relative;
  display: block;
  width: 10px; height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .92);
  /* 1px inset rim gives the disc dimension rather than a flat lit pinpoint. */
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .28);
  mix-blend-mode: plus-lighter;
  flex-shrink: 0;
}
/* Atmospheric halo — cool bloom stacked with a subliminal coral breath. */
.cw-dot::after {
  content: "";
  position: absolute;
  inset: -9px;
  border-radius: 999px;
  background:
    radial-gradient(
      circle at center,
      rgba(224, 232, 245, .34) 0%,
      rgba(224, 232, 245, .13) 42%,
      rgba(224, 232, 245, 0)   72%
    ),
    radial-gradient(
      circle at center,
      rgba(246, 110, 97, .07) 0%,
      rgba(246, 110, 97, 0)   70%
    );
  mix-blend-mode: plus-lighter;
  pointer-events: none;
}
.cw-long  .cw-line { width: 176px; }
.cw-short .cw-line { width: 120px; }

/* Right column: mirror the gradient so it originates soft at the label end. */
.showcase-callouts.right .cw .cw-line {
  background: linear-gradient(
    to left,
    rgba(224, 232, 245, 0)    0%,
    rgba(224, 232, 245, .55) 30%,
    rgba(224, 232, 245, .82) 100%
  );
}

/* Left column: wire sits at the callout's right edge, extends toward the image (right) */
.showcase-callouts.left .cw {
  left: 100%;
  margin-left: 16px;
}
/* Right column: wire sits at the callout's left edge, extends toward the image (left) */
.showcase-callouts.right .cw {
  right: 100%;
  margin-right: 16px;
}

/* Windows high-contrast — strip blend + halo, keep a legible line. */
@media (forced-colors: active) {
  .cw-line, .cw-dot { mix-blend-mode: normal; }
  .cw-line   { background: CanvasText; opacity: 1; }
  .cw-dot    { background: CanvasText; box-shadow: none; }
  .cw-dot::after { display: none; }
}

/* Older engines without plus-lighter — tuned-down flat state. */
@supports not (mix-blend-mode: plus-lighter) {
  .cw-line { opacity: .55; mix-blend-mode: normal; background: rgba(224, 232, 245, .78); }
  .cw-dot  { mix-blend-mode: normal; background: rgba(255, 255, 255, .9); }
  .cw-dot::after {
    mix-blend-mode: normal;
    background: radial-gradient(
      circle at center,
      rgba(224, 232, 245, .22) 0%,
      rgba(224, 232, 245, 0)   72%
    );
  }
}

/* Hide the wires at mobile — callouts stack below the image */
@media (max-width: 900px) {
  .cw { display: none; }
}

.showcase-callouts {
  display: flex; flex-direction: column;
  gap: clamp(28px, 3vw, 56px);
}
.showcase-callouts.right { align-items: flex-start; }
.showcase-callouts.left  { align-items: flex-end; text-align: right; }

.callout {
  display: flex; gap: 14px;
  max-width: 320px;
  position: relative;
}
.showcase-callouts.left .callout { flex-direction: row-reverse; }
.callout-ico {
  flex: 0 0 40px; width: 40px; height: 40px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--strut); border-radius: 999px;
  color: var(--accent);
  background: rgba(246,110,97,.08);
}
.callout-ico svg { width: 20px; height: 20px; stroke-width: 1.8; }
.callout-body b {
  display: block;
  font-family: var(--font-body); font-weight: 700;
  font-size: 13px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--panel-2);
  margin-bottom: 6px;
}
.callout-body p {
  margin: 0; font-size: 14.5px; color: var(--wisp); line-height: 1.5;
}

/* Mobile: stack — image first, callouts below in a 2-column grid */
@media (max-width: 900px) {
  .showcase { grid-template-columns: 1fr; }
  .showcase-callouts { flex-direction: row; flex-wrap: wrap; gap: 24px; }
  .showcase-callouts.left { text-align: left; }
  .showcase-callouts.left .callout { flex-direction: row; }
  .callout { flex: 1 1 260px; max-width: none; }
  .showcase-img { max-width: 560px; margin: 0 auto; }
}

/* ==============================================================
   MOTION — scroll-triggered reveal
   ============================================================== */
[data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}
[data-reveal].is-in {
  opacity: 1; transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
}

/* ==============================================================
   PRODUCT PAGE — /the-console/ (template-product.php)
   ============================================================== */

/* ---- 1. Hero -------------------------------------------------- */
.p-hero {
  position: relative;
  min-height: 82svh;
  overflow: hidden;
  isolation: isolate;
  color: var(--panel-2);
}
.p-hero-media { position: absolute; inset: 0; z-index: 0; }
.p-hero-media picture, .p-hero-media img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 45%;
  display: block; opacity: .95;
}
.p-hero-veil {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(13,15,19,.55) 0%, rgba(13,15,19,.20) 22%, rgba(13,15,19,0) 40%),
    linear-gradient(180deg, transparent 45%, rgba(13,15,19,.72) 80%, var(--ink) 100%),
    radial-gradient(ellipse 90% 60% at 50% 100%, rgba(246,110,97,.14), transparent 55%);
}
.p-hero-inner {
  position: relative; z-index: 2;
  width: 100%; max-width: 1180px;
  margin: 0 auto;
  min-height: 82svh;
  padding: clamp(140px, 20vh, 200px) clamp(24px, 4vw, 56px) clamp(48px, 6vh, 72px);
  display: flex; align-items: flex-end;
}
.p-hero-content {
  display: flex; flex-direction: column;
  gap: clamp(16px, 1.6vw, 22px);
  max-width: 620px;
}
.p-hero-eyebrow {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 12px; letter-spacing: .18em; text-transform: uppercase;
  color: rgba(255,255,255,.72);
}
.p-hero-h1 {
  margin: 0;
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(46px, 7vw, 96px);
  line-height: .96; letter-spacing: -.028em;
  text-transform: uppercase; text-wrap: balance;
  text-shadow: 0 4px 30px rgba(0,0,0,.55);
}
.p-hero-h1 .top    { display: block; color: #FAFBFC; }
.p-hero-h1 .bottom { display: block; color: var(--accent); }
.p-hero-lead {
  margin: 0; max-width: 48ch;
  font-size: clamp(15px, 1.15vw, 16.5px);
  line-height: 1.5;
  color: rgba(255,255,255,.82);
  text-shadow: 0 2px 20px rgba(0,0,0,.55);
}
.p-hero-status-pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 14px 6px 10px; border-radius: 999px;
  height: 28px;
  background: rgba(255,255,255,.06); border: 1px solid var(--strut);
  backdrop-filter: blur(8px) saturate(1.4); -webkit-backdrop-filter: blur(8px) saturate(1.4);
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em;
  text-transform: uppercase; color: #FAFBFC;
  align-self: flex-start;
}
.p-hero-status-pill {
  border-color: rgba(85,224,160,.30);
  background: rgba(85,224,160,.08);
}
.p-hero-status-pill .dot {
  width: 6px; height: 6px; border-radius: 999px;
  background: #55E0A0;
  box-shadow: 0 0 0 3px rgba(85,224,160,.20), 0 0 12px rgba(85,224,160,.6);
  animation: pStatusPulse 1.6s ease-in-out infinite;
}
@keyframes pStatusPulse {
  0%,100% { box-shadow: 0 0 0 3px rgba(85,224,160,.20), 0 0 12px rgba(85,224,160,.55); }
  50%     { box-shadow: 0 0 0 5px rgba(85,224,160,.10), 0 0 20px rgba(85,224,160,.85); }
}
.p-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 4px; }

/* ---- 2. Anchor nav ------------------------------------------- */
.p-anchor {
  position: fixed; top: 78px; left: 0; right: 0; z-index: 40;
  opacity: 0; visibility: hidden;
  transform: translateY(-12px);
  transition: opacity .28s ease, transform .32s cubic-bezier(0.22, 1, 0.36, 1), visibility 0s linear .28s;
  background: rgba(13,15,19,.78);
  border-bottom: 1px solid var(--strut);
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  pointer-events: none;
}
.p-anchor.is-visible {
  opacity: 1; visibility: visible;
  transform: translateY(0);
  transition-delay: 0s;
  pointer-events: auto;
}
.p-anchor .rig-in { max-width: 1200px; }
.p-anchor ul {
  list-style: none; margin: 0; padding: 10px 0;
  display: flex; gap: 4px; flex-wrap: wrap;
}
.p-anchor a {
  display: inline-block; padding: 8px 16px;
  font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .14em;
  text-transform: uppercase; text-decoration: none;
  color: rgba(255,255,255,.62);
  border-bottom: 1px solid transparent;
  transition: color .18s ease, border-color .18s ease;
}
.p-anchor a:hover { color: #FAFBFC; }
.p-anchor a.is-active { color: var(--accent); border-bottom-color: var(--accent); }

/* ---- 3. Status ribbon ---------------------------------------- */
.p-ribbon {
  background: var(--ink-2);
  border-bottom: 1px solid var(--strut);
}
.p-ribbon-inner {
  min-height: 52px;
  display: flex; align-items: center; justify-content: center;
  gap: 4px; flex-wrap: wrap;
  padding: 12px 24px;
  font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .14em;
  text-transform: uppercase; color: rgba(255,255,255,.62);
}
.p-ribbon-item { display: inline-flex; align-items: center; gap: 8px; }
.p-ribbon-item.has-dot .dot {
  width: 8px; height: 8px; border-radius: 999px;
  background: #55E0A0;
  box-shadow: 0 0 0 3px rgba(85,224,160,.18), 0 0 10px rgba(85,224,160,.6);
  animation: pStatusPulse 1.6s ease-in-out infinite;
}
.p-ribbon-sep { color: var(--accent); font-size: 14px; padding: 0 6px; }
@media (max-width: 720px) {
  .p-ribbon-inner { justify-content: flex-start; padding: 14px 20px; }
}

/* ---- 4. Stat pills ------------------------------------------- */
.p-stats { padding: clamp(80px, 12vh, 160px) 0; }
.p-stats-row {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.p-stat-pill {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  padding: 18px 24px;
  min-height: 64px;
  border: 1px solid rgba(246,110,97,.55);
  border-radius: 999px;
  background: rgba(246,110,97,.03);
  transition: background .2s ease, border-color .2s ease;
}
.p-stat-pill:hover {
  background: rgba(246,110,97,.08);
  border-color: var(--accent);
}
.p-stat-pill .n {
  font-family: var(--font-display); font-weight: 800;
  font-size: 26px; letter-spacing: -.02em; color: #FAFBFC;
  line-height: 1;
  white-space: nowrap;
}
.p-stat-pill .l {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em;
  text-transform: uppercase; color: rgba(255,255,255,.6);
  line-height: 1.3;
  text-align: left;
}
@media (max-width: 900px) { .p-stats-row { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px) { .p-stats-row { grid-template-columns: 1fr; } }

/* ---- 5. Menu tour -------------------------------------------- */
.p-menu { padding: clamp(80px, 10vh, 140px) 0 clamp(96px, 12vh, 160px); }
.p-menu-head { text-align: center; max-width: 780px; margin: 0 auto; }
.p-menu-head .eyebrow { justify-content: center; }
.p-menu-lead {
  max-width: 52ch; margin: 22px auto 0;
  font-size: 16.5px; line-height: 1.6;
  color: rgba(255,255,255,.62);
}
.p-menu-tabs {
  margin: clamp(36px, 5vw, 56px) auto 32px;
  display: flex; justify-content: center; flex-wrap: wrap; gap: 8px;
}
.p-menu-tab {
  padding: 10px 22px; height: 40px;
  font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .14em;
  text-transform: uppercase; color: rgba(255,255,255,.6);
  background: transparent;
  border: 1px solid rgba(243,238,230,.14);
  border-radius: 999px;
  cursor: pointer;
  transition: color .18s ease, background .18s ease, border-color .18s ease;
}
.p-menu-tab:hover { color: #FAFBFC; border-color: rgba(243,238,230,.26); }
.p-menu-tab.is-active {
  color: var(--accent);
  background: rgba(243,238,230,.04);
  border-color: var(--accent);
}
.p-menu-stage {
  position: relative;
  max-width: 1080px;
  margin: 0 auto;
}
.p-menu-panel {
  display: flex;
  flex-direction: column;
  gap: 32px;
  opacity: 0; visibility: hidden; position: absolute; inset: 0;
  transition: opacity .24s cubic-bezier(0.22, 1, 0.36, 1);
}
.p-menu-panel.is-active { opacity: 1; visibility: visible; position: relative; }
.p-menu-frame {
  position: relative;
  border-radius: 24px; overflow: hidden;
  border: 1px solid rgba(243,238,230,.06);
  aspect-ratio: 16 / 9;
  background: var(--ink-2);
  box-shadow: 0 30px 80px -30px rgba(0,0,0,.6);
}
.p-menu-frame > img {
  display: block;
  width: 100%; height: 100%;
  object-fit: contain;
  object-position: center;
}
/* Placeholder frame — clean grid pattern + centered label, no fake UI */
.p-menu-placeholder {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 14px;
  text-align: center;
  color: rgba(255,255,255,.5);
  background:
    linear-gradient(rgba(255,255,255,.02) 1px, transparent 1px) 0 0 / 32px 32px,
    linear-gradient(90deg, rgba(255,255,255,.02) 1px, transparent 1px) 0 0 / 32px 32px,
    radial-gradient(ellipse 60% 40% at 50% 50%, rgba(246,110,97,.06), transparent 70%);
}
.p-menu-plabel {
  font-family: var(--font-mono);
  font-size: 11.5px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--accent);
  padding: 6px 14px;
  border: 1px solid rgba(246,110,97,.35);
  border-radius: 999px;
  background: rgba(246,110,97,.05);
}
.p-menu-pnote {
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: .16em; text-transform: uppercase;
  color: rgba(255,255,255,.35);
}

.p-menu-caption {
  margin: 0 auto;
  max-width: 640px;
  width: 100%;
  text-align: center;
}
.p-menu-caption h3 {
  margin: 0 0 8px;
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(20px, 2vw, 24px);
  letter-spacing: -.01em; color: #FAFBFC;
  text-transform: none;
}
.p-menu-caption p {
  margin: 0; color: rgba(255,255,255,.62);
  font-size: 15px; line-height: 1.55;
}
@media (max-width: 720px) {
  .p-menu-callout { position: static; max-width: none; margin: 8px 0 0; display: block; }
  .p-menu-frame { aspect-ratio: 16 / 10; }
}

/* ---- 6. Feature list (cream) --------------------------------- */
.p-features { padding: clamp(100px, 14vh, 200px) 0; }
.p-features-head { text-align: left; max-width: 720px; margin: 0 0 clamp(56px, 8vw, 96px); }
.p-features-stack { display: flex; flex-direction: column; gap: clamp(64px, 8vw, 96px); }
.p-features-group {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
}
.p-features-title { position: sticky; top: 160px; }
.p-features-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: .18em; text-transform: uppercase;
  color: #B84F42;
  display: block; margin-bottom: 10px;
}
.p-features-title h3 {
  margin: 0;
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(28px, 3vw, 34px);
  letter-spacing: -.02em; color: var(--ink);
  text-transform: none;
}
.p-features-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px 60px;
}
.p-feature { position: relative; padding-left: 22px; }
.p-feature-dot {
  position: absolute; top: 12px; left: 0;
  width: 8px; height: 8px; border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(246,110,97,.14);
}
.p-feature h3 {
  margin: 0 0 8px;
  font-family: var(--font-display); font-weight: 700;
  font-size: 20px; letter-spacing: -.01em;
  color: var(--ink);
  text-transform: none;
}
.p-feature p { margin: 0; font-size: 15px; line-height: 1.55; color: #4A4E57; }

@media (max-width: 900px) {
  .p-features-group { grid-template-columns: 1fr; }
  .p-features-title { position: static; }
  .p-features-grid { grid-template-columns: 1fr; }
}

/* ---- 7. Comparison (cream) ----------------------------------- */
.p-compare { padding: clamp(80px, 12vh, 160px) 0; }
.p-compare-head { text-align: center; max-width: 720px; margin: 0 auto clamp(40px, 5vw, 64px); }
.p-compare-head .eyebrow { justify-content: center; }
.p-compare-wrap {
  max-width: 1080px; margin: 0 auto;
  overflow-x: auto;
}
.p-compare-table {
  width: 100%; border-collapse: separate; border-spacing: 0;
  font-size: 14px;
}
.p-compare-table th, .p-compare-table td {
  padding: 18px 20px; text-align: center; vertical-align: middle;
  border-bottom: 1px solid rgba(13,15,19,.09);
}
.p-compare-table th.attr, .p-compare-table td.attr {
  text-align: left;
  font-family: var(--font-display); font-weight: 600;
  font-size: 15.5px; color: var(--ink);
  text-transform: none;
  width: 320px;
}
.p-compare-table thead th {
  padding: 22px 20px;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .14em;
  text-transform: uppercase; color: #7B7F88;
  border-bottom: 1px solid rgba(13,15,19,.14);
}
.p-compare-table thead th.ours {
  color: var(--accent);
  border-top: 1px solid var(--accent);
  border-bottom-color: var(--accent);
}
.p-compare-table td {
  font-family: var(--font-mono); font-size: 13px; letter-spacing: .05em;
  color: var(--ink);
}
.p-compare-table td.ours,
.p-compare-table thead th.ours { background: rgba(246,110,97,.04); }
.p-compare-table tbody tr:last-child td { border-bottom: none; }

@media (max-width: 720px) {
  .p-compare-table thead { display: none; }
  .p-compare-table tbody, .p-compare-table tr { display: block; }
  .p-compare-table tr {
    padding: 20px; margin-bottom: 12px;
    border: 1px solid rgba(13,15,19,.09); border-radius: 14px;
  }
  .p-compare-table td, .p-compare-table th {
    display: flex; justify-content: space-between; align-items: center;
    padding: 8px 0; border-bottom: none;
    text-align: left;
  }
  .p-compare-table th.attr {
    width: auto;
    padding-bottom: 12px; margin-bottom: 8px;
    border-bottom: 1px solid rgba(13,15,19,.09);
    font-size: 16px;
  }
  .p-compare-table td::before {
    content: attr(data-col);
    font-family: var(--font-mono); font-size: 10.5px;
    letter-spacing: .14em; text-transform: uppercase; color: #7B7F88;
  }
  .p-compare-table td.ours { background: transparent; color: var(--accent); font-weight: 700; }
}

/* ---- 8. Compatibility (ink) ---------------------------------- */
.p-compat { padding: clamp(80px, 12vh, 160px) 0; }
.p-compat-head { text-align: left; max-width: 720px; margin: 0 0 clamp(40px, 5vw, 64px); }
.p-compat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
}
.p-compat-col h3 {
  margin: 0 0 22px;
  padding-bottom: 14px;
  font-family: var(--font-display); font-weight: 700;
  font-size: 22px; letter-spacing: -.01em;
  color: #FAFBFC; text-transform: none;
  position: relative;
}
.p-compat-col h3::after {
  content: ''; position: absolute; left: 0; bottom: 0;
  width: 32px; height: 2px; background: var(--accent);
}
.p-compat-list { list-style: none; margin: 0; padding: 0; }
.p-compat-list li {
  padding: 14px 0;
  font-size: 15px; line-height: 1.5;
  color: rgba(255,255,255,.72);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.p-compat-list li:last-child { border-bottom: none; }

@media (max-width: 900px) { .p-compat-grid { grid-template-columns: 1fr; gap: 40px; } }

/* ---- 9. Security cards --------------------------------------- */
.p-sec { padding: clamp(60px, 10vh, 120px) 0 clamp(100px, 14vh, 180px); }
.p-sec-head { text-align: left; max-width: 720px; margin: 0 0 clamp(40px, 5vw, 64px); }
.p-sec-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.p-sec-card {
  padding: 40px 32px;
  background: var(--ink-2);
  border: 1px solid rgba(243,238,230,.06);
  border-radius: 16px;
  min-height: 320px;
  display: flex; flex-direction: column; gap: 20px;
  transition: border-color .25s ease, transform .25s ease;
}
.p-sec-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.p-sec-num {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .18em;
  text-transform: uppercase; color: var(--accent);
}
.p-sec-card h3 {
  margin: 0;
  font-family: var(--font-display); font-weight: 700;
  font-size: 24px; letter-spacing: -.015em;
  color: #FAFBFC; text-transform: none;
}
.p-sec-card p { margin: 0; font-size: 15px; line-height: 1.55; color: rgba(255,255,255,.68); }
@media (max-width: 900px) { .p-sec-grid { grid-template-columns: 1fr; } }

/* ---- 10. How to buy (cream, 4 numerals) ---------------------- */
.p-buy { padding: clamp(80px, 12vh, 160px) 0; }
.p-buy-head { text-align: left; max-width: 720px; margin: 0 0 clamp(48px, 6vw, 72px); }
.p-buy-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
}
.p-buy-step { }
.p-buy-num {
  display: block;
  font-family: var(--font-mono); font-weight: 500;
  font-size: clamp(56px, 8vw, 88px); line-height: 1;
  letter-spacing: -.02em; color: rgba(246,110,97,.20);
  margin-bottom: 20px;
}
.p-buy-step h3 {
  margin: 0 0 8px;
  font-family: var(--font-display); font-weight: 700;
  font-size: 20px; letter-spacing: -.01em;
  color: var(--ink); text-transform: none;
}
.p-buy-step p { margin: 0; font-size: 14px; line-height: 1.5; color: #4A4E57; }
@media (max-width: 720px) { .p-buy-grid { grid-template-columns: repeat(2, 1fr); } }

/* ---- 11. Pricing note (uses statement-lede) ------------------ */
.p-pricing { padding: clamp(80px, 12vh, 140px) 0; }
.p-pricing-head { text-align: center; max-width: 780px; margin: 0 auto 40px; }
.p-pricing-lead {
  max-width: 60ch; margin: 22px auto 0;
  font-size: 16.5px; line-height: 1.6; color: rgba(255,255,255,.62);
}

/* ---- 12. Refund strip ---------------------------------------- */
.p-refund { background: var(--ink-2); border-block: 1px solid var(--strut); }
.p-refund-inner {
  min-height: 68px;
  display: flex; justify-content: center; align-items: center;
  gap: 4px; flex-wrap: wrap;
  padding: 16px 24px;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .14em;
  text-transform: uppercase; color: rgba(255,255,255,.72);
}
.p-refund-item { display: inline-flex; align-items: center; gap: 10px; }
.p-refund-item svg { width: 14px; height: 14px; color: var(--accent); }
.p-refund-sep { color: var(--accent); font-size: 14px; padding: 0 8px; }
@media (max-width: 720px) {
  .p-refund-inner { flex-direction: column; align-items: flex-start; padding: 20px 24px; gap: 12px; }
  .p-refund-sep { display: none; }
}

/* ---- 13. FAQ (product — 12 items) ---------------------------- */
.p-faq { padding: clamp(80px, 12vh, 160px) 0; }
.p-faq-head { text-align: center; max-width: 720px; margin: 0 auto clamp(40px, 5vw, 64px); }
.p-faq-head .eyebrow { justify-content: center; }
.p-faq-list { max-width: 780px; margin: 0 auto; }
.p-faq-item {
  border-top: 1px solid #EAE3D8;
  padding: 24px 0;
  transition: padding-left .2s ease, border-color .2s ease;
}
.p-faq-item:last-child { border-bottom: 1px solid #EAE3D8; }
.p-faq-item[open] {
  padding-left: 20px;
  border-left: 3px solid var(--accent);
}
.p-faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  cursor: pointer; list-style: none;
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(17px, 1.6vw, 20px);
  color: var(--ink);
  text-transform: none;
}
.p-faq-item summary::-webkit-details-marker { display: none; }
.p-faq-chev {
  flex-shrink: 0;
  display: inline-flex; width: 24px; height: 24px;
  color: var(--ink);
  transition: transform .24s cubic-bezier(0.22, 1, 0.36, 1);
}
.p-faq-item[open] .p-faq-chev { transform: rotate(90deg); color: var(--accent); }
.p-faq-item p {
  margin: 14px 0 0; padding-right: 32px;
  font-size: 15.5px; line-height: 1.6; color: #4A4E57;
}

/* ---- 14. Bottom CTA ------------------------------------------ */
.p-bottom-cta { padding: clamp(120px, 20vh, 200px) 0; }
.p-bottom-cta .center { text-align: center; }

/* ---- 16. Deep-read article (landing template only) ---------- */
.p-article { padding: clamp(96px, 14vh, 180px) 0 clamp(112px, 16vh, 200px); }
.p-article-head { text-align: center; max-width: 720px; margin: 0 auto clamp(56px, 7vw, 96px); }
.p-article-head .eyebrow { justify-content: center; color: #B84F42; }
.p-article-head .h2-statement .assert  { color: var(--ink); }
.p-article-head .h2-statement .qualify { color: var(--accent); }
.p-article-lead {
  max-width: 60ch; margin: 24px auto 0;
  font-size: 17px; line-height: 1.62; color: #3C4048;
  text-wrap: balance;
}
.p-article-body {
  max-width: 720px; margin: 0 auto;
  display: flex; flex-direction: column;
  gap: clamp(48px, 6vw, 72px);
}
.p-article-section h3 {
  margin: 0 0 22px;
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(22px, 2.4vw, 28px);
  letter-spacing: -.015em;
  color: var(--ink);
  text-transform: none;
  line-height: 1.22;
  text-wrap: balance;
}
.p-article-section p {
  margin: 0 0 18px;
  font-size: 16.5px; line-height: 1.68;
  color: #3C4048;
}
.p-article-section p:last-child { margin-bottom: 0; }
.p-article-section p strong {
  font-weight: 700;
  color: var(--ink);
  background: linear-gradient(180deg, transparent 66%, rgba(246,110,97,.22) 66%);
  padding: 0 2px;
}
.p-article-section p em { font-style: italic; color: var(--ink); }

/* ==============================================================
   BUY FLOW — /buy/ (template-buy.php)
   ============================================================== */
.buy-shell {
  min-height: calc(100svh - 78px);
  display: flex; align-items: center; justify-content: center;
  padding: clamp(48px, 8vh, 96px) clamp(20px, 4vw, 48px);
  background: var(--ink);
}
.buy-card {
  width: 100%; max-width: 520px;
  background: var(--ink-2);
  border: 1px solid var(--strut);
  border-radius: 20px;
  padding: clamp(28px, 4vw, 44px) clamp(24px, 4vw, 40px);
  box-shadow: 0 30px 80px -30px rgba(0,0,0,.6);
}

.buy-steps {
  display: flex; align-items: center; gap: 10px;
  margin: 0 0 24px;
  color: rgba(255,255,255,.4);
}
.buy-step {
  display: inline-flex; align-items: center; justify-content: center;
  width: 26px; height: 26px; border-radius: 999px;
  background: rgba(255,255,255,.04);
  border: 1px solid var(--strut);
  color: rgba(255,255,255,.5);
  font-family: var(--font-mono); font-size: 12px; font-weight: 600;
}
.buy-step.is-active { background: var(--accent); color: var(--ink); border-color: var(--accent); }
.buy-rule { flex: 0 0 24px; height: 1px; background: var(--strut); }

.buy-plan {
  margin: 0 0 24px;
  padding: 12px 16px;
  border-radius: 12px;
  background: rgba(246,110,97,.06);
  border: 1px solid rgba(246,110,97,.20);
  font-family: var(--font-mono);
  font-size: 12px; letter-spacing: .12em; text-transform: uppercase;
  color: rgba(255,255,255,.72);
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  flex-wrap: wrap;
}
.buy-plan-main {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  flex: 1 1 auto; flex-wrap: wrap;
}
.buy-plan-change {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .16em;
  color: rgba(255,255,255,.68);
  text-decoration: underline; text-underline-offset: 3px;
  text-decoration-color: rgba(255,255,255,.28);
  padding: 4px 2px;
  transition: color .15s ease, text-decoration-color .15s ease;
}
.buy-plan-change:hover, .buy-plan-change:focus {
  color: var(--accent);
  text-decoration-color: var(--accent);
}
.buy-plan-label { color: var(--accent); font-weight: 700; }
.buy-plan-value { display: inline-flex; align-items: center; gap: 12px; }
.buy-plan-value b {
  color: #FAFBFC; font-weight: 700;
  font-family: var(--font-body);
  text-transform: none; letter-spacing: 0;
}
.buy-plan-price {
  font-family: var(--font-display);
  font-weight: 800; font-size: 18px;
  color: var(--accent);
  letter-spacing: -.01em;
}
.buy-plan-cur {
  font-family: var(--font-mono);
  font-size: 10.5px; letter-spacing: .16em;
  color: rgba(255,255,255,.5);
  margin-left: 4px;
}
.buy-plan-warn { background: rgba(255,255,255,.03); border-color: var(--strut); }
.buy-plan-warn a { color: var(--accent); }

.buy-eyebrow { color: var(--accent); margin: 0 0 12px; }
.buy-h1 {
  margin: 0;
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1.1; letter-spacing: -.02em;
  text-transform: uppercase; text-wrap: balance;
}
.buy-h1 .line-accent {
  display: block;
  color: var(--accent);
  font-size: clamp(14px, 1.5vw, 16px);
  letter-spacing: .04em;
  margin-bottom: 4px;
}
.buy-h1 .line-solid { display: block; color: #FAFBFC; }

.buy-lead {
  margin: 14px 0 22px;
  font-size: 14.5px; line-height: 1.55;
  color: rgba(255,255,255,.7);
}
.buy-lead b { color: #FAFBFC; font-weight: 600; }
.buy-lead a { color: var(--accent); }

.buy-form { display: flex; flex-direction: column; gap: 14px; }
.buy-field { display: flex; flex-direction: column; gap: 8px; }
.buy-field-label {
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  color: rgba(255,255,255,.5);
}
.buy-field input[type=email] {
  padding: 14px 16px; height: 52px;
  background: rgba(255,255,255,.03);
  border: 1px solid var(--strut); border-radius: 12px;
  color: #FAFBFC;
  font-family: var(--font-body); font-size: 15px;
  transition: border-color .15s ease, background .15s ease;
}
.buy-field input[type=email]:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(246,110,97,.04);
}

.buy-code-row {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
}
.buy-code-input {
  height: 60px; padding: 0;
  background: rgba(255,255,255,.03);
  border: 1px solid var(--strut);
  border-radius: 12px;
  color: #FAFBFC;
  font-family: var(--font-display); font-weight: 800;
  font-size: 26px; letter-spacing: 0;
  text-align: center;
  transition: border-color .15s ease, background .15s ease;
}
.buy-code-input:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(246,110,97,.05);
}
.buy-shake { animation: buyShake .3s cubic-bezier(.36,.07,.19,.97); }
@keyframes buyShake {
  10%,90% { transform: translateX(-1px); }
  20%,80% { transform: translateX(2px); }
  30%,50%,70% { transform: translateX(-4px); }
  40%,60% { transform: translateX(4px); }
}

.buy-cta {
  margin-top: 6px;
  align-self: flex-start;
  padding-left: 22px; padding-right: 22px;
}
.buy-cta[disabled] { opacity: .5; pointer-events: none; }

.buy-error {
  margin: 4px 0 0;
  padding: 10px 12px;
  border-radius: 8px;
  background: rgba(246,110,97,.10);
  border: 1px solid rgba(246,110,97,.30);
  color: #FFD1CC;
  font-size: 13px; line-height: 1.4;
}

.buy-meta {
  margin: 20px 0 0;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .10em;
  color: rgba(255,255,255,.62);
  text-transform: uppercase;
}

.buy-resend {
  margin-top: 18px;
  font-family: var(--font-mono);
  font-size: 12px; letter-spacing: .10em;
  color: rgba(255,255,255,.5);
  text-transform: uppercase;
}
.buy-link {
  background: none; border: none; padding: 0;
  color: var(--accent); font: inherit; cursor: pointer;
  text-decoration: underline; text-underline-offset: 2px;
}
.buy-link[disabled] { color: rgba(255,255,255,.35); cursor: default; text-decoration: none; }

.buy-done { text-align: center; }
.buy-check {
  width: 56px; height: 56px;
  margin: 4px auto 20px;
  border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(85,224,160,.10);
  border: 1px solid rgba(85,224,160,.35);
  color: #55E0A0;
  animation: buyCheckPop .35s cubic-bezier(0.22, 1, 0.36, 1);
}
.buy-check svg { width: 26px; height: 26px; }
@keyframes buyCheckPop {
  from { transform: scale(.85); opacity: 0; }
  to   { transform: scale(1);   opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .buy-check { animation: none; }
  .buy-shake { animation: none; }
}

/* ---- 15. Sticky buy-bar -------------------------------------- */
.p-stickybar {
  position: fixed; left: 0; right: 0; bottom: -80px;
  z-index: 60;
  height: 64px;
  background: rgba(20, 23, 29, .90);
  border-top: 1px solid var(--strut);
  backdrop-filter: blur(12px) saturate(1.4);
  -webkit-backdrop-filter: blur(12px) saturate(1.4);
  transition: bottom .32s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}
/* Reserve space for the sticky buy-bar so the footer isn't clipped when the
   bar animates in near the bottom of the page. env(safe-area-inset-bottom)
   protects iOS Home-indicator devices. */
body:has(.p-stickybar) {
  padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px));
}
.p-stickybar.is-visible { bottom: 0; pointer-events: auto; }
.p-stickybar-inner {
  height: 100%;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
}
.p-stickybar-pitch {
  font-family: var(--font-body); font-size: 14px;
  color: #FAFBFC; letter-spacing: 0;
}
.p-stickybar-cta { height: 40px; padding: 0 20px; font-size: 13px; }
@media (max-width: 560px) {
  .p-stickybar-pitch { font-size: 12.5px; }
  .p-stickybar-cta { padding: 0 14px; font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .p-stickybar { transition: none; }
  .p-hero-status-pill .dot, .p-ribbon-item.has-dot .dot { animation: none; }
}
