:root {
  color-scheme: dark;
  --bg: #151418;
  --hero: #1c191e;
  --panel: #201d23;
  --ink: #f7f0e9;
  --muted: #d4c7c7;
  --accent: #f4a79c;
  --line: #4a3940;
  --serif: Georgia, "Times New Roman", serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 1rem/1.65 system-ui, sans-serif; }
a { color: inherit; text-underline-offset: .25em; }
a:hover { color: var(--accent); }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
p { margin: 0 0 1rem; color: var(--muted); }
h1, h2, h3 { margin: 0; font: 400 2.75rem/1.05 var(--serif); }
h2 { margin-bottom: 1.5rem; font-size: clamp(2rem, 4vw, 3rem); }
h3 { margin-bottom: 1.15rem; font-size: 1.55rem; }
.skip { position: absolute; transform: translateY(-120%); padding: .5rem 1rem; background: var(--bg); z-index: 1; }
.skip:focus { transform: translateY(0); }
.wrap { width: min(68rem, calc(100% - 3rem)); margin-inline: auto; }
.bar { min-height: 4.4rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { font: 400 1.3rem var(--serif); text-decoration: none; }
nav { display: flex; gap: clamp(.65rem, 3vw, 2rem); }
nav a, footer > a:last-child { color: var(--muted); font-size: .9rem; text-decoration: none; }
.hero { background: radial-gradient(ellipse at 74% 58%, #51323c, transparent 55%), var(--hero); border-block: 1px solid var(--line); }
.hero-grid { display: grid; grid-template-columns: 1.45fr 1fr; align-items: center; gap: 3rem; padding-block: clamp(3rem, 8vw, 6rem); }
.label { color: var(--accent); font-size: .76rem; font-weight: 750; letter-spacing: .15em; text-transform: uppercase; }
h1 { font-size: clamp(3.45rem, 10vw, 8.4rem); letter-spacing: -.065em; }
.subtitle { color: var(--ink); font: 400 clamp(1.4rem, 3vw, 2.15rem) var(--serif); margin: .4rem 0 1rem; }
.byline { font-weight: 650; }
.tagline { color: var(--muted); margin: 1.35rem 0 1.6rem; }
.cover { display: block; width: min(100%, 20rem); height: auto; justify-self: center; box-shadow: 0 1.4rem 3.5rem #0d080ca8; }
.actions { display: flex; gap: .7rem; flex-wrap: wrap; }
.button { display: inline-flex; align-items: center; gap: .7rem; justify-content: center; padding: .72rem 1rem; font-weight: 700; font-size: .91rem; text-decoration: none; border: 1px solid transparent; }
.primary { background: var(--accent); color: #25171a; }
.primary:hover { background: #ffd1c9; color: #25171a; }
.secondary { border-color: #9d777d; }
.section { padding-block: clamp(2.8rem, 6vw, 5rem); border-bottom: 1px solid var(--line); scroll-margin-top: 1rem; }
.split { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(2rem, 7vw, 6rem); align-items: start; }
.text-link { display: inline-block; color: var(--accent); margin-top: .4rem; }
.factbox, .topics { background: var(--panel); border: 1px solid var(--line); padding: 1.55rem; }
dl, dd { margin: 0; }
dl > div { display: flex; justify-content: space-between; gap: 1rem; border-top: 1px solid var(--line); padding: .6rem 0; font-size: .91rem; }
dt { color: var(--muted); }
dd { text-align: right; }
.quotes, .downloads { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
figure { display: flex; flex-direction: column; justify-content: space-between; margin: 0; background: var(--panel); border-left: 2px solid var(--accent); padding: clamp(1rem, 3vw, 1.8rem); }
blockquote { margin: 0 0 1.25rem; font: 400 clamp(1.35rem, 2.7vw, 1.85rem)/1.35 var(--serif); }
figcaption { font-weight: 650; font-size: .86rem; }
figcaption > span, figcaption > a { display: block; color: var(--muted); font-weight: 400; }
ul { color: var(--muted); margin: 0; padding-left: 1.1rem; }
li + li { margin-top: .45rem; }
.downloads a { display: flex; flex-direction: column; background: var(--panel); border: 1px solid var(--line); padding: 1rem 1.2rem; text-decoration: none; }
.downloads a:hover { border-color: var(--accent); }
.downloads span { display: flex; justify-content: space-between; color: var(--muted); font-size: .88rem; }
.downloads b { color: var(--accent); }
.contact { background: #2c2028; }
.contact-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding-block: 2.8rem; }
.contact h2 { margin-bottom: .75rem; }
.contact p { margin: 0; }
.contact a { flex-shrink: 0; }
@media (max-width: 700px) {
  .wrap { width: calc(100% - 2rem); }
  .hero-grid, .split { grid-template-columns: 1fr; }
  .cover { width: min(70%, 16rem); justify-self: start; }
  .contact-inner { align-items: start; flex-direction: column; }
}
@media (max-width: 420px) {
  .quotes, .downloads { grid-template-columns: 1fr; }
  .brand { font-size: 1rem; }
  nav a { font-size: .8rem; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
