/* firstpass.media — marketing + support site.
   The A2V design system, carried from webui/src/styles.css: same palette,
   type, and the five logo dots as a hairline across the top. */

@import url('https://fonts.googleapis.com/css2?family=Inter+Tight:wght@400;500;600;700&family=IBM+Plex+Mono:wght@400;500&family=Oswald:wght@500;600;700&display=swap');

:root {
  --gold: #CC9A3B; --gold-d: #B5842F; --red: #AD413F; --terra: #A96542;
  --teal: #44A2A2; --blue: #18489D;
  --ink: #0A0A0A; --panel: #141414; --panel-hi: #1C1C1C; --line: #2A2A2A;
  --txt: #ECE7DC; --mute: #908B80;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

html, body {
  margin: 0;
  min-height: 100vh;
  background: var(--ink);
  color: var(--txt);
  font-family: 'Inter Tight', system-ui, -apple-system, sans-serif;
  line-height: 1.6;
}

/* Top glow behind the header, fading into ink. */
body {
  background-image: radial-gradient(700px 420px at 50% -120px, #161616 0%, rgba(10,10,10,0) 100%);
  background-repeat: no-repeat;
}

/* The five logo dots as a fixed hairline across the top of every page. */
body::before {
  content: ""; position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 2000;
  background: linear-gradient(90deg, var(--gold), var(--red), var(--terra), var(--teal), var(--blue));
}

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

code {
  background: var(--ink); color: var(--gold);
  border: 1px solid var(--line); border-radius: 6px; padding: 1px 7px;
  font-family: 'IBM Plex Mono', monospace; font-size: .8em;
}
pre {
  background: var(--ink); border: 1px solid var(--line); border-radius: 10px;
  padding: 14px 16px; overflow-x: auto;
}
pre code { border: none; padding: 0; background: none; }

.wrap { max-width: 980px; margin: 0 auto; padding: 0 20px; }
.wrap-narrow { max-width: 780px; margin: 0 auto; padding: 0 20px; }

/* ── Nav ────────────────────────────────────────────────────────── */
.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 0 18px; border-bottom: 1px solid var(--line);
}
.nav .wordmark {
  font-family: 'Oswald', sans-serif; font-weight: 600; font-size: 1.35rem;
  letter-spacing: .01em; text-transform: uppercase; color: var(--txt);
}
.nav .wordmark:hover { text-decoration: none; }
.nav .wordmark .accent { color: var(--gold); }
.nav .links { display: flex; align-items: center; gap: 22px; }
.nav .links a { color: var(--mute); font-size: .92rem; font-weight: 500; }
.nav .links a:hover { color: var(--txt); text-decoration: none; }
.nav .links a.cta {
  color: var(--ink); background: var(--gold); border-radius: 8px;
  padding: 8px 16px; font-weight: 600;
}
.nav .links a.cta:hover { background: var(--gold-d); }
@media (max-width: 640px) {
  .nav { flex-direction: column; gap: 12px; }
  .nav .links { gap: 14px; flex-wrap: wrap; justify-content: center; }
}

/* ── Kickers / headings ─────────────────────────────────────────── */
.kicker {
  font-family: 'Oswald', sans-serif; font-size: .72rem; letter-spacing: .18em;
  font-weight: 600; text-transform: uppercase; color: var(--gold);
  display: block; margin: 0 0 10px;
}
h1, h2, h3 { line-height: 1.25; }
h1 { font-size: 2.6rem; font-weight: 700; letter-spacing: -.01em; margin: 0 0 14px; }
h2 { font-size: 1.6rem; font-weight: 650; margin: 0 0 12px; }
h3 { font-size: 1.1rem; font-weight: 600; margin: 0 0 8px; }
.lede { font-size: 1.15rem; color: var(--mute); max-width: 620px; }

/* ── Sections / cards ───────────────────────────────────────────── */
section { padding: 64px 0; }
section + section { border-top: 1px solid var(--line); }

.card {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: 16px; padding: 26px;
}
.card-hi {
  background: linear-gradient(160deg, var(--panel-hi), var(--panel));
  position: relative; overflow: hidden;
}
.card-hi::after {
  content: ""; position: absolute; top: -40px; right: -40px; width: 160px; height: 160px;
  background: radial-gradient(circle, rgba(204,154,59,.13), transparent 70%); pointer-events: none;
}

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
@media (max-width: 820px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }

/* ── Buttons ────────────────────────────────────────────────────── */
.btn {
  display: inline-block; border-radius: 10px; padding: 13px 26px;
  font-weight: 600; font-size: 1rem; cursor: pointer; border: 1px solid transparent;
}
.btn:hover { text-decoration: none; }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: var(--gold-d); }
.btn-ghost { border-color: var(--line); color: var(--txt); background: transparent; }
.btn-ghost:hover { border-color: var(--mute); }

/* ── Footer ─────────────────────────────────────────────────────── */
footer.site {
  border-top: 1px solid var(--line); padding: 34px 0 44px;
  color: var(--mute); font-size: .88rem;
}
footer.site .cols { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
footer.site a { color: var(--mute); }
footer.site a:hover { color: var(--txt); }

/* ── Article / legal / support prose ────────────────────────────── */
.prose { max-width: 780px; }
.prose h1 { font-size: 1.9rem; margin: .2rem 0 .2rem; }
.prose .eff { color: var(--mute); font-size: .9rem; margin-bottom: 1.6rem; }
.prose h2 {
  font-size: 1.18rem; margin: 2rem 0 .5rem; padding-top: 1rem;
  border-top: 1px solid var(--line);
}
.prose h3 { font-size: 1rem; margin: 1.2rem 0 .3rem; }
.prose p, .prose li { font-size: .96rem; }
.prose ul, .prose ol { padding-left: 1.4rem; }
.prose li { margin: .3rem 0; }
.prose strong { color: var(--txt); }
.prose .lead {
  background: var(--panel); border-left: 4px solid var(--gold);
  border-radius: 0 10px 10px 0; padding: .9rem 1.1rem; font-size: .96rem;
}
.prose .caps {
  font-size: .87rem; background: var(--panel); border: 1px solid var(--line);
  border-radius: 10px; padding: .9rem 1.1rem;
}
.prose table { width: 100%; border-collapse: collapse; font-size: .88rem; margin: .7rem 0; }
.prose th, .prose td { border: 1px solid var(--line); padding: .5rem .65rem; text-align: left; vertical-align: top; }
.prose th {
  background: var(--panel); font-family: 'Oswald', sans-serif; font-weight: 600;
  font-size: .74rem; text-transform: uppercase; letter-spacing: .08em; color: var(--mute);
}
.prose footer {
  margin-top: 2.5rem; padding-top: 1rem; border-top: 1px solid var(--line);
  font-size: .85rem; color: var(--mute);
}

/* ── Support index ──────────────────────────────────────────────── */
.kb-cat { margin-bottom: 34px; }
.kb-cat h2 { font-size: 1.15rem; border: none; padding: 0; }
.kb-list { list-style: none; padding: 0; margin: 10px 0 0; }
.kb-list li { margin: 0; }
.kb-list a {
  display: block; padding: 11px 14px; border: 1px solid var(--line);
  border-radius: 10px; margin-bottom: 8px; color: var(--txt); background: var(--panel);
}
.kb-list a:hover { border-color: var(--gold); text-decoration: none; }
.kb-back { font-size: .88rem; color: var(--mute); display: inline-block; margin-bottom: 18px; }

/* ── Pricing ────────────────────────────────────────────────────── */
.price-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
@media (max-width: 820px) { .price-cards { grid-template-columns: 1fr; } }
.price-card { display: flex; flex-direction: column; }
.price-card .tier {
  font-family: 'Oswald', sans-serif; font-weight: 600; text-transform: uppercase;
  letter-spacing: .12em; font-size: .8rem; color: var(--mute);
}
.price-card .amount { font-size: 2.2rem; font-weight: 700; margin: 8px 0 2px; }
.price-card .amount small { font-size: 1rem; font-weight: 500; color: var(--mute); }
.price-card ul { list-style: none; padding: 0; margin: 14px 0 20px; flex: 1; }
.price-card li { padding: 5px 0 5px 24px; position: relative; font-size: .93rem; }
.price-card li::before { content: "—"; position: absolute; left: 0; color: var(--gold); }
.price-card.featured { border-color: var(--gold); }
.price-note { color: var(--mute); font-size: .88rem; margin-top: 16px; }

/* ── Hero ───────────────────────────────────────────────────────── */
.hero { padding: 84px 0 72px; text-align: center; }
.hero h1 { font-size: 3rem; max-width: 760px; margin: 0 auto 16px; }
@media (max-width: 640px) { .hero h1 { font-size: 2.1rem; } }
.hero .lede { margin: 0 auto 30px; }
.hero .actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero .privacy-line { margin-top: 22px; font-size: .9rem; color: var(--mute); }
.hero .privacy-line strong { color: var(--txt); }

/* Steps (how it works) */
.step-num {
  font-family: 'Oswald', sans-serif; font-weight: 700; font-size: 1.5rem;
  color: var(--gold); margin-bottom: 6px;
}
