/* Unincelling — dark charcoal, sharp type, amber accent */
:root {
  --bg: #0e0f12;
  --bg-alt: #16181e;
  --bg-card: #1a1d25;
  --border: #2a2e38;
  --text: #e8eaef;
  --muted: #9aa3b2;
  --accent: #e8a838;
  --accent-dim: #b8842a;
  --good: #3ecf8e;
  --warn: #e8a838;
  --bad: #e85d5d;
  --radius: 10px;
  --max: 1100px;
  --font: "Segoe UI", system-ui, -apple-system, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 17px;
}
img { max-width: 100%; height: auto; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
.skip {
  position: absolute; left: -999px; top: 0;
  background: var(--accent); color: #000; padding: 0.5rem 1rem; z-index: 100;
}
.skip:focus { left: 0; }

.wrap { width: min(100% - 2rem, var(--max)); margin-inline: auto; }
.wrap-narrow { width: min(100% - 2rem, 720px); margin-inline: auto; }

/* ——— Full-width journey banner (above everything) ——— */
.site-banner {
  position: relative;
  width: 100%;
  max-height: min(42vh, 420px);
  min-height: 160px;
  overflow: hidden;
  background: #050608;
  border-bottom: 1px solid var(--border);
}
.site-banner img {
  display: block;
  width: 100%;
  height: min(42vh, 420px);
  min-height: 160px;
  object-fit: cover;
  object-position: center 28%;
}
.site-banner-shade {
  pointer-events: none;
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 9, 12, 0.55) 0%, transparent 28%, transparent 72%, rgba(8, 9, 12, 0.35) 100%),
    linear-gradient(180deg, transparent 40%, rgba(8, 9, 12, 0.75) 100%);
}
.site-banner-brand {
  position: absolute;
  left: max(1rem, calc((100% - var(--max)) / 2));
  bottom: 1rem;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.site-banner-word {
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: clamp(0.95rem, 2.2vw, 1.35rem);
  color: #fff;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.75);
}
.site-banner-word span { color: var(--accent); }
.site-banner-tag {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(232, 234, 239, 0.78);
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.8);
}
@media (max-width: 600px) {
  .site-banner,
  .site-banner img {
    max-height: 28vh;
    min-height: 120px;
    height: 28vh;
  }
  .site-banner-tag { display: none; }
}

/* ——— Pepe mid-band (home, above for/not-for) ——— */
.pepe-band {
  width: 100%;
  border-block: 1px solid var(--border);
  background: #050608;
}
.pepe-band-inner {
  position: relative;
  width: 100%;
  min-height: 200px;
  max-height: min(36vh, 340px);
  overflow: hidden;
}
.pepe-band-img {
  display: block;
  width: 100%;
  height: min(36vh, 340px);
  min-height: 200px;
  object-fit: cover;
  object-position: left center;
}
.pepe-band-shade {
  pointer-events: none;
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 6, 8, 0.15) 0%, rgba(5, 6, 8, 0.45) 38%, rgba(5, 6, 8, 0.88) 68%, rgba(5, 6, 8, 0.94) 100%),
    linear-gradient(180deg, transparent 50%, rgba(5, 6, 8, 0.55) 100%);
}
.pepe-band-copy {
  position: absolute;
  right: max(1rem, calc((100% - var(--max)) / 2));
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  max-width: min(34rem, 54vw);
  text-align: right;
  padding: 0.5rem 0;
}
.pepe-band-kicker {
  margin: 0 0 0.45rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}
.pepe-band-headline {
  margin: 0 0 0.65rem;
  font-size: clamp(1.35rem, 3.6vw, 2.35rem);
  line-height: 1.08;
  letter-spacing: 0.02em;
  font-weight: 900;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.85);
}
.pepe-band-sub {
  margin: 0;
  font-size: clamp(0.85rem, 1.5vw, 1rem);
  color: var(--muted);
  line-height: 1.45;
}
.pepe-band-fine {
  display: block;
  margin-top: 0.35rem;
  color: rgba(232, 234, 239, 0.9);
  font-weight: 650;
}
@media (max-width: 700px) {
  .pepe-band-inner,
  .pepe-band-img {
    max-height: none;
    height: auto;
    min-height: 280px;
  }
  .pepe-band-img {
    height: 280px;
    object-position: 15% center;
  }
  .pepe-band-copy {
    right: 1rem;
    left: 1rem;
    max-width: none;
    text-align: left;
    top: auto;
    bottom: 1rem;
    transform: none;
  }
  .pepe-band-shade {
    background:
      linear-gradient(180deg, transparent 20%, rgba(5, 6, 8, 0.92) 75%),
      linear-gradient(90deg, rgba(5, 6, 8, 0.2), transparent 50%);
  }
}

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(14, 15, 18, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: 0.85rem 0; flex-wrap: wrap;
}
.brand {
  font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--text); font-size: 0.95rem; text-decoration: none;
}
.brand span { color: var(--accent); }
.nav-links { display: flex; gap: 1.1rem; flex-wrap: wrap; align-items: center; }
.nav-links a {
  color: var(--muted); font-size: 0.9rem; text-decoration: none; font-weight: 500;
}
.nav-links a:hover, .nav-links a.active { color: var(--text); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 0.4rem; padding: 0.75rem 1.25rem; border-radius: 8px;
  font-weight: 700; font-size: 0.95rem; border: 1px solid transparent;
  cursor: pointer; text-decoration: none; line-height: 1.2;
  transition: transform 0.12s ease, background 0.12s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: #111; }
.btn-primary:hover { background: #f0b84a; color: #111; }
.btn-ghost {
  background: transparent; color: var(--text); border-color: var(--border);
}
.btn-ghost:hover { border-color: var(--muted); color: var(--text); }
.btn-sm { padding: 0.5rem 0.9rem; font-size: 0.85rem; }
.btn-block { width: 100%; }

/* Hero */
.hero { padding: 4rem 0 3.5rem; }
.hero-grid {
  display: grid; gap: 2.5rem;
  grid-template-columns: 1.2fr 0.8fr; align-items: center;
}
@media (max-width: 800px) {
  .hero-grid { grid-template-columns: 1fr; }
}
.eyebrow {
  color: var(--accent); font-size: 0.8rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase; margin: 0 0 0.75rem;
}
h1 {
  font-size: clamp(2rem, 5vw, 3.1rem); line-height: 1.12;
  margin: 0 0 1rem; letter-spacing: -0.02em;
}
h1 .accent { color: var(--accent); }
.lead { color: var(--muted); font-size: 1.1rem; margin: 0 0 1.5rem; max-width: 38rem; }
.lead strong { color: var(--text); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 1rem; }
.note { color: var(--muted); font-size: 0.9rem; margin: 0.5rem 0 0; }
.hero-card {
  background: linear-gradient(160deg, var(--bg-card), #12141a);
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.5rem; box-shadow: 0 20px 50px rgba(0,0,0,0.35);
}
.hero-card h3 { margin: 0 0 0.75rem; font-size: 1rem; color: var(--accent); }
.hero-card ul { margin: 0; padding-left: 1.1rem; color: var(--muted); }
.hero-card li { margin-bottom: 0.45rem; }
.stat-row { display: flex; gap: 1rem; margin-top: 1.25rem; flex-wrap: wrap; }
.stat {
  flex: 1; min-width: 90px; background: var(--bg); border-radius: 8px;
  padding: 0.75rem; border: 1px solid var(--border); text-align: center;
}
.stat b { display: block; color: var(--accent); font-size: 1.1rem; }
.stat span { font-size: 0.75rem; color: var(--muted); }

/* Sections */
.section { padding: 3.5rem 0; }
.section.alt { background: var(--bg-alt); border-block: 1px solid var(--border); }
.section-label {
  color: var(--accent); font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase; margin: 0 0 0.5rem;
}
h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin: 0 0 0.75rem; letter-spacing: -0.02em; }
.section-lead { color: var(--muted); max-width: 40rem; margin: 0 0 2rem; }

.grid-3 {
  display: grid; gap: 1.25rem;
  grid-template-columns: repeat(3, 1fr);
}
.grid-2 {
  display: grid; gap: 1.25rem;
  grid-template-columns: repeat(2, 1fr);
}
@media (max-width: 800px) {
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
}

.card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.35rem;
}
.card h3 { margin: 0 0 0.5rem; font-size: 1.05rem; }
.card p { margin: 0; color: var(--muted); font-size: 0.95rem; }
.card .num {
  display: inline-block; color: var(--accent); font-family: var(--mono);
  font-size: 0.8rem; font-weight: 700; margin-bottom: 0.5rem;
}

.for-grid { display: grid; gap: 1.25rem; grid-template-columns: 1fr 1fr; }
@media (max-width: 700px) { .for-grid { grid-template-columns: 1fr; } }
.for-yes { border-color: rgba(62, 207, 142, 0.35); }
.for-no { border-color: rgba(232, 93, 93, 0.3); }
.for-yes h3 { color: var(--good); }
.for-no h3 { color: var(--bad); }
.for-grid ul { margin: 0.5rem 0 0; padding-left: 1.1rem; color: var(--muted); }
.for-grid li { margin-bottom: 0.4rem; }

.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; }
.steps li {
  position: relative; padding: 1rem 1rem 1rem 3.5rem;
  border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--bg-card); margin-bottom: 0.75rem;
}
.steps li::before {
  counter-increment: step; content: counter(step);
  position: absolute; left: 1rem; top: 1rem;
  width: 1.75rem; height: 1.75rem; border-radius: 50%;
  background: var(--accent); color: #111; font-weight: 800;
  font-size: 0.85rem; display: flex; align-items: center; justify-content: center;
}
.steps strong { color: var(--text); }
.steps span { color: var(--muted); display: block; font-size: 0.92rem; margin-top: 0.25rem; }

.quote {
  border-left: 3px solid var(--accent); padding: 0.5rem 0 0.5rem 1.25rem;
  margin: 1.5rem 0; color: var(--text); font-size: 1.15rem; font-style: italic;
}
.quote cite { display: block; font-style: normal; color: var(--muted); font-size: 0.85rem; margin-top: 0.5rem; }

/* Protocol layout */
.proto-layout {
  display: grid; grid-template-columns: 240px 1fr; gap: 2rem;
  padding: 2rem 0 4rem; align-items: start;
}
@media (max-width: 860px) {
  .proto-layout { grid-template-columns: 1fr; }
  .proto-nav { position: static !important; }
}
.proto-nav {
  position: sticky; top: 4.5rem;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1rem; max-height: calc(100vh - 6rem); overflow: auto;
}
.proto-nav h4 {
  margin: 0 0 0.75rem; font-size: 0.75rem; text-transform: uppercase;
  letter-spacing: 0.08em; color: var(--muted);
}
.proto-nav a {
  display: block; padding: 0.35rem 0.5rem; border-radius: 6px;
  color: var(--muted); font-size: 0.85rem; text-decoration: none; margin-bottom: 0.15rem;
}
.proto-nav a:hover, .proto-nav a.active {
  background: var(--bg); color: var(--accent); text-decoration: none;
}
.module {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.75rem; margin-bottom: 1.5rem;
  scroll-margin-top: 5rem;
}
.module h2 { font-size: 1.45rem; }
.module h3 { margin: 1.5rem 0 0.5rem; font-size: 1.05rem; color: var(--accent); }
.module p, .module li { color: var(--muted); }
.module p strong, .module li strong { color: var(--text); }
.drill {
  background: var(--bg); border: 1px dashed var(--accent-dim);
  border-radius: 8px; padding: 1rem 1.15rem; margin: 1rem 0;
}
.drill strong { color: var(--accent); }
.checkpoint {
  background: rgba(62, 207, 142, 0.08); border: 1px solid rgba(62, 207, 142, 0.25);
  border-radius: 8px; padding: 1rem; margin-top: 1rem;
}
.fail {
  background: rgba(232, 93, 93, 0.08); border: 1px solid rgba(232, 93, 93, 0.25);
  border-radius: 8px; padding: 1rem; margin: 1rem 0;
}

/* Diagnosis */
.quiz-progress {
  height: 6px; background: var(--border); border-radius: 99px; overflow: hidden; margin-bottom: 1.5rem;
}
.quiz-progress > div { height: 100%; background: var(--accent); width: 0%; transition: width 0.2s; }
.q-card label {
  display: block; padding: 0.85rem 1rem; border: 1px solid var(--border);
  border-radius: 8px; margin-bottom: 0.5rem; cursor: pointer; background: var(--bg);
  color: var(--muted); transition: border-color 0.12s, color 0.12s;
}
.q-card label:hover, .q-card label:has(input:checked) {
  border-color: var(--accent); color: var(--text);
}
.q-card input { margin-right: 0.6rem; accent-color: var(--accent); }
.q-nav { display: flex; gap: 0.75rem; margin-top: 1.25rem; flex-wrap: wrap; }
.result-tier {
  font-size: 1.5rem; font-weight: 800; margin: 0.5rem 0 0.25rem;
}
.tier-cope { color: var(--bad); }
.tier-stuck { color: #f0a060; }
.tier-emerging { color: var(--accent); }
.tier-building { color: var(--good); }
.bottleneck {
  display: flex; gap: 0.75rem; padding: 0.85rem; border: 1px solid var(--border);
  border-radius: 8px; margin-bottom: 0.6rem; background: var(--bg);
}
.bottleneck b { color: var(--accent); min-width: 1.5rem; }

/* Forms */
input[type="email"], input[type="text"], textarea {
  width: 100%; padding: 0.75rem 1rem; border-radius: 8px;
  border: 1px solid var(--border); background: var(--bg); color: var(--text);
  font: inherit;
}
input:focus, textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.form-row { margin-bottom: 1rem; }
.form-row label { display: block; margin-bottom: 0.35rem; font-size: 0.9rem; color: var(--muted); }

/* FAQ */
details {
  border: 1px solid var(--border); border-radius: 8px; padding: 0.9rem 1.1rem;
  margin-bottom: 0.6rem; background: var(--bg-card);
}
details summary { cursor: pointer; font-weight: 650; color: var(--text); }
details p { color: var(--muted); margin: 0.75rem 0 0; }

/* Pricing */
.price-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.75rem; position: relative;
}
.price-card.featured {
  border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent);
}
.price-card .badge {
  position: absolute; top: -0.65rem; right: 1rem;
  background: var(--accent); color: #111; font-size: 0.7rem; font-weight: 800;
  padding: 0.25rem 0.6rem; border-radius: 99px; text-transform: uppercase;
}
.price { font-size: 2.5rem; font-weight: 800; margin: 0.5rem 0; }
.price small { font-size: 1rem; color: var(--muted); font-weight: 500; }
.price-card ul { padding-left: 1.1rem; color: var(--muted); margin: 1rem 0 1.5rem; }
.price-card li { margin-bottom: 0.4rem; }

/* Checklist */
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li {
  display: flex; gap: 0.75rem; align-items: flex-start;
  padding: 0.85rem; border: 1px solid var(--border); border-radius: 8px;
  margin-bottom: 0.5rem; background: var(--bg-card);
}
.check-list input { margin-top: 0.25rem; width: 1.15rem; height: 1.15rem; accent-color: var(--accent); }
.check-list.done li:has(input:checked) { opacity: 0.65; }
.check-list.done li:has(input:checked) span { text-decoration: line-through; }

/* Footer */
.footer {
  border-top: 1px solid var(--border); padding: 2.5rem 0; margin-top: 2rem;
  color: var(--muted); font-size: 0.88rem;
}
.footer-grid {
  display: flex; flex-wrap: wrap; gap: 2rem; justify-content: space-between;
}
.footer a { color: var(--muted); }
.footer a:hover { color: var(--accent); }
.footer nav { display: flex; flex-wrap: wrap; gap: 1rem; }
.crisis {
  font-size: 0.82rem; color: var(--muted); margin-top: 1.5rem;
  padding-top: 1rem; border-top: 1px solid var(--border);
}

.prose h2 { margin-top: 2rem; }
.prose p { color: var(--muted); }
.prose li { color: var(--muted); }
.prose strong { color: var(--text); }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
th, td { border: 1px solid var(--border); padding: 0.65rem 0.75rem; text-align: left; }
th { background: var(--bg-alt); color: var(--text); }
td { color: var(--muted); }

.hidden { display: none !important; }
.tag {
  display: inline-block; font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  padding: 0.2rem 0.5rem; border-radius: 4px;
  background: rgba(232, 168, 56, 0.15); color: var(--accent);
}

/* ——— Brand graphics ——— */
.visual-frame {
  position: relative;
  border-radius: calc(var(--radius) + 2px);
  overflow: hidden;
  border: 1px solid var(--border);
  background: #0a0b0e;
  box-shadow:
    0 24px 48px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}
.visual-frame img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: middle;
}
.visual-frame.square img { aspect-ratio: 1; object-fit: cover; }
.visual-frame.wide img { aspect-ratio: 16 / 9; object-fit: cover; }
.visual-frame.pillars img { aspect-ratio: 4 / 3; object-fit: cover; }

.visual-caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 2.25rem 1.15rem 1rem;
  background: linear-gradient(transparent, rgba(8, 9, 12, 0.92) 55%);
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.visual-caption strong { color: var(--accent); font-weight: 750; }

.hero-visual-stack {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.hero-visual-stack .hero-card {
  margin: 0;
}

.method-visual {
  margin: 0 0 2rem;
  max-width: 720px;
}
.method-visual .visual-frame {
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
}

.problem-split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2rem;
  align-items: center;
}
@media (max-width: 800px) {
  .problem-split { grid-template-columns: 1fr; }
  .problem-split .visual-frame { order: -1; }
}

.section-visual-end {
  margin: 2rem auto 0;
  max-width: 640px;
}

/* Protocol page banner */
.proto-banner {
  margin: 0 0 1.5rem;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}
.proto-banner img {
  display: block;
  width: 100%;
  max-height: 220px;
  object-fit: cover;
  object-position: center;
}
