/* ── Reset & base ──────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:        #0d0d1a;
  --surface:   #1a1a2e;
  --surface2:  #22223a;
  --border:    #2a2a4a;
  --gold:      #f0c040;
  --gold-dark: #b8860b;
  --green:     #4caf50;
  --text:      #e0e0e0;
  --muted:     #888;
  --radius:    10px;
}

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
}

a { color: var(--gold); text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; height: auto; display: block; }

/* ── Layout ─────────────────────────────────────────────────────────────────── */
.container { max-width: 1000px; margin: 0 auto; padding: 0 24px; }
section { padding: 72px 0; }
section:nth-child(even) { background: var(--surface); }

/* ── Nav ────────────────────────────────────────────────────────────────────── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13, 13, 26, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 24px;
}

.nav-logo {
  font-size: 18px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: -0.3px;
}
.nav-logo span { color: var(--text); }

.nav-links { display: flex; gap: 28px; list-style: none; }
.nav-links a { color: var(--muted); font-size: 14px; transition: color .2s; }
.nav-links a:hover { color: var(--text); text-decoration: none; }

/* ── Buttons ─────────────────────────────────────────────────────────────────── */
.btn {
  display: inline-block;
  padding: 13px 28px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all .2s;
}
.btn-primary  { background: var(--gold); color: #000; }
.btn-primary:hover { background: #ffd060; text-decoration: none; }
.btn-outline  { background: transparent; color: var(--gold); border: 2px solid var(--gold); }
.btn-outline:hover { background: var(--gold); color: #000; text-decoration: none; }

/* ── Hero ────────────────────────────────────────────────────────────────────── */
.hero {
  padding: 100px 0 80px;
  text-align: center;
  background: radial-gradient(ellipse at 50% 0%, #2a2a4a 0%, var(--bg) 70%);
}

.hero-eyebrow {
  display: inline-block;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 4px 16px;
  font-size: 13px;
  color: var(--gold);
  letter-spacing: .05em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 20px;
  letter-spacing: -1px;
}

.hero h1 .highlight {
  background: linear-gradient(90deg, var(--gold), #ffd080);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 18px;
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto 36px;
}

.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ── Section headings ────────────────────────────────────────────────────────── */
.section-label {
  display: inline-block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--gold);
  margin-bottom: 10px;
}
.section-title {
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 700;
  margin-bottom: 14px;
  letter-spacing: -0.5px;
}
.section-subtitle { font-size: 17px; color: var(--muted); max-width: 560px; }

/* ── Steps ───────────────────────────────────────────────────────────────────── */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 28px; margin-top: 48px; }

.step {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  position: relative;
}

.step-number {
  width: 36px;
  height: 36px;
  background: var(--gold);
  color: #000;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 16px;
}

.step h3 { font-size: 17px; margin-bottom: 8px; }
.step p  { font-size: 14px; color: var(--muted); line-height: 1.55; }

/* ── Feature grid ────────────────────────────────────────────────────────────── */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; margin-top: 48px; }

.feature {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}
.feature-icon { font-size: 28px; margin-bottom: 12px; }
.feature h3   { font-size: 16px; margin-bottom: 6px; }
.feature p    { font-size: 14px; color: var(--muted); }

/* ── Credit explainer ────────────────────────────────────────────────────────── */
.credit-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 32px;
  font-size: 14px;
}
.credit-table th {
  text-align: left;
  color: var(--muted);
  font-weight: 500;
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
}
.credit-table td { padding: 12px 14px; border-bottom: 1px solid var(--border); }
.credit-table tr:last-child td { border-bottom: none; }
.credit-table .gold { color: var(--gold); font-weight: 600; }
.credit-table .green { color: var(--green); font-weight: 600; }

/* ── Install CTA ─────────────────────────────────────────────────────────────── */
.cta-box {
  background: linear-gradient(135deg, var(--surface) 0%, #1a2a2a 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 56px 40px;
  text-align: center;
}
.cta-box h2 { font-size: 28px; margin-bottom: 12px; }
.cta-box p  { color: var(--muted); margin-bottom: 28px; }

/* ── Footer ──────────────────────────────────────────────────────────────────── */
footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 40px 0;
  text-align: center;
  font-size: 13px;
  color: var(--muted);
}
footer a { color: var(--muted); }
footer a:hover { color: var(--text); }
.footer-links { display: flex; justify-content: center; gap: 24px; margin-bottom: 16px; flex-wrap: wrap; }

/* ── Prose (how-it-works, privacy) ──────────────────────────────────────────── */
.prose h1 { font-size: 32px; margin-bottom: 8px; }
.prose .lead { font-size: 17px; color: var(--muted); margin-bottom: 40px; }
.prose h2 { font-size: 22px; margin: 36px 0 12px; color: var(--gold); }
.prose h3 { font-size: 17px; margin: 24px 0 8px; }
.prose p  { margin-bottom: 14px; color: #c8c8d4; line-height: 1.7; }
.prose ul, .prose ol { padding-left: 20px; margin-bottom: 14px; }
.prose li { margin-bottom: 6px; color: #c8c8d4; line-height: 1.7; }
.prose .callout {
  background: var(--surface2);
  border-left: 3px solid var(--gold);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 14px 18px;
  margin: 20px 0;
  font-size: 14px;
  color: var(--muted);
}

/* ── Responsive ──────────────────────────────────────────────────────────────── */
@media (max-width: 600px) {
  .nav-links { display: none; }
  section { padding: 48px 0; }
  .hero   { padding: 60px 0 48px; }
  .cta-box { padding: 36px 20px; }
}
