:root {
  color-scheme: light;
  --bg: #061525;
  --ink: #102136;
  --muted: #607087;
  --line: #d7e3ef;
  --panel: rgba(255, 255, 255, .94);
  --panel-strong: #ffffff;
  --panel-surface:
    radial-gradient(circle at 18% 0%, rgba(30, 214, 242, .12), transparent 28%),
    linear-gradient(135deg, rgba(2, 13, 29, .96), rgba(5, 23, 43, .92));
  --panel-surface-border: rgba(171, 226, 255, .18);
  --panel-inset: rgba(255, 255, 255, .06);
  --accent: #1ed6f2;
  --accent-strong: #1455d9;
  --accent-deep: #073b87;
  --success: #21c782;
  --warning: #f7c948;
  --danger: #ef4444;
  --shadow: 0 24px 80px rgba(1, 18, 37, .24);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  background:
    linear-gradient(180deg, rgba(3, 11, 24, .82), rgba(4, 18, 34, .52)),
    url("/static/images/kaj-background.jpg") center top / cover fixed,
    var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 14px 32px;
  background: rgba(4, 16, 30, .72);
  border-bottom: 1px solid rgba(174, 229, 255, .18);
  backdrop-filter: blur(18px);
  position: sticky;
  top: 0;
  z-index: 10;
}
.topbar a { color: #e8f8ff; }
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #f7fcff;
  font-weight: 800;
  letter-spacing: 0;
}
.brand img {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  box-shadow: 0 0 26px rgba(30, 214, 242, .28);
}
.topbar nav { display: flex; gap: 18px; align-items: center; }
.topbar nav a {
  color: rgba(232, 248, 255, .82);
  font-size: .94rem;
  font-weight: 700;
}
.site-nav {
  position: relative;
}
.mobile-menu-toggle {
  display: none;
  min-height: 42px;
  padding: 8px 12px;
  border: 1px solid rgba(196, 235, 255, .28);
  background: rgba(255, 255, 255, .10);
  color: #f3fbff;
  font-size: .88rem;
  font-weight: 800;
}
.nav-menu {
  position: relative;
  color: rgba(232, 248, 255, .82);
  font-size: .94rem;
  font-weight: 700;
}
.nav-menu summary {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  list-style: none;
}
.nav-menu summary::-webkit-details-marker { display: none; }
.nav-menu summary::after {
  content: "";
  width: 7px;
  height: 7px;
  margin-left: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
}
.nav-menu[open] summary::after {
  transform: rotate(225deg) translate(-2px, -1px);
}
.nav-menu div {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  display: grid;
  min-width: 230px;
  padding: 8px;
  border: 1px solid rgba(196, 235, 255, .28);
  border-radius: 8px;
  background: rgba(4, 16, 30, .96);
  box-shadow: 0 18px 42px rgba(0, 0, 0, .28);
}
.nav-menu div a {
  min-height: 40px;
  padding: 8px 10px;
  border-radius: 6px;
}
.nav-menu div a:hover {
  background: rgba(255, 255, 255, .08);
  text-decoration: none;
}
.topbar-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 8px 14px;
  border-radius: 6px;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(196, 235, 255, .28);
  color: #f3fbff;
  font-size: .9rem;
  font-weight: 800;
  text-decoration: none;
}
.topbar-cta:hover {
  color: #ffffff;
  text-decoration: none;
  background: rgba(255, 255, 255, .18);
}
.topbar-status {
  margin: 0;
  color: rgba(232, 248, 255, .78);
  font-size: .9rem;
  font-weight: 800;
  text-align: right;
}
.page {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 44px 0 64px;
  overflow: hidden;
}
section {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
}
.hero {
  min-height: 420px;
  display: grid;
  align-content: center;
  background: linear-gradient(120deg, rgba(15, 118, 110, .10), rgba(180, 83, 9, .08)), var(--panel);
}
h1 { font-size: clamp(2rem, 4vw, 4rem); line-height: 1.05; margin: 0 0 16px; letter-spacing: 0; }
h2 { margin-top: 24px; }
p { max-width: 760px; }
.muted { color: var(--muted); }
.notice { border-left: 4px solid var(--accent); padding-left: 12px; }
.error { color: var(--danger); font-weight: 700; }
a:focus-visible,
button:focus-visible,
.button:focus-visible,
.topbar-cta:focus-visible,
.funnel-step:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
.button, button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border: 0;
  border-radius: 6px;
  background: var(--accent);
  color: white;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
}
.button:hover,
.button:focus-visible {
  color: white;
  text-decoration: none;
}
.button-primary {
  background: linear-gradient(135deg, #28e6d5, #2458ff);
  box-shadow: 0 18px 42px rgba(20, 85, 217, .36);
}
.button-primary:hover {
  filter: brightness(1.06);
}
.button-secondary {
  border: 1px solid rgba(196, 235, 255, .28);
  background: rgba(255, 255, 255, .08);
  color: #dff8ff;
  box-shadow: none;
}
.button-secondary:hover,
.button-secondary:focus-visible {
  color: #ffffff;
  background: rgba(255, 255, 255, .14);
  filter: none;
}
.button-light {
  border: 1px solid rgba(20, 85, 217, .18);
  background: #f2f8ff;
  color: #173b66;
  box-shadow: none;
}
.button-light:hover,
.button-light:focus-visible {
  color: #0b2d52;
  background: #e8f4ff;
  filter: none;
}
.button:disabled,
button:disabled,
.button.is-submitting {
  cursor: not-allowed;
  opacity: .72;
  filter: none;
  pointer-events: none;
}
.button.is-submitting { cursor: wait; }
form {
  display: grid;
  gap: 14px;
  max-width: 720px;
}
label { display: grid; gap: 8px; font-weight: 700; }
input, textarea, select {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 12px 14px;
  font: inherit;
  transition: border-color .15s ease, box-shadow .15s ease;
}
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  border-color: var(--accent-strong);
  box-shadow: 0 0 0 3px rgba(30, 214, 242, .22);
}
input:user-invalid,
textarea:user-invalid,
select:user-invalid {
  border-color: var(--danger);
}
textarea { min-height: 110px; }
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 12px;
  margin: 24px 0;
}
.grid > div {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
}
.grid span { display: block; color: var(--muted); margin-top: 8px; }
.score {
  display: inline-grid;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px 20px;
  margin: 16px 0;
}
.score strong { font-size: 2.5rem; line-height: 1; }
.subnav { display: flex; flex-wrap: wrap; gap: 12px; margin: 16px 0; }
table {
  width: 100%;
  border-collapse: collapse;
  background: var(--panel);
  font-size: .92rem;
}
th, td {
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  padding: 10px;
}
pre {
  max-width: 100%;
  overflow: auto;
  padding: 12px;
  background: #111827;
  color: #f9fafb;
  border-radius: 6px;
}
dl { display: grid; grid-template-columns: 180px 1fr; gap: 8px 16px; }
dt { font-weight: 700; }
.narrow { max-width: 520px; margin: 0 auto; }

.landing-hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  overflow: hidden;
  padding: 42px;
  background:
    radial-gradient(circle at 76% 28%, rgba(30, 214, 242, .24), transparent 30%),
    linear-gradient(135deg, rgba(2, 13, 29, .94), rgba(5, 23, 43, .88));
  border-color: rgba(171, 226, 255, .18);
  box-shadow: var(--shadow);
  color: #f8fcff;
}
.hero-copy { position: relative; z-index: 2; min-width: 0; width: 100%; }
.eyebrow {
  margin: 0 0 14px;
  color: #7fe8ff;
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.landing-hero h1 {
  font-size: clamp(2.35rem, 4.8vw, 4.1rem);
  max-width: none;
  text-shadow: 0 22px 48px rgba(0, 0, 0, .36);
}
.hero-meta {
  max-width: 900px;
  margin: 0 0 24px;
  color: rgba(223, 244, 255, .9);
  font-size: .98rem;
  line-height: 1.55;
}
.hero-meta strong { color: #9ff6ff; }
.lede {
  max-width: 900px;
  margin: 0 0 28px;
  color: #d9eef8;
  font-size: clamp(1.12rem, 1.55vw, 1.38rem);
  line-height: 1.55;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 0 0 28px;
  min-width: 0;
}
.hero-actions .button {
  min-width: 190px;
  min-height: 58px;
  font-size: 1rem;
}
.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: rgba(231, 249, 255, .84);
  font-size: .9rem;
}
.trust-row span {
  border: 1px solid rgba(190, 236, 255, .18);
  border-radius: 999px;
  padding: 7px 11px;
  background: rgba(255, 255, 255, .06);
}
.inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}
.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-width: 0;
  margin-top: 4px;
}
.signal-map-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 16px;
  border: 1px solid rgba(171, 226, 255, .18);
  box-shadow: 0 26px 80px rgba(0, 0, 0, .35);
}
.score-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 18px;
  padding: 38px;
  color: #f8fcff;
  background: var(--panel-surface);
  border: 1px solid var(--panel-surface-border);
  border-radius: 8px;
  box-shadow: var(--shadow);
}
.score-band div {
  min-height: 180px;
  padding: 18px;
  border: 1px solid rgba(190, 236, 255, .18);
  border-radius: 8px;
  background: var(--panel-inset);
}
.metric-label {
  display: block;
  color: #7fe8ff;
  font-size: .82rem;
  font-weight: 900;
  text-transform: uppercase;
}
.score-band strong {
  display: block;
  margin: 8px 0;
  color: #9ff6ff;
  font-size: 2.2rem;
  line-height: 1;
}
.score-band strong span { color: rgba(217, 238, 248, .62); font-size: 1.25rem; }
.score-band p { margin: 0; color: rgba(217, 238, 248, .82); }
.danger-text { color: #ff8f8f !important; }
.warning-text { color: #ffd56a !important; }
.landing-section {
  margin-top: 18px;
  padding: 38px;
  color: #f8fcff;
  background: var(--panel-surface);
  border: 1px solid var(--panel-surface-border);
  border-radius: 8px;
  box-shadow: var(--shadow);
}
.section-heading {
  display: grid;
  gap: 10px;
  max-width: 760px;
  margin-bottom: 24px;
}
.landing-section h2,
.landing-section h1,
.final-cta h2 {
  margin: 0;
  max-width: 820px;
  color: #f8fcff;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.08;
}
.status-hero {
  min-height: 0;
  margin-top: 0;
}
.status-hero .lede {
  max-width: 760px;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.feature-grid article {
  position: relative;
  min-height: 150px;
  border: 1px solid rgba(190, 236, 255, .18);
  border-radius: 8px;
  padding: 22px 22px 22px 68px;
  background: var(--panel-inset);
}
.feature-step {
  position: absolute;
  left: 22px;
  top: 22px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, #28e6d5, #2458ff);
  color: #fff;
  font-size: .92rem;
  font-weight: 900;
}
.feature-grid h3 {
  margin: 0 0 10px;
  color: #f8fcff;
  font-size: 1.18rem;
}
.feature-grid p {
  margin: 0;
  color: rgba(217, 238, 248, .82);
  font-size: 1.02rem;
}
.compact-grid article {
  min-height: 0;
  padding: 22px;
}
.split-section {
  display: grid;
  grid-template-columns: 1fr 430px;
  gap: 28px;
  align-items: center;
}
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 18px;
  color: rgba(232, 248, 255, .78);
  font-size: .9rem;
  font-weight: 800;
}
.breadcrumbs a {
  color: #9ff6ff;
}
.market-hero {
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  align-items: stretch;
}
.market-scenario,
.snapshot-price-card,
.methodology-disclaimer {
  display: grid;
  align-content: center;
  min-height: 100%;
  padding: 24px;
  border: 1px solid rgba(190, 236, 255, .18);
  border-radius: 8px;
  background: rgba(255, 255, 255, .06);
}
.market-scenario h2,
.methodology-disclaimer h2 {
  margin: 0 0 12px;
  color: #f8fcff;
  font-size: 1.35rem;
  line-height: 1.18;
}
.market-scenario p:not(.eyebrow),
.methodology-disclaimer p {
  margin: 0;
  color: rgba(217, 238, 248, .84);
}
.market-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}
.market-card {
  display: grid;
  align-content: start;
  gap: 10px;
  min-height: 190px;
  padding: 20px;
  border: 1px solid rgba(190, 236, 255, .18);
  border-radius: 8px;
  background: var(--panel-inset);
}
.market-card h3 {
  margin: 0;
  color: #f8fcff;
}
.market-card p {
  margin: 0;
  color: rgba(217, 238, 248, .80);
  font-size: .96rem;
}
.market-card a {
  align-self: end;
  color: #9ff6ff;
  font-weight: 900;
}
.compact-card {
  min-height: 110px;
}
.prompt-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
}
.prompt-item {
  min-height: 86px;
  padding: 18px;
  border: 1px solid rgba(190, 236, 255, .18);
  border-radius: 8px;
  background: rgba(255, 255, 255, .06);
  color: #f8fcff;
  font-weight: 800;
}
.gap-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.gap-list li {
  position: relative;
  padding: 14px 16px 14px 42px;
  border: 1px solid rgba(190, 236, 255, .18);
  border-radius: 8px;
  background: rgba(255, 255, 255, .06);
  color: rgba(217, 238, 248, .86);
  font-weight: 700;
}
.gap-list li::before {
  content: "";
  position: absolute;
  left: 17px;
  top: 20px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ffd56a;
}
.disclaimer-box {
  padding: 22px;
  border: 1px solid rgba(247, 201, 72, .36);
  border-radius: 8px;
  background: rgba(247, 201, 72, .08);
}
.disclaimer-box p {
  margin: 0;
  max-width: 920px;
  color: #fff4c7;
  font-size: 1.04rem;
  font-weight: 800;
}
.sample-report-panel {
  border-color: rgba(247, 201, 72, .32);
}
.sample-label {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 18px;
  padding: 8px 12px;
  border: 1px solid rgba(247, 201, 72, .36);
  border-radius: 999px;
  background: rgba(247, 201, 72, .12);
  color: #fff4c7;
  font-size: .84rem;
  font-weight: 900;
}
.embedded-score {
  margin-top: 0;
  box-shadow: none;
}
.definition-list {
  display: grid;
  gap: 12px;
}
.definition-list div {
  padding: 16px;
  border: 1px solid rgba(190, 236, 255, .18);
  border-radius: 8px;
  background: rgba(255, 255, 255, .06);
}
.definition-list h3 {
  margin: 0 0 8px;
  color: #f8fcff;
}
.definition-list p {
  margin: 0;
  color: rgba(217, 238, 248, .82);
}
.split-section p:not(.eyebrow) {
  color: rgba(217, 238, 248, .82);
  font-size: 1.08rem;
  line-height: 1.65;
}
.report-card {
  display: grid;
  gap: 10px;
  padding: 18px;
  border: 1px solid rgba(20, 85, 217, .22);
  border-radius: 8px;
  background: linear-gradient(150deg, #07192d, #102a48);
  color: #eefbff;
}
.report-card div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(193, 231, 255, .14);
}
.report-card div:last-child { border-bottom: 0; }
.report-card span { color: rgba(238, 251, 255, .72); }
.final-cta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin-top: 18px;
  padding: 38px;
  background: linear-gradient(135deg, rgba(7, 59, 135, .96), rgba(30, 214, 242, .88));
  border: 1px solid rgba(171, 226, 255, .18);
  border-radius: 8px;
  box-shadow: var(--shadow);
  color: #fff;
}
.final-cta h2 { color: #fff; }
.final-cta p { margin: 10px 0 0; color: rgba(255,255,255,.84); }
.report-preview-section { overflow: hidden; }
.report-preview {
  position: relative;
  border: 1px solid var(--panel-surface-border);
  border-radius: 8px;
  padding: 18px;
  background: var(--panel-surface);
  box-shadow: var(--shadow);
}
.report-preview-label {
  display: inline-block;
  margin-bottom: 14px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(30, 214, 242, .14);
  color: #9ff6ff;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.report-preview-page {
  border: 1px solid rgba(190, 236, 255, .18);
  border-radius: 8px;
  padding: 24px;
  background: var(--panel-inset);
  box-shadow: none;
}
.report-preview-page h3 {
  margin: 8px 0 18px;
  color: #f8fcff;
  font-size: 1.55rem;
}
.report-preview-score {
  display: grid;
  gap: 4px;
  width: fit-content;
  margin-bottom: 18px;
  padding: 14px 18px;
  border-radius: 10px;
  background: linear-gradient(150deg, #07192d, #102a48);
  color: #eefbff;
}
.report-preview-score span {
  color: rgba(238, 251, 255, .72);
  font-size: .78rem;
  font-weight: 800;
  text-transform: uppercase;
}
.report-preview-score strong {
  color: #fff;
  font-size: 2rem;
  line-height: 1;
}
.report-preview-score strong em {
  color: rgba(238, 251, 255, .62);
  font-size: 1.1rem;
  font-style: normal;
}
.report-preview-score b {
  color: #f7c948;
  font-size: .92rem;
}
.report-preview-kpis {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0 0 16px;
}
.report-preview-kpi {
  display: grid;
  gap: 8px;
  min-width: 0;
  padding: 12px 14px;
  border: 1px solid rgba(190, 236, 255, .18);
  border-radius: 8px;
  background: rgba(255, 255, 255, .04);
}
.report-preview-kpi span {
  color: rgba(217, 238, 248, .72);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .03em;
  text-transform: uppercase;
  line-height: 1.35;
}
.report-preview-kpi strong {
  color: #9ff6ff;
  font-size: 1.7rem;
  line-height: 1;
}
.report-preview-kpi .bar {
  background: rgba(255, 255, 255, .12);
}
.report-preview-kpi:last-child {
  grid-column: 1 / -1;
}
.report-preview-card {
  margin-top: 12px;
  padding: 14px 16px;
  border: 1px solid rgba(190, 236, 255, .18);
  border-radius: 8px;
  background: rgba(255, 255, 255, .04);
}
.report-preview-card h4 {
  margin: 0 0 8px;
  color: #f8fcff;
  font-size: 1rem;
}
.report-preview-card p,
.report-preview-card li {
  margin: 0;
  color: rgba(217, 238, 248, .82);
  font-size: .98rem;
  line-height: 1.55;
}
.report-preview-card ul {
  margin: 0;
  padding-left: 18px;
}
.report-preview-card-risk {
  border-color: rgba(239, 68, 68, .32);
  background: rgba(239, 68, 68, .08);
}
.site-footer {
  margin-top: 24px;
  padding: 28px 16px 40px;
  border-top: 1px solid rgba(174, 229, 255, .14);
  background: rgba(4, 16, 30, .84);
  color: rgba(232, 248, 255, .78);
}
.site-footer-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  gap: 12px;
}
.site-footer-brand,
.site-footer-note {
  margin: 0;
  font-size: .9rem;
}
.site-footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.site-footer-nav a {
  color: rgba(232, 248, 255, .9);
  font-size: .92rem;
  font-weight: 700;
  text-decoration: none;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.site-footer-nav a:hover { text-decoration: underline; }

.funnel-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}
.funnel-step {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 14px;
  border: 1px solid rgba(190, 236, 255, .16);
  border-radius: 999px;
  background: rgba(255, 255, 255, .04);
  color: rgba(217, 238, 248, .72);
  font-size: .86rem;
  font-weight: 700;
  text-decoration: none;
}
a.funnel-step:hover {
  color: #f8fcff;
  background: rgba(255, 255, 255, .08);
  text-decoration: none;
}
.funnel-step b {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .08);
  font-size: .78rem;
}
.funnel-step.is-current {
  border-color: rgba(30, 214, 242, .42);
  background: rgba(30, 214, 242, .12);
  color: #f8fcff;
}
.funnel-step.is-current b {
  background: linear-gradient(135deg, #28e6d5, #2458ff);
  color: #fff;
}
.funnel-step.is-done {
  border-color: rgba(33, 199, 130, .28);
  color: rgba(223, 250, 238, .92);
}
.page:has(.funnel-shell) {
  padding-top: 24px;
}
.funnel-shell {
  display: grid;
  gap: 20px;
}
.funnel-banner {
  margin: 0;
  padding: 12px 16px;
  border: 1px solid rgba(30, 214, 242, .38);
  border-left-width: 4px;
  border-radius: 8px;
  background: rgba(30, 214, 242, .12);
  color: #e8fbff;
  font-size: .95rem;
  font-weight: 800;
  line-height: 1.45;
}
.funnel-offer-layout {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  gap: 24px;
  align-items: stretch;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.funnel-offer-main,
.funnel-offer-sample {
  display: grid;
  gap: 22px;
  align-content: start;
  min-width: 0;
  padding: 24px;
  border: 1px solid var(--panel-surface-border);
  border-radius: 8px;
  background: var(--panel-surface);
  box-shadow: var(--shadow);
  color: #f8fcff;
}
.funnel-offer-intro,
.funnel-sample-heading,
.funnel-checkout-path {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: inherit;
}
.funnel-section {
  padding: 22px;
  border: 1px solid var(--panel-surface-border);
  border-radius: 8px;
  background: var(--panel-surface);
  box-shadow: var(--shadow);
  color: #f8fcff;
}
.funnel-offer-intro .eyebrow,
.funnel-sample-heading .eyebrow,
.funnel-section .eyebrow,
.funnel-checkout-path .eyebrow {
  margin: 0 0 10px;
}
.funnel-offer-main .funnel-order-card {
  margin: 0;
}
.funnel-offer-sample .report-preview {
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.funnel-offer-intro h1 {
  margin: 0 0 12px;
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  line-height: 1.12;
}
.funnel-offer-lede,
.funnel-sample-heading p {
  margin: 0;
  color: rgba(217, 238, 248, .84);
  font-size: 1.02rem;
  line-height: 1.55;
  max-width: none;
}
.funnel-sample-heading h2,
.funnel-section h2,
.funnel-checkout-path h2 {
  margin: 0 0 10px;
  color: #f8fcff;
  font-size: clamp(1.25rem, 2vw, 1.55rem);
}
.funnel-order-card-featured {
  border-color: rgba(30, 214, 242, .42);
  box-shadow: 0 18px 48px rgba(1, 18, 37, .34);
}
.funnel-order-includes {
  margin: 4px 0 0;
  padding: 10px 0 4px;
  border-top: 1px solid rgba(193, 231, 255, .14);
  list-style: disc;
}
.funnel-order-next {
  margin: 0;
  color: rgba(223, 250, 238, .9);
  font-size: .9rem;
  font-weight: 700;
  text-align: center;
  line-height: 1.45;
}
.funnel-checkout-path ol {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}
.funnel-checkout-path li {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 12px;
  align-items: start;
  padding: 12px 14px;
  border: 1px solid rgba(190, 236, 255, .18);
  border-radius: 8px;
  background: var(--panel-inset);
  color: rgba(217, 238, 248, .82);
  font-size: .96rem;
  line-height: 1.45;
}
.funnel-checkout-path li span {
  color: rgba(217, 238, 248, .62);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.funnel-checkout-path li.is-current {
  border-color: rgba(30, 214, 242, .42);
  background: rgba(30, 214, 242, .12);
  color: #f8fcff;
  font-weight: 700;
}
.funnel-checkout-path li.is-current span { color: #9ff6ff; }
.funnel-sample-cta {
  width: 100%;
}
.funnel-offer-main .funnel-disclaimer {
  margin: 0;
  padding-top: 4px;
  border-top: 1px solid rgba(190, 236, 255, .14);
  color: rgba(217, 238, 248, .62);
}
.funnel-continue-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 22px 24px;
  border: 1px solid rgba(171, 226, 255, .22);
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(7, 59, 135, .96), rgba(20, 85, 217, .9));
  color: #fff;
  box-shadow: 0 18px 42px rgba(7, 59, 135, .28);
}
.funnel-continue-kicker {
  margin: 0 0 6px;
  color: rgba(255, 255, 255, .82);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.funnel-continue-bar h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  line-height: 1.2;
}
.funnel-continue-bar p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, .86);
  max-width: none;
}
.funnel-continue-bar .button {
  flex: 0 0 auto;
  min-width: 240px;
}
.funnel-flow {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.funnel-flow article {
  padding: 22px;
  border: 1px solid rgba(190, 236, 255, .18);
  border-radius: 8px;
  background: var(--panel-inset);
}
.funnel-flow-step {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 12px;
  border-radius: 50%;
  background: linear-gradient(135deg, #28e6d5, #2458ff);
  color: #fff;
  font-size: .92rem;
  font-weight: 900;
}
.funnel-flow h3 {
  margin: 0 0 10px;
  color: #f8fcff;
  font-size: 1.12rem;
}
.funnel-flow p {
  margin: 0;
  color: rgba(217, 238, 248, .82);
  font-size: .98rem;
  line-height: 1.55;
}
.funnel-checklist {
  margin: 0;
  padding-left: 20px;
  color: rgba(217, 238, 248, .88);
  line-height: 1.7;
}
.funnel-checklist.compact {
  padding-left: 18px;
  font-size: .94rem;
  line-height: 1.55;
}
.funnel-checklist li + li { margin-top: 6px; }
.funnel-disclaimer {
  margin: 18px 0 0;
  color: rgba(217, 238, 248, .62);
  font-size: .92rem;
  line-height: 1.55;
}
.funnel-order-card {
  display: grid;
  gap: 10px;
  padding: 18px;
  border: 1px solid rgba(20, 85, 217, .22);
  border-radius: 8px;
  background: linear-gradient(150deg, #07192d, #102a48);
  color: #eefbff;
}
.pricing-toggle {
  display: grid;
  gap: 10px;
  margin: 0 0 4px;
  padding: 0 0 14px;
  border: 0;
  border-bottom: 1px solid rgba(193, 231, 255, .14);
  background: transparent;
}
.pricing-toggle-label {
  margin: 0;
  color: rgba(238, 251, 255, .72);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.pricing-toggle-track {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  padding: 3px;
  border: 1px solid rgba(196, 235, 255, .22);
  border-radius: 10px;
  background: rgba(0, 8, 18, .35);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04);
}
.pricing-toggle-option {
  display: grid;
  gap: 2px;
  justify-items: center;
  min-height: 52px;
  margin: 0;
  padding: 10px 12px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: rgba(238, 251, 255, .72);
  font: inherit;
  line-height: 1.2;
  cursor: pointer;
  transition: background .15s ease, color .15s ease, box-shadow .15s ease;
}
.pricing-toggle-title {
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .02em;
}
.pricing-toggle-price {
  color: rgba(217, 238, 248, .58);
  font-size: .78rem;
  font-weight: 700;
}
.pricing-toggle-option:hover {
  color: #f8fcff;
  background: rgba(255, 255, 255, .04);
}
.pricing-toggle-option.is-selected,
.pricing-toggle-option[aria-checked="true"] {
  background: rgba(255, 255, 255, .12);
  color: #fff;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, .12) inset,
    0 8px 18px rgba(0, 0, 0, .18);
}
.pricing-toggle-option.is-selected .pricing-toggle-price,
.pricing-toggle-option[aria-checked="true"] .pricing-toggle-price {
  color: #9ff6ff;
}
.pricing-toggle-option:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  z-index: 1;
}
.funnel-order-card > div:not(.funnel-order-price):not(.pricing-toggle):not(.trust-row) {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(193, 231, 255, .14);
}
.funnel-order-card > div:last-of-type { border-bottom: 0; }
.funnel-order-card span { color: rgba(238, 251, 255, .72); }
.funnel-order-price {
  display: grid;
  gap: 4px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(193, 231, 255, .14);
}
.funnel-order-price span {
  color: rgba(238, 251, 255, .72);
  font-size: .78rem;
  font-weight: 800;
  text-transform: uppercase;
}
.funnel-order-price strong {
  color: #fff;
  font-size: 2.2rem;
  line-height: 1;
}
.funnel-order-price b {
  color: #9ff6ff;
  font-size: .92rem;
  font-weight: 700;
}
.funnel-order-cta,
.funnel-submit {
  width: 100%;
  min-height: 54px;
  margin-top: 8px;
}
.trust-row.compact { margin-top: 8px; }
.funnel-faq {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.funnel-faq article {
  padding: 20px;
  border: 1px solid rgba(190, 236, 255, .18);
  border-radius: 8px;
  background: var(--panel-inset);
}
.funnel-faq h3 {
  margin: 0 0 8px;
  color: #f8fcff;
  font-size: 1.05rem;
}
.funnel-faq p {
  margin: 0;
  color: rgba(217, 238, 248, .82);
  font-size: .96rem;
  line-height: 1.55;
}
.funnel-start-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 28px;
  align-items: start;
}
.funnel-start-lede {
  margin: 0;
  color: rgba(217, 238, 248, .82);
  font-size: 1.02rem;
  line-height: 1.6;
}
.funnel-notice {
  margin: 0 0 16px;
  padding: 12px 14px;
  border-left: 4px solid #1ed6f2;
  border-radius: 6px;
  background: rgba(30, 214, 242, .08);
  color: #dff8ff;
}
.funnel-notice-warn { border-left-color: #f7c948; background: rgba(247, 201, 72, .1); }
.funnel-notice-error { border-left-color: #ef4444; background: rgba(239, 68, 68, .1); color: #ffe4e4; }
.funnel-form {
  display: grid;
  gap: 20px;
  max-width: none;
  margin-top: 8px;
}
.funnel-form-group {
  margin: 0;
  padding: 0;
  border: 0;
  display: grid;
  gap: 12px;
}
.funnel-form legend {
  margin-bottom: 4px;
  color: #9ff6ff;
  font-size: .82rem;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.funnel-form label {
  color: #f8fcff;
  font-size: .94rem;
}
.field-required {
  color: #7fe8ff;
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.funnel-form input,
.funnel-form textarea {
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(190, 236, 255, .22);
  color: #f8fcff;
}
.funnel-form input:focus-visible,
.funnel-form textarea:focus-visible {
  border-color: #1ed6f2;
  box-shadow: 0 0 0 3px rgba(30, 214, 242, .24);
}
.funnel-form input:user-invalid,
.funnel-form textarea:user-invalid {
  border-color: #ef4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, .2);
}
.funnel-form input::placeholder,
.funnel-form textarea::placeholder { color: rgba(217, 238, 248, .45); }
.funnel-form-hint {
  margin: 0;
  color: rgba(217, 238, 248, .62);
  font-size: .9rem;
}
.funnel-form-status {
  margin: 0;
  min-height: 1.25em;
  color: #9ff6ff;
  font-size: .9rem;
  font-weight: 700;
  text-align: center;
}
.funnel-form-status:empty { display: none; }
.funnel-form-footnote {
  margin: 0;
  color: rgba(217, 238, 248, .62);
  font-size: .88rem;
  text-align: center;
}
.funnel-start-summary { position: sticky; top: 88px; }
@media (max-width: 720px) {
  .topbar {
    align-items: center;
    flex-wrap: wrap;
    padding: 12px 16px;
  }
  .mobile-menu-toggle {
    display: inline-flex;
  }
  .topbar .site-nav {
    display: none;
    flex: 1 1 100%;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding-top: 8px;
  }
  .topbar .site-nav.is-open {
    display: flex;
  }
  .topbar .site-nav a,
  .nav-menu summary {
    width: 100%;
    min-height: 42px;
    padding: 8px 0;
  }
  .nav-menu div {
    position: static;
    min-width: 0;
    margin: 0 0 8px;
    box-shadow: none;
  }
  .topbar-status {
    flex: 1 1 100%;
    text-align: left;
    font-size: .82rem;
  }
  .topbar-cta {
    min-height: 44px;
    padding: 8px 14px;
    font-size: .84rem;
  }
  section { padding: 18px; }
  dl { grid-template-columns: 1fr; }
  table { display: block; overflow-x: auto; }
}
@media (max-width: 980px) {
  body { background-attachment: scroll; }
  .landing-hero,
  .market-hero,
  .split-section,
  .final-cta {
    grid-template-columns: minmax(0, 1fr);
  }
  .landing-hero {
    padding: 30px;
  }
  .hero-visual { margin-top: 12px; }
  .score-band,
  .feature-grid {
    grid-template-columns: 1fr 1fr;
  }
  .market-scenario,
  .snapshot-price-card,
  .methodology-disclaimer {
    min-height: auto;
  }
  .split-section { display: grid; }
  .report-card { width: 100%; }
  .funnel-flow,
  .funnel-faq,
  .funnel-start-grid,
  .funnel-offer-layout {
    grid-template-columns: 1fr;
  }
  .funnel-start-summary { position: static; }
  .funnel-continue-bar {
    flex-direction: column;
    align-items: stretch;
  }
  .funnel-continue-bar .button,
  .funnel-sample-cta { width: 100%; }
}
@media (max-width: 640px) {
  .topbar { align-items: center; }
  .brand {
    gap: 8px;
    font-size: .92rem;
  }
  .brand img {
    width: 30px;
    height: 30px;
  }
  .topbar nav a { font-size: .84rem; }
  .page {
    width: min(100% - 20px, 420px);
    max-width: min(100% - 20px, 420px);
    padding-top: 18px;
  }
  .landing-hero h1 {
    font-size: clamp(2rem, 9.5vw, 2.75rem);
    overflow-wrap: break-word;
  }
  .hero-meta { font-size: .92rem; }
  .landing-hero {
    display: block;
    width: 100%;
    max-width: 100%;
    padding: 24px 18px;
  }
  .hero-copy,
  .hero-actions,
  .hero-actions .button,
  .trust-row {
    width: 100%;
    max-width: 100%;
  }
  .lede {
    font-size: 1.04rem;
    line-height: 1.55;
  }
  .hero-actions .button { width: 100%; }
  .hero-visual {
    width: 100%;
    margin-top: 26px;
  }
  .score-band,
  .feature-grid {
    grid-template-columns: 1fr;
  }
  .market-grid,
  .prompt-list {
    grid-template-columns: 1fr;
  }
  .score-band div {
    min-height: auto;
  }
  .landing-section,
  .final-cta {
    padding: 24px 18px;
  }
  .feature-grid article { padding: 18px 18px 18px 62px; }
  .feature-step { left: 18px; top: 18px; }
  .report-preview-page { padding: 18px; }
  .site-footer { padding-bottom: 28px; }
  .final-cta { display: grid; }
  .funnel-steps { gap: 8px; }
  .funnel-step { width: 100%; justify-content: flex-start; }
  .hero-actions .button,
  .funnel-order-cta,
  .funnel-submit,
  .inline-actions .button { width: 100%; }
}

body.report-view .page:has(.audit-report) {
  --report-topbar-offset: 0;
  padding-top: 24px;
}
body.report-view .report-page,
body.report-view .report-snap {
  scroll-margin-top: 24px;
}
.page:has(.audit-report) {
  --report-outline-width: 280px;
  --report-topbar-offset: 62px;
  --report-page-width: 1061px;
  --report-page-zoom: 1;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 44px 24px 64px calc(var(--report-outline-width) + 24px);
  overflow: visible;
  box-sizing: border-box;
}
.page:has(.audit-report .report-outline-panel.is-collapsed) {
  --report-outline-width: 52px;
}
.audit-report {
  display: grid;
  justify-items: center;
  justify-content: center;
  gap: 24px;
  min-width: var(--report-page-width);
  background: transparent;
  border: 0;
  padding: 0 0 88px;
}
.report-viewer-controls {
  position: fixed;
  left: calc(var(--report-outline-width, 280px) + (100vw - var(--report-outline-width, 280px)) / 2);
  bottom: 18px;
  z-index: 30;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px;
  max-width: min(100%, 816px);
  padding: 10px;
  border: 1px solid rgba(196, 235, 255, .28);
  border-radius: 999px;
  background: rgba(3, 15, 31, .88);
  box-shadow: 0 18px 50px rgba(0, 0, 0, .22);
  backdrop-filter: blur(18px);
  opacity: .5;
  transform: translateX(-50%) scale(.5);
  transform-origin: center bottom;
  transition: opacity .18s ease, transform .18s ease;
}
.report-viewer-controls:hover,
.report-viewer-controls:focus-within {
  opacity: 1;
  transform: translateX(-50%) scale(1.25);
}
.report-viewer-controls button {
  min-width: 44px;
  min-height: 44px;
  padding: 8px 12px;
  border: 1px solid rgba(196, 235, 255, .24);
  border-radius: 999px;
  background: rgba(255, 255, 255, .1);
  color: #eaf9ff;
  font-size: 1rem;
}
.report-viewer-controls button:hover,
.report-viewer-controls button:focus-visible {
  background: rgba(30, 214, 242, .18);
  outline-color: var(--accent);
}
.report-viewer-controls [data-report-zoom-value] {
  min-width: 58px;
  color: #eaf9ff;
  font-weight: 900;
  text-align: center;
}
.report-page-controls {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.report-page-jump {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #eaf9ff;
  font-size: .84rem;
  font-weight: 900;
  white-space: nowrap;
}
.report-viewer-controls [data-report-page-value] {
  width: 54px;
  min-height: 44px;
  border: 1px solid rgba(196, 235, 255, .24);
  border-radius: 999px;
  background: rgba(255, 255, 255, .1);
  color: #eaf9ff;
  font-size: .84rem;
  font-weight: 900;
  font-family: inherit;
  text-align: center;
}
.report-viewer-controls [data-report-page-value]::-webkit-calendar-picker-indicator {
  display: none !important;
}
.report-viewer-controls [data-report-page-value]:focus-visible {
  outline: 2px solid rgba(30, 214, 242, .55);
  outline-offset: 2px;
}
.report-viewer-controls [data-report-page-count] {
  min-width: 36px;
  color: #eaf9ff;
  font-size: .84rem;
  font-weight: 900;
  white-space: nowrap;
}
.report-viewer-controls button:disabled {
  cursor: not-allowed;
  opacity: .45;
}
.report-page {
  width: var(--report-page-width);
  max-width: none;
  aspect-ratio: 8.5 / 11;
  scroll-margin-top: 92px;
  border: 1px solid rgba(196, 235, 255, .24);
  border-radius: 8px;
  padding: 34px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.98), rgba(247,251,255,.96));
  box-shadow: var(--shadow);
  transform: scale(var(--report-page-zoom));
  transform-origin: top center;
}
.report-cover {
  display: grid;
  align-content: space-between;
  gap: 24px;
  background:
    linear-gradient(180deg, rgba(3, 15, 31, .22), rgba(255,255,255,.96)),
    rgba(255,255,255,.96);
}
.page-kicker {
  color: var(--accent-strong);
  font-size: .82rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.page-heading {
  max-width: 850px;
  margin-bottom: 26px;
}
.page-heading h2,
.report-page > h2 {
  margin: 0 0 10px;
  color: #102136;
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 1.05;
}
.page-heading p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.08rem;
}
.report-hero,
.report-panel,
.report-disclaimer {
  border: 1px solid rgba(196, 235, 255, .22);
  border-radius: 8px;
  box-shadow: var(--shadow);
}
.report-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 28px;
  align-items: center;
  padding: 34px;
  background:
    radial-gradient(circle at 84% 22%, rgba(30, 214, 242, .28), transparent 30%),
    linear-gradient(135deg, rgba(3, 15, 31, .98), rgba(8, 38, 68, .95));
  color: #f8fcff;
}
.cover-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.cover-stats div {
  display: grid;
  gap: 8px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255,255,255,.92);
}
.cover-stats span {
  color: var(--muted);
  font-size: .76rem;
  font-weight: 900;
  text-transform: uppercase;
}
.cover-stats strong {
  color: var(--accent-strong);
  font-size: 2.4rem;
  line-height: 1;
}
.report-hero h1 {
  margin-bottom: 10px;
  font-size: clamp(2.6rem, 6vw, 5rem);
}
.report-meta,
.report-summary {
  color: #cceafd;
}
.report-summary {
  max-width: 820px;
  margin-bottom: 0;
  font-size: 1.08rem;
}
.report-score {
  display: grid;
  gap: 8px;
  justify-items: center;
  padding: 24px 18px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 8px;
  background: rgba(255,255,255,.08);
  text-align: center;
}
.report-score span,
.report-score b {
  color: rgba(248,252,255,.82);
}
.report-score strong {
  color: #fff;
  font-size: 4.4rem;
  line-height: 1;
}
.report-score em {
  color: rgba(248,252,255,.58);
  font-size: 1.45rem;
  font-style: normal;
}
.kpi-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}
.kpi-card,
.report-panel,
.report-disclaimer {
  background: rgba(255,255,255,.96);
}
.kpi-card {
  display: grid;
  gap: 10px;
  min-height: 190px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
}
.kpi-card span,
.status-metrics,
.source-card span {
  color: var(--muted);
  font-size: .78rem;
  font-weight: 900;
  text-transform: uppercase;
}
.kpi-card strong {
  color: var(--accent-strong);
  font-size: 2.6rem;
  line-height: 1;
}
.kpi-card p {
  margin: 0;
  color: var(--muted);
  font-size: .9rem;
}
.score-artifact-hero {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 18px;
  align-items: stretch;
  margin-bottom: 18px;
}
.score-artifact-hero .report-score {
  border-color: var(--line);
  background: linear-gradient(180deg, #fff, #f6fbff);
}
.score-artifact-hero .report-score span,
.score-artifact-hero .report-score b {
  color: var(--muted);
}
.score-artifact-hero .report-score strong {
  color: var(--accent-strong);
}
.score-artifact-hero .report-score em {
  color: var(--muted);
}
.score-artifact-hero > div:last-child,
.score-artifact-grid > div {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}
.score-artifact-hero h3,
.score-artifact-grid h3 {
  margin: 0 0 10px;
  color: #102136;
}
.score-artifact-hero p {
  margin: 0;
  color: var(--muted);
}
.score-artifact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.bar {
  height: 9px;
  overflow: hidden;
  border-radius: 999px;
  background: #dbe8f3;
}
.bar i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #28e6d5, #2458ff);
}
.report-panel {
  padding: 26px;
}
.panel-heading,
.status-metrics {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.panel-heading h2,
.report-panel h2 {
  margin: 0 0 14px;
  color: #102136;
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  line-height: 1.1;
}
.status-metrics {
  flex-wrap: wrap;
  justify-content: flex-end;
}
.status-metrics span,
.status-metrics {
  color: var(--muted);
}
.report-table-wrap {
  overflow-x: auto;
}
.report-table small {
  display: block;
  max-width: 320px;
  margin-top: 5px;
  color: var(--muted);
  font-size: .78rem;
}
.ranking-table td,
.ranking-table th {
  vertical-align: middle;
}
.status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 4px 9px;
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 900;
  text-transform: uppercase;
}
.status-ok {
  background: rgba(33, 199, 130, .14);
  color: #087a4a;
}
.status-bad {
  background: rgba(239, 68, 68, .12);
  color: #b42318;
}
.status-warn {
  background: rgba(247, 201, 72, .18);
  color: #986800;
}
.report-two-col {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 18px;
  align-items: start;
}
.competitor-note {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f5faff;
}
.competitor-note p {
  margin-bottom: 0;
  color: var(--muted);
}
.competitor-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}
.competitor-badges span,
.risk-pill {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #f6fbff;
  color: #18324f;
  font-size: .78rem;
  font-weight: 900;
  text-transform: uppercase;
}
.risk-high {
  border-color: rgba(220, 38, 38, .24);
  background: rgba(239, 68, 68, .12);
  color: #b42318;
}
.risk-medium {
  border-color: rgba(217, 119, 6, .24);
  background: rgba(247, 201, 72, .18);
  color: #986800;
}
.risk-low {
  border-color: rgba(33, 199, 130, .24);
  background: rgba(33, 199, 130, .14);
  color: #087a4a;
}
.risk-unknown {
  border-color: rgba(71, 85, 105, .18);
  background: rgba(226, 232, 240, .55);
  color: #475569;
}
.competitor-page h3 {
  margin: 0 0 10px;
  color: #102136;
}
.competitor-detail-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 18px;
  margin-top: 24px;
}
.competitor-detail-grid > div {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}
.competitor-detail-grid p,
.competitor-detail-grid li {
  color: var(--muted);
}
.source-summary {
  margin-top: 10px;
  color: #18324f;
  font-size: .88rem;
  font-weight: 900;
}
.recommendation-scenario-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.recommendation-scenario-grid h3 {
  margin: 0 0 12px;
  color: #102136;
}
.scenario-card {
  display: grid;
  gap: 7px;
  margin-bottom: 12px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}
.scenario-card span {
  font-size: .76rem;
  font-weight: 900;
  text-transform: uppercase;
}
.scenario-card b {
  color: #102136;
}
.scenario-card p {
  margin: 0;
  color: var(--muted);
}
.insight-list {
  display: grid;
  gap: 8px;
  margin: 0 0 18px;
  padding-left: 20px;
}
.evidence-panel {
  margin-top: 18px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, #fff, #f6fbff);
}
.compact-heading {
  margin-bottom: 12px;
}
.compact-heading h3 {
  margin: 0;
}
.compact-heading p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: .86rem;
  font-weight: 800;
  text-transform: uppercase;
}
.evidence-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 12px;
}
.evidence-list article {
  display: grid;
  gap: 7px;
  padding: 16px;
  border: 1px solid rgba(20, 85, 217, .12);
  border-radius: 8px;
  background: rgba(255,255,255,.9);
}
.evidence-list b {
  color: #102136;
}
.evidence-list span {
  color: var(--muted);
  font-size: .76rem;
  font-weight: 900;
  text-transform: uppercase;
}
.evidence-list p {
  margin: 0;
  color: var(--muted);
}
.evidence-list a {
  font-weight: 800;
}
.evidence-trail {
  display: grid;
  gap: 10px;
}
.evidence-trail article {
  display: grid;
  grid-template-columns: 38px minmax(170px, .75fr) repeat(3, minmax(150px, 1fr)) auto;
  gap: 12px;
  align-items: start;
  padding: 14px;
  border: 1px solid rgba(20, 85, 217, .12);
  border-radius: 8px;
  background: rgba(255,255,255,.92);
}
.trail-rank {
  display: inline-grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 999px;
  background: #eaf6ff;
  color: var(--accent-strong);
  font-weight: 900;
}
.evidence-trail b {
  color: #102136;
}
.evidence-trail small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: .72rem;
  font-weight: 900;
  text-transform: uppercase;
}
.evidence-trail p {
  margin: 0;
  color: var(--muted);
  font-size: .9rem;
}
.evidence-trail a {
  white-space: nowrap;
  font-weight: 800;
}
.report-snap {
  scroll-margin-top: 92px;
}
.report-outline-panel {
  position: fixed;
  left: 0;
  top: var(--report-topbar-offset, 62px);
  bottom: 0;
  z-index: 20;
  display: flex;
  flex-direction: column;
  width: var(--report-outline-width, 280px);
  border: 0;
  border-right: 1px solid rgba(174, 229, 255, .18);
  border-radius: 0;
  background: rgba(4, 16, 30, .94);
  box-shadow: none;
  backdrop-filter: blur(18px);
  transition: width .18s ease;
}
.report-outline-panel.is-collapsed {
  width: var(--report-outline-width, 52px);
}
.report-outline-header {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 52px;
  padding: 8px 10px;
  border-bottom: 1px solid rgba(174, 229, 255, .18);
  background: rgba(255, 255, 255, .04);
  flex: 0 0 auto;
}
.report-outline-panel-toggle {
  display: inline-grid;
  place-items: center;
  width: 30px;
  min-width: 30px;
  height: 30px;
  min-height: 30px;
  max-height: 30px;
  padding: 0;
  border: 1px solid rgba(196, 235, 255, .24);
  border-radius: 8px;
  background: rgba(255, 255, 255, .08);
  color: #eaf9ff;
  font-size: 1rem;
  line-height: 1;
  aspect-ratio: 1;
  cursor: pointer;
  flex: 0 0 auto;
}
.report-outline-panel-toggle:hover,
.report-outline-panel-toggle:focus-visible {
  background: rgba(30, 214, 242, .16);
  border-color: rgba(30, 214, 242, .48);
  color: #fff;
}
.report-outline-panel-toggle-icon {
  position: relative;
  display: block;
  width: 10px;
  height: 10px;
}
.report-outline-panel-toggle-icon::before {
  content: "";
  position: absolute;
  left: 1px;
  top: 1px;
  width: 7px;
  height: 7px;
  border-left: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform .18s ease;
}
.report-outline-panel.is-collapsed .report-outline-panel-toggle-icon::before {
  left: -1px;
  transform: rotate(-135deg);
}
.report-outline-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex: 1;
  color: #f7fcff;
  font-size: .82rem;
  font-weight: 800;
}
.report-outline-brand img {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  box-shadow: 0 0 18px rgba(30, 214, 242, .2);
  flex: 0 0 auto;
}
.report-outline-panel.is-collapsed .report-outline-header {
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  padding: 12px 10px;
}
.report-outline-panel.is-collapsed .report-outline-brand {
  justify-content: center;
}
.report-outline-panel.is-collapsed .report-outline-brand span {
  display: none;
}
.report-outline-tree-actions {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  flex: 0 0 auto;
}
.report-outline-panel.is-collapsed .report-outline-tree-actions {
  display: none;
}
.report-outline-tree-action {
  display: inline-grid;
  place-items: center;
  width: 30px;
  min-width: 30px;
  height: 30px;
  min-height: 30px;
  max-height: 30px;
  padding: 0;
  border: 1px solid rgba(196, 235, 255, .24);
  border-radius: 8px;
  background: rgba(255, 255, 255, .08);
  color: #eaf9ff;
  font-size: .9rem;
  line-height: 1;
  aspect-ratio: 1;
  cursor: pointer;
}
.report-outline-tree-action:hover,
.report-outline-tree-action:focus-visible {
  background: rgba(30, 214, 242, .16);
  border-color: rgba(30, 214, 242, .48);
  color: #fff;
}
.report-outline-tree {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  min-height: 0;
  overflow: auto;
  margin: 8px;
  padding: 10px 8px 16px;
  border-radius: 8px;
  background: rgba(4, 16, 30, .3);
}
.report-outline-panel.is-collapsed .report-outline-tree {
  display: none;
}
.report-outline-page {
  display: grid;
  gap: 2px;
}
.report-outline-page-row {
  display: flex;
  align-items: stretch;
  gap: 4px;
}
.report-outline-expand-btn {
  flex: 0 0 auto;
  display: inline-grid;
  place-items: center;
  width: 28px;
  min-height: 36px;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  color: rgba(234, 249, 255, .72);
  cursor: pointer;
}
.report-outline-expand-btn:hover,
.report-outline-expand-btn:focus-visible {
  background: rgba(255, 255, 255, .08);
  border-color: rgba(196, 235, 255, .2);
  color: #fff;
}
.report-outline-page-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  min-width: 0;
  min-height: 36px;
  padding: 7px 10px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  color: rgba(234, 249, 255, .86);
  font-size: .82rem;
  font-weight: 800;
  text-align: left;
  cursor: pointer;
}
.report-outline-page-btn:hover,
.report-outline-page-btn:focus-visible {
  background: rgba(30, 214, 242, .12);
  border-color: rgba(196, 235, 255, .2);
  color: #fff;
}
.report-outline-page.is-active .report-outline-page-btn {
  border-color: rgba(30, 214, 242, .72);
  background: rgba(30, 214, 242, .16);
  color: #fff;
}
.report-outline-page-btn[aria-current="location"] {
  border-color: #1ed6f2;
  background:
    linear-gradient(145deg, rgba(30,214,242,.28), rgba(36,88,255,.14)),
    rgba(255,255,255,.06);
}
.report-outline-chevron {
  flex: 0 0 auto;
  width: 14px;
  height: 14px;
  position: relative;
}
.report-outline-chevron::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 2px;
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(-45deg);
  transition: transform .16s ease;
}
.report-outline-page.is-expanded .report-outline-expand-btn .report-outline-chevron::before {
  transform: rotate(45deg);
  top: 4px;
}
.report-outline-page-label {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.report-outline-snaps {
  display: none;
  gap: 2px;
  padding: 0 0 4px 32px;
}
.report-outline-page.is-expanded > .report-outline-snaps {
  display: grid;
}
.report-outline-snaps[hidden] {
  display: none !important;
}
.report-outline-snap-btn {
  display: block;
  width: 100%;
  min-height: 30px;
  padding: 5px 10px;
  border: 1px solid transparent;
  border-radius: 6px;
  background: transparent;
  color: rgba(234, 249, 255, .72);
  font-size: .76rem;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}
.report-outline-snap-btn:hover,
.report-outline-snap-btn:focus-visible {
  background: rgba(255, 255, 255, .08);
  color: #fff;
}
.report-outline-snap-btn.is-active {
  border-color: rgba(30, 214, 242, .48);
  background: rgba(30, 214, 242, .1);
  color: #fff;
}
.report-outline-tier {
  padding: 10px 10px 4px;
  color: rgba(234, 249, 255, .58);
  font-size: .68rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.report-outline-tier:first-child {
  padding-top: 4px;
}
.owner-brief-page .owner-brief-card {
  margin-bottom: 14px;
  padding: 16px 18px;
  border: 1px solid rgba(20, 85, 217, .12);
  border-radius: 8px;
  background: rgba(255, 255, 255, .92);
}
.owner-brief-page .owner-brief-card h3 {
  margin: 0 0 8px;
  color: #102136;
  font-size: .95rem;
}
.owner-brief-page .owner-brief-card p {
  margin: 0;
  color: #234057;
}
.owner-brief-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.page-lede {
  max-width: 760px;
  margin: 0 0 18px;
  color: var(--muted);
}
.competitor-owner-lead {
  margin-bottom: 18px;
  padding: 16px 18px;
  border: 1px solid rgba(20, 85, 217, .12);
  border-radius: 8px;
  background: linear-gradient(180deg, #fff, #f6fbff);
}
.competitor-owner-lead p {
  margin: 0 0 10px;
  color: #234057;
}
.competitor-owner-lead p:last-child {
  margin-bottom: 0;
}
.source-owner-summary {
  margin: 0;
  color: #234057;
}
.source-owner-action {
  margin: 0;
  color: var(--muted);
  font-size: .9rem;
}
.report-glossary dl {
  display: grid;
  gap: 12px;
  margin: 0;
}
.report-glossary dt {
  color: #102136;
  font-weight: 800;
}
.report-glossary dd {
  margin: 4px 0 0;
  color: #234057;
}
.ranking-table-simple th,
.ranking-table-simple td {
  vertical-align: top;
}
.report-view-actions {
  position: fixed;
  top: 12px;
  right: 16px;
  z-index: 25;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  max-width: calc(100vw - var(--report-outline-width, 280px) - 32px);
}
.report-view-actions a,
.report-view-actions button {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 8px 12px;
  border: 1px solid rgba(196, 235, 255, .28);
  border-radius: 999px;
  background: rgba(3, 15, 31, .88);
  box-shadow: 0 12px 32px rgba(0, 0, 0, .18);
  backdrop-filter: blur(18px);
  color: #eaf9ff;
  font-size: .78rem;
  font-weight: 800;
  font-family: inherit;
  text-decoration: none;
}
.report-view-actions button {
  cursor: pointer;
}
.report-view-actions .report-view-icon-button {
  justify-content: center;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  padding: 0;
  border-radius: 50%;
  opacity: .5;
  transition: opacity .18s ease, background .18s ease, color .18s ease, transform .18s ease;
}
.report-view-actions .report-view-icon-button:hover,
.report-view-actions .report-view-icon-button:focus-visible {
  opacity: 1;
  transform: translateY(-1px);
}
.report-view-actions .report-view-icon-button svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.report-view-actions a:hover,
.report-view-actions a:focus-visible,
.report-view-actions button:hover,
.report-view-actions button:focus-visible {
  background: rgba(30, 214, 242, .16);
  color: #fff;
  text-decoration: none;
}
.report-status:not(.landing-hero) {
  width: min(100%, 640px);
  margin: 12vh auto 0;
  padding: 28px;
  border: 1px solid rgba(196, 235, 255, .28);
  border-radius: 12px;
  background: rgba(3, 15, 31, .88);
  box-shadow: 0 18px 50px rgba(0, 0, 0, .22);
  backdrop-filter: blur(18px);
  color: #eaf9ff;
  text-align: center;
}
.report-status:not(.landing-hero) h1 {
  margin: 0 0 12px;
  color: #fff;
  font-size: clamp(1.6rem, 4vw, 2.2rem);
}
.report-status:not(.landing-hero) p {
  margin: 0 auto 10px;
  max-width: 520px;
  color: rgba(234, 249, 255, .82);
}
.report-status:not(.landing-hero) a {
  color: #1ed6f2;
  font-weight: 800;
}
.chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.chip-list span {
  border: 1px solid rgba(20, 85, 217, .18);
  border-radius: 999px;
  padding: 8px 12px;
  background: #f2f8ff;
  color: #18324f;
  font-weight: 800;
}
.chip-list.compact {
  margin-top: 14px;
}
.chip-list.compact span {
  padding: 6px 10px;
  font-size: .82rem;
}
.action-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 22px;
}
.action-list li {
  padding-left: 6px;
}
.source-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}
.source-card {
  display: grid;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  background: linear-gradient(180deg, #fff, #f6fbff);
}
.source-card b {
  color: #102136;
}
.source-card p {
  margin: 0;
  color: var(--muted);
}
.source-card a {
  font-weight: 800;
}
.report-disclaimer {
  padding: 20px 24px;
  color: #234057;
}
.report-disclaimer p {
  margin: 6px 0 0;
  max-width: 980px;
}
@media (max-width: 980px) {
  .report-hero,
  .report-two-col,
  .score-artifact-hero,
  .score-artifact-grid,
  .recommendation-scenario-grid,
  .competitor-detail-grid {
    grid-template-columns: 1fr;
  }
  .evidence-trail article {
    grid-template-columns: 38px 1fr;
  }
  .evidence-trail article p,
  .evidence-trail article a {
    grid-column: 2;
  }
  .cover-stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .kpi-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .panel-heading {
    align-items: flex-start;
    flex-direction: column;
  }
  .owner-brief-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 640px) {
  .page:has(.audit-report) {
    padding: 18px 16px 64px calc(var(--report-outline-width) + 12px);
  }
  .page:has(.audit-report):has(.report-outline-panel:not(.is-collapsed)) {
    --report-outline-width: min(260px, 82vw);
  }
  .report-view-actions {
    top: auto;
    bottom: 72px;
    right: 10px;
    max-width: calc(100vw - 20px);
  }
  .report-hero,
  .report-panel,
  .report-page {
    padding: 20px;
  }
  .report-page {
    min-height: auto;
  }
  .cover-stats {
    grid-template-columns: 1fr;
  }
  .kpi-grid {
    grid-template-columns: 1fr;
  }
  .report-score strong {
    font-size: 3.4rem;
  }
  .report-viewer-controls {
    left: 50%;
    bottom: 10px;
    max-width: calc(100vw - 20px);
    border-radius: 18px;
  }
}

@media print {
  @page {
    size: letter;
    margin: .25in;
  }
  html,
  body.report-view {
    width: auto;
    margin: 0;
    padding: 0;
    background: #fff;
  }
  body.report-view .page {
    display: block;
    width: auto;
    max-width: none;
    margin: 0;
    padding: 0;
    background: #fff;
  }
  body.report-view .report-view-actions,
  body.report-view .report-viewer-controls,
  body.report-view .report-outline-panel {
    display: none !important;
  }
  body.report-view .audit-report {
    display: block;
    width: auto;
    min-width: 0;
    margin: 0;
    padding: 0;
    background: #fff;
  }
  body.report-view .report-page {
    width: 7.75in;
    max-width: none;
    min-height: auto;
    aspect-ratio: 8.5 / 11;
    box-sizing: border-box;
    margin: 0 auto;
    padding: .25in;
    border: 1px solid rgba(196, 235, 255, .24);
    border-radius: 8px;
    box-shadow: none;
    transform: none !important;
    break-after: page;
    page-break-after: always;
    print-color-adjust: exact;
    -webkit-print-color-adjust: exact;
  }
  body.report-view .report-page:last-child {
    break-after: auto;
    page-break-after: auto;
  }
}
