:root {
  color-scheme: dark;
  --canvas: #101619;
  --panel: #182024;
  --ink: #f3eee4;
  --muted: #b9c0bc;
  --accent: #ecc571;
  --rule: #ffffff22;
  font: 16px/1.6 "Segoe UI", system-ui, sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--canvas); color: var(--ink); }
a { color: var(--accent); text-underline-offset: 4px; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
.header, main, .footer { width: min(1100px, calc(100% - 48px)); margin-inline: auto; }
.header, .footer { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.header { min-height: 78px; border-bottom: 1px solid var(--rule); }
.brand { display: inline-flex; align-items: center; gap: 12px; letter-spacing: .13em; color: var(--ink); font-weight: 700; text-transform: uppercase; text-decoration: none; }
.brand img { display: block; border-radius: 8px; }
nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.header nav a, .footer nav a { color: var(--muted); }
.hero { position: relative; overflow: hidden; min-height: 420px; display: grid; align-items: end; isolation: isolate; margin-top: 24px; border: 1px solid var(--rule); border-radius: 10px; background: var(--panel); }
.hero-art { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 58% center; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, #101619f5 6%, #101619c2 48%, #10161922 100%), linear-gradient(0deg, #101619eb, transparent 72%); }
.hero-copy { padding: clamp(24px, 6vw, 64px); }
.hero h1, .document h1 { font: 400 clamp(58px, 10vw, 108px)/.95 Georgia, serif; letter-spacing: -.055em; margin: 0; }
.hero p { font-size: clamp(17px, 2.2vw, 22px); max-width: 29em; margin: 18px 0 25px; }
.button { display: inline-block; background: var(--accent); color: #211a0c; padding: 9px 16px; font-weight: 650; border-radius: 5px; text-decoration: none; }
.section { padding-block: 39px; }
h2 { font: 400 36px/1.1 Georgia, serif; margin: 0 0 18px; }
h3 { font-size: 18px; margin: 0 0 9px; }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.grid article { background: var(--panel); border: 1px solid var(--rule); border-radius: 7px; padding: 20px; }
.grid p, .document p, .document li, .help p, .help li { color: var(--muted); }
.grid p { margin: 0; }
.help { border-top: 1px solid var(--rule); }
.help ol, .document ol { padding-inline-start: 24px; }
.help li, .document li { margin-block: 8px; }
.document { max-width: 740px; padding-block: 56px; }
.document h1 { font-size: clamp(41px, 8vw, 72px); margin-bottom: 22px; }
.document h2 { margin-top: 35px; font-size: 28px; }
.document code { overflow-wrap: anywhere; color: var(--ink); }
.footer { border-top: 1px solid var(--rule); padding-block: 19px 30px; color: var(--muted); }
@media (max-width: 640px) {
  .header, main, .footer { width: calc(100% - 28px); }
  .header { padding-block: 14px; }
  .hero { min-height: 360px; }
  .hero::before { background: linear-gradient(0deg, #101619fa 12%, #10161999 60%, #10161944); }
  .grid { grid-template-columns: 1fr; }
}
