@font-face { font-family: Poppins; font-weight: 400; font-display: swap; src: url("/assets/fonts/poppins-latin-400.woff2") format("woff2"); }
@font-face { font-family: Poppins; font-weight: 500; font-display: swap; src: url("/assets/fonts/poppins-latin-500.woff2") format("woff2"); }
@font-face { font-family: Poppins; font-weight: 600; font-display: swap; src: url("/assets/fonts/poppins-latin-600.woff2") format("woff2"); }
@font-face { font-family: Poppins; font-weight: 700; font-display: swap; src: url("/assets/fonts/poppins-latin-700.woff2") format("woff2"); }
@font-face { font-family: Poppins; font-weight: 800; font-display: swap; src: url("/assets/fonts/poppins-latin-800.woff2") format("woff2"); }

/* Work-in-progress screen: black and red (Erik, 2026-11-10). Brand yellow stays in the wordmark only. */
:root {
  --bg: #0A0A0A;
  --fg: #F5F2ED;
  --muted: #A39E96;
  --line: #2A2626;
  --red: #E5242F;
  --red-dark: #B5141E;
  --red-text: #FF5A61;
  --brand-yellow: #EAC502;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--bg); }
body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--fg);
  font-family: Poppins, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
:focus-visible { outline: 3px solid var(--red-text); outline-offset: 3px; border-radius: 12px; }

.wrap {
  width: 100%;
  max-width: 40rem;
  margin: 0 auto;
  padding-left: max(16px, env(safe-area-inset-left));
  padding-right: max(16px, env(safe-area-inset-right));
}

/* Thin red warning stripe across the top */
.stripe {
  height: 8px;
  background: repeating-linear-gradient(-45deg, var(--red) 0 16px, var(--bg) 16px 32px);
  margin-top: env(safe-area-inset-top);
}

main { flex: 1; display: flex; align-items: center; }
.wip { width: 100%; padding: 40px 0; text-align: center; }

.brand { display: inline-flex; flex-direction: column; align-items: center; gap: 12px; text-decoration: none; margin-bottom: 40px; }
.brand img { width: 88px; height: 88px; }
.wordmark { font-size: 24px; font-weight: 700; line-height: 1; letter-spacing: -0.01em; white-space: nowrap; }
.wordmark span { font-weight: 800; color: var(--brand-yellow); }

.wip .status {
  display: inline-flex; align-items: center; gap: 8px;
  margin: 0 0 16px; padding: 6px 14px;
  border: 1px solid var(--red); border-radius: 999px;
  color: var(--red-text); font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
}
.wip .status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px rgba(229, 36, 47, .25); }

.wip h1 { margin: 0 auto 16px; max-width: 16ch; font-size: 32px; line-height: 1.15; font-weight: 800; letter-spacing: -0.01em; }
.wip p { margin: 0 auto 32px; max-width: 30ch; font-size: 17px; color: var(--muted); }
.wip p strong { color: var(--fg); font-weight: 700; white-space: nowrap; }

.cta {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  width: 100%; max-width: 340px; min-height: 56px; padding: 12px 16px;
  border-radius: 16px; background: var(--red); color: #FFFFFF;
  font-size: 17px; font-weight: 700; text-decoration: none; white-space: nowrap;
  box-shadow: 0 4px 0 var(--red-dark);
  transition: transform .12s ease, box-shadow .12s ease;
}
.cta:hover { background: var(--red-dark); }
.cta:active { transform: translateY(2px); box-shadow: 0 2px 0 var(--red-dark); }
.cta svg { width: 24px; height: 24px; flex: none; }
.ctas { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.cta-secondary { background: transparent; color: var(--fg); border: 2px solid var(--red); box-shadow: none; }
.cta-secondary:hover { background: rgba(229, 36, 47, .15); }
.cta-secondary:active { transform: translateY(1px); box-shadow: none; }

/* Legal pages */
.legal { margin: 24px 0 48px; text-align: left; }
.legal h1 { font-size: 28px; line-height: 1.2; font-weight: 800; margin: 0 0 8px; }
.legal h3 { font-size: 18px; line-height: 1.4; font-weight: 700; margin: 32px 0 8px; }
.legal .updated { color: var(--muted); font-size: 14px; margin: 0 0 24px; }
.legal ul { padding-left: 20px; }
.back { display: inline-flex; align-items: center; min-height: 48px; font-weight: 600; color: var(--red-text); }
.legal-header { border-bottom: 1px solid var(--line); }
.legal-header .wrap { height: 64px; display: flex; align-items: center; }
.legal-header .brand { flex-direction: row; margin: 0; min-height: 48px; }
.legal-header .brand img { width: 40px; height: 40px; }
.legal-header .wordmark { font-size: 20px; }

.site-footer { padding: 16px 0 calc(16px + env(safe-area-inset-bottom)); }
.site-footer nav { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; }
.site-footer nav a {
  display: inline-flex; align-items: center; min-height: 48px; padding: 0 12px;
  font-size: 13px; color: var(--muted); text-decoration: none; border-radius: 12px;
}
.site-footer nav a:hover { color: var(--fg); }

@media (max-width: 360px) {
  .wip { padding: 16px 0; }
  .brand { margin-bottom: 20px; gap: 8px; }
  .brand img { width: 64px; height: 64px; }
  .wip h1 { font-size: 26px; }
  .wip p { font-size: 16px; margin-bottom: 24px; }
  .cta { font-size: 16px; }
}
@media (min-width: 768px) {
  .wip h1 { font-size: 44px; }
  .wip p { font-size: 19px; }
}
@media (prefers-reduced-motion: reduce) { .cta { transition: none; } }
