/* ========== BRAND TOKENS — black & gold glamour (single dark theme) ========== */
:root {
  --bg: #0a0a0b;
  --bg-elevated: #15140f;
  --text: #f4eede;
  --text-secondary: #b8ad92;
  --border: #2a2620;
  /* Gold is the single accent — replaces the old teal across the page. */
  --gold: #d8b878;
  --gold-strong: #e8c25a;
  --gold-deep: #b8860b;
  --gold-subtle: #1c180e;
  --gold-grad: linear-gradient(135deg, #fcefc0 0%, #e8c25a 45%, #b8860b 100%);
  --gold-grad-hover: linear-gradient(135deg, #fff3cf 0%, #f1cf6e 45%, #c9970f 100%);
  --ink: #1a1500; /* dark text for use on top of the gold gradient */
  --shadow: 0 1px 3px rgba(0, 0, 0, 0.5), 0 1px 2px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.6);
  --gold-glow: 0 6px 24px rgba(216, 184, 120, 0.28);
  --radius: 12px;
  --maxw: 1120px;
}

/* ========== BASE ========== */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 0.5em; }
h1 { font-size: clamp(2.5rem, 2rem + 2.5vw, 4rem); font-weight: 700; }
h2 { font-size: clamp(2rem, 1.75rem + 1.25vw, 3rem); font-weight: 700; }
h3 { font-size: clamp(1.25rem, 1.15rem + 0.5vw, 1.5rem); font-weight: 600; }
p { margin: 0 0 1rem; }
a { color: var(--gold); }
code, .mono { font-family: "JetBrains Mono", ui-monospace, monospace; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.eyebrow {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 0.75rem;
}
.lead { font-size: clamp(1.125rem, 1.05rem + 0.375vw, 1.25rem); color: var(--text-secondary); }
.muted { color: var(--text-secondary); }

/* ========== BUTTONS ========== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font: inherit;
  font-weight: 600;
  border-radius: 8px;
  padding: 0.75rem 1.4rem;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease,
    box-shadow 0.18s ease, transform 0.18s ease;
}
.btn-primary {
  background: var(--gold-grad); color: var(--ink);
  border-color: rgba(252, 239, 192, 0.35);
  box-shadow: var(--gold-glow);
}
.btn-primary:hover { background: var(--gold-grad-hover); transform: translateY(-1px); box-shadow: 0 10px 30px rgba(216, 184, 120, 0.4); }
.btn-primary:active { transform: translateY(0); box-shadow: var(--gold-glow); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--border); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 4px; }

/* ========== HEADER ========== */
header.site {
  position: sticky;
  top: 0;
  z-index: 10;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(1.2) blur(8px);
  border-bottom: 1px solid var(--border);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 0.6rem; font-weight: 700; font-size: 1.0625rem; color: var(--text); text-decoration: none; }
.brand .mark {
  flex: none;
  display: block; /* sizing comes from the <img> width/height attributes */
}
.nav-links { display: flex; align-items: center; gap: 1.5rem; }
.nav-links a.text { color: var(--text-secondary); text-decoration: none; font-size: 0.9375rem; }
.nav-links a.text:hover { color: var(--text); }
@media (max-width: 720px) { .nav-links a.text { display: none; } }

/* ========== SECTIONS ========== */
section { padding: clamp(56px, 7vw, 104px) 0; }
.section-head { max-width: 720px; margin-bottom: 48px; }
.center { text-align: center; margin-left: auto; margin-right: auto; }

/* ========== HERO ========== */
.hero { padding-top: clamp(56px, 8vw, 96px); }
.hero .tagline { color: var(--text); }
.hero .accent {
  background: var(--gold-grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: var(--gold-strong);
}
.hero-cta { display: flex; gap: 0.75rem; flex-wrap: wrap; margin-top: 1.75rem; }
.hero-note { margin-top: 1rem; font-size: 0.875rem; color: var(--text-secondary); }
.pill-row { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 2.5rem; }
.pill {
  font-size: 0.8125rem; font-weight: 500; color: var(--text-secondary);
  background: var(--bg-elevated); border: 1px solid var(--border);
  border-radius: 999px; padding: 0.35rem 0.85rem;
}

/* ========== CARDS / GRID ========== */
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .grid-3 { grid-template-columns: 1fr; } }
.card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}
.card h3 { margin-bottom: 0.4rem; }
.card .icon {
  width: 40px; height: 40px; border-radius: 10px;
  background: var(--gold-subtle); color: var(--gold);
  border: 1px solid var(--border);
  display: grid; place-items: center; margin-bottom: 16px;
  font-size: 1.25rem;
}

/* ========== CASCADE (the moat) ========== */
.cascade-section { background: var(--bg-elevated); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.cascade {
  display: grid; gap: 14px; max-width: 760px; margin: 0 auto;
}
.tier {
  display: flex; align-items: center; gap: 16px;
  background: var(--bg); border: 1px solid var(--border);
  border-left: 4px solid var(--gold);
  border-radius: 10px; padding: 16px 18px;
}
.tier .swatches { display: flex; flex: none; }
.tier .swatches span { width: 18px; height: 28px; border-radius: 3px; margin-left: -4px; border: 1px solid rgba(255,255,255,0.12); }
.tier .swatches span:first-child { margin-left: 0; }
.tier .label { font-weight: 600; }
.tier .desc { color: var(--text-secondary); font-size: 0.9375rem; }
.tier.override { border-left-color: var(--gold); }
.tier.override .badge {
  margin-left: auto; flex: none; font-size: 0.75rem; font-weight: 600;
  color: var(--gold-strong); background: var(--gold-subtle);
  border: 1px solid var(--gold); border-radius: 999px; padding: 0.2rem 0.6rem;
}
.cascade-arrow { text-align: center; color: var(--text-secondary); font-size: 1.1rem; line-height: 1; }

/* ========== STORY / SPLIT ========== */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
@media (max-width: 880px) { .split { grid-template-columns: 1fr; gap: 32px; } }
.timeline { display: grid; gap: 0; border-left: 2px solid var(--border); padding-left: 22px; }
.tl-point { position: relative; padding: 0 0 22px; }
.tl-point::before {
  content: ""; position: absolute; left: -29px; top: 4px;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--gold); border: 2px solid var(--bg);
}
.tl-point:last-child { padding-bottom: 0; }
.tl-point .scene { font: 500 0.8125rem/1 "JetBrains Mono", monospace; color: var(--gold); }
.tl-point .state { font-weight: 600; margin: 2px 0 0; }
.tl-point .note { color: var(--text-secondary); font-size: 0.9375rem; }

/* ========== HONESTY ========== */
.honesty { background: var(--bg-elevated); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.honesty ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; grid-template-columns: 1fr 1fr; }
@media (max-width: 760px) { .honesty ul { grid-template-columns: 1fr; } }
.honesty li { display: flex; gap: 12px; align-items: flex-start; }
/* Gold square bullet glyph (replaces the old em-dash character). */
.honesty li .x { flex: none; width: 0.55rem; height: 0.55rem; margin-top: 0.5rem; background: var(--gold); border-radius: 2px; }
.honesty li b { font-weight: 600; }
/* With an odd number of items, the last one spans the full width. */
@media (min-width: 761px) { .honesty li:last-child { grid-column: 1 / -1; } }

/* ========== WAITLIST ========== */
.waitlist { text-align: center; }
.cta-row { display: flex; gap: 0.75rem; flex-wrap: wrap; justify-content: center; margin-top: 28px; }
.btn-lg { font-size: 1.0625rem; padding: 0.95rem 1.9rem; }

/* ========== CONSULTING ========== */
.consulting { background: var(--bg-elevated); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); text-align: center; }
.consulting .lead { margin-left: auto; margin-right: auto; }

/* ========== FOOTER ========== */
footer.site { border-top: 1px solid var(--border); padding: 32px 0; }
.foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; color: var(--text-secondary); font-size: 0.875rem; }
.foot a { color: var(--text-secondary); text-decoration: none; }
.foot a:hover { color: var(--gold); }

/* ========== LEGAL PAGES (terms / privacy) ========== */
.legal { max-width: 760px; }
.legal h1 { font-size: clamp(2rem, 1.75rem + 1.25vw, 2.75rem); margin-bottom: 0.5rem; }
.legal .updated { color: var(--text-secondary); font-size: 0.875rem; margin-bottom: 2.5rem; }
.legal h2 { font-size: clamp(1.25rem, 1.15rem + 0.5vw, 1.6rem); margin: 2.5rem 0 0.75rem; }
.legal p, .legal li { color: var(--text-secondary); }
.legal ul { padding-left: 1.25rem; display: grid; gap: 0.4rem; margin: 0 0 1rem; }
.legal .back { display: inline-block; margin-top: 2.5rem; }

.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 16px; top: 16px; background: var(--gold); color: var(--ink); padding: 0.5rem 1rem; border-radius: 6px; z-index: 20; }
