:root {
  /* Shared Goblin Reactor palette. */
  --ink: #12140f; --paper: #f7f6f1; --white: #fffefa; --muted: #62645c;
  --line: #d8d8cf; --acid: #a6e22e; --acid-dark: #548a08; --cyan: #0b8897;
  --orange: #ed6b2f; --dark: #11130f; --dark-soft: #1b1e17;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --serif: Georgia, "Times New Roman", serif;
  font-family: var(--sans); color: var(--ink); background: var(--paper);
  font-synthesis: none; scroll-behavior: smooth;
}
* { box-sizing: border-box; }
body { margin: 0; }
::selection { color: var(--ink); background: var(--acid); }
a { color: inherit; text-underline-offset: 4px; }
a:hover { color: var(--acid-dark); }
button { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, summary:focus-visible, [tabindex]:focus-visible { outline: 3px solid var(--cyan); outline-offset: 5px; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { overflow-wrap: anywhere; }
.wrap { width: min(1180px, calc(100% - 80px)); margin-inline: auto; }
.site-header { display: flex; align-items: center; justify-content: space-between; padding-block: 22px; border-bottom: 1px solid var(--line); gap: 30px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font: 700 17px/1.2 var(--mono); text-decoration: none; white-space: nowrap; }
.brand:hover { color: var(--ink); }
.brand-mark { width: 44px; height: 44px; flex: 0 0 44px; object-fit: cover; border: 1px solid var(--ink); border-radius: 50%; }
.brand strong, .brand small { display: block; }
.brand small { margin-top: 5px; font-size: 10px; font-weight: 400; color: var(--muted); }
.mark { font-size: 38px; line-height: 1; }
nav { display: flex; gap: 28px; font-size: 13px; font-weight: 700; }
nav a { text-decoration: none; }
.hero { display: grid; grid-template-columns: 1.08fr 1fr; gap: 24px; padding-block: 64px 72px; align-items: center; }
.hero-copy { position: relative; z-index: 1; }
.eyebrow { color: var(--acid-dark); font: 700 11px/1.7 var(--mono); letter-spacing: .025em; margin: 0 0 22px; }
.eyebrow::before { content: "// "; color: var(--orange); }
.hero h1 { font: 850 clamp(56px, 7.2vw, 98px)/.94 var(--sans); letter-spacing: -.065em; margin: 0 0 32px; }
.hero h1 em { font-style: normal; text-decoration: underline; text-decoration-color: var(--acid); text-decoration-thickness: .075em; text-underline-offset: .07em; }
.lead { max-width: 490px; font: 19px/1.65 var(--serif); color: var(--muted); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; margin: 30px 0 24px; }
.button { display: inline-flex; align-items: center; gap: 28px; background: var(--ink); color: var(--white); border: 1px solid var(--ink); padding: 16px 20px; text-decoration: none; font-size: 13px; font-weight: 750; }
.button:hover { background: var(--acid-dark); border-color: var(--acid-dark); color: var(--white); }
.text-link { font-size: 13px; font-weight: 650; text-decoration: none; }
.requirement { font: 10px/1.8 var(--mono); color: var(--muted); }
.requirement span { color: var(--acid-dark); font-size: 9px; margin-right: 7px; }
.hero-mascot { min-width: 0; }
.hero-mascot img { width: 100%; height: auto; mix-blend-mode: multiply; }
.protocol-band { background: var(--dark); color: var(--acid); }
.protocol-band .wrap { display: flex; align-items: center; justify-content: space-between; padding-block: 27px; gap: 15px; }
.protocol-band span { font: 700 23px var(--mono); }
.protocol-band span:first-child, .protocol-band span:last-child { font: 10px var(--mono); letter-spacing: .04em; color: #c5c8be; }
.section { padding-block: 88px; }
.section-heading { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px 70px; margin-bottom: 42px; }
.section-heading > .eyebrow { grid-column: 1/-1; margin: 0; }
h2 { font: 800 42px/1.08 var(--sans); letter-spacing: -.045em; margin: 0; }
.section-heading > p:not(.eyebrow) { font-size: 15px; line-height: 1.8; color: var(--muted); margin: 0; align-self: center; max-width: 470px; }
.flow { display: flex; align-items: center; border-block: 1px solid var(--line); gap: 30px; padding-block: 32px; }
.flow > div { flex: 1; min-width: 0; }
.flow-number { font: 11px var(--mono); color: var(--acid-dark); }
h3 { font-size: 17px; font-weight: 750; letter-spacing: -.02em; }
.flow h3 { margin: 12px 0 8px; }
.flow p { color: var(--muted); font-size: 13px; line-height: 1.6; margin: 0; max-width: 235px; }
.flow-arrow { font-size: 24px; color: var(--cyan); }
.explanation-layout { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 64px; align-items: center; margin-top: 52px; }
.details-row { display: grid; gap: 12px; }
.details-row h3 { margin: 0 0 8px; }
.details-row p { margin: 0 0 16px; font-size: 13px; line-height: 1.8; color: var(--muted); }
.terminal-demo { min-width: 0; }
.terminal { border: 1px solid var(--ink); box-shadow: 9px 10px 0 var(--line); border-radius: 5px; overflow: hidden; background: var(--dark); }
.terminal-title { display: flex; justify-content: space-between; align-items: center; background: var(--dark-soft); padding: 12px 14px; color: #c5c8be; font: 11px var(--mono); }
.dots { letter-spacing: 3px; color: var(--orange); font-size: 9px; }
.terminal-command { padding: 19px 16px; color: var(--white); font: 11px/1.7 var(--mono); overflow-wrap: anywhere; }
.terminal-command > span { color: var(--acid); margin-right: 8px; }
.desktop { height: 310px; position: relative; margin: 0 13px; background: #555c46; overflow: hidden; border: 1px solid #737963; }
.desktop-bar { position: relative; z-index: 1; display: flex; justify-content: space-between; background: #e3e4da; color: var(--ink); font-size: 8px; padding: 6px 9px; }
.desktop-grid { position: absolute; inset: 0; background-image: linear-gradient(#ffffff0d 1px, transparent 1px), linear-gradient(90deg, #ffffff0d 1px, transparent 1px); background-size: 18px 18px; }
.app-window { position: absolute; border: 1px solid var(--ink); border-radius: 4px; overflow: hidden; box-shadow: 5px 7px 0 #11130f33; }
.window-title { background: var(--paper); font: 9px/1.5 var(--mono); padding: 6px 9px; display: flex; justify-content: space-between; color: var(--ink); }
.window-title > span { letter-spacing: 3px; }
.files { width: 70%; left: 6%; top: 48px; background: var(--white); height: 165px; }
.file-content { display: flex; font: 8px/2.5 var(--mono); }
.file-content aside { background: #e3e4da; padding: 10px; width: 34%; font-size: 7px; }
.file-content > div { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; padding: 12px 16px; align-items: center; text-align: center; }
.folder { font-size: 29px; color: var(--orange); line-height: 1.5; }
.file-content small { font-size: 7px; }
.editor { background: var(--dark-soft); right: 5%; top: 111px; width: 73%; }
.editor pre { font: 10px/1.8 var(--mono); color: var(--white); padding: 12px; margin: 0; overflow: hidden; }
.code-purple { color: #bcdfe3; }
.code-orange { color: #ff8a55; }
.code-green { color: var(--acid); }
.editor-status { font: 7px var(--mono); background: #373a32; padding: 5px 10px; color: #c5c8be; display: flex; justify-content: space-between; }
.desktop-dock { position: absolute; bottom: 9px; left: 36%; display: flex; gap: 6px; background: #e3e4dacc; padding: 6px 8px; border-radius: 6px; }
.desktop-dock span { background: var(--dark-soft); color: var(--acid); padding: 2px 6px; font: 13px var(--mono); border-radius: 3px; }
.terminal-footer { display: flex; justify-content: space-between; color: #c5c8be; font: 8px/1.5 var(--mono); padding: 12px 14px; }
.terminal-footer i { display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: var(--acid); margin-right: 4px; }
.visual-caption { margin-top: 26px; display: flex; justify-content: space-between; gap: 12px; font: 9px/1.5 var(--mono); color: var(--muted); letter-spacing: .02em; }
code, pre { font-family: var(--mono); }
p code { font-size: .88em; }
.session-section { background: var(--white); border-block: 1px solid var(--line); }
.hdr-section { background: var(--dark); color: var(--white); }
.hdr-section .eyebrow, .hdr-section a:hover { color: var(--acid); }
.hdr-section .section-heading > p:not(.eyebrow) { color: #c5c8be; }
.hdr-section h2 a { text-decoration-color: var(--acid); text-decoration-thickness: 3px; text-underline-offset: 7px; }
.hdr-example { margin: 0; }
.hdr-example > a { display: block; border: 1px solid #45493e; border-radius: 8px; overflow: hidden; background: #080a07; }
.hdr-example img { width: 100%; height: auto; dynamic-range-limit: no-limit; }
.hdr-example figcaption { display: flex; justify-content: space-between; align-items: flex-start; gap: 28px; margin-top: 20px; color: #c5c8be; font-size: 12px; line-height: 1.8; }
.hdr-example figcaption span { max-width: 780px; }
.hdr-example figcaption a { flex-shrink: 0; color: var(--acid); }
.hdr-notes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 50px; margin-top: 28px; border-top: 1px solid #45493e; padding-top: 20px; }
.hdr-notes p { margin: 0; font-size: 13px; line-height: 1.85; color: #c5c8be; }
.hdr-notes b { color: var(--white); }
.hdr-credit { margin: 28px 0 0; font-size: 11px; line-height: 1.8; color: #c5c8be; }
.session-layout { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 70px; }
.session-tabs button { background: none; border: 0; border-bottom: 1px solid var(--line); padding: 25px 15px; width: 100%; display: grid; grid-template-columns: 28px 90px 1fr 12px; text-align: left; align-items: center; gap: 8px; color: var(--muted); font-size: 10px; cursor: pointer; }
.session-tabs button:first-child { border-top: 1px solid var(--line); }
.session-tabs button:hover { background: var(--paper); }
.session-tabs button b { font-size: 21px; font-weight: 700; color: var(--ink); }
.session-tabs button span { font-size: 11px; }
.session-tabs button[aria-selected=true] { background: var(--dark); color: var(--acid); }
.session-tabs button[aria-selected=true] b { color: var(--acid); }
.session-panel { padding: 12px 0; }
.session-panel h3 { font: 750 30px/1.2 var(--sans); letter-spacing: -.035em; margin: 0 0 20px; }
.session-panel p:not(.eyebrow) { font-size: 14px; line-height: 1.8; color: var(--muted); }
.command-box { position: relative; background: var(--dark); color: var(--acid); margin-block: 24px; }
.command-box pre { font-size: 12px; line-height: 1.8; white-space: pre-wrap; overflow-wrap: anywhere; padding: 24px 72px 24px 20px; }
.copy { position: absolute; right: 10px; top: 12px; background: transparent; border: 1px solid #737963; color: var(--white); font-size: 10px; padding: 7px; cursor: pointer; }
.copy:hover { color: var(--acid); border-color: var(--acid); }
.session-panel .session-note { font-size: 12px !important; }
.keyboard-note { border-top: 1px solid var(--line); margin: 38px 0 0; padding-top: 22px; font-size: 12px; line-height: 2; color: var(--muted); }
kbd { border: 1px solid #a4a69c; border-radius: 3px; padding: 2px 5px; font: 11px var(--mono); color: var(--ink); }
.release-note { background: #edf2e2; border-left: 3px solid var(--acid-dark); padding: 14px 18px; font-size: 12px; line-height: 1.7; margin: 0 0 30px; }
.install-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; margin-bottom: 35px; }
.install-grid article { min-width: 0; }
.install-grid h3 { font: 750 28px var(--sans); letter-spacing: -.03em; margin-top: 0; }
.install-grid .eyebrow { margin-bottom: 12px; }
.install-grid pre, details pre { background: var(--dark-soft); color: var(--white); padding: 22px; font-size: 11px; line-height: 1.9; overflow: auto; }
.install-grid p:not(.eyebrow), details p { font-size: 13px; line-height: 1.8; color: var(--muted); }
.install-grid a { font-size: 13px; }
.muted { color: var(--muted); }
details { border-top: 1px solid var(--line); padding-block: 20px; }
details:last-child { border-bottom: 1px solid var(--line); }
summary { font-weight: 650; font-size: 14px; cursor: pointer; padding-right: 10px; }
details > p { max-width: 850px; }
.scope { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 70px; border-top: 1px solid var(--line); padding-block: 55px; }
.scope p:not(.eyebrow) { font-size: 13px; line-height: 1.85; color: var(--muted); margin: 0 0 15px; }
.license { display: flex; gap: 28px; background: var(--dark); padding: 40px; color: var(--white); margin-block: 20px 70px; }
.license .mark { color: var(--acid); font-size: 65px; }
.license h2 { font-size: 30px; }
.license p { font-size: 13px; line-height: 1.8; max-width: 730px; color: #c5c8be; }
.license a { font-size: 12px; }
.license a:hover { color: var(--acid); }
.license > div > span { color: #c5c8be; }
footer { display: flex; justify-content: space-between; gap: 20px; align-items: center; border-top: 1px solid var(--line); padding-block: 30px; }
footer p, footer > a:last-child { font-size: 11px; color: var(--muted); }
.skip { position: absolute; left: 15px; top: -100px; z-index: 100; background: var(--ink); color: var(--white); padding: 12px; }
.skip:focus { top: 12px; color: var(--acid); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
@media (max-width: 1000px) {
  .wrap { width: calc(100% - 50px); }
  .hero { gap: 15px; padding-block: 55px; }
  .hero h1 { font-size: clamp(58px, 7.6vw, 78px); }
  .hero .lead { font-size: 17px; }
  .hero-copy .eyebrow { font-size: 9px; }
  .section-heading { gap: 15px 35px; }
  .explanation-layout { gap: 35px; }
  .desktop { height: 270px; }
  .files { width: 77%; left: 4%; }
  .editor { width: 83%; right: 3%; top: 102px; }
  .editor pre { font-size: 8px; }
  .session-layout { gap: 35px; }
  .session-tabs button { grid-template-columns: 20px 80px 1fr 10px; padding-inline: 10px; }
  .install-grid { gap: 25px; }
  .install-grid pre { font-size: 10px; padding: 16px; }
}
@media (max-width: 730px) {
  .wrap { width: calc(100% - 36px); }
  .site-header { padding-block: 16px; gap: 18px; }
  .brand { font-size: 14px; gap: 8px; }
  .brand small { font-size: 8px; }
  .brand-mark { width: 36px; height: 36px; flex-basis: 36px; }
  nav { gap: 14px; flex-wrap: wrap; justify-content: flex-end; font-size: 11px; }
  nav a:first-child { display: none; }
  .hero { grid-template-columns: 1fr; padding-block: 42px 22px; gap: 0; }
  .hero h1 { font-size: clamp(56px, 12vw, 82px); }
  .lead { max-width: 500px; }
  .hero-mascot { width: min(100%, 370px); justify-self: center; margin-top: 10px; }
  .actions { gap: 20px; }
  .requirement { font-size: 9px; }
  .protocol-band .wrap { flex-wrap: wrap; gap: 22px; justify-content: center; padding-block: 23px; }
  .protocol-band span { font-size: 19px; }
  .protocol-band span:first-child { width: 100%; text-align: center; font-size: 9px; }
  .protocol-band span:last-child { display: none; }
  .section { padding-block: 55px; }
  .section-heading { grid-template-columns: 1fr; gap: 18px; margin-bottom: 28px; }
  h2 { font-size: 35px; }
  .section-heading > p:not(.eyebrow) { font-size: 14px; }
  .flow { gap: 15px; flex-direction: column; align-items: stretch; }
  .flow > div { display: grid; grid-template-columns: 28px 1fr; gap: 5px 10px; }
  .flow-number { grid-row: 1/3; padding-top: 6px; }
  .flow h3 { margin: 0; }
  .flow p { grid-column: 2; max-width: none; }
  .flow-arrow { align-self: center; transform: rotate(90deg); font-size: 22px; }
  .explanation-layout { grid-template-columns: 1fr; gap: 34px; margin-top: 34px; }
  .terminal-demo { margin-right: 9px; }
  .desktop { height: 290px; }
  .editor pre { font-size: 9px; }
  .files { width: 70%; }
  .editor { width: 80%; top: 109px; }
  .terminal-footer { font-size: 7px; }
  .visual-caption { font-size: 8px; }
  .details-row { gap: 10px; }
  .session-layout { grid-template-columns: 1fr; gap: 25px; }
  .hdr-example figcaption { flex-direction: column; gap: 10px; }
  .hdr-notes { grid-template-columns: 1fr; gap: 22px; }
  .session-tabs button { grid-template-columns: 26px 90px 1fr 12px; padding: 18px 13px; }
  .session-tabs button b { font-size: 19px; }
  .session-panel h3 { font-size: 28px; }
  .session-panel { padding-top: 0; }
  .command-box pre { font-size: 11px; }
  .install-grid { grid-template-columns: 1fr; gap: 30px; }
  .scope { grid-template-columns: 1fr; gap: 20px; padding-block: 35px; }
  .license { padding: 25px 20px; gap: 16px; margin-block: 10px 45px; }
  .license .mark { font-size: 38px; }
  .license h2 { font-size: 25px; }
  footer { flex-wrap: wrap; padding-block: 25px; }
  footer p { order: 3; width: 100%; margin: 0; }
  footer > a:last-child { font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) { :root { scroll-behavior: auto; } }
