:root {
  --paper: #080d14;
  --ink: #f8fbff;
  --muted: #aeb8c8;
  --surface: #ffffff;
  --surface-2: #111926;
  --line: #263349;
  --green: #0d63f5;
  --green-dark: #061f49;
  --teal: #146bff;
  --amber: #ffd000;
  --amber-soft: #fff0ad;
  --red: #e11313;
  --red-soft: #ffe4e4;
  --charcoal: #05070b;
  --cream: #f4eee4;
  --shadow: 0 24px 54px rgba(0, 0, 0, 0.38);
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 18% -10%, rgba(225, 19, 19, 0.22), transparent 28rem),
    radial-gradient(circle at 75% 8%, rgba(13, 99, 245, 0.2), transparent 28rem),
    var(--paper);
}

section {
  scroll-margin-top: 88px;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

a {
  color: inherit;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 12px clamp(18px, 5vw, 56px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(5, 7, 11, 0.92);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 7px 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.34);
  text-decoration: none;
}

.brand-logo {
  display: block;
  width: auto;
  height: 48px;
  max-width: min(312px, 62vw);
  object-fit: contain;
}

.topnav {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-size: 0.92rem;
}

.topnav a {
  text-decoration: none;
}

.topnav a:hover {
  color: #ffffff;
}

.hero-band {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(300px, 0.82fr);
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
  min-height: auto;
  padding: clamp(34px, 5vw, 58px) clamp(18px, 5vw, 56px) clamp(26px, 4vw, 42px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  background:
    linear-gradient(100deg, rgba(0, 0, 0, 0.72), rgba(6, 26, 58, 0.74) 48%, rgba(5, 7, 11, 0.92)),
    repeating-linear-gradient(-8deg, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 9px);
}

.hero-copy {
  max-width: 780px;
}

.kicker {
  margin: 0 0 10px;
  color: var(--amber);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  max-width: 880px;
  font-family: Impact, Haettenschweiler, "Arial Black", system-ui, sans-serif;
  font-size: clamp(3.1rem, 8.2vw, 7.8rem);
  line-height: 0.9;
  text-transform: uppercase;
  letter-spacing: 0;
}

.hero-summary {
  max-width: 680px;
  margin: 22px 0 0;
  color: #edf3ff;
  font-size: clamp(1rem, 2vw, 1.25rem);
  line-height: 1.58;
}

.legal-note {
  max-width: 820px;
  margin: 18px 0 0;
  padding: 12px 14px;
  border: 1px solid rgba(255, 208, 0, 0.34);
  border-left: 5px solid var(--amber);
  border-radius: 4px;
  color: #f5f8ff;
  background: rgba(7, 12, 20, 0.78);
  font-size: 0.88rem;
  line-height: 1.48;
}

.legal-note.compact {
  margin-top: 18px;
  font-size: 0.88rem;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 11px 16px;
  border: 1px solid transparent;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 800;
  line-height: 1.1;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease, background 160ms ease;
}

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

.button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(13, 99, 245, 0.28);
  outline-offset: 2px;
}

.button.primary {
  color: #ffffff;
  background: linear-gradient(180deg, #e51a1a, #a70707);
  box-shadow: 0 12px 24px rgba(225, 19, 19, 0.3);
}

.button.primary:hover {
  background: linear-gradient(180deg, #ff2525, #b50909);
}

.button.secondary {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
}

.button.ghost {
  color: var(--amber);
  border-color: rgba(255, 208, 0, 0.36);
  background: rgba(0, 0, 0, 0.25);
}

.button.warning {
  margin-top: 18px;
  color: #080d14;
  background: var(--amber);
  box-shadow: 0 12px 22px rgba(255, 208, 0, 0.18);
}

.button[disabled] {
  cursor: not-allowed;
  opacity: 0.48;
  transform: none;
  box-shadow: none;
}

.button[disabled]:hover {
  transform: none;
}

.hero-media {
  margin: 0;
}

.hero-media img {
  display: block;
  width: 100%;
  max-height: 620px;
  object-fit: contain;
  filter: drop-shadow(var(--shadow));
}

.poster-media {
  justify-self: end;
  max-width: 430px;
}

.poster-media img {
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.48);
}

.alert-strip {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 16px clamp(18px, 5vw, 56px);
  color: #ffffff;
  background: linear-gradient(90deg, #b40707, #e11313 48%, #b40707);
  border-top: 3px solid var(--amber);
  border-bottom: 3px solid var(--amber);
  text-transform: uppercase;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.alert-strip span {
  color: #fff5d0;
  font-size: 0.95rem;
  text-transform: none;
}

.alert-strip a {
  color: #080d14;
  background: var(--amber);
  border-radius: 4px;
  padding: 9px 12px;
  text-decoration: none;
}

.why-band,
.how-band,
.protect-band,
.tool-intro {
  padding: clamp(42px, 7vw, 82px) clamp(18px, 5vw, 56px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.why-band,
.protect-band {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: start;
  background: #0b111b;
}

.section-copy {
  max-width: 760px;
}

.section-copy.centered {
  max-width: 820px;
  margin: 0 auto 26px;
  text-align: center;
}

.section-copy h2,
.record-band h2,
.tool-intro h2 {
  margin: 0;
  font-family: Impact, Haettenschweiler, "Arial Black", system-ui, sans-serif;
  font-size: clamp(2.4rem, 5.8vw, 5rem);
  line-height: 0.95;
  text-transform: uppercase;
  letter-spacing: 0;
}

.section-copy p,
.record-band p,
.tool-intro p {
  margin: 18px 0 0;
  color: #d7e2f5;
  font-size: 1rem;
  line-height: 1.62;
}

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

.issue-grid article,
.process-grid article {
  min-width: 0;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.035));
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.22);
}

.issue-grid span {
  display: block;
  color: var(--amber);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.issue-grid strong,
.process-grid strong {
  display: block;
  margin-top: 8px;
  font-size: 1.02rem;
  color: #ffffff;
}

.issue-grid p,
.process-grid p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.issue-icon {
  display: inline-block;
  width: 42px;
  height: 42px;
  margin-bottom: 12px;
  border-radius: 50%;
  background: #e11313;
  position: relative;
  box-shadow: inset 0 0 0 3px rgba(255, 255, 255, 0.18);
}

.issue-icon::before,
.issue-icon::after {
  content: "";
  position: absolute;
  background: #ffffff;
}

.form-icon::before {
  width: 18px;
  height: 22px;
  left: 12px;
  top: 10px;
  border-radius: 2px;
}

.form-icon::after {
  width: 12px;
  height: 2px;
  left: 15px;
  top: 18px;
  box-shadow: 0 6px 0 #e11313;
}

.permit-icon::before {
  width: 22px;
  height: 15px;
  left: 10px;
  top: 14px;
  border-radius: 2px;
}

.permit-icon::after {
  width: 7px;
  height: 7px;
  left: 14px;
  top: 18px;
  border-radius: 50%;
  background: #e11313;
}

.notice-icon::before {
  width: 22px;
  height: 4px;
  left: 10px;
  top: 13px;
  box-shadow: 0 7px 0 #ffffff, 0 14px 0 #ffffff;
}

.denied-icon::before,
.denied-icon::after {
  width: 24px;
  height: 5px;
  left: 9px;
  top: 18px;
  border-radius: 99px;
}

.denied-icon::before {
  transform: rotate(45deg);
}

.denied-icon::after {
  transform: rotate(-45deg);
}

.inline-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  color: var(--amber);
  font-weight: 900;
  text-decoration: none;
  text-transform: uppercase;
}

.inline-cta:hover {
  color: #ffffff;
}

.record-band {
  display: grid;
  grid-template-columns: minmax(260px, 0.76fr) minmax(0, 1fr);
  gap: clamp(22px, 5vw, 58px);
  align-items: center;
  padding: clamp(34px, 6vw, 66px) clamp(18px, 5vw, 56px);
  border-bottom: 1px solid rgba(6, 26, 58, 0.12);
  color: #ffffff;
  background:
    linear-gradient(90deg, rgba(225, 19, 19, 0.86), rgba(108, 0, 0, 0.92)),
    repeating-linear-gradient(-8deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 8px);
}

.record-band .kicker,
.record-band p {
  color: #eaf2ff;
}

.record-band p {
  max-width: 760px;
  margin: 0;
  font-size: clamp(1rem, 2vw, 1.22rem);
}

.how-band {
  background: #070b12;
}

.step-number.large {
  width: 34px;
  height: 34px;
  color: #ffffff;
  background: var(--red);
}

.protect-list {
  display: grid;
  gap: 10px;
}

.protect-list p {
  margin: 0;
  padding: 15px 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-left: 5px solid var(--red);
  border-radius: 8px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.07);
  font-weight: 760;
  line-height: 1.46;
}

.tool-intro {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  background: linear-gradient(90deg, #ffd000, #ffb400);
  color: #080d14;
}

.tool-intro .kicker,
.tool-intro p {
  color: #080d14;
}

.tool-intro .button.primary {
  color: #ffffff;
  background: #080d14;
}

.cta-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin-top: 24px;
  padding: 22px;
  border: 1px solid rgba(255, 208, 0, 0.35);
  border-radius: 8px;
  background: linear-gradient(90deg, rgba(255, 208, 0, 0.14), rgba(225, 19, 19, 0.12));
}

.cta-panel h3 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(1.35rem, 3vw, 2.2rem);
  line-height: 1.08;
}

.poster-proof {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 1.1fr);
  gap: clamp(24px, 5vw, 62px);
  align-items: center;
  padding: clamp(42px, 7vw, 82px) clamp(18px, 5vw, 56px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background:
    radial-gradient(circle at 74% 48%, rgba(225, 19, 19, 0.24), transparent 22rem),
    #090e16;
}

.proof-card {
  max-width: 760px;
}

.proof-card h2 {
  margin: 12px 0 0;
  font-family: Impact, Haettenschweiler, "Arial Black", system-ui, sans-serif;
  font-size: clamp(2.35rem, 6vw, 5.4rem);
  line-height: 0.94;
  text-transform: uppercase;
}

.proof-card p {
  margin: 18px 0 0;
  color: #d7e2f5;
  line-height: 1.6;
}

.stamp {
  display: inline-flex;
  margin: 0;
  padding: 7px 12px;
  border: 3px solid currentColor;
  border-radius: 6px;
  color: var(--red);
  font-family: Impact, Haettenschweiler, "Arial Black", system-ui, sans-serif;
  font-size: clamp(1.7rem, 4vw, 3rem);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  transform: rotate(-4deg);
}

.paper-stack {
  position: relative;
  min-height: 380px;
}

.paper {
  position: absolute;
  width: min(430px, 82vw);
  min-height: 210px;
  padding: 26px;
  border: 1px solid #b7b0a6;
  color: #111111;
  background:
    repeating-linear-gradient(0deg, transparent 0 27px, rgba(0, 0, 0, 0.12) 28px),
    var(--cream);
  box-shadow: 0 24px 44px rgba(0, 0, 0, 0.42);
}

.paper strong {
  display: block;
  font-size: 1.25rem;
  text-transform: uppercase;
}

.paper span {
  display: block;
  margin-top: 6px;
  color: #333333;
}

.paper em {
  position: absolute;
  right: 28px;
  bottom: 28px;
  padding: 8px 14px;
  border: 4px solid var(--red);
  border-radius: 6px;
  color: var(--red);
  font-family: Impact, Haettenschweiler, "Arial Black", system-ui, sans-serif;
  font-size: 2.2rem;
  font-style: normal;
  line-height: 1;
  text-transform: uppercase;
  transform: rotate(-10deg);
}

.denied-paper {
  top: 0;
  right: 8%;
  transform: rotate(4deg);
}

.permit-paper {
  top: 135px;
  left: 3%;
  transform: rotate(-6deg);
}

.tool-intro > div {
  max-width: 760px;
}

.screening-band {
  --ink: #061a3a;
  --muted: #52627a;
  --line: #d7e1ef;

  padding: clamp(24px, 5vw, 56px) clamp(18px, 5vw, 56px) clamp(44px, 7vw, 78px);
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.5), rgba(238, 245, 255, 0.78)),
    var(--surface-2);
}

.screening-layout {
  display: grid;
  grid-template-columns: minmax(240px, 320px) minmax(0, 1fr);
  gap: 22px;
  max-width: 1280px;
  margin: 0 auto;
}

.progress-rail {
  position: sticky;
  top: 96px;
  align-self: start;
}

.progress-shell,
.screening-panel,
.result-main,
.detail-panel {
  border: 1px solid rgba(6, 26, 58, 0.12);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 12px 30px rgba(6, 26, 58, 0.08);
}

.progress-shell {
  padding: 18px;
}

.meter-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 0.86rem;
}

.meter-label strong {
  color: var(--ink);
}

.meter-track {
  height: 8px;
  margin-top: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: #dbe7f8;
}

.meter-track span {
  display: block;
  width: 0%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--green), var(--teal), var(--amber));
  transition: width 180ms ease;
}

.step-list {
  display: grid;
  gap: 6px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.step-list button {
  width: 100%;
  display: grid;
  grid-template-columns: 28px 1fr;
  align-items: center;
  gap: 10px;
  padding: 9px;
  border: 1px solid transparent;
  border-radius: 8px;
  color: var(--muted);
  background: transparent;
  text-align: left;
}

.step-list button:hover {
  background: #eef5ff;
}

.step-list button.active {
  color: var(--green-dark);
  border-color: rgba(13, 99, 245, 0.24);
  background: #eaf2ff;
}

.step-list button.complete .step-number {
  color: #ffffff;
  background: var(--green);
}

.step-number {
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  color: #35435a;
  background: #dbe7f8;
  font-size: 0.76rem;
  font-weight: 900;
}

.step-name {
  min-width: 0;
  font-size: 0.86rem;
  font-weight: 800;
  line-height: 1.2;
}

.risk-preview {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: start;
  margin-top: 18px;
  padding: 12px;
  border-radius: 8px;
  background: #f6f9ff;
  color: #3b4a64;
  font-size: 0.86rem;
  line-height: 1.35;
}

.status-dot {
  width: 11px;
  height: 11px;
  margin-top: 3px;
  border-radius: 50%;
  background: var(--green);
}

.status-dot.yellow {
  background: var(--amber);
}

.status-dot.red {
  background: var(--red);
}

.screening-panel {
  min-height: 680px;
  padding: clamp(20px, 4vw, 34px);
}

.step-header {
  display: grid;
  gap: 8px;
  margin-bottom: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.step-header h2 {
  margin: 0;
  font-size: clamp(1.55rem, 3vw, 2.35rem);
  line-height: 1.08;
  letter-spacing: 0;
}

.step-header p:not(.kicker) {
  max-width: 780px;
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.fields-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.field {
  display: grid;
  gap: 8px;
  min-width: 0;
}

fieldset.field {
  margin: 0;
  padding: 0;
  border: 0;
}

.field.full {
  grid-column: 1 / -1;
}

.field-label,
.field legend {
  color: #142847;
  font-size: 0.92rem;
  font-weight: 850;
}

.optional {
  color: var(--muted);
  font-weight: 650;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid #c7d6ea;
  border-radius: 8px;
  color: var(--ink);
  background: #ffffff;
}

.field input,
.field select {
  padding: 0 12px;
}

.field textarea {
  min-height: 116px;
  resize: vertical;
  padding: 12px;
  line-height: 1.45;
}

.field input[type="file"] {
  padding: 10px;
  background: #ffffff;
}

.field.invalid input,
.field.invalid select,
.field.invalid textarea,
.field.invalid .option-grid,
.field.invalid .checkbox-row {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(225, 19, 19, 0.1);
}

.field-error {
  color: var(--red);
  font-size: 0.82rem;
  font-weight: 750;
}

.option-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  padding: 4px;
  border: 1px solid transparent;
  border-radius: 8px;
}

.option-pill {
  position: relative;
  min-width: 0;
}

.option-pill input {
  position: absolute;
  inset: 0;
  opacity: 0;
}

.option-pill span {
  display: flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 8px 10px;
  border: 1px solid #c7d6ea;
  border-radius: 8px;
  color: #233856;
  background: #ffffff;
  font-size: 0.9rem;
  font-weight: 780;
  text-align: center;
  line-height: 1.18;
}

.option-pill input:checked + span {
  color: #ffffff;
  border-color: var(--green-dark);
  background: var(--green-dark);
}

.option-pill input:focus-visible + span {
  outline: 3px solid rgba(13, 99, 245, 0.28);
  outline-offset: 2px;
}

.checkbox-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: start;
  padding: 14px;
  border: 1px solid #c7d6ea;
  border-radius: 8px;
  background: #ffffff;
  line-height: 1.45;
}

.checkbox-row input {
  width: 18px;
  height: 18px;
  min-height: 0;
  margin-top: 2px;
}

.review-list {
  grid-column: 1 / -1;
  display: grid;
  gap: 14px;
}

.review-group {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.review-group h3 {
  margin: 0 0 10px;
  font-size: 1rem;
}

.review-group dl {
  display: grid;
  grid-template-columns: minmax(150px, 0.34fr) minmax(0, 1fr);
  gap: 8px 14px;
  margin: 0;
}

.review-group dt {
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 800;
}

.review-group dd {
  margin: 0;
  color: #17294a;
  font-size: 0.9rem;
}

.form-error {
  margin: 18px 0 0;
  padding: 12px 14px;
  border: 1px solid rgba(225, 19, 19, 0.28);
  border-radius: 8px;
  color: #8c1010;
  background: var(--red-soft);
  font-weight: 800;
}

.nav-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.results-band {
  --ink: #061a3a;
  --muted: #52627a;
  --line: #d7e1ef;

  padding: clamp(30px, 6vw, 72px) clamp(18px, 5vw, 56px);
  color: var(--ink);
  background: #ffffff;
}

.results-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1.22fr);
  gap: 22px;
  max-width: 1280px;
  margin: 0 auto;
}

.result-main {
  align-self: start;
  padding: clamp(20px, 4vw, 32px);
  border-top: 8px solid var(--green);
}

.result-main.yellow {
  border-top-color: var(--amber);
}

.result-main.red {
  border-top-color: var(--red);
}

.result-main h2 {
  margin: 0;
  font-size: clamp(1.7rem, 4vw, 3rem);
  line-height: 1.05;
}

.result-main p:not(.kicker) {
  color: #273b5e;
  line-height: 1.55;
}

.result-details {
  display: grid;
  gap: 16px;
}

.detail-panel {
  padding: 20px;
}

.detail-panel h3 {
  margin: 0 0 12px;
  font-size: 1rem;
}

.report-gate {
  border-color: rgba(13, 99, 245, 0.28);
  background: #f7fbf7;
}

.report-gate p {
  margin: 0 0 14px;
  color: #3b4a64;
  line-height: 1.5;
}

.verify-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: end;
  margin-top: 12px;
}

.verify-grid .button {
  min-width: 168px;
}

.prototype-note {
  margin-top: 12px !important;
  padding: 10px 12px;
  border: 1px solid rgba(182, 120, 22, 0.28);
  border-radius: 8px;
  color: #79500d !important;
  background: var(--amber-soft);
  font-weight: 750;
}

.routing-list,
.flags-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.routing-item,
.flag-item {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.routing-item strong,
.flag-item strong {
  display: block;
  margin-bottom: 4px;
}

.flag-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
}

.flag-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 58px;
  height: 26px;
  padding: 0 8px;
  border-radius: 8px;
  color: #ffffff;
  background: var(--green);
  font-size: 0.72rem;
  font-weight: 900;
}

.flag-badge.yellow {
  background: var(--amber);
}

.flag-badge.red {
  background: var(--red);
}

pre {
  max-height: 360px;
  margin: 0;
  overflow: auto;
  white-space: pre-wrap;
  word-break: break-word;
  color: #17294a;
  font-size: 0.86rem;
  line-height: 1.48;
}

.toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 40;
  max-width: min(360px, calc(100vw - 36px));
  padding: 12px 14px;
  border: 1px solid rgba(6, 26, 58, 0.14);
  border-radius: 8px;
  color: #ffffff;
  background: var(--ink);
  box-shadow: var(--shadow);
  font-weight: 760;
}

.print-summary {
  display: none;
}

@media (max-width: 980px) {
  .hero-band,
  .screening-layout,
  .results-layout,
  .why-band,
  .protect-band,
  .record-band {
    grid-template-columns: 1fr;
  }

  .hero-band {
    min-height: auto;
  }

  .hero-media {
    max-width: 620px;
  }

  .progress-rail {
    position: static;
  }

  .step-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tool-intro {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 700px) {
  .topbar {
    position: static;
    align-items: flex-start;
    flex-direction: column;
  }

  .brand-logo {
    height: 42px;
    max-width: calc(100vw - 36px);
  }

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

  .fields-grid,
  .option-grid,
  .issue-grid,
  .process-grid,
  .review-group dl,
  .step-list,
  .verify-grid {
    grid-template-columns: 1fr;
  }

  .verify-grid .button {
    width: 100%;
  }

  .screening-panel {
    min-height: auto;
  }

  .nav-row {
    flex-direction: column-reverse;
  }

  .nav-row .button {
    width: 100%;
  }

  .hero-actions,
  .result-actions {
    flex-direction: column;
  }

  .hero-actions .button,
  .result-actions .button,
  .tool-intro .button {
    width: 100%;
  }
}

@media print {
  body {
    background: #ffffff;
  }

  .topbar,
  main,
  .toast {
    display: none !important;
  }

  .print-summary {
    display: block;
    padding: 0;
    color: #111111;
    font-family: Georgia, "Times New Roman", serif;
  }

  .print-summary h1,
  .print-summary h2,
  .print-summary h3 {
    page-break-after: avoid;
  }

  .print-summary pre {
    max-height: none;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 10.5pt;
  }
}
