/* GarageBook marketing + legal — instrument-cluster theme.
   Tokens mirror the app (src/theme/tokens.ts). */
:root {
  --bg: #0e0f12;
  --surface: #181a1f;
  --raised: #22262d;
  --border: #2a2e35;
  --border-strong: #3a4049;
  --text: #f2f4f7;
  --muted: #9aa1ac;
  --faint: #646b76;
  --amber: #f5a623;
  --amber-dim: #4a3613;
  --blue: #5aa9ff;
  --green: #39c26b;
  --red: #f0503e;
  --ink: #1a1205; /* dark text on amber */
  --maxw: 1080px;
  --radius: 16px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--amber); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---- Nav ---- */
.nav {
  position: sticky; top: 0; z-index: 20;
  background: rgba(14, 15, 18, 0.82);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 800; font-size: 18px; color: var(--text); }
.brand:hover { text-decoration: none; }
.brand img { width: 34px; height: 34px; border-radius: 8px; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { color: var(--muted); font-weight: 600; font-size: 15px; }
.nav-links a:hover { color: var(--text); text-decoration: none; }
@media (max-width: 720px) { .nav-links a.hide-sm { display: none; } }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--amber); color: var(--ink);
  font-weight: 800; font-size: 15px;
  padding: 11px 20px; border-radius: 999px; border: 0;
}
.btn:hover { text-decoration: none; filter: brightness(1.05); }
.btn.ghost { background: transparent; color: var(--text); border: 1px solid var(--border-strong); }

/* ---- Hero ---- */
.hero { position: relative; overflow: hidden; padding: 88px 0 72px; }
.hero::before {
  content: ""; position: absolute; inset: -40% 30% auto -10%;
  height: 620px; background: radial-gradient(closest-side, rgba(245,166,35,0.16), transparent 70%);
  pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
@media (max-width: 860px) { .hero-grid { grid-template-columns: 1fr; text-align: center; } }
.eyebrow { color: var(--amber); font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; font-size: 12px; }
.hero h1 { font-size: clamp(34px, 6vw, 56px); line-height: 1.05; letter-spacing: -1px; margin: 14px 0 18px; }
.hero p.lede { font-size: 19px; color: var(--muted); max-width: 30em; margin: 0 0 28px; }
@media (max-width: 860px) { .hero p.lede { margin-inline: auto; } }
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; }
@media (max-width: 860px) { .cta-row { justify-content: center; } }
.store-badges { display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 860px) { .store-badges { justify-content: center; } }
.store-badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 12px; padding: 10px 16px; color: var(--text); font-weight: 700;
}
.store-badge small { display: block; color: var(--faint); font-weight: 600; font-size: 11px; }
.store-badge:hover { text-decoration: none; border-color: var(--border-strong); }

/* App art / gauge */
.hero-art { display: flex; justify-content: center; }
.gauge-card {
  width: 100%; max-width: 360px; aspect-ratio: 1; border-radius: 28px;
  background: linear-gradient(160deg, #16181d, #0c0d10);
  border: 1px solid var(--border); display: grid; place-items: center;
  box-shadow: 0 30px 80px rgba(0,0,0,0.5);
}
.gauge-card img { width: 62%; }

/* ---- Sections ---- */
section { padding: 72px 0; border-top: 1px solid var(--border); }
.section-head { text-align: center; max-width: 40em; margin: 0 auto 48px; }
.section-head h2 { font-size: clamp(28px, 4vw, 40px); letter-spacing: -0.5px; margin: 0 0 12px; }
.section-head p { color: var(--muted); font-size: 18px; margin: 0; }

/* Feature grid */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 860px) { .features { grid-template-columns: 1fr; } }
.feature {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px;
}
.feature .ic { width: 40px; height: 40px; border-radius: 10px; background: var(--amber-dim);
  display: grid; place-items: center; margin-bottom: 14px; font-size: 20px; }
.feature h3 { margin: 0 0 6px; font-size: 18px; }
.feature p { margin: 0; color: var(--muted); font-size: 15px; }
.badge-pro { display: inline-block; background: var(--amber-dim); color: var(--amber);
  font-size: 10px; font-weight: 800; letter-spacing: 1px; padding: 2px 7px; border-radius: 6px; margin-left: 8px; vertical-align: middle; }

/* Pricing */
.plans { display: grid; grid-template-columns: 1fr 1.15fr; gap: 20px; max-width: 820px; margin: 0 auto; }
@media (max-width: 720px) { .plans { grid-template-columns: 1fr; } }
.plan { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; }
.plan.pro { border-color: var(--amber); box-shadow: 0 0 0 1px var(--amber) inset; }
.plan h3 { margin: 0 0 4px; font-size: 22px; }
.plan .price { font-size: 30px; font-weight: 800; margin: 8px 0 2px; }
.plan .price small { font-size: 14px; color: var(--muted); font-weight: 600; }
.plan .tiers { color: var(--muted); font-size: 14px; margin: 0 0 16px; }
.plan ul { list-style: none; padding: 0; margin: 16px 0 0; }
.plan li { padding: 7px 0 7px 28px; position: relative; color: var(--text); font-size: 15px; }
.plan li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 800; }

/* Privacy strip */
.privacy-strip { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; text-align: center; }
.privacy-strip h2 { margin: 0 0 10px; }
.privacy-strip p { color: var(--muted); max-width: 40em; margin: 0 auto; }

/* ---- Footer ---- */
footer { border-top: 1px solid var(--border); padding: 48px 0; }
.foot-grid { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.foot-links { display: flex; gap: 22px; flex-wrap: wrap; }
.foot-links a { color: var(--muted); font-weight: 600; font-size: 14px; }
.foot-links a:hover { color: var(--text); text-decoration: none; }
.copy { color: var(--faint); font-size: 13px; }

/* ---- Legal / doc pages ---- */
.doc { max-width: 780px; margin: 0 auto; padding: 56px 24px 80px; }
.doc h1 { font-size: 34px; letter-spacing: -0.5px; margin: 0 0 6px; }
.doc .updated { color: var(--faint); font-size: 14px; margin: 0 0 36px; }
.doc h2 { font-size: 22px; margin: 40px 0 10px; }
.doc h3 { font-size: 17px; margin: 26px 0 8px; color: var(--text); }
.doc p, .doc li { color: #d6dae0; font-size: 16px; }
.doc ul { padding-left: 22px; }
.doc a { color: var(--blue); }
.doc .back { display: inline-block; margin-bottom: 24px; color: var(--muted); font-weight: 600; }
.doc .callout { background: var(--surface); border: 1px solid var(--border); border-left: 3px solid var(--amber);
  border-radius: 10px; padding: 16px 20px; margin: 24px 0; }
.doc table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 15px; }
.doc th, .doc td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--border); vertical-align: top; }
.doc th { color: var(--muted); font-weight: 700; }
