/* garbage.cards — the public placeholder pages (Direction A, "Spotlight").
 *
 * Matches the Garbage Republican Linktree: navy spotlight, drippy red wordmark
 * outlined in white, white pill links. Fonts are self-hosted so the pages make
 * no third-party requests (the privacy policy says visitors aren't tracked).
 */

@font-face {
  font-family: "Creepster";
  src: url("/fonts/creepster-400.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Archivo Black";
  src: url("/fonts/archivo-black-400.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Archivo";
  src: url("/fonts/archivo-variable.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --navy-deep: #0f1736;
  --navy: #172457;
  --blue: #2c4494;
  --spot: #5b7fd6;
  --red: #e3342b;
  --red-ink: #d62f27;
  --paper: #ffffff;
  --ink: #1b1f2e;
  --muted: #c9d3f5;
  --heading-blue: #1f3a8a;
}

* { box-sizing: border-box; }

html, body { margin: 0; min-height: 100%; }

body {
  font-family: "Archivo", "Helvetica Neue", Arial, sans-serif;
  color: #e8edff;
  background:
    radial-gradient(ellipse 70% 45% at 50% -5%, var(--spot) 0%, var(--blue) 38%, var(--navy) 70%, var(--navy-deep) 100%)
    var(--navy-deep);
  background-attachment: fixed;
  padding-block: 48px 64px;
  padding-inline: 20px;
}

.stars { position: fixed; inset: 0; pointer-events: none; overflow: hidden; }
.stars svg { position: absolute; fill: #8fa7ff; }

.page {
  position: relative;
  max-width: 560px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  text-align: center;
}
.page--doc { max-width: 680px; }

.wordmark {
  font-family: "Creepster", "Archivo Black", Impact, sans-serif;
  font-size: clamp(46px, 11vw, 84px);
  line-height: 0.95;
  letter-spacing: 0.02em;
  color: var(--red);
  text-decoration: none;
  text-shadow: -2px -2px 0 #fff, 2px -2px 0 #fff, -2px 2px 0 #fff, 2px 2px 0 #fff, 0 8px 18px rgba(0, 0, 0, 0.5);
}
.wordmark--small { font-size: clamp(40px, 9vw, 52px); }

.card-art {
  width: 150px;
  height: auto;
  border-radius: 8px;
  border: 4px solid #fff;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
  transform: rotate(-4deg);
}

.tagline { margin: 0; font-weight: 700; font-size: 20px; line-height: 1.35; color: #fff; text-wrap: balance; }
.lede { margin: 0; font-size: 16px; line-height: 1.6; color: var(--muted); text-wrap: pretty; }

.links { width: 100%; display: flex; flex-direction: column; gap: 12px; margin-top: 6px; }
.links--row { flex-direction: row; flex-wrap: wrap; }
.links--row .pill { flex: 1 1 200px; }

.pill {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding-inline: 20px;
  border-radius: 999px;
  background: var(--paper);
  color: var(--red-ink);
  font-family: "Archivo Black", Impact, sans-serif;
  font-size: 15px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
  transition: transform 120ms ease;
}
.pill:hover { transform: translateY(-2px); }
.pill:focus-visible { outline: 3px solid #ffd4cf; outline-offset: 3px; }

.doc {
  width: 100%;
  text-align: left;
  background: var(--paper);
  color: var(--ink);
  border-radius: 22px;
  padding: clamp(24px, 5vw, 44px);
  font-size: 16px;
  line-height: 1.65;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}
.doc h1 {
  margin: 0;
  font-family: "Archivo Black", Impact, sans-serif;
  font-weight: 400;
  font-size: clamp(28px, 5vw, 36px);
  line-height: 1.1;
  text-transform: uppercase;
  color: var(--red-ink);
}
.doc .updated { margin: 6px 0 10px; font-size: 13px; color: #6b7185; }
.doc h2 {
  margin: 22px 0 4px;
  font-family: "Archivo Black", Impact, sans-serif;
  font-weight: 400;
  font-size: 15px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--heading-blue);
}
.doc p { margin: 0 0 10px; text-wrap: pretty; }
.doc a { color: #b5261f; }
.doc a:hover { color: var(--ink); }
