﻿:root {
  color-scheme: dark;
  --ink-950: #080b0f;
  --ink-900: #0e1318;
  --surface: #151c23;
  --surface-2: #1b252e;
  --surface-3: #222e38;
  --line: rgba(235, 244, 255, .12);
  --line-strong: rgba(235, 244, 255, .2);
  --text: #f2f5f7;
  --muted: #92a0ad;
  --subtle: #8c99a6;
  --cyan: #63d9ff;
  --lime: #c9f36b;
  --amber: #ffc96b;
  --violet: #b39bff;
  --rose: #ff7284;
  --sans: "Inter", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --mono: "Cascadia Code", "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --shadow: 0 24px 80px rgba(0, 0, 0, .24);
  --ease: cubic-bezier(.22, .72, .18, 1);
}

* { box-sizing: border-box; }
html { background: var(--ink-950); scroll-behavior: smooth; }
body { margin: 0; min-width: 0; color: var(--text); background: radial-gradient(circle at 50% -10%, #15202a 0%, var(--ink-950) 44rem); font-family: var(--sans); font-size: 15px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button { border: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }

.skip-link { position: fixed; z-index: 100; top: 12px; left: 16px; padding: 8px 12px; border-radius: 8px; color: var(--ink-950); background: var(--cyan); transform: translateY(-160%); transition: transform .18s var(--ease); }
.skip-link:focus { transform: translateY(0); }
.ambient { position: fixed; z-index: -1; pointer-events: none; border-radius: 999px; filter: blur(80px); opacity: .12; }
.ambient-one { width: 360px; height: 360px; top: 18rem; left: -16rem; background: var(--cyan); }
.ambient-two { width: 280px; height: 280px; top: 42rem; right: -10rem; background: var(--violet); }

.app-shell { width: min(1240px, calc(100% - 48px)); margin: 0 auto; }
.demo-note { margin: 0; padding: 10px 0; color: var(--subtle); font-size: 11px; border-bottom: 1px solid var(--line); }
.topbar { height: 76px; display: flex; align-items: center; gap: 36px; border-bottom: 1px solid rgba(235, 244, 255, .08); }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 17px; font-weight: 740; letter-spacing: -.025em; }
.brand-mark { display: inline-flex; align-items: flex-end; gap: 3px; width: 22px; height: 22px; padding: 3px; border: 1px solid rgba(99, 217, 255, .65); border-radius: 7px; background: rgba(99, 217, 255, .08); }
.brand-mark span { display: block; width: 3px; border-radius: 2px; background: var(--cyan); }
.brand-mark span:nth-child(1) { height: 7px; opacity: .65; }
.brand-mark span:nth-child(2) { height: 12px; }
.brand-mark span:nth-child(3) { height: 16px; opacity: .8; }
.primary-nav { display: flex; align-items: stretch; gap: 25px; height: 100%; }
.nav-link { display: inline-flex; align-items: center; position: relative; color: var(--muted); font-size: 13px; transition: color .18s ease; }
.nav-link:hover, .nav-link.active { color: var(--text); }
.nav-link.active::after { position: absolute; right: 0; bottom: -1px; left: 0; height: 2px; border-radius: 2px 2px 0 0; background: var(--cyan); content: ""; }
.topbar-actions { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.search-trigger { display: inline-flex; align-items: center; gap: 8px; min-width: 205px; height: 34px; padding: 0 9px 0 11px; border: 1px solid var(--line); border-radius: 7px; color: var(--muted); background: rgba(21, 28, 35, .8); font-size: 12px; text-align: left; transition: border-color .18s ease, background .18s ease; }
.search-trigger:hover { border-color: var(--line-strong); background: var(--surface); }
.search-icon { color: var(--text); font-size: 18px; line-height: 1; transform: translateY(-1px); }
kbd { display: inline-flex; align-items: center; justify-content: center; min-width: 20px; height: 20px; padding: 0 5px; border: 1px solid var(--line); border-radius: 4px; color: var(--subtle); background: rgba(8, 11, 15, .4); font: 10px var(--mono); }
.search-trigger kbd { margin-left: auto; }
.icon-button, .avatar-button { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 8px; color: var(--muted); background: transparent; transition: color .18s ease, background .18s ease; }
.icon-button:hover, .avatar-button:hover { color: var(--text); background: var(--surface); }
.icon-button { position: relative; font-size: 21px; }
.notification-button i { position: absolute; top: 7px; right: 7px; width: 5px; height: 5px; border: 1px solid var(--ink-950); border-radius: 50%; background: var(--cyan); }
.avatar-button { border: 1px solid rgba(201, 243, 107, .42); color: var(--lime); background: rgba(201, 243, 107, .1); font-size: 12px; font-weight: 700; }

main { padding-bottom: 72px; }
.hero { display: grid; grid-template-columns: minmax(0, .84fr) minmax(520px, 1.16fr); gap: 76px; align-items: center; min-height: 550px; padding: 84px 0 78px; }
.eyebrow { margin: 0 0 16px; color: var(--muted); font: 10px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; }
.eyebrow-dot { display: inline-block; width: 6px; height: 6px; margin: 0 7px 1px 0; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 4px rgba(99, 217, 255, .1); }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 530px; margin-bottom: 24px; font-size: clamp(48px, 5.4vw, 74px); line-height: .98; letter-spacing: -.07em; }
h1 em { color: var(--cyan); font-style: normal; }
.hero-lede { max-width: 430px; margin-bottom: 30px; color: var(--muted); font-size: 17px; line-height: 1.6; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.button { display: inline-flex; align-items: center; gap: 16px; min-height: 42px; padding: 0 16px; border-radius: 8px; font-size: 13px; font-weight: 650; transition: transform .18s var(--ease), background .18s ease, border-color .18s ease, color .18s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: #091014; background: var(--cyan); box-shadow: 0 10px 30px rgba(99, 217, 255, .12); }
.button-primary:hover { background: #8ae5ff; }
.button-quiet { padding-right: 4px; padding-left: 4px; color: var(--text); background: transparent; }
.button-quiet:hover { color: var(--cyan); }
.button-outline { border: 1px solid rgba(99, 217, 255, .42); color: var(--cyan); background: rgba(99, 217, 255, .05); }
.button-outline:hover { border-color: var(--cyan); background: rgba(99, 217, 255, .1); }
.hero-proof { display: flex; align-items: center; gap: 9px; margin-top: 42px; color: var(--subtle); font: 10px var(--mono); }
.proof-line { width: 23px; height: 1px; background: var(--cyan); }
.proof-separator { color: #34414c; }

.hero-terminal { overflow: hidden; border: 1px solid rgba(235, 244, 255, .16); border-radius: 13px; background: rgba(21, 28, 35, .94); box-shadow: var(--shadow); transform: perspective(1200px) rotateY(-3deg) rotateX(1deg); transition: transform .35s var(--ease), border-color .25s ease; }
.hero-terminal:hover { border-color: rgba(99, 217, 255, .35); transform: perspective(1200px) rotateY(-1deg) rotateX(0); }
.terminal-topbar, .terminal-footer { display: flex; align-items: center; height: 40px; padding: 0 15px; border-bottom: 1px solid var(--line); color: var(--subtle); font: 10px var(--mono); }
.terminal-footer { justify-content: space-between; height: 34px; border-top: 1px solid var(--line); border-bottom: 0; }
.window-dots { display: flex; gap: 5px; margin-right: 15px; }
.window-dots i { width: 6px; height: 6px; border-radius: 50%; background: #3a444c; }
.window-dots i:first-child { background: #647076; }
.terminal-path { color: #adbac5; }
.terminal-state { display: inline-flex; align-items: center; gap: 5px; margin-left: auto; color: var(--lime); }
.terminal-state span, .live-badge i { width: 5px; height: 5px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 4px rgba(201, 243, 107, .08); }
.terminal-body { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); min-height: 338px; }
.code-pane { min-width: 0; padding: 20px 0 18px; border-right: 1px solid var(--line); }
.code-pane pre { overflow-x: auto; }
.code-heading, .result-heading { display: flex; align-items: center; justify-content: space-between; padding: 0 20px 15px; color: var(--text); font: 11px var(--mono); }
.code-meta { color: var(--subtle); font-size: 9px; }
pre { overflow: hidden; margin: 0; color: #ced9e0; font: 11px/1.92 var(--mono); }
code { font: inherit; }
.line-no { display: inline-block; width: 35px; margin-right: 10px; color: var(--subtle); text-align: right; user-select: none; }
.directive { color: var(--cyan); }
.label { color: var(--lime); }
.op { color: #e7bdff; }
.number { color: var(--amber); }
.terminal-result { min-width: 0; padding: 20px 0 18px; background: rgba(8, 11, 15, .18); }
.result-heading { color: var(--muted); }
.result-check { color: var(--lime); font-size: 10px; }
.trace-row { display: grid; grid-template-columns: 62px 8px 1fr; align-items: center; gap: 8px; padding: 8px 20px; color: var(--muted); font: 10px var(--mono); }
.trace-time { color: var(--subtle); }
.trace-bullet { width: 6px; height: 6px; border-radius: 50%; }
.trace-bullet.cyan { background: var(--cyan); }
.trace-bullet.lime { background: var(--lime); }
.trace-bullet.amber { background: var(--amber); }
.trace-divider { height: 1px; margin: 14px 20px 12px; background: var(--line); }
.metric-row { display: flex; justify-content: space-between; gap: 12px; padding: 5px 20px; color: var(--subtle); font: 10px var(--mono); }
.metric-row strong { min-width: 0; overflow-wrap: anywhere; text-align: right; color: var(--text); font-weight: 500; }
.metric-row small { color: var(--subtle); font-size: 9px; }
.pulse { display: inline-block; width: 5px; height: 5px; margin-right: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 10px var(--cyan); }

.signal-strip { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.signal-cell { min-height: 100px; padding: 22px 24px; border-right: 1px solid var(--line); }
.signal-cell:first-child { padding-left: 0; }
.signal-cell:last-child { border-right: 0; }
.signal-label { display: block; margin-bottom: 5px; color: var(--subtle); font: 10px var(--mono); letter-spacing: .02em; text-transform: uppercase; }
.signal-cell strong { font-size: 25px; letter-spacing: -.04em; }
.signal-delta { margin-left: 8px; color: var(--subtle); font: 10px var(--mono); }
.signal-delta.up { color: var(--lime); }
.unit { color: var(--muted); font: 11px var(--mono); letter-spacing: 0; }
.signal-status { display: flex; align-items: center; gap: 10px; }
.signal-status strong, .signal-status small { display: block; font: 11px var(--mono); letter-spacing: 0; text-transform: none; }
.signal-status small { margin-top: 2px; color: var(--subtle); }
.status-ring { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 5px rgba(201, 243, 107, .08), 0 0 15px rgba(201, 243, 107, .7); }
.signal-arrow { margin-left: auto; color: var(--subtle); font-size: 17px; }

.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; padding: 92px 0 27px; }
.section-heading .eyebrow { margin-bottom: 12px; }
h2 { margin-bottom: 0; font-size: 30px; line-height: 1.05; letter-spacing: -.05em; }
.section-tools { display: flex; align-items: center; gap: 24px; }
.filter-chips { display: flex; gap: 5px; padding: 3px; border: 1px solid var(--line); border-radius: 7px; background: rgba(21, 28, 35, .55); }
.chip { padding: 6px 10px; border-radius: 5px; color: var(--subtle); background: transparent; font: 10px var(--mono); transition: color .18s ease, background .18s ease; }
.chip:hover, .chip.active { color: var(--text); background: var(--surface-3); }
.text-button, .browse-link, .panel-link { display: inline-flex; align-items: center; gap: 12px; color: var(--muted); background: transparent; font: 10px var(--mono); transition: color .18s ease; }
.text-button span { color: var(--subtle); }
.text-button:hover, .browse-link:hover, .panel-link:hover { color: var(--cyan); }

.content-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(310px, .7fr); gap: 26px; }
.project-list { display: grid; gap: 10px; }
.project-card { display: grid; grid-template-columns: 8px minmax(0, 1fr) auto; gap: 17px; align-items: start; min-height: 144px; padding: 21px 22px 20px 16px; border: 1px solid var(--line); border-radius: 10px; background: rgba(21, 28, 35, .74); transition: border-color .2s ease, background .2s ease, transform .2s var(--ease); }
.project-card:hover { border-color: rgba(99, 217, 255, .35); background: rgba(27, 37, 46, .85); transform: translateY(-2px); }
.project-signal { width: 7px; height: 7px; margin-top: 6px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 4px rgba(99, 217, 255, .08); }
.project-signal.lime { background: var(--lime); box-shadow: 0 0 0 4px rgba(201, 243, 107, .08); }
.project-signal.amber { background: var(--amber); box-shadow: 0 0 0 4px rgba(255, 201, 107, .08); }
.project-title-row { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.project-title { font-size: 16px; font-weight: 650; letter-spacing: -.025em; }
.project-lock { color: var(--subtle); font: 11px var(--mono); }
.project-summary { max-width: 520px; margin-bottom: 16px; color: var(--muted); font-size: 12px; line-height: 1.5; }
.project-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; color: var(--subtle); font: 10px var(--mono); }
.project-meta strong { color: var(--muted); font-weight: 500; }
.tag-row { display: inline-flex; gap: 5px; margin-left: 2px; }
.tag { padding: 3px 6px; border-radius: 3px; color: #aab9c4; background: #202b35; font-size: 9px; }
.project-stats { display: flex; flex-direction: column; align-items: end; gap: 8px; color: var(--subtle); font: 10px var(--mono); }
.project-status { display: inline-flex; align-items: center; gap: 6px; color: var(--lime); }
.project-status.review { color: var(--amber); }
.project-status.building { color: var(--cyan); }
.project-status i { width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.project-stars { color: var(--muted); }
.project-stars span { color: var(--amber); }
.browse-link { margin-top: 17px; padding: 5px 0; }

.side-column { display: grid; align-content: start; gap: 15px; }
.panel { padding: 22px 21px 19px; border: 1px solid var(--line); border-radius: 10px; background: rgba(21, 28, 35, .74); }
.panel-heading { display: flex; align-items: start; justify-content: space-between; gap: 12px; margin-bottom: 22px; }
.panel-heading .eyebrow { margin-bottom: 9px; }
h3 { margin-bottom: 0; font-size: 17px; letter-spacing: -.03em; }
.live-badge { display: inline-flex; align-items: center; gap: 7px; padding: 5px 7px; border: 1px solid rgba(201, 243, 107, .18); border-radius: 4px; color: var(--lime); background: rgba(201, 243, 107, .06); font: 9px var(--mono); text-transform: uppercase; }
.build-target { display: flex; align-items: center; gap: 11px; padding: 12px; border: 1px solid var(--line); border-radius: 7px; background: var(--surface); }
.target-icon { display: grid; place-items: center; width: 27px; height: 27px; border-radius: 6px; color: var(--cyan); background: rgba(99, 217, 255, .1); font-size: 18px; }
.build-target strong, .build-target small { display: block; }
.build-target strong { font-size: 12px; }
.build-target small { margin-top: 3px; color: var(--subtle); font: 9px var(--mono); }
.build-chevron { margin-left: auto; color: var(--subtle); font-size: 18px; }
.build-progress { margin: 20px 2px 15px; }
.progress-label, .build-foot { display: flex; justify-content: space-between; color: var(--subtle); font: 9px var(--mono); }
.progress-label strong { color: var(--lime); font-weight: 500; }
.progress-track { height: 5px; margin-top: 9px; overflow: hidden; border-radius: 3px; background: #2a353d; }
.progress-track span { display: block; width: 96%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--cyan), var(--lime)); }
.build-foot { padding-top: 14px; border-top: 1px solid var(--line); }
.build-foot b { color: var(--muted); font-weight: 500; }
.activity-panel { padding-bottom: 0; }
.activity-list { display: grid; }
.activity-item { display: grid; grid-template-columns: 8px minmax(0, 1fr); gap: 11px; padding: 13px 0; border-top: 1px solid var(--line); }
.activity-marker { width: 7px; height: 7px; margin-top: 5px; border-radius: 2px; background: var(--cyan); }
.activity-marker.lime { background: var(--lime); }
.activity-marker.amber { background: var(--amber); }
.activity-marker.violet { background: var(--violet); }
.activity-copy { margin: 0 0 4px; color: var(--muted); font-size: 11px; line-height: 1.45; }
.activity-copy strong { color: var(--text); font-weight: 600; }
.activity-detail { color: var(--subtle); font: 9px var(--mono); }
.activity-time { float: right; color: var(--subtle); }
.panel-link { width: 100%; padding: 15px 0 17px; border-top: 1px solid var(--line); }
.panel-link span { margin-left: auto; }

.closing-band { display: flex; align-items: center; justify-content: space-between; gap: 32px; margin-top: 107px; padding: 33px 35px; border: 1px solid rgba(99, 217, 255, .18); border-radius: 12px; background: linear-gradient(115deg, rgba(99, 217, 255, .06), rgba(21, 28, 35, .84) 46%, rgba(201, 243, 107, .04)); }
.closing-band .eyebrow { margin-bottom: 11px; color: var(--cyan); }
.closing-band h2 { margin-bottom: 8px; font-size: 28px; }
.closing-band p:not(.eyebrow) { margin-bottom: 0; color: var(--muted); font-size: 13px; }
.closing-actions { display: flex; align-items: center; gap: 14px; }
.closing-note { color: var(--subtle); font: 9px var(--mono); }
.footer { display: flex; align-items: center; justify-content: space-between; min-height: 90px; border-top: 1px solid var(--line); color: var(--subtle); font: 10px var(--mono); }
.footer > span { min-width: 0; }
.footer > span:last-child { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.footer-center { color: var(--subtle); }
.footer a { transition: color .18s ease; }
.footer a:hover { color: var(--cyan); }

.search-overlay, .auth-overlay { position: fixed; z-index: 20; inset: 0; display: grid; place-items: start center; padding-top: 15vh; background: rgba(5, 8, 11, .75); backdrop-filter: blur(8px); }
.search-overlay[hidden], .auth-overlay[hidden] { display: none; }
.search-dialog { width: min(620px, calc(100% - 32px)); overflow: hidden; border: 1px solid var(--line-strong); border-radius: 12px; background: #131a21; box-shadow: var(--shadow); }
.dialog-top { display: flex; align-items: center; justify-content: space-between; padding: 17px 20px 13px; }
.dialog-top h2 { font-size: 16px; }
.search-input-wrap { display: flex; align-items: center; gap: 10px; margin: 0 16px; padding: 0 12px; border: 1px solid rgba(99, 217, 255, .38); border-radius: 7px; background: #0e141a; }
.search-input-wrap > span { color: var(--cyan); font-size: 21px; }
.search-input-wrap input { width: 100%; height: 48px; border: 0; outline: 0; color: var(--text); background: transparent; font-size: 13px; }
.search-input-wrap:focus-within { outline: 2px solid var(--cyan); outline-offset: 3px; }
.search-hints { display: flex; justify-content: space-between; gap: 12px; padding: 12px 20px; color: var(--subtle); font: 9px var(--mono); }
.search-hints kbd { height: 17px; min-width: 17px; font-size: 9px; }
.search-results { max-height: 300px; overflow-y: auto; border-top: 1px solid var(--line); }
.search-result { display: flex; align-items: center; gap: 12px; padding: 13px 20px; border-bottom: 1px solid var(--line); transition: background .16s ease; }
.search-result:hover { background: var(--surface); }
.search-result .result-icon { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 6px; color: var(--cyan); background: rgba(99, 217, 255, .08); font: 13px var(--mono); }
.search-result strong, .search-result small { display: block; }
.search-result strong { font-size: 12px; }
.search-result small { margin-top: 2px; color: var(--subtle); font: 9px var(--mono); }
.search-result > span:last-child { margin-left: auto; color: var(--subtle); font: 10px var(--mono); }
.search-empty { padding: 28px 20px; color: var(--subtle); font: 11px var(--mono); text-align: center; }

.auth-overlay { place-items: center; padding: 20px; }
.auth-dialog { position: relative; width: min(430px, 100%); padding: 34px 32px 28px; border: 1px solid var(--line-strong); border-radius: 14px; background: #131a21; box-shadow: var(--shadow); }
.dialog-close { position: absolute; top: 12px; right: 13px; width: 30px; height: 30px; border-radius: 7px; color: var(--muted); background: transparent; font-size: 22px; }
.dialog-close:hover { color: var(--text); background: var(--surface); }
.auth-mark { display: inline-flex; align-items: flex-end; gap: 3px; height: 25px; margin-bottom: 28px; padding: 3px; border: 1px solid rgba(99, 217, 255, .6); border-radius: 7px; background: rgba(99, 217, 255, .08); }
.auth-mark span { display: block; width: 4px; border-radius: 2px; background: var(--cyan); }
.auth-mark span:nth-child(1) { height: 8px; }
.auth-mark span:nth-child(2) { height: 15px; }
.auth-mark span:nth-child(3) { height: 19px; }
.auth-dialog .eyebrow { margin-bottom: 10px; color: var(--cyan); }
.auth-dialog h2 { margin-bottom: 10px; font-size: 29px; }
.auth-copy { margin-bottom: 24px; color: var(--muted); font-size: 13px; }
.sso-options { display: grid; gap: 9px; }
.sso-button { display: flex; align-items: center; gap: 11px; min-height: 46px; padding: 0 13px; border: 1px solid var(--line); border-radius: 7px; color: var(--text); background: var(--surface); font-size: 12px; transition: border-color .18s ease, background .18s ease, transform .18s var(--ease); }
.sso-button:hover { border-color: var(--line-strong); background: var(--surface-2); transform: translateY(-1px); }
.sso-button > span:last-child { margin-left: auto; color: var(--subtle); font-size: 17px; }
.provider-icon { display: grid; place-items: center; width: 23px; height: 23px; border-radius: 5px; font-weight: 750; }
.provider-icon.google { color: #fff; background: #4285f4; }
.provider-icon.github { color: #fff; background: #24292f; }
.auth-status { margin: 19px 0 0; padding: 10px 11px; border-left: 2px solid var(--cyan); color: var(--muted); background: rgba(99, 217, 255, .06); font: 10px/1.5 var(--mono); }
.account-card { display: flex; align-items: center; gap: 10px; padding: 12px; border: 1px solid var(--line); border-radius: 7px; background: var(--surface); }
.account-avatar { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 7px; color: var(--ink-950); background: var(--lime); font: 10px var(--mono); font-weight: 700; }
.account-card strong, .account-card small { display: block; }
.account-card strong { font-size: 11px; }
.account-card small { margin-top: 2px; color: var(--subtle); font: 9px var(--mono); }
.account-provider { margin-left: auto; color: var(--cyan); font: 9px var(--mono); text-transform: uppercase; }
.sign-out-button { margin-top: 9px; }
.auth-terms { margin: 18px 0 0; color: var(--subtle); font: 9px/1.5 var(--mono); }
.toast { position: fixed; z-index: 30; right: 22px; bottom: 22px; max-width: min(390px, calc(100% - 44px)); padding: 11px 14px; border: 1px solid rgba(99, 217, 255, .32); border-radius: 7px; color: var(--text); background: #131a21; box-shadow: var(--shadow); font: 10px/1.45 var(--mono); opacity: 0; pointer-events: none; transform: translateY(10px); transition: opacity .2s ease, transform .2s var(--ease); }
.toast.show { opacity: 1; transform: translateY(0); }

@media (max-width: 980px) {
  .app-shell { width: min(100% - 32px, 760px); }
  .primary-nav { display: none; }
  .hero { grid-template-columns: 1fr; gap: 40px; padding-top: 62px; }
  .hero-terminal { max-width: 700px; width: 100%; transform: none; }
  .hero-terminal:hover { transform: none; }
  .content-grid { grid-template-columns: 1fr; }
  .side-column { grid-template-columns: repeat(2, 1fr); }
  .closing-band { margin-top: 80px; }
}
@media (max-width: 680px) {
  .app-shell { width: min(100% - 24px, 560px); }
  .topbar { height: 64px; gap: 10px; }
  .topbar-actions { gap: 4px; }
  .search-trigger { min-width: 34px; width: 34px; padding: 0; justify-content: center; border-color: transparent; background: transparent; }
  .search-trigger .search-copy, .search-trigger kbd { display: none; }
  .hero { min-height: 0; padding: 52px 0 56px; }
  h1 { font-size: clamp(47px, 14vw, 68px); }
  .hero-lede { font-size: 15px; }
  .hero-proof { flex-wrap: wrap; margin-top: 30px; line-height: 1.5; }
  .terminal-body { grid-template-columns: 1fr; }
  .code-pane { border-right: 0; border-bottom: 1px solid var(--line); }
  .terminal-result { min-height: 230px; }
  .signal-strip { grid-template-columns: repeat(2, 1fr); }
  .signal-cell, .signal-cell:first-child { padding: 18px 12px; }
  .signal-cell:nth-child(2) { border-right: 0; }
  .signal-cell:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .section-heading { display: block; padding-top: 68px; }
  .section-tools { display: block; margin-top: 22px; }
  .filter-chips { width: fit-content; }
  .text-button { margin-top: 15px; }
  .project-card { grid-template-columns: 8px minmax(0, 1fr); }
  .project-stats { grid-column: 2; flex-direction: row; align-items: center; justify-content: space-between; }
  .side-column { grid-template-columns: 1fr; }
  .closing-band { display: block; margin-top: 70px; padding: 25px 20px; }
  .closing-actions { flex-wrap: wrap; margin-top: 24px; }
  .footer { display: grid; grid-template-columns: minmax(0, 1fr); gap: 7px; padding: 24px 0; }
  .footer-center { order: 3; }
  .footer a:first-child { margin-left: 0; }
  .auth-dialog { padding: 29px 22px 24px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
