:root {
  --navy: #071b2f;
  --navy-2: #0b2740;
  --navy-3: #123651;
  --ink: #102a3d;
  --muted: #5f7282;
  --paper: #f4f7f6;
  --white: #ffffff;
  --line: #d9e3e2;
  --line-dark: rgba(255, 255, 255, 0.15);
  --mint: #9cf3cf;
  --mint-strong: #28b88a;
  --mint-dark: #087356;
  --mint-soft: #e5f8f0;
  --lime: #d6ff6f;
  --red: #b93832;
  --red-soft: #fff0ee;
  --amber: #97620a;
  --amber-soft: #fff5d9;
  --blue: #2f66de;
  --blue-soft: #edf3ff;
  --radius-sm: 12px;
  --radius: 19px;
  --radius-lg: 28px;
  --shadow-sm: 0 12px 35px rgba(7, 27, 47, 0.08);
  --shadow: 0 28px 80px rgba(3, 18, 32, 0.2);
  --shell: 1180px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  line-height: 1.55;
}

body,
button,
input,
textarea {
  font: inherit;
}

button,
input {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
}

svg {
  display: block;
}

[hidden] {
  display: none !important;
}

.shell {
  width: min(calc(100% - 48px), var(--shell));
  margin-inline: auto;
}

.shell-narrow {
  max-width: 900px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  border-radius: 8px;
  color: var(--navy);
  background: var(--lime);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

:focus-visible {
  outline: 3px solid #77b6ff;
  outline-offset: 3px;
}

.site-header {
  position: absolute;
  z-index: 10;
  top: 0;
  right: 0;
  left: 0;
  color: var(--white);
}

.header-inner {
  display: flex;
  min-height: 86px;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: inherit;
  font-size: 18px;
  font-weight: 620;
  letter-spacing: -0.025em;
  text-decoration: none;
}

.brand strong {
  color: var(--mint);
  font-weight: 850;
}

.brand-mark {
  display: grid;
  width: 39px;
  height: 39px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  color: var(--mint);
  background: rgba(255, 255, 255, 0.08);
}

.brand-mark svg {
  width: 27px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

.header-nav > a:not(.button) {
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  font-weight: 650;
  text-decoration: none;
}

.header-nav > a:not(.button):hover {
  color: var(--white);
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 11px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: -0.01em;
  text-align: center;
  text-decoration: none;
  transition: border-color 150ms ease, background-color 150ms ease, color 150ms ease, transform 150ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button:disabled {
  cursor: wait;
  opacity: 0.62;
  transform: none;
}

.button svg {
  width: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.button-small {
  min-height: 38px;
  padding-inline: 15px;
  border-radius: 9px;
  font-size: 11px;
}

.button-outline {
  border-color: rgba(255, 255, 255, 0.28);
  color: var(--white);
  background: rgba(255, 255, 255, 0.07);
}

.button-outline:hover {
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.12);
}

.button-primary {
  color: #05251b;
  background: var(--mint);
  box-shadow: 0 12px 25px rgba(25, 185, 136, 0.22);
}

.button-primary:hover {
  background: #b6f8dd;
}

.button-secondary,
.button-quiet {
  border-color: var(--line);
  color: var(--ink);
  background: var(--white);
}

.button-secondary:hover,
.button-quiet:hover {
  border-color: #b6c8c6;
}

.button-quiet {
  color: var(--muted);
  background: transparent;
}

.button-lime {
  color: var(--navy);
  background: var(--lime);
}

.button-lime:hover {
  background: #e1ff97;
}

.button-full {
  width: 100%;
}

.hero {
  position: relative;
  min-height: 760px;
  overflow: hidden;
  padding: 145px 0 102px;
  color: var(--white);
  background:
    radial-gradient(circle at 8% 14%, rgba(44, 200, 155, 0.2), transparent 28%),
    radial-gradient(circle at 86% 82%, rgba(77, 126, 230, 0.18), transparent 31%),
    linear-gradient(145deg, #061625, var(--navy) 47%, #0d2f49);
}

.hero::before {
  position: absolute;
  inset: 0;
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
  background-size: 58px 58px;
  content: "";
  mask-image: linear-gradient(to bottom, black, transparent 90%);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(430px, 0.82fr);
  gap: clamp(55px, 8vw, 110px);
  align-items: center;
}

.hero-copy {
  padding-bottom: 20px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 18px;
  color: var(--mint-dark);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero .eyebrow,
.eyebrow-light {
  color: var(--mint);
}

.eyebrow > span {
  width: 18px;
  height: 2px;
  border-radius: 99px;
  background: currentColor;
}

.hero h1 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(48px, 5.8vw, 76px);
  font-weight: 750;
  letter-spacing: -0.067em;
  line-height: 0.98;
}

.hero h1 em {
  color: var(--mint);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -0.05em;
}

.hero-lead {
  max-width: 660px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 17px;
  line-height: 1.7;
}

.trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 23px;
  margin: 27px 0 0;
  padding: 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 12px;
  font-weight: 680;
  list-style: none;
}

.trust-list li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.trust-list li span {
  color: var(--mint);
}

.audit-card {
  padding: 31px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-lg);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.97);
  box-shadow: var(--shadow);
}

.card-heading {
  margin-bottom: 22px;
}

.card-kicker {
  margin: 0 0 7px;
  color: var(--mint-dark);
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.card-heading h2 {
  margin: 0;
  font-size: 27px;
  letter-spacing: -0.045em;
}

.card-heading > p:last-child {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.field label,
.selector-fieldset legend {
  display: block;
  margin-bottom: 8px;
  color: #314c5d;
  font-size: 13px;
  font-weight: 800;
}

.selector-fieldset {
  min-width: 0;
  margin: 19px 0 0;
  padding: 0;
  border: 0;
}

.selector-fieldset legend {
  width: 100%;
  margin-bottom: 2px;
}

.selector-fieldset legend span {
  float: right;
  color: #72838f;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.domain-field {
  display: grid;
  grid-template-columns: 38px 1fr;
  min-height: 54px;
  align-items: center;
  overflow: hidden;
  border: 1px solid #c9d6d5;
  border-radius: 12px;
  background: var(--white);
  transition: border-color 150ms ease, box-shadow 150ms ease;
}

.domain-field:focus-within {
  border-color: var(--mint-strong);
  box-shadow: 0 0 0 4px rgba(40, 184, 138, 0.12);
}

.domain-field > span {
  color: var(--mint-dark);
  font-weight: 850;
  text-align: right;
}

.domain-field input,
.selector-row input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 14px;
  font-weight: 650;
}

.domain-field input {
  height: 52px;
  padding: 0 15px 0 8px;
}

.domain-field input::placeholder,
.selector-row input::placeholder {
  color: #94a3ac;
  font-weight: 500;
}

.field-hint {
  margin: 6px 0 0;
  color: #71818c;
  font-size: 10px;
}

.selector-list {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.selector-row {
  display: grid;
  grid-template-columns: 1fr 38px;
  gap: 6px;
}

.selector-row input {
  min-height: 44px;
  padding: 0 13px;
  border: 1px solid #cfdad9;
  border-radius: 10px;
}

.selector-row input:focus {
  border-color: var(--mint-strong);
  box-shadow: 0 0 0 3px rgba(40, 184, 138, 0.11);
}

.icon-button {
  min-height: 38px;
  border: 1px solid #d8e1e1;
  border-radius: 9px;
  color: #6d7e88;
  background: #f4f7f6;
  cursor: pointer;
  font-size: 19px;
}

.icon-button:hover {
  color: var(--red);
  background: var(--red-soft);
}

.selector-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-top: 8px;
}

.selector-actions > span {
  color: #75858f;
  font-size: 9px;
  font-weight: 680;
}

.text-button {
  padding: 4px 0;
  border: 0;
  color: var(--mint-dark);
  background: transparent;
  cursor: pointer;
  font-size: 10px;
  font-weight: 800;
}

.text-button:hover {
  text-decoration: underline;
}

.text-button:disabled {
  color: #89979d;
  cursor: not-allowed;
  text-decoration: none;
}

.form-error {
  min-height: 20px;
  margin: 11px 0 6px;
  color: var(--red);
  font-size: 13px;
  font-weight: 700;
}

.mini-boundary {
  display: grid;
  grid-template-columns: 27px 1fr;
  gap: 11px;
  align-items: start;
  margin-top: 16px;
  padding: 13px;
  border: 1px solid #d8e5e2;
  border-radius: 11px;
  background: #f1f7f5;
}

.mini-boundary svg {
  width: 24px;
  fill: none;
  stroke: var(--mint-dark);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mini-boundary p {
  margin: 0;
  color: #526974;
  font-size: 13px;
  line-height: 1.55;
}

.mini-boundary strong {
  color: var(--ink);
}

.state-section,
.results-section {
  padding: 82px 0 105px;
}

.progress-card,
.message-card {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 36px;
  align-items: center;
  padding: 45px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.progress-card h2,
.message-card h2 {
  margin: 0;
  font-size: clamp(27px, 4vw, 38px);
  letter-spacing: -0.05em;
  line-height: 1.08;
}

.progress-card p,
.message-card p {
  color: var(--muted);
}

.eyebrow-dark {
  color: var(--mint-dark) !important;
}

.radar {
  position: relative;
  width: 138px;
  height: 138px;
  overflow: hidden;
  border: 1px solid #c6e3d9;
  border-radius: 50%;
  background:
    linear-gradient(90deg, transparent 49.5%, #cae7dd 50%, transparent 50.5%),
    linear-gradient(transparent 49.5%, #cae7dd 50%, transparent 50.5%),
    var(--mint-soft);
}

.radar::before,
.radar::after {
  position: absolute;
  inset: 24%;
  border: 1px solid #b7ddcf;
  border-radius: 50%;
  content: "";
}

.radar::after {
  inset: 40%;
}

.radar span {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--mint-dark);
  box-shadow: 0 0 0 5px rgba(8, 115, 86, 0.13);
}

.radar span:first-child { top: 31%; left: 64%; }
.radar span:nth-child(2) { right: 62%; bottom: 28%; }

.radar i {
  position: absolute;
  inset: 50% 50% 0 0;
  border-radius: 100% 0 0;
  background: linear-gradient(25deg, transparent, rgba(40, 184, 138, 0.42));
  transform-origin: 100% 0;
  animation: scan 2s linear infinite;
}

@keyframes scan {
  to { transform: rotate(360deg); }
}

.indeterminate-progress {
  height: 7px;
  overflow: hidden;
  margin: 22px 0 9px;
  border-radius: 99px;
  background: #e6eeec;
}

.indeterminate-progress span {
  display: block;
  width: 36%;
  height: 100%;
  border-radius: inherit;
  background: var(--mint-strong);
  animation: progress 1.4s ease-in-out infinite;
}

@keyframes progress {
  from { transform: translateX(-105%); }
  to { transform: translateX(280%); }
}

.progress-note {
  margin: 0;
  font-size: 10px;
}

.message-card-error {
  border-color: #ecccca;
}

.message-icon {
  display: grid;
  width: 75px;
  height: 75px;
  place-items: center;
  border-radius: 20px;
  color: var(--red);
  background: var(--red-soft);
  font-family: Georgia, serif;
  font-size: 38px;
}

.message-label {
  margin: 0 0 8px;
  color: var(--red) !important;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.message-card .button {
  margin-top: 10px;
}

.results-section {
  background:
    radial-gradient(circle at 90% 5%, rgba(47, 102, 222, 0.07), transparent 26%),
    var(--paper);
}

.results-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 24px;
}

.results-header h2 {
  margin: 0;
  font-size: clamp(35px, 5vw, 55px);
  letter-spacing: -0.06em;
  line-height: 1.02;
}

.results-header h2 span {
  color: var(--mint-dark);
}

.results-meta {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.results-actions {
  display: flex;
  gap: 9px;
}

.copy-status {
  min-height: 19px;
  margin: -10px 0 12px;
  color: var(--mint-dark);
  font-size: 13px;
  text-align: right;
}

.result-overview {
  display: grid;
  grid-template-columns: 1.28fr repeat(2, minmax(0, 0.8fr));
  gap: 14px;
}

.score-card,
.metric-card {
  min-height: 190px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 8px 24px rgba(7, 27, 47, 0.045);
}

.score-card {
  display: grid;
  grid-template-columns: 124px 1fr;
  gap: 23px;
  align-items: center;
}

.score-ring {
  position: relative;
  display: grid;
  width: 124px;
  height: 124px;
  place-items: center;
  border-radius: 50%;
  background: conic-gradient(var(--score-color, #aab8bd) 0%, #e8eeec 0);
}

.score-ring::before {
  position: absolute;
  inset: 12px;
  border-radius: 50%;
  background: var(--white);
  content: "";
}

.score-ring > span {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: baseline;
}

.score-ring strong {
  font-size: 38px;
  letter-spacing: -0.07em;
}

.score-ring small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.score-tone-strong { --score-color: var(--mint-strong); }
.score-tone-watch { --score-color: #e5a72e; }
.score-tone-risk { --score-color: #d2534d; }
.score-tone-incomplete,
.score-tone-unknown { --score-color: #7c8e98; }
.score-ring.score-progress-0 { background: conic-gradient(var(--score-color) 0%, #e8eeec 0); }
.score-ring.score-progress-10 { background: conic-gradient(var(--score-color) 10%, #e8eeec 0); }
.score-ring.score-progress-20 { background: conic-gradient(var(--score-color) 20%, #e8eeec 0); }
.score-ring.score-progress-30 { background: conic-gradient(var(--score-color) 30%, #e8eeec 0); }
.score-ring.score-progress-40 { background: conic-gradient(var(--score-color) 40%, #e8eeec 0); }
.score-ring.score-progress-50 { background: conic-gradient(var(--score-color) 50%, #e8eeec 0); }
.score-ring.score-progress-60 { background: conic-gradient(var(--score-color) 60%, #e8eeec 0); }
.score-ring.score-progress-70 { background: conic-gradient(var(--score-color) 70%, #e8eeec 0); }
.score-ring.score-progress-80 { background: conic-gradient(var(--score-color) 80%, #e8eeec 0); }
.score-ring.score-progress-90 { background: conic-gradient(var(--score-color) 90%, #e8eeec 0); }
.score-ring.score-progress-100 { background: conic-gradient(var(--score-color) 100%, #e8eeec 0); }

.metric-label {
  margin: 0 0 7px !important;
  color: #536976 !important;
  font-size: 12px !important;
  font-weight: 850;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.share-retention {
  margin: 0 0 22px;
  color: #536976;
  font-size: 12px;
  line-height: 1.55;
}

.score-card > div:last-child > strong,
.metric-card > strong {
  display: block;
  color: var(--ink);
  font-size: 20px;
  letter-spacing: -0.035em;
}

.score-card p:last-child,
.metric-card p:last-child {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.metric-card {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.metric-card > strong {
  font-size: 34px;
}

.metric-icon {
  display: grid;
  width: 40px;
  height: 40px;
  margin-bottom: auto;
  place-items: center;
  border-radius: 11px;
  color: var(--blue);
  background: var(--blue-soft);
  font-size: 21px;
}

.posture-card .metric-icon {
  color: var(--mint-dark);
  background: var(--mint-soft);
}

.result-boundary {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 16px;
  align-items: start;
  margin: 14px 0;
  padding: 20px 22px;
  border: 1px solid #d6dfc2;
  border-radius: 15px;
  background: #f8fbe9;
}

.boundary-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 11px;
  color: #526b0f;
  background: var(--lime);
  font-family: Georgia, serif;
  font-size: 20px;
  font-weight: 700;
}

.result-boundary h3 {
  margin: 0 0 4px;
  font-size: 14px;
}

.result-boundary p {
  margin: 0;
  color: #536470;
  font-size: 14px;
}

.report-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 350px;
  gap: 14px;
  align-items: start;
}

.report-column {
  display: grid;
  gap: 14px;
}

.report-block,
.records-panel {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 8px 24px rgba(7, 27, 47, 0.04);
}

.records-panel {
  position: sticky;
  top: 18px;
}

.block-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}

.section-number {
  margin: 0 0 5px;
  color: var(--mint-dark);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.block-heading h3,
.records-heading h3 {
  margin: 0;
  font-size: 24px;
  letter-spacing: -0.045em;
  line-height: 1.08;
}

.summary-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 5px;
}

.summary-chip,
.count-chip,
.status-badge,
.severity-badge {
  display: inline-flex;
  min-height: 24px;
  align-items: center;
  padding: 0 9px;
  border-radius: 99px;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.summary-chip {
  color: #4d616d;
  background: #eef2f1;
}

.count-chip {
  flex: 0 0 auto;
  color: #536772;
  background: #eef2f1;
}

.checks-list,
.findings-list {
  display: grid;
  gap: 9px;
}

.check-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 13px;
  align-items: start;
  padding: 15px;
  border: 1px solid #e1e8e7;
  border-radius: 13px;
  background: #fbfcfc;
}

.check-item > div {
  min-width: 0;
}

.check-item h4 {
  margin: 1px 0 3px;
  font-size: 15px;
}

.check-item p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.check-evidence {
  display: block;
  margin-top: 8px;
  padding: 8px 10px;
  overflow-wrap: anywhere;
  border-radius: 7px;
  color: #405a69;
  background: #eef3f3;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 12px;
  white-space: pre-wrap;
}

.status-pass { color: var(--mint-dark); background: var(--mint-soft); }
.status-warning { color: var(--amber); background: var(--amber-soft); }
.status-fail { color: var(--red); background: var(--red-soft); }
.status-unknown,
.status-not_applicable { color: #556976; background: #edf1f2; }

.finding-item {
  overflow: hidden;
  border: 1px solid #e0e7e6;
  border-radius: 13px;
  background: #fbfcfc;
}

.finding-item summary {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
  min-height: 61px;
  padding: 13px 15px;
  cursor: pointer;
  list-style: none;
}

.finding-item summary::-webkit-details-marker {
  display: none;
}

.finding-item summary::after {
  width: 8px;
  height: 8px;
  border-right: 2px solid #73848d;
  border-bottom: 2px solid #73848d;
  content: "";
  transform: rotate(45deg);
  transition: transform 150ms ease;
}

.finding-item[open] summary::after {
  transform: rotate(225deg);
}

.finding-title {
  min-width: 0;
}

.finding-title strong,
.finding-title span {
  display: block;
}

.finding-title strong {
  font-size: 13px;
}

.finding-title span {
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
  text-transform: capitalize;
}

.severity-critical,
.severity-high { color: var(--red); background: var(--red-soft); }
.severity-medium { color: var(--amber); background: var(--amber-soft); }
.severity-low { color: var(--blue); background: var(--blue-soft); }
.severity-info { color: var(--mint-dark); background: var(--mint-soft); }

.finding-body {
  display: grid;
  gap: 13px;
  padding: 0 16px 17px 104px;
}

.finding-body > div {
  padding-top: 11px;
  border-top: 1px solid #e2e8e7;
}

.finding-body strong {
  display: block;
  margin-bottom: 4px;
  color: #60717c;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.finding-body p,
.finding-body code {
  display: block;
  margin: 0;
  overflow-wrap: anywhere;
  color: #465e6c;
  font-family: inherit;
  font-size: 14px;
  line-height: 1.6;
  white-space: pre-wrap;
}

.finding-body code {
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 12px;
}

.finding-body .recommendation {
  padding: 11px 13px;
  border: 0;
  border-left: 3px solid var(--mint-strong);
  border-radius: 0 8px 8px 0;
  background: var(--mint-soft);
}

.records-heading > p:last-child {
  margin: 8px 0 20px;
  color: var(--muted);
  font-size: 13px;
}

.records-list {
  display: grid;
  gap: 8px;
}

.record-group {
  overflow: hidden;
  border: 1px solid #e0e8e7;
  border-radius: 11px;
  background: #fbfcfc;
}

.record-group summary {
  display: flex;
  min-height: 46px;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 10px 12px;
  cursor: pointer;
  list-style: none;
}

.record-group summary::-webkit-details-marker {
  display: none;
}

.record-group summary strong {
  font-size: 14px;
}

.record-status {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.record-body {
  display: grid;
  gap: 9px;
  padding: 0 12px 13px;
}

.record-row {
  padding-top: 9px;
  border-top: 1px solid #e1e8e7;
}

.record-row dt {
  margin-bottom: 3px;
  color: #566c77;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.record-row dd {
  margin: 0;
  overflow-wrap: anywhere;
  color: #365160;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 12px;
  white-space: pre-wrap;
}

.empty-state {
  padding: 21px;
  border: 1px dashed #bdcac8;
  border-radius: 12px;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

.repair-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 40px;
  align-items: center;
  margin-top: 14px;
  padding: 39px 42px;
  border-radius: var(--radius-lg);
  color: var(--white);
  background:
    radial-gradient(circle at 12% 0%, rgba(156, 243, 207, 0.16), transparent 37%),
    var(--navy);
  box-shadow: var(--shadow-sm);
}

.repair-cta h3 {
  max-width: 700px;
  margin: 0;
  font-size: clamp(27px, 4vw, 40px);
  letter-spacing: -0.05em;
  line-height: 1.08;
}

.repair-cta p:last-child {
  max-width: 700px;
  margin: 13px 0 0;
  color: rgba(255, 255, 255, 0.66);
  font-size: 12px;
}

.scope-section {
  padding: 110px 0;
  background: var(--white);
}

.section-intro {
  display: grid;
  grid-template-columns: 1fr 0.72fr;
  gap: 80px;
  align-items: end;
  margin-bottom: 45px;
}

.section-intro h2,
.limits-section h2 {
  margin: 0;
  font-size: clamp(36px, 5vw, 56px);
  letter-spacing: -0.06em;
  line-height: 1.02;
}

.section-intro > p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.scope-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.scope-grid article {
  min-height: 235px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #f9fbfa;
}

.scope-grid article > span {
  color: var(--mint-dark);
  font-family: Georgia, serif;
  font-size: 17px;
  font-style: italic;
}

.scope-grid h3 {
  margin: 65px 0 8px;
  font-size: 20px;
  letter-spacing: -0.035em;
}

.scope-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.limits-section {
  padding: 105px 0;
  color: var(--white);
  background:
    linear-gradient(125deg, rgba(47, 102, 222, 0.12), transparent 35%),
    var(--navy);
}

.limits-grid {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: 95px;
  align-items: start;
}

.limits-grid > div > p:last-child {
  max-width: 540px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.64);
  font-size: 14px;
}

.limits-list {
  display: grid;
  gap: 1px;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  background: var(--line-dark);
  list-style: none;
}

.limits-list li {
  display: grid;
  gap: 4px;
  padding: 20px 22px;
  background: rgba(255, 255, 255, 0.055);
}

.limits-list strong {
  color: var(--mint);
  font-size: 12px;
}

.limits-list span {
  color: rgba(255, 255, 255, 0.62);
  font-size: 14px;
}

.privacy-strip {
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
  background: #e6efed;
}

.privacy-strip .shell {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 30px;
  align-items: center;
}

.privacy-strip strong {
  font-size: 12px;
}

.privacy-strip p {
  margin: 0;
  color: #536975;
  font-size: 12px;
  line-height: 1.55;
}

.privacy-strip a {
  color: var(--mint-dark);
  font-size: 12px;
  font-weight: 800;
}

.site-footer {
  padding: 34px 0;
  color: var(--white);
  background: #041321;
}

.footer-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 35px;
  align-items: center;
}

.brand-footer {
  font-size: 14px;
}

.footer-inner > p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 9px;
}

.footer-inner nav {
  display: flex;
  gap: 18px;
}

.footer-inner nav a {
  color: rgba(255, 255, 255, 0.65);
  font-size: 10px;
  text-decoration: none;
}

.toast {
  position: fixed;
  z-index: 100;
  right: 18px;
  bottom: 18px;
  max-width: min(390px, calc(100vw - 36px));
  padding: 13px 17px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 11px;
  color: var(--white);
  background: var(--navy);
  box-shadow: var(--shadow);
  font-size: 11px;
  font-weight: 700;
}

.noscript {
  position: fixed;
  z-index: 200;
  right: 14px;
  bottom: 14px;
  left: 14px;
  margin: 0;
  padding: 15px;
  border-radius: 10px;
  color: var(--white);
  background: var(--red);
  text-align: center;
}

@media (max-width: 1030px) {
  .hero-grid {
    grid-template-columns: 1fr;
    max-width: 790px;
  }

  .hero {
    padding-bottom: 120px;
  }

  .audit-card {
    max-width: 650px;
  }

  .result-overview {
    grid-template-columns: 1fr 1fr;
  }

  .score-card {
    grid-column: 1 / -1;
  }

  .report-layout {
    grid-template-columns: 1fr;
  }

  .records-panel {
    position: static;
  }

  .scope-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .section-intro,
  .limits-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .privacy-strip .shell {
    grid-template-columns: auto 1fr;
  }

  .privacy-strip a {
    grid-column: 2;
  }
}

@media (max-width: 720px) {
  .shell {
    width: min(calc(100% - 28px), var(--shell));
  }

  .header-inner {
    min-height: 70px;
  }

  .header-nav > a:not(.button) {
    display: none;
  }

  .header-nav {
    gap: 8px;
  }

  .hero {
    min-height: auto;
    padding: 115px 0 76px;
  }

  .hero-grid {
    gap: 41px;
  }

  .hero h1 {
    font-size: clamp(42px, 12.5vw, 58px);
  }

  .hero-lead {
    font-size: 15px;
  }

  .audit-card {
    padding: 24px 19px;
    border-radius: 22px;
  }

  .state-section,
  .results-section {
    padding: 56px 0 76px;
  }

  .progress-card,
  .message-card {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 28px 22px;
  }

  .radar {
    width: 104px;
    height: 104px;
  }

  .results-header {
    display: grid;
  }

  .results-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .copy-status {
    text-align: left;
  }

  .result-overview {
    grid-template-columns: 1fr;
  }

  .score-card {
    grid-column: auto;
  }

  .result-boundary {
    grid-template-columns: 35px 1fr;
    padding: 17px;
  }

  .boundary-mark {
    width: 32px;
    height: 32px;
  }

  .report-block,
  .records-panel {
    padding: 22px 17px;
  }

  .block-heading {
    display: grid;
  }

  .summary-chips {
    justify-content: flex-start;
  }

  .finding-item summary {
    grid-template-columns: 1fr auto;
  }

  .finding-item summary .severity-badge {
    grid-column: 1;
    justify-self: start;
  }

  .finding-body {
    padding: 0 15px 16px;
  }

  .repair-cta {
    grid-template-columns: 1fr;
    gap: 25px;
    padding: 32px 21px;
    border-radius: 22px;
  }

  .repair-cta .button {
    width: 100%;
  }

  .scope-section,
  .limits-section {
    padding: 78px 0;
  }

  .scope-grid {
    grid-template-columns: 1fr;
  }

  .scope-grid article {
    min-height: 190px;
  }

  .scope-grid h3 {
    margin-top: 40px;
  }

  .privacy-strip .shell,
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .privacy-strip a {
    grid-column: auto;
  }
}

@media (max-width: 470px) {
  .brand {
    font-size: 15px;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
  }

  .header-nav .button {
    min-height: 35px;
    padding-inline: 10px;
  }

  .trust-list {
    display: grid;
  }

  .results-actions {
    grid-template-columns: 1fr;
  }

  .score-card {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .score-ring {
    margin-inline: auto;
  }
}

@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;
  }
}

@media (forced-colors: active) {
  .score-ring {
    border: 8px solid CanvasText;
    background: Canvas;
  }

  .eyebrow > span {
    background: CanvasText;
  }
}
