/* ============================================
   SNOWBALL · 2026 living catalog
   ============================================ */

:root {
  --ink: #141414;
  --ink-soft: #1f1f24;
  --ink-line: #2a2a2e;
  --ink-2: #1f1f1f;
  --paper: #f3f1ea;
  --paper-2: #ebe7dc;
  --paper-3: #dfd9c7;
  --paper-warm: #f8f5ec;
  --line: rgba(20, 20, 20, 0.85);
  --line-soft: rgba(20, 20, 20, 0.15);
  --muted: #6b6960;
  --accent: #c6ff3a;
  --accent-ice: #9be8ee;
  --accent-pink: #ff8fb1;
  --accent-warm: #ff6b35;

  --gap: 24px;
  --pad: 96px;
  --pad-x: 64px;
  --radius: 0px;

  /* L3 — light & material */
  --light-top: rgba(255, 255, 255, 0.7);
  --light-edge: rgba(255, 255, 255, 0.4);
  --shadow-key: 0 30px 60px -20px rgba(20, 20, 20, 0.22);
  --shadow-amb: 0 8px 24px -8px rgba(20, 20, 20, 0.12);
  --shadow-rim: 0 1px 0 0 rgba(255, 255, 255, 0.6) inset, 0 0 0 1px rgba(20, 20, 20, 0.08);
  --glass-tint: rgba(255, 255, 255, 0.55);
  --glass-tint-dark: rgba(255, 255, 255, 0.12);

  --font-display: "Archivo Black", "Helvetica Neue", Impact, sans-serif;
  --font-serif: "Instrument Serif", "Times New Roman", serif;
  --font-body: "Inter Tight", "Inter", "Helvetica Neue", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
}

body[data-density="compact"] {
  --pad: 56px;
  --pad-x: 40px;
  --gap: 16px;
}

body[data-accent="ice"] { --accent: var(--accent-ice); }
body[data-accent="pink"] { --accent: var(--accent-pink); }

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  background-image:
    radial-gradient(1200px 800px at 80% -10%, rgba(198, 255, 58, 0.12), transparent 60%),
    radial-gradient(900px 600px at -10% 30%, rgba(155, 232, 238, 0.10), transparent 60%),
    radial-gradient(800px 600px at 60% 90%, rgba(255, 143, 177, 0.08), transparent 60%);
  background-attachment: fixed;
}
body::before {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.05 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  opacity: 0.6;
  mix-blend-mode: multiply;
}
button { font-family: inherit; cursor: pointer; border: none; background: none; }
a { color: inherit; text-decoration: none; cursor: pointer; }
input { font-family: inherit; }

/* ============================================
   NAV
   ============================================ */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 250, 247, 0.0);
  border-bottom: 1px solid transparent;
  transition: background .2s, border-color .2s;
}
.nav-scrolled {
  background: rgba(250, 250, 247, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--ink);
}
.nav-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 14px var(--pad-x);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
}
.nav-brand { display: flex; align-items: center; gap: 10px; }
.nav-logo {
  width: 32px; height: 32px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--ink);
  border: 1.5px solid var(--ink);
}
.nav-name { font-family: var(--font-display); font-size: 20px; letter-spacing: -0.01em; }
.nav-version { font-family: var(--font-mono); font-size: 11px; color: var(--muted); border: 1px solid var(--muted); padding: 2px 6px; border-radius: 99px; }
.nav-links { display: flex; gap: 28px; justify-self: center; font-size: 14px; font-weight: 500; }
.nav-links a:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  border: 1px solid var(--line-soft);
  padding: 14px 22px;
  font-weight: 600;
  font-size: 15px;
  border-radius: 999px;
  transition: transform .2s cubic-bezier(.2,.7,.2,1), box-shadow .2s, background .15s;
  white-space: nowrap;
  box-shadow: 0 1px 0 rgba(255,255,255,0.5) inset, 0 6px 14px -6px rgba(20,20,20,0.18);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 1px 0 rgba(255,255,255,0.6) inset, 0 12px 22px -8px rgba(20,20,20,0.28); }
.btn:active { transform: translateY(0); box-shadow: 0 1px 0 rgba(255,255,255,0.4) inset, 0 4px 8px -4px rgba(20,20,20,0.2); }
.btn-primary { background: var(--accent); color: var(--ink); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-block { width: 100%; justify-content: center; }
.btn-sm { padding: 9px 16px; font-size: 13px; }
.btn-price {
  font-family: var(--font-display);
  background: var(--ink);
  color: var(--paper);
  padding: 4px 10px;
  border-radius: 99px;
  font-size: 13px;
  letter-spacing: 0;
}
.btn-label { font-weight: 600; }

/* ============================================
   HERO COMMON
   ============================================ */
.hero { max-width: 1440px; margin: 0 auto; padding: 56px var(--pad-x) var(--pad); }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
  border: 1px solid var(--ink);
  padding: 6px 12px;
  border-radius: 99px;
  background: var(--paper);
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); display: inline-block; }
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(48px, 7vw, 96px);
  line-height: 0.92;
  letter-spacing: -0.025em;
  margin: 24px 0 20px;
  text-wrap: balance;
}
.hero-title em { font-style: italic; font-family: var(--font-serif); font-weight: 400; letter-spacing: -0.005em; }
.hero-title-xl { font-size: clamp(56px, 8vw, 120px); }
.hero-title-xxl { font-size: clamp(64px, 11vw, 168px); line-height: 0.88; }
.hero-title .hi { padding: 0 12px; color: var(--ink); }
.hero-sub {
  font-size: clamp(16px, 1.3vw, 19px);
  max-width: 540px;
  color: var(--ink);
  margin-bottom: 32px;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 28px; }
.hero-meta {
  display: flex; gap: 24px; flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
  text-transform: uppercase; letter-spacing: 0.04em;
}
.hero-meta strong { color: var(--ink); font-weight: 700; }

/* HERO SPLIT — L4 makes room for the confident phone */
.hero-split {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 64px;
  align-items: center;
  min-height: calc(100vh - 80px);
  padding-top: 32px;
  padding-bottom: 80px;
}
.hero-split .hero-right { display: flex; justify-content: center; align-items: center; position: relative; }
@media (max-width: 1100px) {
  .hero-split { grid-template-columns: 1fr; min-height: auto; gap: 96px; }
  .phone-bezel { transform: perspective(1800px) rotateY(-6deg) rotateX(2deg) rotate(-0.5deg); }
}
@media (max-width: 600px) {
  .phone-bezel { width: 320px; height: 660px; border-radius: 44px; padding: 12px; }
  .phone-screen { border-radius: 32px; }
  .phone-notch { width: 96px; height: 26px; top: 18px; }
}

/* HERO CATALOG */
.hero-catalog { background: var(--paper); }
.hero-catalog-head {
  display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: end;
  padding-bottom: 32px;
  border-bottom: 2px solid var(--ink);
  margin-bottom: 32px;
}
@media (max-width: 900px) { .hero-catalog-head { grid-template-columns: 1fr; } }
.hero-catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 2px solid var(--ink);
  border-right: 0; border-bottom: 0;
}
@media (max-width: 900px) { .hero-catalog-grid { grid-template-columns: repeat(2, 1fr); } }
.catalog-tile {
  border-right: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  padding: 28px;
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 200px;
  background: var(--paper);
}
.catalog-tile-tag { font-family: var(--font-mono); font-size: 12px; color: var(--muted); }
.catalog-tile-label {
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1;
  align-self: end;
  letter-spacing: -0.02em;
}
.catalog-tile-price {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 600;
  background: var(--accent);
  padding: 6px 12px;
  border-radius: 99px;
  justify-self: start;
  margin-top: 16px;
  border: 1.5px solid var(--ink);
}

/* HERO TERMINAL */
.hero-terminal { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
@media (max-width: 1000px) { .hero-terminal { grid-template-columns: 1fr; } }
.terminal-frame {
  background: #0d0d0d;
  border: 2px solid var(--ink);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 8px 8px 0 var(--ink);
}
.terminal-bar {
  padding: 12px 16px;
  background: #1c1c1c;
  display: flex; align-items: center; gap: 8px;
  border-bottom: 1px solid #2a2a2a;
}
.tdot { width: 12px; height: 12px; border-radius: 50%; }
.tdot-r { background: #ff5f56; }
.tdot-y { background: #ffbd2e; }
.tdot-g { background: #27c93f; }
.terminal-title { margin-left: 12px; font-family: var(--font-mono); font-size: 12px; color: #888; }
.terminal-body { padding: 24px; font-family: var(--font-mono); font-size: 14px; color: #e6e6e6; line-height: 1.7; }
.t-prompt { font-weight: 700; margin-right: 8px; }
.t-dim { color: #888; }
.t-blink::after { content: "▮"; animation: blink 1s steps(1) infinite; color: var(--accent); }
@keyframes blink { 50% { opacity: 0; } }

/* HERO MARQUEE */
.hero-marquee { padding-bottom: 0; }
.marquee {
  margin: 32px calc(-1 * var(--pad-x));
  background: var(--ink);
  color: var(--paper);
  padding: 18px 0;
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  overflow: hidden;
}
.marquee-track {
  display: flex; gap: 32px;
  white-space: nowrap;
  animation: marquee 40s linear infinite;
  font-family: var(--font-display);
  font-size: 32px;
  letter-spacing: -0.01em;
}
.marquee-item { flex: 0 0 auto; }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.hero-marquee-foot { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 32px 0; flex-wrap: wrap; }

/* ============================================
   PHONE DEMO
   ============================================ */
/* ============================================
   PHONE DEMO — L4 confident hero treatment
   ============================================ */
.phone-wrap {
  display: flex; flex-direction: column; align-items: center; gap: 28px;
  position: relative;
  isolation: isolate;
}
/* Ambient light bloom behind the phone — makes the glass actually have something to reflect */
.phone-wrap::before {
  content: "";
  position: absolute;
  width: 480px; height: 720px;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  background:
    radial-gradient(closest-side, rgba(198,255,58,0.55), transparent 70%),
    radial-gradient(closest-side at 30% 70%, rgba(155,232,238,0.4), transparent 70%);
  filter: blur(80px);
  z-index: -1;
  opacity: 0.65;
  pointer-events: none;
}
body[data-accent="ice"] .phone-wrap::before {
  background:
    radial-gradient(closest-side, rgba(155,232,238,0.6), transparent 70%),
    radial-gradient(closest-side at 30% 70%, rgba(198,255,58,0.35), transparent 70%);
}
body[data-accent="pink"] .phone-wrap::before {
  background:
    radial-gradient(closest-side, rgba(255,143,177,0.55), transparent 70%),
    radial-gradient(closest-side at 30% 70%, rgba(155,232,238,0.35), transparent 70%);
}

.phone-bezel {
  width: 380px; height: 780px;
  background:
    linear-gradient(155deg, #2a2a2e 0%, #131316 30%, #050507 70%, #1a1a1d 100%);
  border-radius: 52px;
  padding: 14px;
  position: relative;
  /* Multi-stop shadow: rim light, top inner glint, ambient floor shadow, key shadow */
  box-shadow:
    /* outer ring — thin highlight */
    0 0 0 1px rgba(255,255,255,0.06),
    /* inner rim highlight at top */
    0 1px 0 1px rgba(255,255,255,0.18) inset,
    /* deep inner bezel shadow */
    0 0 0 2px rgba(0,0,0,0.4) inset,
    /* tight floor shadow */
    0 30px 40px -10px rgba(20,20,20,0.35),
    /* long ambient floor shadow */
    0 80px 100px -30px rgba(20,20,20,0.45),
    /* lift glow */
    0 4px 16px -6px rgba(20,20,20,0.4);
  transform: perspective(1800px) rotateY(-14deg) rotateX(6deg) rotate(-1.5deg);
  transform-origin: center;
  transition: transform .8s cubic-bezier(.2,.7,.2,1);
}
.phone-bezel:hover {
  transform: perspective(1800px) rotateY(-8deg) rotateX(3deg) rotate(-0.5deg) translateY(-6px);
}
/* Glass reflection sheen across the chassis */
.phone-bezel::after {
  content: "";
  position: absolute; inset: 0;
  border-radius: 52px;
  pointer-events: none;
  background:
    linear-gradient(135deg,
      rgba(255,255,255,0.22) 0%,
      rgba(255,255,255,0.04) 18%,
      transparent 30%,
      transparent 70%,
      rgba(255,255,255,0.08) 85%,
      rgba(255,255,255,0.16) 100%);
  mix-blend-mode: screen;
}
/* Side button glint hint */
.phone-bezel::before {
  content: "";
  position: absolute;
  right: -1.5px;
  top: 160px;
  width: 3px; height: 60px;
  background: linear-gradient(180deg, #444 0%, #1a1a1a 100%);
  border-radius: 0 2px 2px 0;
  pointer-events: none;
  box-shadow: 0 0 0 1px rgba(0,0,0,0.4);
}
.phone-notch {
  position: absolute; top: 22px; left: 50%;
  transform: translateX(-50%);
  width: 108px; height: 30px;
  background: #030305;
  border-radius: 99px;
  z-index: 3;
  display: grid; place-items: center;
  box-shadow: 0 0 0 1px rgba(0,0,0,0.6), 0 2px 6px rgba(0,0,0,0.5) inset;
}
.phone-notch-cam {
  width: 9px; height: 9px;
  background: radial-gradient(circle at 30% 30%, #1a1a1a, #050505);
  border-radius: 50%;
  box-shadow:
    0 0 0 2px #030305,
    0 0 4px rgba(155,232,238,0.25);
}
.phone-screen {
  width: 100%; height: 100%;
  background: var(--paper-warm, var(--paper));
  border-radius: 40px;
  overflow: hidden;
  display: grid;
  grid-template-rows: auto auto 1fr auto auto;
  position: relative;
  /* Inner screen depth — subtle vignette so the screen sits "inside" the bezel */
  box-shadow:
    0 0 0 1px rgba(0,0,0,0.5) inset,
    0 0 20px rgba(0,0,0,0.2) inset;
}
/* Top screen glow — light bleeding from the OLED top edge */
.phone-screen::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 80px;
  background: linear-gradient(180deg, rgba(198,255,58,0.06), transparent);
  pointer-events: none;
  z-index: 1;
}
body[data-accent="ice"] .phone-screen::before { background: linear-gradient(180deg, rgba(155,232,238,0.08), transparent); }
body[data-accent="pink"] .phone-screen::before { background: linear-gradient(180deg, rgba(255,143,177,0.08), transparent); }
.phone-statusbar {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 24px 6px;
  font-family: var(--font-mono); font-size: 11px; color: var(--ink);
  font-weight: 600;
}
.phone-status-icons { display: flex; gap: 6px; }
.phone-appbar {
  display: grid; grid-template-columns: auto 1fr auto;
  align-items: center; gap: 10px;
  padding: 10px 16px;
  border-bottom: 1px solid var(--paper-3);
}
.phone-app-logo {
  width: 32px; height: 32px;
  border-radius: 8px;
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-size: 16px;
  color: var(--ink);
  border: 1.5px solid var(--ink);
}
.phone-app-name { font-family: var(--font-display); font-size: 14px; }
.phone-app-status { font-family: var(--font-mono); font-size: 10px; color: var(--muted); display: flex; align-items: center; gap: 4px; }
.phone-app-status .dot { width: 6px; height: 6px; }
.phone-app-menu { font-size: 18px; color: var(--muted); }
.phone-conv {
  padding: 14px 14px 4px;
  overflow-y: auto;
  display: flex; flex-direction: column; gap: 8px;
  font-size: 13px;
  scroll-behavior: smooth;
}
.phone-conv::-webkit-scrollbar { width: 4px; }
.phone-conv::-webkit-scrollbar-thumb { background: var(--paper-3); }
.msg { padding: 10px 12px; border-radius: 14px; max-width: 86%; line-height: 1.35; animation: slideUp .3s ease; }
@keyframes slideUp { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.msg-user { align-self: flex-end; background: var(--ink); color: var(--paper); border-bottom-right-radius: 4px; }
.msg-agent { align-self: flex-start; background: var(--paper-2); color: var(--ink); border-bottom-left-radius: 4px; font-family: var(--font-mono); font-size: 12px; }
.msg-draft {
  align-self: flex-start; max-width: 92%;
  background: var(--paper); border: 1.5px dashed var(--ink);
  padding: 10px;
}
.msg-draft-label { font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.08em; color: var(--muted); margin-bottom: 6px; }
.msg-draft-body { font-size: 12px; }
.msg-action {
  align-self: flex-start;
  background: var(--paper);
  border: 1.5px solid var(--accent);
  padding: 8px 12px;
  font-family: var(--font-mono); font-size: 11px;
  display: flex; align-items: center; gap: 8px;
  border-radius: 99px;
}
.msg-action-dot { width: 6px; height: 6px; border-radius: 50%; }
.phone-typing { align-self: flex-start; background: var(--paper-2); padding: 10px 14px; border-radius: 14px; display: flex; gap: 4px; }
.phone-typing span { width: 6px; height: 6px; background: var(--muted); border-radius: 50%; animation: bounce 1.2s infinite; }
.phone-typing span:nth-child(2) { animation-delay: .2s; }
.phone-typing span:nth-child(3) { animation-delay: .4s; }
@keyframes bounce { 0%, 80%, 100% { transform: scale(0.6); opacity: 0.4; } 40% { transform: scale(1); opacity: 1; } }
.phone-input {
  display: grid; grid-template-columns: 1fr auto;
  gap: 8px;
  padding: 10px 14px;
  align-items: center;
  border-top: 1px solid var(--paper-3);
}
.phone-input-box {
  background: var(--paper-2);
  border-radius: 99px;
  padding: 9px 14px;
  font-size: 12px;
  color: var(--muted);
}
.phone-mic {
  width: 36px; height: 36px;
  border-radius: 50%;
  display: grid; place-items: center;
  color: var(--ink);
  border: 1.5px solid var(--ink);
  font-size: 14px;
}
.phone-nav {
  display: flex; justify-content: space-around; padding: 10px 0 16px;
  color: var(--muted); font-size: 16px;
  background: var(--paper);
}
.phone-controls { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; justify-content: center; width: 100%; max-width: 320px; }
.phone-ctrl {
  font-family: var(--font-mono);
  font-size: 11px;
  border: 1px solid var(--ink);
  padding: 6px 10px;
  border-radius: 99px;
}
.phone-progress { flex: 1; height: 4px; background: var(--paper-3); border-radius: 99px; overflow: hidden; min-width: 80px; }
.phone-progress-fill { height: 100%; transition: width .3s; }

/* ============================================
   TICKER
   ============================================ */
.ticker {
  background: var(--accent);
  color: var(--ink);
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  overflow: hidden;
  padding: 14px 0;
}
.ticker-track {
  display: flex; gap: 56px;
  white-space: nowrap;
  animation: marquee 50s linear infinite;
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 600;
}
.ticker-item { flex: 0 0 auto; }

/* ============================================
   SECTION COMMON
   ============================================ */
.main { background: var(--paper); }
.section { max-width: 1440px; margin: 0 auto; padding: var(--pad) var(--pad-x); }
.section-head { margin-bottom: 56px; }
.section-head-inline { margin-bottom: 24px; }
.section-kicker {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin-bottom: 16px;
  display: inline-block;
  border-top: 1px solid var(--ink);
  padding-top: 12px;
  min-width: 200px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 72px);
  line-height: 0.95;
  letter-spacing: -0.02em;
  margin: 0;
  max-width: 18ch;
  text-wrap: balance;
}
.section-blurb { font-size: 18px; max-width: 60ch; color: var(--ink); margin: -32px 0 48px; }

/* ============================================
   HOW IT WORKS
   ============================================ */
/* Light "How it works" — MBX-flavored glass cards on warm wash */
.how-light { background: transparent; color: var(--ink); }
.how-light .section-kicker { color: var(--muted); border-top-color: var(--ink); }
.how-light .section-title { color: var(--ink); }
.how-grid-light {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  border: 0;
}
@media (max-width: 1100px) { .how-grid-light { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .how-grid-light { grid-template-columns: 1fr; } }
.how-card-light {
  background: rgba(255, 255, 255, 0.62);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border: 1px solid rgba(20, 20, 20, 0.08);
  border-radius: 22px;
  padding: 32px 28px 36px;
  min-height: 280px;
  display: flex; flex-direction: column;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.9) inset,
    0 18px 40px -24px rgba(20,20,20,0.18),
    0 2px 6px -1px rgba(20,20,20,0.06);
  position: relative;
  transition: transform .22s ease, box-shadow .22s ease;
}
.how-card-light:hover {
  transform: translateY(-3px);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.95) inset,
    0 24px 56px -22px rgba(20,20,20,0.24),
    0 4px 10px -1px rgba(20,20,20,0.08);
}
.how-step {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--accent-warm, #ff6b35);
  margin-bottom: 28px;
}
body[data-accent="lime"] .how-step { color: #6b8d12; }
body[data-accent="ice"] .how-step { color: #0d8a96; }
body[data-accent="pink"] .how-step { color: #c2456b; }
.how-icon {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: rgba(20, 20, 20, 0.04);
  border: 1px solid rgba(20, 20, 20, 0.08);
  display: grid; place-items: center;
  font-size: 18px;
  color: var(--ink);
  margin-bottom: 28px;
  font-family: var(--font-mono);
}
.how-card-light .how-t {
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: -0.01em;
  line-height: 1.15;
  margin-bottom: 14px;
  color: var(--ink);
  font-weight: 400;
}
.how-card-light .how-d {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

/* ============================================
   SKILLS
   ============================================ */
.skills-controls {
  display: flex; gap: 24px; align-items: center; flex-wrap: wrap;
  margin-bottom: 32px;
}
.skills-search {
  display: flex; align-items: center; gap: 10px;
  border: 1.5px solid var(--ink);
  background: var(--paper);
  border-radius: 99px;
  padding: 8px 18px;
  width: 280px;
}
.skills-search-icon { color: var(--muted); font-size: 16px; }
.skills-search input { border: none; background: none; outline: none; font-size: 14px; flex: 1; }
.skills-cats { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  border: 1.5px solid var(--ink);
  padding: 6px 14px;
  border-radius: 99px;
  font-size: 13px;
  font-weight: 500;
  background: var(--paper);
}
.chip:hover { background: var(--paper-2); }
.chip-on { font-weight: 600; }
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.skill-card {
  background: var(--glass-tint);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-rim), var(--shadow-amb);
  padding: 22px;
  display: flex; flex-direction: column;
  cursor: pointer;
  transition: transform .25s cubic-bezier(.2,.7,.2,1), box-shadow .25s;
  position: relative;
  border-radius: 14px;
}
.skill-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-rim), var(--shadow-key), var(--shadow-amb); }
.skill-card-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; margin-bottom: 16px; }
.skill-thumb {
  width: 72px; height: 72px;
  border: 1.5px solid var(--ink);
  display: grid;
  grid-template-rows: 1fr auto;
  padding: 8px;
  font-family: var(--font-display);
}
.skill-thumb-letter { font-size: 32px; line-height: 1; }
.skill-thumb-cat { font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.05em; opacity: 0.7; align-self: end; }
.skill-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 99px;
  letter-spacing: 0.06em;
}
.skill-tag-new { background: var(--accent); color: var(--ink); border: 1px solid var(--ink); }
.skill-tag-hot { background: var(--ink); color: var(--paper); }
.skill-card-name { font-family: var(--font-display); font-size: 22px; letter-spacing: -0.01em; margin-bottom: 6px; }
.skill-card-desc { font-size: 13px; color: var(--ink); line-height: 1.5; flex: 1; margin-bottom: 16px; }
.skill-card-foot {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 12px;
  border-top: 1px dashed var(--ink);
  font-family: var(--font-mono);
  font-size: 12px;
}
.skill-price { font-weight: 700; }
.skill-installs { color: var(--muted); }
.skills-empty { grid-column: 1 / -1; padding: 48px; text-align: center; color: var(--muted); font-family: var(--font-mono); }

/* MODAL */
.modal-backdrop {
  position: fixed; inset: 0;
  background: rgba(20, 20, 20, 0.5);
  backdrop-filter: blur(4px);
  display: grid; place-items: center;
  z-index: 100;
  padding: 24px;
  animation: fade .15s;
}
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.modal {
  background: var(--paper);
  border: 2px solid var(--ink);
  max-width: 540px;
  width: 100%;
  padding: 32px;
  box-shadow: 12px 12px 0 var(--ink);
  animation: pop .2s;
}
@keyframes pop { from { transform: translateY(8px) scale(0.98); opacity: 0; } to { transform: none; opacity: 1; } }
.modal-head { display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: center; margin-bottom: 20px; }
.modal-thumb {
  width: 56px; height: 56px;
  display: grid; place-items: center;
  font-family: var(--font-display); font-size: 28px;
  border: 1.5px solid var(--ink);
}
.modal-cat { font-family: var(--font-mono); font-size: 11px; color: var(--muted); }
.modal-title { font-family: var(--font-display); font-size: 28px; margin: 4px 0 0; letter-spacing: -0.01em; }
.modal-close { font-size: 28px; line-height: 1; padding: 4px 10px; border-radius: 99px; }
.modal-close:hover { background: var(--paper-2); }
.modal-body { font-size: 15px; line-height: 1.55; margin-bottom: 16px; }
.modal-feature-list { font-family: var(--font-mono); font-size: 12px; display: flex; flex-direction: column; gap: 4px; padding: 16px; background: var(--paper-2); margin-bottom: 24px; }
.modal-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.modal-secondary { font-family: var(--font-mono); font-size: 12px; color: var(--muted); }

/* ============================================
   PRICING
   ============================================ */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
@media (max-width: 1000px) { .pricing-grid { grid-template-columns: 1fr; } }
.pricing-card {
  border: 1px solid var(--line-soft);
  background: var(--glass-tint);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  box-shadow: var(--shadow-rim), var(--shadow-amb);
  padding: 32px;
  display: flex; flex-direction: column;
  position: relative;
  border-radius: 18px;
  transition: transform .3s, box-shadow .3s;
}
.pricing-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-rim), var(--shadow-key); }
.pricing-card-hot { background: rgba(255,255,255,0.75); }
.pricing-banner {
  position: absolute; top: -12px; left: 24px;
  background: var(--accent);
  border: 1.5px solid var(--ink);
  padding: 4px 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 99px;
}
.pricing-name { font-family: var(--font-display); font-size: 28px; letter-spacing: -0.01em; margin-bottom: 8px; }
.pricing-price { display: flex; align-items: baseline; gap: 8px; margin-bottom: 24px; padding-bottom: 24px; border-bottom: 1px dashed var(--ink); }
.pricing-num { font-family: var(--font-display); font-size: 64px; letter-spacing: -0.03em; line-height: 1; }
.pricing-sub { font-family: var(--font-mono); font-size: 13px; color: var(--muted); }
.pricing-feat { list-style: none; padding: 0; margin: 0 0 32px; flex: 1; }
.pricing-feat li { padding: 8px 0; font-size: 14px; border-bottom: 1px dotted var(--paper-3); }

/* ============================================
   PRELOADER
   ============================================ */
.preloader {
  position: fixed; inset: 0;
  background: var(--ink);
  color: var(--paper);
  z-index: 9999;
  display: grid; place-items: center;
  animation: preFade 0.5s 1.6s forwards;
}
@keyframes preFade { to { opacity: 0; pointer-events: none; } }
.preloader-inner { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.preloader-logo {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--ink);
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-size: 28px;
  animation: spin 1.4s cubic-bezier(.5,0,.5,1) infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.preloader-name { font-family: var(--font-display); font-size: 22px; letter-spacing: 0.3em; }
.preloader-phrase { height: 18px; position: relative; font-family: var(--font-mono); font-size: 12px; color: #b8b8b0; }
.preloader-line { position: absolute; left: 50%; transform: translateX(-50%) translateY(8px); opacity: 0; transition: all .3s; white-space: nowrap; }
.preloader-line.is-cur { opacity: 1; transform: translateX(-50%) translateY(0); }
.preloader-line.is-past { opacity: 0; transform: translateX(-50%) translateY(-8px); }
.preloader-bar { width: 160px; height: 2px; background: #2a2a2a; overflow: hidden; margin-top: 12px; }
.preloader-fill { height: 100%; background: var(--accent); width: 0; animation: prefill 1.8s ease-out forwards; }
@keyframes prefill { to { width: 100%; } }

/* ============================================
   MANIFESTO
   ============================================ */
.manifesto {
  position: relative;
  max-width: 1440px;
  margin: 0 auto;
  padding: 120px var(--pad-x);
  overflow: hidden;
}
.manifesto-glow {
  position: absolute;
  width: 720px; height: 720px;
  top: 50%; left: 50%;
  margin-left: -360px; margin-top: -360px;
  filter: blur(80px);
  pointer-events: none;
  transition: transform .2s ease-out;
}
.manifesto-inner { position: relative; max-width: 1000px; }
.manifesto-kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid var(--ink);
  padding: 6px 12px;
  border-radius: 99px;
  background: var(--paper);
  margin-bottom: 56px;
}
.manifesto-lines { display: flex; flex-direction: column; gap: 8px; }
.manifesto-line {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 72px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  transition: opacity .25s ease-out, transform .35s ease-out;
}
.manifesto-line.is-muted { font-family: var(--font-serif); font-style: italic; font-weight: 400; font-size: clamp(28px, 3.5vw, 48px); letter-spacing: -0.005em; }
.manifesto-line.is-emph { padding-left: 32px; }
.manifesto-line.is-strong { letter-spacing: -0.03em; }

/* ============================================
   SHOWREEL
   ============================================ */
.showreel { padding: 0 var(--pad-x); max-width: 1440px; margin: 0 auto var(--pad); }
.showreel-frame {
  position: relative;
  aspect-ratio: 21/9;
  background: #0a0a0a;
  border: 2px solid var(--ink);
  overflow: hidden;
  cursor: pointer;
  display: grid; place-items: center;
  color: var(--paper);
}
.showreel-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 30% 30%, rgba(198,255,58,0.15) 0%, transparent 50%),
    radial-gradient(circle at 70% 70%, rgba(155,232,238,0.1) 0%, transparent 50%),
    #0a0a0a;
}
.showreel-noise {
  position: absolute; inset: 0;
  background-image: repeating-conic-gradient(rgba(255,255,255,0.03) 0deg 3deg, transparent 3deg 6deg);
  mix-blend-mode: overlay;
  opacity: 0.6;
}
.showreel-vignette {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse, transparent 40%, rgba(0,0,0,0.7) 100%);
}
.showreel-content {
  position: relative; z-index: 2;
  text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 24px;
}
.showreel-kicker { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.16em; color: #888; }
.showreel-title { font-family: var(--font-display); font-size: clamp(48px, 6vw, 88px); margin: 0; letter-spacing: -0.02em; line-height: 0.95; }
.showreel-play {
  width: 96px; height: 96px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  display: grid; place-items: center;
  transition: transform .2s;
}
.showreel-frame:hover .showreel-play { transform: scale(1.1); }
.showreel-play-tri {
  width: 0; height: 0;
  border-left: 20px solid var(--accent);
  border-top: 14px solid transparent;
  border-bottom: 14px solid transparent;
  margin-left: 6px;
}
.showreel-meta { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; color: #888; }
.showreel-playing { width: 100%; padding: 32px; display: flex; flex-direction: column; gap: 16px; align-items: center; }
.showreel-now { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.16em; animation: pulse 1.4s infinite; }
.showreel-fake-frame {
  width: 100%; max-width: 800px;
  aspect-ratio: 21/9;
  border: 1.5px dashed #888;
  position: relative; overflow: hidden;
}
.showreel-fake-stripes {
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(45deg, #1a1a1a 0 24px, #222 24px 48px);
}
.showreel-fake-label {
  position: absolute; left: 16px; bottom: 16px;
  font-family: var(--font-mono); font-size: 12px; color: var(--paper);
  background: #0a0a0a; padding: 4px 10px; border: 1px solid #444;
}
.showreel-pause { font-family: var(--font-mono); color: var(--paper); border: 1px solid #444; padding: 6px 12px; border-radius: 99px; font-size: 12px; }

/* ============================================
   CURSOR GLOW
   ============================================ */
.cursor-glow {
  position: fixed;
  width: 480px; height: 480px;
  pointer-events: none;
  z-index: 1;
  top: 0; left: 0;
  filter: blur(30px);
  opacity: 0.5;
  mix-blend-mode: multiply;
}
@media (max-width: 800px) { .cursor-glow { display: none; } }

/* Make sections sit above the glow */
.nav, .main, .footer { position: relative; z-index: 2; }

/* ============================================
   L5 — MAGNETIC CURSOR + HOVER PHYSICS
   ============================================ */
@media (hover: hover) and (pointer: fine) {
  html.has-custom-cursor,
  html.has-custom-cursor body,
  html.has-custom-cursor a,
  html.has-custom-cursor button,
  html.has-custom-cursor input,
  html.has-custom-cursor [role="button"] {
    cursor: none;
  }
}

.cur-dot, .cur-ring {
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 9998;
  will-change: transform, opacity;
  transition: opacity .25s ease;
}
.cur-dot {
  width: 6px; height: 6px;
  background: var(--ink);
  border-radius: 50%;
  margin: -3px 0 0 -3px;
  mix-blend-mode: difference;
}
.cur-ring {
  width: 36px; height: 36px;
  border: 1.2px solid rgba(20,20,20,0.4);
  border-radius: 50%;
  display: grid; place-items: center;
  transition: width .25s cubic-bezier(.2,.7,.2,1),
              height .25s cubic-bezier(.2,.7,.2,1),
              background .25s ease,
              border-color .25s ease,
              opacity .25s ease;
  backdrop-filter: invert(0.05);
}
.cur-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  opacity: 0;
  transition: opacity .2s ease;
  white-space: nowrap;
}

/* Hover state — ring grows, label appears */
.cur-ring[data-state="hover"] {
  width: 64px; height: 64px;
  background: rgba(198, 255, 58, 0.18);
  border-color: rgba(20, 20, 20, 0.6);
  backdrop-filter: blur(2px) invert(0.05);
}
body[data-accent="ice"] .cur-ring[data-state="hover"] { background: rgba(155, 232, 238, 0.22); }
body[data-accent="pink"] .cur-ring[data-state="hover"] { background: rgba(255, 143, 177, 0.22); }
.cur-ring[data-state="hover"] .cur-label { opacity: 1; }

/* Tweaks panel + inputs: drop back to native cursor */
html.has-custom-cursor [data-tweaks-panel],
html.has-custom-cursor [data-tweaks-panel] *,
html.has-custom-cursor .skills-search input,
html.has-custom-cursor .newsletter-form input {
  cursor: auto !important;
}

/* ----- Animated link underlines (nav + footer) ----- */
.link-draw {
  position: relative;
  display: inline-block;
  padding-bottom: 1px;
}
.link-draw::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 1.5px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .45s cubic-bezier(.2,.7,.2,1);
}
.link-draw:hover::after { transform: scaleX(1); }
.footer-cols a.link-draw::after { background: var(--accent); }

/* Override hover underline on nav links so it doesn't double */
.nav-links a:hover { text-decoration: none; }


   ============================================ */
.process {
  max-width: 1440px;
  margin: 80px auto 0;
  padding: 56px var(--pad-x);
  position: relative;
  border-radius: 28px;
  background: rgba(255,255,255,0.5);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border: 1px solid rgba(20,20,20,0.08);
  box-shadow: 0 1px 0 rgba(255,255,255,0.9) inset, 0 30px 60px -30px rgba(20,20,20,0.18);
}
.process-blurb { max-width: 64ch; color: var(--muted); font-size: 16px; margin: -16px 0 40px; line-height: 1.55; }
.process-track {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  position: relative;
}
.process .process-track:has(> .process-step:nth-child(4):last-child) { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1100px) { .process-track { grid-template-columns: repeat(2, 1fr) !important; } }
@media (max-width: 600px) { .process-track { grid-template-columns: 1fr !important; } }
.process-step {
  position: relative;
  padding: 22px 20px 24px;
  border-radius: 16px;
  background: rgba(255,255,255,0.55);
  border: 1px solid rgba(20,20,20,0.06);
  box-shadow: 0 1px 0 rgba(255,255,255,0.9) inset, 0 8px 18px -10px rgba(20,20,20,0.12);
  display: flex; flex-direction: column; gap: 10px;
  min-height: 200px;
}
.process-num { font-family: var(--font-mono); font-size: 11px; font-weight: 700; letter-spacing: 0.14em; color: var(--muted); }
.process-glyph {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: grid; place-items: center;
  background: rgba(20,20,20,0.04);
  color: var(--ink);
  border: 1px solid rgba(20,20,20,0.08);
  margin-bottom: 4px;
}
.process-name { font-family: var(--font-display); font-size: 18px; letter-spacing: -0.01em; line-height: 1.15; color: var(--ink); font-weight: 400; }
.process-desc { color: var(--muted); font-size: 13px; line-height: 1.5; flex: 1; }
.process-meta {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--muted); padding-top: 8px; border-top: 1px dashed rgba(20,20,20,0.1);
}
.process-arrow {
  position: absolute; right: -22px; top: 38px;
  font-family: var(--font-mono); font-size: 18px;
  color: rgba(20,20,20,0.3); pointer-events: none; z-index: 2;
}
@media (max-width: 1100px) { .process-arrow { display: none; } }
.process-footer { margin-top: 28px; font-family: var(--font-mono); font-size: 13px; color: var(--muted); text-align: center; }
.process-footer strong { color: var(--ink); font-weight: 700; }

.process-cyan { background: rgba(155,232,238,0.18); border-color: rgba(28,182,200,0.25); }
.process-cyan .process-num { color: #0d8a96; }
.process-cyan .process-glyph { background: rgba(28,182,200,0.12); color: #0a5762; border-color: rgba(28,182,200,0.25); }

.process-gold { background: rgba(255,193,82,0.18); border-color: rgba(196,138,30,0.25); }
.process-gold .process-num { color: #8a5e0e; }
.process-gold .process-glyph { background: rgba(255,193,82,0.18); color: #6b4708; border-color: rgba(196,138,30,0.3); }

.process-lime .process-num { color: #6b8d12; }
.process-lime .process-glyph { background: rgba(198,255,58,0.22); color: #4a6b08; border-color: rgba(155,200,30,0.35); }

.process-dark {
  background: linear-gradient(180deg, #0e1417 0%, #0a1518 100%);
  border-color: rgba(28,182,200,0.3);
  color: #e6f4f6;
}
.process-dark .section-kicker { color: #1cb6c8; border-top-color: #1cb6c8; }
.process-dark .section-title { color: #f3fafb; }
.process-dark .process-blurb { color: #9ec3ca; }
.process-dark .process-step {
  background: rgba(28,182,200,0.06);
  border-color: rgba(28,182,200,0.18);
  box-shadow: 0 1px 0 rgba(255,255,255,0.06) inset, 0 8px 18px -10px rgba(0,0,0,0.4);
}
.process-dark .process-num { color: #1cb6c8; }
.process-dark .process-glyph { background: rgba(28,182,200,0.1); color: #1cb6c8; border-color: rgba(28,182,200,0.3); }
.process-dark .process-name { color: #f3fafb; }
.process-dark .process-desc { color: #9ec3ca; }
.process-dark .process-meta { color: #6e98a0; border-top-color: rgba(28,182,200,0.15); }
.process-dark .process-arrow { color: rgba(28,182,200,0.4); }
.process-dark .process-footer { color: #9ec3ca; }
.process-dark .process-footer strong { color: #1cb6c8; }

.family { background: transparent; }
.family-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--gap);
  margin-bottom: 56px;
}
@media (max-width: 1000px) { .family-grid { grid-template-columns: 1fr; } }
.family-card {
  border: 1px solid var(--line-soft);
  background: var(--glass-tint);
  backdrop-filter: blur(24px) saturate(140%);
  -webkit-backdrop-filter: blur(24px) saturate(140%);
  box-shadow: var(--shadow-rim), var(--shadow-amb);
  padding: 28px;
  display: flex; flex-direction: column;
  gap: 16px;
  position: relative;
  min-height: 380px;
  transition: transform .3s cubic-bezier(.2,.7,.2,1), box-shadow .3s;
  border-radius: 18px;
}
.family-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-rim), var(--shadow-key); }
.family-card-lime { background: #fafaf7; }
.family-card-cyan { background: #0a1518; color: #f1eee5; border-color: #0a1518; }
.family-card-cyan:hover { box-shadow: 8px 8px 0 #1cb6c8; }
.family-card-terminal { background: #0c100c; color: #d6e8d0; border-color: #0c100c; }
.family-card-terminal:hover { box-shadow: 8px 8px 0 #7dd957; }
.family-card-signal { background: #0b0c0e; color: #e8ebee; border-color: #0b0c0e; }
.family-card-signal:hover { box-shadow: 8px 8px 0 #00e585; }

.family-card-head { display: flex; justify-content: space-between; align-items: flex-start; }
.family-logo {
  width: 48px; height: 48px;
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-size: 22px;
  border: 1.5px solid currentColor;
  border-radius: 12px;
}
.family-logo-lime { background: var(--accent); color: var(--ink); border-color: var(--ink); }
.family-logo-cyan { background: #1cb6c8; color: #0a1518; border-color: #1cb6c8; font-size: 24px; }
.family-logo-terminal { background: transparent; color: #7dd957; border-color: #7dd957; font-family: var(--font-mono); font-size: 14px; }
.family-logo-signal { background: #00e585; color: #052e1c; border-color: #00e585; font-size: 22px; }

.family-status {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 10px;
  border: 1px solid currentColor;
  border-radius: 99px;
  opacity: 0.8;
}
.family-dot { width: 7px; height: 7px; border-radius: 50%; }
.family-dot-live { background: #23c95e; box-shadow: 0 0 8px #23c95e; animation: pulse 2s infinite; }
.family-dot-beta { background: #ffbd2e; }
@keyframes pulse { 50% { opacity: 0.4; } }

.family-card-body { flex: 1; }
.family-audience { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.6; margin-bottom: 8px; }
.family-name { font-family: var(--font-display); font-size: 36px; letter-spacing: -0.02em; margin: 0 0 8px; line-height: 1; }
.family-tag { font-size: 16px; font-weight: 600; margin: 0 0 12px; line-height: 1.3; }
.family-card-cyan .family-tag { color: #1cb6c8; }
.family-card-terminal .family-tag { color: #7dd957; font-family: var(--font-mono); font-size: 14px; }
.family-card-signal .family-tag { color: #00e585; }
.family-desc { font-size: 14px; opacity: 0.85; margin: 0; line-height: 1.5; }

.family-card-foot {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 16px;
  border-top: 1px dashed currentColor;
  font-family: var(--font-mono);
  font-size: 13px;
}
.family-price { font-weight: 700; }
.family-cta { text-decoration: underline; text-underline-offset: 3px; }
.family-stat {
  position: absolute;
  top: -1px; right: 24px;
  transform: translateY(-50%);
  font-family: var(--font-mono);
  font-size: 11px;
  background: var(--ink);
  color: var(--paper);
  padding: 4px 10px;
  border-radius: 99px;
  letter-spacing: 0.04em;
}
.family-card-cyan .family-stat { background: #1cb6c8; color: #0a1518; }
.family-card-terminal .family-stat { background: #7dd957; color: #0c100c; }
.family-card-signal .family-stat { background: #00e585; color: #052e1c; }

.family-diagram {
  max-width: 720px;
  margin: 0 auto;
  padding: 32px;
  border: 1.5px dashed var(--ink);
  background: var(--paper-2);
  font-family: var(--font-mono);
  font-size: 13px;
}
.fd-row { display: flex; justify-content: center; align-items: center; gap: 16px; margin-bottom: 12px; flex-wrap: wrap; }
.fd-row-split { gap: 32px; }
.fd-node {
  padding: 12px 20px;
  background: var(--paper);
  border: 1.5px solid var(--ink);
  border-radius: 8px;
  font-weight: 700;
}
.fd-node span { font-weight: 400; opacity: 0.6; }
.fd-node-engine { background: var(--ink); color: var(--paper); }
.fd-node-bot { background: var(--accent); }
.fd-node-fixer { background: #1cb6c8; }
.fd-node-cohost { background: #00e585; }
.fd-arrow { font-size: 20px; opacity: 0.5; }


.saas-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
@media (max-width: 1000px) { .saas-grid { grid-template-columns: 1fr; } }
.saas-card {
  border: 1px solid var(--line-soft);
  background: var(--glass-tint);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  box-shadow: var(--shadow-rim), var(--shadow-amb);
  padding: 32px;
  position: relative;
  min-height: 240px;
  display: flex; flex-direction: column;
  border-radius: 18px;
}
.saas-num { font-family: var(--font-mono); font-size: 12px; color: var(--muted); margin-bottom: 16px; }
.saas-name { font-family: var(--font-display); font-size: 32px; margin: 0 0 12px; letter-spacing: -0.01em; }
.saas-desc { color: var(--ink); font-size: 14px; flex: 1; }
.saas-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 24px; padding-top: 16px; border-top: 1px dashed var(--ink); font-family: var(--font-mono); font-size: 13px; } }
.saas-price { padding: 4px 10px; border: 1.5px solid var(--ink); border-radius: 99px; font-weight: 700; }
.saas-link { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

/* ============================================
   PDFS
   ============================================ */
.pdfs-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); }
@media (max-width: 1100px) { .pdfs-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .pdfs-grid { grid-template-columns: 1fr; } }
.pdf-card { display: flex; flex-direction: column; gap: 12px; }
.pdf-cover {
  aspect-ratio: 3/4;
  background: var(--ink);
  color: var(--paper);
  position: relative;
  padding: 24px;
  display: flex; flex-direction: column; justify-content: space-between;
  overflow: hidden;
  border: 1.5px solid var(--ink);
  box-shadow: 8px 8px 0 var(--ink);
  transition: transform .2s;
}
.pdf-card:hover .pdf-cover { transform: translate(-4px, -4px); box-shadow: 12px 12px 0 var(--ink); }
.pdf-cover-stripes {
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(45deg, transparent 0 12px, rgba(255,255,255,0.04) 12px 13px);
}
.pdf-cover-tag {
  align-self: start;
  font-family: var(--font-mono); font-size: 11px; font-weight: 700;
  padding: 4px 10px;
  background: var(--accent);
  color: var(--ink);
  border-radius: 99px;
  letter-spacing: 0.05em;
  position: relative;
}
.pdf-cover-title {
  font-family: var(--font-display);
  font-size: clamp(24px, 2vw, 32px);
  letter-spacing: -0.02em;
  line-height: 0.95;
  position: relative;
}
.pdf-cover-foot { font-family: var(--font-mono); font-size: 11px; color: rgba(250,250,247,0.5); letter-spacing: 0.08em; position: relative; }
.pdf-meta { display: flex; justify-content: space-between; font-family: var(--font-mono); font-size: 13px; padding: 0 4px; }
.pdf-price { font-weight: 700; }
.pdf-fmt { color: var(--muted); }

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials { background: var(--paper-3); max-width: none; }
.testi-grid {
  max-width: 1440px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap);
}
@media (max-width: 900px) { .testi-grid { grid-template-columns: 1fr; } }
.testi-card {
  background: var(--glass-tint);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-rim), var(--shadow-amb);
  border-radius: 18px;
  padding: 28px;
  display: flex; flex-direction: column;
  gap: 20px;
  min-height: 220px;
  transform: rotate(-0.4deg);
  transition: transform .3s cubic-bezier(.2,.7,.2,1), box-shadow .3s;
}
.testi-card:hover { transform: rotate(0deg) translateY(-4px); box-shadow: var(--shadow-rim), var(--shadow-key); }
.testi-card-1 { transform: rotate(0.5deg); background: var(--paper-2); }
.testi-card-2 { transform: rotate(-0.3deg); }
.testi-card-3 { transform: rotate(0.6deg); background: var(--paper); }
.testi-stars { color: var(--ink); font-size: 16px; letter-spacing: 2px; }
.testi-q { font-family: var(--font-display); font-size: 22px; line-height: 1.2; letter-spacing: -0.01em; flex: 1; margin: 0; }
.testi-who { display: flex; align-items: center; gap: 12px; padding-top: 16px; border-top: 1px dashed var(--ink); }
.testi-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--ink);
  background-image: repeating-linear-gradient(45deg, var(--ink) 0 4px, var(--accent) 4px 5px);
  border: 1.5px solid var(--ink);
}
.testi-name { font-weight: 700; font-size: 14px; }
.testi-role { font-family: var(--font-mono); font-size: 11px; color: var(--muted); }

/* ============================================
   AFFILIATE
   ============================================ */
.affiliate { background: var(--ink); color: var(--paper); max-width: none; }
.affiliate-grid {
  max-width: 1440px; margin: 0 auto;
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 56px;
  align-items: center;
}
@media (max-width: 900px) { .affiliate-grid { grid-template-columns: 1fr; } }
.affiliate .section-kicker { color: var(--accent); border-top-color: var(--accent); }
.affiliate .section-title { color: var(--paper); }
.affiliate .section-blurb, .affiliate p { color: #d8d8d0; }
.affiliate-list { list-style: none; padding: 0; margin: 24px 0 32px; }
.affiliate-list li { padding: 10px 0; border-bottom: 1px dashed #333; font-size: 15px; }
.affiliate-viz { padding: 32px; border: 1.5px solid var(--accent); position: relative; min-height: 360px; }
.hive-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 4px; }
.hex {
  aspect-ratio: 1;
  background: #2a2a2a;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}
.hex-on { background: var(--accent); }
.hive-stat { margin-top: 24px; text-align: center; }
.hive-stat-num { font-family: var(--font-display); font-size: 48px; letter-spacing: -0.02em; color: var(--accent); }
.hive-stat-label { font-family: var(--font-mono); font-size: 12px; color: #b8b8b0; }

/* ============================================
   STICKERS
   ============================================ */
.stickers { background: var(--paper); }
.sticker-rail {
  display: flex; gap: 24px;
  flex-wrap: wrap;
  padding: 24px 0;
  justify-content: center;
}
.sticker {
  width: 200px; height: 200px;
  border-radius: 50%;
  border: 1.5px solid var(--ink);
  display: grid; place-items: center;
  position: relative;
  box-shadow: 4px 4px 0 var(--ink);
  font-family: var(--font-display);
  background: white;
  transition: transform .2s;
}
.sticker:hover { transform: rotate(0) scale(1.05) !important; }
.sticker-name { font-size: 24px; letter-spacing: -0.01em; text-align: center; padding: 0 16px; }
.sticker-num { position: absolute; bottom: 16px; font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.08em; color: var(--ink); opacity: 0.6; }
.sticker-cta { display: flex; gap: 24px; align-items: center; justify-content: center; margin-top: 32px; flex-wrap: wrap; }
.sticker-meta { font-family: var(--font-mono); font-size: 12px; color: var(--muted); }

/* ============================================
   FOUNDER
   ============================================ */
.founder-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 56px; align-items: start; }
@media (max-width: 900px) { .founder-grid { grid-template-columns: 1fr; } }
.founder-photo {
  aspect-ratio: 4/5;
  background: var(--paper-2);
  border: 1.5px solid var(--ink);
  position: relative;
  overflow: hidden;
}
.placeholder-stripes {
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(45deg, var(--paper-3) 0 14px, var(--paper-2) 14px 28px);
}
.placeholder-label {
  position: absolute; bottom: 16px; left: 16px;
  font-family: var(--font-mono); font-size: 12px; color: var(--ink);
  background: var(--paper); padding: 4px 10px;
  border: 1px solid var(--ink);
}
.founder-title { font-family: var(--font-display); font-size: clamp(36px, 4vw, 56px); line-height: 1; letter-spacing: -0.02em; margin: 16px 0 24px; text-wrap: balance; }
.founder-body { font-size: 16px; margin-bottom: 16px; max-width: 60ch; }
.founder-sign { font-family: var(--font-mono); font-size: 13px; color: var(--muted); margin-top: 24px; }

/* ============================================
   FAQ
   ============================================ */
.faq-list { display: flex; flex-direction: column; border-top: 1.5px solid var(--ink); }
.faq-item { border-bottom: 1.5px solid var(--ink); cursor: pointer; padding: 20px 0; transition: background .15s; }
.faq-item:hover { background: var(--paper-2); padding-left: 12px; padding-right: 12px; }
.faq-q { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px; }
.faq-num { font-family: var(--font-mono); font-size: 13px; color: var(--muted); }
.faq-q-text { font-family: var(--font-display); font-size: clamp(18px, 1.6vw, 24px); letter-spacing: -0.01em; }
.faq-toggle { font-size: 22px; font-weight: 300; }
.faq-a { padding: 16px 0 8px; max-width: 70ch; padding-left: calc(13ch); font-size: 15px; line-height: 1.55; color: var(--ink); }
@media (max-width: 700px) { .faq-a { padding-left: 0; } }

/* ============================================
   NEWSLETTER
   ============================================ */
.newsletter { background: var(--accent); max-width: none; }
.newsletter-box { max-width: 800px; margin: 0 auto; text-align: center; }
.newsletter-eyebrow { display: inline-flex; gap: 8px; align-items: center; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; margin-bottom: 24px; }
.newsletter-title { font-family: var(--font-display); font-size: clamp(36px, 5vw, 64px); line-height: 0.95; letter-spacing: -0.02em; margin: 0 0 32px; }
.newsletter-form { display: grid; grid-template-columns: 1fr auto; gap: 12px; max-width: 520px; margin: 0 auto 16px; }
@media (max-width: 600px) { .newsletter-form { grid-template-columns: 1fr; } }
.newsletter-form input {
  border: 1.5px solid var(--ink);
  background: var(--paper);
  padding: 14px 18px;
  border-radius: 99px;
  font-size: 15px;
  outline: none;
}
.newsletter-form input:focus { box-shadow: 4px 4px 0 var(--ink); }
.newsletter-form .btn { background: var(--ink); color: var(--paper); }
.newsletter-meta { font-family: var(--font-mono); font-size: 12px; color: var(--ink); opacity: 0.7; }

/* ============================================
   FOOTER
   ============================================ */
.footer { background: var(--ink); color: var(--paper); padding-top: var(--pad); overflow: hidden; }
.footer-grid { max-width: 1440px; margin: 0 auto; padding: 0 var(--pad-x) 56px; display: grid; grid-template-columns: 1fr 2fr; gap: 48px; }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand { font-family: var(--font-display); font-size: 32px; letter-spacing: -0.01em; }
.footer-by { font-family: var(--font-mono); font-size: 12px; color: #888; font-weight: 400; margin-left: 8px; }
.footer-legal { font-family: var(--font-mono); font-size: 12px; color: #888; margin-top: 8px; }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.footer-h { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; color: #888; margin-bottom: 12px; }
.footer-cols a { display: block; padding: 6px 0; font-size: 14px; }
.footer-cols a:hover { color: var(--accent); }
.footer-mega {
  font-family: var(--font-display);
  font-size: clamp(96px, 18vw, 280px);
  line-height: 0.85;
  letter-spacing: -0.04em;
  text-align: center;
  margin-top: 24px;
  margin-bottom: -32px;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--accent);
  user-select: none;
}

/* ============================================
   CART FLASH
   ============================================ */
.cart-flash {
  position: fixed;
  bottom: 28px; left: 50%;
  transform: translateX(-50%);
  background: var(--paper);
  border: 1.5px solid var(--ink);
  padding: 12px 18px;
  border-radius: 99px;
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 13px;
  box-shadow: 4px 4px 0 var(--ink);
  z-index: 200;
  animation: pop .25s;
}
