/* Design tokens taken from vicarius.io (Webflow variables). Basier Square is
   proprietary, so DM Sans / IBM Plex Mono stand in for it. */
:root {
  --brand-10: #fafaff;
  --brand-50: #d9dafc;
  --brand-100: #ccceff;
  --brand-300: #aaabf8;
  --brand-400: #7372fe;
  --brand-600: #4c51f0;
  --brand-600-hover: #383cc3;
  --brand-700: #222273;
  --brand-800: #191952;
  --brand-900: #24273e;
  --neutral-100: #f7f8fd;
  --neutral-200: #ccccdf;
  --neutral-500: #868aac;
  --neutral-700: #5c5e75;
  --stroke: #ebebfe;
  --success: #71c674;
  --error: #ff6666;

  --sev-critical: #d6334a;
  --sev-high: #f0803c;
  --sev-medium: #e0b528;
  --sev-low: #4caf8f;

  --font: "DM Sans", "Basier Square", Arial, sans-serif;
  --mono: "IBM Plex Mono", "Basier Mono", ui-monospace, monospace;
  --radius: 12px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--neutral-700);
  background: #fff;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { color: var(--brand-900); line-height: 1.12; margin: 0 0 16px; font-weight: 600; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); }
a { color: var(--brand-600); text-decoration: none; }
a:hover { color: var(--brand-600-hover); }

.container { width: min(1180px, 100% - 32px); margin-inline: auto; }
.muted { color: var(--neutral-500); }
.eyebrow { font-family: var(--mono); font-size: 0.82rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--brand-300); margin: 0 0 14px; }
.eyebrow--brand { color: var(--brand-600); }

/* Nav */
.nav { position: sticky; top: 0; z-index: 10; background: rgba(255,255,255,0.88); backdrop-filter: blur(10px); border-bottom: 1px solid var(--stroke); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--brand-900); }
.brand__logo { height: 40px; width: auto; display: block; }
.brand__tag { font-family: var(--mono); font-size: 0.72rem; color: var(--brand-600); border: 1px solid var(--brand-50); background: var(--brand-10); padding: 2px 8px; border-radius: 999px; }
.nav__links { display: flex; align-items: center; gap: 24px; }
.nav__links > a:not(.btn) { color: var(--neutral-700); font-weight: 500; }
.nav__links > a:not(.btn):hover { color: var(--brand-600); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 8px; font: 600 1rem var(--font); padding: 14px 24px; cursor: pointer; transition: background .2s, transform .2s; }
.btn--primary { background: var(--brand-600); color: #fff; }
.btn--primary:hover { background: var(--brand-600-hover); color: #fff; }
.btn--primary:disabled { opacity: .6; cursor: progress; }
.btn--sm { padding: 9px 16px; font-size: 0.92rem; }
.btn--block { width: 100%; }

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: 96px 0 72px;
  color: var(--brand-100);
  background:
    radial-gradient(900px 420px at 85% -10%, rgba(115,114,254,0.45), transparent 60%),
    radial-gradient(700px 380px at 0% 110%, rgba(76,81,240,0.35), transparent 60%),
    linear-gradient(180deg, var(--brand-800), var(--brand-700));
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, #000 30%, transparent);
}
.hero .container { position: relative; z-index: 1; }
.hero h1 { color: #fff; max-width: 760px; }
.hl { background: linear-gradient(90deg, var(--brand-300), var(--brand-400)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__lead { max-width: 620px; font-size: 1.15rem; color: var(--brand-100); margin: 0 0 48px; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(204,206,255,.15); border: 1px solid rgba(204,206,255,.15); border-radius: var(--radius); overflow: hidden; }
.stat { background: rgba(25,25,82,.6); padding: 22px 24px; display: flex; flex-direction: column; gap: 4px; }
.stat__num { font-size: 2.2rem; font-weight: 600; color: #fff; letter-spacing: -0.02em; }
.stat__label { font-family: var(--mono); font-size: 0.78rem; text-transform: uppercase; letter-spacing: .05em; color: var(--brand-300); }

/* Sections */
.section { padding: 88px 0; }
.section__head { display: flex; justify-content: space-between; align-items: end; gap: 16px; flex-wrap: wrap; margin-bottom: 28px; }
.section__head h2 { margin: 0; }
.section--dark { background: linear-gradient(180deg, var(--brand-900), var(--brand-800)); color: var(--brand-100); }
.section--dark h2 { color: #fff; }

/* Toolbar */
.toolbar { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; margin-bottom: 20px; }
.toolbar .input { flex: 1 1 280px; max-width: 420px; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { font: 500 0.88rem var(--font); color: var(--neutral-700); background: var(--neutral-100); border: 1px solid var(--stroke); padding: 7px 14px; border-radius: 999px; cursor: pointer; }
.chip:hover { border-color: var(--brand-300); color: var(--brand-600); }
.chip.is-active { background: var(--brand-600); border-color: var(--brand-600); color: #fff; }

/* Inputs */
.input { width: 100%; font: 400 1rem var(--font); color: var(--brand-900); background: #fff; border: 1px solid var(--neutral-200); border-radius: 8px; padding: 12px 14px; outline: none; transition: border-color .15s, box-shadow .15s; }
.input:focus { border-color: var(--brand-600); box-shadow: 0 0 0 3px rgba(76,81,240,.18); }
.input.is-invalid { border-color: var(--error); }
textarea.input { resize: vertical; }

/* Table */
.table-wrap { border: 1px solid var(--stroke); border-radius: var(--radius); overflow-x: auto; background: #fff; box-shadow: 0 10px 40px -20px rgba(34,34,115,.25); }
.cve-table { width: 100%; border-collapse: collapse; min-width: 760px; }
.cve-table th { text-align: left; font: 500 0.75rem var(--mono); text-transform: uppercase; letter-spacing: .06em; color: var(--neutral-500); background: var(--brand-10); padding: 14px 18px; border-bottom: 1px solid var(--stroke); }
.cve-table td { padding: 16px 18px; border-bottom: 1px solid var(--stroke); vertical-align: top; font-size: 0.95rem; }
.cve-table tr:last-child td { border-bottom: 0; }
.cve-table tbody tr:hover { background: var(--brand-10); }
.cve-id { font-family: var(--mono); font-weight: 500; color: var(--brand-600); white-space: nowrap; }
.cve-title { display: block; color: var(--brand-900); font-weight: 500; }
.cve-vendor { display: block; color: var(--neutral-500); font-size: 0.85rem; }
.empty { text-align: center; color: var(--neutral-500); padding: 40px !important; }

.sev { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; white-space: nowrap; }
.sev::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.sev small { font: 400 0.8rem var(--mono); color: var(--neutral-500); }
.sev--critical { color: var(--sev-critical); }
.sev--high { color: var(--sev-high); }
.sev--medium { color: var(--sev-medium); }
.sev--low { color: var(--sev-low); }
.sev--unscored { color: var(--neutral-500); }

.status { display: inline-block; font: 500 0.78rem var(--mono); padding: 4px 10px; border-radius: 999px; white-space: nowrap; border: 1px solid; }
.status--investigating { color: #8a5a00; background: #fff6e0; border-color: #f5dfa6; }
.status--in-development { color: var(--brand-600); background: var(--brand-10); border-color: var(--brand-50); }
.status--testing { color: #6a3fc1; background: #f4efff; border-color: #ddd0fb; }
.status--released { color: #2c7a3f; background: #eaf8ec; border-color: #bfe6c6; }

/* Request */
.request { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: start; }
.request__intro p { font-size: 1.08rem; }
.checklist { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 12px; }
.checklist li { padding-left: 30px; position: relative; }
.checklist li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 20px; height: 20px; border-radius: 50%; background: rgba(115,114,254,.25); color: var(--brand-300); font-size: 0.75rem; display: grid; place-items: center; }

.card { background: #fff; border-radius: 16px; padding: 32px; box-shadow: 0 30px 80px -30px rgba(0,0,0,.5); }
.form { display: grid; gap: 18px; color: var(--neutral-700); }
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; font-size: 0.9rem; color: var(--brand-900); }
.req { color: var(--brand-600); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.hint { margin: 0; min-height: 1.2em; font-size: 0.84rem; }
.hint--warn { color: #b06d00; }
.hint--error { color: var(--error); }
.form__status { margin: 0; text-align: center; font-weight: 500; min-height: 1.4em; }
.form__status.ok { color: #2c7a3f; }
.form__status.err { color: var(--error); }

/* Footer */
.footer { background: var(--brand-800); color: var(--brand-300); font-size: 0.9rem; border-top: 1px solid rgba(204,206,255,.12); }
.footer__inner { display: flex; justify-content: space-between; gap: 16px; padding: 24px 0; flex-wrap: wrap; }
.footer a { color: var(--brand-100); }

@media (max-width: 860px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .request { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 520px) {
  .hero { padding: 64px 0 48px; }
  .section { padding: 64px 0; }
  .grid-2 { grid-template-columns: 1fr; }
  .card { padding: 22px; }
  .nav__links > a:not(.btn) { display: none; }
}
.nowrap { white-space: nowrap; }

/* ───────────── Motion & effects ───────────── */

/* Scroll progress */
.progress { position: fixed; top: 0; left: 0; height: 3px; width: 100%; z-index: 20; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--brand-400), var(--brand-600), #b06cff); }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s cubic-bezier(.2,.7,.2,1) var(--d, 0ms), transform .8s cubic-bezier(.2,.7,.2,1) var(--d, 0ms); }
.reveal.is-visible { opacity: 1; transform: none; }

/* Hero layout + ambience */
.hero__grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 56px; align-items: center; margin-bottom: 56px; }
.hero__lead { margin-bottom: 32px; }
.hero__ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.hero__orb { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; pointer-events: none; }
.hero__orb--1 { width: 420px; height: 420px; background: #7372fe; top: -140px; right: 8%; animation: drift 14s ease-in-out infinite alternate; }
.hero__orb--2 { width: 360px; height: 360px; background: #b06cff; bottom: -160px; left: -80px; opacity: .35; animation: drift 18s ease-in-out infinite alternate-reverse; }
@keyframes drift { to { transform: translate(-60px, 50px) scale(1.15); } }
.hero::after { animation: grid-pan 30s linear infinite; }
@keyframes grid-pan { to { background-position: 48px 48px, 48px 48px; } }
.hero__scan { position: absolute; inset: 0; pointer-events: none; z-index: 0; background: linear-gradient(180deg, transparent, rgba(170,171,248,.10) 50%, transparent); height: 160px; animation: scan 7s linear infinite; }
@keyframes scan { from { transform: translateY(-160px); } to { transform: translateY(900px); } }


/* Gradient text shimmer */
.hl { background-size: 200% 100%; background-image: linear-gradient(90deg, var(--brand-300), var(--brand-400), #c9a2ff, var(--brand-300)); animation: shimmer 5s linear infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }

/* Terminal */
.terminal { background: rgba(16,18,40,.75); border: 1px solid rgba(204,206,255,.18); border-radius: 14px; box-shadow: 0 40px 80px -30px rgba(0,0,0,.6), inset 0 1px 0 rgba(255,255,255,.06); backdrop-filter: blur(8px); overflow: hidden; }
.terminal__bar { display: flex; align-items: center; gap: 7px; padding: 12px 14px; border-bottom: 1px solid rgba(204,206,255,.12); background: rgba(255,255,255,.03); }
.terminal__bar span { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; }
.terminal__bar span:nth-child(2) { background: #febc2e; }
.terminal__bar span:nth-child(3) { background: #28c840; }
.terminal__bar p { margin: 0 0 0 10px; font: 0.78rem var(--mono); color: var(--neutral-500); }
.terminal__body { margin: 0; padding: 18px 20px; height: 268px; overflow: hidden; font: 0.84rem/1.7 var(--mono); color: var(--brand-100); white-space: pre-wrap; }
.terminal__body .t-prompt { color: var(--brand-400); }
.terminal__body .t-ok { color: var(--success); }
.terminal__body .t-warn { color: #febc2e; }
.terminal__body .t-crit { color: #ff6b81; }
.terminal__body .t-muted { color: var(--neutral-500); }
.cursor { display: inline-block; width: 8px; height: 1.05em; vertical-align: -2px; background: var(--brand-300); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* Stats */
.stat { position: relative; transition: background .3s; }
.stat:hover { background: rgba(76,81,240,.25); }
.stat::before { content: ""; position: absolute; left: 0; top: 0; height: 2px; width: 0; background: linear-gradient(90deg, var(--brand-400), transparent); transition: width .6s; }
.stat:hover::before { width: 100%; }

/* Buttons */
.btn--ghost { color: #fff; border: 1px solid rgba(204,206,255,.3); background: rgba(255,255,255,.04); }
.btn--ghost:hover { color: #fff; border-color: var(--brand-300); background: rgba(255,255,255,.1); }
.btn:hover { transform: translateY(-2px); }
.btn--primary { box-shadow: 0 10px 30px -10px rgba(76,81,240,.7); }
.btn--shine { position: relative; overflow: hidden; }
.btn--shine::after { content: ""; position: absolute; top: 0; left: -75%; width: 50%; height: 100%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.35), transparent); transform: skewX(-20deg); animation: shine 4s ease-in-out infinite; }
@keyframes shine { 0%, 60% { left: -75%; } 100% { left: 130%; } }

/* Vendor marquee */
.marquee { position: relative; overflow: hidden; background: var(--brand-800); border-top: 1px solid rgba(204,206,255,.1); padding: 16px 0; }
.marquee::before, .marquee::after { content: ""; position: absolute; top: 0; bottom: 0; width: 12%; z-index: 1; pointer-events: none; }
.marquee::before { left: 0; background: linear-gradient(90deg, var(--brand-800), transparent); }
.marquee::after { right: 0; background: linear-gradient(-90deg, var(--brand-800), transparent); }
.marquee__track { display: flex; gap: 48px; width: max-content; animation: marquee 40s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item { font: 500 0.85rem var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--brand-300); white-space: nowrap; display: flex; align-items: center; gap: 48px; }
.marquee__item::after { content: "◆"; color: var(--brand-600); font-size: .6rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Pipeline stepper */
.pipeline { list-style: none; padding: 0; margin: 0 0 28px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; counter-reset: step; }
.pipeline li { position: relative; padding: 16px 18px; border: 1px solid var(--stroke); border-radius: var(--radius); background: var(--brand-10); cursor: pointer; transition: border-color .2s, transform .2s, box-shadow .2s; overflow: hidden; }
.pipeline li:hover { transform: translateY(-3px); border-color: var(--brand-300); box-shadow: 0 14px 30px -18px rgba(76,81,240,.6); }
.pipeline li.is-active { border-color: var(--brand-600); background: #fff; box-shadow: 0 0 0 3px rgba(76,81,240,.12); }
.pipeline__step { font: 500 0.72rem var(--mono); color: var(--neutral-500); text-transform: uppercase; letter-spacing: .06em; }
.pipeline__name { display: block; font-weight: 600; color: var(--brand-900); margin-top: 2px; }
.pipeline__count { position: absolute; right: 16px; top: 12px; font-size: 1.8rem; font-weight: 600; color: var(--brand-600); }
.pipeline__bar { margin-top: 12px; height: 4px; border-radius: 4px; background: var(--brand-50); overflow: hidden; }
.pipeline__bar i { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--brand-400), var(--brand-600)); }
.pipeline.is-visible .pipeline__bar i { width: var(--w); animation: grow 1.2s cubic-bezier(.2,.7,.2,1) .3s both; }

/* Table rows */
.cve-table tbody tr { animation: row-in .5s cubic-bezier(.2,.7,.2,1) both; animation-delay: calc(var(--i, 0) * 45ms); transition: background .2s; }
@keyframes row-in { from { opacity: 0; transform: translateX(-12px); } }
.cve-table tbody tr:hover { background: linear-gradient(90deg, var(--brand-10), #fff); box-shadow: inset 3px 0 0 var(--brand-600); }
.cvss-meter { display: block; width: 84px; height: 4px; margin-top: 8px; border-radius: 4px; background: var(--stroke); overflow: hidden; }
.cvss-meter i { display: block; height: 100%; width: var(--w); background: currentColor; border-radius: inherit; animation: grow 1s cubic-bezier(.2,.7,.2,1) both; animation-delay: calc(var(--i, 0) * 45ms + 200ms); }
@keyframes grow { from { width: 0; } }
.status::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: currentColor; margin-right: 6px; vertical-align: 1px; }
.status--investigating::before, .status--in-development::before, .status--testing::before { animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .25; transform: scale(.7); } }

/* Dark section ambience + form glow */
.section--dark { position: relative; overflow: hidden; }
.section--dark .container { position: relative; z-index: 1; }
.dots { position: absolute; inset: 0; background-image: radial-gradient(rgba(170,171,248,.18) 1px, transparent 1px); background-size: 22px 22px; mask-image: radial-gradient(ellipse at 30% 40%, #000, transparent 70%); }
.card { position: relative; overflow: hidden; }
.card > *:not(.card__glow) { position: relative; z-index: 1; }
.card__glow { position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .3s; background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%), rgba(115,114,254,.13), transparent 60%); }
.card:hover .card__glow { opacity: 1; }
.checklist li { opacity: 0; transform: translateX(-10px); transition: opacity .5s, transform .5s; }
.request__intro.is-visible .checklist li { opacity: 1; transform: none; }
.request__intro.is-visible .checklist li:nth-child(2) { transition-delay: .15s; }
.request__intro.is-visible .checklist li:nth-child(3) { transition-delay: .3s; }

/* Form feedback */
.form.shake { animation: shake .4s; }
@keyframes shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }
.form__status.ok::before { content: "✓"; display: inline-grid; place-items: center; width: 22px; height: 22px; margin-right: 8px; border-radius: 50%; background: #2c7a3f; color: #fff; font-size: .8rem; animation: pop .45s cubic-bezier(.3,1.6,.5,1); }
@keyframes pop { from { transform: scale(0); } }

@media (max-width: 960px) {
  .hero__grid { grid-template-columns: 1fr; gap: 40px; }
  .pipeline { grid-template-columns: repeat(2, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal, .checklist li { opacity: 1; transform: none; }
}

/* CVE data: KEV badge, summaries, KEV toggle, pagination */
.kev { display: inline-block; margin-left: 8px; padding: 2px 7px; border-radius: 6px; font: 600 0.68rem var(--mono); letter-spacing: .06em; color: #fff; background: linear-gradient(135deg, #e5484d, #b4232a); box-shadow: 0 0 0 0 rgba(229,72,77,.5); animation: kev-glow 2.4s ease-in-out infinite; vertical-align: 1px; }
@keyframes kev-glow { 50% { box-shadow: 0 0 0 4px rgba(229,72,77,0); } 0%, 100% { box-shadow: 0 0 0 0 rgba(229,72,77,.35); } }
.cve-summary { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-top: 6px; max-width: 46ch; font-size: 0.82rem; line-height: 1.45; color: var(--neutral-500); }
.toggle { display: inline-flex; align-items: center; gap: 8px; font: 500 0.88rem var(--font); color: var(--neutral-700); background: #fff; border: 1px solid var(--stroke); padding: 7px 14px; border-radius: 999px; cursor: pointer; transition: border-color .2s, background .2s, color .2s; }
.toggle:hover { border-color: #f3b0b2; color: #b4232a; }
.toggle[aria-pressed="true"] { background: #fff1f1; border-color: #e5484d; color: #b4232a; }
.kev-dot { width: 8px; height: 8px; border-radius: 50%; background: #e5484d; }
.toggle[aria-pressed="true"] .kev-dot { animation: pulse 1.6s ease-in-out infinite; }
.table-more { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 18px; flex-wrap: wrap; }
.btn--outline { background: #fff; color: var(--brand-600); border: 1px solid var(--brand-50); }
.btn--outline:hover { border-color: var(--brand-600); color: var(--brand-600-hover); }

/* ───────────── About page ───────────── */
.nav__links > a[aria-current="page"] { color: var(--brand-600); }
.hero--about { padding-bottom: 80px; }
.hero--about h1 { max-width: 820px; }
.hero--about .hero__lead { max-width: 680px; }
.stats--3 { grid-template-columns: repeat(3, 1fr); max-width: 900px; }
.section__aside { max-width: 340px; margin: 0; }
.section--tint { background: var(--brand-10); border-block: 1px solid var(--stroke); }

/* Process steps, joined by a line that draws itself in */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; position: relative; }
.step { position: relative; padding: 28px 26px; border: 1px solid var(--stroke); border-radius: 16px; background: #fff; transition: opacity .8s cubic-bezier(.2,.7,.2,1) var(--d, 0ms), transform .8s cubic-bezier(.2,.7,.2,1) var(--d, 0ms), translate .25s, box-shadow .25s, border-color .25s; overflow: hidden; }
.step::after { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 0; background: linear-gradient(90deg, var(--brand-400), var(--brand-600)); transition: width .8s cubic-bezier(.2,.7,.2,1) calc(var(--d, 0ms) + 300ms); }
.step.is-visible::after { width: 100%; }
.step:hover { translate: 0 -4px; border-color: var(--brand-300); box-shadow: 0 20px 40px -24px rgba(76,81,240,.55); }
.step__num { display: inline-block; font: 500 0.8rem var(--mono); color: var(--brand-600); background: var(--brand-10); border: 1px solid var(--brand-50); padding: 3px 9px; border-radius: 999px; margin-bottom: 16px; }
.step h3, .check h3, .pillar h3 { font-size: 1.2rem; margin-bottom: 8px; }
.step p, .check p, .pillar p { margin: 0; }

/* Testing */
.testing { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center; }
.testing__intro p { font-size: 1.05rem; }
.terminal--light { margin-top: 28px; background: var(--brand-900); }
.terminal__body--static { height: auto; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.check { position: relative; padding: 20px 20px 20px 56px; background: #fff; border: 1px solid var(--stroke); border-radius: 14px; }
.check::before { content: "✓"; position: absolute; left: 18px; top: 20px; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: .8rem; color: #fff; background: linear-gradient(135deg, var(--brand-400), var(--brand-600)); transform: scale(0); transition: transform .45s cubic-bezier(.3,1.6,.5,1) calc(var(--d, 0ms) + 250ms); }
.check.is-visible::before { transform: scale(1); }
.check h3 { font-size: 1.02rem; }
.check p { font-size: 0.92rem; }

/* VulnGPT */
.vulngpt__head { max-width: 760px; }
.vulngpt__lead { font-size: 1.1rem; }
.flow { list-style: none; padding: 0; margin: 48px 0; display: grid; grid-template-columns: repeat(8, 1fr); gap: 10px; counter-reset: flow; }
.flow li { position: relative; display: flex; flex-direction: column; justify-content: center; padding: 16px 12px; border-radius: 12px; background: rgba(255,255,255,.04); border: 1px solid rgba(204,206,255,.16); text-align: center; }
.flow li span { display: block; font: 500 0.82rem var(--mono); color: #fff; letter-spacing: .02em; }
.flow li small { display: block; margin-top: 6px; font-size: 0.76rem; line-height: 1.35; color: var(--brand-300); }
.flow li:not(:last-child)::after { content: ""; position: absolute; right: -10px; top: 50%; width: 10px; height: 2px; background: rgba(170,171,248,.35); }
/* A pulse travels along the pipeline, one stage at a time */
.flow.is-visible li { animation: flow-pulse 8s ease-in-out infinite; animation-delay: calc(var(--n) * 1s); }
@keyframes flow-pulse { 0%, 14%, 100% { border-color: rgba(204,206,255,.16); background: rgba(255,255,255,.04); box-shadow: none; } 5% { border-color: var(--brand-400); background: rgba(115,114,254,.18); box-shadow: 0 0 24px -4px rgba(115,114,254,.7); } }
.flow li.flow__judge { border-color: rgba(113,198,116,.45); }
.flow li.flow__judge span { color: var(--success); }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pillar { position: relative; overflow: hidden; padding: 26px; border-radius: 16px; background: rgba(255,255,255,.04); border: 1px solid rgba(204,206,255,.14); transition: opacity .8s cubic-bezier(.2,.7,.2,1) var(--d, 0ms), transform .8s cubic-bezier(.2,.7,.2,1) var(--d, 0ms), translate .35s cubic-bezier(.2,.7,.2,1), border-color .35s, background .35s, box-shadow .35s; }
/* Title: white half + vivid gradient half; hover slides to the gradient */
.pillar h3 { color: transparent; background: linear-gradient(90deg, #fff 0 50%, #ff7ac6 50%, #b18cff 75%, #5ee7f0); background-size: 200% 100%; background-position: 0 0; -webkit-background-clip: text; background-clip: text; transition: background-position .6s cubic-bezier(.2,.7,.2,1), filter .4s; }
.pillar p { position: relative; }
/* Spotlight that follows the cursor (position set by common.js) */
.pillar::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .35s; background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 50%), rgba(115,114,254,.22), transparent 65%); }
/* Accent line that sweeps in from the left */
.pillar::after { content: ""; position: absolute; left: 0; top: 0; height: 2px; width: 100%; transform: scaleX(0); transform-origin: left; transition: transform .5s cubic-bezier(.2,.7,.2,1); background: linear-gradient(90deg, var(--brand-400), #c9a2ff); }
.pillar:hover { translate: 0 -6px; border-color: rgba(170,171,248,.45); background: rgba(255,255,255,.06); box-shadow: 0 24px 50px -24px rgba(76,81,240,.6); }
.pillar:hover::before { opacity: 1; }
.pillar:hover::after { transform: scaleX(1); }
.pillar:hover h3 { background-position: 100% 0; filter: drop-shadow(0 0 12px rgba(255,122,198,.45)); }

/* CTA */
.cta { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; padding: 40px; border-radius: 20px; border: 1px solid var(--stroke); background: radial-gradient(600px 200px at 100% 0%, rgba(115,114,254,.12), transparent 70%), var(--brand-10); }
.cta h2 { margin-bottom: 6px; }
.cta p { margin: 0; }
.cta__actions { display: flex; gap: 12px; flex-wrap: wrap; }

@media (max-width: 1080px) {
  .flow { grid-template-columns: repeat(4, 1fr); }
  .flow li:nth-child(4n)::after { display: none; }
}
@media (max-width: 960px) {
  .steps, .pillars { grid-template-columns: 1fr 1fr; }
  .testing { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 600px) {
  .steps, .pillars, .checks, .stats--3 { grid-template-columns: 1fr; }
  .flow { grid-template-columns: 1fr 1fr; }
  .flow li::after { display: none; }
  .cta { padding: 26px; }
}

/* Team */
.team { display: grid; grid-template-columns: repeat(2, minmax(0, 300px)); gap: 28px; }
.person { margin: 0; padding: 14px 14px 22px; border: 1px solid var(--stroke); border-radius: 20px; background: #fff; transition: opacity .8s cubic-bezier(.2,.7,.2,1) var(--d, 0ms), transform .8s cubic-bezier(.2,.7,.2,1) var(--d, 0ms), translate .3s, box-shadow .3s, border-color .3s; }
.person:hover { translate: 0 -6px; border-color: var(--brand-300); box-shadow: 0 28px 50px -30px rgba(76,81,240,.6); }
.person__photo { position: relative; aspect-ratio: 1; border-radius: 14px; overflow: hidden; background: var(--brand-10); }
.person__photo img { width: 100%; height: 100%; object-fit: cover; display: block; filter: grayscale(.25); transition: transform .6s cubic-bezier(.2,.7,.2,1), filter .4s; }
.person__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(34,34,115,.35)); opacity: .8; transition: opacity .4s; }
.person:hover .person__photo img { transform: scale(1.05); filter: none; }
.person:hover .person__photo::after { opacity: .3; }
.person figcaption { padding: 18px 8px 0; }
.person h3 { margin: 0 0 4px; font-size: 1.25rem; }
.person p { margin: 0; font: 500 0.82rem var(--mono); color: var(--brand-600); letter-spacing: .02em; }
@media (max-width: 600px) { .team { grid-template-columns: 1fr; } }
.section__head--center { justify-content: center; text-align: center; }
.team { justify-content: center; }
.section--flush-top { padding-top: 0; }

/* Howling wolf (logo is inlined and animated by common.js) */
svg.brand__logo { overflow: visible; }
.howl-wave { fill: none; stroke: var(--brand-400); stroke-width: 2.4; stroke-linecap: round; }
.howl-wave:nth-child(even) { stroke: #c9a2ff; }
