
@font-face { font-family: "Jersey 15"; font-weight: 400; font-display: swap; src: url("assets/fonts/jersey-15.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-weight: 400; font-display: swap; src: url("assets/fonts/plex-sans-400.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-weight: 500; font-display: swap; src: url("assets/fonts/plex-sans-500.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-weight: 600; font-display: swap; src: url("assets/fonts/plex-sans-600.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-weight: 700; font-display: swap; src: url("assets/fonts/plex-sans-700.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-weight: 400; font-display: swap; src: url("assets/fonts/plex-mono-400.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-weight: 500; font-display: swap; src: url("assets/fonts/plex-mono-500.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-weight: 600; font-display: swap; src: url("assets/fonts/plex-mono-600.woff2") format("woff2"); }

:root {
  color-scheme: dark;

  --bg: #18191c;
  --raised: #202226;
  --sunken: #111215;
  --line: #2e3136;
  --line-strong: #3d4147;
  --edge: #0c0d0f;

  --ink: #f1f1ed;
  --ink-2: #b9bcb7;
  --ink-3: #888c88;

  --green: #3c8527;
  --green-hover: #46962e;
  --green-edge: #2a641c;
  --green-text: #8ed16f;

  --display: "Jersey 15", "IBM Plex Sans", system-ui, sans-serif;
  --sans: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 1rem/1.65 var(--sans);
}

h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img { display: block; }
[hidden] { display: none !important; }

a {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: var(--green-text);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
}
a:hover { color: var(--green-text); }

:focus-visible {
  outline: 2px solid var(--green-text);
  outline-offset: 3px;
}

::selection { background: #3c8527; color: #fff; }

code { font-family: var(--mono); font-size: 0.875em; }
:not(pre) > code {
  padding: 0.12em 0.36em;
  border-radius: 2px;
  background: #2a2d32;
  overflow-wrap: break-word;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.wrap {
  width: min(1120px, 100% - 48px);
  margin-inline: auto;
}

.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 10;
  padding: 8px 12px;
  background: var(--ink);
  color: var(--bg);
}
.skip:focus { top: 12px; color: var(--bg); }

h1, h2, .display {
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: 0.01em;
}



.block {
  border: 1px solid var(--line);
  border-bottom: 4px solid var(--edge);
  border-radius: 3px;
  background: var(--raised);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 11px 16px 10px;
  border: 0;
  border-bottom: 3px solid var(--green-edge);
  border-radius: 2px;
  background: var(--green);
  color: #fff;
  font: 600 0.98rem/1.4 var(--sans);
  text-decoration: none;
  cursor: pointer;
}
.btn:hover { background: var(--green-hover); color: #fff; }
.btn:active {
  margin-bottom: 2px;
  border-bottom-width: 1px;
  transform: translateY(2px);
}
.btn:focus-visible { outline-color: var(--ink); }
.btn-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.btn svg {
  flex: none;
  width: 14px;
  height: 14px;
  fill: currentColor;
}
.btn-size {
  font: 400 0.8rem var(--mono);
  opacity: 0.85;
}
.btn-block { display: flex; }
.btn-small {
  padding: 6px 12px 5px;
  font-size: 0.88rem;
}
.btn-plain {
  border-bottom-color: var(--edge);
  background: #2c2f34;
}
.btn-plain:hover { background: #363a40; }



.top {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}
.top-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 64px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font: 400 1.75rem/1 var(--display);
  letter-spacing: 0.02em;
  text-decoration: none;
}
.brand:hover { color: inherit; }
.brand img { width: 48px; height: 48px; object-fit: contain; flex-shrink: 0; }

.top-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 0.94rem;
}
.top-nav a:not(.btn) {
  color: var(--ink-2);
  text-decoration: none;
}
.top-nav a:not(.btn):hover,
.top-nav a[aria-current="page"] { color: var(--ink); }
.top-nav a[aria-current="page"] {
  text-decoration: underline;
  text-decoration-color: var(--green-text);
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}



.hero {
  border-bottom: 1px solid var(--line);
  background: url("assets/pixel/stone.svg") 0 0 / 64px 64px;
}
.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 56px;
  align-items: center;
  padding-block: 84px 92px;
}

.hero h1 {
  font-size: clamp(3rem, 1.2rem + 5vw, 5rem);
  line-height: 0.92;
}
.hero h1 span { color: var(--green-text); }

.lead {
  max-width: 31em;
  margin-top: 22px;
  color: var(--ink-2);
  font-size: 1.14rem;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}
.scene {
  padding: 52px 26px 22px;
  border: 1px solid var(--line-strong);
  border-bottom: 4px solid var(--edge);
  border-radius: 3px;
  background: var(--sunken);
}
.scene-row,
.scene-names {
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr) 80px minmax(0, 1fr) 80px;
  align-items: center;
}
.scene-row img {
  width: 80px;
  height: 80px;
}
.scene-names {
  margin-top: 14px;
  font-size: 0.92rem;
  font-weight: 600;
  text-align: center;
}
.scene-names span {
  justify-self: center;
  white-space: nowrap;
}
.scene-names span:nth-child(2) { grid-column: 3; }
.scene-names span:nth-child(3) { grid-column: 5; }
.scene-note {
  margin-top: 30px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--ink-2);
  font-size: 0.88rem;
  text-align: center;
}

.wire {
  position: relative;
  height: 4px;
  margin-inline: 10px;
  background: repeating-linear-gradient(90deg, #4b4f55 0 4px, transparent 4px 12px);
}
.wire i {
  position: absolute;
  top: -2px;
  left: 0;
  width: 8px;
  height: 8px;
  background: var(--green-text);
  animation: hop 2.4s steps(10) infinite;
}
.wire i + i { animation-delay: -1.2s; }
.wire-out i { animation-delay: -0.6s; }
.wire-out i + i { animation-delay: -1.8s; }
@keyframes hop {
  from { left: 0; }
  to { left: calc(100% - 8px); }
}



.section { padding-block: 84px; }
.section + .section { border-top: 1px solid var(--line); }
.section-alt { background: #1c1d21; }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px 40px;
  margin-bottom: 34px;
}
.section-head h2 {
  font-size: 2.9rem;
  line-height: 1;
}
.section-head p {
  margin-top: 10px;
  color: var(--ink-2);
  text-wrap: balance;
}



.choices {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.choice {
  display: flex;
  flex-direction: column;
  padding: 28px 28px 26px;
}
.choice-head {
  display: flex;
  align-items: center;
  gap: 18px;
}
.choice-head img {
  width: 64px;
  height: 64px;
}
.choice h3 {
  font: 400 2.2rem/1 var(--display);
  letter-spacing: 0.01em;
}
.choice > p {
  margin-top: 18px;
  color: var(--ink-2);
}
.ticks {
  margin: 16px 0 24px;
  font-size: 0.95rem;
}
.ticks li {
  position: relative;
  padding: 7px 0 7px 22px;
  border-top: 1px solid var(--line);
}
.ticks li:last-child { border-bottom: 1px solid var(--line); }
.ticks li::before {
  content: "";
  position: absolute;
  left: 1px;
  top: 1.05em;
  width: 8px;
  height: 8px;
  background: var(--green);
}
.choice .btn { margin-top: auto; }
.choice-foot {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 14px;
  color: var(--ink-3);
  font-size: 0.86rem;
}
.choice-foot a { color: var(--ink-2); }
.choice-foot a:hover { color: var(--green-text); }



.features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: var(--line);
  overflow: hidden;
}
.features li {
  padding: 26px 26px 28px;
  background: var(--bg);
}
.section-alt .features li { background: #1c1d21; }
.features img {
  width: 36px;
  height: 36px;
  margin-bottom: 16px;
}
.features h3 {
  font-size: 1.06rem;
  font-weight: 600;
  line-height: 1.4;
}
.features p {
  margin-top: 6px;
  color: var(--ink-2);
  font-size: 0.95rem;
  line-height: 1.6;
}



.seg {
  display: none;
  flex: none;
  padding: 3px;
  border: 1px solid var(--line-strong);
  border-radius: 3px;
  background: var(--sunken);
}
.js .seg { display: inline-flex; }
.seg button {
  padding: 7px 14px;
  border: 0;
  border-radius: 2px;
  background: none;
  color: var(--ink-2);
  font: 500 0.9rem var(--sans);
  cursor: pointer;
}
.seg button:hover { color: var(--ink); }
.seg button[aria-pressed="true"] {
  background: #2c2f34;
  color: var(--green-text);
}
.js .nojs-title { display: none; }
.nojs-title {
  margin: 0 0 14px;
  font-size: 1.1rem;
  font-weight: 600;
}
[data-panel] + [data-panel] { margin-top: 32px; }
.js [data-panel] + [data-panel] { margin-top: 0; }



.trio {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  counter-reset: trio;
}
.trio li {
  padding: 22px 24px 24px;
  counter-increment: trio;
}
.trio li::before {
  content: counter(trio);
  display: block;
  margin-bottom: 8px;
  color: var(--green-text);
  font: 400 3rem/1 var(--display);
}
.trio h3 {
  font-size: 1.06rem;
  font-weight: 600;
  line-height: 1.4;
}
.trio p {
  margin-top: 6px;
  color: var(--ink-2);
  font-size: 0.95rem;
  line-height: 1.6;
}
.after {
  margin-top: 26px;
  color: var(--ink-2);
}



.faq {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 56px;
}
.faq > div {
  padding: 20px 0 22px;
  border-top: 1px solid var(--line);
}
.faq h3 {
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.45;
}
.faq p {
  margin-top: 6px;
  color: var(--ink-2);
  font-size: 0.97rem;
}



.bottom {
  padding-top: 24px;
  background:
    url("assets/pixel/grass.svg") 0 0 / 64px 24px repeat-x,
    url("assets/pixel/dirt.svg") 0 0 / 64px 64px;
  color: #eadfd3;
}
.bottom-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 32px;
  padding-block: 34px 38px;
  font-size: 0.92rem;
}
.bottom .brand { font-size: 1.5rem; }
.bottom .brand img { width: 40px; height: 40px; }
.bottom-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
}
.bottom a { text-decoration-color: #eadfd3; }
.bottom a:hover { color: #fff; }
.bottom-note {
  flex-basis: 100%;
  color: #c9b8a7;
  font-size: 0.84rem;
}



.page-head {
  border-bottom: 1px solid var(--line);
  background: url("assets/pixel/stone.svg") 0 0 / 64px 64px;
}
.page-head-inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px 40px;
  padding-block: 56px 44px;
}
.page-head h1 {
  font-size: clamp(2.8rem, 2rem + 3vw, 4rem);
  line-height: 0.95;
}
.page-head p {
  max-width: 36em;
  margin-top: 12px;
  color: var(--ink-2);
  font-size: 1.08rem;
}

.page { padding-block: 56px 88px; }
.page h2 {
  margin-bottom: 18px;
  font-size: 2.3rem;
  line-height: 1;
}
.page-part + .page-part { margin-top: 72px; }
.page-part > p { max-width: 44em; color: var(--ink-2); }
.page-part > p + * { margin-top: 20px; }

.guide {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 40px;
  align-items: start;
}
.guide-aside {
  position: sticky;
  top: 88px;
  padding: 22px 22px 20px;
}
.guide-aside img {
  width: 56px;
  height: 56px;
  margin-bottom: 14px;
}
.guide-aside h3 {
  font-size: 1.02rem;
  font-weight: 600;
}
.guide-aside .ticks { margin: 12px 0 20px; font-size: 0.92rem; }
.guide-aside small {
  display: block;
  margin-top: 12px;
  color: var(--ink-3);
  font-size: 0.84rem;
}

.steps { counter-reset: step; }
.steps > li {
  position: relative;
  padding: 20px 24px 22px 76px;
  counter-increment: step;
}
.steps > li + li { margin-top: 14px; }
.steps > li::before {
  content: counter(step);
  position: absolute;
  left: 24px;
  top: 16px;
  color: var(--green-text);
  font: 400 2.6rem/1 var(--display);
}
.steps h3 {
  font-size: 1.08rem;
  font-weight: 600;
  line-height: 1.5;
}
.steps p {
  margin-top: 4px;
  color: var(--ink-2);
}
.note {
  margin-top: 18px;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: var(--sunken);
  color: var(--ink-2);
  font-size: 0.94rem;
}
.page-part > .note { max-width: none; }
.page-part > .note + .note { margin-top: 10px; }

.pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  align-items: start;
}
.pair > .block { padding: 8px 24px 12px; }
.pair-note {
  margin-top: 14px;
  color: var(--ink-2);
  font-size: 0.94rem;
}



figure.code {
  position: relative;
  margin-top: 12px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: var(--sunken);
}
figure.code figcaption {
  padding: 6px 12px;
  border-bottom: 1px solid var(--line);
  color: var(--ink-3);
  font: 400 0.74rem/1.5 var(--mono);
}
figure.code + figure.code { margin-top: 10px; }
.pair figure.code:first-child { margin-top: 0; }

pre {
  margin: 0;
  padding: 12px 14px;
  overflow-x: auto;
  font: 400 0.84rem/1.6 var(--mono);
}
pre code { font-size: inherit; }

.copy {
  position: absolute;
  top: 1px;
  right: 2px;
  padding: 6px 10px;
  border: 0;
  background: none;
  color: var(--ink-2);
  font: 500 0.74rem/1.5 var(--mono);
  cursor: pointer;
}
.copy:hover { color: var(--green-text); text-decoration: underline; }

.log {
  padding: 12px 14px;
  color: #d9dcd6;
  font: 400 0.78rem/1.6 var(--mono);
}
.log p {
  margin: 0;
  padding-left: 1.3em;
  color: inherit;
  text-indent: -1.3em;
  overflow-wrap: anywhere;
}
.log p + p { margin-top: 3px; }
.log span { color: var(--ink-3); }

details { border-top: 1px solid var(--line); }
details:last-of-type { border-bottom: 1px solid var(--line); }
summary {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 12px 0;
  font-weight: 500;
  list-style: none;
  cursor: pointer;
}
summary::-webkit-details-marker { display: none; }
summary::before {
  content: "+";
  width: 1ch;
  color: var(--ink-3);
  font: 500 1rem var(--mono);
}
details[open] > summary::before { content: "\2212"; }
summary:hover { color: var(--green-text); }
details pre {
  margin-bottom: 16px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: var(--sunken);
  font-size: 0.78rem;
}



table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  line-height: 1.5;
}
th, td {
  padding: 11px 18px 11px 0;
  border-bottom: 1px solid var(--line);
  font-weight: 400;
  text-align: left;
  vertical-align: top;
}
th:last-child, td:last-child { padding-right: 0; }
tr:last-child > th, tr:last-child > td { border-bottom: 0; }
thead tr:last-child > th { border-bottom: 1px solid var(--line-strong); }
thead th {
  padding-bottom: 8px;
  color: var(--ink-3);
  font-size: 0.8rem;
  font-weight: 600;
}
tbody th { white-space: nowrap; }
td { color: var(--ink-2); }

.table-block { padding: 6px 24px 8px; }
.kv th {
  width: 7em;
  color: var(--ink-3);
}
.kv td { color: var(--ink); }
.commands th { width: 15em; }
.commands code, .settings th code {
  padding: 0;
  background: none;
  color: var(--green-text);
}
.settings td:nth-child(2) { width: 10em; }
.settings td span { display: block; }



@media (max-width: 980px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 48px;
    padding-block: 60px 68px;
  }
  .scene { max-width: 560px; }
  .section { padding-block: 64px; }
  .features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .guide { grid-template-columns: minmax(0, 1fr); }
  .guide-aside { position: static; order: -1; }
}

@media (max-width: 760px) {
  .choices, .trio, .faq, .pair { grid-template-columns: minmax(0, 1fr); }
  .section-head {
    flex-direction: column;
    align-items: flex-start;
  }
  .page-head-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .wrap { width: calc(100% - 40px); }
  .top-nav { gap: 18px; }
  .top-nav .wide-only { display: none; }

  .hero-inner { padding-block: 44px 52px; }
  .lead { font-size: 1.06rem; }
  .hero-actions .btn { flex: 1 1 100%; }
  .section { padding-block: 52px; }
  .section-head h2 { font-size: 2.4rem; }
  .page h2 { font-size: 2rem; }

  .scene { padding: 34px 14px 18px; }
  .scene-row, .scene-names { grid-template-columns: 64px minmax(0, 1fr) 64px minmax(0, 1fr) 64px; }
  .scene-row img { width: 64px; height: 64px; }
  .scene-names { font-size: 0.8rem; }
  .wire { margin-inline: 8px; }

  .choice { padding: 22px 20px; }
  .features { grid-template-columns: minmax(0, 1fr); }
  .features li { padding: 22px 20px 24px; }

  .steps > li { padding: 18px 18px 20px 58px; }
  .steps > li::before { left: 18px; font-size: 2.2rem; }
  .pair > .block, .table-block { padding-inline: 18px; }

  .commands tr, .settings tr {
    display: block;
    padding: 11px 0;
    border-bottom: 1px solid var(--line);
  }
  .commands tr:last-child, .settings tr:last-child { border-bottom: 0; }
  .commands th, .commands td,
  .settings th, .settings td {
    display: block;
    width: auto;
    padding: 0;
    border: 0;
  }
  .settings thead { display: none; }
  .settings td:nth-child(2) { width: auto; font-size: 0.86rem; }
  .settings td:nth-child(2)::before { content: "Default: "; color: var(--ink-3); }
  .settings td span { display: inline; }
  .settings td span + span::before { content: "/ "; color: var(--ink-3); }
  .settings th, .commands th { white-space: normal; }

  pre { font-size: 0.8rem; }
  .log { font-size: 0.74rem; }
}

@media (max-width: 400px) {
  .top-nav a:not(.btn):not(:first-child) { display: none; }
}

@media (max-width: 350px) {
  .top-nav a:not(.btn) { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .wire i { animation: none; left: 45%; }
  .wire i + i { display: none; }
}
