/* ─────────────────────────────────────────────────────────────────
   GADVERDAMME — shared site shell
   Design system propagated from the new landing (Direction C).
   Used by every static page: /privacy, /beta, /auth-action,
   /invite, /waitlist, /report, /reports.

   Mirrors the LC tokens in web/landing/ui.jsx — keep both in sync
   when adjusting the palette.
   ─────────────────────────────────────────────────────────────── */

:root {
  --lc-yellow:    #FECC32;
  --lc-yellow-d:  #E8B521;
  --lc-navy:      #07151E;
  --lc-navy-2:    #0B1B27;
  --lc-card:      #0F2030;
  --lc-card-hi:   #152840;
  --lc-line:      rgba(136, 174, 195, 0.14);
  --lc-line-hi:   rgba(254, 204, 50, 0.22);
  --lc-text:      #F2F6F9;
  --lc-mute:      #88AEC3;
  --lc-mute-d:    #5F7A8C;
  --lc-coral:     #FF765A;
  --font-display: 'Outfit', system-ui, -apple-system, sans-serif;
  --font-mono:    ui-monospace, 'SF Mono', Menlo, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-font-smoothing: antialiased; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--lc-navy);
  color: var(--lc-text);
  font-family: var(--font-display);
  line-height: 1.55;
  min-height: 100vh;
  overflow-x: hidden;
}
a { color: inherit; }
img { max-width: 100%; display: block; }

/* ── Layout shells ─────────────────────────────────────────────── */
.wrap     { max-width: 1280px; margin: 0 auto; padding: 0 80px; }
/* Used by /privacy. Was 920px; bumped to match the React pages' 1440
   CONTENT_MAX so /privacy reads as wide as the rest of the site. The
   long-form .prose inside keeps its own narrower measure for legibility
   and centers itself within this container. */
.wrap-tight { max-width: 1440px; margin: 0 auto; padding: 0 80px; }
@media (max-width: 1099px) { .wrap, .wrap-tight { padding: 0 48px; } }
@media (max-width: 767px)  { .wrap, .wrap-tight { padding: 0 20px; } }

/* ── Site nav ──────────────────────────────────────────────────── */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(7, 21, 30, 0.92);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--lc-line);
  animation: gvdNavDrop 420ms cubic-bezier(0.2, 0.65, 0.3, 0.95) both;
}
@keyframes gvdNavDrop {
  from { transform: translateY(-100%); }
  to   { transform: translateY(0); }
}
.site-nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px;
  padding: 14px 80px;
  font-size: 11px; letter-spacing: 2px; text-transform: uppercase;
}
@media (max-width: 1099px) { .site-nav-inner { padding: 14px 48px; } }
@media (max-width: 767px)  { .site-nav-inner { padding: 14px 20px; } }

.site-nav-brand {
  color: var(--lc-yellow); font-weight: 900; letter-spacing: 2px;
  text-decoration: none;
}
.site-nav-brand-issue { color: var(--lc-mute-d); font-weight: 500; }
@media (max-width: 1099px) { .site-nav-brand-issue { display: none; } }

.site-nav-links { display: flex; gap: 24px; color: var(--lc-mute); }
.site-nav-links a { color: var(--lc-mute); text-decoration: none; }
.site-nav-links a:hover { color: var(--lc-yellow); }
@media (max-width: 1099px) { .site-nav-links { display: none; } }

.site-nav-right { display: flex; align-items: center; gap: 10px; }

/* ── Lang toggle (pill) ────────────────────────────────────────── */
.lang-toggle {
  display: inline-flex;
  background: var(--lc-navy-2);
  border: 1px solid var(--lc-line);
  border-radius: 999px;
  padding: 3px;
}
.lang-btn {
  padding: 4px 10px;
  border: none; background: transparent; cursor: pointer;
  border-radius: 999px;
  font-family: var(--font-display); font-size: 11px; font-weight: 700;
  letter-spacing: 0.5px; text-transform: uppercase;
  color: var(--lc-mute);
}
.lang-btn.active { background: var(--lc-yellow); color: var(--lc-navy); }

/* ── Pill button ───────────────────────────────────────────────── */
.pill-btn {
  display: inline-block; padding: 11px 20px;
  border: none; border-radius: 999px;
  font-family: var(--font-display); font-size: 14px; font-weight: 700;
  white-space: nowrap; text-decoration: none; cursor: pointer;
}
.pill-btn.primary { background: var(--lc-yellow); color: var(--lc-navy); }
.pill-btn.ghost   { background: transparent; color: var(--lc-text);
                    border: 1px solid var(--lc-line); }
.pill-btn.sm      { padding: 7px 14px; font-size: 12px; }
.pill-btn.lg      { padding: 14px 24px; font-size: 15px; }

/* ── Editorial type ────────────────────────────────────────────── */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--lc-yellow); font-size: 11.5px;
  letter-spacing: 2px; text-transform: uppercase; font-weight: 700;
}
.eyebrow::before {
  content: ''; display: inline-block;
  width: 32px; height: 1px; background: var(--lc-yellow);
}
.kicker {
  color: var(--lc-yellow); font-size: 11px;
  letter-spacing: 2.5px; text-transform: uppercase; font-weight: 700;
}
.meta-label {
  color: var(--lc-mute-d); font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase;
}

.editorial-h1 {
  font-size: clamp(48px, 9vw, 120px);
  font-weight: 900; line-height: 0.88;
  letter-spacing: -3px;
  text-transform: uppercase;
  margin: 0;
}
.editorial-h2 {
  font-size: clamp(36px, 6vw, 72px);
  font-weight: 900; line-height: 0.9;
  letter-spacing: -2px;
  text-transform: uppercase;
  margin: 0;
}
.editorial-h3 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 900; line-height: 0.95;
  letter-spacing: -1.2px;
  text-transform: uppercase;
  margin: 0;
}
.italic-yellow {
  color: var(--lc-yellow); font-style: italic;
}

/* ── Masthead strip ────────────────────────────────────────────── */
.masthead {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 24px 0;
  border-bottom: 1px solid var(--lc-line);
  color: var(--lc-mute-d);
  font-size: 11px; letter-spacing: 2px; text-transform: uppercase;
}
.masthead span { flex: 0 1 auto; }
@media (max-width: 767px) { .masthead { display: none; } }

/* ── Page hero ─────────────────────────────────────────────────── */
.page-hero {
  padding: 40px 0 60px;
}
.page-hero .eyebrow { margin-bottom: 24px; }
.page-hero p.lede {
  color: var(--lc-mute); font-size: 18px; line-height: 1.55;
  margin-top: 24px; max-width: 640px;
}

/* ── Section ───────────────────────────────────────────────────── */
.section {
  padding: 60px 0;
  border-top: 1px solid var(--lc-line);
}
.section-head {
  display: grid; grid-template-columns: 1fr 2fr; gap: 60px;
  align-items: start;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--lc-line);
  margin-bottom: 32px;
}
@media (max-width: 767px) {
  .section-head { grid-template-columns: 1fr; gap: 20px; }
}
.section-head .editorial-h3 { color: var(--lc-text); }
.section-head .lede {
  color: var(--lc-mute); font-size: 16px; line-height: 1.55; margin: 0;
}

/* ── Body content typography (long-form pages) ─────────────────── */
.prose { color: var(--lc-text); max-width: 720px; margin: 0 auto; }
.prose h2 {
  font-family: var(--font-display);
  font-size: 24px; font-weight: 800; letter-spacing: -0.4px;
  text-transform: uppercase;
  margin: 48px 0 16px;
  padding-bottom: 12px; border-bottom: 1px solid var(--lc-line);
  color: var(--lc-text);
}
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li {
  font-size: 16px; line-height: 1.7; color: var(--lc-text);
}
.prose p { margin: 0 0 16px; }
.prose p.mute { color: var(--lc-mute); }
.prose ul { list-style: none; padding: 0; margin: 0 0 16px; }
.prose li {
  position: relative; padding: 8px 0 8px 24px;
  border-top: 1px solid var(--lc-line);
}
.prose li:last-child { border-bottom: 1px solid var(--lc-line); }
.prose li::before {
  content: '·'; position: absolute; left: 6px; top: 6px;
  color: var(--lc-yellow); font-weight: 900; font-size: 22px;
}
.prose li strong { color: var(--lc-yellow); font-weight: 700;
                   letter-spacing: 0.2px; margin-right: 6px; }
.prose a { color: var(--lc-yellow); text-decoration: none;
           border-bottom: 1px solid var(--lc-yellow); padding-bottom: 1px; }
.prose a:hover { color: var(--lc-yellow-d); border-bottom-color: var(--lc-yellow-d); }
.prose .updated {
  margin-top: 56px; color: var(--lc-mute-d);
  font-family: var(--font-mono); font-size: 12px;
  letter-spacing: 1.2px; text-transform: uppercase;
}

/* ── Site footer ──────────────────────────────────────────────────
   Two-block layout per the v2 footer spec:
   Block 1: big GADVERDAMME wordmark, Outfit 900, yellow, uppercase,
            centered, single line. Scale: 28 / 64 / 96 px with
            letter-spacing -1 / -2.5 / -4.
   Block 2: meta row — 3 text links left, version right, all muteD
            11px uppercase. Hairline rule between blocks.
   ─────────────────────────────────────────────────────────────── */
.site-footer {
  border-top: 1px solid var(--lc-line);
  padding: 70px 80px 40px;
  display: flex; flex-direction: column; gap: 36px;
  color: var(--lc-mute-d);
}
@media (max-width: 1099px) { .site-footer { padding: 60px 48px 36px; } }
@media (max-width: 767px)  { .site-footer { padding: 40px 20px 28px;
                                            gap: 24px; } }

/* v0.17: wordmark + italic tagline wrapper. Sits as a single block
   above the meta row; tagline reads as the "what you say when you see
   one" exclamation under the brand. */
.site-footer-mark {
  display: flex; flex-direction: column; align-items: center;
  gap: 10px; text-align: center;
}
@media (max-width: 767px) { .site-footer-mark { gap: 6px; } }

.site-footer-wordmark {
  display: block;
  color: var(--lc-yellow);
  font-family: var(--font-display);
  font-weight: 900;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  font-size: 96px;
  letter-spacing: -4px;
  line-height: 1;
}
@media (max-width: 1099px) { .site-footer-wordmark { font-size: 64px;
                                                     letter-spacing: -2.5px; } }
@media (max-width: 767px)  { .site-footer-wordmark { font-size: 28px;
                                                     letter-spacing: -1px; } }

.site-footer-tagline {
  color: var(--lc-text);
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.6px;
  font-size: 44px;
}
@media (min-width: 1440px) { .site-footer-tagline { font-size: 52px; } }
@media (max-width: 1099px) { .site-footer-tagline { font-size: 36px; } }
@media (max-width: 767px)  { .site-footer-tagline { font-size: 20px; } }

/* v0.7: single centered meta row — Privacy · Beta · Reports · version.
   Flat children (anchors, dot separators, version) laid out in one
   centered flex line. */
.site-footer-meta {
  display: flex; flex-wrap: wrap; gap: 14px;
  align-items: center; justify-content: center;
  padding-top: 24px;
  border-top: 1px solid var(--lc-line);
  font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--lc-mute-d);
}
.site-footer-meta a { color: var(--lc-mute-d); text-decoration: none; }
.site-footer-meta a:hover { color: var(--lc-yellow); }
.site-footer-meta .dot { color: rgba(136, 174, 195, 0.3); }
.site-footer-meta .version { opacity: 0.7; }
/* .center kept as a no-op alias — both FooterC + site-shell.js still add it. */
.site-footer-meta.center { justify-content: center; }
