/* ── Reset & tokens ──────────────────────────────────────────────────── */
:root {
  --bg:          #07090d;
  --surface:     rgba(11, 14, 20, 0.92);
  --surface-hi:  rgba(16, 20, 28, 0.96);
  --ink:         #f3efe8;
  --muted:       #9aa0ad;
  --subtle:      #5a6070;
  --gold:        #c6a96b;
  --gold-soft:   rgba(198, 169, 107, 0.14);
  --gold-border: rgba(198, 169, 107, 0.3);
  --line:        rgba(243, 239, 232, 0.07);
  --line-hi:     rgba(243, 239, 232, 0.13);
  --radius:      10px;
  --radius-lg:   16px;
  --max:         1100px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  font-family: -apple-system, BlinkMacSystemFont, "Inter", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px),
    radial-gradient(circle at 15% 0%, rgba(198,169,107,0.08), transparent 35%),
    radial-gradient(circle at 85% 100%, rgba(198,169,107,0.05), transparent 30%),
    linear-gradient(180deg, #060709 0%, var(--bg) 60%, #090b11 100%);
  background-size: 100px 100px, 100px 100px, auto, auto, auto;
}

a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; font-weight: 500; }
p { margin: 0; }

/* ── Shell ───────────────────────────────────────────────────────────── */
.shell {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
  padding: 32px 0 80px;
}

/* ── Header ──────────────────────────────────────────────────────────── */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 48px;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  border: 1px solid var(--gold-border);
  background: var(--gold-soft);
  color: var(--gold);
  font-size: 22px;
  flex-shrink: 0;
}

.brand-text { display: flex; flex-direction: column; gap: 2px; }
.brand-text strong { font-size: 1rem; font-weight: 600; letter-spacing: -0.01em; }
.brand-text small { font-size: 0.78rem; color: var(--muted); }

.header-nav {
  display: flex;
  gap: 28px;
  font-size: 0.875rem;
  color: var(--muted);
}

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

/* ── Hero ────────────────────────────────────────────────────────────── */
.hero {
  padding: 56px 0 64px;
  max-width: 740px;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  background: var(--gold-soft);
  border: 1px solid var(--gold-border);
  border-radius: 20px;
  padding: 4px 14px;
  margin-bottom: 28px;
}

.hero h1 {
  font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", serif;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 24px;
}

.hero-body {
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.7;
  max-width: 600px;
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 12px 24px;
  border-radius: var(--radius);
  background: var(--gold);
  color: #0d0e10;
  font-weight: 600;
  font-size: 0.9rem;
  transition: opacity 0.15s;
}
.btn-primary:hover { opacity: 0.88; }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 12px 24px;
  border-radius: var(--radius);
  border: 1px solid var(--line-hi);
  color: var(--muted);
  font-size: 0.9rem;
  transition: border-color 0.15s, color 0.15s;
}
.btn-secondary:hover { border-color: var(--gold-border); color: var(--ink); }

/* ── Rule ────────────────────────────────────────────────────────────── */
.rule {
  height: 1px;
  background: var(--line);
  margin: 4px 0;
}

/* ── Section ─────────────────────────────────────────────────────────── */
.section {
  padding: 64px 0;
}

.section-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.section h2 {
  font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", serif;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 20px;
}

.section-intro {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.7;
  max-width: 620px;
  margin-bottom: 44px;
}

/* ── Card grid ───────────────────────────────────────────────────────── */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
}

.card-icon {
  font-size: 1.4rem;
  color: var(--gold);
  margin-bottom: 14px;
}

.card h3 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.card p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.65;
}

/* ── Steps ───────────────────────────────────────────────────────────── */
.steps {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.step {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 24px;
  padding: 32px 0;
  border-bottom: 1px solid var(--line);
}
.step:last-child { border-bottom: none; }

.step-num {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--gold);
  padding-top: 4px;
}

.step-body h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.step-body p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.65;
  max-width: 560px;
}

/* ── Ecosystem links ──────────────────────────────────────────────────── */
.ecosystem-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.eco-card {
  display: block;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: border-color 0.2s, background 0.2s;
}
.eco-card:hover {
  border-color: var(--gold-border);
  background: var(--surface-hi);
}

.eco-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.eco-icon {
  font-size: 1.25rem;
  color: var(--gold);
}

.eco-card-header strong {
  font-size: 0.95rem;
  font-weight: 600;
}

.eco-card p {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 18px;
}

.eco-link-label {
  font-size: 0.82rem;
  color: var(--gold);
  font-weight: 500;
}

/* ── Footer ──────────────────────────────────────────────────────────── */
.site-footer {
  padding-top: 48px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.site-footer p {
  font-size: 0.82rem;
  color: var(--subtle);
}

.site-footer a {
  color: var(--muted);
  text-decoration: underline;
  text-decoration-color: transparent;
  transition: color 0.15s, text-decoration-color 0.15s;
}
.site-footer a:hover {
  color: var(--ink);
  text-decoration-color: var(--line-hi);
}

.footer-note {
  font-size: 0.76rem;
  color: var(--subtle);
  font-style: italic;
}

/* ── Responsive ───────────────────────────────────────────────────────── */
@media (max-width: 600px) {
  .header-nav { display: none; }
  .hero { padding: 32px 0 48px; }
  .section { padding: 48px 0; }
  .step { grid-template-columns: 40px 1fr; gap: 16px; }
}
