:root {
  /* Following the system is the default; the switch pins one side by setting data-theme. */
  color-scheme: light dark;
  --navy: #09234f; --blue: #384ce3; --teal: #0d5568; --sky: #c4f0ff; --mint: #eff5f0; --carbon: #121012; --orange: #d3780b;
  --field: light-dark(#09234f, #050d20); --field-clear: light-dark(#09234feb, #050d20eb);
  --page: light-dark(#ffffff, #000000); --text: light-dark(#000000, #f4f4f4); --muted: light-dark(#333333, #d0d0d0); --rule: light-dark(#d6d6d6, #313131);
  --steel: light-dark(#8b93a5, #7c8292); --soft: light-dark(#eff5f0, #181818);
  --high: light-dark(#b3261e, #ff8a80); --medium: light-dark(#8a4f06, #f0b35a); --low: light-dark(#333333, #d0d0d0); --ok: light-dark(#1d6b3a, #7bd69a);
  --ease: cubic-bezier(0.32, 0.72, 0, 1);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Geist Variable", system-ui, sans-serif;
  --mono: "Geist Mono Variable", ui-monospace, Menlo, monospace;
}
:root[data-theme="light"] { color-scheme: light; }
:root[data-theme="dark"] { color-scheme: dark; }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; background: var(--page); color: var(--text); font: 16px/24px var(--sans); }
h1, h2, h3, h4, p, ul, dl, dd, pre { margin: 0; }
ul { list-style: none; padding: 0; }
h1, h2, h3, h4 { text-wrap: balance; }
p, dd, li { text-wrap: pretty; }
h1, h2 { font-family: var(--serif); font-weight: 600; letter-spacing: -0.005em; }
h2 { font-size: 48px; line-height: 1; }
h3 { font-size: 24px; line-height: 32px; font-weight: 500; }
h4 { font-size: 20px; line-height: 28px; font-weight: 500; }
a { color: inherit; }
.skip { position: absolute; left: -9999px; z-index: 30; }
.skip:focus { left: 16px; top: 16px; background: #ffffff; color: #000000; padding: 8px 12px; border-radius: 4px; }
.wrap { width: min(1280px, 100% - 32px); margin: 0 auto; }

button, .outline { font: 500 14px/20px var(--mono); text-transform: uppercase; padding: 12px 16px; border-radius: 4px; border: 1px solid var(--steel); background: transparent; color: inherit; cursor: pointer; text-decoration: none; transition: transform 500ms var(--ease), background-color 500ms var(--ease), color 500ms var(--ease), border-color 500ms var(--ease); }
button:hover, .outline:hover { transform: translateY(-2px); border-color: currentColor; }
button:active, .outline:active { transform: translateY(1px) scale(0.98); }
button.solid { background: var(--navy); border-color: var(--navy); color: #ffffff; }
button.text { border-color: transparent; text-decoration: underline; text-underline-offset: 4px; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }
/* The verdict receives focus for screen readers; it is not a control. */
#verdict-title:focus { outline: none; }

/* Dark system field holding the nav and the intake */
.field { position: relative; isolation: isolate; background: var(--field); color: #ffffff; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; padding-top: 80px; }
.backdrop { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
.bar { position: fixed; top: 0; left: 0; right: 0; z-index: 10; display: flex; justify-content: space-between; align-items: center; gap: 16px; height: 80px; padding: 0 152px 0 24px; color: #ffffff; transition: background-color 500ms var(--ease), box-shadow 500ms var(--ease); }
/* Clear while the page is at its top, solid and lifted once something passes underneath. */
.bar.raised { background: var(--field); box-shadow: 0 1px 0 #ffffff1f, 0 8px 24px #00000059; }
.top-mark { position: absolute; top: 0; left: 0; width: 1px; height: 8px; pointer-events: none; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 600; font-size: 18px; }
.brand img { border-radius: 4px; }
.links { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; font-size: 14px; font-weight: 500; }
.links a:not(.outline) { text-decoration: none; }
.links a:not(.outline):hover { text-decoration: underline; text-underline-offset: 4px; }

/* Three rows with equal outer ones keep the intake in the middle of the screen. */
.hero { flex: 1; display: grid; grid-template-rows: 1fr auto 1fr; justify-items: center; gap: 48px; padding: 0 16px 80px; text-align: center; }
.statement { align-self: end; display: grid; justify-items: center; gap: 12px; }
h1 { font-size: 60px; line-height: 1; max-width: 680px; }
.statement p { max-width: 560px; color: #ffffff; text-shadow: 0 0 8px var(--field), 0 0 16px var(--field); }
h1 { text-shadow: 0 0 24px var(--field); }
.slot { width: min(720px, 100%); display: grid; gap: 12px; }
.proof li { background: var(--field); padding: 4px 8px; border-radius: 4px; }
.proof { align-self: start; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 16px; font: 500 12px/16px var(--mono); text-transform: uppercase; color: var(--sky); }
.proof li::before { content: "+"; padding-right: 8px; color: var(--orange); }

.drop { position: relative; display: grid; justify-items: center; gap: 12px; padding: 16px 24px 20px; background: #ffffff; color: #000000; border-radius: 4px; outline: 8px solid #384ce3; box-shadow: 0 0 0 9px var(--sky); --steel: #8b93a5; transition: transform 700ms var(--ease), background-color 700ms var(--ease), outline-width 700ms var(--ease); }
.drop:hover .sheet.left { transform: translate(-8px, 2px) rotate(-8deg); }
.drop:hover .sheet.right { transform: translate(8px, 2px) rotate(8deg); }
.drop:hover .monocle { transform: translate(-6px, -6px); }
.mark { position: absolute; width: 16px; height: 16px; transition: transform 700ms var(--ease); }
.mark::before, .mark::after { content: ""; position: absolute; background: #ffffff; }
.mark::before { left: 7px; top: 0; width: 2px; height: 16px; }
.mark::after { left: 0; top: 7px; height: 2px; width: 16px; }
.tl { left: -32px; top: -32px; } .tr { right: -32px; top: -32px; } .bl { left: -32px; bottom: -32px; } .br { right: -32px; bottom: -32px; }
.ants { position: absolute; inset: 8px; width: calc(100% - 16px); height: calc(100% - 16px); pointer-events: none; }
.ants rect { width: calc(100% - 2px); height: calc(100% - 2px); fill: none; stroke: var(--steel); stroke-width: 1.5; stroke-dasharray: 8 8; }
.intake svg { overflow: visible; fill: #ffffff; stroke: var(--navy); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.sheet, .monocle { transition: transform 700ms var(--ease); transform-origin: 60px 72px; }
.sheet.left, .sheet.right { fill: var(--sky); }
.monocle circle { fill: #d3780b1f; stroke: var(--orange); stroke-width: 3; }
.monocle path { stroke: var(--orange); stroke-width: 4; }
.drop-title { font: 600 36px/40px var(--serif); text-wrap: balance; }
.drop-hint { font-size: 14px; line-height: 20px; color: #262626; }
.actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.tabs { display: flex; gap: 4px; padding: 4px; border-radius: 9999px; background: var(--mint); border: 1px solid #8b93a5; position: relative; }
.tabs button { padding: 8px 16px; border: 0; border-radius: 9999px; font: 500 12px/16px var(--mono); color: #262626; }
.tabs button[aria-selected="true"] { background: var(--navy); color: #ffffff; }
/* Both panes share one cell, so switching never moves the card. */
.panes { display: grid; width: 100%; }
.pane { grid-area: 1 / 1; display: grid; align-content: center; justify-items: center; gap: 16px; min-width: 0; transition: opacity 500ms var(--ease), transform 500ms var(--ease), visibility 500ms; }
.pane.off { opacity: 0; transform: translateY(8px); visibility: hidden; }
.pane-note { max-width: 440px; font-size: 12px; line-height: 20px; color: #262626; text-wrap: balance; }
.by-name { display: grid; width: 100%; max-width: 520px; position: relative; }
.unseen { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.intake svg { width: 76px; height: 56px; }
.by-name div { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.by-name input { flex: 1 1 200px; min-width: 0; font: 400 14px/20px var(--mono); padding: 12px; border-radius: 4px; border: 1px solid #8b93a5; background: #ffffff; color: #000000; }
.package-card { display: grid; gap: 8px; padding: 24px; border: 1px solid var(--steel); border-radius: 4px; overflow-wrap: anywhere; animation: rise 800ms var(--ease) backwards; }
.changes { display: flex; flex-wrap: wrap; gap: 8px; align-items: flex-start; }
.change { border: 1px solid var(--steel); border-radius: 4px; padding: 8px 12px; min-width: 0; }
.change summary { font: 500 12px/16px var(--mono); text-transform: uppercase; cursor: pointer; }
.change ul { max-height: 240px; overflow: auto; padding-top: 8px; font: 400 12px/20px var(--mono); }
.option { display: flex; gap: 16px; align-items: flex-start; text-align: left; font-size: 12px; line-height: 16px; color: #262626; max-width: 520px; margin-top: 4px; padding: 12px 16px; position: relative; cursor: pointer; background: var(--mint); border: 1px solid #8b93a5; border-radius: 8px; transition: background-color 500ms var(--ease), border-color 500ms var(--ease), transform 500ms var(--ease); }
.option:hover { border-color: #000000; }
.option:active { transform: translateY(1px); }
.option:has(.switch:checked) { background: #fdf1e0; border-color: var(--orange); }
.option-text { display: grid; gap: 4px; }
.option-title { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; font-size: 14px; line-height: 20px; font-weight: 600; color: #000000; }
.state { font: 500 12px/16px var(--mono); text-transform: uppercase; padding: 0 8px; border-radius: 9999px; border: 1px solid #8b93a5; background: #ffffff; transition: background-color 500ms var(--ease), border-color 500ms var(--ease); }
.state::after { content: "Off"; }
.switch:checked ~ .option-text .state { background: var(--orange); border-color: var(--orange); }
.switch:checked ~ .option-text .state::after { content: "On"; }
/* A checkbox drawn as a switch: the knob slides over and a tick draws itself. */
.switch { appearance: none; -webkit-appearance: none; flex: none; position: relative; width: 48px; height: 28px; margin: 0; border-radius: 9999px; border: 2px solid #59627a; background: #ffffff; cursor: pointer; transition: background-color 500ms var(--ease), border-color 500ms var(--ease); }
.switch::before { content: ""; position: absolute; top: 2px; left: 2px; width: 20px; height: 20px; border-radius: 9999px; background: #59627a; transition: transform 600ms var(--ease), width 300ms var(--ease), background-color 500ms var(--ease); }
.switch::after { content: ""; position: absolute; top: 6px; left: 29px; width: 5px; height: 9px; border: solid #000000; border-width: 0 2px 2px 0; opacity: 0; transform: rotate(-45deg) scale(0); transition: opacity 300ms var(--ease), transform 500ms var(--ease); }
.switch:active::before { width: 24px; }
.switch:checked { background: var(--orange); border-color: var(--orange); }
.switch:checked::before { transform: translateX(20px); background: #ffffff; }
.switch:checked:active::before { transform: translateX(16px); }
.switch:checked::after { opacity: 1; transform: rotate(45deg) scale(1); transition-delay: 200ms; }

.dragging .drop { transform: scale(1.03); background: var(--sky); outline-width: 16px; box-shadow: 0 0 0 17px var(--orange); }
.dragging .ants rect { stroke: var(--navy); animation: march 600ms linear infinite; }
.dragging .sheet.left { transform: translate(-24px, -4px) rotate(-18deg); }
.dragging .sheet.right { transform: translate(24px, -4px) rotate(18deg); }
.dragging .sheet.front { transform: translateY(-12px); }
.dragging .monocle { transform: translate(-16px, -16px) scale(1.2); }
.dragging .tl { transform: translate(-8px, -8px) rotate(90deg); } .dragging .tr { transform: translate(8px, -8px) rotate(90deg); }
.dragging .bl { transform: translate(-8px, 8px) rotate(90deg); } .dragging .br { transform: translate(8px, 8px) rotate(90deg); }
@keyframes march { to { stroke-dashoffset: -16; } }
.veil { position: fixed; inset: 16px; z-index: 20; pointer-events: none; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 4px; padding: 32px; border: 2px dashed var(--orange); border-radius: 4px; color: #ffffff; }
.veil p, .veil span { background: var(--carbon); padding: 8px 16px; border-radius: 4px; font: 500 14px/20px var(--mono); text-transform: uppercase; }
.veil span:empty { display: none; }
/* Away from the intake, the veil covers the page and puts the instruction in the middle. */
.scrolled .veil { background: var(--field-clear); justify-content: center; }

/* Scan stage: a monocle travels over the families of checks */
.stage { display: grid; gap: 16px; padding: 24px; background: var(--carbon); border: 1px solid var(--blue); border-radius: 4px; text-align: left; }
.stage-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.stage-title { font: 600 24px/32px var(--serif); overflow-wrap: anywhere; min-width: 0; }
.stage-head button { flex-shrink: 0; border-color: #9a9a9a; }
.ticker { font: 400 12px/16px var(--mono); color: var(--sky); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-height: 16px; }
.inspect { position: relative; }
.checks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: #384ce3; border: 1px solid #384ce3; }
.checks li { background: var(--field); min-height: 96px; padding: 16px; display: flex; flex-direction: column; justify-content: space-between; gap: 8px; font-size: 14px; line-height: 20px; transition: background-color 500ms var(--ease), color 500ms var(--ease); }
.checks b { font: 500 12px/16px var(--mono); text-transform: uppercase; color: var(--sky); }
.checks li.looking { background: var(--blue); }
.checks li.hit { background: #ffffff; color: #000000; }
.checks li.hit b { color: #b3261e; }
.checks li.quiet b { color: #d0d0d0; }
.lens { position: absolute; left: 0; top: 0; width: 120px; height: 120px; border-radius: 9999px; border: 4px solid var(--orange); background: #ffffff1a; backdrop-filter: brightness(1.5) saturate(1.4); pointer-events: none; transition: transform 700ms var(--ease), opacity 500ms var(--ease); }
.lens::after { content: ""; position: absolute; width: 4px; height: 40px; background: var(--orange); right: 6px; bottom: -28px; transform: rotate(-45deg); border-radius: 2px; }
.stage.done .lens { opacity: 0; }
.meter { height: 2px; background: #313131; overflow: hidden; }
.meter i { display: block; height: 2px; width: 40%; background: var(--orange); animation: travel 1400ms var(--ease) infinite; }
.stage.done .meter i { width: 100%; animation: none; }
@keyframes travel { from { transform: translateX(-100%); } to { transform: translateX(250%); } }
.status { text-align: center; color: var(--sky); }
.problem { text-align: center; color: #000000; background: #ffffff; border: 2px solid #b3261e; border-radius: 4px; padding: 12px 16px; }
/* Stays in the page while empty, so that what is put into it later is announced. */
.problem:empty { position: absolute; width: 1px; height: 1px; padding: 0; border: 0; overflow: hidden; clip-path: inset(50%); }

/* With a report on screen the field shrinks to a strip that still takes files */
.reported .field { min-height: 0; }
.reported .hero { display: block; padding: 0; }
.reported .statement, .reported .proof, .reported .field .slot { display: none; }

/* The intake card follows the theme too */
.drop { --card: light-dark(#ffffff, #101a30); --ink: light-dark(#000000, #f4f4f4); --ink-soft: light-dark(#262626, #cdd3e0); --wash: light-dark(#eff5f0, #18233d); --on: light-dark(#09234f, #ffffff); --on-ink: light-dark(#ffffff, #09234f); background: var(--card); color: var(--ink); }
.drop-hint, .pane-note, .option, .tabs button { color: var(--ink-soft); }
.option-title { color: var(--ink); }
.tabs, .option { background: var(--wash); }
.option:hover { border-color: var(--ink); }
.option:has(.switch:checked) { background: light-dark(#fdf1e0, #33260f); }
.state, .drop .switch:not(:checked), .by-name input { background: var(--card); }
.by-name input { color: var(--ink); }
.switch:checked ~ .option-text .state { color: #000000; }
.drop button.solid, .drop .tabs button[aria-selected="true"] { background: var(--on); border-color: var(--on); color: var(--on-ink); }
.intake svg { fill: var(--card); stroke: light-dark(#09234f, #c4f0ff); }
.intake .sheet.left, .intake .sheet.right { fill: light-dark(#c4f0ff, #1d3a6e); }
.dragging .drop { background: light-dark(#c4f0ff, #14336b); }
.dragging .ants rect { stroke: var(--on); }

/* Theme switch in the top right corner */
.theme { --track: #ffffff1f; --icon: #ffffff; --thumb: #ffffff; --picked: #09234f; position: absolute; top: 19px; right: 24px; display: flex; padding: 4px; border-radius: 9999px; background: var(--track); border: 1px solid #8b93a5; }
.theme button { position: relative; z-index: 1; width: 32px; height: 32px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 9999px; color: var(--icon); }
.theme button:hover { transform: none; background: #8b93a540; }
.theme button:active { transform: scale(0.9); }
.theme button[aria-checked="true"] { color: var(--picked); background: transparent; }
.theme svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; overflow: visible; }
.theme-thumb { position: absolute; top: 4px; left: 4px; width: 32px; height: 32px; border-radius: 9999px; background: var(--thumb); transition: transform 600ms cubic-bezier(0.34, 1.56, 0.64, 1), background-color 500ms var(--ease); }
.theme[data-at="1"] .theme-thumb { transform: translateX(32px); }
.theme[data-at="2"] .theme-thumb { transform: translateX(64px); }
.theme.moved [data-choice="light"][aria-checked="true"] svg { animation: sunrise 800ms var(--ease); }
.theme.moved [data-choice="dark"][aria-checked="true"] svg { animation: moonrise 800ms var(--ease); }
.theme.moved [data-choice="system"][aria-checked="true"] svg { animation: boot 800ms var(--ease); }
@keyframes sunrise { from { transform: rotate(-180deg) scale(0.2); } 70% { transform: rotate(12deg) scale(1.2); } }
@keyframes moonrise { from { transform: translateY(12px) rotate(90deg) scale(0.4); opacity: 0; } 70% { transform: translateY(-2px) rotate(-14deg) scale(1.15); opacity: 1; } }
@keyframes boot { from { transform: scale(0.3, 0.05); } 40% { transform: scale(1.2, 0.2); } 75% { transform: scale(0.95, 1.2); } }
/* The new theme spreads from the switch over a still picture of the old one. */
::view-transition-old(root), ::view-transition-new(root) { animation: none; mix-blend-mode: normal; }
/* Where the browser cannot do that, colors cross fade instead. */
.theming *, .theming *::before, .theming *::after { transition: background-color 600ms var(--ease), color 600ms var(--ease), border-color 600ms var(--ease), fill 600ms var(--ease), stroke 600ms var(--ease) !important; }

/* With a report on screen the verdict stays beside the findings */
.reported .field { display: none; }
.results { display: grid; grid-template-columns: minmax(0, 400px) minmax(0, 1fr); align-items: start; scroll-margin-top: 0; }
.rail { position: sticky; top: 0; height: 100vh; height: 100dvh; overflow-y: auto; display: flex; flex-direction: column; gap: 40px; padding: 32px 40px; background: var(--field); color: #ffffff; scrollbar-width: thin; }
.rail > * { flex-shrink: 0; }
.verdict { display: grid; gap: 16px; animation: rise 800ms var(--ease) backwards; }
.target { font: 400 14px/20px var(--mono); color: var(--sky); overflow-wrap: anywhere; }
.verdict h2 { font-size: 60px; }
.verdict.medium h2, .verdict.unknown h2 { color: #f0b35a; }
.severity-bar { display: flex; gap: 2px; height: 4px; transform-origin: left; animation: grow 900ms 500ms var(--ease) backwards; }
.severity-bar:empty { display: none; }
.severity-bar i { flex-basis: 0; }
.severity-bar .high { background: #ff8a80; } .severity-bar .medium { background: #f0b35a; } .severity-bar .low { background: #8b93a5; } .severity-bar .info { background: #4a5e86; }
.rail-end { margin-top: auto; display: grid; gap: 16px; }
.counts { list-style: none; margin: 0; padding: 0; display: grid; border-bottom: 1px solid #33497a; }
.counts li { border-top: 1px solid #33497a; padding: 2px 0; }
.counts button { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 8px; border: 0; font: 500 16px/24px var(--sans); text-transform: none; }
.counts b { font: 500 16px/24px var(--mono); }
.counts .high { color: #ff9d94; } .counts .medium { color: #f0b35a; }
.counts button:hover { transform: none; background: #ffffff14; }
.counts button[aria-pressed="true"] { background: #ffffff; color: #09234f; }
.counts button:disabled { color: #a9b6d3; cursor: default; background: transparent; }
.meta { font-size: 14px; line-height: 20px; color: #c4d0ea; }
.jump { font-size: 14px; line-height: 20px; font-weight: 500; text-underline-offset: 4px; }
.rail-actions { display: grid; gap: 8px; }
.rail-actions button { font: 600 16px/24px var(--sans); text-transform: none; padding: 8px 12px; border-color: #8b93a5; }
.rail-actions button.solid { background: #ffffff; border-color: #ffffff; color: #09234f; }

.report { display: grid; gap: 24px; align-content: start; min-width: 0; width: 100%; max-width: 1024px; padding: 32px 64px 0; }
.report-head { display: grid; gap: 8px; }
.report-head h3 { font: 600 30px/36px var(--serif); }
.note { font-size: 14px; line-height: 20px; color: var(--muted); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filters:empty { display: none; }
.filters button { padding: 8px 12px; font: 500 14px/20px var(--sans); text-transform: none; border-color: transparent; background: var(--soft); }
button[aria-pressed="true"] { background: var(--text); border-color: var(--text); color: var(--page); }
.findings { display: grid; gap: 40px; }
.group > summary { cursor: pointer; display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 4px 16px; padding: 0 0 8px; list-style: none; border-bottom: 1px solid var(--text); font-size: 14px; line-height: 20px; font-weight: 600; }
summary::-webkit-details-marker { display: none; }
.group > summary b { font: 400 14px/20px var(--mono); color: var(--muted); }
.group > summary b::after { content: " +"; }
.group[open] > summary b::after { content: " −"; }
.rows { display: grid; }
.finding { min-width: 0; border-bottom: 1px solid var(--rule); padding: 4px 0; animation: rise 800ms var(--ease) backwards; }
.finding > details { border: 1px solid transparent; border-radius: 8px; }
.finding.high > details[open] { border-color: var(--high); }
.head { display: grid; grid-template-columns: 80px minmax(0, 1fr) auto; gap: 4px 16px; align-items: baseline; padding: 16px; list-style: none; cursor: pointer; border-radius: 8px; transition: background-color 500ms var(--ease); }
.head:hover { background: var(--soft); }
.level, .rule { font: 500 14px/20px var(--mono); color: var(--muted); }
.rule::after { content: " +"; }
details[open] > .head .rule::after { content: " −"; }
.finding.high .level { color: var(--high); } .finding.medium .level { color: var(--medium); }
.heading { display: grid; gap: 4px; min-width: 0; }
.finding-title { font: 600 24px/32px var(--serif); text-wrap: balance; overflow-wrap: anywhere; }
.where { font: 400 14px/20px var(--mono); overflow-wrap: anywhere; }
.fresh { justify-self: start; font: 500 12px/16px var(--mono); background: var(--sky); color: #000000; border-radius: 4px; padding: 2px 8px; }
.body { display: grid; gap: 12px; min-width: 0; padding: 0 16px 16px 112px; }
.meaning { font-size: 14px; line-height: 20px; color: var(--muted); }
.meaning b { display: block; font-weight: 600; color: var(--text); }
.evidence { display: block; background: var(--carbon); color: #ffffff; border-radius: 4px; padding: 12px 16px; font: 400 14px/20px var(--mono); white-space: pre-wrap; overflow-wrap: anywhere; min-width: 0; }
.finding .evidence { font-size: 16px; line-height: 24px; padding: 16px; border: 1px solid #313131; }
.evidence mark { background: transparent; color: #ffd24a; font-weight: 700; }
.by-file { min-width: 0; }
.by-file > summary { cursor: pointer; list-style: none; font-size: 14px; line-height: 20px; font-weight: 600; }
.by-file > summary::after { content: " +"; }
.by-file[open] > summary::after { content: " −"; }
.by-file .note { padding: 8px 0; }
.empty { font-size: 18px; line-height: 28px; }
.panel { display: grid; gap: 12px; padding: 20px; border: 1px solid var(--steel); border-radius: 4px; min-width: 0; }
.files { display: grid; gap: 4px; }
.files button { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 12px; text-align: left; text-transform: none; padding: 12px; }
.files button span { overflow-wrap: anywhere; min-width: 0; }
.files button b { font: 500 12px/16px var(--mono); text-transform: uppercase; flex-shrink: 0; }
.files .high b { color: var(--high); } .files .medium b { color: var(--medium); }
.files button[aria-pressed="true"] b { color: var(--page); }
.explain { display: grid; gap: 12px; padding: 20px; background: var(--carbon); color: #ffffff; min-width: 0; --muted: #e0e3ea; --high: #ff9d94; --soft: #272727; --steel: #9a9a9a; border-radius: 4px; }
.explain summary { cursor: pointer; font-size: 14px; line-height: 20px; }
.explain pre { max-height: 320px; overflow: auto; margin-top: 8px; }
.key { display: grid; gap: 8px; }
.verify { display: grid; gap: 8px; margin-top: 8px; padding: 16px; border: 1px solid var(--steel); border-radius: 4px; min-width: 0; }
.agree { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; }
.key .agree { font: 400 14px/20px var(--sans); text-transform: none; }
.key .agree .switch { width: 48px; padding: 0; border: 2px solid #9a9a9a; border-radius: 9999px; background: #ffffff; }
.key .agree .switch:checked { background: var(--orange); border-color: var(--orange); }
.chain { display: grid; gap: 12px; padding: 24px; border: 2px dashed var(--steel); border-radius: 8px; overflow-wrap: anywhere; animation: rise 600ms var(--ease) backwards; }
.chain.attack_chain_likely { border-color: #e5352b; }
.chain.attack_chain_likely h3 { color: var(--high); }
.chain ol { display: grid; gap: 12px; margin: 0; padding-left: 24px; }
.chain li p { margin: 0; }
.connected { display: grid; gap: 8px; padding-top: 8px; overflow-wrap: anywhere; min-width: 0; }
.connected ul { display: grid; gap: 4px; margin: 0; padding-left: 60px; list-style: none; font: 400 12px/16px var(--mono); }
.opinion { display: grid; gap: 4px; padding: 16px; border-radius: 8px; border: 2px dashed var(--steel); font-size: 14px; line-height: 20px; animation: rise 600ms var(--ease) backwards; }
.opinion-label { font: 600 12px/16px var(--mono); text-transform: uppercase; }
.opinion.likely_malicious { border-color: #e5352b; }
.opinion.likely_malicious .opinion-label { color: var(--high); }
.opinion-check { color: var(--muted); }
.key label { font: 500 12px/16px var(--mono); text-transform: uppercase; }
.key input { min-width: 0; font: inherit; padding: 8px 12px; border-radius: 4px; border: 1px solid #9a9a9a; background: #000000; color: #ffffff; }
.key button.solid { background: #ffffff; border-color: #ffffff; color: #000000; }
.note.error { color: var(--high); }
/* Waiting for Claude: where the request is, how long it has taken, and a way out. */
.wait { display: grid; gap: 12px; margin-top: 8px; padding: 24px; border-radius: 8px; border: 1px solid var(--orange); background: #000000; color: #ffffff; animation: rise 600ms var(--ease) backwards; }
.wait-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.wait-head p { font: 600 20px/28px var(--sans); }
.wait-head span { font: 500 14px/20px var(--mono); font-variant-numeric: tabular-nums; color: #d0d0d0; }
.wait-bar { height: 12px; border-radius: 9999px; background: #272727; overflow: hidden; }
.wait-bar i { display: block; position: relative; overflow: hidden; height: 100%; background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform 500ms var(--ease); }
.wait-bar i::after { content: ""; position: absolute; inset: 0; background: #ffffff59; clip-path: polygon(0 0, 6% 0, 10% 100%, 4% 100%); animation: sheen 1600ms var(--ease) infinite; }
@keyframes sheen { from { transform: translateX(-10%); } to { transform: translateX(100%); } }
.wait-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 0; padding: 0; list-style: none; }
.wait-steps li { display: flex; align-items: center; gap: 8px; font: 500 12px/16px var(--mono); text-transform: uppercase; color: #9b9b9b; }
.wait-steps li::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 9999px; border: 1px solid currentColor; }
.wait-steps li.past { color: #ffffff; }
.wait-steps li.past::before { background: var(--orange); border-color: var(--orange); }
.wait-steps li.now { color: #ffb05c; }
.wait-steps li.now::before { background: currentColor; animation: beat 1000ms var(--ease) infinite alternate; }
@keyframes beat { to { transform: scale(1.6); opacity: 0.4; } }
.wait-detail { font-size: 14px; line-height: 20px; color: #d0d0d0; }
.wait button { justify-self: start; }
#explain-status:empty { display: none; }
.answer { white-space: pre-wrap; overflow-wrap: anywhere; background: #ffffff; color: #000000; border-radius: 4px; padding: 16px; font-size: 14px; line-height: 20px; }
.coverage li { font-size: 14px; line-height: 20px; padding: 8px 0; border-top: 1px solid var(--rule); overflow-wrap: anywhere; }

.block { padding: 96px 0 0; display: grid; gap: 24px; scroll-margin-top: 0; }
.block h2 { max-width: 680px; }
.intro { max-width: 560px; color: var(--muted); }
.mosaic { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--rule); border: 1px solid var(--rule); }
.cell { background: var(--page); padding: 20px; min-height: 240px; display: flex; flex-direction: column; gap: 12px; }
.cell code { margin-top: auto; font: 400 14px/20px var(--mono); overflow-wrap: anywhere; }
.cell.teal { background: var(--teal); color: #ffffff; }
.cell.sky { background: var(--sky); color: #000000; }
.cell.mint { background: var(--soft); }
.cell.carbon { background: var(--carbon); color: #ffffff; }
.tagline { position: relative; isolation: isolate; overflow: hidden; margin-top: 96px; background: var(--field); color: #ffffff; padding: 96px 16px; display: grid; justify-items: center; gap: 80px; text-align: center; }
.tagline p { max-width: 1040px; font: 600 72px/80px var(--serif); text-wrap: balance; }
.tagline p span { display: inline-block; position: relative; opacity: 0.2; transform: translateY(12px); filter: blur(4px); transition: opacity 700ms var(--ease), transform 700ms var(--ease), filter 700ms var(--ease); }
.tagline p span.lit { opacity: 1; transform: none; filter: none; }
.tagline .chip { font: 500 48px/64px var(--mono); background: var(--carbon); color: #c4f0ff; border: 1px solid var(--blue); border-radius: 4px; padding: 0 16px; }
.tagline .chip::after { content: "▍"; color: var(--orange); animation: blink 1000ms steps(2, start) infinite; }
.tagline .stroke { color: #ffb05c; }
.tagline .stroke::after { content: ""; position: absolute; left: 0; right: -0.35em; bottom: 0; height: 8px; background: var(--orange); border-radius: 9999px; transform: scaleX(0); transform-origin: left; transition: transform 700ms 600ms var(--ease); }
.tagline .stroke:last-of-type::after { right: 0; transition-delay: 900ms; }
.tagline .stroke.lit::after { transform: scaleX(1); }
@keyframes blink { to { visibility: hidden; } }
.route { list-style: none; margin: 0; padding: 0; width: min(1080px, 100%); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; text-align: left; }
.route li { position: relative; display: grid; gap: 12px; align-content: start; padding: 20px; background: var(--carbon); border: 1px solid #384ce3; border-radius: 4px; }
.route li:not(:last-child)::after { content: "→"; position: absolute; right: -36px; top: 50%; margin-top: -12px; font: 500 24px/24px var(--mono); color: var(--orange); animation: nudge 1400ms var(--ease) infinite alternate; }
.route li.ours { background: #ffffff; color: #000000; outline: 4px solid var(--orange); }
.route b { font: 600 30px/36px var(--serif); }
.route span { font-size: 14px; line-height: 20px; }
.route code { font: 500 12px/16px var(--mono); text-transform: uppercase; color: var(--sky); }
.route .ours code { color: #7a4300; }
@keyframes nudge { to { transform: translateX(8px); } }
.ledger div { display: grid; grid-template-columns: 1fr 1.5fr 1.2fr; gap: 16px; padding: 20px 0; border-top: 1px solid var(--rule); }
.ledger div:last-child { border-bottom: 1px solid var(--rule); }
.ledger dt { font-weight: 500; }
.ledger .to { font: 400 14px/24px var(--mono); overflow-wrap: anywhere; }
.ledger .ok { color: var(--ok); text-transform: uppercase; }
.installs { display: grid; gap: 16px; }
.install { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.2fr); gap: 8px; padding: 8px; border-radius: 12px; background: var(--soft); --tone: #384ce3; --tone-text: #ffffff; }
.install.mcp { --tone: #d3780b; --tone-text: #000000; background: var(--tone); color: #000000; }
.install.cli { --tone: #0d5568; }
.about { display: grid; gap: 8px; align-content: center; justify-items: start; padding: 16px; }
.about h4 { font: 600 36px/40px var(--serif); }
.about p { font-size: 14px; line-height: 20px; }
.about .tag { font: 600 12px/16px var(--mono); text-transform: uppercase; background: var(--tone); color: var(--tone-text); padding: 4px 8px; border-radius: 4px; }
.install.mcp .tag { background: #000000; color: #ffffff; }
.terminal { display: grid; grid-template-rows: auto 1fr auto; border-radius: 4px; background: var(--carbon); color: #ffffff; min-width: 0; }
.terminal-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 8px 8px 8px 16px; background: #272727; border-radius: 4px 4px 0 0; font: 500 12px/16px var(--mono); text-transform: uppercase; }
.terminal pre { padding: 16px; font: 400 16px/28px var(--mono); white-space: pre-wrap; overflow-wrap: anywhere; align-self: center; }
.terminal .line { display: block; padding-left: 24px; text-indent: -24px; }
.terminal .line::before { content: "$"; display: inline-block; width: 24px; text-indent: 0; color: var(--orange); user-select: none; }
.terminal b { font-weight: 600; color: #8fd8ff; }
.terminal mark { background: #ffd24a; color: #000000; border-radius: 2px; padding: 0 4px; }
.swap { padding: 0 16px 16px; font-size: 14px; line-height: 20px; color: #e0e3ea; }
button.copy { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; font-size: 12px; line-height: 16px; background: #ffffff; border-color: #ffffff; color: #000000; }
.copy svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; overflow: visible; }
.copy .sheets { transform-origin: 12px 12px; transition: opacity 300ms var(--ease), transform 500ms var(--ease); }
.copy .tick { stroke-width: 3; stroke-dasharray: 22; stroke-dashoffset: 22; opacity: 0; transition: stroke-dashoffset 500ms 150ms var(--ease), opacity 150ms var(--ease); }
button.copy.copied { background: #1d6b3a; border-color: #1d6b3a; color: #ffffff; animation: pop 500ms var(--ease); }
.copied .sheets { opacity: 0; transform: scale(0.4) rotate(-45deg); }
.copied .tick { stroke-dashoffset: 0; opacity: 1; }
@keyframes pop { 40% { transform: scale(1.12); } }
.mono-link { font: 500 14px/20px var(--mono); text-transform: uppercase; text-underline-offset: 4px; }
.faq { gap: 0; padding-bottom: 96px; }
.faq h2 { padding-bottom: 24px; }
.faq details { border-top: 1px solid var(--rule); padding: 20px 0; }
.faq summary { cursor: pointer; font-size: 18px; line-height: 28px; font-weight: 500; }
.faq p { max-width: 680px; padding-top: 8px; color: var(--muted); }
footer { background: var(--field); color: #ffffff; padding: 64px 0 72px; text-align: center; }
footer .wrap { display: grid; justify-items: center; gap: 24px; }
.closing { font: 600 36px/40px var(--serif); text-wrap: balance; }
footer button { background: #ffffff; border-color: #ffffff; color: #000000; }
footer .links { justify-content: center; padding-top: 24px; }

/* Pausing decorative motion */
.motion { position: fixed; right: 16px; bottom: 16px; z-index: 15; width: 40px; height: 40px; display: grid; place-items: center; padding: 0; border-radius: 9999px; border-color: #8b93a5; background: #09234f; color: #ffffff; }
.motion:hover { transform: none; }
.motion svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.motion .play, .motion[aria-pressed="true"] .pause { display: none; }
.motion[aria-pressed="true"] .play { display: inline; }
.still .dragging .ants rect, .still .meter i, .still .wait-bar i::after, .still .wait-steps li.now::before, .still .tagline .chip::after, .still .route li::after { animation: none !important; }

@media (max-height: 760px) and (min-width: 601px) {
  .intake, .drop-hint { display: none; }
  .drop-title { font-size: 30px; line-height: 36px; }
  .hero { gap: 40px; padding-bottom: 40px; }
  h1 { font-size: 48px; }
}
/* Arrival: the first screen assembles itself, later sections rise as they are reached */
.bar, .statement h1, .statement p, .slot, .proof { animation: rise 900ms var(--ease) backwards; }
.statement h1 { animation-delay: 120ms; } .statement p { animation-delay: 240ms; } .slot { animation-delay: 360ms; } .proof { animation-delay: 520ms; }
.stage { animation: open 600ms var(--ease) backwards; }
.checks li { animation: rise 600ms var(--ease) backwards; }
.checks li:nth-child(2) { animation-delay: 80ms; } .checks li:nth-child(3) { animation-delay: 160ms; } .checks li:nth-child(4) { animation-delay: 240ms; } .checks li:nth-child(5) { animation-delay: 320ms; } .checks li:nth-child(6) { animation-delay: 400ms; }
.stage.done .checks li.hit { animation: strike 700ms var(--ease); }
.drop { animation: open 600ms var(--ease) backwards; }
.rise { opacity: 0; transform: translateY(48px); filter: blur(8px); transition: opacity 900ms var(--ease), transform 900ms var(--ease), filter 900ms var(--ease); }
.rise.in { opacity: 1; transform: none; filter: none; }
@keyframes rise { from { opacity: 0; transform: translateY(32px); filter: blur(8px); } }
@keyframes open { from { opacity: 0; transform: scale(0.94); filter: blur(8px); } }
@keyframes grow { from { transform: scaleX(0); } }
@keyframes strike { 40% { transform: scale(1.06); } }

@media (min-width: 901px) {
  /* Beside the verdict the header covers only the report, which has its own name and actions on the left. */
  .reported .bar:not(.past) { left: 400px; }
  .reported .bar:not(.past) > .brand, .reported .bar:not(.past) > .links { visibility: hidden; }
  .reported .bar.raised:not(.past) { background: var(--page); box-shadow: 0 1px 0 var(--rule), 0 8px 24px light-dark(#0000001f, #000000); }
  .reported .bar:not(.past) .theme { --track: var(--soft); --icon: var(--text); --thumb: var(--text); --picked: var(--page); }
  .reported .report { padding-top: 80px; }
}
@media (min-width: 901px) and (max-width: 1200px) {
  .results { grid-template-columns: minmax(0, 320px) minmax(0, 1fr); }
  .reported .bar:not(.past) { left: 320px; }
  .rail { padding: 32px 24px; }
  .verdict h2 { font-size: 48px; }
  .report { padding: 32px 32px 0; }
}
@media (max-width: 900px) {
  .terminal pre { font-size: 14px; line-height: 24px; }
  .route { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .route li:not(:last-child)::after { content: "↓"; right: 50%; top: auto; bottom: -32px; margin: 0; animation: none; }
  .install, .results { grid-template-columns: minmax(0, 1fr); }
  .rail { position: static; height: auto; overflow: visible; gap: 24px; padding: 96px 16px 32px; }
  /* The header carries the name here. */
  .rail > .brand { display: none; }
  .rail-end { margin-top: 0; }
  .report { padding: 32px 16px 0; }
  .mosaic { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bar .links a:not(.outline) { display: none; }
}
@media (max-width: 600px) {
  h1 { font-size: 36px; line-height: 40px; }
  h2, .verdict h2 { font-size: 36px; line-height: 40px; }
  .tagline p { font-size: 36px; line-height: 48px; }
  .tagline .chip { font-size: 24px; line-height: 40px; padding: 0 8px; }
  .counts { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; border: 0; }
  .counts li { border: 1px solid #33497a; border-radius: 4px; padding: 0; }
  .counts button { flex-direction: column; gap: 0; padding: 8px 4px; font-size: 14px; line-height: 20px; }
  .bar { padding: 0 132px 0 16px; }
  .theme { right: 16px; }
  .hero { gap: 24px; padding-bottom: 48px; }
  .statement p { font-size: 14px; line-height: 20px; }
  .mark { display: none; }
  .drop { outline-width: 4px; box-shadow: 0 0 0 5px var(--sky); padding: 24px 16px 16px; }
  .drop-title { font-size: 30px; line-height: 36px; }
  .intake, .drop-hint { display: none; }
  .checks { grid-template-columns: repeat(2, 1fr); }
  .mosaic, .ledger div { grid-template-columns: minmax(0, 1fr); }
  .head { grid-template-columns: minmax(0, 1fr) auto; padding: 12px 8px; }
  .level { grid-column: 1; grid-row: 1; }
  .rule { grid-column: 2; grid-row: 1; }
  .heading { grid-column: 1 / -1; }
  .body { padding: 0 8px 12px; }
  .finding .evidence { font-size: 14px; line-height: 20px; padding: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .lens, .wait-bar i::after { display: none; }
  .wait-steps li.now::before { animation: none; }
}
