:root {
  --bg: #0a0a0c;
  --page-bg: #121214;
  --text: #dcd3c2;
  --text-muted: #8a8278;
  --gold: #c5a059;
  --gold-dim: #8a7038;
  --border: #2a2a2e;
  --heading: #e8e0cf;
  --max-w: 1100px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(197, 160, 89, 0.04) 0%, transparent 55%),
              radial-gradient(circle at center, transparent 0%, #050505 90%);
  pointer-events: none;
  z-index: 0;
}

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 2rem 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(to bottom, rgba(10, 10, 12, 0.95) 0%, transparent 100%);
}

.brand {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem;
  color: var(--heading);
  text-decoration: none;
  letter-spacing: 0.02em;
}

.brand-trademark {
  font-size: 0.65rem;
  vertical-align: super;
  color: var(--gold);
  margin-left: 0.15rem;
}

.header-nav {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

.header-nav a {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.3s;
}

.header-nav a:hover { color: var(--gold); }

section { position: relative; z-index: 1; }

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
}

.overline {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.35em;
  color: var(--gold-dim);
  margin-bottom: 1.5rem;
}

.divider {
  width: 60px;
  height: 1px;
  background: var(--gold-dim);
  margin: 2.5rem auto;
}

.divider-left { margin-left: 0; }

h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 300;
  line-height: 1.2;
  color: var(--heading);
  margin-bottom: 1.5rem;
}

h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--heading);
  margin-bottom: 0.75rem;
}

.highlight {
  color: var(--gold);
  font-style: italic;
  font-weight: 600;
}

.lead {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 640px;
}

.lead-center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 8rem 2rem 6rem;
}

.hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 300;
  line-height: 1.1;
  color: var(--heading);
  margin-bottom: 2rem;
  max-width: 900px;
}

.hero .subtitle {
  font-size: clamp(0.95rem, 1.8vw, 1.1rem);
  color: var(--text-muted);
  max-width: 560px;
  margin-bottom: 3rem;
  line-height: 1.7;
}

.btn {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--text);
  text-decoration: none;
  border: 1px solid var(--gold-dim);
  padding: 1.2rem 3rem;
  transition: all 0.4s ease;
  background: transparent;
  cursor: pointer;
  display: inline-block;
}

.btn:hover {
  color: var(--bg);
  background: var(--gold);
  border-color: var(--gold);
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.btn-ghost { margin-top: 0.5rem; }

.section-pad {
  padding: 7rem 0;
  border-top: 1px solid var(--border);
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
  margin-top: 3rem;
}

.card {
  background: var(--page-bg);
  border: 1px solid var(--border);
  padding: 2.5rem;
  transition: border-color 0.3s;
}

.card:hover { border-color: var(--gold-dim); }

.card-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.85rem;
  color: var(--gold-dim);
  letter-spacing: 0.4em;
  margin-bottom: 1.25rem;
}

.card p { color: var(--text-muted); font-size: 0.95rem; }

.exploration-hero {
  background: linear-gradient(135deg, rgba(18, 18, 20, 0.9) 0%, rgba(10, 10, 12, 0.95) 100%);
  border: 1px solid var(--border);
  padding: 4rem;
  margin-top: 3rem;
  position: relative;
  overflow: hidden;
}

.exploration-hero::before {
  content: '';
  position: absolute;
  top: -50%; right: -20%;
  width: 60%;
  height: 200%;
  background: radial-gradient(ellipse, rgba(197, 160, 89, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.exploration-hero .inner { position: relative; z-index: 1; }

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 3rem;
  border: 1px solid var(--border);
}

.step {
  padding: 2rem 1.5rem;
  border-right: 1px solid var(--border);
  text-align: center;
}

.step:last-child { border-right: none; }

.step-icon {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem;
  color: var(--gold);
  margin-bottom: 1rem;
}

.step h4 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  color: var(--heading);
  margin-bottom: 0.5rem;
  font-weight: 400;
}

.step p { font-size: 0.82rem; color: var(--text-muted); line-height: 1.5; }

.tiers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.tier {
  border: 1px solid var(--border);
  padding: 2rem;
  text-align: center;
}

.tier-label {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  margin-bottom: 1rem;
}

.tier--exploratory .tier-label { color: #7a7568; }
.tier--provisional .tier-label { color: var(--gold-dim); }
.tier--governed .tier-label { color: var(--gold); }

.tier h4 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  color: var(--heading);
  margin-bottom: 0.75rem;
  font-weight: 400;
}

.tier p { font-size: 0.88rem; color: var(--text-muted); }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.feature-item {
  padding: 2rem;
  border-left: 2px solid var(--gold-dim);
  background: rgba(18, 18, 20, 0.5);
}

.feature-item h4 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  color: var(--heading);
  margin-bottom: 0.6rem;
  font-weight: 400;
}

.feature-item p { font-size: 0.9rem; color: var(--text-muted); }

.zones {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 3rem;
  border: 1px solid var(--border);
}

.zone {
  padding: 2rem 1.5rem;
  border-right: 1px solid var(--border);
  text-align: center;
}

.zone:last-child { border-right: none; }

.zone-icon {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.75rem;
  color: var(--gold-dim);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.zone h4 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem;
  color: var(--heading);
  margin-bottom: 0.6rem;
  font-weight: 400;
}

.zone p { font-size: 0.82rem; color: var(--text-muted); line-height: 1.5; }

.cta-section {
  text-align: center;
  padding: 8rem 2rem;
  border-top: 1px solid var(--border);
}

.cta-section h2 { margin-bottom: 1rem; }
.cta-section .lead { margin-bottom: 2.5rem; }

.site-footer {
  border-top: 1px solid var(--border);
  padding: 2.5rem 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.1em;
}

.site-footer a {
  color: var(--gold-dim);
  text-decoration: none;
}

.site-footer a:hover { color: var(--gold); }

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Lead form overlay */
.lead-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.lead-overlay[hidden] {
  display: none;
}

.lead-overlay-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 5, 5, 0.85);
  backdrop-filter: blur(4px);
}

.lead-overlay-panel {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 480px;
  background: var(--page-bg);
  border: 1px solid var(--border);
  padding: 2.5rem 2rem 2rem;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.6);
}

.lead-overlay-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  padding: 0.25rem 0.5rem;
  transition: color 0.3s;
}

.lead-overlay-close:hover { color: var(--gold); }

.lead-overlay-panel h3 {
  text-align: center;
  margin-bottom: 1.5rem;
}

.lead-form .form-group {
  margin-bottom: 1rem;
}

.lead-form input,
.lead-form textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  font-weight: 300;
  padding: 0.75rem 0;
  outline: none;
  transition: border-color 0.3s;
}

.lead-form input:focus,
.lead-form textarea:focus {
  border-bottom-color: var(--gold);
}

.lead-form textarea {
  resize: vertical;
  min-height: 4.5rem;
}

.lead-form .form-error {
  font-size: 0.8rem;
  color: #c75a5a;
  text-align: center;
  line-height: 1.4;
  margin: 0.5rem 0 1rem;
}

.lead-form .form-error[hidden] { display: none; }

.lead-form .btn {
  width: 100%;
  margin-top: 0.5rem;
}

.lead-form .fz-note {
  font-size: 0.7rem;
  color: #6a6258;
  text-align: center;
  margin-top: 1.25rem;
  line-height: 1.5;
}

.lead-form .fz-note a {
  color: var(--gold-dim);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.lead-form .hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.lead-overlay-thanks {
  text-align: center;
  padding: 1rem 0 0.5rem;
}

.lead-overlay-thanks[hidden] { display: none; }

.lead-overlay-thanks p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-top: 0.75rem;
}

@media (max-width: 900px) {
  .two-col,
  .tiers,
  .feature-grid { grid-template-columns: 1fr; }

  .steps,
  .zones { grid-template-columns: 1fr 1fr; }

  .step,
  .zone { border-right: none; border-bottom: 1px solid var(--border); }

  .step:nth-child(odd),
  .zone:nth-child(odd) { border-right: 1px solid var(--border); }

  .header-nav { display: none; }
  .exploration-hero { padding: 2.5rem 1.5rem; }
}

@media (max-width: 600px) {
  .site-header { padding: 1.5rem; }
  .steps,
  .zones { grid-template-columns: 1fr; }
  .step:nth-child(odd),
  .zone:nth-child(odd) { border-right: none; }
  .hero { padding-top: 6rem; }
  .lead-overlay { padding: 1rem; }
  .lead-overlay-panel { padding: 2rem 1.5rem 1.5rem; }
}
