/* You-Venture marketing site.
   Palette = the app's own design tokens (lib/theme/map_tokens.dart,
   dark chrome — the app's default theme) + the logo's navy field.
   Deep navy   #0A141B  (ic_launcher_background, sampled from the badge)
   Dark base   #1C1E1A  DarkBaseTokens.background
   Surface     #23261F  ChromeTokens.surfaceDark
   Raised      #2C2F27  ChromeTokens.surfaceHighDark
   Ink         #E9E7DE  ChromeTokens.onSurfaceDark
   Ink muted   #B9B4A6  ChromeTokens.onSurfaceVariantDark
   Orange      #FF7A1A  ChromeTokens.primaryDark (dark route dirt)
   Orange deep #E65100  ChromeTokens.primaryLight
   On orange   #2A1503  ChromeTokens.onPrimaryDark
   Paper       #EFEBE0  BaseTokens.background (light basemap)
   Paper ink   #2B2B28  LabelTokens.text / onSurfaceLight
   Paper muted #5A5648  ChromeTokens.onSurfaceVariantLight
   Trail green #4CAF50  kDtBandDark[1]
   Radii: card 12 / button 12 / sheet 16 (RadiusTokens) */

:root {
  --navy: #0A141B;
  --base: #1C1E1A;
  --surface: #23261F;
  --surface-high: #2C2F27;
  --ink: #E9E7DE;
  --ink-muted: #B9B4A6;
  --orange: #FF7A1A;
  --orange-deep: #E65100;
  --on-orange: #2A1503;
  --paper: #EFEBE0;
  --paper-ink: #2B2B28;
  --paper-muted: #5A5648;
  --green: #4CAF50;
  --radius: 12px;
  --maxw: 1140px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  background: var(--base);
  color: var(--ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3 { line-height: 1.15; font-weight: 700; }
h2 { font-size: clamp(1.7rem, 4vw, 2.5rem); margin-bottom: 16px; }
h3 { font-size: 1.15rem; margin-bottom: 8px; }
p { margin-bottom: 16px; }
em { font-style: italic; }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--orange);
  margin-bottom: 12px;
}

.lede { font-size: 1.15rem; color: var(--ink-muted); max-width: 46em; }

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 24px;
  background: var(--navy);
  border-bottom: 1px solid rgba(233, 231, 222, 0.12);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
}
.brand-icon { border-radius: 8px; }
.brand-name { font-weight: 800; letter-spacing: 0.04em; font-size: 1.05rem; }
.brand-accent { color: var(--orange); }

.site-nav { display: flex; align-items: center; gap: 24px; }
.site-nav a {
  color: var(--ink-muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
}
.site-nav a:hover { color: var(--ink); }
.site-nav a.nav-cta {
  color: var(--on-orange);
  background: var(--orange);
  padding: 8px 16px;
  border-radius: var(--radius);
}
.site-nav a.nav-cta:hover { background: var(--orange-deep); color: #fff; }

/* ---------- hero ---------- */
.hero {
  background: linear-gradient(180deg, var(--navy) 0%, var(--base) 100%);
  padding: 40px 24px 72px;
  text-align: center;
}
.hero-inner { max-width: 900px; margin: 0 auto; }
.hero-banner {
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
  margin-bottom: 40px;
}
.hero h1 {
  font-size: clamp(2rem, 5.4vw, 3.4rem);
  max-width: 16em;
  margin: 0 auto 16px;
}
.hero-sub {
  font-size: 1.15rem;
  color: var(--ink-muted);
  max-width: 42em;
  margin: 0 auto 32px;
}
.hero-note { color: var(--ink-muted); font-size: 0.95rem; margin-top: 16px; }

/* ---------- store buttons ---------- */
.store-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}
.store-btn {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 210px;
  padding: 12px 20px 14px;
  background: var(--surface);
  border: 1px solid rgba(233, 231, 222, 0.25);
  border-radius: var(--radius);
  color: var(--ink);
  text-decoration: none;
  text-align: left;
}
.store-btn:hover { border-color: var(--orange); }
.store-btn-top { font-size: 0.75rem; color: var(--ink-muted); }
.store-btn-name { font-size: 1.3rem; font-weight: 700; line-height: 1.2; }
.soon-tag {
  position: absolute;
  top: -10px;
  right: 12px;
  background: var(--orange);
  color: var(--on-orange);
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 3px 8px;
  border-radius: 999px;
}

/* ---------- sections ---------- */
.section { padding: 80px 24px; }
.section-inner { max-width: var(--maxw); margin: 0 auto; }
.section-deep { background: var(--navy); }
.section-paper { background: var(--paper); color: var(--paper-ink); }
.section-paper .eyebrow { color: var(--orange-deep); }
.section-paper p { color: var(--paper-ink); }

/* mission */
.mission-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 48px;
  align-items: center;
}
.mission-art img {
  border-radius: 16px;
  box-shadow: 0 14px 40px rgba(10, 20, 27, 0.35);
}

/* vision */
.vision-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 40px;
}
.vision-cols p { color: var(--ink-muted); }
.pull-line {
  margin-top: 48px;
  font-size: clamp(1.4rem, 3.4vw, 2rem);
  font-weight: 700;
  color: var(--orange);
  text-align: center;
}

/* features */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.card {
  background: var(--surface);
  border: 1px solid rgba(233, 231, 222, 0.08);
  border-radius: var(--radius);
  padding: 24px;
}
.card p { color: var(--ink-muted); margin-bottom: 0; }
.card-icon {
  width: 34px;
  height: 34px;
  fill: var(--orange);
  margin-bottom: 16px;
}

/* download */
.download { background: linear-gradient(180deg, var(--base), var(--navy)); }
.download-inner { text-align: center; max-width: 720px; }
.download-icon {
  margin: 0 auto 24px;
  border-radius: 22px;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.45);
}
.download .lede { margin-left: auto; margin-right: auto; }
.download .store-buttons { margin-top: 32px; }

.notify { margin-top: 48px; }
.notify-label { display: block; font-weight: 700; margin-bottom: 12px; }
.notify-row {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.notify input {
  font: inherit;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid rgba(233, 231, 222, 0.25);
  border-radius: var(--radius);
  padding: 12px 16px;
  min-width: min(320px, 100%);
}
.notify input::placeholder { color: var(--ink-muted); }
.notify button {
  font: inherit;
  font-weight: 700;
  background: var(--orange);
  color: var(--on-orange);
  border: none;
  border-radius: var(--radius);
  padding: 12px 24px;
  cursor: pointer;
}
.notify button:hover { background: var(--orange-deep); color: #fff; }
.notify-note { color: var(--ink-muted); font-size: 0.9rem; margin-top: 12px; }

/* ---------- footer ---------- */
.site-footer {
  background: var(--navy);
  border-top: 1px solid rgba(233, 231, 222, 0.12);
  padding: 28px 24px;
}
.footer-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  align-items: center;
  justify-content: space-between;
  color: var(--ink-muted);
  font-size: 0.92rem;
}
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-weight: 700;
}
.footer-brand img { border-radius: 6px; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .vision-cols, .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .mission-grid { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 600px) {
  .vision-cols, .feature-grid { grid-template-columns: 1fr; }
  .site-nav { gap: 14px; }
  .site-nav a:not(.nav-cta) { display: none; }
  .section { padding: 56px 20px; }
  .hero { padding: 24px 16px 56px; }
  .store-btn { width: 100%; }
  .footer-inner { justify-content: center; text-align: center; }
}
