:root {
  --bg:          #0f0f0f; /*#1a1108;*/
  --bg-card:     #1f1509;
  --bg-elevated: #261b0c;
  --border:      #2e200e;
  --border-mid:  #3d2c14;
  --gold:        #c9943a;
  --gold-bright: #e8bc6a;
  --gold-dim:    #7a5820;
  --gold-tint:   rgba(201,148,58,0.10);
  --cream:       #faf7f2;
  --text:        #e8e0d0;
  --text-mid:    #b8a888;
  --text-dim:    #7a6a4a;
  --serif:       'Playfair Display', Georgia, serif;
  --sans:        'DM Sans', system-ui, sans-serif;
  --mono:        'JetBrains Mono', 'Courier New', monospace;
  --radius:      6px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.75;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.container      { max-width: 860px;  margin: 0 auto; padding: 0 24px; }
.container-wide { max-width: 1100px; margin: 0 auto; padding: 0 24px; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.52s ease, transform 0.52s ease; }
.reveal.visible { opacity: 1; transform: none; }

section { padding: 88px 0; }

/* ─ TYPOGRAPHY ─ */
.eyebrow {
  font-family: var(--mono);
  font-size: 0.64rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before, .eyebrow::after { content: '✦'; font-size: 0.5rem; opacity: 0.55; }
.eyebrow.center { justify-content: center; }

h1, h2, h3 { font-family: var(--serif); line-height: 1.12; letter-spacing: -0.01em; color: var(--cream); }
h1 { font-size: clamp(2.4rem, 6vw, 4rem); font-weight: 900; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); font-weight: 700; margin-bottom: 16px; }
h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; color: var(--text); }
h1 em, h2 em { font-style: italic; color: var(--gold-bright); }

p { color: var(--text-mid); margin-bottom: 14px; }
p:last-child { margin-bottom: 0; }
p strong { color: var(--text); font-weight: 500; }
a { color: var(--gold); text-decoration: none; transition: color 0.15s; }
a:hover { color: var(--gold-bright); }

/* ─ HEADER ─ */
header {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.header-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.header-logo {
  height: 36px;
  width: auto;
  display: block;
  flex-shrink: 0;
}
.wordmark {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--cream);
  letter-spacing: 0.01em;
}
.wordmark span { color: var(--gold); }
.wordmark-tag {
  font-family: var(--mono);
  font-size: 0.55rem;
  letter-spacing: 0.18em;
  color: var(--text-dim);
  text-transform: uppercase;
  margin-top: 2px;
}

/* ─ BUTTONS ─ */
.btn-primary {
  display: inline-block;
  background: var(--gold);
  color: #000;
  font-family: var(--sans);
  font-size: 0.92rem;
  font-weight: 500;
  padding: 14px 30px;
  border-radius: var(--radius);
  letter-spacing: 0.02em;
  transition: background 0.18s, transform 0.15s;
}
.btn-primary:hover { background: var(--gold-bright); color: #000; transform: translateY(-1px); }
.btn-ghost {
  display: inline-block;
  border: 1px solid var(--border-mid);
  color: var(--text-mid);
  font-family: var(--sans);
  font-size: 0.88rem;
  padding: 13px 24px;
  border-radius: var(--radius);
  transition: border-color 0.18s, color 0.18s;
  background: transparent;
}
.btn-ghost:hover { border-color: var(--gold-dim); color: var(--gold-bright); }

/* ─ HERO ─ */
.hero {
  padding: 104px 0 88px;
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -120px; right: -120px;
  width: 640px; height: 640px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,148,58,0.07) 0%, transparent 65%);
  pointer-events: none;
}
.hero-content { max-width: 740px; }
.hero h1 { margin-bottom: 24px; }
.hero-sub {
  font-size: 1.05rem;
  color: var(--text-mid);
  max-width: 560px;
  margin-bottom: 44px;
  line-height: 1.78;
  font-weight: 300;
}
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; }
.hero-nudge {
  font-family: var(--mono);
  font-size: 0.63rem;
  letter-spacing: 0.14em;
  color: var(--text-dim);
  margin-top: 18px;
}

/* ─ PROOF STRIP ─ */
.proof-strip { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 18px 24px; background: var(--bg-card); }
.proof-strip-inner { max-width: 1060px; margin: 0 auto; display: flex; flex-wrap: wrap; gap: 8px 32px; justify-content: center; }
.proof-pill { font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.1em; color: var(--text-mid); display: flex; align-items: center; gap: 7px; white-space: nowrap; }
.proof-pill .dot { color: var(--gold); font-size: 0.5rem; }
.proof-pill strong { color: var(--text); font-weight: 500; }
@media (max-width: 600px) {
  .proof-strip { padding: 16px 20px; }
  .proof-strip-inner { justify-content: flex-start; gap: 6px 0; flex-direction: column; }
}


  /* ─ INTRO ─ */
  .intro-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
  @media (max-width: 700px) { .intro-cols { grid-template-columns: 1fr; gap: 40px; } }
  .stat-block { margin-bottom: 32px; }
  .stat-block:last-child { margin-bottom: 0; }
  .stat-num { font-family: var(--serif); font-size: 2.8rem; font-weight: 900; color: var(--gold); line-height: 1; margin-bottom: 6px; }
  .stat-label { font-size: 0.85rem; color: var(--text-mid); line-height: 1.6; border-left: 2px solid var(--border-mid); padding-left: 14px; }

/* ─ SECTION LABEL ─ */
.section-label {
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}
.section-label::before { content: '✦ '; opacity: 0.6; }

.section-title {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--cream);
  margin-bottom: 10px;
}

/* ─ LIVE PRODUCT ─ */
.live-section {
  border-bottom: 1px solid var(--border);
}

.toolkit-card {
  background: rgba(201,148,58,0.04);
  border: 1px solid rgba(201,148,58,0.22);
  border-radius: 10px;
  padding: 44px 40px;
  position: relative;
  margin-top: 40px;
}
.toolkit-badge {
  position: absolute;
  top: -13px;
  left: 28px;
  background: var(--gold);
  color: #000;
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 5px 16px;
  border-radius: 100px;
}
.toolkit-inner {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 52px;
  align-items: start;
}
@media (max-width: 800px) {
  .toolkit-inner { grid-template-columns: 1fr; gap: 32px; }
  .toolkit-card { padding: 36px 24px; }
}
.toolkit-name {
  font-family: var(--serif);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--cream);
  margin-bottom: 6px;
  line-height: 1.15;
}
.toolkit-url {
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  color: var(--gold);
  margin-bottom: 20px;
}
.toolkit-desc {
  font-size: 0.92rem;
  color: var(--text-mid);
  line-height: 1.75;
  max-width: 420px;
  margin-bottom: 28px;
}

/* ─ PRICING TABLE ─ */
.pricing-table {
  background: var(--bg-card);
  border: 1px solid var(--border-mid);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 18px;
}
.pricing-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 13px 18px;
  border-bottom: 1px solid var(--border);
  font-size: 0.87rem;
  gap: 16px;
}
.pricing-row:last-child { border-bottom: none; }
.pricing-row.bundle {
  background: rgba(201,148,58,0.06);
  border-top: 1px solid rgba(201,148,58,0.2);
}
.pricing-row-name { color: var(--text); font-weight: 400; flex: 1; }
.pricing-note {
  font-family: var(--mono);
  font-size: 0.57rem;
  letter-spacing: 0.1em;
  color: var(--text-dim);
  margin-left: 8px;
  text-transform: uppercase;
}
.pricing-row.bundle .pricing-row-name { color: var(--cream); font-weight: 500; }
.pricing-row-price {
  font-family: var(--serif);
  font-weight: 700;
  color: var(--gold-bright);
  font-size: 1.05rem;
  white-space: nowrap;
}
.pricing-row.bundle .pricing-row-price { font-size: 1.2rem; }
.pricing-save {
  font-family: var(--mono);
  font-size: 0.56rem;
  letter-spacing: 0.1em;
  color: var(--text-dim);
  text-transform: uppercase;
  margin-left: 6px;
}
.pricing-note-line {
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  color: var(--text-dim);
  text-align: center;
  text-transform: uppercase;
}

/* ─ COMING SOON ─ */
.coming-section {
  border-bottom: 1px solid var(--border);
}
.coming-subsection + .coming-subsection {
  margin-top: 64px;
}

.cards-intro {
  font-size: 0.9rem;
  color: var(--text-dim);
  max-width: 480px;
  line-height: 1.7;
  margin-bottom: 28px;
}

/* ─ TOOL GRIDS ─ */
.tool-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}
@media (max-width: 680px) {
  .tool-grid { grid-template-columns: 1fr; }
}
.tool-grid.four-col {
  grid-template-columns: repeat(4, 1fr);
}
@media (max-width: 920px) {
  .tool-grid.four-col { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
  .tool-grid.four-col { grid-template-columns: 1fr; }
}

.tool-card {
  background: var(--bg-card);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.tool-status {
  font-family: var(--mono);
  font-size: 0.57rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.tool-name {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 700;
  color: #6a5430;
  line-height: 1.25;
}
.tool-desc {
  font-size: 0.83rem;
  color: #5a4828;
  line-height: 1.65;
  flex: 1;
}

/* ─── FOOTER ─── */
    footer { padding: 52px 24px 32px; border-top: 1px solid var(--border); }
    .footer-inner { max-width: 1100px; margin: 0 auto; }
    .footer-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; flex-wrap: wrap; padding-bottom: 32px; border-bottom: 1px solid var(--border); margin-bottom: 24px; }
    .footer-brand-block p { font-size: 0.78rem; color: var(--text-mid); max-width: 240px; margin-top: 10px; line-height: 1.6; }
    .footer-links-row { display: flex; gap: 48px; flex-wrap: wrap; }
    .footer-col h4 { font-family: var(--mono); font-size: 0.56rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-dim); margin-bottom: 14px; }
    .footer-col a { display: block; font-size: 0.79rem; color: var(--text-mid); margin-bottom: 9px; transition: color 0.15s; }
    .footer-col a:hover { color: var(--gold-bright); }
    .footer-bottom { font-size: 0.71rem; color: var(--text-dim); line-height: 1.8; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
    .footer-bottom a { color: var(--text-dim); }
    .footer-bottom a:hover { color: var(--gold-bright); }
.footer-col span {color: var(--gold); font-weight: 500;}

/* ─── MODAL OVERLAY ─── */
    .modal-overlay {
      display: none;
      position: fixed;
      inset: 0;
      background: rgba(0,0,0,0.88);
      backdrop-filter: blur(8px);
      z-index: 500;
      align-items: center;
      justify-content: center;
      padding: 20px;
      overflow-y: auto;
    }
    .modal-overlay.active { display: flex; }

    .modal-box {
      background: var(--bg-card);
      border: 1px solid var(--border-mid);
      border-radius: 10px;
      width: 100%;
      max-width: 820px;
      position: relative;
      max-height: 92vh;
      overflow-y: auto;
    }

    /* Modal header */
    .modal-header {
      padding: 28px 32px 0;
      position: sticky;
      top: 0;
      background: var(--bg-card);
      z-index: 10;
      border-bottom: 1px solid var(--border);
      padding-bottom: 20px;
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      gap: 20px;
    }
    .modal-header-text {}
    .modal-header-eyebrow {
      font-family: var(--mono);
      font-size: 0.58rem;
      letter-spacing: 0.2em;
      text-transform: uppercase;
      color: var(--gold);
      margin-bottom: 4px;
    }
    .modal-header-title {
      font-family: var(--serif);
      font-size: 1.4rem;
      font-weight: 700;
      color: var(--cream);
      line-height: 1.2;
    }
    .modal-close {
      background: none;
      border: 1px solid var(--border-mid);
      color: var(--text-dim);
      font-size: 1rem;
      width: 32px; height: 32px;
      border-radius: 50%;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
      transition: color 0.18s, border-color 0.18s;
      margin-top: 2px;
    }
    .modal-close:hover { color: var(--text); border-color: var(--border-mid); }

    .modal-body { padding: 28px 32px 32px; }
    @media (max-width: 500px) {
      .modal-header { padding: 20px 20px 16px; }
      .modal-body { padding: 20px 20px 24px; }
    }

    /* Modal section label */
    .modal-section-label {
      font-family: var(--mono);
      font-size: 0.58rem;
      letter-spacing: 0.2em;
      text-transform: uppercase;
      color: var(--gold-dim);
      margin-bottom: 12px;
      display: flex;
      align-items: center;
      gap: 8px;
    }
    .modal-section-label::before { content: '✦'; font-size: 0.45rem; }
    
    /* Terminal output block */
    .modal-terminal {
      background: var(--bg-elevated);
      border: 1px solid var(--border-mid);
      border-radius: 8px;
      overflow: hidden;
      margin-bottom: 28px;
    }
    .modal-terminal-bar {
      background: var(--bg);
      border-bottom: 1px solid var(--border-mid);
      padding: 9px 14px;
      display: flex;
      align-items: center;
      gap: 5px;
    }
    .mtd { width: 10px; height: 10px; border-radius: 50%; }
    .mtd-r { background: #3d1a1a; }
    .mtd-y { background: #3d3010; }
    .mtd-g { background: #1a3020; }
    .modal-terminal-filename {
      font-family: var(--mono);
      font-size: 0.58rem;
      color: var(--text-dim);
      margin-left: 6px;
    }
    .modal-terminal-body {
      padding: 20px 22px;
      font-family: var(--mono);
      font-size: 0.76rem;
      line-height: 1.85;
      color: var(--text-mid);
    }
    .mt-key { color: var(--gold); }
    .mt-val { color: var(--text); }
    .mt-label { color: var(--cream); font-weight: 500; display: block; margin-bottom: 2px; }
    .mt-divider { display: block; border-top: 1px solid var(--border); margin: 10px 0; }
    .mt-note { color: var(--gold-dim); font-style: italic; }

    /* Instructional video placeholder */
    .modal-video {
      width: 100%;
      aspect-ratio: 16 / 9;
      background: var(--bg-elevated);
      border: 1px solid var(--border-mid);
      border-radius: 8px;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 14px;
      position: relative;
      overflow: hidden;
      margin-bottom: 28px;
      cursor: pointer;
    }
    .modal-video::after {
      content: '';
      position: absolute;
      inset: 0;
      background: radial-gradient(ellipse 60% 50% at 50% 50%, rgba(201,148,58,0.06), transparent);
      pointer-events: none;
    }
    /* Avatar circle in corner */
    .modal-video-avatar {
      position: absolute;
      bottom: 14px; left: 14px;
      width: 48px; height: 48px;
      border-radius: 50%;
      background: var(--bg-card);
      border: 2px solid var(--border-mid);
      display: flex;
      align-items: center;
      justify-content: center;
      z-index: 2;
    }
    .modal-video-avatar-icon {
      width: 20px; height: 20px;
      border-radius: 50%;
      background: var(--border-mid);
    }
    .modal-video-play {
      width: 52px; height: 52px;
      border-radius: 50%;
      border: 2px solid var(--border-mid);
      background: rgba(201,148,58,0.1);
      display: flex;
      align-items: center;
      justify-content: center;
      position: relative;
      z-index: 1;
      transition: border-color 0.2s, background 0.2s;
    }
    .modal-video:hover .modal-video-play {
      border-color: var(--gold);
      background: rgba(201,148,58,0.22);
    }
    .modal-video-triangle {
      width: 0; height: 0;
      border-top: 9px solid transparent;
      border-bottom: 9px solid transparent;
      border-left: 15px solid var(--gold);
      margin-left: 3px;
    }
    .modal-video-label {
      font-family: var(--mono);
      font-size: 0.6rem;
      letter-spacing: 0.16em;
      text-transform: uppercase;
      color: var(--text-dim);
      position: relative;
      z-index: 1;
    }

    /* ─── TOOLKIT CARD ACTIONS ─── */
    .toolkit-card-actions {
      display: flex;
      gap: 10px;
      margin-top: auto;
      justify-content: space-between;
    }
    .toolkit-card-cta-ghost {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      font-size: 0.82rem;
      font-weight: 400;
      font-family: var(--sans);
      color: var(--text-dim);
      background: none;
      border: none;
      cursor: pointer;
      padding: 0;
      letter-spacing: 0.02em;
      transition: color 0.18s;
      text-align: left;
    }
    .toolkit-card-cta-ghost::before { content: '▶'; font-size: 0.5rem; color: var(--gold-dim); }
    .toolkit-card-cta-ghost:hover { color: var(--gold-bright); }
    .toolkit-card-cta-ghost:hover::before { color: var(--gold); }
