/* ScreenMyMoney — public site styles. Mobile first; no framework.
   Visual identity: Magnificat Asset Management (navy #03406B, gold #BD8C3D, Avenir).
   Avenir ships with Apple devices; elsewhere Nunito Sans (OFL, self-hosted) stands in. */

@font-face {
  font-family: 'Nunito Sans';
  src: url('/assets/fonts/nunito-sans-latin-wght-normal.woff2') format('woff2');
  font-weight: 200 1000;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Magnificat brand colors */
  --navy-950: #012440;
  --navy-900: #022f50;
  --navy: #03406b;
  --navy-700: #0a5185;
  --navy-100: #e6eef5;
  --steel: #4c738f;
  --gold: #bd8c3d;
  --gold-ink: #a87a2f; /* brand gold, deepened just enough for large text on light backgrounds */
  --gold-600: #8a6122; /* small gold text on light backgrounds */
  --gold-300: #d9b77a; /* gold text on navy */
  --gold-50: #f8f0e3;
  --ink-strong: #000321;
  --tint: #f6f6ff;
  --warm: #f6ebe7;
  --ivory: #f6f6ff;
  --paper: #ffffff;
  --ink: #0d1530;
  --ink-2: #33395a;
  --muted: #565a7c;
  --line: #e1e4ee;
  --line-2: #eef0f6;
  --focus: #0a5185;
  --danger: #b3261e;
  --ok: #2f7d4f;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(3, 64, 107, 0.06), 0 8px 24px rgba(3, 64, 107, 0.07);
  --shadow-lg: 0 24px 64px rgba(1, 36, 64, 0.24);
  --section-gradient: linear-gradient(0deg, #4c738f, #03406b);
  /* Headlines: Avenir Light with Avenir Heavy gold emphasis, as on magnificatam.com. */
  --display: Avenir, 'Avenir Next', 'Nunito Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --sans: 'Avenir Next', Avenir, 'Nunito Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --p-life: #9b2335;
  --p-dignity: #5b3f8c;
  --p-peace: #2c5aa0;
  --p-temperance: #1f7a72;
  --p-stewardship: #4d7a2a;
  --b-strong: #2f7d4f;
  --b-good: #4f7a22;
  --b-moderate: #a8660c;
  --b-significant: #c2410c;
  --b-serious: #b3261e;
  --b-none: #7a8292;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 86px;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img,
svg {
  display: block;
  max-width: 100%;
}
a {
  color: var(--navy-700);
  text-underline-offset: 3px;
}
a:hover {
  color: var(--navy);
}
h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 300;
  color: var(--navy);
  line-height: 1.12;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}
/* Magnificat headline treatment: light words, one heavy gold phrase. */
h1 strong,
h2 strong {
  font-weight: 800;
  color: var(--gold-ink);
  letter-spacing: -0.015em;
}
h1 {
  font-size: clamp(2.4rem, 6vw, 3.7rem);
}
h2 {
  font-size: clamp(1.9rem, 4.2vw, 2.6rem);
}
h3 {
  font-family: var(--sans);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0;
}
p {
  margin: 0 0 1em;
}
button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}
:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
  border-radius: 6px;
}
/* Keep the focus ring visible on navy and photo backgrounds. */
.brand-bar :focus-visible,
.hero :focus-visible,
.good-band :focus-visible,
.page-hero :focus-visible,
.cta-card :focus-visible,
.site-footer :focus-visible {
  outline-color: var(--gold-300);
}
.sprite {
  display: none;
}
.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  background: var(--navy);
  color: #fff;
  padding: 10px 14px;
  border-radius: 8px;
  z-index: 100;
}
.skip-link:focus {
  top: 12px;
}
.small {
  font-size: 0.875rem;
}
.muted {
  color: var(--muted);
}
.num {
  text-align: right;
  font-variant-numeric: tabular-nums;
}
[hidden] {
  display: none !important;
}

.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}
.container.narrow {
  max-width: 780px;
}
.section {
  padding: 68px 0;
}
.section-head {
  max-width: 740px;
  margin-bottom: 30px;
}
.section-head p {
  color: var(--ink-2);
  font-size: 1.07rem;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--gold-600);
  margin-bottom: 12px;
}
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* ---- Buttons ---------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  min-height: 46px;
  border-radius: 8px;
  border: 1.5px solid transparent;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.01em;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s, transform 0.05s, box-shadow 0.15s;
  white-space: nowrap;
}
.btn svg {
  width: 18px;
  height: 18px;
  flex: none;
}
.btn:active {
  transform: translateY(1px);
}
.btn[disabled],
.btn[aria-busy='true'] {
  opacity: 0.7;
  cursor: progress;
}
.btn-primary {
  background: var(--navy);
  color: #fff;
}
.btn-primary:hover {
  background: var(--navy-700);
  color: #fff;
}
.btn-gold {
  background: var(--gold);
  color: var(--ink-strong);
}
.btn-gold:hover {
  background: #cc9d52;
  color: var(--ink-strong);
}
.btn-ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--navy);
}
.btn-ghost:hover {
  border-color: var(--navy);
  color: var(--navy);
}
/* For navy and photo backgrounds */
.btn-light {
  background: #fff;
  color: var(--navy);
}
.btn-light:hover {
  background: var(--gold-50);
  color: var(--navy);
}
.btn-outline-light {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
}
.btn-outline-light:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}
.ext-icon {
  width: 14px;
  height: 14px;
  flex: none;
  display: inline-block;
  vertical-align: -1px;
}
.btn-sm {
  padding: 8px 14px;
  min-height: 38px;
  font-size: 0.92rem;
}
.btn-block {
  width: 100%;
}
.btn-link {
  background: none;
  border: 0;
  color: var(--muted);
  text-decoration: underline;
  cursor: pointer;
  padding: 10px;
  display: block;
  margin: 6px auto 0;
}
.link-arrow {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  font-weight: 650;
}
.link-arrow svg {
  width: 18px;
  height: 18px;
}
.spinner {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2.5px solid currentColor;
  border-right-color: transparent;
  animation: spin 0.7s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ---- Brand bar ("Powered by Magnificat") --------------------------------------- */
.brand-bar {
  background: var(--navy);
  color: #dbe6f0;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.brand-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 36px;
}
.bb-powered {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.bb-powered img {
  width: 12px;
  height: auto;
  flex: none;
}
.bb-powered strong {
  color: #fff;
  font-weight: 800;
}
.bb-short {
  display: none;
}
.bb-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--gold-300);
  text-decoration: none;
  font-weight: 800;
  white-space: nowrap;
}
.bb-link:hover {
  color: #fff;
}
@media (max-width: 600px) {
  .brand-bar {
    letter-spacing: 0.06em;
    font-size: 0.64rem;
  }
  .bb-powered img,
  .bb-long {
    display: none;
  }
  .bb-short {
    display: inline;
  }
}

/* ---- Header ------------------------------------------------------------------ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 70px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  color: var(--navy);
  flex: none;
}
/* ScreenMyMoney's own mark: magnifying glass in navy, cross in gold (server/brand.js). */
.brand-mark {
  width: 42px;
  height: 42px;
  flex: none;
  color: var(--navy);
}
.brand-words {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.brand-text {
  font-family: var(--display);
  font-weight: 300;
  font-size: 1.5rem;
  color: var(--navy);
  letter-spacing: -0.01em;
}
.brand-text b {
  font-weight: 800;
  color: var(--navy);
}
.brand-by {
  margin-top: 5px;
  font-size: 0.59rem;
  font-weight: 700;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--gold-600);
  white-space: nowrap;
}
.main-nav {
  display: none;
  gap: 24px;
  margin-left: 14px;
}
.main-nav a {
  color: var(--ink-2);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}
.main-nav a:hover,
.main-nav a[aria-current='page'] {
  color: var(--navy);
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-decoration-thickness: 2px;
  text-underline-offset: 8px;
}
.header-cta {
  margin-left: auto;
}
@media (min-width: 960px) {
  .main-nav {
    display: flex;
  }
}
.cta-short {
  display: none;
}
@media (max-width: 520px) {
  .header-inner {
    gap: 12px;
    height: 64px;
  }
  .header-cta {
    padding: 8px 14px;
    font-size: 0.88rem;
  }
  .cta-long {
    display: none;
  }
  .cta-short {
    display: inline;
  }
  .brand {
    gap: 8px;
  }
  .brand-mark {
    width: 34px;
    height: 34px;
  }
  .brand-text {
    font-size: 1.16rem;
  }
  .brand-by {
    font-size: 0.47rem;
    letter-spacing: 0.1em;
  }
}
@media (max-width: 360px) {
  .container {
    padding: 0 16px;
  }
  .brand-bar {
    letter-spacing: 0.03em;
    font-size: 0.6rem;
  }
  .bb-link .ext-icon {
    display: none;
  }
}

/* ---- Hero -------------------------------------------------------------------- */
/* Magnificat's water-ripple photograph (see "Brand photography" below) under a navy
   wash that keeps the text legible. */
.hero {
  position: relative;
  isolation: isolate;
  background-color: var(--navy);
  background-size: cover;
  background-position: 70% 55%;
  background-repeat: no-repeat;
  color: #eef3f8;
  padding: 56px 0 64px;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(2, 47, 80, 0.94) 0%, rgba(3, 64, 107, 0.84) 46%, rgba(3, 64, 107, 0.45) 100%),
    linear-gradient(0deg, rgba(1, 36, 64, 0.55), rgba(1, 36, 64, 0) 45%);
}
@media (max-width: 979px) {
  .hero::before {
    background: linear-gradient(180deg, rgba(2, 47, 80, 0.9), rgba(3, 64, 107, 0.86) 60%, rgba(2, 47, 80, 0.92));
  }
}
.hero h1 {
  color: #fff;
  max-width: 14ch;
}
.hero h1 strong {
  color: var(--gold);
}
.hero .eyebrow {
  color: var(--gold-300);
}
.hero .lede {
  font-size: 1.2rem;
  color: #dfe8f1;
  max-width: 34rem;
  margin-bottom: 26px;
}
.hero-powered {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 26px 0 0;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  max-width: 600px;
  color: #c9d6e3;
  font-size: 0.92rem;
  line-height: 1.45;
}
.hero-powered img {
  width: 26px;
  height: auto;
  flex: none;
}
.hero-powered a {
  color: #fff;
  font-weight: 700;
  text-decoration-color: var(--gold);
  text-decoration-thickness: 2px;
}
.hero-powered a:hover {
  color: var(--gold-300);
}
.hero-grid {
  display: grid;
  gap: 36px;
  align-items: start;
}
@media (min-width: 980px) {
  .hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 56px;
    align-items: center;
  }
  .hero {
    padding: 80px 0 88px;
  }
}
.search {
  display: flex;
  gap: 10px;
  max-width: 600px;
}
.combo {
  position: relative;
  flex: 1;
  min-width: 0;
}
.search-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  width: 22px;
  height: 22px;
  transform: translateY(-50%);
  color: var(--muted);
  pointer-events: none;
}
.search-input {
  width: 100%;
  height: 58px;
  border-radius: 12px;
  border: 2px solid transparent;
  background: #fff;
  padding: 0 16px 0 48px;
  font-size: 1.1rem;
  color: var(--ink);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.18);
}
.search-input:focus {
  outline: none;
  border-color: var(--gold);
}
.search-btn {
  height: 58px;
  padding: 0 24px;
  background: var(--gold);
  color: var(--ink-strong);
}
.search-btn:hover {
  background: #cc9d52;
  color: var(--ink-strong);
}
.try {
  margin-top: 16px;
  color: #c9d6e3;
  font-size: 0.92rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.chip-btn {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #fff;
  border-radius: 999px;
  padding: 5px 12px;
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
}
.chip-btn:hover {
  background: rgba(255, 255, 255, 0.2);
}
@media (max-width: 520px) {
  .search {
    flex-direction: column;
  }
  .search-btn {
    width: 100%;
  }
}

/* Autocomplete list (hero and builder rows) */
.combo-list {
  position: absolute;
  z-index: 60;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  margin: 0;
  padding: 6px;
  list-style: none;
  background: #fff;
  color: var(--ink);
  border-radius: 12px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  max-height: 340px;
  overflow: auto;
  min-width: 280px;
}
.combo-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  border-radius: 8px;
  cursor: pointer;
}
.combo-list li[aria-selected='true'],
.combo-list li:hover {
  background: var(--navy-100);
}
.combo-list .opt-ticker {
  font-weight: 700;
  min-width: 62px;
  color: var(--navy);
}
.combo-list .opt-name {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.93rem;
}
.combo-list .opt-type {
  font-size: 0.72rem;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 2px 8px;
  white-space: nowrap;
}
.combo-list .opt-empty {
  color: var(--muted);
  cursor: default;
}

/* ---- Score dial and chips -------------------------------------------------- */
.dial {
  position: relative;
  width: 132px;
  height: 132px;
  flex: none;
}
.dial svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}
.dial .track {
  stroke: var(--line-2);
}
.dial .arc {
  transition: stroke-dashoffset 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.dial-center {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  text-align: center;
}
.dial-num {
  font-family: var(--display);
  font-size: 2.6rem;
  font-weight: 800;
  line-height: 1;
  color: var(--ink);
}
.dial-of {
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 2px;
}
.dial.lg {
  width: 168px;
  height: 168px;
}
.dial.lg .dial-num {
  font-size: 3.3rem;
}
.band-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 11px;
  border-radius: 999px;
  font-weight: 650;
  font-size: 0.85rem;
  color: #fff;
  background: var(--b-none);
}
.band-chip[data-band='strong'] {
  background: var(--b-strong);
}
.band-chip[data-band='good'] {
  background: var(--b-good);
}
.band-chip[data-band='moderate'] {
  background: var(--b-moderate);
}
.band-chip[data-band='significant'] {
  background: var(--b-significant);
}
.band-chip[data-band='serious'] {
  background: var(--b-serious);
}
.score-chip {
  display: inline-grid;
  place-items: center;
  min-width: 42px;
  height: 28px;
  padding: 0 8px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.88rem;
  color: #fff;
  background: var(--b-none);
  font-variant-numeric: tabular-nums;
}
.score-chip[data-band='strong'] {
  background: var(--b-strong);
}
.score-chip[data-band='good'] {
  background: var(--b-good);
}
.score-chip[data-band='moderate'] {
  background: var(--b-moderate);
}
.score-chip[data-band='significant'] {
  background: var(--b-significant);
}
.score-chip[data-band='serious'] {
  background: var(--b-serious);
}
.score-chip.muted-chip {
  background: var(--line-2);
  color: var(--muted);
  font-weight: 600;
  font-size: 0.75rem;
}
.dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--muted);
  margin-right: 8px;
  vertical-align: 0.05em;
  flex: none;
}
[data-pillar='life'] {
  --pc: var(--p-life);
}
[data-pillar='dignity'] {
  --pc: var(--p-dignity);
}
[data-pillar='peace'] {
  --pc: var(--p-peace);
}
[data-pillar='temperance'] {
  --pc: var(--p-temperance);
}
[data-pillar='stewardship'] {
  --pc: var(--p-stewardship);
}
.dot[data-pillar] {
  background: var(--pc);
}
.level {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid currentColor;
  white-space: nowrap;
}
.level-3 {
  color: var(--b-serious);
}
.level-2 {
  color: var(--b-significant);
}
.level-1 {
  color: var(--b-moderate);
}

/* ---- USCCB guidelines markers ------------------------------------------------------ */
.usccb-tag {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1.3;
  color: var(--b-serious);
  background: #fdf0ef;
  border: 1px solid #f0c4c0;
  border-radius: 999px;
  padding: 2px 8px;
  margin-left: 8px;
  vertical-align: 0.2em;
  white-space: nowrap;
  cursor: help;
}
.flags .usccb-tag.sm {
  display: inline-flex;
  align-items: center;
  margin-left: 0;
  font-size: 0.72rem;
  line-height: inherit;
  vertical-align: baseline;
}
/* Passes the screen, but the guidelines call for shareholder engagement. */
.usccb-tag.engage {
  color: var(--navy);
  background: var(--navy-100);
  border-color: #c3d4e4;
}
/* One finding's place in the screen (company cards in the full report). */
.usccb-mark {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.02em;
  white-space: nowrap;
  border-left: 1px solid var(--line);
  padding-left: 8px;
}
.usccb-mark.avoid {
  color: var(--b-serious);
}
.usccb-mark.engage {
  color: var(--navy);
}
.usccb-line,
.qc-usccb {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  font-size: 0.92rem;
  color: var(--ink-2);
}
.usccb-line {
  margin: 12px 0 0;
  padding-top: 12px;
  border-top: 1px dashed var(--line);
}
.qc-usccb {
  margin: 14px 0 0;
}
.usccb-line strong,
.qc-usccb strong {
  color: var(--navy);
}

/* ---- Quick result card ------------------------------------------------------ */
.quick-card {
  padding: 24px;
  color: var(--ink);
  position: relative;
}
.hero-result .quick-card {
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.quick-tag {
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  color: var(--gold-600);
  background: var(--gold-50);
  padding: 3px 9px;
  border-radius: 999px;
}
.qc-head {
  margin-bottom: 14px;
  padding-right: 70px;
}
.qc-ticker {
  font-family: var(--display);
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.1;
}
.qc-name {
  color: var(--ink-2);
  font-size: 0.95rem;
}
.qc-type {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.72rem;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 2px 9px;
  margin-left: 6px;
  vertical-align: 0.15em;
}
.qc-body {
  display: flex;
  gap: 22px;
  align-items: center;
}
.qc-verdict p {
  margin: 8px 0 0;
}
.qc-headline {
  font-size: 1.02rem;
  color: var(--ink);
}
.qc-headline strong {
  font-size: 1.35rem;
  font-family: var(--display);
  font-weight: 800;
  color: var(--navy);
}
.concern-list {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.concern-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
}
.concern-list li .grow {
  flex: 1;
}
.mini-bar {
  flex: 1;
  height: 8px;
  background: var(--line-2);
  border-radius: 99px;
  overflow: hidden;
  min-width: 60px;
}
.mini-bar span {
  display: block;
  height: 100%;
  background: var(--pc, var(--navy));
  border-radius: 99px;
}
.qc-meta {
  margin-top: 14px;
  font-size: 0.85rem;
  color: var(--muted);
}
/* A company added through targeted research: checked only for the findings shown. */
.qc-note,
.research-note {
  margin: 12px 0 0;
  padding: 8px 12px;
  border-left: 3px solid var(--gold);
  background: color-mix(in srgb, var(--gold) 8%, white);
  font-size: 0.85rem;
  color: var(--ink-2);
  border-radius: 0 6px 6px 0;
}
.research-note {
  margin-top: 6px;
  padding: 4px 10px;
  font-size: 0.8rem;
}
.flag-notes summary {
  cursor: pointer;
  color: var(--muted);
  font-size: 0.8rem;
}
.qc-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}
.qc-empty {
  text-align: center;
  padding: 18px 0 6px;
}
@media (max-width: 480px) {
  .qc-body {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}
.skeleton .sk {
  background: linear-gradient(90deg, #e9ecf4, #f4f5fa, #e9ecf4);
  background-size: 200% 100%;
  animation: shimmer 1.4s infinite;
  border-radius: 8px;
}
@keyframes shimmer {
  to {
    background-position: -200% 0;
  }
}
.sk-title {
  height: 28px;
  width: 50%;
  margin-bottom: 18px;
}
.sk-dial {
  height: 120px;
  width: 120px;
  border-radius: 50% !important;
  margin-bottom: 18px;
}
.sk-line {
  height: 14px;
  margin-bottom: 10px;
}
.sk-line.short {
  width: 60%;
}

/* ---- Builder --------------------------------------------------------------------- */
.builder-section {
  background: var(--paper);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.builder {
  padding: 24px;
}
.builder-top {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 28px;
  align-items: flex-end;
  margin-bottom: 18px;
}
.field {
  display: block;
  margin-bottom: 14px;
}
.field .label,
.mode-toggle .label {
  display: block;
  font-size: 0.85rem;
  font-weight: 650;
  color: var(--ink-2);
  margin-bottom: 6px;
}
.optional {
  font-weight: 450;
  color: var(--muted);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  height: 46px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0 12px;
  background: #fff;
}
.field textarea {
  height: auto;
  padding: 10px 12px;
}
.field input:focus,
.field select:focus,
.field textarea:focus,
.ticker-input:focus,
.weight-input:focus {
  outline: none;
  border-color: var(--navy-700);
  box-shadow: 0 0 0 3px rgba(10, 81, 133, 0.18);
}
.field.invalid input,
.field.invalid select {
  border-color: var(--danger);
}
.field-error {
  display: block;
  color: var(--danger);
  font-size: 0.82rem;
  min-height: 0;
  margin-top: 4px;
}
.field-error:empty {
  display: none;
}
.pf-name {
  flex: 1 1 260px;
  margin: 0;
}
.segmented {
  display: inline-flex;
  background: var(--line-2);
  border-radius: 10px;
  padding: 3px;
}
.segmented button {
  border: 0;
  background: transparent;
  padding: 8px 14px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--ink-2);
  cursor: pointer;
}
.segmented button[aria-checked='true'] {
  background: #fff;
  color: var(--navy);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
}
.grid-head {
  display: none;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  font-weight: 700;
  padding: 0 0 8px;
  border-bottom: 1px solid var(--line);
}
.rows {
  display: grid;
}
.row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 118px 40px;
  grid-template-areas: 'ticker weight remove' 'meta meta meta';
  gap: 4px 10px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--line-2);
}
.row .cell-ticker {
  grid-area: ticker;
  position: relative;
}
.row .cell-weight {
  grid-area: weight;
  position: relative;
}
.row .cell-score {
  display: none;
}
.row .remove {
  grid-area: remove;
}
.row .row-meta {
  grid-area: meta;
  font-size: 0.83rem;
  color: var(--muted);
  min-height: 1.2em;
  display: flex;
  gap: 8px;
  align-items: center;
}
.row .row-meta .score-chip {
  height: 22px;
  min-width: 34px;
  font-size: 0.78rem;
}
.ticker-input,
.weight-input {
  width: 100%;
  height: 46px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0 12px;
  background: #fff;
}
.ticker-input {
  text-transform: uppercase;
  font-weight: 650;
  letter-spacing: 0.02em;
}
.ticker-input::placeholder {
  text-transform: none;
  font-weight: 400;
  letter-spacing: 0;
}
.weight-input {
  text-align: right;
  padding-right: 30px;
  font-variant-numeric: tabular-nums;
}
.amount-mode .weight-input {
  padding-left: 24px;
  padding-right: 12px;
}
.unit {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  pointer-events: none;
  font-weight: 600;
}
.amount-mode .unit {
  left: 11px;
  right: auto;
}
.row.error .ticker-input {
  border-color: var(--danger);
}
.row .row-meta .err {
  color: var(--danger);
  font-weight: 600;
}
.remove {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  display: grid;
  place-items: center;
}
.remove:hover {
  background: #f8e9e7;
  color: var(--danger);
}
.remove svg {
  width: 18px;
  height: 18px;
}
@media (min-width: 720px) {
  .grid-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 150px 84px 40px;
    gap: 12px;
  }
  .gh-weight {
    text-align: right;
    padding-right: 12px;
  }
  .gh-score {
    text-align: center;
  }
  .row {
    grid-template-columns: minmax(0, 1fr) 150px 84px 40px;
    grid-template-areas: 'ticker weight score remove' 'meta meta meta meta';
    gap: 4px 12px;
  }
  .row .cell-score {
    display: flex;
    grid-area: score;
    justify-content: center;
  }
  .row .row-meta .score-chip {
    display: none;
  }
}
.builder-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  align-items: center;
  margin: 14px 0 6px;
}
.btn-add {
  border: 1.5px dashed var(--navy-700);
  color: var(--navy-700);
  background: var(--tint);
}
.btn-add:hover {
  background: var(--navy-100);
}
.paste-tip {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  color: var(--muted);
  font-size: 0.85rem;
}
.paste-tip svg {
  width: 16px;
  height: 16px;
  flex: none;
}
.builder-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.foot-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-left: auto;
}
.total {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
}
.total svg {
  width: 18px;
  height: 18px;
}
.total.ok {
  color: var(--ok);
}
.total.warn {
  color: var(--b-moderate);
}
.form-error {
  color: var(--danger);
  font-weight: 600;
  margin: 12px 0 0;
}
.form-error:empty {
  display: none;
}
.hint {
  color: var(--muted);
  margin: 12px 0 0;
}
@media (max-width: 560px) {
  .builder {
    padding: 18px 16px;
  }
  .foot-buttons {
    width: 100%;
  }
  .foot-buttons #run {
    width: 100%;
    order: -1;
  }
  .foot-buttons .btn-ghost {
    flex: 1;
  }
}

/* ---- Report ---------------------------------------------------------------------- */
.report-section {
  background: linear-gradient(180deg, #e9eef6, var(--tint) 260px);
  padding-top: 48px;
}
.report-head {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 24px;
}
.report-head h2 {
  margin-bottom: 4px;
}
.report-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.summary-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
  margin-bottom: 16px;
}
@media (min-width: 720px) {
  .summary-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1040px) {
  .summary-grid {
    grid-template-columns: 1.25fr 1fr 1fr;
  }
}
.score-panel {
  display: flex;
  gap: 22px;
  align-items: center;
  padding: 22px;
}
.score-panel h3 {
  margin: 8px 0 4px;
  font-size: 1.15rem;
}
.stat {
  padding: 22px;
}
@media (max-width: 520px) {
  .score-panel {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  .concern-list .mini-bar {
    flex: 0 0 28%;
  }
}
.more-companies {
  margin-top: 14px;
  border-top: 1px dashed var(--line);
  padding-top: 10px;
}
.more-companies summary {
  cursor: pointer;
  font-weight: 650;
  color: var(--navy-700);
  padding: 8px 0;
}
.stat-big {
  font-family: var(--display);
  font-size: 2.9rem;
  font-weight: 800;
  line-height: 1;
  color: var(--navy);
  font-variant-numeric: lining-nums tabular-nums;
}
.stat-big.danger {
  color: var(--b-serious);
}
.stat p {
  margin: 8px 0 0;
  color: var(--ink-2);
}
.coverage {
  padding: 22px;
}
.stack {
  display: flex;
  height: 14px;
  border-radius: 99px;
  overflow: hidden;
  background: var(--line-2);
  margin: 12px 0 12px;
}
.stack span {
  display: block;
  height: 100%;
}
.seg-aligned {
  background: var(--b-strong);
}
.seg-conflict {
  background: var(--b-serious);
}
.seg-other {
  background: #9aa3b8;
}
.seg-unrated {
  background: repeating-linear-gradient(45deg, #d5d9e6, #d5d9e6 4px, #eceef5 4px, #eceef5 8px);
}
.legend {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 6px;
  font-size: 0.88rem;
}
.legend li {
  display: flex;
  align-items: center;
  gap: 8px;
}
.legend i {
  width: 12px;
  height: 12px;
  border-radius: 3px;
  display: inline-block;
}
.legend b {
  margin-left: auto;
  font-variant-numeric: tabular-nums;
}
.report-card {
  padding: 24px;
  margin-bottom: 16px;
}
.report-card h3 {
  font-size: 1.45rem;
  margin-bottom: 4px;
}
.report-card > .muted {
  margin-bottom: 18px;
}
.cat-rows {
  display: grid;
  gap: 4px;
}
.cat-row {
  display: grid;
  grid-template-columns: minmax(180px, 270px) 1fr 70px;
  gap: 14px;
  align-items: center;
  padding: 8px 0;
}
.cat-name {
  display: flex;
  align-items: center;
  font-weight: 600;
  font-size: 0.95rem;
}
.cat-track {
  height: 12px;
  background: var(--line-2);
  border-radius: 99px;
  overflow: hidden;
}
.cat-track span {
  display: block;
  height: 100%;
  border-radius: 99px;
  background: var(--pc, var(--navy));
}
.cat-val {
  text-align: right;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.cat-sub {
  grid-column: 1 / -1;
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: -4px;
}
@media (max-width: 560px) {
  .cat-row {
    grid-template-columns: 1fr 64px;
  }
  .cat-track {
    grid-column: 1 / -1;
    grid-row: 2;
  }
}
/* Category rows: a picture per area; in the full report each opens to its companies. */
.cat-ico {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  margin-right: 10px;
  color: var(--pc, var(--navy));
  background: color-mix(in srgb, var(--pc, var(--navy)) 10%, white);
  flex: none;
}
.cat-ico .cat-icon {
  width: 21px;
  height: 21px;
}
.cat-item > summary {
  list-style: none;
  cursor: pointer;
  border-radius: 10px;
}
.cat-item > summary::-webkit-details-marker {
  display: none;
}
.cat-item > summary:hover .cat-more,
.cat-item > summary:focus-visible .cat-more {
  text-decoration: underline;
}
.cat-item > summary:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}
.cat-more {
  white-space: nowrap;
  font-weight: 700;
  color: var(--navy);
}
.cat-more::after {
  content: ' \25BE';
}
.cat-item[open] .cat-more::after {
  content: ' \25B4';
}
.cat-drill {
  margin: 4px 0 12px 40px;
  padding: 4px 0 4px 14px;
  border-left: 3px solid color-mix(in srgb, var(--pc, var(--navy)) 35%, white);
}
.drill-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.drill-top {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 10px;
}
.drill-top .ticker {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--muted);
}
.drill-pct {
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--navy);
}
.drill-held {
  font-size: 0.82rem;
  color: var(--muted);
}
.drill-f {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 8px;
  margin: 4px 0 0;
  font-size: 0.9rem;
  color: var(--ink-2);
}
.drill-f .usccb-mark {
  border-left: 0;
  padding-left: 0;
}
.drill-learn {
  margin: 10px 0 0;
}
@media (max-width: 560px) {
  .cat-drill {
    margin-left: 4px;
  }
}
/* Why a finding fails the USCCB screen or is flagged (company cards). */
.finding-why {
  margin-top: 6px;
  font-size: 0.88rem;
}
.finding-why > summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--navy);
  width: fit-content;
}
.finding-why.fails > summary {
  color: var(--b-serious);
}
.finding-why .why {
  margin-top: 6px;
}
/* Our USCCB screen: shares that fail and that are flagged, held directly or through funds. */
.usccb-card {
  margin-top: 16px;
  padding: 22px 24px;
  border-top: 4px solid var(--gold);
}
.usccb-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 6px 16px;
  margin-bottom: 4px;
}
.usccb-head h3 {
  margin: 0;
}
.usccb-head .eyebrow {
  margin-bottom: 2px;
}
.usccb-card .usccb-line {
  border-top: 0;
  padding-top: 0;
  font-size: 1rem;
}
.usplit {
  margin-top: 14px;
}
.usplit-bar {
  display: flex;
  height: 12px;
  border-radius: 99px;
  overflow: hidden;
  background: var(--line-2);
}
.usplit-bar .d,
.usplit-legend i.d {
  background: var(--b-serious);
}
.usplit-bar .f,
.usplit-legend i.f {
  background: color-mix(in srgb, var(--b-serious) 38%, white);
}
.usplit-legend {
  list-style: none;
  margin: 10px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 8px 24px;
}
.usplit-legend li {
  display: grid;
  grid-template-columns: 14px 1fr auto;
  align-items: center;
  column-gap: 8px;
  font-size: 0.93rem;
}
.usplit-legend i {
  width: 12px;
  height: 12px;
  border-radius: 3px;
}
.usplit-legend b {
  font-variant-numeric: tabular-nums;
}
.usplit-legend small {
  grid-column: 2 / -1;
  color: var(--muted);
  font-size: 0.82rem;
}
.coop {
  margin-top: 14px;
  background: var(--tint);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 16px;
  font-size: 0.93rem;
  color: var(--ink-2);
}
.coop p {
  margin: 0;
}
.coop strong {
  color: var(--navy);
}
.clean-list {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
  font-size: 0.9rem;
  color: var(--ink-2);
}
.clean-list .ok-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin: 4px 8px 0 0;
  padding: 3px 10px;
  border-radius: 999px;
  background: #eef6f0;
  color: var(--ok);
  font-weight: 600;
  font-size: 0.82rem;
}
.ok-tag svg {
  width: 14px;
  height: 14px;
}
.pillar-tiles {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
}
.pillar-tile {
  border: 1px solid var(--line);
  border-top: 4px solid var(--pc);
  border-radius: 12px;
  padding: 14px 16px;
  background: #fff;
}
.pillar-tile h4 {
  margin: 0 0 8px;
  font-size: 0.95rem;
  color: var(--ink);
}
.pillar-tile .pv {
  font-family: var(--display);
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
}
.pillar-tile p {
  margin: 6px 0 0;
  font-size: 0.82rem;
  color: var(--muted);
}
.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.93rem;
}
.table th {
  text-align: left;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--muted);
  padding: 8px 10px;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
.table td {
  padding: 11px 10px;
  border-bottom: 1px solid var(--line-2);
  vertical-align: middle;
}
.table td.t {
  font-weight: 700;
  color: var(--navy);
  white-space: nowrap;
}
.table .flags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}
.flag-chip {
  display: inline-flex;
  align-items: center;
  font-size: 0.75rem;
  padding: 2px 8px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--pc) 10%, white);
  color: var(--pc);
  border: 1px solid color-mix(in srgb, var(--pc) 35%, white);
  font-weight: 600;
  white-space: nowrap;
}
.status-note {
  font-size: 0.82rem;
  color: var(--muted);
}
/* Why a holding is not screened (or only partly): the fund's own note and a link to the FAQ. */
.hold-note {
  display: block;
  margin-top: 3px;
  font-size: 0.8rem;
  line-height: 1.4;
  color: var(--ink-2);
  max-width: 46ch;
}
.nobr {
  white-space: nowrap;
}
.c-flags .why-link {
  font-size: 0.82rem;
  white-space: nowrap;
}
.cov-why {
  margin: 8px 0 0;
}
@media (max-width: 640px) {
  .table.responsive thead {
    display: none;
  }
  .table.responsive tr {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 2px 12px;
    padding: 10px 0;
    border-bottom: 1px solid var(--line-2);
  }
  .table.responsive td {
    border: 0;
    padding: 2px 0;
  }
  .table.responsive td.t {
    grid-row: span 1;
  }
  .table.responsive td.c-name {
    grid-column: 2;
  }
  .table.responsive td.c-weight {
    grid-column: 3;
    text-align: right;
  }
  .table.responsive td.c-score {
    grid-column: 1;
  }
  .table.responsive td.c-flags {
    grid-column: 2 / -1;
  }
}
.companies {
  display: grid;
  gap: 12px;
}
.company {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px 18px;
  background: #fff;
}
.company-head {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
}
.company-head h4 {
  margin: 0;
  font-size: 1.05rem;
}
.company-head .ticker {
  color: var(--muted);
  font-weight: 600;
  font-size: 0.85rem;
  margin-left: 6px;
}
.company-meta {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 2px;
}
.findings {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.findings li {
  border-left: 3px solid var(--pc);
  padding: 2px 0 2px 12px;
}
.finding-top {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
  font-weight: 650;
  font-size: 0.92rem;
}
.finding-text {
  margin: 4px 0 2px;
  font-size: 0.93rem;
}
.finding-src {
  font-size: 0.8rem;
  color: var(--muted);
}
.more-note {
  text-align: center;
  color: var(--muted);
  margin: 14px 0 0;
}

/* Locked region */
.locked-region {
  position: relative;
  margin-top: 8px;
}
.locked-content {
  filter: blur(5px) grayscale(0.4);
  opacity: 0.55;
  pointer-events: none;
  user-select: none;
  max-height: 860px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(180deg, #000 60%, transparent);
  mask-image: linear-gradient(180deg, #000 60%, transparent);
}
.fake {
  color: transparent;
  background: #d5d9e6;
  border-radius: 6px;
}
.lock-box {
  position: absolute;
  top: 40px;
  left: 50%;
  transform: translateX(-50%);
  width: min(540px, calc(100% - 24px));
  padding: 28px;
  background: #fff;
  border: 1px solid var(--gold-300);
  border-radius: 18px;
  box-shadow: var(--shadow-lg);
  text-align: center;
  z-index: 5;
}
.lock-badge {
  width: 56px;
  height: 56px;
  margin: 0 auto 12px;
  border-radius: 50%;
  background: var(--gold-50);
  color: var(--gold-600);
  display: grid;
  place-items: center;
}
.lock-badge svg {
  width: 26px;
  height: 26px;
}
.lock-box h3 {
  font-size: 1.6rem;
}
.lock-box ul {
  list-style: none;
  text-align: left;
  margin: 14px auto 20px;
  padding: 0;
  display: grid;
  gap: 9px;
  max-width: 400px;
}
.lock-box li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.lock-box li svg {
  width: 20px;
  height: 20px;
  color: var(--ok);
  flex: none;
  margin-top: 1px;
}
.lock-box .small {
  margin: 12px 0 0;
  color: var(--muted);
}
.inline-lock {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--gold-600);
  font-weight: 650;
  font-size: 0.85rem;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}
.inline-lock svg {
  width: 15px;
  height: 15px;
}
.blur-val {
  filter: blur(5px);
  user-select: none;
}
/* Report call to action: Magnificat's section gradient with the crowned monogram. */
.cta-card {
  position: relative;
  overflow: hidden;
  padding: 30px;
  background: var(--section-gradient);
  color: #e6eef5;
  border: 0;
  display: grid;
  gap: 20px;
  border-top: 4px solid var(--gold);
}
.cta-card .cta-mono {
  display: block;
  width: 46px;
  height: 62px;
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
}
.cta-card .eyebrow {
  color: var(--gold-300);
  margin-bottom: 6px;
}
.cta-card h3 {
  font-family: var(--display);
  font-weight: 300;
  color: #fff;
  font-size: 1.75rem;
  line-height: 1.15;
}
.cta-card h3 strong {
  font-weight: 800;
  color: var(--gold);
}
.cta-card p {
  margin: 0;
}
.cta-card .cta-sub {
  margin-top: 10px;
  font-size: 0.9rem;
  color: #c9d6e3;
}
.cta-card .cta-sub a {
  color: #fff;
  font-weight: 700;
}
.cta-card .cta-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: stretch;
}
@media (min-width: 820px) {
  .cta-card {
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 26px;
  }
}
.report-disclosure {
  color: var(--muted);
  font-size: 0.82rem;
  margin-top: 18px;
}
.print-only {
  display: none;
}

/* ---- How, screens, about, faq -------------------------------------------------- */
.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 18px;
}
@media (min-width: 820px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
  }
}
.how {
  background: var(--tint);
}
.steps li {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}
.step-n {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold-300);
  font-family: var(--display);
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 12px;
}
.screens {
  background: var(--paper);
  border-top: 1px solid var(--line);
}
.pillars {
  display: grid;
  gap: 16px;
}
@media (min-width: 720px) {
  .pillars {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1080px) {
  .pillars {
    grid-template-columns: repeat(3, 1fr);
  }
}
.pillar {
  padding: 22px;
  border-top: 4px solid var(--pc);
}
.pillar h3 {
  display: flex;
  align-items: center;
  font-size: 1.3rem;
}
.pillar ul {
  list-style: none;
  padding: 0;
  margin: 10px 0 0;
  display: grid;
  gap: 10px;
}
.pillar li strong {
  display: block;
  font-size: 0.95rem;
}
.pillar li span {
  display: block;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.45;
}
/* ---- What we screen for: a picture per criterion, opening to what we flag in it ------- */
.criteria {
  display: grid;
  gap: 30px;
}
.crit-pillar h3 {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px 0;
  font-size: 1.2rem;
  margin: 0 0 12px;
}
.crit-pillar h3 .dot {
  align-self: center;
}
.crit-blurb {
  flex-basis: 100%;
  margin-left: 18px;
  font-family: var(--sans);
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--muted);
}
.crit-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(158px, 1fr));
  grid-auto-flow: dense;
  gap: 12px;
}
.crit > summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
  padding: 18px 12px 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow-sm, 0 1px 2px rgba(3, 64, 107, 0.06));
  transition:
    border-color 0.15s,
    box-shadow 0.15s,
    transform 0.15s;
}
.crit:not([open]) > summary {
  height: 100%;
}
.crit > summary::-webkit-details-marker {
  display: none;
}
.crit > summary:hover {
  border-color: color-mix(in srgb, var(--pc) 45%, white);
  box-shadow: 0 6px 18px rgba(3, 64, 107, 0.1);
  transform: translateY(-1px);
}
.crit > summary:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}
.crit-pic {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--pc);
  background: color-mix(in srgb, var(--pc) 9%, white);
  flex: none;
}
.crit-pic .crit-icon {
  width: 50px;
  height: 50px;
}
.crit-name {
  font-weight: 750;
  color: var(--navy);
  line-height: 1.25;
}
.crit-hint {
  font-size: 0.78rem;
  font-weight: 650;
  color: var(--pc);
}
.crit-hint::after {
  content: ' \25BE';
}
.crit[open] {
  grid-column: 1 / -1;
}
.crit[open] > summary {
  flex-direction: row;
  text-align: left;
  gap: 14px;
  padding: 14px 18px;
  border-radius: 16px 16px 0 0;
  border-bottom-color: var(--line-2);
  box-shadow: none;
  transform: none;
  background: color-mix(in srgb, var(--pc) 5%, white);
}
.crit[open] .crit-pic {
  width: 60px;
  height: 60px;
}
.crit[open] .crit-pic .crit-icon {
  width: 40px;
  height: 40px;
}
.crit[open] .crit-name {
  font-size: 1.2rem;
  flex: 1;
}
.crit[open] .crit-hint::after {
  content: ' \25B4';
}
.crit[open] .crit-hint {
  white-space: nowrap;
}
.crit-body {
  background: #fff;
  border: 1px solid var(--line);
  border-top: 0;
  border-radius: 0 0 16px 16px;
  padding: 14px 20px 18px;
}
.crit-def {
  margin: 0 0 10px;
  color: var(--ink-2);
}
.viol-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.viol {
  border: 1px solid var(--line);
  border-left: 4px solid var(--pc);
  border-radius: 10px;
  background: #fff;
}
.viol > summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 6px 12px;
  padding: 10px 14px;
}
.viol > summary::-webkit-details-marker {
  display: none;
}
.viol > summary:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 1px;
}
.viol-label {
  font-weight: 700;
  color: var(--navy);
}
.viol-label::before {
  content: '\25B8';
  display: inline-block;
  width: 1.1em;
  color: var(--pc);
  transition: transform 0.15s;
}
.viol[open] .viol-label::before {
  transform: rotate(90deg);
}
.viol-chips {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}
.viol-body {
  padding: 0 14px 12px 32px;
  font-size: 0.93rem;
  color: var(--ink-2);
}
.viol-body > p {
  margin: 0 0 8px;
}
.viol.hl {
  border-color: #f0c4c0;
  border-left-color: var(--b-serious);
  background: #fffafa;
}
.why {
  background: var(--tint);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 14px;
  margin: 4px 0 10px;
}
.why p {
  margin: 0 0 6px;
}
.why p:last-child {
  margin-bottom: 0;
}
.why strong {
  color: var(--navy);
}
.viol-eg {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}
.viol-eg .eg {
  font: inherit;
  font-size: 0.85rem;
  font-weight: 650;
  color: var(--navy);
  background: var(--navy-100);
  border: 1px solid #c3d4e4;
  border-radius: 999px;
  padding: 2px 10px;
  cursor: pointer;
}
.viol-eg .eg:hover {
  background: #d8e5f1;
}
.crit-foot {
  margin: 12px 0 0;
}
@media (max-width: 480px) {
  .crit-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .crit-pic {
    width: 64px;
    height: 64px;
  }
  .crit-pic .crit-icon {
    width: 42px;
    height: 42px;
  }
  .crit-body {
    padding: 12px 12px 14px;
  }
  .viol-body {
    padding: 0 12px 12px 14px;
  }
}

/* "So Much Good" band: Magnificat's tagline on the ripple photograph. */
.good-band {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background-color: var(--navy);
  background-size: cover;
  background-position: 50% 62%;
  background-repeat: no-repeat;
  color: #e6eef5;
  padding: 64px 0;
}
.good-band::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(0deg, rgba(76, 115, 143, 0.84), rgba(3, 64, 107, 0.93));
}
.good-inner {
  display: grid;
  gap: 30px;
  align-items: center;
}
@media (min-width: 900px) {
  .good-inner {
    grid-template-columns: 1fr 1fr;
    gap: 64px;
  }
}
.good-tagline img {
  width: min(470px, 100%);
  height: auto;
}
.good-copy .eyebrow {
  color: var(--gold-300);
}
.good-text {
  font-size: 1.1rem;
  color: #e6eef5;
}
.good-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 34px;
  margin: 4px 0 24px;
  padding: 0;
  list-style: none;
}
.good-stats b {
  display: block;
  font-family: var(--display);
  font-weight: 800;
  font-size: 2.3rem;
  line-height: 1.05;
  color: var(--gold);
}
.good-stats span {
  font-size: 0.86rem;
  color: #d3dfea;
}
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

/* About Magnificat: warm ripple photograph, family illustration, who they serve. */
.magnificat {
  position: relative;
  isolation: isolate;
  background-color: var(--warm);
  background-size: cover;
  background-position: 50% 40%;
  background-repeat: no-repeat;
  padding-bottom: 0;
}
.magnificat::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(246, 235, 231, 0.55), rgba(255, 255, 255, 0.72));
}
.mag-head {
  display: grid;
  gap: 24px;
  align-items: end;
  margin-bottom: 30px;
}
@media (min-width: 900px) {
  .mag-head {
    grid-template-columns: 1.15fr 1fr;
    gap: 56px;
  }
}
.mag-logo {
  width: 230px;
  height: auto;
  margin-bottom: 22px;
}
.mag-lede {
  font-size: 1.08rem;
  color: var(--ink-2);
}
.mag-pull {
  border-left: 3px solid var(--gold);
  padding: 4px 0 4px 18px;
  margin: 0;
}
.mag-pull p {
  margin: 0 0 6px;
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 300;
  line-height: 1.3;
  color: var(--navy);
}
.mag-pull p strong {
  font-weight: 800;
  color: var(--gold-ink);
}
.mag-pull span {
  font-size: 0.9rem;
  color: var(--muted);
}
.serve {
  display: grid;
  gap: 16px;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
}
@media (min-width: 820px) {
  .serve {
    grid-template-columns: repeat(3, 1fr);
  }
}
.serve li {
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line);
  border-top: 3px solid var(--navy);
  border-radius: var(--radius);
  padding: 22px 22px 18px;
  box-shadow: var(--shadow);
}
.serve .serve-k {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-600);
  margin-bottom: 8px;
}
.serve h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}
.serve p {
  color: var(--ink-2);
  font-size: 0.97rem;
  flex: 1;
}
.serve .note {
  font-size: 0.85rem;
  color: var(--muted);
  flex: none;
  margin-top: -4px;
}
.mag-actions {
  margin-bottom: 36px;
}
.mag-call {
  white-space: nowrap;
}
.mag-phone {
  font-weight: 700;
  color: var(--navy);
  text-decoration: none;
  white-space: nowrap;
}
.mag-phone:hover {
  text-decoration: underline;
}
.families {
  display: block;
  width: 100%;
  max-width: none;
  height: auto;
  aspect-ratio: 1600 / 346;
  object-fit: cover;
  /* The illustration's white sky takes on the section's warm tone. */
  mix-blend-mode: multiply;
}
.faq {
  background: var(--paper);
  border-top: 1px solid var(--line);
}
.faq details {
  border-bottom: 1px solid var(--line);
  padding: 4px 0;
}
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 16px 32px 16px 0;
  font-weight: 650;
  font-size: 1.05rem;
  position: relative;
  color: var(--navy);
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: '+';
  position: absolute;
  right: 4px;
  top: 12px;
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--gold-600);
}
.faq details[open] summary::after {
  content: '–';
}
.faq details p,
.faq details ul {
  color: var(--ink-2);
  padding-right: 24px;
}
.faq details ul {
  margin: 0 0 1em;
  padding-left: 1.2em;
}
.faq details li + li {
  margin-top: 0.5em;
}
.faq details[id] {
  scroll-margin-top: 88px;
}

/* ---- Footer -------------------------------------------------------------------------- */
.site-footer {
  background: var(--navy-900);
  color: #c9d6e3;
  padding: 52px 0 30px;
  border-top: 4px solid var(--gold);
}
.site-footer a {
  color: #fff;
}
.site-footer a:hover {
  color: var(--gold-300);
}
.footer-grid {
  display: grid;
  gap: 32px;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}
@media (min-width: 860px) {
  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 48px;
  }
}
.footer-logo {
  width: 220px;
  height: auto;
  margin-bottom: 16px;
}
.footer-tag {
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 300;
  color: #fff;
  margin: 0 0 10px;
  line-height: 1.3;
}
.footer-tag strong {
  display: block;
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--gold);
}
.footer-about {
  font-size: 0.92rem;
  max-width: 30rem;
}
.footer-h {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-300);
  margin: 4px 0 14px;
}
.footer-contact {
  font-style: normal;
  font-size: 0.95rem;
  line-height: 1.75;
}
.footer-contact a {
  text-decoration: none;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.95rem;
}
.footer-nav a {
  text-decoration: none;
  font-weight: 600;
}
.footer-nav .ext-icon {
  margin-left: 4px;
}
.footer-legal {
  padding-top: 22px;
}
.disclosure {
  max-width: 980px;
  color: #a9bccd;
}
.site-footer .muted {
  color: #93aac0;
}
.site-footer .ria {
  margin-top: 6px;
  color: #d7e2ec;
  font-weight: 600;
}

/* ---- Dialog -------------------------------------------------------------------------- */
.dialog {
  border: 0;
  border-radius: 18px;
  padding: 0;
  width: min(520px, calc(100vw - 24px));
  max-height: calc(100dvh - 24px);
  overflow: auto;
  box-shadow: var(--shadow-lg);
  color: var(--ink);
}
.dialog::backdrop {
  background: rgba(1, 36, 64, 0.6);
  backdrop-filter: blur(2px);
}
.dialog form {
  padding: 28px;
  position: relative;
}
.dialog-head {
  text-align: center;
  margin-bottom: 18px;
}
.dialog-head h2 {
  font-size: 1.8rem;
  margin-bottom: 4px;
}
.dialog-head p {
  color: var(--muted);
  margin: 0;
}
.dialog-close {
  position: absolute;
  right: 12px;
  top: 12px;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  display: grid;
  place-items: center;
}
.dialog-close:hover {
  background: var(--line-2);
}
.dialog-close svg {
  width: 20px;
  height: 20px;
}
.field-row {
  display: grid;
  gap: 0 12px;
  grid-template-columns: 1fr 1fr;
}
@media (max-width: 420px) {
  .field-row {
    grid-template-columns: 1fr;
  }
  .dialog form {
    padding: 22px 18px;
  }
}
.check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.85rem;
  color: var(--ink-2);
  margin: -4px 0 14px;
}
.check input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  flex: none;
}
.consent {
  color: var(--muted);
  margin: 4px 0 12px;
}
.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
#turnstile-box:not(:empty) {
  margin: 4px 0 12px;
}

/* ---- First-visit notice ------------------------------------------------------------------ */
.notice-dialog {
  width: min(500px, calc(100vw - 24px));
  border-top: 5px solid var(--gold);
}
.notice-body {
  padding: 28px 30px 22px;
}
.notice-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}
.notice-brand .brand-mark {
  width: 38px;
  height: 38px;
}
.notice-dialog h2 {
  font-size: 1.75rem;
  margin-bottom: 10px;
}
.notice-text p {
  color: var(--ink-2);
  font-size: 1.02rem;
}
.notice-foot {
  text-align: center;
  margin: 14px 0 0;
}
@media (max-width: 420px) {
  .notice-body {
    padding: 22px 18px 16px;
  }
}

/* ---- Toast ----------------------------------------------------------------------------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  z-index: 90;
  background: var(--navy-900);
  color: #fff;
  padding: 12px 18px;
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  max-width: calc(100vw - 32px);
  font-weight: 550;
  animation: toast-in 0.2s ease-out;
}
@keyframes toast-in {
  from {
    opacity: 0;
    transform: translate(-50%, 10px);
  }
}

/* ---- Content pages (methodology, legal, score pages) --------------------------------- */
.page-hero {
  background: linear-gradient(180deg, #03406b 0%, #0f4c78 55%, #33648a 100%);
  color: #e6eef5;
  padding: 52px 0 46px;
}
.page-hero .eyebrow {
  color: var(--gold-300);
}
.page-hero h1 {
  color: #fff;
  font-size: clamp(2rem, 5vw, 3rem);
}
.page-hero p {
  color: #dbe6f0;
  max-width: 46rem;
  font-size: 1.1rem;
}
.prose {
  max-width: 820px;
}
.prose h2 {
  margin-top: 1.6em;
  font-size: 1.8rem;
}
.prose h3 {
  margin-top: 1.4em;
}
.prose li {
  margin-bottom: 0.4em;
}
.prose .table {
  margin: 12px 0 20px;
}
.pillar-block {
  margin-bottom: 30px;
}
.usccb-table td {
  vertical-align: top;
  font-size: 0.92rem;
}
.usccb-table td:first-child {
  min-width: 170px;
}
.usccb-table td:nth-child(2) {
  min-width: 260px;
}
.usccb-table tr.usccb-area th {
  background: var(--tint);
  color: var(--navy);
  font-size: 0.8rem;
  padding: 10px;
  border-top: 1px solid var(--line);
  white-space: normal;
}
.usccb-table .pol {
  display: block;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: var(--gold-600);
}
.usccb-table .apprs {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 4px;
}
.appr,
.st {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  line-height: 1.35;
  border-radius: 999px;
  padding: 1px 8px;
  white-space: nowrap;
  border: 1px solid transparent;
}
.appr-avoid,
.st-screen {
  color: var(--b-serious);
  background: #fdf0ef;
  border-color: #f0c4c0;
}
.appr-divest,
.appr-shun,
.st-pending {
  color: #7a4a06;
  background: var(--gold-50);
  border-color: #e7cf9f;
}
.appr-engage,
.st-engage {
  color: var(--navy);
  background: var(--navy-100);
  border-color: #c3d4e4;
}
.appr-promote,
.st-promote {
  color: var(--ok);
  background: #edf6f0;
  border-color: #bfdcc9;
}
.st-none,
.st-off {
  color: var(--muted);
  background: var(--line-2);
  border-color: var(--line);
}
.usccb-cats {
  display: block;
  margin-top: 4px;
  font-size: 0.8rem;
  color: var(--muted);
}
@media (max-width: 720px) {
  /* Category tables (methodology) as stacked blocks on phones. */
  .cat-table thead {
    display: none;
  }
  .cat-table,
  .cat-table tbody,
  .cat-table tr,
  .cat-table td {
    display: block;
    width: 100%;
  }
  .cat-table tr {
    padding: 10px 0;
    border-bottom: 1px solid var(--line);
  }
  .cat-table td {
    border: 0;
    padding: 2px 0;
  }
  .cat-table td.num {
    text-align: left;
  }
  .cat-table td.num::before {
    content: 'Weight ';
    color: var(--muted);
  }
}
@media (max-width: 720px) {
  /* Each policy as a block: no sideways scrolling through three text columns. */
  .usccb-table thead {
    display: none;
  }
  .usccb-table,
  .usccb-table tbody,
  .usccb-table tr,
  .usccb-table td,
  .usccb-table th {
    display: block;
    width: 100%;
  }
  .usccb-table td {
    border: 0;
    padding: 4px 0;
  }
  .usccb-table td:first-child,
  .usccb-table td:nth-child(2) {
    min-width: 0;
  }
  .usccb-table tr {
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
  }
  .usccb-table tr.usccb-area {
    padding: 0;
    margin-top: 14px;
  }
  .usccb-table tr.usccb-area th {
    border-radius: 8px;
  }
}
.pillar-block h3 {
  display: flex;
  align-items: center;
}
.callout {
  background: var(--gold-50);
  border: 1px solid var(--gold-300);
  border-radius: 12px;
  padding: 16px 18px;
  margin: 18px 0;
}
.score-page .score-card {
  padding: 28px;
  margin-top: -24px;
  position: relative;
}
.score-page .qc-body {
  margin-top: 8px;
}
.simple-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}
.simple-page {
  background: var(--tint);
}
.simple-page .card {
  padding: 32px;
  max-width: 520px;
  text-align: center;
  border-top: 4px solid var(--gold);
}
.simple-mark {
  width: 46px;
  height: 46px;
  margin: 0 auto 14px;
}
.simple-by {
  margin: 18px 0 0;
}

/* ---- Home page brand images ---------------------------------------------------------------
   Magnificat's ripple photographs and the monogram on the report's call to action. Kept in
   one block so the static demo build can inline them on the home page only. */
/* @home-images start */
.hero,
.good-band {
  background-image: url('/assets/brand/hero-ripple-1600.jpg');
}
.magnificat {
  background-image: url('/assets/brand/warm-ripple-1600.jpg');
}
.cta-card .cta-mono {
  background-image: url('/assets/brand/magnificat-monogram-white.png');
}
/* @home-images small start */
@media (max-width: 760px) {
  .hero,
  .good-band {
    background-image: url('/assets/brand/hero-ripple-900.jpg');
  }
  .magnificat {
    background-image: url('/assets/brand/warm-ripple-900.jpg');
  }
}
/* @home-images small end */
/* @home-images end */

/* ---- Print (Download PDF) ----------------------------------------------------------- */
@media print {
  @page {
    margin: 14mm 12mm;
  }
  body {
    background: #fff;
    font-size: 11pt;
  }
  .brand-bar,
  .site-header,
  .hero,
  .builder-section,
  .how,
  .good-band,
  .screens,
  .magnificat,
  .faq,
  .footer-grid,
  .report-actions,
  .cta-card,
  .toast,
  .skip-link,
  dialog {
    display: none !important;
  }
  .report-section {
    padding: 0;
    background: #fff;
  }
  .print-only {
    display: block;
  }
  .print-head {
    display: flex !important;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    border-bottom: 2px solid var(--gold);
    padding-bottom: 8px;
    margin-bottom: 14px;
  }
  .print-brand {
    display: flex;
    align-items: center;
    gap: 10px;
  }
  .print-brand .brand-mark {
    width: 34px;
    height: 34px;
  }
  .card,
  .company,
  .pillar-tile {
    box-shadow: none !important;
    break-inside: avoid;
  }
  .report-card {
    break-inside: auto;
  }
  .cat-row,
  .table tr,
  .findings li {
    break-inside: avoid;
  }
  .site-footer {
    background: #fff;
    color: #444;
    padding: 12px 0 0;
    border-top: 1px solid #ccc;
  }
  .footer-legal {
    padding-top: 0;
  }
  .site-footer .muted {
    color: #444;
  }
  .disclosure,
  .site-footer .ria {
    color: #444;
  }
  a {
    color: inherit;
    text-decoration: none;
  }
  .table-wrap {
    overflow: visible;
  }
}

/* ---- Find an advisor and For advisors ---------------------------------------------------------- */
.adv-hero .adv-search {
  margin-top: 24px;
}
.adv-hero .cta-row {
  margin-top: 24px;
}
.adv-error {
  color: #ffe1dc;
  font-weight: 650;
  margin: 12px 0 0;
}
.adv-error:empty {
  display: none;
}
.adv-choices {
  margin-top: 14px;
  color: #dbe6f0;
}
.adv-choices p {
  margin: 0 0 8px;
}
.adv-choice-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.adv-results {
  background: var(--tint);
}
.adv-layout {
  display: grid;
  gap: 22px;
  align-items: start;
}
@media (min-width: 900px) {
  .adv-layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  }
  .adv-map-card {
    position: sticky;
    top: 96px;
  }
}
.adv-summary {
  font-weight: 650;
  color: var(--navy);
  margin: 0 0 12px;
}
.adv-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}
.adv-card {
  position: relative;
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 16px;
  padding: 20px 20px 18px;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.adv-card.featured {
  border-top: 3px solid var(--gold);
}
.adv-card.hl {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(189, 140, 61, 0.35), var(--shadow);
}
.adv-num {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-weight: 800;
  font-size: 0.82rem;
  display: grid;
  place-items: center;
}
.adv-photo img,
.adv-initials {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--gold);
}
.adv-initials {
  display: grid;
  place-items: center;
  background: var(--navy-100);
  color: var(--navy);
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.6rem;
}
.adv-name {
  margin: 0 34px 2px 0;
  font-size: 1.2rem;
  color: var(--navy);
}
.adv-role {
  margin: 0;
  color: var(--gold-600);
  font-weight: 700;
  font-size: 0.9rem;
}
.adv-where {
  margin: 2px 0 8px;
  color: var(--ink-2);
  font-size: 0.95rem;
}
.adv-dist {
  color: var(--muted);
}
.adv-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
  margin: 0 0 6px;
}
.adv-contact a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 32px;
  font-weight: 650;
  text-decoration: none;
  color: var(--navy-700);
}
.adv-contact a:hover span {
  text-decoration: underline;
}
.adv-ico {
  width: 18px;
  height: 18px;
  flex: none;
}
.adv-contact .ext-icon,
.adv-more .ext-icon {
  display: inline-block;
  width: 12px;
  height: 12px;
  margin-left: 2px;
  vertical-align: -1px;
}
.adv-send {
  margin: 6px 0 4px;
}
.adv-send .btn {
  gap: 8px;
}
.adv-disclosure {
  color: var(--muted);
  margin: 0 0 8px;
}
.adv-disclosure p {
  margin: 0 0 4px;
}
.adv-more {
  margin-top: 4px;
}
.adv-more summary {
  cursor: pointer;
  font-weight: 650;
  color: var(--navy);
  font-size: 0.92rem;
}
.adv-more p {
  margin: 8px 0 0;
  font-size: 0.95rem;
}
.adv-note {
  margin-top: 14px;
}
.adv-map-card {
  margin: 0;
  padding: 14px;
}
.adv-map {
  width: 100%;
  height: auto;
  background: #eef3f9;
  border-radius: 10px;
}
.map-nation {
  fill: #fff;
  stroke: var(--steel);
  stroke-width: 0.9;
  vector-effect: non-scaling-stroke;
}
.map-borders {
  fill: none;
  stroke: #c3cfdc;
  stroke-width: 0.7;
  vector-effect: non-scaling-stroke;
}
.pin {
  cursor: pointer;
}
.pin-halo {
  fill: rgba(189, 140, 61, 0.3);
}
.pin-dot {
  fill: var(--navy);
  stroke: #fff;
  stroke-width: 1.5;
  vector-effect: non-scaling-stroke;
}
.pin-n {
  fill: #fff;
  font-family: var(--sans);
  font-weight: 800;
  text-anchor: middle;
  pointer-events: none;
}
.pin.hl .pin-dot,
.pin:hover .pin-dot {
  fill: var(--gold-ink);
}
.here-ring {
  fill: rgba(10, 81, 133, 0.14);
  stroke: var(--navy-700);
  stroke-width: 1.5;
  vector-effect: non-scaling-stroke;
}
.here-dot {
  fill: var(--navy-700);
}
.adv-map-card figcaption {
  margin: 8px 2px 0;
}
.adv-disclosure-box {
  margin-top: 22px;
  color: var(--muted);
  font-size: 0.85rem;
  max-width: 900px;
}
.adv-disclosure-box p {
  margin: 0 0 6px;
}
.adv-join-card {
  display: grid;
  gap: 18px;
  padding: 30px;
  border-top: 4px solid var(--gold);
}
.adv-join-card h2 {
  font-size: clamp(1.6rem, 3.4vw, 2.2rem);
}
.adv-join-card p:last-child {
  margin-bottom: 0;
}
.adv-join-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
@media (min-width: 860px) {
  .adv-join-card {
    grid-template-columns: 1fr auto;
    align-items: center;
  }
}
.adv-tool-section {
  background: var(--paper);
}
.adv-points {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 16px;
}
@media (min-width: 820px) {
  .adv-points {
    grid-template-columns: repeat(3, 1fr);
  }
}
.adv-points li {
  padding: 24px;
}
.adv-points svg {
  width: 26px;
  height: 26px;
  color: var(--gold-ink);
  margin-bottom: 10px;
}
.adv-points h3 {
  font-size: 1.1rem;
  margin-bottom: 6px;
}
.adv-points p {
  margin: 0;
  color: var(--ink-2);
}
.adv-map-section,
.adv-contact-section {
  background: var(--tint);
}
.adv-split {
  max-width: 820px;
}
.adv-inquiry,
.adv-inquiry-done {
  padding: 26px;
}
.adv-inquiry-done {
  border-top: 4px solid var(--ok);
}
.field-row.three {
  grid-template-columns: 1.4fr 1fr 1fr;
}
@media (max-width: 620px) {
  .field-row.three {
    grid-template-columns: 1fr;
  }
}
.share-alt {
  text-align: center;
  margin: 12px 0 0;
}
.cta-card .cta-actions .btn svg {
  width: 18px;
  height: 18px;
}
.main-nav a {
  white-space: nowrap;
}
@media (min-width: 960px) and (max-width: 1180px) {
  .main-nav {
    gap: 16px;
  }
  .main-nav a {
    font-size: 0.9rem;
  }
}
/* Not enough room for five links: "What we screen" is also on the home page itself. */
@media (min-width: 960px) and (max-width: 1080px) {
  .main-nav a[href$='#screens'] {
    display: none;
  }
}
@media print {
  .adv-send,
  .cta-card .cta-actions {
    display: none !important;
  }
}
