/* Kyber Repo. One stylesheet, no external assets. */
:root {
  --bg: #0a0811; --bg-2: #120e1c; --panel: #14111d; --line: #ffffff1f; --line-2: #2f2840;
  --ink: #f5f1fc; --muted: #b5adc6; --dim: #8d859d;
  --violet: #a877ff; --violet-2: #c9a8ff; --violet-deep: #6f3fd6; --lav: #e9dcff;
  --paper: #f5f2fb; --paper-ink: #17131f; --paper-muted: #5d566b;
  --wrap: 1760px; --pad: clamp(20px, 5.1vw, 96px);
  --font: "Avenir Next", "Segoe UI Variable Display", "Segoe UI", "Helvetica Neue", system-ui, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.5 var(--font); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
h1, h2, h3, p, ul, ol { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--violet-2); outline-offset: 3px; border-radius: 6px; }
.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--pad)); margin: 0 auto; padding-inline: var(--pad); }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 1em; height: 1em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link { position: fixed; left: 16px; top: -60px; z-index: 100; padding: 10px 14px; border-radius: 8px; background: var(--lav); color: #1b1330; font-weight: 600; }
.skip-link:focus { top: 12px; }

/* ---------- buttons ---------- */
.button { display: inline-flex; align-items: center; gap: 9px; min-height: 44px; padding: 0 20px; border: 1px solid transparent; border-radius: 999px; font-weight: 600; font-size: 15px; white-space: nowrap; transition: transform .2s var(--ease), box-shadow .2s var(--ease), background-color .2s; }
.button .icon { font-size: 18px; transition: transform .2s var(--ease); }
.button:hover { transform: translateY(-1px); }
.button:hover .icon { transform: translateX(3px); }
.button:active { transform: translateY(1px) scale(.98); }
.button-primary { background: linear-gradient(180deg, #d9c2ff, #b48cff); color: #1a1030; box-shadow: 0 0 0 1px #ffffff40 inset, 0 8px 28px #8a4dff59; }
.button-primary:hover { box-shadow: 0 0 0 1px #ffffff66 inset, 0 10px 34px #8a4dff8c; }
.button-ghost, .secondary-button { min-height: 40px; padding: 0 16px; border: 1px solid #4a3d60; border-radius: 10px; background: #1b1626; color: #ecdffb; font-weight: 600; font-size: 14px; transition: background-color .2s, border-color .2s, transform .2s var(--ease); }
.button-ghost:hover, .secondary-button:hover { background: #2a2038; border-color: var(--violet); }
.secondary-button:active { transform: scale(.98); }

/* ---------- navigation ---------- */
.nav { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid transparent; transition: background-color .3s, border-color .3s; }
.nav.scrolled { background: #0a0811b8; backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2); border-bottom-color: #ffffff12; }
.nav-row { display: flex; align-items: center; gap: 28px; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand-mark { width: auto; height: 46px; filter: drop-shadow(0 0 12px #9a5cff66); transition: transform .35s var(--ease), filter .35s; }
.brand:hover .brand-mark { transform: translateY(-1px) scale(1.04); filter: drop-shadow(0 0 16px #b98cffaa); }
.brand-name { font-size: 27px; font-weight: 600; letter-spacing: -.02em; }
.brand-name b { font-weight: 600; color: var(--violet-2); }
.nav-links { display: flex; align-items: center; gap: 6px; margin-left: 8px; padding-left: 28px; border-left: 1px solid var(--line); }
.nav-item { position: relative; }
.nav-links button, .nav-plain { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 14px; border: 0; border-radius: 10px; background: none; font-size: 15px; font-weight: 500; color: #ece6f6; transition: background-color .2s, color .2s; }
.nav-links button:hover, .nav-plain:hover, .nav-links button[aria-expanded="true"] { background: #ffffff12; color: #fff; }
.nav-links button .icon { font-size: 16px; transition: transform .2s var(--ease); }
.nav-links button[aria-expanded="true"] .icon { transform: rotate(180deg); }
.nav-menu { position: absolute; top: calc(100% + 10px); left: 0; width: 300px; padding: 8px; border: 1px solid var(--line-2); border-radius: 14px; background: #15111fF2; box-shadow: 0 24px 60px #000000a6; backdrop-filter: blur(18px); animation: menu-in .18s var(--ease); }
.nav-menu a { display: block; padding: 10px 12px; border-radius: 9px; transition: background-color .15s; }
.nav-menu a:hover, .nav-menu a:focus-visible { background: #a877ff26; }
.nav-menu strong { display: block; font-size: 14.5px; font-weight: 600; }
.nav-menu span { display: block; font-size: 13px; color: var(--muted); }
@keyframes menu-in { from { opacity: 0; transform: translateY(-6px); } }
.nav-right { display: flex; align-items: center; gap: 18px; margin-left: auto; }
.engine-state { display: inline-flex; align-items: center; gap: 10px; min-height: 36px; padding: 0 16px; border: 1px solid var(--line); border-radius: 999px; background: #ffffff0a; font-size: 14px; color: #e8e2f2; white-space: nowrap; }
.engine-state i { width: 9px; height: 9px; border-radius: 50%; background: #8d859d; }
[data-engine="ready"] .engine-state i { background: #35d07f; box-shadow: 0 0 0 4px #35d07f26; }
[data-engine="missing"] .engine-state i { background: #ffb454; }

/* ---------- hero ---------- */
.hero { position: relative; display: flex; flex-direction: column; min-height: clamp(640px, calc(100svh - 72px), 1240px); margin-top: -73px; padding-top: 73px; overflow: hidden; isolation: isolate;
  background:
    radial-gradient(60% 55% at 76% 42%, #5b2bb84d 0%, transparent 70%),
    radial-gradient(45% 40% at 12% 96%, #6b3fd633 0%, transparent 70%),
    linear-gradient(180deg, #0d0a16 0%, #0a0811 55%, #1a1230 100%); }
.hero::after { content: ""; position: absolute; inset: auto 0 0 0; height: 150px; z-index: -1; background: linear-gradient(180deg, transparent, #6d49c940 70%, #8f6be055); pointer-events: none; }
.hero-art { position: absolute; inset: 0; z-index: -1; }
.hero-art::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(90deg, #0a0811e0 0%, #0a0811b3 28%, #0a081100 54%), linear-gradient(180deg, #0a081199 0%, #0a081100 18%, #0a081100 64%, #0d0a18cc 100%); }
.hero-art canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
[data-scene="off"] .hero-art { background: radial-gradient(30% 42% at 76% 40%, #9a5cff55, transparent 70%); }
.emblem-still { position: absolute; left: 76.5%; top: 40%; width: min(22vw, 330px); height: auto; transform: translate(-50%, -50%); filter: drop-shadow(0 0 40px #a35cff99); pointer-events: none; }
html[data-scene="on"] .emblem-still { visibility: hidden; }
.tile { position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 84px; height: 80px; border: 1px solid #ffffff52; border-radius: 18px; color: #eadcff; font-size: 38px; transform-style: preserve-3d;
  background: linear-gradient(145deg, #ffffff33, #ffffff0d 60%, #b98cff1f); box-shadow: 0 18px 40px #05030c99, 0 0 0 1px #ffffff14 inset, 0 0 32px #a877ff38;
  backdrop-filter: blur(9px); -webkit-backdrop-filter: blur(9px); will-change: transform; pointer-events: auto; transition: border-color .2s, box-shadow .2s, color .2s; }
.tile-small { width: 66px; height: 48px; border-radius: 12px; font-size: 26px; }
.tile[data-anchor="bug"] { width: 92px; height: 92px; border-radius: 20px; font-size: 44px; }
.tile[data-anchor="database"] { width: 80px; height: 80px; }
.tile .icon { filter: drop-shadow(0 0 8px #c9a8ffaa); }
.hero-art.over-emblem { cursor: pointer; }
.tile:hover, .tile:focus-visible { border-color: #ffffffb3; color: #fff; box-shadow: 0 18px 40px #05030c99, 0 0 0 1px #ffffff33 inset, 0 0 46px #b98cff99; }
.tile .icon { stroke-width: 1.5; transition: transform .25s var(--ease); }
.tile:hover .icon { transform: scale(1.1); }
html:not([data-scene="on"]) .tile { display: none; }
.hero .wrap { position: relative; }
.hero-inner { padding-top: clamp(28px, 6.5vh, 96px); pointer-events: none; }
.hero-inner > * { pointer-events: auto; }
.eyebrow { display: flex; align-items: center; gap: 14px; font-size: 13px; font-weight: 600; letter-spacing: .34em; text-transform: uppercase; color: #ddd3ee; }
.eyebrow span { width: 54px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, #8a4dff, #c9a8ff); }
h1 { max-width: 13.5em; margin-top: 16px; font-size: clamp(36px, 4.25vw, 92px); line-height: 1.0; font-weight: 700; letter-spacing: -.035em; text-wrap: balance; }
h1 em { font-style: normal; background: linear-gradient(90deg, #a877ff, #d3b3ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lede { max-width: 37em; margin-top: clamp(18px, 2.4vh, 28px); font-size: clamp(16px, 1.3vw, 24px); text-wrap: pretty; line-height: 1.36; color: #e6e0f0; }

.launch { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1fr); gap: clamp(16px, 1.1vw, 22px); max-width: clamp(790px, 55vw, 1120px); margin-top: clamp(30px, 4.6vh, 56px); margin-left: -4px; }
.launch-card { position: relative; display: grid; grid-template-columns: 96px minmax(0, 1fr) 40px; align-items: center; gap: 14px; min-height: clamp(130px, 9.2vw, 176px); padding: 14px 18px 14px 14px; border-radius: 18px; transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s; }
.launch-scan { cursor: pointer; color: #1b1330; background: linear-gradient(120deg, #f1e7ff 0%, #d9c4ff 45%, #b794ff 100%); box-shadow: 0 0 0 1px #ffffffa6 inset, 0 18px 50px #7a3dff59, 0 0 60px #a877ff33; }
.launch-site { border: 1px solid #ffffff2e; background: linear-gradient(140deg, #ffffff17, #ffffff08); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 18px 50px #05030c80; }
.launch-card:hover { transform: translateY(-2px); }
.launch-scan:hover, .launch-scan.dragging { box-shadow: 0 0 0 1px #fff inset, 0 22px 60px #7a3dff8c, 0 0 80px #a877ff59; }
.launch-scan.dragging { transform: scale(1.015); }
.launch-scan:focus-within { outline: 2px solid #fff; outline-offset: 3px; }
.launch-site:hover, .launch-site:focus-within { border-color: #c9a8ff99; }
.launch-copy { display: grid; gap: 6px; min-width: 0; }
.launch-title { font-size: clamp(21.5px, 1.5vw, 28px); font-weight: 600; letter-spacing: -.02em; line-height: 1.15; }
.launch-text { font-size: clamp(12.8px, .9vw, 16px); line-height: 1.38; color: #3b2f58; }
.launch-site .launch-text { color: #d6cfe4; }
.chip { display: inline-flex; align-items: center; gap: 8px; width: fit-content; max-width: 100%; min-height: 32px; margin-top: 4px; padding: 0 14px; border-radius: 999px; background: #ffffff8c; font-size: 13.5px; font-weight: 600; }
.chip .icon { font-size: 17px; }
.chip-input { width: 100%; max-width: 230px; background: #ffffff14; border: 1px solid #ffffff1f; font-weight: 500; transition: border-color .2s, background-color .2s; }
.chip-input:focus-within { border-color: var(--violet-2); background: #ffffff1f; }
.chip-input input { flex: 1; min-width: 0; height: 32px; padding: 0; border: 0; outline: 0; background: none; font-size: 13.5px; }
.chip-input input::placeholder { color: #e9e2f5; opacity: 1; }
.launch-go { display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 1.5px solid #ffffff8c; border-radius: 50%; background: none; font-size: 19px; transition: transform .2s var(--ease), background-color .2s; }
.launch-scan .launch-go { border: 0; background: #7a3df0; color: #fff; box-shadow: 0 6px 18px #6a2fe080; }
.launch-card:hover .launch-go { transform: translateX(3px); }
button.launch-go:hover { background: #ffffff24; }
button.launch-go:active { transform: scale(.94); }
.launch-scan.busy .launch-go { animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* CSS 3D: layered slab icon */
.stack3d { position: relative; width: 96px; height: 92px; perspective: 600px; }
.stack3d i { position: absolute; left: 14px; top: 12px; width: 76px; height: 76px; border-radius: 16px; transform: rotateX(57deg) rotateZ(45deg) translateZ(var(--z)); transition: transform .35s var(--ease);
  background: linear-gradient(135deg, #5a2fc0, #2b1466); box-shadow: 0 0 0 1px #c9a8ff73 inset, -8px 8px 18px #2b146673; }
.stack3d i:nth-child(1) { --z: -16px; opacity: .78; }
.stack3d i:nth-child(2) { --z: 0px; opacity: .9; }
.stack3d i:nth-child(3) { --z: 16px; display: grid; place-items: center; color: #fff; font-size: 36px; background: linear-gradient(135deg, #6d3be0, #3a1c86); }
.stack3d .icon { transform: rotate(-45deg); stroke-width: 2; }
.launch-card:hover .stack3d i:nth-child(1) { --z: -26px; }
.launch-card:hover .stack3d i:nth-child(3) { --z: 28px; }

/* CSS 3D: wire globe, six meridians and three parallels */
.globe3d { position: relative; width: 78px; height: 78px; margin: 0 auto; transform-style: preserve-3d; animation: globe 16s linear infinite; }
.globe3d i, .globe3d b { position: absolute; inset: 0; border: 1.5px solid #dccbff; border-radius: 50%; box-shadow: 0 0 10px #a877ff73; }
.globe3d i:nth-child(1) { transform: rotateY(0deg); } .globe3d i:nth-child(2) { transform: rotateY(30deg); } .globe3d i:nth-child(3) { transform: rotateY(60deg); }
.globe3d i:nth-child(4) { transform: rotateY(90deg); } .globe3d i:nth-child(5) { transform: rotateY(120deg); } .globe3d i:nth-child(6) { transform: rotateY(150deg); }
.globe3d b:nth-of-type(1) { transform: rotateX(90deg); }
.globe3d b:nth-of-type(2) { transform: rotateX(90deg) translateZ(22px) scale(.85); }
.globe3d b:nth-of-type(3) { transform: rotateX(90deg) translateZ(-22px) scale(.85); }
@keyframes globe { from { transform: rotateX(-16deg) rotateY(0deg); } to { transform: rotateX(-16deg) rotateY(360deg); } }
.launch-site:hover .globe3d { animation-duration: 6s; }
[data-motion="paused"] .globe3d, [data-motion="paused"] .launch-scan.busy .launch-go { animation-play-state: paused; }

.sample-line { max-width: 873px; margin: 14px 0 0; font-size: 14px; color: #cfc3e0; }
.link-button { padding: 6px 2px; border: 0; background: none; color: #d9c2ff; font: inherit; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.link-button:hover { color: #fff; }
.tray { display: grid; gap: 10px; max-width: 873px; margin-top: 12px; }
.tray-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; padding: 12px 16px; border: 1px solid var(--line-2); border-radius: 14px; background: #120e1ccc; backdrop-filter: blur(12px); font-size: 14px; animation: menu-in .2s var(--ease); }
.tray-row > .icon { font-size: 22px; color: var(--violet-2); }
.tray-main { flex: 1 1 260px; min-width: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 12px; }
.tray-main strong { font-weight: 600; overflow-wrap: anywhere; }
.tray-main #file-meta { color: var(--dim); }
.input-feedback { flex-basis: 100%; min-height: 1.4em; color: var(--muted); }
.input-feedback.success { color: #7fe0ad; }
.input-feedback.error { color: #ffa3a3; }
.tray-close { width: 40px; height: 40px; border: 0; border-radius: 10px; background: none; font-size: 22px; line-height: 1; color: var(--muted); }
.tray-close:hover { background: #ffffff14; color: #fff; }
.consent { display: flex; align-items: center; gap: 10px; min-height: 44px; cursor: pointer; }
.consent input { width: 20px; height: 20px; accent-color: var(--violet); }
.tray-note { flex-basis: 100%; font-size: 13px; color: var(--dim); }
#inspect-project[data-state="running"] { border-color: var(--violet); }

.hero > .wrap:last-of-type { margin-top: auto; }
.stats { display: flex; align-items: center; margin-top: clamp(28px, 3.6vw, 52px); padding-bottom: clamp(44px, 9vh, 120px); }
.stats li { flex: 1 1 0; display: flex; align-items: center; justify-content: center; gap: 18px; padding: 6px 16px; font-size: clamp(14px, .98vw, 17px); line-height: 1.3; color: #e6e0f0; }
.stats li + li { border-left: 1px solid var(--line); }
.stats .icon { font-size: 38px; color: var(--violet-2); stroke-width: 1.4; }
.stats strong { display: block; font-size: clamp(22px, 1.55vw, 30px); font-weight: 700; letter-spacing: -.02em; color: #fff; }
.stats-claim { gap: 10px !important; flex-direction: row !important; flex-grow: 1.4 !important; }
.stats-claim span { font-size: 16px; font-weight: 500; line-height: 1.35; text-align: center; color: #efe6ff; }
.laurel { width: 24px; height: 52px; flex: none; color: #b98cff; filter: drop-shadow(0 0 6px #a877ff80); }
.laurel-r { transform: scaleX(-1); }
.scene-toggle { position: absolute; right: var(--pad); bottom: 46px; min-height: 32px; padding: 0 12px; border: 1px solid var(--line); border-radius: 999px; background: #0a0811b3; font-size: 12.5px; color: var(--muted); opacity: .0; transition: opacity .2s; }
.hero:hover .scene-toggle, .scene-toggle:focus-visible, .scene-toggle[aria-pressed="true"] { opacity: 1; }
html:not([data-scene="on"]) .scene-toggle { display: none; }

/* ---------- coverage ---------- */
.coverage { position: relative; z-index: 2; margin: -34px clamp(0px, 1.8vw, 30px) 0; padding: 44px 0 64px; border-radius: 48px 48px 0 0; background: linear-gradient(180deg, #f7f4fc, #efeaf8); color: var(--paper-ink); color-scheme: light; box-shadow: 0 -30px 80px #8a5cff33; }
.coverage-grid { display: grid; grid-template-columns: minmax(280px, 380px) minmax(0, 1fr); gap: 24px; align-items: center; }
.kicker { font-size: 13px; font-weight: 600; letter-spacing: .32em; text-transform: uppercase; color: #7b45e0; }
.coverage h2 { margin-top: 22px; font-size: clamp(28px, 2.7vw, 38px); line-height: 1.04; font-weight: 600; letter-spacing: -.04em; }
.coverage-lead > p:last-child { max-width: 24em; margin-top: 22px; font-size: 16px; line-height: 1.4; color: #2c2638; }
.coverage-cards { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 14px; }
.span-4 { grid-column: span 4; } .span-3 { grid-column: span 3; }
.cov { display: flex; align-items: flex-start; gap: 14px; padding: 18px 16px; border: 1px solid #e3dcef; border-radius: 14px; background: #fffffff2; box-shadow: 0 1px 0 #fff inset, 0 10px 30px #6f3fd612; transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s; scroll-margin-top: 120px; }
.cov:hover { transform: translateY(-2px); border-color: #c9b2f5; box-shadow: 0 1px 0 #fff inset, 0 16px 40px #6f3fd62e; }
.cov-icon { display: grid; place-items: center; flex: none; width: 54px; height: 54px; border-radius: 12px; background: linear-gradient(145deg, #f3ebff, #e4d5ff); color: var(--violet-deep); font-size: 30px; transition: transform .25s var(--ease); }
.cov:hover .cov-icon { transform: scale(1.06) rotate(-3deg); }
.cov h3 { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; font-size: 16px; font-weight: 700; letter-spacing: -.01em; line-height: 1.2; }
.cov p { margin-top: 6px; font-size: 13.5px; line-height: 1.35; color: var(--paper-muted); }
.tag { padding: 2px 8px; border-radius: 999px; background: #ece8f3; color: #5d566b; font-size: 11px; font-weight: 600; letter-spacing: .02em; }
.tag-live { background: #dff5e8; color: #17693f; }
.cov.flash { animation: flash 1.6s var(--ease); }
@keyframes flash { 0%, 60% { border-color: #8a4dff; box-shadow: 0 0 0 4px #8a4dff40, 0 16px 40px #6f3fd640; } }

/* ---------- how it works, footer ---------- */
.how { padding: 84px 0 92px; background: var(--bg); }
.how .kicker { color: var(--violet-2); }
.how h2 { max-width: 16em; margin-top: 18px; font-size: clamp(28px, 2.7vw, 38px); line-height: 1.08; font-weight: 600; letter-spacing: -.035em; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 40px; }
.steps li { padding: 24px; border: 1px solid var(--line-2); border-radius: 16px; background: linear-gradient(160deg, #17121f, #100d18); transition: transform .25s var(--ease), border-color .25s; }
.steps li:hover { transform: translateY(-2px); border-color: #6b4aa8; }
.steps span { font-size: 14px; font-weight: 700; letter-spacing: .1em; color: var(--violet); }
.steps h3 { margin-top: 14px; font-size: 20px; font-weight: 600; letter-spacing: -.02em; }
.steps p { margin-top: 8px; font-size: 15px; color: var(--muted); }
.footer { padding: 26px 0 34px; border-top: 1px solid #ffffff12; font-size: 14px; color: var(--dim); }
.footer .brand-mark { width: auto; height: 32px; } .footer .brand-name { font-size: 19px; color: var(--ink); }
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 80; max-width: min(560px, calc(100vw - 32px)); padding: 13px 18px; border: 1px solid #5a4380; border-radius: 12px; background: #1b1528f2; box-shadow: 0 20px 50px #000000a6; font-size: 14.5px; transform: translateX(-50%); animation: toast-in .25s var(--ease); }
@keyframes toast-in { from { opacity: 0; transform: translate(-50%, 10px); } }

/* ---------- report ---------- */
.project-output { width: calc(100% - 2 * var(--pad)); max-width: var(--wrap); margin: 8px auto 72px; padding: 28px; border: 1px solid var(--line-2); border-radius: 20px; background: linear-gradient(160deg, #16121f, #100d18); font-size: 14px; scroll-margin-top: 92px; position: relative; z-index: 3; }
.results-header { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 14px; padding-bottom: 18px; border-bottom: 1px solid var(--line-2); }
.results-header h2 { font-size: 24px; font-weight: 600; letter-spacing: -.02em; }
.results-header p { margin-top: 4px; color: var(--muted); }
.results-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.results-badge { padding: 7px 10px; border: 1px solid #57336b; border-radius: 8px; background: #30203c; color: #e0aeff; font-size: 11.5px; font-weight: 700; letter-spacing: .06em; }
.legacy-note { margin-top: 16px; padding: 12px 14px; border: 1px solid #6b5326; border-radius: 10px; background: #2b2314; color: #f4d083; }
.verdict { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; margin-top: 16px; padding: 16px 18px; border: 1px solid var(--line-2); border-left: 4px solid #777299; border-radius: 12px; background: #120f1a; }
.verdict strong { font-size: 18px; font-weight: 600; } .verdict span { color: var(--muted); }
.verdict.high { border-left-color: #f073c6; } .verdict.medium { border-left-color: #f4d083; } .verdict.low { border-left-color: #9582ee; }
.results-summary { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; margin-top: 14px; }
.result-metric { min-width: 0; padding: 14px; border: 1px solid var(--line-2); border-radius: 12px; background: #0f0c17; }
.result-metric small { display: block; font-size: 12.5px; color: var(--dim); }
.result-metric strong { display: block; margin-top: 4px; font-size: 16px; font-weight: 600; overflow-wrap: anywhere; }
.fix-plan, .results-findings, .results-coverage { margin-top: 24px; }
.project-output h3 { font-size: 16px; font-weight: 600; }
.section-note, .finding-status, .list-note, .empty-note, .limit-note, .engine-note { font-size: 13px; color: var(--dim); }
.section-note { margin: 2px 0 12px; } .limit-note { color: #f0c66f; margin-top: 10px; } .engine-note { margin-top: 14px; }
.fix-list { display: grid; gap: 8px; counter-reset: fix; }
.fix-item { counter-increment: fix; padding: 14px 16px; border: 1px solid var(--line-2); border-radius: 12px; background: #0f0c17; }
.fix-head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.fix-head strong { font-size: 15px; font-weight: 600; } .fix-head strong::before { content: counter(fix) ". "; color: var(--dim); }
.fix-count { margin-left: auto; color: var(--violet-2); font-variant-numeric: tabular-nums; }
.fix-item p { margin-top: 8px; color: #d4cbe0; } .fix-item small { display: block; margin-top: 6px; font-size: 13px; color: var(--dim); overflow-wrap: anywhere; }
.finding-severity { flex: none; min-width: 70px; padding: 5px 8px; border-radius: 6px; background: #34271d; color: #ffc179; font-size: 11px; font-weight: 700; letter-spacing: .04em; text-align: center; }
.finding-severity.high, .finding-severity.critical { background: #401d35; color: #ff8cd7; }
.finding-severity.medium { background: #3a3020; color: #f4d083; }
.finding-severity.low { background: #272341; color: #b9adff; } .finding-severity.informational { background: #26242f; color: #b3aec2; }
.finding-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin: 12px 0 8px; }
.chip-group { display: flex; flex-wrap: wrap; gap: 6px; }
.filter-chip { min-height: 36px; padding: 0 13px; border: 1px solid #3a3145; border-radius: 999px; background: #15121c; color: #d4cbe0; font-size: 13px; font-weight: 600; text-transform: capitalize; transition: border-color .2s, background-color .2s; }
.filter-chip:hover { border-color: var(--violet); } .filter-chip[aria-pressed="true"] { background: #3a2350; border-color: #bb75ff; color: #fff; }
.finding-search { flex: 1 1 220px; min-width: 0; min-height: 38px; padding: 0 12px; border: 1px solid #3a3145; border-radius: 9px; background: #0f0c17; font-size: 14px; }
.finding-search::placeholder { color: var(--dim); }
.finding-list { border-top: 1px solid var(--line-2); }
.finding-row { display: flex; align-items: flex-start; gap: 14px; padding: 16px 2px; border-bottom: 1px solid var(--line-2); }
.finding-copy { min-width: 0; } .finding-copy strong { display: block; font-size: 15px; font-weight: 600; }
.finding-copy small { display: block; margin-top: 3px; font-size: 13px; color: var(--dim); overflow-wrap: anywhere; }
.finding-copy p { margin-top: 7px; color: #c3b9cf; overflow-wrap: anywhere; } .finding-copy .finding-remediation { color: #d9a0ff; }
.finding-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 9px; }
.finding-tags span { padding: 3px 7px; border: 1px solid var(--line-2); border-radius: 6px; background: #1a1622; font-size: 12px; color: var(--muted); overflow-wrap: anywhere; }
.finding-tags .finding-id { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--dim); }
.results-findings > .secondary-button { margin-top: 14px; }
.components-panel { margin-top: 24px; padding: 0 16px; border: 1px solid var(--line-2); border-radius: 12px; background: #0f0c17; }
.components-panel summary { padding: 15px 0; font-size: 16px; font-weight: 600; cursor: pointer; } .components-panel[open] { padding-bottom: 16px; }
.table-wrap { overflow-x: auto; }
.components-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.components-table th { padding: 8px 12px 8px 0; border-bottom: 1px solid var(--line-2); text-align: left; font-weight: 600; color: var(--dim); white-space: nowrap; }
.components-table td { padding: 8px 12px 8px 0; border-bottom: 1px solid #231f2b; color: #d4cbe0; overflow-wrap: anywhere; } .components-table td.unpinned { color: #f4d083; }
.results-detail-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 24px; }
.result-block { min-width: 0; padding: 14px; border: 1px solid var(--line-2); border-radius: 12px; background: #0f0c17; }
.result-block h3 { margin-bottom: 8px; font-size: 14.5px; }
.compact-list { padding-left: 16px; list-style: disc; font-size: 13.5px; color: var(--muted); overflow-wrap: anywhere; }
.coverage-list { display: grid; gap: 8px; margin-top: 12px; }
.coverage-item { display: flex; align-items: flex-start; gap: 10px; color: #c3b9cf; } .limitation-item { padding-left: 2px; color: var(--muted); }
.coverage-status { flex: none; min-width: 92px; padding: 4px 8px; border-radius: 6px; background: #2d1d39; color: #e5b7ff; font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; text-align: center; }
.coverage-status.partial { background: #382d1c; color: #f1ce86; } .coverage-status.skipped, .coverage-status.not_started { background: #26242f; color: #b3aec2; }
.assessment-error { color: #ffa3a3; font-size: 15px; }

/* ---------- responsive ---------- */
@media (max-width: 1240px) {
  .nav-plain, .engine-state { display: none; }
  .coverage-grid { grid-template-columns: 1fr; gap: 30px; }
  .stats li { flex-direction: column; text-align: center; gap: 8px; }
}
@media (max-width: 900px) {
  .nav-links { display: none; }
  .hero-art { inset: 0 0 auto 0; height: 380px; }
  .hero-inner { padding-top: 300px; }
  .tile { width: 72px; height: 72px; border-radius: 17px; font-size: 34px; }
  .tile[data-anchor="terminal"], .tile[data-anchor="cube"] { display: none; }
  .launch { grid-template-columns: 1fr; margin-left: 0; }
  .stats { flex-wrap: wrap; row-gap: 22px; }
  .stats li { flex: 1 1 33%; } .stats li:nth-child(4) { border-left: 0; }
  .span-4, .span-3 { grid-column: span 6; }
  .steps { grid-template-columns: 1fr; }
  .results-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); } .results-detail-grid { grid-template-columns: 1fr; }
  .scene-toggle { top: 322px; bottom: auto; right: 16px; opacity: 1; }
  .hero-art::after { background: linear-gradient(180deg, #0a081180 0%, #0a081100 22%, #0a081100 70%, #0a0811 100%); }
}
@media (max-width: 560px) {
  .brand-name { font-size: 21px; } .brand-mark { width: auto; height: 36px; }
  .nav-row { height: 64px; } .hero { margin-top: -65px; padding-top: 65px; }
  .button-primary { padding: 0 16px; }
  .hero-art { height: 320px; } .hero-inner { padding-top: 250px; }
  .scene-toggle { top: 262px; }
  .eyebrow { font-size: 11.5px; letter-spacing: .24em; } .eyebrow span { width: 34px; }
  .launch-card { grid-template-columns: 76px minmax(0, 1fr) 40px; padding: 16px 14px 16px 10px; }
  .stack3d { width: 76px; transform: scale(.78); transform-origin: left center; } .globe3d { width: 62px; height: 62px; }
  .launch-title { font-size: 20px; }
  .stats li { flex: 1 1 50%; } .stats li:nth-child(odd) { border-left: 0; } .stats li:nth-child(4) { border-left: 1px solid var(--line); } .stats-claim { flex-basis: 100% !important; }
  .span-4, .span-3 { grid-column: span 12; }
  .project-output { padding: 18px; } .finding-row { flex-direction: column; gap: 8px; } .fix-count { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .globe3d { animation: none; transform: rotateX(-16deg) rotateY(20deg); }
}
@media print {
  .nav, .hero, .coverage, .how, .footer, .toast, .results-actions, .finding-controls { display: none !important; }
  body, .project-output { background: #fff !important; color: #111 !important; }
  .project-output * { color: #111 !important; background: transparent !important; box-shadow: none !important; }
}
.age-gate { margin-top: 12px; color: var(--ink); font-size: 14px; }
.legal { max-width: 760px; padding-block: 48px 96px; }
.legal h1 { font-size: clamp(2rem, 1.4rem + 2vw, 2.75rem); line-height: 1.15; margin: 16px 0 8px; }
.legal h2 { font-size: 1.25rem; margin: 40px 0 8px; color: var(--violet-2); }
.legal p, .legal li { color: var(--muted); }
.legal strong { color: var(--ink); }
.legal a { color: var(--violet-2); }
.legal-meta { color: var(--dim); font-size: 14px; }
.legal ul { list-style: disc; padding-left: 22px; } .legal li { margin-bottom: 6px; }
