/* ============================================================
   MARKETING FOR FRACTIONALS - SITE SYSTEM
   Built on the brand guide. Dark (default) + Light themes.
   ============================================================ */

/* ---------- TOKENS ---------- */
:root {
  --stone:   #1a1a1b;
  --ink:     #111112;
  --white:   #ffffff;
  --paper:   #fdfaf8;
  --paper-2: #f3f4f4;
  --accent:  #f5a94d;   /* amber - used sparingly */
  --accent-deep: #e08e2a;

  /* Theme-driven (defaults = DARK) */
  --bg:        #161617;
  --bg-tex:    url('assets/brand-bg.webp');
  --surface:   rgba(255,255,255,0.035);
  --surface-2: rgba(255,255,255,0.06);
  --fg:        #ffffff;
  --fg-mute:   rgba(255,255,255,0.62);
  --fg-faint:  rgba(255,255,255,0.40);
  --line:      rgba(255,255,255,0.14);
  --line-soft: rgba(255,255,255,0.08);
  --on-accent: #1a1a1b;
  --motif:     #ffffff;
  --shadow:    0 30px 80px rgba(0,0,0,.45);

  --maxw: 1240px;
  --gut: 40px;
  --r: 6px;
}

[data-theme="light"] {
  --bg:        #fdfaf8;
  --bg-tex:    none;
  --surface:   #ffffff;
  --surface-2: #f3f4f4;
  --fg:        #111112;
  --fg-mute:   #545861;
  --fg-faint:  #8a8e96;
  --line:      #e4e4e4;
  --line-soft: #ededed;
  --on-accent: #1a1a1b;
  --motif:     #111112;
  --shadow:    0 24px 60px rgba(17,17,18,.10);
}

/* ---------- RESET ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: 'Prompt', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg);
  background-image: var(--bg-tex);
  background-size: cover;
  background-attachment: fixed;
  background-position: center;
  color: var(--fg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-weight: 400;
  line-height: 1.5;
  overflow-x: hidden;
  transition: background-color .5s ease, color .5s ease;
}
[data-theme="light"] body { background-image: none; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
h1,h2,h3,h4,p { margin: 0; }

/* ---------- LAYOUT ---------- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gut); }
.section { padding: 132px 0; position: relative; }
.section--tight { padding: 88px 0; }
.divider { height: 1px; background: var(--line-soft); border: 0; margin: 0; }

.eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--fg-faint);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
}
.eyebrow::before {
  content: "";
  width: 28px; height: 1px;
  background: var(--accent);
  display: inline-block;
}

/* ---------- TYPE ---------- */
.display {
  font-weight: 700;
  font-size: clamp(48px, 7vw, 104px);
  line-height: 1.02;
  letter-spacing: -.03em;
  text-wrap: balance;
}
.display .lt { font-weight: 200; }
.h1 {
  font-weight: 700;
  font-size: clamp(38px, 4.6vw, 68px);
  line-height: 1.08;
  letter-spacing: -.02em;
  text-wrap: balance;
}
.h1 .lt { font-weight: 200; }
.h2 {
  font-weight: 700;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.12;
  letter-spacing: -.015em;
}
.h2 .lt { font-weight: 200; }
.h3 {
  font-weight: 600;
  font-size: 23px;
  line-height: 1.25;
  letter-spacing: -.01em;
}
.lede {
  font-size: clamp(19px, 1.7vw, 24px);
  line-height: 1.5;
  font-weight: 300;
  color: var(--fg-mute);
  max-width: 40ch;
  text-wrap: pretty;
}
.body { font-size: 17px; line-height: 1.65; color: var(--fg-mute); max-width: 62ch; text-wrap: pretty; }
.body strong { color: var(--fg); font-weight: 600; }
.mono-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--fg-faint);
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 14px;
  font-weight: 600; font-size: 16px;
  padding: 16px 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: transform .25s cubic-bezier(.2,.7,.3,1), background .25s, color .25s, border-color .25s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; transition: transform .3s ease; }
.btn:hover svg { transform: translateX(4px); }
.btn--primary { background: var(--fg); color: var(--bg); }
[data-theme="light"] .btn--primary { background: var(--ink); color: #fff; }
.btn--primary:hover { transform: translateY(-2px); }
.btn--accent { background: var(--accent); color: var(--on-accent); }
.btn--accent:hover { transform: translateY(-2px); background: var(--accent-deep); }
.btn--ghost { border-color: var(--line); color: var(--fg); }
.btn--ghost:hover { border-color: var(--fg); transform: translateY(-2px); }
.btn--sm { padding: 11px 18px; font-size: 14px; }

.textlink {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 600; font-size: 16px;
  color: var(--fg);
  border-bottom: 1px solid var(--line);
  padding-bottom: 4px;
  transition: gap .25s, border-color .25s;
}
.textlink svg { width: 16px; height: 16px; }
.textlink:hover { gap: 16px; border-color: var(--accent); }

/* ---------- HEADER ---------- */
.site-head {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background .35s, border-color .35s, backdrop-filter .35s;
  border-bottom: 1px solid transparent;
}
.site-head.scrolled {
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(16px) saturate(1.2);
  border-bottom-color: var(--line-soft);
}
.site-head .wrap {
  display: flex; align-items: center; justify-content: space-between;
  height: 84px;
}
.brand-lock { display: flex; align-items: center; gap: 14px; }
.brand-lock .mark { width: 30px; height: 26px; color: var(--motif); flex: 0 0 auto; }
.brand-lock .wm {
  font-weight: 700; font-size: 13px; line-height: 1.15;
  text-transform: uppercase; letter-spacing: .04em;
}
.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  font-size: 14px; font-weight: 500;
  padding: 8px 13px; border-radius: 999px;
  color: var(--fg-mute);
  transition: color .2s, background .2s;
}
.nav a:hover { color: var(--fg); }
.nav a.active { color: var(--fg); background: var(--surface-2); }
.head-actions { display: flex; align-items: center; gap: 14px; }

.theme-toggle {
  width: 40px; height: 40px; border-radius: 999px;
  border: 1px solid var(--line);
  background: transparent; color: var(--fg);
  display: grid; place-items: center;
  transition: border-color .2s, transform .3s;
}
.theme-toggle:hover { border-color: var(--fg); transform: rotate(-15deg); }
.theme-toggle svg { width: 18px; height: 18px; }
.theme-toggle .sun { display: none; }
[data-theme="light"] .theme-toggle .sun { display: block; }
[data-theme="light"] .theme-toggle .moon { display: none; }

.burger { display: none; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 999px; background: transparent; color: var(--fg); place-items: center; }
.burger svg { width: 20px; height: 20px; }

/* ---------- HERO ---------- */
.hero { padding: 188px 0 96px; position: relative; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 64px; align-items: center; }
.hero h1 { margin-bottom: 30px; }
.hero .lede { margin-bottom: 40px; max-width: 46ch; }
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }
.hero-grid--video { grid-template-columns: 1fr; gap: 56px; }
.hero-grid--video .lede { max-width: 62ch; }
.hero-video { margin: 0; border: 1px solid var(--line); border-radius: calc(var(--r) * 2); overflow: hidden; background: #161617; box-shadow: var(--shadow); }
.hero-video img { display: block; width: 100%; height: auto; }
.hero-video.is-vertical video { aspect-ratio: 4 / 5; }
@media (max-width: 640px) { .hero-video.about-photo { max-width: none; } }
.about-photo { max-width: 640px; margin-left: auto; }
.hero-video-cta { display: flex; justify-content: center; margin-top: -24px; }
.hero-video video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; }
@media (prefers-reduced-motion: reduce) { .hero-video video { display: none; } .hero-video { aspect-ratio: 16 / 9; background: #161617 url('/assets/video/hero-promo-poster.webp') center / cover; } }
@media (prefers-reduced-motion: reduce) and (max-width: 640px) { .hero-video:has(.js-hero-video) { aspect-ratio: 4 / 5; background-image: url('/assets/video/hero-promo-vertical-poster.webp'); } }

/* halo art block (hero, ctas) */
.halo-art { position: relative; aspect-ratio: 1 / 1; width: 100%; }
.halo-art .ring, .halo-art .arc, .halo-art .dot { position: absolute; color: var(--motif); }

/* ---------- MOTIF PRIMITIVES ---------- */
.ring { border-radius: 50%; border: 2.5px solid currentColor; }
.dot { border-radius: 50%; background: currentColor; }
.arc svg { width: 100%; height: auto; display: block; }

/* ---------- STAGE CARDS ---------- */
.stages { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.stage {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 30px 28px 26px;
  display: flex; flex-direction: column; gap: 14px; min-height: 230px;
  transition: transform .35s cubic-bezier(.2,.7,.3,1), border-color .35s, background .35s;
  overflow: hidden;
}
.stage:hover { transform: translateY(-6px); border-color: var(--fg-faint); background: var(--surface-2); }
.stage .idx { font-family:'JetBrains Mono',monospace; font-size: 12px; letter-spacing:.1em; color: var(--fg-faint); }
.stage .when { font-size: 15px; color: var(--fg-mute); font-weight: 300; }
.stage .pg { font-weight: 700; font-size: 27px; letter-spacing: -.01em; margin-top: auto; }
.stage .pg .lt { font-weight: 200; }
.stage .go { display:inline-flex; align-items:center; gap:8px; font-size:14px; color: var(--fg-faint); font-weight:500; }
.stage .go svg { width:15px; height:15px; transition: transform .3s; }
.stage:hover .go { color: var(--fg); }
.stage:hover .go svg { transform: translateX(4px); }
.stage::after {
  content:""; position:absolute; right:-40px; top:-40px;
  width: 120px; height: 120px; border-radius:50%;
  border: 2px solid var(--line-soft);
  transition: transform .5s ease;
}
.stage:hover::after { transform: scale(1.3) rotate(20deg); }

/* ---------- BOTTLENECK ROUTING ---------- */
.bottleneck-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.bottleneck-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 32px 28px 28px;
  display: flex; flex-direction: column; gap: 14px;
  transition: transform .35s cubic-bezier(.2,.7,.3,1), border-color .35s, background .35s;
  text-decoration: none; color: inherit;
}
.bottleneck-card:hover { transform: translateY(-6px); border-color: var(--accent); background: var(--surface-2); }
.bn-problem { font-weight: 700; font-size: 22px; letter-spacing: -.01em; line-height: 1.2; }
.bn-desc { font-size: 15px; color: var(--fg-mute); font-weight: 300; line-height: 1.55; flex: 1; }
.bn-solution {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13.5px; font-weight: 500; color: var(--accent);
  margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line-soft);
}
.bn-solution svg { width: 15px; height: 15px; transition: transform .3s; }
.bottleneck-card:hover .bn-solution svg { transform: translateX(4px); }
@media (max-width: 1020px) { .bottleneck-grid { grid-template-columns: 1fr; } }
@media (min-width: 1021px) {
  .bottleneck-grid { grid-template-columns: repeat(3, 1fr); }
  .bottleneck-card:nth-child(4),
  .bottleneck-card:nth-child(5) { grid-column: span 1; }
}

/* ---------- SECTION HEADER ---------- */
.sec-head { max-width: 760px; margin-bottom: 64px; }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-head.center .eyebrow { justify-content: center; }
.sec-head .body { margin-top: 22px; }
.sec-head.center .body { margin-left: auto; margin-right: auto; }

/* ---------- SITUATION (Where are you today) ---------- */
.situations { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.situation {
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--surface);
  padding: 36px 32px;
  display: flex; flex-direction: column;
  transition: border-color .3s, background .3s;
}
.situation:hover { border-color: var(--fg-faint); }
.situation .num { font-weight: 200; font-size: 64px; line-height: 1; letter-spacing: -.03em; color: var(--fg); opacity: .9; }
.situation h3 { margin: 18px 0 22px; }
.situation .needs { list-style: none; padding: 0; margin: 0 0 30px; display: flex; flex-direction: column; gap: 11px; }
.situation .needs li { font-size: 15.5px; color: var(--fg-mute); display: flex; align-items: baseline; gap: 12px; }
.situation .needs li::before { content:""; width:5px; height:5px; border-radius:50%; background: var(--accent); flex:0 0 5px; transform: translateY(-2px); }
.situation .route {
  margin-top: auto; padding-top: 22px; border-top: 1px solid var(--line-soft);
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.situation .route .pg { font-weight: 700; font-size: 18px; }
.situation .route svg { width: 18px; height: 18px; color: var(--fg-faint); transition: transform .3s; }
.situation:hover .route svg { transform: translateX(4px); color: var(--fg); }

/* ---------- CANVAS (Authority Canvas) ---------- */
.canvas-flow { display: flex; flex-direction: column; gap: 0; max-width: 560px; margin: 0 auto; }
.canvas-node {
  display: grid; grid-template-columns: 56px 1fr; gap: 22px; align-items: center;
  padding: 20px 26px; border: 1px solid var(--line); border-radius: var(--r);
  background: var(--surface);
  position: relative;
  transition: transform .3s, border-color .3s, background .3s;
}
.canvas-node:hover { transform: translateX(8px); border-color: var(--accent); background: var(--surface-2); }
.canvas-node .cn { font-family:'JetBrains Mono',monospace; font-size: 13px; color: var(--accent); font-weight: 500; }
.canvas-node .ct { font-weight: 600; font-size: 20px; letter-spacing: -.01em; }
.canvas-node .cd { font-size: 14px; color: var(--fg-mute); font-weight: 300; }
.canvas-link { width: 1px; height: 26px; background: var(--line); margin: 0 auto; position: relative; }
.canvas-link::after { content:""; position:absolute; bottom:0; left:50%; transform: translateX(-50%); width:6px; height:6px; border-right:1.5px solid var(--fg-faint); border-bottom:1.5px solid var(--fg-faint); rotate: 45deg; }

/* ---------- FRAMEWORK (5 layers) ---------- */
.layers { display: flex; flex-direction: column; gap: 14px; }
.layer {
  display: grid; grid-template-columns: 210px 1fr auto; gap: 36px; align-items: center;
  border: 1px solid var(--line); border-radius: var(--r);
  background: var(--surface);
  padding: 30px 34px;
  transition: border-color .35s, background .35s, transform .35s;
  position: relative; overflow: hidden;
}
.layer:hover { border-color: var(--accent); background: var(--surface-2); }
.layer .ly-n { font-family:'JetBrains Mono',monospace; font-size: 12px; letter-spacing:.12em; color: var(--fg-faint); transition: color .35s; }
.layer .ly-t { font-weight: 700; font-size: 30px; letter-spacing: -.015em; margin-top: 6px; transition: color .35s; }
.layer:hover .ly-n, .layer:hover .ly-t { color: var(--accent); }
.layer .chip { transition: color .35s, border-color .35s; }
.layers--compact { gap: 0; border-top: 1px solid var(--line-soft); }
.layers--compact .layer { display: flex; align-items: baseline; gap: 20px; padding: 18px 4px; border: 0; border-bottom: 1px solid var(--line-soft); border-radius: 0; background: none; }
.layers--compact .layer:hover { background: none; border-color: var(--line-soft); }
.layers--compact .ly-t { font-size: 22px; margin-top: 0; }
.layer:hover .chip { color: var(--fg); border-color: var(--accent); }
.layer .ly-d { font-size: 16px; color: var(--fg-mute); font-weight: 300; max-width: 52ch; }
.layer .ly-tags { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; max-width: 280px; }
.chip {
  font-family:'JetBrains Mono',monospace; font-size: 11px; letter-spacing: .04em;
  padding: 5px 11px; border: 1px solid var(--line); border-radius: 999px;
  color: var(--fg-mute); text-transform: uppercase; white-space: nowrap;
}
@media (max-width: 860px){ .layer { grid-template-columns: 1fr; gap: 14px; } .layer .ly-tags { justify-content: flex-start; max-width: none; } }

/* ---------- TIMELINE (first 90 days) ---------- */
.timeline { display: grid; grid-template-columns: repeat(4,1fr); gap: 0; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.tl-step { padding: 34px 30px; border-right: 1px solid var(--line); position: relative; min-height: 280px; display: flex; flex-direction: column; background: var(--surface); transition: background .3s; }
.tl-step:last-child { border-right: 0; }
.tl-step:hover { background: var(--surface-2); }
.tl-step .wk { font-family:'JetBrains Mono',monospace; font-size: 12px; letter-spacing:.1em; color: var(--accent); margin-bottom: 20px; }
.tl-step .bar { height: 3px; background: var(--line); border-radius: 3px; margin-bottom: 26px; position: relative; overflow: hidden; }
.tl-step .bar::after { content:""; position:absolute; inset:0; width: var(--fill,25%); background: var(--fg); }
.tl-step h3 { margin-bottom: 14px; }
.tl-step p { font-size: 15px; color: var(--fg-mute); font-weight: 300; line-height: 1.55; }
@media (max-width: 860px){ .timeline { grid-template-columns: 1fr; } .tl-step { border-right:0; border-bottom: 1px solid var(--line); min-height:0; } .tl-step:last-child{border-bottom:0;} }

/* ---------- DIAGNOSTIC BAND ---------- */
.band {
  border: 1px solid var(--line); border-radius: 10px;
  background: var(--surface);
  padding: 64px; position: relative; overflow: hidden;
}
.band-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.band-grid--flip { grid-template-columns: .9fr 1.1fr; align-items: start; }
.about-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(260px, 100%), 1fr)); gap: 16px; margin-top: 40px; }
.about-card { display: block; padding: 26px 26px 28px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); color: inherit; text-decoration: none; transition: border-color .3s, background .3s; }
.about-card:hover { border-color: var(--accent); background: var(--surface-2); }
.about-card h3 { margin: 0 0 10px; font-size: 19px; font-weight: 600; letter-spacing: -.01em; }
.about-card:hover h3 { color: var(--accent); }
.about-card p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--fg-mute); font-weight: 300; }
.about-compare { display: grid; grid-template-columns: repeat(2, 1fr); gap: 36px 56px; margin-top: 40px; }
.about-compare h3 { margin: 0 0 10px; font-size: 20px; font-weight: 600; letter-spacing: -.01em; }
.about-compare p { margin: 0; font-size: 16px; line-height: 1.6; color: var(--fg-mute); font-weight: 300; }
@media (max-width: 760px) { .about-compare { grid-template-columns: 1fr; gap: 28px; } }
.founder-note { margin: 0; padding: 30px 34px; border-left: 2px solid var(--accent); background: var(--surface-2); border-radius: 0 var(--r) var(--r) 0; }
.founder-note p { margin: 0; font-size: 19px; line-height: 1.65; font-weight: 300; }
.founder-note cite { display: block; margin-top: 16px; font-family: 'JetBrains Mono', monospace; font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--fg-faint); font-style: normal; }
.facts { margin: 0; border-top: 1px solid var(--line); }
.facts > div { display: grid; grid-template-columns: 200px 1fr; gap: 24px; padding: 14px 0; border-bottom: 1px solid var(--line-soft); }
.facts dt { font-family: 'JetBrains Mono', monospace; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--fg-faint); padding-top: 3px; }
.facts dd { margin: 0; font-size: 16px; }
.facts a { color: var(--accent); }
@media (max-width: 560px) { .facts > div { grid-template-columns: 1fr; gap: 4px; } }
.faq > div { padding: 24px 0; border-bottom: 1px solid var(--line-soft); }
.faq h3 { margin: 0 0 10px; font-size: 19px; font-weight: 600; letter-spacing: -.01em; }
.faq p { margin: 0; font-size: 16px; line-height: 1.6; color: var(--fg-mute); font-weight: 300; max-width: 70ch; }
.person-link { color: inherit; text-decoration: none; background-image: linear-gradient(currentColor, currentColor); background-size: 0 1px; background-position: 0 100%; background-repeat: no-repeat; transition: background-size .25s; }
.person-link:hover, .person-link:focus-visible { background-size: 100% 1px; }
.logo-strip { margin-top: 56px; padding: 32px 36px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }
.logo-row { display: flex; align-items: center; justify-content: space-between; gap: 32px 48px; flex-wrap: wrap; margin-top: 22px; }
.logo-row a { display: block; opacity: .75; transition: opacity .25s; }
.logo-row a:hover, .logo-row a:focus-visible { opacity: 1; }
.logo-row img { width: auto; max-width: 100%; }
[data-theme="light"] .logo-row img { filter: invert(1); }
@media (max-width: 640px) { .logo-row { justify-content: flex-start; gap: 24px 32px; } .logo-row img { max-height: 28px; } }
.bb-set { margin-top: 44px; }
.bb-head { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; margin-bottom: 14px; }
.bb-head h3 { margin: 0; font-size: 20px; font-weight: 600; letter-spacing: -.01em; }
.bb-head span { font-family: 'JetBrains Mono', monospace; font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--fg-faint); }
.bb-row { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; scrollbar-width: thin; scrollbar-color: var(--line) transparent; }
.bb-row:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.bb-row img { height: 300px; width: auto; max-width: none; flex: 0 0 auto; scroll-snap-align: start; border-radius: var(--r); border: 1px solid var(--line); background: var(--surface); }
@media (max-width: 640px) { .bb-row img { height: 200px; } }
.bb-pair { margin-top: 44px; }
.bb-pair h3 { margin: 0 0 18px; font-size: 20px; font-weight: 600; letter-spacing: -.01em; }
.tool-embed { display: block; width: 100%; height: 720px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; }
@media (max-width: 640px) { .tool-embed { height: 620px; } }
.tool-reactions { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); gap: 14px; }
.tool-reactions blockquote { margin: 0; padding: 20px 22px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); font-size: 15.5px; line-height: 1.55; font-weight: 300; }
.tool-reactions cite { display: block; margin-top: 10px; font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--fg-faint); font-style: normal; }
.more-clients { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; padding: 28px 32px; border: 1px dashed var(--line); border-radius: var(--r); }
.more-clients p { margin: 0; flex: 1 1 280px; color: var(--fg-mute); font-weight: 300; font-size: 16px; line-height: 1.55; }
.more-clients strong { color: var(--fg); font-weight: 600; }
.more-faces { display: flex; padding-left: 12px; }
.more-faces img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; margin-left: -12px; border: 2px solid var(--bg); filter: grayscale(1); transition: filter .25s; }
.more-faces img:hover { filter: none; }
.post-split { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
@media (max-width: 640px) { .post-split { grid-template-columns: 1fr; gap: 20px; } }
.assess { list-style:none; padding:0; margin: 26px 0 0; display: grid; grid-template-columns: repeat(2,1fr); gap: 14px 28px; }
.assess li { font-size: 15.5px; color: var(--fg-mute); display:flex; align-items:center; gap:12px; }
.assess li svg { width: 17px; height: 17px; color: var(--accent); flex:0 0 17px; }

/* ---------- CASE STUDY ---------- */
.case {
  border: 1px solid var(--line); border-radius: 10px;
  background: var(--surface); overflow: hidden;
}
.case-grid { display: grid; grid-template-columns: repeat(3,1fr); }
.case-col { padding: 40px 36px; border-right: 1px solid var(--line); }
.case-col:last-child { border-right: 0; }
.case-col .lab { display:flex; align-items:center; gap:10px; margin-bottom: 18px; }
.case-col .lab .d { width:8px; height:8px; border-radius:50%; }
.case-col .lab span { font-family:'JetBrains Mono',monospace; font-size:11px; letter-spacing:.12em; text-transform:uppercase; color: var(--fg-faint); }
.case-col p { font-size: 16px; color: var(--fg-mute); line-height: 1.6; font-weight: 300; }
.case-col .inst { list-style:none; padding:0; margin:0; display:flex; flex-direction:column; gap:10px; }
.case-col .inst li { font-size:15px; color: var(--fg-mute); display:flex; gap:10px; align-items:baseline; }
.case-col .inst li::before { content:"+"; color: var(--accent); font-weight:600; }
.case-head { padding: 32px 36px; border-bottom: 1px solid var(--line); display:flex; align-items:center; gap: 20px; }
.case-head .av { width: 60px; height: 60px; border-radius: 50%; border: 2px solid var(--line); background: var(--surface-2); object-fit: cover; flex:0 0 60px; }
.case-head .nm { font-weight: 700; font-size: 22px; letter-spacing: -.01em; }
.case-head .rl { font-size: 14px; color: var(--fg-mute); font-weight: 300; }
@media (max-width: 860px){ .case-grid { grid-template-columns: 1fr; } .case-col { border-right:0; border-bottom: 1px solid var(--line); } .case-col:last-child{border-bottom:0;} }
.case-quote { display:grid; grid-template-columns: 32px 1fr; gap: 18px; padding: 30px 36px; border-top: 1px solid var(--line); margin: 0; background: var(--surface-2); }
.case-quote::before { content:"\201C"; font-family:'Prompt',sans-serif; font-weight:700; font-size: 44px; line-height: .8; color: var(--accent); }
.case-quote .q { font-size: 17px; line-height: 1.6; color: var(--fg); font-weight: 300; max-width: 76ch; margin: 0; }
.case-quote cite { grid-column: 2; display:block; margin-top: 12px; font-family:'JetBrains Mono',monospace; font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--fg-faint); font-style: normal; }

/* ---------- FINAL CTA ---------- */
.cta-band {
  border-radius: 12px; overflow: hidden; position: relative;
  background: var(--stone) url('assets/brand-bg.webp') center/cover;
  color: #fff;
  padding: 96px 64px;
  text-align: center;
}
[data-theme="light"] .cta-band { box-shadow: var(--shadow); }
.cta-band .h1 { color:#fff; margin-bottom: 24px; }
.cta-band .lede { color: rgba(255,255,255,.7); margin: 0 auto 40px; max-width: 48ch; }
.cta-band .btn--ghost { border-color: rgba(255,255,255,.3); color:#fff; }
.cta-band .btn--ghost:hover { border-color:#fff; }

/* ---------- FOOTER ---------- */
.site-foot { border-top: 1px solid var(--line); padding: 72px 0 48px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; margin-bottom: 56px; }
.foot-brand .wm { font-weight:700; font-size: 16px; text-transform: uppercase; letter-spacing:.03em; margin: 18px 0 12px; }
.foot-brand p { font-size: 15px; color: var(--fg-mute); font-weight: 300; max-width: 38ch; line-height: 1.6; }
.foot-col h4 { font-family:'JetBrains Mono',monospace; font-size: 11px; letter-spacing:.14em; text-transform: uppercase; color: var(--fg-faint); margin-bottom: 20px; }
.foot-col a { display: block; font-size: 15.5px; color: var(--fg-mute); padding: 7px 0; transition: color .2s; }
.foot-col a:hover { color: var(--fg); }
.foot-base { display:flex; justify-content: space-between; align-items:center; padding-top: 28px; border-top: 1px solid var(--line-soft); gap: 20px; flex-wrap: wrap; }
.foot-base .mono-tag { font-size: 11px; }

/* ---------- REVEAL ANIMATION ----------
   Progressive enhancement: content is visible by default. Only once JS adds
   `.js` to <html> do we hide-then-reveal, so a JS/observer failure can never
   leave the page blank. */
html.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s cubic-bezier(.2,.7,.3,1), transform .8s cubic-bezier(.2,.7,.3,1); }
html.js .reveal.in { opacity: 1; transform: none; }
html.js .reveal[data-d="1"]{ transition-delay:.08s;} html.js .reveal[data-d="2"]{ transition-delay:.16s;} html.js .reveal[data-d="3"]{ transition-delay:.24s;} html.js .reveal[data-d="4"]{ transition-delay:.32s;}
@media (prefers-reduced-motion: reduce){ html.js .reveal{opacity:1;transform:none;transition:none;} html{scroll-behavior:auto;} }

/* spinning halo */
@keyframes spin { to { transform: rotate(360deg); } }
.spin-slow { animation: spin 60s linear infinite; }
@media (prefers-reduced-motion: reduce){ .spin-slow { animation: none; } }

/* ---------- PAGE HERO (interior pages) ---------- */
.page-hero { padding: 176px 0 72px; position: relative; overflow: hidden; }
.page-hero .h1 { max-width: 18ch; margin-bottom: 28px; }
.page-hero .lede { max-width: 56ch; }

/* ---------- MISC GRIDS ---------- */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.feat-list { list-style:none; padding:0; margin:0; display:flex; flex-direction:column; }
.feat-list li { padding: 22px 0; border-top: 1px solid var(--line-soft); display:grid; grid-template-columns: 40px 1fr; gap: 18px; }
.feat-list li:first-child { border-top: 0; }
.feat-list .fn { font-family:'JetBrains Mono',monospace; font-size:13px; color: var(--fg-faint); }
.feat-list .ft { font-weight: 600; font-size: 18px; margin-bottom: 4px; }
.feat-list .fd { font-size: 15px; color: var(--fg-mute); font-weight: 300; }

/* ---------- PROOF / BEFORE-AFTER ---------- */
.proof-compare {
  display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start;
}
.proof-compare .proof-col { display: flex; flex-direction: column; gap: 12px; }
.proof-label {
  font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: .12em;
  text-transform: uppercase; color: var(--fg-faint); display: flex; align-items: center; gap: 8px;
}
.proof-label .dot-before { width: 8px; height: 8px; border-radius: 50%; background: var(--fg-faint); }
.proof-label .dot-after { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.proof-img {
  width: 100%; border-radius: var(--r); border: 1px solid var(--line);
  display: block;
}
.proof-caption {
  font-size: 13px; color: var(--fg-faint); font-weight: 300; line-height: 1.5;
}
.proof-stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.proof-stat {
  padding: 28px 24px; border: 1px solid var(--line); border-radius: var(--r);
  background: var(--surface);
}
.proof-stat .stat-num {
  font-size: 36px; font-weight: 700; letter-spacing: -.02em; line-height: 1;
}
.proof-stat .stat-label {
  font-size: 13px; color: var(--fg-mute); font-weight: 300; margin-top: 8px;
}
.proof-stat .stat-delta {
  font-family: 'JetBrains Mono', monospace; font-size: 12px; color: var(--accent);
  margin-top: 6px; display: inline-block;
}
.proof-stack { display: flex; flex-direction: column; align-items: center; gap: 0; max-width: 720px; margin: 0 auto; }
.proof-stack .proof-frame { width: 100%; }
.proof-stack .proof-frame img { width: 100%; border-radius: var(--r); border: 1px solid var(--line); display: block; }
.proof-stack .proof-arrow { display: flex; align-items: center; justify-content: center; padding: 20px 0; color: var(--accent); }
.proof-stack .proof-arrow svg { width: 32px; height: 32px; }
.proof-screenshots {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 24px;
}
.proof-screenshots img { width: 100%; border-radius: var(--r); border: 1px solid var(--line); display: block; }
@media (max-width: 860px) {
  .proof-compare { grid-template-columns: 1fr; gap: 40px; }
  .proof-stats { grid-template-columns: 1fr; }
  .proof-screenshots { grid-template-columns: 1fr; }
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1080px){
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero .halo-art { max-width: 420px; }
  .band-grid { grid-template-columns: 1fr; gap: 36px; }
  .two-col { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 1020px){
  :root { --gut: 24px; }
  .nav { display: none; }
  .burger { display: grid; }
  .stages, .situations { grid-template-columns: 1fr; }
  .section { padding: 88px 0; }
  .hero { padding: 150px 0 72px; }
  .band, .cta-band { padding: 44px 28px; }
  .foot-grid { grid-template-columns: 1fr; gap: 36px; }
  .assess { grid-template-columns: 1fr; }
  .head-actions .btn { display: none; }
}

/* ---------- MOBILE NAV ---------- */
.mobile-nav {
  position: fixed; inset: 0; z-index: 99;
  background: var(--bg); background-image: var(--bg-tex); background-size: cover;
  display: flex; flex-direction: column; justify-content: center; gap: 8px;
  padding: 0 32px;
  transform: translateY(-100%); visibility: hidden;
  transition: transform .45s cubic-bezier(.2,.7,.3,1), visibility 0s linear .45s;
}
[data-theme="light"] .mobile-nav { background-image: none; }
.mobile-nav.open { transform: none; visibility: visible; transition: transform .45s cubic-bezier(.2,.7,.3,1), visibility 0s; }
.mobile-nav a { font-size: 34px; font-weight: 700; letter-spacing: -.02em; padding: 12px 0; color: var(--fg); }
.mobile-nav a.active:not(.btn) { color: var(--accent); }
.mobile-nav a .lt { font-weight: 200; }
.mobile-nav .btn { margin-top: 28px; align-self: flex-start; }

/* ---------- PRICING CARDS ---------- */
.plan-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.plan-card {
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--surface);
  padding: 40px 36px;
  display: flex; flex-direction: column;
  position: relative; overflow: hidden;
  transition: border-color .3s, background .3s;
}
.plan-card:hover { border-color: var(--fg-faint); }
.plan-card--featured { border-color: var(--accent); }
.plan-card--featured:hover { border-color: var(--accent-deep); }
.plan-card .plan-tag {
  font-family:'JetBrains Mono',monospace; font-size: 11px; letter-spacing:.14em;
  text-transform: uppercase; color: var(--fg-faint); margin-bottom: 16px;
}
.plan-card--featured .plan-tag { color: var(--accent); }
.plan-card .plan-name { font-weight: 700; font-size: 30px; letter-spacing: -.015em; margin-bottom: 8px; }
.plan-card .plan-desc { font-size: 16px; color: var(--fg-mute); font-weight: 300; line-height: 1.55; margin-bottom: 24px; }
.plan-card .plan-price { font-weight: 700; font-size: 38px; letter-spacing: -.02em; margin-bottom: 6px; }
.plan-card .plan-price span { font-weight: 300; font-size: 18px; color: var(--fg-mute); }
.plan-card .plan-note { font-size: 14px; color: var(--fg-faint); margin-bottom: 28px; }
.plan-card .plan-includes { list-style: none; padding: 0; margin: 0 0 32px; display: flex; flex-direction: column; gap: 12px; border-top: 1px solid var(--line-soft); padding-top: 24px; }
.plan-card .plan-includes li { font-size: 15px; color: var(--fg-mute); display: flex; align-items: baseline; gap: 12px; }
.plan-card .plan-includes li::before { content:""; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); flex: 0 0 5px; transform: translateY(-2px); }
.plan-card .plan-cta { margin-top: auto; }
@media (max-width: 860px){ .plan-grid { grid-template-columns: 1fr; } }

/* ---------- ICP PERSONA CARDS ---------- */
.persona-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.persona {
  border: 1px solid var(--line); border-radius: var(--r);
  background: var(--surface); padding: 32px 28px;
  display: flex; flex-direction: column; gap: 16px;
  transition: border-color .3s;
}
.persona:hover { border-color: var(--fg-faint); }
.persona .persona-who { font-weight: 600; font-size: 18px; }
.persona .persona-sit { font-size: 15px; color: var(--fg-mute); font-weight: 300; line-height: 1.55; }
.persona .persona-rec {
  margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line-soft);
  font-size: 14px; font-weight: 500; color: var(--accent);
  display: flex; align-items: center; gap: 8px;
}
.persona .persona-rec svg { width: 14px; height: 14px; }
@media (max-width: 860px){ .persona-grid { grid-template-columns: 1fr; } }
