/* SGC OPs — the app's own small public site (support + privacy).
 *
 * Palette taken from the product, not invented: the navy ground and the gold of
 * the SGC mark (the app icon, assets/base/images/icon.png in the mobile fork).
 * One same-origin stylesheet, no web fonts, no script — the CSP in nginx.conf
 * allows exactly that, so adding a CDN or a tracker breaks visibly.
 */
:root {
  --ground:      #0b1626;
  --ground-lift: #13223a;
  --rule:        #22324d;
  --ink:         #e9edf3;
  --ink-dim:     #9aa8bc;
  --gold:        #c9a44e;
  --gold-bright: #e2c177;
  --measure:     68ch;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font: 16px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
        "Helvetica Neue", Arial, sans-serif;
  /* 16px side gutter at phone width; never a horizontal page scroll. */
  padding: 0 16px;
}

.wrap { max-width: var(--measure); margin: 0 auto; padding: 40px 0 96px; }

/* ---- masthead ---------------------------------------------------------- */

header.site { display: flex; align-items: center; gap: 12px; padding-bottom: 28px; flex-wrap: wrap; }

header.site img { width: 40px; height: 40px; flex: 0 0 40px; }

.wordmark { font-weight: 700; letter-spacing: 0.01em; font-size: 19px; }
.wordmark a { color: var(--ink); text-decoration: none; }

nav.site { margin-left: auto; display: flex; gap: 20px; font-size: 15px; }
/* 44px tap targets on a phone. */
nav.site a { color: var(--ink-dim); text-decoration: none; display: inline-block; padding: 12px 0; min-height: 44px; }
nav.site a:hover, nav.site a:focus-visible, nav.site a[aria-current="page"] { color: var(--gold-bright); }

/* ---- type -------------------------------------------------------------- */

h1 { font-size: 30px; line-height: 1.2; margin: 8px 0 12px; letter-spacing: -0.01em; }
h2 { font-size: 20px; margin: 40px 0 10px; padding-top: 22px; border-top: 1px solid var(--rule); color: var(--gold-bright); }
h3 { font-size: 16px; margin: 24px 0 6px; }

p, li { color: var(--ink); }
.lede { font-size: 17px; color: var(--ink); }
.meta { color: var(--ink-dim); font-size: 14px; }

a { color: var(--gold-bright); text-underline-offset: 3px; }
a:hover, a:focus-visible { color: var(--gold); }

ul { padding-left: 22px; }
li { margin: 4px 0; }

strong { color: #fff; }

/* ---- tables (what is collected) ---------------------------------------- */

.table { overflow-x: auto; margin: 12px 0 8px; border: 1px solid var(--rule); border-radius: 10px; }
table { border-collapse: collapse; width: 100%; font-size: 15px; }
th, td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--rule); }
th { color: var(--ink-dim); font-weight: 600; background: var(--ground-lift); }
tr:last-child td { border-bottom: 0; }

/* Phones: a three-column table is unreadable at 375px, so each row becomes a card. */
@media (max-width: 560px) {
  table, thead, tbody, tr, th, td { display: block; }
  thead { position: absolute; left: -9999px; }
  tr { padding: 10px 12px; border-bottom: 1px solid var(--rule); }
  tr:last-child { border-bottom: 0; }
  td { border: 0; padding: 2px 0; }
  td::before { content: attr(data-label); display: block; color: var(--ink-dim); font-size: 13px; font-weight: 600; }
}

.callout {
  background: var(--ground-lift);
  border: 1px solid var(--rule);
  border-left: 3px solid var(--gold);
  border-radius: 10px;
  padding: 14px 16px;
  margin: 16px 0;
}

footer.site { margin-top: 56px; padding-top: 18px; border-top: 1px solid var(--rule); color: var(--ink-dim); font-size: 14px; }
footer.site a { color: var(--ink-dim); }
