:root {
  color-scheme: dark;
  --bg: #080808;
  --panel: #111214;
  --panel-2: #18191c;
  --text: #f4f4f0;
  --muted: #a8aaa8;
  --line: #2d3033;
  --accent: #d4a24c;
  --accent-2: #7ca6a0;
  --danger: #c95c48;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

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

a {
  color: inherit;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem clamp(1rem, 4vw, 3rem);
  background: rgba(8, 8, 8, 0.88);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-weight: 900;
  letter-spacing: 0;
  text-decoration: none;
}

.mark {
  display: grid;
  place-items: center;
  width: 2.2rem;
  height: 2.2rem;
  border: 1px solid var(--line);
  background: #f4f4f0;
  color: #080808;
  font-weight: 950;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--muted);
  font-size: 0.94rem;
}

.nav a {
  text-decoration: none;
}

.nav a:hover {
  color: var(--text);
}

.hero {
  min-height: 84vh;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(300px, 1.05fr);
  align-items: center;
  gap: clamp(1.5rem, 4vw, 4rem);
  padding: clamp(2rem, 5vw, 5rem) clamp(1rem, 5vw, 5rem) 3rem;
}

.eyebrow {
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

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

h1 {
  max-width: 10ch;
  margin-bottom: 1rem;
  font-size: clamp(3.6rem, 10vw, 9rem);
  line-height: 0.86;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 38rem;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
}

.hero-actions,
.page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  min-height: 2.8rem;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1rem;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--text);
  font-weight: 800;
  text-decoration: none;
}

.button.primary {
  border-color: var(--accent);
  background: var(--accent);
  color: #111;
}

.button:hover {
  transform: translateY(-1px);
}

.hero-art {
  position: relative;
  min-height: 28rem;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--panel);
}

.hero-art img {
  width: 100%;
  height: 100%;
  min-height: 28rem;
  display: block;
  object-fit: cover;
}

.status-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--panel);
}

.status-strip div {
  padding: 1.1rem clamp(1rem, 4vw, 3rem);
  border-right: 1px solid var(--line);
}

.status-strip div:last-child {
  border-right: 0;
}

.status-strip strong {
  display: block;
  margin-bottom: 0.25rem;
}

.status-strip span {
  color: var(--muted);
  font-size: 0.92rem;
}

.section {
  padding: clamp(3.5rem, 7vw, 6rem) clamp(1rem, 5vw, 5rem);
}

.section-head {
  max-width: 48rem;
  margin-bottom: 2rem;
}

.section h2,
.source-page h1 {
  font-size: clamp(2rem, 5vw, 4.2rem);
  line-height: 0.95;
  letter-spacing: 0;
}

.grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.card {
  min-height: 16rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.1rem;
  border: 1px solid var(--line);
  background: var(--panel);
  text-decoration: none;
}

.card:hover {
  border-color: var(--accent);
  background: var(--panel-2);
}

.card .num {
  color: var(--accent-2);
  font-weight: 900;
  font-size: 0.78rem;
}

.card h3 {
  margin: 1rem 0 0.65rem;
  font-size: 1.28rem;
}

.card p,
.section p,
.source-page p,
.source-page li {
  color: var(--muted);
}

.notice {
  padding: 1.2rem;
  border: 1px solid rgba(212, 162, 76, 0.5);
  background: rgba(212, 162, 76, 0.08);
}

.source-page {
  max-width: 920px;
  margin: 0 auto;
  padding: clamp(2rem, 6vw, 5rem) 1rem;
}

.source-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 16rem;
  gap: 2rem;
  align-items: start;
}

.source-panel {
  padding: 1.2rem;
  border: 1px solid var(--line);
  background: var(--panel);
}

.checklist {
  padding-left: 1.2rem;
}

.footer {
  padding: 2rem clamp(1rem, 5vw, 5rem);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}

@media (max-width: 920px) {
  .hero,
  .source-layout {
    grid-template-columns: 1fr;
  }

  .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .status-strip div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 560px) {
  .topbar {
    position: static;
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    width: 100%;
    justify-content: space-between;
    gap: 0.5rem;
    font-size: 0.86rem;
  }

  .grid {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: clamp(3.2rem, 18vw, 5.2rem);
  }
}
