:root {
  --bg: #0c0f0a;
  --bg-alt: #141a10;
  --fg: #e8e4d9;
  --fg-muted: #9a9585;
  --accent: #c8b847;
  --accent-dim: #8a7f30;
  --topo: #1a2214;
  --card-bg: #171d12;
  --card-border: #2a3320;
  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 6rem 2rem 4rem;
  overflow: hidden;
  text-align: center;
}

.topo-overlay {
  position: absolute;
  inset: 0;
  opacity: 0.08;
  background-image:
    repeating-conic-gradient(var(--topo) 0% 25%, transparent 0% 50%) 0 0 / 60px 60px,
    radial-gradient(circle at 30% 40%, var(--accent-dim) 0%, transparent 60%),
    radial-gradient(circle at 70% 70%, var(--accent-dim) 0%, transparent 50%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  max-width: 800px;
}

.hero-tag {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.3em;
  color: var(--accent);
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.hero-sub {
  font-size: 1.15rem;
  color: var(--fg-muted);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

.hero-stats {
  position: relative;
  display: flex;
  gap: 3rem;
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid var(--card-border);
}

.stat { text-align: center; }

.stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--accent);
}

.stat-label {
  font-size: 0.8rem;
  color: var(--fg-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ===== PROBLEM ===== */
.problem {
  padding: 6rem 2rem;
  background: var(--bg-alt);
}

.problem-inner {
  max-width: 1000px;
  margin: 0 auto;
}

.problem h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  margin-bottom: 3rem;
  text-align: center;
}

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

.problem-card {
  padding: 2rem;
  border: 1px solid var(--card-border);
  border-radius: 8px;
  background: var(--bg);
}

.problem-icon {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--accent-dim);
  letter-spacing: 0.1em;
}

.problem-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  margin: 0.75rem 0 0.5rem;
}

.problem-card p {
  font-size: 0.95rem;
  color: var(--fg-muted);
  line-height: 1.6;
}

/* ===== FEATURES ===== */
.features {
  padding: 6rem 2rem;
}

.features-inner {
  max-width: 1000px;
  margin: 0 auto;
}

.feature-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 5rem;
}

.feature-block.reverse { direction: rtl; }
.feature-block.reverse > * { direction: ltr; }

.feature-label {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--accent);
  display: block;
  margin-bottom: 0.75rem;
}

.feature-text h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.feature-text p {
  font-size: 1rem;
  color: var(--fg-muted);
  line-height: 1.7;
}

.feature-visual {
  display: flex;
  justify-content: center;
}

/* Rig Card */
.rig-card, .route-card, .gear-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 8px;
  padding: 1.5rem;
  width: 100%;
  max-width: 360px;
  font-family: var(--font-display);
  font-size: 0.9rem;
}

.rig-line {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--card-border);
}

.rig-line span:first-child { color: var(--fg-muted); }
.rig-line.highlight span:last-child { color: var(--accent); font-weight: 600; }

/* Route Card */
.route-header {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.route-detail {
  font-size: 0.85rem;
  color: var(--fg-muted);
  margin-bottom: 0.75rem;
}

.route-match {
  color: #6abf69;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
}

.route-note {
  font-size: 0.8rem;
  color: var(--fg-muted);
  padding-top: 0.75rem;
  border-top: 1px solid var(--card-border);
  line-height: 1.5;
}

/* Gear Card */
.gear-item {
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--card-border);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.gear-item:last-child { border-bottom: none; }

.gear-priority {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 0.2rem 0.5rem;
  border-radius: 3px;
  flex-shrink: 0;
}

.gear-priority.high { background: #3a2a10; color: #e8a832; }
.gear-priority.med { background: #1a2a20; color: #6abf69; }
.gear-priority.low { background: #1a1a2a; color: #7a8abf; }

/* ===== HOW ===== */
.how {
  padding: 6rem 2rem;
  background: var(--bg-alt);
}

.how-inner {
  max-width: 1000px;
  margin: 0 auto;
}

.how h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 3rem;
}

.how-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.how-item {
  padding: 1.5rem;
}

.how-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent-dim);
  margin-bottom: 0.75rem;
}

.how-item h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.how-item p {
  font-size: 0.9rem;
  color: var(--fg-muted);
  line-height: 1.6;
}

/* ===== CLOSING ===== */
.closing {
  padding: 8rem 2rem;
  text-align: center;
}

.closing-inner {
  max-width: 750px;
  margin: 0 auto;
}

.closing h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.closing-sub {
  font-size: 1.1rem;
  color: var(--fg-muted);
  line-height: 1.7;
}

/* ===== FOOTER ===== */
.site-footer {
  padding: 2rem;
  border-top: 1px solid var(--card-border);
}

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

.footer-brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  color: var(--fg-muted);
}

.footer-note {
  font-size: 0.8rem;
  color: var(--fg-muted);
}

.footer-links {
  display: flex;
  gap: 1.25rem;
}

.footer-links a {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--fg-muted);
  text-decoration: none;
  transition: color 0.15s;
}

.footer-links a:hover {
  color: var(--accent);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .problem-grid { grid-template-columns: 1fr; }
  .feature-block,
  .feature-block.reverse { grid-template-columns: 1fr; direction: ltr; }
  .feature-block.reverse > * { direction: ltr; }
  .how-grid { grid-template-columns: 1fr 1fr; }
  .hero-stats { gap: 1.5rem; flex-wrap: wrap; justify-content: center; }
}

@media (max-width: 480px) {
  .how-grid { grid-template-columns: 1fr; }
  .hero { min-height: 80vh; padding: 4rem 1.5rem 3rem; }
}