/* Odin Seat: the paper, ink and acid-green palette of goblin-core.dev. */
:root {
  color-scheme: light;
  --ink: #12140f;
  --paper: #f7f6f1;
  --white: #fffefa;
  --muted: #62645c;
  --line: #d8d8cf;
  --acid: #a6e22e;
  --acid-dark: #4c7d07;
  --cyan: #087986;
  --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;
  --max: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.55 var(--sans); }
a { color: inherit; text-underline-offset: 4px; }
button { color: inherit; font: inherit; cursor: pointer; }
button, a { -webkit-tap-highlight-color: transparent; }
button:disabled { cursor: default; opacity: .5; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 5px; }
img { display: block; max-width: 100%; height: auto; }
code, pre, kbd { font-family: var(--mono); }
code { overflow-wrap: anywhere; }
pre code { overflow-wrap: normal; }
[hidden] { display: none !important; }
::selection { background: var(--acid); color: var(--ink); }
.container { width: min(calc(100% - 64px), var(--max)); margin-inline: auto; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 100; transform: translateY(-160%); padding: 8px 12px; background: var(--white); border: 1px solid var(--ink); }
.skip-link:focus { transform: none; }
.site-header { background: #faf9f5; border-bottom: 1px solid var(--line); }
.nav-inner { min-height: 80px; display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 850 .98rem var(--mono); }
.brand-mark { width: 38px; height: 38px; overflow: hidden; border: 1px solid var(--ink); border-radius: 50%; background: var(--white); }
.brand-mark img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.45) translateY(4%); }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { text-decoration: none; font-size: .8rem; font-weight: 750; }
.nav-links a:hover { color: var(--acid-dark); }
.nav-links .nav-cta { padding: 10px 15px; background: var(--ink); color: white; }
.nav-links .nav-cta:hover { background: var(--acid-dark); }
.nav-cta span { padding-left: 13px; }
.hero { background: #faf9f5; overflow: hidden; }
.hero-inner { position: relative; padding-block: 76px 65px; }
.hero-text { position: relative; z-index: 1; width: 52%; }
.eyebrow { margin: 0 0 23px; color: var(--acid-dark); font: 750 .73rem/1.4 var(--mono); text-transform: uppercase; letter-spacing: .035em; }
.eyebrow::before { content: "// "; color: var(--orange); }
h1 { margin: 0; font: 900 clamp(3.25rem, 6.8vw, 6rem)/1 var(--sans); letter-spacing: -.055em; }
.title-dot { color: var(--acid-dark); }
.hero-copy { max-width: 520px; margin: 28px 0 0; font: 1.4rem/1.4 var(--serif); }
.hero-detail { max-width: 470px; margin: 17px 0 0; color: var(--muted); font-size: .9rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 29px; }
.button { display: inline-flex; min-height: 46px; align-items: center; justify-content: center; gap: 18px; padding: 11px 18px; border: 1px solid var(--ink); font-size: .82rem; font-weight: 780; text-decoration: none; }
.primary { background: var(--ink); color: white; }
.primary:hover { background: var(--acid-dark); border-color: var(--acid-dark); }
.secondary { background: var(--white); }
.secondary:hover { background: var(--acid); }
.hero-notes { display: flex; flex-wrap: wrap; gap: 9px 22px; padding: 0; margin: 25px 0 0; list-style: none; color: var(--muted); font: .7rem/1.5 var(--mono); }
.hero-notes li::before { content: "✓ "; color: var(--acid-dark); }
.hero-art { position: absolute; width: 61%; right: -7%; top: 11px; bottom: 0; }
.hero-art img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: darken; }
.mascot-note { position: absolute; bottom: 43px; left: 39%; color: var(--muted); font: .63rem var(--mono); transform: rotate(-4deg); }
.mascot-note span { color: var(--orange); font-size: 1.4rem; padding-right: 5px; }
.feature-strip { background: var(--dark); color: white; }
.strip-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.strip-grid > div { padding: 30px 25px; border-left: 1px solid #373a32; }
.strip-grid > div:first-child { padding-left: 0; border: 0; }
.strip-grid b { display: block; color: var(--acid); font: 800 1.8rem/1.1 var(--mono); letter-spacing: -.04em; }
.strip-grid > div:nth-child(3) b { color: #41c4d1; }
.strip-grid > div:nth-child(4) b { color: #ff8a55; }
.strip-grid span { display: block; margin-top: 10px; font-size: .75rem; color: #c5c8be; }
.section { padding-block: 100px; }
h2 { margin: 0; font: 850 clamp(2.4rem, 4.8vw, 4.3rem)/1 var(--sans); letter-spacing: -.045em; }
.section-intro { color: var(--muted); font: 1.14rem/1.65 var(--serif); }
.section-heading { display: grid; grid-template-columns: 1fr .65fr; gap: 70px; align-items: end; }
.section-heading .section-intro { margin: 0; }
.desktop-section { background: var(--white); }
.screenshot-figure { margin: 45px 0 0; }
.screenshot-link { display: block; border: 1px solid var(--ink); box-shadow: 8px 8px 0 #e6e5dc; cursor: zoom-in; }
.screenshot-link img { width: 100%; }
.screenshot-figure figcaption { flex-wrap: wrap; }
.screenshot-figure figcaption > span { flex: 1 1 28rem; }
.screenshot-figure figcaption > a { flex-shrink: 0; color: var(--cyan); }
.terminal-comment { color: #a5ae99; }
figcaption { display: flex; justify-content: space-between; align-items: start; gap: 24px; margin-top: 18px; color: var(--muted); font: .66rem/1.65 var(--mono); }
.workspace-details { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 60px; border-block: 1px solid var(--line); }
.workspace-details article { padding: 30px 27px; border-left: 1px solid var(--line); }
.workspace-details article:first-child { padding-left: 0; border: 0; }
.workspace-details article:last-child { padding-right: 0; }
.item-number { color: var(--muted); font: .68rem var(--mono); text-transform: uppercase; }
.workspace-details h3 { margin: 24px 0 12px; font-size: 1.12rem; line-height: 1.25; letter-spacing: -.02em; }
.workspace-details p { margin: 0; color: var(--muted); font-size: .86rem; }
.protocol-section { background: var(--dark); color: white; }
.protocol-section .eyebrow { color: var(--acid); }
.protocol-section > .container > .section-intro { max-width: 720px; margin: 26px 0 0; color: #b7baaf; }
.protocol-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 55px; border-block: 1px solid #45483f; }
.protocol-grid article { padding: 30px 45px 36px 0; }
.protocol-grid article + article { padding-right: 0; padding-left: 45px; border-left: 1px solid #45483f; }
.protocol-index { display: flex; justify-content: space-between; color: var(--acid); font: .68rem var(--mono); }
.protocol-grid article + article .protocol-index { color: #67d6df; }
.protocol-grid h3 { margin: 38px 0 20px; font: 780 clamp(1.5rem, 2.5vw, 2.1rem)/1.1 var(--sans); letter-spacing: -.025em; }
.protocol-grid p { color: #b7baaf; font-size: .9rem; }
.protocol-list { margin: 25px 0 30px; padding: 0; list-style: none; font: .72rem/1.65 var(--mono); color: #c7ccbf; }
.protocol-list li { padding-block: 9px; border-top: 1px solid #34382e; }
.protocol-list li::before { content: "+ "; color: var(--acid); }
.text-link { color: var(--cyan); font-weight: 750; font-size: .83rem; }
.text-link:hover { text-decoration-thickness: 2px; }
.protocol-grid .text-link { color: var(--acid); }
.protocol-grid article + article .text-link { color: #67d6df; }
.compatibility-note { display: grid; grid-template-columns: 220px 1fr; gap: 30px; margin-top: 32px; }
.compatibility-label { padding-top: 4px; color: #ff9b6c; font: .65rem/1.7 var(--mono); }
.compatibility-note p { margin: 0; color: #b7baaf; font-size: .83rem; }
.workflow-layout { display: grid; grid-template-columns: .92fr 1.08fr; gap: 95px; }
.workflow-layout .section-intro { max-width: 410px; margin: 26px 0 0; }
.section-intro code { font-size: .83em; }
.keyboard-note { margin: 30px 0 0; max-width: 380px; color: var(--muted); font-size: .8rem; line-height: 1.8; }
.keyboard-note code { font-size: .88em; }
kbd { display: inline-block; padding: 2px 6px; border: 1px solid #cccfc3; border-bottom-width: 2px; background: var(--white); color: var(--ink); font-size: .85em; }
.key-caption { margin: 0; padding-bottom: 20px; border-bottom: 1px solid var(--ink); color: var(--muted); font: .7rem/1.5 var(--mono); }
.key-list { margin: 0; }
.key-list > div { display: flex; align-items: center; gap: 24px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.key-list dt kbd { display: grid; place-items: center; width: 41px; height: 41px; font-size: 1rem; }
.key-list dd { margin: 0; }
.key-list dd strong { display: block; font-size: .9rem; }
.key-list dd span { display: block; margin-top: 3px; color: var(--muted); font-size: .78rem; }
.install-section { border-top: 1px solid var(--line); background: var(--white); }
.install-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 75px; align-items: start; }
.install-layout .section-intro { max-width: 410px; }
.install-links { display: flex; flex-wrap: wrap; gap: 14px 24px; margin-top: 28px; }
.package-note { max-width: 410px; margin: 22px 0 0; font-size: .73rem; color: var(--muted); }
.install-instructions { min-width: 0; }
.install-tabs { display: flex; border: 1px solid var(--ink); border-bottom: 0; }
.install-tabs button { flex: 1; padding: 15px 9px; border: 0; border-right: 1px solid var(--ink); background: var(--paper); font: 700 .71rem/1.4 var(--mono); }
.install-tabs button:last-child { border-right: 0; }
.install-tabs button[aria-selected="true"] { background: var(--acid); }
.install-tabs button:hover { background: #e1edc9; }
.install-tabs button:focus-visible { outline-offset: -4px; }
.install-panel { border: 1px solid var(--ink); background: var(--dark); color: #f5f6f1; }
.code-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 13px 20px; border-bottom: 1px solid #3b3e36; }
.code-heading h3 { margin: 0; color: #b7baaf; font: .69rem var(--mono); }
.copy-button { padding: 5px 9px; border: 1px solid #646e59; background: transparent; color: #d1d9c5; font: .64rem var(--mono); }
.copy-button:hover { background: var(--acid); color: var(--ink); }
.install-panel pre { overflow-x: auto; margin: 0; padding: 24px 20px; font: .72rem/1.95 var(--mono); }
.panel-note, .panel-prerequisite { padding: 18px 20px; margin: 0; color: #b7baaf; font-size: .74rem; }
.panel-note { border-top: 1px solid #3b3e36; }
.panel-note a, .panel-prerequisite a { color: var(--acid); }
.panel-prerequisite { padding-bottom: 0; }
.copy-status { min-height: 1.6em; margin: 8px 0; color: var(--acid-dark); font-size: .73rem; }
.first-session { padding: 20px; border: 1px solid var(--line); }
.first-session > span { color: var(--muted); font: .64rem var(--mono); }
.first-session p { margin: 10px 0 0; font-size: .74rem; line-height: 1.9; }
footer { padding: 65px 0 25px; background: var(--dark); color: white; }
.footer-top { display: flex; justify-content: space-between; align-items: end; gap: 50px; }
footer .eyebrow { color: var(--acid); }
footer h2 { font-size: clamp(2.2rem, 4vw, 3.6rem); }
.footer-top p:not(.eyebrow) { color: #b5b8ae; font-family: var(--serif); }
.footer-links { display: flex; flex-direction: column; gap: 15px; min-width: 190px; padding-bottom: 20px; }
.footer-links a { color: var(--acid); font-size: .85rem; font-weight: 750; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px 25px; margin-top: 55px; padding-top: 22px; border-top: 1px solid #3a3d35; color: #a7ac9f; font: .64rem/1.6 var(--mono); }
@media (min-width: 1500px) { .hero-inner { padding-block: 90px 80px; } }
@media (max-width: 1000px) {
  .nav-links { gap: 20px; }
  .nav-links a[href="#workflow"] { display: none; }
  .hero-text { width: 56%; }
  .hero-art { width: 64%; right: -11%; }
  .hero-copy { font-size: 1.25rem; }
  .hero-detail { max-width: 390px; }
  .mascot-note { bottom: 55px; left: 37%; }
  .section-heading { gap: 35px; grid-template-columns: 1fr .8fr; }
  .section-intro { font-size: 1.05rem; }
  .workflow-layout, .install-layout { gap: 45px; }
  .workspace-details article { padding-inline: 20px; }
}
@media (max-width: 760px) {
  .container { width: calc(100% - 40px); }
  .nav-inner { min-height: 70px; }
  .nav-links > a:not(.nav-cta) { display: none; }
  .nav-links .nav-cta { padding: 10px 12px; font-size: .72rem; }
  .nav-cta span { padding-left: 5px; }
  .hero-inner { padding-block: 45px 30px; }
  .hero-text { width: 100%; }
  h1 { font-size: clamp(2.8rem, 10.5vw, 5rem); }
  .hero-copy { max-width: 480px; font-size: 1.3rem; }
  .hero-detail { max-width: 470px; }
  .hero-art { position: relative; right: auto; top: auto; width: min(100%, 440px); height: auto; margin: 0 auto -20px; }
  .hero-art img { height: auto; }
  .mascot-note { left: auto; right: 0; bottom: 30px; }
  .strip-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .strip-grid > div { padding: 23px 18px; }
  .strip-grid > div:nth-child(3) { border-left: 0; padding-left: 0; }
  .strip-grid > div:nth-child(-n+2) { border-bottom: 1px solid #373a32; }
  .strip-grid b { font-size: 1.6rem; }
  .strip-grid span { font-size: .7rem; }
  .section { padding-block: 65px; }
  .section-heading { grid-template-columns: 1fr; gap: 24px; }
  .section-heading .section-intro { max-width: 500px; }
  .workspace-details { grid-template-columns: 1fr; margin-top: 40px; }
  .workspace-details article, .workspace-details article:first-child, .workspace-details article:last-child { padding: 28px 0; border: 0; }
  .workspace-details article + article { border-top: 1px solid var(--line); }
  .workspace-details h3 { margin-top: 15px; }
  .protocol-grid { grid-template-columns: 1fr; margin-top: 35px; }
  .protocol-grid article, .protocol-grid article + article { padding: 28px 0 32px; border: 0; }
  .protocol-grid article + article { border-top: 1px solid #45483f; }
  .protocol-grid h3 { margin-top: 28px; }
  .compatibility-note { grid-template-columns: 1fr; gap: 14px; }
  .workflow-layout, .install-layout { grid-template-columns: 1fr; gap: 40px; }
  .workflow-layout .section-intro, .keyboard-note, .install-layout .section-intro, .package-note { max-width: none; }
  .footer-top { align-items: start; flex-direction: column; gap: 25px; }
  .footer-links { padding-bottom: 0; }
  .footer-bottom { margin-top: 40px; }
}
@media (max-width: 400px) {
  .brand { font-size: .84rem; gap: 7px; }
  .brand-mark { width: 31px; height: 31px; }
  .nav-inner { gap: 10px; }
  .nav-links .nav-cta { font-size: .66rem; padding: 10px; }
  .hero-actions .button { width: 100%; }
  .hero-notes { gap: 10px 14px; }
  .install-tabs button { font-size: .65rem; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
