:root {
  --bg: #120d08;
  --bg-2: #1d140e;
  --ink: #f6efe4;
  --muted: #d2c3ae;
  --line: rgba(255, 236, 210, 0.14);
  --gold: #e0b15a;
  --gold-2: #8a6230;
  --max: 1080px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.65 Georgia, "Palatino Linotype", Palatino, serif;
  overflow-x: hidden;
}
a { color: var(--gold); }
img { max-width: 100%; height: auto; display: block; }
.wrap { width: min(var(--max), calc(100vw - 2rem)); margin: 0 auto; }
header.site {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(18, 13, 8, 0.94);
  border-bottom: 1px solid var(--line);
}
.bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-family: "Segoe UI", sans-serif; font-weight: 700; font-size: 1.15rem; }
.brand img { width: 168px; height: 36px; object-fit: contain; border-radius: 6px; background: transparent; }
.nav-btn { width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 8px; display: grid; align-content: center; justify-items: center; gap: 5px; cursor: pointer; }
.nav-btn span { display: block; width: 18px; height: 2px; background: var(--ink); }
.nav-toggle { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
nav.main { display: none; flex-direction: column; gap: 0; padding: 0 0 14px; font-family: "Segoe UI", sans-serif; }
.nav-toggle:checked ~ nav.main { display: flex; }
nav.main a { color: var(--ink); text-decoration: none; padding: 8px 0; border-bottom: 1px solid var(--line); }
.prime { position: relative; min-height: 440px; display: grid; align-items: end; overflow: hidden; }
.prime-bg { position: absolute; inset: 0; }
.prime-bg img { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.35); }
.prime-in { position: relative; z-index: 1; padding: 52px 0 32px; }
.prime-top { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.prime-top img { width: min(280px, 72vw); height: auto; border-radius: 8px; background: transparent; border: 0; }
.rate-num { margin: 0; font-family: "Segoe UI", sans-serif; line-height: 1; }
.rate-num b { font-size: 2.4rem; color: var(--gold); }
.rate-num span { font-size: 1.1rem; color: var(--muted); margin-left: 2px; }
.rate p { margin: 2px 0 0; font-family: "Segoe UI", sans-serif; }
.prime-line { margin: 10px 0 0; font-family: "Segoe UI", sans-serif; font-size: 1.15rem; }
.hero { padding: 36px 0 12px; }
.kicker { font-family: "Segoe UI", sans-serif; font-size: 0.82rem; color: var(--gold); margin: 0 0 8px; }
h1 { font-family: "Segoe UI", sans-serif; font-size: clamp(2rem, 5vw, 3rem); line-height: 1.15; margin: 0; }
h2, h3 { font-family: "Segoe UI", sans-serif; line-height: 1.25; }
h2 { font-size: 1.5rem; margin: 0 0 10px; }
h3 { font-size: 1.12rem; margin: 18px 0 8px; }
.hero-pic { margin: 18px 0 0; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); }
.hero-pic img { width: 100%; max-height: 420px; object-fit: cover; }
section.block { padding: 26px 0; border-top: 1px solid var(--line); }
.lead, p { color: var(--ink); }
.note { color: var(--muted); font-size: 0.92rem; }
.cta { display: flex; flex-wrap: wrap; gap: 10px; margin: 14px 0; }
.btn { display: inline-block; font-family: "Segoe UI", sans-serif; text-decoration: none; background: var(--gold); color: #1a1008; font-weight: 700; padding: 12px 18px; border-radius: 8px; }
.btn.alt { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 16px; }
.stat { background: var(--bg-2); border: 1px solid var(--line); border-radius: 10px; padding: 14px; }
.stat b { display: block; font-family: "Segoe UI", sans-serif; font-size: 1.2rem; }
.stat span { color: var(--muted); font-size: 0.92rem; }
.toc ol { margin: 0; padding-left: 1.2rem; }
.toc a { color: var(--ink); }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; min-width: 36rem; }
th, td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top; }
th { background: rgba(255,255,255,0.04); }
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 14px; }
.cards figure { margin: 0; background: var(--bg-2); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.cards img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.cards figcaption { font-family: "Segoe UI", sans-serif; font-size: 0.82rem; padding: 8px; }
.home-link { background: var(--bg-2); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; }
footer.site { border-top: 1px solid var(--line); padding: 28px 0 40px; color: var(--muted); font-family: "Segoe UI", sans-serif; font-size: 0.92rem; }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 16px; margin: 0 0 12px; padding: 0; list-style: none; }
.foot-links a { color: var(--ink); text-decoration: none; }
[id] { scroll-margin-top: 5.5rem; }
@media (max-width: 800px) {
  .stats, .cards { grid-template-columns: 1fr 1fr; }
  .prime-top { flex-direction: column; align-items: flex-start; }
  .prime-top img { width: min(240px, 100%); }
}
@media (max-width: 520px) {
  .cards { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 900px) {
  .nav-btn { display: none; }
  nav.main { display: flex; flex-direction: row; gap: 16px; padding: 0; }
  nav.main a { border: 0; padding: 0; }
}
