
:root {
  color-scheme: light;
  --navy: #142e47;
  --dark: #0c2136;
  --muted: #52677d;
  --line: #dbe5ee;
  --pale: #edf4f9;
  --mint: #62ebce;
  --green: #116b58;
  --red: #a51e2a;
  --shadow: 0 1px 2px #142e470b, 0 7px 24px #142e470e;
  --serif: "Crimson Pro", Georgia, serif;
  font: 16px/1.5 system-ui, sans-serif;
  color: var(--navy);
  background: #eef3f8;
}
* { box-sizing: border-box; }
body { margin: 0; min-width: 0; min-height: 100vh; }
[hidden] { display: none !important; }
.shell { position: relative; display: flex; flex-direction: column; min-height: 100vh; }
.frame { width: min(100% - 3rem, 69rem); margin-inline: auto; }
main { flex: 1; }
.topbar { border-bottom: 1px solid var(--line); background: #fffdfdce; }
.bar-content, .footer { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .75rem; }
.bar-content { min-height: 4.55rem; }
.bar-content a { display: inline-flex; }
.bar-content img { object-fit: contain; }
.bar-label, .eyebrow, .label, .live {
  font-size: .78rem;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: .09em;
}
.bar-label, .eyebrow, .label, .secondary, .lead { color: var(--muted); }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
h1, h2, h3 { font-family: var(--serif); line-height: 1.05; color: var(--dark); }
h1 { font-size: clamp(2.5rem, 5.4vw, 5.1rem); font-weight: 700; letter-spacing: -.03em; }
h2 { font-size: clamp(1.65rem, 3vw, 2.25rem); }
h3 { font-size: 1.5rem; }
button, input { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: default; }
:focus-visible { outline: 3px solid #2c779f; outline-offset: 3px; }
[tabindex="-1"]:focus { outline: none; }
.landing { padding: clamp(2.5rem, 6vh, 5.5rem) 0 2.25rem; text-align: center; }
.landing h1 { margin: .65rem 0 1rem; }
.lead { max-width: 39rem; margin-inline: auto; font-size: 1.1rem; }
.card { border: 1px solid var(--line); border-radius: 1rem; background: #fff; box-shadow: var(--shadow); min-width: 0; overflow-wrap: anywhere; }
.search-card { position: relative; max-width: 36rem; margin: 2rem auto 0; padding: clamp(1rem, 3vw, 1.7rem); text-align: left; }
.search-card label { display: block; margin-bottom: .5rem; font-weight: 750; }
.search-field { display: flex; align-items: center; gap: .65rem; border: 1px solid #aabed0; border-radius: .65rem; padding: 0 .9rem; background: #f9fbfd; color: var(--muted); }
.search-field:focus-within { outline: 2px solid #2c779f; outline-offset: 2px; }
.search-field input { width: 100%; min-width: 0; min-height: 3.2rem; padding: .55rem 0; background: transparent; border: 0; color: var(--dark); outline: 0; }
.search-field svg { flex: none; }
.search-card .secondary { margin: .65rem 0 .8rem; font-size: .9rem; }
.matches { position: absolute; z-index: 4; left: clamp(1rem, 3vw, 1.7rem); right: clamp(1rem, 3vw, 1.7rem); margin: .35rem 0 0; padding: .3rem; list-style: none; max-height: 14rem; overflow: auto; border: 1px solid var(--line); border-radius: .75rem; background: white; box-shadow: 0 10px 22px #142e4730; }
.matches li { padding: .52rem .75rem; border-radius: .45rem; cursor: pointer; }
.matches li:hover, .matches [aria-selected="true"] { background: var(--pale); }
.matches span { display: block; font-size: .82rem; color: var(--muted); }
.matches .empty { cursor: default; color: var(--muted); }
.examples, .pills { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; }
.pill, .example, .live { display: inline-flex; align-items: center; gap: .4rem; border-radius: 999px; }
.pill, .example { border: 1px solid var(--line); background: #f2f7fa; color: var(--navy); font-size: .82rem; font-weight: 650; padding: .25rem .65rem; }
.example:hover { border-color: #819bb0; background: #e4eef6; }
.button { border: 1px solid transparent; border-radius: .65rem; font-weight: 750; padding: .7rem 1.1rem; }
.primary { color: white; background: var(--navy); }
.primary:hover { background: #244966; }
.primary:disabled { background: #dce7ef; color: #536b80; }
.search-card .primary { margin-top: 1rem; width: 100%; }
.ghost { background: #fff; color: var(--navy); border-color: var(--line); }
.ghost:hover { background: var(--pale); }
.demo-note, .footer { color: var(--muted); font-size: .84rem; }
.demo-note { margin-top: 1rem; }
.footer { border-top: 1px solid var(--line); padding-block: 1rem; }
.live { background: #e6f8f3; border: 1px solid #bbede0; color: var(--green); padding: .32rem .65rem; width: fit-content; }
.live::before { content: ""; width: .5rem; aspect-ratio: 1; flex: none; border-radius: 50%; background: #218b72; box-shadow: 0 0 0 3px #62ebce40; }
.radar { position: relative; align-self: center; justify-self: center; width: min(100%, 9.75rem); aspect-ratio: 1; border-radius: 50%; border: 1px solid #c7e0e8; background: repeating-radial-gradient(circle, #e9f5f6 0 1px, #f6fbfc 2px 17px, #cfdee8 18px 19px); box-shadow: inset 0 0 14px #c1d8e4; }
.radar span { position: absolute; inset: 0; border-radius: inherit; background: conic-gradient(transparent 62%, #62ebce25 82%, #34b89d96 99%, transparent); animation: sweep 3.6s linear infinite; }
.radar i, .radar b { position: absolute; background: var(--navy); width: .44rem; aspect-ratio: 1; border-radius: 50%; box-shadow: 0 0 0 3px #142e471b; top: 30%; left: 64%; }
.radar i:nth-of-type(2) { top: 65%; left: 69%; }
.radar i:nth-of-type(3) { top: 63%; left: 25%; }
.radar b { width: .65rem; left: 50%; top: 50%; translate: -50% -50%; box-shadow: 0 0 0 5px #62ebce58; }
@keyframes sweep { to { rotate: 360deg; } }
.scan-view { max-width: 48rem; margin: clamp(2rem, 8vh, 6rem) auto; }
.scan-panel { padding: clamp(1rem, 4vw, 2rem); display: grid; grid-template-columns: minmax(4.5rem, 8rem) minmax(0, 1fr); align-items: center; gap: 1.1rem; }
.scan-panel h1, .result-header h1 { font-size: clamp(2rem, 4.5vw, 3.65rem); margin: .35rem 0; }
.scan-panel progress, .scan-steps { grid-column: 1 / -1; width: 100%; }
progress { accent-color: #19816c; height: .65rem; }
.scan-steps { display: grid; list-style: none; padding: 0; margin: 0; gap: .45rem; }
.scan-steps li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .45rem; align-items: center; padding: .6rem .75rem; background: #f5f8fb; border: 1px solid var(--line); border-radius: .55rem; }
.scan-steps li[data-state="Scanning"] { border-color: #68b7a8; background: #edf9f6; }
.step-status { font-size: .8rem; font-weight: 750; color: var(--green); }
.scan-steps .secondary { font-size: .87rem; }
.platform { width: .95rem; height: .95rem; object-fit: contain; }
.results { padding: 2rem 0 3rem; }
.result-header { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .85rem; margin-bottom: 1.2rem; }
.result-header h1 { margin-top: .15rem; }
.metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .8rem; }
.metric { padding: .85rem 1rem; }
.metric strong { display: block; font-size: 1.95rem; line-height: 1.25; }
.metric.accent { border-color: #efc5c8; background: linear-gradient(145deg, #fff5f5, white); }
.metric.accent strong { color: var(--red); }
.metric .secondary { font-size: .88rem; }
.signal-panel { margin-top: 1rem; padding: clamp(1rem, 3vw, 1.5rem); display: grid; grid-template-columns: minmax(5rem, 9.75rem) minmax(0, 1fr); align-items: center; gap: 1.25rem; background: linear-gradient(135deg, #fff 35%, #e7f0f7); }
.signal-panel h2, .signal-panel .pills { margin-top: .45rem; }
.signal-panel .spread { margin-top: .65rem; font-weight: 750; padding-top: .55rem; border-top: 3px solid #dbe8f0; }
.section-heading { margin: 1.45rem 0 .55rem; }
.alert { display: grid; grid-template-columns: minmax(0, 34%) minmax(0, 1fr); border-color: #edb9bf; background: linear-gradient(140deg, white 35%, #fff3f4); overflow: hidden; }
.evidence { background: #e9f0f5; display: flex; flex-direction: column; border-right: 1px solid var(--line); min-width: 0; }
.evidence img { width: 100%; min-height: 13rem; max-height: 23rem; flex: 1; object-fit: cover; }
.evidence figcaption { padding: .75rem; font-size: .83rem; color: var(--muted); }
.evidence figcaption a { color: inherit; }
.placeholder { min-height: 12rem; flex: 1; display: grid; place-items: center; padding: 1rem; text-align: center; background: radial-gradient(#f3f8fc, #d7e5f0); }
.alert-content { padding: clamp(1rem, 3vw, 1.5rem); display: grid; gap: .68rem; }
.severity { background: #ffebed; color: var(--red); border-color: #efc5c8; }
.critical { background: #a51e2a; color: white; border-color: #a51e2a; }
.next { padding: .65rem .8rem; border: 1px solid #efc5c8; border-radius: .65rem; background: #fff; }
.next .label { color: var(--red); }
.alert-content .primary { justify-self: start; }
.response { scroll-margin: 1rem; margin-top: 1rem; padding: clamp(1rem, 3vw, 1.5rem); }
.response-intro { margin: .55rem 0 1rem; max-width: 65ch; }
.actions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem; padding: 0; margin: 0; list-style: none; }
.actions li { padding: .85rem; border-radius: .75rem; background: var(--pale); }
.actions li:last-child { background: var(--navy); color: white; }
.actions li:last-child h3 { color: var(--mint); }
.actions p { margin-top: .45rem; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (max-width: 640px) {
  .frame { width: calc(100% - 1.5rem); }
  .hero-break { display: none; }
  .metrics, .actions, .alert { grid-template-columns: minmax(0, 1fr); }
  .evidence { border-right: 0; }
  .evidence img { max-height: 16rem; }
  .bar-label { font-size: .69rem; }
}
@media (prefers-reduced-motion: reduce) {
  .radar span, .ocean-fish, .ocean-tail, .ocean-star { animation: none; }
}

.snapshot-telemetry {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 8rem), 1fr));
  gap: .5rem .8rem;
  margin-top: .7rem;
  padding-top: .65rem;
  border-top: 1px solid var(--line);
}
.snapshot-telemetry dd { font-weight: 750; font-variant-numeric: tabular-nums; }

.industry-field { margin: .8rem 0; }
.industry-field select {
  width: 100%;
  min-height: 2.75rem;
  padding: .5rem .75rem;
  border: 1px solid #aabed0;
  border-radius: .65rem;
  color: var(--dark);
  background: #f9fbfd;
  font: inherit;
}
.result-header > div, .scan-panel > div { min-width: 0; overflow-wrap: anywhere; }
.pill { max-width: 100%; white-space: normal; }

.result-identity { display: flex; align-items: flex-start; gap: clamp(.65rem, 2vw, 1rem); }
.result-identity-text { min-width: 0; }
.organization-badge {
  display: grid;
  place-items: center;
  flex: none;
  width: clamp(2.6rem, 7vw, 4.25rem);
  aspect-ratio: 1;
  border: 1px solid #bdcddd;
  border-radius: .75rem;
  background: linear-gradient(145deg, #244965, #112a43);
  color: #fff;
  font-size: clamp(.9rem, 2.8vw, 1.65rem);
  font-weight: 750;
  letter-spacing: .035em;
  box-shadow: 0 4px 12px #142e4724;
}
.organization-badge[data-industry="healthcare"],
.organization-badge[data-industry="pharma"],
.organization-badge[data-industry="critical-infrastructure"] { background: linear-gradient(145deg, #17635f, #103e49); }
.organization-badge[data-industry="software"],
.organization-badge[data-industry="finance-banking"],
.organization-badge[data-industry="manufacturing-semiconductors"] { background: linear-gradient(145deg, #444e7c, #222d52); }

.organization-logo {
  object-fit: contain;
  padding: .4rem;
  background: #fff;
}

.activation { padding: clamp(1rem, 3vw, 2rem); margin-top: 1rem; }
.activation > p, .activation > button, .plan-dialog > p { margin-top: .8rem; }
.plan-dialog { width: min(34rem, calc(100vw - 2rem)); max-height: calc(100dvh - 2rem); padding: 1.25rem; }
.plan-dialog::backdrop { background: #101e31aa; }
.plan-dialog > button { float: right; margin: 0 0 .6rem .6rem; }
.plan-form { display: grid; gap: .65rem; margin-top: 1rem; }
.plan-form label { display: grid; gap: .2rem; font-weight: 650; }
.plan-form input { min-width: 0; width: 100%; padding: .55rem .7rem; border: 1px solid #aabed0; border-radius: .55rem; }
