:root {
  --bg: #0B0B0E;
  --bg-2: #0F0F13;
  --surface: #14141A;
  --text: #F5F2EA;
  --text-2: #9A958C;
  --text-3: #6B6760;
  --border: #2A2A33;
  --border-strong: #44424D;
  --accent: #D4AF37;
  --accent-soft: #B8962E;
  --accent-glow: rgba(212, 175, 55, 0.12);
  --font-heading: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color .15s ease;
}
a:hover { color: var(--accent-soft); }

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 32px;
}
.container.narrow { max-width: 720px; }

/* ── HEADING SYSTEM ───────────────────────────────────────── */
.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: .22em;
  color: var(--accent);
  text-transform: uppercase;
  margin: 0 0 28px;
}
.kicker {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: .22em;
  color: var(--text-3);
  text-transform: uppercase;
  margin: 0 0 16px;
}

h1 {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: clamp(48px, 8vw, 96px);
  line-height: 1.0;
  letter-spacing: -0.025em;
  margin: 0 0 32px;
  color: var(--text);
}
h1 em {
  font-style: italic;
  font-weight: 500;
  color: var(--accent);
}

h2 {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: clamp(34px, 5vw, 52px);
  line-height: 1.05;
  letter-spacing: -0.015em;
  margin: 0 0 28px;
  color: var(--text);
}
h2 em {
  font-style: italic;
  font-weight: 500;
  color: var(--text-2);
}
h2.centered { text-align: center; }

h3 {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 22px;
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin: 0 0 12px;
  color: var(--text);
}

p.body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 19px;
  line-height: 1.65;
  color: var(--text-2);
  margin: 0 0 20px;
  max-width: 640px;
}
p.body em { font-style: italic; color: var(--text); font-weight: 500; }
p.body strong { color: var(--accent); font-weight: 600; }
p.body.centered { text-align: center; margin-left: auto; margin-right: auto; }

.lede {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: clamp(19px, 2vw, 23px);
  line-height: 1.55;
  color: var(--text-2);
  margin: 0 0 48px;
  max-width: 640px;
}

/* ── HERO ─────────────────────────────────────────────────── */
.hero {
  padding: 120px 0 60px;
  background: radial-gradient(ellipse at top, rgba(212,175,55,.06), transparent 60%);
  position: relative;
}
.hero .container { position: relative; z-index: 2; }

.hero-cta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 8px;
}
.hero-meta {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text-3);
  letter-spacing: .02em;
}

.mycelium {
  display: block;
  width: 100%;
  height: 160px;
  margin-top: 80px;
  color: var(--accent);
}

/* ── BUTTONS ──────────────────────────────────────────────── */
.btn-primary {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0;
  background: var(--accent);
  color: #0B0B0E;
  border: 1px solid var(--accent);
  border-radius: 999px;
  padding: 16px 32px;
  cursor: pointer;
  text-decoration: none;
  transition: background .15s ease, transform .05s ease, box-shadow .2s ease;
  box-shadow: 0 0 0 4px transparent;
}
.btn-primary:hover {
  background: var(--accent-soft);
  color: #0B0B0E;
  box-shadow: 0 0 0 4px var(--accent-glow);
}
.btn-primary:active { transform: translateY(1px); }
.btn-primary.submit {
  width: 100%;
  padding: 20px 24px;
  margin-top: 16px;
  font-size: 17px;
}

/* ── SECTIONS ─────────────────────────────────────────────── */
.section { padding: 100px 0; border-top: 1px solid var(--border); }
.section-alt { background: var(--bg-2); }
.section-form { background: var(--bg-2); }
.section-finale {
  padding: 120px 0;
  background:
    radial-gradient(ellipse at center, rgba(212,175,55,.08), transparent 70%),
    var(--bg-2);
  text-align: center;
}
.finale-cta { margin-top: 40px; }
.finale-cta .btn-primary { font-size: 17px; padding: 18px 40px; }

/* ── HOW IT WORKS · STEPS ─────────────────────────────────── */
.steps {
  list-style: none;
  padding: 0;
  margin: 64px 0 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 48px 56px;
}
.steps li {
  position: relative;
  padding-top: 56px;
}
.step-num {
  position: absolute;
  top: 0;
  left: 0;
  font-family: var(--font-heading);
  font-style: italic;
  font-weight: 500;
  font-size: 40px;
  color: var(--accent);
  line-height: 1;
}
.steps h3 { margin-bottom: 10px; }
.steps p {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text-2);
  margin: 0;
}

/* ── MODULES ──────────────────────────────────────────────── */
.modules {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}
.mod {
  background: var(--bg);
  padding: 36px 32px 32px;
  transition: background .15s ease;
  position: relative;
}
.mod:hover { background: var(--surface); }
.mod-num {
  display: block;
  font-family: var(--font-heading);
  font-style: italic;
  font-weight: 500;
  font-size: 22px;
  color: var(--accent);
  letter-spacing: .02em;
  margin-bottom: 14px;
}
.mod h3 {
  font-size: 22px;
  margin-bottom: 10px;
  color: var(--text);
}
.mod p {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-2);
}

/* ── HIERARCHY ────────────────────────────────────────────── */
.hierarchy {
  margin-top: 48px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
}
.lvl {
  display: flex;
  gap: 22px;
  padding: 20px 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 2px solid var(--accent);
  align-items: flex-start;
}
.lvl-tag {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-weight: 500;
  font-size: 13px;
  color: var(--accent);
  letter-spacing: .04em;
  padding: 4px 8px;
  border: 1px solid var(--border-strong);
  border-radius: 4px;
  flex: 0 0 auto;
  margin-top: 2px;
}
.lvl h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 21px;
  color: var(--text);
  margin: 0 0 4px;
}
.lvl p {
  font-size: 15px;
  color: var(--text-2);
  margin: 0;
  line-height: 1.55;
}
.lvl-arrow {
  text-align: center;
  color: var(--text-3);
  font-size: 18px;
  line-height: 1;
  margin: 2px 0;
  user-select: none;
}

/* ── DEPARTMENTS GRID ─────────────────────────────────────── */
.depts {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}
.dept {
  background: var(--bg);
  padding: 28px 24px;
  transition: background .15s ease;
  position: relative;
}
.dept:hover { background: var(--surface); }
.dept-num {
  display: block;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-weight: 500;
  font-size: 12px;
  color: var(--accent);
  letter-spacing: .12em;
  margin-bottom: 10px;
}
.dept h3 {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 22px;
  color: var(--text);
  margin: 0 0 8px;
}
.dept p {
  margin: 0;
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.5;
}

/* ── STEPS 7 (smaller cards) ──────────────────────────────── */
.steps-7 {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)) !important;
  gap: 32px 40px !important;
}

/* ── STACK LIST ───────────────────────────────────────────── */
.stack-list {
  list-style: none;
  padding: 0;
  margin: 36px 0 0;
}
.stack-list li {
  position: relative;
  padding: 16px 0 16px 32px;
  font-size: 16px;
  line-height: 1.55;
  color: var(--text-2);
  border-bottom: 1px solid var(--border);
}
.stack-list li:last-child { border-bottom: 0; }
.stack-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 26px;
  width: 18px;
  height: 1px;
  background: var(--accent);
}
.stack-list strong { color: var(--text); font-weight: 600; margin-right: 6px; }

/* ── PROOF LIST ───────────────────────────────────────────── */
.proof-list {
  list-style: none;
  padding: 0;
  margin: 36px 0 0;
}
.proof-list li {
  position: relative;
  padding-left: 32px;
  margin-bottom: 16px;
  font-size: 17px;
  line-height: 1.55;
  color: var(--text-2);
}
.proof-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 12px;
  width: 18px;
  height: 1px;
  background: var(--accent);
}
.proof-list strong { color: var(--text); font-weight: 600; }

/* ── PRICE CARD ───────────────────────────────────────────── */
.price-card {
  margin-top: 32px;
  padding: 48px 44px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-top: 2px solid var(--accent);
}
.price-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 12px;
  padding-bottom: 28px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--border);
}
.price-label {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text-2);
  letter-spacing: .04em;
  text-transform: uppercase;
}
.price-value {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 44px;
  line-height: 1;
  color: var(--accent);
  letter-spacing: -0.015em;
}
.price-list {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
}
.price-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
  font-size: 16px;
  color: var(--text);
}
.price-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 11px;
  width: 14px;
  height: 1px;
  background: var(--accent);
}
.price-note {
  margin: 0;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text-3);
  font-style: italic;
}

/* ── FORM ─────────────────────────────────────────────────── */
.form-intro { margin-bottom: 48px; }
.lead-form {
  margin-top: 16px;
  padding: 48px 40px;
  background: var(--bg);
  border: 1px solid var(--border);
}
.field { margin-bottom: 32px; }
.field label,
.field .lbl-group {
  display: block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 14px;
  color: var(--text);
  margin-bottom: 10px;
  letter-spacing: .01em;
}

input[type="text"],
textarea {
  width: 100%;
  display: block;
  padding: 14px 16px;
  background: var(--bg-2);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  resize: vertical;
  transition: border-color .15s ease, background .15s ease;
}
input[type="text"]:focus,
textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--surface);
}
input::placeholder,
textarea::placeholder { color: var(--text-3); opacity: .7; }

/* radios */
.radios {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.radios label { display: inline-block; cursor: pointer; margin: 0; }
.radios input[type="radio"] {
  position: absolute; opacity: 0; pointer-events: none;
}
.radios span {
  display: inline-block;
  padding: 10px 18px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.radios label:hover span { border-color: var(--accent); color: var(--accent); }
.radios input[type="radio"]:checked + span {
  background: var(--accent);
  border-color: var(--accent);
  color: #0B0B0E;
}

.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }

/* ── FAQ ──────────────────────────────────────────────────── */
.faq {
  border-bottom: 1px solid var(--border);
  padding: 24px 0;
}
.faq:first-of-type { border-top: 1px solid var(--border); margin-top: 16px; }
.faq summary {
  list-style: none;
  cursor: pointer;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 22px;
  color: var(--text);
  letter-spacing: -0.01em;
  position: relative;
  padding-right: 36px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+';
  position: absolute;
  right: 0;
  top: -2px;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 28px;
  color: var(--accent);
  transition: transform .2s ease;
}
.faq[open] summary::after { content: '−'; }
.faq summary:hover { color: var(--accent); }
.faq p {
  margin: 14px 0 0;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-2);
  max-width: 640px;
}

/* ── FOOTER ───────────────────────────────────────────────── */
footer {
  border-top: 1px solid var(--border);
  padding: 36px 0;
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--text-3);
  letter-spacing: .04em;
}

/* ── THANKS ───────────────────────────────────────────────── */
.thanks-page { display: flex; min-height: 100vh; align-items: center; }
.thanks-main { padding: 80px 32px; text-align: center; }
.thanks-main .eyebrow { color: var(--accent); }
.thanks-main h1 {
  font-size: clamp(40px, 6vw, 64px);
}
.thanks-main .lede {
  margin-left: auto; margin-right: auto;
}

/* ── RESPONSIVE ───────────────────────────────────────────── */
@media (max-width: 720px) {
  .container { padding: 0 22px; }
  .hero { padding: 80px 0 40px; }
  h1 { font-size: 44px; }
  h2 { font-size: 30px; }
  .section { padding: 64px 0; }
  .section-finale { padding: 80px 0; }
  .steps { grid-template-columns: 1fr; gap: 36px; margin-top: 48px; }
  .steps li { padding-top: 48px; }
  .step-num { font-size: 34px; }
  .modules { grid-template-columns: 1fr; }
  .mod { padding: 28px 22px; }
  .price-card { padding: 32px 24px; }
  .price-value { font-size: 36px; }
  .lead-form { padding: 28px 22px; }
  .radios span { font-size: 13px; padding: 9px 14px; }
  .mycelium { height: 100px; margin-top: 48px; }
  .hero-cta { gap: 14px; }
  .hero-meta { width: 100%; }
  .lvl { padding: 16px 18px; gap: 14px; }
  .lvl-tag { font-size: 11px; padding: 3px 6px; }
  .lvl h4 { font-size: 17px; }
  .depts { grid-template-columns: 1fr; }
  .dept { padding: 22px 20px; }
  .stack-list li { padding: 14px 0 14px 28px; font-size: 15px; }
  .stack-list li::before { top: 22px; width: 14px; }
}
