:root {
  --bg: #0d1014;
  --surface: #141920;
  --surface-2: #1a2029;
  --line: #262e39;
  --text: #e7eaee;
  --muted: #98a2ae;
  --accent: #f4b43a;
  --accent-ink: #1a1305;
  --sans: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --wrap: 1120px;
  --radius: 10px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.015em; margin: 0 0 .5em; font-weight: 600; }
h1 { font-size: clamp(2.2rem, 5.5vw, 3.9rem); }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: 24px; }
.muted { color: var(--muted); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: var(--accent); color: var(--accent-ink); padding: 8px 12px; z-index: 10; }

/* header */
.site-header {
  position: sticky; top: 0; z-index: 5;
  background: rgba(13, 16, 20, .88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; flex-wrap: wrap; }
.brand { font-family: var(--mono); font-weight: 500; font-size: 1.2rem; color: var(--text); letter-spacing: -.02em; margin: 0; }
.brand:hover { text-decoration: none; }
.cursor { color: var(--accent); animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .cursor { animation: none; } html { scroll-behavior: auto; } }
.nav { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.nav a:not(.btn) { color: var(--muted); font-size: .95rem; }
.nav a:not(.btn):hover { color: var(--text); text-decoration: none; }

/* buttons */
.btn {
  display: inline-block; background: var(--accent); color: var(--accent-ink);
  font-weight: 600; padding: 12px 20px; border-radius: 8px; border: 1px solid var(--accent);
  font-family: var(--sans); font-size: 1rem; cursor: pointer;
}
.btn:hover { text-decoration: none; filter: brightness(1.07); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--muted); }
.btn-small { padding: 8px 14px; font-size: .9rem; }
.btn-block { display: block; text-align: center; margin-top: 20px; }

/* hero */
.hero { padding-block: clamp(64px, 11vw, 132px) clamp(48px, 8vw, 96px); border-bottom: 1px solid var(--line);
  background:
    linear-gradient(to bottom, transparent, var(--bg)),
    repeating-linear-gradient(90deg, rgba(255,255,255,.025) 0 1px, transparent 1px 64px),
    repeating-linear-gradient(0deg, rgba(255,255,255,.025) 0 1px, transparent 1px 64px);
}
.hero h1 { max-width: 16ch; }
.eyebrow { font-family: var(--mono); font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; color: var(--accent); margin-bottom: 18px; }
.eyebrow a { color: inherit; }
.lede { font-size: clamp(1.08rem, 1.8vw, 1.3rem); color: var(--muted); max-width: 60ch; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }

/* credentials */
.creds { border-bottom: 1px solid var(--line); background: var(--surface); }
.cred-list { list-style: none; margin: 0; padding: 22px 0; display: flex; flex-wrap: wrap; gap: 10px 12px; }
.cred-list li {
  font-family: var(--mono); font-size: .82rem; color: var(--text);
  border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; background: var(--bg);
}

/* sections */
.section { padding-block: clamp(56px, 8vw, 96px); }
.section-alt { background: var(--surface); border-block: 1px solid var(--line); }
.section-head { margin-bottom: 36px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 16px; }
.card {
  display: flex; flex-direction: column; gap: 6px; padding: 26px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); color: var(--text);
  transition: border-color .15s, transform .15s;
}
.card:hover { text-decoration: none; border-color: var(--accent); transform: translateY(-2px); }
.card p { color: var(--muted); font-size: .97rem; flex: 1; }
.card-num { font-family: var(--mono); font-size: .8rem; color: var(--accent); }
.card-link { font-size: .9rem; color: var(--accent); }

/* page */
.page-head { padding-block: clamp(56px, 9vw, 104px) clamp(28px, 4vw, 44px); border-bottom: 1px solid var(--line); }
.page-head h1 { max-width: 20ch; }
.prose { max-width: 70ch; }
.prose-wide { max-width: 900px; }
.prose h2 { margin-top: 1.6em; }
.prose h2:first-child, .prose-wide h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.4em; }
.prose ul, .prose ol, .prose-wide ul, .prose-wide ol { padding-left: 1.2em; }
.prose li, .prose-wide li { margin-bottom: .45em; }
.prose-wide ol { list-style: none; counter-reset: step; padding: 0; display: grid; gap: 14px; }
.prose-wide ol li { counter-increment: step; position: relative; padding: 18px 20px 18px 64px; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); margin: 0; }
.prose-wide ol li::before { content: counter(step, decimal-leading-zero); position: absolute; left: 20px; top: 18px; font-family: var(--mono); color: var(--accent); }
strong { color: var(--text); font-weight: 600; }
code { font-family: var(--mono); font-size: .9em; background: var(--surface-2); padding: 1px 6px; border-radius: 4px; }

.split { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 48px; align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; position: sticky; top: 92px; }
.panel-title { font-size: 1rem; font-family: var(--mono); text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.checks { list-style: none; padding: 0; margin: 0; }
.checks li { padding: 8px 0 8px 26px; border-top: 1px solid var(--line); position: relative; font-size: .96rem; }
.checks li::before { content: "›"; position: absolute; left: 6px; color: var(--accent); font-family: var(--mono); }

/* form */
.form { display: grid; gap: 16px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .row { grid-template-columns: 1fr; } }
label { display: grid; gap: 6px; font-size: .9rem; color: var(--muted); }
input, select, textarea {
  font: inherit; font-size: 1rem; color: var(--text); background: var(--surface);
  border: 1px solid var(--line); border-radius: 8px; padding: 11px 12px; width: 100%;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); }
.form .btn { justify-self: start; }

/* cta */
.cta { padding-block: clamp(56px, 8vw, 96px); }
.cta-inner { text-align: center; }
.cta-inner p { color: var(--muted); max-width: 52ch; margin-inline: auto; margin-bottom: 26px; }

/* footer */
.site-footer { border-top: 1px solid var(--line); padding-block: 40px 24px; background: var(--surface); }
.foot { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.foot-nav { display: flex; gap: 20px; flex-wrap: wrap; }
.foot-nav a { color: var(--muted); }
.fine { font-size: .82rem; margin-top: 24px; }
