/* ============================================================
   CLIENTIER MEDIA — style.css  (subpages: book · privacy · terms)
   Cool paper · deep navy ink · brand-blue accent
   Space Grotesk display · Instrument Serif italic accents · Plex Mono labels
   ============================================================ */

:root {
  --paper: #F5F7FA;
  --paper-2: #EAEFF6;
  --paper-3: #E2E9F3;
  --ink: #0D1526;
  --ink-70: rgba(13, 21, 38, .7);
  --ink-60: rgba(13, 21, 38, .6);
  --ink-40: rgba(13, 21, 38, .4);
  --ink-25: rgba(13, 21, 38, .25);
  --line: rgba(13, 21, 38, .12);
  --line-strong: rgba(13, 21, 38, .3);
  --accent: #2557EB;
  --accent-deep: #1A3FB8;
  --accent-soft: rgba(37, 87, 235, .08);
  --paper-on-ink: #F5F7FA;
  --ink-on-paper: #0D1526;
  --shadow-card: 0 24px 60px -28px rgba(13, 21, 38, .22);
  --shadow-lift: 0 32px 70px -30px rgba(13, 21, 38, .3);
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --font-display: "Space Grotesk", "Inter", -apple-system, sans-serif;
  --font-body: "Inter", -apple-system, "Helvetica Neue", sans-serif;
  --font-serif: "Instrument Serif", Georgia, serif;
  --font-mono: "IBM Plex Mono", "SFMono-Regular", Menlo, monospace;
  --wrap: 1200px;
  --wrap-narrow: 860px;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

::selection { background: var(--ink); color: var(--paper); }

a { color: inherit; text-decoration: none; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 48px);
}
.wrap--narrow { max-width: var(--wrap-narrow); }

/* ---------- typography ---------- */

.eyebrow {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::before {
  content: "";
  width: 22px; height: 1px;
  background: var(--accent);
  display: inline-block;
}
.eyebrow--light { color: var(--accent); }

.h2 {
  font-family: var(--font-display);
  font-size: clamp(34px, 4.6vw, 58px);
  font-weight: 600;
  letter-spacing: -.032em;
  line-height: 1.06;
  margin-bottom: 26px;
}
.h2--light { color: var(--paper-on-ink); }

.serif {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -.01em;
  font-size: 1.06em;
}

.lead {
  font-size: clamp(17px, 1.6vw, 19px);
  color: var(--ink-60);
  max-width: 62ch;
  margin-bottom: 18px;
}

.section { padding: clamp(90px, 11vw, 150px) 0; position: relative; }

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  white-space: nowrap;
  font-size: 15px;
  font-weight: 550;
  letter-spacing: -.01em;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .25s, background .25s, color .25s, border-color .25s, box-shadow .25s;
}
.btn .btn-ic {
  display: grid; place-items: center;
  width: 26px; height: 26px; border-radius: 50%;
  transition: transform .3s var(--ease-out);
}
.btn:hover .btn-ic { transform: scale(1.12); }
.btn-primary {
  background: var(--ink);
  color: var(--paper-on-ink);
  padding: 8px 20px 8px 8px;
}
.btn-primary .btn-ic { background: rgba(245,247,250,.16); color: var(--paper-on-ink); }
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 26px rgba(13,21,38,.22);
}
.btn-ghost {
  border-color: var(--line-strong);
  color: var(--ink);
  background: transparent;
  padding: 8px 20px 8px 8px;
}
.btn-ghost .btn-ic { background: var(--ink); color: var(--paper-on-ink); }
.btn-ghost:hover { border-color: var(--ink); transform: translateY(-2px); }
.btn-arrow {
  display: inline-block;
  transition: transform .35s var(--ease-out);
  font-size: .95em;
}
.btn:hover .btn-arrow { transform: translate(3px, -3px); }
.btn-sm { font-size: 13.5px; padding: 6px 16px 6px 6px; }
.btn-sm .btn-ic { width: 22px; height: 22px; }
.btn-lg { font-size: 16px; padding: 10px 26px 10px 10px; }
.btn-lg .btn-ic { width: 30px; height: 30px; }

/* ---------- reveal ---------- */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .8s var(--ease-out), transform .8s var(--ease-out);
  transition-delay: var(--d, 0s);
}
.reveal.in { opacity: 1; transform: none; }

/* ============================================================
   NAV
   ============================================================ */

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background .4s, box-shadow .4s, border-color .4s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(246, 245, 241, .82);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  backdrop-filter: blur(14px) saturate(1.4);
  border-bottom-color: var(--line);
}
.nav-inner {
  max-width: 1360px;
  margin: 0 auto;
  padding: 16px clamp(20px, 3.4vw, 44px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
}
.nav-logo-mark { display: inline-flex; }
.nav-logo-word {
  font-family: var(--font-display);
  font-weight: 650;
  font-size: 18.5px;
  letter-spacing: -.025em;
}
.nav-logo-word sup { font-size: .5em; font-weight: 500; margin-left: 1px; }
.nav-links {
  display: flex;
  gap: clamp(18px, 2.4vw, 34px);
}
.nav-links a {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink-60);
  position: relative;
  padding: 4px 0;
  transition: color .25s;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .4s var(--ease-out);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-right { display: flex; align-items: center; gap: 14px; }
.nav-burger {
  display: none;
  width: 40px; height: 40px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
  position: relative;
  flex: none;
  padding: 0;
}
.nav-burger span {
  position: absolute;
  left: 11px; right: 11px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: top .3s, transform .3s;
}
.nav-burger span:first-child { top: 15px; }
.nav-burger span:last-child { top: 22px; }
.nav-burger.open span:first-child { top: 18.5px; transform: rotate(45deg); }
.nav-burger.open span:last-child { top: 18.5px; transform: rotate(-45deg); }
.nav-mobile { display: none; }
.nav-mobile-cta { color: var(--accent); }

/* ============================================================
   HERO
   ============================================================ */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 140px 24px 90px;
  overflow: hidden;
}
.hero::before {
  /* faint dot grid, very light */
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(13, 21, 38,.07) 1px, transparent 1px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 42%, black 0%, transparent 72%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 42%, black 0%, transparent 72%);
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 3; max-width: 900px; }
.hero .eyebrow { justify-content: center; }
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(44px, 7.2vw, 96px);
  font-weight: 620;
  letter-spacing: -.04em;
  line-height: 1.02;
  display: flex;
  flex-direction: column;
  gap: .06em;
  margin-bottom: 30px;
}
.hero-title .serif { font-size: 1.08em; padding-right: .04em; }
.hero-sub {
  font-size: clamp(16.5px, 1.7vw, 19.5px);
  color: var(--ink-60);
  line-height: 1.65;
  max-width: 640px;
  margin: 0 auto 38px;
}
.hero-ctas {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 26px;
}
.hero-micro {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--ink-40);
  text-transform: uppercase;
}
.hero-caption {
  position: absolute;
  bottom: 30px;
  left: clamp(20px, 3.4vw, 44px);
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-25);
  z-index: 3;
  white-space: nowrap;
}
.hero-scroll {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink-40);
  z-index: 3;
}
.hero-scroll i {
  width: 1px; height: 34px;
  background: var(--ink-25);
  position: relative;
  overflow: hidden;
  display: block;
}
.hero-scroll i::after {
  content: "";
  position: absolute;
  left: 0; top: -100%;
  width: 100%; height: 100%;
  background: var(--accent);
  animation: scrollDrip 2.2s var(--ease-out) infinite;
}
@keyframes scrollDrip {
  0% { top: -100%; } 55% { top: 0; } 100% { top: 100%; }
}

/* floating signal cards */
.hero-floats { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.float-card {
  position: absolute;
  width: 250px;
  background: rgba(255, 255, 255, .72);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 16px;
  text-align: left;
  box-shadow: 0 18px 44px -22px rgba(13, 21, 38, .18);
  animation: floatDrift 9s ease-in-out infinite;
}
.float-card--1 { top: 17%; left: 5.5%; transform: rotate(-3.5deg); animation-delay: 0s; }
.float-card--2 { top: 13%; right: 6%; transform: rotate(2.8deg); animation-delay: -2.4s; }
.float-card--3 { bottom: 21%; left: 7.5%; transform: rotate(2.2deg); animation-delay: -4.8s; }
.float-card--4 { bottom: 17%; right: 5%; transform: rotate(-2.6deg); animation-delay: -7s; }
@keyframes floatDrift {
  0%, 100% { margin-top: 0; }
  50% { margin-top: -12px; }
}
.float-card-head {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 9px;
}
.float-avatar {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--av, #888);
  color: rgba(255,255,255,.92);
  font-size: 13px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
}
.float-avatar--sq { border-radius: 8px; font-family: var(--font-mono); }
.float-id { display: flex; flex-direction: column; line-height: 1.25; }
.float-id strong { font-size: 13px; font-weight: 600; letter-spacing: -.01em; }
.float-id em {
  font-style: normal;
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--ink-40);
}
.float-card p {
  font-size: 13.5px;
  line-height: 1.45;
  color: var(--ink);
  margin-bottom: 7px;
}
.float-meta {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--ink-40);
  letter-spacing: .04em;
}

/* ============================================================
   MARQUEE
   ============================================================ */

.marquee {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  padding: 18px 0;
  background: var(--paper);
}
.marquee-track {
  display: flex;
  align-items: center;
  gap: 34px;
  width: max-content;
  animation: marquee 42s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span {
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink-60);
  white-space: nowrap;
}
.marquee-track b {
  color: var(--accent);
  font-weight: 400;
  font-size: 14px;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ============================================================
   THE GAP
   ============================================================ */

.gap-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 90px);
  margin-top: 44px;
  align-items: start;
}
.gap-copy p {
  color: var(--ink-70);
  margin-bottom: 20px;
  max-width: 56ch;
}
.gap-copy p strong { color: var(--ink); }

.math {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--paper-2);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.math-head {
  display: flex;
  justify-content: space-between;
  padding: 14px 22px;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-40);
}
.math-row {
  display: grid;
  grid-template-columns: 150px 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 20px 22px;
  border-bottom: 1px solid var(--line);
}
.math-label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-60);
}
.math-bar {
  height: 10px;
  background: rgba(13, 21, 38, .07);
  border-radius: 99px;
  overflow: hidden;
}
.math-bar i {
  display: block;
  height: 100%;
  width: var(--w, 50%);
  background: var(--ink);
  border-radius: 99px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.1s var(--ease-out);
}
.math.in .math-bar i { transform: scaleX(1); }
.math-row:nth-child(3) .math-bar i { transition-delay: .12s; }
.math-row:nth-child(4) .math-bar i { transition-delay: .24s; }
.math-row:nth-child(5) .math-bar i { transition-delay: .36s; }
.math-value {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 620;
  letter-spacing: -.02em;
  font-variant-numeric: tabular-nums;
}
.math-row--total {
  background: var(--ink);
  border-bottom-color: var(--ink);
}
.math-row--total .math-label { color: rgba(246, 245, 241, .6); }
.math-row--total .math-bar { background: rgba(246, 245, 241, .14); }
.math-row--total .math-bar i { background: var(--accent); }
.math-row--total .math-value { color: var(--accent); font-size: 24px; }
.math-note {
  padding: 16px 22px 20px;
  font-size: 13.5px;
  color: var(--ink-40);
  line-height: 1.6;
}

/* ============================================================
   CARD FAN
   ============================================================ */

.fan-section { padding-bottom: clamp(70px, 8vw, 110px); overflow: hidden; }

.fan-head { text-align: center; }
.fan-head .eyebrow { justify-content: center; }
.fan-title {
  font-family: var(--font-display);
  font-size: clamp(38px, 5.4vw, 72px);
  font-weight: 640;
  letter-spacing: -.038em;
  line-height: 1.04;
  text-wrap: balance;
  margin-bottom: 18px;
}
.fan-sub {
  font-size: clamp(15.5px, 1.5vw, 18px);
  color: var(--ink-60);
  max-width: 480px;
  margin: 0 auto;
}

.fan-stage {
  position: relative;
  height: clamp(460px, 50vw, 580px);
  margin-top: clamp(6px, 1.5vw, 18px);
  perspective: 1600px;
}
.fan-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(13, 21, 38,.06) 1px, transparent 1px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(ellipse 62% 78% at 50% 50%, black 0%, transparent 74%);
  mask-image: radial-gradient(ellipse 62% 78% at 50% 50%, black 0%, transparent 74%);
  pointer-events: none;
}
.fan {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 0; height: 0;
  transform-style: preserve-3d;
}
.fan-card {
  position: absolute;
  width: 272px;
  height: 348px;
  left: -136px;
  top: -200px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow-card);
  transform-style: preserve-3d;
  transition: box-shadow .4s;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  cursor: default;
  will-change: transform;
}
.fan-card header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 15px 16px 12px;
  border-bottom: 1px dashed var(--line);
}
.fan-card-title {
  font-family: var(--font-display);
  font-weight: 650;
  font-size: 16.5px;
  letter-spacing: -.02em;
}
.fan-card-file {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--ink-40);
}
.fan-card-body {
  flex: 1;
  position: relative;
  margin: 12px 14px;
  border: 1px dashed var(--line);
  border-radius: 10px;
  background-image: radial-gradient(rgba(13, 21, 38,.12) 1px, transparent 1px);
  background-size: 12px 12px;
  overflow: hidden;
}
.fan-card footer {
  padding: 0 16px 14px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .04em;
  color: var(--ink-40);
}
.fan-card.is-active {
  box-shadow: var(--shadow-lift);
  border-color: var(--ink);
  background: #fff;
}

.fan-hint {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-25);
  margin-top: -10px;
}

/* fan card mini-viz */
.fan-viz-research i {
  position: absolute;
  left: var(--x); top: var(--y);
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  opacity: .85;
}
.fan-viz-research svg { position: absolute; inset: 10% 6%; width: 88%; height: 80%; color: var(--ink-60); }
.fan-viz-offer { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 9px; padding: 12px; }
.fan-pill {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .08em;
  text-transform: uppercase;
  border: 1px solid var(--line-strong);
  border-radius: 99px;
  padding: 4px 12px;
  color: var(--ink-70);
}
.fan-pill--dim { border-style: dashed; color: var(--ink-40); border-color: var(--line); }
.fan-price {
  font-family: var(--font-display);
  font-weight: 650;
  font-size: 21px;
  letter-spacing: -.02em;
  color: var(--accent);
}
.fan-line { width: 52%; height: 1px; background: var(--line-strong); }
.fan-viz-funnel { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; }
.fan-viz-funnel i {
  display: block;
  width: var(--w);
  height: 13px;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  background: rgba(13, 21, 38,.04);
}
.fan-viz-funnel i:last-child { background: var(--accent-soft); border-color: var(--accent); }
.fan-viz-infra { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 7px; padding: 16px; }
.fan-viz-infra span {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: .06em;
  text-transform: uppercase;
  border: 1px solid var(--line-strong);
  padding: 5px 9px;
  border-radius: 6px;
  background: var(--paper);
}
.fan-viz-infra em { color: var(--accent); font-style: normal; font-size: 11px; }
.fan-viz-launch svg { position: absolute; inset: 16% 10%; width: 80%; height: 62%; color: var(--ink); }
.fan-countdown {
  position: absolute;
  right: 10px; bottom: 8px;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--accent);
  letter-spacing: .08em;
}

/* ============================================================
   WHAT WE HANDLE — cards
   ============================================================ */

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 46px;
}
.card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--paper-2);
  padding: 26px 26px 58px;
  min-height: 218px;
  transition: transform .45s var(--ease-out), box-shadow .45s, border-color .35s, background .35s;
  overflow: hidden;
}
.card::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .5s var(--ease-out);
}
.card:hover {
  transform: translateY(-6px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-lift);
  background: #fff;
}
.card:hover::after { transform: scaleX(1); }
.card-num {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--ink-40);
  letter-spacing: .1em;
  display: block;
  margin-bottom: 40px;
  transition: color .3s;
}
.card:hover .card-num { color: var(--accent); }
.card h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 620;
  letter-spacing: -.022em;
  line-height: 1.2;
  margin-bottom: 10px;
}
.card p { font-size: 14.5px; color: var(--ink-60); line-height: 1.6; }
.card-tag {
  position: absolute;
  bottom: 20px; left: 26px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--ink-25);
  letter-spacing: .05em;
  transition: color .3s;
}
.card:hover .card-tag { color: var(--ink-40); }

.tiles { margin-top: 44px; }
.tiles-label {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-40);
  margin-bottom: 16px;
}
.tiles-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.tile {
  border: 1px dashed var(--line-strong);
  border-radius: 12px;
  padding: 16px 18px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-70);
  line-height: 1.45;
  transition: border-color .3s, background .3s, transform .35s var(--ease-out);
}
.tile:hover {
  border-color: var(--ink);
  background: var(--accent-soft);
  transform: translateY(-3px);
}
.tiles-note {
  margin-top: 22px;
  font-size: 15px;
  color: var(--ink-60);
  max-width: 64ch;
  font-style: italic;
}

/* ============================================================
   THE SHIFT — comparison
   ============================================================ */

.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 46px;
}
.compare-panel {
  border-radius: 20px;
  padding: clamp(28px, 3.4vw, 44px);
  display: flex;
  flex-direction: column;
  min-height: 460px;
}
.compare-panel--muted {
  border: 1px solid var(--line);
  background: var(--paper-2);
}
.compare-panel--strong {
  background: var(--ink);
  color: var(--paper-on-ink);
  box-shadow: var(--shadow-lift);
}
.compare-kicker {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: 26px;
  color: var(--ink-40);
}
.compare-panel--strong .compare-kicker { color: var(--accent); }
.compare-panel h3 {
  font-family: var(--font-display);
  font-size: clamp(24px, 2.6vw, 32px);
  font-weight: 620;
  letter-spacing: -.028em;
  line-height: 1.1;
  margin-bottom: 14px;
}
.compare-panel > p:not(.compare-kicker) {
  font-size: 15.5px;
  line-height: 1.65;
  max-width: 44ch;
}
.compare-panel--muted > p:not(.compare-kicker) { color: var(--ink-60); }
.compare-panel--strong > p:not(.compare-kicker) { color: rgba(243, 241, 234, .72); }
.compare-viz { margin-top: auto; padding-top: 36px; }
.compare-viz--scattered { position: relative; height: 150px; }
.compare-viz--scattered span {
  position: absolute;
  left: var(--x); top: var(--y);
  transform: rotate(var(--r));
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .06em;
  color: var(--ink-40);
  border: 1px dashed var(--line-strong);
  border-radius: 8px;
  padding: 8px 14px;
  background: var(--paper);
}
.compare-viz--stack { display: flex; flex-direction: column; gap: 8px; }
.compare-viz--stack span {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  border: 1px solid rgba(243, 241, 234, .22);
  border-radius: 9px;
  padding: 11px 16px;
  color: rgba(243, 241, 234, .85);
  background: rgba(243, 241, 234, .05);
  transition: background .3s, border-color .3s, transform .35s var(--ease-out);
}
.compare-viz--stack span:hover {
  background: rgba(37, 87, 235, .16);
  border-color: var(--accent);
  transform: translateX(6px);
}

/* ============================================================
   PROCESS
   ============================================================ */

.process-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(40px, 5vw, 72px);
  margin-top: 48px;
  align-items: start;
}
.steps { display: flex; flex-direction: column; }
.step {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 20px;
  padding: 30px 0;
  border-top: 1px solid var(--line);
  transition: opacity .4s;
}
.step:first-child { border-top: 0; padding-top: 6px; }
.step-num {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--ink-40);
  letter-spacing: .08em;
  padding-top: 5px;
  transition: color .3s;
}
.step h3 {
  font-family: var(--font-display);
  font-size: 23px;
  font-weight: 620;
  letter-spacing: -.025em;
  margin-bottom: 9px;
}
.step p { font-size: 15.5px; color: var(--ink-60); max-width: 54ch; }
.step.is-current .step-num { color: var(--accent); }
.process-cta { padding: 34px 0 0; border-top: 1px solid var(--line); }

.ops-col { position: relative; }
.ops {
  position: sticky;
  top: 110px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--paper-2);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}
.ops-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 13px 20px;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}
.ops-title {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-60);
}
.ops-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-60);
}
.ops-status i {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #3E9B5F;
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(62, 155, 95, .45); }
  50% { box-shadow: 0 0 0 6px rgba(62, 155, 95, 0); }
}
.ops-body { min-height: 380px; position: relative; }
.ops-pane {
  position: absolute;
  inset: 0;
  padding: 24px 24px 20px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .35s var(--ease-out), transform .35s var(--ease-out);
  pointer-events: none;
}
.ops-pane.active { opacity: 1; transform: none; pointer-events: auto; }
.ops-pane-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}
.ops-pane-note {
  margin-top: 20px;
  font-size: 12.5px;
  color: var(--ink-40);
  font-style: italic;
}
.ops-rows { display: flex; flex-direction: column; gap: 13px; }
.ops-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 6px 14px;
  align-items: center;
  font-size: 13.5px;
}
.ops-row span { color: var(--ink-70); }
.ops-row b {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 620;
  font-variant-numeric: tabular-nums;
}
.ops-row i {
  grid-column: 1 / -1;
  height: 6px;
  border-radius: 99px;
  background: rgba(13, 21, 38, .08);
  position: relative;
  overflow: hidden;
}
.ops-row i::after {
  content: "";
  position: absolute;
  inset: 0;
  width: var(--w, 50%);
  background: var(--ink);
  border-radius: 99px;
}
.ops-offer {
  display: flex;
  flex-direction: column;
  gap: 4px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  padding: 18px 20px;
  margin-bottom: 18px;
  background: var(--paper);
}
.ops-offer-name {
  font-family: var(--font-display);
  font-weight: 620;
  font-size: 17.5px;
  letter-spacing: -.02em;
}
.ops-offer-price {
  font-family: var(--font-display);
  font-weight: 650;
  font-size: 26px;
  letter-spacing: -.03em;
  color: var(--accent);
}
.ops-kv {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 11px 2px;
  border-bottom: 1px dashed var(--line);
  font-size: 13.5px;
}
.ops-kv span { font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-40); padding-top: 2px; }
.ops-kv b { font-weight: 550; text-align: right; }
.ops-checklist { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.ops-checklist li {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 14px;
  color: var(--ink-60);
}
.ops-checklist li::before {
  content: "";
  width: 16px; height: 16px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  flex: none;
}
.ops-checklist li.done { color: var(--ink); }
.ops-checklist li.done::before {
  background: var(--ink);
  border-color: var(--ink);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.5l2.4 2.4 4.6-5' fill='none' stroke='%23F6F5F1' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E");
  background-size: 11px;
  background-position: center;
  background-repeat: no-repeat;
}
.ops-runway { display: flex; flex-direction: column; gap: 9px; margin-bottom: 18px; }
.ops-runway span {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .06em;
  border: 1px dashed var(--line-strong);
  border-radius: 8px;
  padding: 10px 14px;
  color: var(--ink-40);
}
.ops-runway span.on {
  border-style: solid;
  border-color: var(--ink);
  color: var(--ink);
  background: var(--paper);
}
.ops-launch { display: flex; flex-direction: column; }
.ops-foot {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 13px 20px;
  border-top: 1px solid var(--line);
  background: var(--paper);
}
.ops-phase {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-40);
  white-space: nowrap;
}
.ops-bar {
  flex: 1;
  height: 4px;
  background: rgba(13, 21, 38, .08);
  border-radius: 99px;
  overflow: hidden;
}
.ops-bar i {
  display: block;
  height: 100%;
  width: 16.6%;
  background: var(--accent);
  border-radius: 99px;
  transition: width .6s var(--ease-out);
}

/* ============================================================
   MODEL (dark)
   ============================================================ */

.model {
  background: var(--ink);
  color: var(--paper-on-ink);
}
.model .eyebrow { color: var(--accent); }
.model .eyebrow::before { background: var(--accent); }
.model-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: clamp(44px, 6vw, 90px);
  margin-top: 44px;
  align-items: start;
}
.model-copy p {
  color: rgba(243, 241, 234, .72);
  margin-bottom: 20px;
  max-width: 56ch;
}
.model-copy p strong { color: var(--paper-on-ink); }
.model-principles { display: flex; flex-direction: column; }
.principle {
  border-top: 1px solid rgba(243, 241, 234, .16);
  padding: 24px 0;
}
.principle:last-child { border-bottom: 1px solid rgba(243, 241, 234, .16); }
.principle-num {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--accent);
  letter-spacing: .12em;
  display: block;
  margin-bottom: 10px;
}
.principle h3 {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -.02em;
  margin-bottom: 7px;
}
.principle p { font-size: 14.5px; color: rgba(243, 241, 234, .6); }

/* ============================================================
   FOUNDER
   ============================================================ */

.founder-letter { margin-top: 40px; }
.founder-letter p {
  color: var(--ink-70);
  margin-bottom: 22px;
  max-width: 62ch;
}
.founder-letter blockquote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.3;
  letter-spacing: -.01em;
  color: var(--ink);
  border-left: 2px solid var(--accent);
  padding: 6px 0 6px 26px;
  margin: 40px 0;
  max-width: 24ch;
}
.founder-sign {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: .06em;
  color: var(--ink);
  margin-top: 36px;
}

/* ============================================================
   FAQ
   ============================================================ */

.faq-list { margin-top: 42px; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  display: grid;
  grid-template-columns: 52px 1fr 32px;
  align-items: center;
  gap: 16px;
  padding: 24px 0;
  cursor: pointer;
  list-style: none;
  transition: opacity .3s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-40);
  letter-spacing: .08em;
  transition: color .3s;
}
.faq-item[open] .faq-num { color: var(--accent); }
.faq-q {
  font-family: var(--font-display);
  font-size: clamp(17px, 1.9vw, 20px);
  font-weight: 580;
  letter-spacing: -.02em;
}
.faq-icon {
  position: relative;
  width: 28px; height: 28px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  transition: background .3s, border-color .3s, transform .45s var(--ease-out);
}
.faq-icon::before, .faq-icon::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 10px; height: 1.5px;
  background: var(--ink);
  transform: translate(-50%, -50%);
  transition: transform .45s var(--ease-out), background .3s;
}
.faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item[open] .faq-icon { background: var(--ink); border-color: var(--ink); transform: rotate(45deg); }
.faq-item[open] .faq-icon::before, .faq-item[open] .faq-icon::after { background: var(--paper); }
.faq-a { padding: 0 0 26px 68px; }
.faq-a p { color: var(--ink-60); font-size: 15.5px; max-width: 60ch; }

/* ============================================================
   FINAL CTA
   ============================================================ */

.cta { border-top: 1px solid var(--line); }
.cta-inner { text-align: center; }
.cta-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 5.2vw, 66px);
  font-weight: 630;
  letter-spacing: -.036em;
  line-height: 1.05;
  margin-bottom: 22px;
  text-wrap: balance;
}
.cta-sub {
  color: var(--ink-60);
  max-width: 52ch;
  margin: 0 auto 36px;
  font-size: clamp(16px, 1.5vw, 18px);
}
.cta-micro {
  margin-top: 24px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-40);
}

/* ============================================================
   FOOTER
   ============================================================ */

.footer { border-top: 1px solid var(--line); padding: 60px 0 34px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 44px;
}
.footer-brand p {
  margin-top: 14px;
  font-size: 14px;
  color: var(--ink-40);
  max-width: 30ch;
}
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-40);
  margin-bottom: 6px;
}
.footer-col a { font-size: 14.5px; color: var(--ink-70); width: fit-content; transition: color .25s; }
.footer-col a:hover { color: var(--accent); }
.footer-base {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--ink-40);
}
.footer-note { font-family: var(--font-mono); font-size: 11px; letter-spacing: .04em; }

/* ============================================================
   SUBPAGES (book / privacy / terms)
   ============================================================ */

.page-head {
  padding: 170px 0 60px;
  text-align: center;
}
.page-head .eyebrow { justify-content: center; }
.page-title {
  font-family: var(--font-display);
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 630;
  letter-spacing: -.038em;
  line-height: 1.03;
  margin-bottom: 18px;
}
.page-sub { color: var(--ink-60); max-width: 52ch; margin: 0 auto; }

.page-badge {
  margin: 28px auto 0; display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink-60); border: 1px dashed var(--line); border-radius: 999px; padding: 10px 18px;
}
.page-badge i { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); flex: none; }

.back-link-wrap { text-align: left; }
.back-link {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 34px;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink-40); transition: color .25s;
}
.back-link:hover { color: var(--ink); }

.book-frame {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--paper-2);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  margin-bottom: 40px;
}
.book-frame-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 13px 20px;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-60);
}
.book-embed {
  min-height: 560px;
  background: #fff;
  padding: 0;
}
.book-embed iframe { width: 100%; border: 0; display: block; }
.book-embed .cal-inline {
  min-height: 560px;
}
.book-placeholder p { color: var(--ink-40); font-size: 14.5px; max-width: 44ch; margin: 12px auto 0; }
.book-placeholder .btn { margin-top: 22px; }
.book-questions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 90px;
}
.book-q {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px 22px;
  background: var(--paper-2);
}
.book-q span {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: 8px;
}
.book-q p { font-size: 14.5px; color: var(--ink-70); }

.legal { padding-bottom: 110px; }
.legal h2 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 620;
  letter-spacing: -.02em;
  margin: 44px 0 14px;
}
.legal p, .legal li { color: var(--ink-70); font-size: 15.5px; max-width: 68ch; }
.legal p { margin-bottom: 14px; }
.legal ul { padding-left: 22px; margin-bottom: 14px; }
.legal li { margin-bottom: 7px; }
.legal a { color: var(--accent); }

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 1180px) {
  .float-card--1 { left: 2%; }
  .float-card--2 { right: 2%; }
  .float-card--3 { left: 3%; }
  .float-card--4 { right: 2.5%; }
  .float-card { width: 228px; }
}

@media (max-width: 1024px) {
  .nav-links { display: none; }
  .nav-burger { display: block; }
  .nav-mobile {
    display: block; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--paper); border-bottom: 1px solid var(--line);
    padding: 8px 24px 18px;
    opacity: 0; transform: translateY(-8px); pointer-events: none;
    transition: opacity .3s, transform .3s var(--ease-out);
  }
  .nav.mobile-open .nav-mobile { opacity: 1; transform: none; pointer-events: auto; }
  .nav-mobile a {
    display: block; padding: 13px 0; font-family: var(--font-display);
    font-weight: 600; font-size: 19px; letter-spacing: -.02em;
    border-bottom: 1px dashed var(--line);
  }
  .nav-mobile a:last-child { border-bottom: none; }
  .gap-grid, .model-grid, .process-grid { grid-template-columns: 1fr; }
  .ops { position: relative; top: 0; }
  .ops-col { order: -1; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .tiles-row { grid-template-columns: repeat(2, 1fr); }
  .compare { grid-template-columns: 1fr; }
  .compare-panel { min-height: 0; }
  .hero-floats { display: none; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .page-head { padding: 118px 0 44px; }
  .page-title { font-size: clamp(32px, 9.2vw, 44px); margin-bottom: 12px; }
  .page-sub { font-size: 15px; }
  .page-badge { font-size: 9.5px; padding: 9px 15px; white-space: nowrap; }
  .book-frame-head { font-size: 10px; padding: 12px 16px; gap: 10px; }
  .book-frame-head span:last-child { display: none; }
  .back-link { margin-bottom: 26px; }
  .legal { padding-bottom: 80px; }
  .legal h2 { font-size: 20px; margin: 38px 0 12px; }
  .legal p, .legal li { font-size: 15px; line-height: 1.72; }
  .legal ul { padding-left: 19px; }
  .hero { padding: 124px 20px 76px; }
  .hero .eyebrow { font-size: 10px; letter-spacing: .11em; }
  .hero .eyebrow::before { display: none; }
  .hero-micro { font-size: 10px; line-height: 2.1; max-width: 320px; margin: 0 auto; }
  .hero-scroll { display: none; }
  .hero-caption { display: none; }
  .hero-ctas .btn { width: 100%; justify-content: center; }
  .cards { grid-template-columns: 1fr; }
  .tiles-row { grid-template-columns: 1fr; }
  .fan-stage { height: 480px; }
  .fan-card { width: 208px; height: 272px; left: -104px; top: -160px; }
  .math-row { grid-template-columns: 1fr; gap: 10px; }
  .step { grid-template-columns: 44px 1fr; gap: 14px; }
  .faq-item summary { grid-template-columns: 34px 1fr 28px; gap: 10px; }
  .faq-a { padding-left: 44px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .book-questions { grid-template-columns: 1fr; }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .float-card, .marquee-track, .hero-scroll i::after, .ops-status i { animation: none !important; }
  .math-bar i { transform: scaleX(1); transition: none; }
  * { transition-duration: .01ms !important; }
}
