/* ============================================================
   SunmosLab — Design System
   Palette: Navy #0c1d49 · Teal #0fb6b2 · Orange #f97e2d · Ground #f4f8fb
   Type: Fraunces (display serif) + Plus Jakarta Sans (UI/body)
   Language: flat color fields, hairline dividers, section numbers,
   scroll-drawn SVG line art, pill buttons with inversion hover.
   ============================================================ */

:root {
  --navy: #0c1d49;
  --navy-deep: #071233;
  --navy-ink: #0a1737;
  --teal: #0fb6b2;
  --teal-ink: #0a8f8c;
  --orange: #f97e2d;
  --orange-deep: #e56a17;
  --ground: #f4f8fb;
  --paper: #ffffff;
  --ink: #131f3d;
  --body: #3d4a6b;
  --muted: #6b7694;
  --line: rgba(12, 29, 73, 0.14);
  --line-soft: rgba(12, 29, 73, 0.08);
  --line-dark: rgba(255, 255, 255, 0.16);
  --on-dark: #e9eefa;
  --on-dark-muted: #9faccb;
  --serif: "Fraunces", Georgia, serif;
  --sans: "Plus Jakarta Sans", -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", "SFMono-Regular", Consolas, monospace;
  --wrap: 1180px;
  --pad: clamp(1.25rem, 4vw, 2.5rem);
  --sec: clamp(4.5rem, 9vw, 8rem);
  --r: 14px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--body);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; background: none; border: 0; color: inherit; }
::selection { background: var(--orange); color: #fff; }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--pad); }
.section { padding-block: var(--sec); position: relative; }

/* ---------- Typography ---------- */
h1, h2, h3, .serif {
  font-family: var(--serif);
  font-weight: 560;
  font-variation-settings: "opsz" 100;
  color: var(--navy);
  line-height: 1.04;
  letter-spacing: -0.018em;
  margin: 0;
}
h1 { font-size: clamp(2.7rem, 6.2vw, 4.7rem); }
h2 { font-size: clamp(2.05rem, 4.2vw, 3.15rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); line-height: 1.25; letter-spacing: -0.01em; }
h1 em, h2 em { font-style: italic; font-weight: 480; color: var(--teal); }
.on-navy h1, .on-navy h2, .on-navy h3,
.on-navy-deep h1, .on-navy-deep h2, .on-navy-deep h3 { color: #fff; }

.lede { font-size: clamp(1.075rem, 1.6vw, 1.25rem); line-height: 1.65; color: var(--body); margin: 0; }
.on-navy .lede { color: var(--on-dark-muted); }
.small { font-size: 0.9rem; color: var(--muted); }

/* ---------- Kickers & section heads ---------- */
.kicker {
  display: flex; align-items: baseline; gap: 0.9rem;
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--muted);
  margin-bottom: 1.4rem;
}
.kicker .no {
  font-family: var(--serif); font-style: italic; font-weight: 480;
  font-size: 1.05rem; letter-spacing: 0; text-transform: none;
  color: var(--orange);
}
.on-navy .kicker { color: var(--on-dark-muted); }

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 4fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: end;
  margin-bottom: clamp(3rem, 6vw, 5rem);
}
.section-head .lede { padding-bottom: 0.35rem; }

/* ---------- Buttons (pill, inversion hover) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  min-height: 52px; padding: 0.8rem 1.7rem;
  border-radius: 999px;
  font-weight: 700; font-size: 0.98rem; letter-spacing: 0.01em;
  border: 1.5px solid transparent;
  transition: background 0.35s var(--ease), color 0.35s var(--ease),
              border-color 0.35s var(--ease), transform 0.35s var(--ease);
  will-change: transform;
}
.btn:active { transform: scale(0.97); }
.btn .arr { transition: transform 0.35s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }
.btn-primary { background: var(--orange); color: #fff; }
.btn-primary:hover { background: var(--orange-deep); }
.btn-outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-ghost-light { border-color: rgba(255,255,255,0.4); color: #fff; background: transparent; }
.btn-ghost-light:hover { background: #fff; color: var(--navy); border-color: #fff; }

/* ---------- Color fields ---------- */
.on-navy { background: var(--navy); color: var(--on-dark); }
.on-navy-deep { background: var(--navy-deep); color: var(--on-dark); }
.on-ground {
  background: var(--ground);
  background-image: radial-gradient(rgba(12, 29, 73, 0.10) 1px, transparent 1.2px);
  background-size: 26px 26px;
}
.on-orange { background: var(--orange); color: var(--navy-deep); }
.on-orange h2, .on-orange h3 { color: var(--navy-deep); }

/* ---------- Navigation ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease),
              border-color 0.4s var(--ease), backdrop-filter 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(7, 18, 51, 0.72);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  backdrop-filter: blur(18px) saturate(1.4);
  border-bottom-color: rgba(255, 255, 255, 0.09);
}
.nav-in {
  max-width: var(--wrap); margin-inline: auto;
  padding: 0.9rem var(--pad);
  display: flex; align-items: center; gap: 2rem;
}
.logo {
  font-weight: 800; font-size: 1.32rem; letter-spacing: -0.035em;
  color: #fff; line-height: 1; white-space: nowrap;
}
.logo b { color: var(--teal); font-weight: 800; }
.nav-links { display: flex; align-items: center; gap: 1.75rem; margin-left: auto; }
.nav-links a {
  font-size: 1.05rem; font-weight: 500; letter-spacing: 0.01em; color: rgba(255,255,255,0.82);
  padding: 0.6rem 0; position: relative; transition: color 0.3s;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: 0.15rem;
  width: 100%; height: 2px; background: var(--teal);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.35s var(--ease);
}
.nav-links a:hover { color: #fff; }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-links a.nav-cta {
  min-height: 44px; padding: 11px 26px; font-size: 1.05rem; font-weight: 700; letter-spacing: 0.01em;
  white-space: nowrap; flex-shrink: 0; color: #fff;
  box-shadow: 0 10px 26px rgba(249, 126, 45, 0.38);
}
.nav-cta:hover { color: #fff; transform: translateY(-1px); box-shadow: 0 14px 32px rgba(249, 126, 45, 0.48); }
.nav-cta:hover::after { display: none; }

.burger {
  display: none; margin-left: auto;
  width: 48px; height: 48px; border-radius: 12px;
  align-items: center; justify-content: center; flex-direction: column; gap: 6px;
}
.burger span {
  width: 22px; height: 2px; background: #fff; border-radius: 2px;
  transition: transform 0.35s var(--ease), opacity 0.25s;
}
.burger.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.mobile-menu {
  display: none;
  position: fixed; inset: 0; z-index: 99;
  background: var(--navy-deep);
  padding: 6.5rem var(--pad) calc(2rem + env(safe-area-inset-bottom));
  flex-direction: column; gap: 0.25rem;
  opacity: 0; pointer-events: none;
  transition: opacity 0.35s var(--ease);
}
.mobile-menu.open { opacity: 1; pointer-events: auto; }
.mobile-menu a {
  font-family: var(--serif); font-size: 1.9rem; color: #fff;
  padding: 0.9rem 0; border-bottom: 1px solid var(--line-dark);
  display: flex; justify-content: space-between; align-items: center;
  min-height: 44px;
}
.mobile-menu a small { font-family: var(--sans); font-size: 0.8rem; color: var(--on-dark-muted); letter-spacing: 0.12em; text-transform: uppercase; }
.mobile-menu .btn { margin-top: 1.6rem; }

/* ---------- Hero ---------- */
.hero {
  background: var(--navy-deep);
  color: var(--on-dark);
  padding: clamp(8rem, 15vh, 11rem) 0 clamp(4.5rem, 8vw, 7rem);
  position: relative; overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1.2px);
  background-size: 30px 30px;
  mask-image: radial-gradient(ellipse 90% 70% at 70% 20%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 70% 20%, #000 20%, transparent 75%);
}
.hero::after {
  content: ""; position: absolute; width: 60vw; height: 60vw;
  right: -25vw; top: -30vw; border-radius: 50%;
  background: radial-gradient(circle, rgba(15, 182, 178, 0.16), transparent 62%);
  pointer-events: none;
}
.hero-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(2.5rem, 5vw, 4.5rem); align-items: center;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--teal);
  border: 1px solid rgba(15, 182, 178, 0.35);
  border-radius: 999px; padding: 0.45rem 1.05rem;
  margin-bottom: 1.8rem;
}
.hero-eyebrow .pulse {
  width: 7px; height: 7px; border-radius: 50%; background: var(--teal);
  animation: pulse 2.2s ease-in-out infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.25; } }
.hero h1 { color: #fff; margin-bottom: 1.5rem; }
.hero h1 .hl-o { color: var(--orange); font-style: italic; font-weight: 480; }
.hero .lede { max-width: 34rem; margin-bottom: 2.2rem; color: var(--on-dark-muted); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-bottom: 2.6rem; }
.hero-trust {
  display: flex; flex-wrap: wrap; gap: 0.5rem 1.6rem;
  font-size: 0.88rem; color: var(--on-dark-muted);
}
.hero-trust li { display: flex; align-items: center; gap: 0.5rem; }
.hero-trust svg { width: 15px; height: 15px; flex: none; }

/* AI answer card (hero visual) */
.ai-card {
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  padding: 1.5rem 1.6rem 1.4rem;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
  position: relative; z-index: 1;
  transition: border-color 0.6s var(--ease);
}
.ai-card.after { border-color: rgba(15, 182, 178, 0.55); }
.ai-top {
  display: flex; align-items: center; gap: 0.55rem;
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--on-dark-muted); margin-bottom: 1.1rem;
}
.ai-top .dots { display: flex; gap: 5px; }
.ai-top .dots i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,0.18); }
.ai-top .dots i:first-child { background: var(--orange); }
.ai-state {
  margin-left: auto; font-size: 0.68rem; padding: 0.25rem 0.7rem; border-radius: 999px;
  background: rgba(249, 126, 45, 0.15); color: var(--orange); letter-spacing: 0.1em;
  transition: all 0.5s;
}
.ai-card.after .ai-state { background: rgba(15, 182, 178, 0.16); color: var(--teal); }
.ai-q {
  font-family: var(--serif); font-style: italic; font-size: 1.12rem; color: #fff;
  margin-bottom: 0.9rem; line-height: 1.4;
}
.ai-a {
  font-size: 0.96rem; line-height: 1.65; color: var(--on-dark);
  min-height: 8.5rem;
}
.ai-a .bad { color: var(--orange); font-weight: 600; }
.ai-a .good { color: var(--teal); font-weight: 600; }
.caret {
  display: inline-block; width: 2px; height: 1.05em;
  background: var(--teal); vertical-align: -0.15em; margin-left: 2px;
  animation: blink 0.9s steps(2) infinite;
}
@keyframes blink { 50% { opacity: 0; } }
.ai-foot {
  display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.1rem;
  padding-top: 1.1rem; border-top: 1px dashed rgba(255, 255, 255, 0.14);
}
.cite {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em;
  padding: 0.35rem 0.75rem; border-radius: 999px;
}
.cite-bad { background: rgba(249, 126, 45, 0.14); color: var(--orange); }
.cite-good { background: rgba(15, 182, 178, 0.14); color: var(--teal); }
.cite-dim { background: rgba(255, 255, 255, 0.07); color: var(--on-dark-muted); }

/* ---------- Marquee strip ---------- */
.strip {
  background: var(--navy);
  border-block: 1px solid var(--line-dark);
  overflow: hidden; padding: 1.05rem 0;
}
.strip-track {
  display: flex; gap: 3.2rem; width: max-content;
  animation: slide 42s linear infinite;
  font-size: 0.82rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--on-dark-muted); white-space: nowrap;
}
.strip-track span { display: flex; align-items: center; gap: 3.2rem; }
.strip-track i { font-style: normal; color: var(--teal); }
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- Problem list (editorial rows) ---------- */
.problem-list { border-top: 1px solid var(--line); }
.problem-row {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  padding: clamp(1.8rem, 3.5vw, 2.6rem) 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}
.problem-row .quote {
  font-family: var(--serif); font-style: italic; font-weight: 480;
  font-size: clamp(1.25rem, 2.1vw, 1.6rem); line-height: 1.35; color: var(--navy);
}
.problem-row .quote::before { content: "“"; color: var(--orange); }
.problem-row .quote::after { content: "”"; color: var(--orange); }
.problem-row p { margin: 0; }

/* ---------- Discipline rows (SEO/GEO/AEO) ---------- */
.disc-row {
  display: grid;
  grid-template-columns: 130px minmax(0, 4fr) minmax(0, 6fr) 120px;
  gap: clamp(1.2rem, 3.5vw, 3rem);
  padding: clamp(2.2rem, 4vw, 3.2rem) 0;
  border-bottom: 1px solid var(--line-dark);
  align-items: center;
}
.disc-row:first-of-type { border-top: 1px solid var(--line-dark); }
.disc-abbr {
  font-family: var(--serif); font-style: italic; font-weight: 480;
  font-size: clamp(1.8rem, 3.4vw, 2.6rem); color: var(--teal);
}
.disc-row h3 { color: #fff; margin-bottom: 0.4rem; }
.disc-row p { margin: 0; color: var(--on-dark-muted); font-size: 0.99rem; }
.disc-art { width: 110px; height: 110px; justify-self: end; }
.disc-art path, .disc-art circle, .disc-art line { stroke-width: 2.5; fill: none; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Testimonial ---------- */
.quote-band { text-align: left; }
.quote-band blockquote {
  margin: 0; font-family: var(--serif); font-weight: 480;
  font-size: clamp(1.5rem, 3vw, 2.25rem); line-height: 1.35; color: var(--navy);
  max-width: 56rem; letter-spacing: -0.01em;
}
.quote-band blockquote em { color: var(--teal-ink); font-style: italic; }
.quote-meta {
  display: flex; align-items: center; gap: 1rem; margin-top: 2.2rem;
}
.quote-meta .ava {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--navy); color: #fff;
  display: grid; place-items: center;
  font-family: var(--serif); font-style: italic; font-size: 1.3rem;
}
.quote-meta .who b { display: block; color: var(--navy); font-size: 1rem; }
.quote-meta .who span { font-size: 0.85rem; color: var(--muted); }
.stars { color: var(--orange); letter-spacing: 0.15em; font-size: 1.05rem; margin-bottom: 1.6rem; }

/* ---------- Self-assessment ---------- */
.assess-grid {
  display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(2.5rem, 6vw, 5rem); align-items: start;
}
.check-item {
  display: flex; gap: 1.1rem; align-items: flex-start;
  padding: 1.35rem 0; border-bottom: 1px solid var(--line-dark);
  cursor: pointer; min-height: 44px;
}
.check-item:first-child { border-top: 1px solid var(--line-dark); }
.check-item input { position: absolute; opacity: 0; pointer-events: none; }
.check-box {
  flex: none; width: 26px; height: 26px; margin-top: 0.15rem;
  border: 1.5px solid rgba(255, 255, 255, 0.4); border-radius: 8px;
  display: grid; place-items: center;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease);
}
.check-box svg { width: 14px; height: 14px; opacity: 0; transform: scale(0.5); transition: all 0.3s var(--ease); }
.check-item input:checked + .check-box { background: var(--teal); border-color: var(--teal); }
.check-item input:checked + .check-box svg { opacity: 1; transform: scale(1); }
.check-item input:focus-visible + .check-box { outline: 2px solid var(--teal); outline-offset: 3px; }
.check-item span { color: var(--on-dark); font-size: 0.99rem; line-height: 1.55; }
.check-item b { color: #fff; }

.score-card {
  border: 1px solid var(--line-dark); border-radius: 20px;
  padding: 2.1rem 2rem; position: sticky; top: 6.5rem;
  background: rgba(255, 255, 255, 0.03);
}
.score-num {
  font-family: var(--serif); font-size: clamp(3.4rem, 6vw, 5rem);
  line-height: 1; color: #fff; letter-spacing: -0.02em;
}
.score-num small { font-size: 0.35em; color: var(--on-dark-muted); font-family: var(--sans); font-weight: 600; }
.score-label { font-weight: 700; color: var(--teal); margin: 0.6rem 0 1.3rem; font-size: 1.05rem; min-height: 1.6em; }
.score-bar { height: 6px; border-radius: 99px; background: rgba(255,255,255,0.12); overflow: hidden; }
.score-bar i {
  display: block; height: 100%; width: 0%;
  background: linear-gradient(90deg, var(--orange), var(--teal));
  border-radius: 99px; transition: width 0.7s var(--ease);
}
.score-note { font-size: 0.88rem; color: var(--on-dark-muted); margin-top: 1.3rem; }
.score-card .btn { margin-top: 1.4rem; width: 100%; }

/* ---------- Process ---------- */
.process-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(2rem, 4vw, 3.5rem); counter-reset: step;
}
.step { border-top: 2px solid var(--navy); padding-top: 1.6rem; position: relative; }
.step .no {
  font-family: var(--serif); font-style: italic; font-size: 1rem;
  color: var(--orange); display: block; margin-bottom: 0.9rem;
}
.step h3 { margin-bottom: 0.7rem; }
.step p { margin: 0; font-size: 0.98rem; }
.step svg.step-line { position: absolute; top: -2px; left: 0; width: 100%; height: 2px; }

/* ---------- Report artifact ---------- */
.report-grid {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(2.5rem, 5vw, 4.5rem); align-items: start;
}
.report-doc {
  background: var(--paper); border-radius: 6px;
  box-shadow: 0 40px 90px rgba(4, 10, 30, 0.5);
  padding: clamp(1.6rem, 3vw, 2.4rem);
  transform: rotate(-0.6deg);
  color: var(--body);
  font-size: 0.92rem;
}
.report-doc .doc-head {
  display: flex; align-items: center; gap: 0.7rem;
  padding-bottom: 1rem; margin-bottom: 1.3rem;
  border-bottom: 1px solid var(--line-soft);
  font-family: var(--mono); font-size: 0.78rem; color: var(--muted);
}
.report-doc .doc-head i {
  width: 10px; height: 10px; border-radius: 2px; background: var(--teal); flex: none;
}
.report-doc h3 { font-size: 1.3rem; margin-bottom: 0.8rem; }
.tags { display: flex; flex-wrap: wrap; gap: 0.45rem; margin-bottom: 1.4rem; }
.tag {
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 0.3rem 0.7rem; border-radius: 999px;
}
.tag-high { background: rgba(249, 126, 45, 0.14); color: var(--orange-deep); }
.tag-geo { background: rgba(15, 182, 178, 0.13); color: var(--teal-ink); }
.report-doc h4 {
  margin: 1.2rem 0 0.4rem; font-size: 0.75rem; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--navy); font-family: var(--sans); font-weight: 800;
}
.report-doc p { margin: 0 0 0.6rem; }
.code-panel {
  background: var(--navy-deep); border-radius: 10px;
  padding: 1rem 1.15rem; overflow-x: auto;
  font-family: var(--mono); font-size: 0.76rem; line-height: 1.65;
  color: #c8d4f0; margin: 0.5rem 0 0.4rem;
  border: 1px solid rgba(255,255,255,0.07);
}
.code-panel .cm { color: #5f6f96; }
.code-panel .er { color: var(--orange); }
.code-panel .ok { color: var(--teal); }
.report-side .bullet-check { margin-top: 2rem; }

.bullet-check li {
  display: flex; gap: 0.8rem; align-items: flex-start;
  padding: 0.65rem 0; font-size: 1rem; color: var(--on-dark);
}
.bullet-check svg { width: 18px; height: 18px; flex: none; margin-top: 0.25rem; }
.on-navy .bullet-check li, .on-navy-deep .bullet-check li { color: var(--on-dark); }

/* ---------- Comparison table ---------- */
.compare { width: 100%; border-collapse: collapse; font-size: 0.98rem; }
.compare th, .compare td {
  text-align: left; padding: 1.15rem 1rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.compare thead th {
  font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted); border-bottom: 2px solid var(--navy);
}
.compare thead th:last-child { color: var(--navy); }
.compare td:first-child { font-weight: 700; color: var(--navy); width: 22%; }
.compare td:last-child { color: var(--navy); }
.compare .x { color: var(--orange-deep); font-weight: 700; }
.compare .v { color: var(--teal-ink); font-weight: 700; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.table-scroll .compare { min-width: 680px; }

/* ---------- Pricing ---------- */
.pricing-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0; border-top: 2px solid var(--navy);
}
.tier {
  padding: clamp(1.6rem, 2.5vw, 2.2rem) clamp(1.2rem, 2vw, 1.8rem) clamp(1.8rem, 3vw, 2.4rem);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: flex; flex-direction: column;
  position: relative; transition: background 0.4s var(--ease);
}
.tier:first-child { border-left: 1px solid var(--line); }
.tier:hover { background: var(--ground); }
.tier.rec { background: var(--navy); border-color: var(--navy); }
.tier.rec:hover { background: var(--navy-ink); }
.tier .flag {
  position: absolute; top: -2px; left: 0; right: 0; height: 4px;
  background: var(--orange);
}
.tier .badge {
  align-self: flex-start; font-size: 0.66rem; font-weight: 800; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--orange);
  border: 1px solid var(--orange); border-radius: 999px;
  padding: 0.28rem 0.75rem; margin-bottom: 1.1rem;
}
.tier .t-name { font-size: 0.82rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.35rem; }
.tier.rec .t-name { color: var(--on-dark-muted); }
.tier h3 { margin-bottom: 0.9rem; }
.tier.rec h3 { color: #fff; }
.price { font-family: var(--serif); font-size: clamp(2.2rem, 3vw, 2.7rem); color: var(--navy); line-height: 1; letter-spacing: -0.02em; }
.price small { font-family: var(--sans); font-size: 0.85rem; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.tier.rec .price { color: #fff; }
.tier.rec .price small { color: var(--on-dark-muted); }
.price-sub { font-size: 0.82rem; color: var(--muted); margin: 0.35rem 0 1.2rem; }
.tier.rec .price-sub { color: var(--on-dark-muted); }
.tier .t-desc { font-size: 0.92rem; margin: 0 0 1.3rem; color: var(--body); }
.tier.rec .t-desc { color: var(--on-dark-muted); }
.tier ul { margin-bottom: 1.8rem; flex: 1; }
.tier ul li {
  font-size: 0.88rem; padding: 0.5rem 0 0.5rem 1.5rem; position: relative;
  border-bottom: 1px dashed var(--line-soft); line-height: 1.5;
}
.tier ul li::before {
  content: ""; position: absolute; left: 0; top: 0.95em;
  width: 7px; height: 7px; border-radius: 50%; background: var(--teal);
}
.tier ul li b { color: var(--navy); }
.tier.rec ul li { color: var(--on-dark); border-bottom-color: var(--line-dark); }
.tier.rec ul li b { color: #fff; }
.tier .btn { width: 100%; min-height: 48px; font-size: 0.92rem; }
.pricing-note { text-align: center; margin-top: 2.4rem; font-size: 0.9rem; color: var(--muted); }
.pricing-note a { color: var(--teal-ink); font-weight: 700; border-bottom: 1px solid var(--teal); }

/* ---------- Founder ---------- */
.founder-grid {
  display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: clamp(2.5rem, 6vw, 5rem); align-items: center;
}
.founder-mark {
  font-family: var(--serif); font-style: italic;
  font-size: clamp(7rem, 14vw, 11rem); line-height: 0.8;
  color: var(--teal); user-select: none;
}
.founder-grid blockquote {
  margin: 0; font-size: clamp(1.15rem, 1.8vw, 1.35rem); line-height: 1.7; color: var(--on-dark);
}
.founder-grid blockquote p { margin: 0 0 1.1rem; }
.founder-sig { display: flex; align-items: center; gap: 1rem; margin-top: 1.8rem; }
.founder-sig .ava {
  width: 54px; height: 54px; border-radius: 50%;
  background: var(--orange); color: var(--navy-deep);
  display: grid; place-items: center;
  font-family: var(--serif); font-style: italic; font-size: 1.35rem;
}
.founder-sig b { color: #fff; display: block; }
.founder-sig span { font-size: 0.85rem; color: var(--on-dark-muted); }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 1.5rem;
  padding: 1.5rem 0; text-align: left; min-height: 44px;
  font-family: var(--serif); font-weight: 560; font-size: clamp(1.1rem, 1.8vw, 1.3rem);
  color: var(--navy); letter-spacing: -0.01em;
  transition: color 0.3s;
}
.faq-q:hover { color: var(--teal-ink); }
.faq-q .ic {
  flex: none; width: 34px; height: 34px; border: 1.5px solid var(--line);
  border-radius: 50%; display: grid; place-items: center;
  transition: transform 0.45s var(--ease), background 0.3s, border-color 0.3s;
}
.faq-q .ic svg { width: 13px; height: 13px; }
.faq-item.open .faq-q .ic { transform: rotate(45deg); background: var(--navy); border-color: var(--navy); }
.faq-item.open .faq-q .ic svg path { stroke: #fff; }
.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height 0.55s var(--ease);
}
.faq-a p { margin: 0; padding: 0 3.5rem 1.6rem 0; max-width: 52rem; }

/* ---------- Contact / CTA band ---------- */
.cta-band .section-head { margin-bottom: 2.5rem; }
.cta-band h2 { max-width: 46rem; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }
.cta-band .btn-outline { border-color: var(--navy-deep); color: var(--navy-deep); }
.cta-band .btn-outline:hover { background: var(--navy-deep); color: #fff; }
.cta-band .btn-dark { background: var(--navy-deep); color: #fff; }
.cta-band .btn-dark:hover { background: #000; }
.cta-fine { margin-top: 2rem; font-size: 0.88rem; color: rgba(7, 18, 51, 0.72); max-width: 40rem; }

/* ---------- Footer ---------- */
.footer { background: var(--navy-deep); color: var(--on-dark-muted); font-size: 0.92rem; }
.footer-top {
  display: grid; grid-template-columns: minmax(0, 5fr) repeat(3, minmax(0, 2.4fr));
  gap: clamp(2rem, 5vw, 4rem);
  padding: clamp(3.5rem, 6vw, 5rem) 0 3rem;
}
.footer .logo { margin-bottom: 1.1rem; display: inline-block; }
.footer-tag { max-width: 22rem; line-height: 1.7; }
.footer h4 {
  font-size: 0.75rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--on-dark); margin: 0 0 1.1rem; font-weight: 800;
}
.footer li { margin-bottom: 0.6rem; }
.footer li a { transition: color 0.25s; display: inline-block; padding: 0.15rem 0; min-height: 0; }
.footer li a:hover { color: var(--teal); }
.footer-bottom {
  border-top: 1px solid var(--line-dark);
  padding: 1.6rem 0 calc(1.6rem + env(safe-area-inset-bottom));
  display: flex; flex-wrap: wrap; gap: 0.8rem 2rem;
  justify-content: space-between; align-items: center;
  font-size: 0.82rem;
}
.footer-bottom a { color: var(--on-dark-muted); }
.footer-bottom a:hover { color: var(--teal); }

/* ---------- Scroll to top ---------- */
.to-top {
  position: fixed; right: 1.4rem; bottom: calc(1.4rem + env(safe-area-inset-bottom));
  width: 50px; height: 50px; border-radius: 50%;
  background: var(--navy); color: #fff; z-index: 90;
  display: grid; place-items: center;
  opacity: 0; transform: translateY(14px); pointer-events: none;
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease), background 0.3s;
  box-shadow: 0 12px 30px rgba(7, 18, 51, 0.35);
}
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--orange); }
.to-top svg { width: 18px; height: 18px; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(2.5rem, 6vw, 5rem); align-items: start;
}
.contact-form { display: flex; flex-direction: column; gap: 1.2rem; }
.field label {
  display: block; font-size: 0.78rem; font-weight: 800;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--navy); margin-bottom: 0.45rem;
}
.field input, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--paper); border: 1.5px solid var(--line);
  border-radius: 12px; padding: 0.9rem 1.1rem;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(15, 182, 178, 0.15);
}
.field textarea { min-height: 130px; resize: vertical; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.form-result {
  display: none; border-radius: 12px; padding: 1rem 1.2rem;
  font-weight: 700; font-size: 0.95rem; text-align: center;
}
.form-result.ok { display: block; background: rgba(15,182,178,0.12); color: var(--teal-ink); }
.form-result.err { display: block; background: rgba(249,126,45,0.14); color: var(--orange-deep); }
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; }

.contact-side h3 { margin-bottom: 0.6rem; }
.contact-channel {
  display: flex; align-items: center; gap: 1.1rem;
  padding: 1.4rem 0; border-bottom: 1px solid var(--line);
  transition: padding-left 0.35s var(--ease);
}
.contact-channel:first-of-type { border-top: 1px solid var(--line); }
.contact-channel:hover { padding-left: 0.6rem; }
.contact-channel .ch-ic {
  flex: none; width: 48px; height: 48px; border-radius: 50%;
  border: 1.5px solid var(--line);
  display: grid; place-items: center;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease);
}
.contact-channel:hover .ch-ic { background: var(--navy); border-color: var(--navy); }
.contact-channel:hover .ch-ic svg path,
.contact-channel:hover .ch-ic svg circle { stroke: #fff; }
.contact-channel b { display: block; color: var(--navy); font-size: 1rem; }
.contact-channel span { font-size: 0.88rem; color: var(--muted); }

@media (max-width: 960px) {
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .field-row { grid-template-columns: 1fr; }
}

/* ---------- Reveal ---------- */
.rv { opacity: 0; transform: translateY(22px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.rv.in { opacity: 1; transform: none; }

/* ---------- Method page: gate & scoring ---------- */
.gate-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.gate-card {
  border-top: 2px solid var(--orange); background: var(--paper);
  padding: 1.8rem 1.7rem; border-radius: 0 0 14px 14px;
  box-shadow: 0 1px 0 var(--line-soft);
}
.gate-card h3 { margin-bottom: 0.6rem; font-size: 1.15rem; }
.gate-card p { margin: 0; font-size: 0.94rem; }
.gate-card .big { font-family: var(--serif); font-size: 2.4rem; color: var(--orange); line-height: 1; display: block; margin-bottom: 0.5rem; }
.score-band { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1rem; }
.score-pill { font-size: 0.72rem; font-weight: 800; letter-spacing: 0.08em; padding: 0.35rem 0.75rem; border-radius: 999px; }
.score-pill.p0 { background: rgba(249,126,45,0.15); color: var(--orange-deep); }
.score-pill.p1 { background: rgba(15,182,178,0.14); color: var(--teal-ink); }
.score-pill.p2 { background: var(--ground); color: var(--body); }
.score-pill.p3 { background: var(--ground); color: var(--muted); }

/* ---------- Page hero (subpages) ---------- */
.page-hero {
  background: var(--navy-deep); color: var(--on-dark);
  padding: clamp(8rem, 15vh, 10.5rem) 0 clamp(3.5rem, 6vw, 5.5rem);
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1.2px);
  background-size: 30px 30px;
  mask-image: radial-gradient(ellipse 80% 90% at 80% 0%, #000 10%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 80% 90% at 80% 0%, #000 10%, transparent 70%);
}
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; max-width: 54rem; margin-bottom: 1.3rem; }
.page-hero .lede { max-width: 40rem; color: var(--on-dark-muted); }

/* ---------- Article ---------- */
.article-grid {
  display: grid; grid-template-columns: minmax(0, 220px) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4.5rem); align-items: start;
}
.toc { position: sticky; top: 6.5rem; font-size: 0.88rem; }
.toc b { display: block; font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.9rem; }
.toc a { display: block; padding: 0.4rem 0 0.4rem 1rem; border-left: 2px solid var(--line); color: var(--body); transition: all 0.25s; }
.toc a:hover, .toc a.active { border-left-color: var(--orange); color: var(--navy); font-weight: 700; }
.article-body { max-width: 46rem; }
.article-body h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin: 3rem 0 1rem; scroll-margin-top: 6rem; }
.article-body h3 { margin: 2.2rem 0 0.8rem; }
.article-body p { margin: 0 0 1.15rem; }
.article-body ul, .article-body ol { margin: 0 0 1.3rem; padding-left: 0; }
.article-body ul li { padding: 0.35rem 0 0.35rem 1.6rem; position: relative; }
.article-body ul li::before { content: ""; position: absolute; left: 0.2rem; top: 0.95em; width: 7px; height: 7px; border-radius: 50%; background: var(--teal); }
.article-body ol { counter-reset: li; }
.article-body ol li { counter-increment: li; padding: 0.35rem 0 0.35rem 2.2rem; position: relative; }
.article-body ol li::before { content: counter(li, decimal-leading-zero); position: absolute; left: 0; top: 0.5em; font-family: var(--serif); font-style: italic; color: var(--orange); }
.article-meta { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; font-size: 0.85rem; color: var(--on-dark-muted); margin-top: 1.4rem; }
.callout {
  border-left: 3px solid var(--orange); background: var(--ground);
  padding: 1.2rem 1.5rem; border-radius: 0 12px 12px 0; margin: 1.6rem 0;
}
.callout p:last-child { margin-bottom: 0; }

/* ---------- Blog hub ---------- */
.post-row {
  display: grid; grid-template-columns: 110px minmax(0, 1fr) auto;
  gap: clamp(1.2rem, 3vw, 2.5rem); align-items: center;
  padding: 2.2rem 0; border-bottom: 1px solid var(--line);
  transition: padding-left 0.4s var(--ease);
}
.post-row:first-of-type { border-top: 1px solid var(--line); }
.post-row:hover { padding-left: 0.8rem; }
.post-row .p-no { font-family: var(--serif); font-style: italic; font-size: 1.6rem; color: var(--orange); }
.post-row h3 { margin-bottom: 0.4rem; transition: color 0.3s; }
.post-row:hover h3 { color: var(--teal-ink); }
.post-row p { margin: 0; font-size: 0.95rem; max-width: 44rem; }
.post-row .p-meta { font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-top: 0.6rem; }
.post-row .p-arr { width: 46px; height: 46px; border: 1.5px solid var(--line); border-radius: 50%; display: grid; place-items: center; transition: all 0.35s var(--ease); }
.post-row:hover .p-arr { background: var(--navy); border-color: var(--navy); }
.post-row:hover .p-arr svg path { stroke: #fff; }
.post-row.soon { opacity: 0.55; pointer-events: none; }

/* ---------- Legal / policy ---------- */
.legal-body { max-width: 46rem; }
.legal-body h2 { font-size: 1.5rem; margin: 2.6rem 0 0.9rem; }
.legal-body p { margin: 0 0 1.1rem; }
.legal-body ul { margin: 0 0 1.2rem; }
.legal-body ul li { padding: 0.3rem 0 0.3rem 1.6rem; position: relative; }
.legal-body ul li::before { content: ""; position: absolute; left: 0.2rem; top: 0.9em; width: 7px; height: 7px; border-radius: 50%; background: var(--orange); }
.policy-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin: 2.5rem 0; }
.policy-card { border-top: 2px solid var(--orange); background: var(--ground); padding: 1.6rem 1.5rem; border-radius: 0 0 12px 12px; }
.policy-card h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.policy-card p { margin: 0; font-size: 0.92rem; }

/* ---------- Utility pages (thank-you / 404) ---------- */
.util-hero { min-height: 100svh; display: flex; align-items: center; }
.util-hero .big {
  font-family: var(--serif); font-size: clamp(5rem, 16vw, 11rem);
  line-height: 0.9; color: var(--teal); letter-spacing: -0.03em; margin-bottom: 1.5rem;
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .tier:nth-child(odd) { border-left: 1px solid var(--line); }
  .tier { border-top: 1px solid var(--line); }
  .tier .flag { display: none; }
  .tier.rec { border-color: var(--navy); }
}
@media (max-width: 960px) {
  .gate-grid { grid-template-columns: 1fr; }
  .section-head { grid-template-columns: 1fr; gap: 1.2rem; align-items: start; margin-bottom: 2.8rem; }
  .hero-grid { grid-template-columns: 1fr; gap: 3rem; }
  .hero .lede { max-width: none; }
  .ai-a { min-height: 7rem; }
  .assess-grid, .report-grid, .founder-grid { grid-template-columns: 1fr; }
  .score-card { position: static; }
  .process-grid { grid-template-columns: 1fr; gap: 2.4rem; }
  .disc-row { grid-template-columns: 90px minmax(0, 1fr); }
  .disc-row p { grid-column: 1 / -1; }
  .disc-art { display: none; }
  .article-grid { grid-template-columns: 1fr; }
  .toc { position: static; display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 1rem; }
  .toc b { width: 100%; }
  .toc a { border: 1px solid var(--line); border-radius: 999px; padding: 0.45rem 0.95rem; }
  .toc a:hover, .toc a.active { border-color: var(--orange); }
  .policy-cards { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .nav-links { display: none; }
  .burger { display: flex; }
  .mobile-menu { display: flex; }
}
@media (max-width: 620px) {
  body { font-size: 1rem; }
  .pricing-grid { grid-template-columns: 1fr; }
  .tier { border-left: 1px solid var(--line); }
  .problem-row { grid-template-columns: 1fr; gap: 0.8rem; }
  .post-row { grid-template-columns: 1fr; gap: 0.7rem; }
  .post-row .p-arr { display: none; }
  .hero-ctas .btn { width: 100%; }
  .cta-actions .btn { width: 100%; }
  .footer-top { grid-template-columns: 1fr; }
  .report-doc { transform: none; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001s !important; transition-duration: 0.001s !important; }
  .rv { opacity: 1; transform: none; }
  .strip-track { animation: none; }
}
