@font-face {
  font-family: "Press Start 2P";
  src: url("/assets/press-start-2p.ttf") format("truetype");
  font-display: swap;
}

:root {
  --ink: #f3eada;
  --muted: #b4b7a4;
  --night: #101612;
  --panel: #1a231c;
  --panel-2: #222c23;
  --line: #495343;
  --red: #d64232;
  --red-dark: #8f271f;
  --yellow: #e7b851;
  --sage: #8ba07f;
  --max: 1180px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  background:
    linear-gradient(rgba(139, 160, 127, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(139, 160, 127, .035) 1px, transparent 1px),
    var(--night);
  background-size: 32px 32px;
  color: var(--ink);
  font: 400 1rem/1.7 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a { color: inherit; }
img { max-width: 100%; display: block; }
.wrap { width: min(calc(100% - 40px), var(--max)); margin: 0 auto; }
.pixel { font-family: "Press Start 2P", monospace; }
.eyebrow {
  color: var(--yellow);
  font: .72rem/1.7 "Press Start 2P", monospace;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  border-bottom: 1px solid rgba(139, 160, 127, .28);
  background: rgba(16, 22, 18, .92);
  backdrop-filter: blur(14px);
}
.nav { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 43px; height: 43px; border: 2px solid var(--line); border-radius: 6px; }
.brand span { font: .78rem/1.5 "Press Start 2P", monospace; }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a { color: var(--muted); font-weight: 750; text-decoration: none; }
.nav-links a:hover, .nav-links a:focus-visible, .nav-links a[aria-current="page"] { color: var(--ink); }

.hero { position: relative; overflow: hidden; padding: 92px 0 88px; }
.hero::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background: radial-gradient(circle at 80% 20%, rgba(214, 66, 50, .16), transparent 29%), linear-gradient(135deg, transparent 68%, rgba(139, 160, 127, .06));
}
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 70px; align-items: center; }
.hero h1 { max-width: 760px; margin: 24px 0 24px; font: clamp(2.25rem, 5.9vw, 5.4rem)/1.08 "Press Start 2P", monospace; letter-spacing: -.055em; text-wrap: balance; }
.hero .lead { max-width: 630px; margin: 0 0 34px; color: #d2d2c4; font-size: clamp(1.06rem, 2vw, 1.28rem); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 2px solid var(--red);
  background: var(--red);
  box-shadow: 4px 4px 0 var(--red-dark);
  color: #fff;
  font: .7rem/1.4 "Press Start 2P", monospace;
  text-decoration: none;
  text-transform: uppercase;
}
.button:hover, .button:focus-visible { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--red-dark); }
.button.secondary { border-color: var(--line); background: transparent; box-shadow: 4px 4px 0 #0a0e0b; color: var(--ink); }

.hero-dossier { position: relative; max-width: 430px; margin-left: auto; padding: 30px; border: 2px solid #718069; background: linear-gradient(145deg, #222c23, #151b16); box-shadow: 18px 18px 0 rgba(73, 83, 67, .22); }
.hero-dossier::before { position: absolute; inset: 10px; border: 1px dashed rgba(139, 160, 127, .35); content: ""; pointer-events: none; }
.dossier-top { position: relative; display: flex; justify-content: space-between; gap: 16px; color: var(--muted); font: .58rem/1.6 "Press Start 2P", monospace; }
.dossier-alert { position: relative; margin: 48px 0 38px; color: var(--red); font-size: clamp(1.55rem, 4vw, 2.65rem); line-height: 1.35; letter-spacing: -.04em; }
.hero-dossier dl { position: relative; margin: 0; }
.hero-dossier dl div { display: grid; grid-template-columns: 96px 1fr; gap: 18px; padding: 16px 0; border-top: 1px solid var(--line); }
.hero-dossier dt { color: var(--yellow); font: .56rem/1.6 "Press Start 2P", monospace; }
.hero-dossier dd { margin: 0; color: var(--ink); font: .62rem/1.7 "Press Start 2P", monospace; }
.field-note { position: absolute; right: -26px; bottom: 42px; padding: 13px 16px; border: 1px solid var(--yellow); background: #171d18; color: var(--yellow); font: .62rem/1.6 "Press Start 2P", monospace; }

.section { padding: 96px 0; border-top: 1px solid rgba(139, 160, 127, .18); }
.section-heading { display: flex; justify-content: space-between; gap: 40px; align-items: end; margin-bottom: 44px; }
.section h2 { max-width: 780px; margin: 12px 0 0; font: clamp(1.55rem, 3.2vw, 2.8rem)/1.35 "Press Start 2P", monospace; letter-spacing: -.035em; }
.section-heading p { max-width: 420px; margin: 0; color: var(--muted); }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature { min-height: 245px; padding: 28px; border: 1px solid var(--line); background: linear-gradient(145deg, var(--panel), #151b16); }
.feature .number { color: var(--red); font: .72rem/1 "Press Start 2P", monospace; }
.feature h3 { margin: 44px 0 16px; font: .82rem/1.55 "Press Start 2P", monospace; }
.feature p { margin: 0; color: var(--muted); }

.manifesto { display: grid; grid-template-columns: 1fr 1fr; gap: 54px; align-items: center; }
.stat-list { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; background: var(--line); border: 1px solid var(--line); }
.stat { min-height: 130px; padding: 24px; background: var(--panel); }
.stat strong { display: block; color: var(--yellow); font: 1.25rem/1.3 "Press Start 2P", monospace; }
.stat span { display: block; margin-top: 12px; color: var(--muted); }
.manifesto p { color: var(--muted); }

.legal-hero { padding: 82px 0 44px; }
.legal-hero h1 { max-width: 900px; margin: 20px 0 22px; font: clamp(2rem, 5vw, 4.5rem)/1.15 "Press Start 2P", monospace; letter-spacing: -.05em; }
.legal-hero p { max-width: 700px; color: var(--muted); font-size: 1.08rem; }
.legal-layout { display: grid; grid-template-columns: 250px 1fr; gap: 68px; align-items: start; padding: 24px 0 100px; }
.legal-nav { position: sticky; top: 108px; padding: 20px; border: 1px solid var(--line); background: var(--panel); }
.legal-nav strong { display: block; margin-bottom: 14px; font: .66rem/1.6 "Press Start 2P", monospace; }
.legal-nav a { display: block; padding: 7px 0; color: var(--muted); text-decoration: none; }
.legal-nav a:hover, .legal-nav a:focus-visible { color: var(--yellow); }
.prose { min-width: 0; }
.prose section { padding: 0 0 36px; scroll-margin-top: 110px; }
.prose h2 { margin: 0 0 14px; font: .9rem/1.6 "Press Start 2P", monospace; }
.prose p, .prose li { color: #c8c9bb; }
.prose a { color: var(--yellow); text-underline-offset: 3px; }
.prose li + li { margin-top: 8px; }
.callout { margin: 0 0 38px; padding: 22px 24px; border-left: 4px solid var(--red); background: var(--panel); }
.callout p { margin: 0; }

.support-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; padding: 22px 0 100px; }
.support-card { padding: 30px; border: 1px solid var(--line); background: var(--panel); }
.support-card.wide { grid-column: 1 / -1; }
.support-card h2 { margin: 0 0 14px; font: .88rem/1.6 "Press Start 2P", monospace; }
.support-card p { color: var(--muted); }
.steps { margin: 22px 0 0; padding-left: 20px; }
.steps li + li { margin-top: 12px; }
.mail { overflow-wrap: anywhere; color: var(--yellow); font-weight: 800; }

.site-footer { padding: 38px 0; border-top: 1px solid var(--line); background: #0c110d; }
.footer-grid { display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.footer-brand { display: flex; gap: 14px; align-items: center; color: var(--muted); }
.footer-brand img { width: 38px; border-radius: 5px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 22px; }
.footer-links a { color: var(--muted); text-decoration: none; }
.footer-links a:hover, .footer-links a:focus-visible { color: var(--ink); }

:focus-visible { outline: 3px solid var(--yellow); outline-offset: 4px; }
@media (max-width: 840px) {
  .hero { padding-top: 58px; }
  .hero-grid, .manifesto, .legal-layout { grid-template-columns: 1fr; }
  .hero-dossier { width: min(92%, 430px); margin: 22px auto 0; }
  .section-heading { display: block; }
  .section-heading p { margin-top: 18px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature { min-height: 0; }
  .feature h3 { margin-top: 28px; }
  .legal-nav { display: none; }
}
@media (max-width: 620px) {
  .wrap { width: min(calc(100% - 28px), var(--max)); }
  .nav { min-height: 68px; }
  .brand span { font-size: .61rem; }
  .nav-links { gap: 14px; }
  .nav-links a:first-child { display: none; }
  .nav-links a { font-size: .87rem; }
  .hero { padding-bottom: 68px; }
  .hero h1 { font-size: clamp(2.2rem, 12vw, 3.6rem); }
  .field-note { right: -8px; bottom: 24px; }
  .section { padding: 68px 0; }
  .support-grid { grid-template-columns: 1fr; }
  .support-card.wide { grid-column: auto; }
  .footer-grid { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

.lang-bar { display: flex; flex-wrap: wrap; gap: 6px 14px; padding-top: 0; padding-bottom: 12px; font-size: .78rem; }
.lang-bar a { color: var(--muted); text-decoration: none; }
.lang-bar a:hover, .lang-bar a[aria-current] { color: var(--yellow); }
