:root {
  --bg: #ffffff;
  --ink: #0e2340;
  --muted: #56647a;
  --line: #dee5ef;
  --signal: #0b4c8c;
  --signal-soft: #2e7bc4;
  --signal-light: #5fa8ea;
  --panel: #eef4fa;
  --ring: rgba(11, 76, 140, 0.14);
  --good: #1e7b4d;
  --warning: #9a6400;
  --error: #b3261e;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0a1420;
    --ink: #eaf2fb;
    --muted: #8fa0b8;
    --line: #1e2e42;
    --signal: #5fa8ea;
    --signal-soft: #7fc0f5;
    --signal-light: #8fc6f5;
    --panel: #101e30;
    --ring: rgba(143, 198, 245, 0.16);
    --good: #59c98a;
    --warning: #e0a63e;
    --error: #f2897c;
  }
}
:root[data-theme="dark"] {
  --bg: #0a1420;
  --ink: #eaf2fb;
  --muted: #8fa0b8;
  --line: #1e2e42;
  --signal: #5fa8ea;
  --signal-soft: #7fc0f5;
  --signal-light: #8fc6f5;
  --panel: #101e30;
  --ring: rgba(143, 198, 245, 0.16);
  --good: #59c98a;
  --warning: #e0a63e;
  --error: #f2897c;
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
h1,
h2,
h3,
h4,
.display {
  font-family:
    "Archivo",
    -apple-system,
    "Segoe UI",
    sans-serif;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin: 0;
  color: var(--ink);
  text-wrap: balance;
}
a {
  color: inherit;
}
img {
  max-width: 100%;
  display: block;
}
.wrap {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 32px;
}
@media (max-width: 640px) {
  .wrap {
    padding: 0 22px;
  }
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--signal);
}
.eyebrow .tally {
  display: inline-flex;
  flex-direction: column;
  gap: 3px;
}
.eyebrow .tally span {
  width: 15px;
  height: 2px;
  background: currentColor;
  opacity: 0.55;
}
.dotline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.dotline .dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--signal-light);
  flex-shrink: 0;
}

/* ---------- Nav ---------- */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.brand img {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
}
.brand-name {
  font-family: "Archivo", sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.brand-name small {
  display: block;
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  color: var(--muted);
  text-transform: uppercase;
  margin-top: 2px;
}
.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  text-decoration: none;
  font-size: 0.92rem;
  color: var(--muted);
  transition: color 0.2s ease;
  white-space: nowrap;
}
.nav-links a:hover {
  color: var(--ink);
}
.nav-cta {
  border: 1px solid var(--ink);
  padding: 9px 18px;
  border-radius: 2px;
  font-size: 0.88rem;
  text-decoration: none;
  white-space: nowrap;
}
.nav-cta:hover {
  background: var(--ink);
  color: var(--bg);
}
@media (max-width: 860px) {
  .nav-links {
    display: none;
  }
}
@media (max-width: 480px) {
  .brand-name small {
    display: none;
  }
  .nav-cta {
    padding: 8px 13px;
    font-size: 0.82rem;
  }
  .brand img {
    width: 34px;
    height: 34px;
  }
}

/* ---------- Hero ---------- */
.hero {
  padding: 84px 0 78px;
  position: relative;
  overflow: hidden;
  border-top: none;
}
.hero-rings {
  position: absolute;
  top: 50%;
  right: -140px;
  transform: translateY(-50%);
  width: 620px;
  height: 620px;
  pointer-events: none;
  z-index: 0;
}
@media (max-width: 900px) {
  .hero-rings {
    opacity: 0.5;
    right: -220px;
  }
}
@media (max-width: 640px) {
  .hero-rings {
    display: none;
  }
}
.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 640px;
}
h1.hero-title {
  font-size: clamp(2.3rem, 5vw, 3.35rem);
  line-height: 1.1;
  max-width: 15ch;
  margin-top: 16px;
}
.hero-tagline {
  font-family: "Inter", sans-serif;
  font-style: italic;
  font-weight: 500;
  color: var(--signal);
  font-size: 1.15rem;
  margin-top: 18px;
}
.hero-sub {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 56ch;
  margin-top: 22px;
}
.hero-actions {
  display: flex;
  gap: 16px;
  margin-top: 34px;
  flex-wrap: wrap;
}
.btn-primary {
  background: var(--signal);
  color: #f7fafd;
  text-decoration: none;
  padding: 13px 26px;
  border-radius: 2px;
  font-size: 0.95rem;
  font-weight: 600;
  transition: background 0.2s ease;
  border: none;
  cursor: pointer;
  font-family: inherit;
  display: inline-block;
}
.btn-primary:hover {
  background: var(--signal-soft);
}
.btn-ghost {
  text-decoration: none;
  padding: 13px 6px;
  font-size: 0.95rem;
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
  display: inline-block;
}
.btn-invert {
  background: var(--bg);
  color: var(--ink);
  text-decoration: none;
  padding: 13px 26px;
  border-radius: 2px;
  font-size: 0.95rem;
  font-weight: 600;
  display: inline-block;
  transition: opacity 0.2s ease;
}
.btn-invert:hover {
  opacity: 0.85;
}
.btn-outline-invert {
  background: transparent;
  color: var(--bg);
  text-decoration: none;
  padding: 12px 25px;
  border-radius: 2px;
  font-size: 0.95rem;
  font-weight: 600;
  display: inline-block;
  border: 1px solid color-mix(in srgb, var(--bg) 55%, transparent);
  transition: border-color 0.2s ease;
}
.btn-outline-invert:hover {
  border-color: var(--bg);
}

/* ---------- Why us ---------- */
.why-statement {
  font-size: clamp(1.5rem, 3.2vw, 2.15rem);
  max-width: 22ch;
  line-height: 1.28;
}
.why-statement em {
  font-style: normal;
  color: var(--signal);
}
.why-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 44px;
  padding-top: 36px;
  border-top: 1px solid var(--line);
}
@media (max-width: 700px) {
  .why-points {
    grid-template-columns: 1fr;
    gap: 26px;
  }
}
.why-point .eyebrow {
  color: var(--muted);
  margin-bottom: 10px;
}
.why-point .eyebrow .tally span {
  background: var(--signal-light);
  opacity: 1;
}
.why-point p {
  margin: 0;
  font-size: 1.02rem;
  color: var(--ink);
  max-width: 32ch;
}

/* ---------- Section scaffolding ---------- */
section {
  padding: 72px 0;
  border-top: 1px solid var(--line);
}
.section-head {
  max-width: 100ch;
  margin-bottom: 32px;
}
.section-head .eyebrow {
  margin-bottom: 14px;
}
.section-head h2 {
  font-size: clamp(1.6rem, 2.6vw, 2.1rem);
}
.section-head p {
  color: var(--muted);
  margin: 14px 0 0;
}

/* ---------- About ---------- */
.about-copy p {
  max-width: 66ch;
  margin: 0 0 16px;
  color: var(--ink);
}
.about-copy p:last-child {
  margin-bottom: 0;
}
.locations {
  display: flex;
  gap: 40px;
  margin-top: 30px;
  flex-wrap: wrap;
}
.loc h3 {
  font-size: 0.85rem;
  text-transform: none;
  color: var(--muted);
  font-weight: 500;
  margin-bottom: 4px;
  font-family: "Inter", sans-serif;
}
.loc div {
  font-size: 1.05rem;
}

/* ---------- Team ---------- */
.team-wrap {
  display: grid;
  grid-template-columns: 4fr 8fr;
  gap: 48px;
  margin-bottom: 20px;
}
@media (max-width: 780px) {
  .team-wrap {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}
.team-card .badge {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--signal);
  color: #f7fafd;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Archivo", sans-serif;
  font-weight: 800;
  font-size: 1.15rem;
  margin-bottom: 18px;
}
.team-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 4px;
}
.team-card .role {
  color: var(--signal);
  font-size: 0.92rem;
}
.team-copy p {
  max-width: 66ch;
  margin: 0 0 16px;
  color: var(--ink);
}
.team-copy p:last-child {
  margin-bottom: 0;
}

/* ---------- Services ---------- */
.service-list {
  border-top: 1px solid var(--line);
}
.service-row {
  display: grid;
  grid-template-columns: 1fr 2fr auto;
  gap: 28px;
  align-items: center;
  padding: 32px 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
}
@media (max-width: 700px) {
  .service-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}
.service-row h3 {
  font-size: 1.2rem;
  font-weight: 700;
  transition: color 0.2s ease;
}
.service-row:hover h3 {
  color: var(--signal);
}
.service-row p {
  margin: 0;
  color: var(--muted);
  max-width: 58ch;
}
.service-row .row-arrow {
  color: var(--signal);
  font-size: 1.3rem;
  justify-self: end;
}
@media (max-width: 700px) {
  .service-row .row-arrow {
    display: none;
  }
}

/* ---------- Strategic partnerships ---------- */
#strategic-partnerships .section-head p {
  max-width: 70ch;
}
#strategic-partnerships h2 {
  letter-spacing: 0;
}
.partner-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.partner-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 22px 18px 30px;
  border: 1px solid var(--line);
  background: var(--panel);
}
.partner-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 90px;
  padding: 14px;
  background: #fff;
  margin-bottom: 20px;
}
.partner-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.partner-card h3 {
  font-family: "Inter", sans-serif;
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: 0;
}
.partner-card p {
  margin: 8px 0 30px;
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.5;
}
.partner-card a {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 10px;
  margin-top: auto;
  color: var(--signal-soft);
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
}
.partner-card a:hover {
  text-decoration: underline;
}
.network-tagline {
  margin: 30px 0 0;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--signal);
  font-size: 0.75rem;
  font-weight: 600;
}
/* Keep the expanded homepage menu within the existing header width. */
body:has(#strategic-partnerships) .nav {
  max-width: 1200px;
  flex-wrap: wrap;
  column-gap: 18px;
  row-gap: 12px;
  padding-inline: 32px;
}
body:has(#strategic-partnerships) .nav-links {
  gap: 18px;
}
@media (min-width: 861px) and (max-width: 1100px) {
  body:has(#strategic-partnerships) .nav-links {
    order: 3;
    flex-basis: 100%;
    justify-content: center;
  }
}
@media (max-width: 640px) {
  .partner-grid {
    grid-template-columns: 1fr;
  }
  .partner-logo {
    height: 90px;
  }
  .partner-logo img {
    max-width: 220px;
  }
  body:has(#strategic-partnerships) .nav {
    padding-inline: 22px;
  }
}

/* ---------- Assessment teaser (homepage) ---------- */
.assess-teaser {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
  background: var(--ink);
  color: var(--bg);
  border-radius: 2px;
  padding: 52px;
}
@media (max-width: 780px) {
  .assess-teaser {
    grid-template-columns: 1fr;
    padding: 36px 28px;
  }
}
.assess-teaser .eyebrow {
  color: var(--signal-light);
}
.assess-teaser h2 {
  color: var(--bg);
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-top: 14px;
}
.assess-teaser p {
  color: color-mix(in srgb, var(--bg) 72%, transparent);
  margin-top: 14px;
  max-width: 48ch;
}
.assess-teaser .hero-actions {
  margin-top: 26px;
}
.assess-stat-card {
  border: 1px solid color-mix(in srgb, var(--bg) 25%, transparent);
  padding: 26px;
  border-radius: 2px;
}
.assess-stat-card .num {
  font-size: 2.6rem;
  font-weight: 900;
  font-family: "Archivo", sans-serif;
  color: var(--signal-light);
  line-height: 1;
}
.assess-stat-card .label {
  margin-top: 8px;
  color: color-mix(in srgb, var(--bg) 68%, transparent);
  font-size: 0.92rem;
}
.assess-stat-card .cats {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.assess-stat-card .cats span {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border: 1px solid color-mix(in srgb, var(--bg) 30%, transparent);
  padding: 5px 10px;
  border-radius: 2px;
  color: color-mix(in srgb, var(--bg) 78%, transparent);
}

/* ---------- Contact ---------- */
.contact-wrap {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 48px;
}
@media (max-width: 780px) {
  .contact-wrap {
    grid-template-columns: 1fr;
  }
}
.contact-info .item {
  margin-bottom: 24px;
}
.contact-info .item h3 {
  font-size: 0.85rem;
  color: var(--muted);
  font-weight: 500;
  margin-bottom: 6px;
  font-family: "Inter", sans-serif;
}
.contact-info .item div,
.contact-info .item a {
  font-size: 1.05rem;
  text-decoration: none;
}
form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.field label {
  font-size: 0.88rem;
  color: var(--muted);
}
.field input,
.field textarea {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--line);
  padding: 10px 2px;
  font-family: inherit;
  font-size: 1rem;
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s ease;
}
.field input:focus,
.field textarea:focus {
  border-color: var(--signal);
}
.field textarea {
  resize: vertical;
  min-height: 90px;
}
.submit-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 6px;
  flex-wrap: wrap;
}
.submit-btn {
  background: var(--signal);
  color: #f7fafd;
  border: none;
  padding: 13px 28px;
  border-radius: 2px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.2s ease;
}
.submit-btn:hover {
  background: var(--signal-soft);
}
.form-note {
  font-size: 0.85rem;
  color: var(--muted);
}

footer {
  border-top: 1px solid var(--line);
  padding: 40px 0;
}
.foot-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}
.foot-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.foot-brand img {
  width: 36px;
  height: 36px;
}
.foot-brand-text .brand-name {
  font-size: 0.95rem;
}
.foot-tagline {
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 3px;
}
.foot-note {
  color: var(--muted);
  font-size: 0.85rem;
}

:focus-visible {
  outline: 2px solid var(--signal);
  outline-offset: 2px;
}

/* =====================================================
   Service detail pages
   ===================================================== */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--muted);
  font-size: 0.9rem;
  transition: color 0.2s ease;
}
.back-link:hover {
  color: var(--signal);
}
.service-hero {
  padding: 52px 0 44px;
}
.service-hero h1 {
  font-size: clamp(2rem, 4.2vw, 2.9rem);
  margin-top: 16px;
  max-width: 20ch;
}
.service-dek {
  color: var(--muted);
  font-size: 1.12rem;
  margin-top: 18px;
  max-width: 60ch;
}

.benefit-panel {
  background: var(--panel);
  padding: 36px;
  border-radius: 2px;
}
.benefit-panel p {
  margin: 0 0 14px;
}
.benefit-panel p:last-child {
  margin-bottom: 0;
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: step;
  border-top: 1px solid var(--line);
}
.steps li {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 20px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}
.steps li::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  font-family: "Archivo", sans-serif;
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--signal-light);
}
@media (max-width: 560px) {
  .steps li {
    grid-template-columns: 34px 1fr;
    gap: 14px;
  }
  .steps li::before {
    font-size: 1.05rem;
  }
}
.steps h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 4px;
}
.steps p {
  margin: 0;
  color: var(--muted);
}

.service-cta {
  background: var(--ink);
  color: var(--bg);
  padding: 60px 0;
  border-top: none;
}
.service-cta h2 {
  color: var(--bg);
  font-size: clamp(1.5rem, 3vw, 2rem);
  max-width: 20ch;
}
.service-cta p {
  color: color-mix(in srgb, var(--bg) 72%, transparent);
  margin-top: 14px;
  max-width: 50ch;
}
.service-cta .hero-actions {
  margin-top: 28px;
}

.related {
  padding: 56px 0;
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-top: 28px;
}
@media (max-width: 780px) {
  .related-grid {
    grid-template-columns: 1fr;
  }
}
.related-card {
  background: var(--bg);
  padding: 24px;
  text-decoration: none;
  color: inherit;
  display: block;
}
.related-card .eyebrow {
  margin-bottom: 10px;
}
.related-card h4 {
  font-size: 1.02rem;
  font-weight: 700;
  transition: color 0.2s ease;
}
.related-card:hover h4 {
  color: var(--signal);
}

/* =====================================================
   Signal Score assessment tool
   ===================================================== */
.assess-header {
  padding: 56px 0 40px;
  position: relative;
  overflow: hidden;
}
.assess-header h1 {
  font-size: clamp(2.1rem, 4.4vw, 3.1rem);
  margin-top: 16px;
  max-width: 18ch;
}
.assess-meta {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  margin-top: 28px;
}
.assess-meta div {
  font-size: 0.85rem;
  color: var(--muted);
}
.assess-meta strong {
  display: block;
  color: var(--ink);
  font-family: "Archivo", sans-serif;
  font-size: 1.3rem;
  font-weight: 800;
}

.gate-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px 28px;
}
@media (max-width: 620px) {
  .gate-grid {
    grid-template-columns: 1fr;
  }
}

.category-block {
  padding: 44px 0;
  border-top: 1px solid var(--line);
}
.category-block .cat-index {
  font-family: "Archivo", sans-serif;
  font-weight: 900;
  font-size: 0.85rem;
  color: var(--signal-light);
}
.category-block h3 {
  font-size: 1.35rem;
  margin-top: 10px;
}
.question {
  margin-top: 32px;
}
.question > p.qtext {
  font-weight: 600;
  margin: 0 0 16px;
  font-size: 1.02rem;
}
.options {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.option {
  position: relative;
}
.option input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}
.option label {
  display: block;
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 14px 18px;
  cursor: pointer;
  font-size: 0.96rem;
  color: var(--muted);
  transition:
    border-color 0.15s ease,
    background 0.15s ease,
    color 0.15s ease;
}
.option label:hover {
  border-color: var(--signal-light);
  color: var(--ink);
}
.option input:checked + label {
  border-color: var(--signal);
  background: var(--panel);
  color: var(--ink);
  font-weight: 600;
}
.option input:focus-visible + label {
  outline: 2px solid var(--signal);
  outline-offset: 2px;
}

.assess-submit {
  padding: 48px 0 64px;
  border-top: 1px solid var(--line);
}
.assess-error {
  color: var(--error);
  font-size: 0.9rem;
  margin-top: 14px;
  display: none;
}
.assess-error.show {
  display: block;
}

.results {
  display: none;
  border-top: 1px solid var(--line);
  padding: 56px 0 72px;
}
.results.show {
  display: block;
}
.results-score {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 36px;
  align-items: center;
}
@media (max-width: 620px) {
  .results-score {
    grid-template-columns: 1fr;
  }
}
.results-score .num {
  font-family: "Archivo", sans-serif;
  font-weight: 900;
  font-size: clamp(3.4rem, 9vw, 5rem);
  line-height: 1;
  color: var(--signal);
}
.results-score .num span {
  font-size: 1.6rem;
  color: var(--muted);
  font-weight: 700;
}
.results-band {
  font-family: "Archivo", sans-serif;
  font-weight: 800;
  font-size: 1.3rem;
  margin-top: 6px;
}
.results-band-desc {
  color: var(--muted);
  margin-top: 10px;
  max-width: 56ch;
}

.cat-bars {
  margin-top: 44px;
}
.cat-bar-row {
  display: grid;
  grid-template-columns: 200px 1fr 46px;
  gap: 16px;
  align-items: center;
  margin-bottom: 16px;
}
@media (max-width: 620px) {
  .cat-bar-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  .cat-bar-row .cat-val {
    text-align: left;
  }
}
.cat-bar-row .cat-label {
  font-size: 0.9rem;
  color: var(--ink);
}
.cat-bar-track {
  height: 10px;
  background: var(--line);
  border-radius: 4px;
  overflow: hidden;
}
.cat-bar-fill {
  height: 100%;
  background: var(--signal);
  border-radius: 4px;
  width: 0%;
  transition: width 0.6s ease;
}
.cat-val {
  font-variant-numeric: tabular-nums;
  font-size: 0.88rem;
  color: var(--muted);
  text-align: right;
}

.results-cta {
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1px solid var(--line);
}
.results-cta .hero-actions {
  margin-top: 22px;
}
.results-note {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 16px;
  max-width: 56ch;
}

.risk-section {
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1px solid var(--line);
}
.risk-section .results-band-desc {
  margin-top: 8px;
}
.risk-bars {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.risk-bar-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
}
.risk-name {
  font-weight: 600;
  font-size: 0.96rem;
}
.risk-chip {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  padding: 4px 10px;
  border-radius: 2px;
  font-weight: 700;
  white-space: nowrap;
}
.risk-chip.low {
  background: color-mix(in srgb, var(--good) 16%, transparent);
  color: var(--good);
}
.risk-chip.moderate {
  background: color-mix(in srgb, var(--warning) 18%, transparent);
  color: var(--warning);
}
.risk-chip.elevated {
  background: color-mix(in srgb, var(--error) 16%, transparent);
  color: var(--error);
}
.risk-bar-track {
  height: 8px;
  background: var(--line);
  border-radius: 4px;
  overflow: hidden;
  margin-top: 10px;
}
.risk-bar-fill {
  height: 100%;
  border-radius: 4px;
  width: 0%;
  transition: width 0.6s ease;
}
.risk-blurb {
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: 7px;
}
