:root {
  --bg: #0b0b0c;
  --bg-2: #131315;
  --line: #26262a;
  --text: #ece8e1;
  --muted: #a29e97; /* 6.9:1 on --bg, passes AA */
  --accent: #c8a26b;
  --serif: "Frank Ruhl Libre", "Times New Roman", Georgia, serif;
  --sans: Heebo, "Segoe UI", Arial, sans-serif;
}
* { box-sizing: border-box; }
body {
  margin: 0; min-height: 100vh; display: grid; place-items: center; padding: 1.5rem;
  background: var(--bg) radial-gradient(ellipse at 50% 0%, #1b1a18, var(--bg) 65%);
  color: var(--text); font: 300 1.0625rem/1.8 var(--sans); -webkit-font-smoothing: antialiased;
}
::selection { background: var(--accent); color: var(--bg); }
.card { width: 100%; max-width: 44rem; text-align: center; padding: 2rem 0; }
h1, h2, p.logo { font-family: var(--serif); font-weight: 400; line-height: 1.15; margin: 0; }
.logo { font-size: 1.6rem; letter-spacing: .3em; padding-inline-start: .3em; }
.eyebrow { display: flex; align-items: center; justify-content: center; gap: .9rem; color: var(--accent); font-size: .9rem; letter-spacing: .04em; margin: .75rem 0 0; }
.eyebrow::before, .eyebrow::after { content: ""; width: 2rem; height: 1px; background: currentColor; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2.5rem 0; }
.window { width: 6.5rem; height: auto; margin: 0 auto 1.5rem; display: block; }
h1 { font-size: clamp(2.6rem, 9vw, 5rem); letter-spacing: -.01em; margin-bottom: 1rem; }
p { color: var(--muted); margin: 0 0 1.5rem; }
.sub { font-size: 1.15rem; }
.links { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; padding: 0; margin: 0 0 2.5rem; list-style: none; }
.links a {
  display: inline-flex; align-items: center; gap: .6rem; min-height: 2.75rem; padding: .4rem 1.2rem;
  color: var(--text); text-decoration: none; font-size: .95rem; letter-spacing: .04em;
  border: 1px solid var(--line); border-radius: 2rem; transition: border-color .3s, color .3s;
}
.links a:hover { border-color: var(--accent); color: var(--accent); }
.en { direction: ltr; unicode-bidi: isolate; }
svg.i { width: 1.1rem; height: 1.1rem; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
footer { color: var(--muted); font-size: .9rem; }
footer nav { display: flex; gap: 1.5rem; justify-content: center; flex-wrap: wrap; margin-bottom: .5rem; }
footer a, .back, .doc a { color: var(--muted); }
footer a:hover, .back:hover, .doc a:hover { color: var(--accent); }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: .25rem; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; top: -4rem; inset-inline-start: 1rem; background: var(--accent); color: #000; padding: .5rem 1rem; z-index: 9; }
.skip:focus { top: 1rem; }
.doc { text-align: start; }
.doc h1 { font-size: 2.4rem; margin-block: 1rem; }
.doc h2 { font-size: 1.4rem; color: var(--accent); margin: 2rem 0 .25rem; }
.doc p, .doc li { font-size: 1rem; color: var(--muted); }
.doc li { margin-bottom: .25rem; }
.back { display: inline-block; font-size: .9rem; }
@media (prefers-reduced-motion: no-preference) {
  .card > * { animation: up 1s cubic-bezier(.2, .7, .1, 1) both; }
  .card > :nth-child(2) { animation-delay: .1s; } .card > :nth-child(3) { animation-delay: .2s; } .card > :nth-child(4) { animation-delay: .3s; }
  @keyframes up { from { opacity: 0; transform: translateY(14px); } }
}
@media (forced-colors: active) { .links a { border-color: LinkText; } }
