:root {
  color-scheme: dark;
  --bg: #0f0f0d;
  --bg-2: #171612;
  --panel: rgba(30, 29, 24, 0.84);
  --line: rgba(190, 180, 152, 0.28);
  --gold: #d3a34a;
  --gold-bright: #f1cb76;
  --text: #f6f0df;
  --muted: #a9a08b;
  --shadow: rgba(0, 0, 0, 0.38);
}

* { box-sizing: border-box; }
html { background: var(--bg); }
body {
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 50% 0%, rgba(230, 168, 70, 0.18), transparent 34rem),
    linear-gradient(135deg, rgba(255, 255, 255, 0.026) 0 1px, transparent 1px 18px),
    var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}
a { color: var(--gold-bright); text-decoration: none; }
a:hover { text-decoration: underline; }
.site-header,
.content-shell,
.site-footer {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
}
.site-header {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  padding: 22px 0 14px;
}
.brand {
  color: var(--text);
  font-weight: 780;
  font-size: 1.1rem;
}
.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  color: var(--gold-bright);
}
.article {
  padding: clamp(24px, 4vw, 54px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(28, 27, 23, 0.92), rgba(14, 14, 12, 0.78));
  box-shadow: 0 24px 70px var(--shadow);
}
.back-link {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--gold-bright);
  font-weight: 720;
}
h1 {
  max-width: 900px;
  margin: 0;
  font-size: clamp(2rem, 5vw, 4.6rem);
  line-height: 0.96;
}
h2 {
  margin: 38px 0 12px;
  font-size: clamp(1.25rem, 2vw, 1.9rem);
}
.lede {
  max-width: 780px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.65;
}
p, li {
  color: var(--muted);
  line-height: 1.7;
}
.info-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 28px 0 6px;
}
.info-strip div,
.content-card,
details {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
}
.info-strip div {
  padding: 14px;
}
.info-strip span,
.content-card span,
.content-card small {
  display: block;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 740;
  text-transform: uppercase;
}
.info-strip strong {
  display: block;
  margin-top: 6px;
  color: var(--text);
  line-height: 1.35;
}
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
}
.content-card {
  display: grid;
  gap: 8px;
  min-height: 140px;
  padding: 16px;
}
.content-card strong {
  color: var(--text);
  font-size: 1.12rem;
  line-height: 1.25;
}
.content-card small {
  text-transform: none;
  line-height: 1.45;
}
.link-list {
  padding-left: 18px;
}
.table-wrap {
  overflow: auto;
}
table {
  width: 100%;
  min-width: 780px;
  border-collapse: collapse;
}
th, td {
  padding: 13px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  text-align: left;
}
th {
  color: var(--text);
  font-size: 0.75rem;
  text-transform: uppercase;
}
td {
  color: var(--muted);
}
details {
  margin-top: 12px;
  padding: 14px 16px;
}
summary {
  cursor: pointer;
  color: var(--text);
  font-weight: 740;
}
.site-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  padding: 22px 0 32px;
  color: var(--muted);
}
@media (max-width: 760px) {
  .site-header,
  .info-strip {
    grid-template-columns: 1fr;
  }
  .site-header {
    display: grid;
  }
  .info-strip {
    display: grid;
  }
}
