:root {
  color-scheme: light;
  --ink: #17191d;
  --muted: #646b73;
  --paper: #fffdf8;
  --canvas: #eef1ee;
  --panel: #fbfaf5;
  --line: #d6d3c8;
  --line-strong: #bab5a8;
  --red: #a32929;
  --red-dark: #7f1818;
  --red-soft: #f7dddd;
  --amber: #a96616;
  --amber-soft: #fff0d5;
  --green: #1f7a50;
  --green-soft: #e1f1e8;
  --blue: #285978;
  --blue-soft: #e4eef4;
  --night: #08090b;
  --night-soft: #14181d;
  --glass: rgba(10, 12, 15, 0.66);
  --glass-line: rgba(255, 255, 255, 0.16);
  --shadow: 0 18px 54px rgba(23, 25, 29, 0.1);
  --shadow-tight: 0 10px 28px rgba(23, 25, 29, 0.08);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, var(--night) 0 720px, rgba(238, 241, 238, 0.2) 980px),
    linear-gradient(90deg, rgba(23, 25, 29, 0.035) 1px, transparent 1px),
    linear-gradient(0deg, rgba(23, 25, 29, 0.03) 1px, transparent 1px),
    var(--canvas);
  background-size: auto, auto, 56px 56px, 56px 56px, auto;
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.42;
}

a {
  color: inherit;
}

button,
input,
textarea {
  font: inherit;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px clamp(16px, 3vw, 42px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(8, 9, 11, 0.78);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: white;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid var(--ink);
  border-radius: 8px;
  background: linear-gradient(180deg, #24282d, #111316);
  color: white;
  font-size: 0.75rem;
  font-weight: 900;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.78rem;
}

nav {
  display: flex;
  gap: 16px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.94rem;
  font-weight: 750;
}

nav a {
  text-decoration: none;
}

main {
  width: 100%;
  margin: 0 auto;
}

.hero-workspace {
  position: relative;
  display: grid;
  grid-template-columns: minmax(300px, 0.76fr) minmax(430px, 1.1fr) minmax(320px, 0.78fr);
  gap: 20px;
  min-height: calc(100vh - 67px);
  padding: clamp(18px, 3vw, 42px);
  align-items: stretch;
  isolation: isolate;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(8, 9, 11, 0.94) 0%, rgba(8, 9, 11, 0.72) 37%, rgba(8, 9, 11, 0.28) 72%),
    linear-gradient(180deg, rgba(8, 9, 11, 0.2), rgba(8, 9, 11, 0.86)),
    url("assets/osce-dossier-v2.webp") right center / cover no-repeat,
    var(--night);
}

.hero-workspace::before,
.hero-workspace::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
}

.hero-workspace::before {
  z-index: -1;
  background:
    radial-gradient(circle at 78% 54%, rgba(180, 32, 38, 0.34), transparent 22%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.032) 1px, transparent 1px);
  background-size: auto, 54px 54px, 54px 54px;
  mix-blend-mode: screen;
}

.hero-workspace::after {
  z-index: -1;
  background:
    linear-gradient(180deg, transparent 0 72%, var(--night) 100%),
    radial-gradient(ellipse at center, transparent 0 40%, rgba(0, 0, 0, 0.55) 100%);
}

.hero-workspace > * {
  position: relative;
  z-index: 1;
}

.dossier-intro,
.search-panel,
.report-preview,
.source-grid article,
.scenario-grid article,
.trust-grid article,
.bulk-tool,
.bulk-results,
.plan-card,
.lead-card,
.faq-list details,
.seo-grid a {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.94);
  box-shadow: var(--shadow);
}

.dossier-intro {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 560px;
  padding: clamp(22px, 3vw, 34px);
  border-color: var(--glass-line);
  border-top: 4px solid rgba(213, 59, 59, 0.88);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.035)),
    rgba(12, 14, 17, 0.62);
  color: white;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.36);
  backdrop-filter: blur(16px);
}

.eyebrow,
.label {
  margin: 0 0 8px;
  color: var(--red);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 11ch;
  margin-bottom: 18px;
  font-size: clamp(3rem, 5.1vw, 5.45rem);
  line-height: 0.98;
  letter-spacing: 0;
  overflow-wrap: normal;
  word-break: normal;
}

h2 {
  margin-bottom: 0;
  font-size: 1.35rem;
  line-height: 1.14;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 5px;
  font-size: 1rem;
  letter-spacing: 0;
}

.intro-copy,
.bulk-copy p,
.microcopy,
.source-grid p,
.scenario-grid p,
.result-summary p {
  color: var(--muted);
}

.intro-copy {
  max-width: 38ch;
  color: rgba(255, 255, 255, 0.74);
  font-size: 1.08rem;
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 22px 0 14px;
}

.hero-proof div {
  min-width: 0;
  padding: 13px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.hero-proof strong,
.hero-proof span {
  display: block;
}

.hero-proof strong {
  margin-bottom: 5px;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 1.05rem;
}

.hero-proof span {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.78rem;
  font-weight: 820;
  text-transform: uppercase;
}

.compliance-path {
  display: grid;
  gap: 8px;
}

.compliance-path div {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 2px 10px;
  padding: 11px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.compliance-path span {
  grid-row: span 2;
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 999px;
  background: rgba(213, 59, 59, 0.16);
  color: #f3b0ad;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.72rem;
  font-weight: 900;
}

.compliance-path strong {
  line-height: 1.1;
}

.compliance-path p {
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.88rem;
}

.search-panel,
.report-preview {
  min-height: 560px;
  padding: 20px;
}

.search-panel {
  border-color: var(--glass-line);
  border-top: 4px solid rgba(77, 130, 162, 0.95);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(255, 253, 248, 0.92)),
    rgba(255, 255, 255, 0.74);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(18px);
}

.report-preview {
  border-color: var(--glass-line);
  border-top: 4px solid rgba(255, 255, 255, 0.7);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.045)),
    rgba(10, 12, 15, 0.58);
  color: white;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(18px);
}

.panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
}

.status-pill,
.risk-badge {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 900;
  white-space: nowrap;
}

.status-pill {
  background: #eee9dd;
  color: var(--muted);
}

.status-pill.ready,
.risk-badge.good {
  background: var(--green-soft);
  color: var(--green);
}

.status-pill.error,
.risk-badge.bad {
  background: var(--red-soft);
  color: var(--red);
}

.risk-badge.warn {
  background: var(--amber-soft);
  color: var(--amber);
}

.risk-badge.neutral {
  background: #efe8d8;
  color: var(--muted);
}

label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
}

.search-box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  outline: none;
}

input:focus,
textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(40, 89, 120, 0.14);
}

input {
  min-height: 46px;
  padding: 0 13px;
}

textarea {
  min-height: 180px;
  padding: 13px;
  resize: vertical;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.9rem;
}

button,
.seo-grid a {
  min-height: 42px;
  border-radius: 8px;
  font-weight: 900;
}

button {
  padding: 0 15px;
  border: 1px solid transparent;
  cursor: pointer;
}

.primary {
  background: linear-gradient(180deg, #ad3030, #8d2020);
  color: white;
  box-shadow: 0 9px 22px rgba(163, 41, 41, 0.18);
}

.route-button {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 0 16px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 900;
}

.primary:hover {
  background: var(--red-dark);
}

.ghost {
  background: rgba(255, 255, 255, 0.86);
  border-color: var(--line);
  color: var(--ink);
}

.ghost:hover {
  border-color: #b9ad9b;
}

button:disabled {
  opacity: 0.48;
  pointer-events: none;
}

.full {
  width: 100%;
}

.quick-actions,
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 14px;
}

.field-hint {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.84rem;
}

.result-summary {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  margin-top: 18px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.result-summary p {
  margin-bottom: 0;
}

.result-list {
  display: grid;
  gap: 10px;
  max-height: 268px;
  margin-top: 14px;
  overflow: auto;
}

.risk-console {
  --meter: var(--muted);
  --score-angle: 0deg;
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 14px;
  margin-top: 14px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(40, 89, 120, 0.08), transparent 44%),
    rgba(255, 255, 255, 0.68);
}

.risk-console.bad {
  --meter: var(--red);
  border-color: rgba(163, 41, 41, 0.26);
}

.risk-console.warn {
  --meter: var(--amber);
  border-color: rgba(169, 102, 22, 0.28);
}

.risk-console.good {
  --meter: var(--green);
  border-color: rgba(31, 122, 80, 0.26);
}

.risk-meter {
  display: grid;
  width: 76px;
  height: 76px;
  place-items: center;
  align-content: center;
  border-radius: 999px;
  background:
    radial-gradient(circle at center, var(--paper) 0 54%, transparent 55%),
    conic-gradient(var(--meter) var(--score-angle), #e7e1d5 0deg);
  box-shadow: inset 0 0 0 1px var(--line);
}

.risk-meter strong,
.risk-meter span {
  display: block;
}

.risk-meter strong {
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 1.2rem;
}

.risk-meter span {
  color: var(--muted);
  font-size: 0.64rem;
  font-weight: 900;
  text-transform: uppercase;
}

.console-copy > strong {
  display: block;
  margin-bottom: 4px;
}

.console-copy p {
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 0.88rem;
}

.evidence-chips,
.report-evidence {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.evidence-chips span,
.report-evidence span {
  display: inline-flex;
  min-height: 26px;
  align-items: center;
  padding: 0 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 850;
}

.match-card {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffaf0;
  box-shadow: var(--shadow-tight);
}

.match-card strong {
  display: block;
  margin-bottom: 4px;
}

.match-card dl {
  display: grid;
  grid-template-columns: 100px minmax(0, 1fr);
  gap: 6px 10px;
  margin: 10px 0 0;
  font-size: 0.84rem;
}

.match-card dt {
  color: var(--muted);
  font-weight: 850;
}

.match-card dd {
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
}

.report-preview {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.report-sheet {
  position: relative;
  min-height: 500px;
  padding: 22px;
  overflow: hidden;
  border: 1px solid #cfc4b4;
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(40, 89, 120, 0.055) 1px, transparent 1px),
    white;
  background-size: 18px 18px;
  box-shadow: var(--shadow-tight);
  transition: border-color 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease;
}

.report-sheet.bad {
  border-color: rgba(163, 41, 41, 0.45);
  box-shadow: 0 18px 44px rgba(163, 41, 41, 0.16);
}

.report-sheet.warn {
  border-color: rgba(169, 102, 22, 0.45);
  box-shadow: 0 18px 44px rgba(169, 102, 22, 0.12);
}

.report-sheet.good {
  border-color: rgba(31, 122, 80, 0.38);
  box-shadow: 0 18px 44px rgba(31, 122, 80, 0.12);
}

.report-topline {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 36px;
  color: var(--muted);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.76rem;
}

.stamp {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  padding: 0 14px;
  margin-bottom: 16px;
  border: 2px solid var(--line-strong);
  color: var(--muted);
  font-weight: 950;
  text-transform: uppercase;
  transform: rotate(-2deg);
}

.stamp.bad {
  border-color: var(--red);
  color: var(--red);
}

.stamp.good {
  border-color: var(--green);
  color: var(--green);
}

.stamp.warn {
  border-color: var(--amber);
  color: var(--amber);
}

.stamp.bad,
.stamp.good,
.stamp.warn {
  animation: stamp-pop 0.34s ease;
}

.report-sheet h2 {
  margin-bottom: 8px;
  font-size: 1.9rem;
}

.report-sheet p {
  color: var(--muted);
}

.report-sheet dl {
  display: grid;
  gap: 0;
  margin: 24px 0 0;
}

.report-sheet dl div {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 12px;
  padding: 11px 0;
  border-top: 1px solid #d8d0c2;
}

.report-sheet dt {
  color: var(--muted);
  font-weight: 900;
}

.report-sheet dd {
  margin: 0;
  overflow-wrap: anywhere;
}

.report-evidence {
  margin-top: 18px;
}

.sanction-timeline,
.match-timeline {
  margin-top: 18px;
}

.timeline-track {
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: #e5dfd4;
  box-shadow: inset 0 0 0 1px rgba(23, 25, 29, 0.05);
}

.timeline-track span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: var(--muted);
  transition: width 0.36s ease;
}

.sanction-timeline.bad .timeline-track span,
.match-card .timeline-track span {
  background: linear-gradient(90deg, #d86d55, var(--red));
}

.sanction-timeline.warn .timeline-track span {
  background: linear-gradient(90deg, #e7bf75, var(--amber));
}

.sanction-timeline.good .timeline-track span {
  background: linear-gradient(90deg, #a6d5b9, var(--green));
}

.timeline-track.compact {
  height: 8px;
}

.timeline-labels {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 8px;
  margin-top: 8px;
  color: var(--muted);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.68rem;
}

.timeline-labels span:nth-child(2) {
  text-align: center;
}

.timeline-labels span:nth-child(3) {
  text-align: right;
}

.report-lines {
  display: grid;
  gap: 9px;
  margin-top: 26px;
}

.report-lines span {
  display: block;
  height: 9px;
  border-radius: 999px;
  background: #ded6c7;
}

.report-lines span:nth-child(1) {
  width: 84%;
}

.report-lines span:nth-child(2) {
  width: 62%;
}

.report-lines span:nth-child(3) {
  width: 76%;
}

.report-lines span:nth-child(4) {
  width: 38%;
}

.microcopy {
  margin: 0;
  font-size: 0.84rem;
}

.report-preview .microcopy {
  color: rgba(255, 255, 255, 0.62);
}

.scenario-band,
.source-band,
.bulk-section {
  display: grid;
  gap: 18px;
  width: min(1480px, 100%);
  margin: 0 auto;
  padding: clamp(34px, 5vw, 72px) clamp(18px, 3vw, 42px) clamp(24px, 4vw, 42px);
}

.scenario-band {
  grid-template-columns: minmax(260px, 0.55fr) minmax(420px, 1.45fr);
  align-items: start;
}

.source-band {
  grid-template-columns: minmax(240px, 0.55fr) minmax(320px, 1.45fr);
}

.trust-band,
.faq-band,
.conversion-panel {
  display: grid;
  gap: 18px;
  width: min(1480px, 100%);
  margin: 0 auto;
  padding: 0 clamp(18px, 3vw, 42px) clamp(24px, 4vw, 42px);
}

.trust-band,
.faq-band {
  grid-template-columns: minmax(260px, 0.55fr) minmax(420px, 1.45fr);
  align-items: start;
}

.scenario-band > div:first-child,
.source-band > div:first-child,
.trust-band > div:first-child,
.faq-band > div:first-child,
.bulk-copy {
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.scenario-grid,
.source-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

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

.scenario-grid article,
.source-grid article,
.trust-grid article,
.faq-list details {
  padding: 18px;
}

.scenario-grid span,
.source-grid span,
.trust-grid span,
.seo-grid span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.scenario-grid strong,
.source-grid strong {
  display: block;
  margin-bottom: 8px;
}

.scenario-grid p,
.source-grid p {
  margin-bottom: 0;
}

.trust-grid ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}

.trust-grid li::marker {
  color: var(--red);
}

.faq-list details {
  box-shadow: var(--shadow-tight);
}

.faq-list summary {
  cursor: pointer;
  font-weight: 900;
}

.faq-list p {
  margin: 12px 0 0;
  color: var(--muted);
}

.bulk-section {
  grid-template-columns: minmax(240px, 0.6fr) minmax(320px, 0.85fr) minmax(320px, 1fr);
  align-items: start;
}

.bulk-tool {
  padding: 18px;
}

.bulk-results {
  overflow: auto;
  background: rgba(255, 253, 248, 0.94);
}

.conversion-panel {
  grid-template-columns: minmax(240px, 0.58fr) minmax(360px, 1.2fr) minmax(320px, 0.82fr);
  align-items: start;
}

.checkout-copy {
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.checkout-copy p {
  color: var(--muted);
}

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

.plan-card,
.lead-card {
  padding: 18px;
}

.plan-card {
  display: grid;
  gap: 10px;
}

.plan-card.featured {
  border-color: rgba(163, 41, 41, 0.3);
  box-shadow: 0 18px 48px rgba(163, 41, 41, 0.14);
}

.plan-card span {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.plan-card strong {
  font-size: 1.45rem;
}

.plan-card p {
  margin-bottom: 4px;
  color: var(--muted);
}

.lead-card {
  display: grid;
  gap: 9px;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}

th,
td {
  padding: 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

th {
  color: var(--muted);
  font-size: 0.76rem;
  text-transform: uppercase;
}

.seo-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  width: min(1480px, 100%);
  margin: 0 auto;
  padding: 0 clamp(18px, 3vw, 42px) clamp(30px, 4vw, 54px);
}

.seo-grid a {
  display: block;
  padding: 16px;
  text-decoration: none;
  transition: border-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

.seo-grid a:hover {
  border-color: #b9c7cf;
  box-shadow: var(--shadow-tight);
  transform: translateY(-1px);
}

footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 18px;
  padding: 24px clamp(18px, 3vw, 42px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}

footer p {
  max-width: 760px;
  margin-bottom: 0;
}

footer a {
  font-weight: 900;
}

footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 0.84rem;
}

footer nav a {
  font-weight: 600;
  text-decoration: none;
}

footer nav a:hover {
  text-decoration: underline;
}

@keyframes stamp-pop {
  0% {
    opacity: 0;
    transform: rotate(-7deg) scale(1.18);
  }

  100% {
    opacity: 1;
    transform: rotate(-2deg) scale(1);
  }
}

.route-page {
  display: grid;
  gap: 24px;
  padding: clamp(18px, 4vw, 54px);
}

.route-hero {
  max-width: 960px;
  min-height: 50vh;
  align-content: center;
  border-top: 4px solid var(--red);
  border-bottom: 1px solid var(--line);
}

.route-hero h1 {
  max-width: 13ch;
}

.route-hero p {
  max-width: 62ch;
  color: var(--muted);
  font-size: 1.08rem;
}

.route-panel {
  display: grid;
  grid-template-columns: minmax(260px, 0.65fr) minmax(320px, 1fr);
  gap: 18px;
}

.route-panel > * {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.route-panel h2 {
  margin-bottom: 14px;
}

.route-panel ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
}

.route-panel li::marker {
  color: var(--red);
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.84rem;
  color: var(--muted);
  padding: 0 0 8px 0;
}

.breadcrumb a {
  color: var(--blue);
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.breadcrumb span[aria-hidden] {
  color: var(--line-strong);
}

.related-searches {
  max-width: 960px;
  padding: 32px 0 24px 0;
  border-top: 1px solid var(--line);
}

.related-searches h2 {
  font-size: 1.14rem;
  margin-bottom: 16px;
  color: var(--muted);
}

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

.related-grid a {
  display: block;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  text-decoration: none;
  transition: border-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
  box-shadow: var(--shadow-tight);
}

.related-grid a:hover {
  border-color: var(--blue);
  box-shadow: var(--shadow);
  transform: translateY(-1px);
}

.related-grid strong {
  display: block;
  font-size: 0.92rem;
  margin-bottom: 3px;
}

.related-grid span {
  font-size: 0.8rem;
  color: var(--muted);
}

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

@media (max-width: 1120px) {
  .hero-workspace,
  .bulk-section,
  .scenario-band,
  .source-band,
  .trust-band,
  .faq-band,
  .conversion-panel {
    grid-template-columns: 1fr;
  }

  .dossier-intro,
  .search-panel,
  .report-preview {
    min-height: auto;
  }

  h1 {
    max-width: 13ch;
    font-size: 3.45rem;
  }

  .scenario-grid,
  .source-grid,
  .pricing-grid,
  .seo-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 720px) {
  .topbar {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  nav {
    width: 100%;
    justify-content: space-between;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 2px;
    white-space: nowrap;
  }

  .hero-workspace {
    padding: 14px;
  }

  .dossier-intro,
  .search-panel,
  .report-preview {
    padding: 18px;
  }

  .dossier-intro p {
    font-size: 1rem;
  }

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

  .hero-proof div {
    padding: 14px;
  }

  .compliance-path {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
  }

  .compliance-path div {
    display: block;
    padding: 12px 0 0;
  }

  .compliance-path span {
    margin-bottom: 8px;
  }

  .compliance-path strong {
    font-size: 0.92rem;
  }

  .compliance-path p {
    font-size: 0.78rem;
    line-height: 1.35;
  }

  .panel-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .search-box,
  .result-summary,
  .risk-console,
  .route-panel {
    grid-template-columns: 1fr;
  }

  .risk-badge {
    width: fit-content;
  }

  .source-grid,
  .scenario-grid,
  .trust-grid,
  .faq-list,
  .pricing-grid,
  .seo-grid {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 2.12rem;
    max-width: 13ch;
  }
}
