:root {
  color-scheme: dark;
  --ink: #f4f5ef;
  --muted: #a9ada2;
  --paper: #10110f;
  --lime: #c7ff36;
  --line: #30332d;
}

* { box-sizing: border-box; }

html { background: var(--paper); }

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 50% -10%, rgba(199, 255, 54, .13), transparent 35rem),
    var(--paper);
  font: 16px/1.7 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a { color: var(--lime); text-underline-offset: .2em; }

.shell {
  width: min(100% - 40px, 760px);
  margin: 0 auto;
  min-height: 100svh;
  padding: 80px 0 32px;
}

.hero { min-height: calc(100svh - 160px); display: grid; align-content: center; }
.eyebrow { color: var(--lime); font-size: .75rem; font-weight: 800; letter-spacing: .18em; }
h1 { margin: 0; font-size: clamp(3.6rem, 15vw, 8rem); line-height: .95; letter-spacing: -.07em; }
.document h1 { font-size: clamp(2.5rem, 9vw, 5rem); }
h2 { margin-top: 3.4rem; font-size: 1.25rem; }
.lead { max-width: 36rem; margin: 1.5rem 0 0; font-size: clamp(1.15rem, 3vw, 1.5rem); }
.lead.en, .muted, .updated { color: var(--muted); }
nav { display: flex; flex-wrap: wrap; gap: 12px 24px; margin-top: 3rem; }

.mark { width: 74px; height: 74px; margin-bottom: 2rem; border-radius: 20px; background: var(--lime); overflow: hidden; }
.mark span { display: block; width: 100%; height: 30%; margin-top: 70%; background: var(--paper); opacity: .92; }

.back { display: inline-block; margin-bottom: 3rem; text-decoration: none; }
.document p { max-width: 44rem; }
details { border-top: 1px solid var(--line); padding: 1rem 0; }
details:last-of-type { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; font-weight: 700; }
footer { margin-top: 5rem; color: var(--muted); font-size: .8rem; }

@media (max-width: 520px) {
  .shell { padding-top: 48px; }
  .hero { min-height: calc(100svh - 96px); }
}
