/* kicktipp-agent — night-stadium design system (dark only) */
:root {
  --night: #04110b; --night-2: #072418; --night-3: #0a2e1c;
  --chalk: #e6efe3; --chalk-body: #c9d7c7; --chalk-dim: #a2b6a7; --chalk-faint: #6d8175;
  --lime: #9dff4a; --lime-dim: #6fbf2e; --sodium: #ffb347; --violet: #b9a3ff;
  --line: rgba(223,232,220,0.09); --line-strong: rgba(223,232,220,0.18);
  --glass: rgba(4,17,11,0.74);
  --font-display: 'Bebas Neue', 'Oswald', 'Arial Narrow', sans-serif;
  --font-body: 'IBM Plex Sans', 'Helvetica Neue', Arial, sans-serif;
  --font-mono: 'IBM Plex Mono', 'SFMono-Regular', Menlo, Consolas, monospace;
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body { background: var(--night); color: var(--chalk); font-family: var(--font-body); font-weight: 400; line-height: 1.65; overflow-x: hidden; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; }
::selection { background: rgba(157,255,74,0.3); }
* { scrollbar-width: thin; scrollbar-color: rgba(223,232,220,0.2) transparent; }
::-webkit-scrollbar { width: 9px; height: 9px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(223,232,220,0.16); border-radius: 999px; border: 2px solid transparent; background-clip: padding-box; }
::-webkit-scrollbar-thumb:hover { background: rgba(223,232,220,0.3); border: 2px solid transparent; background-clip: padding-box; }
::-webkit-scrollbar-corner { background: transparent; }
code, kbd, pre { font-family: var(--font-mono); }
.container { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
@media (max-width: 640px) { .container { padding: 0 20px; } }

/* Navigation */
nav.top { position: fixed; inset: 0 0 auto 0; z-index: 100; height: 64px; display: flex; align-items: center; background: linear-gradient(180deg, rgba(4,17,11,0.9), rgba(4,17,11,0)); transition: background 0.3s; }
nav.top.solid { background: var(--glass); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
nav.top .container { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.mark { font-family: var(--font-mono); font-size: 17px; font-weight: 500; letter-spacing: -0.015em; color: var(--chalk); text-decoration: none; display: flex; align-items: center; gap: 11px; white-space: nowrap; }
.mark b { color: var(--lime); font-weight: 500; }
.mark svg { width: 26px; height: 26px; flex: none; }
.nav-links { display: flex; gap: 26px; list-style: none; font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; }
.nav-links a { text-decoration: none; color: var(--chalk-dim); transition: color 0.2s; }
.nav-links a:hover, .nav-links a.active { color: var(--chalk); }
.nav-right { display: flex; align-items: center; gap: 10px; }
.lang, .gh { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 12px; border: 1px solid var(--line-strong); border-radius: 6px; text-decoration: none; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.1em; color: var(--chalk-dim); transition: color 0.2s, border-color 0.2s; }
.lang:hover, .gh:hover { color: var(--chalk); border-color: var(--lime); }
.gh svg { width: 16px; height: 16px; }
.burger { display: none; width: 36px; height: 36px; border: 1px solid var(--line-strong); border-radius: 6px; background: none; color: var(--chalk); cursor: pointer; align-items: center; justify-content: center; }
.burger svg { width: 18px; height: 18px; }
.mobile-menu { display: none; position: fixed; inset: 64px 0 0 0; z-index: 99; background: var(--night); padding: 20px; flex-direction: column; border-top: 1px solid var(--line); }
.mobile-menu.open { display: flex; }
.mobile-menu a { padding: 14px 0; border-bottom: 1px solid var(--line); text-decoration: none; font-size: 18px; color: var(--chalk-dim); }
.mobile-menu a:last-child { border-bottom: 0; }
@media (max-width: 860px) { .nav-links { display: none; } .burger { display: inline-flex; } .gh { display: none; } .mark { font-size: 15.5px; gap: 9px; } .mark svg { width: 23px; height: 23px; } }

/* Stage (3D hero) */
.stage { position: relative; background: var(--night); overflow: hidden; }
.stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.stage .stage-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 0.4s; }
.stage.is-poster .stage-poster { opacity: 1; } .stage.is-poster canvas { display: none; }
.stage .scrim { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(4,17,11,0.78) 0%, rgba(4,17,11,0.35) 38%, rgba(4,17,11,0) 62%), linear-gradient(180deg, rgba(4,17,11,0.55) 0%, rgba(4,17,11,0) 30%, rgba(4,17,11,0) 70%, rgba(4,17,11,0.75) 100%); }

/* Hero (home + agents) */
.hero { position: relative; height: 100vh; min-height: 720px; }
.hero .stage { position: absolute; inset: 0; }
.hero-copy { position: absolute; left: 32px; top: 112px; z-index: 2; max-width: 560px; }
.kicker { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--sodium); margin-bottom: 14px; }
h1 { font-family: var(--font-display); font-weight: 400; font-size: clamp(52px, 7.4vw, 112px); line-height: 0.88; letter-spacing: 0.005em; margin-bottom: 20px; text-wrap: balance; }
h1 .lit, h2 .lit { color: var(--lime); text-shadow: 0 0 40px rgba(157,255,74,0.35); }
.lede { max-width: 46ch; font-size: 17px; color: var(--chalk-body); margin-bottom: 22px; }
.lede b, .lede strong { color: #fff; font-weight: 600; }
.cta { display: flex; gap: 12px; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-display); font-size: 20px; letter-spacing: 0.08em; padding: 12px 24px 10px; border-radius: 3px; text-decoration: none; border: 1px solid var(--lime); color: var(--lime); background: none; cursor: pointer; transition: transform 0.2s, background 0.2s; }
.btn:hover { transform: translateY(-2px); background: rgba(157,255,74,0.12); }
.btn.fill { background: var(--lime); color: var(--night); } .btn.fill:hover { background: #b8ff7a; }
.btn.small { font-size: 16px; padding: 8px 16px 6px; }
.hud { position: absolute; left: 32px; bottom: 32px; z-index: 2; display: flex; flex-direction: column; gap: 6px; font-family: var(--font-mono); font-size: 12px; max-width: 420px; }
.hud .h { letter-spacing: 0.2em; text-transform: uppercase; color: var(--chalk-dim); margin-bottom: 4px; }
.hud .chip { background: var(--glass); border: 1px solid var(--line-strong); border-left: 3px solid var(--lime); padding: 8px 12px; border-radius: 6px; color: var(--chalk); animation: hudIn 0.4s cubic-bezier(0.16,1,0.3,1) both; backdrop-filter: blur(8px); }
.hud .chip b { color: var(--lime); font-weight: 500; } .hud .chip.warn { border-left-color: var(--sodium); } .hud .chip.warn b { color: var(--sodium); }
@keyframes hudIn { from { opacity: 0; transform: translateX(-12px); } }
.goal-flash { position: absolute; inset: 0; z-index: 2; display: grid; place-items: center; pointer-events: none; font-family: var(--font-display); font-size: clamp(90px, 20vw, 300px); color: var(--lime); opacity: 0; transform: scale(0.8); transition: opacity 0.15s, transform 0.15s; text-shadow: 0 0 60px rgba(157,255,74,0.5); }
.goal-flash.on { opacity: 1; transform: scale(1); }

/* MCP session panel */
.chat { position: absolute; right: 32px; top: 96px; bottom: 32px; z-index: 3; width: min(420px, calc(100% - 64px)); display: flex; flex-direction: column; background: var(--glass); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid rgba(157,255,74,0.22); border-radius: 12px; box-shadow: 0 30px 80px rgba(0,0,0,0.55); font-size: 13.5px; }
.chat-head { padding: 12px 16px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 10px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--chalk-dim); }
.chat-head select { background: var(--night); color: var(--lime); border: 1px solid rgba(157,255,74,0.3); border-radius: 6px; font: inherit; padding: 4px 8px; max-width: 150px; }
.chat-log { flex: 1; overflow-y: auto; padding: 14px 16px; display: flex; flex-direction: column; gap: 10px; overscroll-behavior: contain; }
.msg { max-width: 92%; padding: 9px 12px; border-radius: 10px; line-height: 1.5; }
.msg.u { align-self: flex-end; background: var(--sodium); color: #1b1305; font-weight: 500; border-bottom-right-radius: 3px; }
.msg.a { align-self: flex-start; background: rgba(223,232,220,0.07); border-bottom-left-radius: 3px; }
.msg.a b { color: var(--lime); font-weight: 500; }
.msg.sys { align-self: stretch; max-width: none; font-family: var(--font-mono); font-size: 11.5px; color: var(--chalk-body); border-top: 1px dashed var(--line-strong); border-radius: 0; padding: 8px 0 0; }
.msg.sys b { color: var(--lime); font-weight: 500; }
.tool { align-self: flex-start; font-family: var(--font-mono); font-size: 12px; color: var(--violet); padding: 2px 12px; border-left: 2px solid var(--violet); line-height: 1.5; }
.tool span { color: var(--chalk-body); display: block; }
.tool.done::before { content: '✓ '; color: var(--lime); }
.chips { padding: 12px 14px 14px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 8px; }
.chips button { font: inherit; font-size: 12.5px; color: var(--chalk); background: rgba(223,232,220,0.06); border: 1px solid var(--line-strong); border-radius: 999px; padding: 7px 13px; cursor: pointer; transition: border-color 0.2s, color 0.2s, opacity 0.2s; white-space: nowrap; }
.chips button:hover { border-color: var(--lime); color: var(--lime); }
.chips button[disabled] { opacity: 0.35; cursor: default; }
.chips button.next { border-color: var(--lime); color: var(--lime); }

/* Mobile hero: sticky stage, panel flows below */
@media (max-width: 860px) {
  .hero { height: auto; min-height: 0; display: flex; flex-direction: column; }
  .hero .stage { position: relative; order: 2; height: 50vh; min-height: 300px; }
  .hero .stage .scrim { background: linear-gradient(180deg, rgba(4,17,11,0.7) 0%, rgba(4,17,11,0) 25%, rgba(4,17,11,0) 80%, rgba(4,17,11,0.6) 100%); }
  .hero-copy { position: relative; order: 1; left: 0; top: 0; margin: 0; padding: 92px 20px 22px; z-index: 2; max-width: none; }
  .chat { order: 3; }
  h1 { font-size: clamp(44px, 12vw, 64px); }
  .lede { font-size: 15px; }
  .hud { display: none; }
  .chat { position: relative; right: auto; top: auto; bottom: auto; width: auto; margin: 0 12px 24px; height: auto; }
  .chat-log { max-height: 46vh; min-height: 200px; }
  .chips { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 16px; -webkit-overflow-scrolling: touch; }
  .goal-flash { position: fixed; }
}

/* Page hero (subpages) */
.page-hero { position: relative; height: 80vh; min-height: 600px; }
.page-hero .stage { position: absolute; inset: 0; }
.page-hero .inner { position: absolute; left: 32px; bottom: 48px; z-index: 2; max-width: 680px; }
.page-hero h1 { font-size: clamp(44px, 6vw, 84px); }
.page-hero .lede { font-size: 16px; max-width: 52ch; }
.page-hero .kicker, .page-hero h1, .page-hero .lede, .page-hero .cta { animation: rise 0.8s cubic-bezier(0.16,1,0.3,1) both; }
.page-hero h1 { animation-delay: 0.1s; } .page-hero .lede { animation-delay: 0.2s; } .page-hero .cta { animation-delay: 0.3s; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }
@media (max-width: 860px) { .page-hero { height: auto; min-height: 0; } .page-hero .stage { position: relative; height: 46vh; min-height: 300px; } .page-hero .inner { position: relative; left: 0; bottom: 0; padding: 24px 20px 8px; } }
@media (prefers-reduced-motion: reduce) { .page-hero .kicker, .page-hero h1, .page-hero .lede, .page-hero .cta, .reveal { animation: none; opacity: 1; transform: none; } }

/* Sections */
section.block { padding: 96px 0; position: relative; }
section.block.alt { background: var(--night-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-h { display: flex; align-items: baseline; gap: 18px; flex-wrap: wrap; margin-bottom: 36px; }
.section-h h2 { font-family: var(--font-display); font-weight: 400; font-size: clamp(40px, 5vw, 60px); line-height: 0.95; letter-spacing: 0.02em; }
.section-h > span { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--sodium); }
.section-sub { font-size: 18px; color: var(--chalk-body); line-height: 1.7; max-width: 62ch; margin: -18px 0 36px; }
.section-sub b { color: #fff; font-weight: 600; }
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s cubic-bezier(0.16,1,0.3,1), transform 0.7s cubic-bezier(0.16,1,0.3,1); }
.reveal.revealed { opacity: 1; transform: none; }

/* Tiles */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.tiles > .tile { min-width: 0; }
.tiles.two { grid-template-columns: repeat(2, 1fr); }
.tile { padding: 34px 30px; background: var(--night-2); position: relative; transition: background 0.3s; }
.tile:hover { background: var(--night-3); }
.tile .n { font-family: var(--font-display); font-size: 60px; line-height: 0.9; color: var(--lime); }
.tile .n.sodium { color: var(--sodium); }
.tile h3 { font-family: var(--font-display); font-weight: 400; font-size: 28px; letter-spacing: 0.02em; margin: 10px 0 8px; }
.tile p { color: var(--chalk-body); font-size: 15.5px; line-height: 1.7; }
.tile code { font-size: 13px; color: var(--lime); }
.tile .code { margin-top: 14px; font-family: var(--font-mono); font-size: 13px; color: var(--sodium); background: #000; padding: 9px 12px; border-radius: 4px; border: 1px solid var(--line); white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.6; padding-left: 24px; text-indent: -12px; }
.tile .code .p { color: var(--lime); margin-right: 6px; }
@media (max-width: 960px) { .tiles, .tiles.two { grid-template-columns: 1fr; } }

/* Comparison */
.compare { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); background: var(--night-2); }
.compare > div { padding: 28px 32px; }
.compare > div:first-child { border-right: 1px solid var(--line); }
.compare h3 { font-family: var(--font-display); font-weight: 400; font-size: 22px; letter-spacing: 0.06em; margin-bottom: 16px; }
.compare h3.dim { color: var(--chalk-faint); } .compare h3.lit { color: var(--lime); }
.compare li { list-style: none; padding: 9px 0; color: var(--chalk-body); font-size: 15px; display: flex; gap: 10px; }
.compare li::before { content: '✕'; color: var(--chalk-faint); font-family: var(--font-mono); }
.compare .lit-side li::before { content: '✓'; color: var(--lime); }
@media (max-width: 860px) { .compare { grid-template-columns: 1fr; } .compare > div:first-child { border-right: 0; border-bottom: 1px solid var(--line); } }

/* Curve table */
table.curve { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
table.curve th { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--chalk-dim); text-align: left; padding: 0 12px 14px; border-bottom: 1px solid var(--line-strong); font-weight: 400; }
table.curve td { padding: 13px 12px; border-bottom: 1px solid var(--line); font-size: 16px; }
table.curve td.n, table.curve th.n { text-align: right; } table.curve td.n { font-family: var(--font-display); font-size: 26px; }
table.curve tr.you td { background: rgba(157,255,74,0.08); } table.curve tr.you td.n { color: var(--lime); }
table.curve .tag { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--sodium); margin-left: 12px; border: 1px solid rgba(255,179,71,0.4); padding: 2px 6px; border-radius: 3px; }
table.curve .bar { height: 6px; background: var(--line); border-radius: 3px; overflow: hidden; min-width: 100px; } table.curve .bar b { display: block; height: 100%; background: var(--chalk-dim); } table.curve tr.you .bar b { background: var(--lime); }
@media (max-width: 640px) { table.curve td.n { font-size: 20px; } table.curve .bar { min-width: 50px; } table.curve td, table.curve th { padding-left: 6px; padding-right: 6px; } }

/* Go-deeper cards */
.deeper { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.deeper a { display: flex; flex-direction: column; padding: 28px 26px; border: 1px solid var(--line); background: var(--night-2); text-decoration: none; transition: border-color 0.3s, transform 0.3s; }
.deeper a:hover { border-color: var(--lime); transform: translateY(-3px); }
.deeper h3 { font-family: var(--font-display); font-weight: 400; font-size: 26px; letter-spacing: 0.02em; margin-bottom: 8px; }
.deeper p { color: var(--chalk-body); font-size: 15.5px; line-height: 1.7; flex: 1; }
.deeper span { margin-top: 16px; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.14em; color: var(--lime); }
@media (max-width: 960px) { .deeper { grid-template-columns: repeat(2, 1fr); } } @media (max-width: 600px) { .deeper { grid-template-columns: 1fr; } }

/* LED board / install */
.led-board { background: #000; border: 6px solid #0f1a14; border-radius: 6px; padding: 30px 34px; font-family: var(--font-mono); color: var(--sodium); text-shadow: 0 0 10px rgba(255,179,71,0.6); position: relative; overflow: hidden; }
.led-board::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,0.05) 1px, transparent 1.2px); background-size: 5px 5px; pointer-events: none; }
.led-board .row { display: grid; grid-template-columns: 110px 1fr auto; gap: 18px; align-items: center; padding: 9px 0; font-size: 15px; }
.led-board .row span:first-child { color: #7a5a30; letter-spacing: 0.18em; text-transform: uppercase; font-size: 12px; }
.led-board .row b { font-weight: 500; white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.5; }
.led-board .copy { background: none; border: 1px solid #3a2c14; color: #b98a48; font: inherit; font-size: 11px; padding: 4px 10px; border-radius: 3px; cursor: pointer; text-shadow: none; }
.led-board .copy:hover { border-color: var(--sodium); color: var(--sodium); } .led-board .copy.copied { color: var(--lime); border-color: var(--lime); }
@media (max-width: 640px) { .led-board { padding: 20px; } .led-board .row { grid-template-columns: 1fr auto; } .led-board .row span:first-child { grid-column: 1 / -1; } }

/* Prose (docs) */
.prose { max-width: 720px; }
.prose h3 { font-family: var(--font-display); font-weight: 400; font-size: 30px; letter-spacing: 0.02em; margin: 36px 0 10px; }
.prose p { font-size: 17px; color: var(--chalk-body); line-height: 1.75; margin-bottom: 18px; }
.prose p b, .prose li b { color: #fff; font-weight: 600; }
.prose a { color: var(--lime); text-decoration: none; } .prose a:hover { text-decoration: underline; }
.prose code { font-size: 14px; color: var(--lime); background: rgba(157,255,74,0.08); padding: 2px 7px; border-radius: 4px; }
.prose ul { margin: 0 0 16px 22px; } .prose li { font-size: 17px; color: var(--chalk-body); line-height: 1.7; margin-bottom: 8px; }
.shell { background: #000; border: 1px solid var(--line-strong); border-radius: 6px; margin: 20px 0; overflow: hidden; }
.shell-head { padding: 8px 14px; border-bottom: 1px solid var(--line); font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--chalk-dim); display: flex; align-items: center; gap: 8px; }
.shell-head i { width: 7px; height: 7px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 8px var(--lime); }
.shell pre { padding: 16px 18px; overflow-x: auto; font-size: 13px; line-height: 1.7; color: var(--chalk); overscroll-behavior-x: contain; }
@media (max-width: 640px) { .shell pre { font-size: 11.5px; padding: 14px; } }
.shell .p { color: var(--lime); } .shell .c { color: #fff; } .shell .d { color: var(--chalk-dim); } .shell .h { color: var(--sodium); } .shell .ok { color: var(--lime); } .shell .warn { color: var(--sodium); }
.callout { display: flex; gap: 14px; padding: 18px 22px; border: 1px solid var(--line-strong); border-left: 4px solid var(--sodium); background: var(--night-2); margin: 24px 0; max-width: 720px; }
.callout.lime { border-left-color: var(--lime); }
.callout p { font-size: 15.5px; color: var(--chalk-body); line-height: 1.7; } .callout p b { color: #fff; font-weight: 600; }
.callout svg { width: 20px; height: 20px; flex-shrink: 0; margin-top: 3px; }
.stat-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.stat-strip > div { padding: 26px 22px; text-align: center; background: var(--night-2); }
.stat-strip .v { font-family: var(--font-display); font-size: 48px; line-height: 1; color: var(--lime); } .stat-strip .v.sodium { color: var(--sodium); }
.stat-strip .l { font-size: 14px; color: var(--chalk-body); margin-top: 6px; }
@media (max-width: 760px) { .stat-strip { grid-template-columns: repeat(2, 1fr); } }

/* Terminal mockups (TUI) */
.tui-window { background: #000; border: 1px solid var(--line-strong); border-radius: 6px; overflow: hidden; margin-top: 36px; }
.tui-screen { padding: 20px 22px 18px; overflow-x: auto; font-family: var(--font-mono); font-size: 13px; line-height: 1.65; color: var(--chalk); min-width: 0; }
.tui-title { font-weight: 500; color: #fff; } .tui-dim { color: var(--chalk-dim); } .tui-mark { color: var(--sodium); }
.tui-row { display: grid; grid-template-columns: 1.25em 1.1em minmax(16ch, 1fr) 5.8em 11ch minmax(10ch, auto); gap: 0 8px; align-items: center; white-space: nowrap; min-width: 720px; }
.tui-field { display: inline-block; padding: 0 6px; letter-spacing: 0.04em; } .tui-field.invert { background: var(--chalk); color: var(--night); font-weight: 500; }
.tui-keys { color: var(--chalk-dim); font-size: 12px; margin-top: 2px; }
.tui-dash { display: grid; grid-template-columns: 220px 1fr; min-width: 720px; }
.tui-dash-menu { padding-right: 18px; border-right: 1px solid var(--line); } .tui-dash-menu .grp { color: var(--chalk-dim); margin-top: 10px; } .tui-dash-menu .itm { padding-left: 1ch; } .tui-dash-menu .itm.sel { color: var(--night); background: var(--lime); font-weight: 500; }
.tui-dash-pane { padding-left: 20px; }
.tui-bar { display: inline-block; background: var(--lime); height: 10px; vertical-align: middle; border-radius: 2px; } .tui-bar.avg { background: var(--chalk-dim); }
.keys { display: flex; flex-wrap: wrap; gap: 10px 16px; margin-top: 18px; font-size: 14px; color: var(--chalk-body); }
.keys kbd { font-size: 12px; font-weight: 500; padding: 3px 8px; border: 1px solid var(--line-strong); border-radius: 4px; background: var(--night-2); color: var(--chalk); margin-right: 6px; }

/* Squad list (MCP tools) */
.squad { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 10px; }
.squad > div { display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: center; padding: 13px 16px; border: 1px solid var(--line); background: var(--night-2); }
.squad > div > div { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.squad .no { font-family: var(--font-display); font-size: 28px; color: var(--lime); text-align: center; line-height: 1; }
.squad .no.bench { color: var(--chalk-faint); }
.squad code { font-size: 12.5px; color: var(--lime); display: block; overflow-wrap: anywhere; }
.squad > div > div span { font-size: 13.5px; color: var(--chalk-body); line-height: 1.5; display: block; }
.squad-h { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--sodium); margin: 32px 0 12px; }

/* Client / gate cards */
.gates { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.gate { padding: 26px 28px; border: 1px solid var(--line); background: var(--night-2); position: relative; min-width: 0; }
.gate .block { font-family: var(--font-display); font-size: 13px; letter-spacing: 0.2em; color: var(--sodium); }
.gate h3 { font-family: var(--font-display); font-weight: 400; font-size: 26px; letter-spacing: 0.02em; margin: 6px 0 10px; }
.gate p { font-size: 15.5px; color: var(--chalk-body); line-height: 1.7; margin-bottom: 12px; } .gate p b { color: #fff; font-weight: 600; }
.gate a { color: var(--lime); text-decoration: none; }
.gate .cmd { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; background: #000; border: 1px solid var(--line); border-radius: 4px; padding: 10px 12px; margin: 10px 0; font-family: var(--font-mono); font-size: 12.5px; color: var(--sodium); }
.gate .cmd { min-width: 0; }
.gate .cmd code { display: block; white-space: pre-wrap; overflow-wrap: anywhere; min-width: 0; line-height: 1.65; color: var(--sodium); } .gate .cmd .p { color: var(--lime); margin-right: 6px; }
.gate .cmd .copy { background: none; border: 1px solid #3a2c14; color: #b98a48; font: inherit; font-size: 11px; padding: 3px 9px; border-radius: 3px; cursor: pointer; flex-shrink: 0; position: sticky; top: 0; } .gate .cmd .copy.copied { color: var(--lime); border-color: var(--lime); }
.tabs { display: flex; gap: 2px; border-bottom: 1px solid var(--line-strong); margin-bottom: 18px; overflow-x: auto; }
.tabs button { font: inherit; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.1em; padding: 10px 16px; background: none; border: 0; border-bottom: 2px solid transparent; color: var(--chalk-dim); cursor: pointer; white-space: nowrap; }
.tabs button.active { color: var(--lime); border-bottom-color: var(--lime); }
.tab-panel { display: none; } .tab-panel.active { display: block; }
@media (max-width: 860px) { .gates { grid-template-columns: 1fr; } }

/* Changelog */
.release { position: relative; padding: 0 0 44px 36px; border-left: 1px solid var(--line-strong); max-width: 780px; }
.release::before { content: ''; position: absolute; left: -7px; top: 8px; width: 13px; height: 13px; border-radius: 50%; background: var(--night); border: 3px solid var(--lime); box-shadow: 0 0 10px rgba(157,255,74,0.5); }
.release-h { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; margin-bottom: 6px; }
.release-h .v { font-family: var(--font-display); font-size: 40px; line-height: 1; } .release-h .d { font-family: var(--font-mono); font-size: 12px; color: var(--chalk-dim); } .release-h .tag { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; padding: 3px 9px; border: 1px solid rgba(255,179,71,0.4); color: var(--sodium); border-radius: 3px; }
.release .t { font-size: 18px; color: var(--chalk); margin-bottom: 8px; font-weight: 400; }
.release .kind { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; margin: 16px 0 6px; } .kind.added { color: var(--lime); } .kind.changed { color: var(--sodium); } .kind.fixed { color: var(--violet); }
.release ul { margin: 0 0 8px 18px; } .release li, .release p { font-size: 16px; color: var(--chalk-body); line-height: 1.7; margin-bottom: 8px; } .release code { font-size: 13px; color: var(--lime); }

/* Creator */
.creator { display: grid; grid-template-columns: 200px 1fr; gap: 0; border: 1px solid var(--line); background: var(--night-2); }
.creator .visual { display: grid; place-items: center; padding: 36px; background: radial-gradient(circle at 50% 40%, rgba(157,255,74,0.12), transparent 70%); }
.creator img { width: 128px; height: 128px; border-radius: 50%; border: 2px solid var(--line-strong); }
.creator .content { padding: 36px 40px; }
.creator h3 { font-family: var(--font-display); font-weight: 400; font-size: 34px; letter-spacing: 0.02em; }
.creator .role { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--sodium); margin: 4px 0 16px; }
.creator p { color: var(--chalk-body); font-size: 16.5px; line-height: 1.7; margin-bottom: 12px; } .creator p a { color: var(--lime); text-decoration: none; }
.social { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.social a { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border: 1px solid var(--line-strong); border-radius: 4px; text-decoration: none; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; font-family: var(--font-mono); color: var(--chalk-dim); transition: color 0.2s, border-color 0.2s; }
.social a:hover { color: var(--lime); border-color: var(--lime); } .social svg { width: 16px; height: 16px; }
@media (max-width: 760px) { .creator { grid-template-columns: 1fr; } .creator .content { padding: 28px 24px; } }

/* CTA + footer */
.cta-band { padding: 96px 0; text-align: center; border-top: 1px solid var(--line); }
.cta-band h2 { font-family: var(--font-display); font-weight: 400; font-size: clamp(44px, 7vw, 96px); line-height: 0.9; margin-bottom: 14px; }
.cta-band p { color: var(--chalk-body); font-size: 18px; margin-bottom: 30px; }
.cta-band .cta { justify-content: center; }
footer { border-top: 1px solid var(--line); padding: 36px 0; }
footer .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px 24px; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--chalk-dim); }
footer nav a { text-decoration: none; margin-right: 18px; } footer nav a:hover { color: var(--chalk); }
footer a { text-decoration: none; }

/* Press-box terminal (dashboard page) */
.page-hero.hero-shell { height: 100vh; min-height: 760px; }
.page-hero.hero-shell .inner { bottom: auto; top: 104px; max-width: 560px; }
.page-hero.hero-shell h1 { font-size: clamp(40px, 5vw, 72px); }
.term { position: absolute; left: 32px; bottom: 32px; z-index: 3; width: min(640px, calc(100% - 64px)); background: var(--glass); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid rgba(157,255,74,0.25); border-radius: 10px; box-shadow: 0 30px 80px rgba(0,0,0,0.55); font-family: var(--font-mono); font-size: 13px; }
.term-head { display: flex; align-items: center; justify-content: space-between; padding: 9px 14px; border-bottom: 1px solid var(--line); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--chalk-dim); }
.term-head i { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 8px var(--lime); margin-right: 8px; }
.term-out { height: 200px; overflow-y: auto; padding: 12px 14px 6px; line-height: 1.55; white-space: pre-wrap; word-break: break-word; }
.term-out .p { color: var(--lime); } .term-out .c { color: #fff; } .term-out .d { color: var(--chalk-dim); } .term-out .h { color: var(--sodium); } .term-out .ok { color: var(--lime); } .term-out .warn { color: var(--sodium); } .term-out .inv { background: var(--chalk); color: var(--night); padding: 0 4px; }
.term-in { display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-top: 1px solid var(--line); }
.term-in span { color: var(--lime); }
.term-in input { flex: 1; background: none; border: 0; outline: none; color: #fff; font: inherit; caret-color: var(--lime); }
.term-in input::placeholder { color: var(--chalk-dim); }
.term-chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 14px 12px; }
.term-chips button { font: inherit; font-size: 11.5px; color: var(--chalk); background: rgba(223,232,220,0.06); border: 1px solid var(--line-strong); border-radius: 999px; padding: 5px 11px; cursor: pointer; }
.term-chips button:hover { border-color: var(--lime); color: var(--lime); }
@media (max-width: 860px) {
  .page-hero.hero-shell { height: auto; min-height: 0; display: flex; flex-direction: column; }
  .page-hero.hero-shell .inner { position: relative; top: 0; order: 1; padding: 92px 20px 16px; max-width: none; }
  .page-hero.hero-shell .stage { order: 2; }
  .term { position: relative; order: 3; left: 0; bottom: 0; width: auto; margin: 12px 12px 24px; }
  .term-out { height: 200px; }
  .term-chips { flex-wrap: nowrap; overflow-x: auto; }
}
