/* QA TestFlow — project site, in the KasunRocz Softwares visual family (green world). */
:root {
  --bg: #04050a;
  --ink: #eef1fb;
  --ink-2: #aab2c8;
  --ink-3: #8089a3;
  --line: rgba(255, 255, 255, .09);
  --line-2: rgba(255, 255, 255, .16);
  --glass: rgba(12, 16, 28, .55);

  --accent: #7ef29d;
  --accent-rgb: 126, 242, 157;
  --on-accent: #04210f;
  --pass: #7ef29d;
  --fail: #ff5d6c;
  --pend: #ffb547;
  --skip: #8089a3;
  --sky: #5cc8ff;

  --display: "Unbounded", system-ui, sans-serif;
  --font: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "Cascadia Code", monospace;
  --gutter: clamp(16px, 4.5vw, 64px);
  --max: 1200px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
.rm { scroll-behavior: auto; }
body {
  background:
    radial-gradient(70% 45% at 85% 0%, rgba(var(--accent-rgb), .09), transparent 70%),
    radial-gradient(50% 35% at 0% 40%, rgba(92, 200, 255, .05), transparent 70%),
    var(--bg);
  color: var(--ink); font: 400 17px/1.6 var(--font); overflow-x: hidden; -webkit-font-smoothing: antialiased;
}
body::before {
  content: ""; position: fixed; inset: 0; z-index: 9; pointer-events: none; opacity: .05; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
main, .footer { position: relative; z-index: 1; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; }
::selection { background: var(--accent); color: var(--on-accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 10px; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 200; padding: 10px 16px; border-radius: 999px; background: var(--accent); color: var(--on-accent); font-weight: 700; }
.skip:focus { top: 16px; }
.progress { position: fixed; top: 0; left: 0; z-index: 60; height: 2px; width: 100%; transform-origin: 0 50%; transform: scaleX(var(--p, 0)); background: linear-gradient(90deg, var(--accent), var(--sky)); }

/* Nav */
.nav {
  position: fixed; top: 14px; left: 50%; z-index: 50; transform: translateX(-50%);
  width: min(1160px, calc(100% - 32px));
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 8px 8px 8px 16px; border-radius: 999px;
  background: rgba(8, 11, 20, .6); border: 1px solid var(--line);
  -webkit-backdrop-filter: blur(18px) saturate(150%); backdrop-filter: blur(18px) saturate(150%);
}
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 500; font-size: 15px; letter-spacing: -.01em; }
.brand img { border-radius: 8px; }
.nav-links { display: flex; gap: 4px; }
.nav-links a { font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); padding: 10px 13px; border-radius: 999px; transition: color .25s, background .25s; }
.nav-links a:hover { color: var(--ink); background: rgba(255, 255, 255, .06); }
.nav-end { display: flex; gap: 8px; align-items: center; }
.nav-links .nav-org { display: none; }
.org { font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); padding: 10px 14px; border-radius: 999px; border: 1px solid var(--line-2); white-space: nowrap; }
.org::before { content: "← "; }
.org:hover { color: var(--ink); border-color: rgba(255, 255, 255, .3); }
.menu-btn { display: none; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line-2); position: relative; }
.menu-btn span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: var(--ink); transition: transform .35s var(--ease); }
.menu-btn span:first-child { top: 17px; }
.menu-btn span:last-child { top: 23px; }
.nav.open .menu-btn span:first-child { transform: translateY(3px) rotate(45deg); }
.nav.open .menu-btn span:last-child { transform: translateY(-3px) rotate(-45deg); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55em; height: 50px; padding: 0 24px; border-radius: 999px; font-weight: 700; font-size: 15px; white-space: nowrap; transition: background .3s, border-color .3s, box-shadow .4s, transform .4s var(--ease); }
.btn-lg { height: 56px; padding: 0 28px; font-size: 16px; }
.btn-primary { background: var(--accent); color: var(--on-accent); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), 0 12px 40px -14px rgba(var(--accent-rgb), .9); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), 0 18px 50px -12px rgba(var(--accent-rgb), 1); }
.btn-ghost { background: rgba(255, 255, 255, .04); border: 1px solid var(--line-2); }
.btn-ghost:hover { background: rgba(255, 255, 255, .09); border-color: rgba(255, 255, 255, .28); }
.btn:active { transform: scale(.97); }

/* Type */
.display { font-family: var(--display); font-weight: 500; font-size: clamp(34px, 4.4vw, 62px); line-height: 1.05; letter-spacing: -.045em; text-wrap: balance; }
.h2 { font-family: var(--display); font-weight: 500; font-size: clamp(28px, 3.6vw, 48px); line-height: 1.08; letter-spacing: -.035em; text-wrap: balance; max-width: 22ch; }
.h3 { font-family: var(--display); font-weight: 500; font-size: 22px; letter-spacing: -.025em; margin: 10px 0 8px; }
.kicker { font-family: var(--mono); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); margin-bottom: 16px; }
.mono { font-family: var(--mono); font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); }
.accent-text { color: var(--accent); }
.body { color: var(--ink-2); font-size: 17px; max-width: 58ch; margin-top: 18px; }
.js .reveal { opacity: 0; translate: 0 26px; transition: opacity .9s var(--ease) var(--d, 0s), translate 1.1s var(--ease) var(--d, 0s); }
.js .reveal.in { opacity: 1; translate: none; }
.rm .reveal { translate: none !important; transition: opacity .5s !important; }

/* Hero */
.hero { position: relative; min-height: 100vh; min-height: 100svh; max-width: 1320px; margin: 0 auto; padding: 130px var(--gutter) 80px; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); align-items: center; gap: 32px; }
.kr-planet { position: absolute; top: 0; right: -4%; width: 64%; height: 100%; z-index: 0; opacity: 0; transition: opacity 1.4s var(--ease); pointer-events: none; }
.kr-planet.is-ready { opacity: .9; }
.hero-copy { position: relative; z-index: 2; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 26px; font-family: var(--mono); font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(10, 14, 24, .6); }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 rgba(var(--accent-rgb), .6); animation: ping 2s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 9px rgba(var(--accent-rgb), 0); } 100% { box-shadow: 0 0 0 0 rgba(var(--accent-rgb), 0); } }
.rm .dot { animation: none; }
.lede { color: var(--ink-2); font-size: clamp(16.5px, 1.3vw, 18.5px); max-width: 50ch; margin-top: 24px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.cta-row.center { justify-content: center; }
.stats { display: flex; gap: clamp(26px, 4vw, 56px); margin-top: 48px; }
.stats dt { font-family: var(--mono); font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 4px; }
.stats dd { font-family: var(--display); font-size: clamp(26px, 2.4vw, 34px); font-weight: 500; letter-spacing: -.03em; }

/* Live session mock */
.session {
  position: relative; z-index: 2; align-self: end; justify-self: end; width: min(390px, 100%); margin-bottom: 20px;
  padding: 18px; border-radius: 22px; background: rgba(8, 11, 20, .62); border: 1px solid var(--line);
  -webkit-backdrop-filter: blur(18px) saturate(150%); backdrop-filter: blur(18px) saturate(150%);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .9);
}
.session-head { display: flex; justify-content: space-between; align-items: center; }
.live { display: inline-flex; align-items: center; gap: 6px; font-family: var(--mono); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.live i { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); animation: blink 1.4s infinite; }
@keyframes blink { 50% { opacity: .25; } }
.rm .live i { animation: none; }
.session-who { display: flex; align-items: center; margin: 12px 0; }
.session-who b { display: grid; place-items: center; width: 26px; height: 26px; margin-right: -6px; border-radius: 50%; font-family: var(--mono); font-size: 10.5px; color: #071016; background: var(--c); border: 2px solid #0a0e17; }
.session-who span { margin-left: 14px; font-size: 13px; color: var(--ink-2); }
.session-cases { display: grid; gap: 6px; }
.session-cases li { display: grid; grid-template-columns: 1fr auto 26px; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 10px; background: rgba(255, 255, 255, .025); border: 1px solid var(--line); font-size: 13.5px; transition: background .4s, border-color .4s; }
.session-cases li.flash { background: rgba(var(--accent-rgb), .08); border-color: rgba(var(--accent-rgb), .35); }
.session-cases .st { font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; padding: 3px 8px; border-radius: 999px; border: 1px solid currentColor; }
.st-PASS { color: var(--pass); }
.st-FAIL { color: var(--fail); }
.st-PENDING { color: var(--pend); }
.st-SKIP { color: var(--skip); }
.session-cases .who { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; font-family: var(--mono); font-size: 9.5px; color: #071016; background: var(--c, #333); }
.session-sum { display: flex; gap: 14px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); font-family: var(--mono); font-size: 12px; color: var(--ink-2); }
.session-sum b { font-weight: 500; }
.session-note { margin-top: 10px; font-family: var(--mono); font-size: 11px; letter-spacing: .1em; color: var(--ink-3); text-align: right; }

/* Sections */
.section { max-width: var(--max); margin: 0 auto; padding: 15vh var(--gutter) 2vh; }
.section-head { margin-bottom: 40px; }

/* Hierarchy chain */
.chain { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; counter-reset: c; }
.chain li { position: relative; padding: 22px 20px; border-radius: 20px; background: var(--glass); border: 1px solid var(--line); display: grid; gap: 6px; align-content: start; }
.chain li:not(:last-child)::after { content: "→"; position: absolute; right: -11px; top: 22px; z-index: 1; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: #0a0e17; border: 1px solid rgba(var(--accent-rgb), .45); color: var(--accent); font-size: 12px; }
.chain .mono { color: var(--accent); }
.chain b { font-family: var(--display); font-weight: 500; font-size: 18px; letter-spacing: -.02em; }
.chain small { color: var(--ink-2); font-size: 14px; line-height: 1.45; }

/* Dependency demo */
.demo { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 16px; }
.demo-map { border-radius: 24px; border: 1px solid var(--line); background: var(--glass); padding: clamp(10px, 2vw, 20px); overflow-x: auto; }
#dep-svg { display: block; width: 100%; min-width: 620px; height: auto; }
.dep-edge { fill: none; stroke: rgba(255, 255, 255, .14); stroke-width: 1.6; transition: stroke .35s, stroke-width .35s; }
.dep-edge.hot { stroke: var(--accent); stroke-width: 2.4; }
.dep-edge.hot.flow { stroke-dasharray: 6 8; animation: flow 1s linear infinite; }
@keyframes flow { to { stroke-dashoffset: -28; } }
.rm .dep-edge.hot.flow { animation: none; stroke-dasharray: none; }
.dep-node { cursor: pointer; }
.dep-node rect { fill: rgba(14, 19, 32, .95); stroke: rgba(255, 255, 255, .18); stroke-width: 1.2; transition: stroke .3s, fill .3s; }
.dep-node text { font-family: var(--font); font-size: 15px; font-weight: 600; fill: var(--ink); pointer-events: none; }
.dep-node .lvl { font-family: var(--mono); font-size: 10.5px; font-weight: 500; letter-spacing: .1em; fill: var(--ink-3); }
.dep-node:hover rect, .dep-node:focus-visible rect { stroke: rgba(var(--accent-rgb), .7); }
.dep-node:focus-visible { outline: none; }
.dep-node.src rect { fill: var(--accent); stroke: var(--accent); }
.dep-node.src text { fill: var(--on-accent); }
.dep-node.src .lvl { fill: rgba(4, 33, 15, .7); }
.dep-node.hit rect { fill: rgba(var(--accent-rgb), .12); stroke: var(--accent); }
.dep-node.hit .lvl { fill: var(--accent); }
.dep-node.dim { opacity: .45; }
.demo-side { border-radius: 24px; border: 1px solid var(--line); background: var(--glass); padding: 24px; display: flex; flex-direction: column; }
.demo-title { font-family: var(--display); font-weight: 500; font-size: 22px; letter-spacing: -.025em; margin-top: 8px; }
.demo-sub { color: var(--ink-2); font-size: 15px; margin-top: 6px; }
.demo-nums { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 20px 0 14px; }
.demo-nums div { padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line); background: rgba(255, 255, 255, .02); }
.demo-nums b { display: block; font-family: var(--display); font-weight: 500; font-size: 32px; letter-spacing: -.03em; color: var(--accent); font-variant-numeric: tabular-nums; }
.demo-nums small { color: var(--ink-2); font-size: 13px; }
.demo-list { display: grid; gap: 6px; flex: 1; align-content: start; }
.demo-list li { display: flex; justify-content: space-between; gap: 10px; padding: 8px 12px; border-radius: 10px; background: rgba(255, 255, 255, .025); border: 1px solid var(--line); font-size: 14px; animation: in .4s var(--ease) both; animation-delay: calc(var(--i) * 40ms); }
.demo-list li span { font-family: var(--mono); font-size: 11px; color: var(--accent); letter-spacing: .08em; }
@keyframes in { from { opacity: 0; translate: 0 6px; } }
.rm .demo-list li { animation: none; }

/* Runs */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .8fr); gap: 56px; align-items: center; }
.ticks { display: grid; gap: 12px; margin-top: 26px; }
.ticks li { position: relative; padding-left: 30px; color: var(--ink-2); }
.ticks li b { color: var(--ink); }
.ticks li::before { content: ""; position: absolute; left: 0; top: .32em; width: 18px; height: 18px; border-radius: 50%; background: rgba(var(--accent-rgb), .14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237ef29d' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12l4 4 8-8'/%3E%3C/svg%3E") center / 12px no-repeat; }
.tally { border-radius: 26px; border: 1px solid var(--line); background: var(--glass); padding: 32px; display: grid; justify-items: center; gap: 24px; }
.tally-ring { position: relative; width: min(240px, 70vw); aspect-ratio: 1; }
.tally-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.tally-ring circle { fill: none; stroke-width: 10; stroke-linecap: round; }
.t-bg { stroke: rgba(255, 255, 255, .07); }
.t-pass { stroke: var(--pass); stroke-dasharray: 0 400; transition: stroke-dasharray .8s var(--ease); filter: drop-shadow(0 0 6px rgba(var(--accent-rgb), .6)); }
.t-fail { stroke: var(--fail); stroke-dasharray: 0 400; transition: stroke-dasharray .8s var(--ease), stroke-dashoffset .8s var(--ease); }
.tally-ring > div { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.tally-ring b { font-family: var(--display); font-weight: 500; font-size: 40px; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.tally-ring small { font-family: var(--mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); }
.tally-legend { display: flex; gap: 18px; flex-wrap: wrap; justify-content: center; font-size: 14px; color: var(--ink-2); }
.tally-legend li { display: flex; align-items: center; gap: 8px; }
.tally-legend i { width: 8px; height: 8px; border-radius: 50%; }
.tally-legend .pass { background: var(--pass); }
.tally-legend .fail { background: var(--fail); }
.tally-legend .pend { background: var(--pend); }
.tally-legend b { color: var(--ink); font-variant-numeric: tabular-nums; }

/* Releases */
.stages { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 0; counter-reset: s; }
.stages li {
  position: relative; counter-increment: s; padding: 46px 8px 0; text-align: center;
  font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); transition: color .4s;
}
.stages li::before { content: counter(s); position: absolute; top: 0; left: 50%; translate: -50% 0; z-index: 1; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: #0a0e17; border: 1px solid var(--line-2); color: var(--ink-3); transition: background .4s, border-color .4s, color .4s, box-shadow .4s; }
.stages li::after { content: ""; position: absolute; top: 15px; left: 50%; width: 100%; height: 2px; background: var(--line); }
.stages li:last-child::after { display: none; }
.stages li.done { color: var(--ink); }
.stages li.done::before { content: "✓"; background: rgba(var(--accent-rgb), .14); border-color: var(--accent); color: var(--accent); }
.stages li.done::after { background: linear-gradient(90deg, var(--accent), rgba(var(--accent-rgb), .35)); }
.stages li.current::before { border-color: var(--accent); color: var(--ink); box-shadow: 0 0 0 6px rgba(var(--accent-rgb), .12); }
.stages li.ship.done::before { content: "★"; background: var(--accent); color: var(--on-accent); }
.stages-note { margin-top: 28px; color: var(--ink-2); font-size: 15px; }
.blocked { font-family: var(--mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--fail); padding: 3px 9px; border: 1px solid rgba(255, 93, 108, .5); border-radius: 999px; margin-right: 6px; }

/* Assistant bento */
.bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.tile { padding: 24px 22px; border-radius: 20px; border: 1px solid var(--line); background: var(--glass); display: grid; gap: 8px; align-content: start; transition: border-color .3s; }
.tile:hover { border-color: rgba(var(--accent-rgb), .4); }
.tile .mono { color: var(--accent); }
.tile h3 { font-family: var(--display); font-weight: 500; font-size: 18px; letter-spacing: -.02em; }
.tile p { color: var(--ink-2); font-size: 14.5px; }

/* Work + access */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.panel { padding: 30px 28px; border-radius: 24px; border: 1px solid var(--line); background: var(--glass); }
.panel > p:not(.kicker) { color: var(--ink-2); font-size: 15.5px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.chips li { font-family: var(--mono); font-size: 12.5px; padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .03); }
.stack-band { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; padding-top: 10vh; }
.stack-band .chips { margin: 0; }

.cta-band { max-width: 900px; margin: 0 auto; padding: 16vh var(--gutter); text-align: center; }
.cta-band .h2 { margin: 0 auto; }
.cta-band .body { margin: 16px auto 28px; }

.footer { max-width: var(--max); margin: 0 auto; padding: 26px var(--gutter) 40px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px; font-family: var(--mono); font-size: 12px; letter-spacing: .04em; color: var(--ink-3); border-top: 1px solid var(--line); }
.footer a { color: var(--ink-2); }
.footer a:hover { color: var(--accent); }

/* Setup */
code { font-family: var(--mono); font-size: .88em; color: #c8f7d4; background: rgba(var(--accent-rgb), .08); padding: .1em .4em; border-radius: 6px; overflow-wrap: anywhere; }
.setup-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 16px; align-items: start; }
.setup-steps { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; min-width: 0; }
.setup-steps li { padding: 22px; border-radius: 20px; border: 1px solid var(--line); background: var(--glass); display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; min-width: 0; }
.setup-steps .mono { color: var(--accent); }
.setup-steps p { color: var(--ink-2); font-size: 15.5px; }
.setup-steps p b { color: var(--ink); }
.code { position: relative; border-radius: 14px; background: #070a10; border: 1px solid var(--line); }
.code pre { margin: 0; padding: 16px 18px; padding-right: 76px; overflow-x: auto; font-family: var(--mono); font-size: 13px; line-height: 1.75; }
.code code, .file code { background: none; padding: 0; color: var(--ink); font-size: inherit; overflow-wrap: normal; }
.copy { position: absolute; top: 9px; right: 9px; padding: 6px 12px; border-radius: 8px; border: 1px solid var(--line-2); font-family: var(--mono); font-size: 12px; color: var(--ink-2); background: rgba(255, 255, 255, .04); }
.copy:hover { color: var(--ink); border-color: rgba(255, 255, 255, .3); }
.copy.done { color: var(--accent); border-color: var(--accent); }
.os-tabs, .file-tabs { display: flex; flex-wrap: wrap; gap: 6px; }
.os-tabs button, .file-tabs button { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line-2); font-family: var(--mono); font-size: 12px; color: var(--ink-2); transition: all .25s; }
.os-tabs button:hover, .file-tabs button:hover { color: var(--ink); }
.os-tabs button[aria-selected="true"], .file-tabs button[aria-selected="true"] { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.files { position: sticky; top: 90px; padding: 16px; border-radius: 22px; border: 1px solid var(--line); background: var(--glass); display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; min-width: 0; }
.file { border-radius: 14px; background: #070a10; border: 1px solid var(--line); overflow: hidden; }
.file-bar { display: flex; justify-content: flex-end; align-items: center; gap: 8px; padding: 8px; border-bottom: 1px solid var(--line); }
.file-bar a { font-family: var(--mono); font-size: 12px; color: var(--accent); padding: 6px 10px; }
.file-bar .copy { position: static; }
.file pre { margin: 0; padding: 16px 18px; max-height: min(64vh, 620px); overflow: auto; font-family: var(--mono); font-size: 12.5px; line-height: 1.65; }
.file code .c { color: var(--ink-3); }
.file code a { color: var(--accent); }
.setup-more { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 16px; }
.setup-more .panel { padding: 24px 22px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; align-content: start; min-width: 0; }
.setup-more .panel .kicker { margin: 0; }
.setup-more .panel > p:not(.kicker) { font-size: 14.5px; }
.images { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 16px; }
.images li { display: grid; gap: 6px; padding: 16px 18px; border-radius: 16px; border: 1px solid var(--line); background: rgba(255, 255, 255, .02); }
@media (max-width: 1080px) { .setup-grid, .setup-more, .images { grid-template-columns: 1fr; } .files { position: static; } }

/* Responsive */
@media (max-width: 1080px) {
  .hero { grid-template-columns: 1fr; padding-bottom: 60px; }
  .kr-planet { width: 100%; right: 0; height: 70%; }
  .kr-planet.is-ready { opacity: .4; }
  .session { justify-self: start; }
  .chain { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .chain li:not(:last-child)::after { display: none; }
  .demo, .split, .duo { grid-template-columns: 1fr; }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stages { grid-template-columns: repeat(4, minmax(0, 1fr)); row-gap: 28px; }
  .stages li:nth-child(4)::after { display: none; }
}
@media (max-width: 760px) {
  .menu-btn { display: block; }
  .org { display: none; }
  .nav-links { position: absolute; top: calc(100% + 10px); left: 0; right: 0; flex-direction: column; padding: 10px; border-radius: 22px; border: 1px solid var(--line); background: rgba(8, 11, 20, .94); opacity: 0; visibility: hidden; translate: 0 -8px; transition: opacity .3s, visibility .3s, translate .4s var(--ease); }
  .nav.open .nav-links { opacity: 1; visibility: visible; translate: none; }
  .nav-links a { padding: 14px 16px; font-size: 13px; }
  .nav-links .nav-org { display: block; color: var(--ink-3); }
  .hero { padding-top: 110px; }
  .stats { gap: 22px; }
  .chain, .bento { grid-template-columns: 1fr; }
  .stages { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stages li:nth-child(even)::after { display: none; }
  .stages li:nth-child(4)::after { display: none; }
}
