:root {
  color-scheme: dark;
  --velvet: #240007;
  --velvet-light: #52000f;
  --gold: #d49f2c;
  --gold-light: #ffe083;
  --ink: #0c0704;
  --paper: #fff8e6;
  --muted: #d9cdb8;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  color: var(--paper);
  background:
    radial-gradient(circle at 50% -15%, rgba(212, 159, 44, .24), transparent 42rem),
    linear-gradient(145deg, var(--velvet-light), var(--velvet) 45%, #090304);
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.65;
}

a { color: var(--gold-light); }
a:focus-visible { outline: 3px solid white; outline-offset: 4px; }

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

.hero {
  padding: clamp(30px, 7vw, 72px);
  text-align: center;
  border: 2px solid var(--gold);
  border-radius: 30px;
  background: linear-gradient(160deg, rgba(12, 7, 4, .92), rgba(39, 16, 5, .95));
  box-shadow: 0 24px 70px rgba(0, 0, 0, .42), inset 0 0 0 5px rgba(255, 224, 131, .08);
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--gold-light);
  font: 700 .82rem/1.2 system-ui, sans-serif;
  letter-spacing: .18em;
  text-transform: uppercase;
}

h1 { margin: 0; color: #fff4d1; font-size: clamp(2.35rem, 8vw, 5rem); line-height: 1.05; }
h2 { margin: 2rem 0 .5rem; color: var(--gold-light); font-size: 1.35rem; }
.intro { max-width: 650px; margin: 20px auto 0; color: var(--muted); font-size: 1.1rem; }

.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 24px; }
.card {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 140px;
  padding: 24px;
  color: var(--paper);
  text-decoration: none;
  border: 1px solid rgba(212, 159, 44, .72);
  border-radius: 20px;
  background: rgba(8, 4, 2, .78);
  transition: transform .18s ease, border-color .18s ease;
}
.card:hover { transform: translateY(-3px); border-color: var(--gold-light); }
.card strong, .card small { display: block; }
.card strong { margin-bottom: 6px; color: var(--gold-light); font-size: 1.25rem; }
.card small { color: var(--muted); font: 1rem/1.45 system-ui, sans-serif; }
.icon {
  display: grid;
  flex: 0 0 52px;
  width: 52px;
  height: 52px;
  place-items: center;
  color: var(--ink);
  border-radius: 50%;
  background: linear-gradient(#fff0a3, var(--gold));
  font: 800 1.35rem/1 system-ui, sans-serif;
}

.document { max-width: 820px; }
.back { display: inline-block; margin-bottom: 20px; text-decoration: none; font: 700 1rem/1.3 system-ui, sans-serif; }
article {
  padding: clamp(26px, 6vw, 58px);
  color: #f4ead9;
  border: 2px solid var(--gold);
  border-radius: 24px;
  background: rgba(10, 5, 3, .9);
  box-shadow: 0 24px 70px rgba(0, 0, 0, .4);
}
.document h1 { font-size: clamp(2.2rem, 7vw, 3.8rem); }
.updated { color: var(--muted); font: .95rem/1.4 system-ui, sans-serif; }
article p, article li { font-family: system-ui, sans-serif; }

footer { padding: 26px 8px 0; color: #b9aa94; text-align: center; font: .9rem/1.4 system-ui, sans-serif; }

@media (max-width: 620px) {
  .shell { width: min(100% - 20px, 940px); padding-top: 18px; }
  .cards { grid-template-columns: 1fr; }
  .hero, article { border-radius: 18px; }
}
