/* ============================================================
   CLARIO — Apple × Pixel design system
   Helvetica-grotesque clarity + retro pixel brand accents
   ============================================================ */

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

:root {
  /* surfaces */
  --bg: #ffffff;
  --bg-soft: #f6f7f9;
  --bg-softer: #fbfbfc;
  --ink: #0b0d10;
  --ink-2: #545d6b;
  --ink-3: #939bab;
  --line: #e7e9ee;
  --line-2: #d8dbe2;

  /* brand */
  --navy: #173759;
  --navy-dark: #0f2740;
  --gold: #b0810b;
  --gold-light: #c9960f;
  --gold-soft: rgba(176,129,11,.10);
  --green: #1f9d57;

  /* pastel mesh stops */
  --mesh-peach: #ffe2cf;
  --mesh-lav: #e7d9fb;
  --mesh-peri: #cdd6ff;
  --mesh-cream: #fff2e4;

  /* type */
  --font-sans: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, sans-serif;
  --font-pixel: 'Press Start 2P', monospace;

  /* shape */
  --r-card: 18px;
  --r-panel: 26px;
  --r-sm: 12px;

  /* shadow */
  --shadow-sm: 0 1px 2px rgba(11,13,16,.04), 0 6px 18px rgba(11,13,16,.05);
  --shadow-md: 0 2px 6px rgba(11,13,16,.05), 0 14px 40px rgba(11,13,16,.07);
  --shadow-lg: 0 8px 24px rgba(11,13,16,.08), 0 30px 70px rgba(11,13,16,.10);

  --maxw: 1200px;
}

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
  letter-spacing: -0.01em;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
section { position: relative; }

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 40px);
}
.container-wide { max-width: 1360px; }

/* ===== MESH GRADIENT ===== */
.mesh {
  background:
    radial-gradient(60% 70% at 6% 18%,  var(--mesh-peach) 0%, transparent 60%),
    radial-gradient(55% 60% at 88% 6%,  var(--mesh-lav)   0%, transparent 58%),
    radial-gradient(70% 80% at 96% 80%, var(--mesh-peri)  0%, transparent 62%),
    radial-gradient(60% 60% at 24% 104%,var(--mesh-cream) 0%, transparent 58%),
    radial-gradient(40% 40% at 50% 40%, rgba(255,255,255,.55) 0%, transparent 70%),
    #f1ecfa;
}

/* ===== TYPE HELPERS ===== */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-pixel);
  font-size: 9px;
  line-height: 1;
  letter-spacing: 2px;
  color: var(--gold);
  text-transform: uppercase;
}
.eyebrow::before {
  content: '>';
  color: var(--green);
  font-size: 9px;
}
.eyebrow.center { justify-content: center; }

.display {
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.0;
}

.h-sec {
  font-size: clamp(30px, 4.6vw, 56px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.04;
  color: var(--ink);
  text-wrap: balance;
}
.sub-sec {
  font-size: clamp(16px, 1.5vw, 19px);
  color: var(--ink-2);
  line-height: 1.6;
  letter-spacing: -0.01em;
  max-width: 620px;
}

.pixel-num { font-family: var(--font-pixel); }
.gold { color: var(--gold); }

/* section heading block */
.sec-head { max-width: 720px; }
.sec-head.center { margin: 0 auto; text-align: center; }
.sec-head.center .sub-sec { margin-left: auto; margin-right: auto; }
.sec-head .eyebrow { margin-bottom: 18px; }
.sec-head .h-sec { margin-bottom: 16px; }

.section { padding: clamp(72px, 9vw, 130px) 0; }
.section-tight { padding: clamp(52px, 6vw, 88px) 0; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 15px 26px;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .25s cubic-bezier(.2,.7,.3,1), box-shadow .25s ease, background .25s ease, color .25s ease, border-color .25s ease;
  white-space: nowrap;
}
.btn .arr { transition: transform .25s ease; display: inline-block; }
.btn:hover .arr { transform: translateX(3px); }

.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #20242b; transform: translateY(-2px); box-shadow: var(--shadow-md); }

.btn-gold { background: var(--gold); color: #fff; box-shadow: 0 6px 18px rgba(176,129,11,.22); }
.btn-gold:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: 0 10px 26px rgba(176,129,11,.32); }

.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--ink); transform: translateY(-2px); }

.btn-white { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); }
.btn-white:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }

.btn-lg { padding: 17px 32px; font-size: 16px; }
.btn-block { width: 100%; }

/* pixel-corner accent (kept, used sparingly) */
.pxc { position: absolute; width: 14px; height: 14px; opacity: .5; pointer-events: none; }
.pxc.tl { top: -1px; left: -1px; border-top: 2px solid var(--gold); border-left: 2px solid var(--gold); }
.pxc.tr { top: -1px; right: -1px; border-top: 2px solid var(--gold); border-right: 2px solid var(--gold); }
.pxc.bl { bottom: -1px; left: -1px; border-bottom: 2px solid var(--gold); border-left: 2px solid var(--gold); }
.pxc.br { bottom: -1px; right: -1px; border-bottom: 2px solid var(--gold); border-right: 2px solid var(--gold); }

/* ===== REVEAL ===== */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.3,1); }
.reveal.visible { opacity: 1; transform: none; }
.rd-1 { transition-delay: .07s; } .rd-2 { transition-delay: .14s; }
.rd-3 { transition-delay: .21s; } .rd-4 { transition-delay: .28s; }
.rd-5 { transition-delay: .35s; }
@media (prefers-reduced-motion: reduce){ .reveal{opacity:1;transform:none;transition:none;} }

/* ===== NAV ===== */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: padding .35s ease;
}
nav .nav-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 10px clamp(14px,2vw,18px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: background .35s ease, box-shadow .35s ease, border-color .35s ease;
}
nav.scrolled { padding: 10px 18px; }
nav.scrolled .nav-inner {
  background: rgba(255,255,255,.72);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  border-color: var(--line);
  box-shadow: var(--shadow-sm);
}
.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand img { width: 26px; height: 26px; }
.brand .brand-word { font-family: var(--font-pixel); font-size: 14px; letter-spacing: 1px; color: var(--navy); }
.nav-links { display: flex; align-items: center; gap: 30px; list-style: none; }
.nav-links > li > a { font-size: 14.5px; font-weight: 500; color: var(--ink-2); transition: color .2s ease; }
.nav-links > li > a:hover { color: var(--ink); }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-cta .btn { padding: 11px 20px; font-size: 13.5px; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.nav-toggle span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; }

/* ===== HERO ===== */
.hero {
  padding: clamp(120px, 16vh, 180px) 0 clamp(40px, 6vw, 72px);
  border-radius: 0 0 var(--r-panel) var(--r-panel);
  overflow: hidden;
  position: relative;
}
.hero-inner { text-align: center; max-width: 1080px; margin: 0 auto; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 8px 16px; border-radius: 999px;
  background: rgba(255,255,255,.6);
  border: 1px solid rgba(255,255,255,.8);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  font-family: var(--font-pixel); font-size: 11px; letter-spacing: 2px; color: var(--navy);
  box-shadow: var(--shadow-sm);
  margin-bottom: 28px;
}
.hero-badge .dot { width: 7px; height: 7px; background: var(--green); border-radius: 0; box-shadow: 0 0 0 3px rgba(31,157,87,.18); animation: blink 2s steps(1) infinite; }
@keyframes blink { 0%,70%{opacity:1;} 71%,100%{opacity:.25;} }

.hero h1 {
  font-size: clamp(42px, 7vw, 88px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.98;
  color: var(--ink);
  margin-bottom: 26px;
  text-wrap: balance;
}
.hero h1 .px {
  font-family: var(--font-pixel);
  font-size: clamp(24px, 4.2vw, 52px);
  color: var(--gold);
  letter-spacing: -2px;
  display: inline-block;
  line-height: 1.3;
  margin: 0 .12em;
  vertical-align: 1px;
}
.hero-sub {
  font-size: clamp(17px, 1.7vw, 21px);
  color: var(--ink-2);
  max-width: 640px;
  margin: 0 auto 38px;
  line-height: 1.55;
}
.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ===== PARTNER STRIP (navy, white logos) ===== */
.partners { background: var(--navy-dark); padding: 40px 0; }
.partners .lead {
  text-align: center; font-family: var(--font-pixel); font-size: 9px;
  letter-spacing: 2.5px; color: rgba(255,255,255,.5); margin-bottom: 26px;
}
.partners-row {
  display: flex; align-items: center; justify-content: center;
  gap: clamp(28px, 5vw, 64px); flex-wrap: wrap;
}
.partners-row img { height: 26px; width: auto; opacity: .72; filter: brightness(0) invert(1); transition: opacity .3s ease; }
.partners-row img:hover { opacity: 1; }

/* ===== METRICS ===== */
.metrics-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.metric {
  border: 1px solid var(--line); border-radius: var(--r-card);
  background: var(--bg-softer);
  padding: 34px 30px; text-align: center; position: relative;
}
.metric .label { font-family: var(--font-pixel); font-size: 8px; letter-spacing: 1.5px; color: var(--ink-3); text-transform: uppercase; margin-bottom: 16px; }
.metric .val { font-size: clamp(38px, 5vw, 54px); font-weight: 800; letter-spacing: -0.03em; line-height: 1; color: var(--ink); margin-bottom: 12px; }
.metric .delta { display: inline-flex; align-items: center; gap: 5px; font-family: var(--font-pixel); font-size: 9px; color: var(--green); }

/* ===== STRUGGLES ===== */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.struggle {
  position: relative; overflow: hidden;
  border: 1px solid var(--line); border-radius: var(--r-card);
  background: var(--bg-softer); padding: 32px 30px;
  transition: background .4s ease, border-color .4s ease, transform .4s ease, box-shadow .4s ease;
}
.struggle:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--line-2); }
.struggle .ico {
  width: 46px; height: 46px; border-radius: 11px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-pixel); font-size: 14px; color: var(--gold);
  background: var(--gold-soft); border: 1px solid rgba(176,129,11,.14);
  margin-bottom: 20px;
}
.struggle h3 { font-size: 18px; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 9px; line-height: 1.3; }
.struggle p { font-size: 15px; color: var(--ink-2); line-height: 1.6; }
.struggle .req {
  margin-top: 18px; display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-pixel); font-size: 9px; color: var(--navy);
  opacity: 0; transform: translateY(6px); transition: opacity .35s ease, transform .35s ease;
}
.struggle:hover .req { opacity: 1; transform: none; }
.struggle .req::after { content: '→'; }

/* ===== STRATEGY ===== */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 72px); align-items: center; }
.terminal {
  background: #0e1722; border-radius: var(--r-card); overflow: hidden;
  border: 1px solid #1c2a3a; box-shadow: var(--shadow-lg);
}
.terminal-bar { display: flex; gap: 8px; padding: 14px 16px; background: rgba(255,255,255,.04); border-bottom: 1px solid #1c2a3a; }
.tdot { width: 11px; height: 11px; border-radius: 50%; }
.tdot.r{background:#ff5f57;} .tdot.y{background:#ffbd2e;} .tdot.g{background:#28c840;}
.terminal-body { padding: 26px; font-family: 'SF Mono','Fira Code',monospace; font-size: 13.5px; line-height: 2.05; color: #8fa3b8; }
.terminal-body .cmd { color: #39ff14; } .terminal-body .ac { color: #e0ac1a; } .terminal-body .cm { color: #5a6f86; }
.strategy-text h3 { font-size: clamp(24px,2.6vw,32px); font-weight: 800; letter-spacing:-0.025em; line-height: 1.2; margin-bottom: 18px; }
.strategy-text p { color: var(--ink-2); font-size: 17px; line-height: 1.65; margin-bottom: 14px; }
.strategy-text .hl { color: var(--gold); font-weight: 600; }

/* ===== RESULTS ===== */
.stats-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; margin-bottom: 44px; }
.stat {
  position: relative; text-align: center; padding: 34px 26px;
  border: 1px solid var(--line); border-radius: var(--r-card); background: var(--bg);
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}
.stat:hover { border-color: rgba(176,129,11,.4); box-shadow: var(--shadow-md); }
.stat .n { display: block; font-family: var(--font-pixel); font-size: clamp(22px,3vw,32px); color: var(--gold); margin: 6px 0 10px; }
.stat .t { font-size: 14px; color: var(--ink-2); font-weight: 500; }
.stat .avg { display: block; font-size: 12px; color: var(--ink-3); margin-top: 6px; }

.videos-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.vcard { border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden; background: var(--bg); box-shadow: var(--shadow-sm); }
.vwrap { position: relative; }
.vwrap--wistia wistia-player { display: block; width: 100%; }
.vwrap--ph { position: relative; padding-top: 56.25%; }
.vph {
  position: absolute; inset: 0; background: var(--navy-dark);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
}
.vph .play { font-family: var(--font-pixel); font-size: 22px; color: var(--gold); width: 54px; height: 54px; border: 2px solid var(--gold); border-radius: 12px; display: flex; align-items: center; justify-content: center; }
.vph .lbl { font-family: var(--font-pixel); font-size: 8px; letter-spacing: 2px; color: rgba(255,255,255,.4); }
.vmeta { padding: 16px 20px; }
.vmeta .nm { font-weight: 700; font-size: 15px; letter-spacing: -0.01em; }
.vmeta .rl { font-size: 13px; color: var(--ink-3); margin-top: 2px; }

/* ===== NOTHING WORKED ===== */
.nw { border: 1px solid var(--line); border-radius: var(--r-card); background: var(--bg-softer); padding: 34px 30px; }
.nw h3 { font-family: var(--font-pixel); font-size: 12px; color: var(--gold); letter-spacing: 2px; margin-bottom: 16px; }
.nw p { font-size: 16px; color: var(--ink-2); line-height: 1.65; }

/* ===== COMPARISON ===== */
.cmp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.cmp {
  position: relative; border: 1px solid var(--line); border-radius: var(--r-panel);
  background: var(--bg); padding: 44px 40px; display: flex; flex-direction: column;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.cmp:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.cmp::before { content:''; position: absolute; top: 0; left: 28px; right: 28px; height: 4px; border-radius: 0 0 4px 4px; background: var(--line-2); }
.cmp--clario::before { background: linear-gradient(90deg, var(--navy), var(--gold)); }
.cmp--clario { border-color: var(--navy); box-shadow: 0 10px 40px rgba(23,55,89,.10); }
.cmp-title { display: flex; align-items: center; gap: 12px; margin-bottom: 28px; }
.cmp-title img { width: 32px; height: 32px; object-fit: contain; }
.cmp-title h3 { font-family: var(--font-pixel); font-size: 14px; letter-spacing: .5px; }
.cmp--other .cmp-title h3 { color: var(--ink-3); }
.cmp ul { list-style: none; display: flex; flex-direction: column; gap: 16px; flex: 1; margin-bottom: 30px; }
.cmp li { display: flex; gap: 13px; font-size: 15.5px; line-height: 1.5; color: var(--ink-2); align-items: flex-start; }
.cmp--clario li { color: var(--ink); }
.cmp li .mk { flex-shrink: 0; width: 24px; height: 24px; border-radius: 7px; display: flex; align-items: center; justify-content: center; font-family: var(--font-pixel); font-size: 10px; margin-top: 1px; }
.cmp--other .mk { color: var(--ink-3); background: var(--bg-soft); border: 1px solid var(--line); }
.cmp--clario .mk { color: var(--green); background: rgba(31,157,87,.10); border: 1px solid rgba(31,157,87,.22); }

/* ===== PROCESS ===== */
.process-steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 30px; position: relative; }
.process-line { position: absolute; height: 2px; background: repeating-linear-gradient(90deg, var(--gold) 0, var(--gold) 7px, transparent 7px, transparent 15px); opacity: .3; pointer-events: none; z-index: 1; }
.pac-progress { position: absolute; height: 2px; width: 0; background: var(--gold-light); box-shadow: 0 0 8px rgba(176,129,11,.4); pointer-events: none; z-index: 1; }
.pstep { text-align: center; padding: 36px 22px; position: relative; z-index: 2; }
.pstep .n { width: 78px; height: 78px; margin: 0 auto 22px; display: flex; align-items: center; justify-content: center; font-family: var(--font-pixel); font-size: 18px; color: var(--gold); border: 2px solid var(--line-2); border-radius: 16px; background: var(--bg); transition: all .4s ease; }
.pstep:hover .n { border-color: var(--gold); box-shadow: 0 0 28px rgba(176,129,11,.18); transform: scale(1.06); }
.pstep h3 { font-size: 21px; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 10px; }
.pstep p { font-size: 15px; color: var(--ink-2); line-height: 1.6; }
.pac-track { position: absolute; height: 24px; z-index: 3; pointer-events: none; }
.pac { position: absolute; top: 0; left: -12px; width: 24px; height: 24px; opacity: 0; transition: opacity .3s ease; }
.pac-track.active .pac { opacity: 1; }
@keyframes chomp { 0%,100%{clip-path:polygon(100% 0,100% 50%,100% 100%,0 100%,0 0);} 50%{clip-path:polygon(100% 0,50% 50%,100% 100%,0 100%,0 0);} }
.pac-body { width: 24px; height: 24px; background: var(--gold-light); border-radius: 50%; }
.pac-track.active .pac-body { animation: chomp .4s ease-in-out infinite; }
.pac-start { position: absolute; font-family: var(--font-pixel); font-size: 7px; color: var(--gold); letter-spacing: 1px; opacity: 0; transition: opacity .4s ease; white-space: nowrap; pointer-events: none; z-index: 3; }
.pac-start.show { opacity: 1; }
.mstone { position: absolute; padding: 5px 12px; border-radius: 999px; font-family: var(--font-pixel); font-size: 8px; letter-spacing: .5px; white-space: nowrap; opacity: 0; pointer-events: none; z-index: 3; transition: opacity .5s ease, transform .5s ease; }
.mstone.show { opacity: 1; transform: translateX(-50%) translateY(0) !important; }
.mstone.f { color: var(--green); background: rgba(31,157,87,.10); border: 1px solid rgba(31,157,87,.2); }
.mstone.r { color: var(--gold-light); background: rgba(176,129,11,.10); border: 1px solid rgba(176,129,11,.2); }
@keyframes sparkle { 0%{opacity:1;box-shadow:0 0 0 0 rgba(201,150,15,.6);} 100%{opacity:0;box-shadow:0 0 0 12px rgba(201,150,15,0);} }
.spark { position: absolute; width: 12px; height: 12px; border-radius: 50%; background: var(--gold-light); opacity: 0; pointer-events: none; z-index: 3; }
.spark.pop { animation: sparkle .6s ease-out forwards; }

/* ===== TEAM ===== */
.team-block { border-radius: var(--r-panel); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-md); }
.team-banner {
  position: relative; min-height: 380px; display: flex; align-items: center;
  background-image: url('assets/clario-team-banner.png');
  background-size: cover; background-position: center;
  image-rendering: pixelated;
}
.team-banner::before { content:''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(15,39,64,.82), rgba(15,39,64,.5)); }
.team-banner-content { position: relative; z-index: 2; padding: 56px clamp(28px,4vw,52px); max-width: 600px; }
.team-banner-content h2 { font-size: clamp(28px,4vw,44px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; color: #fff; margin-bottom: 14px; }
.team-banner-content p { font-size: 17px; color: rgba(255,255,255,.78); line-height: 1.6; }
.team-grid { display: grid; grid-template-columns: repeat(5,1fr); background: var(--bg); }
.team-role { text-align: center; padding: 32px 16px; }
.team-role + .team-role { border-left: 1px solid var(--line); }
.team-role img { width: 78px; height: 78px; margin: 0 auto 14px; object-fit: contain; image-rendering: pixelated; }
.team-role h3 { font-size: 15px; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 4px; }
.team-role p { font-size: 12.5px; color: var(--ink-3); }

/* ===== CASE STUDIES ===== */
.cs { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px,5vw,60px); align-items: center; }
.cs + .cs { margin-top: clamp(56px, 7vw, 96px); }
.cs--rev { direction: rtl; }
.cs--rev > * { direction: ltr; }
.cs-media { position: relative; border-radius: var(--r-card); overflow: hidden; border: 1px solid var(--line); background: var(--bg); box-shadow: var(--shadow-md); }
.cs-media img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.cs-badge { position: absolute; top: 14px; left: 14px; z-index: 2; font-family: var(--font-pixel); font-size: 8px; letter-spacing: 1.5px; color: var(--navy-dark); background: rgba(255,255,255,.92); backdrop-filter: blur(6px); padding: 6px 11px; border-radius: 8px; box-shadow: var(--shadow-sm); }
.cs-text .pill { display: inline-flex; font-family: var(--font-pixel); font-size: 9px; letter-spacing: 1.5px; color: var(--gold); background: var(--gold-soft); border: 1px solid rgba(176,129,11,.16); padding: 7px 14px; border-radius: 999px; margin-bottom: 18px; }
.cs-text h3 { font-size: clamp(22px,2.4vw,28px); font-weight: 800; letter-spacing: -0.025em; line-height: 1.25; margin-bottom: 16px; }
.cs-text p { font-size: 16px; color: var(--ink-2); line-height: 1.7; margin-bottom: 12px; }
.cs-text p:last-of-type { margin-bottom: 26px; }

/* ===== PRICING ===== */
.pricing-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; align-items: start; }
.price { position: relative; border: 1px solid var(--line); border-radius: var(--r-panel); background: var(--bg); display: flex; flex-direction: column; overflow: hidden; transition: box-shadow .3s ease, transform .3s ease, border-color .3s ease; }
.price:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.price.feat { border-color: var(--gold); box-shadow: 0 10px 40px rgba(176,129,11,.12); }
.price-bar { position: absolute; top: 0; left: 0; right: 0; height: 4px; }
.price[data-plan="social"] .price-bar { background: var(--navy); }
.price[data-plan="audience"] .price-bar { background: linear-gradient(90deg, var(--navy), var(--gold)); }
.price[data-plan="ultimate"] .price-bar { background: var(--gold); }
.price-wrap { position: relative; }
.price-badge { position: absolute; top: 0; left: 50%; transform: translate(-50%,-50%); z-index: 2; font-family: var(--font-pixel); font-size: 9px; color: #fff; background: var(--navy-dark); padding: 7px 16px; border-radius: 999px; letter-spacing: 1px; white-space: nowrap; }
.price-head { padding: 34px 32px 22px; }
.price-head h3 { font-size: 23px; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 6px; }
.price-chan { font-family: var(--font-pixel); font-size: 9px; color: var(--ink-3); letter-spacing: 1px; margin-bottom: 14px; }
.price-desc { font-size: 14.5px; color: var(--ink-2); line-height: 1.6; }
.price-body { padding: 0 32px 26px; flex-grow: 1; }
.price-div { height: 1px; background: var(--line); margin-bottom: 20px; }
.price-incl { font-size: 13px; font-weight: 600; color: var(--ink-2); margin-bottom: 14px; }
.price-feat { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.price-feat li { font-size: 14.5px; color: var(--ink-2); display: flex; gap: 10px; align-items: flex-start; }
.price-feat li::before { content: '>'; font-family: var(--font-pixel); font-size: 8px; color: var(--green); margin-top: 4px; flex-shrink: 0; }
.price-foot { padding: 0 32px 32px; margin-top: auto; }
.pricing-note { margin-top: 36px; text-align: center; font-size: 16px; color: var(--ink-2); }
.pricing-note a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }

/* ===== WORTH IT ===== */
.worth-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; max-width: 1100px; margin: 0 auto 28px; }
.worth { border: 1px solid var(--line); border-radius: var(--r-card); background: var(--bg-softer); padding: 28px 28px; display: flex; flex-direction: column; }
.worth h3 { font-size: 20px; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 12px; }
.worth .intro { font-size: 14.5px; color: var(--ink-2); min-height: 46px; line-height: 1.5; }
.worth .wdiv { height: 1px; background: var(--line); margin: 14px 0; }
.worth ul { list-style: none; flex: 1; }
.worth ul li { font-size: 14px; color: var(--ink-2); line-height: 1.7; padding: 3px 0 3px 17px; position: relative; }
.worth ul li::before { content: '•'; position: absolute; left: 0; color: var(--gold); }
.worth .hlline { font-size: 14px; font-weight: 600; color: var(--ink); margin-top: 6px; }
.worth-foot { text-align: center; font-size: 15px; color: var(--ink-3); max-width: 580px; margin: 0 auto; line-height: 1.7; }

/* ===== FOUNDERS ===== */
.founders-layout { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(36px,5vw,60px); align-items: center; }
.founders-portraits { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.founder-fig { display: flex; flex-direction: column; }
.founder-portrait { position: relative; width: 100%; aspect-ratio: 3/4; cursor: pointer; overflow: hidden; border-radius: var(--r-card); border: 1px solid var(--line); background: var(--bg-soft); }
.founder-portrait img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.founder-portrait .portrait-pixel { image-rendering: pixelated; z-index: 1; }
.founder-portrait .portrait-real { z-index: 2; visibility: hidden; }
.reveal-grid { position: absolute; inset: 0; z-index: 3; display: grid; grid-template-columns: repeat(6,1fr); grid-template-rows: repeat(6,1fr); pointer-events: none; }
.reveal-tile { background-size: 600% 600%; opacity: 1; }
.founder-portrait.revealing .reveal-tile { animation: tileOut .14s steps(4) forwards; }
@keyframes tileOut { from{opacity:1;} to{opacity:0;} }
.founder-portrait.revealed .reveal-tile { opacity: 0; }
.founder-portrait.unrevealing .reveal-tile { animation: tileIn .12s steps(4) forwards; }
@keyframes tileIn { from{opacity:0;} to{opacity:1;} }
.founder-portrait.unrevealed .reveal-tile { opacity: 1; }
@media (prefers-reduced-motion: reduce){ .founder-portrait.revealing .reveal-tile,.founder-portrait.unrevealing .reveal-tile{animation:none;} .founder-portrait.revealed .reveal-tile{opacity:0;} .founder-portrait.unrevealed .reveal-tile{opacity:1;} }
.founder-info { padding-top: 14px; }
.founder-info h3 { font-size: 18px; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 2px; }
.founder-info .role { font-family: var(--font-pixel); font-size: 11px; color: var(--gold-light); letter-spacing: .5px; }
.founders-text p.fb { font-size: 16px; color: var(--ink-2); line-height: 1.75; margin-top: 18px; }

/* ===== FAQ ===== */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item { border: 1px solid var(--line); border-radius: var(--r-card); margin-bottom: 12px; background: var(--bg); overflow: hidden; transition: border-color .3s ease, box-shadow .3s ease; }
.faq-item:hover { border-color: var(--line-2); }
.faq-item.active { box-shadow: var(--shadow-sm); border-color: var(--line-2); }
.faq-q { width: 100%; padding: 22px 26px; display: flex; align-items: center; justify-content: space-between; background: none; border: none; color: var(--ink); font-size: 16.5px; font-weight: 600; letter-spacing: -0.01em; cursor: pointer; text-align: left; font-family: var(--font-sans); }
.faq-q .ic { font-family: var(--font-pixel); font-size: 11px; color: var(--gold); transition: transform .3s ease; flex-shrink: 0; margin-left: 16px; }
.faq-item.active .faq-q .ic { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .4s ease; }
.faq-item.active .faq-a { max-height: 320px; }
.faq-a-in { padding: 0 26px 24px; font-size: 15.5px; color: var(--ink-2); line-height: 1.7; }

/* ===== CTA ===== */
.cta-final { border-radius: var(--r-panel); overflow: hidden; text-align: center; padding: clamp(64px,9vw,120px) 0; }
.cta-final .h-sec { max-width: 720px; margin: 0 auto 16px; }
.cta-final p { font-size: 18px; color: var(--ink-2); max-width: 620px; margin: 0 auto 36px; }

/* ===== FOOTER ===== */
.footer { position: relative; overflow: hidden; padding-top: clamp(60px,8vw,100px); }
.footer-word { font-family: var(--font-pixel); font-size: clamp(40px, 11vw, 150px); color: var(--navy-dark); letter-spacing: -2px; line-height: 1; text-align: center; opacity: .9; margin: clamp(20px,4vw,48px) 0 clamp(36px,5vw,64px); user-select: none; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 36px; padding-bottom: 48px; }
.footer-brand .brand { margin-bottom: 14px; }
.footer-brand p { font-size: 14.5px; color: var(--ink-2); line-height: 1.65; max-width: 300px; }
.newsletter { display: flex; gap: 8px; margin-top: 20px; max-width: 360px; }
.newsletter input { flex: 1; padding: 13px 18px; border-radius: 999px; background: rgba(255,255,255,.6); border: 1px solid var(--line-2); color: var(--ink); font-size: 14px; font-family: var(--font-sans); outline: none; }
.newsletter input:focus { border-color: var(--gold); }
.footer-cta { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; margin-top: 22px; }
.footer-cta .fc-status { display: inline-flex; align-items: center; gap: 9px; font-family: var(--font-pixel); font-size: 8px; letter-spacing: 1px; color: var(--ink-2); text-transform: uppercase; }
.footer-cta .fc-status .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(31,157,87,.14); animation: fcPulse 2.4s ease-in-out infinite; }
@keyframes fcPulse { 0%,100% { box-shadow: 0 0 0 4px rgba(31,157,87,.14); } 50% { box-shadow: 0 0 0 7px rgba(31,157,87,.05); } }
.footer-col h4 { font-family: var(--font-pixel); font-size: 9px; color: var(--gold); letter-spacing: 1.5px; margin-bottom: 18px; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 11px; }
.footer-col a { font-size: 14.5px; color: var(--ink-2); transition: color .2s ease; }
.footer-col a:hover { color: var(--ink); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; padding: 28px 0; border-top: 1px solid rgba(11,13,16,.08); }
.footer-bottom p { font-size: 13px; color: var(--ink-3); }
.footer-social { display: flex; gap: 12px; }
.footer-social a { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line-2); display: flex; align-items: center; justify-content: center; font-size: 14px; color: var(--ink-2); transition: all .25s ease; }
.footer-social a:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }

/* ===== LEGAL MODAL ===== */
.legal-modal { display: none; position: fixed; inset: 0; z-index: 9999; align-items: center; justify-content: center; }
.legal-modal.active { display: flex; }
.legal-overlay { position: absolute; inset: 0; background: rgba(11,13,16,.55); backdrop-filter: blur(4px); }
.legal-box { position: relative; background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-card); max-width: 720px; width: 90%; max-height: 80vh; overflow-y: auto; padding: 46px; z-index: 1; box-shadow: var(--shadow-lg); }
.legal-box h2 { font-size: 25px; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 4px; }
.legal-meta { font-size: 12px; color: var(--ink-3); margin-bottom: 30px; }
.legal-box h3 { font-size: 13px; font-weight: 700; margin: 24px 0 8px; text-transform: uppercase; letter-spacing: .05em; }
.legal-box p, .legal-box li { font-size: 14px; color: var(--ink-2); line-height: 1.75; }
.legal-box ul { padding-left: 20px; margin: 8px 0; }
.legal-box a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
.legal-close { position: absolute; top: 16px; right: 18px; background: none; border: none; font-size: 18px; color: var(--ink-3); cursor: pointer; padding: 4px 8px; }
.legal-close:hover { color: var(--ink); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .split, .founders-layout { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; }
  .cmp-grid { grid-template-columns: 1fr; max-width: 540px; margin-inline: auto; }
  .cs, .cs--rev { grid-template-columns: 1fr; direction: ltr; gap: 30px; }
  .cs-text { text-align: center; align-items: center; display: flex; flex-direction: column; }
  .stats-3, .worth-grid { grid-template-columns: 1fr; }
  .cards-3 { grid-template-columns: repeat(2,1fr); }
  .team-grid { grid-template-columns: repeat(3,1fr); }
  .team-role:nth-child(4) { border-left: none; }
  .founders-text { text-align: center; }
  .founders-text .eyebrow { justify-content: center; }
  .founders-text .sub-sec { margin-inline: auto; }
}
@media (max-width: 760px) {
  .nav-links { display: none; }
  .nav-links.open { display: flex; flex-direction: column; position: absolute; top: calc(100% + 8px); left: 14px; right: 14px; background: rgba(255,255,255,.96); backdrop-filter: blur(18px); border: 1px solid var(--line); border-radius: var(--r-card); padding: 22px; gap: 18px; box-shadow: var(--shadow-md); }
  .nav-toggle { display: flex; }
  .nav-cta .btn-ghost { display: none; }
  .metrics-grid, .cards-3, .videos-3, .process-steps, .footer-grid { grid-template-columns: 1fr; }
  .process-line, .pac-track, .pac-progress, .pac-start, .mstone, .spark { display: none; }
  .team-grid { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .vcard { max-width: 460px; margin: 0 auto; }
}
@media (max-width: 480px) {
  .team-grid { grid-template-columns: 1fr 1fr; }
  .team-role + .team-role { border-left: none; }
  .team-role { border-top: 1px solid var(--line); }
  .team-role:nth-child(even) { border-left: 1px solid var(--line); }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
  .hero h1 .px { display: block; margin: .12em 0; }
}
