:root {
  --bg: #101114;
  --bg-soft: #17191d;
  --ink: #f8f4e8;
  --muted: #b9b5aa;
  --line: rgba(248, 244, 232, 0.14);
  --yellow: #ffd23f;
  --yellow-dark: #c99609;
  --green: #36c78a;
  --paper: #fffaf0;
  --paper-ink: #1f211f;
  --paper-muted: #62665d;
  --radius: 8px;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family:
    Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
}

.shell {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.topbar {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(16, 17, 20, 0.78);
  backdrop-filter: blur(18px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 8px;
  background: var(--yellow);
  color: #111;
  font-weight: 900;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  color: rgba(248, 244, 232, 0.82);
  font-size: 14px;
}

.nav-links a {
  text-decoration: none;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: var(--yellow);
  color: #17120a;
  font-weight: 800;
  text-decoration: none;
}

.button.secondary {
  border-color: rgba(248, 244, 232, 0.2);
  background: rgba(248, 244, 232, 0.08);
  color: var(--ink);
}

.hero {
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding: 96px 0 64px;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(16, 17, 20, 0.94), rgba(16, 17, 20, 0.55) 46%, rgba(16, 17, 20, 0.18)),
    linear-gradient(180deg, rgba(16, 17, 20, 0.12), #101114 96%),
    url("./station-hero.png") center / cover no-repeat;
}

.hero-content {
  width: min(620px, 100%);
  padding-top: 16px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--yellow);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 99px;
  background: var(--yellow);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  font-size: clamp(42px, 6vw, 72px);
  line-height: 0.98;
  letter-spacing: 0;
}

.lead {
  max-width: 580px;
  margin-bottom: 28px;
  color: rgba(248, 244, 232, 0.84);
  font-size: 19px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-note {
  margin-top: 22px;
  color: rgba(248, 244, 232, 0.68);
  font-size: 14px;
}

.band {
  padding: 72px 0;
}

.band.paper {
  background: var(--paper);
  color: var(--paper-ink);
}

.band.soft {
  background: var(--bg-soft);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(260px, 0.55fr);
  gap: 36px;
  align-items: end;
  margin-bottom: 36px;
}

.section-head h2 {
  margin-bottom: 0;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.04;
  letter-spacing: 0;
}

.section-head p {
  margin-bottom: 0;
  color: var(--muted);
}

.paper .section-head p {
  color: var(--paper-muted);
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.item {
  min-height: 180px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
}

.paper .item {
  border-color: rgba(31, 33, 31, 0.14);
  background: #fff;
  box-shadow: 0 14px 44px rgba(34, 29, 16, 0.08);
}

.item h3 {
  margin-bottom: 10px;
  font-size: 20px;
}

.item p,
.item li {
  color: var(--muted);
}

.paper .item p,
.paper .item li {
  color: var(--paper-muted);
}

.item ul {
  margin: 0;
  padding-left: 18px;
}

.accent {
  color: var(--yellow);
}

.status-line {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
}

.status-step {
  padding: 22px;
  background: #121417;
}

.status-step strong {
  display: block;
  margin-bottom: 6px;
  color: var(--yellow);
}

.status-step span {
  color: var(--muted);
}

.legal-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 36px;
  align-items: start;
}

.legal-box {
  padding: 24px;
  border: 1px solid rgba(31, 33, 31, 0.14);
  border-radius: var(--radius);
  background: #fff;
}

.legal-box h3 {
  margin-bottom: 10px;
}

.legal-box p {
  color: var(--paper-muted);
}

.document {
  max-width: 860px;
  margin: 0 auto;
  padding: 112px 0 72px;
}

.document h1 {
  color: var(--ink);
  font-size: clamp(34px, 5vw, 56px);
}

.document h2 {
  margin-top: 34px;
  color: var(--yellow);
}

.document p,
.document li {
  color: rgba(248, 244, 232, 0.8);
}

.document a {
  color: var(--yellow);
}

.footer {
  padding: 36px 0;
  border-top: 1px solid var(--line);
  background: #0c0d10;
  color: rgba(248, 244, 232, 0.68);
}

.footer-row {
  display: flex;
  justify-content: space-between;
  gap: 24px;
}

.footer a {
  color: rgba(248, 244, 232, 0.86);
}

@media (max-width: 860px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 0;
  }

  .nav-links {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .hero {
    min-height: 86vh;
    padding-top: 132px;
    background:
      linear-gradient(180deg, rgba(16, 17, 20, 0.88), rgba(16, 17, 20, 0.74)),
      linear-gradient(180deg, rgba(16, 17, 20, 0.1), #101114 96%),
      url("./station-hero.png") center / cover no-repeat;
  }

  .section-head,
  .legal-layout {
    grid-template-columns: 1fr;
  }

  .grid,
  .status-line {
    grid-template-columns: 1fr;
  }

  .footer-row {
    flex-direction: column;
  }
}
