:root {
  color-scheme: light;
  --canvas: #fbf8ef;
  --paper: #ffffff;
  --ink: #111528;
  --ink-soft: #454a61;
  --blue: #2a52ff;
  --blue-dark: #1735bd;
  --sky: #bcecff;
  --lime: #d8ff62;
  --pink: #ff6fae;
  --orange: #ff8a48;
  --yellow: #ffd83d;
  --critical: #d92e67;
  --high: #e75b20;
  --medium: #9c6800;
  --low: #2357cc;
  --info: #5a6078;
  --line: #171a2b;
  --line-soft: #d8d9e1;
  --sans: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "DM Mono", "SFMono-Regular", Consolas, monospace;
  --shadow-sm: 4px 4px 0 var(--ink);
  --shadow-lg: 10px 10px 0 var(--ink);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

button, textarea, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
a { color: inherit; }

.ambient {
  position: absolute;
  inset: 74px 0 auto;
  height: 520px;
  z-index: -1;
  pointer-events: none;
  background: var(--blue);
  clip-path: polygon(0 0, 100% 0, 100% 72%, 82% 82%, 64% 75%, 42% 92%, 18% 78%, 0 89%);
}

.topbar {
  min-height: 74px;
  padding: 10px clamp(20px, 4vw, 64px);
  border-bottom: 2px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--canvas);
  position: relative;
  z-index: 20;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  letter-spacing: -.02em;
}

.brand-mark { display: grid; place-items: center; width: 40px; height: 40px; }
.brand-mark svg { width: 40px; height: 40px; }
.brand-tile { fill: var(--blue); stroke: var(--ink); stroke-width: 2; }
.brand-sonar-arc { fill: none; stroke: #fffdf7; stroke-width: 2.35; stroke-linecap: round; }
.brand-name { display: flex; align-items: baseline; gap: 8px; }
.brand strong { font-size: 1.02rem; font-weight: 800; }
.wordmark { display: inline-flex; align-items: center; letter-spacing: -.035em; }
.wordmark-o-letter { position: relative; display: inline-block; line-height: 1; }
.wordmark-o-letter::before,
.wordmark-o-letter::after { content: ""; position: absolute; left: 50%; top: 52%; border: 1px solid var(--blue); border-radius: 50%; transform: translate(-50%, -50%); box-sizing: border-box; }
.wordmark-o-letter::before { width: .38em; height: .38em; }
.wordmark-o-letter::after { width: .17em; height: .17em; border-color: var(--pink); }
.brand small { color: var(--ink-soft); font-family: var(--mono); font-size: .64rem; text-transform: uppercase; letter-spacing: .08em; }
.topbar-actions { display: flex; align-items: center; gap: 15px; }
.site-nav { display: flex; align-items: center; gap: 21px; }
.site-nav a {
  color: var(--ink-soft);
  font-size: .76rem;
  font-weight: 750;
  text-decoration: none;
}
.site-nav a:hover { color: var(--blue); }
.local-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  background: var(--lime);
  font-size: .72rem;
  font-weight: 800;
}
.local-badge span { width: 8px; height: 8px; border-radius: 50%; background: var(--blue); }
.icon-link {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1.5px solid var(--ink);
  border-radius: 50%;
  background: var(--paper);
  transition: transform .16s ease, background .16s ease;
}
.icon-link:hover { transform: translate(-2px, -2px); background: var(--pink); box-shadow: 2px 2px 0 var(--ink); }
.icon-link svg { width: 19px; fill: currentColor; }

main { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }

.intro {
  min-height: 500px;
  padding: 62px 0 74px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 250px;
  align-items: center;
  gap: clamp(34px, 7vw, 100px);
  color: #fff;
}
.intro-copy { max-width: 840px; }
.eyebrow {
  width: fit-content;
  margin: 0 0 18px;
  padding: 7px 11px;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  background: var(--lime);
  color: var(--ink);
  font-family: var(--mono);
  font-size: .72rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .08em;
  box-shadow: 3px 3px 0 var(--ink);
}
.eyebrow span { color: var(--blue); margin-right: 4px; }
.product-audience { margin: -4px 0 16px; color: #dce3ff; font-size: .82rem; font-weight: 700; letter-spacing: .02em; }
h1 {
  margin: 0;
  max-width: 850px;
  font-size: clamp(3rem, 6vw, 5.7rem);
  line-height: .97;
  letter-spacing: -.066em;
  font-weight: 800;
}
h1 span { color: var(--lime); }
.lede { max-width: 740px; margin: 22px 0 0; color: #edf1ff; font-size: clamp(1rem, 1.5vw, 1.13rem); line-height: 1.65; }
code { font-family: var(--mono); font-size: .9em; font-weight: 500; }
.lede code { padding: 2px 5px; border: 1px solid rgba(255,255,255,.55); border-radius: 4px; color: var(--lime); }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 18px; margin-top: 29px; }
.hero-primary,
.hero-secondary {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 17px;
  border: 1.5px solid var(--ink);
  border-radius: 10px;
  font-size: .82rem;
  font-weight: 800;
  text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.hero-primary { gap: 16px; background: var(--lime); color: var(--ink); box-shadow: 4px 4px 0 var(--ink); }
.hero-primary:hover { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--ink); }
.hero-secondary { border-color: rgba(255,255,255,.72); color: #fff; background: rgba(17,21,40,.14); }
.hero-secondary:hover { background: #fff; color: var(--blue-dark); }

.trust-card {
  justify-self: end;
  width: 250px;
  padding: 19px 20px 18px;
  border: 2px solid var(--ink);
  border-radius: 18px 18px 18px 4px;
  background: var(--pink);
  color: var(--ink);
  box-shadow: 8px 8px 0 var(--ink);
  transform: rotate(2deg);
}
.trust-card-label { display: block; margin-bottom: 15px; font-family: var(--mono); font-size: .61rem; text-transform: uppercase; letter-spacing: .08em; }
.trust-card svg { width: 36px; height: 36px; margin-bottom: 10px; fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.trust-card strong { display: block; font-size: 1.28rem; line-height: 1.08; letter-spacing: -.035em; }
.trust-card p { margin: 9px 0 0; font-size: .75rem; font-weight: 650; line-height: 1.5; }

.deployment-section { padding: clamp(88px, 10vw, 132px) 0 0; }
.section-heading { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(260px, .75fr); column-gap: clamp(40px, 8vw, 110px); align-items: end; }
.section-label {
  grid-column: 1 / -1;
  width: fit-content;
  margin: 0 0 15px;
  color: var(--blue-dark);
  font-family: var(--mono);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.section-heading h2,
.benefits-heading h2,
.demo-intro h2 {
  margin: 0;
  font-size: clamp(2.3rem, 4.7vw, 4.4rem);
  line-height: 1;
  letter-spacing: -.058em;
}
.section-heading > p:last-child { margin: 0 0 4px; color: var(--ink-soft); font-size: 1rem; line-height: 1.72; }

.deployment-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 19px; margin-top: 48px; }
.deployment-card {
  min-height: 455px;
  padding: 25px 24px 24px;
  border: 2px solid var(--ink);
  border-radius: 18px;
  box-shadow: 7px 7px 0 var(--ink);
  display: flex;
  flex-direction: column;
}
.runtime-card { background: var(--sky); }
.scan-card { background: var(--yellow); }
.pipeline-card { background: var(--pink); }
.deployment-card-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.mode-number { font-family: var(--mono); font-size: .72rem; font-weight: 500; }
.mode-timing { padding: 5px 8px; border: 1.5px solid var(--ink); border-radius: 999px; background: rgba(255,255,255,.72); font-family: var(--mono); font-size: .59rem; font-weight: 500; letter-spacing: .05em; text-transform: uppercase; }
.mode-icon { width: 57px; height: 57px; margin: 46px 0 27px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.deployment-card h3 { margin: 0; font-size: 1.42rem; line-height: 1.12; letter-spacing: -.035em; }
.deployment-card > p { margin: 12px 0 21px; color: #34384b; font-size: .86rem; line-height: 1.65; }
.deployment-card ul { list-style: none; padding: 17px 0 0; margin: auto 0 0; border-top: 1.5px solid rgba(17,21,40,.35); }
.deployment-card li { position: relative; padding-left: 18px; margin-top: 8px; font-size: .72rem; font-weight: 700; }
.deployment-card li::before { content: "↳"; position: absolute; left: 0; color: var(--blue-dark); }

.coding-tools {
  margin-top: 58px;
  padding: clamp(30px, 4vw, 44px);
  display: grid;
  grid-template-columns: minmax(250px, .65fr) minmax(0, 1.35fr);
  gap: clamp(30px, 6vw, 72px);
  border: 2px solid var(--ink);
  border-radius: 18px;
  background: var(--paper);
  box-shadow: 8px 8px 0 var(--pink);
}
.coding-tools-copy .section-label { margin-bottom: 12px; }
.coding-tools-copy h3 { margin: 0; font-size: clamp(1.8rem, 3.3vw, 3rem); line-height: 1.04; letter-spacing: -.048em; }
.coding-tools-copy > p:last-child { max-width: 480px; margin: 17px 0 0; color: var(--ink-soft); font-size: .85rem; line-height: 1.7; }
.tool-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; align-content: start; }
.tool-item { min-height: 79px; padding: 14px 15px; border: 1.5px solid var(--ink); border-radius: 10px; background: var(--canvas); display: flex; flex-direction: column; justify-content: center; }
.tool-item:nth-child(1) { background: var(--sky); }
.tool-item:nth-child(2) { background: var(--lime); }
.tool-item:nth-child(3) { background: var(--yellow); }
.tool-item:nth-child(4) { background: #ffd9e9; }
.tool-item-wide { grid-column: 1 / -1; min-height: 72px; }
.tool-name { font-size: .9rem; font-weight: 800; letter-spacing: -.02em; }
.tool-path { margin-top: 4px; color: var(--ink-soft); font-family: var(--mono); font-size: .61rem; }
.integration-note { grid-column: 2; margin: 0; padding-top: 17px; border-top: 1.5px solid var(--line-soft); color: var(--ink-soft); font-size: .69rem; line-height: 1.65; }
.integration-note strong { color: var(--ink); }

.control-plane {
  margin-top: 34px;
  padding: clamp(28px, 4vw, 44px);
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(460px, 1.12fr);
  align-items: center;
  gap: clamp(35px, 7vw, 80px);
  border: 2px solid var(--ink);
  border-radius: 18px;
  background: var(--ink);
  color: #fff;
  box-shadow: 8px 8px 0 var(--blue);
}
.control-kicker { color: var(--lime); font-family: var(--mono); font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; }
.control-copy h3 { margin: 10px 0 12px; font-size: clamp(1.8rem, 3vw, 2.8rem); line-height: 1.06; letter-spacing: -.046em; }
.control-copy p { max-width: 520px; margin: 0; color: #cbd0e5; font-size: .86rem; line-height: 1.7; }
.signal-flow { display: grid; grid-template-columns: minmax(130px, 1fr) 90px minmax(170px, 1.1fr); align-items: center; gap: 14px; }
.source-stack { display: grid; gap: 7px; }
.source-stack span { padding: 9px 11px; border: 1px solid #62687e; border-radius: 7px; color: #dfe3f2; background: #252a42; font-family: var(--mono); font-size: .62rem; }
.signal-flow > svg { width: 90px; height: 84px; fill: none; stroke: var(--pink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.console-box { min-height: 126px; padding: 17px; border: 1.5px solid var(--ink); border-radius: 12px; background: var(--lime); color: var(--ink); box-shadow: 5px 5px 0 var(--pink); display: flex; flex-direction: column; justify-content: center; }
.console-live { margin-bottom: 12px; font-family: var(--mono); font-size: .59rem; text-transform: uppercase; }
.console-live i { display: inline-block; width: 7px; height: 7px; margin-right: 5px; border: 1px solid var(--ink); border-radius: 50%; background: var(--blue); }
.console-box strong { font-size: 1rem; }
.console-box small { margin-top: 3px; color: var(--ink-soft); font-family: var(--mono); font-size: .58rem; }

.product-visuals { padding: clamp(100px, 12vw, 155px) 0 0; }
.visuals-heading { max-width: 800px; margin-bottom: 52px; }
.visuals-heading h2 { margin: 0; font-size: clamp(2.3rem, 4.7vw, 4.4rem); line-height: 1; letter-spacing: -.058em; }
.visuals-heading > p:last-child { max-width: 670px; margin: 20px 0 0; color: var(--ink-soft); font-size: .98rem; line-height: 1.72; }
.product-shot { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(245px, .5fr); align-items: center; gap: clamp(30px, 6vw, 80px); margin: 0 0 65px; }
.product-shot.pipeline-shot { grid-template-columns: minmax(245px, .5fr) minmax(0, 1.5fr); }
.pipeline-shot .product-shot-frame { order: 2; }
.pipeline-shot figcaption { order: 1; }
.product-shot-frame { overflow: hidden; border: 2px solid var(--ink); border-radius: 17px; background: var(--paper); box-shadow: 9px 9px 0 var(--ink); }
.runtime-shot .product-shot-frame { transform: rotate(-.45deg); }
.pipeline-shot .product-shot-frame { box-shadow: 9px 9px 0 var(--pink); transform: rotate(.45deg); }
.product-shot img { display: block; width: 100%; height: auto; }
.product-shot figcaption { margin: 0; }
.product-shot figcaption > span { display: inline-block; margin-bottom: 13px; padding: 5px 8px; border: 1.5px solid var(--ink); border-radius: 999px; background: var(--lime); font-family: var(--mono); font-size: .61rem; letter-spacing: .06em; text-transform: uppercase; }
.product-shot figcaption strong { display: block; font-size: clamp(1.4rem, 2.6vw, 2.15rem); line-height: 1.1; letter-spacing: -.04em; }
.product-shot figcaption p { margin: 13px 0 0; color: var(--ink-soft); font-size: .82rem; line-height: 1.7; }

.benefits-section {
  margin: clamp(95px, 11vw, 145px) calc(50% - 50vw) 0;
  padding: clamp(80px, 9vw, 112px) max(20px, calc((100vw - 1180px) / 2));
  display: grid;
  grid-template-columns: minmax(280px, .72fr) minmax(0, 1.28fr);
  gap: clamp(50px, 8vw, 110px);
  background: var(--blue);
  color: #fff;
  border-block: 2px solid var(--ink);
}
.benefits-heading .section-label { color: var(--lime); }
.benefits-heading h2 { max-width: 510px; }
.benefits-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border: 1.5px solid #fff; }
.benefits-grid article { min-height: 220px; padding: 25px; border: .75px solid #fff; }
.benefits-grid article > span { color: var(--lime); font-family: var(--mono); font-size: .65rem; }
.benefits-grid h3 { margin: 25px 0 9px; font-size: 1.02rem; line-height: 1.25; letter-spacing: -.02em; }
.benefits-grid p { margin: 0; color: #dfe4ff; font-size: .77rem; line-height: 1.65; }

.demo-intro { padding: clamp(90px, 11vw, 145px) 0 40px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, .75fr); align-items: end; gap: clamp(40px, 8vw, 110px); }
.demo-intro > p { margin: 0 0 4px; color: var(--ink-soft); font-size: .95rem; line-height: 1.72; }
.demo-intro code { color: var(--blue-dark); }

.scanner-shell {
  position: relative;
  margin-top: 0;
  border: 2px solid var(--line);
  background: var(--paper);
  box-shadow: var(--shadow-lg);
  border-radius: 20px;
  overflow: hidden;
}
.scanner-toolbar {
  min-height: 70px;
  padding: 11px 20px;
  border-bottom: 2px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  background: var(--lime);
}
.type-toggle { display: flex; align-items: center; gap: 7px; }
.type-button {
  border: 1.5px solid var(--ink);
  background: transparent;
  padding: 9px 13px;
  border-radius: 999px;
  cursor: pointer;
  font-size: .78rem;
  font-weight: 750;
  transition: transform .16s ease, background .16s ease;
}
.type-button:hover { transform: translateY(-1px); background: rgba(255,255,255,.55); }
.type-button.active { color: #fff; background: var(--blue); box-shadow: 2px 2px 0 var(--ink); }
.rule-status { color: var(--ink); font-family: var(--mono); font-size: .69rem; display: flex; align-items: center; gap: 8px; }
.pulse { width: 9px; height: 9px; background: var(--orange); border: 1px solid var(--ink); border-radius: 50%; }
.rule-status.ready .pulse { background: var(--blue); }
.rule-status.error .pulse { background: var(--critical); }

.scanner-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.input-panel, .results-panel { padding: clamp(21px, 3vw, 30px); min-width: 0; }
.results-panel { border-left: 2px solid var(--line); background: #eef9ff; min-height: 670px; }
.panel-heading { display: flex; justify-content: space-between; align-items: center; min-height: 35px; margin-bottom: 22px; }
.panel-heading > div { display: flex; align-items: center; gap: 10px; }
.panel-heading h2 { font-size: 1rem; margin: 0; letter-spacing: -.02em; }
.step-number {
  width: 26px;
  min-width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border: 1.5px solid var(--ink);
  border-radius: 50%;
  background: var(--yellow);
  font-family: var(--mono);
  font-size: .65rem;
  font-weight: 500;
}
.text-button, .text-link-button { border: 0; background: transparent; color: var(--blue-dark); cursor: pointer; font-size: .76rem; font-weight: 800; padding: 7px 0; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.text-button:hover, .text-link-button:hover { color: var(--critical); }

.dropzone {
  height: 132px;
  border: 2px dashed var(--blue);
  background: #f5f8ff;
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--ink-soft);
  transition: transform .17s ease, background .17s ease, box-shadow .17s ease;
}
.dropzone:hover, .dropzone.dragover { transform: translate(-3px, -3px); background: var(--sky); box-shadow: 4px 4px 0 var(--blue); }
.dropzone input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.dropzone strong { color: var(--blue-dark); font-weight: 800; }
.dropzone > span:not(.upload-icon) { font-size: .85rem; }
.dropzone small { color: #686d80; font-size: .69rem; margin-top: 4px; }
.upload-icon { width: 35px; height: 35px; display: grid; place-items: center; margin-bottom: 7px; border: 1.5px solid var(--ink); border-radius: 50%; background: var(--pink); color: var(--ink); }
.upload-icon svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.or-divider { display: flex; align-items: center; gap: 12px; color: #6a6e7f; font-family: var(--mono); font-size: .64rem; text-transform: uppercase; letter-spacing: .08em; margin: 19px 0; }
.or-divider::before, .or-divider::after { content: ""; height: 1.5px; flex: 1; background: var(--line-soft); }

.editor-wrap { border: 1.5px solid var(--ink); border-radius: 12px; overflow: hidden; background: #fff; transition: box-shadow .16s ease, transform .16s ease; }
.editor-wrap:focus-within { transform: translate(-2px, -2px); box-shadow: 4px 4px 0 var(--blue); }
.editor-bar { height: 39px; padding: 0 12px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1.5px solid var(--ink); background: var(--yellow); color: var(--ink-soft); font-family: var(--mono); font-size: .64rem; }
.editor-bar span:first-child { color: var(--ink); font-weight: 500; }
textarea { width: 100%; height: 224px; display: block; resize: vertical; border: 0; outline: 0; background: #fff; color: var(--ink); padding: 15px; font-family: var(--mono); font-size: .76rem; line-height: 1.65; tab-size: 2; }
textarea::placeholder { color: #9498a8; }

.primary-button {
  width: 100%;
  min-height: 51px;
  margin-top: 17px;
  border: 1.5px solid var(--ink);
  border-radius: 10px;
  background: var(--blue);
  color: #fff;
  font-weight: 800;
  font-size: .88rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 9px;
  cursor: pointer;
  box-shadow: 4px 4px 0 var(--ink);
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.primary-button:hover:not(:disabled) { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--ink); background: var(--blue-dark); }
.primary-button:active:not(:disabled) { transform: translate(4px, 4px); box-shadow: none; }
.primary-button:disabled { opacity: .38; cursor: not-allowed; box-shadow: none; }
.primary-button svg { width: 16px; fill: none; stroke: currentColor; stroke-width: 2.1; stroke-linecap: round; stroke-linejoin: round; }
.privacy-note { margin: 12px 0 0; color: #666b7d; font-size: .68rem; text-align: center; display: flex; justify-content: center; align-items: center; gap: 5px; }
.privacy-note svg { width: 13px; fill: none; stroke: currentColor; stroke-width: 1.8; }

.results-empty { height: 545px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.results-empty h3 { font-size: 1.08rem; margin: 22px 0 8px; }
.results-empty > p { color: var(--ink-soft); max-width: 370px; font-size: .8rem; line-height: 1.65; margin: 0; }
.results-empty ul { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 9px; padding: 0; margin: 22px 0 0; color: var(--ink-soft); font-size: .66rem; }
.results-empty li { display: flex; align-items: center; gap: 6px; padding: 5px 8px; border: 1px solid var(--ink); border-radius: 999px; background: #fff; }
.mini-dot { width: 7px; height: 7px; border-radius: 50%; border: 1px solid var(--ink); }
.mini-dot.critical { background: var(--pink); }
.mini-dot.high { background: var(--orange); }
.mini-dot.medium { background: var(--yellow); }
.radar { width: 120px; height: 120px; position: relative; display: grid; place-items: center; border-radius: 50%; background: var(--sky); box-shadow: 6px 6px 0 var(--ink); }
.radar span { position: absolute; border: 1.5px solid var(--ink); border-radius: 50%; }
.radar span:nth-child(1) { inset: 0; }
.radar span:nth-child(2) { inset: 20px; }
.radar span:nth-child(3) { inset: 40px; }
.radar::before, .radar::after { content: ""; position: absolute; background: var(--ink); }
.radar::before { width: 1.5px; height: 100%; }
.radar::after { width: 100%; height: 1.5px; }
.radar i { width: 13px; height: 13px; background: var(--pink); border: 1.5px solid var(--ink); border-radius: 50%; z-index: 1; }

.results-loading { height: 545px; display: flex; flex-direction: column; align-items: center; justify-content: center; color: var(--ink-soft); }
.results-loading p { margin: 24px 0 4px; color: var(--ink); font-size: .87rem; font-weight: 700; }
.results-loading span { font-family: var(--mono); color: var(--ink-soft); font-size: .68rem; }
.scan-line { width: 190px; height: 9px; border: 1.5px solid var(--ink); border-radius: 99px; background: #fff; position: relative; overflow: hidden; }
.scan-line::after { content: ""; position: absolute; inset: 0; width: 45%; background: var(--pink); animation: scanning 1s ease-in-out infinite; }
@keyframes scanning { from { transform: translateX(-100%); } to { transform: translateX(260%); } }

.summary-card { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; padding: 18px; border: 1.5px solid var(--ink); background: var(--lime); border-radius: 12px; box-shadow: 4px 4px 0 var(--ink); }
.summary-card.has-threats { background: #ffd4e5; }
.summary-icon { width: 41px; height: 41px; border: 1.5px solid var(--ink); border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--blue); }
.summary-card.has-threats .summary-icon { color: var(--critical); }
.summary-icon svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.summary-card p { margin: 0; }
.summary-card > div:nth-child(2) > p:first-child { font-family: var(--mono); text-transform: uppercase; color: var(--ink-soft); font-size: .61rem; letter-spacing: .08em; }
.summary-card h3 { margin: 3px 0; font-size: 1rem; }
.summary-card > div:nth-child(2) > p:last-child { color: var(--ink-soft); font-size: .7rem; }
.risk-score { border-left: 1.5px solid var(--ink); padding-left: 16px; min-width: 70px; }
.risk-score span { color: var(--ink-soft); font-family: var(--mono); font-size: .6rem; text-transform: uppercase; display: block; }
.risk-score strong { display: block; margin-top: 2px; color: var(--blue-dark); font-size: .8rem; text-transform: capitalize; }
.has-threats .risk-score strong { color: var(--critical); }
.result-meta { display: flex; gap: 13px; padding: 16px 2px 12px; border-bottom: 1.5px solid var(--line-soft); color: var(--ink-soft); font-family: var(--mono); font-size: .62rem; }
.result-meta span:not(:last-child)::after { content: "·"; margin-left: 13px; }
.findings-list { max-height: 455px; overflow: auto; scrollbar-width: thin; scrollbar-color: var(--blue) transparent; padding-top: 2px; }
.finding { padding: 15px 2px; border-bottom: 1.5px solid var(--line-soft); }
.finding-top { display: flex; gap: 10px; align-items: flex-start; }
.severity-badge { font-family: var(--mono); font-size: .58rem; text-transform: uppercase; letter-spacing: .04em; border: 1.5px solid currentColor; border-radius: 999px; padding: 3px 7px; margin-top: 1px; background: #fff; }
.severity-badge.critical { color: var(--critical); }
.severity-badge.high { color: var(--high); }
.severity-badge.medium { color: var(--medium); }
.severity-badge.low { color: var(--low); }
.severity-badge.informational { color: var(--info); }
.finding-title { min-width: 0; flex: 1; }
.finding-title h4 { margin: 0; font-size: .79rem; font-weight: 750; line-height: 1.45; }
.finding-title a { color: var(--blue-dark); font-family: var(--mono); font-size: .62rem; text-decoration: none; }
.finding-title a:hover { color: var(--critical); }
.finding-category { color: var(--ink-soft); font-size: .65rem; margin: 8px 0 0; }
.match-snippet { margin: 9px 0 0; background: #fff; border: 1px solid var(--line-soft); border-left: 5px solid var(--pink); border-radius: 6px; padding: 8px 10px; color: #4f5468; font-family: var(--mono); font-size: .62rem; line-height: 1.55; word-break: break-word; }
.more-findings { text-align: center; color: var(--ink-soft); font-size: .7rem; margin: 13px 0; }
.clean-details { padding: 60px 20px; text-align: center; color: var(--ink-soft); }
.clean-details svg { width: 45px; height: 45px; fill: none; stroke: var(--blue); stroke-width: 1.7; margin-bottom: 12px; }
.clean-details p { font-size: .78rem; margin: 0 auto; max-width: 330px; }

.ci-section {
  margin: clamp(80px, 10vw, 130px) calc(50% - 50vw) 0;
  padding: clamp(72px, 9vw, 112px) max(20px, calc((100vw - 1180px) / 2));
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  align-items: center;
  gap: clamp(45px, 8vw, 100px);
  background: var(--blue);
  color: #fff;
  border-block: 2px solid var(--ink);
}
.ci-copy .step-number { background: var(--pink); color: var(--ink); }
.section-kicker { width: fit-content; margin: 0 0 12px !important; color: var(--lime) !important; font-family: var(--mono); font-size: .7rem !important; font-weight: 500; text-transform: uppercase; letter-spacing: .08em; }
.ci-copy h2 { font-size: clamp(2rem, 4vw, 3.45rem); line-height: 1.02; letter-spacing: -.052em; margin: 13px 0 19px; }
.ci-copy > p { color: #e7ebff; font-size: .93rem; line-height: 1.7; margin: 0; }
.ci-actions { display: flex; align-items: center; gap: 18px; margin-top: 28px; flex-wrap: wrap; }
.secondary-button { min-height: 45px; border: 1.5px solid var(--ink); background: var(--lime); color: var(--ink); border-radius: 9px; padding: 0 16px; display: flex; align-items: center; gap: 8px; font-size: .78rem; font-weight: 800; cursor: pointer; box-shadow: 4px 4px 0 var(--ink); transition: transform .15s ease, box-shadow .15s ease; }
.secondary-button:hover { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--ink); }
.secondary-button svg { width: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.ci-copy .text-link-button { color: #fff; }
.ci-copy .text-link-button:hover { color: var(--lime); }
.text-link-button { display: inline-flex; gap: 7px; align-items: center; }
.text-link-button span { color: var(--lime); }
.code-card { background: var(--ink); border: 2px solid var(--ink); border-radius: 16px; box-shadow: 9px 9px 0 var(--pink); overflow: hidden; min-width: 0; transform: rotate(-.6deg); }
.code-titlebar { min-height: 50px; padding: 0 15px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; border-bottom: 1px solid #454a60; background: #252a42; }
.code-titlebar > span:first-child { display: flex; gap: 6px; }
.code-titlebar i { width: 9px; height: 9px; border: 1px solid #0c0f1b; border-radius: 50%; }
.code-titlebar i:nth-child(1) { background: var(--pink); }
.code-titlebar i:nth-child(2) { background: var(--yellow); }
.code-titlebar i:nth-child(3) { background: var(--lime); }
.code-titlebar p { margin: 0; color: #f3f4ff; font-family: var(--mono); font-size: .64rem; }
.official-pill { justify-self: end; color: var(--ink); background: var(--lime); border-radius: 999px; padding: 4px 8px; font-family: var(--mono); font-size: .55rem; }
pre { margin: 0; padding: 22px; overflow: auto; color: #dce1ff; font-family: var(--mono); font-size: .68rem; line-height: 1.7; tab-size: 2; }
.yaml-key { color: var(--sky); }
.yaml-string { color: var(--lime); }
.yaml-action { color: var(--pink); }

footer { width: 100%; margin: 0; padding: 28px max(20px, calc((100vw - 1180px) / 2)) 34px; display: flex; justify-content: space-between; gap: 25px; background: var(--lime); border-top: 2px solid var(--ink); color: var(--ink-soft); font-size: .68rem; }
footer p { margin: 0; }
footer a { color: var(--blue-dark); font-weight: 800; text-decoration-thickness: 1.5px; text-underline-offset: 2px; }

.toast { position: fixed; z-index: 50; bottom: 22px; left: 50%; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; background: var(--pink); color: var(--ink); border: 1.5px solid var(--ink); border-radius: 8px; padding: 10px 14px; font-size: .76rem; font-weight: 800; box-shadow: 4px 4px 0 var(--ink); transition: .2s ease; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.hidden { display: none !important; }

@media (max-width: 1050px) {
  .site-nav { display: none; }
  .control-plane { grid-template-columns: 1fr; }
  .signal-flow { max-width: 650px; width: 100%; }
  .benefits-section { grid-template-columns: 1fr; }
  .benefits-heading h2 { max-width: 780px; }
}

@media (max-width: 850px) {
  .ambient { height: 560px; clip-path: polygon(0 0,100% 0,100% 85%,72% 90%,45% 82%,0 94%); }
  .intro { min-height: 540px; grid-template-columns: 1fr 190px; gap: 32px; }
  .trust-card { width: 185px; padding: 16px; }
  .trust-card strong { font-size: 1.05rem; }
  h1 br { display: none; }
  .section-heading { grid-template-columns: 1fr; }
  .section-heading > p:last-child { max-width: 680px; margin-top: 22px; }
  .deployment-grid { gap: 13px; }
  .deployment-card { min-height: 430px; padding-inline: 18px; }
  .mode-icon { margin-top: 37px; }
  .coding-tools { grid-template-columns: 1fr; }
  .coding-tools-copy > p:last-child { max-width: 680px; }
  .integration-note { grid-column: 1; }
  .product-shot,
  .product-shot.pipeline-shot { grid-template-columns: 1fr; gap: 30px; }
  .pipeline-shot .product-shot-frame,
  .pipeline-shot figcaption { order: initial; }
  .product-shot figcaption { max-width: 600px; }
  .demo-intro { grid-template-columns: 1fr; gap: 22px; }
  .demo-intro > p { max-width: 680px; }
  .scanner-grid { grid-template-columns: 1fr; }
  .results-panel { border-left: 0; border-top: 2px solid var(--line); min-height: 580px; }
  .results-empty, .results-loading { height: 455px; }
  .ci-section { grid-template-columns: 1fr; gap: 42px; }
  .ci-copy { max-width: 600px; }
  footer { flex-direction: column; gap: 8px; }
}

@media (max-width: 620px) {
  .topbar { min-height: 64px; padding-inline: 15px; }
  .brand-mark, .brand-mark svg { width: 36px; height: 36px; }
  .brand-name small, .local-badge { display: none; }
  main { width: min(100% - 24px, 1180px); }
  .ambient { top: 64px; height: 720px; clip-path: polygon(0 0,100% 0,100% 90%,67% 96%,32% 88%,0 95%); }
  .intro { min-height: 680px; padding: 46px 2px 72px; grid-template-columns: 1fr; gap: 31px; }
  h1 { font-size: clamp(2.5rem, 13vw, 3.6rem); }
  .lede { font-size: .96rem; }
  .hero-actions { align-items: stretch; flex-direction: column; gap: 11px; }
  .hero-primary, .hero-secondary { width: 100%; }
  .trust-card { justify-self: start; width: auto; max-width: 275px; display: grid; grid-template-columns: auto 1fr; column-gap: 12px; align-items: center; transform: rotate(-1deg); }
  .trust-card-label { grid-column: 1 / -1; margin-bottom: 8px; }
  .trust-card svg { grid-row: 2 / 4; margin: 0; }
  .trust-card strong { font-size: 1.02rem; }
  .trust-card p { margin-top: 3px; }
  .deployment-section { padding-top: 82px; }
  .deployment-grid { grid-template-columns: 1fr; }
  .deployment-card { min-height: 0; }
  .deployment-card .mode-icon { margin: 33px 0 23px; }
  .coding-tools { margin-top: 44px; padding: 24px 19px; box-shadow: 6px 6px 0 var(--pink); }
  .tool-grid { grid-template-columns: 1fr; }
  .tool-item-wide { grid-column: 1; }
  .control-plane { padding: 25px 20px; box-shadow: 6px 6px 0 var(--blue); }
  .signal-flow { grid-template-columns: 1fr; gap: 14px; }
  .signal-flow > svg { width: 58px; height: 58px; margin: 0 auto; transform: rotate(90deg); }
  .console-box { min-height: 110px; }
  .product-visuals { padding-top: 95px; }
  .visuals-heading { margin-bottom: 37px; }
  .product-shot { margin-bottom: 58px; }
  .product-shot-frame,
  .runtime-shot .product-shot-frame,
  .pipeline-shot .product-shot-frame { transform: none; box-shadow: 6px 6px 0 var(--ink); }
  .pipeline-shot .product-shot-frame { box-shadow: 6px 6px 0 var(--pink); }
  .benefits-section { margin-top: 90px; padding-block: 75px; gap: 40px; }
  .benefits-grid { grid-template-columns: 1fr; }
  .benefits-grid article { min-height: 190px; }
  .demo-intro { padding-top: 90px; }
  .scanner-shell { margin-top: 5px; border-radius: 14px; box-shadow: 6px 6px 0 var(--ink); }
  .scanner-toolbar { height: auto; padding: 13px; align-items: flex-start; flex-direction: column; }
  .type-toggle { width: 100%; }
  .type-button { flex: 1; padding-inline: 8px; font-size: .7rem; }
  .input-panel, .results-panel { padding: 18px 15px; }
  .results-panel { min-height: 545px; }
  textarea { height: 208px; }
  .summary-card { grid-template-columns: auto 1fr; }
  .risk-score { grid-column: 1 / -1; border-left: 0; border-top: 1.5px solid var(--ink); padding: 9px 0 0; display: flex; justify-content: space-between; }
  .result-meta { flex-wrap: wrap; row-gap: 3px; }
  .ci-section { margin-top: 82px; padding-block: 72px; }
  .code-card { transform: none; box-shadow: 6px 6px 0 var(--pink); }
  .code-titlebar { grid-template-columns: 1fr auto; }
  .code-titlebar > span:first-child { display: none; }
  pre { font-size: .61rem; padding: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
