:root {
  --bg: #080b0f;
  --bg-deep: #05070a;
  --surface: #0d1218;
  --surface-2: #111820;
  --surface-3: #17202a;
  --line: #26313d;
  --line-control: #5c6b7b;
  --line-soft: rgba(157, 174, 191, 0.13);
  --text: #f3f6f8;
  --text-soft: #b3bec9;
  --text-dim: #778492;
  --red: #c7233e;
  --red-bright: #ff5267;
  --red-deep: #8d1729;
  --green: #6fd3a5;
  --amber: #dfb060;
  --shell: min(1280px, calc(100vw - 48px));
  --radius: 12px;
  --shadow: 0 34px 90px rgba(0, 0, 0, 0.35);
  --font-sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

/* Phase 7: production edge, operator docs, and pilot onboarding */
[hidden] {
  display: none !important;
}

.launch-section {
  background:
    linear-gradient(90deg, rgba(199, 35, 62, 0.045) 1px, transparent 1px),
    linear-gradient(rgba(199, 35, 62, 0.035) 1px, transparent 1px),
    #090d12;
  background-size: 56px 56px;
}

.launch-heading strong {
  color: var(--text);
  font-weight: 620;
}

.edge-directive {
  display: grid;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #0a0f14;
  box-shadow: var(--shadow);
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  overflow: hidden;
}

.publication-request {
  padding: 34px;
  border-right: 1px solid var(--line);
  background:
    radial-gradient(circle at 10% 0, rgba(199, 35, 62, 0.12), transparent 18rem),
    #0f151c;
}

.edge-panel-kicker,
.edge-console-head,
.production-checklist-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.edge-panel-kicker span,
.edge-console-head span,
.onboarding-panel-head > span,
.onboarding-result > span,
.launch-resources > div > span {
  color: var(--red-bright);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.07em;
}

.edge-panel-kicker b,
.edge-console-head b {
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 650;
}

.publication-request h3 {
  max-width: 560px;
  margin: 42px 0 18px;
  font-size: clamp(2rem, 3.5vw, 3.4rem);
  font-weight: 540;
  letter-spacing: -0.045em;
  line-height: 1.02;
}

.publication-request h3 code {
  color: var(--red-bright);
  font-family: inherit;
}

.publication-request > p {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.97rem;
  line-height: 1.75;
}

.publication-request dl {
  margin: 34px 0 0;
  border-top: 1px solid var(--line-soft);
}

.publication-request dl div {
  display: grid;
  min-height: 52px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line-soft);
  grid-template-columns: 120px 1fr;
  align-items: center;
  gap: 16px;
}

.publication-request dt {
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-size: 0.69rem;
  text-transform: uppercase;
}

.publication-request dd {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.82rem;
}

.edge-console {
  background: #070a0e;
}

.edge-console-head {
  min-height: 54px;
  padding: 12px 18px;
  border-bottom: 1px solid var(--line);
  background: #111820;
}

.edge-console ol {
  padding: 0;
  margin: 0;
  list-style: none;
}

.edge-console li {
  display: grid;
  min-height: 126px;
  padding: 22px 20px;
  border-bottom: 1px solid var(--line-soft);
  grid-template-columns: 46px 1fr auto;
  align-items: center;
  gap: 14px;
}

.edge-console li:last-child {
  border-bottom: 0;
}

.edge-console li > span {
  display: grid;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(199, 35, 62, 0.45);
  border-radius: 50%;
  color: var(--red-bright);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  place-items: center;
}

.edge-console li > div {
  display: flex;
  flex-direction: column;
}

.edge-console li strong {
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 610;
}

.edge-console li small {
  max-width: 650px;
  margin-top: 5px;
  color: var(--text-dim);
  font-size: 0.79rem;
  line-height: 1.55;
}

.edge-console li > b {
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-size: 0.67rem;
}

.edge-verification-grid {
  display: grid;
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #0b1016;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
}

.edge-verification-grid article {
  display: flex;
  min-height: 300px;
  padding: 24px;
  flex-direction: column;
}

.edge-verification-grid article:not(:last-child) {
  border-right: 1px solid var(--line-soft);
}

.edge-verification-grid span {
  color: var(--red-bright);
  font-family: var(--font-mono);
  font-size: 0.7rem;
}

.edge-verification-grid h3 {
  margin: 48px 0 12px;
  font-size: 1.23rem;
  font-weight: 590;
  letter-spacing: -0.025em;
}

.edge-verification-grid p {
  margin: 0;
  color: var(--text-dim);
  font-size: 0.82rem;
  line-height: 1.65;
}

.edge-verification-grid p strong,
.edge-verification-grid code {
  color: var(--text-soft);
}

.edge-verification-grid b {
  margin-top: auto;
  padding-top: 24px;
  color: var(--text-soft);
  font-family: var(--font-mono);
  font-size: 0.66rem;
  line-height: 1.45;
}

.launch-resources {
  display: grid;
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #111820;
  grid-template-columns: repeat(2, 1fr);
  overflow: hidden;
}

.launch-resources > div {
  display: flex;
  min-height: 245px;
  padding: 28px;
  flex-direction: column;
}

.launch-resources > div:first-child {
  border-right: 1px solid var(--line);
}

.launch-resources strong {
  max-width: 520px;
  margin-top: 24px;
  font-size: 1.25rem;
  font-weight: 590;
  line-height: 1.35;
}

.launch-resources p {
  max-width: 610px;
  margin: 10px 0 22px;
  color: var(--text-dim);
  font-size: 0.84rem;
}

.launch-resources .text-link,
.launch-resources .button {
  margin-top: auto;
  align-self: flex-start;
}

.launch-resources .text-link {
  color: var(--text);
  font-size: 0.86rem;
  font-weight: 650;
}

.launch-resources .text-link:hover {
  color: var(--red-bright);
}

.onboarding-dialog {
  width: min(900px, calc(100vw - 32px));
  max-height: min(920px, calc(100vh - 32px));
}

.onboarding-progress {
  display: grid;
  padding: 0;
  margin: 24px 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #0a0f14;
  grid-template-columns: repeat(3, 1fr);
  list-style: none;
  overflow: hidden;
}

.onboarding-progress li {
  display: flex;
  min-height: 58px;
  padding: 12px 14px;
  color: var(--text-dim);
  align-items: center;
  gap: 10px;
}

.onboarding-progress li:not(:last-child) {
  border-right: 1px solid var(--line-soft);
}

.onboarding-progress span {
  font-family: var(--font-mono);
  font-size: 0.68rem;
}

.onboarding-progress strong {
  font-size: 0.78rem;
  font-weight: 600;
}

.onboarding-progress li.active {
  background: rgba(199, 35, 62, 0.11);
  color: var(--text);
  box-shadow: inset 0 -2px var(--red);
}

.onboarding-progress li.active span,
.onboarding-progress li.complete span {
  color: var(--red-bright);
}

.onboarding-progress li.complete {
  color: var(--text-soft);
}

.onboarding-panel {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #0b1016;
}

.onboarding-panel-head h3,
.onboarding-result h3 {
  margin: 8px 0 6px;
  font-size: clamp(1.65rem, 3.5vw, 2.4rem);
  font-weight: 560;
  letter-spacing: -0.04em;
  line-height: 1.08;
}

.onboarding-panel-head p,
.onboarding-result p {
  margin: 0;
  color: var(--text-dim);
  font-size: 0.85rem;
  line-height: 1.6;
}

.onboarding-options {
  display: grid;
  margin-top: 20px;
  gap: 10px;
}

.topology-options {
  grid-template-columns: repeat(3, 1fr);
}

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

.onboarding-options label {
  position: relative;
  display: block;
  min-width: 0;
  cursor: pointer;
}

.onboarding-options input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.onboarding-options label > span {
  display: flex;
  min-height: 195px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #0e151c;
  flex-direction: column;
  transition: border-color 150ms ease, background 150ms ease, transform 150ms ease;
}

.identity-options label > span {
  min-height: 158px;
}

.onboarding-options label:hover > span {
  border-color: var(--line-control);
  transform: translateY(-1px);
}

.onboarding-options input:focus-visible + span {
  outline: 2px solid var(--red-bright);
  outline-offset: 3px;
}

.onboarding-options input:checked + span {
  border-color: rgba(255, 82, 103, 0.65);
  background: linear-gradient(145deg, rgba(199, 35, 62, 0.12), #10171f 58%);
  box-shadow: inset 3px 0 var(--red);
}

.onboarding-options b {
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 620;
}

.onboarding-options b i {
  display: inline-flex;
  padding: 2px 5px;
  margin-left: 5px;
  border: 1px solid rgba(199, 35, 62, 0.4);
  border-radius: 3px;
  color: var(--red-bright);
  font-family: var(--font-mono);
  font-size: 0.55rem;
  font-style: normal;
  vertical-align: 2px;
}

.onboarding-options small {
  margin-top: 10px;
  color: var(--text-dim);
  font-size: 0.77rem;
  line-height: 1.55;
}

.onboarding-options code {
  margin-top: auto;
  padding-top: 18px;
  color: var(--text-soft);
  font-size: 0.68rem;
}

.identity-checklist {
  padding: 18px;
  margin-top: 14px;
  border: 1px solid var(--line-soft);
  border-radius: 7px;
  background: #080d12;
}

.identity-checklist > span {
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-size: 0.68rem;
}

.identity-checklist ul {
  display: grid;
  padding: 0;
  margin: 12px 0 0;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px 24px;
  list-style: none;
}

.identity-checklist li {
  position: relative;
  padding-left: 17px;
  color: var(--text-soft);
  font-size: 0.77rem;
}

.identity-checklist li::before {
  position: absolute;
  left: 0;
  color: var(--red-bright);
  content: "◇";
}

.onboarding-fields {
  display: grid;
  margin-top: 20px;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.onboarding-fields > label:not(.onboarding-checkbox) {
  display: flex;
  color: var(--text-soft);
  font-size: 0.78rem;
  font-weight: 600;
  flex-direction: column;
  gap: 7px;
}

.onboarding-fields select {
  width: 100%;
  min-height: 48px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #10171f;
  color: var(--text);
}

.onboarding-checkbox {
  display: flex;
  padding: 14px;
  border: 1px solid var(--line-soft);
  border-radius: 7px;
  background: #090e13;
  grid-column: 1 / -1;
  align-items: flex-start;
  gap: 11px;
  cursor: pointer;
}

.onboarding-checkbox input {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: var(--red);
}

.onboarding-checkbox span {
  color: var(--text-soft);
  font-size: 0.8rem;
}

.pilot-summary {
  padding: 18px;
  margin-top: 14px;
  border: 1px solid rgba(199, 35, 62, 0.34);
  border-left: 3px solid var(--red);
  border-radius: 7px;
  background: rgba(199, 35, 62, 0.045);
}

.pilot-summary > span {
  color: var(--red-bright);
  font-family: var(--font-mono);
  font-size: 0.68rem;
}

.pilot-summary dl {
  display: grid;
  margin: 13px 0 0;
  grid-template-columns: repeat(2, 1fr);
  gap: 9px 22px;
}

.pilot-summary dl div {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 9px;
}

.pilot-summary dt {
  color: var(--text-dim);
  font-size: 0.72rem;
}

.pilot-summary dd {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.74rem;
  font-weight: 600;
}

.onboarding-result {
  padding: 24px;
  border: 1px solid rgba(111, 211, 165, 0.3);
  border-radius: 9px;
  background: linear-gradient(145deg, rgba(111, 211, 165, 0.06), #0b1016 50%);
}

.onboarding-result > span {
  color: var(--green);
}

.onboarding-result label {
  display: block;
  margin: 20px 0 7px;
  color: var(--text-soft);
  font-size: 0.75rem;
  font-weight: 600;
}

.onboarding-result textarea {
  width: 100%;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #070a0e;
  color: #c6d1db;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  line-height: 1.5;
  resize: vertical;
}

.onboarding-result .button {
  margin-top: 12px;
}

.onboarding-actions {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
}

.onboarding-privacy {
  color: var(--text-dim);
  font-size: 0.7rem;
  text-align: center;
}

.onboarding-form.complete .onboarding-progress {
  opacity: 0.55;
}

@media (max-width: 1120px) {
  .edge-directive,
  .launch-resources {
    grid-template-columns: 1fr;
  }

  .publication-request {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

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

  .edge-verification-grid article:nth-child(2) {
    border-right: 0;
  }

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

  .launch-resources > div:first-child {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 760px) {
  .publication-request {
    padding: 24px;
  }

  .publication-request h3 {
    margin-top: 30px;
  }

  .edge-console li {
    grid-template-columns: 42px 1fr;
  }

  .edge-console li > b {
    grid-column: 2;
  }

  .edge-verification-grid,
  .topology-options,
  .identity-options,
  .onboarding-fields,
  .pilot-summary dl {
    grid-template-columns: 1fr;
  }

  .edge-verification-grid article {
    min-height: 245px;
    border-right: 0 !important;
    border-bottom: 1px solid var(--line-soft);
  }

  .edge-verification-grid article:last-child {
    border-bottom: 0;
  }

  .onboarding-progress strong {
    display: none;
  }

  .onboarding-progress li {
    justify-content: center;
  }

  .onboarding-panel,
  .onboarding-result {
    padding: 18px;
  }

  .onboarding-options label > span,
  .identity-options label > span {
    min-height: 142px;
  }

  .identity-checklist ul {
    grid-template-columns: 1fr;
  }

  .pilot-summary dl div {
    grid-template-columns: 82px 1fr;
  }

  .onboarding-actions {
    grid-template-columns: 1fr;
  }

  .onboarding-actions .button {
    width: 100%;
  }

  .onboarding-privacy {
    order: -1;
  }
}

/* Phase 8: apex activation, WAF controls, automation contract, and edge probe */
.operator-section {
  padding-top: 78px;
  margin-top: 78px;
  border-top: 1px solid var(--line);
  scroll-margin-top: 92px;
}

.operator-section-head {
  display: grid;
  margin-bottom: 28px;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 24px;
}

.operator-section-head > div > span,
.automation-contract span,
.automation-download span,
.certificate-acceptance > span,
.strict-cutover > span {
  color: var(--red-bright);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.07em;
}

.operator-section-head h3 {
  max-width: 920px;
  margin: 12px 0 0;
  font-size: clamp(2.2rem, 4.5vw, 4.8rem);
  font-weight: 510;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.operator-state {
  display: inline-flex;
  min-height: 34px;
  padding: 8px 11px;
  border: 1px solid var(--line);
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 0.63rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  align-items: center;
}

.operator-state-gated {
  border-color: rgba(223, 176, 96, 0.45);
  background: rgba(223, 176, 96, 0.07);
  color: var(--amber);
}

.operator-state-blocked {
  border-color: rgba(255, 82, 103, 0.5);
  background: rgba(199, 35, 62, 0.1);
  color: var(--red-bright);
}

.operator-lede {
  max-width: 900px;
  margin: -8px 0 26px;
  color: var(--text-soft);
  font-size: 0.95rem;
  line-height: 1.75;
}

.dns-runbook-grid,
.waf-rule-grid,
.email-sequence-grid,
.ttfb-panel {
  display: grid;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #080c11;
  box-shadow: var(--shadow);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  overflow: hidden;
}

.record-manifest,
.certificate-gate,
.waf-rule-card,
.ttfb-copy,
.ttfb-command {
  min-width: 0;
  padding: 28px;
}

.record-manifest,
.waf-rule-card:first-child,
.ttfb-copy {
  border-right: 1px solid var(--line);
}

.certificate-gate,
.ttfb-command {
  background: #070a0e;
}

.operator-card-head,
.email-card-bar {
  display: flex;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line-soft);
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.operator-card-head span,
.email-card-bar span {
  color: var(--red-bright);
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.055em;
}

.operator-card-head b,
.email-card-bar b {
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-size: 0.61rem;
  font-weight: 650;
  text-align: right;
}

.record-manifest > p,
.certificate-gate > p,
.waf-rule-card > p,
.ttfb-copy > p {
  margin: 24px 0 0;
  color: var(--text-dim);
  font-size: 0.82rem;
  line-height: 1.68;
}

.record-manifest > p code,
.certificate-gate > p code,
.waf-rule-card > p code,
.ttfb-copy > p code {
  color: var(--text-soft);
}

.dns-record-table {
  margin-top: 22px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #0a0f14;
  overflow: hidden;
}

.dns-record-table > div {
  display: grid;
  min-height: 50px;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line-soft);
  grid-template-columns: 0.45fr 0.45fr 1.2fr 0.7fr;
  align-items: center;
  gap: 10px;
}

.dns-record-table > div:last-child {
  border-bottom: 0;
}

.dns-record-table .dns-record-head {
  min-height: 38px;
  background: #111820;
}

.dns-record-table span,
.dns-record-table strong,
.dns-record-table b,
.dns-record-table code {
  font-size: 0.68rem;
}

.dns-record-table span {
  color: var(--text-dim);
  font-family: var(--font-mono);
}

.dns-record-table strong {
  color: var(--text);
}

.dns-record-table code {
  color: var(--text-soft);
}

.dns-record-table b {
  color: var(--green);
  font-family: var(--font-mono);
}

.operator-checklist {
  padding: 0;
  margin: 22px 0 0;
  list-style: none;
  counter-reset: control-step;
}

.operator-checklist li {
  position: relative;
  padding: 11px 0 11px 35px;
  border-top: 1px solid var(--line-soft);
  color: var(--text-soft);
  font-size: 0.76rem;
  line-height: 1.55;
  counter-increment: control-step;
}

.operator-checklist li::before {
  position: absolute;
  top: 11px;
  left: 0;
  color: var(--red-bright);
  font-family: var(--font-mono);
  font-size: 0.64rem;
  content: "0" counter(control-step);
}

.certificate-gate pre,
.waf-rule-card pre,
.ttfb-command pre {
  max-width: 100%;
  padding: 18px;
  margin: 22px 0 0;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #030507;
  color: #c7d0d8;
  font-size: clamp(0.65rem, 1.05vw, 0.75rem);
  line-height: 1.62;
  overflow: auto;
}

.operator-copy {
  min-height: 34px;
  padding: 7px 10px;
  margin-top: 10px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #10161d;
  color: var(--text-soft);
  font-size: 0.67rem;
  font-weight: 650;
  cursor: pointer;
}

.operator-copy:hover {
  border-color: var(--red);
  color: var(--text);
}

.certificate-acceptance {
  padding: 16px;
  margin-top: 18px;
  border: 1px solid rgba(111, 211, 165, 0.22);
  border-left: 3px solid var(--green);
  border-radius: 6px;
  background: rgba(111, 211, 165, 0.035);
}

.certificate-acceptance > span {
  color: var(--green);
}

.certificate-acceptance ul {
  padding: 0;
  margin: 11px 0 0;
  list-style: none;
}

.certificate-acceptance li {
  position: relative;
  padding: 5px 0 5px 17px;
  color: var(--text-soft);
  font-size: 0.72rem;
  line-height: 1.5;
}

.certificate-acceptance li::before {
  position: absolute;
  left: 0;
  color: var(--green);
  content: "✓";
}

.certificate-acceptance code {
  color: #d3dce4;
}

.strict-cutover {
  padding: 26px;
  margin-top: 16px;
  border: 1px solid var(--line);
  border-top: 3px solid var(--red);
  border-radius: 10px;
  background:
    radial-gradient(circle at 100% 0, rgba(199, 35, 62, 0.1), transparent 23rem),
    #0c1218;
}

.strict-cutover > ol {
  display: grid;
  padding: 0;
  margin: 22px 0 0;
  border: 1px solid var(--line-soft);
  border-radius: 7px;
  grid-template-columns: repeat(5, 1fr);
  list-style: none;
  overflow: hidden;
}

.strict-cutover > ol li {
  min-height: 210px;
  padding: 18px;
}

.strict-cutover > ol li:not(:last-child) {
  border-right: 1px solid var(--line-soft);
}

.strict-cutover li > b {
  color: var(--red-bright);
  font-family: var(--font-mono);
  font-size: 0.66rem;
}

.strict-cutover li p {
  margin: 42px 0 0;
  color: var(--text-dim);
  font-size: 0.72rem;
  line-height: 1.58;
}

.strict-cutover li strong {
  display: block;
  margin-bottom: 6px;
  color: var(--text);
  font-size: 0.82rem;
}

.strict-cutover em {
  color: var(--text-soft);
  font-style: normal;
}

.official-reference-row {
  display: flex;
  margin-top: 18px;
  flex-wrap: wrap;
  gap: 12px 24px;
}

.official-reference-row a {
  color: var(--text-soft);
  font-size: 0.75rem;
  font-weight: 620;
}

.official-reference-row a:hover {
  color: var(--red-bright);
}

.waf-rule-card {
  display: flex;
  flex-direction: column;
}

.waf-rule-card h4 {
  margin: 30px 0 0;
  color: var(--text);
  font-size: 1.36rem;
  font-weight: 580;
  letter-spacing: -0.025em;
}

.waf-rule-card pre {
  min-height: 350px;
}

.waf-rule-card footer {
  display: grid;
  padding-top: 17px;
  margin-top: 22px;
  border-top: 1px solid var(--line-soft);
  grid-template-columns: auto 1fr;
  gap: 8px 14px;
}

.waf-rule-card footer strong {
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  text-transform: uppercase;
}

.waf-rule-card footer code {
  color: var(--text-soft);
  font-size: 0.68rem;
  text-align: right;
}

.waf-activation-order,
.automation-contract {
  display: grid;
  margin-top: 16px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #0d1319;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
}

.waf-activation-order > div,
.automation-contract > div {
  display: flex;
  min-height: 190px;
  padding: 19px;
  flex-direction: column;
}

.waf-activation-order > div:not(:last-child),
.automation-contract > div:not(:last-child) {
  border-right: 1px solid var(--line-soft);
}

.waf-activation-order span {
  color: var(--red-bright);
  font-family: var(--font-mono);
  font-size: 0.65rem;
}

.waf-activation-order strong,
.automation-contract strong {
  margin-top: 34px;
  color: var(--text);
  font-size: 0.87rem;
}

.waf-activation-order small,
.automation-contract small {
  margin-top: 7px;
  color: var(--text-dim);
  font-size: 0.7rem;
  line-height: 1.55;
}

.automation-contract strong code {
  color: var(--text);
  font-size: 0.76rem;
}

.operator-disclaimer {
  padding: 14px 17px;
  margin: 16px 0 0;
  border: 1px solid rgba(255, 82, 103, 0.28);
  border-left: 3px solid var(--red);
  border-radius: 6px;
  background: rgba(199, 35, 62, 0.045);
  color: var(--text-dim);
  font-size: 0.74rem;
  line-height: 1.6;
}

.operator-disclaimer strong {
  color: var(--red-bright);
}

.email-sequence-grid {
  margin-top: 16px;
}

.email-card {
  min-width: 0;
  padding: 27px;
  background: #0c1218;
}

.email-card:first-child {
  border-right: 1px solid var(--line);
}

.email-card-critical {
  background:
    linear-gradient(145deg, rgba(199, 35, 62, 0.075), transparent 42%),
    #0c1117;
}

.email-card dl {
  margin: 22px 0 0;
  border: 1px solid var(--line-soft);
  border-radius: 6px;
  overflow: hidden;
}

.email-card dl > div {
  display: grid;
  min-height: 74px;
  padding: 13px;
  border-bottom: 1px solid var(--line-soft);
  grid-template-columns: 78px 1fr;
  align-items: start;
  gap: 14px;
}

.email-card dl > div:last-child {
  border-bottom: 0;
}

.email-card dt {
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-size: 0.61rem;
  text-transform: uppercase;
}

.email-card dd {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.76rem;
  line-height: 1.45;
}

.email-body {
  padding: 24px;
  margin-top: 14px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #070a0e;
}

.email-body p {
  margin: 0 0 15px;
  color: var(--text-soft);
  font-size: 0.77rem;
  line-height: 1.65;
}

.email-body h4 {
  margin: 25px 0 10px;
  color: var(--red-bright);
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.06em;
}

.email-body .email-variables {
  padding: 13px;
  border: 1px solid var(--line-soft);
  border-left: 2px solid var(--red);
  background: #0c1117;
  color: #bac5ce;
  font-family: var(--font-mono);
  font-size: 0.67rem;
}

.email-body ol {
  padding-left: 19px;
  margin: 0 0 20px;
  color: var(--text-soft);
}

.email-body li {
  padding: 3px 0 3px 4px;
  font-size: 0.73rem;
  line-height: 1.55;
}

.email-body code {
  color: #d7dfe6;
}

.email-cta {
  display: inline-flex;
  min-height: 40px;
  padding: 0 14px;
  margin: 3px 0 21px;
  border: 1px solid var(--red);
  border-radius: 5px;
  background: var(--red);
  color: #fff;
  font-size: 0.73rem;
  font-weight: 680;
  align-items: center;
}

.email-cta:hover {
  border-color: var(--red-bright);
  background: #d32945;
}

.email-body .email-signoff {
  margin-bottom: 0;
  color: var(--text-dim);
}

.automation-download {
  display: grid;
  padding: 24px;
  margin-top: 16px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--red);
  border-radius: 8px;
  background: #111820;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px 34px;
}

.automation-download strong {
  display: block;
  margin-top: 9px;
  color: var(--text);
  font-size: 1rem;
}

.automation-download p {
  max-width: 700px;
  margin: 6px 0 0;
  color: var(--text-dim);
  font-size: 0.75rem;
  line-height: 1.55;
}

.automation-download > code {
  color: var(--text-dim);
  font-size: 0.59rem;
  word-break: break-all;
  grid-column: 1 / -1;
}

.ttfb-panel {
  background: #0b1016;
}

.ttfb-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.ttfb-copy > p {
  margin-top: 0;
  color: var(--text-soft);
  font-size: 0.92rem;
}

.ttfb-command {
  display: flex;
  flex-direction: column;
}

.ttfb-command pre {
  min-height: 245px;
}

.ttfb-command > .button {
  margin-top: 22px;
  align-self: flex-start;
}

.asset-digest {
  margin-top: 13px;
  color: var(--text-dim);
  font-size: 0.58rem;
  line-height: 1.5;
  word-break: break-all;
}

.onboarding-result-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.onboarding-result-actions .button {
  margin-top: 12px;
}

.onboarding-event-state {
  display: grid;
  padding: 14px;
  margin-top: 14px;
  border: 1px solid rgba(255, 82, 103, 0.3);
  border-left: 3px solid var(--red);
  border-radius: 6px;
  background: rgba(199, 35, 62, 0.045);
  grid-template-columns: 1fr auto;
  gap: 7px 14px;
}

.onboarding-event-state > span,
.onboarding-event-state > b {
  color: var(--red-bright);
  font-family: var(--font-mono);
  font-size: 0.61rem;
}

.onboarding-event-state > b {
  text-align: right;
}

.onboarding-event-state > code {
  color: var(--text-soft);
  font-size: 0.66rem;
  grid-column: 1 / -1;
}

.onboarding-event-state > small {
  color: var(--text-dim);
  font-size: 0.67rem;
  line-height: 1.45;
  grid-column: 1 / -1;
}

@media (max-width: 1120px) {
  .strict-cutover > ol {
    grid-template-columns: repeat(2, 1fr);
  }

  .strict-cutover > ol li {
    min-height: 175px;
    border-right: 1px solid var(--line-soft);
    border-bottom: 1px solid var(--line-soft);
  }

  .strict-cutover > ol li:nth-child(2n) {
    border-right: 0;
  }

  .strict-cutover > ol li:last-child {
    border-bottom: 0;
    grid-column: 1 / -1;
  }

  .waf-activation-order,
  .automation-contract {
    grid-template-columns: repeat(2, 1fr);
  }

  .waf-activation-order > div:nth-child(2),
  .automation-contract > div:nth-child(2) {
    border-right: 0;
  }

  .waf-activation-order > div:nth-child(-n + 2),
  .automation-contract > div:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line-soft);
  }
}

@media (max-width: 820px) {
  .operator-section {
    padding-top: 58px;
    margin-top: 58px;
  }

  .operator-section-head,
  .dns-runbook-grid,
  .waf-rule-grid,
  .email-sequence-grid,
  .ttfb-panel,
  .automation-download {
    grid-template-columns: 1fr;
  }

  .operator-section-head {
    align-items: start;
  }

  .operator-state {
    justify-self: start;
  }

  .record-manifest,
  .waf-rule-card:first-child,
  .ttfb-copy,
  .email-card:first-child {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .automation-download .button {
    justify-self: start;
  }
}

@media (max-width: 600px) {
  .record-manifest,
  .certificate-gate,
  .waf-rule-card,
  .ttfb-copy,
  .ttfb-command,
  .email-card,
  .strict-cutover {
    padding: 20px;
  }

  .operator-section-head h3 {
    font-size: clamp(2.1rem, 12vw, 3.35rem);
  }

  .dns-record-table > div {
    grid-template-columns: 0.42fr 0.42fr 1.25fr;
  }

  .dns-record-table > div > :last-child {
    display: none;
  }

  .strict-cutover > ol,
  .waf-activation-order,
  .automation-contract {
    grid-template-columns: 1fr;
  }

  .strict-cutover > ol li,
  .strict-cutover > ol li:nth-child(2n),
  .waf-activation-order > div,
  .automation-contract > div {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line-soft);
  }

  .strict-cutover > ol li:last-child,
  .waf-activation-order > div:last-child,
  .automation-contract > div:last-child {
    border-bottom: 0;
    grid-column: auto;
  }

  .strict-cutover li p {
    margin-top: 20px;
  }

  .waf-activation-order strong,
  .automation-contract strong {
    margin-top: 24px;
  }

  .email-card dl > div {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .email-body {
    padding: 18px;
  }

  .onboarding-result-actions {
    display: grid;
  }

  .onboarding-event-state {
    grid-template-columns: 1fr;
  }

  .onboarding-event-state > b {
    text-align: left;
  }

  .onboarding-event-state > code,
  .onboarding-event-state > small {
    grid-column: 1;
  }
}

/* Phase 9: immutable release evidence, edge-health alerts, and consent-gated email */
.release-command-card {
  padding: 16px;
  margin-top: 24px;
  border: 1px solid rgba(255, 82, 103, 0.3);
  border-left: 3px solid var(--red);
  border-radius: 7px;
  background: #070a0e;
}

.release-command-card > span,
.consent-flow span,
.webhook-contract > div > span,
.privacy-deployment-gate span,
.health-summary span,
.health-routing span {
  color: var(--red-bright);
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.055em;
}

.release-command-card pre {
  padding: 14px;
  margin: 12px 0 0;
  border: 1px solid var(--line-soft);
  border-radius: 5px;
  background: #030507;
  color: #ced7df;
  font-size: 0.7rem;
  line-height: 1.6;
  overflow-x: auto;
}

.release-command-card small {
  display: block;
  margin-top: 11px;
  color: var(--text-dim);
  font-size: 0.67rem;
  line-height: 1.5;
}

.consent-flow {
  display: grid;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #0b1016;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
}

.consent-flow article {
  display: flex;
  min-height: 240px;
  padding: 20px;
  flex-direction: column;
}

.consent-flow article:not(:last-child) {
  border-right: 1px solid var(--line-soft);
}

.consent-flow strong {
  margin-top: 34px;
  color: var(--text);
  font-size: 0.9rem;
}

.consent-flow p {
  margin: 8px 0 22px;
  color: var(--text-dim);
  font-size: 0.71rem;
  line-height: 1.55;
}

.consent-flow article > b {
  margin-top: auto;
  color: var(--text-soft);
  font-size: 0.67rem;
}

.provider-contract-grid {
  display: grid;
  margin-top: 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #080c11;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  overflow: hidden;
}

.provider-contract-card {
  display: flex;
  min-width: 0;
  padding: 26px;
  flex-direction: column;
}

.provider-contract-card:first-child {
  border-right: 1px solid var(--line);
}

.provider-contract-card-critical {
  background: linear-gradient(145deg, rgba(199, 35, 62, 0.065), transparent 40%), #080c11;
}

.provider-contract-card > p {
  margin: 22px 0 0;
  color: var(--text-dim);
  font-size: 0.78rem;
  line-height: 1.65;
}

.provider-contract-card pre,
.webhook-contract pre {
  padding: 18px;
  margin: 20px 0 0;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #030507;
  color: #c8d2da;
  font-size: clamp(0.62rem, 1vw, 0.72rem);
  line-height: 1.58;
  overflow: auto;
}

.provider-contract-card pre {
  min-height: 590px;
}

.webhook-contract {
  display: grid;
  padding: 26px;
  margin-top: 16px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--red);
  border-radius: 9px;
  background: #0d1319;
  grid-template-columns: minmax(250px, 0.7fr) minmax(0, 1.3fr);
  align-items: center;
  gap: 30px;
}

.webhook-contract h4,
.privacy-deployment-gate h4 {
  margin: 12px 0 9px;
  color: var(--text);
  font-size: 1.25rem;
  font-weight: 570;
  letter-spacing: -0.025em;
}

.webhook-contract p,
.privacy-deployment-gate p {
  margin: 0;
  color: var(--text-dim);
  font-size: 0.75rem;
  line-height: 1.65;
}

.webhook-contract pre {
  margin: 0;
}

.privacy-deployment-gate {
  display: grid;
  margin-top: 16px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #0a0f14;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  overflow: hidden;
  scroll-margin-top: 94px;
}

.privacy-deployment-gate > div,
.privacy-deployment-gate > aside {
  padding: 26px;
}

.privacy-deployment-gate > div {
  border-right: 1px solid var(--line);
}

.privacy-deployment-gate > div p {
  padding: 13px 0;
  border-top: 1px solid var(--line-soft);
}

.privacy-deployment-gate > div p:first-of-type {
  margin-top: 20px;
}

.privacy-deployment-gate p strong {
  color: var(--text-soft);
}

.privacy-deployment-gate > aside {
  background: linear-gradient(155deg, rgba(199, 35, 62, 0.095), transparent 45%), #0d1218;
}

.privacy-deployment-gate ul {
  padding: 0;
  margin: 18px 0 22px;
  list-style: none;
}

.privacy-deployment-gate li {
  position: relative;
  padding: 8px 0 8px 18px;
  border-top: 1px solid var(--line-soft);
  color: var(--text-soft);
  font-size: 0.71rem;
  line-height: 1.5;
}

.privacy-deployment-gate li::before {
  position: absolute;
  left: 0;
  color: var(--red-bright);
  content: "×";
}

.privacy-deployment-gate aside > b {
  display: block;
  padding: 10px;
  border: 1px solid rgba(255, 82, 103, 0.42);
  border-radius: 4px;
  background: rgba(199, 35, 62, 0.1);
  color: var(--red-bright);
  font-family: var(--font-mono);
  font-size: 0.64rem;
  text-align: center;
}

.edge-health-dashboard {
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #070a0e;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.health-summary {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.health-summary article {
  display: flex;
  min-height: 185px;
  padding: 20px;
  border-bottom: 1px solid var(--line);
  flex-direction: column;
}

.health-summary article:not(:last-child) {
  border-right: 1px solid var(--line-soft);
}

.health-summary strong {
  margin-top: 30px;
  color: var(--text);
  font-size: 0.9rem;
}

.health-summary b {
  margin-top: 7px;
  color: var(--red-bright);
  font-family: var(--font-mono);
  font-size: 0.66rem;
}

.health-summary small {
  margin-top: auto;
  color: var(--text-dim);
  font-size: 0.68rem;
  line-height: 1.45;
}

.health-threshold-table > div {
  display: grid;
  min-width: 920px;
  padding: 15px 18px;
  border-bottom: 1px solid var(--line-soft);
  grid-template-columns: 0.8fr 1.1fr 1.45fr 1.05fr;
  align-items: start;
  gap: 18px;
}

.health-threshold-table {
  overflow-x: auto;
}

.health-threshold-table .health-threshold-head {
  background: #111820;
}

.health-threshold-table span,
.health-threshold-table b,
.health-threshold-table small,
.health-threshold-table strong {
  font-size: 0.69rem;
  line-height: 1.5;
}

.health-threshold-table strong {
  color: var(--text);
}

.health-threshold-table span,
.health-threshold-table small {
  color: var(--text-dim);
}

.health-threshold-table b {
  color: var(--red-bright);
  font-weight: 600;
}

.health-threshold-head span {
  color: var(--text-soft);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 700;
}

.health-routing {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.health-routing > div {
  display: flex;
  min-height: 170px;
  padding: 20px;
  flex-direction: column;
}

.health-routing > div:not(:last-child) {
  border-right: 1px solid var(--line-soft);
}

.health-routing strong {
  margin-top: 28px;
  color: var(--text);
  font-size: 0.86rem;
}

.health-routing small {
  margin-top: 7px;
  color: var(--text-dim);
  font-size: 0.69rem;
  line-height: 1.55;
}

.onboarding-consent {
  padding: 18px;
  margin-top: 14px;
  border: 1px solid var(--line);
  border-top: 3px solid var(--red);
  border-radius: 8px;
  background: #080d12;
}

.onboarding-contact-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.onboarding-contact-field label {
  color: var(--text-soft);
  font-size: 0.78rem;
  font-weight: 650;
}

.onboarding-contact-field input {
  width: 100%;
  min-height: 48px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #10171f;
  color: var(--text);
}

.onboarding-contact-field input:focus-visible {
  outline: 2px solid var(--red-bright);
  outline-offset: 2px;
}

.onboarding-contact-field input[aria-invalid="true"] {
  border-color: var(--red-bright);
}

.onboarding-contact-field small,
.double-optin-help,
.processing-notice {
  color: var(--text-dim);
  font-size: 0.69rem;
  line-height: 1.55;
}

.onboarding-contact-field b {
  min-height: 1.1em;
  color: var(--red-bright);
  font-size: 0.68rem;
  font-weight: 600;
}

.processing-notice {
  padding: 13px 0;
  margin: 10px 0 0;
  border-top: 1px solid var(--line-soft);
}

.processing-notice a {
  color: var(--text-soft);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.onboarding-email-optin {
  margin-top: 0;
  background: rgba(199, 35, 62, 0.035);
}

.double-optin-help {
  padding-left: 30px;
  margin: 10px 0 0;
}

@media (max-width: 1120px) {
  .consent-flow,
  .health-summary {
    grid-template-columns: repeat(2, 1fr);
  }

  .consent-flow article:nth-child(2),
  .health-summary article:nth-child(2) {
    border-right: 0;
  }

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

@media (max-width: 820px) {
  .provider-contract-grid,
  .webhook-contract,
  .privacy-deployment-gate {
    grid-template-columns: 1fr;
  }

  .provider-contract-card:first-child,
  .privacy-deployment-gate > div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .provider-contract-card pre {
    min-height: auto;
  }

  .health-routing {
    grid-template-columns: 1fr;
  }

  .health-routing > div:not(:last-child) {
    border-right: 0;
    border-bottom: 1px solid var(--line-soft);
  }
}

@media (max-width: 600px) {
  .consent-flow,
  .health-summary {
    grid-template-columns: 1fr;
  }

  .consent-flow article,
  .consent-flow article:nth-child(2),
  .health-summary article,
  .health-summary article:nth-child(2) {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line-soft);
  }

  .consent-flow article:last-child,
  .health-summary article:last-child {
    border-bottom: 0;
  }

  .provider-contract-card,
  .webhook-contract,
  .privacy-deployment-gate > div,
  .privacy-deployment-gate > aside {
    padding: 19px;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  background: var(--bg);
}

body {
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 77% 2%, rgba(229, 50, 75, 0.075), transparent 24rem),
    linear-gradient(180deg, #090d12 0, var(--bg) 34rem, #080b0f 100%);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  z-index: -2;
  inset: 0;
  background-image:
    linear-gradient(rgba(143, 158, 174, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(143, 158, 174, 0.025) 1px, transparent 1px);
  background-size: 48px 48px;
  content: "";
  mask-image: linear-gradient(to bottom, black, transparent 72%);
  pointer-events: none;
}

button,
a,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  color: inherit;
}

svg {
  display: block;
}

code,
.mono {
  font-family: var(--font-mono);
}

:focus-visible {
  outline: 2px solid var(--red-bright);
  outline-offset: 4px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--text);
  color: var(--bg);
  transform: translateY(-150%);
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.section {
  position: relative;
  padding: 128px 0;
  border-top: 1px solid var(--line-soft);
}

.section-index,
.micro-label,
.panel-label {
  margin: 0 0 18px;
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-size: 0.71rem;
  font-weight: 650;
  letter-spacing: 0.13em;
  line-height: 1.2;
  text-transform: uppercase;
}

.section-heading {
  max-width: 790px;
  margin-bottom: 58px;
}

.section-heading h2,
.evaluation-panel h2,
.dialog-header h2 {
  margin: 0;
  font-size: clamp(2.35rem, 5vw, 4.7rem);
  font-weight: 520;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.section-heading > p:last-child {
  max-width: 660px;
  margin: 26px 0 0;
  color: var(--text-soft);
  font-size: 1.04rem;
}

.split-heading {
  display: grid;
  max-width: none;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 80px;
  align-items: end;
}

.split-heading > p:last-child {
  margin: 0 0 4px;
}

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  right: 0;
  left: 0;
  border-bottom: 1px solid transparent;
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    backdrop-filter 180ms ease;
}

.site-header.scrolled {
  border-color: var(--line-soft);
  background: rgba(8, 11, 15, 0.83);
  backdrop-filter: blur(18px);
}

.header-inner {
  display: grid;
  min-height: 76px;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 38px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.06rem;
  font-weight: 720;
  letter-spacing: -0.025em;
}

.brand-mark {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: var(--text);
  stroke-linecap: square;
  stroke-linejoin: miter;
  stroke-width: 2.4px;
}

.brand-mark .brand-mark-core {
  stroke: var(--red);
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: 32px;
}

.site-nav a {
  position: relative;
  padding: 10px 0;
  color: var(--text-soft);
  font-size: 0.88rem;
  font-weight: 520;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: 3px;
  left: 0;
  height: 1px;
  background: var(--red);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 170ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--text);
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.menu-toggle {
  display: none;
}

.button {
  display: inline-flex;
  min-height: 52px;
  padding: 13px 18px;
  border: 1px solid transparent;
  border-radius: 9px;
  align-items: center;
  justify-content: center;
  gap: 18px;
  cursor: pointer;
  font-size: 0.86rem;
  font-weight: 650;
  letter-spacing: -0.01em;
  line-height: 1.2;
  transition:
    background-color 160ms ease,
    border-color 160ms ease,
    color 160ms ease,
    transform 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

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

.button-primary,
.button-danger {
  border-color: #e3445b;
  background: var(--red);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.18);
  color: #fff;
}

.button-primary:hover,
.button-danger:hover {
  border-color: var(--red-bright);
  background: #d02a45;
}

.button-secondary {
  border-color: var(--line-control);
  background: #11171e;
  color: var(--text-soft);
}

.button-secondary:hover {
  border-color: #465462;
  background: #151d26;
  color: var(--text);
}

.button:disabled {
  border-color: var(--line);
  background: #171b21;
  box-shadow: none;
  color: #5f6974;
  cursor: not-allowed;
  transform: none;
}

.button-small {
  min-height: 42px;
  padding: 10px 14px;
  gap: 12px;
  font-size: 0.79rem;
}

.hero {
  position: relative;
  padding: 156px 0 0;
  min-height: 940px;
}

.hero::after {
  position: absolute;
  z-index: -1;
  top: 0;
  left: 55%;
  width: 1px;
  height: 100%;
  background: linear-gradient(transparent, rgba(229, 50, 75, 0.16), transparent);
  content: "";
}

.hero-grid {
  display: grid;
  min-height: 650px;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 62px;
  align-items: center;
}

.hero-copy {
  padding-bottom: 32px;
}

.eyebrow {
  display: inline-flex;
  margin-bottom: 26px;
  align-items: center;
  gap: 10px;
  color: var(--text-soft);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 5px rgba(229, 50, 75, 0.1);
}

.hero h1 {
  max-width: 740px;
  margin: 0;
  font-size: clamp(3.4rem, 6.2vw, 5.35rem);
  font-weight: 520;
  letter-spacing: -0.068em;
  line-height: 0.93;
}

.hero-subtext {
  max-width: 650px;
  margin: 30px 0 0;
  color: var(--text-soft);
  font-size: clamp(1rem, 1.6vw, 1.17rem);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  margin-top: 38px;
  gap: 12px;
  flex-wrap: wrap;
}

.deployment-line {
  display: flex;
  padding: 0;
  margin: 28px 0 0;
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  gap: 0;
  list-style: none;
  letter-spacing: 0.025em;
}

.deployment-line li {
  display: inline-flex;
  align-items: center;
}

.deployment-line li:not(:last-child)::after {
  width: 3px;
  height: 3px;
  margin: 0 12px;
  border-radius: 50%;
  background: #4a5662;
  content: "";
}

.audience-line {
  margin: 15px 0 0;
  color: #8b98a5;
  font-size: 0.7rem;
}

.audience-line span {
  margin-right: 7px;
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 0.59rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero-console {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(11, 16, 22, 0.94);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-console::before {
  position: absolute;
  z-index: 2;
  top: 41px;
  right: 0;
  left: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(229, 50, 75, 0.45), transparent);
  content: "";
  transform: translateY(-2px);
  animation: console-scan 4.4s ease-in-out 1;
  opacity: 0;
  pointer-events: none;
}

@keyframes console-scan {
  0%,
  58% {
    opacity: 0;
    transform: translateY(0);
  }
  64% {
    opacity: 0.8;
  }
  92% {
    opacity: 0.05;
    transform: translateY(480px);
  }
  100% {
    opacity: 0;
    transform: translateY(480px);
  }
}

.console-chrome {
  display: grid;
  min-height: 43px;
  padding: 0 14px;
  border-bottom: 1px solid var(--line-soft);
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-size: 0.63rem;
  letter-spacing: 0.03em;
}

.console-lights {
  display: flex;
  gap: 6px;
}

.console-lights span {
  width: 7px;
  height: 7px;
  border: 1px solid #35404b;
  border-radius: 50%;
}

.console-live {
  display: inline-flex;
  justify-self: end;
  align-items: center;
  gap: 6px;
  color: var(--text-soft);
}

.console-live i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--amber);
}

.console-body {
  padding: 22px;
}

.console-context {
  display: grid;
  padding: 16px;
  border: 1px solid var(--line-soft);
  border-radius: 9px;
  background: #0a0f14;
  grid-template-columns: auto 1fr;
  gap: 4px 14px;
  align-items: baseline;
}

.console-context .micro-label {
  margin: 0;
  grid-row: span 2;
}

.console-context strong {
  font-size: 0.96rem;
}

.console-context > span:not(.micro-label) {
  color: var(--text-soft);
  font-size: 0.76rem;
}

.console-context code {
  color: var(--text-dim);
  font-size: 0.68rem;
  justify-self: end;
  grid-column: 2;
  grid-row: 1;
}

.gate-sequence {
  position: relative;
  padding: 12px 0;
  margin: 0;
  list-style: none;
}

.gate-sequence::before {
  position: absolute;
  top: 39px;
  bottom: 39px;
  left: 20px;
  width: 1px;
  background: var(--line);
  content: "";
}

.gate-sequence li {
  position: relative;
  display: grid;
  min-height: 68px;
  padding: 11px 0;
  grid-template-columns: 42px 1fr auto;
  gap: 12px;
  align-items: center;
}

.sequence-icon {
  position: relative;
  z-index: 1;
  display: grid;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface);
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-size: 0.59rem;
  place-items: center;
}

.gate-sequence div {
  display: flex;
  flex-direction: column;
}

.gate-sequence strong {
  font-size: 0.82rem;
  font-weight: 620;
}

.gate-sequence small {
  color: var(--text-dim);
  font-size: 0.7rem;
}

.sequence-state {
  padding: 4px 7px;
  border: 1px solid var(--line);
  border-radius: 5px;
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-size: 0.56rem;
  text-transform: uppercase;
}

.sequence-complete .sequence-icon {
  border-color: rgba(111, 211, 165, 0.35);
  color: var(--green);
}

.sequence-complete .sequence-state {
  border-color: rgba(111, 211, 165, 0.18);
  color: var(--green);
}

.sequence-critical .sequence-icon,
.sequence-blocked .sequence-icon {
  border-color: rgba(229, 50, 75, 0.55);
  background: rgba(229, 50, 75, 0.08);
  color: var(--red-bright);
}

.sequence-critical strong,
.sequence-blocked strong,
.sequence-critical .sequence-state,
.sequence-blocked .sequence-state {
  color: var(--red-bright);
}

.sequence-critical .sequence-state,
.sequence-blocked .sequence-state {
  border-color: rgba(229, 50, 75, 0.35);
  background: rgba(229, 50, 75, 0.06);
}

.console-footer {
  display: flex;
  padding-top: 15px;
  border-top: 1px solid var(--line-soft);
  justify-content: space-between;
  color: var(--text-dim);
  font-size: 0.64rem;
}

.control-strip {
  display: grid;
  min-height: 114px;
  margin-top: 70px;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  grid-template-columns: repeat(4, 1fr);
}

.control-strip div {
  display: flex;
  padding: 24px;
  align-items: center;
  gap: 14px;
}

.control-strip div:not(:last-child) {
  border-right: 1px solid var(--line-soft);
}

.control-strip span {
  color: var(--red-bright);
  font-family: var(--font-mono);
  font-size: 0.65rem;
}

.control-strip strong {
  color: var(--text-soft);
  font-size: 0.78rem;
  font-weight: 540;
}

.problem-section {
  padding-top: 150px;
}

.problem-grid {
  display: grid;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  grid-template-columns: repeat(3, 1fr);
}

.problem-card {
  display: grid;
  min-height: 260px;
  padding: 30px;
  grid-template-columns: auto 1fr;
  gap: 24px;
  align-content: space-between;
}

.problem-card:not(:last-child) {
  border-right: 1px solid var(--line);
}

.card-number {
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-size: 0.7rem;
}

.problem-card > div {
  grid-column: 2;
}

.problem-card h3 {
  margin: 0 0 12px;
  font-size: 1.16rem;
  font-weight: 570;
  letter-spacing: -0.025em;
}

.problem-card p {
  margin: 0;
  color: var(--text-dim);
  font-size: 0.88rem;
}

.platform-section {
  background: linear-gradient(180deg, rgba(15, 21, 28, 0.44), rgba(8, 11, 15, 0));
}

.pillar-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.pillar-card {
  position: relative;
  min-height: 420px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.025), transparent 48%),
    var(--surface);
  overflow: hidden;
  transition:
    border-color 180ms ease,
    transform 180ms ease,
    background-color 180ms ease;
}

.pillar-card:hover {
  border-color: #3b4855;
  transform: translateY(-3px);
}

.pillar-card::after {
  position: absolute;
  right: -80px;
  bottom: -120px;
  width: 270px;
  height: 270px;
  border: 1px solid rgba(229, 50, 75, 0.1);
  border-radius: 50%;
  content: "";
}

.pillar-top {
  display: flex;
  margin-bottom: 90px;
  justify-content: space-between;
  align-items: flex-start;
}

.pillar-id {
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
}

.pillar-top svg {
  width: 44px;
  height: 44px;
  fill: none;
  stroke: #778797;
  stroke-linecap: square;
  stroke-width: 1.15px;
}

.pillar-card h3 {
  max-width: 420px;
  margin: 0 0 16px;
  font-size: clamp(1.35rem, 2.3vw, 1.9rem);
  font-weight: 550;
  letter-spacing: -0.035em;
  line-height: 1.12;
}

.pillar-card > p {
  max-width: 530px;
  margin: 0;
  color: var(--text-soft);
  font-size: 0.91rem;
}

.pillar-card ul {
  display: flex;
  padding: 0;
  margin: 30px 0 0;
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-size: 0.65rem;
  gap: 8px;
  flex-wrap: wrap;
  list-style: none;
}

.pillar-card li {
  padding: 6px 8px;
  border: 1px solid var(--line-soft);
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.012);
}

.console-section {
  overflow: hidden;
}

.dashboard {
  border: 1px solid #303a45;
  border-radius: 14px;
  background: #090d11;
  box-shadow: 0 44px 120px rgba(0, 0, 0, 0.5);
  display: grid;
  grid-template-columns: 202px 1fr;
  grid-template-rows: 52px auto;
  overflow: hidden;
}

.dashboard-topbar {
  display: grid;
  min-width: 0;
  padding: 0 18px;
  border-bottom: 1px solid var(--line);
  background: #0e1319;
  grid-column: 1 / -1;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  font-size: 0.72rem;
}

.dashboard-wordmark,
.dashboard-environment {
  display: flex;
  align-items: center;
  gap: 10px;
}

.dashboard-logo,
.bot-mark {
  display: grid;
  width: 28px;
  height: 28px;
  border: 1px solid rgba(229, 50, 75, 0.5);
  border-radius: 6px;
  background: rgba(229, 50, 75, 0.08);
  color: var(--red-bright);
  font-family: var(--font-mono);
  font-size: 0.65rem;
  place-items: center;
}

.dashboard-wordmark strong {
  font-size: 0.68rem;
  letter-spacing: 0.08em;
}

.dashboard-environment {
  color: var(--text-dim);
  font-family: var(--font-mono);
}

.dashboard-environment span + span::before {
  margin-right: 10px;
  color: #3e4852;
  content: "/";
}

.gate-badge {
  display: inline-flex;
  padding: 6px 9px;
  border: 1px solid rgba(229, 50, 75, 0.28);
  border-radius: 5px;
  background: rgba(229, 50, 75, 0.08);
  color: var(--red-bright);
  font-family: var(--font-mono);
  justify-self: end;
  align-items: center;
  gap: 6px;
  letter-spacing: 0.04em;
}

.gate-badge span {
  display: grid;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-size: 0.57rem;
  place-items: center;
}

.dashboard-sidebar {
  display: flex;
  min-width: 0;
  padding: 17px 12px;
  border-right: 1px solid var(--line);
  background: #0b1015;
  flex-direction: column;
}

.tenant {
  display: flex;
  min-height: 50px;
  padding: 8px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--line-soft);
  align-items: center;
  gap: 10px;
}

.tenant-avatar {
  display: grid;
  width: 28px;
  height: 28px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--surface-3);
  color: var(--text-soft);
  font-family: var(--font-mono);
  font-size: 0.58rem;
  place-items: center;
}

.tenant div {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.tenant strong {
  font-size: 0.72rem;
}

.tenant small {
  color: var(--text-dim);
  font-size: 0.64rem;
}

.dashboard-sidebar nav ul {
  display: flex;
  padding: 0;
  margin: 0;
  gap: 3px;
  flex-direction: column;
  list-style: none;
}

.dashboard-sidebar nav li {
  display: grid;
  min-height: 38px;
  padding: 8px 9px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--text-dim);
  grid-template-columns: 18px 1fr auto;
  align-items: center;
  gap: 7px;
  text-align: left;
  font-size: 0.72rem;
}

.dashboard-sidebar nav li.active {
  background: #151c24;
  color: var(--text);
}

.dashboard-sidebar nav li b {
  display: grid;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: var(--red);
  color: white;
  font-size: 0.54rem;
  place-items: center;
}

.sidebar-status {
  display: flex;
  padding: 11px 9px 3px;
  margin-top: auto;
  border-top: 1px solid var(--line-soft);
  flex-direction: column;
}

.sidebar-status span {
  display: inline-flex;
  color: var(--text-soft);
  align-items: center;
  gap: 7px;
  font-size: 0.68rem;
}

.sidebar-status i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
}

.sidebar-status small {
  margin-left: 13px;
  color: var(--text-dim);
  font-size: 0.6rem;
}

.dashboard-workspace {
  min-width: 0;
  padding: 23px;
  background:
    radial-gradient(circle at 85% 0, rgba(229, 50, 75, 0.04), transparent 20rem),
    #090d11;
}

.review-header {
  display: flex;
  padding-bottom: 19px;
  border-bottom: 1px solid var(--line-soft);
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
}

.review-kicker {
  color: var(--red-bright);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 650;
  letter-spacing: 0.1em;
}

.review-header h3 {
  margin: 4px 0;
  font-size: 1.11rem;
  font-weight: 580;
  letter-spacing: -0.025em;
}

.review-header p {
  display: flex;
  margin: 0;
  color: var(--text-dim);
  align-items: center;
  gap: 8px;
  font-size: 0.69rem;
}

.review-header code {
  color: var(--text-soft);
}

.review-meta {
  display: flex;
  align-items: flex-end;
  gap: 20px;
}

.review-meta > span {
  display: flex;
  color: var(--text-soft);
  font-size: 0.68rem;
  flex-direction: column;
}

.review-meta small {
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-size: 0.56rem;
}

.review-meta strong {
  padding: 6px 8px;
  border: 1px solid rgba(229, 50, 75, 0.32);
  border-radius: 5px;
  background: rgba(229, 50, 75, 0.08);
  color: var(--red-bright);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.03em;
}

.metrics-grid {
  display: grid;
  margin: 15px 0;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.zone-label {
  margin: 15px 0 7px;
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-size: 0.5rem;
  font-weight: 650;
  letter-spacing: 0.08em;
}

.finding-zone-label {
  margin: 0 0 11px;
  color: var(--red-bright);
}

.metric-card {
  display: flex;
  min-width: 0;
  min-height: 102px;
  padding: 13px;
  border: 1px solid var(--line-soft);
  border-radius: 7px;
  background: #0e1319;
  flex-direction: column;
}

.metric-card > span,
.metric-card > div:first-child span {
  color: var(--text-dim);
  font-size: 0.64rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.metric-card > div:first-child {
  display: flex;
  justify-content: space-between;
}

.metric-card > div:first-child small {
  color: var(--red-bright);
  font-family: var(--font-mono);
  font-size: 0.57rem;
}

.metric-card > strong {
  margin: auto 0 1px;
  font-size: 1.52rem;
  font-weight: 560;
  line-height: 1;
  letter-spacing: -0.04em;
}

.metric-card > strong span {
  color: var(--text-dim);
  font-size: 0.65rem;
  letter-spacing: 0;
}

.metric-card > small {
  color: var(--text-dim);
  font-size: 0.62rem;
}

.risk-card > strong {
  color: var(--red-bright);
}

.risk-track {
  height: 2px;
  margin-top: 8px;
  background: #252d36;
}

.risk-track i {
  display: block;
  width: 96%;
  height: 100%;
  background: var(--red);
}

.analysis-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(260px, 0.75fr);
  gap: 8px;
}

.diff-panel,
.context-panel {
  min-width: 0;
  border: 1px solid var(--line-soft);
  border-radius: 7px;
  background: #0d1218;
  overflow: hidden;
}

.panel-header {
  display: flex;
  min-height: 55px;
  padding: 10px 13px;
  border-bottom: 1px solid var(--line-soft);
  align-items: center;
  justify-content: space-between;
}

.panel-header > div {
  display: flex;
  flex-direction: column;
}

.panel-header .panel-label {
  margin: 0;
  font-size: 0.56rem;
}

.panel-header strong {
  font-size: 0.74rem;
}

.file-change,
.context-live {
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-size: 0.61rem;
}

.context-live {
  color: var(--green);
}

.code-view {
  padding: 10px 0;
  overflow-x: auto;
  background: #090d11;
}

.code-line {
  display: grid;
  min-width: 570px;
  min-height: 25px;
  padding: 0 13px;
  color: #aeb8c2;
  grid-template-columns: 36px 1fr;
  align-items: center;
  font-size: 0.7rem;
  line-height: 1;
}

.code-line > span {
  color: var(--text-dim);
  font-family: var(--font-mono);
}

.code-line.added {
  background: rgba(111, 211, 165, 0.055);
  color: #bbd7ca;
}

.code-line.removed {
  background: rgba(229, 50, 75, 0.05);
  color: #c99ba3;
}

.code-line.critical-line {
  border-left: 2px solid var(--red);
  background: rgba(229, 50, 75, 0.09);
  color: #f0bcc4;
}

.execution-path {
  padding: 12px 13px;
  border-top: 1px solid var(--line-soft);
}

.execution-path > span,
.context-detail > span,
.policy-stack > span {
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-size: 0.49rem;
  letter-spacing: 0.08em;
}

.execution-path ol {
  display: flex;
  padding: 0;
  margin: 8px 0 0;
  color: var(--text-soft);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  list-style: none;
  flex-wrap: wrap;
  gap: 5px;
}

.execution-path li {
  display: inline-flex;
  align-items: center;
}

.execution-path li:not(:last-child)::after {
  margin-left: 5px;
  color: var(--red-bright);
  content: "→";
}

.context-list {
  padding: 7px;
}

.context-item {
  display: grid;
  width: 100%;
  min-height: 52px;
  padding: 7px;
  border: 1px solid transparent;
  border-radius: 5px;
  background: transparent;
  cursor: pointer;
  grid-template-columns: 30px 1fr auto;
  align-items: center;
  gap: 8px;
  text-align: left;
}

.context-item:hover,
.context-item:focus-visible,
.context-item.active {
  border-color: var(--line-soft);
  background: #141b23;
}

.file-icon {
  display: grid;
  width: 28px;
  height: 28px;
  border: 1px solid var(--line);
  border-radius: 5px;
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-size: 0.46rem;
  place-items: center;
}

.context-item > span:nth-child(2) {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.context-item strong {
  overflow: hidden;
  font-size: 0.7rem;
  font-weight: 550;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.context-item small {
  color: var(--text-dim);
  font-size: 0.61rem;
}

.context-item b {
  color: var(--red-bright);
  font-family: var(--font-mono);
  font-size: 0.57rem;
}

.context-detail {
  min-height: 125px;
  padding: 14px;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  background: #0a0f14;
}

.context-detail strong {
  display: block;
  margin: 7px 0 5px;
  font-size: 0.72rem;
}

.context-detail p {
  margin: 0;
  color: var(--text-dim);
  font-size: 0.69rem;
  line-height: 1.55;
}

.context-detail code {
  color: var(--text-soft);
}

.policy-stack {
  display: flex;
  padding: 12px 14px;
  gap: 7px;
  flex-wrap: wrap;
}

.policy-stack > span {
  width: 100%;
}

.policy-stack code {
  padding: 4px 6px;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--text-soft);
  font-size: 0.58rem;
}

.finding-panel {
  position: relative;
  padding: 18px 18px 18px 21px;
  margin-top: 8px;
  border: 1px solid rgba(229, 50, 75, 0.28);
  border-radius: 7px;
  background:
    linear-gradient(100deg, rgba(229, 50, 75, 0.06), transparent 34%),
    #0e1217;
  overflow: hidden;
}

.finding-rail {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 3px;
  background: var(--red);
}

.finding-header,
.bot-identity {
  display: flex;
  align-items: center;
}

.finding-header {
  justify-content: space-between;
  gap: 14px;
}

.bot-identity {
  gap: 9px;
}

.bot-identity .bot-mark {
  width: 31px;
  height: 31px;
}

.bot-identity > div {
  display: flex;
  flex-direction: column;
}

.bot-identity strong {
  font-size: 0.72rem;
}

.bot-identity small {
  color: var(--text-dim);
  font-size: 0.62rem;
}

.critical-badge {
  padding: 5px 7px;
  border: 1px solid rgba(229, 50, 75, 0.35);
  border-radius: 4px;
  background: rgba(229, 50, 75, 0.08);
  color: var(--red-bright);
  font-family: var(--font-mono);
  font-size: 0.62rem;
}

.finding-panel h4 {
  margin: 16px 0 11px;
  color: #f1d6da;
  font-size: 0.98rem;
  font-weight: 590;
}

.finding-copy {
  color: #9faab5;
  font-size: 0.75rem;
  line-height: 1.6;
}

.finding-copy p {
  margin: 0 0 9px;
}

.finding-copy code {
  color: #d8c3c7;
}

.finding-copy strong {
  color: var(--text);
}

.finding-actions {
  display: flex;
  padding-top: 14px;
  border-top: 1px solid var(--line-soft);
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
}

.finding-actions > div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}

.finding-actions .button {
  min-height: 40px;
  padding: 10px 13px;
  font-size: 0.7rem;
}

.finding-actions small {
  color: var(--text-dim);
  font-size: 0.62rem;
}

.text-button {
  padding: 8px 0;
  border: 0;
  background: transparent;
  color: var(--text-soft);
  cursor: pointer;
  font-size: 0.64rem;
  white-space: nowrap;
}

.text-button:hover {
  color: var(--text);
}

.evidence-drawer {
  padding-top: 14px;
  margin-top: 14px;
  border-top: 1px solid var(--line-soft);
}

.evidence-drawer dl {
  display: grid;
  margin: 0;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.evidence-drawer dl div {
  min-width: 0;
}

.evidence-drawer dt {
  color: var(--text-dim);
  font-size: 0.58rem;
  text-transform: uppercase;
}

.evidence-drawer dd {
  margin: 2px 0 0;
  color: var(--text-soft);
  font-size: 0.64rem;
}

.deployment-section {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.012) 1px, transparent 1px),
    #090d11;
  background-size: 25% 100%;
}

.deployment-layout {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 70px;
  align-items: center;
}

.deployment-layout .section-heading {
  margin: 0;
}

.deployment-console {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(12, 17, 23, 0.93);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.deployment-tabs {
  display: grid;
  padding: 7px;
  border-bottom: 1px solid var(--line);
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
}

.deployment-tabs button {
  min-height: 43px;
  padding: 8px 10px;
  border: 1px solid transparent;
  border-radius: 6px;
  background: transparent;
  color: var(--text-dim);
  cursor: pointer;
  font-size: 0.71rem;
}

.deployment-tabs button:hover,
.deployment-tabs button[aria-selected="true"] {
  border-color: var(--line);
  background: var(--surface-3);
  color: var(--text);
}

.deployment-map {
  display: grid;
  min-height: 260px;
  padding: 42px 30px;
  grid-template-columns: 1fr 70px 1fr 70px 1fr;
  align-items: center;
}

.deployment-map > svg {
  width: 100%;
  fill: none;
  stroke: #44515e;
  stroke-width: 1px;
}

.boundary {
  display: flex;
  min-width: 0;
  min-height: 132px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #0d1319;
  flex-direction: column;
}

.boundary span {
  margin-bottom: auto;
  color: var(--red-bright);
  font-family: var(--font-mono);
  font-size: 0.57rem;
}

.boundary strong {
  font-size: 0.76rem;
}

.boundary small {
  color: var(--text-dim);
  font-size: 0.61rem;
}

.boundary-analysis {
  border-color: rgba(229, 50, 75, 0.35);
  background: linear-gradient(145deg, rgba(229, 50, 75, 0.08), #0d1319 60%);
}

.control-matrix {
  display: grid;
  border-top: 1px solid var(--line);
  grid-template-columns: repeat(4, 1fr);
}

.control-matrix div {
  display: flex;
  min-height: 82px;
  padding: 14px;
  flex-direction: column;
  justify-content: center;
}

.control-matrix div:not(:last-child) {
  border-right: 1px solid var(--line-soft);
}

.control-matrix span {
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-size: 0.49rem;
  letter-spacing: 0.06em;
}

.control-matrix strong {
  margin-top: 4px;
  font-size: 0.69rem;
  font-weight: 560;
}

.lexicon-table {
  border-top: 1px solid var(--line);
}

.lexicon-head,
.lexicon-row {
  display: grid;
  grid-template-columns: 80px 1fr 1fr;
}

.lexicon-head {
  min-height: 50px;
  border-bottom: 1px solid var(--line);
  align-items: center;
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lexicon-head span {
  padding: 0 20px;
}

.lexicon-row {
  min-height: 138px;
  border-bottom: 1px solid var(--line);
  align-items: stretch;
}

.lexicon-row > * {
  padding: 26px 20px;
}

.lexicon-row > *:not(:last-child) {
  border-right: 1px solid var(--line-soft);
}

.rule-number {
  color: var(--red-bright);
  font-family: var(--font-mono);
  font-size: 0.68rem;
}

.lexicon-row strong {
  font-size: 0.86rem;
  font-weight: 580;
}

.lexicon-row p {
  margin: 8px 0 0;
  color: var(--text-dim);
  font-size: 0.82rem;
}

.lexicon-row .dont {
  background: rgba(255, 255, 255, 0.012);
}

.lexicon-row .dont strong {
  color: #9c8287;
}

.voice-note {
  max-width: 760px;
  padding-left: 16px;
  margin: 30px 0 0;
  border-left: 2px solid var(--line);
  color: var(--text-dim);
  font-size: 0.78rem;
}

.evaluation-section {
  padding-top: 90px;
}

.evaluation-panel {
  position: relative;
  display: grid;
  min-height: 470px;
  padding: 58px;
  border: 1px solid #3b4652;
  border-radius: 16px;
  background:
    radial-gradient(circle at 88% 30%, rgba(229, 50, 75, 0.12), transparent 18rem),
    linear-gradient(135deg, #141b23, #0b1016);
  box-shadow: var(--shadow);
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: center;
  overflow: hidden;
}

.evaluation-panel::after {
  position: absolute;
  top: -120px;
  right: -80px;
  width: 380px;
  height: 380px;
  border: 1px solid rgba(229, 50, 75, 0.12);
  border-radius: 50%;
  box-shadow:
    0 0 0 60px rgba(229, 50, 75, 0.02),
    0 0 0 120px rgba(229, 50, 75, 0.015);
  content: "";
  pointer-events: none;
}

.evaluation-panel > div {
  position: relative;
  z-index: 1;
}

.evaluation-panel h2 {
  max-width: 720px;
  font-size: clamp(2.4rem, 4.6vw, 4.35rem);
}

.evaluation-panel > div:first-child > p:last-child {
  max-width: 650px;
  margin: 26px 0 0;
  color: var(--text-soft);
}

.evaluation-actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
}

.evaluation-meta {
  display: grid;
  padding-top: 25px;
  border-top: 1px solid var(--line-soft);
  grid-column: 1 / -1;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-size: 0.6rem;
}

.evaluation-meta span {
  display: flex;
  align-items: center;
  gap: 8px;
}

.evaluation-meta span::before {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--green);
  content: "";
}

.site-footer {
  padding: 70px 0 30px;
  border-top: 1px solid var(--line-soft);
  background: var(--bg-deep);
}

.error-page {
  display: flex;
  width: min(780px, calc(100% - 36px));
  min-height: 100dvh;
  padding: 44px 0;
  margin: auto;
  flex-direction: column;
  justify-content: space-between;
}

.error-page > div {
  padding: 90px 0;
}

.error-page h1 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(2.8rem, 8vw, 5.4rem);
  font-weight: 520;
  letter-spacing: -0.065em;
  line-height: 0.96;
}

.error-page p:not(.section-index) {
  max-width: 560px;
  margin: 28px 0;
  color: var(--text-soft);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
}

.footer-grid > p {
  margin: 0;
  color: var(--text-dim);
  font-size: 0.78rem;
}

.footer-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.footer-links a {
  color: var(--text-soft);
  font-size: 0.75rem;
}

.footer-links a:hover {
  color: var(--text);
}

/* Phase 10: privacy, provider authentication, and suppression controls */
.privacy-page {
  background:
    radial-gradient(circle at 84% 4%, rgba(199, 35, 62, 0.11), transparent 30rem),
    var(--bg);
}

.privacy-hero {
  padding: 172px 0 82px;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(199, 35, 62, 0.04) 1px, transparent 1px),
    linear-gradient(rgba(199, 35, 62, 0.03) 1px, transparent 1px);
  background-size: 58px 58px;
}

.privacy-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.62fr);
  align-items: end;
  gap: clamp(40px, 7vw, 96px);
}

.privacy-hero h1 {
  max-width: 880px;
  margin: 24px 0 24px;
  font-size: clamp(3.6rem, 8vw, 7.8rem);
  font-weight: 500;
  letter-spacing: -0.07em;
  line-height: 0.88;
}

.privacy-lead {
  max-width: 790px;
  margin: 0;
  color: var(--text-soft);
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  line-height: 1.72;
}

.legal-readiness {
  display: flex;
  min-height: 330px;
  padding: 28px;
  border: 1px solid rgba(199, 35, 62, 0.45);
  border-top: 4px solid var(--red);
  border-radius: 8px;
  background: #0c1117;
  flex-direction: column;
}

.legal-readiness span,
.privacy-card > span,
.privacy-detail-grid article > span,
.consent-law-panel span,
.privacy-schedule-head span,
.suppression-policy > div > span,
.privacy-rights article > span,
.activation-gate-grid article > span,
.dns-auth-head span,
.response-contract > span,
.consent-state-contract span {
  color: var(--red-bright);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.075em;
}

.legal-readiness strong {
  margin-top: 52px;
  font-size: 1.45rem;
  font-weight: 590;
}

.legal-readiness p {
  margin: 12px 0 22px;
  color: var(--text-dim);
  font-size: 0.84rem;
  line-height: 1.7;
}

.legal-readiness b {
  margin-top: auto;
  color: var(--red-bright);
  font-family: var(--font-mono);
  font-size: 0.7rem;
}

.privacy-notice-section,
.activation-section {
  background: #090d12;
}

.privacy-notice-section a,
.activation-section a {
  text-decoration: underline;
  text-decoration-color: rgba(255, 82, 103, 0.5);
  text-underline-offset: 3px;
}

.privacy-identity-grid,
.privacy-detail-grid,
.privacy-rights,
.activation-gate-grid,
.api-contract-grid,
.consent-state-contract {
  display: grid;
  gap: 18px;
}

.privacy-identity-grid,
.activation-gate-grid,
.api-contract-grid,
.consent-state-contract {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.privacy-card,
.privacy-detail-grid article,
.privacy-rights article,
.activation-gate-grid article,
.api-contract-grid article,
.consent-state-contract > div {
  padding: clamp(24px, 3vw, 36px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #0c1117;
}

.privacy-card-critical,
.activation-gate-critical {
  border-left: 4px solid var(--red) !important;
  background: linear-gradient(135deg, rgba(199, 35, 62, 0.075), transparent 48%), #0c1117 !important;
}

.privacy-card h3,
.privacy-detail-grid h3,
.privacy-rights h3,
.activation-gate-grid h3,
.consent-state-contract h3 {
  margin: 18px 0 14px;
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  font-weight: 560;
  letter-spacing: -0.03em;
  line-height: 1.18;
}

.privacy-card p,
.privacy-detail-grid p,
.privacy-rights p,
.activation-gate-grid p,
.api-contract-grid p,
.consent-state-contract p {
  color: var(--text-soft);
  font-size: 0.86rem;
  line-height: 1.7;
}

.privacy-card dl {
  margin: 26px 0 18px;
  border-top: 1px solid var(--line-soft);
}

.privacy-card dl div {
  padding: 13px 0;
  border-bottom: 1px solid var(--line-soft);
}

.privacy-card dt {
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-size: 0.67rem;
  text-transform: uppercase;
}

.privacy-card dd {
  margin: 5px 0 0;
  color: var(--text);
  font-size: 0.81rem;
}

.privacy-detail-grid {
  margin-top: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.privacy-detail-grid ul,
.suppression-policy ul,
.activation-gate-grid ol {
  padding: 0;
  margin: 22px 0 0;
  list-style: none;
}

.privacy-detail-grid li,
.suppression-policy li,
.activation-gate-grid li {
  position: relative;
  padding: 11px 0 11px 20px;
  border-top: 1px solid var(--line-soft);
  color: var(--text-soft);
  font-size: 0.8rem;
  line-height: 1.55;
}

.privacy-detail-grid li::before,
.suppression-policy li::before,
.activation-gate-grid li::before {
  position: absolute;
  top: 17px;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
  content: "";
}

.consent-law-panel,
.suppression-policy {
  display: grid;
  padding: clamp(26px, 4vw, 44px);
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #070a0e;
  grid-template-columns: minmax(260px, 0.68fr) minmax(0, 1.32fr);
  gap: 48px;
}

.consent-law-panel h3,
.suppression-policy h3 {
  margin: 20px 0 14px;
  font-size: clamp(1.7rem, 3vw, 2.7rem);
  font-weight: 540;
  letter-spacing: -0.045em;
  line-height: 1.05;
}

.consent-law-panel p,
.suppression-policy p {
  color: var(--text-soft);
  font-size: 0.86rem;
  line-height: 1.7;
}

.consent-law-panel ol {
  padding: 0;
  margin: 0;
  list-style: none;
}

.consent-law-panel li {
  display: grid;
  padding: 14px 0;
  border-bottom: 1px solid var(--line-soft);
  grid-template-columns: 44px 1fr;
  gap: 12px;
}

.consent-law-panel li b {
  color: var(--red-bright);
  font-family: var(--font-mono);
  font-size: 0.72rem;
}

.consent-law-panel li p {
  margin: 0;
}

.privacy-schedule {
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #0c1117;
  overflow: hidden;
}

.privacy-schedule-head,
.dns-auth-head {
  display: flex;
  min-height: 52px;
  padding: 12px 18px;
  border-bottom: 1px solid var(--line);
  background: #111820;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.privacy-schedule-head b,
.dns-auth-head b {
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-size: 0.67rem;
}

.privacy-schedule > div:not(.privacy-schedule-head) {
  display: grid;
  min-height: 86px;
  padding: 18px;
  border-bottom: 1px solid var(--line-soft);
  grid-template-columns: 0.6fr 0.6fr 1.6fr;
  align-items: center;
  gap: 22px;
}

.privacy-schedule > div:last-child {
  border-bottom: 0;
}

.privacy-schedule strong {
  font-size: 0.88rem;
}

.privacy-schedule > div > span {
  color: var(--red-bright);
  font-family: var(--font-mono);
  font-size: 0.68rem;
}

.privacy-schedule p {
  margin: 0;
  color: var(--text-dim);
  font-size: 0.76rem;
  line-height: 1.55;
}

.suppression-policy {
  border-left: 4px solid var(--red);
}

.privacy-rights {
  margin-top: 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.activation-section {
  border-top: 1px solid var(--line);
}

.activation-gate-grid pre,
.api-contract-grid pre {
  margin: 22px 0 0;
  padding: 18px;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #05070a;
  color: #cbd5df;
  font-size: 0.72rem;
  line-height: 1.7;
}

.activation-gate-critical > b {
  display: block;
  padding: 12px;
  margin-top: 18px;
  border: 1px solid rgba(199, 35, 62, 0.5);
  color: var(--red-bright);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-align: center;
}

.operator-inline-download {
  display: inline-flex;
  margin-top: 18px;
  color: var(--text-soft);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 650;
  align-items: center;
  gap: 8px;
}

.operator-inline-download:hover {
  color: var(--red-bright);
}

.dns-auth-panel {
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #0a0f14;
  overflow: hidden;
}

.dns-auth-panel > p {
  max-width: 930px;
  padding: 22px 18px;
  margin: 0;
  color: var(--text-soft);
  font-size: 0.84rem;
  line-height: 1.7;
}

.dns-auth-table {
  width: 100%;
  min-width: 840px;
  border-collapse: collapse;
}

.dns-auth-row {
  display: grid;
  min-height: 58px;
  padding: 11px 18px;
  border-top: 1px solid var(--line-soft);
  grid-template-columns: 0.8fr 0.35fr 0.9fr 1.95fr;
  align-items: center;
  gap: 16px;
}

.dns-auth-table thead,
.dns-auth-table tbody {
  display: table-row-group;
}

.dns-auth-table .dns-auth-row {
  display: grid;
}

.dns-auth-header {
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-size: 0.66rem;
}

.dns-auth-row b,
.dns-auth-row th {
  color: var(--text);
  font-size: 0.77rem;
  font-weight: 700;
  text-align: left;
}

.dns-auth-row > span,
.dns-auth-row > td,
.dns-auth-row code {
  color: var(--text-soft);
  font-size: 0.71rem;
  overflow-wrap: anywhere;
}

.dns-auth-policy {
  background: rgba(199, 35, 62, 0.05);
}

.dmarc-progression {
  display: grid;
  padding: 22px 18px;
  border-top: 1px solid var(--line);
  background: #070a0e;
  grid-template-columns: 0.5fr repeat(3, 1fr);
  gap: 22px;
}

.dmarc-progression > span {
  color: var(--red-bright);
  font-family: var(--font-mono);
  font-size: 0.68rem;
}

.dmarc-progression p {
  margin: 0;
  color: var(--text-dim);
  font-size: 0.75rem;
  line-height: 1.55;
}

.api-contract-grid {
  margin-top: 18px;
}

.api-contract-grid .operator-card-head {
  margin: -36px -36px 0;
}

.api-contract-grid article > p {
  margin: 24px 0 0;
}

.response-contract {
  display: grid;
  padding: 28px;
  margin-top: 18px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--red);
  border-radius: 8px;
  background: #0c1117;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.response-contract > span {
  grid-column: 1 / -1;
}

.response-contract > div {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 12px;
}

.response-contract b {
  color: var(--red-bright);
  font-family: var(--font-mono);
  font-size: 0.82rem;
}

.response-contract p {
  margin: 0;
  color: var(--text-dim);
  font-size: 0.76rem;
  line-height: 1.55;
}

.consent-state-contract {
  margin-top: 18px;
}

.activation-command-panel {
  display: grid;
  padding: clamp(26px, 4vw, 44px);
  margin-top: 18px;
  border: 1px solid rgba(199, 35, 62, 0.48);
  border-left: 4px solid var(--red);
  border-radius: 8px;
  background:
    radial-gradient(circle at 100% 0, rgba(199, 35, 62, 0.12), transparent 20rem),
    #070a0e;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
  align-items: start;
  gap: 42px;
}

.activation-command-panel > div:first-child > span {
  color: var(--red-bright);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.075em;
}

.activation-command-panel h3 {
  margin: 20px 0 14px;
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  font-weight: 540;
  letter-spacing: -0.045em;
  line-height: 1.04;
}

.activation-command-panel p {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.84rem;
  line-height: 1.7;
}

.activation-command-panel pre {
  padding: 22px;
  margin: 0;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #05070a;
  color: #cbd5df;
  font-size: 0.72rem;
  line-height: 1.75;
}

.activation-command-actions {
  display: flex;
  grid-column: 2;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.privacy-contract-download {
  margin-top: 18px;
}

.email-legal-footer {
  padding-top: 16px;
  margin-top: 20px !important;
  border-top: 1px solid var(--line-soft);
  color: var(--text-dim) !important;
  font-size: 0.68rem !important;
  line-height: 1.55 !important;
}

.email-legal-footer a {
  color: var(--text-soft);
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 980px) {
  .privacy-hero-grid,
  .privacy-identity-grid,
  .activation-gate-grid,
  .api-contract-grid,
  .consent-state-contract,
  .consent-law-panel,
  .suppression-policy,
  .activation-command-panel {
    grid-template-columns: 1fr;
  }

  .activation-command-actions {
    grid-column: 1;
  }

  .privacy-detail-grid,
  .response-contract {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .privacy-hero {
    padding-top: 136px;
  }

  .privacy-schedule > div:not(.privacy-schedule-head) {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .dns-auth-panel {
    overflow-x: auto;
  }

  .dmarc-progression {
    min-width: 840px;
  }
}

@media (max-width: 640px) {
  .privacy-detail-grid,
  .privacy-rights,
  .response-contract {
    grid-template-columns: 1fr;
  }

  .privacy-hero h1 {
    font-size: clamp(3.2rem, 18vw, 5rem);
  }

  .privacy-schedule-head,
  .dns-auth-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .api-contract-grid .operator-card-head {
    margin: -24px -24px 0;
  }
}

.footer-bottom {
  display: flex;
  padding-top: 28px;
  margin-top: 35px;
  border-top: 1px solid var(--line-soft);
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-size: 0.6rem;
  grid-column: 1 / -1;
  justify-content: space-between;
}

dialog {
  width: min(620px, calc(100vw - 32px));
  max-height: calc(100dvh - 32px);
  padding: 0;
  border: 1px solid #3c4855;
  border-radius: 13px;
  background: #10161d;
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.7);
  color: var(--text);
  overflow: auto;
}

dialog::backdrop {
  background: rgba(2, 4, 6, 0.78);
  backdrop-filter: blur(7px);
}

dialog[open] {
  animation: dialog-in 180ms ease-out;
}

@keyframes dialog-in {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.985);
  }
}

dialog form {
  padding: 28px;
}

.dialog-header {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.dialog-header .section-index {
  margin-bottom: 8px;
  color: var(--red-bright);
}

.dialog-header h2 {
  font-size: 1.9rem;
  letter-spacing: -0.045em;
}

.dialog-close {
  display: grid;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--surface-2);
  color: var(--text-soft);
  cursor: pointer;
  font-size: 1.4rem;
  line-height: 1;
  place-items: center;
}

.dialog-intro {
  margin: 22px 0;
  color: var(--text-soft);
  font-size: 0.88rem;
}

.hotfix-scope {
  margin: 0;
  border-top: 1px solid var(--line);
}

.hotfix-scope div {
  display: grid;
  min-height: 48px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line-soft);
  grid-template-columns: 140px 1fr;
  align-items: center;
}

.hotfix-scope dt {
  color: var(--text-dim);
  font-size: 0.7rem;
}

.hotfix-scope dd {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.75rem;
}

.confirm-control {
  display: grid;
  padding: 15px;
  margin: 18px 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #0b1015;
  cursor: pointer;
  grid-template-columns: 20px 1fr;
  gap: 10px;
  align-items: start;
  color: var(--text-soft);
  font-size: 0.75rem;
}

.confirm-control input {
  width: 17px;
  height: 17px;
  margin: 1px 0 0;
  accent-color: var(--red);
}

.dialog-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.dialog-status {
  min-height: 22px;
  margin: 14px 0 0;
  color: var(--green);
  font-family: var(--font-mono);
  font-size: 0.67rem;
  text-align: right;
}

.evaluation-steps {
  display: grid;
  margin: 25px 0;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.evaluation-steps div {
  display: flex;
  min-height: 145px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #0b1015;
  flex-direction: column;
}

.evaluation-steps span {
  margin-bottom: auto;
  color: var(--red-bright);
  font-family: var(--font-mono);
  font-size: 0.58rem;
}

.evaluation-steps strong {
  font-size: 0.73rem;
}

.evaluation-steps small {
  margin-top: 4px;
  color: var(--text-dim);
  font-size: 0.62rem;
  line-height: 1.45;
}

.evaluation-request {
  margin: 0 0 20px;
}

.evaluation-request label {
  display: block;
  margin-bottom: 8px;
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.evaluation-request textarea {
  width: 100%;
  min-height: 176px;
  padding: 14px;
  resize: vertical;
  border: 1px solid var(--line-control);
  border-radius: 8px;
  background: #090d11;
  color: var(--text-soft);
  font-family: var(--font-mono);
  font-size: 0.67rem;
  line-height: 1.55;
}

@media (max-width: 1100px) {
  .hero {
    padding-top: 136px;
  }

  .hero-grid {
    grid-template-columns: 1fr 0.9fr;
    gap: 34px;
  }

  .hero h1 {
    font-size: clamp(3.15rem, 6.7vw, 4.8rem);
  }

  .dashboard {
    grid-template-columns: 170px 1fr;
  }

  .dashboard-workspace {
    padding: 18px;
  }

  .analysis-grid {
    grid-template-columns: 1fr;
  }

  .context-panel {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .context-panel .panel-header {
    grid-column: 1 / -1;
  }

  .context-detail {
    border-left: 1px solid var(--line-soft);
    border-bottom: 0;
  }

  .policy-stack {
    grid-column: 1 / -1;
    border-top: 1px solid var(--line-soft);
  }

  .deployment-layout {
    grid-template-columns: 1fr;
  }

  .deployment-layout .section-heading {
    max-width: 720px;
  }
}

@media (max-width: 900px) {
  :root {
    --shell: min(100% - 36px, 760px);
  }

  .section {
    padding: 100px 0;
  }

  .header-inner {
    grid-template-columns: auto 1fr auto;
  }

  .menu-toggle {
    display: flex;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
    cursor: pointer;
    grid-column: 3;
    align-items: center;
    justify-content: center;
    gap: 5px;
    flex-direction: column;
  }

  .menu-toggle span:not(.sr-only) {
    width: 17px;
    height: 1px;
    background: var(--text-soft);
    transition: transform 160ms ease;
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(2) {
    transform: translateY(3px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-3px) rotate(-45deg);
  }

  .site-nav {
    position: absolute;
    top: 76px;
    right: 18px;
    left: 18px;
    display: none;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: rgba(11, 16, 22, 0.97);
    box-shadow: var(--shadow);
    flex-direction: column;
    gap: 2px;
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav a {
    min-height: 46px;
    padding: 11px 12px;
    border-radius: 6px;
  }

  .site-nav a:hover {
    background: var(--surface-3);
  }

  .site-nav a::after {
    display: none;
  }

  .header-cta {
    display: none;
  }

  .hero {
    min-height: 0;
    padding: 132px 0 0;
  }

  .hero::after {
    left: 75%;
  }

  .hero-grid {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 54px;
  }

  .hero-copy {
    padding-bottom: 0;
  }

  .hero h1 {
    max-width: 700px;
    font-size: clamp(3.3rem, 10vw, 5.1rem);
  }

  .hero-subtext {
    max-width: 680px;
  }

  .hero-console {
    width: min(100%, 650px);
  }

  .control-strip {
    grid-template-columns: 1fr 1fr;
  }

  .control-strip div:nth-child(2) {
    border-right: 0;
  }

  .control-strip div:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line-soft);
  }

  .split-heading {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .split-heading > p:last-child {
    max-width: 600px;
  }

  .problem-grid {
    grid-template-columns: 1fr;
  }

  .problem-card {
    min-height: 190px;
  }

  .problem-card:not(:last-child) {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .dashboard {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .dashboard-topbar {
    grid-column: 1;
  }

  .dashboard-sidebar {
    display: none;
  }

  .review-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .review-meta {
    width: 100%;
    justify-content: space-between;
  }

  .metrics-grid {
    grid-template-columns: 1fr 1fr;
  }

  .deployment-map {
    grid-template-columns: 1fr 44px 1fr 44px 1fr;
    padding: 36px 18px;
  }

  .control-matrix {
    grid-template-columns: 1fr 1fr;
  }

  .control-matrix div:nth-child(2) {
    border-right: 0;
  }

  .control-matrix div:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line-soft);
  }

  .evaluation-panel {
    min-height: 0;
    padding: 44px;
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .evaluation-meta {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  :root {
    --shell: calc(100% - 30px);
  }

  html {
    scroll-padding-top: 74px;
  }

  .section {
    padding: 80px 0;
  }

  .header-inner {
    min-height: 68px;
  }

  .site-nav {
    top: 68px;
    right: 15px;
    left: 15px;
  }

  .hero {
    padding-top: 112px;
  }

  .eyebrow {
    font-size: 0.62rem;
  }

  .hero h1 {
    font-size: clamp(2.75rem, 13vw, 3.65rem);
    line-height: 0.96;
  }

  .hero-subtext {
    margin-top: 24px;
    font-size: 0.98rem;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .button {
    width: 100%;
  }

  .deployment-line {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }

  .deployment-line li:not(:last-child)::after {
    display: none;
  }

  .hero-console {
    border-radius: 10px;
  }

  .console-body {
    padding: 14px;
  }

  .console-chrome {
    grid-template-columns: 1fr auto;
  }

  .console-chrome > span:nth-child(2) {
    display: none;
  }

  .gate-sequence li {
    grid-template-columns: 38px 1fr;
  }

  .sequence-state {
    display: none;
  }

  .control-strip {
    min-height: 0;
    margin-top: 58px;
    grid-template-columns: 1fr;
  }

  .control-strip div {
    min-height: 68px;
    padding: 16px 6px;
    border-right: 0 !important;
    border-bottom: 1px solid var(--line-soft);
  }

  .control-strip div:last-child {
    border-bottom: 0;
  }

  .section-heading {
    margin-bottom: 42px;
  }

  .section-heading h2,
  .evaluation-panel h2 {
    font-size: clamp(2.3rem, 11vw, 3.2rem);
  }

  .pillar-grid {
    grid-template-columns: 1fr;
  }

  .pillar-card {
    min-height: 380px;
    padding: 26px;
  }

  .pillar-top {
    margin-bottom: 62px;
  }

  .dashboard {
    margin-inline: -8px;
  }

  .dashboard-topbar {
    min-height: 50px;
    padding: 0 11px;
    grid-template-columns: 1fr auto;
  }

  .dashboard-environment {
    display: none;
  }

  .dashboard-workspace {
    padding: 12px;
  }

  .review-header {
    gap: 13px;
  }

  .review-header h3 {
    font-size: 0.95rem;
  }

  .review-meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .review-meta strong {
    grid-column: 1 / -1;
    justify-self: start;
  }

  .metrics-grid {
    grid-template-columns: 1fr;
  }

  .metric-card {
    min-height: 88px;
  }

  .context-panel {
    display: block;
  }

  .context-detail {
    border-left: 0;
    border-bottom: 1px solid var(--line-soft);
  }

  .finding-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .finding-copy {
    font-size: 0.75rem;
  }

  .finding-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .finding-actions .button {
    width: 100%;
    min-height: 46px;
  }

  .text-button {
    min-height: 44px;
    align-self: flex-start;
  }

  .evidence-drawer dl {
    grid-template-columns: 1fr 1fr;
  }

  .deployment-tabs {
    grid-template-columns: 1fr;
  }

  .deployment-map {
    padding: 25px;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .deployment-map > svg {
    width: 50px;
    margin: 5px auto;
    transform: rotate(90deg);
  }

  .boundary {
    min-height: 105px;
  }

  .control-matrix {
    grid-template-columns: 1fr;
  }

  .control-matrix div {
    min-height: 68px;
    border-right: 0 !important;
    border-bottom: 1px solid var(--line-soft);
  }

  .lexicon-head {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  .lexicon-row {
    display: grid;
    padding: 20px 0;
    grid-template-columns: 48px 1fr;
  }

  .lexicon-row > * {
    padding: 10px 14px;
  }

  .lexicon-row > *:not(:last-child) {
    border-right: 0;
  }

  .lexicon-row .rule-number {
    grid-row: span 2;
  }

  .lexicon-row .dont {
    background: transparent;
  }

  .evaluation-panel {
    padding: 30px 22px;
  }

  .evaluation-meta {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
    grid-column: 1;
  }

  dialog form {
    padding: 21px;
  }

  .hotfix-scope div {
    grid-template-columns: 1fr;
    gap: 3px;
  }

  .dialog-actions {
    align-items: stretch;
    flex-direction: column-reverse;
  }

  .evaluation-steps {
    grid-template-columns: 1fr;
  }

  .evaluation-steps div {
    min-height: 110px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .hero-console::before {
    display: none;
  }
}

/* Agentic resolution pipeline */
.pipeline-section {
  overflow: hidden;
  background:
    linear-gradient(90deg, transparent 0 49.95%, rgba(148, 163, 184, 0.035) 50%, transparent 50.05%),
    #080c11;
}

.pipeline-stack {
  position: relative;
  border-top: 1px solid var(--line);
}

.pipeline-stack::before {
  position: absolute;
  z-index: 2;
  top: 0;
  bottom: 0;
  left: 31px;
  width: 1px;
  background: linear-gradient(var(--line), var(--red) 50%, var(--line));
  content: "";
}

.pipeline-step {
  position: relative;
  display: grid;
  min-height: 470px;
  padding: 62px 0 62px 82px;
  border-bottom: 1px solid var(--line);
  grid-template-columns: minmax(260px, 0.7fr) minmax(480px, 1.3fr);
  align-items: center;
  gap: 74px;
}

.pipeline-step::before {
  position: absolute;
  z-index: 3;
  top: 72px;
  left: 25px;
  width: 13px;
  height: 13px;
  border: 3px solid var(--bg);
  border-radius: 50%;
  background: #6f7c89;
  box-shadow: 0 0 0 1px #6f7c89;
  content: "";
}

.pipeline-step-red::before {
  background: var(--red-bright);
  box-shadow: 0 0 0 1px var(--red-bright), 0 0 24px rgba(229, 50, 75, 0.65);
}

.pipeline-step-red {
  background: linear-gradient(90deg, transparent 35%, rgba(199, 35, 62, 0.045), transparent 92%);
}

.pipeline-number {
  display: block;
  margin-bottom: 20px;
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.1em;
}

.pipeline-step-red .pipeline-number {
  color: var(--red-bright);
}

.pipeline-copy h3 {
  max-width: 480px;
  margin: 0;
  font-size: clamp(1.9rem, 3vw, 3rem);
  font-weight: 520;
  letter-spacing: -0.045em;
  line-height: 1.04;
}

.pipeline-copy p {
  max-width: 500px;
  margin: 24px 0 0;
  color: var(--text-soft);
  font-size: 1rem;
  line-height: 1.7;
}

.pipeline-copy p strong {
  color: var(--text);
  font-weight: 620;
}

.pipeline-visual,
.lifecycle-console {
  min-width: 0;
  border: 1px solid #33404d;
  border-radius: 12px;
  background: #0b1016;
  box-shadow: 0 30px 75px rgba(0, 0, 0, 0.35);
  overflow: hidden;
}

.pipeline-step-red .pipeline-visual {
  border-color: rgba(229, 50, 75, 0.42);
  background:
    radial-gradient(circle at 75% 10%, rgba(229, 50, 75, 0.1), transparent 17rem),
    #0c1015;
}

.visual-chrome {
  display: flex;
  min-height: 48px;
  padding: 0 16px;
  border-bottom: 1px solid var(--line);
  background: #10161d;
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.critical-copy {
  color: var(--red-bright);
}

.visual-footer {
  display: flex;
  min-height: 48px;
  padding: 0 16px;
  border-top: 1px solid var(--line-soft);
  color: var(--text-dim);
  font-size: 0.75rem;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.visual-footer code {
  color: var(--text-soft);
}

.ingestion-flow {
  display: grid;
  min-height: 250px;
  padding: 32px;
  grid-template-columns: minmax(130px, 0.7fr) 50px minmax(250px, 1.3fr);
  align-items: center;
  gap: 18px;
}

.signal-block {
  display: flex;
  min-height: 142px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  flex-direction: column;
  justify-content: center;
}

.signal-block small,
.signal-block span {
  color: var(--text-dim);
  font-size: 0.75rem;
}

.signal-block strong {
  margin: 9px 0 2px;
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 1.1rem;
}

.flow-arrow {
  color: var(--red-bright);
  font-size: 1.6rem;
  text-align: center;
}

.radius-block {
  position: relative;
  display: grid;
  min-height: 190px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background:
    radial-gradient(circle at center, rgba(199, 35, 62, 0.16), transparent 5rem),
    repeating-radial-gradient(circle at center, transparent 0 29px, rgba(148, 163, 184, 0.12) 30px 31px);
  grid-template-columns: 1fr 1fr;
  place-items: center;
  gap: 10px;
  color: var(--text-soft);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-align: center;
}

.radius-core {
  display: grid;
  width: 48px;
  height: 48px;
  border: 1px solid var(--red);
  border-radius: 50%;
  background: #1b1116;
  color: var(--red-bright);
  grid-column: 1 / -1;
  place-items: center;
}

.dependency-path {
  display: flex;
  min-height: 115px;
  padding: 24px 18px;
  align-items: center;
  justify-content: center;
  gap: 9px;
}

.dependency-path span {
  padding: 10px 11px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #111820;
  color: var(--text-soft);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  white-space: nowrap;
}

.dependency-path .dependency-critical {
  border-color: var(--red);
  background: rgba(199, 35, 62, 0.14);
  color: #ffd1d8;
}

.dependency-path i {
  width: 20px;
  height: 1px;
  background: linear-gradient(90deg, var(--line-control), var(--red));
}

.threat-finding {
  display: flex;
  min-height: 100px;
  padding: 20px;
  margin: 0 20px 24px;
  border: 1px solid rgba(229, 50, 75, 0.32);
  border-radius: 8px;
  background: rgba(199, 35, 62, 0.08);
  align-items: center;
  gap: 14px;
}

.threat-finding > span {
  display: grid;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-weight: 750;
  place-items: center;
}

.threat-finding div {
  display: flex;
  flex-direction: column;
}

.threat-finding strong {
  font-size: 0.95rem;
}

.threat-finding small {
  margin-top: 3px;
  color: var(--text-dim);
  font-size: 0.75rem;
}

.resolution-status {
  display: grid;
  padding: 24px;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.resolution-status div {
  display: flex;
  min-height: 142px;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #10161d;
  flex-direction: column;
}

.resolution-status span {
  margin-bottom: auto;
  color: var(--red-bright);
  font-family: var(--font-mono);
  font-size: 0.75rem;
}

.resolution-status strong {
  font-size: 0.82rem;
}

.resolution-status small {
  margin-top: 4px;
  color: var(--text-dim);
  font-size: 0.75rem;
}

.merge-command {
  display: flex;
  width: calc(100% - 48px);
  min-height: 58px;
  padding: 0 18px;
  margin: 0 24px 24px;
  border: 1px solid #e3445b;
  border-radius: 8px;
  background: var(--red);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.18);
  color: #fff;
  cursor: pointer;
  align-items: center;
  justify-content: space-between;
  font-weight: 680;
  transition: background-color 160ms ease, transform 160ms ease;
}

.merge-command:hover {
  background: #d52b46;
  transform: translateY(-2px);
}

.merge-command kbd {
  font-family: var(--font-mono);
  font-weight: 500;
}

/* Enterprise deployment matrix */
.deployment-heading {
  margin-bottom: 52px;
}

.deployment-meter-grid {
  display: grid;
  margin-bottom: 22px;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.deployment-meter-grid article {
  display: flex;
  min-height: 210px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.018), transparent), #0d1218;
  flex-direction: column;
}

.deployment-meter-grid article:nth-child(2) {
  border-color: rgba(229, 50, 75, 0.34);
  background: linear-gradient(145deg, rgba(199, 35, 62, 0.09), transparent 60%), #0d1218;
}

.deployment-meter-grid article > span {
  color: var(--red-bright);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
}

.deployment-meter-grid h3 {
  margin: 28px 0 auto;
  font-size: 1.15rem;
  font-weight: 560;
  line-height: 1.3;
}

.deployment-meter-grid p {
  padding-top: 18px;
  margin: 22px 0 0;
  border-top: 1px solid var(--line-soft);
  color: var(--text-dim);
  font-size: 0.82rem;
}

.deployment-meter-grid p strong {
  color: var(--text-soft);
}

.deployment-matrix-wrap {
  margin-top: 22px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(10, 15, 20, 0.96);
  overflow: hidden;
}

.matrix-intro {
  display: flex;
  min-height: 116px;
  padding: 24px;
  border-bottom: 1px solid var(--line);
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
}

.matrix-intro .section-index {
  margin-bottom: 8px;
}

.matrix-intro h3 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 560;
}

.matrix-intro a {
  color: var(--text-soft);
  font-size: 0.82rem;
}

.matrix-intro a:hover {
  color: var(--text);
}

.deployment-table-scroll {
  overflow-x: auto;
}

.deployment-matrix {
  width: 100%;
  min-width: 940px;
  border-collapse: collapse;
  table-layout: fixed;
}

.deployment-matrix th,
.deployment-matrix td {
  padding: 22px;
  border-right: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  vertical-align: top;
  text-align: left;
}

.deployment-matrix tr > *:last-child {
  border-right: 0;
}

.deployment-matrix tbody tr:last-child > * {
  border-bottom: 0;
}

.deployment-matrix thead th {
  background: #111820;
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.045em;
}

.deployment-matrix thead th:first-child,
.deployment-matrix tbody th {
  width: 17%;
  color: var(--text-dim);
}

.deployment-matrix tbody th {
  background: #0d1319;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.deployment-matrix td {
  color: var(--text-dim);
  font-size: 0.82rem;
  line-height: 1.6;
}

.deployment-matrix td strong {
  display: block;
  margin-bottom: 3px;
  color: var(--text-soft);
  font-weight: 600;
}

.matrix-note {
  padding: 18px 22px;
  margin: 0;
  border-top: 1px solid var(--line);
  color: var(--text-dim);
  font-size: 0.75rem;
}

/* Zero-trust security page */
.site-nav a[aria-current="page"] {
  color: var(--text);
}

.site-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.security-hero {
  position: relative;
  min-height: 900px;
  padding: 154px 0 110px;
  border-bottom: 1px solid var(--line-soft);
  background:
    radial-gradient(circle at 78% 25%, rgba(199, 35, 62, 0.085), transparent 24rem),
    linear-gradient(180deg, #0b1016, #080b0f);
  overflow: hidden;
}

.security-hero::before {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  content: "";
  mask-image: linear-gradient(90deg, transparent, black 52%, black);
  pointer-events: none;
}

.security-hero-grid {
  position: relative;
  display: grid;
  min-height: 630px;
  grid-template-columns: minmax(0, 1fr) minmax(450px, 0.86fr);
  align-items: center;
  gap: 72px;
}

.security-kicker {
  display: flex;
  margin: 0 0 24px;
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.11em;
  align-items: center;
  gap: 10px;
}

.security-kicker span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 18px rgba(229, 50, 75, 0.7);
}

.security-hero h1 {
  max-width: 800px;
  margin: 0;
  font-size: clamp(4.2rem, 7.3vw, 7.2rem);
  font-weight: 510;
  letter-spacing: -0.072em;
  line-height: 0.9;
}

.security-lead {
  max-width: 700px;
  margin: 32px 0 0;
  color: var(--text-soft);
  font-size: 1.08rem;
  line-height: 1.7;
}

.security-assurance {
  display: grid;
  margin-top: 48px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  grid-template-columns: repeat(3, 1fr);
}

.security-assurance div {
  display: flex;
  min-height: 92px;
  padding: 15px 12px;
  flex-direction: column;
  justify-content: center;
}

.security-assurance div:not(:last-child) {
  border-right: 1px solid var(--line-soft);
}

.security-assurance span,
.card-code {
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
}

.security-assurance strong {
  margin-top: 4px;
  font-size: 0.82rem;
  font-weight: 580;
}

.lifecycle-console {
  transform: translateY(18px);
}

.lifecycle-flow {
  padding: 12px 18px;
  margin: 0;
  list-style: none;
}

.lifecycle-flow li {
  position: relative;
  display: grid;
  min-height: 86px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line-soft);
  grid-template-columns: 44px 1fr auto;
  align-items: center;
  gap: 12px;
}

.lifecycle-flow li > span {
  display: grid;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  place-items: center;
}

.lifecycle-flow li > div {
  display: flex;
  flex-direction: column;
}

.lifecycle-flow strong {
  font-size: 0.86rem;
}

.lifecycle-flow small {
  color: var(--text-dim);
  font-size: 0.75rem;
}

.lifecycle-flow code {
  color: var(--text-dim);
  font-size: 0.75rem;
}

.lifecycle-flow .lifecycle-destroy > span {
  border-color: var(--red);
  background: rgba(199, 35, 62, 0.12);
  color: var(--red-bright);
}

.lifecycle-flow .lifecycle-destroy code {
  color: var(--red-bright);
}

.lifecycle-seal {
  display: flex;
  min-height: 78px;
  padding: 16px 18px;
  border-top: 1px solid rgba(229, 50, 75, 0.28);
  background: rgba(199, 35, 62, 0.065);
  flex-direction: column;
  justify-content: center;
}

.lifecycle-seal span {
  color: var(--text-dim);
  font-size: 0.75rem;
}

.lifecycle-seal strong {
  margin-top: 3px;
  color: #e8b7bf;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.035em;
}

.retention-section {
  background: #080c11;
}

.retention-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
  gap: 12px;
}

.retention-primary,
.retention-precision,
.boundary-card {
  padding: 36px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #0d1218;
}

.retention-primary {
  background:
    radial-gradient(circle at 96% 4%, rgba(199, 35, 62, 0.08), transparent 16rem),
    #0d1218;
}

.retention-primary h3,
.retention-precision h3,
.boundary-card h3 {
  margin: 52px 0 22px;
  font-size: clamp(1.55rem, 2.4vw, 2.35rem);
  font-weight: 530;
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.retention-primary > p,
.retention-precision > p,
.boundary-card > p {
  color: var(--text-soft);
  font-size: 0.96rem;
  line-height: 1.75;
}

.retained-evidence {
  padding-top: 24px;
  margin-top: 32px;
  border-top: 1px solid var(--line);
}

.retained-evidence > span,
.compliance-scope > span {
  color: var(--red-bright);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
}

.retained-evidence ul {
  display: grid;
  padding: 0;
  margin: 18px 0 0;
  grid-template-columns: 1fr 1fr;
  gap: 10px 24px;
  list-style: none;
}

.retained-evidence li {
  position: relative;
  padding-left: 16px;
  color: var(--text-soft);
  font-size: 0.84rem;
}

.retained-evidence li::before {
  position: absolute;
  top: 0.68em;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--red);
  content: "";
}

.retention-precision {
  border-color: #384553;
  background: #10161d;
}

.retention-precision dl {
  margin: 28px 0;
  border-top: 1px solid var(--line);
}

.retention-precision dl div {
  display: flex;
  min-height: 54px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line-soft);
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.retention-precision dt,
.retention-precision dd {
  font-size: 0.78rem;
}

.retention-precision dt {
  color: var(--text-dim);
}

.retention-precision dd {
  margin: 0;
  color: var(--text);
  font-family: var(--font-mono);
  text-align: right;
}

.retention-precision .precision-note {
  padding-left: 14px;
  border-left: 2px solid var(--red);
  color: var(--text-dim);
  font-size: 0.78rem;
}

.sandbox-section {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.014) 1px, transparent 1px),
    #090d12;
  background-size: 25% 100%;
}

.sandbox-boundary {
  padding: 16px;
  border: 1px solid #3a4653;
  border-radius: 14px;
  background: #090d12;
  box-shadow: var(--shadow);
}

.sandbox-label {
  display: flex;
  min-height: 52px;
  padding: 0 10px;
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.sandbox-label code {
  color: var(--text-soft);
}

.sandbox-stages {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.sandbox-stages article {
  display: flex;
  min-height: 285px;
  padding: 26px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #0d1218;
  flex-direction: column;
}

.sandbox-stages article:not(:last-child) {
  border-right: 1px solid var(--line);
}

.sandbox-stages .sandbox-active {
  background: linear-gradient(160deg, rgba(199, 35, 62, 0.09), transparent 58%), #0f151c;
}

.sandbox-stages .sandbox-terminate {
  border-top-color: rgba(229, 50, 75, 0.45);
  border-bottom-color: rgba(229, 50, 75, 0.45);
  background: rgba(199, 35, 62, 0.065);
}

.sandbox-stages article > span {
  margin-bottom: auto;
  color: var(--red-bright);
  font-family: var(--font-mono);
  font-size: 0.75rem;
}

.sandbox-stages h3 {
  margin: 45px 0 10px;
  font-size: 1.12rem;
  font-weight: 560;
}

.sandbox-stages p {
  margin: 0;
  color: var(--text-dim);
  font-size: 0.82rem;
  line-height: 1.6;
}

.sandbox-controls {
  display: flex;
  min-height: 68px;
  padding: 12px 10px;
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.sandbox-controls span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.sandbox-controls span::before {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--green);
  content: "";
}

.boundary-section {
  background: #080b0f;
}

.boundary-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.boundary-card {
  display: flex;
  min-height: 690px;
  flex-direction: column;
}

.boundary-card.sovereign-card {
  border-color: rgba(229, 50, 75, 0.36);
  background:
    radial-gradient(circle at 88% 10%, rgba(199, 35, 62, 0.1), transparent 15rem),
    #0d1218;
}

.boundary-card-top {
  display: flex;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.boundary-card-top span {
  color: var(--red-bright);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.055em;
}

.boundary-card-top strong {
  color: var(--text-dim);
  font-size: 0.75rem;
  font-weight: 520;
  text-align: right;
}

.boundary-card ul {
  padding: 0;
  margin: 24px 0 34px;
  list-style: none;
}

.boundary-card li {
  position: relative;
  padding: 11px 0 11px 19px;
  border-bottom: 1px solid var(--line-soft);
  color: var(--text-soft);
  font-size: 0.84rem;
}

.boundary-card li::before {
  position: absolute;
  top: 1.28em;
  left: 0;
  width: 7px;
  height: 1px;
  background: var(--red);
  content: "";
}

.compliance-scope {
  padding: 20px;
  margin-top: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #090e13;
}

.compliance-scope p {
  margin: 9px 0 0;
  color: var(--text-dim);
  font-size: 0.78rem;
  line-height: 1.65;
}

.security-matrix-wrap {
  margin-top: 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow-x: auto;
}

.security-matrix {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
}

.security-matrix th,
.security-matrix td {
  min-height: 62px;
  padding: 18px 22px;
  border-right: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  color: var(--text-dim);
  font-size: 0.82rem;
  text-align: left;
}

.security-matrix tr > *:last-child {
  border-right: 0;
}

.security-matrix tbody tr:last-child > * {
  border-bottom: 0;
}

.security-matrix thead th {
  background: #111820;
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 0.75rem;
}

.security-matrix tbody th {
  width: 22%;
  background: #0d1319;
  color: var(--text-soft);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 570;
}

.security-cta {
  padding-top: 90px;
}

.security-evaluation-panel {
  min-height: 510px;
}

@media (max-width: 1100px) {
  .pipeline-step {
    grid-template-columns: minmax(230px, 0.65fr) minmax(420px, 1.35fr);
    gap: 40px;
  }

  .dependency-path {
    flex-wrap: wrap;
  }

  .security-hero-grid {
    grid-template-columns: 1fr 0.8fr;
    gap: 40px;
  }

  .security-hero h1 {
    font-size: clamp(4rem, 7.5vw, 6rem);
  }

  .sandbox-stages article {
    padding: 20px;
  }
}

@media (max-width: 900px) {
  .pipeline-step {
    min-height: 0;
    padding: 56px 0 56px 62px;
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .pipeline-stack::before {
    left: 20px;
  }

  .pipeline-step::before {
    left: 14px;
  }

  .deployment-meter-grid {
    grid-template-columns: 1fr;
  }

  .deployment-meter-grid article {
    min-height: 170px;
  }

  .matrix-intro {
    align-items: flex-start;
    flex-direction: column;
  }

  .security-hero {
    min-height: 0;
    padding: 138px 0 96px;
  }

  .security-hero-grid {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 58px;
  }

  .lifecycle-console {
    width: min(100%, 680px);
    transform: none;
  }

  .retention-grid,
  .boundary-cards {
    grid-template-columns: 1fr;
  }

  .sandbox-stages {
    grid-template-columns: 1fr 1fr;
  }

  .sandbox-stages article:nth-child(2) {
    border-right: 0;
  }

  .sandbox-stages article:nth-child(-n + 2) {
    border-bottom: 0;
  }

  .boundary-card {
    min-height: 0;
  }
}

@media (max-width: 640px) {
  .pipeline-stack::before,
  .pipeline-step::before {
    display: none;
  }

  .pipeline-step {
    padding: 48px 0;
  }

  .pipeline-copy h3 {
    font-size: 1.9rem;
  }

  .visual-chrome {
    min-height: 52px;
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
    gap: 1px;
  }

  .ingestion-flow {
    padding: 20px;
    grid-template-columns: 1fr;
  }

  .flow-arrow {
    transform: rotate(90deg);
  }

  .dependency-path {
    padding: 22px;
    align-items: stretch;
    flex-direction: column;
  }

  .dependency-path i {
    width: 1px;
    height: 18px;
    margin-inline: auto;
  }

  .dependency-path span {
    text-align: center;
  }

  .resolution-status {
    grid-template-columns: 1fr;
  }

  .resolution-status div {
    min-height: 112px;
  }

  .merge-command {
    width: calc(100% - 32px);
    margin: 0 16px 18px;
  }

  .deployment-meter-grid article {
    padding: 20px;
  }

  .matrix-intro {
    padding: 20px;
  }

  .security-hero {
    padding: 116px 0 78px;
  }

  .security-hero h1 {
    font-size: clamp(3rem, 15.8vw, 4.2rem);
  }

  .security-lead {
    font-size: 1rem;
  }

  .security-assurance {
    grid-template-columns: 1fr;
  }

  .security-assurance div {
    min-height: 68px;
    border-right: 0 !important;
    border-bottom: 1px solid var(--line-soft);
  }

  .security-assurance div:last-child {
    border-bottom: 0;
  }

  .lifecycle-flow li {
    grid-template-columns: 38px 1fr;
  }

  .lifecycle-flow code {
    display: none;
  }

  .retention-primary,
  .retention-precision,
  .boundary-card {
    padding: 24px;
  }

  .retention-primary h3,
  .retention-precision h3,
  .boundary-card h3 {
    margin-top: 38px;
  }

  .retained-evidence ul {
    grid-template-columns: 1fr;
  }

  .retention-precision dl div {
    align-items: flex-start;
    flex-direction: column;
    gap: 2px;
  }

  .retention-precision dd {
    text-align: left;
  }

  .sandbox-boundary {
    padding: 10px;
  }

  .sandbox-label {
    min-height: 70px;
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
    gap: 2px;
  }

  .sandbox-stages {
    grid-template-columns: 1fr;
  }

  .sandbox-stages article {
    min-height: 210px;
    border-right: 0 !important;
    border-bottom: 0;
  }

  .sandbox-stages article:last-child {
    border-bottom: 1px solid rgba(229, 50, 75, 0.45);
  }

  .sandbox-controls {
    align-items: flex-start;
    flex-direction: column;
  }

  .boundary-card-top {
    align-items: flex-start;
    flex-direction: column;
  }

  .boundary-card-top strong {
    text-align: left;
  }

  .security-evaluation-panel {
    min-height: 0;
  }
}

/* Version 4: enterprise value, comparison, policy, and procurement */
.roi-section {
  background:
    radial-gradient(circle at 92% 14%, rgba(199, 35, 62, 0.065), transparent 22rem),
    #090d12;
}

.roi-calculator {
  display: grid;
  border: 1px solid #36424f;
  border-radius: 14px;
  background: #0a0f14;
  box-shadow: var(--shadow);
  grid-template-columns: minmax(320px, 0.82fr) minmax(520px, 1.18fr);
  overflow: hidden;
}

.roi-input-panel,
.roi-output-panel {
  min-width: 0;
}

.roi-input-panel {
  margin: 0;
  border-right: 1px solid var(--line);
  background: #0d1319;
}

.roi-output-panel {
  background:
    linear-gradient(150deg, rgba(199, 35, 62, 0.09), transparent 48%),
    #0a0f14;
}

.calculator-chrome {
  display: flex;
  min-height: 48px;
  padding: 0 20px;
  border-bottom: 1px solid var(--line);
  background: #111820;
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 650;
  letter-spacing: 0.075em;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.roi-live {
  display: inline-flex;
  color: var(--text-soft);
  align-items: center;
  gap: 7px;
}

.roi-live i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red-bright);
  box-shadow: 0 0 12px rgba(255, 82, 103, 0.7);
}

.roi-field {
  padding: 27px 22px;
  border-bottom: 1px solid var(--line-soft);
}

.roi-field:last-child {
  border-bottom: 0;
}

.roi-field-label {
  display: flex;
  margin-bottom: 19px;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
}

.roi-field-label label {
  color: var(--text-soft);
  font-size: 0.85rem;
  font-weight: 590;
}

.roi-field-label > span {
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  white-space: nowrap;
}

.roi-field-label input {
  width: 82px;
  padding: 5px 7px;
  border: 1px solid var(--line-control);
  border-radius: 5px;
  background: #080c10;
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  text-align: right;
}

.roi-range {
  width: 100%;
  height: 20px;
  margin: 0;
  appearance: none;
  background: transparent;
  cursor: pointer;
}

.roi-range::-webkit-slider-runnable-track {
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--red), #5e2933 24%, var(--line-control) 24%);
}

.roi-range::-moz-range-track {
  height: 3px;
  border-radius: 2px;
  background: var(--line-control);
}

.roi-range::-moz-range-progress {
  height: 3px;
  background: var(--red);
}

.roi-range::-webkit-slider-thumb {
  width: 16px;
  height: 16px;
  margin-top: -6px;
  appearance: none;
  border: 3px solid #10161d;
  border-radius: 50%;
  background: var(--red-bright);
  box-shadow: 0 0 0 1px var(--red-bright), 0 0 14px rgba(255, 82, 103, 0.38);
}

.roi-range::-moz-range-thumb {
  width: 11px;
  height: 11px;
  border: 3px solid #10161d;
  border-radius: 50%;
  background: var(--red-bright);
  box-shadow: 0 0 0 1px var(--red-bright), 0 0 14px rgba(255, 82, 103, 0.38);
}

.roi-field small {
  display: block;
  margin-top: 8px;
  color: var(--text-dim);
  font-size: 0.72rem;
  line-height: 1.45;
}

.roi-metrics {
  display: grid;
  padding: 18px;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.roi-metrics article {
  display: flex;
  min-height: 194px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: rgba(14, 20, 27, 0.93);
  flex-direction: column;
}

.roi-metrics .roi-risk-metric {
  min-height: 176px;
  border-color: rgba(229, 50, 75, 0.36);
  background: linear-gradient(130deg, rgba(199, 35, 62, 0.1), transparent 65%), #0e141b;
  grid-column: 1 / -1;
}

.roi-metrics article > span,
.roi-summary > span {
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-size: 0.69rem;
  font-weight: 650;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.roi-metrics strong {
  margin: auto 0 1px;
  color: var(--text);
  font-family: var(--font-mono);
  font-size: clamp(1.6rem, 3.3vw, 2.9rem);
  font-weight: 550;
  letter-spacing: -0.06em;
  line-height: 1;
}

.roi-risk-metric strong {
  color: #ffd1d8;
}

.roi-metrics small,
.roi-summary small {
  color: var(--text-dim);
  font-size: 0.69rem;
}

.roi-metrics small b {
  color: var(--red-bright);
  font-family: var(--font-mono);
  font-weight: 650;
}

.roi-meter {
  height: 2px;
  margin-top: 18px;
  background: #25303a;
  overflow: hidden;
}

.roi-meter i {
  display: block;
  width: 42%;
  height: 100%;
  background: linear-gradient(90deg, #6e7c89, var(--red-bright));
  transition: width 220ms ease;
}

.roi-summary {
  display: grid;
  min-height: 92px;
  padding: 17px 20px;
  margin: 0 18px 18px;
  border: 1px solid rgba(229, 50, 75, 0.32);
  border-radius: 9px;
  background: rgba(199, 35, 62, 0.08);
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 2px 20px;
}

.roi-summary strong {
  color: var(--red-bright);
  font-family: var(--font-mono);
  font-size: clamp(1.5rem, 3vw, 2.45rem);
  font-weight: 600;
  letter-spacing: -0.055em;
  grid-column: 2;
  grid-row: 1 / span 2;
}

.roi-summary small {
  grid-column: 1;
}

.roi-assumptions {
  display: grid;
  padding: 20px 22px;
  margin-top: 12px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #0b1015;
  grid-template-columns: 160px 1.15fr 0.85fr;
  gap: 24px;
}

.roi-assumptions > span {
  color: var(--red-bright);
  font-family: var(--font-mono);
  font-size: 0.69rem;
  font-weight: 650;
  letter-spacing: 0.07em;
}

.roi-assumptions p {
  margin: 0;
  color: var(--text-dim);
  font-size: 0.72rem;
  line-height: 1.65;
}

.roi-assumptions strong {
  color: var(--text-soft);
}

.battlecard-section {
  background: #080b0f;
}

.battlecard-scroll {
  border: 1px solid #36424e;
  border-radius: 12px;
  background: #0b1015;
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.28);
  overflow-x: auto;
}

.battlecard-table {
  width: 100%;
  min-width: 1240px;
  border-collapse: collapse;
  table-layout: fixed;
}

.battlecard-table th,
.battlecard-table td {
  padding: 22px;
  border-right: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  vertical-align: top;
  text-align: left;
}

.battlecard-table tr > *:last-child {
  border-right: 0;
}

.battlecard-table tbody tr:last-child > * {
  border-bottom: 0;
}

.battlecard-table thead th {
  height: 108px;
  background: #111820;
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 620;
  vertical-align: bottom;
}

.battlecard-table thead th span {
  display: block;
  margin-bottom: 5px;
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-size: 0.61rem;
  font-weight: 600;
  letter-spacing: 0.065em;
}

.battlecard-table thead th:first-child,
.battlecard-table tbody th {
  position: sticky;
  z-index: 2;
  left: 0;
  width: 210px;
  background: #0d1319;
}

.battlecard-table thead th:first-child {
  z-index: 3;
  background: #111820;
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
}

.battlecard-table tbody th {
  color: var(--text-soft);
  font-family: var(--font-mono);
  font-size: 0.73rem;
  font-weight: 600;
  line-height: 1.55;
}

.battlecard-table .codecr-column {
  border-right-color: rgba(229, 50, 75, 0.27);
  background: linear-gradient(155deg, rgba(199, 35, 62, 0.105), transparent 60%), #11161c;
}

.battlecard-table thead .codecr-column {
  border-top: 2px solid var(--red-bright);
  background: linear-gradient(145deg, rgba(199, 35, 62, 0.16), transparent 70%), #14191f;
}

.battlecard-table td strong {
  display: block;
  color: var(--text-dim);
  font-size: 0.75rem;
  font-weight: 450;
  line-height: 1.62;
}

.matrix-grade {
  display: inline-block;
  padding: 4px 7px;
  margin-bottom: 14px;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--text-soft);
  font-family: var(--font-mono);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.045em;
}

.matrix-grade.grade-red {
  border-color: rgba(229, 50, 75, 0.44);
  background: rgba(199, 35, 62, 0.11);
  color: var(--red-bright);
}

.battlecard-note {
  display: grid;
  padding: 18px 20px;
  margin-top: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #0b1015;
  grid-template-columns: minmax(320px, 1fr) minmax(420px, 1.2fr);
  align-items: center;
  gap: 22px;
}

.battlecard-note p {
  margin: 0;
  color: var(--text-dim);
  font-size: 0.7rem;
  line-height: 1.65;
}

.battlecard-note strong {
  color: var(--text-soft);
}

.battlecard-sources {
  display: flex;
  justify-content: flex-end;
  gap: 6px;
  flex-wrap: wrap;
}

.battlecard-sources a {
  padding: 5px 8px;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-size: 0.59rem;
}

.battlecard-sources a:hover {
  border-color: var(--line-control);
  color: var(--text-soft);
}

.policy-section {
  background:
    linear-gradient(90deg, rgba(148, 163, 184, 0.024) 1px, transparent 1px),
    #090d12;
  background-size: 25% 100%;
}

.policy-workbench {
  display: grid;
  border: 1px solid #3a4652;
  border-radius: 13px;
  background: #080c10;
  box-shadow: var(--shadow);
  grid-template-columns: minmax(430px, 0.92fr) minmax(480px, 1.08fr);
  overflow: hidden;
}

.policy-editor,
.policy-terminal {
  min-width: 0;
}

.policy-editor {
  border-right: 1px solid var(--line);
  background: #0d1319;
}

.policy-window-bar,
.terminal-bar {
  display: grid;
  min-height: 50px;
  padding: 0 16px;
  border-bottom: 1px solid var(--line);
  background: #111820;
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.045em;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 14px;
}

.policy-window-bar > div {
  display: flex;
  gap: 6px;
}

.policy-window-bar > div span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #46515c;
}

.policy-window-bar > div span:last-child {
  background: var(--red);
}

.policy-window-bar strong {
  color: var(--text-soft);
  font-size: 0.72rem;
  font-weight: 600;
}

.policy-window-bar > span:last-child {
  justify-self: end;
}

.policy-code {
  min-height: 700px;
  padding: 25px 22px;
  margin: 0;
  overflow: auto;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    #0b1015;
  background-position: 54px 0;
  background-size: 1px 100%;
  color: #b7c1cb;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  line-height: 1.72;
  tab-size: 2;
}

.yaml-key {
  color: #d6dde4;
}

.yaml-value {
  color: #9eb1c1;
}

.yaml-number {
  color: var(--green);
}

.yaml-alert {
  color: var(--red-bright);
}

.policy-editor-footer {
  display: flex;
  min-height: 52px;
  padding: 0 16px;
  border-top: 1px solid var(--line);
  background: #111820;
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.policy-editor-footer button {
  padding: 6px 9px;
  border: 1px solid var(--line-control);
  border-radius: 5px;
  background: #0c1117;
  color: var(--text-soft);
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: 0.62rem;
}

.policy-terminal {
  background:
    radial-gradient(circle at 85% 8%, rgba(199, 35, 62, 0.09), transparent 15rem),
    #090d12;
}

.terminal-bar {
  display: flex;
  justify-content: space-between;
}

.terminal-bar code {
  color: var(--text-soft);
}

.terminal-body {
  padding: 28px;
}

.policy-block-tag {
  display: inline-flex;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid #ef4961;
  border-radius: 5px;
  background: var(--red);
  box-shadow: 0 0 30px rgba(199, 35, 62, 0.22);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 720;
  letter-spacing: 0.025em;
  align-items: center;
  gap: 9px;
}

.policy-block-tag span {
  display: grid;
  width: 19px;
  height: 19px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  place-items: center;
}

.terminal-command {
  padding: 18px 0;
  margin: 10px 0 0;
  border-bottom: 1px solid var(--line);
  color: var(--text-soft);
  font-family: var(--font-mono);
  font-size: 0.71rem;
}

.terminal-command span {
  margin-right: 8px;
  color: var(--red-bright);
}

.policy-result {
  margin: 0;
}

.policy-result div {
  display: grid;
  min-height: 55px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line-soft);
  grid-template-columns: 128px 1fr;
  align-items: center;
  gap: 18px;
}

.policy-result dt,
.policy-result dd {
  font-size: 0.72rem;
}

.policy-result dt {
  color: var(--text-dim);
}

.policy-result dd {
  margin: 0;
  color: var(--text-soft);
  text-align: right;
}

.policy-result dd span {
  display: block;
  color: var(--red-bright);
  font-family: var(--font-mono);
  font-size: 0.6rem;
}

.policy-result .result-blocked {
  color: var(--red-bright);
  font-family: var(--font-mono);
  font-weight: 700;
}

.fix-recommendation {
  padding: 18px;
  margin-top: 22px;
  border: 1px solid rgba(229, 50, 75, 0.32);
  border-left: 3px solid var(--red);
  border-radius: 7px;
  background: rgba(199, 35, 62, 0.07);
}

.fix-recommendation > span {
  color: var(--red-bright);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.055em;
}

.fix-recommendation p {
  margin: 10px 0 0;
  color: var(--text-soft);
  font-size: 0.77rem;
  line-height: 1.68;
}

.fix-recommendation code {
  color: #ffd1d8;
}

.terminal-actions {
  display: flex;
  margin-top: 22px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.terminal-actions > span {
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.05em;
}

.policy-disclaimer {
  max-width: 900px;
  padding-left: 15px;
  margin: 20px 0 0;
  border-left: 2px solid var(--line-control);
  color: var(--text-dim);
  font-size: 0.7rem;
  line-height: 1.6;
}

.poc-section {
  padding-top: 94px;
}

.poc-panel {
  min-height: 0;
  grid-template-columns: minmax(0, 1.2fr) minmax(310px, 0.8fr);
  gap: 44px 60px;
}

.poc-panel .poc-copy > p:last-child {
  max-width: 740px;
}

.poc-timeline {
  position: relative;
  z-index: 1;
  display: grid;
  padding: 0;
  margin: 4px 0 0;
  grid-column: 1 / -1;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
  list-style: none;
}

.poc-timeline li {
  display: flex;
  min-height: 158px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(9, 14, 19, 0.82);
  flex-direction: column;
}

.poc-timeline span {
  margin-bottom: auto;
  color: var(--red-bright);
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 650;
  letter-spacing: 0.055em;
}

.poc-timeline strong {
  font-size: 0.85rem;
  font-weight: 600;
}

.poc-timeline small {
  margin-top: 6px;
  color: var(--text-dim);
  font-size: 0.7rem;
  line-height: 1.5;
}

.trust-indicators {
  position: relative;
  z-index: 1;
  display: grid;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  grid-column: 1 / -1;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
}

.trust-indicators > div {
  display: grid;
  min-height: 82px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: rgba(10, 15, 20, 0.72);
  grid-template-columns: 25px 1fr;
  align-items: center;
  gap: 1px 10px;
}

.trust-check {
  display: grid;
  width: 22px;
  height: 22px;
  border: 1px solid rgba(111, 211, 165, 0.42);
  border-radius: 50%;
  color: var(--green);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  grid-row: 1 / span 2;
  place-items: center;
}

.trust-indicators > div:last-child .trust-check {
  border-color: rgba(223, 176, 96, 0.42);
  color: var(--amber);
}

.trust-indicators strong {
  color: var(--text-soft);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.025em;
}

.trust-indicators small {
  color: var(--text-dim);
  font-size: 0.63rem;
}

.trust-scope-note {
  position: relative;
  z-index: 1;
  padding: 13px 15px;
  margin: -24px 0 0;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: rgba(7, 11, 15, 0.72);
  color: var(--text-dim);
  font-size: 0.66rem;
  line-height: 1.55;
  grid-column: 1 / -1;
}

.trust-scope-note strong {
  color: var(--text-soft);
}

@media (max-width: 1100px) {
  .roi-calculator {
    grid-template-columns: minmax(290px, 0.72fr) minmax(460px, 1.28fr);
  }

  .roi-summary {
    grid-template-columns: 1fr;
  }

  .roi-summary strong,
  .roi-summary small {
    grid-column: 1;
    grid-row: auto;
  }

  .battlecard-note {
    grid-template-columns: 1fr;
  }

  .battlecard-sources {
    justify-content: flex-start;
  }

  .policy-workbench {
    grid-template-columns: 1fr;
  }

  .policy-editor {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .policy-code {
    min-height: 0;
    max-height: 660px;
  }
}

@media (max-width: 900px) {
  .roi-calculator {
    grid-template-columns: 1fr;
  }

  .roi-input-panel {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .roi-assumptions {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .poc-panel {
    grid-template-columns: 1fr;
  }

  .poc-timeline,
  .trust-indicators {
    grid-template-columns: 1fr;
  }

  .poc-timeline li {
    min-height: 128px;
  }

  .trust-scope-note {
    margin-top: -16px;
  }
}

@media (max-width: 640px) {
  .calculator-chrome {
    min-height: 58px;
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
    gap: 1px;
  }

  .roi-field {
    padding: 23px 16px;
  }

  .roi-field-label {
    align-items: flex-start;
    flex-direction: column;
    gap: 9px;
  }

  .roi-metrics {
    padding: 12px;
    grid-template-columns: 1fr;
  }

  .roi-metrics .roi-risk-metric {
    grid-column: 1;
  }

  .roi-summary {
    margin: 0 12px 12px;
  }

  .battlecard-table {
    min-width: 1100px;
  }

  .battlecard-table th,
  .battlecard-table td {
    padding: 17px;
  }

  .battlecard-note {
    grid-template-columns: 1fr;
    min-width: 0;
  }

  .policy-window-bar {
    grid-template-columns: auto 1fr;
  }

  .policy-window-bar > span:last-child {
    display: none;
  }

  .policy-code {
    padding: 20px 16px;
    font-size: 0.64rem;
  }

  .policy-editor-footer {
    min-height: 66px;
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
  }

  .terminal-body {
    padding: 20px 16px;
  }

  .policy-block-tag {
    width: 100%;
    min-height: 50px;
    padding: 8px 12px;
  }

  .policy-result div {
    grid-template-columns: 1fr;
    gap: 3px;
  }

  .policy-result dd {
    text-align: left;
  }

  .terminal-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .terminal-actions .button {
    width: 100%;
  }

  .poc-panel {
    padding: 30px 20px;
  }
}

/* Version 5: pre-code governance, ecosystem mesh, and security playground */
.precode-section {
  background:
    radial-gradient(circle at 16% 12%, rgba(112, 130, 148, 0.08), transparent 24rem),
    linear-gradient(180deg, #090e13, #080c11);
}

.precode-grid {
  display: grid;
  border: 1px solid #384553;
  border-radius: 14px;
  background: #090d12;
  box-shadow: var(--shadow);
  grid-template-columns: repeat(3, minmax(0, 1fr));
  overflow: hidden;
}

.precode-card {
  display: flex;
  min-width: 0;
  min-height: 715px;
  padding: 28px;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.018), transparent 45%),
    #0d1319;
  flex-direction: column;
}

.precode-card:not(:last-child) {
  border-right: 1px solid var(--line);
}

.precode-plan {
  background:
    radial-gradient(circle at 85% 7%, rgba(199, 35, 62, 0.09), transparent 15rem),
    #0c1117;
}

.precode-card-head {
  display: flex;
  min-height: 52px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.precode-card-head > span {
  color: var(--red-bright);
  font-weight: 700;
  letter-spacing: 0.055em;
}

.precode-card-head strong {
  color: var(--text-dim);
  font-weight: 500;
  text-align: right;
}

.precode-card h3 {
  margin: 34px 0 16px;
  font-size: clamp(1.5rem, 2.4vw, 2.15rem);
  font-weight: 540;
  letter-spacing: -0.045em;
  line-height: 1.08;
}

.precode-card > p {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.96rem;
  line-height: 1.7;
}

.context-ingest,
.plan-editor,
.agent-envelope {
  margin-top: auto;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #090e13;
  overflow: hidden;
}

.context-ingest > div:not(.context-seal) {
  display: grid;
  min-height: 82px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line-soft);
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 2px 16px;
}

.context-ingest span,
.plan-editor-bar span,
.plan-hash span,
.agent-envelope dt {
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.045em;
}

.context-ingest strong {
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 0.88rem;
  font-weight: 650;
}

.context-ingest small {
  color: var(--text-dim);
  font-size: 0.76rem;
  grid-column: 1 / -1;
}

.context-seal {
  display: flex;
  min-height: 58px;
  padding: 12px 16px;
  background: rgba(199, 35, 62, 0.065);
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.context-seal span {
  color: var(--red-bright);
}

.context-seal code {
  color: #e8b7bf;
  font-size: 0.75rem;
}

.plan-editor-bar,
.plan-hash {
  display: flex;
  min-height: 48px;
  padding: 0 14px;
  background: #111820;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.plan-editor-bar {
  border-bottom: 1px solid var(--line);
}

.plan-editor-bar strong {
  color: var(--green);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 650;
}

.plan-editor ol {
  padding: 0 14px;
  margin: 0;
  list-style: none;
}

.plan-editor li {
  display: grid;
  min-height: 84px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line-soft);
  grid-template-columns: 30px 1fr;
  align-items: center;
  gap: 8px 10px;
}

.plan-editor li > span {
  color: var(--red-bright);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  grid-row: 1 / span 2;
}

.plan-editor li div {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.plan-editor li strong {
  color: var(--text-soft);
  font-size: 0.84rem;
  font-weight: 600;
}

.plan-editor li small {
  color: var(--text-dim);
  font-size: 0.75rem;
}

.plan-editor li b {
  color: var(--green);
  font-family: var(--font-mono);
  font-size: 0.69rem;
  font-weight: 650;
  grid-column: 2;
}

.plan-hash {
  min-height: 58px;
}

.plan-hash code {
  color: var(--text-soft);
  font-size: 0.75rem;
}

.agent-targets {
  display: grid;
  padding: 10px;
  border-bottom: 1px solid var(--line);
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}

.agent-targets span {
  display: grid;
  min-height: 50px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: #10161d;
  color: var(--text-soft);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-align: center;
  place-items: center;
}

.agent-targets span:first-child {
  border-color: rgba(229, 50, 75, 0.38);
  background: rgba(199, 35, 62, 0.08);
}

.agent-envelope dl {
  padding: 0 14px;
  margin: 0;
}

.agent-envelope dl div {
  display: flex;
  min-height: 46px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line-soft);
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.agent-envelope dd {
  margin: 0;
  color: var(--text-soft);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-align: right;
}

.envelope-state {
  display: grid;
  min-height: 76px;
  padding: 14px;
  background: rgba(199, 35, 62, 0.07);
  grid-template-columns: 34px 1fr;
  align-items: center;
  gap: 10px;
}

.envelope-state > span {
  display: grid;
  width: 30px;
  height: 30px;
  border: 1px solid var(--red);
  border-radius: 50%;
  color: var(--red-bright);
  place-items: center;
}

.envelope-state div {
  display: flex;
  flex-direction: column;
}

.envelope-state strong {
  color: #ffd1d8;
  font-family: var(--font-mono);
  font-size: 0.73rem;
  font-weight: 650;
}

.envelope-state small {
  color: var(--text-dim);
  font-size: 0.75rem;
}

.precode-contract-note {
  display: grid;
  min-height: 106px;
  padding: 22px 24px;
  margin-top: 12px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--red);
  border-radius: 9px;
  background: #0b1015;
  grid-template-columns: 220px 1fr;
  align-items: center;
  gap: 30px;
}

.precode-contract-note span {
  color: var(--red-bright);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.precode-contract-note p {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.9rem;
  line-height: 1.65;
}

.ecosystem-section {
  background:
    linear-gradient(90deg, rgba(148, 163, 184, 0.025) 1px, transparent 1px),
    #080b0f;
  background-size: 25% 100%;
}

.ecosystem-hub {
  position: relative;
  border: 1px solid #394653;
  border-radius: 14px;
  background:
    radial-gradient(circle at 50% 23%, rgba(199, 35, 62, 0.09), transparent 19rem),
    #090e13;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.ecosystem-hub-bar {
  display: flex;
  min-height: 50px;
  padding: 0 20px;
  border-bottom: 1px solid var(--line);
  background: #111820;
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.ecosystem-hub-bar span:last-child {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.ecosystem-hub-bar i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
}

.ecosystem-core {
  position: relative;
  z-index: 2;
  display: flex;
  width: 245px;
  min-height: 176px;
  padding: 24px;
  margin: 48px auto 68px;
  border: 1px solid rgba(229, 50, 75, 0.48);
  border-radius: 12px;
  background:
    radial-gradient(circle at center, rgba(199, 35, 62, 0.12), transparent 75%),
    #11161d;
  box-shadow: 0 0 0 10px rgba(199, 35, 62, 0.025), 0 24px 55px rgba(0, 0, 0, 0.4);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.ecosystem-core::after {
  position: absolute;
  top: 100%;
  left: 50%;
  width: 1px;
  height: 68px;
  background: linear-gradient(var(--red), var(--line-control));
  content: "";
}

.core-label {
  color: var(--red-bright);
  font-family: var(--font-mono);
  font-size: 0.69rem;
  font-weight: 650;
  letter-spacing: 0.055em;
}

.ecosystem-core > strong {
  margin: 13px 0 0;
  color: var(--text);
  font-size: 2.4rem;
  letter-spacing: -0.055em;
  line-height: 1;
}

.ecosystem-core > small {
  margin-top: 6px;
  color: var(--text-dim);
  font-size: 0.78rem;
}

.core-orbit {
  position: absolute;
  inset: -26px;
  border: 1px solid rgba(148, 163, 184, 0.11);
  border-radius: 19px;
  pointer-events: none;
}

.core-orbit i {
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red-bright);
  box-shadow: 0 0 16px rgba(255, 82, 103, 0.72);
}

.core-orbit i:nth-child(1) {
  top: -4px;
  left: 18%;
}

.core-orbit i:nth-child(2) {
  right: -4px;
  bottom: 26%;
}

.core-orbit i:nth-child(3) {
  bottom: -4px;
  left: 34%;
}

.integration-lanes {
  position: relative;
  display: grid;
  padding: 0 24px 24px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.integration-lanes::before {
  position: absolute;
  top: -34px;
  right: calc(16.66% + 28px);
  left: calc(16.66% + 28px);
  height: 1px;
  background: var(--line-control);
  content: "";
}

.integration-lane {
  position: relative;
  z-index: 1;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: rgba(13, 19, 25, 0.96);
  overflow: hidden;
}

.integration-lane::before {
  position: absolute;
  bottom: 100%;
  left: 50%;
  width: 1px;
  height: 35px;
  background: var(--line-control);
  content: "";
}

.integration-lane-red {
  border-color: rgba(229, 50, 75, 0.38);
  background: linear-gradient(160deg, rgba(199, 35, 62, 0.08), transparent 46%), #0d1319;
}

.integration-category {
  display: flex;
  min-height: 78px;
  padding: 15px 16px;
  border-bottom: 1px solid var(--line);
  background: #111820;
  align-items: center;
  gap: 13px;
}

.integration-category > span {
  color: var(--red-bright);
  font-family: var(--font-mono);
  font-size: 0.78rem;
}

.integration-category div {
  display: flex;
  flex-direction: column;
}

.integration-category strong {
  font-size: 0.9rem;
  font-weight: 620;
}

.integration-category small {
  color: var(--text-dim);
  font-size: 0.75rem;
}

.integration-lane ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

.integration-lane li {
  display: grid;
  min-height: 82px;
  padding: 13px 14px;
  border-bottom: 1px solid var(--line-soft);
  grid-template-columns: 38px 1fr auto;
  align-items: center;
  gap: 11px;
}

.integration-lane li:last-child {
  border-bottom: 0;
}

.integration-monogram {
  display: grid;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line-control);
  border-radius: 7px;
  background: #0a0f14;
  color: var(--text-soft);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  place-items: center;
}

.integration-lane li div {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.integration-lane li strong {
  color: var(--text-soft);
  font-size: 0.82rem;
  font-weight: 600;
}

.integration-lane li small {
  color: var(--text-dim);
  font-size: 0.73rem;
}

.integration-lane li b {
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 600;
}

.requirements-trace {
  display: grid;
  padding: 34px;
  margin-top: 12px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #0c1117;
  grid-template-columns: minmax(310px, 0.72fr) minmax(560px, 1.28fr);
  align-items: center;
  gap: 48px;
}

.requirements-copy > span {
  color: var(--red-bright);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.requirements-copy h3 {
  margin: 20px 0 16px;
  font-size: clamp(1.7rem, 3vw, 2.65rem);
  font-weight: 530;
  letter-spacing: -0.05em;
  line-height: 1.05;
}

.requirements-copy p {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.94rem;
  line-height: 1.72;
}

.trace-visual {
  display: grid;
  grid-template-columns: minmax(190px, 1fr) 72px minmax(220px, 1.1fr);
  grid-template-rows: 1fr 1fr;
  gap: 9px;
}

.trace-source,
.trace-block {
  display: flex;
  min-height: 118px;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #10161d;
  flex-direction: column;
  justify-content: center;
}

.trace-source > span {
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-size: 0.7rem;
}

.trace-source strong {
  margin-top: 8px;
  color: var(--text-soft);
  font-size: 0.81rem;
  font-weight: 600;
  line-height: 1.45;
}

.trace-source small {
  margin-top: 7px;
  color: var(--text-dim);
  font-size: 0.72rem;
}

.trace-join {
  position: relative;
  display: flex;
  width: 66px;
  height: 66px;
  border: 1px solid var(--red);
  border-radius: 50%;
  background: rgba(199, 35, 62, 0.09);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  align-self: center;
  grid-column: 2;
  grid-row: 1 / span 2;
}

.trace-join::before,
.trace-join::after {
  position: absolute;
  top: 50%;
  width: 12px;
  height: 1px;
  background: var(--red);
  content: "";
}

.trace-join::before {
  right: 100%;
}

.trace-join::after {
  left: 100%;
}

.trace-join span {
  color: var(--red-bright);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 700;
}

.trace-join small {
  color: var(--text-dim);
  font-size: 0.66rem;
}

.trace-block {
  min-height: 100%;
  border-color: rgba(229, 50, 75, 0.46);
  background: linear-gradient(145deg, rgba(199, 35, 62, 0.12), transparent), #11151b;
  flex-direction: row;
  align-items: center;
  grid-column: 3;
  grid-row: 1 / span 2;
  gap: 13px;
}

.trace-block > span {
  display: grid;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-weight: 750;
  flex: 0 0 auto;
  place-items: center;
}

.trace-block div {
  display: flex;
  flex-direction: column;
}

.trace-block strong {
  color: #ffd1d8;
  font-family: var(--font-mono);
  font-size: 0.75rem;
}

.trace-block small {
  margin-top: 6px;
  color: var(--text-soft);
  font-size: 0.75rem;
  line-height: 1.45;
}

.integration-disclaimer {
  max-width: 980px;
  padding-left: 15px;
  margin: 20px 0 0;
  border-left: 2px solid var(--line-control);
  color: var(--text-dim);
  font-size: 0.76rem;
  line-height: 1.6;
}

.playground-section {
  background:
    radial-gradient(circle at 82% 24%, rgba(199, 35, 62, 0.075), transparent 24rem),
    #090d12;
}

.playground {
  border: 1px solid #3c4956;
  border-radius: 14px;
  background: #080c10;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.playground-tabs {
  display: grid;
  padding: 10px;
  border-bottom: 1px solid var(--line);
  background: #111820;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.playground-tabs button {
  display: flex;
  min-height: 58px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #0c1117;
  color: var(--text-dim);
  cursor: pointer;
  font-size: 0.84rem;
  font-weight: 590;
  align-items: center;
  gap: 12px;
  text-align: left;
  transition: border-color 160ms ease, background-color 160ms ease, color 160ms ease;
}

.playground-tabs button span {
  color: inherit;
  font-family: var(--font-mono);
  font-size: 0.75rem;
}

.playground-tabs button[aria-selected="true"] {
  border-color: rgba(229, 50, 75, 0.64);
  background: rgba(199, 35, 62, 0.12);
  color: #ffd5db;
}

.playground-tabs button:hover {
  border-color: var(--line-control);
  color: var(--text-soft);
}

.playground-statusbar {
  display: grid;
  min-height: 46px;
  border-bottom: 1px solid var(--line);
  background: #0b1015;
  grid-template-columns: repeat(4, 1fr);
}

.playground-statusbar span {
  display: flex;
  padding: 10px 13px;
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-size: 0.69rem;
  letter-spacing: 0.03em;
  align-items: center;
  justify-content: center;
  gap: 7px;
  text-align: center;
}

.playground-statusbar span:not(:last-child) {
  border-right: 1px solid var(--line-soft);
}

.playground-statusbar i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
}

.playground-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(480px, 0.98fr);
}

.simulated-pr,
.microvm-console {
  min-width: 0;
  background: #0b1015;
}

.simulated-pr {
  border-right: 1px solid var(--line);
}

.microvm-console {
  position: relative;
  background:
    radial-gradient(circle at 90% 8%, rgba(199, 35, 62, 0.08), transparent 15rem),
    #090e13;
  overflow: hidden;
}

.microvm-console::after {
  position: absolute;
  z-index: 5;
  right: 0;
  left: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--red-bright), transparent);
  box-shadow: 0 0 18px rgba(255, 82, 103, 0.55);
  content: "";
  opacity: 0;
  pointer-events: none;
}

.playground.is-running .microvm-console::after {
  animation: microvm-scan 760ms linear infinite;
  opacity: 0.7;
}

@keyframes microvm-scan {
  from { top: 50px; }
  to { top: calc(100% - 1px); }
}

.playground-window-bar {
  display: grid;
  min-height: 50px;
  padding: 0 16px;
  border-bottom: 1px solid var(--line);
  background: #111820;
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 14px;
}

.playground-window-bar > div {
  display: flex;
  gap: 6px;
}

.playground-window-bar > div span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #45515d;
}

.playground-window-bar > div span:last-child {
  background: var(--red);
}

.playground-window-bar strong {
  color: var(--text-soft);
  font-weight: 600;
}

.playground-window-bar > span:last-child {
  justify-self: end;
}

.simulated-pr-head {
  padding: 24px;
  border-bottom: 1px solid var(--line);
}

.simulated-pr-head > span,
.pr-requirement > span {
  color: var(--red-bright);
  font-family: var(--font-mono);
  font-size: 0.73rem;
  font-weight: 650;
  letter-spacing: 0.05em;
}

.simulated-pr-head h3 {
  margin: 14px 0 9px;
  font-size: clamp(1.25rem, 2.3vw, 1.85rem);
  font-weight: 550;
  letter-spacing: -0.035em;
  line-height: 1.18;
}

.simulated-pr-head p {
  display: flex;
  margin: 0;
  color: var(--text-dim);
  font-size: 0.76rem;
  justify-content: space-between;
  gap: 18px;
}

.simulated-pr-head code {
  color: var(--text-soft);
  font-size: 0.75rem;
}

.pr-requirement {
  display: flex;
  min-height: 68px;
  padding: 13px 24px;
  border-bottom: 1px solid var(--line-soft);
  background: rgba(199, 35, 62, 0.045);
  flex-direction: column;
  justify-content: center;
}

.pr-requirement strong {
  margin-top: 5px;
  color: var(--text-soft);
  font-size: 0.82rem;
  font-weight: 590;
}

.diff-view {
  min-height: 505px;
  padding: 24px 0;
  background:
    linear-gradient(90deg, rgba(148, 163, 184, 0.03) 1px, transparent 1px),
    #090e13;
  background-size: 52px 100%;
  overflow-x: auto;
}

.diff-line {
  display: grid;
  min-width: 560px;
  min-height: 48px;
  padding: 0 20px 0 0;
  grid-template-columns: 52px 1fr;
  align-items: center;
}

.diff-line > span {
  color: #596674;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-align: center;
}

.diff-line code {
  color: #aeb9c4;
  font-size: 0.78rem;
  white-space: pre;
}

.diff-add {
  background: rgba(111, 211, 165, 0.055);
}

.diff-add code {
  color: #8fd8b7;
}

.diff-remove {
  background: rgba(199, 35, 62, 0.07);
}

.diff-remove code {
  color: #e794a1;
}

.diff-alert {
  border-top: 1px solid rgba(229, 50, 75, 0.42);
  border-bottom: 1px solid rgba(229, 50, 75, 0.42);
  background: rgba(199, 35, 62, 0.13);
}

.diff-alert > span,
.diff-alert code {
  color: var(--red-bright);
  font-weight: 650;
}

.microvm-stages {
  padding: 8px 22px;
  margin: 0;
  list-style: none;
}

.microvm-stages li {
  display: grid;
  min-height: 75px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line-soft);
  grid-template-columns: 36px 1fr auto;
  align-items: center;
  gap: 11px;
}

.microvm-stages li > span {
  display: grid;
  width: 30px;
  height: 30px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-size: 0.71rem;
  place-items: center;
}

.microvm-stages li div {
  display: flex;
  flex-direction: column;
}

.microvm-stages li strong {
  color: var(--text-soft);
  font-size: 0.8rem;
  font-weight: 590;
}

.microvm-stages li small {
  color: var(--text-dim);
  font-size: 0.72rem;
}

.microvm-stages li b {
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 650;
}

.microvm-stages li.complete > span {
  border-color: rgba(111, 211, 165, 0.34);
  color: var(--green);
}

.microvm-stages li.complete b {
  color: var(--green);
}

.microvm-stages li.running > span {
  border-color: var(--red);
  background: rgba(199, 35, 62, 0.1);
  color: var(--red-bright);
  box-shadow: 0 0 16px rgba(229, 50, 75, 0.25);
}

.microvm-stages li.running b {
  color: var(--red-bright);
}

.microvm-stages li.pending {
  opacity: 0.48;
}

.playground-finding {
  padding: 18px;
  margin: 10px 22px 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #0c1218;
}

.finding-rule {
  display: flex;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line-soft);
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.finding-rule span {
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-size: 0.7rem;
}

.finding-rule code {
  color: var(--red-bright);
  font-size: 0.75rem;
}

.playground-finding > p {
  margin: 14px 0;
  color: var(--text-soft);
  font-size: 0.82rem;
  line-height: 1.6;
}

.playground-finding dl {
  margin: 0;
}

.playground-finding dl div {
  display: flex;
  min-height: 34px;
  border-top: 1px solid var(--line-soft);
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.playground-finding dt,
.playground-finding dd {
  font-size: 0.73rem;
}

.playground-finding dt {
  color: var(--text-dim);
}

.playground-finding dd {
  margin: 0;
  color: var(--text-soft);
  font-family: var(--font-mono);
  text-align: right;
}

.playground-alert {
  display: grid;
  min-height: 74px;
  padding: 13px 16px;
  margin: 12px 22px;
  border: 1px solid #ef4961;
  border-radius: 8px;
  background: linear-gradient(90deg, var(--red-deep), var(--red));
  box-shadow: 0 0 30px rgba(199, 35, 62, 0.18);
  grid-template-columns: 34px 1fr;
  align-items: center;
  gap: 12px;
}

.playground-alert[hidden] {
  display: none;
}

.playground-alert > span {
  display: grid;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 50%;
  color: #fff;
  font-weight: 750;
  place-items: center;
}

.playground-alert div {
  display: flex;
  flex-direction: column;
}

.playground-alert strong {
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.79rem;
  font-weight: 700;
}

.playground-alert small {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.72rem;
}

.remediation-trigger {
  width: calc(100% - 44px);
  margin: 0 22px 18px;
}

.remediation-result {
  min-height: 94px;
  padding: 16px;
  margin: 0 22px 20px;
  border: 1px solid rgba(111, 211, 165, 0.34);
  border-radius: 8px;
  background: rgba(111, 211, 165, 0.055);
}

.remediation-result[hidden] {
  display: none;
}

.remediation-result span,
.remediation-result strong,
.remediation-result small {
  display: block;
}

.remediation-result span {
  color: var(--green);
  font-family: var(--font-mono);
  font-size: 0.69rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.remediation-result strong {
  margin-top: 6px;
  color: var(--text-soft);
  font-size: 0.82rem;
}

.remediation-result small {
  margin-top: 4px;
  color: var(--text-dim);
  font-size: 0.72rem;
}

.remediation-result.preparing {
  border-color: rgba(229, 50, 75, 0.3);
  background: rgba(199, 35, 62, 0.05);
}

.remediation-result.preparing span {
  color: var(--red-bright);
}

.playground-foot {
  display: grid;
  min-height: 68px;
  padding: 14px 20px;
  border-top: 1px solid var(--line);
  background: #111820;
  grid-template-columns: 245px 1fr;
  align-items: center;
  gap: 24px;
}

.playground-foot span {
  color: var(--red-bright);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.05em;
}

.playground-foot p {
  margin: 0;
  color: var(--text-dim);
  font-size: 0.75rem;
  line-height: 1.5;
}

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

  .precode-card {
    min-height: 0;
  }

  .precode-card:not(:last-child) {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .context-ingest,
  .plan-editor,
  .agent-envelope {
    margin-top: 40px;
  }

  .requirements-trace {
    grid-template-columns: 1fr;
  }

  .playground-panel {
    grid-template-columns: 1fr;
  }

  .simulated-pr {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .diff-view {
    min-height: 390px;
  }
}

@media (max-width: 900px) {
  .integration-lanes {
    grid-template-columns: 1fr;
    gap: 9px;
  }

  .integration-lanes::before,
  .integration-lane::before,
  .ecosystem-core::after {
    display: none;
  }

  .ecosystem-core {
    margin-bottom: 34px;
  }

  .trace-visual {
    grid-template-columns: 1fr 70px 1fr;
  }

  .playground-statusbar {
    grid-template-columns: 1fr 1fr;
  }

  .playground-statusbar span:nth-child(2) {
    border-right: 0;
  }

  .playground-statusbar span:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line-soft);
  }
}

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

  .precode-contract-note,
  .playground-foot {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .agent-targets {
    grid-template-columns: 1fr;
  }

  .agent-envelope dl div {
    align-items: flex-start;
    flex-direction: column;
    gap: 2px;
  }

  .agent-envelope dd {
    text-align: left;
  }

  .ecosystem-hub-bar {
    min-height: 70px;
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
    gap: 4px;
  }

  .ecosystem-core {
    width: min(245px, calc(100% - 58px));
  }

  .integration-lanes {
    padding: 0 12px 12px;
  }

  .requirements-trace {
    padding: 24px 18px;
  }

  .trace-visual {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .trace-join {
    width: 54px;
    height: 54px;
    margin: 6px auto;
    grid-column: 1;
    grid-row: auto;
  }

  .trace-join::before,
  .trace-join::after {
    top: auto;
    right: auto;
    left: 50%;
    width: 1px;
    height: 10px;
  }

  .trace-join::before {
    bottom: 100%;
  }

  .trace-join::after {
    top: 100%;
  }

  .trace-block {
    min-height: 130px;
    grid-column: 1;
    grid-row: auto;
  }

  .playground-tabs {
    grid-template-columns: 1fr;
  }

  .playground-tabs button {
    min-height: 52px;
  }

  .playground-statusbar {
    grid-template-columns: 1fr;
  }

  .playground-statusbar span {
    min-height: 40px;
    border-right: 0 !important;
    border-bottom: 1px solid var(--line-soft);
  }

  .playground-window-bar {
    min-height: 62px;
    grid-template-columns: auto 1fr;
  }

  .playground-window-bar > span:last-child {
    display: none;
  }

  .simulated-pr-head p {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }

  .diff-view {
    min-height: 330px;
  }

  .microvm-stages {
    padding: 8px 16px;
  }

  .microvm-stages li {
    grid-template-columns: 34px 1fr;
  }

  .microvm-stages li b {
    grid-column: 2;
  }

  .playground-finding,
  .playground-alert,
  .remediation-result {
    margin-right: 16px;
    margin-left: 16px;
  }

  .remediation-trigger {
    width: calc(100% - 32px);
    margin-right: 16px;
    margin-left: 16px;
  }

  .playground-finding dl div {
    align-items: flex-start;
    flex-direction: column;
    gap: 2px;
  }

  .playground-finding dd {
    text-align: left;
  }
}

/* Version 6: trust evidence, enterprise benchmark, and production release gates */
.release-notice {
  display: flex;
  min-height: 54px;
  padding: 10px 14px;
  margin-bottom: 24px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--red);
  border-radius: 8px;
  background: rgba(15, 21, 28, 0.9);
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.release-notice > div {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 12px;
}

.release-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red-bright);
  box-shadow: 0 0 0 5px rgba(229, 50, 75, 0.1);
  flex: 0 0 auto;
}

.release-notice strong,
.release-notice a {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.release-notice strong {
  color: var(--red-bright);
  white-space: nowrap;
}

.release-notice > div > span:last-child {
  color: var(--text-soft);
  font-size: 0.88rem;
}

.release-notice a {
  color: var(--text-soft);
  white-space: nowrap;
}

.release-notice a:hover {
  color: var(--text);
}

.benchmark-section {
  background:
    radial-gradient(circle at 15% 15%, rgba(199, 35, 62, 0.08), transparent 26rem),
    linear-gradient(180deg, #080c11, #090e13);
}

.benchmark-header {
  display: grid;
  margin-bottom: 52px;
  grid-template-columns: minmax(0, 1.25fr) minmax(330px, 0.75fr);
  align-items: end;
  gap: 70px;
}

.benchmark-eyebrow {
  margin: 0 0 16px;
  color: var(--red-bright);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.benchmark-header h2 {
  margin: 0;
  font-size: clamp(2.45rem, 5vw, 4.65rem);
  font-weight: 520;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.benchmark-publication-state {
  padding: 22px;
  border: 1px solid rgba(229, 50, 75, 0.38);
  border-radius: 9px;
  background: linear-gradient(145deg, rgba(199, 35, 62, 0.08), transparent 70%), #0d1319;
}

.benchmark-publication-state > span {
  color: var(--red-bright);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.benchmark-publication-state > strong {
  display: flex;
  margin-top: 14px;
  color: #f1d6da;
  font-size: 0.9rem;
  align-items: center;
  gap: 9px;
}

.benchmark-publication-state i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red-bright);
  box-shadow: 0 0 14px rgba(255, 82, 103, 0.5);
}

.benchmark-publication-state p {
  margin: 11px 0 0;
  color: var(--text-dim);
  font-size: 0.82rem;
  line-height: 1.6;
}

.benchmark-story {
  display: grid;
  border: 1px solid #384553;
  border-radius: 13px;
  background: #090e13;
  box-shadow: var(--shadow);
  grid-template-columns: minmax(320px, 0.82fr) minmax(0, 1.18fr);
  overflow: hidden;
}

.benchmark-card {
  min-width: 0;
  min-height: 445px;
  padding: 34px;
  background: #0d1319;
}

.benchmark-card + .benchmark-card {
  border-left: 1px solid var(--line);
}

.benchmark-implementation {
  background:
    radial-gradient(circle at 78% 15%, rgba(199, 35, 62, 0.08), transparent 18rem),
    #0b1016;
}

.benchmark-card-label {
  display: flex;
  padding-bottom: 17px;
  border-bottom: 1px solid var(--line);
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  align-items: center;
  gap: 12px;
}

.benchmark-card-label span {
  color: var(--red-bright);
}

.benchmark-card h3 {
  max-width: 660px;
  margin: 30px 0 15px;
  font-size: clamp(1.6rem, 2.8vw, 2.35rem);
  font-weight: 540;
  letter-spacing: -0.045em;
  line-height: 1.07;
}

.benchmark-card > p {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.96rem;
  line-height: 1.72;
}

.benchmark-card > p strong {
  color: var(--text);
  font-weight: 650;
}

.benchmark-challenge dl {
  display: grid;
  margin: 34px 0 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  grid-template-columns: repeat(3, 1fr);
  overflow: hidden;
}

.benchmark-challenge dl div {
  min-width: 0;
  padding: 14px;
  background: #0a0f14;
}

.benchmark-challenge dl div:not(:last-child) {
  border-right: 1px solid var(--line-soft);
}

.benchmark-challenge dt {
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-size: 0.75rem;
}

.benchmark-challenge dd {
  margin: 5px 0 0;
  color: var(--text-soft);
  font-size: 0.82rem;
  font-weight: 620;
}

.benchmark-architecture {
  display: grid;
  margin-top: 34px;
  grid-template-columns: 1fr 28px 1.2fr 28px 1fr;
  align-items: center;
}

.benchmark-architecture > div {
  display: flex;
  min-width: 0;
  min-height: 118px;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #090e13;
  flex-direction: column;
  justify-content: center;
}

.benchmark-architecture > span {
  color: var(--red-bright);
  font-family: var(--font-mono);
  text-align: center;
}

.benchmark-architecture div > span {
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-size: 0.74rem;
}

.benchmark-architecture div > strong {
  margin-top: 7px;
  color: var(--text-soft);
  font-size: 0.83rem;
  line-height: 1.35;
}

.benchmark-architecture div > small {
  margin-top: 4px;
  color: var(--text-dim);
  font-size: 0.75rem;
}

.benchmark-architecture .benchmark-node-active {
  border-color: rgba(229, 50, 75, 0.48);
  background: rgba(199, 35, 62, 0.075);
}

.benchmark-results {
  display: grid;
  margin-top: 12px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #0b1016;
  grid-template-columns: repeat(3, 1fr);
  overflow: hidden;
}

.benchmark-results article {
  display: flex;
  min-height: 215px;
  padding: 28px;
  flex-direction: column;
  justify-content: center;
}

.benchmark-results article:not(:last-child) {
  border-right: 1px solid var(--line);
}

.benchmark-value {
  color: var(--red-bright);
  font-size: clamp(2.6rem, 5vw, 4.4rem);
  font-weight: 520;
  letter-spacing: -0.065em;
  line-height: 0.95;
}

.benchmark-results strong {
  max-width: 300px;
  margin-top: 16px;
  color: var(--text);
  font-size: 0.96rem;
  line-height: 1.45;
}

.benchmark-results small {
  max-width: 330px;
  margin-top: 8px;
  color: var(--text-dim);
  font-size: 0.76rem;
  line-height: 1.5;
}

.benchmark-method {
  display: grid;
  padding: 28px;
  margin-top: 12px;
  border: 1px solid rgba(229, 50, 75, 0.32);
  border-left: 3px solid var(--red);
  border-radius: 10px;
  background: #0c1117;
  grid-template-columns: 0.72fr 1.28fr;
  align-items: start;
  gap: 30px 48px;
}

.benchmark-method > div {
  display: flex;
  flex-direction: column;
}

.benchmark-method > div span {
  color: var(--red-bright);
  font-family: var(--font-mono);
  font-size: 0.77rem;
  font-weight: 700;
  letter-spacing: 0.055em;
}

.benchmark-method > div strong {
  margin-top: 12px;
  color: var(--text-soft);
  font-size: 1rem;
  line-height: 1.55;
}

.benchmark-method ul {
  display: grid;
  padding: 0;
  margin: 0;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  list-style: none;
}

.benchmark-method li {
  display: flex;
  min-height: 48px;
  padding: 10px 12px;
  border: 1px solid var(--line-soft);
  border-radius: 6px;
  background: #090e13;
  color: var(--text-soft);
  font-size: 0.8rem;
  align-items: center;
  gap: 10px;
}

.benchmark-method li span {
  color: var(--red-bright);
  font-family: var(--font-mono);
  font-size: 0.74rem;
}

.benchmark-method > p {
  padding-top: 18px;
  margin: 0;
  border-top: 1px solid var(--line-soft);
  color: var(--text-dim);
  font-size: 0.78rem;
  line-height: 1.6;
  grid-column: 1 / -1;
}

.benchmark-method > p strong {
  color: var(--text-soft);
}

.trust-center-section {
  background:
    linear-gradient(90deg, rgba(148, 163, 184, 0.024) 1px, transparent 1px),
    radial-gradient(circle at 82% 16%, rgba(199, 35, 62, 0.075), transparent 24rem),
    #080c11;
  background-size: 25% 100%, auto, auto;
}

.trust-portal {
  border: 1px solid #3b4855;
  border-radius: 14px;
  background: #090e13;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.trust-portal-bar,
.trust-module-heading,
.production-checklist-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.trust-portal-bar {
  min-height: 52px;
  padding: 0 20px;
  border-bottom: 1px solid var(--line);
  background: #111820;
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-size: 0.77rem;
  letter-spacing: 0.05em;
}

.trust-portal-bar span:last-child {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.trust-portal-bar i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red-bright);
  box-shadow: 0 0 12px rgba(255, 82, 103, 0.46);
}

.compliance-grid {
  display: grid;
  padding: 20px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.compliance-grid article {
  display: flex;
  min-width: 0;
  min-height: 305px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background:
    linear-gradient(155deg, rgba(255, 255, 255, 0.018), transparent 50%),
    #0d1319;
  flex-direction: column;
}

.compliance-badge {
  display: inline-flex;
  width: fit-content;
  min-height: 30px;
  padding: 5px 8px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: #111820;
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  align-items: center;
  gap: 7px;
}

.compliance-badge-contract {
  border-color: rgba(229, 50, 75, 0.45);
  background: rgba(199, 35, 62, 0.08);
  color: var(--red-bright);
}

.compliance-badge-target {
  color: var(--text-soft);
}

.compliance-code {
  margin-top: 25px;
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.05em;
}

.compliance-grid h3 {
  margin: 10px 0 12px;
  font-size: 1.28rem;
  font-weight: 590;
  letter-spacing: -0.025em;
}

.compliance-grid p {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.86rem;
  line-height: 1.65;
}

.compliance-grid article > small {
  padding-top: 14px;
  margin-top: auto;
  border-top: 1px solid var(--line-soft);
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-size: 0.72rem;
}

.trust-operations-grid {
  display: grid;
  padding: 0 20px 20px;
  grid-template-columns: minmax(0, 0.9fr) minmax(520px, 1.1fr);
  gap: 10px;
}

.assessment-package,
.continuous-telemetry {
  min-width: 0;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #0c1218;
}

.continuous-telemetry {
  background:
    radial-gradient(circle at 90% 8%, rgba(111, 211, 165, 0.05), transparent 14rem),
    #0a0f14;
}

.trust-module-heading {
  padding-bottom: 15px;
  border-bottom: 1px solid var(--line);
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.04em;
}

.trust-module-heading > span {
  color: var(--red-bright);
  font-weight: 700;
}

.trust-module-heading b {
  font-weight: 600;
}

.assessment-package h3,
.continuous-telemetry h3 {
  margin: 26px 0 12px;
  font-size: clamp(1.45rem, 2.4vw, 2.1rem);
  font-weight: 540;
  letter-spacing: -0.04em;
  line-height: 1.08;
}

.assessment-package > p,
.telemetry-disclaimer {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.9rem;
  line-height: 1.65;
}

.assessment-package ul {
  padding: 0;
  margin: 24px 0;
  border-top: 1px solid var(--line-soft);
  list-style: none;
}

.assessment-package li {
  display: flex;
  min-height: 44px;
  border-bottom: 1px solid var(--line-soft);
  color: var(--text-soft);
  font-size: 0.82rem;
  align-items: center;
  gap: 12px;
}

.assessment-package li span {
  color: var(--red-bright);
  font-family: var(--font-mono);
  font-size: 0.75rem;
}

.assessment-download {
  width: 100%;
  text-align: center;
}

.assessment-note {
  display: block;
  margin-top: 12px;
  color: var(--text-dim);
  font-size: 0.75rem;
  line-height: 1.5;
}

.telemetry-status-list {
  margin-top: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.telemetry-status-list > div {
  display: grid;
  min-height: 70px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line-soft);
  grid-template-columns: 14px 1fr auto;
  align-items: center;
  gap: 12px;
}

.telemetry-status-list > div:last-child {
  border-bottom: 0;
}

.telemetry-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.telemetry-dot-green {
  background: var(--green);
  box-shadow: 0 0 11px rgba(111, 211, 165, 0.42);
}

.telemetry-dot-gray {
  background: var(--line-control);
}

.telemetry-status-list p {
  display: flex;
  margin: 0;
  flex-direction: column;
}

.telemetry-status-list strong {
  color: var(--text-soft);
  font-size: 0.84rem;
  font-weight: 610;
}

.telemetry-status-list small {
  color: var(--text-dim);
  font-size: 0.75rem;
}

.telemetry-status-list b {
  color: var(--green);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 650;
  text-align: right;
}

.telemetry-status-list > div:last-child b {
  color: var(--text-dim);
}

.telemetry-thresholds {
  display: grid;
  padding: 14px;
  margin-top: 10px;
  border: 1px solid rgba(229, 50, 75, 0.4);
  border-radius: 8px;
  background: rgba(199, 35, 62, 0.065);
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.telemetry-thresholds > span {
  color: var(--red-bright);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  grid-column: 1 / -1;
}

.telemetry-thresholds > div {
  display: flex;
  min-height: 40px;
  padding: 8px 10px;
  border: 1px solid rgba(229, 50, 75, 0.16);
  border-radius: 5px;
  background: rgba(7, 10, 14, 0.48);
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.telemetry-thresholds strong,
.telemetry-thresholds b {
  font-size: 0.76rem;
}

.telemetry-thresholds strong {
  color: var(--text-soft);
  font-weight: 560;
}

.telemetry-thresholds b {
  color: var(--red-bright);
  font-family: var(--font-mono);
}

.trust-portal-foot {
  display: grid;
  min-height: 108px;
  padding: 20px;
  border-top: 1px solid var(--line);
  background: #111820;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 24px;
}

.trust-portal-foot > div {
  display: flex;
  flex-direction: column;
}

.trust-portal-foot > div span {
  color: var(--red-bright);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.trust-portal-foot > div strong {
  margin-top: 6px;
  color: var(--text-soft);
  font-size: 0.84rem;
  font-weight: 570;
}

.production-section {
  background:
    radial-gradient(circle at 85% 16%, rgba(199, 35, 62, 0.13), transparent 25rem),
    #080c11;
}

.production-panel {
  min-height: 0;
  grid-template-columns: minmax(0, 1.18fr) minmax(340px, 0.82fr);
}

.production-actions .button {
  width: 100%;
}

.production-checklist {
  position: relative;
  z-index: 1;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #0a0f14;
  grid-column: 1 / -1;
  overflow: hidden;
}

.production-checklist-head {
  min-height: 70px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  background: #111820;
}

.production-checklist-head > div {
  display: flex;
  flex-direction: column;
}

.production-checklist-head span {
  color: var(--red-bright);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.production-checklist-head strong {
  margin-top: 4px;
  color: var(--text-soft);
  font-size: 0.88rem;
}

.production-checklist-head > b {
  padding: 6px 8px;
  border: 1px solid rgba(229, 50, 75, 0.35);
  border-radius: 5px;
  background: rgba(199, 35, 62, 0.07);
  color: var(--red-bright);
  font-family: var(--font-mono);
  font-size: 0.72rem;
}

.production-check-row {
  display: grid;
  min-height: 88px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line-soft);
  grid-template-columns: 36px 1fr auto;
  align-items: center;
  gap: 14px;
}

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

.production-state {
  display: grid;
  width: 32px;
  height: 32px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #10161d;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  place-items: center;
}

.production-check-row > div {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.production-check-row strong {
  color: var(--text-soft);
  font-size: 0.9rem;
  font-weight: 620;
}

.production-check-row small {
  margin-top: 3px;
  color: var(--text-dim);
  font-size: 0.78rem;
  line-height: 1.5;
}

.production-check-row > b {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 650;
  text-align: right;
}

.production-check-verified .production-state,
.production-check-verified > b {
  border-color: rgba(111, 211, 165, 0.35);
  color: var(--green);
}

.production-check-gated {
  background: rgba(199, 35, 62, 0.025);
}

.production-check-gated .production-state,
.production-check-gated > b {
  border-color: rgba(229, 50, 75, 0.38);
  color: var(--red-bright);
}

.release-verification {
  position: relative;
  z-index: 1;
  display: grid;
  padding: 22px;
  border: 1px solid rgba(229, 50, 75, 0.34);
  border-left: 3px solid var(--red);
  border-radius: 9px;
  background: rgba(10, 15, 20, 0.84);
  grid-column: 1 / -1;
  grid-template-columns: 210px 1fr auto;
  align-items: center;
  gap: 24px;
}

.release-verification > span {
  color: var(--red-bright);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.release-verification p {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.82rem;
  line-height: 1.6;
}

.release-verification a {
  color: var(--text);
  font-size: 0.8rem;
  font-weight: 620;
  white-space: nowrap;
}

.release-verification a:hover {
  color: var(--red-bright);
}

.trust-access-dialog {
  width: min(760px, calc(100vw - 32px));
}

.trust-request-assets {
  display: grid;
  margin: 22px 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  grid-template-columns: repeat(3, 1fr);
  overflow: hidden;
}

.trust-request-assets > div {
  display: flex;
  min-width: 0;
  min-height: 136px;
  padding: 15px;
  background: #0b1016;
  flex-direction: column;
}

.trust-request-assets > div:not(:last-child) {
  border-right: 1px solid var(--line-soft);
}

.trust-request-assets span {
  color: var(--red-bright);
  font-family: var(--font-mono);
  font-size: 0.74rem;
}

.trust-request-assets strong {
  margin-top: 8px;
  color: var(--text-soft);
  font-size: 0.84rem;
}

.trust-request-assets small {
  margin-top: 5px;
  color: var(--text-dim);
  font-size: 0.75rem;
  line-height: 1.45;
}

@media (max-width: 1120px) {
  .benchmark-header,
  .benchmark-story,
  .trust-operations-grid,
  .production-panel {
    grid-template-columns: 1fr;
  }

  .benchmark-card + .benchmark-card {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .benchmark-card {
    min-height: 0;
  }

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

  .compliance-grid article {
    min-height: 270px;
  }

  .release-verification {
    grid-template-columns: 190px 1fr;
  }

  .release-verification a {
    grid-column: 2;
  }
}

@media (max-width: 900px) {
  .release-notice,
  .release-notice > div {
    align-items: flex-start;
    flex-direction: column;
  }

  .release-notice > div {
    gap: 6px;
  }

  .release-pulse {
    display: none;
  }

  .benchmark-header {
    gap: 30px;
  }

  .benchmark-results {
    grid-template-columns: 1fr;
  }

  .benchmark-results article {
    min-height: 170px;
  }

  .benchmark-results article:not(:last-child) {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .benchmark-method {
    grid-template-columns: 1fr;
  }

  .benchmark-method > p {
    grid-column: 1;
  }

  .trust-portal-foot,
  .release-verification {
    grid-template-columns: 1fr;
  }

  .release-verification a {
    grid-column: 1;
  }

  .trust-request-assets {
    grid-template-columns: 1fr;
  }

  .trust-request-assets > div {
    min-height: 108px;
  }

  .trust-request-assets > div:not(:last-child) {
    border-right: 0;
    border-bottom: 1px solid var(--line-soft);
  }
}

@media (max-width: 700px) {
  .benchmark-card,
  .assessment-package,
  .continuous-telemetry {
    padding: 22px;
  }

  .benchmark-challenge dl,
  .benchmark-method ul,
  .compliance-grid,
  .telemetry-thresholds {
    grid-template-columns: 1fr;
  }

  .benchmark-challenge dl div:not(:last-child) {
    border-right: 0;
    border-bottom: 1px solid var(--line-soft);
  }

  .benchmark-architecture {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .benchmark-architecture > span {
    transform: rotate(90deg);
  }

  .benchmark-method {
    padding: 22px;
  }

  .compliance-grid,
  .trust-operations-grid {
    padding-right: 12px;
    padding-left: 12px;
  }

  .trust-portal-bar,
  .trust-module-heading,
  .production-checklist-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .trust-portal-bar {
    min-height: 78px;
    padding-top: 14px;
    padding-bottom: 14px;
    justify-content: center;
  }

  .telemetry-status-list > div,
  .production-check-row {
    align-items: start;
    grid-template-columns: 28px 1fr;
  }

  .telemetry-status-list > div > b,
  .production-check-row > b {
    padding-top: 3px;
    grid-column: 2;
    text-align: left;
  }

  .telemetry-thresholds > span {
    grid-column: 1;
  }

  .trust-portal-foot .button {
    width: 100%;
  }
}

/* Phase 7 dialog overrides follow the legacy dialog layer intentionally. */
dialog.onboarding-dialog {
  width: min(900px, calc(100vw - 32px));
  max-height: min(920px, calc(100dvh - 32px));
}

.dialog-actions.onboarding-actions {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
}

@media (max-width: 760px) {
  .dialog-actions.onboarding-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .dialog-actions.onboarding-actions .button {
    width: 100%;
  }
}
