/* ============================================================
   printer/ai — REV 3.0 (v12 · Aptus-inspired brutalist redesign)
   Monochrome (#C9C9C5 + #131313) · Space Grotesk · brutalist // [] :: format
   Alternating light/dark sections · notched corners · GSAP-driven animations
   ============================================================ */

/* ---------- TOKENS ---------- */
:root {
  /* Aptus monochrome — light gray + near-black + chamois mid-tones */
  --light:        #C9C9C5;   /* hero / light sections bg */
  --light-2:      #BFBFBA;   /* slightly darker for inset blocks */
  --dark:         #131313;   /* dark sections bg + text on light */
  --dark-2:       #1B1B1B;   /* card surface on dark */
  --dark-3:       #2A2A2A;   /* raised surface on dark */

  /* Per-mode text */
  --on-light:     #131313;
  --on-light-2:   #4A4A4A;
  --on-light-3:   #6E6E6E;
  --on-dark:      #C9C9C5;
  --on-dark-2:    #909090;
  --on-dark-3:    #6E6E6E;

  /* Strokes */
  --line-on-light: rgba(19, 19, 19, 0.14);
  --line-on-light-2: rgba(19, 19, 19, 0.06);
  --line-on-dark: rgba(201, 201, 197, 0.14);
  --line-on-dark-2: rgba(201, 201, 197, 0.06);

  /* No color accent — pure monochrome.
     Use only existing brand colors in IG pills (blue) for proof contrast. */

  /* Phosphor (chat terminal only, retained from earlier) */
  --phosphor:     #39FF14;
  --phosphor-dim: #1aa00a;
  --black:        #050505;

  /* Typography */
  --font-display: 'Space Grotesk', 'Inter', system-ui, sans-serif;
  --font-sans:    'Space Grotesk', 'Inter', system-ui, sans-serif;
  --font-mono:    'JetBrains Mono', ui-monospace, 'SFMono-Regular', monospace;
  --font-dot:     'Doto', 'JetBrains Mono', monospace;

  /* Layout */
  --max:          1440px;
  --gutter:       clamp(20px, 4.5vw, 56px);
  --section-y:    clamp(72px, 12vw, 180px);
  --section-y-sm: clamp(48px, 8vw, 96px);

  /* Motion */
  --ease:         cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out:     cubic-bezier(0.16, 1, 0.3, 1);
  --t-fast:       240ms;
  --t-med:        420ms;
  --t-slow:       780ms;

  /* Notched corner clip-path (TL + BR small cuts — Aptus card signature) */
  --notch:        14px;
  --notch-clip:   polygon(
                    var(--notch) 0,
                    100% 0,
                    100% calc(100% - var(--notch)),
                    calc(100% - var(--notch)) 100%,
                    0 100%,
                    0 var(--notch)
                  );
}

/* ---------- RESET ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: auto; /* Lenis handles smooth scroll */
  -webkit-text-size-adjust: 100%;
  text-rendering: optimizeLegibility;
  font-feature-settings: 'kern' 1, 'liga' 1, 'calt' 1, 'ss01' 1;
  background: var(--light);
}
/* Lenis support */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: clip; }

body {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.5;
  color: var(--on-light);
  background: var(--light);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; background: none; border: 0; color: inherit; }
ul, ol { list-style: none; }
em { font-style: normal; }
::selection { background: var(--on-light); color: var(--light); }

/* ---------- LAYOUT ---------- */
.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
  position: relative;
  z-index: 1;
}

/* ============================================================
   SECTION LABEL — mono-styled brutalist marker
   ============================================================ */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--on-light-2);
  margin-bottom: 36px;
  text-transform: uppercase;
}
.section-label__num { color: var(--on-light); font-weight: 700; }
.section-label__text { color: var(--on-light-2); }
.section-label--invert .section-label__num { color: var(--on-dark); }
.section-label--invert .section-label__text { color: var(--on-dark-2); }

/* ============================================================
   SECTION TITLE — massive brutalist display
   ============================================================ */
.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(40px, 7vw, 108px);
  line-height: 0.95;
  letter-spacing: -0.025em;
  text-transform: uppercase;
  color: var(--on-light);
  margin-bottom: 36px;
  max-width: 24ch;
}
.section-title em {
  font-style: normal;
  display: inline;
  letter-spacing: -0.02em;
}
.section-lede {
  font-family: var(--font-sans);
  font-size: clamp(16px, 1.2vw, 19px);
  line-height: 1.55;
  color: var(--on-light-2);
  max-width: 56ch;
  margin-bottom: 56px;
  font-weight: 400;
}
.section-lede strong {
  font-weight: 600;
  color: var(--on-light);
}

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(201, 201, 197, 0.86);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid var(--line-on-light);
}
.nav__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 56px;
  padding-top: 8px;
  padding-bottom: 8px;
}
.nav__brand {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.04em;
  color: var(--on-light);
  white-space: nowrap;
  text-transform: uppercase;
}
.nav__brand-dot { font-family: var(--font-mono); }
.nav__brand-tld { font-weight: 400; opacity: 0.6; }
.nav__meta {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--on-light-3);
  text-transform: uppercase;
  display: none;
}
@media (min-width: 760px) { .nav__meta { display: block; } }
.nav__cta {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  background: var(--on-light);
  color: var(--light);
  border-radius: 0;
  clip-path: var(--notch-clip);
  transition: background var(--t-fast) var(--ease);
  white-space: nowrap;
}
.nav__cta:hover { background: var(--on-light-2); }
.nav__cta-arrow { transition: transform var(--t-fast) var(--ease); }
.nav__cta:hover .nav__cta-arrow { transform: translate(2px, -2px); }

/* ============================================================
   BUTTONS — brutalist black flags w/ notched corners
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 24px;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 0;
  cursor: pointer;
  transition:
    background var(--t-fast) var(--ease),
    color var(--t-fast) var(--ease),
    transform var(--t-fast) var(--ease);
  white-space: nowrap;
  min-height: 50px;
  border: 0;
  clip-path: var(--notch-clip);
}
.btn--primary {
  background: var(--on-light);
  color: var(--light);
}
.btn--primary:hover {
  background: var(--on-light-2);
}
.btn--ghost {
  background: transparent;
  color: var(--on-light);
  outline: 1px solid var(--on-light);
  outline-offset: -1px;
  clip-path: none;
}
.btn--ghost:hover {
  background: var(--on-light);
  color: var(--light);
}
.btn__chev {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  font-size: 9px;
  color: var(--on-light);
  background: var(--light);
  transition: transform var(--t-fast) var(--ease);
}
.btn--primary:hover .btn__chev { transform: translateX(2px); }
.btn--xl { padding: 22px 32px; font-size: 14px; min-height: 64px; }
.btn--full { width: 100%; justify-content: center; }

/* ============================================================
   HERO — light gray bg, brutalist headline, video + 3D + chat
   ============================================================ */
.hero {
  position: relative;
  padding: clamp(28px, 4vw, 56px) 0 clamp(64px, 9vw, 120px);
  background: var(--light);
  border-bottom: 1px solid var(--on-light);
  overflow: hidden;
}

/* Top meta labels — Aptus magazine-style */
.hero__meta {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--on-light-2);
  margin-bottom: clamp(40px, 6vw, 72px);
  padding-top: 4px;
}
.hero__meta-l, .hero__meta-r { display: grid; gap: 4px; }
.hero__meta-r { text-align: right; }

/* Brutalist hero title */
.hero__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(48px, 10vw, 168px);
  line-height: 0.92;
  letter-spacing: -0.035em;
  text-transform: uppercase;
  color: var(--on-light);
  margin: 0 0 clamp(28px, 4vw, 56px);
  max-width: 100%;
  text-align: left;
}
.hero__title-line { display: block; overflow: hidden; }
.hero__title em {
  font-style: normal;
  display: inline;
}
.hero__title-tag {
  color: var(--on-light-3);
}

/* Hero subhead — sans-serif, inline IG pills */
.hero__sub {
  font-family: var(--font-sans);
  font-style: normal;
  font-weight: 400;
  font-size: clamp(16px, 1.3vw, 19px);
  line-height: 2;
  color: var(--on-light-2);
  margin: 0 0 clamp(36px, 5vw, 56px);
  text-align: left;
  max-width: 70ch;
  letter-spacing: -0.005em;
}

/* Hero video — 21:9 cinematic, sharp corners with notch */
.hero__video {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  aspect-ratio: 21 / 9;
  background: #000;
  position: relative;
  border: 1px solid var(--on-light);
  clip-path: var(--notch-clip);
  --notch: 20px;
  overflow: hidden;
}
.hero__video > iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* Hero video as Whop app launcher (anchor variant) */
a.hero__video--app {
  text-decoration: none;
  color: var(--on-dark);
  display: grid;
  place-items: center;
  position: relative;
  cursor: pointer;
  transition: background var(--t-med) var(--ease), transform var(--t-med) var(--ease);
  background:
    radial-gradient(ellipse at 50% 50%, #1a1a1a 0%, #060606 70%);
}
a.hero__video--app::before {
  /* subtle scanline texture so it doesn't read as a plain panel */
  content: '';
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(0deg, rgba(255,255,255,0.02) 0 1px, transparent 1px 3px);
  pointer-events: none;
}
a.hero__video--app:hover { background: radial-gradient(ellipse at 50% 50%, #232323 0%, #0a0a0a 70%); }
a.hero__video--app:hover .hero__video-play { transform: scale(1.08); }
.hero__video-badge {
  position: absolute;
  top: clamp(14px, 1.8vw, 22px);
  left: clamp(14px, 1.8vw, 22px);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  font-weight: 700;
  z-index: 2;
}
.hero__video-launcher {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2vw, 28px);
  z-index: 2;
}
.hero__video-play {
  width: clamp(56px, 7vw, 88px);
  height: clamp(56px, 7vw, 88px);
  border-radius: 50%;
  background: var(--on-dark);
  color: var(--on-light);
  display: grid;
  place-items: center;
  font-size: clamp(20px, 2.2vw, 30px);
  font-weight: 700;
  transition: transform 240ms var(--ease);
  padding-left: 5px; /* visual centering of ▶ */
}
.hero__video-cta {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(18px, 2.2vw, 30px);
  letter-spacing: -0.015em;
  text-transform: uppercase;
  color: var(--on-dark);
}
.hero__video-foot {
  position: absolute;
  bottom: clamp(14px, 1.8vw, 22px);
  left: 0; right: 0;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  z-index: 2;
}

/* (3D printer rig removed; chat terminal sits directly under video) */

/* ============================================================
   IG-PILL — keep our existing IG-insights pill format
   ============================================================ */
.ig-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  vertical-align: middle;
  background: #000;
  border: 1px solid #1c1c1c;
  border-radius: 4px;
  padding: 4px 5px 4px 10px;
  margin: 2px 6px;
  font-family: var(--font-sans);
  font-style: normal;
  font-size: 0.7em;
  line-height: 1;
  white-space: nowrap;
  color: #fff;
  position: relative;
  top: -2px;
  transition: transform var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
  text-decoration: none;
}
.ig-pill:hover { transform: translateY(-2px); border-color: var(--on-light); }
.ig-pill--high { border-color: rgba(79, 139, 255, 0.45); }
.ig-pill__eye { color: #4f8bff; flex-shrink: 0; display: inline-block; }
.ig-pill__views { color: #4f8bff; font-weight: 700; font-size: 1.15em; letter-spacing: -0.01em; }
.ig-pill__sep { color: #4f8bff; opacity: 0.8; }
.ig-pill__insight { color: #4f8bff; font-weight: 500; }
.ig-pill__boost { background: #2257ff; color: #fff; padding: 4px 8px; border-radius: 3px; font-weight: 600; margin-left: 4px; }
@media (max-width: 520px) {
  .ig-pill__sep, .ig-pill__insight, .ig-pill__boost { display: none; }
  .ig-pill { padding: 4px 9px; gap: 5px; }
}

/* ============================================================
   CHAT TERMINAL — macOS Terminal style
   ============================================================ */
.chat-terminal {
  width: 100%;
  max-width: var(--max);
  margin: 12px auto 0;
}
@media (min-width: 720px) { .chat-terminal { margin-top: 16px; } }

.mac-term {
  background: #1E1E1E;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.25);
  /* Subtle outer accent ring + soft glow draws the eye to the chat as the
     primary conversion surface (scroll cue below is intentionally muted) */
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.85),
    0 24px 60px -20px rgba(0, 0, 0, 0.4),
    0 0 0 4px rgba(0, 0, 0, 0.04);
  text-align: left;
  position: relative;
  animation: mac-term-pulse 3.2s var(--ease) infinite;
}
@keyframes mac-term-pulse {
  0%, 100% {
    box-shadow:
      0 0 0 1px rgba(0, 0, 0, 0.85),
      0 24px 60px -20px rgba(0, 0, 0, 0.4),
      0 0 0 4px rgba(0, 0, 0, 0.04);
  }
  50% {
    box-shadow:
      0 0 0 1px rgba(0, 0, 0, 0.85),
      0 24px 60px -20px rgba(0, 0, 0, 0.4),
      0 0 0 6px rgba(0, 0, 0, 0.09);
  }
}
@media (prefers-reduced-motion: reduce) {
  .mac-term { animation: none; }
}

.mac-term__bar {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 9px 14px;
  background: linear-gradient(180deg, #3A3A3A 0%, #2D2D2D 100%);
  border-bottom: 1px solid #1A1A1A;
}
.mac-term__lights { display: flex; align-items: center; gap: 7px; }
.mac-term__light {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  display: inline-block;
  border: 0.5px solid rgba(0, 0, 0, 0.15);
}
.mac-term__light--red    { background: #FF5F57; }
.mac-term__light--yellow { background: #FEBC2E; }
.mac-term__light--green  { background: #28C840; }
.mac-term__title {
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Helvetica Neue', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: #C7C7C7;
  text-align: center;
  letter-spacing: -0.005em;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.3);
}
.mac-term__spacer { width: 54px; }

.mac-term__body {
  padding: 18px 18px 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-family: 'SF Mono', 'Menlo', 'Monaco', 'Consolas', ui-monospace, monospace;
  font-size: 13.5px;
  line-height: 1.55;
  color: #F5F5F5;
  background: #1E1E1E;
  min-height: 240px;
  max-height: 420px;
  overflow-y: auto;
  /* Wheel/touch scrolling is captured by Lenis at the document level. The
     [data-lenis-prevent] attribute on this element opts it out, so wheel
     events scroll the terminal body natively. Two reinforcements: */
  overscroll-behavior: contain;          /* don't propagate end-of-scroll to page */
  -webkit-overflow-scrolling: touch;     /* momentum on iOS */
  touch-action: pan-y;                   /* allow vertical swipe inside, ignore horizontal */
  scrollbar-width: thin;
  scrollbar-color: #3a3a3a transparent;
  cursor: text;
}
.mac-term__body::-webkit-scrollbar { width: 8px; }
.mac-term__body::-webkit-scrollbar-thumb { background: #3a3a3a; border-radius: 4px; }
.mac-term__body::-webkit-scrollbar-track { background: transparent; }

.mac-term__line { color: #F5F5F5; word-break: break-word; white-space: pre-wrap; }
.mac-term__link {
  color: #5FAFFF;
  text-decoration: underline;
  text-underline-offset: 2px;
  word-break: break-all;
  transition: color 0.15s ease;
}
.mac-term__link:hover { color: #8CC4FF; }
.mac-term__link[data-conversion="whop_click"] { color: #F07C30; }
.mac-term__link[data-conversion="whop_click"]:hover { color: #FFA060; }
.mac-term__line--sys { color: #8C8C8C; }
.mac-term__line--you { color: #F5F5F5; }
.mac-term__line--assistant { color: #F5F5F5; }
.mac-term__line--input { display: flex; gap: 8px; align-items: center; }
.mac-term__prompt { color: #8C8C8C; flex-shrink: 0; }
.mac-term__caret {
  display: inline-block;
  width: 8px;
  height: 16px;
  background: #F5F5F5;
  animation: mac-caret-blink 1s steps(2) infinite;
  flex-shrink: 0;
}

/* Interactive input — invisible field, native caret styled as terminal cursor.
   No decorative caret span: it used to sit on the right edge of the flex row
   while typed text appeared on the left, looking like "nothing is happening". */
.mac-term__field {
  flex: 1;
  min-width: 0;
  background: transparent;
  border: 0;
  outline: 0;
  padding: 0;
  margin: 0;
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  color: #F5F5F5;
  caret-color: #F5F5F5;       /* visible white text caret, follows typing */
  caret-shape: block;          /* terminal-block where supported (Safari 16.4+, Chrome 138+) */
  -webkit-caret-shape: block;
}
.mac-term__field::placeholder { color: #5a5a5a; }
.mac-term__field:disabled { color: #8C8C8C; cursor: progress; caret-color: transparent; }
@keyframes mac-caret-blink { 0%, 49% { opacity: 1; } 50%, 100% { opacity: 0; } }

.mac-term__foot {
  padding: 10px 18px 12px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: #6E6E6E;
  text-transform: uppercase;
  border-top: 1px solid #2A2A2A;
  background: #1A1A1A;
}

@media (max-width: 540px) {
  .mac-term__title { font-size: 11px; }
  .mac-term__body { font-size: 12.5px; padding: 14px; }
  .mac-term__light { width: 11px; height: 11px; }
}

/* ============================================================
   SCROLL CUE — telegraph "more below" under the hero terminal
   ============================================================ */
.scroll-cue {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: max-content;
  margin: 32px auto 0;
  padding: 4px 6px;
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--on-light);
  transition: opacity var(--t-med) var(--ease), transform var(--t-med) var(--ease);
  /* Muted by default — secondary to the chat terminal above */
  opacity: 0.45;
  cursor: pointer;
  user-select: none;
  animation: scroll-cue-fade-in 600ms var(--ease-out) 500ms both;
}
.scroll-cue:hover { opacity: 1; }
.scroll-cue:hover .scroll-cue__arrow { transform: translateY(4px); }
.scroll-cue__label {
  display: inline-block;
  font-weight: 600;
  color: var(--on-light);
}
.scroll-cue__rail {
  display: block;
  width: 1px;
  height: 28px;
  background: var(--on-light);
  position: relative;
  /* Subtle vertical pulse on the rail */
  animation: scroll-cue-rail 1.6s var(--ease) infinite;
  transform-origin: top center;
}
.scroll-cue__arrow {
  display: block;
  margin-top: 2px;
  font-family: var(--font-mono);
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  color: var(--on-light);
  transition: transform 240ms var(--ease);
  animation: scroll-cue-arrow 1.6s var(--ease) infinite;
}
@keyframes scroll-cue-rail {
  0%, 100% { transform: scaleY(1);    opacity: 0.85; }
  50%      { transform: scaleY(1.25); opacity: 1; }
}
@keyframes scroll-cue-arrow {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(4px); }
}
@keyframes scroll-cue-fade-in {
  from { opacity: 0;    transform: translateY(-6px); }
  to   { opacity: 0.45; transform: translateY(0); }
}
.scroll-cue--gone {
  opacity: 0;
  pointer-events: none;
  transform: translateY(-4px);
}
@media (prefers-reduced-motion: reduce) {
  .scroll-cue, .scroll-cue__rail, .scroll-cue__arrow { animation: none; }
}
@media (max-width: 540px) {
  .scroll-cue { margin-top: 24px; font-size: 10px; letter-spacing: 0.24em; gap: 7px; }
  .scroll-cue__rail { height: 22px; }
  .scroll-cue__arrow { font-size: 14px; }
}

/* ============================================================
   MODULES — DARK section, light text, brutalist cards
   ============================================================ */
.modules {
  background: var(--dark);
  color: var(--on-dark);
  padding: var(--section-y) 0;
  position: relative;
  border-top: 1px solid var(--on-light);
  border-bottom: 1px solid var(--on-dark);
}
.modules .section-label { color: var(--on-dark-2); }
.modules .section-label__num { color: var(--on-dark); }
.modules .section-label__text { color: var(--on-dark-2); }
.modules .section-title { color: var(--on-dark); }
.modules .section-title em { color: var(--on-dark); opacity: 0.65; }
.modules .section-lede { color: var(--on-dark-2); }
.modules .section-lede strong { color: var(--on-dark); }

.modules__head { margin-bottom: clamp(40px, 6vw, 72px); }
.modules__grid { display: grid; gap: clamp(20px, 2vw, 28px); }

.mod {
  border: 1px solid var(--line-on-dark);
  background: var(--dark-2);
  padding: clamp(28px, 4vw, 48px);
  position: relative;
  clip-path: var(--notch-clip);
  --notch: 18px;
}
.mod--key {
  background: var(--dark-3);
  border-color: var(--on-dark);
}

.mod--port {
  background: var(--light);
  color: var(--on-light);
  border-color: var(--on-light);
}
.mod--port .mod__name { color: var(--on-light); }
.mod--port .mod__num { color: var(--on-light); }
.mod--port .mod__num--port { color: var(--on-light); }
.mod--port .mod__tag { color: var(--on-light-2); }
.mod--port .mod__col-head { color: var(--on-light); }
.mod--port .mod__list li { color: var(--on-light-2); }
.mod--port .mod__list li::before { background: var(--on-light); }
.mod--port .mod__list li strong { color: var(--on-light); }
.mod--port .mod__ships { background: var(--light-2); color: var(--on-light); border-left-color: var(--on-light); }
.mod--port .mod__value-eq { color: var(--on-light-3); }
.mod--port .mod__value-num { color: var(--on-light); }

/* Community card: dark like regular modules (M1-M7), distinction via ◇ icon + position.
   Subtle accent: slightly raised dark-3 background + brighter border to visually separate
   from the curriculum modules without inverting to light. */
.mod--community {
  background: var(--dark-3);
  border-color: var(--on-dark);
}
.mod--community .mod__num--community { color: var(--on-dark); opacity: 0.85; }
.mod--community .mod__value-num--accent { color: var(--on-dark); }

.mod__key-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  font-weight: 700;
  color: var(--dark);
  background: var(--on-dark);
  padding: 6px 12px;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.mod__head {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: baseline;
  gap: clamp(16px, 2vw, 24px);
  margin-bottom: clamp(24px, 3vw, 36px);
  padding-bottom: clamp(20px, 2.5vw, 28px);
  border-bottom: 1px solid var(--line-on-dark);
}
@media (min-width: 760px) {
  .mod__head { grid-template-columns: auto 1fr auto; }
}
.mod--port .mod__head { border-color: var(--line-on-light); }

.mod__num {
  font-family: var(--font-dot);
  font-weight: 700;
  font-size: clamp(40px, 5.5vw, 80px);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--on-dark);
  min-width: 72px;
}
.mod__title { min-width: 0; }
.mod__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(22px, 2.8vw, 36px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--on-dark);
  margin-bottom: 8px;
}
.mod__tag {
  font-family: var(--font-mono);
  font-style: normal;
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--on-dark-2);
}

.mod__value {
  display: none;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: right;
}
@media (min-width: 760px) {
  .mod__value { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
}
.mod__value-eq { color: var(--on-dark-3); }
.mod__value-num {
  font-family: var(--font-mono);
  font-style: normal;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: -0.005em;
  color: var(--on-dark);
  text-transform: none;
}

.mod__body {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(24px, 3vw, 40px);
}
@media (min-width: 880px) {
  .mod__body { grid-template-columns: 1.6fr 1fr; }
}

.mod__col-head {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--on-dark);
  font-weight: 700;
  margin-bottom: 14px;
}
.mod__list { display: grid; gap: 10px; }
.mod__list li {
  position: relative;
  font-size: clamp(14.5px, 1.05vw, 16px);
  line-height: 1.55;
  color: var(--on-dark-2);
  padding-left: 18px;
}
.mod__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  background: var(--on-dark);
}
.mod__list li strong { color: var(--on-dark); font-weight: 600; }
.mod__ships {
  font-family: var(--font-sans);
  font-size: clamp(14.5px, 1.05vw, 16px);
  line-height: 1.6;
  color: var(--on-dark);
  padding: 16px 18px;
  background: var(--dark-3);
  border-left: 2px solid var(--on-dark);
}

.modules__cta { text-align: center; margin-top: clamp(48px, 6vw, 80px); }
.modules__cta-meta {
  margin-top: 16px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--on-dark-3);
  text-transform: uppercase;
}
.modules .btn--primary { background: var(--on-dark); color: var(--dark); }
.modules .btn--primary:hover { background: var(--on-dark-2); }
.modules .btn__chev { background: var(--dark); color: var(--on-dark); }

/* ============================================================
   FUNNEL COMPARISON — light section, pain panels + inverted ours
   ============================================================ */
.funnel {
  background: var(--light);
  color: var(--on-light);
  padding: var(--section-y) 0;
  position: relative;
  border-bottom: 1px solid var(--on-light);
}
.funnel__container { max-width: 1100px; margin: 0 auto; }

.funnel .section-title {
  margin-bottom: 24px;
  max-width: 22ch;
}
.funnel .section-title em {
  font-style: normal;
  opacity: 0.55;
}
.funnel .section-lede {
  margin-bottom: clamp(56px, 8vw, 96px);
  max-width: 60ch;
}

/* ---------- PANEL (one per funnel variant) ---------- */
.funnel__panel {
  border-top: 1px solid var(--line-on-light);
  padding: clamp(40px, 5vw, 72px) 0;
}
.funnel__panel + .funnel__panel { border-top: 1px solid var(--line-on-light); }

.funnel__panel--ours {
  background: var(--dark);
  color: var(--on-dark);
  padding: clamp(48px, 6vw, 88px) clamp(28px, 4vw, 56px);
  margin: clamp(20px, 2.5vw, 32px) 0 0;
  clip-path: var(--notch-clip);
  border-top: 1px solid var(--on-light);
}

/* head row: tag · name · verdict */
.funnel__panel-head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: baseline;
  margin-bottom: clamp(28px, 3.5vw, 48px);
}
.funnel__panel-tag {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--on-light-3);
  text-transform: uppercase;
  white-space: nowrap;
}
.funnel__panel--ours .funnel__panel-tag { color: var(--on-dark-2); }

.funnel__panel-name {
  font-family: var(--font-display);
  font-size: clamp(28px, 4.2vw, 56px);
  font-weight: 700;
  letter-spacing: -0.025em;
  text-transform: uppercase;
  line-height: 1;
  margin: 0;
  color: var(--on-light);
}
.funnel__panel--ours .funnel__panel-name { color: var(--on-dark); }

.funnel__panel-verdict {
  font-family: var(--font-mono);
  font-size: clamp(12px, 1vw, 14px);
  color: var(--on-light-3);
  text-transform: lowercase;
  text-align: right;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.funnel__panel--ours .funnel__panel-verdict { color: var(--on-dark-2); }

/* body content */
.funnel__panel-body {
  display: flex;
  flex-direction: column;
  gap: clamp(24px, 3vw, 40px);
}

.funnel__panel-hook {
  font-family: var(--font-sans);
  font-size: clamp(18px, 1.7vw, 24px);
  line-height: 1.45;
  max-width: 64ch;
  font-weight: 500;
  color: var(--on-light);
  margin: 0;
}
.funnel__panel--ours .funnel__panel-hook { color: var(--on-dark); }

/* stats — two columns of big Doto numbers */
.funnel__panel-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(20px, 2vw, 40px);
  border-top: 1px solid var(--line-on-light);
  border-bottom: 1px solid var(--line-on-light);
  padding: clamp(22px, 2.5vw, 32px) 0;
}
.funnel__panel--ours .funnel__panel-stats {
  border-top: 1px solid var(--line-on-dark);
  border-bottom: 1px solid var(--line-on-dark);
}

.funnel__panel-stat-label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--on-light-3);
  margin-bottom: 10px;
}
.funnel__panel--ours .funnel__panel-stat-label { color: var(--on-dark-3); }

.funnel__panel-stat-val {
  font-family: var(--font-dot);
  font-size: clamp(32px, 3.8vw, 56px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--on-light);
}
.funnel__panel--ours .funnel__panel-stat-val { color: var(--on-dark); }

.funnel__panel-stat-note {
  font-family: var(--font-sans);
  font-size: 13px;
  color: var(--on-light-3);
  margin-top: 8px;
}
.funnel__panel--ours .funnel__panel-stat-note { color: var(--on-dark-3); }

.funnel__panel-close {
  font-family: var(--font-sans);
  font-size: clamp(15px, 1.15vw, 17px);
  line-height: 1.55;
  max-width: 64ch;
  color: var(--on-light-2);
  margin: 0;
}
.funnel__panel-close strong { color: var(--on-light); font-weight: 700; }
.funnel__panel--ours .funnel__panel-close { color: var(--on-dark-2); }
.funnel__panel--ours .funnel__panel-close strong { color: var(--on-dark); }

/* Solution-bridge paragraph (highlighted, inside pain panels) */
.funnel__panel-bridge {
  font-family: var(--font-sans);
  font-size: clamp(15px, 1.15vw, 17px);
  line-height: 1.55;
  max-width: 64ch;
  color: var(--on-light-2);
  margin: 0;
  padding: clamp(20px, 2.5vw, 28px);
  border: 1px solid var(--line-on-light);
  background: var(--light-2);
  position: relative;
}
.funnel__panel-bridge strong { color: var(--on-light); font-weight: 700; }
.funnel__panel-bridge-tag {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--on-light);
  margin-bottom: 10px;
}

/* Subhead inside Ours panel (e.g., "optional ladder" intro) */
.funnel__panel-subhead {
  font-family: var(--font-display);
  font-size: clamp(18px, 1.6vw, 24px);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.015em;
  line-height: 1.2;
  margin: clamp(20px, 2vw, 28px) 0 8px;
  color: var(--on-dark);
}
.funnel__panel-subhead-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--on-dark-2);
  margin-right: 12px;
}

/* HERO CLAIM — big sci-fi reveal in Ours panel */
.funnel__hero-claim {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(24px, 3vw, 56px);
  align-items: center;
  padding: clamp(28px, 3.5vw, 48px) clamp(28px, 3vw, 40px);
  border: 1px solid var(--on-dark);
  background: var(--dark-2);
  position: relative;
  margin: clamp(8px, 1vw, 16px) 0 clamp(20px, 2.5vw, 32px);
}
.funnel__hero-claim-tag {
  position: absolute;
  top: 16px;
  left: 28px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--on-dark-2);
}
.funnel__hero-claim-num {
  font-family: var(--font-dot);
  font-size: clamp(64px, 9vw, 144px);
  font-weight: 700;
  line-height: 0.85;
  letter-spacing: -0.03em;
  color: var(--on-dark);
}
.funnel__hero-claim-text {
  font-family: var(--font-sans);
  font-size: clamp(17px, 1.4vw, 22px);
  line-height: 1.4;
  color: var(--on-dark);
  max-width: 56ch;
}
.funnel__hero-claim-text strong { font-weight: 700; color: var(--on-dark); }
@media (max-width: 760px) {
  .funnel__hero-claim { grid-template-columns: 1fr; gap: 16px; padding-top: 52px; }
}

/* PRINTER/AI CASE STORY — juicy money-shot block inside Ours panel */
.funnel__case {
  background: var(--dark-3);
  border: 1px solid var(--on-dark);
  padding: clamp(28px, 3.5vw, 48px) clamp(24px, 3vw, 40px);
  display: flex;
  flex-direction: column;
  gap: clamp(20px, 2.5vw, 32px);
  position: relative;
}
.funnel__case-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--on-dark-2);
}
.funnel__case-head {
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 40px);
  font-weight: 700;
  letter-spacing: -0.025em;
  text-transform: uppercase;
  line-height: 1.05;
  color: var(--on-dark);
  margin: 0;
  max-width: 22ch;
}
.funnel__case-head em { font-style: normal; opacity: 0.55; }

.funnel__case-beat {
  display: grid;
  grid-template-columns: clamp(140px, 18vw, 220px) 1fr;
  gap: clamp(20px, 3vw, 48px);
  align-items: start;
  padding: clamp(20px, 2vw, 28px) 0;
  border-top: 1px solid var(--line-on-dark);
}
@media (max-width: 760px) {
  .funnel__case-beat {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

.funnel__case-stat {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.funnel__case-stat-num {
  font-family: var(--font-dot);
  font-size: clamp(36px, 4.2vw, 64px);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.02em;
  color: var(--on-dark);
}
.funnel__case-stat-label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--on-dark-2);
  line-height: 1.3;
}

.funnel__case-body p {
  font-family: var(--font-sans);
  font-size: clamp(16px, 1.2vw, 19px);
  line-height: 1.55;
  color: var(--on-dark-2);
  margin: 0 0 12px;
  max-width: 64ch;
}
.funnel__case-body p:last-child { margin-bottom: 0; }
.funnel__case-body p strong { color: var(--on-dark); font-weight: 700; }

.funnel__case-foot {
  font-family: var(--font-mono);
  font-size: clamp(12px, 1vw, 14px);
  color: var(--on-dark-2);
  line-height: 1.55;
  padding-top: clamp(20px, 2vw, 28px);
  border-top: 1px solid var(--line-on-dark);
  letter-spacing: 0.01em;
}

/* 5-LAYER STACK — capabilities (legacy class, kept for Ours panel residual + reused) */
.funnel__layers {
  display: grid;
  gap: 1px;
  background: var(--line-on-dark);
  border: 1px solid var(--line-on-dark);
}
.funnel__layer {
  display: grid;
  grid-template-columns: clamp(100px, 13vw, 160px) 1fr;
  gap: clamp(20px, 2.5vw, 40px);
  align-items: start;
  padding: clamp(22px, 2.5vw, 32px) clamp(20px, 2vw, 28px);
  background: var(--dark-2);
}
.funnel__layer-num {
  font-family: var(--font-dot);
  font-size: clamp(18px, 1.8vw, 28px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.01em;
  color: var(--on-dark);
}
.funnel__layer-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.funnel__layer-name {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--on-dark);
}
.funnel__layer-text {
  font-family: var(--font-sans);
  font-size: clamp(15px, 1.1vw, 17px);
  line-height: 1.55;
  color: var(--on-dark-2);
  max-width: 64ch;
}
@media (max-width: 640px) {
  .funnel__layer { grid-template-columns: 1fr; gap: 8px; }
}

/* PROOF BAND — 3-row case lift table */
.funnel__proof {
  display: grid;
  gap: 1px;
  background: var(--line-on-dark);
  border: 1px solid var(--line-on-dark);
}
.funnel__proof-row {
  display: grid;
  grid-template-columns: 1.4fr 1.6fr auto;
  gap: clamp(16px, 2vw, 32px);
  align-items: center;
  padding: clamp(18px, 2vw, 24px) clamp(20px, 2vw, 28px);
  background: var(--dark-2);
}
.funnel__proof-niche {
  font-family: var(--font-mono);
  font-size: clamp(13px, 1vw, 15px);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--on-dark-2);
}
.funnel__proof-bar {
  display: flex;
  align-items: baseline;
  gap: 12px;
  font-family: var(--font-dot);
  font-size: clamp(18px, 1.8vw, 24px);
  font-weight: 700;
  color: var(--on-dark);
}
.funnel__proof-bar-from { color: var(--on-dark-2); opacity: 0.7; }
.funnel__proof-bar-arrow { color: var(--on-dark); opacity: 0.6; font-family: var(--font-mono); font-size: 14px; font-weight: 700; }
.funnel__proof-bar-to { color: var(--on-dark); font-weight: 700; }
.funnel__proof-mult {
  font-family: var(--font-mono);
  font-size: clamp(12px, 0.95vw, 14px);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--on-dark);
  white-space: nowrap;
}
@media (max-width: 760px) {
  .funnel__proof-row {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 18px 20px;
  }
  .funnel__proof-mult { text-align: left; }
}

/* ---------- LADDER (3 rungs inside ours panel) ---------- */
.funnel__ladder {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line-on-dark);
  border: 1px solid var(--line-on-dark);
}
.funnel__ladder-rung {
  background: var(--dark-2);
  padding: clamp(22px, 2.5vw, 32px) clamp(20px, 2vw, 28px);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.funnel__ladder-price {
  font-family: var(--font-dot);
  font-size: clamp(24px, 2.8vw, 40px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--on-dark);
}
.funnel__ladder-name {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--on-dark);
}
.funnel__ladder-note {
  font-family: var(--font-sans);
  font-size: 13px;
  line-height: 1.45;
  color: var(--on-dark-2);
  margin-top: 4px;
}

/* ---------- INVERSIONS (boxed callouts at bottom) ---------- */
.funnel__inversions {
  margin-top: clamp(64px, 9vw, 120px);
  display: grid;
  gap: clamp(20px, 2vw, 28px);
}
.funnel__inversions-head {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.6vw, 48px);
  font-weight: 700;
  letter-spacing: -0.025em;
  text-transform: uppercase;
  margin: 0 0 clamp(20px, 2.5vw, 32px);
  max-width: 24ch;
  color: var(--on-light);
}
.funnel__inversions-head em {
  font-style: normal;
  opacity: 0.55;
}

.funnel__inversion {
  display: grid;
  grid-template-columns: clamp(64px, 8vw, 100px) 1fr;
  gap: clamp(24px, 3vw, 48px);
  padding: clamp(28px, 3vw, 44px);
  border: 1px solid var(--line-on-light);
  background: var(--light-2);
  align-items: start;
}
.funnel__inversion-num {
  font-family: var(--font-dot);
  font-size: clamp(44px, 5.5vw, 72px);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.02em;
  color: var(--on-light);
  opacity: 0.35;
}
.funnel__inversion-title {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.1vw, 30px);
  font-weight: 700;
  letter-spacing: -0.015em;
  text-transform: uppercase;
  line-height: 1.05;
  margin: 0 0 14px;
  color: var(--on-light);
}
.funnel__inversion-body p {
  font-family: var(--font-sans);
  font-size: clamp(15px, 1.15vw, 17px);
  line-height: 1.55;
  color: var(--on-light-2);
  max-width: 64ch;
  margin: 0;
}
.funnel__inversion-body p strong {
  color: var(--on-light);
  font-weight: 700;
}

/* ---------- RESPONSIVE (tablet down) ---------- */
@media (max-width: 900px) {
  .funnel__panel-head {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .funnel__panel-verdict { text-align: left; }
  .funnel__ladder { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .funnel__panel-stats { grid-template-columns: 1fr; gap: 28px; }
  .funnel__inversion {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .funnel__inversion-num { font-size: 56px; }
}

/* ============================================================
   THE STACK — standalone 5-layer capability section (DARK)
   ============================================================ */
.stack {
  background: var(--dark);
  color: var(--on-dark);
  padding: var(--section-y) 0;
  border-top: 1px solid var(--on-light);
  border-bottom: 1px solid var(--on-dark);
  position: relative;
}
.stack__container { max-width: 1100px; margin: 0 auto; }

.stack .section-title { color: var(--on-dark); margin-bottom: 24px; }
.stack .section-title em { color: var(--on-dark); opacity: 0.55; font-style: normal; }
.stack .section-lede {
  color: var(--on-dark-2);
  margin-bottom: clamp(48px, 6vw, 80px);
  max-width: 64ch;
}

.stack__layers {
  display: grid;
  gap: 1px;
  background: var(--line-on-dark);
  border: 1px solid var(--line-on-dark);
}
.stack__layer {
  display: grid;
  grid-template-columns: clamp(120px, 14vw, 180px) 1fr;
  gap: clamp(24px, 3vw, 56px);
  align-items: start;
  padding: clamp(28px, 3vw, 40px) clamp(24px, 2.5vw, 32px);
  background: var(--dark-2);
}
.stack__layer-num {
  font-family: var(--font-dot);
  font-size: clamp(22px, 2.2vw, 36px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.01em;
  color: var(--on-dark);
}
.stack__layer-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.stack__layer-name {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--on-dark);
}
.stack__layer-text {
  font-family: var(--font-sans);
  font-size: clamp(16px, 1.2vw, 19px);
  line-height: 1.55;
  color: var(--on-dark-2);
  max-width: 64ch;
}
@media (max-width: 640px) {
  .stack__layer { grid-template-columns: 1fr; gap: 10px; }
}

/* ============================================================
   OPERATOR NOTE — first-person pivot story (light section)
   ============================================================ */
.opnote {
  background: var(--light);
  color: var(--on-light);
  padding: var(--section-y) 0;
  border-bottom: 1px solid var(--line-on-light);
}
.opnote__container { max-width: 920px; margin: 0 auto; }

.opnote .section-title {
  margin-bottom: 48px;
  max-width: 18ch;
}
.opnote .section-title em {
  font-style: normal;
  opacity: 0.55;
}

.opnote__body {
  font-family: var(--font-sans);
  font-size: clamp(17px, 1.25vw, 20px);
  line-height: 1.6;
  color: var(--on-light-2);
  max-width: 64ch;
}
.opnote__body p { margin-bottom: 22px; }
.opnote__body p strong { color: var(--on-light); font-weight: 700; }
.opnote__body p em { font-style: italic; color: var(--on-light); }

.opnote__lead {
  font-size: clamp(20px, 1.6vw, 26px);
  line-height: 1.45;
  font-weight: 500;
  color: var(--on-light) !important;
  margin-bottom: 32px !important;
}

.opnote__math {
  padding: clamp(20px, 2.5vw, 32px);
  border: 1px solid var(--line-on-light);
  background: var(--light-2);
  font-family: var(--font-mono);
  font-size: clamp(14px, 1.05vw, 16px);
  line-height: 1.7;
  margin: 28px 0 !important;
  color: var(--on-light-2) !important;
}
.opnote__math strong { color: var(--on-light); font-weight: 700; }

.opnote__pivot-head {
  font-family: var(--font-display);
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.015em;
  color: var(--on-light) !important;
  margin: 36px 0 16px !important;
}

.opnote__pivot-list {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: grid;
  gap: 14px;
}
.opnote__pivot-list li {
  padding-left: 28px;
  position: relative;
  font-size: clamp(16px, 1.2vw, 18px);
  line-height: 1.55;
}
.opnote__pivot-list li > span {
  position: absolute;
  left: 0;
  top: 0;
  color: var(--on-light);
  font-weight: 700;
}
.opnote__pivot-list li strong { color: var(--on-light); font-weight: 700; }
.opnote__pivot-list li em { font-style: italic; color: var(--on-light-2); }

.opnote__result {
  font-size: clamp(19px, 1.45vw, 24px);
  line-height: 1.5;
  font-weight: 500;
  color: var(--on-light) !important;
  padding: clamp(20px, 2.5vw, 28px) 0;
  border-top: 2px solid var(--on-light);
  border-bottom: 2px solid var(--on-light);
  margin: 32px 0 !important;
}
.opnote__result strong { font-weight: 700; }

.opnote__bridge {
  font-family: var(--font-mono);
  font-size: clamp(13px, 1vw, 15px);
  color: var(--on-light-3) !important;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-top: 24px !important;
}


/* ============================================================
   THE 90/10 — sci-fi day-with-agents monologue (DARK section)
   ============================================================ */
.ninety {
  background: var(--dark);
  color: var(--on-dark);
  padding: var(--section-y) 0;
  border-bottom: 1px solid var(--on-dark);
  position: relative;
}
.ninety__container { max-width: 1000px; margin: 0 auto; }

.ninety .section-title { color: var(--on-dark); margin-bottom: 24px; }
.ninety .section-title em { color: var(--on-dark); opacity: 0.55; font-style: normal; }
.ninety .section-lede {
  color: var(--on-dark-2);
  margin-bottom: clamp(48px, 6vw, 80px);
  max-width: 58ch;
}

.ninety__day {
  display: grid;
  gap: 1px;
  background: var(--line-on-dark);
  border-top: 1px solid var(--line-on-dark);
  border-bottom: 1px solid var(--line-on-dark);
}

.ninety__beat {
  display: grid;
  grid-template-columns: clamp(110px, 14vw, 180px) 1fr;
  gap: clamp(24px, 3vw, 56px);
  align-items: start;
  padding: clamp(24px, 3vw, 36px) 0;
  background: var(--dark);
}

.ninety__time {
  font-family: var(--font-dot);
  font-size: clamp(20px, 2vw, 32px);
  line-height: 1;
  letter-spacing: -0.01em;
  color: var(--on-dark);
  font-weight: 700;
  text-transform: lowercase;
}

.ninety__line {
  font-family: var(--font-sans);
  font-size: clamp(17px, 1.25vw, 21px);
  line-height: 1.55;
  color: var(--on-dark-2);
  max-width: 56ch;
}
.ninety__line strong {
  color: var(--on-dark);
  font-weight: 700;
}

.ninety__kicker {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.4vw, 36px);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  color: var(--on-dark);
  margin-top: clamp(48px, 6vw, 80px);
  text-align: left;
  line-height: 1.15;
}
.ninety__kicker em {
  font-style: normal;
  opacity: 0.55;
}


/* ============================================================
   TESTIMONIALS — operator case logs (LIGHT section)
   ============================================================ */
.cases {
  background: var(--light);
  color: var(--on-light);
  padding: var(--section-y) 0;
  border-top: 1px solid var(--on-light);
  border-bottom: 1px solid var(--on-light);
}
.cases__container { max-width: 1200px; margin: 0 auto; }

.cases .section-title { margin-bottom: 24px; max-width: 22ch; }
.cases .section-title em { font-style: normal; opacity: 0.55; }
.cases .section-lede {
  margin-bottom: clamp(48px, 6vw, 72px);
  max-width: 58ch;
}

.cases__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(20px, 2vw, 32px);
}
@media (max-width: 760px) {
  .cases__grid { grid-template-columns: 1fr; }
}

.case {
  padding: clamp(28px, 3vw, 40px);
  border: 1px solid var(--line-on-light);
  background: var(--light-2);
  display: flex;
  flex-direction: column;
  gap: clamp(20px, 2vw, 28px);
}

.case__meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line-on-light);
}

.case__name {
  font-family: var(--font-display);
  font-size: clamp(24px, 2.2vw, 32px);
  font-weight: 700;
  letter-spacing: -0.015em;
  text-transform: uppercase;
  line-height: 1;
  color: var(--on-light);
}

.case__tag {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--on-light-3);
}

.case__quote {
  font-family: var(--font-sans);
  font-size: clamp(15px, 1.1vw, 17px);
  line-height: 1.55;
  color: var(--on-light-2);
  margin: 0;
  flex: 1;
}

.case__stat {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px;
  padding-top: 16px;
  border-top: 1px solid var(--line-on-light);
  font-family: var(--font-mono);
  font-size: clamp(12px, 0.95vw, 14px);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--on-light-3);
}
.case__stat-from { color: var(--on-light-3); }
.case__stat-arrow { color: var(--on-light); font-weight: 700; opacity: 0.7; }
.case__stat-to { color: var(--on-light); font-weight: 700; }
.case__stat-time { color: var(--on-light-3); margin-left: auto; }

.cases__foot {
  margin-top: clamp(40px, 5vw, 64px);
  font-family: var(--font-sans);
  font-size: 13px;
  line-height: 1.5;
  color: var(--on-light-3);
  text-align: center;
  max-width: 72ch;
  margin-left: auto;
  margin-right: auto;
}
.cases__foot em { font-style: italic; }


/* ============================================================
   FAQ — OBJECTION SWEEP · light section, brutalist Q.NN cards
   ============================================================ */
.faq {
  background: var(--light);
  color: var(--on-light);
  padding: var(--section-y) 0;
  border-bottom: 1px solid var(--line-on-light);
}
.faq__container { max-width: 1100px; margin: 0 auto; padding: 0 var(--gutter); }

.faq .section-label { margin-bottom: 28px; }
.faq .section-title {
  margin-bottom: 28px;
  max-width: 22ch;
}
.faq .section-title em { font-style: normal; opacity: 0.55; }
.faq .section-lede {
  max-width: 70ch;
  font-size: clamp(15px, 1.05vw, 17px);
  line-height: 1.6;
  color: var(--on-light-2);
  margin-bottom: clamp(48px, 6vw, 80px);
}

.faq__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid var(--on-light);
  border-bottom: 1px solid var(--on-light);
}
.faq__item {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: clamp(20px, 3vw, 48px);
  padding: clamp(20px, 3vw, 36px) clamp(4px, 1vw, 12px);
  border-bottom: 1px solid var(--line-on-light);
  align-items: start;
  transition: background var(--t-fast) var(--ease);
}
.faq__item:last-child { border-bottom: none; }
.faq__item:hover { background: rgba(0, 0, 0, 0.015); }

.faq__num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--on-light-3);
  font-weight: 700;
  padding-top: 6px;
}
.faq__body { min-width: 0; }
.faq__q {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(18px, 1.6vw, 24px);
  line-height: 1.25;
  letter-spacing: -0.012em;
  color: var(--on-light);
  margin: 0 0 12px;
}
.faq__a {
  font-family: var(--font-sans);
  font-size: clamp(15px, 1.05vw, 17px);
  line-height: 1.6;
  color: var(--on-light-2);
  margin: 0;
}
.faq__a strong { color: var(--on-light); font-weight: 700; }

.faq__foot {
  margin-top: clamp(32px, 4vw, 56px);
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.55;
  color: var(--on-light-3);
  text-align: center;
  max-width: 72ch;
  margin-left: auto;
  margin-right: auto;
}
.faq__foot em { font-style: italic; }

@media (max-width: 640px) {
  .faq__item { grid-template-columns: 1fr; gap: 8px; }
  .faq__num { padding-top: 0; }
}


/* ============================================================
   YIELD DISCLOSURE — LIGHT section
   ============================================================ */
.yield {
  background: var(--light);
  padding: var(--section-y) 0;
  border-bottom: 1px solid var(--on-light);
}
.yield__container { max-width: 1000px; margin: 0 auto; }
.yield__body {
  font-family: var(--font-sans);
  font-size: clamp(16px, 1.2vw, 18px);
  line-height: 1.65;
  color: var(--on-light-2);
  max-width: 60ch;
}
.yield__body p { margin-bottom: 20px; }
.yield__body p strong { color: var(--on-light); font-weight: 600; }
.yield__body p em { font-style: normal; color: var(--on-light); font-weight: 600; }

.yield__list {
  margin: 28px 0;
  padding: 24px 28px;
  background: var(--light-2);
  border-left: 2px solid var(--on-light);
  display: grid;
  gap: 14px;
  clip-path: var(--notch-clip);
  --notch: 12px;
}
.yield__list li {
  display: grid;
  grid-template-columns: 24px 1fr;
  font-size: 14.5px;
  line-height: 1.55;
}
.yield__list li > span { color: var(--on-light); font-weight: 700; }

.yield__kicker {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(24px, 3vw, 40px);
  line-height: 1.1;
  text-transform: uppercase;
  color: var(--on-light);
  margin: 36px 0;
  letter-spacing: -0.02em;
}
.yield__kicker em { font-style: normal; opacity: 0.55; }

.yield__bridge {
  padding-top: 28px;
  border-top: 1px solid var(--line-on-light);
  color: var(--on-light-2);
  font-family: var(--font-sans);
  font-size: clamp(16px, 1.3vw, 19px);
  line-height: 1.6;
}
.yield__bridge em { font-style: normal; color: var(--on-light); font-weight: 600; }

/* ============================================================
   OFFER — DARK section, receipt card on dark
   ============================================================ */
.offer {
  background: var(--dark);
  color: var(--on-dark);
  padding: var(--section-y) 0;
  border-bottom: 1px solid var(--on-dark);
}
.offer .section-label__num { color: var(--on-dark); }
.offer .section-label__text { color: var(--on-dark-2); }
.offer .section-title { color: var(--on-dark); }
.offer .section-title em { color: var(--on-dark); opacity: 0.55; }

.offer__sheet {
  max-width: 820px;
  margin: 48px auto 0;
  background: var(--light);
  color: var(--on-light);
  border: 1px solid var(--on-light);
  padding: clamp(32px, 5vw, 56px);
  clip-path: var(--notch-clip);
  --notch: 18px;
  position: relative;
}

.offer__lines { display: grid; gap: 6px; margin-bottom: 32px; }
.offer__lines li {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-family: var(--font-sans);
  font-size: clamp(13.5px, 1vw, 15px);
  color: var(--on-light);
  padding: 8px 0;
}
.offer__lname { flex-shrink: 1; font-weight: 500; }
.offer__dots { flex: 1; border-bottom: 1px dotted var(--on-light-3); position: relative; top: -3px; min-width: 20px; }
.offer__lval {
  font-family: var(--font-mono);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  color: var(--on-light-2);
  white-space: nowrap;
  font-size: clamp(13px, 1vw, 14px);
}
.offer__lval--accent { color: var(--on-light); font-weight: 700; }
.offer__divider { height: 1px; background: var(--line-on-light); margin: 8px 0; padding: 0 !important; }

.offer__totals { border-top: 2px solid var(--on-light); padding-top: 24px; margin-bottom: 32px; }
.offer__total-row { display: flex; justify-content: space-between; align-items: baseline; padding: 8px 0; gap: 16px; }
.offer__total-row--final { margin-top: 4px; padding-top: 16px; border-top: 1px solid var(--line-on-light); }
.offer__total-label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--on-light-2);
}
.offer__total-was {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(22px, 2.4vw, 28px);
  color: var(--on-light-3);
  text-decoration: line-through;
  text-decoration-thickness: 2px;
}
.offer__total-now {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(52px, 7.5vw, 96px);
  color: var(--on-light);
  letter-spacing: -0.04em;
  line-height: 1;
}
.offer__total-meta {
  margin-top: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--on-light-3);
  text-transform: uppercase;
  text-align: right;
}

.offer__sheet .btn--primary { background: var(--on-light); color: var(--light); }
.offer__sheet .btn--primary:hover { background: var(--on-light-2); }
.offer__sheet .btn__chev { background: var(--light); color: var(--on-light); }

/* ============================================================
   GUARANTEE — LIGHT section (alternating)
   ============================================================ */
.guarantee {
  background: var(--light);
  padding: var(--section-y) 0;
  border-bottom: 1px solid var(--on-light);
  position: relative;
}
.guarantee__container { max-width: 1000px; margin: 0 auto; }
.guarantee__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(36px, 6vw, 88px);
  line-height: 0.95;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: var(--on-light);
  margin: 28px 0 40px;
}
.guarantee__title em { font-style: normal; opacity: 0.55; }
.guarantee__body {
  font-family: var(--font-sans);
  font-size: clamp(16px, 1.2vw, 19px);
  line-height: 1.65;
  color: var(--on-light-2);
  max-width: 56ch;
}
.guarantee__body p { margin-bottom: 24px; }
.guarantee__list {
  display: grid;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: clamp(13px, 1.05vw, 15px);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.guarantee__list li { color: var(--on-light); font-weight: 600; }

/* ============================================================
   FINAL CTA — DARK section
   ============================================================ */
.final {
  background: var(--dark);
  color: var(--on-dark);
  padding: var(--section-y) 0;
  text-align: left;
  border-bottom: 1px solid var(--on-dark);
}
.final__container { max-width: 1200px; margin: 0 auto; }
.final__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(40px, 7vw, 116px);
  line-height: 0.92;
  letter-spacing: -0.035em;
  text-transform: uppercase;
  color: var(--on-dark);
  margin-bottom: 48px;
}
.final__title em { font-style: normal; opacity: 0.55; }
.final__sub {
  margin-top: 24px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--on-dark-3);
  text-transform: uppercase;
}
.final .btn--primary { background: var(--on-dark); color: var(--dark); }
.final .btn--primary:hover { background: var(--on-dark-2); }
.final .btn__chev { background: var(--dark); color: var(--on-dark); }

/* ============================================================
   PLACEHOLDER (video)
   ============================================================ */
.ph { display: grid; place-items: center; text-align: center; position: relative; }
.ph__badge {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 6px 11px;
  background: var(--on-dark);
  color: var(--dark);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  font-weight: 700;
  text-transform: uppercase;
}
.ph__player { display: flex; align-items: center; gap: 16px; color: var(--on-dark); }
.ph__play {
  width: clamp(56px, 7vw, 80px);
  height: clamp(56px, 7vw, 80px);
  border: 1px solid var(--on-dark);
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: var(--on-dark);
  font-size: 22px;
}
.ph__time {
  font-family: var(--font-mono);
  font-size: clamp(11px, 1.1vw, 14px);
  color: var(--on-dark-2);
  letter-spacing: 0.1em;
}
.ph__caption {
  position: absolute;
  bottom: 14px;
  left: 14px;
  right: 14px;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--on-dark-3);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ============================================================
   FOOTER — DARK
   ============================================================ */
.foot {
  background: var(--dark);
  color: var(--on-dark);
  padding: 80px 0 32px;
  position: relative;
}
.foot__row { display: grid; grid-template-columns: 1fr; gap: 32px; margin-bottom: 56px; }
@media (min-width: 600px) { .foot__row { grid-template-columns: 1.4fr 1fr 1fr; } }
.foot__brand {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.04em;
  color: var(--on-dark);
  margin-bottom: 8px;
  text-transform: uppercase;
}
.foot__head {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--on-dark);
  margin-bottom: 10px;
}
.foot__meta { font-size: 13px; color: var(--on-dark-3); line-height: 1.6; font-family: var(--font-mono); }
.foot__meta a { color: var(--on-dark); transition: opacity var(--t-fast) var(--ease); }
.foot__meta a:hover { opacity: 0.6; }
.foot__bottom {
  padding-top: 24px;
  border-top: 1px dashed var(--line-on-dark);
  text-align: center;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.3em;
  color: var(--on-dark-3);
  font-weight: 500;
  text-transform: uppercase;
}

/* ============================================================
   SCROLL REVEALS (GSAP-friendly defaults)
   ============================================================ */
.js .js-reveal-line { opacity: 0; transform: translateY(24px); }
.js .js-reveal-line.is-in {
  opacity: 1; transform: translateY(0);
  transition: opacity var(--t-slow) var(--ease-out), transform var(--t-slow) var(--ease-out);
}
.js .reveal { opacity: 0; transform: translateY(28px); }
.js .reveal.is-in {
  opacity: 1; transform: translateY(0);
  transition: opacity var(--t-slow) var(--ease-out), transform var(--t-slow) var(--ease-out);
}

/* Hero title — always visible, simple structural styling */
.hero__title .hero__title-line {
  display: block;
  overflow: hidden;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .js .js-reveal-line, .js .reveal { opacity: 1; transform: none; }
  .gsap-split.gsap-ready { visibility: visible; }
}

/* ============================================================
   ATLAS WIDGET — sliding chat surface (cross-page)
   ============================================================ */

/* Toggle button — bottom-right fixed (standard chat-widget position).
   Stays out of the way of nav__cta + nav__brand at the top. Pulse-attract. */
.widget-toggle {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 200;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--light);
  background: var(--on-light);
  border: 0;
  cursor: pointer;
  clip-path: var(--notch-clip);
  box-shadow: 0 10px 28px rgba(0,0,0,0.25);
  transition:
    transform 240ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 240ms cubic-bezier(0.22, 1, 0.36, 1),
    background 160ms var(--ease);
}
.widget-toggle:hover { background: var(--on-light-2); }
.widget-toggle__dot {
  font-family: var(--font-mono);
  font-size: 14px;
  animation: widget-toggle-pulse 2.4s ease-in-out infinite;
}
@keyframes widget-toggle-pulse {
  0%, 60%, 100% { opacity: 1; }
  30% { opacity: 0.45; }
}
.widget-toggle--hidden {
  opacity: 0;
  transform: translateY(40px);
  pointer-events: none;
}
@media (max-width: 540px) {
  .widget-toggle { bottom: 16px; right: 16px; padding: 10px 14px; font-size: 11px; }
}

/* Widget surface — fixed bottom-right, slides up */
.widget {
  position: fixed;
  bottom: 16px;
  right: 16px;
  z-index: 250;
  width: min(380px, calc(100vw - 32px));
  height: min(540px, calc(100vh - 120px));
  display: flex;
  flex-direction: column;
  transition:
    transform 360ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 280ms cubic-bezier(0.22, 1, 0.36, 1);
  filter: drop-shadow(0 18px 48px rgba(0,0,0,0.45));
}
.widget--hidden {
  transform: translateY(28px);
  opacity: 0;
  pointer-events: none;
}

.widget__shell {
  flex: 1;
  display: flex;
  flex-direction: column;
  border-radius: 14px;
  overflow: hidden;
  background: #1E1E1E;
  border: 1px solid #2C2C2C;
  /* Keep notch for visual consistency with hero terminal */
}

.widget__bar {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: #2A2A2A;
  border-bottom: 1px solid #3A3A3A;
}
.widget__lights {
  display: inline-flex;
  gap: 6px;
}
.widget__light {
  width: 12px; height: 12px; border-radius: 50%;
  display: inline-block;
  cursor: pointer;
  position: relative;
  transition: filter 140ms var(--ease), transform 140ms var(--ease);
}
.widget__light:hover { filter: brightness(0.78); transform: scale(1.08); }
.widget__light:active { transform: scale(0.92); }
/* Show × on hover so click affordance is obvious */
.widget__light--red::after {
  content: '×';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
  color: #4A0000;
  opacity: 0;
  transition: opacity 140ms var(--ease);
}
.widget__lights:hover .widget__light--red::after { opacity: 1; }

.widget__light--red    { background: #FF5F57; }
.widget__light--yellow { background: #FEBC2E; }
.widget__light--green  { background: #28C840; }

.widget__title {
  font-family: 'SF Mono', 'JetBrains Mono', ui-monospace, monospace;
  font-size: 12px;
  font-weight: 500;
  color: #C9C9C5;
  text-align: center;
  letter-spacing: 0.02em;
}

.widget__close {
  width: 24px; height: 24px;
  font-size: 18px;
  line-height: 1;
  color: #C9C9C5;
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: color 140ms var(--ease);
}
.widget__close:hover { color: #FFFFFF; }

.widget__body {
  flex: 1;
  padding: 14px 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-family: 'SF Mono', 'Menlo', 'Monaco', ui-monospace, monospace;
  font-size: 12.5px;
  line-height: 1.55;
  color: #F5F5F5;
  background: #1E1E1E;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
  scrollbar-width: thin;
  scrollbar-color: #3A3A3A transparent;
  cursor: text;
}
.widget__body::-webkit-scrollbar { width: 6px; }
.widget__body::-webkit-scrollbar-thumb { background: #3A3A3A; border-radius: 3px; }

.widget__line {
  white-space: pre-wrap;
  word-break: break-word;
}
.widget__line--sys {
  color: #8E8E8E;
  font-size: 11.5px;
}
.widget__line--you {
  color: #F5F5F5;
}
.widget__line--assistant {
  color: #C9C9C5;
}
.widget__line--input {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: auto; /* sticks input to bottom */
}
.widget__prompt {
  color: #28C840;
  font-weight: 600;
  font-size: 12.5px;
  flex-shrink: 0;
}
.widget__field {
  flex: 1;
  min-width: 0;
  font-family: inherit;
  font-size: 12.5px;
  color: #F5F5F5;
  background: transparent;
  border: 0;
  padding: 4px 0;
  outline: none;
  caret-color: #F5F5F5;
  caret-shape: block;
}
.widget__field::placeholder { color: #5A5A5A; }
.widget__field:disabled { opacity: 0.4; }

.widget__link {
  color: #F07C30;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.widget__link:hover { color: #FF9E5F; }
.widget__link[data-conversion="whop_click"] { color: #F07C30; font-weight: 600; }

/* Mobile: widget docks as bottom drawer occupying roughly bottom third.
   Lets the lead read the page content above while keeping the chat open. */
@media (max-width: 540px) {
  .widget {
    width: 100vw;
    right: 0;
    bottom: 0;
    height: 38vh;
    min-height: 280px;
    max-height: calc(100vh - 80px);
  }
  .widget__shell {
    border-radius: 14px 14px 0 0;
  }
  .widget--hidden {
    transform: translateY(100%);
  }
  /* Slim down on mobile to free vertical space */
  .widget__bar { padding: 8px 12px; }
  .widget__body { padding: 10px 12px 12px; font-size: 12px; }
}

/* ============================================================
   MOBILE FINE-TUNING (below 720px)
   ============================================================ */
@media (max-width: 720px) {
  .nav__cta { padding: 8px 14px; font-size: 11px; }
  .hero { padding: 20px 0 56px; }
  .hero__meta { font-size: 10px; margin-bottom: 32px; }
  .hero__title { line-height: 0.94; }
  .hero__sub { line-height: 1.85; font-size: 16px; }
  .hero__printer { padding: 14px; }
  .mod__head { grid-template-columns: 1fr; gap: 12px; }
  .mod__num { font-size: 44px; }
  .offer__lines li { font-size: 13.5px; gap: 8px; }
  .offer__lname { font-size: 13.5px; line-height: 1.35; }
  .offer__lval { font-size: 13px; }
  .offer__sheet { padding: 24px 20px; }
  .ph__caption { display: none; }
  .ph__player { gap: 12px; }
}
