:root {
  --paper: #e9edf2;
  --paper-deep: #dde3ea;
  --ink: #16202c;
  --ink-soft: #3d4a5a;
  --slate: #6b7787;
  --rule: #c6cfd9;
  --storm: #16202c;
  --storm-text: #e9edf2;
  --bolt: #f5c400;
  --bolt-deep: #d9a800;
  --max: 68ch;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Source Serif 4", Georgia, "Times New Roman", serif;
  font-size: 1.125rem;
  line-height: 1.6;
  font-optical-sizing: auto;
}

h1, h2, h3, .wordmark, .nav, .foot, .cta, .fact dt, .steps li::before {
  font-family: "Bricolage Grotesque", "Helvetica Neue", Arial, sans-serif;
}

a { color: inherit; text-decoration-color: var(--bolt-deep); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--ink); }
a:focus-visible, button:focus-visible { outline: 3px solid var(--bolt); outline-offset: 3px; border-radius: 2px; }

.wrap { width: min(100% - 2rem, 72rem); margin-inline: auto; }

/* nav */
.nav {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.1rem 0; font-size: 0.95rem;
}
.wordmark { font-weight: 700; font-size: 1.15rem; letter-spacing: -0.01em; text-decoration: none; display: inline-flex; align-items: center; gap: .45rem; }
.wordmark svg { width: 14px; height: 20px; }
.nav ul { list-style: none; display: flex; gap: 1.4rem; margin: 0; padding: 0; flex-wrap: wrap; }
.nav ul a { text-decoration: none; color: var(--ink-soft); }
.nav ul a:hover, .nav ul a[aria-current="page"] { color: var(--ink); text-decoration: underline; }

/* hero (home) */
.hero {
  background: var(--storm); color: var(--storm-text);
  padding: clamp(3rem, 9vw, 7rem) 0 clamp(2.5rem, 7vw, 5rem);
  position: relative; overflow: hidden;
}
.hero .wrap { position: relative; display: grid; grid-template-columns: 1fr; gap: 2rem; }
.hero h1 {
  margin: 0; font-weight: 800; letter-spacing: -0.035em; line-height: 0.92;
  font-size: clamp(3.6rem, 14vw, 11rem);
  font-variation-settings: "opsz" 96, "wdth" 90;
}
.hero p { max-width: 36ch; font-size: clamp(1.15rem, 2vw, 1.5rem); line-height: 1.4; margin: 0; color: #c9d2dd; }
.hero .bolt {
  position: absolute; right: 4vw; top: -8%; height: 118%; width: auto;
  opacity: .95; pointer-events: none;
}
@media (max-width: 720px) { .hero .bolt { right: -3rem; opacity: .45; } }

/* sections */
.section { padding: clamp(2.5rem, 6vw, 4.5rem) 0; }
.section + .section { border-top: 1px solid var(--rule); }
.section h2 { font-size: clamp(1.6rem, 3.2vw, 2.25rem); letter-spacing: -0.02em; line-height: 1.1; margin: 0 0 1rem; font-weight: 700; }
.section p, .section li { max-width: var(--max); }
.section p { margin: 0 0 1rem; }

.fact { display: grid; grid-template-columns: 1fr; gap: 1.25rem 2.5rem; margin: 0; max-width: 60rem; }
@media (min-width: 720px) { .fact { grid-template-columns: 1fr 1fr; } }
.fact div { border-left: 3px solid var(--bolt); padding-left: 1rem; }
.fact dt { font-weight: 700; font-size: 1.05rem; margin-bottom: .25rem; }
.fact dd { margin: 0; color: var(--ink-soft); }

.steps { counter-reset: s; list-style: none; padding: 0; margin: 0; }
.steps li { counter-increment: s; position: relative; padding-left: 2.6rem; margin: 0 0 1rem; }
.steps li::before {
  content: counter(s); position: absolute; left: 0; top: .1rem;
  width: 1.8rem; height: 1.8rem; border-radius: 50%; display: grid; place-items: center;
  background: var(--ink); color: var(--bolt); font-weight: 700; font-size: .95rem;
}

.cta { display: inline-block; background: var(--bolt); color: var(--ink); text-decoration: none; font-weight: 700; padding: .75rem 1.25rem; border-radius: 4px; }
.cta:hover { background: var(--bolt-deep); }

/* document pages */
.doc { padding: clamp(2rem, 5vw, 4rem) 0 clamp(3rem, 7vw, 5rem); }
.doc h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); letter-spacing: -0.03em; line-height: 1.02; margin: 0 0 .5rem; font-weight: 800; }
.doc .meta { color: var(--slate); margin: 0 0 2.5rem; font-size: 1rem; }
.doc h2 { font-size: 1.45rem; letter-spacing: -0.015em; margin: 2.25rem 0 .6rem; font-weight: 700; }
.doc p, .doc li { max-width: var(--max); }
.doc p { margin: 0 0 1rem; }
.doc ul { padding-left: 1.3rem; }
.doc li { margin-bottom: .4rem; }
.doc .lede { font-size: 1.25rem; line-height: 1.5; color: var(--ink-soft); }
.doc code { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: .92em; background: var(--paper-deep); padding: .1em .35em; border-radius: 3px; }

/* footer */
.foot { border-top: 1px solid var(--rule); padding: 1.5rem 0 2.5rem; color: var(--slate); font-size: .9rem; display: flex; flex-wrap: wrap; gap: .6rem 1.5rem; align-items: center; }
.foot a { text-decoration: none; }
.foot a:hover { text-decoration: underline; }

@media (prefers-reduced-motion: no-preference) {
  .hero .bolt path { stroke-dasharray: 1200; stroke-dashoffset: 1200; animation: strike .9s cubic-bezier(.2,.9,.3,1) .15s forwards; }
  @keyframes strike { to { stroke-dashoffset: 0; } }
}

@media (max-width: 600px) {
  .nav { flex-direction: column; align-items: flex-start; gap: .6rem; }
  .nav ul { gap: 1rem; }
}
