:root {
  color-scheme: light;
  --color-deep-navy: #16324f;
  --color-signal-orange: #f97316;
  --color-slate-blue: #4f6478;
  --color-soft-steel: #d9e2ea;
  --color-off-white: #f7f9fb;
  --color-critical-red: #d64545;
  --color-white: #ffffff;
  --color-success: #287a58;
  --color-success-soft: #edf7f2;
  --color-orange-soft: #fff4eb;
  --color-red-soft: #fdf0f0;
  --color-navy-soft: #eef3f7;
  --bg: var(--color-off-white);
  --panel: var(--color-white);
  --panel-soft: #f1f5f8;
  --text: var(--color-deep-navy);
  --muted: var(--color-slate-blue);
  --line: var(--color-soft-steel);
  --brand: var(--color-signal-orange);
  --brand-dark: #d85b08;
  --accent: var(--color-deep-navy);
  --ok: var(--color-success);
  --ok-bg: var(--color-success-soft);
  --alarm: var(--color-signal-orange);
  --alarm-bg: var(--color-orange-soft);
  --warning: #b8520b;
  --warning-bg: var(--color-orange-soft);
  --warning-line: #fdba88;
  --danger: var(--color-critical-red);
  --danger-dark: #b73131;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --shadow-soft: 0 10px 30px rgba(22, 50, 79, .07);
  --focus: 0 0 0 3px rgba(249, 115, 22, .22);
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
button, input, select, textarea { font: inherit; }
a { color: var(--color-deep-navy); text-underline-offset: 3px; }
a:hover { color: var(--brand-dark); }
img { display: block; height: auto; max-width: 100%; }
h1, h2, h3, h4, p { margin-top: 0; }
h1, h2, h3, h4 { color: var(--color-deep-navy); line-height: 1.2; }
h1 { margin-bottom: var(--space-3); font-size: clamp(30px, 4vw, 46px); letter-spacing: -.035em; }
h2 { margin-bottom: var(--space-4); font-size: clamp(22px, 2.3vw, 28px); letter-spacing: -.02em; }
h3 { margin-bottom: var(--space-2); font-size: 18px; }
p, .hint { color: var(--muted); }
code { background: var(--color-navy-soft); border-radius: 5px; color: var(--color-deep-navy); padding: 2px 5px; }
small { color: var(--muted); }

.page { max-width: 1280px; margin: 0 auto; padding: var(--space-6) var(--space-5) 64px; }
.shell { max-width: 1380px; }

.brand-lockup { align-items: center; display: inline-flex; flex: 0 0 auto; line-height: 0; text-decoration: none; }
.brand-lockup img { height: auto; object-fit: contain; overflow: visible; width: 188px; }
.brand-lockup.compact img { width: 148px; }
.brand-lockup.on-dark img { width: 176px; }
.brand-icon { width: 42px; height: 42px; object-fit: contain; }

.topbar {
  align-items: center;
  display: flex;
  justify-content: space-between;
  gap: var(--space-5);
  margin-bottom: var(--space-6);
  min-height: 56px;
}
.topbar-actions { align-items: center; display: flex; flex-wrap: wrap; gap: var(--space-3); }
.topbar-actions > a:not(.button-link) { font-weight: 700; text-decoration: none; }

.hero, .panel, .result, .stats article {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.hero {
  align-items: center;
  background: var(--color-deep-navy);
  border: 0;
  display: flex;
  justify-content: space-between;
  gap: var(--space-8);
  min-height: 190px;
  overflow: hidden;
  padding: clamp(28px, 4vw, 48px);
  position: relative;
}
.hero::after {
  background: radial-gradient(circle, rgba(249,115,22,.16), transparent 68%);
  content: "";
  height: 360px;
  pointer-events: none;
  position: absolute;
  right: -120px;
  top: -150px;
  width: 360px;
}
.hero > * { position: relative; z-index: 1; }
.hero h1, .hero h2 { color: var(--color-white); }
.hero p { color: var(--color-soft-steel); margin-bottom: 0; max-width: 760px; }
.hero .eyebrow { color: #ffad73; }
.hero-admin { border-left: 5px solid var(--color-signal-orange); }
.hero-logo {
  height: auto;
  margin-left: auto;
  max-height: none;
  max-width: 350px;
  object-fit: contain;
  overflow: visible;
  width: 33%;
}
.landing-hero { min-height: 380px; }
.landing-hero h1 { max-width: 820px; }

.eyebrow {
  color: var(--color-signal-orange);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .11em;
  margin-bottom: var(--space-2);
  text-transform: uppercase;
}

.nav {
  align-items: center;
  background: rgba(255,255,255,.98);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: 0 4px 14px rgba(22,50,79,.05);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-1);
  margin: var(--space-4) 0 var(--space-6);
  padding: var(--space-2);
  position: sticky;
  top: var(--space-2);
  z-index: 10;
}
.nav::before {
  align-self: center;
  background: url('/static/brand/vigilog-icon-light.svg') center/contain no-repeat;
  content: "";
  flex: 0 0 34px;
  height: 34px;
  margin: 0 var(--space-2) 0 var(--space-1);
}
.nav a {
  border-radius: var(--radius-sm);
  color: var(--color-slate-blue);
  font-size: 14px;
  font-weight: 750;
  padding: 9px 11px;
  text-decoration: none;
}
.nav a:hover { background: var(--color-navy-soft); color: var(--color-deep-navy); }
.nav a.active { background: var(--color-deep-navy); color: var(--color-white); }
.nav form { margin: 0 0 0 auto; }

button, .primary, .button-link {
  align-items: center;
  background: var(--color-signal-orange);
  border: 1px solid var(--color-signal-orange);
  border-radius: var(--radius-sm);
  color: var(--color-white);
  cursor: pointer;
  display: inline-flex;
  font-weight: 800;
  justify-content: center;
  min-height: 42px;
  padding: 10px 16px;
  text-decoration: none;
  transition: background .15s ease, border-color .15s ease, transform .15s ease;
}
button:hover, .primary:hover, .button-link:hover { background: var(--brand-dark); border-color: var(--brand-dark); color: var(--color-white); }
button:active, .button-link:active { transform: translateY(1px); }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible { outline: none; box-shadow: var(--focus); }
button.secondary, .secondary-link {
  background: var(--color-white);
  border: 1px solid var(--color-soft-steel);
  box-shadow: none;
  color: var(--color-deep-navy);
  min-height: 36px;
  padding: 8px 12px;
}
button.secondary:hover, .secondary-link:hover { background: var(--color-navy-soft); border-color: #b8c8d6; color: var(--color-deep-navy); }
button.danger { background: transparent; border-color: #e7a9a9; color: var(--color-critical-red); min-height: 36px; padding: 8px 12px; }
button.danger:hover { background: var(--color-critical-red); border-color: var(--color-critical-red); color: var(--color-white); }
button.big { font-size: 16px; min-height: 48px; padding: 12px 22px; }

.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-4); margin: var(--space-5) 0; }
.stats article { border-top: 3px solid var(--color-soft-steel); padding: var(--space-5); }
.stats article.attention, .stats article:nth-child(2) { border-top-color: var(--color-signal-orange); }
.stats strong { color: var(--color-deep-navy); display: block; font-size: clamp(28px, 3vw, 36px); letter-spacing: -.04em; line-height: 1.1; overflow-wrap: anywhere; }
.stats span { color: var(--muted); display: block; font-size: 14px; margin-top: var(--space-2); }
.stats small { color: var(--muted); display: block; font-size: 12px; line-height: 1.4; margin-top: var(--space-2); }
.stats strong.text-value { font-size: clamp(20px, 2vw, 25px); letter-spacing: -.025em; min-height: 40px; }
.stats.mini { margin: var(--space-3) 0 var(--space-5); }
.stats.mini strong { font-size: 26px; }

.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-5); margin: var(--space-5) 0; }
.grid > * { min-width: 0; }
.panel, .result { margin: var(--space-5) 0; padding: clamp(20px, 3vw, 30px); }
.grid > .panel { margin: 0; }
.panel.spotlight { background: linear-gradient(180deg, #fff, #fffaf6); border-color: #f5c6a4; }
.section-heading { align-items: start; display: flex; justify-content: space-between; gap: var(--space-5); }
.section-heading p { margin-bottom: var(--space-3); }
.section-kicker { color: var(--muted); font-size: 13px; font-weight: 700; margin-bottom: var(--space-2); }

.result { border-left-width: 5px; }
.result.alarm { background: var(--alarm-bg); border-color: #fdba88; }
.result.no-alarm { background: var(--ok-bg); border-color: #a8d7c3; }
.result.alarm h2, .result.alarm h3 { color: #8f3c05; }
.result.no-alarm h2, .result.no-alarm h3 { color: var(--ok); }

.stack { display: grid; gap: var(--space-4); }
.inline-form { align-items: end; display: grid; gap: var(--space-4); grid-template-columns: minmax(260px, 1fr) auto; }
.wide-form { grid-template-columns: 1.2fr .5fr 1.2fr auto; margin-bottom: var(--space-5); }
.watchlist-form {
  background: var(--panel-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  display: grid;
  gap: var(--space-4);
  grid-template-columns: repeat(12, minmax(0, 1fr));
  margin-bottom: var(--space-6);
  padding: clamp(18px, 3vw, 26px);
}
.watchlist-form .field-company { grid-column: span 6; }
.watchlist-form .field-wide { grid-column: span 6; }
.watchlist-form .field-full { grid-column: 1 / -1; }
.watchlist-form .field-compact { grid-column: span 3; }
.watchlist-form .field-register-number { grid-column: span 3; }
.form-actions { align-items: center; display: flex; gap: var(--space-3); }
.form-actions.wide { grid-column: 1 / -1; }
.watchlist-panel { margin-top: var(--space-8); }

.source-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-3); }
.check-card {
  align-items: center;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  color: var(--text);
  display: flex;
  flex-direction: row;
  gap: var(--space-3);
  min-height: 58px;
  padding: var(--space-4);
}
.check-card:has(input:checked) { background: var(--color-orange-soft); border-color: #fdba88; }
.check-card input { accent-color: var(--color-signal-orange); flex: 0 0 auto; height: 18px; width: 18px; }
.check-card.wide { grid-column: 1 / -1; }

label { color: var(--color-deep-navy); display: grid; font-size: 14px; font-weight: 750; gap: 7px; }
input, select, textarea {
  background: var(--color-white);
  border: 1px solid #becbd6;
  border-radius: var(--radius-sm);
  color: var(--text);
  min-height: 44px;
  padding: 10px 12px;
  width: 100%;
}
input::placeholder, textarea::placeholder { color: #7d8e9e; }
input:hover, select:hover, textarea:hover { border-color: var(--color-slate-blue); }
input:focus, select:focus, textarea:focus { border-color: var(--color-signal-orange); outline: none; box-shadow: var(--focus); }
input[type="password"]::-ms-reveal { display: none; }
.password-field { display: block; min-width: 0; position: relative; width: 100%; }
.password-field input { padding-right: 54px; }
button.password-toggle {
  align-items: center;
  background: transparent;
  border: 0;
  border-left: 1px solid var(--line);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--color-slate-blue);
  display: inline-flex;
  height: 40px;
  justify-content: center;
  min-height: 40px;
  min-width: 44px;
  padding: 0;
  position: absolute;
  right: 2px;
  top: 2px;
  width: 44px;
}
button.password-toggle svg { fill: none; height: 20px; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; width: 20px; }
button.password-toggle svg circle { fill: currentColor; stroke: none; }
button.password-toggle:hover { background: var(--color-navy-soft); color: var(--color-deep-navy); transform: none; }
button.password-toggle:focus-visible { box-shadow: var(--focus); outline: 2px solid var(--color-white); outline-offset: -4px; }
button.password-toggle[aria-pressed="true"] { color: var(--color-signal-orange); }
textarea { resize: vertical; }
.required { color: var(--color-deep-navy); font-size: 11px; font-weight: 850; letter-spacing: .03em; text-transform: uppercase; }
.optional { color: var(--muted); font-size: 11px; font-weight: 750; text-transform: uppercase; }
.field-error { background: var(--color-red-soft); border: 1px solid #efb1b1; border-radius: var(--radius-sm); color: #a92e2e; display: block; font-size: 13px; padding: 8px 10px; }

.table-wrap { background: var(--color-white); border: 1px solid var(--line); border-radius: var(--radius-md); overflow-x: auto; }
table { border-collapse: separate; border-spacing: 0; min-width: 720px; width: 100%; }
th, td { border-bottom: 1px solid var(--line); padding: 13px 12px; text-align: left; vertical-align: top; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover { background: #fafcfd; }
th { background: var(--color-navy-soft); color: var(--color-slate-blue); font-size: 11px; letter-spacing: .055em; position: sticky; text-transform: uppercase; top: 0; }
td { color: #29445f; }
.actions, .toolbar { align-items: center; display: flex; flex-wrap: wrap; gap: var(--space-2); }
.actions form { margin: 0; }
.table-meta { display: block; margin-top: 6px; max-width: 260px; overflow-wrap: anywhere; }
.mobile-table-meta { display: none; }

.test-feature { border-top: 4px solid var(--color-signal-orange); }
.test-feature-heading { align-items: center; }
.test-mark { align-items: center; display: flex; flex: 0 0 auto; flex-direction: column; gap: var(--space-2); text-align: center; }
.test-mark small { font-size: 11px; max-width: 120px; }
.test-stamp {
  align-items: center;
  border: 2px solid var(--color-signal-orange);
  border-radius: 50%;
  color: #b94c05;
  display: inline-flex;
  font-size: 10px;
  font-weight: 900;
  height: 86px;
  justify-content: center;
  letter-spacing: .075em;
  line-height: 1.1;
  padding: var(--space-2);
  transform: rotate(-5deg);
  width: 86px;
}
.secondary-test-action { background: var(--panel-soft); margin-top: var(--space-5); }

.watchlist-toolbar {
  align-items: end;
  background: var(--panel-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  display: grid;
  gap: var(--space-4);
  grid-template-columns: minmax(240px, 1fr) auto;
  margin-bottom: var(--space-4);
  padding: var(--space-4);
}
.watchlist-search { min-width: 0; }
.filter-group { align-items: center; display: flex; flex-wrap: wrap; gap: var(--space-2); }
.filter-group > span { color: var(--muted); font-size: 12px; font-weight: 800; margin-right: var(--space-1); text-transform: uppercase; }
button.filter-button {
  background: var(--color-white);
  border-color: var(--line);
  color: var(--color-deep-navy);
  min-height: 38px;
  padding: 7px 12px;
}
button.filter-button:hover, button.filter-button.active { background: var(--color-deep-navy); border-color: var(--color-deep-navy); color: var(--color-white); }
.toolbar-status { grid-column: 1 / -1; font-size: 12px; margin: calc(-1 * var(--space-2)) 0 0; }
.watchlist-table { min-width: 920px; }
.watchlist-table th:last-child, .watchlist-table td:last-child { width: 132px; }
button.sort-button {
  background: transparent;
  border: 0;
  color: var(--color-slate-blue);
  font-size: inherit;
  justify-content: flex-start;
  letter-spacing: inherit;
  min-height: 32px;
  padding: 4px 0;
  text-transform: uppercase;
  width: 100%;
}
button.sort-button:hover { background: transparent; border: 0; color: var(--color-deep-navy); }
button.sort-button span { color: var(--color-signal-orange); display: inline; font-size: 14px; margin: 0 0 0 5px; }
.actions-cell { overflow: visible; }
.action-menu { background: transparent; border: 0; margin: 0; padding: 0; }
.action-menu summary {
  align-items: center;
  background: var(--color-white);
  border: 1px solid var(--color-soft-steel);
  border-radius: var(--radius-sm);
  display: inline-flex;
  font-size: 13px;
  gap: var(--space-2);
  justify-content: space-between;
  list-style: none;
  min-height: 38px;
  padding: 8px 11px;
  width: 112px;
}
.action-menu summary::-webkit-details-marker { display: none; }
.action-menu[open] summary { background: var(--color-navy-soft); border-color: #b8c8d6; }
.action-menu-items { border-left: 2px solid var(--color-soft-steel); display: grid; gap: 2px; margin: var(--space-2) 0 0 5px; padding-left: var(--space-2); }
.action-menu-items form { margin: 0; }
.action-menu-item, button.action-menu-item {
  background: transparent;
  border: 0;
  border-radius: 6px;
  color: var(--color-deep-navy);
  display: flex;
  font-size: 13px;
  font-weight: 750;
  justify-content: flex-start;
  min-height: 34px;
  padding: 7px 9px;
  text-decoration: none;
  width: 100%;
}
.action-menu-item:hover, button.action-menu-item:hover { background: var(--color-navy-soft); color: var(--color-deep-navy); }
.action-menu-item.danger-item { color: var(--color-critical-red); }
.action-menu-item.danger-item:hover { background: var(--color-red-soft); color: var(--color-critical-red); }
.watchlist-row[hidden] { display: none; }
.cards { display: grid; gap: var(--space-3); }
.match-card { background: var(--color-white); border: 1px solid #fdba88; border-left: 5px solid var(--color-signal-orange); border-radius: var(--radius-md); padding: var(--space-5); }

.alert-panel, .warning-panel { background: linear-gradient(180deg, #fff, #fffaf6); border-color: #f5c6a4; }
.alert-panel h2, .warning-panel h2 { color: var(--color-deep-navy); }
.alert-list { gap: var(--space-3); }
.alert-card { background: var(--color-white); border: 1px solid #f5c6a4; border-left: 5px solid var(--color-signal-orange); border-radius: var(--radius-md); padding: var(--space-4); }
.alert-card:has(.risk-high) { border-left-color: var(--color-critical-red); }
.badge-alarm { background: var(--color-signal-orange); color: var(--color-white); margin-right: var(--space-2); }
.events-panel { background: var(--color-white); }
.event-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.event-card { background: var(--panel-soft); border: 1px solid var(--line); border-left: 5px solid var(--color-slate-blue); border-radius: var(--radius-md); padding: var(--space-5); }
.event-card.risk-border-medium { border-left-color: var(--color-signal-orange); }
.event-card.risk-border-high { border-left-color: var(--color-critical-red); }
.event-card h3 { margin: var(--space-3) 0 var(--space-2); }
.event-card p { margin-bottom: var(--space-2); }
.official-details { background: var(--color-white); border: 1px solid var(--line); border-radius: var(--radius-sm); margin: var(--space-3) 0; padding: var(--space-3); }
.official-details h4 { color: var(--color-slate-blue); font-size: 14px; margin: 0 0 var(--space-2); }
.official-details dl { display: grid; gap: var(--space-2); margin: 0; }
.official-details dl div { display: grid; grid-template-columns: minmax(8rem, .45fr) minmax(0, 1fr); gap: var(--space-2); }
.official-details dt { color: var(--muted); font-size: 12px; font-weight: 700; }
.official-details dd { margin: 0; min-width: 0; overflow-wrap: anywhere; }
.event-meta { font-size: 13px; }
.event-level.risk-low { background: var(--color-slate-blue); }
.email-panel { background: var(--color-white); border-color: var(--line); }
.email-admin-card { border-top: 5px solid var(--color-signal-orange); }
.automatic-email-setting { margin: var(--space-4) 0; }
.smtp-state { border: 1px solid var(--line); border-radius: var(--radius-md); margin: var(--space-4) 0; padding: var(--space-4); }
.smtp-state p { margin: 6px 0 0; }
.smtp-ready { background: #edf8f1; }
.smtp-warning { background: var(--color-red-soft); border-color: #efb4b4; }
.email-preview { margin: var(--space-5) 0; }
.email-preview summary { cursor: pointer; font-weight: 800; margin-bottom: var(--space-3); }
.email-preview iframe { background: var(--color-off-white); border: 1px solid var(--line); border-radius: var(--radius-md); height: 720px; width: 100%; }
.email-text-preview { box-sizing: border-box; max-width: 100%; min-width: 0; overflow-wrap: anywhere; white-space: pre-wrap; }
.invitation-flow { display: grid; gap: var(--space-5); min-width: 0; }
.invitation-card { margin: 0; min-width: 0; }
.invitation-recipient { display: grid; gap: var(--space-3); grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; }
.invitation-recipient div { background: var(--color-navy-soft); border-radius: var(--radius-sm); min-width: 0; padding: var(--space-3); }
.invitation-recipient dt { color: var(--muted); font-size: 12px; }
.invitation-recipient dd { color: var(--color-deep-navy); font-weight: 700; margin: var(--space-1) 0 0; overflow-wrap: anywhere; }
.invitation-send-card { border-color: var(--color-signal-orange); }
.delivery-state { min-width: 260px; }
.delivery-state small { color: var(--muted); display: block; line-height: 1.45; margin-top: 6px; }
.delivery-state form { display: grid; gap: 8px; margin-top: 10px; }
.claim-confirm { align-items: flex-start; display: flex; font-size: 12px; gap: 7px; line-height: 1.35; }
.claim-confirm input { margin-top: 2px; }
.delivery-state button { font-size: 12px; padding: 8px 10px; }
.delivery-log-filters {
  align-items: end;
  background: var(--panel-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  display: grid;
  gap: var(--space-3);
  grid-template-columns: minmax(180px, .7fr) minmax(240px, 1fr) auto auto;
  margin-bottom: var(--space-3);
  max-width: 100%;
  min-width: 0;
  padding: var(--space-4);
}
#alerts { max-width: 100%; min-width: 0; overflow: hidden; }
.delivery-log-table-wrap { max-width: 100%; min-width: 0; overscroll-behavior-x: contain; }
.delivery-log-table { min-width: 1280px; }
.delivery-log-table td { overflow-wrap: anywhere; }

.metric-table { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-3); margin-bottom: var(--space-4); }
.metric-table.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.metric-table div { background: var(--color-white); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: var(--space-3); }
.metric-table span { color: var(--muted); display: block; font-size: 12px; }
.metric-table strong { color: var(--color-deep-navy); display: block; margin-top: var(--space-1); }

.badge { background: var(--color-slate-blue); border-radius: 999px; color: var(--color-white); display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: .02em; padding: 4px 9px; white-space: nowrap; }
.badge-neutral, .badge-source { background: var(--color-navy-soft); color: var(--color-deep-navy); }
.status-trial { background: var(--color-slate-blue); }
.status-active, .status-sent { background: var(--color-success); }
.status-pending { background: var(--color-signal-orange); }
.status-previewed { background: var(--color-deep-navy); }
.status-failed { background: var(--color-critical-red); }
.status-uncertain { background: var(--color-critical-red); }
.status-canceled { background: var(--color-slate-blue); }
.status-inactive { background: var(--color-slate-blue); }
.risk-high { background: var(--color-critical-red); }
.risk-medium { background: var(--color-signal-orange); }
.risk-low { background: var(--color-success); }

.compact-list { display: grid; gap: var(--space-3); list-style: none; margin: 0; padding: 0; }
.compact-list li { border-bottom: 1px solid var(--line); padding-bottom: var(--space-3); }
.compact-list li:last-child { border-bottom: 0; }
dl { display: grid; gap: var(--space-3); margin: 0; }
dl div { display: grid; grid-template-columns: 170px 1fr; gap: var(--space-3); }
dt { color: var(--muted); font-weight: 750; }
dd { margin: 0; }
.steps { color: var(--muted); line-height: 1.75; }

.flash { border: 1px solid #fdba88; border-left: 5px solid var(--color-signal-orange); border-radius: var(--radius-sm); color: var(--color-deep-navy); margin: var(--space-4) 0; padding: 11px 14px; }
.flash-success { background: var(--color-success-soft); border-color: #a8d7c3; border-left-color: var(--color-success); }
.flash-error { background: var(--color-red-soft); border-color: #efb1b1; border-left-color: var(--color-critical-red); }

.auth-page { background: linear-gradient(135deg, var(--color-deep-navy) 0 38%, var(--color-off-white) 38%); display: grid; min-height: 100vh; padding: var(--space-6); place-items: center; }
.auth-shell { display: grid; grid-template-columns: minmax(260px, .8fr) minmax(380px, 1fr); max-width: 980px; width: 100%; }
.auth-brand { align-items: flex-start; background: var(--color-deep-navy); border-radius: var(--radius-lg) 0 0 var(--radius-lg); display: flex; flex-direction: column; justify-content: space-between; min-height: 580px; padding: 44px 38px; }
.auth-brand > a { display: block; line-height: 0; max-width: 100%; }
.auth-brand img { height: auto; object-fit: contain; overflow: visible; width: min(100%, 220px); }
.auth-brand-claim { color: var(--color-white); font-size: 28px; font-weight: 700; line-height: 1.15; margin-bottom: 0; }
.auth-card { border-radius: 0 var(--radius-lg) var(--radius-lg) 0; box-shadow: var(--shadow-soft); margin: 0; min-height: 580px; padding: clamp(32px, 5vw, 56px); width: 100%; }
.auth-card h1 { font-size: 34px; }
.public-error { margin: min(12vh, 96px) auto 0; max-width: 640px; }
.public-error-logo { display: inline-block; line-height: 0; margin-bottom: var(--space-6); max-width: 100%; }
.public-error-logo img { display: block; height: auto; object-fit: contain; overflow: visible; width: min(158px, 100%); }
.auth-card .stack { margin-top: var(--space-6); }
.auth-meta { border-top: 1px solid var(--line); margin-top: var(--space-6); padding-top: var(--space-4); }
.demo-credentials { background: var(--color-navy-soft); border-radius: var(--radius-sm); color: var(--color-slate-blue); font-size: 13px; padding: var(--space-3); }

[hidden] { display: none !important; }
details { background: var(--color-white); border: 1px solid var(--line); border-radius: var(--radius-md); margin-top: var(--space-3); padding: var(--space-4); }
summary { color: var(--color-deep-navy); cursor: pointer; font-weight: 850; }

@media (max-width: 1000px) {
  .source-grid, .metric-table { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .watchlist-form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .watchlist-form .field-company, .watchlist-form .field-wide, .watchlist-form .field-compact, .watchlist-form .field-register-number { grid-column: span 1; }
  .watchlist-form .field-full { grid-column: 1 / -1; }
  .hero-logo { width: 38%; }
}

@media (max-width: 760px) {
  html { scroll-padding-top: 16px; }
  body { font-size: 14px; }
  .page { padding: var(--space-3) var(--space-3) 44px; }
  .topbar { align-items: flex-start; }
  .brand-lockup img { width: 158px; }
  .hero { align-items: flex-start; display: grid; min-height: auto; padding: var(--space-6); }
  .hero-logo { margin: 0; width: min(75%, 300px); }
  .landing-hero { min-height: 330px; }
  .nav { flex-wrap: nowrap; overflow-x: auto; position: static; white-space: nowrap; }
  .nav::before { position: sticky; left: 0; }
  .nav form { margin-left: var(--space-3); }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-3); }
  .stats article { padding: var(--space-4); }
  .grid, .inline-form, .wide-form { display: grid; grid-template-columns: 1fr; }
  .source-grid, .metric-table, .metric-table.two, .watchlist-form { grid-template-columns: 1fr; }
  .invitation-recipient { grid-template-columns: 1fr; }
  .invitation-card .actions, .invitation-card .actions button { align-items: stretch; width: 100%; }
  .check-card.wide, .form-actions.wide, .watchlist-form .field-company, .watchlist-form .field-wide, .watchlist-form .field-full, .watchlist-form .field-compact, .watchlist-form .field-register-number { grid-column: auto; }
  .panel, .result { padding: var(--space-5); }
  .section-heading { display: block; }
  .test-feature-heading { display: flex; }
  .watchlist-toolbar { align-items: stretch; grid-template-columns: 1fr; }
  .delivery-log-filters { align-items: stretch; grid-template-columns: 1fr 1fr; }
  .delivery-log-filters label { min-width: 0; }
  .toolbar-status { grid-column: auto; }
  .event-list { grid-template-columns: 1fr; }
  .watchlist-table { min-width: 0; }
  .watchlist-table .mobile-optional { display: none; }
  .watchlist-table th:last-child, .watchlist-table td:last-child { width: 116px; }
  .mobile-table-meta { color: var(--muted); display: block; font-size: 12px; font-weight: 500; margin-top: 5px; }
  dl div { grid-template-columns: 1fr; gap: 2px; }
  .auth-page { background: var(--color-off-white); padding: 0; }
  .auth-shell { display: block; max-width: none; }
  .auth-brand { border-radius: 0; gap: 12px; justify-content: flex-start; min-height: auto; padding: 20px 24px; }
  .auth-brand img { width: 165px; }
  .auth-brand-copy { display: block; }
  .auth-brand-claim { font-size: 18px; margin: 0; }
  .auth-card { border: 0; border-radius: 0; box-shadow: none; min-height: calc(100vh - 96px); padding: 24px; }
}

@media (max-width: 460px) {
  .nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); overflow: visible; white-space: normal; }
  .nav::before { display: none; }
  .nav a { text-align: center; }
  .nav form { grid-column: 1 / -1; margin: 0; width: 100%; }
  .official-details dl div { grid-template-columns: 1fr; gap: 2px; }
  .stats { grid-template-columns: 1fr; }
  .stats strong { font-size: 27px; }
  .topbar-actions .button-link { min-height: 38px; padding: 8px 11px; }
  .hero h1 { font-size: 30px; }
  button, .button-link { width: 100%; }
  .actions > *, .actions form, .actions form button { width: 100%; }
  .nav button { width: auto; }
  .test-feature-heading { align-items: flex-start; display: grid; grid-template-columns: 1fr; }
  .test-mark { align-items: center; flex-direction: row; justify-self: start; min-width: 0; text-align: left; width: auto; }
  .test-stamp { box-sizing: border-box; font-size: 7px; height: 70px; overflow: hidden; padding-left: 2px; padding-right: 2px; width: 70px; }
  .test-mark small { max-width: 120px; overflow-wrap: break-word; }
  .filter-group { display: grid; grid-template-columns: repeat(3, 1fr); }
  .delivery-log-filters { grid-template-columns: 1fr; }
  .delivery-log-filters > * { width: 100%; }
  .filter-group > span { grid-column: 1 / -1; }
  button.filter-button { width: 100%; }
  .action-menu summary { width: 112px; }
}

/* Public VigiLOG product page ------------------------------------------------ */
.landing-body { background: #f7f9fb; overflow-x: hidden; }
.skip-link { background: var(--color-white); left: 16px; padding: 10px 14px; position: fixed; top: -60px; z-index: 100; }
.skip-link:focus { top: 12px; }
.landing-header { background: rgba(247,249,251,.94); border-bottom: 1px solid rgba(217,226,234,.82); position: sticky; top: 0; z-index: 30; }
.landing-nav { align-items: center; display: flex; gap: 30px; justify-content: space-between; margin: 0 auto; max-width: 1200px; min-height: 76px; padding: 12px 24px; }
.landing-brand img { display: block; width: 158px; }
.landing-nav-links { align-items: center; display: flex; gap: 28px; margin-left: auto; }
.landing-nav-links a, .landing-login { align-items: center; color: var(--color-deep-navy); display: inline-flex; font-size: 14px; font-weight: 750; min-height: 44px; text-decoration: none; }
.landing-nav-links a:hover, .landing-login:hover { color: var(--brand-dark); }
.landing-nav-actions { align-items: center; display: flex; gap: 18px; }
.landing-nav-cta { color: var(--color-deep-navy); min-height: 40px; padding: 8px 14px; }
.landing-nav-cta:hover, .landing-primary:hover { background: #ff9a52; border-color: #ff9a52; color: var(--color-deep-navy); }
.landing-nav-cta:focus-visible, .landing-primary:focus-visible { box-shadow: 0 0 0 3px white, 0 0 0 6px var(--color-deep-navy); outline: 2px solid transparent; outline-offset: 2px; }
.public-page { margin: 0 auto; max-width: 1200px; padding: 28px 24px 90px; }
.landing-hero-new { align-items: center; background: var(--color-deep-navy); border-radius: 28px; color: white; display: grid; gap: 54px; grid-template-columns: minmax(0, 1.22fr) minmax(310px, .78fr); min-height: 600px; overflow: hidden; padding: clamp(42px, 7vw, 84px); position: relative; }
.landing-hero-new::before { background: radial-gradient(circle, rgba(249,115,22,.15), transparent 66%); content: ""; height: 580px; position: absolute; right: -180px; top: -160px; width: 580px; }
.landing-hero-copy { position: relative; z-index: 2; }
.landing-kicker { color: #c2410c; font-size: 12px; font-weight: 850; letter-spacing: .13em; margin-bottom: 12px; text-transform: uppercase; }
.landing-hero-new .landing-kicker { color: #ffb27b; }
.landing-hero-new h1 { color: white; font-size: clamp(42px, 6vw, 68px); letter-spacing: -.055em; margin-bottom: 22px; max-width: 740px; }
.landing-hero-new h1 span { color: #ff9b55; display: block; font-size: .38em; letter-spacing: .08em; margin-bottom: 10px; text-transform: uppercase; }
.landing-hero-text { color: #e4ebf1; font-size: clamp(17px, 2vw, 20px); line-height: 1.65; margin-bottom: 28px; max-width: 720px; }
.landing-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.landing-primary { box-shadow: 0 9px 26px rgba(249,115,22,.22); color: var(--color-deep-navy); min-height: 50px; padding: 13px 21px; }
.landing-secondary { background: transparent; border-color: rgba(255,255,255,.45); color: white; min-height: 50px; padding: 13px 21px; }
.landing-secondary:hover { background: rgba(255,255,255,.1); border-color: white; color: white; }
.landing-trust-note { color: #b8c6d3; font-size: 12px; line-height: 1.55; margin: 24px 0 0; max-width: 690px; }
.observation-visual { aspect-ratio: 1; margin: auto; max-width: 410px; position: relative; width: 100%; }
.radar-ring { border: 1px solid rgba(217,226,234,.22); border-radius: 50%; inset: 50%; position: absolute; transform: translate(-50%,-50%); }
.ring-one { height: 92%; width: 92%; }.ring-two { height: 67%; width: 67%; }.ring-three { height: 41%; width: 41%; }
.radar-core { align-items: center; background: white; border-radius: 50%; box-shadow: 0 16px 48px rgba(0,0,0,.18); display: flex; height: 108px; justify-content: center; left: 50%; padding: 24px; position: absolute; top: 50%; transform: translate(-50%,-50%); width: 108px; }
.signal-dot { background: var(--color-signal-orange); border: 5px solid rgba(249,115,22,.2); border-radius: 50%; height: 18px; position: absolute; width: 18px; }
.signal-one { right: 12%; top: 31%; }.signal-two { bottom: 20%; left: 18%; }
.event-pill { background: white; border-left: 4px solid var(--color-signal-orange); border-radius: 9px; bottom: 4%; box-shadow: var(--shadow-soft); color: var(--color-deep-navy); font-size: 13px; font-weight: 800; padding: 12px 15px; position: absolute; right: -2%; }
.landing-section { margin-top: clamp(72px, 10vw, 120px); }
.landing-section-intro { max-width: 760px; }
.landing-section-intro.centered { margin-left: auto; margin-right: auto; text-align: center; }
.landing-section h2 { font-size: clamp(30px, 4vw, 44px); hyphens: none; letter-spacing: -.04em; overflow-wrap: break-word; word-break: normal; }
.landing-section h3, .event-chip-grid li, .landing-hero-new h1 { hyphens: none; overflow-wrap: break-word; word-break: normal; }
.landing-section-intro > p:last-child { font-size: 17px; line-height: 1.7; }
.benefit-grid { display: grid; gap: 18px; grid-template-columns: repeat(3,minmax(0,1fr)); margin-top: 34px; }
.benefit-grid article { background: white; border: 1px solid var(--color-soft-steel); border-radius: 18px; box-shadow: var(--shadow-soft); padding: 28px; transition: transform .22s ease, box-shadow .22s ease; }
.benefit-grid article:hover { box-shadow: 0 16px 38px rgba(22,50,79,.11); transform: translateY(-3px); }
.benefit-grid article > span { color: var(--color-signal-orange); display: block; font-size: 13px; font-weight: 850; margin-bottom: 24px; }
.benefit-grid article p { margin-bottom: 0; }
.events-section { background: #edf3f7; border-radius: 24px; padding: clamp(30px, 5vw, 58px); }
.event-chip-grid { display: grid; gap: 12px; grid-template-columns: repeat(2,minmax(0,1fr)); list-style: none; margin: 32px 0 0; padding: 0; }
.event-chip-grid li { align-items: center; background: white; border: 1px solid #d9e2ea; border-radius: 10px; color: var(--color-deep-navy); display: flex; font-weight: 750; min-height: 54px; padding: 13px 18px; }
.event-chip-grid li::before { background: var(--color-signal-orange); border-radius: 50%; content: ""; flex: 0 0 8px; height: 8px; margin-right: 12px; width: 8px; }
.process-grid { --process-gap: 22px; --process-marker-size: 56px; --process-padding: 28px; counter-reset: process; display: grid; gap: var(--process-gap); grid-template-columns: repeat(3,minmax(0,1fr)); list-style: none; margin: 38px 0 0; padding: 0; position: relative; }
.process-grid::before { border-top: 1px dashed #b8c7d4; content: ""; left: calc((100% - 2 * var(--process-gap)) / 6); position: absolute; right: calc((100% - 2 * var(--process-gap)) / 6); top: calc(var(--process-padding) + var(--process-marker-size) / 2); }
.process-grid li { background: white; border: 1px solid var(--color-soft-steel); border-radius: 18px; padding: var(--process-padding); position: relative; }
.process-number { align-items: center; background: var(--color-deep-navy); border: 5px solid #edf3f7; border-radius: 50%; color: white; display: flex; font-size: 15px; font-weight: 850; height: var(--process-marker-size); justify-content: center; margin: 0 auto 24px; position: relative; width: var(--process-marker-size); z-index: 2; }
.process-grid p { margin-bottom: 0; }
.audience-section { display: grid; gap: 70px; grid-template-columns: 1fr 1fr; }
.audience-list { display: grid; gap: 10px; }
.audience-list span { background: white; border: 1px solid var(--color-soft-steel); border-radius: 11px; color: var(--color-deep-navy); font-weight: 750; padding: 16px 18px; }
.mail-demo-section { align-items: center; display: grid; gap: clamp(38px,7vw,90px); grid-template-columns: .8fr 1.2fr; }
.mail-preview { background: white; border: 1px solid #cbd7e1; border-radius: 14px; box-shadow: 0 24px 60px rgba(22,50,79,.14); margin: 0; max-width: 620px; overflow: hidden; }
.mail-preview > header { background: var(--color-deep-navy); color: white; display: grid; padding: 24px 28px; }
.mail-preview > header strong { font-size: 23px; }.mail-preview > header span { font-size: 14px; font-weight: 750; margin-top: 6px; }.mail-preview > header small { color: #d9e2ea; font-size: 11px; margin-top: 3px; }
.mail-preview-accent { background: var(--color-signal-orange); height: 4px; }
.mail-preview-body { padding: 26px 28px; }.mail-label { color: #c2410c; font-size: 10px; font-weight: 850; letter-spacing: .1em; }
.mail-preview-body h3 { font-size: 22px; }.mail-preview-body > p { font-size: 13px; }
.mail-preview dl { border: 1px solid var(--color-soft-steel); border-radius: 8px; margin: 20px 0 0; overflow: hidden; }
.mail-preview dl div { border-bottom: 1px solid var(--color-soft-steel); display: grid; grid-template-columns: 38% 62%; }.mail-preview dl div:last-child { border-bottom: 0; }
.mail-preview dt, .mail-preview dd { font-size: 12px; margin: 0; overflow-wrap: anywhere; padding: 9px 11px; }.mail-preview dt { background: #f7f9fb; color: var(--color-slate-blue); }.mail-preview dd { color: var(--color-deep-navy); font-weight: 750; }
.mail-preview > footer { background: #f7f9fb; border-top: 1px solid var(--color-soft-steel); color: var(--color-slate-blue); font-size: 10px; padding: 15px 28px; }
.pricing-section { align-items: center; background: white; border: 1px solid var(--color-soft-steel); border-radius: 20px; box-shadow: var(--shadow-soft); display: flex; gap: 40px; justify-content: space-between; padding: clamp(28px,5vw,48px); }
.pricing-section h2 { margin-bottom: 8px; }.pricing-section p { margin-bottom: 0; max-width: 700px; }
.landing-secondary-on-light { background: white; border-color: var(--color-deep-navy); color: var(--color-deep-navy); flex: 0 0 auto; }
.final-cta { background: var(--color-deep-navy); border-radius: 24px; padding: clamp(38px,7vw,72px); text-align: center; }
.final-cta h2 { color: white; margin-left: auto; margin-right: auto; max-width: 760px; }.final-cta > p:not(.landing-kicker) { color: #d9e2ea; font-size: 17px; margin-left: auto; margin-right: auto; max-width: 700px; }
.final-cta .landing-kicker { color: #ffb27b; }.centered-actions { justify-content: center; }
.pilot-logo { display: block; margin: 0 auto 20px; max-width: 150px; }
.landing-footer { align-items: center; border-top: 1px solid var(--color-soft-steel); display: flex; gap: 28px; justify-content: space-between; margin: 0 auto; max-width: 1200px; padding: 32px 24px 44px; }
.landing-footer > div { display: grid; }.landing-footer strong { font-size: 20px; }.landing-footer span { color: var(--color-slate-blue); font-size: 13px; }
.landing-footer nav { display: flex; flex-wrap: wrap; gap: 20px; }.landing-footer nav a, .landing-footer nav span { font-size: 13px; }
.reveal-enabled .landing-reveal { opacity: 0; transform: translateY(22px); transition: opacity .55s ease, transform .55s ease; }.reveal-enabled .landing-reveal.is-visible { opacity: 1; transform: none; }
@keyframes observationPulse { 0%,100% { box-shadow: 0 0 0 0 rgba(249,115,22,.24); } 50% { box-shadow: 0 0 0 12px rgba(249,115,22,0); } }
.signal-dot { animation: observationPulse 3.4s ease-in-out infinite; }.signal-two { animation-delay: 1.2s; }

@media (max-width: 900px) {
  .landing-nav-links { display: none; }
  .landing-hero-new { grid-template-columns: 1fr; min-height: auto; }
  .observation-visual { max-width: 330px; }
  .benefit-grid, .process-grid { grid-template-columns: 1fr; }
  .process-grid::before { display: none; }
  .audience-section, .mail-demo-section { gap: 36px; grid-template-columns: 1fr; }
  .mail-preview { margin: 0 auto; width: 100%; }
}
@media (max-width: 620px) {
  .landing-header { position: static; }
  .landing-nav { min-height: 66px; padding: 10px 16px; }
  .landing-brand img { width: 132px; }
  .landing-nav-actions { gap: 12px; }.landing-nav-cta { display: none; }
  .public-page { padding: 16px 14px 64px; }
  .landing-hero-new { border-radius: 20px; gap: 28px; padding: 34px 24px; }
  .landing-hero-new h1 { font-size: 38px; }.landing-hero-text { font-size: 16px; }
  .observation-visual { max-width: 250px; }.radar-core { height: 82px; padding: 18px; width: 82px; }.event-pill { font-size: 11px; right: 0; }
  .landing-actions .button-link { width: 100%; }
  .landing-section { margin-top: 64px; }.landing-section h2 { font-size: 29px; }
  .final-cta h2, .audience-section h2 { font-size: 28px; }
  .events-section { border-radius: 18px; padding: 28px 20px; }.event-chip-grid { grid-template-columns: 1fr; }
  .benefit-grid article, .process-grid li { padding: 23px; }
  .pricing-section { align-items: stretch; flex-direction: column; }.pricing-section .button-link { width: 100%; }
  .mail-preview-body, .mail-preview > header { padding-left: 20px; padding-right: 20px; }
  .mail-preview dl div { grid-template-columns: 1fr; }.mail-preview dd { padding-top: 3px; }
  .final-cta { border-radius: 18px; padding: 36px 22px; }
  .landing-footer { align-items: flex-start; flex-direction: column; padding-left: 18px; padding-right: 18px; }.landing-footer nav { flex-direction: column; gap: 10px; }
}

@media (max-width: 350px) {
  .landing-section h2, .landing-section h3, .event-chip-grid li, .landing-hero-new h1 { overflow-wrap: anywhere; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal-enabled .landing-reveal { opacity: 1; transform: none; }
}

/* Core landing page – issue #62 --------------------------------------------- */
.landing-body { color: var(--color-deep-navy); }
.landing-body a:focus-visible { border-radius: 5px; box-shadow: 0 0 0 3px var(--color-off-white), 0 0 0 6px var(--color-signal-orange); outline: 2px solid transparent; outline-offset: 2px; }
.landing-nav a { min-height: 44px; }
.landing-brand, .landing-login { align-items: center; display: inline-flex; }
.landing-nav-cta { background: var(--color-signal-orange); border-color: var(--color-signal-orange); }
.public-page > section[id] { scroll-margin-top: 96px; }
.landing-hero-new { gap: clamp(34px, 5vw, 68px); grid-template-columns: minmax(0, 1.4fr) minmax(260px, .6fr); min-height: 570px; padding: clamp(44px, 7vw, 82px); }
.landing-hero-new h1 { font-size: clamp(40px, 5.2vw, 64px); letter-spacing: -.045em; line-height: 1.04; max-width: 790px; }
.landing-hero-copy { max-width: 800px; }
.landing-hero-text { max-width: 760px; }
.landing-hero-microcopy { color: #d9e2ea; font-size: 13px; font-weight: 700; margin: 14px 0 0; }
.observation-visual { max-width: 330px; }
.signal-dot { animation: none; }
.event-pill { max-width: 180px; }
.landing-section { margin-top: clamp(72px, 9vw, 108px); }
.landing-section h2 { line-height: 1.12; }
.landing-section p { color: var(--color-slate-blue); line-height: 1.7; }
.landing-section strong { color: var(--color-deep-navy); }
.fact-section { align-items: center; background: white; border: 1px solid var(--color-soft-steel); border-left: 6px solid var(--color-signal-orange); border-radius: 18px; box-shadow: 0 16px 44px rgba(22,50,79,.08); display: grid; gap: clamp(28px, 6vw, 74px); grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr); padding: clamp(28px, 5vw, 52px); }
.fact-section > *, .vigilance-grid > *, .event-status-grid > *, .alert-demo-section > * { min-width: 0; }
.fact-section h2 { font-size: clamp(30px, 3.8vw, 43px); margin-bottom: 0; }
.fact-context p { font-size: 16px; }

.vigilance-intro { max-width: 880px; }
.vigilance-grid { display: grid; gap: 18px; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 38px; }
.vigilance-grid article { background: white; border: 1px solid var(--color-soft-steel); border-radius: 18px; box-shadow: var(--shadow-soft); padding: clamp(24px, 3vw, 34px); }
.vigilance-grid article p:last-child { margin-bottom: 0; }
.vigilance-takeover { grid-column: 1 / -1; }
.section-index { color: var(--color-signal-orange); display: block; font-size: 12px; font-weight: 900; letter-spacing: .12em; margin-bottom: 18px; }
.key-statement { border-left: 3px solid var(--color-signal-orange); color: var(--color-deep-navy) !important; font-size: clamp(17px, 2vw, 20px); font-weight: 800; margin: 24px 0; padding: 8px 0 8px 18px; }
.business-fit { align-items: start; background: var(--color-deep-navy); border-radius: 18px; display: grid; gap: 28px; grid-template-columns: minmax(220px, .75fr) minmax(0, 1.25fr); margin-top: 18px; padding: clamp(24px, 4vw, 38px); }
.business-fit h3 { color: white; margin: 3px 0 0; }
.business-fit ul { display: grid; gap: 10px; list-style: none; margin: 0; padding: 0; }
.business-fit li { color: #e6edf3; line-height: 1.5; padding-left: 20px; position: relative; }
.business-fit li::before { color: #ff9b55; content: "—"; font-weight: 900; left: 0; position: absolute; }
.events-section { padding: clamp(30px, 5vw, 56px); }
.event-status-grid { display: grid; gap: 34px; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 34px; }
.event-status-grid h3 { font-size: 17px; margin-bottom: 16px; }
.event-chip-grid { grid-template-columns: 1fr; margin-top: 0; }
.event-chip-muted li { background: rgba(255,255,255,.64); border-style: dashed; }
.event-chip-muted li::before { background: var(--color-slate-blue); }
.event-disclaimer { border-top: 1px solid #cbd7e1; display: grid; gap: 4px; margin-top: 32px; padding-top: 22px; }
.event-disclaimer p { font-size: 13px; margin: 0; }
.process-grid { margin-top: 42px; }
.process-grid li { box-shadow: var(--shadow-soft); }
.alert-demo-section { align-items: start; display: grid; gap: clamp(38px, 7vw, 82px); grid-template-columns: minmax(0, .75fr) minmax(420px, 1.25fr); }
.example-alert { background: white; border: 1px solid #cbd7e1; border-radius: 16px; box-shadow: 0 24px 64px rgba(22,50,79,.14); overflow: hidden; }
.example-alert > header { align-items: center; background: var(--color-deep-navy); border-bottom: 4px solid var(--color-signal-orange); display: flex; gap: 18px; justify-content: space-between; padding: 24px 28px; }
.example-alert > header div { display: grid; }
.example-alert > header strong { color: white; font-size: 23px; }
.example-alert > header span { color: #d9e2ea; font-size: 12px; font-weight: 700; margin-top: 3px; }
.example-alert > header p { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.24); border-radius: 999px; color: white; font-size: 11px; font-weight: 800; margin: 0; padding: 7px 10px; text-align: right; }
.example-alert-body { padding: clamp(24px, 4vw, 34px); }
.alert-status { color: #a6380a !important; font-size: 11px; font-weight: 900; letter-spacing: .1em; margin-bottom: 8px; text-transform: uppercase; }
.example-alert-body h3 { font-size: clamp(24px, 3vw, 31px); margin-bottom: 10px; }
.example-alert-body dl { border: 1px solid var(--color-soft-steel); border-radius: 10px; margin: 24px 0; overflow: hidden; }
.example-alert-body dl div { border-bottom: 1px solid var(--color-soft-steel); display: grid; grid-template-columns: 34% 66%; }
.example-alert-body dl div:last-child { border-bottom: 0; }
.example-alert-body dt, .example-alert-body dd { font-size: 13px; margin: 0; overflow-wrap: anywhere; padding: 11px 13px; }
.example-alert-body dt { background: var(--color-off-white); color: var(--color-slate-blue); }
.example-alert-body dd { color: var(--color-deep-navy); font-weight: 750; }
.next-step { background: #fff7ed; border-left: 4px solid var(--color-signal-orange); color: var(--color-deep-navy) !important; font-size: 13px; margin: 0; padding: 15px 17px; }
.final-cta { margin-bottom: 20px; }
.final-cta .pilot-note { color: #bfcbd6; font-size: 13px; margin-top: 15px; }
.landing-footer a:focus-visible { box-shadow: 0 0 0 3px var(--color-off-white), 0 0 0 6px var(--color-signal-orange); }

.pilot-form { margin: 34px auto 0; max-width: 820px; position: relative; text-align: left; }
.pilot-form-grid { display: grid; gap: 18px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pilot-form label { color: white; display: grid; font-size: 14px; font-weight: 750; gap: 7px; min-width: 0; }
.pilot-form input, .pilot-form textarea { background: white; border: 1px solid #aebdca; border-radius: 8px; color: var(--color-deep-navy); font: inherit; margin: 0; max-width: 100%; padding: 12px 13px; width: 100%; }
.pilot-form input:focus, .pilot-form textarea:focus { border-color: var(--color-signal-orange); box-shadow: 0 0 0 3px rgba(249,115,22,.25); outline: 0; }
.pilot-field-wide { grid-column: 1 / -1; }
.optional-label { color: #bfcbd6; font-size: 12px; font-weight: 500; }
.pilot-consent { align-items: start; display: flex !important; gap: 11px !important; line-height: 1.55; margin: 20px 0 6px; }
.pilot-consent input { flex: 0 0 auto; height: 20px; margin-top: 1px; padding: 0; width: 20px; }
.pilot-consent a { color: white; text-decoration-color: var(--color-signal-orange); text-underline-offset: 3px; }
.pilot-submit { border: 1px solid var(--color-signal-orange); cursor: pointer; display: block; font-weight: 800; margin: 22px auto 0; width: auto; }
.pilot-hp { height: 1px; left: -10000px; overflow: hidden; position: absolute; top: auto; width: 1px; }
.field-error { color: #ffd9c2; display: block; font-size: 12px; font-weight: 650; }
.consent-error { margin: 0; }
.pilot-flash { border-radius: 10px; font-weight: 750; margin: 22px auto; max-width: 820px; padding: 14px 16px; text-align: left; }
.pilot-flash-success { background: #e8f7ee; color: #155f37 !important; }
.pilot-flash-error { background: #fff0e7; color: #8f2f0a !important; }
.legal-page { margin: 0 auto; max-width: 900px; padding: clamp(52px, 8vw, 88px) 24px; }
.legal-page > h1 { font-size: clamp(38px, 6vw, 58px); hyphens: auto; letter-spacing: -.04em; margin-bottom: 42px; overflow-wrap: break-word; }
.legal-page section { background: white; border: 1px solid var(--color-soft-steel); border-radius: 14px; margin-top: 18px; padding: clamp(22px, 4vw, 34px); }
.legal-page h2 { font-size: clamp(21px, 3vw, 27px); hyphens: auto; overflow-wrap: break-word; }
.legal-page p, .legal-page address { color: var(--color-slate-blue); font-style: normal; line-height: 1.7; }
.legal-page a { overflow-wrap: anywhere; }

@media (max-width: 1100px) {
  .alert-demo-section { align-items: stretch; grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .landing-hero-new { grid-template-columns: 1fr; }
  .observation-visual { max-width: 290px; }
  .fact-section, .business-fit, .alert-demo-section { grid-template-columns: 1fr; }
  .event-status-grid { gap: 24px; }
  .alert-demo-section { align-items: stretch; }
}

@media (max-width: 700px) {
  .landing-nav { gap: 14px; }
  .landing-nav-actions { margin-left: auto; }
  .landing-nav-cta { display: none; }
  .landing-hero-new { min-height: auto; }
  .observation-visual { display: none; }
  .fact-section, .vigilance-grid, .event-status-grid { grid-template-columns: 1fr; }
  .vigilance-takeover { grid-column: auto; }
  .example-alert > header { align-items: flex-start; flex-direction: column; }
  .example-alert > header p { text-align: left; }
}

@media (max-width: 620px) {
  .public-page { padding-left: 14px; padding-right: 14px; }
  .landing-hero-new { padding: 38px 23px; }
  .landing-hero-new h1 { font-size: clamp(34px, 10vw, 40px); }
  .landing-section { margin-top: 62px; }
  .fact-section h2 { font-size: 24px; overflow-wrap: normal; }
  .fact-section, .events-section { padding: 26px 20px; }
  .vigilance-grid article { padding: 24px 21px; }
  .business-fit { padding: 26px 21px; }
  .process-grid { gap: 14px; }
  .example-alert-body, .example-alert > header { padding-left: 20px; padding-right: 20px; }
  .example-alert-body h3 { font-size: 20px; overflow-wrap: normal; word-break: normal; }
  .example-alert-body dl div { grid-template-columns: 1fr; }
  .example-alert-body dd { padding-top: 3px; }
  .final-cta { padding: 38px 21px; }
  .pilot-form-grid { grid-template-columns: 1fr; }
  .pilot-field-wide { grid-column: auto; }
  .pilot-submit { width: 100%; }
}

@media (max-width: 380px) {
  .landing-brand img { width: 122px; }
  .landing-nav { padding-left: 12px; padding-right: 12px; }
  .landing-login { font-size: 13px; }
  .landing-hero-new h1 { font-size: 34px; }
  .landing-section h2 { font-size: 28px; }
  .fact-section h2 { font-size: 22px; }
}

.bulk-delete-toolbar {
  align-items: center;
  background: #fff4ef;
  border: 1px solid #ffd4c2;
  border-radius: 10px;
  display: flex;
  gap: 14px;
  justify-content: flex-end;
  margin-top: 22px;
  padding: 12px 14px;
}
.bulk-delete-toolbar strong { margin-right: auto; }
.bulk-select-label { align-items: center; display: inline-flex; gap: 7px; white-space: nowrap; }
.bulk-delete-toolbar button:disabled { cursor: not-allowed; opacity: .55; }

@media (max-width: 620px) {
  .bulk-delete-toolbar { align-items: stretch; flex-direction: column; }
  .bulk-delete-toolbar button { width: 100%; }
}
