:root {
  --bg: #0B0E11;
  --panel: #11161b;
  --panel-2: #161d23;
  --line: rgba(247, 248, 250, 0.10);
  --text: #F7F8FA;
  --muted: #9AA4AE;
  --mint: #A7F2D0;
  --gold: #B59A6A;
  --red: #E8748A;
  --radius: 16px;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--mint); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { max-width: 780px; margin: 0 auto; padding: 0 20px 96px; }

header.site {
  border-bottom: 1px solid var(--line);
  background: rgba(11, 14, 17, 0.85);
  backdrop-filter: saturate(140%) blur(8px);
  position: sticky;
  top: 0;
  z-index: 10;
}
header.site .wrap {
  padding-top: 18px;
  padding-bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--text);
}
.brand:hover { text-decoration: none; }
.brand .dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 14px rgba(167, 242, 208, 0.55);
}
nav.site a {
  color: var(--muted);
  font-size: 14px;
  margin-left: 18px;
}
nav.site a:first-child { margin-left: 0; }
nav.site a[aria-current="page"] { color: var(--text); }

h1 {
  font-size: clamp(28px, 5vw, 40px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 48px 0 12px;
}
h2 {
  font-size: 20px;
  letter-spacing: -0.01em;
  margin: 40px 0 10px;
  scroll-margin-top: 90px;
}
h3 { font-size: 16px; margin: 24px 0 8px; }
p { margin: 0 0 14px; color: #D6DCE2; }
.lead { font-size: 17px; color: #C7D0D8; }

.meta {
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 28px;
}

ul { margin: 0 0 16px; padding-left: 20px; }
li { margin: 6px 0; color: #D6DCE2; }

.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 22px;
  margin: 20px 0;
}
.card h2, .card h3 { margin-top: 0; }

.note {
  border-left: 3px solid var(--gold);
  background: rgba(181, 154, 106, 0.08);
  border-radius: 0 10px 10px 0;
  padding: 12px 16px;
  margin: 14px 0 0;
  font-size: 14.5px;
  color: #E4DCCB;
}
.warn {
  border-left: 3px solid var(--red);
  background: rgba(232, 116, 138, 0.09);
  border-radius: 0 10px 10px 0;
  padding: 14px 16px;
  margin: 18px 0;
  color: #F3D2D9;
}

.toc { columns: 2; column-gap: 28px; }
.toc a { color: #C7D0D8; font-size: 14.5px; }
@media (max-width: 560px) { .toc { columns: 1; } }

ol.steps { counter-reset: s; list-style: none; padding: 0; margin: 18px 0; }
ol.steps > li {
  counter-increment: s;
  position: relative;
  padding: 0 0 0 44px;
  margin: 0 0 18px;
}
ol.steps > li::before {
  content: counter(s);
  position: absolute;
  left: 0; top: 0;
  width: 28px; height: 28px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(167, 242, 208, 0.12);
  border: 1px solid rgba(167, 242, 208, 0.35);
  color: var(--mint);
  font-size: 13px; font-weight: 700;
}
ol.steps strong { display: block; margin-bottom: 2px; color: var(--text); }

.btn {
  display: inline-block;
  background: var(--mint);
  color: #052325;
  font-weight: 700;
  font-size: 15px;
  padding: 12px 22px;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
}
.btn:hover { text-decoration: none; filter: brightness(1.05); }
.btn.secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line);
}

table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 14.5px; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--muted); font-weight: 600; font-size: 12.5px; text-transform: uppercase; letter-spacing: 0.05em; }
.scroller { overflow-x: auto; }

footer.site {
  border-top: 1px solid var(--line);
  margin-top: 56px;
  padding: 28px 0 60px;
  color: var(--muted);
  font-size: 13.5px;
}
footer.site .wrap { padding-bottom: 0; }
footer.site a { color: var(--muted); }
