/* Wingman static site — shared document design system.
   Used by index.html, privacy.html, terms.html, support.html.
   trip-share.html has its own design (a live status page, not a
   document) and intentionally does not use this file. */

/* Self-hosted instead of @import from fonts.googleapis.com -- loading
   fonts directly from Google's servers on every page view sends each
   visitor's IP to Google before they've agreed to anything, which is
   exactly what's driven real GDPR enforcement letters in Germany over
   this specific pattern. Both families ship as variable fonts, so one
   file per family covers the whole 400-700 weight range actually used
   here -- just the latin subset, matching this site's English-only
   audience. */
@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("fonts/source-sans-3-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Source Serif 4";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("fonts/source-serif-4-latin.woff2") format("woff2");
}

/* Committed to Wingman's dark/gold brand look everywhere -- same choice
   made for the printed President's Guide, not a toggleable theme. */
:root {
  --bg: #0a0908;
  --surface: #161310;
  --surface-2: #1d1812;
  --border: #332a1e;
  --fg: #f2ede3;
  --muted: #a79c8a;
  --accent: #cfa054;
  --accent-fg: #151008;
  --danger: #e2685a;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  background: var(--bg);
  color: var(--fg);
  font-family: "Source Sans 3", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  padding-inline: 20px;
  padding-block: 40px 80px;
}
h1, h2, h3 {
  font-family: "Source Serif 4", Georgia, "Times New Roman", serif;
  font-weight: 600;
  color: var(--fg);
  text-wrap: balance;
}
.page { max-width: 720px; margin-inline: auto; }

/* Masthead */
.masthead { border-bottom: 1px solid var(--border); padding-bottom: 28px; margin-bottom: 28px; }
.eyebrow {
  font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent); margin: 0 0 10px;
}
h1.title { font-size: clamp(28px, 6vw, 38px); margin: 0 0 12px; line-height: 1.15; }
.meta-row { display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; font-size: 14px; color: var(--muted); }
.updated-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--surface-2); border: 1px solid var(--border); border-radius: 999px;
  padding: 5px 12px 5px 10px; font-size: 13px; color: var(--fg);
}
.updated-badge svg { width: 13px; height: 13px; flex: none; color: var(--accent); }

.back-link {
  display: inline-flex; align-items: center; gap: 6px; color: var(--muted);
  text-decoration: none; font-size: 14px; margin-bottom: 20px;
}
.back-link:hover { color: var(--accent); }

/* Notice / callout boxes */
.notice {
  background: var(--surface-2); border: 1px solid var(--border); border-left: 3px solid var(--accent);
  border-radius: 10px; padding: 16px 18px; font-size: 14.5px; color: var(--muted); margin-bottom: 32px;
}
.notice strong { color: var(--fg); }

.callout { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 16px 18px; margin: 16px 0; }
.callout.safety { border-left: 3px solid var(--danger); }
.callout.safety strong { color: var(--danger); }
.callout.money { border-left: 3px solid var(--accent); }
.callout p:last-child { margin-bottom: 0; }

/* Table of contents */
nav.toc { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 20px 22px; margin-bottom: 40px; }
nav.toc .toc-label { font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin: 0 0 12px; }
nav.toc ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 20px; }
@media (max-width: 480px) { nav.toc ol { grid-template-columns: 1fr; } }
nav.toc a { display: flex; gap: 8px; color: var(--fg); text-decoration: none; font-size: 14.5px; padding: 4px 0; border-bottom: 1px solid transparent; }
nav.toc a:hover { border-bottom-color: var(--accent); }
nav.toc a .n { color: var(--accent); font-variant-numeric: tabular-nums; min-width: 1.4em; }

/* Sections */
section.doc-section { padding-top: 8px; margin-bottom: 40px; scroll-margin-top: 16px; }
h2.section-title {
  font-size: 21px; display: flex; align-items: baseline; gap: 10px; margin: 0 0 16px;
  padding-bottom: 10px; border-bottom: 1px solid var(--border);
}
h2.section-title .num { color: var(--accent); font-variant-numeric: tabular-nums; font-family: "Source Sans 3", sans-serif; font-weight: 700; font-size: 15px; }
h3.sub-title { font-size: 15.5px; font-family: "Source Sans 3", sans-serif; font-weight: 700; color: var(--accent); margin: 22px 0 8px; }
p { margin: 0 0 14px; max-width: 68ch; }
ul, ol.plain { margin: 0 0 14px; padding-left: 22px; }
ul li, ol.plain li { margin-bottom: 6px; max-width: 64ch; }
a.inline-link { color: var(--accent); }

/* Exposure/compare tables */
table.exposure { width: 100%; border-collapse: collapse; font-size: 14px; margin: 10px 0 18px; }
table.exposure th, table.exposure td { text-align: left; padding: 9px 10px; border-bottom: 1px solid var(--border); vertical-align: top; }
table.exposure th { color: var(--muted); font-weight: 600; font-size: 12px; letter-spacing: 0.04em; text-transform: uppercase; }
.yes { color: var(--accent); font-weight: 600; }
.no { color: var(--muted); }
.table-wrap { overflow-x: auto; }

/* FAQ cards (support page) */
.faq-card { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 16px 18px; margin-bottom: 12px; }
.faq-q { font-family: "Source Sans 3", sans-serif; font-weight: 700; font-size: 15px; color: var(--fg); margin: 0 0 6px; }
.faq-a { margin: 0; color: var(--muted); font-size: 14.5px; }
.faq-a a { color: var(--accent); }

/* Landing page link cards */
.link-grid { display: grid; gap: 12px; margin-top: 8px; }
a.link-card {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  background: var(--surface); border: 1px solid var(--border); border-radius: 12px;
  padding: 16px 18px; color: var(--fg); text-decoration: none;
}
a.link-card:hover { border-color: var(--accent); }
a.link-card .label { font-family: "Source Sans 3", sans-serif; font-weight: 700; font-size: 15.5px; }
a.link-card .arrow { color: var(--accent); font-size: 18px; }

footer.doc-footer { border-top: 1px solid var(--border); margin-top: 48px; padding-top: 20px; font-size: 13.5px; color: var(--muted); }
