/* VLA marketing site — shared stylesheet.
   Same token palette as the app and the admin/testers pages. No third-party CSS. */

:root {
  --bg: #0e0f12;
  --bg-alt: #11141a;
  --fg: #e7e9ee;
  --muted: #8b91a0;
  --accent: #4f9cff;
  --accent-dim: #2c5b96;
  --ok: #5dd39e;
  --card: #161922;
  --border: #232733;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

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

img { max-width: 100%; height: auto; display: block; }   /* height:auto so width/height attributes never stretch a scaled image */

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

/* ---------- Nav ---------- */

.site-nav {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(14, 15, 18, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.site-nav .wrap {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  padding-top: 14px;
  padding-bottom: 14px;
}
.brand {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--fg);
}
.brand:hover { text-decoration: none; }
.brand span { color: var(--accent); }
.site-nav ul {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  list-style: none;
  margin: 0 0 0 auto;
  padding: 0;
}
.site-nav ul a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
}
.site-nav ul a:hover { color: var(--fg); text-decoration: none; }
.site-nav ul a.active { color: var(--fg); }
.site-nav ul a.nav-cta {
  color: #fff;
  background: var(--accent);
  padding: 7px 16px;
  border-radius: 5px;
}
.site-nav ul a.nav-cta:hover { opacity: 0.9; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  padding: 11px 22px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 600;
  background: var(--accent);
  color: #fff;
}
.btn:hover { text-decoration: none; opacity: 0.9; }
.btn.secondary {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--fg);
}
.btn.secondary:hover { border-color: var(--muted); }

/* ---------- Hero ---------- */

.hero { padding: 88px 0 64px; text-align: center; }
.hero h1 {
  font-size: 44px;
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 auto 20px;
  max-width: 860px;
}
.hero .sub {
  color: var(--muted);
  font-size: 19px;
  max-width: 680px;
  margin: 0 auto 32px;
}
.hero .cta-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero-shot {
  margin: 56px auto 0;
  max-width: 920px;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}

/* ---------- Sections / bands ---------- */

section { padding: 72px 0; }
section.band { background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.section-title {
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0 0 12px;
  text-align: center;
}
.section-sub {
  color: var(--muted);
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
}

/* ---------- Pillar grid (home) ---------- */

.pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}
.pillar {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 24px;
}
.pillar h3 { margin: 0 0 8px; font-size: 17px; font-weight: 600; }
.pillar p { margin: 0; color: var(--muted); font-size: 14px; }

/* ---------- Feature rows (features page + home) ---------- */

.feature-row {
  display: grid;
  grid-template-columns: 1fr;   /* one column: text on top, full-width image below */
  gap: 28px;
  align-items: start;
  padding: 48px 0;
  border-bottom: 1px solid var(--border);
}
.feature-row:last-child { border-bottom: none; }
.feature-row .shot {
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  background: var(--card);
}
.feature-row h2 { font-size: 24px; font-weight: 700; margin: 0 0 12px; letter-spacing: -0.01em; }
.feature-row p { color: var(--muted); margin: 0 0 12px; }
.feature-row p:last-child { margin-bottom: 0; }
.feature-row .shot img { display: block; width: 100%; height: auto; }
.feature-row.flip .shot { order: 0; }   /* flip no longer swaps sides; the image is always below the text */

/* ---------- Quote / before-after band ---------- */

.big-quote {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  font-size: 24px;
  line-height: 1.45;
  font-weight: 500;
}
.big-quote strong { color: var(--accent); }
.big-quote .attribution { display: block; margin-top: 20px; font-size: 14px; color: var(--muted); font-weight: 400; }

/* ---------- Prose pages (why, about) ---------- */

.prose { max-width: 700px; margin: 0 auto; padding: 72px 24px; }
.prose h1 { font-size: 36px; line-height: 1.2; font-weight: 700; letter-spacing: -0.02em; margin: 0 0 32px; }
.prose h2 { font-size: 22px; font-weight: 700; margin: 44px 0 12px; }
.prose p { color: #c6cad4; margin: 0 0 20px; font-size: 17px; }
.prose .lede { font-size: 20px; color: var(--fg); }
.prose .credits {
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 15px;
}

/* ---------- Pricing ---------- */

.price-hero { text-align: center; padding: 88px 0 40px; }
.price-hero .price { font-size: 72px; font-weight: 700; letter-spacing: -0.03em; line-height: 1; }
.price-hero .price small { font-size: 22px; color: var(--muted); font-weight: 500; }
.price-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
  margin-top: 48px;
}
.price-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 28px;
  text-align: left;
}
.price-card h3 { margin: 0 0 10px; font-size: 18px; font-weight: 600; }
.price-card .figure { font-size: 28px; font-weight: 700; margin-bottom: 10px; }
.price-card .figure small { font-size: 14px; color: var(--muted); font-weight: 500; }
.price-card p { color: var(--muted); font-size: 14px; margin: 0; }

.checklist { list-style: none; padding: 0; margin: 24px 0 0; display: inline-block; text-align: left; }
.checklist li { padding: 6px 0 6px 28px; position: relative; color: var(--muted); }
.checklist li::before { content: "✓"; position: absolute; left: 0; color: var(--ok); font-weight: 700; }

/* ---------- Download ---------- */

.dl-rows { max-width: 720px; margin: 0 auto; }
.dl-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 8px;
  margin-bottom: 10px;
}
.dl-row .platform { font-weight: 600; }
.dl-row .meta { color: var(--muted); font-size: 13px; }

.req-strip {
  text-align: center;
  color: var(--muted);
  font-size: 14px;
  margin-top: 32px;
}
.req-strip span { white-space: nowrap; }
.req-strip span + span::before { content: "·"; margin: 0 10px; color: var(--border); }

/* ---------- CTA band ---------- */

.cta-band { text-align: center; }
.cta-band h2 { font-size: 28px; font-weight: 700; margin: 0 0 12px; letter-spacing: -0.01em; }
.cta-band p { color: var(--muted); margin: 0 0 28px; }

/* ---------- Footer ---------- */

.site-footer {
  border-top: 1px solid var(--border);
  padding: 36px 0;
  color: var(--muted);
  font-size: 13px;
}
.site-footer .wrap {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

/* ---------- Responsive ---------- */

@media (max-width: 760px) {
  .hero { padding: 56px 0 40px; }
  .hero h1 { font-size: 32px; }
  .hero .sub { font-size: 17px; }
  section { padding: 48px 0; }
  .feature-row { grid-template-columns: 1fr; gap: 24px; padding: 36px 0; }
  .feature-row.flip .shot { order: 0; }
  .big-quote { font-size: 19px; }
  .prose h1 { font-size: 28px; }
  .price-hero .price { font-size: 52px; }
}

/* ---------- Guides ---------- */

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

.guide-meta { font-size: 13px; color: var(--muted); margin: 0 0 18px; }
.prose.guide { padding-top: 56px; }
.prose.guide ul, .prose.guide ol { color: #c6cad4; margin: 0 0 20px; padding-left: 26px; }
.prose.guide li { margin-bottom: 8px; }
.prose.guide li::marker { color: var(--muted); }
.prose.guide h3 { font-size: 17px; font-weight: 600; margin: 28px 0 8px; }
.prose.guide code {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 1px 6px;
  font-size: 14px;
}
.prose.guide figure.shot {
  margin: 28px 0;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  background: var(--card);
}
.prose.guide figure.shot figcaption {
  padding: 10px 14px;
  font-size: 13px;
  color: var(--muted);
  border-top: 1px solid var(--border);
}
.guide-related {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.guide-related h2 { font-size: 16px; }
.guide-related ul { list-style: none; padding: 0; margin: 0; }
.guide-related li { padding: 4px 0; }

.guide-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 16px;
}
.guide-card {
  display: block;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 22px;
  color: var(--fg);
}
.guide-card:hover { text-decoration: none; border-color: var(--accent-dim); }
.guide-card h2 { font-size: 16px; font-weight: 600; margin: 0 0 8px; line-height: 1.35; }
.guide-card p { margin: 0; color: var(--muted); font-size: 14px; }

.contact-intro { text-align: center; margin-bottom: 26px; }
.contact-intro h1 { font-size: 26px; margin: 0 0 8px; }
.contact-intro p { color: var(--muted); font-size: 15px; margin: 0; }

/* ---------- Auth / account pages (signup, verify, reset, account) ---------- */

.auth-wrap { max-width: 420px; margin: 72px auto 96px; padding: 0 24px; }
.auth-wrap.wide { max-width: 560px; }
.auth-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 28px;
}
.auth-card h1 { font-size: 24px; margin: 0 0 6px; }
.auth-card .lede { color: var(--muted); font-size: 14px; margin: 0 0 22px; }

.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13px; font-weight: 600; color: var(--muted); margin-bottom: 6px; }
.field input {
  width: 100%;
  padding: 10px 12px;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: var(--bg-alt);
  color: var(--fg);
  font-size: 15px;
}
.field input:focus { outline: none; border-color: var(--accent-dim); }
.field .hint { font-size: 12px; color: var(--muted); margin-top: 4px; }

.btn.block { display: block; width: 100%; text-align: center; border: none; cursor: pointer; font-family: inherit; }
.btn[disabled] { opacity: 0.5; cursor: default; }

.notice { border-radius: 6px; padding: 10px 14px; font-size: 14px; margin: 0 0 18px; display: none; }
.notice.show { display: block; }
.notice.error { background: rgba(255, 99, 99, 0.08); border: 1px solid rgba(255, 99, 99, 0.35); color: #ff9d9d; }
.notice.ok { background: rgba(93, 211, 158, 0.08); border: 1px solid rgba(93, 211, 158, 0.35); color: var(--ok); }

.auth-foot { text-align: center; font-size: 13px; color: var(--muted); margin-top: 18px; }

/* Account page */
.acct-row { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--border); font-size: 14px; }
.acct-row:last-child { border-bottom: none; }
.acct-row .k { color: var(--muted); }
.acct-row .v { text-align: right; }
.badge { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; }
.badge.active { background: rgba(93, 211, 158, 0.15); color: var(--ok); }
.badge.grace { background: rgba(255, 196, 87, 0.15); color: #ffc457; }
.badge.expired { background: rgba(255, 99, 99, 0.15); color: #ff9d9d; }
.badge.unverified { background: rgba(255, 196, 87, 0.15); color: #ffc457; }
.acct-section { margin-top: 26px; }
.acct-section h2 { font-size: 15px; margin: 0 0 8px; color: var(--fg); }
.linklike { background: none; border: none; color: var(--accent); cursor: pointer; font: inherit; font-size: 13px; padding: 0; }
.linklike:hover { text-decoration: underline; }