:root {
  color-scheme: dark;
  --bg: #0c1115;
  --surface: #141b20;
  --field: #0e151a;
  --text: #f2eee4;
  --muted: #aab2b2;
  --rule: #2e3a40;
  --accent: #e9aa72;
  --red: #ed846e;
  --mono: "Cascadia Mono", "Consolas", monospace;
  font: 16px/1.57 "Segoe UI", system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: default; }
h1, h2, h3, p, dl { margin: 0; }
h2 { font-size: clamp(1.7rem, 3.1vw, 2.5rem); line-height: 1.12; letter-spacing: -.045em; }
h3 { font-size: 1.24rem; line-height: 1.3; }
img { display: block; width: 100%; }
::selection { background: var(--accent); color: var(--bg); }
:focus-visible { outline: 2px solid #ffd5a7; outline-offset: 4px; }
.skip { position: absolute; left: 1rem; top: 1rem; z-index: 3; background: var(--surface); padding: .65rem 1rem; transform: translateY(-150%); }
.skip:focus { transform: translateY(0); }
.wrap { width: min(1220px, calc(100% - 104px)); margin-inline: auto; }
.header { border-bottom: 1px solid var(--rule); background: #10161a; }
.header-inner { display: flex; align-items: center; gap: 3rem; min-height: 70px; }
.brand { display: inline-flex; align-items: center; gap: 13px; font-weight: 800; font-size: 1rem; letter-spacing: .07em; line-height: 1.14; }
.brand-caption { display: block; font: .62rem/1.6 var(--mono); color: var(--accent); letter-spacing: .23em; }
.brand-mark { width: 35px; height: 35px; border: 1px solid #b4734f; display: flex; align-items: center; justify-content: center; gap: 2px; }
.brand-mark i { width: 2px; height: 9px; background: var(--accent); }
.brand-mark i:nth-child(2), .brand-mark i:nth-child(4) { height: 15px; }
.brand-mark i:nth-child(3) { height: 22px; }
nav { margin-inline-start: auto; display: flex; gap: 1.6rem; font-size: .88rem; color: var(--muted); }
nav a:hover, .footer a:hover { color: var(--text); }
.lang { border: 1px solid var(--rule); display: flex; }
.lang button { min-height: 34px; padding: 0 .66rem; border: 0; background: transparent; color: var(--muted); font: .73rem var(--mono); }
.lang button[aria-pressed=true] { background: #2a251f; color: #ffd4ab; }
.hero {
  background-image: linear-gradient(90deg, #0c1115 0%, #0c1115d9 23%, #0c111578 44%, transparent 69%),
    linear-gradient(0deg, #0c1115 1%, #0c111533 23%, transparent 56%), url("media/station.webp");
  background-color: #171713;
  background-position: center, center, center 53%;
  background-size: cover;
  border-bottom: 1px solid var(--rule);
}
.hero-inner { min-height: 585px; display: flex; align-items: center; position: relative; }
.hero-copy { padding: 54px 0 40px; max-width: 620px; }
.eyebrow { font: 700 .74rem/1.4 var(--mono); text-transform: uppercase; letter-spacing: .17em; color: var(--accent); display: flex; align-items: center; gap: .6rem; }
.lamp { width: 7px; height: 7px; border-radius: 50%; background: var(--red); box-shadow: 0 0 10px #ed846e75; }
.hero h1 { font-size: clamp(5.25rem, 9.1vw, 8.45rem); font-weight: 900; letter-spacing: -.06em; line-height: .81; margin: 24px 0 24px -.07em; }
.hero-description { max-width: 415px; color: #e1e0d8; font-size: 1.06rem; line-height: 1.65; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 26px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: .85rem; min-height: 43px; padding: .55rem .94rem; font-size: .87rem; font-weight: 700; border: 1px solid transparent; border-radius: 3px; transition: color .15s, background .15s, border-color .15s; }
.primary { background: var(--accent); color: #1a1411; }
.primary:hover { background: #f6bf8a; }
.secondary { border-color: #766e66; background: #1a201bdd; color: var(--text); }
.secondary:hover { border-color: var(--accent); }
.inactive:disabled { background: #2a2724; border-color: #604d3a; color: #e2b28c; }
.spec-strip { margin: 26px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: .6rem 1rem; font: .73rem var(--mono); color: #c7cdca; letter-spacing: .08em; }
.spec-strip li + li::before { content: "/"; margin-right: 1rem; color: var(--accent); }
.image-caption { position: absolute; right: 0; bottom: 26px; color: #e1cab5; font: .69rem var(--mono); letter-spacing: .11em; }
.preview-banner { background: #191c1c; border-bottom: 1px solid var(--rule); color: #d8c7ad; font-size: .78rem; }
.preview-banner .wrap { min-height: 45px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.text-button { padding: 0; border: 0; color: #f3ba88; background: transparent; font-size: .82rem; text-decoration: underline; text-underline-offset: 3px; }
.text-button:hover { color: #ffd8ab; }
.briefing { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .91fr); gap: 5%; padding-block: 53px 42px; }
.briefing-copy h2 { margin: 9px 0 12px; }
.briefing-copy > p:not(.eyebrow) { max-width: 530px; color: var(--muted); }
.muted { color: var(--muted); }
.panel { border: 1px solid var(--rule); border-radius: 5px; background: var(--surface); padding: 23px; }
.access { border-top: 2px solid #a26544; }
.card-top, .section-heading, .hash-heading, .dialog-head { display: flex; align-items: center; justify-content: space-between; gap: .8rem; }
.card-top { margin-bottom: 10px; }
.tag { border: 1px solid #58463b; color: #fbcb9f; font: .68rem/1.15 var(--mono); padding: .33rem .43rem; }
.panel > p, .access p.small { margin: .75rem 0; }
.small { font-size: .89rem; color: var(--muted); }
.access h2 { font-size: 1.62rem; }
.access .text-button[data-preview] { margin-top: .65rem; }
.input-row { display: flex; gap: .55rem; }
.input-row input { flex: 1; min-width: 0; }
label, legend { color: #eae6db; display: block; margin-bottom: .27rem; font-size: .87rem; font-weight: 600; }
input:not([type=checkbox]), select, textarea { padding: .55rem .65rem; background: var(--field); color: var(--text); border: 1px solid #425057; border-radius: 3px; width: 100%; }
textarea { resize: vertical; min-height: 85px; }
.form-message { margin: .65rem 0 0; color: #ffcb9b; font-size: .84rem; }
.form-message:empty { display: none; }
.build-meta { display: flex; align-items: center; gap: .6rem; font: .68rem var(--mono); color: var(--muted); }
.build-meta > span { width: 3px; height: 3px; background: #af8563; border-radius: 50%; }
.hash-box { margin-top: 14px; padding: .66rem .75rem; background: var(--field); border: 1px solid var(--rule); }
.hash-heading { font: .7rem var(--mono); color: #e8b28b; margin-bottom: .2rem; }
code { font: .78rem/1.5 var(--mono); overflow-wrap: anywhere; color: #d5d9d6; }
.section { padding-block: 30px 38px; border-top: 1px solid var(--rule); }
.section-heading { align-items: end; margin-bottom: 17px; }
.section-heading p { font-size: .85rem; color: var(--muted); text-align: right; }
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: .85rem; }
.shot { padding: 0; border: 1px solid var(--rule); background: var(--surface); border-radius: 4px; text-align: left; overflow: clip; color: var(--text); }
.shot:hover { border-color: var(--accent); }
.shot > span { display: flex; justify-content: space-between; align-items: center; gap: .5rem; padding: .67rem .8rem; font-size: .85rem; }
.shot img { height: auto; aspect-ratio: 16 / 9; object-fit: cover; color: var(--muted); }
.shot span[aria-hidden] { color: var(--accent); }
.setup-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .85rem; }
.requirements { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: .38rem .8rem; margin: .85rem 0 .45rem; font-size: .91rem; }
.requirements dt { color: var(--muted); }
.requirements dd { margin: 0; }
.panel ol { margin: .7rem 0; padding-left: 1.25rem; color: var(--muted); }
.panel li { padding-left: .22rem; margin-bottom: .35rem; }
.content-note { display: flex; gap: .57rem; align-items: start; margin-top: 1.2rem; padding: .62rem .74rem; background: #211c18; border-left: 2px solid #bc8461; color: #e4bfa3 !important; font-size: .85rem; }
.content-note > span[aria-hidden] { color: #ffc591; font: 700 1rem/1.35 var(--mono); }
.compact { margin-top: .65rem; font-size: .84rem; }
summary { cursor: pointer; }
.compact summary { color: #edb280; }
.compact code { display: block; margin-top: .45rem; }
.field-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: .78rem 1rem; }
fieldset { min-width: 0; margin: 1rem 0; border: 1px solid var(--rule); padding: .75rem; border-radius: 3px; }
legend { color: #ebba91; padding: 0 .4rem; }
.wide { grid-column: 1 / -1; }
.consent { display: flex; align-items: start; gap: .55rem; margin: .85rem 0; font-weight: 400; color: var(--muted); }
.consent input { accent-color: var(--accent); margin-top: .28rem; }
.trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.privacy h2 { font-size: 1.55rem; margin-bottom: .75rem; }
.privacy details { border: 1px solid var(--rule); border-radius: 4px; padding: .75rem 1rem; }
.privacy details p { margin: .67rem 0 .1rem; color: var(--muted); max-width: 850px; font-size: .91rem; }
.footer { border-top: 1px solid var(--rule); }
.footer .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 67px; font: .76rem var(--mono); }
dialog { width: min(1000px, calc(100% - 2rem)); max-height: calc(100vh - 2rem); background: var(--surface); color: var(--text); border: 1px solid #7c6b56; padding: 0; }
dialog::backdrop { background: #050709de; }
.dialog-head { padding: .7rem .85rem; }
dialog img { max-height: 80vh; object-fit: contain; }
@media (max-width: 900px) {
  .wrap { width: calc(100% - 50px); }
  .header-inner { gap: 1.4rem; }
  nav { gap: 1rem; }
  .hero-inner { min-height: 535px; }
  .briefing { gap: 3%; }
  .panel { padding: 17px; }
}
@media (max-width: 650px) {
  .wrap { width: calc(100% - 36px); }
  .header-inner { min-height: 59px; justify-content: space-between; gap: .45rem; }
  .header nav { display: none; }
  .hero {
    background-position: center, center, 64% center;
    background-image: linear-gradient(90deg,#0c1115d9,#0c11153d 92%), linear-gradient(0deg,#0c1115 0%,#0c111582 48%,transparent 90%),url("media/station.webp");
  }
  .hero-inner { min-height: 495px; }
  .hero-copy { padding: 55px 0 25px; }
  .hero h1 { font-size: clamp(4.7rem, 18vw, 6.6rem); }
  .hero-description { font-size: .99rem; }
  .image-caption { display: none; }
  .briefing { grid-template-columns: 1fr; gap: 21px; padding-block: 34px; }
  .preview-banner .wrap { padding-block: .5rem; align-items: start; }
  .preview-banner button { min-width: 94px; text-align: left; }
  .gallery, .setup-grid { grid-template-columns: 1fr; }
  .field-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .section-heading { align-items: start; flex-direction: column; gap: .3rem; }
  .section-heading p { text-align: left; }
  .requirements { grid-template-columns: 42% minmax(0,1fr); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
