:root {
  --page: #fefefe;
  --navy: #062150;
  --navy-deep: #0e2043;
  --node: #111e34;
  --ink: #222;
  --text: #000;
  --muted: #696969;
  --green: #59ec96;
  --green-edge: #0e803d;
  --red: #ec5959;
  --red-edge: #be3434;
  --sans: "Google Sans", "Product Sans", "DM Sans", system-ui, sans-serif;
  --mono: "Space Grotesk", ui-monospace, sans-serif;
  --cycle: 5s;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--page);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.25;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; text-align: left; }
h1, h2, h3, h4, p, ol, ul { margin: 0; padding: 0; }
ol, ul { list-style: none; }

.h2 { font-size: 48px; font-weight: 400; line-height: 1.25; }
.lede { font-size: 20px; line-height: 1.25; opacity: .6; }

/* Buttons */
/* buttons: 12px radius, soft lift */
.btn {
  gap: 8px; border-radius: 12px;
  display: inline-flex; align-items: center; justify-content: center;
  padding: 16px; font-size: 16px; font-weight: 500; line-height: 20px;
  white-space: nowrap; transition: background .2s, color .2s, transform .2s;
}
.btn--primary { background: var(--navy); color: #fff; box-shadow: 0 1px 0 rgba(255,255,255,.12) inset, 0 8px 20px -8px rgba(6,33,80,.55); }
.btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s; }
.btn:hover svg { transform: translateX(3px); }
.btn--primary:hover { background: #0b3274; }
.btn--outline { border: 1px solid rgba(6,33,80,.18); background: #fff; color: var(--ink); }
.btn--outline:hover { border-color: var(--navy); background: #fff; color: var(--navy); }

/* Logo emblem */
.emblem { position: relative; display: block; width: 46px; height: 41.112px; flex: none; }
.emblem > img:first-child { width: 100%; height: 100%; object-fit: cover; }

.brand { display: inline-flex; align-items: center; gap: 2px; }
/* the wordmark from agentdna.io; its capitals (not the g's tail) centre on the emblem */
.brand__name { height: 22px; width: auto; margin-left: 2px; transform: translateY(2.5px); }

/* Nav */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(254,254,254,.86); -webkit-backdrop-filter: blur(12px) saturate(1.3); backdrop-filter: blur(12px) saturate(1.3); border-bottom: 1px solid rgba(6,33,80,.08); }
.nav__inner { max-width: 1440px; height: 80px; margin: 0 auto; padding: 0 48px; display: flex; align-items: center; }
.nav__links { display: flex; gap: 40px; padding: 8px; margin-left: 72px; font-size: 15px; color: #3a4a66; }
.nav__links a { position: relative; transition: color .2s; }
.nav__links a[aria-current="true"] { color: var(--navy); }
/* in-page links land below the sticky nav */
section[id], #health-check { scroll-margin-top: 80px; }
.nav__links a:hover { color: var(--navy); }
.nav__menu { display: none; }
.nav__cta { margin-left: auto; padding: 12px 16px; font-size: 15px; transition: background .3s, color .3s, box-shadow .3s; }
/* while the hero (with its own primary CTA) is on screen, the nav's CTA steps back to the secondary, outline style */
.nav.is-hero .nav__cta { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1px rgba(6,33,80,.18); }
.nav.is-hero .nav__cta:hover { background: #fff; color: var(--navy); box-shadow: inset 0 0 0 1px var(--navy); }

/* Scale-to-fit widgets (fixed design size, scaled down on small screens) */
.fit { position: relative; }
.fit__inner { position: relative; transform-origin: top left; }

/* Hero */
.hero { max-width: 1440px; margin: 0 auto; padding: 16px; } /* 16px gap above and below the card */
.hero__card { position: relative; display: flex; flex-direction: column; min-height: calc(100svh - 112px); padding: 40px 56px 0; /* 80px nav + 16px above + 16px below */ border-radius: 24px; overflow: hidden;
  background: radial-gradient(60% 50% at 85% 0%, rgba(201,213,255,.45), transparent 70%), radial-gradient(50% 40% at 0% 100%, rgba(230,235,254,.7), transparent 70%), linear-gradient(180deg, #f3f5fa, #fbfcfe 60%, #f5f7fb);
  box-shadow: inset 0 0 0 1px rgba(6,33,80,.06); }
.hero__top { display: flex; align-items: flex-end; justify-content: space-between; gap: 48px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 12px 0 4px; border-radius: 999px; background: #fff; box-shadow: 0 0 0 1px rgba(6,33,80,.08), 0 2px 6px -2px rgba(6,33,80,.1); font-size: 13px; font-weight: 500; color: #3a4a66; }
.eyebrow__mark { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 999px; background: var(--navy); }
.eyebrow__mark img { width: 15px; height: auto; } /* the helix from the logo emblem */
.hero__title { margin-top: 20px; font-size: 48px; font-weight: 500; line-height: 56px; letter-spacing: -.02em; color: var(--ink); text-wrap: balance; }
.hero__title span { color: #0b3274; }
.hero__aside { max-width: 460px; padding-bottom: 6px; }
.hero__sub { font-size: 17px; line-height: 26px; color: var(--muted); }
.hero__ctas { display: flex; gap: 12px; margin-top: 20px; }
/* animation: full card width, centred (not via auto margins: .fit reads the margins) */
/* hero animation control: outline button in the hero card's bottom-right corner, just above the impact bar */
.scan-ctrl { position: absolute; right: 24px; bottom: calc(var(--impact-h, 96px) + 24px); z-index: 5; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  border: 1.5px solid rgba(6,33,80,.28); background: rgba(255,255,255,.6); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); color: var(--navy);
  transition: border-color .2s, background .2s, transform .15s; }
.scan-ctrl:hover { border-color: var(--navy); background: #fff; }
.scan-ctrl:active { transform: scale(.94); }
.scan-ctrl:focus-visible { outline: 2px solid #2b5cff; outline-offset: 3px; }
.scan-ctrl svg { display: none; width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.scan-ctrl .i-play { stroke-width: 1.6; transform: translateX(1px); }
.scan-ctrl[data-state="playing"] .i-pause, .scan-ctrl[data-state="paused"] .i-play, .scan-ctrl[data-state="done"] .i-replay { display: block; }
/* paused: freeze CSS transitions too (JS pauses the timeline and running animations) */
.scan-stage.is-paused, .scan-stage.is-paused * { transition-duration: 0s !important; }

.hero__visual { align-self: center; width: 1203px; margin: auto 0; padding: 24px 0; box-sizing: content-box; } /* centred in the space between headline and strip */
/* ---------- Hero illustration: "Pillars" (alternative to the scan animation) ---------- */
.hero__card[data-illus="pillars"] .hero__visual, .hero__card[data-illus="pillars"] .scan-ctrl { display: none; }
.hero__card:not([data-illus="pillars"]) .pillars { display: none; }
.pillars { align-self: center; margin: auto 0; padding: 32px 0; display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.pillars__stage { position: relative; padding-left: 232px; }  /* 176px callouts + 56px gap */            /* left column holds the callouts */
.pillars__callouts { position: absolute; left: 0; top: 0; width: 176px; height: 100%; list-style: none; transition: opacity .22s ease; }
.pillars__callouts li { position: absolute; right: 0; transform: translateY(-50%); padding: 6px 10px; border-radius: 8px; background: #e6ebfe; box-shadow: inset 0 0 0 1px rgba(6,33,80,.12);
  font: 500 12px/16px var(--mono); letter-spacing: .02em; color: var(--navy); white-space: nowrap; animation: calloutIn .4s cubic-bezier(.22,.8,.24,1) both; animation-delay: calc(var(--i) * 90ms + 120ms); }
.pillars__callouts li i { position: absolute; left: 100%; top: 50%; width: 48px; /* dot lands 8px before the card */ height: 1px; background: rgba(6,33,80,.35); }
.pillars__callouts li i::after { content: ""; position: absolute; right: -3px; top: -2.5px; width: 6px; height: 6px; border-radius: 50%; background: var(--navy); }
@keyframes calloutIn { from { opacity: 0; transform: translate(-6px, -50%); } }

.pcard { position: relative; width: 480px; height: 344px; display: flex; flex-direction: column; overflow: hidden; border-radius: 16px; background: #fff; text-align: left;
  box-shadow: 0 0 0 1px rgba(6,33,80,.1), 0 1px 2px rgba(6,33,80,.05), 0 24px 48px -20px rgba(6,33,80,.25); }
.pcard__head { display: flex; align-items: center; justify-content: space-between; height: 48px; padding: 0 20px; border-bottom: 1px solid rgba(6,33,80,.08); }
.pcard__crumb { font: 500 12px/16px var(--mono); letter-spacing: .14em; color: #6b778c; }
.pcard__status { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 10px 0 8px; border-radius: 999px; font-size: 12px; font-weight: 500; }
.pcard__status.is-ok { background: #dcfce7; color: #166534; }
.pcard__status.is-live { background: #fef2f2; color: #b91c1c; }
.pcard__status svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pcard__status i { width: 7px; height: 7px; border-radius: 50%; background: #ef4444; animation: pulse 1.4s ease-in-out infinite; }
.pcard__body { flex: 1; padding: 16px 20px 0; transition: opacity .22s ease, transform .22s ease; }
.pcard__kicker { font: 500 11px/16px var(--mono); letter-spacing: .16em; color: #6b778c; }
.pcard__title { margin-top: 4px; font-size: 28px; line-height: 36px; font-weight: 500; letter-spacing: -.01em; color: var(--ink); }
.pcard__title em { font-style: normal; color: var(--navy); }
.pcard__rows { margin-top: 12px; list-style: none; }
.pcard__rows li { display: grid; grid-template-columns: 24px 1fr auto; align-items: center; gap: 12px; padding: 8px 0; border-top: 1px solid rgba(6,33,80,.06); animation: rise .35s cubic-bezier(.22,.8,.24,1) both; animation-delay: calc(var(--i) * 80ms); }
.pcard__mark { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: #22c55e; }
.pcard__rows li.is-no .pcard__mark { background: #ef4444; }
.pcard__mark svg { width: 12px; height: 12px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pcard__txt { min-width: 0; display: flex; flex-direction: column; }
.pcard__txt b { font-size: 14px; line-height: 20px; font-weight: 500; color: var(--ink); }
.pcard__txt small { font-size: 12px; line-height: 16px; color: #6b778c; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pcard__rows li.is-no .pcard__txt small { color: #b91c1c; }
.pcard__rows time { font: 11px/16px var(--mono); color: #94a3b8; }
.pcard__foot { padding: 12px 20px 16px; transition: opacity .22s ease; }
.pcard__meter { height: 4px; border-radius: 2px; background: #eef1f6; overflow: hidden; }
.pcard__meter i { display: block; height: 100%; width: calc(var(--fill, 1) * 100%); border-radius: 2px; background: var(--navy); transition: width .6s cubic-bezier(.65,0,.35,1); }
.pcard__meter i.has-block { background: linear-gradient(90deg, var(--navy) 0 calc(100% - 4px), transparent 0); }
.pcard__footrow { display: flex; justify-content: space-between; margin-top: 10px; font-size: 13px; line-height: 20px; color: #6b778c; }
.pcard__footrow a { font-weight: 500; color: var(--navy); }
.pillars.is-swapping .pcard__body, .pillars.is-swapping .pcard__foot, .pillars.is-swapping .pillars__callouts { opacity: 0; }
.pillars.is-swapping .pcard__body { transform: translateY(4px); }

/* Pillars mode: same top row as Scan (headline left, subheadline + buttons right); illustration centred below */
.hero__card[data-illus="pillars"] .pillars { align-self: center; align-items: center; gap: 16px; margin: auto; padding: 24px 0; } /* centred in the space above the band */
.hero__card[data-illus="pillars"] .pillars__stage { padding-left: 232px; padding-right: 232px; } /* callouts left, card dead centre */
.hero__card[data-illus="pillars"] .pillars[data-style="dark"] .pillars__stage { padding: 0 !important; }
.hero__card[data-illus="pillars"] .pillars .ptabs { left: 0 !important; transform: none; }
/* short screens: scale the illustration so the logo band stays on screen */
@media (min-width: 1101px) and (max-height: 980px) { .hero__card[data-illus="pillars"] .pillars__stage { zoom: .9; } }
@media (min-width: 1101px) and (max-height: 860px) { .hero__card[data-illus="pillars"] .pillars__stage { zoom: .74; } }

/* dark style has no callouts (the labels live inside the card), so the card takes the column on its own */
.pillars[data-style="dark"] .pillars__callouts { display: none; }
.pillars[data-style="dark"] .pillars__stage { padding-left: 0 !important; }
.pillars[data-style="dark"] .ptabs { left: 240px !important; }

/* ---------- Dark style = two panels in one bezel: light (actors being scanned) + dark (check log) ---------- */
.duo { display: none; }
.pillars[data-style="dark"] .pcard { display: none; }
.pillars[data-style="dark"] .duo { display: flex; gap: 12px; padding: 12px; border-radius: 28px; background: rgba(255,255,255,.72);
  box-shadow: inset 0 0 0 1px rgba(6,33,80,.06), 0 1px 2px rgba(6,33,80,.04), 0 40px 70px -36px rgba(6,15,40,.45); }
.pillars[data-style="dark"] .ptabs { left: calc(12px + 372px) !important; } /* centred under the pair */
.duo__light, .duo__dark { height: 420px; display: flex; flex-direction: column; border-radius: 18px; }
.duo__light { width: 312px; padding: 22px 20px 20px; background: #f3f5f9; box-shadow: inset 0 0 0 1px rgba(6,33,80,.08); }
.duo__kicker { font: 500 11px/16px var(--mono); letter-spacing: .16em; color: #6b778c; }
.duo__title { margin-top: 6px; font-size: 22px; line-height: 28px; font-weight: 500; letter-spacing: -.01em; color: var(--ink); }
.duo__title span { display: block; color: #a0a8b8; }
.duo__actors { margin-top: 16px; display: flex; flex-direction: column; gap: 8px; list-style: none; }
.duo__actors li { position: relative; display: grid; grid-template-columns: 28px 1fr 20px; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 12px; overflow: hidden;
  background: #fff; box-shadow: inset 0 0 0 1px rgba(6,33,80,.08); transition: box-shadow .3s, opacity .3s; }
.duo__ic { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: #eef2ff; color: var(--navy); }
.duo__ic svg, .duo__st svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.duo__who { min-width: 0; display: flex; flex-direction: column; }
.duo__who b { font-size: 13px; line-height: 18px; font-weight: 500; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.duo__who small { font-size: 11px; line-height: 16px; color: #6b778c; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.duo__st { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; }
.duo__actors li.is-ok .duo__st { background: #22c55e; color: #fff; }
.duo__actors li.is-no .duo__st { background: #ef4444; color: #fff; }
.duo__actors li.is-no .duo__who small { color: #b91c1c; }
.duo__actors li.is-scan { box-shadow: inset 0 0 0 1.5px #2b5cff, 0 6px 18px -8px rgba(43,92,255,.5); }
.duo__actors li.is-scan .duo__st { border: 2px solid #dbe4ff; border-top-color: #2b5cff; animation: spin .7s linear infinite; }
.duo__sweep { position: absolute; left: 0; right: 0; top: 0; height: 2px; background: linear-gradient(90deg, transparent, rgba(43,92,255,.7), transparent); opacity: 0; }
.duo__actors li.is-scan .duo__sweep { opacity: 1; animation: duoSweep .9s ease-in-out infinite alternate; }
@keyframes duoSweep { to { top: calc(100% - 2px); } }
.duo__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; }
.duo__tags span { padding: 4px 10px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px rgba(6,33,80,.12); font-size: 11px; line-height: 16px; color: #3a4a66; }
.duo__run { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; height: 36px; margin-top: 14px; padding: 0 14px 0 12px; border-radius: 999px;
  background: linear-gradient(#24272e, #0d0f14); color: #fff; font-size: 13px; font-weight: 500; box-shadow: 0 1px 0 rgba(255,255,255,.12) inset, 0 6px 14px -6px rgba(0,0,0,.5); }
.duo__run i { width: 12px; height: 12px; border-radius: 50%; border: 2px solid rgba(89,236,150,.25); border-top-color: #59ec96; animation: spin .8s linear infinite; }
.duo__run svg { width: 14px; height: 14px; fill: none; stroke: #59ec96; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.duo__run.is-done svg[viewBox] path[d^="M3.5"] { stroke: #f87171; }

.duo__dark { width: 432px; padding: 22px 22px 20px; color: #e8ecf5;
  background: radial-gradient(120% 80% at 50% 0%, #1f2532 0%, #0e1119 55%, #090b10 100%);
  box-shadow: 0 0 0 1px rgba(255,255,255,.05) inset, 0 28px 44px -18px rgba(5,10,25,.65); }
.duo__dtitle { font-size: 22px; line-height: 28px; font-weight: 500; letter-spacing: -.01em; color: #f4f6fb; }
.duo__desc { margin-top: 8px; font-size: 13px; line-height: 20px; color: rgba(232,236,245,.6); }
.duo__log { flex: 1; min-height: 0; margin: 16px 0 0; padding: 10px 12px; border-radius: 12px; list-style: none; overflow: hidden;
  background: rgba(255,255,255,.03); box-shadow: inset 0 0 0 1px rgba(255,255,255,.07); font: 12px/18px var(--mono); }
.duo__log li { display: grid; grid-template-columns: 64px 1fr auto; gap: 8px; padding: 3px 0; color: rgba(232,236,245,.7); animation: rise .3s ease both; }
.duo__log .k { color: #9db8ff; }
.duo__log .t { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.duo__log .c { color: #59ec96; }
.duo__log li.is-no .t, .duo__log li.is-no .c { color: #f87171; }
.duo__foot { display: flex; align-items: center; justify-content: space-between; margin-top: 16px; }

/* light style hides the dark-only parts */
.pcard__desc, .pcard__diagram, .pcard__dfoot { display: none; }

/* ---------- Pillars card, dark style: bezel frame + dark panel with a circle field ---------- */
.pillars[data-style="dark"] .pcard { height: 440px; border-radius: 20px; color: #e8ecf5;
  background: radial-gradient(120% 80% at 50% 0%, #1c2230 0%, #0d1018 60%, #090b10 100%);
  box-shadow: 0 0 0 1px rgba(255,255,255,.06) inset, 0 0 0 10px rgba(255,255,255,.78), 0 0 0 11px rgba(6,33,80,.08), 0 40px 60px -30px rgba(6,15,40,.55); }
.pillars[data-style="dark"] .pcard__head { border-bottom-color: rgba(255,255,255,.07); }
.pillars[data-style="dark"] .pcard__crumb { color: rgba(232,236,245,.45); }
.pillars[data-style="dark"] .pcard__status { display: none; }
.pillars[data-style="dark"] .pcard__body { padding-top: 20px; }
.pillars[data-style="dark"] .pcard__kicker { color: rgba(232,236,245,.45); }
.pillars[data-style="dark"] .pcard__title { font-size: 26px; line-height: 32px; color: #f4f6fb; }
.pillars[data-style="dark"] .pcard__title em { color: #9db8ff; }
.pillars[data-style="dark"] .pcard__desc { display: block; margin-top: 8px; font-size: 14px; line-height: 21px; color: rgba(232,236,245,.6); }
.pillars[data-style="dark"] .pcard__rows, .pillars[data-style="dark"] .pcard__meter, .pillars[data-style="dark"] .pcard__footrow { display: none; }
.pillars[data-style="dark"] .pcard__diagram { position: relative; display: block; height: 148px; margin-top: 20px; }
.pcard__diagram svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.pdg__grid line { stroke: rgba(255,255,255,.08); stroke-width: 1; vector-effect: non-scaling-stroke; }
.pdg__rings circle { fill: none; stroke: rgba(255,255,255,.07); stroke-width: 1; vector-effect: non-scaling-stroke; }
.pdg__focus { fill: none; stroke: #59ec96; stroke-width: 1.6; stroke-dasharray: 1.5 4; opacity: 0; transform-box: fill-box; transform-origin: center; transition: opacity .35s ease; }
.pdg__focus.is-on { opacity: .9; animation: ringSpin 14s linear infinite; }
@keyframes ringSpin { to { transform: rotate(360deg); } }
.pdg__node { position: absolute; top: 50%; transform: translate(-50%, -50%); padding: 5px 12px; border-radius: 999px; font-size: 12px; line-height: 16px; white-space: nowrap;
  color: rgba(232,236,245,.6); background: rgba(13,16,24,.85); box-shadow: inset 0 0 0 1px rgba(255,255,255,.14); transition: color .35s, box-shadow .35s; }
.pdg__node.is-on { color: #59ec96; box-shadow: inset 0 0 0 1px rgba(89,236,150,.45); }
.pdg__node.is-no { color: #f87171; }
.pdg__node.is-no.is-on { box-shadow: inset 0 0 0 1px rgba(248,113,113,.5); }
.pillars[data-style="dark"] .pcard__foot { padding: 16px 20px 20px; }
.pillars[data-style="dark"] .pcard__dfoot { display: flex; align-items: center; justify-content: space-between; }
.pcard__badge { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px 0 12px; border-radius: 12px; font-size: 14px; font-weight: 500; }
.pcard__badge.is-ok { background: rgba(89,236,150,.1); color: #8ff5b8; box-shadow: inset 0 0 0 1px rgba(89,236,150,.18); }
.pcard__badge.is-live { background: rgba(248,113,113,.1); color: #fca5a5; box-shadow: inset 0 0 0 1px rgba(248,113,113,.2); }
.pcard__badge svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pcard__badge i { width: 7px; height: 7px; border-radius: 50%; background: #f87171; animation: pulse 1.4s ease-in-out infinite; }

/* pillar tabs: the reference's pill switcher, in brand radii */
.ptabs { position: relative; display: flex; gap: 4px; left: calc(232px + 240px); transform: translateX(-50%); /* centred under the 480px card without widening the column */ padding: 4px; border-radius: 14px; background: #eef1f6; box-shadow: inset 0 0 0 1px rgba(6,33,80,.08); }
.ptabs button { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 10px; font: 400 15px/1 var(--mono); color: #6b778c; transition: background .2s, color .2s, box-shadow .2s; }
.ptabs button i { width: 7px; height: 7px; border-radius: 50%; background: #c4cad6; transition: background .2s; }
.ptabs button:hover { color: var(--navy); }
.ptabs button.is-active { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(6,33,80,.15); }
.ptabs button.is-active i { background: #22c55e; }
.ptabs button:focus-visible { outline: 2px solid #2b5cff; outline-offset: 1px; }

/* works-with logo band (hero version "logos") */
.works { display: flex; align-items: center; gap: 32px; margin: 0 -56px; padding: 18px 56px 22px; border-top: 1px solid rgba(6,33,80,.06); background: rgba(255,255,255,.55); }
.works__label { display: inline-flex; align-items: center; gap: 8px; flex: none; font-size: 14px; font-weight: 500; color: var(--ink); }
.works__icon { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 8px; background: #e6ebfe; color: var(--navy); }
.works__icon svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linejoin: round; stroke-linecap: round; }
.works__track { flex: 1; min-width: 0; overflow: hidden; -webkit-mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.works__row { display: flex; gap: 40px; width: max-content; animation: marquee 40s linear infinite; }
.works:hover .works__row { animation-play-state: paused; }
.works__item { display: inline-flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 500; color: #6b778c; white-space: nowrap; filter: grayscale(1); opacity: .75; transition: filter .3s, opacity .3s; }
.works__item:hover { filter: none; opacity: 1; }
.works__item img { width: 20px; height: 20px; object-fit: contain; }
@keyframes marquee { to { transform: translateX(calc(-50% - 20px)); } }
/* hero versions: logo band or impact stats */
.hero__card[data-variant="logos"] .impact, .hero__card[data-variant="stats"] .works { display: none; }

/* version switch: floating pencil button, bottom-right of the screen */
.tweaks[hidden] { display: none; }
.tweaks { position: fixed; right: 24px; bottom: 24px; z-index: 60; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.tweaks__panel { width: 240px; padding: 12px; border-radius: 16px; background: rgba(255,255,255,.92); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border: 1px solid rgba(6,33,80,.12); box-shadow: 0 16px 40px -12px rgba(6,33,80,.35); transform-origin: bottom right; animation: tweaksIn .18s ease-out; }
.tweaks__panel[hidden] { display: none; }
@keyframes tweaksIn { from { opacity: 0; transform: translateY(6px) scale(.97); } }
.tweaks__title { padding: 0 4px 8px; font-size: 12px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: #6b778c; }
.tweaks__item { padding: 12px; border-radius: 12px; background: #f3f5fa; }
.tweaks__item + .tweaks__item { margin-top: 8px; }
.tweaks__panel[data-hero="dna"] .tweaks__item--classic { display: none; }
.tweaks__panel[data-hero="classic"] .tweaks__item--dna { display: none; }
.tweaks__label { display: block; margin-bottom: 8px; font-size: 14px; font-weight: 500; color: var(--ink); }
.tweaks__tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; border-radius: 10px; background: #e6ebf3; }
.tweaks__tabs button { height: 32px; border-radius: 8px; font-size: 13px; font-weight: 500; text-align: center; color: #3a4a66; transition: background .2s, color .2s, box-shadow .2s; }
.tweaks__tabs--3 { grid-template-columns: repeat(3, 1fr); }
.tweaks__tabs button:hover { color: var(--navy); }
.tweaks__tabs button[aria-checked="true"] { background: #fff; color: var(--navy); box-shadow: 0 1px 3px rgba(6,33,80,.15); }
.tweaks__tabs button:focus-visible { outline: 2px solid #2b5cff; outline-offset: 1px; }
.variant-switch { position: relative; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  background: rgba(255,255,255,.85); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border: 1px solid rgba(6,33,80,.16); color: var(--navy);
  box-shadow: 0 8px 24px -8px rgba(6,33,80,.35); transition: transform .15s, background .2s, border-color .2s; }
.variant-switch:hover { background: #fff; border-color: var(--navy); }
.variant-switch:active { transform: scale(.94); }
.variant-switch:focus-visible { outline: 2px solid #2b5cff; outline-offset: 3px; }
.variant-switch svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* impact points */
.impact { display: flex; align-items: center; justify-content: space-between; margin: 0 -56px; padding: 22px 56px 26px; list-style: none; border-top: 1px solid rgba(6,33,80,.06); background: rgba(255,255,255,.55); }
.impact li { display: flex; align-items: baseline; gap: 12px; white-space: nowrap; }
.impact li + li::before { content: ""; align-self: center; width: 6px; height: 6px; margin-right: clamp(24px, 4vw, 64px); border-radius: 50%; background: #d5dcea; }
.impact b { font-size: 40px; line-height: 48px; font-weight: 500; letter-spacing: -.02em; color: var(--ink); }
.impact span { font-size: 16px; font-weight: 500; color: #24395c; }

/* Cycling lists: active item's .bar fills over --cycle, then advances */
.bar { position: absolute; left: 0; right: 0; bottom: 0; overflow: hidden; pointer-events: none; }
.bar::after { content: ""; position: absolute; inset: 0; width: 0; }
.is-active > .bar::after { animation: fill var(--cycle) linear forwards; }
.cycle.is-paused .is-active > .bar::after { animation-play-state: paused; }
@keyframes fill { to { width: 100%; } }
@keyframes pulse { 50% { opacity: .35; } }

/* Three pillars: headline over a lede (as the other sections) + three line-art figures */
.layers { max-width: 1440px; margin: 0 auto; padding: clamp(32px, 7vh, 80px) 79px clamp(32px, 6vh, 64px); }
/* desktop: exactly one view under the 80px nav; the figures take whatever height the copy leaves */
@media (min-width: 1101px) {
  .layers { height: max(calc(100vh - 80px), 600px); height: max(calc(100svh - 80px), 600px); display: flex; flex-direction: column; }
  /* the three columns share rows (label, figure, title, text), so their titles line up */
  .layers__grid { flex: 1; min-height: 0; grid-template-rows: auto minmax(80px, 280px) auto auto; align-content: start; }
  .layers__col { display: grid; grid-row: span 4; grid-template-rows: subgrid; min-height: 0; }
  .layers .layers__art { height: auto; min-height: 0; margin: clamp(12px, 2vh, 20px) 0 clamp(16px, 2.6vh, 28px); }
}
.layers__head { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; } /* as the other section heads */
.layers__head .lede { max-width: 743px; }
.layers__grid { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: clamp(40px, 8vh, 96px); }
.layers__col { padding: 0 44px; border-left: 1px solid rgba(6,33,80,.12); }
.layers__col:first-child { padding-left: 0; border-left: 0; }
.layers__fig { display: inline-flex; align-items: center; gap: 8px; font: 12px/1 var(--mono); letter-spacing: .16em; color: #6b778c; }
.layers__hex { width: 14px; height: 14px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.2; stroke-linejoin: round; }
/* sized off the viewport height so the lead and all three columns fit on one screen */
.layers__art { height: clamp(190px, 28vh, 280px); margin: 20px 0 28px; }
.layers__art .fig { display: block; width: 100%; height: 100%; overflow: visible; } /* viewBox scales to fit, centred */
.layers__col h3 { font-size: 16px; font-weight: 500; line-height: 20px; }
.layers__col p { max-width: 420px; margin-top: 12px; font-size: 16px; line-height: 1.5; color: var(--muted); }

.fig path { fill: none; stroke: var(--navy); stroke-width: 1; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.fig .slab-side, .fig .base-side { fill: var(--page); stroke-opacity: .5; }
.fig .slab-top, .fig .base-top { fill: var(--page); stroke-opacity: .8; }
.fig .edge { stroke-opacity: .28; }
.fig .guide { stroke-dasharray: 2 3; stroke-opacity: .35; }
.fig .inner { stroke-opacity: .45; }
.fig .faint { stroke-opacity: .22; }
.fig .strand { stroke-width: 2; }
.fig .rung, .fig .ball { stroke-width: 1.5; }
.fig .ball { fill: var(--page); }
/* the top plate lifts on hover; the helix draws itself in when scrolled into view */
.fig .lift { transition: transform .5s cubic-bezier(.22,.8,.24,1); }
.layers__col:hover .lift { transform: translateY(-10px); }
/* FIG 1: every plate rises and the stack fans open, bottom plate first */
.fig .plate { transition: transform .55s cubic-bezier(.22,.8,.24,1) calc(var(--i) * 45ms); }
.layers__col:hover .plate { transform: translateY(calc(var(--i) * -9px - 6px)); }
.fig .guide { transition: opacity .3s ease; }
.layers__col:hover .guide { opacity: 0; }
.fig .strand, .fig .rung { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.4s cubic-bezier(.65,0,.35,1) .2s; }
.fig .rung { transition-delay: 1.1s; transition-duration: .5s; }
.fig .ball { opacity: 0; transition: opacity .4s ease 1.5s; }
.layers.is-visible .fig .strand, .layers.is-visible .fig .rung { stroke-dashoffset: 0; }
.layers.is-visible .fig .ball { opacity: 1; }
/* FIG 2 + 3: one soft band of light sweeps across the whole helix (gradient animated in the SVG) */
.fig .shine path { stroke: inherit; fill: none; stroke-width: 2.4; }
.fig .shine { opacity: 0; transition: opacity .6s ease 1.1s; filter: drop-shadow(0 0 3px rgba(91,140,255,.55)); }
.layers.is-visible .fig .shine { opacity: 1; }

/* Between user and output: steps · flow chart · chat, driven together by between.js */
.between { max-width: 1440px; margin: 0 auto; padding: 40px 79px 56px; }
.between__head { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.between__head .h2 { max-width: 653px; }
.between__body { display: grid; grid-template-columns: 280px minmax(0, 1fr) 420px; gap: 48px; margin-top: 48px; align-items: end; } /* all three columns end on one line */

.steps { align-self: end; border-top: 1px solid #d0d0d0; } /* sits at the bottom, level with the flow chart */
.steps .step { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; column-gap: 16px; width: 100%; min-height: 64px; padding: 22px 16px 22px 16px; border-bottom: 1px solid #d0d0d0; text-align: left; opacity: .4; transition: opacity .3s; }
/* the step that's playing opens a line of explanation under its name */
.step__t { line-height: 20px; }
.step__desc { grid-column: 2; display: block; max-height: 0; overflow: hidden; opacity: 0; font-size: 14px; line-height: 20px; color: var(--muted); transition: max-height .45s cubic-bezier(.22,.8,.24,1), opacity .3s, margin .45s cubic-bezier(.22,.8,.24,1); }
.steps .step.is-active .step__desc { max-height: 160px; margin-top: 6px; opacity: 1; }
.steps .step.is-active, .steps .step.is-done, .steps .step:hover { opacity: 1; }
.steps .step.is-done:not(.is-active) { opacity: .7; }
.step__n { font-family: var(--mono); }
.steps .step .bar { bottom: -1px; height: 1px; }
.steps .step .bar::after { background: #050505; }
.steps .step.is-active > .bar::after { animation-duration: var(--dur, 5s); }

/* flow chart */
.flow2 { position: relative; width: 400px; height: 584px; margin: 0 auto; font: 12px/16px var(--mono); }
.flow2::before { /* faint vertical grid, as in the reference */
  content: ""; position: absolute; inset: 0 -40px;
  background: repeating-linear-gradient(90deg, rgba(6,33,80,.06) 0 1px, transparent 1px 40px);
  -webkit-mask: linear-gradient(transparent, #000 12%, #000 88%, transparent); mask: linear-gradient(transparent, #000 12%, #000 88%, transparent);
}
.flow2__lines { position: absolute; inset: 0; overflow: visible; }
.flow2__lines path { fill: none; stroke-width: 1.5; stroke-linecap: round; }
.flow2__lines .base { stroke: rgba(6,33,80,.14); stroke-dasharray: 3 4; stroke-width: 1; }
.flow2__lines .seg { stroke: var(--navy); stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset .7s cubic-bezier(.65,0,.35,1); }
.flow2__lines .seg--deny { stroke: #ec5959; }
.flow2__lines .seg.on { stroke-dashoffset: 0; }

.fnode { position: absolute; left: 85px; display: flex; align-items: center; gap: 8px; height: 30px; padding: 0 12px 0 7px; border: 1px solid #d0d0d0; border-radius: 8px; background: var(--page); color: #999; white-space: nowrap; font-size: 13px; transition: background .35s, border-color .35s, box-shadow .35s; z-index: 1; }
.fnode img { width: 16px; height: 16px; filter: invert(.6); transition: filter .35s; }
.fnode b { width: 6px; height: 6px; margin: 0 5px; border-radius: 50%; background: #c9c9c9; transition: background .35s; }
.fnode.on { background: var(--node); border-color: var(--node); color: #fff; }
.fnode.on img { filter: none; }
.fnode.on b { background: var(--green); }
.fnode.pulse { box-shadow: 0 0 0 4px rgba(43,92,255,.18); }

.fgrp { position: absolute; left: 120px; font-size: 10px; line-height: 12px; letter-spacing: .08em; color: #999; opacity: .5; }
.fgrp.on { opacity: 1; }
.frow { position: absolute; left: 120px; display: flex; align-items: center; gap: 6px; color: #b5b5b5; white-space: nowrap; }
.frow i { width: 12px; height: 12px; border: 1px solid #d0d0d0; border-radius: 2px; background: var(--page) no-repeat center / 10px; transition: background-color .25s, border-color .25s; }
.frow.on { color: var(--ink); }
.frow.on i { background-color: var(--green); border-color: var(--green-edge); background-image: url(assets/scan/tick-double.svg); }
.frow--deny.on { color: #e40d0d; }
.frow--deny.on i { background: #ec5959 url(assets/scan/cross.svg) no-repeat center / 10px; border-color: #be3434; }

/* chat: sleek light panel (content from Figma frames 1–5, styling after the reference) */
.chat { display: flex; flex-direction: column; height: 560px; background: #fff; border: 1px solid #e3e6eb; border-radius: 12px; overflow: hidden; box-shadow: 0 1px 2px rgba(6,33,80,.04), 0 12px 32px -12px rgba(6,33,80,.12); color: var(--ink); }
.chat svg { fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.chat__head { display: flex; align-items: center; gap: 10px; height: 52px; padding: 0 18px; border-bottom: 1px solid #eceef2; font-size: 16px; }
.chat__icon { width: 18px; height: 18px; color: var(--navy); }
.chat__head #chatTitle { transition: opacity .25s, transform .25s; }
.chat__head #chatTitle.swap { opacity: 0; transform: translateY(-4px); }
.chat__more { color: #b0b4bb; letter-spacing: 1px; }
.chat__list { width: 18px; height: 18px; margin-left: auto; color: #9aa0a8; }
.chat__body { flex: 1; min-height: 0; display: flex; flex-direction: column; gap: 14px; padding: 18px 18px 8px; overflow: hidden; scroll-behavior: smooth; font-size: 15px; line-height: 22px; }
.chat__body > * { flex: none; animation: rise .35s cubic-bezier(.22,.8,.24,1) both; }
@keyframes rise { from { opacity: 0; transform: translateY(6px); } }
.bubble--user { align-self: flex-end; max-width: 82%; padding: 10px 14px; background: #f1f3f6; border-radius: 12px; }
.msg code, .bubble code, .chk code { padding: 1px 6px; border-radius: 5px; background: #f1f3f6; font: 13px/20px var(--mono); color: var(--navy); }
.meta { font-size: 13px; line-height: 18px; color: #8a8f98; }
.reply { align-self: flex-start; max-width: 92%; padding: 12px 14px 13px; background: #f7f8fa; border: 1px solid #eceef2; border-radius: 12px; }
.reply__who { display: flex; align-items: center; gap: 6px; margin-bottom: 6px; font-size: 13px; line-height: 18px; font-weight: 500; }
.reply__who img { width: 18px; height: 16px; object-fit: cover; }
.reply__who span { font-weight: 400; color: #8a8f98; }
.reply__text { font-size: 15px; line-height: 22px; }
.reply__text code { padding: 1px 6px; border-radius: 5px; background: #eceff3; font: 13px/20px var(--mono); color: var(--navy); }

/* a check: streams details, then folds into one "approved" line with a divider */
.chk { padding-bottom: 10px; border-bottom: 1px solid #eceef2; font-size: 13px; line-height: 18px; }
.chk__head { display: flex; align-items: center; gap: 8px; color: #8a8f98; }
.chk__dot { width: 8px; height: 8px; border-radius: 50%; background: #f80; box-shadow: 0 0 0 3px rgba(255,136,0,.15); animation: pulse 1.2s ease-in-out infinite; flex: none; }
.chk__label { color: #b86200; }
.chk:not(.ok) .chk__label::after { content: "…"; }
.chk__time { display: none; }
.chk__time::after { content: " ›"; }
.chk__rows { display: grid; grid-template-rows: 1fr; transition: grid-template-rows .45s cubic-bezier(.65,0,.35,1), opacity .3s; }
.chk__rows > div { overflow: hidden; display: flex; flex-direction: column; gap: 4px; padding: 8px 0 0 16px; font: 12px/16px var(--mono); color: #8a8f98; }
.chk__rows span { display: flex; flex-wrap: wrap; align-items: center; gap: 0 6px; animation: rise .3s ease both; }
.chk__rows span i { width: 3px; height: 3px; border-radius: 50%; background: #c4c8ce; flex: none; }
.chk.ok .chk__dot { background: var(--green) url(assets/scan/tick-double.svg) no-repeat center / 8px; width: 14px; height: 14px; box-shadow: none; animation: none; border: 1px solid var(--green-edge); }
.chk.ok .chk__label { color: var(--green-edge); }
.chk.ok .chk__time { display: inline; color: #a3a8b0; }
.chk.ok .chk__rows { grid-template-rows: 0fr; opacity: 0; }
.chk.ok .chk__rows > div { padding-top: 0; }
.chk__head + .chk__head { margin-top: 6px; }

.chat__ask { margin: 8px 14px 14px; padding: 10px 12px 8px 14px; border: 1px solid #e3e6eb; border-radius: 12px; background: #fafbfc; }
.chat__input { position: relative; display: flex; align-items: center; height: 24px; font-size: 15px; white-space: nowrap; overflow: hidden; }
.chat__caret { width: 1px; height: 18px; margin-left: 1px; background: var(--ink); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.chat__ph { position: absolute; left: 6px; color: #a3a8b0; pointer-events: none; }
.chat__input.has-text .chat__ph { display: none; }
.chat__tools { display: flex; align-items: center; gap: 12px; margin-top: 10px; color: #8a8f98; }
.chat__tools > svg { width: 18px; height: 18px; }
.chat__spacer { flex: 1; }
.chat__ask button { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: var(--navy); color: #fff; transition: transform .15s, background .2s; }
.chat__ask button svg { width: 16px; height: 16px; stroke-width: 1.8; }
.chat__ask button.press { transform: scale(.88); background: #2b5cff; }
.between.ff *, .between.ff *::before, .between.ff *::after { transition: none !important; animation: none !important; }

/* Integrations */
/* a full screen tall, so the next section never peeks in wherever the visitor rests on it */
.cover { position: relative; display: flex; flex-direction: column; max-width: 1440px; min-height: 100vh; min-height: 100svh; margin: 0 auto; padding-bottom: 48px; overflow: hidden; }
.cover__content { position: relative; z-index: 1; padding: 73px 0 0 79px; }
.cover__content .h2 { width: 653px; }
.cover__content .lede { width: 743px; margin-top: 17px; }

/* honeycomb: 124×143 pointy-top tiles, 28px gutters, rows offset by half a step */
.hive { position: relative; flex: 1; min-height: 430px; margin-top: 40px;
  -webkit-mask: radial-gradient(ellipse 50% 50% at 50% 50%, #000 45%, transparent 100%); mask: radial-gradient(ellipse 50% 50% at 50% 50%, #000 45%, transparent 100%); }
.hive__field { position: absolute; left: 50%; top: 50%; width: 1568px; height: 667px; transform: translate(-50%, -50%) rotate(13deg); } /* = Figma −13° (CSS angles run clockwise) */
.hx { position: absolute; width: 124px; height: 143.18px; transition: filter .6s ease, transform .6s cubic-bezier(.22,.8,.24,1); }
.hx svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.hx__base { fill: #f3f3f4; transition: fill .6s ease; }
.hx__edge { fill: none; stroke: rgba(0,0,0,.035); stroke-width: 1; transition: stroke .6s ease; }
.hx__dark { fill: url(#hxDark); opacity: 0; transition: opacity .6s ease; }
.hx img { position: absolute; left: 50%; top: 50%; width: 46px; height: 46px; object-fit: contain; transform: translate(-50%, -50%) rotate(-13deg) scale(.6); /* counter-rotated: logos stay upright */ opacity: 0; transition: opacity .45s ease, transform .6s cubic-bezier(.22,.8,.24,1); }
.hx.on { transform: translateY(-3px); }
.hx.on img { opacity: 1; transform: translate(-50%, -50%) rotate(-13deg) scale(1); transition-delay: .12s; }
.hx.on.is-ai { filter: drop-shadow(0 10px 18px rgba(6,33,80,.12)) drop-shadow(0 2px 4px rgba(6,33,80,.06)); }
.hx.on.is-ai .hx__base { fill: #fff; }
.hx.on.is-ai .hx__edge { stroke: rgba(0,0,0,.06); }
.hx.on.is-app { filter: drop-shadow(0 12px 20px rgba(0,0,0,.22)) drop-shadow(0 2px 4px rgba(0,0,0,.12)); }
.hx.on.is-app .hx__dark { opacity: 1; }
.hx img.mono-light { filter: invert(1); } /* single-colour app marks read white on dark tiles */

/* What AgentDNA protects: sky photo stage, macOS window, floating glass dock */
.protects { max-width: 1440px; margin: 0 auto; padding: 24px; }
.protects__stage { position: relative; isolation: isolate; display: flex; flex-direction: column; align-items: center; min-height: calc(100svh - 48px); padding: 80px 48px 0; border-radius: 24px; overflow: hidden;
  /* sky photo alternative: #9fc3e6 url(assets/sky-clouds.jpg) center 30% / cover no-repeat */
  background: linear-gradient(180deg, #02081c 0%, #061a4a 28%, #0f3aa8 58%, #2f63e6 82%, #6f98f2 100%); }
/* northern-lights glow: two slow layers of blurred light ribbons */
.protects__stage > .protects__aurora { position: absolute; inset: -25%; z-index: -2; pointer-events: none; filter: blur(70px); mix-blend-mode: screen;
  background:
    radial-gradient(28% 16% at 30% 52%, rgba(91,140,255,.75), transparent 70%),
    radial-gradient(24% 14% at 68% 46%, rgba(120,214,255,.45), transparent 70%),
    radial-gradient(34% 18% at 50% 70%, rgba(43,92,255,.8), transparent 72%),
    radial-gradient(30% 20% at 14% 88%, rgba(201,213,255,.55), transparent 70%),
    radial-gradient(30% 20% at 88% 86%, rgba(201,213,255,.5), transparent 70%);
  animation: auroraA 18s ease-in-out infinite alternate; }
.protects__stage > .protects__aurora + .protects__aurora { opacity: .7; filter: blur(90px);
  background:
    radial-gradient(40% 10% at 40% 40%, rgba(110,190,255,.55), transparent 70%),
    radial-gradient(36% 9% at 62% 58%, rgba(150,120,255,.35), transparent 70%),
    radial-gradient(44% 12% at 50% 30%, rgba(60,110,255,.5), transparent 70%);
  animation: auroraB 26s ease-in-out infinite alternate; }
@keyframes auroraA { 0% { transform: translate3d(-4%, 2%, 0) rotate(-3deg) scale(1); } 50% { transform: translate3d(3%, -2%, 0) rotate(2deg) scale(1.08); } 100% { transform: translate3d(5%, 1%, 0) rotate(5deg) scale(1.02); } }
@keyframes auroraB { 0% { transform: translate3d(6%, -3%, 0) skewX(-12deg); } 100% { transform: translate3d(-6%, 4%, 0) skewX(10deg) scale(1.1); } }
.protects__stage::after { /* fine grain keeps the gradient from banding */
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .1; mix-blend-mode: overlay; background: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%22180%22%20height%3D%22180%22%3E%3Cfilter%20id%3D%22n%22%3E%3CfeTurbulence%20type%3D%22fractalNoise%22%20baseFrequency%3D%22.85%22%20numOctaves%3D%222%22%20stitchTiles%3D%22stitch%22/%3E%3CfeColorMatrix%20values%3D%220%200%200%200%200%20%200%200%200%200%20.08%20%200%200%200%200%20.2%20%200%200%200%20.9%200%22/%3E%3C/filter%3E%3Crect%20width%3D%22100%25%22%20height%3D%22100%25%22%20filter%3D%22url%28%23n%29%22/%3E%3C/svg%3E"); }
.protects__stage > * { position: relative; }
.protects__head { max-width: 760px; text-align: center; color: #fff; }
.protects__head .lede { margin-top: 16px; color: rgba(225,233,255,.78); opacity: 1; }

.mac { width: min(1200px, 100%); margin-top: 36px; background: #fff; border-radius: 14px; overflow: hidden;
  /* translucent blue halo frame + glow, as in the reference */
  box-shadow: 0 0 0 1px rgba(255,255,255,.35), 0 0 0 10px rgba(140,175,255,.16), 0 0 0 11px rgba(190,210,255,.22), 0 30px 80px -20px rgba(2,8,28,.6), 0 0 120px 10px rgba(70,120,255,.35); }
.mac__bar { position: relative; display: flex; align-items: center; height: 40px; padding: 0 14px; background: linear-gradient(#f7f8fa, #eef0f3); border-bottom: 1px solid #e1e4e9; }
.mac__dots { display: flex; gap: 8px; }
.mac__dots i { width: 12px; height: 12px; border-radius: 50%; background: #ff5f57; box-shadow: inset 0 0 0 .5px rgba(0,0,0,.18); }
.mac__dots i:nth-child(2) { background: #febc2e; }
.mac__dots i:nth-child(3) { background: #28c840; }
.mac__title { position: absolute; left: 50%; transform: translateX(-50%); padding: 3px 12px; border-radius: 6px; background: rgba(0,0,0,.04); font: 12px/16px var(--mono); color: #5d6675; transition: opacity .25s; }
.mac__title.swap { opacity: 0; }
.mac__view { position: relative; aspect-ratio: 2634 / 1364; overflow: hidden; background: #f6f8fb; }
.mac__view img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform-origin: var(--focus, 50% 50%); transform: scale(var(--zoom, 1)); transition: transform 1.1s cubic-bezier(.65,0,.35,1), transform-origin 1.1s cubic-bezier(.65,0,.35,1); }
.mac__view img { transition: transform 1.1s cubic-bezier(.65,0,.35,1), transform-origin 1.1s cubic-bezier(.65,0,.35,1), opacity .22s ease; }
.mac__view img.swap { opacity: 0; }
/* the Investigate recording plays over the screenshot while its tab is up */
.mac__view video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 0%; opacity: 0; transition: opacity .22s ease; pointer-events: none; }
.mac__view video.is-on { opacity: 1; }

.dock { display: flex; gap: 4px; margin-top: 36px; padding: 6px; border-radius: 16px; background: rgba(255,255,255,.08); -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.16), 0 12px 30px -12px rgba(2,8,28,.6); z-index: 2; }
.tab { position: relative; display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 12px; overflow: hidden; font-size: 15px; font-weight: 500; color: rgba(225,233,255,.78); white-space: nowrap; transition: background .25s, color .25s, box-shadow .25s; }
.tab svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.tab:hover { background: rgba(255,255,255,.1); color: #fff; }
.tab.is-active { background: #fff; color: var(--navy); box-shadow: 0 2px 10px rgba(2,8,28,.25); }
.tab .bar { left: 16px; right: 16px; bottom: 6px; height: 2px; border-radius: 2px; }
.tab.is-active .bar { background: rgba(6,33,80,.1); }
.tab .bar::after { background: var(--navy); border-radius: 2px; }


/* scroll-driven expand (desktop). Nothing resizes while scrolling (that caused the flicker):
   the frame is always full size and a clip-path opens from the 24px inset; head, dock and window
   only translate/scale. Values are written by script.js. */
@media (min-width: 1101px) {
  .protects { max-width: none; padding: 0; height: calc(200svh - 80px); }
  .protects__stage { position: sticky; top: 80px; width: 100%; max-width: none; height: calc(100svh - 80px); min-height: 0; margin: 0;
    padding-top: 104px; border-radius: 0; clip-path: inset(24px round 24px); }
  .protects__head, .dock, .mac { flex: none; will-change: transform; backface-visibility: hidden; } /* never squash to fit the pinned height */
  .mac { width: min(1080px, calc(100% - 120px)); transform-origin: 50% 0; }
  .mac__view { aspect-ratio: 7 / 4; } /* natural laptop-window proportion */
  /* fit the dashboard to the window width (never crop its sides); its bottom fades into the app background */
  .mac__view img, .mac__view video { bottom: auto; height: auto; object-fit: initial; } /* full width, top-aligned; the window crops the bottom */
}

/* Quick start: dark CLI-style developer section */
.dev { max-width: 1440px; margin: 40px auto 0; padding: 0 24px; }
.dev__stage { position: relative; overflow: hidden; padding: clamp(32px, 5vh, 64px) 64px clamp(28px, 4vh, 48px); border-radius: 24px; color: #e6ebfe;
  background: radial-gradient(60% 40% at 15% 0%, rgba(43,92,255,.18), transparent 70%), radial-gradient(50% 40% at 100% 100%, rgba(43,92,255,.12), transparent 70%), #060b18;
  box-shadow: inset 0 0 0 1px rgba(201,213,255,.08); }
.dev__stage::before { /* faint scanline grid */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background: linear-gradient(rgba(201,213,255,.035) 1px, transparent 1px) 0 0 / 100% 32px, linear-gradient(90deg, rgba(201,213,255,.035) 1px, transparent 1px) 0 0 / 32px 100%;
  -webkit-mask: radial-gradient(70% 60% at 50% 30%, #000, transparent); mask: radial-gradient(70% 60% at 50% 30%, #000, transparent); }
.dev__stage > * { position: relative; }
.dev__prompt { display: inline-flex; align-items: center; gap: 2px; padding: 6px 12px; border-radius: 8px; background: rgba(201,213,255,.06); box-shadow: inset 0 0 0 1px rgba(201,213,255,.12); font: 13px/16px var(--mono); color: #59ec96; }
.dev__prompt i { width: 7px; height: 14px; margin-left: 4px; background: #59ec96; animation: blink 1s steps(1) infinite; }
.dev__head .h2 { margin-top: 16px; color: #fff; }
.dev__head .lede { max-width: 620px; margin-top: 16px; color: rgba(225,233,255,.62); opacity: 1; }

.dev__cards { display: grid; grid-template-columns: 1fr 32px 1fr 32px 1fr; margin-top: clamp(24px, 4vh, 48px); list-style: none; }
.dcard { position: relative; display: flex; flex-direction: column; min-height: clamp(360px, 46vh, 440px); border: 1px solid rgba(201,213,255,.1); border-radius: 4px; background: rgba(255,255,255,.015); transition: border-color .4s, background .4s; }
.dcard.is-active { border-color: rgba(201,213,255,.28); background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.01)); }
.tick { position: absolute; width: 7px; height: 7px; background: #e6ebfe; opacity: 0; transition: opacity .4s; }
.tick.tl { left: -4px; top: -4px; } .tick.tr { right: -4px; top: -4px; } .tick.bl { left: -4px; bottom: -4px; } .tick.br { right: -4px; bottom: -4px; }
.dcard.is-active .tick { opacity: 1; }
.dcard__arrow { display: grid; place-items: center; color: rgba(201,213,255,.35); }
.dcard__arrow svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }

.dcard__art { position: relative; flex: 1; display: grid; place-items: center; padding: 20px 24px 4px; overflow: hidden; }
.dcard__art::before { content: ""; position: absolute; inset: 0; pointer-events: none; -webkit-mask: radial-gradient(70% 70% at 50% 45%, #000 30%, transparent 80%); mask: radial-gradient(70% 70% at 50% 45%, #000 30%, transparent 80%); }
.dcard__art--hatch::before { background: repeating-linear-gradient(135deg, rgba(201,213,255,.07) 0 1px, transparent 1px 9px); }
.dcard__art--dots::before { background: radial-gradient(circle at 1px 1px, rgba(201,213,255,.16) 1px, transparent 1.4px) 0 0 / 14px 14px; }
.dcard__art--grid::before { background: linear-gradient(rgba(201,213,255,.06) 1px, transparent 1px) 0 0 / 18px 18px, linear-gradient(90deg, rgba(201,213,255,.06) 1px, transparent 1px) 0 0 / 18px 18px; }
.dcard__art > * { position: relative; width: 100%; max-width: 340px; }
.dcard__text { padding: 24px 28px 28px; }
.dcard__n { font: 12px/16px var(--mono); letter-spacing: .12em; color: rgba(201,213,255,.45); transition: color .4s; }
.dcard.is-active .dcard__n { color: #59ec96; }
.dcard__text h3 { margin-top: 8px; font-size: 18px; font-weight: 500; line-height: 24px; color: #fff; }
.dcard__text p { margin-top: 8px; font-size: 14px; line-height: 21px; color: rgba(225,233,255,.55); }

/* step 1: terminal */
.term { border-radius: 10px; background: #0b1326; box-shadow: 0 0 0 1px rgba(201,213,255,.12), 0 20px 40px -20px rgba(0,0,0,.7); overflow: hidden; }
.term__bar { display: flex; align-items: center; gap: 6px; height: 28px; padding: 0 12px; border-bottom: 1px solid rgba(201,213,255,.08); }
.term__bar span { width: 8px; height: 8px; border-radius: 50%; background: rgba(201,213,255,.18); }
.term__bar b { margin-left: auto; font: 500 11px var(--mono); color: rgba(201,213,255,.4); }
.term__body { height: 150px; overflow: hidden; margin: 0; padding: 14px 14px 16px; font: 12.5px/20px var(--mono); color: #cfd8f7; white-space: pre-wrap; }
.term__body .c-p { color: #8fb0ff; } .term__body .c-ok { color: #59ec96; } .term__body .c-dim { color: rgba(201,213,255,.45); } .term__body .c-warn { color: #f80; }
.caret { display: inline-block; width: 7px; height: 14px; margin-left: 1px; vertical-align: -2px; background: #cfd8f7; animation: blink 1s steps(1) infinite; }

/* step 2: API key box */
.keybox { padding: 16px; border-radius: 10px; background: #0b1326; box-shadow: 0 0 0 1px rgba(201,213,255,.12), 0 20px 40px -20px rgba(0,0,0,.7); font-size: 12px; }
.keybox__head { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; font-weight: 500; color: #e6ebfe; }
.keybox__dot { width: 6px; height: 6px; border-radius: 50%; background: #59ec96; box-shadow: 0 0 0 3px rgba(89,236,150,.15); }
.keybox__head b { margin-left: auto; padding: 2px 8px; border-radius: 6px; background: rgba(89,236,150,.1); font: 500 10px/16px var(--mono); letter-spacing: .06em; color: #59ec96; }
.keybox label { display: block; margin: 0 0 6px; font: 10px/14px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: rgba(201,213,255,.45); }
.keybox__field { display: flex; align-items: center; gap: 8px; height: 36px; margin-bottom: 12px; padding: 0 4px 0 12px; border-radius: 8px; background: #060b18; box-shadow: inset 0 0 0 1px rgba(201,213,255,.12); }
.keybox__field:last-child { margin-bottom: 0; }
.keybox__field code { flex: 1; overflow: hidden; font: 12px var(--mono); color: #cfd8f7; white-space: nowrap; text-overflow: ellipsis; }
.keybox__field button { height: 28px; padding: 0 12px; border-radius: 6px; background: rgba(201,213,255,.1); font: 500 11px var(--mono); color: #e6ebfe; transition: background .25s, color .25s; }
.keybox__field button.copied { background: #59ec96; color: #062150; }

/* step 3: editor */
.editor { border-radius: 10px; background: #0b1326; box-shadow: 0 0 0 1px rgba(201,213,255,.12), 0 20px 40px -20px rgba(0,0,0,.7); overflow: hidden; }
.editor__tab { display: inline-block; padding: 7px 14px; border-right: 1px solid rgba(201,213,255,.08); border-bottom: 1px solid #8fb0ff; font: 11px var(--mono); color: #cfd8f7; }
.editor__code { height: 100px; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: rgba(201,213,255,.25) transparent; margin: 0; padding: 12px 14px; border-top: 1px solid rgba(201,213,255,.08); font: 12px/19px var(--mono); color: #cfd8f7; white-space: pre-wrap; counter-reset: ln; }
.editor__code .k { color: #b39dff; } .editor__code .s { color: #59ec96; } .editor__code .f { color: #8fb0ff; } .editor__code .d { color: rgba(201,213,255,.45); }
.editor__code::-webkit-scrollbar { width: 6px; }
.editor__code::-webkit-scrollbar-thumb { background: rgba(201,213,255,.25); border-radius: 3px; }
.editor__events { height: 72px; overflow: hidden; margin: 0; padding: 8px 14px 12px; border-top: 1px solid rgba(201,213,255,.08); list-style: none; font: 11px/17px var(--mono); color: rgba(201,213,255,.6); }
.editor__events li { animation: rise .3s ease both; }
.editor__events li b { font-weight: 500; color: #59ec96; }

.dev__ctas { display: flex; justify-content: center; gap: 12px; margin-top: clamp(20px, 3.5vh, 40px); }
.pill { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 18px; border-radius: 12px; box-shadow: inset 0 0 0 1px rgba(201,213,255,.28); font: 500 12px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: #e6ebfe; transition: background .25s, box-shadow .25s; }
.pill:hover { background: rgba(201,213,255,.08); box-shadow: inset 0 0 0 1px rgba(201,213,255,.5); }
.pill--solid { background: #e6ebfe; color: #062150; box-shadow: none; }
.pill--solid:hover { background: #fff; box-shadow: none; }
.pill svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* Closing: CTA + footer */
.closing { position: relative; max-width: 1440px; margin: 40px auto 0; border: 1px solid #dddbdb; border-bottom: 0; border-radius: 16px 16px 0 0; overflow: hidden; }
.closing__ascii { position: absolute; inset: 0; pointer-events: none; } /* ascii.js: the revolving DNA strand */
.closing__wash { position: absolute; left: 4px; top: -74px; width: 1614px; height: 681px; opacity: .55; background: linear-gradient(rgba(254,254,254,0), var(--page) 48.077%, rgba(254,254,254,0)); pointer-events: none; }
.cta { position: relative; height: 570px; padding-top: 104px; text-align: center; }
.cta h2 { max-width: 556px; margin: 0 auto; font-size: 48px; font-weight: 500; line-height: 1.25; color: var(--ink); }
.cta .lede { max-width: 658px; margin: 18px auto 0; }
.cta__perks { display: flex; align-items: center; justify-content: center; gap: 16px; margin: 26px 0 40px; font-weight: 500; }
.cta__perks[hidden] { display: none; }
.cta__perks[hidden] + .btn { margin-top: 32px; } /* the perks row held the space above the button */
.cta__perks li { display: flex; align-items: center; gap: 8px; }
.cta__perks img { width: 24px; height: 24px; }
.cta__perks img.pad2 { padding: 1px; }
.cta__perks .dot img { width: 7px; height: 7px; }

/* frosted glass: the DNA strand shows softly through */
.footer { position: relative; margin: 0 16px; padding: 0 0 24px; color: #151515; border-radius: 20px 20px 0 0;
  background: linear-gradient(180deg, rgba(255,255,255,.62), rgba(246,248,253,.48)); -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9), inset 0 0 0 1px rgba(6,33,80,.07), 0 -12px 40px -24px rgba(6,33,80,.18); }
.footer__top { display: grid; grid-template-columns: 1fr repeat(3, 200px); gap: 32px; padding: 56px 56px 64px; } /* 8pt grid; no forced empty height */
.footer__about .brand { margin-left: -4px; } /* the emblem PNG has ~4px of transparent edge */
.footer__about p { max-width: 360px; margin: 16px 0 0; font-size: 14px; line-height: 20px; color: #3a4a66; }
.social { display: flex; align-items: center; gap: 16px; margin: 24px 0 0; }
.social a { opacity: 1; transition: opacity .2s; }
.social a:hover { opacity: .6; }
.social img { width: 20px; height: 20px; }
.social a[href*="x.com"] img { width: 16.667px; height: 16.667px; }
.gh { display: block; position: relative; width: 20px; height: 20px; overflow: hidden; }
.gh img { position: absolute; left: 0; top: 0; width: 20px; height: 19.5066px; }
.footer__col { display: flex; flex-direction: column; gap: 12px; padding-top: 8px; }
.footer__col h4 { margin-bottom: 4px; font-size: 12px; font-weight: 500; line-height: 16px; letter-spacing: .08em; text-transform: uppercase; color: #6b778c; } /* 4 + 12 gap = 16px under the heading */
.footer__col a { width: fit-content; font-size: 14px; line-height: 20px; color: #24395c; opacity: 1; transition: color .2s; }
.footer__col a:hover { color: var(--navy); text-decoration: underline; text-underline-offset: 3px; }
.footer__bottom a:hover { color: var(--navy); }
.footer__ask[hidden] { display: none; }
.footer__ask { display: flex; align-items: center; gap: 16px; width: calc(100% - 112px); margin: 0 auto; padding: 24px 0; border-top: 1px solid rgba(6,33,80,.12); }
.footer__ask-label { font-size: 14px; line-height: 20px; color: #3a4a66; }
.ask { display: flex; gap: 8px; }
.ask__tile { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: rgba(255,255,255,.8); box-shadow: inset 0 0 0 1px rgba(6,33,80,.1), 0 1px 2px rgba(6,33,80,.06); transition: background .2s, box-shadow .2s, transform .2s; }
.ask__tile svg { width: 18px; height: 18px; fill: var(--navy); transition: fill .2s; }
.ask__tile:hover { background: var(--navy); box-shadow: 0 6px 16px -6px rgba(6,33,80,.5); transform: translateY(-1px); }
.ask__tile:hover svg { fill: #fff; }
.ask__tile:focus-visible { outline: 2px solid #2b5cff; outline-offset: 2px; }
.footer__bottom { display: flex; justify-content: space-between; width: calc(100% - 112px); margin: 0 auto; padding: 16px 0 0; border-top: 1px solid rgba(6,33,80,.12); font-size: 13px; line-height: 20px; color: #6b778c; }
.footer__bottom > span { opacity: 1; }
.footer__bottom nav { display: flex; gap: 24px; }
.footer__bottom a { opacity: 1; transition: color .2s; }

/* ---------- Responsive ---------- */
@media (max-width: 1300px) {
  .nav__links { margin-left: 48px; gap: 32px; }
  .hero__visual { width: auto; align-self: stretch; margin: 32px 0 0; }
  .pillars { align-self: stretch; align-items: center; }
  .pillars__stage { padding-left: 0; }
  .pillars__callouts { display: none; }
  .ptabs { left: 0; transform: none; }
  .pcard { width: min(480px, 100%); }
  .hero__top { flex-direction: column; align-items: flex-start; gap: 24px; }
  .hero__card { min-height: 0; padding: 32px 24px 0; }
  .works { margin: 32px -24px 0; padding: 16px 24px 20px; }
  .impact { flex-wrap: wrap; justify-content: flex-start; gap: 16px 32px; margin: 32px -24px 0; padding: 20px 24px 24px; }
  .impact li + li::before { display: none; }
  .between { padding: 64px 24px; }
  .dev__stage { padding: 56px 24px 40px; }
  .dev__cards { grid-template-columns: 1fr; gap: 16px; }
  .dcard__arrow { display: none; }
  .dcard { min-height: 0; }
  .between__body { grid-template-columns: 240px minmax(0, 1fr); }
  .between__body .chat { grid-column: 1 / -1; max-width: 640px; width: 100%; justify-self: center; }
  .footer__top { grid-template-columns: 1fr repeat(3, minmax(120px, 180px)); padding: 48px 24px 0; gap: 24px; min-height: 0; padding-bottom: 48px; }
  .footer__bottom { width: auto; margin: 0 24px; }
  .footer__ask { width: auto; margin: 0 24px; }
}

@media (max-width: 1100px) {
  /* the links fold into a menu that drops down under the bar */
  .nav__menu { display: grid; place-content: center; gap: 6px; width: 44px; height: 44px; margin-left: 8px; border-radius: 12px; color: var(--navy); box-shadow: inset 0 0 0 1px rgba(6,33,80,.14); background: #fff; }
  .nav__menu span { display: block; width: 18px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .25s, opacity .25s; }
  .nav.is-open .nav__menu span:first-child { transform: translateY(4px) rotate(45deg); }
  .nav.is-open .nav__menu span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .nav__links { position: absolute; left: 0; right: 0; top: 100%; display: flex; flex-direction: column; gap: 0; margin: 0; padding: 8px 16px 16px; background: rgba(254,254,254,.98); border-bottom: 1px solid rgba(6,33,80,.08); box-shadow: 0 24px 40px -24px rgba(6,33,80,.25); font-size: 17px;
    visibility: hidden; opacity: 0; transform: translateY(-8px); transition: opacity .2s, transform .2s, visibility 0s .2s; }
  .nav.is-open .nav__links { visibility: visible; opacity: 1; transform: none; transition: opacity .2s, transform .2s; }
  .nav__links a { padding: 14px 8px; border-bottom: 1px solid rgba(6,33,80,.06); }
  .nav__links a:last-child { border-bottom: 0; }
  .nav__inner { position: relative; padding: 0 24px; }
  .layer { height: auto; padding-bottom: 16px; }
  .layers { padding: 72px 24px 80px; }
  .layers__grid { grid-template-columns: 1fr; margin-top: 56px; }
  .layers__col, .layers__col:first-child { padding: 40px 0; border-left: 0; border-top: 1px solid rgba(6,33,80,.12); }
  .layers__art { height: 220px; margin: 24px 0 32px; }
  .cover__content { padding: 72px 24px 0; }
  .cover__content .h2, .cover__content .lede { width: auto; }
  .cover { min-height: 0; }
  .hive { flex: none; min-height: 0; height: 300px; margin-top: 24px; }
  .hive__field { transform: translate(-50%, -50%) rotate(13deg) scale(.72); }
  .dock { max-width: 100%; overflow-x: auto; scrollbar-width: none; }
}

@media (max-width: 720px) {
  .h2, .hero__title, .cta h2 { font-size: 34px; }
  .lede, .hero__sub { font-size: 17px; }
  .nav__inner { padding: 0 16px; }
  .nav__cta { padding: 10px 12px; font-size: 14px; }
  .brand__name { display: none; }
  .hero { padding: 48px 16px 24px; }
  .hero__ctas { flex-direction: column; align-items: stretch; }
  .hero__visual { margin: 24px 0 0; }
  .hero__title { font-size: 36px; line-height: 44px; }
  .hero { padding: 8px 8px 0; }
  .hero__card { padding: 24px 16px 0; border-radius: 18px; }
  .impact { margin: 24px -16px 0; padding: 16px; }
  .works { margin: 24px -16px 0; padding: 14px 16px 18px; gap: 16px; }
  .works__label { display: none; }
  .impact b { font-size: 32px; line-height: 40px; }
  .layers, .cover__content { padding-left: 16px; padding-right: 16px; }
  .between { padding: 56px 16px; }
  .dev { padding: 0 12px; }
  .dev__stage { padding: 48px 16px 32px; border-radius: 18px; }
  .dev__ctas { flex-direction: column; }
  .protects { padding: 12px; }
  .protects__stage { min-height: 0; padding: 48px 16px 32px; border-radius: 18px; }
  /* the four product tabs as a 2 × 2 grid, so none is cut off */
  .dock { display: grid; grid-template-columns: 1fr 1fr; width: 100%; overflow: visible; }
  .tab { justify-content: center; padding: 0 10px; font-size: 14px; }
  /* the window's address sits right of the traffic lights instead of over them */
  .mac__bar { height: 32px; padding: 0 10px; }
  .mac__dots { gap: 6px; }
  .mac__dots i { width: 9px; height: 9px; }
  .mac__title { left: 56px; right: 10px; transform: none; padding: 2px 8px; font-size: 10px; line-height: 14px; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .layers__art { height: 180px; margin: 16px 0 24px; }
  .layers__col, .layers__col:first-child { padding: 32px 0; }
  /* phones: the chat leads and the flow runs under it, as one story; the step list steps aside
     (the chat's title already names the step) */
  .between__body { display: flex; flex-direction: column; align-items: stretch; gap: 40px; margin-top: 32px; }
  /* sized like Neon's mobile prompt card: a compact window onto the latest lines, the prompt box under them */
  .between__body .chat { order: 1; height: 300px; border-radius: 12px; }
  .between__body .chat__head { height: 44px; padding: 0 14px; gap: 8px; font-size: 15px; }
  .between__body .chat__body { gap: 10px; padding: 12px 14px 4px; font-size: 14px; line-height: 20px; }
  .between__body .reply__text { font-size: 14px; line-height: 20px; }
  .between__body .bubble--user { padding: 8px 12px; border-radius: 10px; }
  .between__body .chat__ask { margin: 6px 12px 12px; padding: 10px 10px 8px 12px; border-radius: 10px; }
  .between__body .chat__input { height: 22px; font-size: 14px; }
  .between__body .chat__tools { margin-top: 18px; gap: 10px; }
  .between__body .chat__tools > svg { width: 16px; height: 16px; }
  .between__body .chat__ask button { width: 28px; height: 28px; }
  .between__body .flow2 { order: 2; }
  .between__body .steps { order: 0; align-self: stretch; }
  .steps .step { min-height: 56px; padding: 18px 8px 18px 8px; column-gap: 14px; font-size: 16px; }
  .flow2 { zoom: .85; }
  .flow2::before { inset: 0; }
  .chat { height: 560px; }
  .cta { height: auto; padding: 72px 16px 72px; }
  .cta__perks { flex-direction: column; gap: 10px; }
  .cta__perks .dot { display: none; }
  .footer__top { grid-template-columns: 1fr 1fr; padding: 32px 16px; }
  .footer__about { grid-column: 1 / -1; }
  .footer__about p { width: auto; }
  .footer__bottom { flex-direction: column; gap: 16px; margin: 0 16px; padding: 20px 0 0; }
  .footer__ask { flex-direction: column; align-items: flex-start; gap: 12px; margin: 0 16px; }
  .footer__bottom nav { flex-wrap: wrap; gap: 12px 24px; } /* one line from 375px up; on smaller phones the rows sit 12px apart */
}

/* small phones (iPhone SE, iPhone X, 360-wide Androids) */
@media (max-width: 400px) {
  .h2, .cta h2 { font-size: 30px; line-height: 38px; }
  .lede { font-size: 16px; line-height: 24px; }
  .flow2 { zoom: .72; } /* 400 → 288 wide */
  .between__body .chat { height: 290px; }
  .nav__cta { padding: 9px 12px; font-size: 13px; }
  .between { padding: 48px 16px; }
}
@media (max-width: 340px) {
  .h2, .cta h2 { font-size: 26px; line-height: 34px; }
  .nav__inner { padding: 0 12px; }
  .nav__menu { width: 40px; height: 40px; }
  .tab { gap: 6px; padding: 0 6px; font-size: 13px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .is-active > .bar::after { animation: none; width: 100%; }
  .fig .strand, .fig .rung, .fig .ball, .fig .lift, .fig .plate { transition: none; }
  .fig .shine { display: none; }
  .pcard__rows li, .pillars__callouts li, .pcard__status i, .pdg__focus.is-on, .pcard__badge i, .duo__run i, .duo__sweep, .duo__log li { animation: none; }
  .tweaks__panel { animation: none; }
  .works__row { animation: none; }
  .dev__prompt i, .caret { animation: none; }
    .hx, .hx img, .hx__base, .hx__dark { transition: none; }
  .flow2__lines .seg, .chat__body > *, .chk__rows span, .chk__dot { transition: none; animation: none; }
}

/* ---------- cookie banner (consent.js): bottom-left card on desktop, a sheet along the bottom on phones ---------- */
.consent { position: fixed; z-index: 60; left: 24px; bottom: 24px; width: min(400px, calc(100% - 48px)); padding: 20px; border-radius: 18px; background: #fff;
  box-shadow: 0 0 0 1px rgba(6,33,80,.08), 0 24px 56px -24px rgba(20,36,107,.45); font-family: var(--sans);
  opacity: 0; transform: translateY(16px); transition: opacity .3s, transform .4s cubic-bezier(.16,1,.3,1); }
.consent.is-in { opacity: 1; transform: none; }
.consent__title { margin: 0; font-size: 16px; font-weight: 500; line-height: 22px; color: var(--ink); }
.consent__body { margin: 6px 0 0; font-size: 14px; line-height: 20px; color: var(--muted); }
.consent__body a { color: var(--navy); text-decoration: underline; text-decoration-color: rgba(6,33,80,.3); text-underline-offset: 3px; white-space: nowrap; }
.consent__body a:hover { text-decoration-color: currentColor; }
.consent__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 16px; } /* reject and accept, equal weight */
.consent__actions .btn { height: 40px; padding: 0 12px; font-size: 14px; }
.consent__actions .btn--outline { border: 0; box-shadow: inset 0 0 0 1px rgba(6,33,80,.18); }
@media (max-width: 720px) {
  .consent { left: 12px; right: 12px; bottom: 12px; width: auto; padding: 16px; border-radius: 16px; }
  .consent__actions .btn { height: 44px; } /* easier to tap */
}
@media (prefers-reduced-motion: reduce) { .consent { transition: none; } }

/* forced-dark:start: generated from the rules above, only when the browser forces a dark theme (see the forced-dark script in each page head) */
html.forced-dark { --page: #0a1222; --navy: #e1edff; --navy-deep: #e6eefe; --node: #e8f1ff; --ink: #e9eef6; --text: #ecf0f8; --muted: #b3b8c0; --green: #59ec96; --green-edge: #0e803d; --red: #fe8a85; --red-edge: #be3434; }
html.forced-dark body { background: #0a1222; color: #ecf0f8; }
html.forced-dark a { color: inherit; text-decoration: none; }
html.forced-dark button { color: inherit; background: none; border: 0; }
html.forced-dark .btn--primary { background: #3b6cf0; color: #ffffff; box-shadow: 0 1px 0 rgba(255,255,255,0.12) inset, 0 8px 20px -8px rgba(0,0,0,0.75); }
html.forced-dark .btn svg { fill: none; stroke: currentColor; }
html.forced-dark .btn--primary:hover { background: #5f87f7; }
html.forced-dark .btn--outline { border: 1px solid rgba(175,195,255,0.225); background: #060e1d; color: #e9eef6; }
html.forced-dark .btn--outline:hover { border-color: #3e4d69; background: #060e1d; color: #e1edff; }
html.forced-dark .nav { background: rgba(10,18,34,0.86); border-bottom: 1px solid rgba(175,195,255,0.1); }
html.forced-dark .nav__links { color: #c3cfe2; }
html.forced-dark .nav__links a[aria-current="true"] { color: #e1edff; }
html.forced-dark .nav__links a:hover { color: #e1edff; }
html.forced-dark .nav.is-hero .nav__cta { background: #060e1d; color: #e9eef6; box-shadow: inset 0 0 0 1px rgba(175,195,255,0.225); }
html.forced-dark .nav.is-hero .nav__cta:hover { background: #060e1d; color: #e1edff; box-shadow: inset 0 0 0 1px #3e4d69; }
html.forced-dark .hero__card { background: radial-gradient(60% 50% at 85% 0%, rgba(33,40,79,0.45), transparent 70%), radial-gradient(50% 40% at 0% 100%, rgba(26,31,62,0.7), transparent 70%), linear-gradient(180deg, #131c2e, #0d1626 60%, #111b2c); box-shadow: inset 0 0 0 1px rgba(175,195,255,0.075); }
html.forced-dark .eyebrow { background: #060e1d; box-shadow: 0 0 0 1px rgba(175,195,255,0.1), 0 2px 6px -2px rgba(0,0,0,0.24); color: #c3cfe2; }
html.forced-dark .eyebrow__mark { background: #3b6cf0; }
html.forced-dark .hero__title { color: #e9eef6; }
html.forced-dark .hero__title span { color: #d1ddf1; }
html.forced-dark .hero__sub { color: #b3b8c0; }
html.forced-dark .scan-ctrl { border: 1.5px solid rgba(175,195,255,0.35); background: rgba(6,14,29,0.6); color: #e1edff; }
html.forced-dark .scan-ctrl:hover { border-color: #3e4d69; background: #060e1d; }
html.forced-dark .scan-ctrl:focus-visible { outline: 2px solid #2b5cff; }
html.forced-dark .scan-ctrl svg { fill: none; stroke: currentColor; }
html.forced-dark .pillars__callouts li { background: #1a1f3e; box-shadow: inset 0 0 0 1px rgba(175,195,255,0.15); color: #e1edff; }
html.forced-dark .pillars__callouts li i { background: rgba(6,33,80,0.35); }
html.forced-dark .pillars__callouts li i::after { background: #3b6cf0; }
html.forced-dark .pcard { background: #060e1d; box-shadow: 0 0 0 1px rgba(175,195,255,0.125), 0 1px 2px rgba(0,0,0,0.16), 0 24px 48px -20px rgba(0,0,0,0.48); }
html.forced-dark .pcard__head { border-bottom: 1px solid rgba(175,195,255,0.1); }
html.forced-dark .pcard__crumb { color: #a4afc2; }
html.forced-dark .pcard__status.is-ok { background: #002612; color: #7bc58e; }
html.forced-dark .pcard__status.is-live { background: #2b1516; color: #fc8d80; }
html.forced-dark .pcard__status svg { fill: none; stroke: currentColor; }
html.forced-dark .pcard__status i { background: #ef4444; }
html.forced-dark .pcard__kicker { color: #a4afc2; }
html.forced-dark .pcard__title { color: #e9eef6; }
html.forced-dark .pcard__title em { color: #e1edff; }
html.forced-dark .pcard__rows li { border-top: 1px solid rgba(175,195,255,0.075); }
html.forced-dark .pcard__mark { background: #22c55e; }
html.forced-dark .pcard__rows li.is-no .pcard__mark { background: #ef4444; }
html.forced-dark .pcard__mark svg { fill: none; stroke: #ffffff; }
html.forced-dark .pcard__txt b { color: #e9eef6; }
html.forced-dark .pcard__txt small { color: #a4afc2; }
html.forced-dark .pcard__rows li.is-no .pcard__txt small { color: #fc8d80; }
html.forced-dark .pcard__rows time { color: #94a3b8; }
html.forced-dark .pcard__meter { background: #151f31; }
html.forced-dark .pcard__meter i { background: #3b6cf0; }
html.forced-dark .pcard__meter i.has-block { background: linear-gradient(90deg, #062150 0 calc(100% - 4px), transparent 0); }
html.forced-dark .pcard__footrow { color: #a4afc2; }
html.forced-dark .pcard__footrow a { color: #e1edff; }
html.forced-dark .pillars[data-style="dark"] .duo { background: rgba(6,14,29,0.72); box-shadow: inset 0 0 0 1px rgba(175,195,255,0.075), 0 1px 2px rgba(0,0,0,0.144), 0 40px 70px -36px rgba(0,0,0,0.75); }
html.forced-dark .duo__light { background: #131c2e; box-shadow: inset 0 0 0 1px rgba(175,195,255,0.1); }
html.forced-dark .duo__kicker { color: #a4afc2; }
html.forced-dark .duo__title { color: #e9eef6; }
html.forced-dark .duo__title span { color: #a0a8b8; }
html.forced-dark .duo__actors li { background: #060e1d; box-shadow: inset 0 0 0 1px rgba(175,195,255,0.1); }
html.forced-dark .duo__ic { background: #181d31; color: #e1edff; }
html.forced-dark .duo__ic svg, html.forced-dark .duo__st svg { fill: none; stroke: currentColor; }
html.forced-dark .duo__who b { color: #e9eef6; }
html.forced-dark .duo__who small { color: #a4afc2; }
html.forced-dark .duo__actors li.is-ok .duo__st { background: #22c55e; color: #ffffff; }
html.forced-dark .duo__actors li.is-no .duo__st { background: #ef4444; color: #ffffff; }
html.forced-dark .duo__actors li.is-no .duo__who small { color: #fc8d80; }
html.forced-dark .duo__actors li.is-scan { box-shadow: inset 0 0 0 1.5px #2b5cff, 0 6px 18px -8px rgba(43,92,255,.5); }
html.forced-dark .duo__actors li.is-scan .duo__st { border: 2px solid #29364d; border-top-color: #2b5cff; }
html.forced-dark .duo__sweep { background: linear-gradient(90deg, transparent, rgba(43,92,255,0.7), transparent); }
html.forced-dark .duo__tags span { background: #060e1d; box-shadow: inset 0 0 0 1px rgba(175,195,255,0.15); color: #c3cfe2; }
html.forced-dark .duo__run { background: linear-gradient(#24272e, #0d0f14); color: #ffffff; box-shadow: 0 1px 0 rgba(255,255,255,0.12) inset, 0 6px 14px -6px rgba(0,0,0,0.75); }
html.forced-dark .duo__run i { border: 2px solid rgba(89,236,150,0.25); border-top-color: #59ec96; }
html.forced-dark .duo__run svg { fill: none; stroke: #59ec96; }
html.forced-dark .duo__run.is-done svg[viewBox] path[d^="M3.5"] { stroke: #fe8a88; }
html.forced-dark .duo__dark { color: #e8ecf5; background: radial-gradient(120% 80% at 50% 0%, #1f2532 0%, #0e1119 55%, #090b10 100%); box-shadow: 0 0 0 1px rgba(255,255,255,0.05) inset, 0 28px 44px -18px rgba(0,0,0,0.75); }
html.forced-dark .duo__dtitle { color: #f4f6fb; }
html.forced-dark .duo__desc { color: rgba(232,236,245,0.6); }
html.forced-dark .duo__log { background: rgba(6,14,29,0.03); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.07); }
html.forced-dark .duo__log li { color: rgba(232,236,245,0.7); }
html.forced-dark .duo__log .k { color: #9db8ff; }
html.forced-dark .duo__log .c { color: #59ec96; }
html.forced-dark .duo__log li.is-no .t, html.forced-dark .duo__log li.is-no .c { color: #fe8a88; }
html.forced-dark .pillars[data-style="dark"] .pcard { color: #e8ecf5; background: radial-gradient(120% 80% at 50% 0%, #1c2230 0%, #0d1018 60%, #090b10 100%); box-shadow: 0 0 0 1px rgba(255,255,255,0.06) inset, 0 0 0 10px rgba(255,255,255,0.78), 0 0 0 11px rgba(175,195,255,0.1), 0 40px 60px -30px rgba(0,0,0,0.75); }
html.forced-dark .pillars[data-style="dark"] .pcard__head { border-bottom-color: rgba(255,255,255,0.07); }
html.forced-dark .pillars[data-style="dark"] .pcard__crumb { color: rgba(232,236,245,0.45); }
html.forced-dark .pillars[data-style="dark"] .pcard__kicker { color: rgba(232,236,245,0.45); }
html.forced-dark .pillars[data-style="dark"] .pcard__title { color: #f4f6fb; }
html.forced-dark .pillars[data-style="dark"] .pcard__title em { color: #9db8ff; }
html.forced-dark .pillars[data-style="dark"] .pcard__desc { color: rgba(232,236,245,0.6); }
html.forced-dark .pdg__grid line { stroke: rgba(255,255,255,0.08); }
html.forced-dark .pdg__rings circle { fill: none; stroke: rgba(255,255,255,0.07); }
html.forced-dark .pdg__focus { fill: none; stroke: #59ec96; }
html.forced-dark .pdg__node { color: rgba(232,236,245,0.6); background: rgba(13,16,24,0.85); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.14); }
html.forced-dark .pdg__node.is-on { color: #59ec96; box-shadow: inset 0 0 0 1px rgba(89,236,150,0.45); }
html.forced-dark .pdg__node.is-no { color: #fe8a88; }
html.forced-dark .pdg__node.is-no.is-on { box-shadow: inset 0 0 0 1px rgba(248,113,113,0.5); }
html.forced-dark .pcard__badge.is-ok { background: rgba(89,236,150,0.1); color: #8ff5b8; box-shadow: inset 0 0 0 1px rgba(89,236,150,0.18); }
html.forced-dark .pcard__badge.is-live { background: rgba(248,113,113,0.1); color: #fca5a5; box-shadow: inset 0 0 0 1px rgba(248,113,113,0.2); }
html.forced-dark .pcard__badge svg { fill: none; stroke: currentColor; }
html.forced-dark .pcard__badge i { background: #f87171; }
html.forced-dark .ptabs { background: #151f31; box-shadow: inset 0 0 0 1px rgba(175,195,255,0.1); }
html.forced-dark .ptabs button { color: #a4afc2; }
html.forced-dark .ptabs button i { background: #273145; }
html.forced-dark .ptabs button:hover { color: #e1edff; }
html.forced-dark .ptabs button.is-active { background: #060e1d; color: #e9eef6; box-shadow: 0 1px 3px rgba(0,0,0,0.32); }
html.forced-dark .ptabs button.is-active i { background: #22c55e; }
html.forced-dark .ptabs button:focus-visible { outline: 2px solid #2b5cff; }
html.forced-dark .works { border-top: 1px solid rgba(175,195,255,0.075); background: rgba(6,14,29,0.55); }
html.forced-dark .works__label { color: #e9eef6; }
html.forced-dark .works__icon { background: #1a1f3e; color: #e1edff; }
html.forced-dark .works__icon svg { fill: none; stroke: currentColor; }
html.forced-dark .works__item { color: #a4afc2; filter: grayscale(1); }
html.forced-dark .works__item:hover { filter: none; }
html.forced-dark .tweaks__panel { background: rgba(6,14,29,0.92); border: 1px solid rgba(175,195,255,0.15); box-shadow: 0 16px 40px -12px rgba(0,0,0,0.64); }
html.forced-dark .tweaks__title { color: #a4afc2; }
html.forced-dark .tweaks__item { background: #131c2e; }
html.forced-dark .tweaks__label { color: #e9eef6; }
html.forced-dark .tweaks__tabs { background: #192334; }
html.forced-dark .tweaks__tabs button { color: #c3cfe2; }
html.forced-dark .tweaks__tabs button:hover { color: #e1edff; }
html.forced-dark .tweaks__tabs button[aria-checked="true"] { background: #060e1d; color: #e1edff; box-shadow: 0 1px 3px rgba(0,0,0,0.32); }
html.forced-dark .tweaks__tabs button:focus-visible { outline: 2px solid #2b5cff; }
html.forced-dark .variant-switch { background: rgba(6,14,29,0.85); border: 1px solid rgba(175,195,255,0.2); color: #e1edff; box-shadow: 0 8px 24px -8px rgba(0,0,0,0.64); }
html.forced-dark .variant-switch:hover { background: #060e1d; border-color: #3e4d69; }
html.forced-dark .variant-switch:focus-visible { outline: 2px solid #2b5cff; }
html.forced-dark .variant-switch svg { fill: none; stroke: currentColor; }
html.forced-dark .impact { border-top: 1px solid rgba(175,195,255,0.075); background: rgba(6,14,29,0.55); }
html.forced-dark .impact li + li::before { background: #1f2941; }
html.forced-dark .impact b { color: #e9eef6; }
html.forced-dark .impact span { color: #cfdcef; }
html.forced-dark .layers__col { border-left: 1px solid rgba(175,195,255,0.15); }
html.forced-dark .layers__col:first-child { border-left: 0; }
html.forced-dark .layers__fig { color: #a4afc2; }
html.forced-dark .layers__hex { fill: none; stroke: currentColor; }
html.forced-dark .layers__col p { color: #b3b8c0; }
html.forced-dark .fig path { fill: none; stroke: #e1edff; }
html.forced-dark .fig .slab-side, html.forced-dark .fig .base-side { fill: #0a1222; }
html.forced-dark .fig .slab-top, html.forced-dark .fig .base-top { fill: #0a1222; }
html.forced-dark .fig .ball { fill: #0a1222; }
html.forced-dark .fig .shine path { stroke: inherit; fill: none; }
html.forced-dark .fig .shine { filter: drop-shadow(0 0 3px rgba(91,140,255,.55)); }
html.forced-dark .steps { border-top: 1px solid #2f3c54; }
html.forced-dark .steps .step { border-bottom: 1px solid #2f3c54; }
html.forced-dark .step__desc { color: #b3b8c0; }
html.forced-dark .steps .step .bar::after { background: #050505; }
html.forced-dark .flow2::before { background: repeating-linear-gradient(90deg, rgba(6,33,80,0.06) 0 1px, transparent 1px 40px); }
html.forced-dark .flow2__lines path { fill: none; }
html.forced-dark .flow2__lines .base { stroke: rgba(225,237,255,0.14); }
html.forced-dark .flow2__lines .seg { stroke: #e1edff; }
html.forced-dark .flow2__lines .seg--deny { stroke: #fe8a85; }
html.forced-dark .fnode { border: 1px solid #2f3c54; background: #0a1222; color: #999999; }
html.forced-dark .fnode img { filter: invert(.6); }
html.forced-dark .fnode b { background: #243148; }
html.forced-dark .fnode.on { background: #111e34; border-color: #3e4d69; color: #ffffff; }
html.forced-dark .fnode.on img { filter: none; }
html.forced-dark .fnode.on b { background: #59ec96; }
html.forced-dark .fnode.pulse { box-shadow: 0 0 0 4px rgba(43,92,255,0.18); }
html.forced-dark .fgrp { color: #999999; }
html.forced-dark .frow { color: #b5b5b5; }
html.forced-dark .frow i { border: 1px solid #2f3c54; background: #0a1222 no-repeat center / 10px; }
html.forced-dark .frow.on { color: #e9eef6; }
html.forced-dark .frow.on i { background-color: #59ec96; border-color: #0e803d; background-image: url(assets/scan/tick-double.svg); }
html.forced-dark .frow--deny.on { color: #fe8c7c; }
html.forced-dark .frow--deny.on i { background: #ec5959 url(assets/scan/cross.svg) no-repeat center / 10px; border-color: #be3434; }
html.forced-dark .chat { background: #060e1d; border: 1px solid #29354d; box-shadow: 0 1px 2px rgba(0,0,0,0.144), 0 12px 32px -12px rgba(0,0,0,0.272); color: #e9eef6; }
html.forced-dark .chat svg { fill: none; stroke: currentColor; }
html.forced-dark .chat__head { border-bottom: 1px solid #26334a; }
html.forced-dark .chat__icon { color: #e1edff; }
html.forced-dark .chat__more { color: #b0b4bb; }
html.forced-dark .chat__list { color: #9aa0a8; }
html.forced-dark .bubble--user { background: #141e30; }
html.forced-dark .msg code, html.forced-dark .bubble code, html.forced-dark .chk code { background: #141e30; color: #e1edff; }
html.forced-dark .meta { color: #9a9fa8; }
html.forced-dark .reply { background: #111a2b; border: 1px solid #26334a; }
html.forced-dark .reply__who span { color: #9a9fa8; }
html.forced-dark .reply__text code { background: #162133; color: #e1edff; }
html.forced-dark .chk { border-bottom: 1px solid #26334a; }
html.forced-dark .chk__head { color: #9a9fa8; }
html.forced-dark .chk__dot { background: #ff8800; box-shadow: 0 0 0 3px rgba(255,136,0,0.15); }
html.forced-dark .chk__label { color: #f3984e; }
html.forced-dark .chk__rows > div { color: #9a9fa8; }
html.forced-dark .chk__rows span i { background: #253149; }
html.forced-dark .chk.ok .chk__dot { background: #59ec96 url(assets/scan/tick-double.svg) no-repeat center / 8px; box-shadow: none; border: 1px solid #0e803d; }
html.forced-dark .chk.ok .chk__label { color: #68ca82; }
html.forced-dark .chk.ok .chk__time { color: #a3a8b0; }
html.forced-dark .chat__ask { border: 1px solid #29354d; background: #0e1728; }
html.forced-dark .chat__caret { background: #222222; }
html.forced-dark .chat__ph { color: #a3a8b0; }
html.forced-dark .chat__tools { color: #9a9fa8; }
html.forced-dark .chat__ask button { background: #3b6cf0; color: #ffffff; }
html.forced-dark .chat__ask button.press { background: #2b5cff; }
html.forced-dark .hx__base { fill: #f3f3f4; }
html.forced-dark .hx__edge { fill: none; stroke: rgba(236,240,248,0.035); }
html.forced-dark .hx__dark { fill: url(#hxDark); }
html.forced-dark .hx.on.is-ai { filter: drop-shadow(0 10px 18px rgba(0,0,0,0.272)) drop-shadow(0 2px 4px rgba(0,0,0,0.176)); }
html.forced-dark .hx.on.is-ai .hx__base { fill: #ffffff; }
html.forced-dark .hx.on.is-ai .hx__edge { stroke: rgba(236,240,248,0.06); }
html.forced-dark .hx.on.is-app { filter: drop-shadow(0 12px 20px rgba(0,0,0,0.432)) drop-shadow(0 2px 4px rgba(0,0,0,0.272)); }
html.forced-dark .hx img.mono-light { filter: invert(1); }
html.forced-dark .protects__stage { background: linear-gradient(180deg, #02081c 0%, #061a4a 28%, #0f3aa8 58%, #2f63e6 82%, #6f98f2 100%); }
html.forced-dark .protects__stage > .protects__aurora { filter: blur(70px); background: radial-gradient(28% 16% at 30% 52%, rgba(91,140,255,0.75), transparent 70%),
    radial-gradient(24% 14% at 68% 46%, rgba(120,214,255,0.45), transparent 70%),
    radial-gradient(34% 18% at 50% 70%, rgba(43,92,255,0.8), transparent 72%),
    radial-gradient(30% 20% at 14% 88%, rgba(33,40,79,0.55), transparent 70%),
    radial-gradient(30% 20% at 88% 86%, rgba(33,40,79,0.5), transparent 70%); }
html.forced-dark .protects__stage > .protects__aurora + .protects__aurora { filter: blur(90px); background: radial-gradient(40% 10% at 40% 40%, rgba(110,190,255,0.55), transparent 70%),
    radial-gradient(36% 9% at 62% 58%, rgba(150,120,255,0.35), transparent 70%),
    radial-gradient(44% 12% at 50% 30%, rgba(60,110,255,0.5), transparent 70%); }
html.forced-dark .protects__stage::after { background: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%22180%22%20height%3D%22180%22%3E%3Cfilter%20id%3D%22n%22%3E%3CfeTurbulence%20type%3D%22fractalNoise%22%20baseFrequency%3D%22.85%22%20numOctaves%3D%222%22%20stitchTiles%3D%22stitch%22/%3E%3CfeColorMatrix%20values%3D%220%200%200%200%200%20%200%200%200%200%20.08%20%200%200%200%200%20.2%20%200%200%200%20.9%200%22/%3E%3C/filter%3E%3Crect%20width%3D%22100%25%22%20height%3D%22100%25%22%20filter%3D%22url%28%23n%29%22/%3E%3C/svg%3E"); }
html.forced-dark .protects__head { color: #ffffff; }
html.forced-dark .protects__head .lede { color: rgba(225,233,255,0.78); }
html.forced-dark .mac { background: #060e1d; box-shadow: 0 0 0 1px rgba(255,255,255,0.35), 0 0 0 10px rgba(140,175,255,0.16), 0 0 0 11px rgba(190,210,255,0.22), 0 30px 80px -20px rgba(0,0,0,0.75), 0 0 120px 10px rgba(70,120,255,.35); }
html.forced-dark .mac__bar { background: linear-gradient(#111a2b, #162032); border-bottom: 1px solid #29364d; }
html.forced-dark .mac__dots i { background: #ff5f57; box-shadow: inset 0 0 0 .5px rgba(175,195,255,0.225); }
html.forced-dark .mac__dots i:nth-child(2) { background: #febc2e; }
html.forced-dark .mac__dots i:nth-child(3) { background: #28c840; }
html.forced-dark .mac__title { background: rgba(0,0,0,0.04); color: #b1bbcc; }
html.forced-dark .mac__view { background: #111a2b; }
html.forced-dark .dock { background: rgba(6,14,29,0.08); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.16), 0 12px 30px -12px rgba(0,0,0,0.75); }
html.forced-dark .tab { color: rgba(225,233,255,0.78); }
html.forced-dark .tab svg { fill: none; stroke: currentColor; }
html.forced-dark .tab:hover { background: rgba(6,14,29,0.1); color: #ffffff; }
html.forced-dark .tab.is-active { background: #060e1d; color: #e1edff; box-shadow: 0 2px 10px rgba(0,0,0,0.48); }
html.forced-dark .tab.is-active .bar { background: rgba(6,33,80,0.1); }
html.forced-dark .tab .bar::after { background: #3b6cf0; }
html.forced-dark .dev__stage { color: #e6ebfe; background: radial-gradient(60% 40% at 15% 0%, rgba(43,92,255,0.18), transparent 70%), radial-gradient(50% 40% at 100% 100%, rgba(43,92,255,0.12), transparent 70%), #060b18; box-shadow: inset 0 0 0 1px rgba(201,213,255,0.08); }
html.forced-dark .dev__stage::before { background: linear-gradient(rgba(33,40,79,0.035) 1px, transparent 1px) 0 0 / 100% 32px, linear-gradient(90deg, rgba(33,40,79,0.035) 1px, transparent 1px) 0 0 / 32px 100%; }
html.forced-dark .dev__prompt { background: rgba(33,40,79,0.06); box-shadow: inset 0 0 0 1px rgba(201,213,255,0.12); color: #59ec96; }
html.forced-dark .dev__prompt i { background: #59ec96; }
html.forced-dark .dev__head .h2 { color: #ffffff; }
html.forced-dark .dev__head .lede { color: rgba(225,233,255,0.62); }
html.forced-dark .dcard { border: 1px solid rgba(201,213,255,0.1); background: rgba(6,14,29,0.015); }
html.forced-dark .dcard.is-active { border-color: rgba(201,213,255,0.28); background: linear-gradient(180deg, rgba(6,14,29,0.05), rgba(6,14,29,0.01)); }
html.forced-dark .tick { background: #1a1f3e; }
html.forced-dark .dcard__arrow { color: rgba(201,213,255,0.35); }
html.forced-dark .dcard__arrow svg { fill: none; stroke: currentColor; }
html.forced-dark .dcard__art--hatch::before { background: repeating-linear-gradient(135deg, rgba(33,40,79,0.07) 0 1px, transparent 1px 9px); }
html.forced-dark .dcard__art--dots::before { background: radial-gradient(circle at 1px 1px, rgba(33,40,79,0.16) 1px, transparent 1.4px) 0 0 / 14px 14px; }
html.forced-dark .dcard__art--grid::before { background: linear-gradient(rgba(33,40,79,0.06) 1px, transparent 1px) 0 0 / 18px 18px, linear-gradient(90deg, rgba(33,40,79,0.06) 1px, transparent 1px) 0 0 / 18px 18px; }
html.forced-dark .dcard__n { color: rgba(201,213,255,0.45); }
html.forced-dark .dcard.is-active .dcard__n { color: #59ec96; }
html.forced-dark .dcard__text h3 { color: #ffffff; }
html.forced-dark .dcard__text p { color: rgba(225,233,255,0.55); }
html.forced-dark .term { background: #0b1326; box-shadow: 0 0 0 1px rgba(201,213,255,0.12), 0 20px 40px -20px rgba(0,0,0,0.75); }
html.forced-dark .term__bar { border-bottom: 1px solid rgba(201,213,255,0.08); }
html.forced-dark .term__bar span { background: rgba(33,40,79,0.18); }
html.forced-dark .term__bar b { color: rgba(201,213,255,0.4); }
html.forced-dark .term__body { color: #cfd8f7; }
html.forced-dark .term__body .c-p { color: #8fb0ff; }
html.forced-dark .term__body .c-ok { color: #59ec96; }
html.forced-dark .term__body .c-dim { color: rgba(201,213,255,0.45); }
html.forced-dark .term__body .c-warn { color: #ff9131; }
html.forced-dark .caret { background: #20274d; }
html.forced-dark .keybox { background: #0b1326; box-shadow: 0 0 0 1px rgba(201,213,255,0.12), 0 20px 40px -20px rgba(0,0,0,0.75); }
html.forced-dark .keybox__head { color: #e6ebfe; }
html.forced-dark .keybox__dot { background: #59ec96; box-shadow: 0 0 0 3px rgba(89,236,150,0.15); }
html.forced-dark .keybox__head b { background: rgba(89,236,150,0.1); color: #59ec96; }
html.forced-dark .keybox label { color: rgba(201,213,255,0.45); }
html.forced-dark .keybox__field { background: #060b18; box-shadow: inset 0 0 0 1px rgba(201,213,255,0.12); }
html.forced-dark .keybox__field code { color: #cfd8f7; }
html.forced-dark .keybox__field button { background: rgba(33,40,79,0.1); color: #e6ebfe; }
html.forced-dark .keybox__field button.copied { background: #59ec96; color: #e1edff; }
html.forced-dark .editor { background: #0b1326; box-shadow: 0 0 0 1px rgba(201,213,255,0.12), 0 20px 40px -20px rgba(0,0,0,0.75); }
html.forced-dark .editor__tab { border-right: 1px solid rgba(201,213,255,0.08); border-bottom: 1px solid #8fb0ff; color: #cfd8f7; }
html.forced-dark .editor__code { border-top: 1px solid rgba(201,213,255,0.08); color: #cfd8f7; }
html.forced-dark .editor__code .k { color: #b4a1fb; }
html.forced-dark .editor__code .s { color: #59ec96; }
html.forced-dark .editor__code .f { color: #8fb0ff; }
html.forced-dark .editor__code .d { color: rgba(201,213,255,0.45); }
html.forced-dark .editor__code::-webkit-scrollbar-thumb { background: rgba(33,40,79,0.25); }
html.forced-dark .editor__events { border-top: 1px solid rgba(201,213,255,0.08); color: rgba(201,213,255,0.6); }
html.forced-dark .editor__events li b { color: #59ec96; }
html.forced-dark .pill { box-shadow: inset 0 0 0 1px rgba(201,213,255,0.28); color: #e6ebfe; }
html.forced-dark .pill:hover { background: rgba(33,40,79,0.08); box-shadow: inset 0 0 0 1px rgba(201,213,255,0.5); }
html.forced-dark .pill--solid { background: #1a1f3e; color: #e1edff; box-shadow: none; }
html.forced-dark .pill--solid:hover { background: #060e1d; box-shadow: none; }
html.forced-dark .pill svg { fill: none; stroke: currentColor; }
html.forced-dark .closing { border: 1px solid #2c3950; border-bottom: 0; }
html.forced-dark .closing__wash { background: linear-gradient(rgba(10,18,34,0), #0a1222 48.077%, rgba(10,18,34,0)); }
html.forced-dark .cta h2 { color: #e9eef6; }
html.forced-dark .footer { color: #ecf0f8; background: linear-gradient(180deg, rgba(6,14,29,0.62), rgba(17,26,43,0.48)); box-shadow: inset 0 1px 0 rgba(255,255,255,0.9), inset 0 0 0 1px rgba(175,195,255,0.088), 0 -12px 40px -24px rgba(0,0,0,0.368); }
html.forced-dark .footer__about p { color: #c3cfe2; }
html.forced-dark .footer__col h4 { color: #a4afc2; }
html.forced-dark .footer__col a { color: #cfdcef; }
html.forced-dark .footer__col a:hover { color: #e1edff; text-decoration: underline; }
html.forced-dark .footer__bottom a:hover { color: #e1edff; }
html.forced-dark .footer__ask { border-top: 1px solid rgba(175,195,255,0.15); }
html.forced-dark .footer__ask-label { color: #c3cfe2; }
html.forced-dark .ask__tile { background: rgba(6,14,29,0.8); box-shadow: inset 0 0 0 1px rgba(175,195,255,0.125), 0 1px 2px rgba(0,0,0,0.176); }
html.forced-dark .ask__tile svg { fill: #e1edff; }
html.forced-dark .ask__tile:hover { background: #3b6cf0; box-shadow: 0 6px 16px -6px rgba(0,0,0,0.75); }
html.forced-dark .ask__tile:hover svg { fill: #ffffff; }
html.forced-dark .ask__tile:focus-visible { outline: 2px solid #2b5cff; }
html.forced-dark .footer__bottom { border-top: 1px solid rgba(175,195,255,0.15); color: #a4afc2; }
@media (max-width: 1100px) {
  html.forced-dark .nav__menu { color: #e1edff; box-shadow: inset 0 0 0 1px rgba(175,195,255,0.175); background: #060e1d; }
  html.forced-dark .nav__menu span { background: currentColor; }
  html.forced-dark .nav__links { background: rgba(10,18,34,0.98); border-bottom: 1px solid rgba(175,195,255,0.1); box-shadow: 0 24px 40px -24px rgba(0,0,0,0.48); }
  html.forced-dark .nav__links a { border-bottom: 1px solid rgba(175,195,255,0.075); }
  html.forced-dark .nav__links a:last-child { border-bottom: 0; }
  html.forced-dark .layers__col, html.forced-dark .layers__col:first-child { border-left: 0; border-top: 1px solid rgba(175,195,255,0.15); }
}
html.forced-dark .consent { background: #060e1d; box-shadow: 0 0 0 1px rgba(175,195,255,0.1), 0 24px 56px -24px rgba(0,0,0,0.75); }
html.forced-dark .consent__title { color: #e9eef6; }
html.forced-dark .consent__body { color: #b3b8c0; }
html.forced-dark .consent__body a { color: #e1edff; text-decoration: underline; text-decoration-color: rgba(225,237,255,0.3); }
html.forced-dark .consent__body a:hover { text-decoration-color: currentColor; }
html.forced-dark .consent__actions .btn--outline { border: 0; box-shadow: inset 0 0 0 1px rgba(175,195,255,0.225); }
/* forced-dark:end */
/* forced-dark: hand-tuned (what the generated block above can't infer) */
html.forced-dark { color-scheme: dark; }
html.forced-dark .brand__name { filter: brightness(0) invert(.94); } /* the navy wordmark PNG, in near-white */
/* integrations honeycomb: dark resting tiles; an AI model lights its tile soft white, an app keeps the dark tile */
html.forced-dark .hx__base { fill: #121b2f; }
html.forced-dark .hx__edge { stroke: rgba(175,195,255,.07); }
html.forced-dark .hx.on.is-ai .hx__base { fill: #e4eaf6; }
html.forced-dark .hx.on.is-ai .hx__edge { stroke: rgba(255,255,255,.4); }
html.forced-dark .hx.on.is-ai { filter: drop-shadow(0 10px 22px rgba(59,108,240,.28)) drop-shadow(0 2px 4px rgba(0,0,0,.4)); }
html.forced-dark .hx.on.is-app { filter: drop-shadow(0 12px 22px rgba(0,0,0,.6)) drop-shadow(0 0 0 1px rgba(175,195,255,.12)); }
/* single-colour dark icon images (footer socials, the CTA perks, the GitHub mark), in light */
html.forced-dark .social img, html.forced-dark .cta__perks img, html.forced-dark img[src$="github-fill.svg"], html.forced-dark img[src$="dot-dark.svg"] { filter: brightness(0) invert(.9); }
/* marks drawn in near-black ink on the light site: the step progress line ("See what happens between…") and the chat caret */
/* (#b3c2e4: Chrome's Auto Dark repaints any background lighter than about #c0cdea, so small light marks stay under that) */
html.forced-dark .steps .step .bar::after, html.forced-dark .chat__caret, html.forced-dark .nav__menu span { background: #b3c2e4; }
