:root {
  color-scheme: dark;
  --bg-top: #252a31;
  --bg-mid: #2d333b;
  --bg-bottom: #22272e;
  --panel: rgba(49, 56, 66, 0.95);
  --panel-soft: rgba(34, 39, 46, 0.56);
  --surface: rgba(58, 66, 77, 0.9);
  --surface-strong: rgba(67, 76, 88, 0.96);
  --field-bg: rgba(28, 33, 40, 0.92);
  --border: rgba(148, 163, 184, 0.16);
  --border-strong: rgba(250, 204, 21, 0.28);
  --text: #f5f7fa;
  --muted: #b4bfcc;
  --gold: #facc15;
  --gold-hover: #fde047;
  --shadow: 0 24px 70px rgba(15, 23, 42, 0.32);
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; scroll-behavior: smooth; }
body {
  min-height: 100vh;
  font-family: Arial, sans-serif;
  background: linear-gradient(135deg, var(--bg-top), var(--bg-mid), var(--bg-bottom));
  color: var(--text);
}

a { color: inherit; }

.page-shell {
  width: min(1240px, calc(100% - 32px));
  margin: 22px auto 34px;
}

.panel {
  background: var(--panel);
  border: 1px solid var(--border-strong);
  border-radius: 22px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.site-header {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 22px 26px;
  border-bottom: 1px solid var(--border);
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.brand-logo {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  padding: 8px;
  background: radial-gradient(circle at 30% 10%, #ffffff 0, #fff6d4 32%, #f0c300 62%, #b58202 100%);
  box-shadow: 0 0 24px rgba(250, 204, 21, 0.28);
}

.brand-kicker {
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 3px;
}

.brand-title { font-size: 22px; font-weight: bold; }
.brand-subtitle { font-size: 13px; color: var(--muted); max-width: 460px; }

.site-nav {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.nav-link {
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  color: var(--muted);
  font-size: 14px;
}

.nav-link:hover,
.nav-link.active {
  color: var(--text);
  border-color: rgba(250, 204, 21, 0.4);
  background: rgba(250, 204, 21, 0.08);
}

.site-badge {
  padding: 9px 12px;
  border-radius: 999px;
  color: #111827;
  background: var(--gold);
  font-size: 13px;
  font-weight: 800;
}

.page-body {
  padding: 24px 26px 28px;
}

.hero-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 18px;
  align-items: stretch;
  margin-bottom: 20px;
}

.hero-copy,
.status-card,
.section {
  border-radius: 18px;
  background: var(--panel-soft);
  border: 1px solid var(--border);
}

.hero-copy {
  padding: 26px;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.eyebrow {
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin: 0 0 10px;
}

.hero-copy h1 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.02;
}

.hero-copy p {
  margin: 16px 0 0;
  max-width: 760px;
  color: #d7dee8;
  font-size: 16px;
  line-height: 1.6;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  border-radius: 10px;
  border: none;
  font-weight: bold;
  cursor: pointer;
  text-decoration: none;
}

.btn-gold { background: var(--gold); color: #111827; }
.btn-gold:hover { background: var(--gold-hover); }
.btn-secondary {
  background: #3b4450;
  color: var(--text);
  border: 1px solid rgba(148, 163, 184, 0.24);
}
.btn-secondary:hover { background: #4a5563; }
.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid rgba(148, 163, 184, 0.24);
}
.btn-ghost:hover { background: rgba(148, 163, 184, 0.12); }

.status-card {
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
}

.status-header {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-size: 17px;
  font-weight: 800;
  margin-bottom: 4px;
}

.status-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 18px rgba(250, 204, 21, 0.75);
}

.status-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}

.status-row:last-child { border-bottom: none; padding-bottom: 0; }
.status-row span { color: var(--muted); font-size: 13px; }
.status-row strong { color: #fff; font-size: 14px; text-align: right; }

.section {
  margin-top: 20px;
  padding: 20px;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.section-title { margin: 0; font-size: 20px; }
.section-copy { color: var(--muted); font-size: 13px; margin: 6px 0 0; line-height: 1.5; }

.pill,
.tag {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(250, 204, 21, 0.1);
  border: 1px solid rgba(250, 204, 21, 0.24);
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
}

.tag-warn {
  color: #fcd34d;
  background: rgba(245, 158, 11, 0.1);
  border-color: rgba(245, 158, 11, 0.28);
}

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

.tile-card {
  background: var(--surface);
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 16px;
  padding: 16px;
}

.action-card {
  display: grid;
  gap: 10px;
}

.card-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: #111827;
  background: var(--gold);
  font-size: 22px;
  font-weight: 900;
}

.tile-card h3,
.roadmap-card h3 {
  color: #fff;
  font-size: 17px;
  margin: 0;
}

.tile-card p,
.roadmap-card p {
  color: #d7dee8;
  font-size: 13px;
  line-height: 1.5;
  margin: 0;
}

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

.roadmap-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: start;
  background: var(--surface);
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 16px;
  padding: 16px;
}

.step-number {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(250, 204, 21, 0.12);
  color: var(--gold);
  font-weight: 900;
  border: 1px solid rgba(250, 204, 21, 0.22);
}

.knowledge-list {
  display: grid;
  gap: 10px;
}

.knowledge-item {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 14px;
  padding: 14px 0;
  border-top: 1px solid rgba(148, 163, 184, 0.12);
}

.knowledge-item:first-child { border-top: none; }
.knowledge-item strong { color: #fff; }
.knowledge-item span { color: #d7dee8; font-size: 13px; line-height: 1.5; }

@media (max-width: 980px) {
  .site-header,
  .hero-section,
  .quick-grid,
  .roadmap-grid,
  .knowledge-item {
    grid-template-columns: 1fr;
  }
  .site-nav { justify-content: flex-start; }
  .site-badge { width: fit-content; }
  .hero-copy { min-height: auto; }
}

@media (max-width: 620px) {
  .page-shell { width: min(100% - 18px, 1240px); margin: 10px auto 18px; }
  .site-header,
  .page-body,
  .hero-copy,
  .status-card,
  .section { padding: 16px; }
  .brand-logo { width: 48px; height: 48px; }
  .brand-title { font-size: 19px; }
  .hero-copy h1 { font-size: 34px; }
}
