/* ============================================================
   Northcast - Ember theme
   Tokens locked per PRD §2.2 / type per §2.3 / layout §2.4
   ============================================================ */

:root {
  /* Color tokens (Ember, locked) */
  --bg: #fdfbf8;
  --surface: #f6efe6;
  --ink: #2a211b;
  --slate: #5b4a3e;
  --steel: #b0a496;
  --label: #7c6b5c; /* accessible muted label text (>=4.9:1 on --bg, AA) */
  --accent: #e85d04;
  --accent-d: #c2410c;
  --accent-soft: #fde3cf;
  --accent-mid: #f0935f;
  --hair: rgba(42, 33, 27, 0.12);
  --hair-2: rgba(42, 33, 27, 0.20);

  /* Fonts */
  --font-display: "Montserrat", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: "Hanken Grotesk", -apple-system, BlinkMacSystemFont, sans-serif;
  /* Labels use the body family at a solid weight (no monospace, no thin text) */
  --font-mono: "Hanken Grotesk", -apple-system, BlinkMacSystemFont, sans-serif;

  /* Layout */
  --maxw: 1200px;
  --gutter: 32px;
  --section-y: 100px;

  /* Radius */
  --r-sm: 8px;
  --r-card: 16px;
  --r-outer: 24px;

  /* Motion */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- Reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--slate);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  font-weight: 450;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  margin: 0;
  text-wrap: balance;
}

p { margin: 0; text-wrap: balance; }

/* Short statement blocks: balance lines so nothing dangles on its own */
.contrast-card p,
.why-card p,
.problem-close,
.problem-lead,
.problem-item p,
.legend-desc,
.stat .lab { text-wrap: balance; }

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

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

/* ---------- Type scale ---------- */
.h1 {
  font-weight: 800;
  font-size: clamp(2.5rem, 5.4vw, 4.25rem);
  line-height: 1.04;
  letter-spacing: -0.025em;
}
.h2 {
  font-weight: 800;
  font-size: clamp(1.9rem, 3.6vw, 2.9rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.h3 {
  font-weight: 700;
  font-size: 1.15rem;
  line-height: 1.25;
  letter-spacing: -0.01em;
}
.body-lg { font-size: 1.06rem; line-height: 1.62; }

/* Section label — pill badge (ColdIQ / RevPartners style) */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  background: var(--surface);
  border: 1px solid var(--hair);
  border-radius: 999px;
  padding: 7px 15px 7px 13px;
  font-family: var(--font-body);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.68rem;
  line-height: 1;
  letter-spacing: 0.09em;
  color: var(--slate);
}
.eyebrow::before {
  content: "";
  flex: 0 0 auto;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

/* Hero audience line keeps the lighter dot + text treatment */
.hero-tagline {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 26px;
  font-family: var(--font-body);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.72rem;
  line-height: 1.3;
  letter-spacing: 0.12em;
  color: var(--slate);
}
.hero-tagline::before {
  content: "";
  flex: 0 0 auto;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}
.mono {
  font-family: var(--font-mono);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.68rem;
  line-height: 1.2;
  letter-spacing: 0.1em;
  color: var(--label);
}
.accent { color: var(--accent); }

/* ---------- Layout helpers ---------- */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding-inline: var(--gutter);
}
section { padding-block: var(--section-y); }

/* Alternating section background rhythm (smooth transitions, no dead gaps).
   bg -> surface -> bg ... with the band as the one accent moment. */
.engines,
.after,
.results { background: var(--surface); }
.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head .eyebrow { margin-bottom: 20px; }
.section-head p { margin-top: 18px; font-size: 1.06rem; color: var(--slate); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1;
  border-radius: 999px;
  padding: 15px 28px;
  min-height: 48px;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease),
    box-shadow 0.2s var(--ease), border-color 0.2s var(--ease);
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 8px 24px -8px rgba(232, 93, 4, 0.55);
}
.btn-primary:hover {
  background: var(--accent-d);
  transform: translateY(-2px);
  box-shadow: 0 14px 32px -10px rgba(232, 93, 4, 0.6);
}
.btn-ghost {
  background: transparent;
  border-color: var(--hair-2);
  color: var(--ink);
}
.btn-ghost:hover { border-color: var(--ink); transform: translateY(-2px); }
.btn-lg { padding: 18px 34px; min-height: 56px; font-size: 1.05rem; }

/* ---------- Pills / tags ---------- */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--surface);
  border: 1px solid var(--hair);
  border-radius: 999px;
  padding: 6px 14px;
}
.tag .mono { color: var(--slate); }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease),
    backdrop-filter 0.3s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(253, 251, 248, 0.82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--hair);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand .mark { width: 30px; height: 30px; }
.brand .word {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.nav-links { display: flex; align-items: center; gap: 36px; }
.nav-links a.navlink {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--slate);
  transition: color 0.2s var(--ease);
}
.nav-links a.navlink:hover { color: var(--ink); }
.nav-cta { display: inline-flex; align-items: center; gap: 18px; }
.nav-cta .btn { padding: 11px 22px; min-height: 44px; }

.nav-menu { display: none; }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--hair-2);
  border-radius: var(--r-sm);
  width: 44px; height: 44px;
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
}
.nav-toggle span {
  display: block;
  width: 18px; height: 2px;
  background: var(--ink);
  position: relative;
  transition: 0.25s var(--ease);
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute; left: 0;
  width: 18px; height: 2px;
  background: var(--ink);
  transition: 0.25s var(--ease);
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero { padding-top: 148px; padding-bottom: 96px; position: relative; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.hero h1 { margin-bottom: 24px; }
.hero .sub { font-size: 1.12rem; line-height: 1.62; color: var(--slate); max-width: 540px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-note {
  margin-top: 26px;
  max-width: 470px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--slate);
  line-height: 1.5;
}
.hero-trust { margin-top: 46px; }
.hero-trust .label {
  font-family: var(--font-mono);
  font-weight: 500;
  text-transform: uppercase;
  font-size: 0.64rem;
  letter-spacing: 0.16em;
  color: var(--label);
  margin-bottom: 14px;
}
.hero-trust .logos {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  align-items: center;
}
.hero-trust .logos span {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.98rem;
  color: var(--ink);
  opacity: 0.66;
  transition: opacity 0.2s var(--ease);
}
.hero-trust .logos span:hover { opacity: 1; }

.hero-visual { display: flex; justify-content: center; }

/* ============================================================
   COMPASS-FUNNEL (signature)
   ============================================================ */
.compass-stage {
  display: grid;
  grid-template-columns: 1fr 230px;
  gap: 30px;
  align-items: center;
  width: 100%;
}
.compass-svg { width: 100%; height: auto; overflow: visible; }

.legend { display: flex; flex-direction: column; gap: 4px; }
.legend-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 13px;
  padding: 11px 0;
  border-bottom: 1px solid var(--hair);
}
.legend-item:last-child { border-bottom: none; }
.legend-num {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 0.72rem;
  color: var(--accent);
  padding-top: 2px;
}
.legend-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--ink);
  line-height: 1.3;
}
.legend-desc { display: block; text-wrap: balance; font-size: 0.82rem; color: var(--slate); line-height: 1.4; }

/* Compass animation - staggered fade in, center pulse */
.cf-ring, .cf-dot, .cf-tick, .cf-flow, .cf-rose, .cf-label {
  opacity: 0;
  animation: cfIn 0.9s var(--ease) forwards;
}
.compass-svg.in .cf-ring,
.compass-svg.in .cf-dot,
.compass-svg.in .cf-tick,
.compass-svg.in .cf-flow,
.compass-svg.in .cf-rose,
.compass-svg.in .cf-label { animation-play-state: running; }
@keyframes cfIn { to { opacity: 1; } }

.cf-pulse {
  transform-origin: center;
  transform-box: fill-box;
  animation: cfPulse 3.4s ease-in-out infinite;
}
@keyframes cfPulse {
  0%, 100% { opacity: 0.5; transform: scale(0.78); }
  50% { opacity: 0; transform: scale(1.35); }
}

.legend-item {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.compass-stage.in .legend-item { opacity: 1; transform: none; }
.compass-stage.in .legend-item:nth-child(1) { transition-delay: 0.45s; }
.compass-stage.in .legend-item:nth-child(2) { transition-delay: 0.55s; }
.compass-stage.in .legend-item:nth-child(3) { transition-delay: 0.65s; }
.compass-stage.in .legend-item:nth-child(4) { transition-delay: 0.75s; }
.compass-stage.in .legend-item:nth-child(5) { transition-delay: 0.85s; }

/* ============================================================
   TRUST BAR
   ============================================================ */
.trustbar { padding-block: 64px; background: var(--surface); }
.trustbar .kicker {
  text-align: center;
  font-family: var(--font-body);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  color: var(--slate);
  margin-bottom: 34px;
}
.logo-marquee {
  position: relative;
  width: 100%;
  overflow: hidden;
  margin-top: 6px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.logo-marquee-track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: logoMarquee 40s linear infinite;
}
.logo-marquee:hover .logo-marquee-track { animation-play-state: paused; }
.logo-set { display: flex; align-items: center; flex: 0 0 auto; }
.logo-set .logo { margin: 0 27px; }
@keyframes logoMarquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  opacity: 0.96;
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease);
  cursor: default;
}
.logo:hover { opacity: 1; transform: translateY(-2px); }
.logo .chip {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  border-radius: 8px;
  background: #fff;
  border: 1px solid var(--hair);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.logo .chip img { width: 21px; height: 21px; object-fit: contain; }
.logo .chip.mono {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.82rem;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.logo .lw {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.06rem;
  letter-spacing: -0.015em;
  color: var(--ink);
  white-space: nowrap;
}

/* ============================================================
   PROBLEM
   ============================================================ */
.problem-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 56px;
  align-items: start;
}
.problem-lead { font-size: 1.06rem; color: var(--slate); margin-top: 22px; }
.problem-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.problem-item {
  padding: 26px 26px 26px 0;
  border-top: 1px solid var(--hair);
  display: flex;
  gap: 15px;
  align-items: flex-start;
}
.problem-list .problem-item:nth-child(odd) { padding-right: 28px; }
.problem-list .problem-item:nth-child(even) { padding-left: 28px; border-left: 1px solid var(--hair); }
.problem-item .num {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--accent);
  padding-top: 3px;
}
.problem-item p { font-size: 0.98rem; color: var(--slate); line-height: 1.55; }
.problem-close {
  grid-column: 1 / -1;
  margin-top: 36px;
  font-size: 1.22rem;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.4;
  letter-spacing: -0.01em;
}
.problem-close .accent { color: var(--accent); }

/* ============================================================
   ENGINES
   ============================================================ */
.engines-intro { font-size: 1.08rem; color: var(--slate); max-width: 880px; line-height: 1.62; }

.engines-list { display: flex; flex-direction: column; gap: 20px; margin-top: 48px; }
.engine {
  background: #ffffff;
  border: 1px solid var(--hair);
  border-radius: var(--r-outer);
  padding: 28px 30px;
  transition: box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.engine:hover { border-color: var(--hair-2); box-shadow: 0 18px 44px -28px rgba(42, 33, 27, 0.26); }
.engine.addon { background: #fffaf4; border-style: dashed; border-color: var(--hair-2); }

.engine-head { display: flex; align-items: flex-start; gap: 16px; }
.engine-icon {
  flex: 0 0 auto;
  width: 46px; height: 46px;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--hair);
  display: flex; align-items: center; justify-content: center;
}
.engine.addon .engine-icon { background: #fff; }
.engine-icon svg { width: 24px; height: 24px; }
.engine-meta { flex: 1 1 auto; min-width: 0; }
.engine-tag {
  display: inline-flex;
  background: var(--accent-soft);
  color: var(--accent-d);
  font-family: var(--font-body);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.64rem;
  letter-spacing: 0.08em;
  padding: 5px 11px;
  border-radius: 999px;
}
.engine.addon .engine-tag { background: var(--surface); color: var(--slate); border: 1px solid var(--hair-2); }
.engine-meta h3 { margin: 10px 0 0; font-size: 1.2rem; }
.engine-desc { margin-top: 8px; font-size: 0.95rem; color: var(--slate); line-height: 1.55; max-width: 640px; }
.engine-num {
  flex: 0 0 auto;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 0.72rem;
  color: var(--label);
}

/* per-engine flow diagram */
.engine-flow {
  display: flex;
  align-items: flex-start;
  margin-top: 26px;
  padding-top: 24px;
  border-top: 1px solid var(--hair);
}
.ef-step {
  flex: 0 0 auto;
  width: 98px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
}
.ef-node {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--hair);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.engine.addon .ef-node { background: var(--bg); }
.ef-node img { width: 26px; height: 26px; object-fit: contain; }
.ef-node.ef-dual { gap: 3px; }
.ef-node.ef-dual img { width: 17px; height: 17px; }
.ef-node.ef-glyph svg { width: 22px; height: 22px; }
.ef-cap { font-size: 0.74rem; line-height: 1.3; color: var(--slate); font-weight: 500; }
.ef-link {
  flex: 1 1 auto;
  min-width: 22px;
  height: 2px;
  margin-top: 22px;
  position: relative;
  background: var(--hair-2);
}
.ef-link::after {
  content: "";
  position: absolute;
  right: -1px; top: 50%;
  transform: translateY(-50%);
  border-left: 5px solid var(--hair-2);
  border-top: 3px solid transparent;
  border-bottom: 3px solid transparent;
}
.ef-spark {
  position: absolute;
  top: 50%; left: 0;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  transform: translate(-50%, -50%);
  box-shadow: 0 0 0 2px var(--accent-soft);
  animation: efSpark 2.4s linear infinite;
}
.engine-flow > span:nth-of-type(2) .ef-spark { animation-delay: 0.55s; }
.engine-flow > span:nth-of-type(3) .ef-spark { animation-delay: 1.1s; }
.engine-flow > span:nth-of-type(4) .ef-spark { animation-delay: 1.65s; }
@keyframes efSpark {
  0% { left: 0; opacity: 0; }
  15% { opacity: 1; }
  85% { opacity: 1; }
  100% { left: 100%; opacity: 0; }
}
@keyframes efSparkV {
  0% { top: 0; opacity: 0; }
  15% { opacity: 1; }
  85% { opacity: 1; }
  100% { top: 100%; opacity: 0; }
}
.ef-out { width: auto; margin-top: 4px; }
.ef-cap-out {
  display: inline-block;
  background: var(--accent-soft);
  color: var(--accent-d);
  border: 1px solid var(--accent-mid);
  border-radius: 999px;
  padding: 11px 16px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.82rem;
  white-space: nowrap;
}

/* ============================================================
   PERSONAL AT SCALE (contrast band)
   ============================================================ */
.band { background: var(--accent-soft); }
.band-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
  align-items: center;
}
.band h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); }
.band h2 .accent { color: var(--accent-d); }
.band p { font-size: 1.1rem; line-height: 1.6; color: var(--ink); }
.contrast {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 20px;
}
.contrast-card {
  border-radius: var(--r-card);
  padding: 16px 20px 18px;
  border: 1px solid var(--hair);
}
.contrast-card.bad { background: rgba(253, 251, 248, 0.5); }
.contrast-card.good { background: #fff; border-color: var(--accent-mid); }
.contrast-card .lab {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 0.66rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  margin-bottom: 10px;
}
.contrast-card.bad .lab { color: var(--steel); }
.contrast-card.good .lab { color: var(--accent); }
.contrast-card p { font-size: 0.92rem; line-height: 1.5; color: var(--slate); }
.contrast-card.good p { color: var(--ink); }


/* ============================================================
   TOOLS
   ============================================================ */
.tools-head { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.tools-head p { margin-top: 16px; font-size: 1.06rem; color: var(--slate); }

.tool-logos {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 22px 16px;
  max-width: 1000px;
  margin: 0 auto;
  justify-items: start;
}
.tool-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  transition: transform 0.2s var(--ease);
}
.tool-logo:hover { transform: translateY(-3px); }
.tl-chip {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  flex: 0 0 auto;
  background: #fff;
  border: 1px solid var(--hair);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.tl-chip img { width: 26px; height: 26px; object-fit: contain; }
.tl-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.16rem;
  letter-spacing: -0.015em;
  color: var(--ink);
  white-space: nowrap;
}

/* ============================================================
   TIMELINE
   ============================================================ */
.timeline { position: relative; margin-top: 56px; }
.timeline-track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}
.timeline-track::before {
  content: "";
  position: absolute;
  top: 13px; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--steel), var(--accent-mid), var(--accent));
  opacity: 0.4;
  z-index: 0;
}
/* live spark that travels the 90-day journey */
.tl-spark {
  position: absolute;
  top: 13px; left: 0;
  z-index: 2;
  width: 11px; height: 11px;
  border-radius: 50%;
  background: var(--accent);
  transform: translate(-50%, -50%);
  box-shadow: 0 0 0 5px var(--accent-soft), 0 0 14px 2px rgba(232, 93, 4, 0.55);
  animation: tlTravelH 6.5s ease-in-out infinite;
}
@keyframes tlTravelH {
  0% { left: 0%; opacity: 0; }
  8% { opacity: 1; }
  90% { opacity: 1; }
  100% { left: 100%; opacity: 0; }
}
@keyframes tlTravelV {
  0% { top: 0%; opacity: 0; }
  8% { opacity: 1; }
  90% { opacity: 1; }
  100% { top: 100%; opacity: 0; }
}
.step { position: relative; z-index: 1; }
.step .node {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--accent);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px;
}
.step .node::after {
  content: "";
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--accent);
}
.step .when {
  font-family: var(--font-mono);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.66rem;
  letter-spacing: 0.09em;
  color: var(--accent-d);
  margin-bottom: 9px;
}
.step h3 { font-size: 1.1rem; margin-bottom: 10px; }
.step p { font-size: 0.92rem; color: var(--slate); line-height: 1.55; }

.timeline-cta { display: flex; justify-content: center; margin-top: 56px; }

/* ============================================================
   WHY CARDS
   ============================================================ */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.why-card {
  background: var(--surface);
  border: 1px solid var(--hair);
  border-radius: var(--r-card);
  padding: 32px 30px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.why-card:hover { transform: translateY(-3px); box-shadow: 0 16px 36px -24px rgba(42,33,27,0.3); }
.why-icon {
  flex: 0 0 auto;
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--bg);
  border: 1px solid var(--hair);
  display: flex; align-items: center; justify-content: center;
}
.why-icon svg { width: 24px; height: 24px; }
.why-card h3 { margin-bottom: 9px; font-size: 1.12rem; }
.why-card p { font-size: 0.95rem; color: var(--slate); line-height: 1.56; }

/* ============================================================
   RESULTS
   ============================================================ */
.results-card {
  background: var(--ink);
  border-radius: var(--r-outer);
  padding: 64px 56px;
  color: var(--bg);
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.results-card .eyebrow {
  color: var(--accent-mid);
  background: rgba(253, 251, 248, 0.07);
  border-color: rgba(253, 251, 248, 0.16);
}
.results-card .eyebrow::before { background: var(--accent-mid); }
.results-card h2 { color: var(--bg); margin: 0 0 22px; }
.results-card .lede { color: rgba(253, 251, 248, 0.82); font-size: 1.06rem; line-height: 1.62; }
.results-logo {
  margin-top: 28px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--bg);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.results-logo-chip {
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  border-radius: 7px;
}
.stats { display: flex; flex-direction: column; gap: 22px; }
.stat {
  background: rgba(253, 251, 248, 0.06);
  border: 1px solid rgba(253, 251, 248, 0.12);
  border-radius: var(--r-card);
  padding: 26px 28px;
}
.stat .num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.2rem, 4vw, 3rem);
  letter-spacing: -0.02em;
  color: var(--accent-mid);
  line-height: 1;
}
.stat .lab { margin-top: 10px; font-size: 0.92rem; color: rgba(253, 251, 248, 0.78); line-height: 1.45; }
.results-card .glow {
  position: absolute;
  width: 420px; height: 420px;
  right: -120px; top: -120px;
  background: radial-gradient(circle, rgba(232,93,4,0.22), transparent 65%);
  pointer-events: none;
}

/* ============================================================
   FAQ
   ============================================================ */
.faq-wrap { max-width: 820px; margin: 0 auto; }
.faq-list { margin-top: 8px; }
.faq-item { border-bottom: 1px solid var(--hair); }
.faq-item:first-child { border-top: 1px solid var(--hair); }
.faq-q {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  padding: 26px 48px 26px 0;
  position: relative;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--ink);
  letter-spacing: -0.01em;
  transition: color 0.2s var(--ease);
}
.faq-q:hover { color: var(--accent-d); }
.faq-q .ico {
  position: absolute;
  right: 4px; top: 50%;
  transform: translateY(-50%);
  width: 22px; height: 22px;
}
.faq-q .ico::before,
.faq-q .ico::after {
  content: "";
  position: absolute;
  background: var(--accent);
  border-radius: 2px;
  transition: transform 0.3s var(--ease);
}
.faq-q .ico::before { top: 10px; left: 2px; width: 18px; height: 2px; }
.faq-q .ico::after { top: 2px; left: 10px; width: 2px; height: 18px; }
.faq-item.open .faq-q { color: var(--accent-d); }
.faq-item.open .faq-q .ico::after { transform: scaleY(0); }
.faq-a {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.36s var(--ease);
}
.faq-a-inner { padding: 0 48px 28px 0; color: var(--slate); font-size: 1rem; line-height: 1.62; }

/* ============================================================
   FINAL CTA
   ============================================================ */
.final {
  position: relative;
  overflow: hidden;
  text-align: center;
  background: var(--surface);
}
.final-card {
  background: #ffffff;
  border: 1px solid var(--hair);
  border-radius: var(--r-outer);
  padding: 88px 40px;
  position: relative;
  overflow: hidden;
}
.final-card .bg-compass {
  position: absolute;
  width: 560px; height: 560px;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.05;
  pointer-events: none;
}
.final-inner { position: relative; z-index: 1; max-width: 760px; margin: 0 auto; }
.final h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 20px; }
.final p { font-size: 1.1rem; color: var(--slate); line-height: 1.6; margin-bottom: 0; }
.calendly-embed {
  margin-top: 34px;
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--hair);
  border-radius: var(--r-card);
  overflow: hidden;
  box-shadow: 0 18px 50px -34px rgba(42, 33, 27, 0.35);
}
.calendly-inline-widget { width: 100%; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { border-top: 1px solid var(--hair); padding-block: 64px 40px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.footer .brand .word { font-size: 1.3rem; }
.footer-positioning { margin-top: 18px; max-width: 360px; font-size: 0.95rem; color: var(--slate); line-height: 1.6; }
.footer-col h4 {
  font-family: var(--font-mono);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  color: var(--label);
  margin-bottom: 18px;
}
.footer-col a {
  display: block;
  font-size: 0.95rem;
  color: var(--slate);
  margin-bottom: 12px;
  transition: color 0.2s var(--ease);
}
.footer-col a:hover { color: var(--accent-d); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 56px;
  padding-top: 28px;
  border-top: 1px solid var(--hair);
}
.footer-bottom p { font-size: 0.86rem; color: var(--label); }
.footer-tagline { color: var(--slate); font-weight: 600; }

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.08s; }
.reveal.d2 { transition-delay: 0.16s; }
.reveal.d3 { transition-delay: 0.24s; }

/* ============================================================
   FOCUS / A11Y
   ============================================================ */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}
.skip-link {
  position: absolute;
  left: 16px; top: -60px;
  background: var(--ink);
  color: var(--bg);
  padding: 10px 18px;
  border-radius: var(--r-sm);
  z-index: 200;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 16px; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 980px) {
  :root { --section-y: 84px; }
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { order: 2; }
  .hero { padding-top: 128px; }
  .compass-stage { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; }
  .legend { gap: 0; }
  .problem-grid { grid-template-columns: 1fr; gap: 36px; }
  .engine-cards { grid-template-columns: 1fr; }
  .band-grid { grid-template-columns: 1fr; gap: 36px; }
  .contrast { max-width: 520px; }
  .timeline-track { grid-template-columns: 1fr; gap: 0; }
  .timeline-track::before {
    top: 0; bottom: 0; left: 13px; right: auto;
    width: 2px; height: auto;
    background: linear-gradient(180deg, var(--steel), var(--accent-mid), var(--accent));
  }
  .tl-spark { top: 0; left: 13px; animation-name: tlTravelV; }
  .step { display: grid; grid-template-columns: 28px 1fr; gap: 20px; padding-bottom: 32px; }
  .step .node { margin-bottom: 0; }
  .step .step-body { padding-top: 1px; }
  .why-grid { grid-template-columns: 1fr; }
  .results-card { grid-template-columns: 1fr; padding: 44px 32px; gap: 36px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .footer .brand-block { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  :root { --gutter: 16px; --section-y: 72px; }
  .hero { padding-top: 104px; padding-bottom: 56px; }
  .section-head { margin-bottom: 36px; }
  .tools-head { margin-bottom: 32px; }
  .why-grid { gap: 16px; }
  .engines-list { gap: 14px; }
  .engine { padding: 22px 18px; }
  .engine-meta h3 { font-size: 1.12rem; }
  .engine-flow { flex-direction: column; align-items: flex-start; margin-top: 20px; padding-top: 18px; }
  .ef-step { flex-direction: row; width: 100%; gap: 14px; text-align: left; align-items: center; }
  .ef-cap { font-size: 0.92rem; }
  .ef-link {
    width: 2px; height: 18px; min-width: 2px; flex: 0 0 18px;
    margin: 3px 0 3px 22px;
  }
  .ef-link::after {
    left: 50%; right: auto; top: auto; bottom: -1px;
    transform: translateX(-50%);
    border-left: 3px solid transparent;
    border-right: 3px solid transparent;
    border-top: 5px solid var(--hair-2);
    border-bottom: 0;
  }
  .ef-link .ef-spark { left: 50%; animation-name: efSparkV; }
  .ef-out { margin: 4px 0 0 0; }
  .tool-logos { grid-template-columns: 1fr 1fr; gap: 18px 12px; max-width: 340px; }
  .tool-logo { gap: 10px; }
  .tl-name { font-size: 1rem; }
  .tl-chip { width: 36px; height: 36px; }
  .tl-chip img { width: 22px; height: 22px; }
  .logo-set .logo { margin: 0 18px; }
  .logo .lw { font-size: 0.98rem; }
  .logo .chip { width: 27px; height: 27px; }
  .nav-links, .nav-cta .btn { display: none; }
  .nav-cta .btn.always { display: inline-flex; }
  .nav-toggle { display: flex; }
  .nav-menu {
    position: fixed;
    top: 72px; left: 0; right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--hair);
    padding: 18px var(--gutter) 26px;
    display: none;
    flex-direction: column;
    gap: 4px;
    box-shadow: 0 18px 40px -28px rgba(42,33,27,0.4);
  }
  .nav-menu.open { display: flex; }
  .nav-menu a {
    padding: 14px 4px;
    font-size: 1.02rem;
    font-weight: 500;
    color: var(--ink);
    border-bottom: 1px solid var(--hair);
  }
  .nav-menu .btn { margin-top: 14px; }
  .problem-list { grid-template-columns: 1fr; }
  .problem-list .problem-item:nth-child(even) { padding-left: 0; border-left: none; }
  .problem-list .problem-item:nth-child(odd) { padding-right: 0; }
  .contrast { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .final-card { padding: 56px 24px; }
  .results-card { padding: 36px 22px; }
  .hero .sub { font-size: 1.05rem; }
}

@media (max-width: 420px) {
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal, .legend-item { opacity: 1 !important; transform: none !important; }
  .cf-ring, .cf-dot, .cf-tick, .cf-flow, .cf-rose, .cf-label { opacity: 1 !important; }
  .cf-pulse { animation: none !important; opacity: 0.4 !important; }
  .cf-travelers { display: none; }
  .ef-spark { display: none; }
  .tl-spark { display: none; }
  .logo-marquee-track { animation: none !important; flex-wrap: wrap; justify-content: center; width: 100%; }
  .logo-marquee-track .logo-set:nth-child(2) { display: none; }
  .logo-marquee-track .logo-set { flex-wrap: wrap; justify-content: center; }
  .logo-marquee { -webkit-mask-image: none; mask-image: none; }
}
