/* Scout landing — design tokens */
:root {
  --bg: #0b0d12;
  --bg-alt: #11141b;
  --surface: #161a23;
  --surface-2: #1c2230;
  --border: #262d3b;
  --text-0: #f5f7fa;
  --text-1: #c3cad6;
  --text-2: #8b94a5;
  --accent: #6366f1;
  --accent-2: #818cf8;
  --accent-glow: rgba(99, 102, 241, 0.35);
  --radius: 16px;
  --radius-sm: 10px;
  --maxw: 1080px;
  --shadow: 0 18px 50px -20px rgba(0, 0, 0, 0.6);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text-1);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 1.5rem; }
.narrow { max-width: 760px; }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 0.5rem;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.7rem 1.3rem;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
  text-decoration: none;
}
.btn:hover { background: var(--accent-2); transform: translateY(-1px); text-decoration: none; box-shadow: 0 8px 24px -8px var(--accent-glow); }
.btn-lg { padding: 0.9rem 1.7rem; font-size: 1rem; }
.btn-sm { padding: 0.5rem 1rem; font-size: 0.875rem; }
.btn-ghost { background: transparent; color: var(--text-0); border-color: var(--border); }
.btn-ghost:hover { background: var(--surface); box-shadow: none; }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 13, 18, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 0.55rem; color: var(--text-0); font-weight: 700; }
.brand:hover { text-decoration: none; }
.brand-mark {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 9px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
}
.brand-name { font-size: 1.15rem; letter-spacing: -0.01em; }
.nav-links { display: flex; align-items: center; gap: 1.5rem; }
.nav-links a { color: var(--text-1); font-size: 0.92rem; font-weight: 500; }
.nav-links a.btn { color: #fff; }
.nav-links a:not(.btn):hover { color: var(--text-0); text-decoration: none; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 6rem 0 5rem; text-align: center; }
.hero-inner { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; }
.hero-glow {
  position: absolute; top: -30%; left: 50%; transform: translateX(-50%);
  width: 900px; height: 700px;
  background: radial-gradient(ellipse at center, var(--accent-glow), transparent 65%);
  z-index: 1; pointer-events: none;
}
.eyebrow {
  display: inline-block; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--accent-2);
  background: rgba(99, 102, 241, 0.12); border: 1px solid var(--border);
  padding: 0.35rem 0.85rem; border-radius: 999px; margin-bottom: 1.5rem;
}
.hero-title {
  font-size: clamp(3rem, 9vw, 5rem); font-weight: 800; letter-spacing: -0.03em;
  color: var(--text-0); line-height: 1; margin-bottom: 0.5rem;
}
.hero-tagline {
  font-size: clamp(1.2rem, 3vw, 1.6rem); font-weight: 600; color: var(--accent-2);
  margin-bottom: 1.5rem;
}
.hero-value {
  max-width: 640px; font-size: clamp(1rem, 2.2vw, 1.18rem); color: var(--text-1);
  margin-bottom: 2.2rem;
}
.hero-value strong { color: var(--text-0); font-weight: 600; }
.hero-cta { display: flex; gap: 0.85rem; flex-wrap: wrap; justify-content: center; margin-bottom: 1.5rem; }
.hero-note { font-size: 0.88rem; color: var(--text-2); }

/* Sections */
.section { padding: 5rem 0; }
.section-alt { background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.kicker {
  display: block; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--accent-2); margin-bottom: 0.85rem;
}
.kicker.centered, .section-title.centered, .section-lede.centered { text-align: center; }
.kicker.centered { margin-left: auto; margin-right: auto; }
.section-title {
  font-size: clamp(1.6rem, 4vw, 2.3rem); font-weight: 700; letter-spacing: -0.02em;
  color: var(--text-0); line-height: 1.2; margin-bottom: 1rem;
}
.section-lede { font-size: 1.05rem; color: var(--text-1); max-width: 640px; margin: 0 auto 2.5rem; }

/* Problem */
.problem-grid { display: grid; gap: 1.25rem; margin-top: 2rem; }
.problem-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.6rem;
}
.problem-card h3 { font-size: 1.1rem; color: var(--text-0); margin-bottom: 0.6rem; font-weight: 600; }
.problem-card p { font-size: 0.95rem; color: var(--text-2); }

/* Steps */
.steps { display: grid; gap: 1.5rem; margin-top: 1rem; }
.step {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 2rem 1.7rem; position: relative;
}
.step-num {
  width: 42px; height: 42px; border-radius: 11px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff; font-weight: 800; font-size: 1.2rem;
  display: flex; align-items: center; justify-content: center; margin-bottom: 1.1rem;
}
.step h3 { font-size: 1.2rem; color: var(--text-0); margin-bottom: 0.6rem; font-weight: 600; }
.step p { font-size: 0.96rem; color: var(--text-2); }

/* Why grid */
.why-grid { display: grid; gap: 1.25rem; }
.why-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.7rem;
  transition: transform 0.15s ease, border-color 0.15s ease;
}
.why-card:hover { transform: translateY(-3px); border-color: var(--accent); }
.why-icon {
  width: 46px; height: 46px; border-radius: 12px;
  background: var(--surface-2); color: var(--accent-2);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; margin-bottom: 1rem;
}
.why-card h3 { font-size: 1.1rem; color: var(--text-0); margin-bottom: 0.55rem; font-weight: 600; }
.why-card p { font-size: 0.93rem; color: var(--text-2); }

/* Waitlist */
.waitlist-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 2.5rem 2rem; text-align: center;
  box-shadow: var(--shadow);
}
.badge {
  display: inline-block; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--accent-2);
  background: rgba(99, 102, 241, 0.14); border: 1px solid var(--border);
  padding: 0.3rem 0.8rem; border-radius: 999px; margin-bottom: 1.2rem;
}
.waitlist-form { display: flex; gap: 0.7rem; max-width: 460px; margin: 1.5rem auto 1rem; flex-wrap: wrap; }
.waitlist-form input {
  flex: 1 1 220px; min-width: 0;
  background: var(--bg); border: 1px solid var(--border); color: var(--text-0);
  border-radius: var(--radius-sm); padding: 0.85rem 1rem; font-size: 1rem; font-family: inherit;
}
.waitlist-form input::placeholder { color: var(--text-2); }
.waitlist-form input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-glow); }
.waitlist-form .btn { flex: 0 0 auto; }
.form-fallback { font-size: 0.9rem; color: var(--text-2); margin-bottom: 0.75rem; }
.form-privacy { font-size: 0.82rem; color: var(--text-2); max-width: 460px; margin: 0 auto; }

/* Footer */
.footer { padding: 3rem 0; border-top: 1px solid var(--border); }
.footer-inner { text-align: center; }
.footer-brand { display: block; color: var(--text-0); margin-bottom: 0.5rem; }
.footer-text { font-size: 0.92rem; color: var(--text-2); margin-bottom: 0.4rem; }
.footer-fine { font-size: 0.8rem; color: var(--text-2); }

/* Responsive */
@media (max-width: 640px) {
  .nav-links a:not(.btn) { display: none; }
  .hero { padding: 4rem 0 3.5rem; }
  .section { padding: 3.5rem 0; }
}

@media (min-width: 720px) {
  .problem-grid { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1000px) {
  .why-grid { grid-template-columns: repeat(4, 1fr); }
}
