.page.centered.narrow {
  grid-template-columns: minmax(0, 1fr);
}

/* Daedalus brand system: colors sampled from the approved navy/cyan logo. */
:root {
  --bg: #061522;
  --panel: #0b2133;
  --panel-2: #10314a;
  --line: #1c4968;
  --text: #f4f9fd;
  --muted: #9eb8ca;
  --mint: #22b8f0;
  --mint-deep: #0b3b56;
  --amber: #ffc978;
  --amber-deep: #4c3718;
  --danger: #ff8d91;
}

body {
  background:
    radial-gradient(circle at 8% -12%, rgba(20, 99, 143, .42) 0, transparent 34%),
    radial-gradient(circle at 92% 0, rgba(8, 151, 207, .12) 0, transparent 28%),
    var(--bg);
}

.topbar {
  height: auto;
  min-height: 132px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(24px, 4vw, 52px);
  padding: 10px clamp(20px, 4vw, 56px);
  border-bottom: 3px solid #159bd1;
  background: #f8fbfd;
  box-shadow: 0 14px 38px rgba(0, 10, 20, .26);
}

.topbar-authenticated {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
}

.page.centered {
  min-height: calc(100vh - 132px);
}

.brand {
  min-width: 0;
}

.brand-logo-frame {
  position: relative;
  display: block;
  width: 190px;
  height: 112px;
  overflow: hidden;
  flex: 0 0 auto;
}

.brand-logo {
  position: absolute;
  top: -37px;
  left: 0;
  display: block;
  width: 190px;
  height: auto;
}

.operator {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px 24px;
  align-items: center;
  color: #36546a;
}

.primary-nav,
.account-actions {
  display: flex;
  align-items: center;
  gap: 7px;
}

.primary-nav {
  min-width: 0;
  flex-wrap: wrap;
}

.primary-nav a {
  padding: 8px 10px;
  border-radius: 9px;
  color: #123650;
  font-size: .86rem;
  font-weight: 750;
  transition: color .15s ease, background .15s ease, transform .15s ease;
}

.primary-nav a:hover {
  color: #006b9c;
  background: #e4f4fb;
  text-decoration: none;
  transform: translateY(-1px);
}

.account-actions {
  justify-content: flex-end;
  white-space: nowrap;
}

.operator-name {
  color: #526d80;
}

.topbar .verified {
  background: #dff4fd;
  color: #006d9f;
}

/* Outcome-first reporting: grade, report choices, and a guided remediation path. */
.outcome-grid {
  display: grid;
  grid-template-columns: minmax(300px, .78fr) minmax(420px, 1.22fr);
  gap: 20px;
  margin-bottom: 20px;
}

.grade-card {
  --grade-color: #64748b;
  position: relative;
  overflow: hidden;
  padding: 26px 28px;
  border: 1px solid color-mix(in srgb, var(--grade-color) 62%, transparent);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 4% 0, color-mix(in srgb, var(--grade-color) 28%, transparent), transparent 48%),
    linear-gradient(145deg, rgba(18, 53, 79, .96), rgba(6, 23, 36, .98));
  box-shadow: var(--shadow-lg);
}

.grade-a { --grade-color: #35d07f; }
.grade-b { --grade-color: #3bd4c6; }
.grade-c { --grade-color: #ffd05d; }
.grade-d { --grade-color: #ff9a57; }
.grade-f { --grade-color: #ff6f79; }

.grade-card::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: var(--grade-color);
  content: "";
}

.grade-lockup {
  display: flex;
  gap: 20px;
  align-items: center;
  margin: 14px 0 16px;
}

.grade-letter {
  display: grid;
  place-items: center;
  width: 92px;
  height: 92px;
  flex: 0 0 auto;
  border: 1px solid color-mix(in srgb, var(--grade-color) 72%, white 8%);
  border-radius: 24px;
  background: color-mix(in srgb, var(--grade-color) 24%, #071725);
  color: var(--grade-color);
  font-size: 4.2rem;
  line-height: 1;
  letter-spacing: -.08em;
}

.grade-lockup > div {
  display: grid;
  gap: 5px;
}

.grade-lockup > div strong {
  font-size: 1.6rem;
  line-height: 1;
}

.grade-lockup > div span,
.grade-card p,
.grade-card details p {
  color: var(--muted);
  font-size: .84rem;
}

.grade-card p {
  margin: 0;
  line-height: 1.6;
}

.grade-card details {
  margin-top: 14px;
  color: #d9ebf5;
  font-size: .8rem;
}

.grade-card summary {
  cursor: pointer;
  font-weight: 750;
}

.roadmap-preview {
  padding: 0;
  overflow: hidden;
}

.roadmap-preview .section-heading {
  border-bottom: 1px solid var(--line-soft);
}

.roadmap-list {
  padding: 2px 28px 12px;
}

.roadmap-row {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 15px;
  align-items: center;
  padding: 15px 0;
  border-bottom: 1px solid var(--line-soft);
}

.roadmap-row:last-child {
  border-bottom: 0;
}

.roadmap-row > div {
  display: grid;
  gap: 4px;
}

.roadmap-row strong {
  color: #f6fbff;
  font-size: .9rem;
}

.roadmap-row span:not(.roadmap-wave) {
  color: var(--muted);
  font-size: .78rem;
}

.roadmap-wave {
  display: inline-flex;
  justify-content: center;
  border: 1px solid rgba(98, 212, 255, .24);
  border-radius: 999px;
  padding: 5px 8px;
  color: #bfeeff;
  background: rgba(34, 184, 240, .1);
  font-size: .66rem;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.wave-now {
  border-color: rgba(255, 111, 121, .34);
  color: #ffc2c6;
  background: rgba(255, 111, 121, .11);
}

.wave-next {
  border-color: rgba(255, 208, 93, .3);
  color: #ffe2a0;
  background: rgba(255, 208, 93, .1);
}

.report-choice-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 20px;
}

.report-choice-grid article {
  min-height: 230px;
  padding: 25px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-md);
  background: linear-gradient(145deg, rgba(15, 46, 70, .9), rgba(7, 25, 39, .96));
  box-shadow: var(--shadow-sm);
}

.report-choice-number {
  color: var(--cyan-bright);
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .14em;
}

.report-choice-grid h2 {
  margin: 18px 0 10px;
}

.report-choice-grid p {
  min-height: 78px;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: .86rem;
}

.report-form-panel {
  max-width: 920px;
  margin-inline: auto;
  padding: 0 28px 30px;
}

.report-form-panel .section-heading {
  margin: 0 -28px;
  border-bottom: 1px solid var(--line-soft);
}

.report-form-panel .field:has(input[type="radio"]) > div {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.report-form-panel .field:has(input[type="radio"]) label {
  display: flex;
  gap: 9px;
  align-items: center;
  min-height: 54px;
  padding: 11px 13px;
  border: 1px solid var(--line-soft);
  border-radius: 11px;
  background: rgba(3, 15, 24, .55);
}

@media (max-width: 900px) {
  .outcome-grid,
  .report-choice-grid {
    grid-template-columns: 1fr;
  }

  .report-choice-grid article {
    min-height: 0;
  }

  .report-choice-grid p {
    min-height: 0;
  }
}

@media (max-width: 620px) {
  .grade-card {
    padding: 22px;
  }

  .grade-letter {
    width: 78px;
    height: 78px;
    font-size: 3.5rem;
  }

  .roadmap-list {
    padding-inline: 20px;
  }

  .report-form-panel .field:has(input[type="radio"]) > div {
    grid-template-columns: 1fr;
  }
}

.topbar .button-quiet {
  border-color: #c9dce7;
  color: #123650;
}

.topbar .button-quiet:hover {
  border-color: #159bd1;
  background: #e4f4fb;
}

.button-primary {
  background: linear-gradient(135deg, #23baf1, #078ec7);
  border-color: #22b8f0;
  color: #03131e;
  box-shadow: 0 8px 24px rgba(8, 151, 207, .22);
}

.panel {
  background: linear-gradient(145deg, rgba(16, 49, 74, .97), rgba(7, 25, 39, .97));
  box-shadow: 0 26px 80px rgba(0, 7, 14, .3);
}

@media (max-width: 1100px) {
  .topbar-authenticated {
    grid-template-columns: 1fr;
    gap: 4px;
    padding-bottom: 18px;
  }

  .topbar-authenticated .brand {
    justify-self: center;
  }

  .operator {
    width: 100%;
    grid-template-columns: 1fr;
  }

  .primary-nav,
  .account-actions {
    justify-content: center;
  }
}

@media (max-width: 620px) {
  .topbar {
    min-height: 116px;
  }

  .page.centered {
    min-height: calc(100vh - 116px);
  }

  .brand-logo-frame {
    width: 165px;
    height: 98px;
  }

  .brand-logo {
    top: -32px;
    width: 165px;
  }

  .primary-nav {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    padding: 4px 0 8px;
    scrollbar-width: thin;
  }

  .account-actions {
    flex-wrap: wrap;
  }

  .operator-name {
    display: none;
  }
}

.metric-grid {
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

.finding-summary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-bottom: 20px;
}

.priority-score {
  display: block;
  margin-top: 16px;
  font-size: 2rem;
}

.priority-card.priority-p1,
.priority-p1 {
  border-color: #8f3340;
  background: #491c26;
  color: #ffbbc1;
}

.priority-p2 {
  background: #53331c;
  color: #ffd0a0;
}

.priority-p3 {
  background: #4c421d;
  color: #ffe18a;
}

.priority-p4 {
  background: #173b43;
  color: #8de5ed;
}

.priority-p5 {
  background: #1a2b3f;
  color: #bfd0e0;
}

/* Product-wide refinement: typography, rhythm, interaction and hierarchy. */
:root {
  --surface: rgba(11, 33, 51, .88);
  --surface-raised: rgba(16, 49, 74, .92);
  --surface-soft: rgba(34, 184, 240, .055);
  --line-soft: rgba(108, 166, 202, .2);
  --cyan: #22b8f0;
  --cyan-bright: #62d4ff;
  --navy-950: #04101a;
  --shadow-sm: 0 10px 30px rgba(0, 8, 16, .2);
  --shadow-lg: 0 28px 80px rgba(0, 7, 14, .34);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Avenir Next", "Segoe UI Variable", "SF Pro Text", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 15.5px;
  line-height: 1.55;
  letter-spacing: -.006em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection {
  background: rgba(34, 184, 240, .3);
  color: #fff;
}

:focus-visible {
  outline: 3px solid rgba(98, 212, 255, .7);
  outline-offset: 3px;
}

a {
  color: var(--cyan-bright);
  text-underline-offset: 3px;
}

h1,
h2,
h3,
strong,
.button,
.primary-nav a {
  font-family: "Avenir Next", "Segoe UI Variable Display", "SF Pro Display", Inter, ui-sans-serif, system-ui, sans-serif;
}

h1 {
  margin: 10px 0 12px;
  max-width: 900px;
  font-size: clamp(2.35rem, 4.25vw, 4.35rem);
  line-height: .98;
  letter-spacing: -.055em;
  font-weight: 720;
}

h2 {
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  line-height: 1.15;
  letter-spacing: -.035em;
  font-weight: 700;
}

h3 {
  margin: 26px 0 10px;
  font-size: 1.04rem;
  letter-spacing: -.015em;
}

p {
  max-width: 76ch;
  line-height: 1.7;
}

code {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: .86em;
}

.page {
  width: min(1320px, calc(100% - 56px));
  padding: clamp(38px, 5vw, 68px) 0 88px;
}

.page.narrow {
  width: min(560px, calc(100% - 40px));
}

.topbar-authenticated {
  min-height: 108px;
  grid-template-columns: 176px minmax(0, 1fr);
  padding-top: 7px;
  padding-bottom: 7px;
}

.topbar-authenticated .brand-logo-frame {
  width: 176px;
  height: 96px;
}

.topbar-authenticated .brand-logo {
  top: -35px;
  width: 176px;
}

.operator {
  gap: 12px 22px;
}

.primary-nav {
  gap: 4px;
}

.primary-nav a {
  position: relative;
  padding: 9px 11px;
  border-radius: 10px;
  font-size: .81rem;
  font-weight: 700;
  letter-spacing: .008em;
}

.primary-nav a::after {
  position: absolute;
  right: 10px;
  bottom: 4px;
  left: 10px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  content: "";
  opacity: 0;
  transform: scaleX(.55);
  transition: opacity .15s ease, transform .15s ease;
}

.primary-nav a:hover::after {
  opacity: .45;
  transform: scaleX(1);
}

.operator-name {
  font-size: .82rem;
  font-weight: 600;
}

.verified {
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .025em;
  text-transform: uppercase;
}

.eyebrow {
  color: var(--cyan-bright);
  font-size: .7rem;
  line-height: 1.35;
  letter-spacing: .19em;
  font-weight: 800;
}

.page-heading {
  align-items: center;
  margin-bottom: 32px;
}

.page-heading > div:first-child {
  max-width: 900px;
}

.page-heading p,
.hero p {
  margin-top: 0;
  font-size: 1.03rem;
}

.back {
  width: fit-content;
  margin-bottom: 20px;
  font-size: .83rem;
  font-weight: 700;
  letter-spacing: .01em;
}

.panel {
  border-color: var(--line-soft);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(145deg, rgba(18, 53, 79, .94), rgba(6, 23, 36, .96));
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(14px);
}

.page > .panel + .panel,
.page > .table-panel + .panel,
.page > .panel + .table-panel {
  margin-top: 20px;
}

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.hero::before {
  position: absolute;
  z-index: -1;
  top: -220px;
  right: -160px;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(34, 184, 240, .2), transparent 68%);
  content: "";
}

.hero h1 {
  max-width: 820px;
  font-size: clamp(3rem, 6.3vw, 6.6rem);
  line-height: .91;
  letter-spacing: -.07em;
}

.hero.compact {
  max-width: none;
  margin-bottom: 28px;
  padding: 0;
}

.hero.compact::before {
  display: none;
}

.hero.compact h1 {
  font-size: clamp(2.5rem, 4.7vw, 4.8rem);
}

.button {
  min-height: 42px;
  border-color: rgba(117, 169, 203, .28);
  border-radius: 12px;
  padding: 10px 16px;
  font-size: .86rem;
  font-weight: 750;
  letter-spacing: .005em;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .03);
  transition: transform .15s ease, border-color .15s ease, background .15s ease, box-shadow .15s ease;
}

.button:hover {
  border-color: rgba(98, 212, 255, .65);
  background: #163b57;
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  transform: translateY(-1px);
}

.button:active {
  transform: translateY(0);
}

.button-primary {
  background: linear-gradient(135deg, #58d1ff 0%, #20b8ef 48%, #0a8fc7 100%);
  border-color: rgba(98, 212, 255, .85);
  color: #03131e;
  box-shadow: 0 10px 28px rgba(10, 143, 199, .25), inset 0 1px 0 rgba(255, 255, 255, .3);
}

.button-primary:hover {
  background: linear-gradient(135deg, #75dcff 0%, #35c2f5 52%, #0b9bd8 100%);
  color: #020f18;
}

.auth-panel {
  padding: clamp(28px, 5vw, 42px);
}

.auth-panel h1 {
  font-size: clamp(2.7rem, 7vw, 4.15rem);
}

.stack-form {
  gap: 18px;
  margin-top: 28px;
}

.field {
  gap: 8px;
}

.field label,
.checkbox-row {
  color: #e8f2f9;
  font-size: .82rem;
  font-weight: 700;
}

.field input,
.field select,
.field textarea,
.client-switch select {
  min-height: 46px;
  border-color: rgba(117, 169, 203, .38);
  border-radius: 12px;
  background: rgba(3, 15, 24, .72);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .025);
  transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}

.field input:hover,
.field select:hover,
.field textarea:hover {
  border-color: rgba(98, 212, 255, .52);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--cyan-bright);
  background: rgba(3, 15, 24, .9);
  box-shadow: 0 0 0 4px rgba(34, 184, 240, .14);
}

.metric-grid {
  gap: 16px;
  margin-bottom: 24px;
}

.metric-grid article {
  position: relative;
  overflow: hidden;
  min-height: 126px;
  gap: 14px;
  padding: 22px;
  border-color: var(--line-soft);
  border-radius: var(--radius-md);
  background: linear-gradient(145deg, rgba(15, 46, 70, .9), rgba(7, 25, 39, .95));
  box-shadow: var(--shadow-sm);
}

.metric-grid article::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--cyan-bright), #087eae);
  content: "";
}

.metric-grid span {
  font-size: .73rem;
  letter-spacing: .065em;
  text-transform: uppercase;
}

.metric-grid strong {
  font-size: clamp(2rem, 3vw, 2.65rem);
  line-height: 1;
  letter-spacing: -.045em;
}

.safety-banner,
.health-banner {
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.safety-state,
.health-state {
  font-size: .72rem;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.table-panel {
  border-radius: var(--radius-lg);
}

.section-heading,
.panel-heading {
  gap: 20px;
  padding: 25px 28px;
}

table {
  font-variant-numeric: tabular-nums;
}

th,
td {
  padding: 16px 24px;
  border-color: var(--line-soft);
}

th {
  color: #88abc2;
  font-size: .67rem;
  letter-spacing: .13em;
  font-weight: 800;
}

td {
  font-size: .88rem;
}

tbody tr {
  transition: background .12s ease;
}

tbody tr:hover {
  background: var(--surface-soft);
}

.pill {
  min-height: 26px;
  align-items: center;
  border: 1px solid rgba(144, 177, 201, .14);
  padding: 4px 10px;
  font-size: .68rem;
  font-weight: 750;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.list-card {
  padding: 16px 2px;
  border-color: var(--line-soft);
}

dl {
  gap: 14px 22px;
}

dt {
  color: #88abc2;
  font-size: .75rem;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.message,
.warning,
.success {
  border-radius: 13px;
  box-shadow: var(--shadow-sm);
}

.empty {
  font-style: normal;
}

@media (max-width: 1100px) {
  .topbar-authenticated {
    padding-top: 4px;
    padding-bottom: 15px;
  }
}

@media (max-width: 700px) {
  .page {
    width: min(100% - 28px, 1320px);
    padding-top: 30px;
  }

  .page-heading {
    gap: 18px;
  }

  .hero {
    padding: 30px 24px;
  }

  .hero h1 {
    font-size: clamp(2.85rem, 15vw, 4.6rem);
  }

  .section-heading,
  .panel-heading {
    align-items: flex-start;
    flex-direction: column;
    padding: 22px;
  }

  th,
  td {
    padding: 14px 18px;
  }
}

.component-panel {
  margin-bottom: 20px;
}

.readiness-panel {
  margin-bottom: 20px;
  padding: 0;
  overflow: hidden;
}

.readiness-heading {
  border-bottom: 1px solid var(--line);
}

.readiness-list {
  list-style: none;
  padding: 0 26px;
  margin: 0;
}

.readiness-item {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.readiness-item:last-child {
  border-bottom: 0;
}

.readiness-item > div {
  display: grid;
  gap: 4px;
}

.readiness-item > div span {
  color: var(--muted);
  font-size: .84rem;
}

.readiness-marker {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid #7b5822;
  border-radius: 999px;
  background: var(--amber-deep);
  color: var(--amber);
  font-size: .8rem;
  font-weight: 800;
}

.readiness-item.complete .readiness-marker {
  border-color: #286753;
  background: var(--mint-deep);
  color: var(--mint);
}

.access-section {
  margin-top: 20px;
}

.client-switch {
  display: flex;
  align-items: center;
  gap: 10px;
}

.client-switch select {
  border: 1px solid #344b62;
  border-radius: 10px;
  background: #09131e;
  color: var(--text);
  padding: 11px 13px;
}

.acknowledgement-panel {
  margin-top: 20px;
}

.health-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  margin-bottom: 20px;
  background: var(--panel);
}

.health-banner > div {
  display: grid;
  gap: 4px;
}

.health-banner span {
  color: var(--muted);
  font-size: .84rem;
}

.health-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.health-card-state,
.health-state {
  display: inline-flex;
  margin-top: 14px;
  font-size: 1.8rem;
}

.health-state {
  padding: 10px 14px;
  border-radius: 12px;
}

.health-section {
  margin-top: 20px;
}

.health-ok {
  color: var(--mint);
  border-color: #286753;
}

.health-warning,
.health-unknown {
  color: var(--amber);
  border-color: #7b5822;
}

.health-critical {
  color: var(--danger);
  border-color: #8f3340;
}

@media (max-width: 850px) {
  .health-grid {
    grid-template-columns: 1fr;
  }
}

.component-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
}

.component-grid article {
  display: grid;
  gap: 6px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #0a1622;
}

.component-grid span,
.component-grid small {
  color: var(--muted);
}

.component-grid strong {
  font-size: 1.8rem;
}

.filter-bar {
  display: grid;
  grid-template-columns: repeat(3, minmax(160px, 1fr)) auto;
  gap: 14px;
  align-items: end;
  margin-bottom: 20px;
}

.prose .eyebrow:not(:first-child) {
  margin-top: 28px;
}

.severity-critical {
  background: #591f29;
  color: #ffb3ba;
}

.severity-high {
  background: #53331c;
  color: #ffd0a0;
}

.severity-medium {
  background: #4c421d;
  color: #ffe18a;
}

.severity-low {
  background: #173b43;
  color: #8de5ed;
}

.evidence-quarantined {
  background: #4c421d;
  color: #ffe18a;
}

.evidence-approved {
  background: var(--mint-deep);
  color: var(--mint);
}

.evidence-rejected {
  background: #591f29;
  color: #ffb3ba;
}

.report-integrity-grid {
  display: grid;
  grid-template-columns: minmax(220px, .7fr) minmax(360px, 1.3fr) minmax(260px, 1fr);
  gap: 20px;
  margin-bottom: 20px;
}

.report-state {
  display: block;
  margin-top: 16px;
  font-size: 2rem;
}

.report-integrity-grid code {
  overflow-wrap: anywhere;
  white-space: normal;
}

@media (max-width: 850px) {
  .finding-summary {
    grid-template-columns: 1fr;
  }
  .report-integrity-grid {
    grid-template-columns: 1fr;
  }
  .filter-bar {
    grid-template-columns: 1fr;
  }
  .readiness-item {
    grid-template-columns: 34px minmax(0, 1fr);
  }
  .readiness-item .button {
    grid-column: 2;
    justify-self: start;
  }
}

/* Public product site and controlled tenant onboarding. */
.marketing-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.marketing-nav > a:not(.button) {
  padding: 9px 10px;
  color: #183d56;
  font-size: .82rem;
  font-weight: 700;
}

.marketing-nav > a:not(.button):hover {
  color: #0075aa;
  text-decoration: none;
}

.marketing-page {
  width: min(1380px, calc(100% - 64px));
  padding-top: 0;
}

.marketing-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(340px, .75fr);
  gap: clamp(38px, 7vw, 100px);
  align-items: center;
  min-height: min(760px, calc(100vh - 132px));
  padding: clamp(70px, 10vw, 140px) 0;
}

.marketing-hero-copy h1 {
  max-width: 820px;
  margin: 18px 0 24px;
  font-size: clamp(3.15rem, 5vw, 5.45rem);
  line-height: .94;
  letter-spacing: -.06em;
}

.marketing-hero-copy > p {
  max-width: 760px;
  margin: 0;
  color: #b7ccda;
  font-size: clamp(1.08rem, 1.6vw, 1.3rem);
  line-height: 1.7;
}

.trust-line {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin-top: 34px;
  color: #8faabd;
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .035em;
  text-transform: uppercase;
}

.trust-line > span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.marketing-command-card {
  position: relative;
  overflow: hidden;
  padding: 30px;
  border: 1px solid rgba(98, 212, 255, .26);
  border-radius: 24px;
  background: linear-gradient(160deg, rgba(17, 54, 81, .96), rgba(4, 17, 28, .98));
  box-shadow: 0 38px 100px rgba(0, 5, 12, .42);
}

.marketing-command-card::before {
  position: absolute;
  top: -80px;
  right: -70px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(34, 184, 240, .22), transparent 67%);
  content: "";
}

.command-stage {
  position: relative;
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 16px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line-soft);
}

.command-stage:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.command-stage > span,
.feature-number {
  color: var(--cyan-bright);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .08em;
}

.command-stage > div {
  display: grid;
  gap: 5px;
}

.command-stage strong {
  font-size: 1.02rem;
}

.command-stage small {
  color: var(--muted);
  line-height: 1.55;
}

.marketing-proof {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}

.marketing-proof article {
  display: grid;
  gap: 8px;
  padding: 30px clamp(16px, 3vw, 34px);
  border-right: 1px solid var(--line-soft);
}

.marketing-proof article:last-child {
  border-right: 0;
}

.marketing-proof strong {
  color: #edf8ff;
  font-size: .92rem;
}

.marketing-proof span {
  color: var(--muted);
  font-size: .8rem;
  line-height: 1.55;
}

.marketing-section {
  padding: clamp(86px, 11vw, 150px) 0;
  scroll-margin-top: 120px;
}

.marketing-section-heading {
  max-width: 820px;
  margin-bottom: 46px;
}

.marketing-section-heading h2,
.guardrail-section h2,
.marketing-cta h2 {
  margin: 14px 0 18px;
  font-size: clamp(2.5rem, 5vw, 5.2rem);
  line-height: .96;
  letter-spacing: -.06em;
}

.marketing-section-heading p,
.guardrail-section p,
.marketing-cta p {
  color: #a9c0d0;
  font-size: 1.08rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.feature-grid .panel {
  min-height: 280px;
  margin: 0;
  padding: 28px;
  box-shadow: var(--shadow-sm);
}

.feature-grid h3 {
  margin: 42px 0 10px;
  font-size: 1.3rem;
}

.feature-grid p {
  margin: 0;
  color: var(--muted);
  font-size: .92rem;
}

.workflow-section {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(520px, 1.2fr);
  gap: clamp(50px, 8vw, 120px);
  align-items: start;
}

.workflow-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.workflow-list li {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 22px;
  padding: 26px 0;
  border-top: 1px solid var(--line-soft);
}

.workflow-list li > span {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(98, 212, 255, .35);
  border-radius: 50%;
  color: var(--cyan-bright);
  font-weight: 800;
}

.workflow-list strong {
  font-size: 1.06rem;
}

.workflow-list p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: .9rem;
}

.guardrail-section {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(420px, 1.1fr);
  gap: clamp(50px, 9vw, 130px);
  align-items: center;
  border-top: 1px solid var(--line-soft);
}

.guardrail-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.guardrail-list span {
  padding: 17px 18px;
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  background: rgba(34, 184, 240, .045);
  color: #c4d8e5;
  font-size: .84rem;
  font-weight: 650;
}

.marketing-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 80px;
  padding: clamp(34px, 6vw, 68px);
}

.marketing-cta h2 {
  font-size: clamp(2.3rem, 4vw, 4.2rem);
}

.marketing-cta .button {
  flex: 0 0 auto;
}

.marketing-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 26px 0 42px;
  border-top: 1px solid var(--line-soft);
  color: #7593a8;
  font-size: .75rem;
}

.request-page {
  padding-top: clamp(58px, 8vw, 100px);
}

.request-layout {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(460px, 1.1fr);
  gap: clamp(50px, 9vw, 130px);
  align-items: start;
  max-width: 1220px;
  margin: 0 auto;
}

.request-intro {
  position: sticky;
  top: 40px;
  padding-top: 10px;
}

.request-intro h1 {
  font-size: clamp(3rem, 5.8vw, 6rem);
}

.request-intro > p {
  color: #adc4d3;
  font-size: 1.06rem;
}

.request-assurance {
  display: grid;
  gap: 0;
  margin-top: 36px;
}

.request-assurance > div {
  display: grid;
  gap: 4px;
  padding: 18px 0;
  border-top: 1px solid var(--line-soft);
}

.request-assurance span {
  color: var(--muted);
  font-size: .85rem;
}

.request-form-panel {
  padding: clamp(28px, 4vw, 42px);
}

.request-form-panel h2 {
  margin-top: 12px;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
}

.honeypot-field {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.confirmation-panel .success {
  margin: 24px 0;
  padding: 15px;
  border: 1px solid #286753;
  background: var(--mint-deep);
  color: var(--mint);
}

@media (max-width: 1050px) {
  .topbar:has(.marketing-nav) {
    align-items: center;
    flex-direction: column;
    gap: 2px;
    padding-bottom: 14px;
  }

  .marketing-hero,
  .workflow-section,
  .guardrail-section,
  .request-layout {
    grid-template-columns: 1fr;
  }

  .marketing-hero {
    padding-top: 80px;
  }

  .marketing-command-card {
    max-width: 720px;
  }

  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .marketing-proof {
    grid-template-columns: repeat(2, 1fr);
  }

  .marketing-proof article:nth-child(2) {
    border-right: 0;
  }

  .marketing-proof article:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line-soft);
  }

  .request-intro {
    position: static;
  }
}

@media (max-width: 700px) {
  .marketing-page {
    width: min(100% - 28px, 1380px);
  }

  .marketing-nav {
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .marketing-nav > a:not(.button) {
    display: none;
  }

  .marketing-hero {
    min-height: auto;
    padding: 64px 0 80px;
  }

  .marketing-hero-copy h1 {
    font-size: clamp(2.75rem, 12vw, 4.1rem);
  }

  .feature-grid,
  .marketing-proof,
  .guardrail-list {
    grid-template-columns: 1fr;
  }

  .marketing-proof article {
    border-right: 0;
    border-bottom: 1px solid var(--line-soft);
  }

  .marketing-proof article:last-child {
    border-bottom: 0;
  }

  .marketing-cta,
  .marketing-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* Compact, high-signal dispatch control for the operator dashboard. */
.safety-banner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  min-height: 68px;
  margin-bottom: 16px;
  padding: 13px 15px 13px 19px;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 10px 28px rgba(0, 7, 14, .18);
}

.safety-banner::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  content: "";
}

.safety-banner > div {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.safety-banner strong {
  color: #f5f9fc;
  font-size: .88rem;
  line-height: 1.25;
  letter-spacing: -.01em;
}

.safety-banner span:not(.safety-state) {
  overflow: hidden;
  color: #b8c9d5;
  font-size: .76rem;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.safety-banner.paused {
  border-color: rgba(227, 168, 69, .34);
  background: linear-gradient(100deg, rgba(74, 48, 14, .72), rgba(19, 34, 44, .92) 72%);
  color: #ffd384;
}

.safety-banner.paused::before {
  background: #e9a83f;
  box-shadow: 0 0 20px rgba(233, 168, 63, .34);
}

.safety-banner.enabled {
  border-color: rgba(34, 184, 240, .34);
  background: linear-gradient(100deg, rgba(5, 75, 101, .72), rgba(19, 34, 44, .92) 72%);
  color: #77d9fb;
}

.safety-banner.enabled::before {
  background: var(--cyan-bright);
  box-shadow: 0 0 20px rgba(34, 184, 240, .34);
}

.safety-banner .safety-state {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 30px;
  padding: 6px 10px;
  border: 1px solid currentColor;
  border-radius: 999px;
  background: rgba(4, 16, 24, .38);
  font-size: .62rem;
  line-height: 1;
  letter-spacing: .085em;
  white-space: nowrap;
}

.safety-banner .safety-state::before {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 10px currentColor;
  content: "";
}

@media (max-width: 700px) {
  .safety-banner {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 14px 15px 14px 19px;
  }

  .safety-banner span:not(.safety-state) {
    overflow: visible;
    text-overflow: clip;
    white-space: normal;
  }

  .safety-banner .safety-state {
    justify-self: start;
  }
}

/* Unified dark masthead and a white treatment of the approved master logo. */
.topbar {
  border-bottom: 2px solid rgba(34, 184, 240, .82);
  background:
    radial-gradient(circle at 15% -70%, rgba(34, 184, 240, .17), transparent 48%),
    linear-gradient(180deg, #0a2234 0%, #061522 100%);
  box-shadow: 0 14px 38px rgba(0, 7, 14, .34);
}

.topbar:has(.marketing-nav) {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: clamp(32px, 5vw, 84px);
  padding-block: 4px;
  padding-inline: clamp(24px, 4vw, 72px);
}

.topbar:has(.marketing-nav) .brand {
  justify-self: start;
}

.topbar:has(.marketing-nav) .brand-logo-frame {
  height: 124px;
}

.topbar:has(.marketing-nav) .marketing-nav {
  justify-self: end;
}

.brand-logo-frame {
  background: transparent;
}

.brand-logo {
  filter: grayscale(1) invert(1) brightness(1.72) contrast(1.16);
  mix-blend-mode: screen;
}

.primary-nav a,
.marketing-nav > a:not(.button) {
  color: #d9ebf5;
}

.primary-nav a:hover,
.marketing-nav > a:not(.button):hover {
  color: #6bd8ff;
  background: rgba(34, 184, 240, .11);
}

.operator-name {
  color: #9fb9c9;
}

.topbar .verified {
  border: 1px solid rgba(34, 184, 240, .25);
  background: rgba(34, 184, 240, .12);
  color: #71dbff;
}

.topbar .button-quiet,
.marketing-nav .button:not(.button-primary) {
  border-color: rgba(156, 195, 216, .35);
  background: rgba(255, 255, 255, .035);
  color: #edf7fc;
}

.topbar .button-quiet:hover,
.marketing-nav .button:not(.button-primary):hover {
  border-color: #22b8f0;
  background: rgba(34, 184, 240, .12);
}

@media (max-width: 1050px) {
  .topbar:has(.marketing-nav) {
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    row-gap: 4px;
    padding-top: 6px;
    padding-bottom: 14px;
  }

  .topbar:has(.marketing-nav) .brand {
    justify-self: center;
  }

  .topbar:has(.marketing-nav) .marketing-nav {
    justify-self: center;
  }
}

@media (max-width: 700px) {
  .topbar:has(.marketing-nav) {
    padding-inline: 14px;
  }

  .topbar:has(.marketing-nav) .marketing-nav {
    justify-content: center;
    overflow-x: visible;
    flex-wrap: wrap;
    padding-bottom: 0;
  }
}

/* Cross-platform type calibration: readable hierarchy without billboard-scale headings. */
h1 {
  max-width: 980px;
  font-size: clamp(2rem, 3vw, 3.1rem);
  line-height: 1.04;
  letter-spacing: -.045em;
  overflow-wrap: anywhere;
  text-wrap: balance;
}

h2 {
  font-size: clamp(1.18rem, 1.55vw, 1.48rem);
}

.page-heading > div:first-child {
  max-width: min(860px, 100%);
}

.page-heading h1 {
  font-size: clamp(1.9rem, 2.55vw, 2.9rem);
  line-height: 1.06;
  letter-spacing: -.04em;
}

.hero h1 {
  font-size: clamp(2.55rem, 4.6vw, 4.75rem);
  line-height: .96;
}

.hero.compact h1 {
  font-size: clamp(2.2rem, 3.6vw, 3.65rem);
}

.auth-panel h1 {
  font-size: clamp(2.15rem, 4.5vw, 3.2rem);
}

.marketing-hero-copy h1 {
  max-width: 820px;
  font-size: clamp(2.35rem, 3.2vw, 3.65rem);
  line-height: 1;
  letter-spacing: -.05em;
}

.marketing-hero-copy > p {
  font-size: clamp(1rem, 1.2vw, 1.15rem);
  line-height: 1.62;
}

.marketing-section-heading h2,
.guardrail-section h2,
.marketing-cta h2 {
  font-size: clamp(2.1rem, 3.4vw, 3.7rem);
  line-height: 1;
}

.marketing-cta h2 {
  font-size: clamp(2rem, 3vw, 3.15rem);
}

.request-intro h1 {
  font-size: clamp(2.6rem, 4.5vw, 4.35rem);
}

.request-form-panel h2 {
  font-size: clamp(1.65rem, 2.4vw, 2.2rem);
}

@media (max-width: 1050px) {
  .marketing-hero-copy h1 {
    font-size: clamp(2.25rem, 5.5vw, 3.3rem);
  }
}

@media (max-width: 700px) {
  h1,
  .page-heading h1 {
    font-size: clamp(1.8rem, 8.5vw, 2.55rem);
    line-height: 1.08;
  }

  .hero h1,
  .hero.compact h1 {
    font-size: clamp(2.15rem, 10.5vw, 3.2rem);
  }

  .marketing-hero-copy h1 {
    font-size: clamp(2rem, 9.2vw, 2.65rem);
    line-height: 1.04;
  }

  .marketing-section-heading h2,
  .guardrail-section h2,
  .marketing-cta h2,
  .request-intro h1 {
    font-size: clamp(2rem, 9vw, 2.9rem);
  }
}
