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

:root {
  --bg: #0e1117;
  --surface: #161b27;
  --surface-2: #1e2435;
  --border: #2a3147;
  --text: #e8eaf0;
  --text-muted: #8a94a9;
  --accent: #f59e0b;
  --accent-dim: rgba(245, 158, 11, 0.12);
  --accent2: #10b981;
  --accent2-dim: rgba(16, 185, 129, 0.12);
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Figtree', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ── Typography ── */
h1, h2, h3 { font-family: 'Fraunces', serif; font-weight: 600; line-height: 1.15; }
h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: 1.2rem; font-weight: 500; }

/* ── Nav ── */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 3rem;
  border-bottom: 1px solid var(--border);
}
.nav-logo {
  font-family: 'Fraunces', serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.02em;
}
.nav-tagline {
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ── Hero ── */
.hero {
  padding: 6rem 3rem 5rem;
  background: var(--bg);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(245,158,11,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.hero-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.hero-eyebrow {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 1.2rem;
  font-weight: 600;
}
.hero-headline {
  color: var(--text);
  margin-bottom: 1.5rem;
  font-weight: 700;
}
.hero-sub {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 520px;
}

/* Deal cards */
.hero-visual {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
.deal-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.6rem 1.8rem;
}
.deal-card-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 1.2rem;
  font-weight: 600;
}
.deal-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.95rem;
  color: var(--text-muted);
  padding: 0.5rem 0;
}
.deal-val { font-weight: 600; color: var(--text); font-size: 1.05rem; font-family: 'Fraunces', serif; }
.deal-val.accent { color: var(--accent); font-size: 1.2rem; }
.deal-highlight { background: var(--accent-dim); border-radius: 8px; padding: 0.8rem 1rem; margin: 0.2rem 0; }
.deal-divider { border: none; border-top: 1px solid var(--border); }

.deal-card-secondary { background: var(--surface-2); }
.formula {
  font-family: 'Fraunces', serif;
  font-size: 0.95rem;
  font-style: italic;
  color: var(--text);
  margin-bottom: 0.6rem;
}
.formula-note { font-size: 0.78rem; color: var(--text-muted); line-height: 1.5; }

/* ── Section commons ── */
.section-eyebrow {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 0.8rem;
  font-weight: 600;
}
.section-headline { margin-bottom: 1rem; }
.section-sub { color: var(--text-muted); max-width: 560px; line-height: 1.7; }

/* ── How ── */
.how {
  padding: 6rem 3rem;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.section-header { max-width: 1200px; margin: 0 auto 4rem; }
.how-steps {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem 4rem;
}
.step-num {
  font-family: 'Fraunces', serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent-dim);
  line-height: 1;
  margin-bottom: 0.8rem;
  display: inline-block;
}
.step h3 { margin-bottom: 0.6rem; color: var(--text); }
.step p { color: var(--text-muted); font-size: 0.93rem; line-height: 1.7; }

/* ── Numbers ── */
.numbers { padding: 5rem 3rem; background: var(--bg); }
.numbers-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 1.5rem;
}
.number-card { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 2rem 1.5rem; }
.number-val {
  font-family: 'Fraunces', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 0.4rem;
  line-height: 1;
}
.number-label { font-size: 0.85rem; font-weight: 600; color: var(--text); margin-bottom: 0.6rem; }
.number-note { font-size: 0.78rem; color: var(--text-muted); line-height: 1.5; }

/* ── Process ── */
.process { padding: 6rem 3rem; background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.process-layout {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.activity-stack { display: flex; flex-direction: column; gap: 1.5rem; }
.activity-block { background: var(--surface-2); border: 1px solid var(--border); border-radius: 10px; padding: 1.4rem 1.6rem; }
.activity-label { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--accent); font-weight: 600; margin-bottom: 0.8rem; }
.activity-list { list-style: none; }
.activity-list li { display: flex; align-items: center; gap: 0.8rem; font-size: 0.9rem; color: var(--text-muted); padding: 0.35rem 0; }
.activity-num { font-family: 'Fraunces', serif; font-weight: 700; color: var(--text); min-width: 40px; }

/* ── Markets ── */
.markets { padding: 6rem 3rem; background: var(--bg); }
.market-list { max-width: 1100px; margin: 2.5rem auto 0; display: flex; flex-direction: column; gap: 0.75rem; }
.market-city {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 2rem;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.2rem 1.8rem;
  border-left: 3px solid var(--accent);
}
.market-name { font-family: 'Fraunces', serif; font-size: 1rem; font-weight: 600; color: var(--text); }
.market-detail { font-size: 0.83rem; color: var(--text-muted); line-height: 1.5; }
.markets-note { max-width: 1100px; margin: 1.5rem auto 0; font-size: 0.82rem; color: var(--text-muted); font-style: italic; }

/* ── Closing ── */
.closing { padding: 7rem 3rem; background: var(--surface); border-top: 1px solid var(--border); }
.closing-content { max-width: 800px; margin: 0 auto; text-align: center; }
.closing-headline { font-size: clamp(1.8rem, 3.5vw, 2.6rem); margin-bottom: 1.2rem; }
.closing-sub { color: var(--text-muted); line-height: 1.8; font-size: 1rem; margin-bottom: 2.5rem; }
.closing-divider { width: 60px; height: 2px; background: var(--accent); margin: 0 auto 2rem; }
.closing-tagline {
  font-family: 'Fraunces', serif;
  font-size: 1.1rem;
  font-style: italic;
  color: var(--accent);
  font-weight: 500;
}

/* ── Footer ── */
.footer {
  padding: 3rem;
  border-top: 1px solid var(--border);
  text-align: center;
}
.footer-logo { font-family: 'Fraunces', serif; font-size: 1.2rem; font-weight: 700; color: var(--accent); margin-bottom: 0.6rem; }
.footer-note { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 1rem; }
.footer-legal { font-size: 0.72rem; color: var(--text-muted); opacity: 0.6; max-width: 500px; margin: 0 auto; line-height: 1.5; }

/* ── Responsive ── */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 3rem; }
  .how-steps { grid-template-columns: 1fr; }
  .numbers-grid { grid-template-columns: 1fr 1fr; }
  .process-layout { grid-template-columns: 1fr; }
  .market-city { grid-template-columns: 1fr; gap: 0.4rem; }
  .nav { padding: 1.2rem 1.5rem; }
  .hero, .how, .numbers, .process, .markets, .closing, .footer { padding-left: 1.5rem; padding-right: 1.5rem; }
}
@media (max-width: 600px) {
  .numbers-grid { grid-template-columns: 1fr; }
}