:root {
  --black: #080a09;
  --deep: #0d110f;
  --panel: #141916;
  --panel-2: #1a201c;
  --text: #e8eee8;
  --muted: #8e9a90;
  --line: #303a33;
  --acid: #c8ff2e;
  --orange: #ff5c35;
  --shell: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background: var(--black);
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
a:focus-visible { outline: 2px solid var(--acid); outline-offset: 4px; }
.shell { width: min(calc(100% - 44px), var(--shell)); margin-inline: auto; }
.skip-link { position: fixed; left: 16px; top: 12px; z-index: 100; padding: 10px 14px; color: var(--black); background: var(--acid); transform: translateY(-180%); }
.skip-link:focus { transform: translateY(0); }

.site-header { position: absolute; inset: 0 0 auto; z-index: 10; border-bottom: 1px solid rgba(255,255,255,.13); }
.header-inner { min-height: 82px; display: grid; grid-template-columns: 1fr auto 1fr; gap: 34px; align-items: center; }
.logo { display: inline-block; width: max-content; color: var(--text); font-weight: 900; font-size: 1.25rem; letter-spacing: -.07em; text-decoration: none; }
.logo span { color: var(--acid); }
.logo i { color: var(--orange); font-style: normal; }
nav { display: flex; gap: 26px; }
nav a, .footer-links a { color: var(--muted); font-size: .72rem; font-weight: 700; letter-spacing: .11em; text-decoration: none; }
nav a:hover, .footer-links a:hover { color: var(--acid); }
.version { justify-self: end; color: var(--orange); font-size: .63rem; font-weight: 700; letter-spacing: .11em; }

.hero { position: relative; overflow: hidden; padding-top: 82px; background-color: var(--deep); background-image: linear-gradient(rgba(200,255,46,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(200,255,46,.025) 1px, transparent 1px); background-size: 42px 42px; }
.noise { position: absolute; inset: 0; pointer-events: none; opacity: .26; background: repeating-linear-gradient(0deg, transparent 0 3px, rgba(255,255,255,.016) 3px 4px); }
.hero-grid { position: relative; min-height: 760px; display: grid; grid-template-columns: 1.1fr .9fr; gap: 72px; align-items: center; padding-block: 82px 72px; }
.system-label { margin: 0 0 18px; color: var(--acid); font-size: .7rem; font-weight: 800; letter-spacing: .17em; }
h1, h2, h3, p { overflow-wrap: break-word; }
h1 { max-width: 780px; margin: 0; font-size: clamp(3.4rem, 7.4vw, 7.2rem); line-height: .9; letter-spacing: -.075em; }
h1 em, h2 em { color: var(--orange); font-style: normal; }
.intro { max-width: 690px; margin: 30px 0 32px; color: #bbc5bc; font-size: 1.02rem; }
.button-row { display: flex; flex-wrap: wrap; gap: 10px; }
.button { min-height: 50px; display: inline-flex; align-items: center; justify-content: space-between; gap: 20px; padding: 13px 18px; border: 1px solid var(--line); color: var(--text); background: transparent; font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-decoration: none; }
.button:hover { color: var(--black); background: var(--acid); border-color: var(--acid); }
.button.solid { color: var(--black); background: var(--text); border-color: var(--text); }
.button.outline:hover { color: var(--text); background: var(--orange); border-color: var(--orange); }
.button.acid { color: var(--black); background: var(--acid); border-color: var(--acid); }
.button.acid:hover { background: var(--text); border-color: var(--text); }

.source-terminal { position: relative; border: 1px solid var(--line); background: rgba(8,10,9,.83); box-shadow: 22px 22px 0 rgba(200,255,46,.055); }
.terminal-head, .terminal-foot { display: flex; justify-content: space-between; gap: 20px; padding: 12px 14px; color: var(--muted); background: #0a0d0b; border-bottom: 1px solid var(--line); font-size: .58rem; letter-spacing: .08em; }
.terminal-foot { border-top: 1px solid var(--line); border-bottom: 0; color: var(--acid); }
.source-row { display: grid; grid-template-columns: 54px 1fr; min-height: 128px; border-bottom: 1px solid var(--line); }
.source-row.active { background: var(--panel-2); }
.source-id { display: grid; place-items: center; color: var(--muted); border-right: 1px solid var(--line); font-size: .66rem; }
.source-row div { display: flex; flex-direction: column; justify-content: center; padding: 19px 22px; }
.source-row b { color: var(--acid); font-size: .62rem; letter-spacing: .12em; }
.source-row strong { margin: 4px 0 7px; font-size: .9rem; }
.source-row small { color: var(--muted); font-size: .58rem; }
.status-band { position: relative; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--orange); color: var(--black); }
.status-inner { display: grid; grid-template-columns: 210px 1fr; gap: 34px; align-items: center; min-height: 84px; padding-block: 16px; }
.status-inner b { font-size: .7rem; letter-spacing: .08em; }
.status-inner p { margin: 0; font-size: .7rem; line-height: 1.5; }

.section { padding: 112px 0; }
.black { background: var(--black); }
.dark { background: var(--deep); }
.split-head, .section-title-row { display: grid; grid-template-columns: .95fr 1.05fr; gap: 90px; align-items: end; }
.split-head > *, .section-title-row > *, .manifesto-grid > *, .survey-box > *, .legal-layout > * { min-width: 0; }
h2 { margin: 0; overflow-wrap: normal; word-break: normal; hyphens: none; font-size: clamp(2.35rem, 4.4vw, 4.4rem); line-height: .94; letter-spacing: -.065em; }
.large-copy, .section-title-row > p { max-width: 660px; margin: 0; color: var(--muted); font-size: 1.08rem; }
.issue-grid { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 72px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.issue-grid article { min-height: 240px; padding: 28px 30px 32px 0; }
.issue-grid article + article { padding-left: 30px; border-left: 1px solid var(--line); }
.issue-grid span, .people-list > article > span { color: var(--orange); font-size: .64rem; font-weight: 800; letter-spacing: .12em; }
.issue-grid h3, .people-list h3 { margin: 24px 0 10px; font-size: 1rem; letter-spacing: .04em; }
.issue-grid p, .people-list p { margin: 0; color: var(--muted); font-size: .86rem; }

.flow { margin-top: 72px; border-top: 1px solid var(--line); }
.flow article { min-height: 160px; display: grid; grid-template-columns: 80px 1fr 50px; gap: 26px; align-items: center; border-bottom: 1px solid var(--line); }
.flow-no { color: var(--acid); font-size: 1.45rem; font-weight: 900; }
.flow article div { display: grid; grid-template-columns: 90px 1fr 1.4fr; gap: 28px; align-items: center; }
.flow article p { color: var(--orange); font-size: .58rem; font-weight: 800; letter-spacing: .12em; }
.flow article h3 { font-size: 1.03rem; letter-spacing: .02em; }
.flow article div > span { color: var(--muted); font-size: .83rem; }
.flow article i { color: var(--acid); font-style: normal; font-size: 1.8rem; }

.manifesto { background: var(--acid); color: var(--black); }
.manifesto-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 70px; padding-block: 96px; }
.manifesto .system-label { color: #3d4e10; }
.manifesto h2 { font-size: clamp(2.45rem, 5vw, 5rem); }
.manifesto h2 em { color: #8b230e; }
.manifesto ol { margin: 0; padding: 0; list-style: none; border-top: 1px solid rgba(8,10,9,.35); }
.manifesto li { display: grid; grid-template-columns: 48px 1fr; gap: 22px; padding: 22px 0; border-bottom: 1px solid rgba(8,10,9,.35); font-size: .82rem; }
.manifesto li b { font-size: 1rem; }

.people-head { align-items: center; }
.people-list { display: grid; grid-template-columns: repeat(2, 1fr); margin-top: 72px; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.people-list article { min-height: 200px; padding: 28px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.people-list h3 { margin-top: 18px; }
.survey { border-top: 1px solid var(--line); }
.survey-box { display: grid; grid-template-columns: 1.3fr .7fr; gap: 70px; align-items: center; padding: 58px; border: 1px solid var(--line); background: var(--panel); box-shadow: 16px 16px 0 rgba(255,92,53,.12); }
.survey-box h2 { font-size: clamp(2.4rem, 4.6vw, 4.4rem); }
.survey-box p:not(.system-label) { max-width: 700px; color: var(--muted); font-size: .9rem; }
.survey-action { justify-self: end; width: min(100%, 330px); display: grid; gap: 10px; }
.survey-action .button { width: 100%; }
.survey-action > span { display: block; margin-top: 3px; color: var(--muted); font-size: .56rem; letter-spacing: .07em; }
.return-mail { border-color: var(--orange); }
.return-mail:hover { color: var(--black); background: var(--orange); border-color: var(--orange); }
.return-steps { display: grid; margin-bottom: 8px; border-top: 1px solid var(--line); }
.return-steps span { display: grid; grid-template-columns: 32px 1fr; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line); color: var(--muted); font-size: .62rem; letter-spacing: .03em; }
.return-steps b { color: var(--acid); }

.site-footer { padding: 42px 0; border-top: 1px solid var(--line); background: #050605; }
.footer-grid { display: grid; grid-template-columns: 1fr auto 1fr; gap: 42px; align-items: center; }
.footer-logo { font-size: 1rem; }
.footer-grid p, .footer-meta { margin: 7px 0 0; color: var(--muted); font-size: .58rem; letter-spacing: .06em; }
.footer-links { display: flex; gap: 24px; }
.footer-meta { justify-self: end; text-align: right; }

.legal-main { min-height: 75vh; padding: 150px 0 100px; background-color: var(--deep); background-image: linear-gradient(rgba(200,255,46,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(200,255,46,.025) 1px, transparent 1px); background-size: 42px 42px; }
.legal-layout { display: grid; grid-template-columns: .65fr 1.35fr; gap: 90px; align-items: start; }
.legal-layout h1 { font-size: clamp(2.7rem, 6vw, 5.8rem); }
.legal-content { padding: 30px; border: 1px solid var(--line); background: rgba(8,10,9,.88); }
.legal-content section { padding: 26px 0; border-bottom: 1px solid var(--line); }
.legal-content section:first-child { padding-top: 0; }
.legal-content section:last-child { padding-bottom: 0; border-bottom: 0; }
.legal-content h2 { margin-bottom: 12px; color: var(--acid); font-size: .82rem; line-height: 1.4; letter-spacing: .08em; }
.legal-content p, .legal-content li { color: #b8c2b9; font-size: .82rem; }
.legal-content address { color: var(--text); font-style: normal; font-size: .9rem; }
.legal-content a { color: var(--acid); }
.legal-note { margin-top: 24px; padding: 16px; border-left: 3px solid var(--orange); color: var(--muted); background: var(--panel); font-size: .72rem; }

@media (max-width: 900px) {
  .header-inner { grid-template-columns: 1fr auto; }
  nav { display: none; }
  .hero-grid, .split-head, .section-title-row, .manifesto-grid, .survey-box, .legal-layout { grid-template-columns: 1fr; }
  .hero-grid { gap: 50px; }
  .status-inner { grid-template-columns: 1fr; gap: 4px; }
  .issue-grid { grid-template-columns: 1fr; }
  .issue-grid article { min-height: auto; padding: 26px 0; }
  .issue-grid article + article { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .flow article div { grid-template-columns: 1fr 1.6fr; }
  .flow article p { grid-column: 1 / -1; margin: 0; }
  .survey-action { justify-self: start; }
  .footer-grid { grid-template-columns: 1fr auto; }
  .footer-meta { grid-column: 1 / -1; justify-self: start; text-align: left; }
}

@media (max-width: 560px) {
  .shell { width: min(calc(100% - 28px), var(--shell)); }
  .site-header { position: absolute; }
  .header-inner { min-height: 70px; }
  .version { font-size: .52rem; }
  .hero { padding-top: 70px; }
  .hero-grid { min-height: auto; padding-block: 70px 55px; }
  h1 { font-size: clamp(2.9rem, 14.2vw, 4rem); }
  .intro { font-size: .88rem; }
  .button-row { display: grid; }
  .button { width: 100%; }
  .source-row { min-height: 112px; grid-template-columns: 44px 1fr; }
  .source-row div { padding: 16px; }
  .status-inner { padding-block: 18px; }
  .section { padding: 78px 0; }
  h2 { font-size: clamp(2rem, 9vw, 2.8rem); }
  .large-copy, .section-title-row > p { font-size: .92rem; }
  .issue-grid, .flow, .people-list { margin-top: 48px; }
  .flow article { grid-template-columns: 44px 1fr 22px; gap: 11px; padding-block: 24px; }
  .flow article div { display: block; }
  .flow article p { margin: 0 0 6px; }
  .flow article h3 { margin: 0 0 8px; }
  .manifesto-grid { padding-block: 72px; }
  .people-list { grid-template-columns: 1fr; }
  .people-list article { min-height: auto; }
  .survey-box { padding: 30px 22px; box-shadow: 8px 8px 0 rgba(255,92,53,.12); }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-links { flex-direction: column; gap: 10px; }
  .footer-meta { grid-column: auto; }
  .legal-main { padding: 120px 0 70px; }
  .legal-content { padding: 22px 18px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
