:root {
  color-scheme: dark;
  --background: #080e0a;
  --text: #b5dcb4;
  --strong: #b2ff9c;
  --dim: #83a58a;
  --line: #34523a;
  --glow: #96ff8840;
  font-family: Consolas, "Liberation Mono", "Courier New", monospace;
}
* { box-sizing: border-box; }
body { margin: 0; min-height: 100svh; padding: clamp(12px, 3.5vw, 56px); background: #070908; color: var(--text); font-size: 16px; line-height: 1.6; }
button, a { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
button { font: inherit; }
a { color: var(--strong); text-underline-offset: 6px; }
a:hover { color: #e0ffd7; }
:focus-visible { outline: 2px solid var(--strong); outline-offset: 6px; }
[hidden] { display: none !important; }
.skip-link { position: fixed; z-index: 10; top: 8px; left: 20px; padding: 10px 16px; background: #080e0a; transform: translateY(-150%); }
.skip-link:focus { transform: none; }
.enclosure { max-width: 1260px; margin: auto; }
.hardware-bar, .case-footer { display: flex; align-items: center; justify-content: space-between; gap: 18px; color: #93a596; }
.hardware-bar { min-height: 42px; margin: 0 12px 15px; font-size: 14px; flex-wrap: wrap; }
.hardware-label { display: flex; align-items: center; gap: 12px; font-weight: 700; letter-spacing: .06em; }
.power-light { width: 6px; height: 6px; background: #b2ff9c; border-radius: 50%; box-shadow: 0 0 12px #a4ff82; }
.controls { position: relative; margin-left: auto; z-index: 5; }
.controls summary { display: grid; place-items: center; width: 44px; height: 44px; color: var(--dim); font-size: 26px; line-height: 1; list-style: none; cursor: pointer; border: 1px solid transparent; border-radius: 6px; }
.controls summary::-webkit-details-marker { display: none; }
.controls summary:hover, .controls[open] summary { color: var(--strong); border-color: var(--line); background: var(--background); }
.settings-panel { position: absolute; top: calc(100% + 8px); right: 0; width: min(290px, calc(100vw - 48px)); padding: 12px 18px 18px; border: 1px solid var(--line); border-radius: 8px; background: var(--background); box-shadow: 0 12px 32px #0009; }
.settings-panel > button { display: block; width: 100%; text-align: left; }
.settings-panel .intro-preference { border-top: 1px solid var(--line); margin-top: 8px; padding-top: 8px; }
.intro-preference { font-size: 14px; }
.intro-preference label { display: flex; align-items: center; gap: 8px; min-height: 44px; cursor: pointer; }
.intro-preference input { width: 16px; height: 16px; margin: 0; accent-color: var(--strong); }
.intro-preference > span { display: block; color: var(--dim); font-size: 12px; padding-left: 24px; }
.controls button { min-height: 44px; padding: 4px 0; border: 0; background: none; color: #a3b6a6; cursor: pointer; font-size: 14px; }
.controls button:hover { color: var(--strong); }
.terminal { position: relative; isolation: isolate; overflow: hidden; border: 1px solid #526b52; border-radius: 22px; padding: 32px clamp(24px, 5.8vw, 78px) 30px; background: radial-gradient(ellipse at 45% 30%, #172d1a80, transparent 75%), var(--background); box-shadow: inset 0 0 70px #76c98012, inset 0 0 8px #b2ff9c28, 0 0 32px #85ff8a09; text-shadow: 0 0 12px var(--glow); }
.terminal::after { content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 3; border-radius: inherit; background: repeating-linear-gradient(0deg, #0002 0, #0002 1px, transparent 1px, transparent 4px); box-shadow: inset 0 0 90px #0007; }
.session-bar { display: flex; justify-content: space-between; gap: 20px; border-bottom: 1px solid var(--line); padding-bottom: 18px; color: var(--dim); font-size: 14px; letter-spacing: .04em; }
.welcome { padding: 36px 0 48px; }
p { margin: 0; }
.command { color: var(--text); font-size: 16px; }
.user { color: var(--strong); font-weight: 700; }
.path { color: var(--dim); }
.eyebrow { color: var(--dim); text-transform: uppercase; letter-spacing: .17em; font-size: 14px; margin-top: 38px; }
h1 { margin: 8px 0 18px; color: var(--strong); font-size: clamp(42px, 7.3vw, 96px); line-height: 1.05; letter-spacing: -.065em; font-weight: 900; text-shadow: 0 0 3px #b2ff9c66, 0 0 24px #99ff7940, 2px 0 #b2ff9c18; }
h1 > span:first-child { color: #b5dcb4; }
.title-cursor { font-size: .78em; margin-left: .04em; }
.lede { font-size: clamp(17px, 1.7vw, 20px); line-height: 1.6; max-width: 660px; }
.welcome-note { margin-top: 13px; color: var(--dim); font-size: 14px; }
.directory { border-top: 2px solid var(--strong); }
.directory-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 17px 0; border-bottom: 1px solid var(--line); }
h2 { color: var(--strong); font-size: 20px; margin: 0; }
h2 span { color: var(--dim); }
.directory-type, .column-labels, .project-kind, .footer-note { color: var(--dim); font-size: 14px; }
.directory-type { letter-spacing: .1em; }
.column-labels { display: flex; justify-content: space-between; padding: 14px 0 5px 54px; }
.project { position: relative; display: grid; grid-template-columns: 54px minmax(0, 1fr); padding: 24px 0 28px; border-bottom: 1px solid var(--line); }
.project-index { color: var(--dim); font-size: 14px; }
.project-index span { display: block; margin-top: 8px; }
.project-kind { letter-spacing: .055em; }
h3 { margin: 7px 0 10px; font-size: 28px; line-height: 1.35; }
h3 a { display: block; text-decoration: none; padding-right: 38px; }
h3 a::after { content: ""; position: absolute; inset: 0; }
.project-name { font-size: 20px; color: var(--text); font-weight: 400; margin-left: 14px; }
.open-arrow { position: absolute; right: 3px; top: 51px; font-size: 28px; transition: transform .15s; }
.project:hover .open-arrow { transform: translate(3px, -3px); }
.project:hover, .project:focus-within { background: #b2ff9c06; }
.project:focus-within { outline: 1px solid var(--strong); outline-offset: 7px; }
.project-description { max-width: 670px; color: var(--text); }
.destination { display: inline-block; margin-top: 18px; color: var(--strong); font-size: 14px; border-bottom: 1px solid #b2ff9c55; }
.directory-end { display: flex; gap: 30px; color: var(--dim); font-size: 14px; padding: 22px 0 30px; }
footer { display: flex; justify-content: space-between; align-items: center; gap: 20px; border-top: 1px solid var(--line); padding-top: 24px; }
.cursor { color: var(--strong); animation: cursor-blink 1.2s step-end 6; }
.case-footer { padding: 19px 12px 0; font-size: 12px; letter-spacing: .09em; }
.case-footer > :first-child { font-weight: 700; }
.boot-screen { display: none; position: absolute; inset: 0; z-index: 2; padding: clamp(28px, 6vw, 78px); color: var(--strong); background: var(--background); font-size: clamp(14px, 2vw, 18px); line-height: 2; pointer-events: none; }
html[data-boot] .boot-screen { display: block; animation: boot-away 7.2s ease-in-out forwards; }
.boot-heading { font-weight: 700; }
.boot-subheading, .boot-hint { color: var(--dim); font-size: 14px; }
.boot-log { margin-top: 24px; }
.boot-banner { margin-top: 20px; font-weight: 700; }
.boot-hint { margin-top: 28px; }
.guest-entry { display: inline-block; width: 5ch; overflow: hidden; vertical-align: bottom; white-space: nowrap; animation: guest-type .6s steps(5, end) 4.1s both; }
.boot-line { animation: boot-line .15s steps(1) both; }
.boot-line-1 { animation-delay: .2s; }.boot-line-2 { animation-delay: .45s; }.boot-line-3 { animation-delay: .8s; }
.boot-line-4 { animation-delay: 1.6s; }.boot-line-5 { animation-delay: 2.7s; }.boot-line-6 { animation-delay: 3.3s; }
.boot-line-7 { animation-delay: 3.8s; }.boot-line-8 { animation-delay: 5s; }.boot-line-9 { animation-delay: 5.4s; }
html[data-crt="off"] .terminal { text-shadow: none; box-shadow: none; background: var(--background); }
html[data-crt="off"] .terminal::after { display: none; }
html[data-crt="off"] h1 { text-shadow: none; }
html[data-crt="off"] .cursor { animation: none; }
@keyframes cursor-blink { 50% { opacity: 0; } }
@keyframes boot-line { from { opacity: 0; } to { opacity: 1; } }
@keyframes guest-type { from { width: 0; } to { width: 5ch; } }
@keyframes boot-away { 0%, 87.5% { opacity: 1; } 100% { opacity: 0; visibility: hidden; } }
@media (max-width: 650px) {
  body { padding: 12px; }
  .hardware-bar { flex-wrap: wrap; gap: 0; margin: 0 5px 10px; }
  .hardware-label { font-size: 12px; }
  .controls { gap: 16px; }
  .controls button { font-size: 12px; }
  .terminal { border-radius: 12px; padding: 22px 22px 26px; }
  .session-bar { font-size: 12px; }
  .session-bar > :last-child { display: none; }
  .welcome { padding: 28px 0 34px; }
  .eyebrow { font-size: 12px; letter-spacing: .07em; margin-top: 32px; }
  h1 { font-size: clamp(32px, 8.4vw, 54px); }
  .wide-only { display: none; }
  .command { font-size: 14px; }
  .directory-type { font-size: 12px; letter-spacing: 0; }
  .column-labels { display: none; }
  .project { grid-template-columns: 30px minmax(0, 1fr); }
  .project-kind { font-size: 12px; }
  h3 { font-size: 26px; }
  .project-name { display: block; margin: 4px 0 0; font-size: 18px; }
  .project-description { font-size: 16px; }
  .open-arrow { top: 46px; }
  .directory-end { gap: 8px; }
  footer { flex-wrap: wrap; gap: 12px; }
  .footer-note { font-size: 12px; }
  .case-footer { font-size: 11px; }
  .case-footer > :nth-child(2) { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html[data-boot] .boot-screen { display: none; }
}
@media (forced-colors: active) {
  .terminal::after, .boot-screen { display: none !important; }
  .terminal { border: 1px solid CanvasText; }
}
