/* ===== MotoBeatz — shared styles ===== */
/* Brand "Heritage Gold" (see the logo kit in web/public/brand/): deep Ink
   grounds, flat Roofline Gold, Heart Red, Archivo headings + Geist body —
   the same faces as the marketplace site. Variable names are kept from the
   earlier design so the page-level styles didn't need rewriting. */
@import url('https://fonts.googleapis.com/css2?family=Archivo:wdth,wght@100..125,400..900&family=Geist:wght@300..700&display=swap');

:root{
  --void:#0B1220;        /* page ground (deep Ink) */
  --charcoal:#121B2E;    /* cards, panels */
  --charcoal-2:#1A2540;
  --line:#24304A;
  --smoke:#9AA6BC;       /* secondary text */
  --bone:#ECEFF5;        /* primary text */

  --gold-1:#C9A43A;      /* Roofline Gold */
  --gold-2:#D4B24F;      /* gold on Ink */
  --gold-3:#E0C36A;      /* gold for text and hovers on Ink */
  /* Flat on purpose — the brand dropped the metallic gradient. Kept as a
     "gradient" so .goldtext's background-clip technique still works. */
  --gold-grad:linear-gradient(var(--gold-2), var(--gold-2));

  --ember-1:#D7263D;     /* Heart Red */
  --ember-2:#E8455A;     /* Heart Red, lifted for Ink */
  --ember-grad:linear-gradient(var(--ember-2), var(--ember-2));

  --display:'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --body:'Geist', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --radius:6px;
  color-scheme:dark;
}

*{box-sizing:border-box; margin:0; padding:0;}
html{scroll-behavior:smooth;}

body{
  background:var(--void);
  color:var(--bone);
  font-family:var(--body);
  font-weight:400;
  font-size:16px;
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
}

h1,h2,h3{
  font-family:var(--display);
  font-stretch:108%;
  font-weight:800;
  line-height:1.08;
  letter-spacing:-0.01em;
  text-wrap:balance;
}

a{color:inherit;}
img,svg{display:block; max-width:100%;}

:focus-visible{
  outline:1px solid var(--gold-3);
  outline-offset:4px;
}

.wrap{
  max-width:1160px;
  margin:0 auto;
  padding:0 32px;
}
@media (max-width:640px){ .wrap{padding:0 22px;} }

/* gold gradient text helper */
.goldtext{
  background:var(--gold-grad);
  background-size:220% 220%;
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}

.tracked{
  font-family:var(--body);
  text-transform:uppercase;
  letter-spacing:0.22em;
  font-size:12px;
  font-weight:500;
  color:var(--smoke);
}
.tracked .dot{ color:var(--gold-2); margin:0 10px; }
.tracked b{ color:var(--bone); font-weight:500; }

/* ---------- NAV ---------- */
header{
  position:sticky; top:0; z-index:50;
  background:rgba(11,18,32,0.86);
  backdrop-filter:blur(10px);
  border-bottom:1px solid var(--line);
}
.nav{
  display:flex; align-items:center; justify-content:space-between;
  height:84px;
}
.brand{
  display:flex; align-items:center; gap:12px;
  text-decoration:none;
}
.brand img{ height:34px; width:auto; }
/* Wordmark: Archivo ExtraBold Expanded caps, as in the logo kit. */
.brand span{
  font-family:var(--display);
  font-stretch:112%;
  font-size:19px;
  font-weight:800;
  letter-spacing:0.04em;
  text-transform:uppercase;
}

.nav-links{
  display:none;
  align-items:center;
  gap:38px;
}
.nav-links a{
  text-decoration:none;
  font-size:12.5px;
  letter-spacing:0.14em;
  text-transform:uppercase;
  color:var(--smoke);
  transition:color .2s ease;
}
.nav-links a:hover{ color:var(--gold-3); }
@media (min-width:900px){ .nav-links{display:flex;} }

.btn{
  display:inline-flex; align-items:center; gap:8px;
  padding:13px 26px;
  border-radius:var(--radius);
  font-family:var(--body);
  font-size:12.5px;
  letter-spacing:0.12em;
  text-transform:uppercase;
  text-decoration:none;
  border:1px solid transparent;
  cursor:pointer;
  transition:transform .2s ease, box-shadow .2s ease, border-color .2s ease, color .2s ease;
}
.btn:hover{ transform:translateY(-1px); }

.btn-gold{
  background:var(--gold-2);
  color:#0F1B33; /* Ink on gold: 7:1 */
  font-weight:600;
}
.btn-gold:hover{ background:var(--gold-3); box-shadow:0 8px 28px -8px rgba(212,178,79,0.5); }

.btn-line{
  border-color:var(--line);
  color:var(--bone);
}
.btn-line:hover{ border-color:var(--gold-2); color:var(--gold-3); }

/* ---------- mountain divider (signature motif) ---------- */
.divider{
  display:flex; justify-content:center;
  padding:64px 0;
}
.divider svg{ width:120px; height:auto; opacity:0.85; }

/* ---------- FOOTER ---------- */
footer{
  border-top:1px solid var(--line);
  padding:52px 0 40px;
}
.foot-top{
  display:flex; justify-content:space-between; align-items:flex-start;
  flex-wrap:wrap; gap:28px;
  padding-bottom:32px;
}
.foot-brand{ display:flex; align-items:center; gap:12px; }
.foot-brand img{ height:28px; width:auto; }
.foot-brand span{ font-family:var(--display); font-stretch:112%; font-weight:800; font-size:16px; letter-spacing:0.04em; text-transform:uppercase; }

.foot-links{
  display:flex; gap:30px; flex-wrap:wrap;
  font-size:12.5px; letter-spacing:0.1em; text-transform:uppercase; color:var(--smoke);
}
.foot-links a{ text-decoration:none; }
.foot-links a:hover{ color:var(--gold-3); }

.foot-bottom{
  border-top:1px solid var(--line);
  padding-top:24px;
  display:flex; justify-content:space-between; flex-wrap:wrap; gap:12px;
  font-size:12px; color:var(--smoke);
}

/* ---------- small screens ---------- */
/* Grid columns default to min-width:auto, so a wide child (the privacy
   policy's data table) stretches the whole page instead of scrolling inside
   its .table-wrap. */
.doc > *{ min-width:0; }

/* The header CTA collides with the wordmark on phones; the landing page's
   hero and the footer still carry "Request Access". */
@media (max-width:520px){
  header .btn{ display:none; }
}
