:root {
  color-scheme: dark;
  --ink: #f7f6f2;
  --muted: #bbb9b0;
  --line: rgba(255, 255, 255, .13);
  --paper: #10110f;
  --accent: #f1c85a;
}

* { box-sizing: border-box; }

html { background: #0c0d0c; }

body {
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 83% 2%, rgba(199, 161, 68, .2), transparent 30rem),
    radial-gradient(circle at 4% 25%, rgba(255, 255, 255, .08), transparent 26rem),
    var(--paper);
  color: var(--ink);
  font: 17px/1.62 ui-rounded, "SF Pro Rounded", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.shell {
  width: min(100% - 40px, 730px);
  min-height: 100vh;
  margin: auto;
  padding: 92px 0 38px;
}

.hero { max-width: 630px; }

.eyebrow {
  margin: 0 0 13px;
  color: var(--accent);
  font-size: .78rem;
  font-weight: 750;
  letter-spacing: .14em;
  text-transform: uppercase;
}

h1, h2, p { margin-top: 0; }

h1 {
  max-width: 650px;
  margin-bottom: 20px;
  font-size: clamp(2.55rem, 8vw, 4.7rem);
  font-weight: 730;
  letter-spacing: -.065em;
  line-height: .98;
}

.lede { max-width: 590px; color: var(--muted); font-size: 1.08rem; }

.cards { display: grid; gap: 12px; margin-top: 58px; }

.card {
  display: flex;
  align-items: center;
  gap: 17px;
  padding: 21px 20px;
  border: 1px solid var(--line);
  border-radius: 20px;
  color: var(--ink);
  text-decoration: none;
  transition: background .18s ease, border-color .18s ease, transform .18s ease;
}

.card:hover { transform: translateY(-2px); background: rgba(255, 255, 255, .055); border-color: rgba(241, 200, 90, .6); }
.card strong, .card small { display: block; }
.card strong { font-size: 1.08rem; }
.card small { color: var(--muted); font-size: .9rem; }
.card b { margin-left: auto; color: var(--accent); font-size: 1.35rem; }

.card-mark, .die {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(241, 200, 90, .54);
  background: rgba(241, 200, 90, .12);
  color: var(--accent);
}

.card-mark { width: 42px; height: 42px; border-radius: 13px; font-weight: 750; }

.die {
  position: relative;
  width: 66px;
  height: 66px;
  margin-bottom: 36px;
  border-radius: 19px;
  box-shadow: 10px 14px 26px rgba(0,0,0,.36), inset 0 1px rgba(255,255,255,.44);
}

.die i { position: absolute; width: 8px; height: 8px; border-radius: 50%; background: #191b18; }
.die i:nth-child(1) { left: 17px; top: 17px; }
.die i:nth-child(2) { right: 17px; top: 17px; }
.die i:nth-child(3) { left: 29px; top: 29px; }
.die i:nth-child(4) { left: 17px; bottom: 17px; }
.die i:nth-child(5) { right: 17px; bottom: 17px; }

.document { max-width: 680px; }
.document h1 { margin-bottom: 12px; }
.document section { margin: 38px 0; }
.document h2 { margin-bottom: 8px; font-size: 1.24rem; letter-spacing: -.025em; }
.document p { color: var(--muted); }
.document a { color: var(--accent); }
.back { display: inline-block; margin-bottom: 48px; color: var(--accent); text-decoration: none; font-weight: 650; }
.updated { margin-bottom: 46px; color: var(--muted); font-size: .93rem; }
footer { margin-top: 76px; padding-top: 20px; border-top: 1px solid var(--line); color: #888780; font-size: .84rem; }

@media (max-width: 520px) {
  .shell { width: min(100% - 32px, 730px); padding-top: 58px; }
  .die { margin-bottom: 28px; transform: scale(.87); transform-origin: left top; }
  h1 { font-size: clamp(2.38rem, 13vw, 3.25rem); }
}
