:root {
  --ink: #070607;
  --paper: #eee4d9;
  --muted: #978e87;
  --gold: #d6be98;
  --red: #83121a;
  --line: rgba(238, 228, 217, .15);
  --panel: rgba(255, 255, 255, .025);
  --font-ui: "Space Grotesk", "Helvetica Neue", Arial, sans-serif;
  --font-display: "Helvetica Neue", "Space Grotesk", Helvetica, Arial, sans-serif;
}

@font-face {
  font-family: "Space Grotesk";
  src: url("/panel/assets/space-grotesk-DPT1xrvW.woff2") format("woff2");
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
}

* { box-sizing: border-box; }

html {
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-ui);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 70% 12%, rgba(131, 18, 26, .22), transparent 28rem),
    var(--ink);
}

a { color: inherit; }

a:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
  border-radius: 3px;
}

.skip {
  position: fixed;
  z-index: 10;
  top: 8px;
  left: 8px;
  padding: 11px 14px;
  background: var(--paper);
  color: var(--ink);
  transform: translateY(-180%);
}

.skip:focus { transform: none; }

.page {
  width: min(100%, 940px);
  min-height: 100svh;
  margin: auto;
  padding:
    max(22px, env(safe-area-inset-top))
    max(18px, env(safe-area-inset-right))
    max(50px, env(safe-area-inset-bottom))
    max(18px, env(safe-area-inset-left));
}

.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: clamp(52px, 9vw, 82px);
}

.brand {
  display: block;
  width: clamp(120px, 17vw, 164px);
  line-height: 0;
  text-decoration: none;
}

.brand img {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 7px 22px rgba(0, 0, 0, .4));
}

.back {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: .08em;
  text-decoration: none;
}

.eyebrow {
  display: block;
  margin-bottom: 22px;
  color: var(--gold);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .17em;
  text-transform: uppercase;
}

h1 {
  max-width: 13ch;
  margin: 0 0 24px;
  font: 400 clamp(45px, 10vw, 86px)/.9 var(--font-display);
  letter-spacing: -.055em;
}

.lead {
  max-width: 68ch;
  margin: 0 0 48px;
  color: var(--muted);
  font-size: clamp(16px, 2vw, 18px);
  line-height: 1.72;
}

.completion {
  margin: 0 0 34px;
  padding: 22px;
  border: 1px solid rgba(209, 179, 132, .44);
  border-radius: 20px;
  background: rgba(209, 179, 132, .075);
}

.completion strong {
  display: block;
  margin-bottom: 9px;
  color: var(--gold);
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.completion p,
.completion ul { margin: 0; }

.completion ul { padding-left: 20px; }

.completion li + li { margin-top: 7px; }

.identity {
  display: grid;
  gap: 1px;
  margin: 0 0 34px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--line);
}

.identity div {
  min-width: 0;
  padding: 16px 18px;
  background: #110c0d;
}

.identity dt {
  margin: 0 0 7px;
  color: var(--gold);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.identity dd {
  margin: 0;
  overflow-wrap: anywhere;
  color: var(--paper);
  font-size: 14px;
  line-height: 1.55;
}

.missing {
  color: #f2c9a1;
  font-weight: 700;
}

.document {
  display: grid;
  gap: 14px;
}

.section {
  padding: clamp(20px, 4vw, 30px);
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--panel);
}

.section .number {
  display: block;
  margin-bottom: 14px;
  color: var(--gold);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .17em;
  text-transform: uppercase;
}

.section h2 {
  margin: 0 0 13px;
  font: 400 clamp(26px, 5vw, 34px)/1 var(--font-display);
  letter-spacing: -.035em;
}

.section h3 {
  margin: 25px 0 8px;
  color: var(--paper);
  font-size: 15px;
}

.section p,
.section li,
.completion p,
.completion li {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.72;
}

.section p { margin: 0; }

.section p + p { margin-top: 12px; }

.section ul,
.section ol {
  margin: 12px 0 0;
  padding-left: 21px;
}

.section li + li { margin-top: 8px; }

.section strong { color: var(--paper); }

.note {
  margin-top: 18px;
  padding: 14px 16px;
  border-left: 2px solid var(--gold);
  background: rgba(209, 179, 132, .06);
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.updated {
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 11px;
}

.legal-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
  margin-top: 50px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}

.legal-footer a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
}

.legal-footer a:hover { color: var(--paper); }

@media (min-width: 720px) {
  .page { padding-inline: 32px; }
  .identity { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 460px) {
  .brand { width: 132px; }
  .back { font-size: 11px; }
  .completion,
  .section { border-radius: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
