/* ==========================================================================
   Scouter — design tokens
   ========================================================================== */
:root {
  --blue-500: #1298f1;
  --blue-700: #0a6dc4;
  --orange-500: #f16b12;
  --orange-600: #d85c08;
  --ink-900: #0b1526;
  --ink-700: #2c3a4f;
  --ink-500: #5b6b82;
  --paper-0: #ffffff;
  --paper-50: #f6f9fd;
  --paper-100: #eaf1fb;
  --line: rgba(11, 21, 38, 0.1);
  --shadow-soft: 0 20px 50px -25px rgba(10, 30, 60, 0.35);
  --radius-lg: 28px;
  --radius-md: 16px;
  --radius-sm: 10px;
  --font-display: "Sora", "Segoe UI", sans-serif;
  --font-body: "Inter", "Segoe UI", sans-serif;
  --container: 1140px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink-900);
  background: var(--paper-0);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  margin: 0;
  line-height: 1.08;
  letter-spacing: -0.01em;
}

p { line-height: 1.65; color: var(--ink-700); margin: 0; }

a { color: inherit; text-decoration: none; }

img, svg { display: block; max-width: 100%; }

.wrap {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* Focus visibility */
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--blue-700);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  padding: 13px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}
.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: linear-gradient(135deg, var(--blue-500), var(--blue-700));
  color: #fff;
  box-shadow: 0 14px 30px -12px rgba(18, 152, 241, 0.55);
}
.btn-primary:hover { box-shadow: 0 18px 34px -12px rgba(18, 152, 241, 0.65); }

.btn-ghost {
  background: transparent;
  color: var(--ink-900);
  border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--blue-500); color: var(--blue-700); }

.btn-orange {
  background: linear-gradient(135deg, var(--orange-500), var(--orange-600));
  color: #fff;
  box-shadow: 0 14px 30px -12px rgba(241, 107, 18, 0.55);
}
.btn-orange:hover { box-shadow: 0 18px 34px -12px rgba(241, 107, 18, 0.65); }

.btn-disabled {
  background: rgba(11, 21, 38, 0.06);
  color: var(--ink-500);
  cursor: default;
}
.btn-disabled:hover { transform: none; }

/* ==========================================================================
   Nav
   ========================================================================== */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  list-style: none;
  margin: 0; padding: 0;
}
.nav-links a {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink-700);
  transition: color 0.15s ease;
}
.nav-links a:hover { color: var(--blue-700); }
.nav-cta { display: flex; align-items: center; gap: 18px; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink-900);
  margin: 5px 0;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  overflow: hidden;
  padding: 88px 0 60px;
  background:
    radial-gradient(60% 55% at 82% 8%, rgba(18, 152, 241, 0.14), transparent 60%),
    radial-gradient(45% 40% at 8% 90%, rgba(241, 107, 18, 0.10), transparent 60%),
    var(--paper-0);
}
.hero .wrap {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 56px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--blue-700);
  background: var(--paper-100);
  padding: 7px 14px;
  border-radius: 999px;
  margin-bottom: 22px;
}
.eyebrow .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--orange-500);
}
.hero h1 {
  font-size: clamp(38px, 5vw, 56px);
  color: var(--ink-900);
}
.hero h1 .accent { color: var(--blue-700); }
.hero-sub {
  margin-top: 20px;
  font-size: 18px;
  max-width: 480px;
}
.hero-actions {
  margin-top: 34px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.hero-note {
  margin-top: 16px;
  font-size: 13.5px;
  color: var(--ink-500);
}

/* Phone mockup — CSS-built, signature visual */
.phone-stage {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 520px;
}
.phone {
  position: relative;
  width: 264px;
  height: 540px;
  border-radius: 40px;
  background: var(--ink-900);
  padding: 12px;
  box-shadow: var(--shadow-soft);
  animation: float 6s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(-1.2deg); }
  50% { transform: translateY(-12px) rotate(1deg); }
}
.phone-screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 30px;
  overflow: hidden;
  background: linear-gradient(160deg, var(--blue-500) 0%, var(--blue-700) 55%, #083f70 100%);
}
.phone-notch {
  position: absolute;
  top: 10px; left: 50%;
  transform: translateX(-50%);
  width: 70px; height: 18px;
  background: var(--ink-900);
  border-radius: 10px;
  z-index: 5;
}
.reel-caption {
  position: absolute;
  left: 18px; right: 70px; bottom: 86px;
  color: #fff;
  z-index: 3;
}
.reel-caption .biz {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
}
.reel-caption .tag {
  font-size: 12.5px;
  opacity: 0.85;
  margin-top: 4px;
}
.reel-rail {
  position: absolute;
  right: 14px; bottom: 90px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  z-index: 3;
}
.reel-rail .pip {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,0.16);
  border: 1px solid rgba(255,255,255,0.3);
}
.reel-rail .pip.hot { background: var(--orange-500); border-color: transparent; }
.reel-progress {
  position: absolute;
  top: 34px; left: 14px; right: 14px;
  display: flex;
  gap: 4px;
  z-index: 4;
}
.reel-progress span {
  flex: 1; height: 3px;
  border-radius: 3px;
  background: rgba(255,255,255,0.3);
}
.reel-progress span.active { background: #fff; }
.pin-badge {
  position: absolute;
  left: 18px; top: 66px;
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(11, 21, 38, 0.35);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 10px 6px 8px;
  border-radius: 999px;
  z-index: 3;
}
.pin-badge svg { width: 13px; height: 16px; }
.play-glyph {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 58px; height: 58px;
  border-radius: 50%;
  background: rgba(255,255,255,0.16);
  border: 1.5px solid rgba(255,255,255,0.55);
  display: flex; align-items: center; justify-content: center;
  z-index: 2;
}
.play-glyph::after {
  content: "";
  width: 0; height: 0;
  margin-left: 4px;
  border-top: 11px solid transparent;
  border-bottom: 11px solid transparent;
  border-left: 16px solid #fff;
}
.floating-chip {
  position: absolute;
  background: #fff;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-soft);
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 6;
}
.floating-chip.one { top: 40px; left: -36px; color: var(--blue-700); }
.floating-chip.two { bottom: 60px; right: -30px; color: var(--orange-600); animation: float 6s ease-in-out infinite reverse; }
.floating-chip svg { width: 16px; height: 16px; }

/* ==========================================================================
   Logo strip / trust
   ========================================================================== */
.trust-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
}
.trust-strip .wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  color: var(--ink-500);
  font-size: 13.5px;
  text-align: center;
}
.trust-strip strong { color: var(--ink-900); }

/* ==========================================================================
   How it works
   ========================================================================== */
.section { padding: 96px 0; }
.section-head {
  max-width: 560px;
  margin: 0 auto 56px;
  text-align: center;
}
.section-head h2 {
  font-size: clamp(28px, 3.4vw, 38px);
}
.section-head p {
  margin-top: 14px;
  font-size: 16.5px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.step {
  position: relative;
  padding: 32px 26px 28px;
  border-radius: var(--radius-md);
  background: var(--paper-50);
  border: 1px solid var(--line);
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.step.in-view { opacity: 1; transform: translateY(0); }
.step .num {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  color: var(--blue-700);
  letter-spacing: 0.06em;
}
.step h3 {
  margin-top: 14px;
  font-size: 20px;
}
.step p { margin-top: 10px; font-size: 15px; }
.step .glyph {
  position: absolute;
  top: 26px; right: 26px;
  width: 34px; height: 34px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  background: var(--paper-100);
}
.step .glyph svg { width: 17px; height: 17px; }

/* ==========================================================================
   Features (dual audience)
   ========================================================================== */
.split-band {
  background: var(--ink-900);
  color: #fff;
  padding: 96px 0;
}
.split-band .section-head h2 { color: #fff; }
.split-band .section-head p { color: rgba(255,255,255,0.65); }

.audience-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.audience-card {
  border-radius: var(--radius-lg);
  padding: 34px 30px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.10);
}
.audience-card .tag {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
  display: inline-block;
}
.audience-card.scouts .tag { color: var(--blue-500); background: rgba(18,152,241,0.14); }
.audience-card.owners .tag { color: var(--orange-500); background: rgba(241,107,18,0.14); }
.audience-card h3 {
  margin-top: 18px;
  font-size: 24px;
  color: #fff;
}
.audience-card ul {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.audience-card li {
  display: flex;
  gap: 12px;
  font-size: 15px;
  color: rgba(255,255,255,0.75);
  align-items: flex-start;
}
.audience-card li svg { flex-shrink: 0; margin-top: 3px; width: 16px; height: 16px; }
.audience-card.scouts li svg { color: var(--blue-500); }
.audience-card.owners li svg { color: var(--orange-500); }

/* ==========================================================================
   Download band
   ========================================================================== */
.download-band {
  padding: 90px 0;
}
.download-card {
  border-radius: var(--radius-lg);
  padding: 64px 48px;
  background: linear-gradient(120deg, var(--blue-500), var(--blue-700) 60%, #083f70);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  position: relative;
  overflow: hidden;
}
.download-card::after {
  content: "";
  position: absolute;
  width: 340px; height: 340px;
  border-radius: 50%;
  background: rgba(241, 107, 18, 0.22);
  right: -110px; top: -120px;
  filter: blur(4px);
}
.download-card h2 {
  font-size: clamp(26px, 3.2vw, 34px);
  position: relative;
  z-index: 1;
}
.download-card p {
  color: rgba(255,255,255,0.82);
  margin-top: 12px;
  max-width: 420px;
  position: relative;
  z-index: 1;
}
.download-actions {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  flex-shrink: 0;
}
.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  color: var(--ink-900);
  padding: 12px 22px;
  border-radius: 14px;
  font-weight: 700;
  font-size: 15px;
}
.store-btn small {
  display: block;
  font-weight: 500;
  font-size: 11px;
  color: var(--ink-500);
}
.store-btn.disabled {
  background: rgba(255,255,255,0.14);
  color: #fff;
  cursor: default;
}
.store-btn.disabled small { color: rgba(255,255,255,0.65); }
.store-btn svg { width: 24px; height: 24px; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 52px 0 34px;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 30px;
  flex-wrap: wrap;
  padding-bottom: 34px;
}
.footer-cols {
  display: flex;
  gap: 56px;
  flex-wrap: wrap;
}
.footer-col h4 {
  font-size: 13px;
  color: var(--ink-500);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.footer-col ul {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col a {
  font-size: 14.5px;
  color: var(--ink-700);
}
.footer-col a:hover { color: var(--blue-700); }
.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 13px;
  color: var(--ink-500);
}
.footer-mark { display: flex; align-items: center; gap: 10px; }

/* ==========================================================================
   Legal pages (privacy / terms)
   ========================================================================== */
.legal-hero {
  padding: 64px 0 40px;
  border-bottom: 1px solid var(--line);
  background: var(--paper-50);
}
.legal-hero .eyebrow { margin-bottom: 16px; }
.legal-hero h1 { font-size: clamp(30px, 4vw, 42px); }
.legal-hero .meta {
  margin-top: 12px;
  font-size: 14px;
  color: var(--ink-500);
}

.legal-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 56px;
  padding: 56px 0 100px;
  align-items: flex-start;
}
.legal-toc {
  position: sticky;
  top: 100px;
}
.legal-toc h4 {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ink-500);
  margin-bottom: 14px;
}
.legal-toc ol {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
  border-left: 2px solid var(--line);
}
.legal-toc a {
  display: block;
  font-size: 13.5px;
  color: var(--ink-500);
  padding: 3px 0 3px 16px;
  border-left: 2px solid transparent;
  margin-left: -2px;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.legal-toc a:hover { color: var(--blue-700); }

.legal-body { max-width: 720px; }
.legal-body section { margin-bottom: 40px; scroll-margin-top: 100px; }
.legal-body h2 {
  font-size: 21px;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.legal-body h3 {
  font-size: 16px;
  margin: 20px 0 8px;
  color: var(--ink-900);
}
.legal-body p { margin-bottom: 14px; font-size: 15.5px; }
.legal-body ul {
  margin: 0 0 14px;
  padding-left: 20px;
  color: var(--ink-700);
}
.legal-body li { margin-bottom: 8px; font-size: 15.5px; line-height: 1.6; }
.legal-body a.inline-link {
  color: var(--blue-700);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(10,109,196,0.35);
}
.legal-body strong { color: var(--ink-900); }
.legal-callout {
  background: var(--paper-50);
  border: 1px solid var(--line);
  border-left: 3px solid var(--blue-500);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  font-size: 14.5px;
  color: var(--ink-700);
  margin-bottom: 18px;
}
.caps { text-transform: none; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 980px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .phone-stage { order: -1; min-height: 420px; }
  .phone { transform: scale(0.9); }
  .steps { grid-template-columns: 1fr; }
  .audience-grid { grid-template-columns: 1fr; }
  .legal-layout { grid-template-columns: 1fr; }
  .legal-toc { position: static; border-bottom: 1px solid var(--line); padding-bottom: 28px; margin-bottom: 8px; }
  .legal-toc ol { flex-direction: column; }
  .download-card { flex-direction: column; align-items: flex-start; text-align: left; }
}

@media (max-width: 720px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .nav-cta .btn-ghost { display: none; }
  .site-nav.open .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 76px; left: 0; right: 0;
    background: #fff;
    padding: 20px 24px 26px;
    border-bottom: 1px solid var(--line);
    gap: 18px;
  }
  .footer-top { flex-direction: column; }
}
