@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap");

:root {
  --bg: #f7f8fb;
  --bg-warm: #fbf7ef;
  --surface: #ffffff;
  --surface-muted: #f2f5f9;
  --navy: #102a43;
  --text: #26384d;
  --muted: #66788f;
  --border: #d8e0ea;
  --accent: #176b63;
  --accent-dark: #0f4f49;
  --gold: #d79a2b;
  --rose: #c45a4b;
  --blue: #3f6f9f;
  --shadow: 0 22px 54px rgba(16, 42, 67, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(215, 154, 43, 0.16), transparent 32rem),
    linear-gradient(135deg, var(--bg), var(--bg-warm));
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
}

button,
input,
select {
  font: inherit;
}

.site-header {
  width: 100%;
  display: flex !important;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 18px 8%;
  background: rgba(255,255,255,0.94);
  border-bottom: 1px solid rgba(219,230,242,0.9);
  position: sticky;
  top: 0;
  z-index: 99999;
  backdrop-filter: blur(14px);
}

.site-logo {
  font-size: 24px;
  font-weight: 900;
  color: #10284a;
  text-decoration: none;
}

.site-nav {
  display: flex !important;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}

.site-nav a,
.site-nav-dropbtn {
  color: #10284a;
  text-decoration: none;
  font-size: 14px;
  font-weight: 800;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
}

.site-nav a:hover,
.site-nav-dropbtn:hover {
  text-decoration: underline;
}

.site-nav-dropdown {
  position: relative;
  display: inline-flex;
}

.site-nav-dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: #ffffff;
  border: 1px solid #dbe6f2;
  border-radius: 14px;
  box-shadow: 0 18px 45px rgba(16,40,74,0.14);
  padding: 10px;
  z-index: 100000;
}

.site-nav-dropdown-menu a {
  display: block;
  padding: 10px 12px;
  border-radius: 10px;
  white-space: nowrap;
}

.site-nav-dropdown-menu a:hover {
  background: #f6f9fc;
  text-decoration: none;
}

.site-nav-dropdown:hover .site-nav-dropdown-menu,
.site-nav-dropdown:focus-within .site-nav-dropdown-menu {
  display: block;
}

.page-shell {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 18px 0 48px;
}

.hero {
  display: grid;
  align-items: end;
  min-height: 320px;
  margin-bottom: 24px;
  overflow: hidden;
  border: 1px solid rgba(216, 224, 234, 0.78);
  border-radius: 22px;
  background:
    linear-gradient(125deg, rgba(16, 42, 67, 0.97), rgba(23, 107, 99, 0.84)),
    radial-gradient(circle at 85% 18%, rgba(215, 154, 43, 0.52), transparent 16rem);
  color: #ffffff;
  padding: clamp(28px, 5vw, 56px);
  box-shadow: var(--shadow);
}

.hero--home {
  min-height: 360px;
}

.hero--compact {
  min-height: 260px;
}

.hero__content {
  max-width: 760px;
}

.pill-label,
.section-label {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin: 0 0 10px;
  border: 1px solid rgba(215, 154, 43, 0.35);
  border-radius: 999px;
  background: rgba(215, 154, 43, 0.13);
  color: var(--gold);
  padding: 4px 10px;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.section-label {
  border-color: rgba(23, 107, 99, 0.2);
  background: rgba(23, 107, 99, 0.09);
  color: var(--accent-dark);
}

.hero .pill-label {
  color: #f6c86c;
}

h1,
h2,
h3 {
  color: var(--navy);
  letter-spacing: 0;
}

.hero h1 {
  max-width: 12ch;
  margin: 0;
  color: #ffffff;
  font-size: clamp(2.45rem, 6.5vw, 5.1rem);
  line-height: 0.98;
}

.hero__copy {
  max-width: 650px;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1rem, 2vw, 1.16rem);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  width: 100%;
  border: 0;
  border-radius: 999px;
  background: var(--accent);
  color: #ffffff;
  padding: 0 22px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: background 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.button:hover {
  background: var(--accent-dark);
  box-shadow: 0 12px 28px rgba(15, 79, 73, 0.22);
}

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

.button--inline {
  width: fit-content;
  margin-top: 26px;
  background: #ffffff;
  color: var(--accent-dark);
}

.content-section {
  margin-top: 24px;
}

.section-heading {
  margin-bottom: 16px;
}

.section-heading h2,
.card-heading h2,
.info-card h2 {
  margin: 0;
  font-size: clamp(1.45rem, 3vw, 2rem);
  line-height: 1.14;
}

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

/* Future tools should reuse .tool-card, .calculator-card, and .results-card before adding new layout primitives. */
.tool-card,
.info-card,
.calculator-card,
.results-card {
  border: 1px solid rgba(216, 224, 234, 0.92);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 16px 40px rgba(16, 42, 67, 0.08);
}

.tool-card {
  min-height: 210px;
  padding: 22px;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.tool-card:hover {
  border-color: rgba(23, 107, 99, 0.32);
  box-shadow: 0 22px 44px rgba(16, 42, 67, 0.13);
  transform: translateY(-2px);
}

.tool-card h3 {
  margin: 14px 0 8px;
  font-size: 1.2rem;
}

.tool-card p,
.info-card p {
  margin: 0;
  color: var(--muted);
}

.info-card {
  padding: clamp(22px, 3vw, 32px);
}

.source-list {
  display: grid;
  gap: 16px;
}

.app-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(320px, 1.15fr);
  gap: 24px;
  align-items: start;
}

.calculator-card {
  display: grid;
  gap: 18px;
  padding: clamp(22px, 3vw, 32px);
}

.results-card {
  min-height: 100%;
  padding: clamp(22px, 3vw, 32px);
}

.field {
  display: grid;
  gap: 8px;
  color: var(--navy);
  font-weight: 750;
}

.field input,
.field select {
  width: 100%;
  min-height: 50px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fbfcfd;
  color: var(--text);
  padding: 0 14px;
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.field input:focus,
.field select:focus {
  border-color: var(--accent);
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(23, 107, 99, 0.14);
}

.empty-state {
  display: grid;
  min-height: 302px;
  place-items: center;
  border: 1px dashed var(--border);
  border-radius: 16px;
  background: var(--surface-muted);
  color: var(--muted);
  text-align: center;
  padding: 24px;
}

.empty-state p {
  margin: 0;
}

.results-content {
  display: grid;
  gap: 24px;
}

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

.summary-item {
  display: grid;
  gap: 8px;
  min-width: 0;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: #fbfcfd;
  padding: 16px;
}

.summary-item span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 750;
}

.summary-item strong {
  overflow-wrap: anywhere;
  color: var(--navy);
  font-size: clamp(1.1rem, 2.4vw, 1.52rem);
  line-height: 1.1;
}

.estimate-note {
  margin: 0;
  border-left: 4px solid var(--gold);
  border-radius: 12px;
  background: rgba(215, 154, 43, 0.11);
  color: var(--text);
  padding: 12px 14px;
  font-weight: 650;
}

.breakdown {
  display: grid;
  gap: 16px;
}

.breakdown__header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}

.breakdown h3 {
  margin: 0;
  font-size: 1.02rem;
}

.breakdown__header span {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 750;
}

.bar-list {
  display: grid;
  gap: 14px;
}

.bar-row {
  display: grid;
  gap: 8px;
}

.bar-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--navy);
  font-size: 0.92rem;
  font-weight: 750;
}

.bar-meta span:last-child {
  color: var(--muted);
  text-align: right;
}

.bar-track {
  width: 100%;
  height: 15px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--surface-muted);
}

.bar-fill {
  height: 100%;
  min-width: 3px;
  border-radius: inherit;
}

.bar-fill--social-security {
  background: var(--accent);
}

.bar-fill--healthcare {
  background: var(--blue);
}

.bar-fill--defense {
  background: var(--rose);
}

.bar-fill--other {
  background: var(--gold);
}

.results-card.is-empty .results-content {
  display: none;
}

.results-card:not(.is-empty) .empty-state {
  display: none;
}

@media (max-width: 940px) {
  .tool-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .page-shell {
    width: min(100% - 24px, 660px);
  }

  .page-shell {
    padding-top: 12px;
  }

  .hero {
    min-height: 260px;
    margin-bottom: 18px;
  }

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

  .app-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

@media (max-width: 600px) {
  .page-shell {
    width: min(100% - 20px, 430px);
  }

  .hero {
    min-height: 245px;
    border-radius: 18px;
    padding: 24px;
  }

  .tool-grid,
  .summary-grid {
    grid-template-columns: 1fr;
  }

  .breakdown__header,
  .bar-meta {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .bar-meta span:last-child {
    text-align: left;
  }
}

@media (max-width: 760px) {
  .site-header {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 20px;
  }

  .site-nav {
    gap: 12px;
  }
}

/* CivicReceipt Home page */
#cr-home-platform-hero,
#cr-home-platform-hero *,
#cr-home-trust-tools,
#cr-home-trust-tools * {
  box-sizing: border-box;
}

#cr-home-platform-hero,
#cr-home-trust-tools {
  --cr-navy: #10284a;
  --cr-navy-2: #183e63;
  --cr-blue: #2454d6;
  --cr-teal: #2da99b;
  --cr-text: #102033;
  --cr-muted: #526985;
  --cr-line: #dbe6f2;
  --cr-soft: #f6f9fc;
  --cr-cream: #fff8e7;
  --cr-card: #ffffff;
  color: var(--cr-text);
  font-family: Inter, Arial, Helvetica, sans-serif;
  margin: 0;
  overflow: hidden;
  width: 100%;
}

#cr-home-platform-hero {
  --cr-shadow: 0 24px 70px rgba(16, 40, 74, 0.12);
  background:
    radial-gradient(circle at 16% 18%, rgba(255, 232, 169, 0.62), transparent 28%),
    radial-gradient(circle at 86% 16%, rgba(184, 240, 238, 0.72), transparent 30%),
    linear-gradient(180deg, #f8fcff 0%, #ffffff 72%);
  border-bottom: 1px solid rgba(219, 230, 242, 0.9);
  padding: 96px 20px 92px;
}

#cr-home-platform-hero .cr-home-wrap {
  align-items: center;
  display: grid;
  gap: 72px;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.82fr);
  margin: 0 auto;
  max-width: 1120px;
}

#cr-home-platform-hero .cr-home-copy {
  min-width: 0;
}

#cr-home-platform-hero .cr-eyebrow,
#cr-home-trust-tools .cr-eyebrow {
  align-items: center;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--cr-line);
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(16, 40, 74, 0.06);
  color: var(--cr-navy);
  display: inline-flex;
  font-size: 12px;
  font-weight: 850;
  gap: 8px;
  letter-spacing: 0.08em;
  padding: 10px 17px;
  text-transform: uppercase;
  width: fit-content;
}

#cr-home-platform-hero h1 {
  color: var(--cr-navy);
  font-size: clamp(48px, 7.2vw, 82px);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 0.95;
  margin: 28px 0 20px;
  max-width: 720px;
}

#cr-home-platform-hero .cr-subhead {
  color: var(--cr-muted);
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 520;
  line-height: 1.55;
  margin: 0;
  max-width: 690px;
}

#cr-home-platform-hero .cr-cta-row {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

#cr-home-platform-hero .cr-btn,
#cr-home-trust-tools .cr-btn {
  align-items: center;
  appearance: none;
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  font-size: 15px;
  font-weight: 850;
  justify-content: center;
  min-height: 54px;
  padding: 0 26px;
  text-decoration: none !important;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  -webkit-text-fill-color: currentColor !important;
}

#cr-home-trust-tools .cr-btn {
  font-size: 14px;
  min-height: 50px;
  padding: 0 24px;
}

#cr-home-platform-hero .cr-btn-primary,
#cr-home-trust-tools .cr-btn-primary {
  background: #071528;
  border: 1px solid #071528;
  box-shadow: 0 16px 32px rgba(7, 21, 40, 0.18);
  color: #ffffff !important;
}

#cr-home-platform-hero .cr-btn-secondary,
#cr-home-trust-tools .cr-btn-secondary {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--cr-line);
  box-shadow: 0 10px 26px rgba(16, 40, 74, 0.06);
  color: var(--cr-navy) !important;
}

#cr-home-trust-tools .cr-btn-secondary {
  background: #ffffff;
}

#cr-home-platform-hero .cr-btn:hover,
#cr-home-trust-tools .cr-btn:hover {
  box-shadow: 0 20px 42px rgba(16, 40, 74, 0.16);
  transform: translateY(-2px);
}

#cr-home-platform-hero .cr-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
  max-width: 760px;
}

#cr-home-platform-hero .cr-pill {
  align-items: center;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid var(--cr-line);
  border-radius: 999px;
  box-shadow: 0 8px 20px rgba(16, 40, 74, 0.04);
  color: var(--cr-navy);
  display: inline-flex;
  font-size: 13px;
  font-weight: 800;
  gap: 7px;
  line-height: 1;
  padding: 9px 13px;
}

#cr-home-platform-hero .cr-platform-card {
  background: var(--cr-card);
  border: 1px solid var(--cr-line);
  border-radius: 26px;
  box-shadow: var(--cr-shadow);
  overflow: hidden;
  width: 100%;
}

#cr-home-platform-hero .cr-platform-head {
  background: linear-gradient(135deg, var(--cr-navy) 0%, var(--cr-navy-2) 100%);
  color: #ffffff;
  padding: 26px 28px;
}

#cr-home-platform-hero .cr-platform-kicker {
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.08em;
  margin: 0 0 9px;
  text-transform: uppercase;
}

#cr-home-platform-hero .cr-platform-head h2 {
  color: #ffffff;
  font-size: 24px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.2;
  margin: 0;
}

#cr-home-platform-hero .cr-platform-body {
  padding: 26px 28px 28px;
}

#cr-home-platform-hero .cr-tool-list {
  display: grid;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
}

#cr-home-platform-hero .cr-tool-item {
  align-items: start;
  border-bottom: 1px solid #edf2f7;
  display: grid;
  gap: 14px;
  grid-template-columns: 42px 1fr;
  padding: 15px 0;
}

#cr-home-platform-hero .cr-tool-item:first-child {
  padding-top: 0;
}

#cr-home-platform-hero .cr-tool-icon,
#cr-home-trust-tools .cr-card-icon {
  background: #f5f9fd;
  border: 1px solid var(--cr-line);
  border-radius: 14px;
  color: var(--cr-navy);
  display: grid;
  font-size: 18px;
  font-weight: 900;
  height: 42px;
  letter-spacing: 0;
  place-items: center;
  width: 42px;
}

#cr-home-trust-tools .cr-card-icon {
  border-radius: 16px;
  font-size: 21px;
  height: 46px;
  margin-bottom: 18px;
  width: 46px;
}

#cr-home-platform-hero .cr-tool-title {
  color: var(--cr-text);
  display: block;
  font-size: 15px;
  font-weight: 900;
  line-height: 1.25;
  margin-bottom: 4px;
}

#cr-home-platform-hero .cr-tool-copy,
#cr-home-trust-tools .cr-tool-copy {
  color: var(--cr-muted);
  font-size: 13px;
  font-weight: 650;
  line-height: 1.45;
  margin: 0;
}

#cr-home-platform-hero .cr-insight {
  background:
    radial-gradient(circle at 95% 0%, rgba(45, 169, 155, 0.16), transparent 42%),
    linear-gradient(180deg, #f7fbff 0%, #ffffff 100%);
  border: 1px solid #cfe7ff;
  border-radius: 18px;
  margin-top: 22px;
  padding: 18px;
}

#cr-home-platform-hero .cr-insight-label {
  color: var(--cr-blue);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  margin: 0 0 7px;
  text-transform: uppercase;
}

#cr-home-platform-hero .cr-insight p {
  color: var(--cr-text);
  font-size: 15px;
  font-weight: 850;
  line-height: 1.45;
  margin: 0;
}

#cr-home-platform-hero .cr-note {
  background: #f7f9fc;
  border: 1px solid var(--cr-line);
  border-radius: 16px;
  color: var(--cr-muted);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.45;
  margin-top: 14px;
  padding: 14px 16px;
}

#cr-home-trust-tools {
  --cr-shadow: 0 22px 60px rgba(16, 40, 74, 0.10);
  background:
    radial-gradient(circle at 12% 18%, rgba(255, 232, 169, 0.50), transparent 28%),
    radial-gradient(circle at 88% 12%, rgba(184, 240, 238, 0.65), transparent 30%),
    linear-gradient(180deg, #ffffff 0%, #f8fcff 100%);
  padding: 86px 20px 96px;
}

#cr-home-trust-tools .cr-section-wrap {
  margin: 0 auto;
  max-width: 1120px;
}

#cr-home-trust-tools .cr-section-head,
#cr-home-trust-tools .cr-tools-head {
  margin: 0 auto 42px;
  max-width: 790px;
  text-align: center;
}

#cr-home-trust-tools .cr-tools-head {
  margin-bottom: 34px;
  max-width: 820px;
}

#cr-home-trust-tools .cr-eyebrow {
  background: rgba(255, 255, 255, 0.86);
  margin: 0 auto 18px;
}

#cr-home-trust-tools h2 {
  color: var(--cr-navy);
  font-size: clamp(38px, 5.4vw, 66px);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 0.98;
  margin: 0;
}

#cr-home-trust-tools .cr-tools-head h2 {
  font-size: clamp(38px, 5vw, 62px);
}

#cr-home-trust-tools .cr-head-copy {
  color: var(--cr-muted);
  font-size: clamp(17px, 1.7vw, 20px);
  font-weight: 540;
  line-height: 1.6;
  margin: 20px auto 0;
  max-width: 780px;
}

#cr-home-trust-tools .cr-trust-grid,
#cr-home-trust-tools .cr-tools-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 34px;
}

#cr-home-trust-tools .cr-trust-card,
#cr-home-trust-tools .cr-tool-card {
  background:
    radial-gradient(circle at 100% 0%, rgba(184, 240, 238, 0.18), transparent 34%),
    rgba(255, 255, 255, 0.92);
  border: 1px solid var(--cr-line);
  border-radius: 24px;
  box-shadow: 0 14px 34px rgba(16, 40, 74, 0.06);
}

#cr-home-trust-tools .cr-trust-card {
  min-height: 190px;
  padding: 26px 24px;
}

#cr-home-trust-tools h3 {
  color: var(--cr-text);
  font-size: 21px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.18;
  margin: 0;
}

#cr-home-trust-tools .cr-card-copy {
  color: var(--cr-muted);
  font-size: 14px;
  font-weight: 650;
  line-height: 1.55;
  margin: 11px 0 0;
}

#cr-home-trust-tools .cr-center-cta {
  display: flex;
  justify-content: center;
  margin: 32px 0 76px;
}

#cr-home-trust-tools .cr-tool-card {
  display: flex;
  flex-direction: column;
  min-height: 310px;
  overflow: hidden;
  padding: 24px;
  position: relative;
}

#cr-home-trust-tools .cr-tool-top {
  align-items: flex-start;
  display: flex;
  gap: 14px;
  justify-content: space-between;
  margin-bottom: 18px;
}

#cr-home-trust-tools .cr-tool-badge {
  align-items: center;
  background: #f3f8fd;
  border: 1px solid var(--cr-line);
  border-radius: 999px;
  color: var(--cr-navy);
  display: inline-flex;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  padding: 8px 12px;
  text-transform: uppercase;
  width: fit-content;
}

#cr-home-trust-tools .cr-tool-card h3 {
  font-size: 24px;
  margin-top: 8px;
}

#cr-home-trust-tools .cr-tool-copy {
  font-size: 14px;
  line-height: 1.55;
  margin: 12px 0 22px;
}

#cr-home-trust-tools .cr-tool-card .cr-btn {
  margin-top: auto;
  width: fit-content;
}

#cr-home-trust-tools .cr-featured {
  background:
    radial-gradient(circle at 100% 0%, rgba(45, 169, 155, 0.18), transparent 35%),
    linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
  border-color: #cfe7ff;
}

#cr-home-trust-tools .cr-coming {
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 232, 169, 0.32), transparent 34%),
    linear-gradient(180deg, #ffffff 0%, #fffdf7 100%);
}

#cr-home-trust-tools .cr-bottom-note {
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid var(--cr-line);
  border-radius: 20px;
  color: var(--cr-muted);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.55;
  margin: 34px auto 0;
  max-width: 850px;
  padding: 18px 20px;
  text-align: center;
}

@media (max-width: 920px) {
  #cr-home-platform-hero {
    padding: 72px 18px 74px;
  }

  #cr-home-platform-hero .cr-home-wrap {
    gap: 42px;
    grid-template-columns: 1fr;
  }

  #cr-home-platform-hero h1,
  #cr-home-platform-hero .cr-subhead {
    max-width: none;
  }

  #cr-home-trust-tools {
    padding: 72px 18px 82px;
  }

  #cr-home-trust-tools .cr-trust-grid,
  #cr-home-trust-tools .cr-tools-grid {
    grid-template-columns: 1fr;
  }

  #cr-home-trust-tools .cr-trust-card,
  #cr-home-trust-tools .cr-tool-card {
    min-height: auto;
  }

  #cr-home-trust-tools .cr-center-cta {
    margin-bottom: 62px;
  }
}

@media (max-width: 560px) {
  #cr-home-platform-hero {
    padding: 56px 16px 62px;
  }

  #cr-home-platform-hero h1 {
    font-size: clamp(42px, 13vw, 58px);
  }

  #cr-home-platform-hero .cr-btn,
  #cr-home-trust-tools .cr-btn,
  #cr-home-trust-tools .cr-tool-card .cr-btn {
    width: 100%;
  }

  #cr-home-platform-hero .cr-platform-body,
  #cr-home-platform-hero .cr-platform-head {
    padding-left: 20px;
    padding-right: 20px;
  }

  #cr-home-platform-hero .cr-tool-item {
    grid-template-columns: 38px 1fr;
  }

  #cr-home-platform-hero .cr-tool-icon {
    height: 38px;
    width: 38px;
  }

  #cr-home-trust-tools {
    padding: 60px 16px 70px;
  }

  #cr-home-trust-tools h2 {
    font-size: clamp(36px, 11vw, 48px);
  }

  #cr-home-trust-tools .cr-trust-card,
  #cr-home-trust-tools .cr-tool-card {
    padding: 22px;
  }
}

.cr-carryover-card {
  max-width: 980px;
  margin: 0 auto 26px;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border: 1px solid #dbe6f2;
  border-radius: 22px;
  background:
    radial-gradient(circle at 95% 0%, rgba(47, 169, 155, 0.12), transparent 34%),
    #ffffff;
  box-shadow: 0 18px 42px rgba(15, 31, 54, 0.07);
  font-family: Inter, Arial, sans-serif;
  color: #0f1f36;
}

.cr-carryover-label {
  margin-bottom: 5px;
  color: #1d4ed8;
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.cr-carryover-card h3 {
  margin: 0 0 5px;
  color: #16365f;
  font-size: 21px;
  line-height: 1.15;
  letter-spacing: 0;
  font-weight: 950;
}

.cr-carryover-card p {
  margin: 0;
  color: #5f728c;
  font-size: 14px;
  line-height: 1.5;
  font-weight: 650;
}

.cr-carryover-values {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.cr-carryover-values span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 32px;
  padding: 0 11px;
  border: 1px solid #dbe6f2;
  border-radius: 999px;
  background: #f7f9fc;
  color: #415875;
  font-size: 12px;
  font-weight: 800;
}

.cr-carryover-values strong {
  color: #16365f;
  font-weight: 950;
}

.cr-carryover-clear {
  flex: 0 0 auto;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid #dbe6f2;
  border-radius: 999px;
  background: #ffffff;
  color: #16365f;
  font: inherit;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}

#cr-optimize-hero .cr-carryover-card,
#cr-retire-opt-hero .cr-carryover-card {
  margin: 18px 0 0;
}

@media (max-width: 640px) {
  .cr-carryover-card {
    align-items: stretch;
    flex-direction: column;
  }

  .cr-carryover-clear {
    width: 100%;
  }
}

/* CivicReceipt Tax Receipt page */
@media print {
  body * {
    visibility: hidden !important;
  }

  #receipt-results,
  #receipt-results * {
    visibility: visible !important;
  }

  #receipt-results {
    background: #ffffff !important;
    border-top: none !important;
    display: block !important;
    left: 0 !important;
    margin: 0 !important;
    opacity: 1 !important;
    padding: 0 !important;
    position: absolute !important;
    top: 0 !important;
    transform: none !important;
    width: 100% !important;
  }

  #receipt-results > div {
    margin: 0 auto !important;
    max-width: 900px !important;
    padding: 24px !important;
  }

  #copy-share-btn,
  #print-receipt-btn,
  .info-pill,
  .cr-action-row,
  .cr-method-section,
  .cr-what-you-get {
    display: none !important;
  }

  #receipt-bars > div {
    break-inside: avoid;
    page-break-inside: avoid;
  }

  p,
  div,
  h2,
  h3 {
    box-shadow: none !important;
    color: #000000 !important;
  }
}

#cr-tax-receipt-hero,
#cr-tax-receipt-hero *,
#civicreceipt-widget,
#civicreceipt-widget * {
  box-sizing: border-box;
}

#cr-tax-receipt-hero {
  --cr-navy: #10284a;
  --cr-navy-2: #183e63;
  --cr-blue: #2454d6;
  --cr-teal: #2da99b;
  --cr-text: #102033;
  --cr-muted: #526985;
  --cr-line: #dbe6f2;
  --cr-soft: #f6f9fc;
  --cr-card: #ffffff;
  --cr-shadow: 0 24px 70px rgba(16, 40, 74, 0.12);
  background:
    radial-gradient(circle at 16% 18%, rgba(255, 232, 169, 0.62), transparent 28%),
    radial-gradient(circle at 86% 16%, rgba(184, 240, 238, 0.72), transparent 30%),
    linear-gradient(180deg, #f8fcff 0%, #ffffff 74%);
  border-bottom: 1px solid rgba(219, 230, 242, 0.9);
  color: var(--cr-text);
  font-family: Inter, Arial, Helvetica, sans-serif;
  margin: 0;
  overflow: hidden;
  padding: 92px 20px 28px;
  width: 100%;
}

#cr-tax-receipt-hero .cr-tax-hero-wrap {
  align-items: center;
  display: grid;
  gap: 72px;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.82fr);
  margin: 0 auto;
  max-width: 1120px;
}

#cr-tax-receipt-hero .cr-eyebrow {
  align-items: center;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--cr-line);
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(16, 40, 74, 0.06);
  color: var(--cr-navy);
  display: inline-flex;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0;
  padding: 10px 17px;
  text-transform: uppercase;
  width: fit-content;
}

#cr-tax-receipt-hero h1 {
  color: var(--cr-navy);
  font-size: clamp(48px, 7.2vw, 82px);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 0.95;
  margin: 28px 0 20px;
  max-width: 720px;
}

#cr-tax-receipt-hero .cr-subhead {
  color: var(--cr-muted);
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 520;
  line-height: 1.55;
  margin: 0;
  max-width: 680px;
}

#cr-tax-receipt-hero .cr-cta-row {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

#cr-tax-receipt-hero .cr-btn {
  align-items: center;
  appearance: none;
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  font-size: 15px;
  font-weight: 850;
  justify-content: center;
  min-height: 54px;
  padding: 0 26px;
  text-decoration: none !important;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  -webkit-text-fill-color: currentColor !important;
}

#cr-tax-receipt-hero .cr-btn-primary {
  background: #071528;
  border: 1px solid #071528;
  box-shadow: 0 16px 32px rgba(7, 21, 40, 0.18);
  color: #ffffff !important;
}

#cr-tax-receipt-hero .cr-btn-secondary {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--cr-line);
  box-shadow: 0 10px 26px rgba(16, 40, 74, 0.06);
  color: var(--cr-navy) !important;
}

#cr-tax-receipt-hero .cr-btn:hover {
  box-shadow: 0 20px 42px rgba(16, 40, 74, 0.16);
  transform: translateY(-2px);
}

#cr-tax-receipt-hero .cr-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
  max-width: 760px;
}

#cr-tax-receipt-hero .cr-pill {
  align-items: center;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid var(--cr-line);
  border-radius: 999px;
  box-shadow: 0 8px 20px rgba(16, 40, 74, 0.04);
  color: var(--cr-navy);
  display: inline-flex;
  font-size: 13px;
  font-weight: 800;
  gap: 7px;
  line-height: 1;
  padding: 9px 13px;
}

#cr-tax-receipt-hero .cr-receipt-card {
  background: var(--cr-card);
  border: 1px solid var(--cr-line);
  border-radius: 26px;
  box-shadow: var(--cr-shadow);
  overflow: hidden;
  width: 100%;
}

#cr-tax-receipt-hero .cr-receipt-head {
  background: linear-gradient(135deg, var(--cr-navy) 0%, var(--cr-navy-2) 100%);
  color: #ffffff;
  padding: 26px 28px;
}

#cr-tax-receipt-hero .cr-receipt-kicker {
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0;
  margin: 0 0 9px;
  text-transform: uppercase;
}

#cr-tax-receipt-hero .cr-receipt-head h2 {
  color: #ffffff;
  font-size: 24px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.2;
  margin: 0;
}

#cr-tax-receipt-hero .cr-receipt-body {
  padding: 28px;
}

#cr-tax-receipt-hero .cr-label {
  color: var(--cr-muted);
  font-size: 13px;
  font-weight: 850;
  line-height: 1.2;
  margin: 0 0 6px;
}

#cr-tax-receipt-hero .cr-big-number {
  color: var(--cr-navy);
  font-size: 48px;
  font-weight: 950;
  letter-spacing: 0;
  line-height: 1;
  margin: 0;
}

#cr-tax-receipt-hero .cr-monthly {
  color: var(--cr-muted);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.45;
  margin: 8px 0 24px;
}

#cr-tax-receipt-hero .cr-divider {
  background: #e8eef5;
  height: 1px;
  margin: 22px 0;
  width: 100%;
}

#cr-tax-receipt-hero .cr-allocation-title {
  color: var(--cr-text);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  margin: 0 0 18px;
  text-transform: uppercase;
}

#cr-tax-receipt-hero .cr-allocation-list {
  display: grid;
  gap: 17px;
}

#cr-tax-receipt-hero .cr-allocation-row {
  display: grid;
  gap: 8px;
}

#cr-tax-receipt-hero .cr-allocation-top {
  color: var(--cr-text);
  display: flex;
  font-size: 13px;
  font-weight: 850;
  gap: 14px;
  justify-content: space-between;
}

#cr-tax-receipt-hero .cr-allocation-value {
  color: var(--cr-muted);
  font-weight: 900;
}

#cr-tax-receipt-hero .cr-bar {
  background: #dfe8f1;
  border-radius: 999px;
  height: 10px;
  overflow: hidden;
  width: 100%;
}

#cr-tax-receipt-hero .cr-bar span {
  background: var(--cr-teal);
  border-radius: 999px;
  display: block;
  height: 100%;
}

#cr-tax-receipt-hero .cr-demo-bar-31 {
  width: 31%;
}

#cr-tax-receipt-hero .cr-demo-bar-28 {
  width: 28%;
}

#cr-tax-receipt-hero .cr-demo-bar-23 {
  width: 23%;
}

#cr-tax-receipt-hero .cr-note {
  background: #f7f9fc;
  border: 1px solid var(--cr-line);
  border-radius: 16px;
  color: var(--cr-muted);
  font-size: 12px;
  font-weight: 750;
  line-height: 1.45;
  margin-top: 24px;
  padding: 16px 18px;
}

#civicreceipt-widget {
  --navy: #0f1b33;
  --blue: #173b6c;
  --blue2: #245d84;
  --muted: #5b6c84;
  --line: #d9e2ec;
  --soft: #f7f9fc;
  --soft2: #eef6ff;
  --teal: #2a9d8f;
  --cream: #fff7e7;
  background:
    radial-gradient(circle at 12% 12%, rgba(255, 231, 178, 0.42), transparent 32%),
    radial-gradient(circle at 88% 10%, rgba(205, 246, 248, 0.62), transparent 34%),
    linear-gradient(180deg, #ffffff 0%, #fbfdff 62%, #ffffff 100%);
  color: var(--navy);
  font-family: Inter, Arial, sans-serif;
  margin: 0 auto;
  max-width: 100%;
  padding: 16px 24px 84px;
}

#civicreceipt-widget button,
#civicreceipt-widget a,
#civicreceipt-widget input[type="button"],
#civicreceipt-widget input[type="submit"] {
  -webkit-text-fill-color: currentColor !important;
}

#civicreceipt-widget .cr-shell {
  margin: 0 auto;
  max-width: 1120px;
}

#civicreceipt-widget .cr-top-label {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: 0 12px 28px rgba(15, 27, 51, 0.05);
  color: #17407a;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  margin: 0 auto 18px;
  padding: 10px 18px;
  text-transform: uppercase;
  width: fit-content;
}

#civicreceipt-widget .cr-results-label-spaced {
  margin-bottom: 16px;
}

#civicreceipt-widget .cr-main-grid {
  align-items: start;
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.9fr);
}

#civicreceipt-widget .cr-card {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: 0 24px 70px rgba(15, 27, 51, 0.08);
  overflow: hidden;
}

#civicreceipt-widget .cr-profile-card {
  padding: 30px;
}

#civicreceipt-widget .cr-card-head {
  align-items: flex-start;
  display: flex;
  gap: 16px;
  justify-content: space-between;
  margin-bottom: 18px;
}

#civicreceipt-widget .cr-card-head h2 {
  color: var(--navy);
  font-size: 25px;
  letter-spacing: 0;
  line-height: 1.15;
  margin: 0 0 8px;
}

#civicreceipt-widget .cr-card-head p {
  color: var(--muted);
  font-size: 15px;
  font-weight: 560;
  line-height: 1.55;
  margin: 0;
}

#civicreceipt-widget .cr-login-pill {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #4e627d;
  flex: 0 0 auto;
  font-size: 13px;
  font-weight: 800;
  padding: 9px 14px;
}

#civicreceipt-widget .cr-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 18px;
}

#civicreceipt-widget .info-pill {
  background: #f7f9fc;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #173b6c;
  cursor: pointer;
  font-size: 14px;
  font-weight: 800;
  padding: 10px 15px;
  transition: all 0.2s ease;
}

#civicreceipt-widget .info-pill.is-active {
  background: var(--navy);
  border-color: var(--navy);
  box-shadow: 0 10px 22px rgba(15, 27, 51, 0.16);
  color: #ffffff;
}

#civicreceipt-widget #pill-content {
  background: #f7f9fc;
  border: 1px solid var(--line);
  border-radius: 16px;
  color: #52667f;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.6;
  margin: 0 0 24px;
  padding: 16px 18px;
}

#civicreceipt-widget .cr-grid-3 {
  display: grid;
  gap: 18px 20px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 18px;
}

#civicreceipt-widget .cr-grid-3 > div {
  min-width: 0;
}

#civicreceipt-widget label {
  color: #173b6c;
  display: block;
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 8px;
}

#civicreceipt-widget .cr-optional-note {
  color: #7b8ba3;
  font-weight: 600;
}

#civicreceipt-widget input,
#civicreceipt-widget select {
  background: #f7f9fc;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: #0f1b33;
  font-size: 16px;
  min-height: 52px;
  outline: none;
  padding: 14px 15px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  width: 100%;
}

#civicreceipt-widget select {
  line-height: 1.2;
}

#civicreceipt-widget input:focus,
#civicreceipt-widget select:focus {
  background: #ffffff;
  border-color: #173b6c;
  box-shadow: 0 0 0 4px rgba(23, 59, 108, 0.09);
}

#civicreceipt-widget .cr-optional-label {
  color: #6b7c93;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0;
  margin: 18px 0 16px;
  text-align: center;
  text-transform: uppercase;
}

#civicreceipt-widget .cr-action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin: 22px 0 12px;
}

#civicreceipt-widget .cr-primary-btn,
#civicreceipt-widget .cr-secondary-btn {
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  font-size: 15px;
  font-weight: 850;
  justify-content: center;
  padding: 15px 26px;
  text-align: center;
  text-decoration: none;
  transition: all 0.2s ease;
}

#civicreceipt-widget .cr-primary-btn {
  background: var(--navy);
  box-shadow: 0 12px 24px rgba(15, 27, 51, 0.18);
  color: #ffffff;
}

#civicreceipt-widget .cr-primary-btn:hover {
  box-shadow: 0 16px 28px rgba(15, 27, 51, 0.22);
  transform: translateY(-1px);
}

#civicreceipt-widget .cr-secondary-btn {
  background: #ffffff;
  border-color: var(--line);
  color: #173b6c;
}

#civicreceipt-widget .cr-secure-note {
  color: #6b7c93;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
  margin: 0;
  text-align: center;
}

#civicreceipt-widget #example-box {
  background: #fbfdff;
  border: 1px solid var(--line);
  border-radius: 16px;
  color: #52667f;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.65;
  margin-top: 18px;
  padding: 15px 18px;
  text-align: center;
}

#civicreceipt-widget .cr-highlight {
  color: #173b6c;
}

#civicreceipt-widget .cr-what-you-get {
  background: rgba(255, 255, 255, 0.92);
}

#civicreceipt-widget .cr-side-head {
  background: linear-gradient(135deg, #173b6c, #245d84);
  color: #ffffff;
  padding: 24px 28px;
}

#civicreceipt-widget .cr-side-head .eyebrow {
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0;
  margin-bottom: 8px;
  opacity: 0.75;
  text-transform: uppercase;
}

#civicreceipt-widget .cr-side-head h3 {
  color: #ffffff;
  font-size: 23px;
  letter-spacing: 0;
  margin: 0;
}

#civicreceipt-widget .cr-benefit-list {
  padding: 24px 28px 28px;
}

#civicreceipt-widget .cr-benefit {
  border-bottom: 1px solid #eef3f8;
  display: grid;
  gap: 14px;
  grid-template-columns: 42px 1fr;
  padding: 14px 0;
}

#civicreceipt-widget .cr-benefit:last-child {
  border-bottom: none;
}

#civicreceipt-widget .cr-icon {
  background: #f3f8ff;
  border: 1px solid var(--line);
  border-radius: 12px;
  display: grid;
  height: 38px;
  place-items: center;
  width: 38px;
}

#civicreceipt-widget .cr-benefit strong {
  color: var(--navy);
  display: block;
  font-size: 15px;
  margin-bottom: 4px;
}

#civicreceipt-widget .cr-benefit span {
  color: #52667f;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.5;
}

#civicreceipt-widget .cr-not-tax-advice {
  background: #f7f9fc;
  border: 1px solid var(--line);
  border-radius: 15px;
  color: #52667f;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.55;
  margin-top: 16px;
  padding: 14px 16px;
}

#civicreceipt-widget #receipt-results {
  border-top: 1px solid var(--line);
  display: none;
  margin-top: 54px;
  opacity: 0;
  padding-top: 46px;
  transform: translateY(10px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

#civicreceipt-widget #receipt-results.is-visible {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

#civicreceipt-widget .cr-results-wrap {
  margin: 0 auto;
  max-width: 960px;
}

#civicreceipt-widget .cr-results-title {
  margin-bottom: 22px;
  text-align: center;
}

#civicreceipt-widget .cr-results-title h2 {
  color: #173b6c;
  font-size: clamp(34px, 4vw, 54px);
  font-weight: 850;
  letter-spacing: 0;
  line-height: 1;
  margin: 0 0 10px;
}

#civicreceipt-widget .cr-results-title p {
  color: #5b6c84;
  font-size: 15px;
  font-weight: 650;
  line-height: 1.55;
  margin: 0;
}

#civicreceipt-widget .cr-quick-read {
  background:
    radial-gradient(circle at 80% 20%, rgba(209, 247, 239, 0.6), transparent 40%),
    #ffffff;
  border: 1px solid var(--line);
  border-radius: 26px;
  margin: 0 auto 26px;
  padding: 30px 24px;
  text-align: center;
}

#civicreceipt-widget .cr-quick-read .eyebrow {
  color: #6b7c93;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0;
  margin-bottom: 10px;
  text-transform: uppercase;
}

#civicreceipt-widget #receipt-total-hero {
  color: #173b6c;
  font-size: clamp(48px, 6vw, 76px);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1;
}

#civicreceipt-widget #receipt-monthly-hero,
#civicreceipt-widget #receipt-insight-line {
  color: #52667f;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.55;
  margin-top: 10px;
}

#civicreceipt-widget .cr-summary-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 12px 32px rgba(15, 27, 51, 0.06);
  margin-bottom: 28px;
  overflow: hidden;
}

#civicreceipt-widget .cr-summary-head {
  background: #f7f9fc;
  border-bottom: 1px solid var(--line);
  color: #5b6c84;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0;
  padding: 18px 24px;
  text-transform: uppercase;
}

#civicreceipt-widget .cr-summary-body {
  padding: 8px 24px 22px;
}

#civicreceipt-widget .cr-summary-grid {
  display: grid;
  gap: 0;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

#civicreceipt-widget .cr-summary-item {
  border-bottom: 1px solid #eef3f8;
  padding: 18px 0;
}

#civicreceipt-widget .cr-mini-label {
  color: #6b7c93;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0;
  margin-bottom: 6px;
  text-transform: uppercase;
}

#civicreceipt-widget .cr-mini-value {
  color: #0f1b33;
  font-size: 22px;
  font-weight: 850;
  line-height: 1.2;
}

#civicreceipt-widget .cr-profile-adjustments {
  border-top: 1px solid #eef3f8;
  margin-top: 18px;
  padding-top: 18px;
}

#civicreceipt-widget .cr-adjustment-positive {
  color: #2a9d8f;
}

#civicreceipt-widget .cr-adjust-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 18px;
}

#civicreceipt-widget .cr-bars-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 22px;
  margin-bottom: 26px;
  padding: 26px;
}

#civicreceipt-widget .cr-bars-heading {
  margin-bottom: 6px;
}

#civicreceipt-widget .cr-bars-subhead {
  color: #5b6c84;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.55;
  margin: 0 0 18px;
}

#civicreceipt-widget .cr-dynamic-bar-row {
  display: grid;
  gap: 8px;
  margin-bottom: 22px;
}

#civicreceipt-widget .cr-dynamic-bar-row:last-child {
  margin-bottom: 0;
}

#civicreceipt-widget .cr-dynamic-bar-meta {
  align-items: center;
  display: flex;
  font-size: 15px;
  gap: 16px;
  justify-content: space-between;
  line-height: 1.4;
}

#civicreceipt-widget .cr-dynamic-bar-label {
  color: #0f1b33;
  font-weight: 800;
}

#civicreceipt-widget .cr-dynamic-bar-value {
  color: #52667f;
  font-weight: 750;
  white-space: nowrap;
}

#civicreceipt-widget .cr-dynamic-bar-track {
  background: #dde5ee;
  border-radius: 999px;
  height: 18px;
  overflow: hidden;
}

#civicreceipt-widget .cr-dynamic-bar-fill {
  background: var(--bar-color, #2a9d8f);
  border-radius: 999px;
  height: 18px;
  width: var(--bar-width, 0%);
}

#civicreceipt-widget .cr-dynamic-bar-support {
  color: #5b6c84;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.45;
  margin: 0;
}

#civicreceipt-widget .cr-explanation-box,
#civicreceipt-widget .cr-share-box {
  background: #f7f9fc;
  border: 1px solid var(--line);
  border-radius: 20px;
  margin-top: 22px;
  padding: 24px;
}

#civicreceipt-widget .cr-explanation-box p {
  color: #233a57;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.75;
  margin: 0 auto;
  max-width: 780px;
}

#civicreceipt-widget .cr-share-box {
  text-align: center;
}

#civicreceipt-widget .cr-share-box h3 {
  color: #173b6c;
  font-size: 18px;
  margin: 0 0 6px;
}

#civicreceipt-widget .cr-share-box p {
  color: #5b6c84;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.6;
  margin: 0 auto 14px;
  max-width: 640px;
}

#civicreceipt-widget .cr-share-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

#civicreceipt-widget .cr-copy-btn {
  background: #2a9d8f;
}

#civicreceipt-widget .cr-share-box .cr-share-tip {
  margin-top: 12px;
}

#civicreceipt-widget .cr-optimize-next-card {
  align-items: center;
  background:
    radial-gradient(circle at 88% 16%, rgba(209, 247, 239, 0.72), transparent 38%),
    #ffffff;
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 18px 48px rgba(15, 27, 51, 0.06);
  display: grid;
  gap: 22px;
  justify-items: center;
  margin-top: 22px;
  padding: 24px;
  text-align: center;
}

#civicreceipt-widget .cr-optimize-next-card h3 {
  color: #173b6c;
  font-size: 22px;
  letter-spacing: 0;
  line-height: 1.15;
  margin: 0 0 8px;
}

#civicreceipt-widget .cr-optimize-next-card p {
  color: #52667f;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.6;
  margin: 0;
  max-width: 680px;
}

#civicreceipt-widget .cr-optimize-next-card .cr-primary-btn {
  flex: 0 0 auto;
}

#civicreceipt-widget .cr-next-actions {
  display: flex;
  flex: 0 0 auto;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

#civicreceipt-widget .cr-next-actions .cr-primary-btn,
#civicreceipt-widget .cr-next-actions .cr-secondary-btn {
  min-width: 220px;
}

#civicreceipt-widget .cr-optimize-link {
  text-decoration: none;
}

#civicreceipt-widget .cr-receipt-close-card {
  align-items: center;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 18px 48px rgba(15, 27, 51, 0.06);
  display: grid;
  gap: 12px;
  justify-items: center;
  margin-top: 22px;
  padding: 24px;
  text-align: center;
}

#civicreceipt-widget .cr-receipt-close-card h3 {
  color: #173b6c;
  font-size: 22px;
  line-height: 1.15;
  margin: 0;
}

#civicreceipt-widget .cr-source-link {
  color: #173b6c;
  font-size: 14px;
  font-weight: 850;
  text-decoration: underline;
  text-underline-offset: 4px;
}

#civicreceipt-widget .cr-disclaimer-centered {
  color: #5b6c84;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.65;
  margin-top: 20px;
  text-align: center;
}

#civicreceipt-widget .cr-method-section {
  border-top: 1px solid var(--line);
  margin: 76px auto 0;
  max-width: 1120px;
  padding-top: 64px;
}

#civicreceipt-widget .cr-method-heading {
  margin: 0 auto 34px;
  max-width: 820px;
  text-align: center;
}

#civicreceipt-widget .cr-method-heading h2 {
  color: #173b6c;
  font-size: clamp(36px, 4vw, 56px);
  letter-spacing: 0;
  line-height: 1.02;
  margin: 0 0 14px;
}

#civicreceipt-widget .cr-method-heading p {
  color: #5b6c84;
  font-size: 17px;
  font-weight: 560;
  line-height: 1.65;
  margin: 0;
}

#civicreceipt-widget .cr-method-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: 1fr 1fr;
}

#civicreceipt-widget .cr-method-card {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line);
  border-radius: 26px;
  box-shadow: 0 20px 55px rgba(15, 27, 51, 0.06);
  padding: 26px;
}

#civicreceipt-widget .cr-method-card.dark {
  overflow: hidden;
  padding: 0;
}

#civicreceipt-widget .cr-method-card.dark .dark-head {
  background: linear-gradient(135deg, #173b6c, #245d84);
  color: #ffffff;
  padding: 24px 26px;
}

#civicreceipt-widget .cr-method-card.dark .dark-head h3 {
  color: #ffffff;
  font-size: 22px;
  margin: 0;
}

#civicreceipt-widget .cr-dark-muted-label {
  color: rgba(255, 255, 255, 0.72);
}

#civicreceipt-widget .cr-method-card-body {
  padding: 22px;
}

#civicreceipt-widget .cr-method-card h3 {
  color: #0f1b33;
  font-size: 22px;
  letter-spacing: 0;
  margin: 0 0 12px;
}

#civicreceipt-widget .cr-method-card p {
  color: #52667f;
  font-weight: 650;
  line-height: 1.65;
  margin: 0 0 16px;
}

#civicreceipt-widget .cr-method-item {
  background: #f7f9fc;
  border: 1px solid var(--line);
  border-radius: 16px;
  margin-bottom: 12px;
  padding: 16px;
}

#civicreceipt-widget .cr-method-card-emphasis {
  background: linear-gradient(135deg, #f7f9fc, #edfafa);
}

#civicreceipt-widget .cr-method-item strong {
  color: #0f1b33;
  display: block;
  font-size: 15px;
  margin-bottom: 4px;
}

#civicreceipt-widget .cr-method-item span {
  color: #52667f;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.5;
}

#civicreceipt-widget .cr-method-bottom {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 22px;
}

#civicreceipt-widget .cr-method-small {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 22px;
}

#civicreceipt-widget .cr-top-label-left {
  margin: 0 0 14px;
}

#civicreceipt-widget .cr-method-small h3 {
  color: #0f1b33;
  font-size: 19px;
  margin: 0 0 10px;
}

#civicreceipt-widget .cr-method-small p {
  color: #52667f;
  font-weight: 650;
  line-height: 1.65;
  margin: 0;
}

#civicreceipt-widget .cr-final-cta {
  align-items: center;
  background: linear-gradient(135deg, #173b6c, #245d84);
  border-radius: 22px;
  color: #ffffff;
  display: flex;
  gap: 18px;
  justify-content: space-between;
  margin-top: 24px;
  padding: 24px;
}

#civicreceipt-widget .cr-final-cta h3 {
  color: #ffffff;
  font-size: 23px;
  margin: 0 0 6px;
}

#civicreceipt-widget .cr-final-cta p {
  color: rgba(255, 255, 255, 0.82);
  font-weight: 650;
  line-height: 1.55;
  margin: 0;
}

#civicreceipt-widget .cr-final-cta a {
  background: #ffffff;
  border-radius: 999px;
  color: #173b6c;
  flex: 0 0 auto;
  font-weight: 850;
  padding: 14px 22px;
  text-decoration: none;
}

@media (max-width: 920px) {
  #cr-tax-receipt-hero {
    padding: 72px 18px 24px;
  }

  #cr-tax-receipt-hero .cr-tax-hero-wrap {
    gap: 42px;
    grid-template-columns: 1fr;
  }

  #cr-tax-receipt-hero h1,
  #cr-tax-receipt-hero .cr-subhead {
    max-width: none;
  }
}

@media (max-width: 900px) {
  #civicreceipt-widget {
    padding: 52px 16px 64px;
  }

  #civicreceipt-widget .cr-main-grid,
  #civicreceipt-widget .cr-method-grid,
  #civicreceipt-widget .cr-grid-3,
  #civicreceipt-widget .cr-summary-grid,
  #civicreceipt-widget .cr-adjust-grid,
  #civicreceipt-widget .cr-method-bottom {
    grid-template-columns: 1fr;
  }

  #civicreceipt-widget .cr-card-head,
  #civicreceipt-widget .cr-final-cta,
  #civicreceipt-widget .cr-optimize-next-card {
    flex-direction: column;
  }

  #civicreceipt-widget .cr-action-row-centered {
    justify-content: center;
  }

  #civicreceipt-widget .cr-optimize-next-card .cr-primary-btn,
  #civicreceipt-widget .cr-optimize-next-card .cr-secondary-btn {
    min-width: 220px;
    text-align: center;
    width: auto;
  }

  #civicreceipt-widget .cr-next-actions {
    justify-content: center;
    width: 100%;
  }

}

@media (max-width: 560px) {
  #cr-tax-receipt-hero {
    padding: 56px 16px 22px;
  }

  #cr-tax-receipt-hero h1 {
    font-size: clamp(42px, 13vw, 58px);
  }

  #cr-tax-receipt-hero .cr-btn {
    width: 100%;
  }

  #cr-tax-receipt-hero .cr-receipt-body,
  #cr-tax-receipt-hero .cr-receipt-head {
    padding-left: 20px;
    padding-right: 20px;
  }

  #cr-tax-receipt-hero .cr-big-number {
    font-size: 42px;
  }

  #civicreceipt-widget .cr-dynamic-bar-meta {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  #civicreceipt-widget .cr-share-actions,
  #civicreceipt-widget .cr-share-actions .cr-primary-btn {
    width: 100%;
  }

  #civicreceipt-widget .cr-next-actions {
    flex-direction: column;
  }

  #civicreceipt-widget .cr-next-actions .cr-primary-btn,
  #civicreceipt-widget .cr-next-actions .cr-secondary-btn {
    width: 100%;
  }
}

/* CivicReceipt Compare page */
#cr-compare-hero,
#cr-compare-hero *,
#compare-tool,
#compare-tool * {
  box-sizing: border-box;
}

#cr-compare-hero,
#compare-tool {
  --navy: #16365f;
  --deep: #0f1f36;
  --muted: #5f728c;
  --line: #dbe6f2;
  --soft: #f6f9fd;
  --teal: #2fa99b;
  --teal-dark: #218a80;
  --cream: #fff7df;
  --green: #15803d;
  --red: #b42318;
  --blue: #1d4ed8;
  color: var(--deep);
  font-family: Inter, Arial, sans-serif;
  width: 100%;
}

#cr-compare-hero {
  background:
    radial-gradient(circle at 16% 18%, rgba(255, 247, 223, 0.85), transparent 28%),
    radial-gradient(circle at 88% 18%, rgba(47, 169, 155, 0.16), transparent 32%),
    linear-gradient(180deg, #f7fbff 0%, #ffffff 52%, #f8fafc 100%);
  min-height: auto;
  overflow: hidden;
  padding: 48px 18px 0;
}

#cr-compare-hero .compare-hero-shell {
  align-items: center;
  display: grid;
  gap: 72px;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  margin: 0 auto;
  max-width: 1180px;
}

#cr-compare-hero .compare-kicker,
#cr-compare-hero .quick-kicker,
#compare-tool .compare-kicker {
  align-items: center;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(22, 54, 95, 0.14);
  border-radius: 999px;
  box-shadow: 0 10px 28px rgba(15, 31, 54, 0.04);
  color: var(--navy);
  display: inline-flex;
  font-size: 12px;
  font-weight: 850;
  justify-content: center;
  letter-spacing: 0.08em;
  padding: 8px 14px;
  text-transform: uppercase;
}

#cr-compare-hero .compare-kicker {
  margin-bottom: 22px;
}

#cr-compare-hero h1 {
  color: var(--navy);
  font-size: clamp(48px, 6.4vw, 82px);
  font-weight: 950;
  letter-spacing: 0;
  line-height: 0.96;
  margin: 0;
  max-width: 680px;
}

#cr-compare-hero .compare-subtitle {
  color: var(--muted);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.62;
  margin: 24px 0 0;
  max-width: 650px;
}

#cr-compare-hero .compare-actions,
#cr-compare-hero .quick-actions,
#compare-tool .compare-actions,
#compare-tool .cta-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

#cr-compare-hero .compare-actions {
  gap: 14px;
  margin-top: 30px;
}

#cr-compare-hero .compare-primary,
#cr-compare-hero .compare-secondary,
#cr-compare-hero .quick-primary,
#cr-compare-hero .quick-secondary,
#compare-tool .compare-primary-btn,
#compare-tool .compare-secondary-btn,
#compare-tool .compare-dark-btn,
#compare-tool .compare-teal-btn {
  align-items: center;
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  font-size: 14.5px;
  font-weight: 900;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

#compare-tool .compare-primary-btn,
#compare-tool .compare-secondary-btn,
#compare-tool .compare-dark-btn,
#compare-tool .compare-teal-btn {
  appearance: none;
  border: 0;
  min-height: 50px;
  padding: 0 23px;
}

#cr-compare-hero .compare-primary,
#cr-compare-hero .quick-primary,
#compare-tool .compare-primary-btn {
  background: var(--deep);
  border: 0;
  box-shadow: 0 18px 36px rgba(15, 31, 54, 0.22);
  color: #ffffff;
}

#cr-compare-hero .compare-secondary,
#cr-compare-hero .quick-secondary,
#compare-tool .compare-secondary-btn {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line);
  color: var(--navy);
}

#compare-tool .compare-dark-btn {
  background: #0f172a;
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.18);
  color: #ffffff;
}

#compare-tool .compare-teal-btn {
  background: var(--teal);
  box-shadow: 0 12px 24px rgba(47, 169, 155, 0.18);
  color: #ffffff;
}

#cr-compare-hero .compare-primary:hover,
#cr-compare-hero .compare-secondary:hover,
#cr-compare-hero .quick-primary:hover,
#cr-compare-hero .quick-secondary:hover,
#compare-tool .compare-primary-btn:hover,
#compare-tool .compare-secondary-btn:hover,
#compare-tool .compare-dark-btn:hover,
#compare-tool .compare-teal-btn:hover {
  transform: translateY(-1px);
}

#cr-compare-hero .compare-trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
  max-width: 620px;
}

#cr-compare-hero .compare-trust-pill,
#cr-compare-hero .quick-badge,
#compare-tool .compare-safe-pill {
  align-items: center;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #435a75;
  display: inline-flex;
  font-size: 13px;
  font-weight: 800;
  gap: 7px;
  min-height: 38px;
  padding: 0 12px;
  white-space: nowrap;
}

#cr-compare-hero .quick-badge,
#compare-tool .compare-safe-pill {
  background: #f7f9fc;
  font-size: 12.5px;
  font-weight: 850;
  min-height: auto;
  padding: 8px 12px;
}

#compare-tool .compare-safe-pill {
  font-size: 12px;
  padding: 8px 11px;
}

#cr-compare-hero .compare-preview-card,
#cr-compare-hero .quick-card,
#cr-compare-hero .quick-result-card,
#compare-tool .compare-card,
#compare-tool .compare-preview,
#compare-tool .compare-results-card,
#compare-tool .compare-cta-card {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(219, 230, 242, 0.95);
  border-radius: 28px;
  box-shadow: 0 24px 60px rgba(15, 31, 54, 0.08);
  overflow: hidden;
}

#cr-compare-hero .compare-preview-card {
  background: #ffffff;
  box-shadow: 0 28px 70px rgba(15, 31, 54, 0.13);
}

#cr-compare-hero .compare-preview-top,
#cr-compare-hero .quick-result-top,
#compare-tool .compare-preview-top {
  background: linear-gradient(135deg, rgba(22, 54, 95, 0.98), rgba(21, 76, 111, 0.92));
  color: #ffffff;
  padding: 22px 24px;
}

#cr-compare-hero .compare-preview-top p,
#cr-compare-hero .quick-result-top p,
#compare-tool .compare-preview-top p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.08em;
  margin: 0 0 8px;
  text-transform: uppercase;
}

#compare-tool .compare-preview-top p {
  color: rgba(255, 255, 255, 0.76);
}

#cr-compare-hero .compare-preview-top h3,
#cr-compare-hero .quick-result-top h3,
#compare-tool .compare-preview-top h3 {
  color: #ffffff;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.15;
  margin: 0;
}

#cr-compare-hero .compare-preview-body,
#cr-compare-hero .quick-result-body,
#compare-tool .compare-preview-body {
  padding: 24px;
}

#cr-compare-hero .state-row {
  align-items: center;
  border-bottom: 1px solid #edf2f7;
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr auto;
  margin-bottom: 18px;
  padding-bottom: 18px;
}

#cr-compare-hero .state-row:last-of-type {
  border-bottom: 0;
  margin-bottom: 0;
  padding-bottom: 0;
}

#cr-compare-hero .state-name {
  color: var(--deep);
  font-size: 17px;
  font-weight: 900;
  line-height: 1.2;
  margin: 0 0 4px;
}

#cr-compare-hero .state-note {
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.45;
  margin: 0;
}

#cr-compare-hero .state-amount {
  color: var(--navy);
  font-size: 24px;
  font-weight: 950;
  letter-spacing: 0;
  white-space: nowrap;
}

#cr-compare-hero .mini-bar {
  background: #dde5ee;
  border-radius: 999px;
  grid-column: 1 / -1;
  height: 10px;
  margin-top: 10px;
  overflow: hidden;
}

#cr-compare-hero .mini-fill {
  background: linear-gradient(90deg, var(--teal), var(--teal-dark));
  border-radius: 999px;
  box-shadow: 0 0 10px rgba(47, 169, 155, 0.25);
  height: 100%;
  width: var(--compare-bar-width, 50%);
}

#cr-compare-hero .mini-fill-46 {
  --compare-bar-width: 46%;
}

#cr-compare-hero .mini-fill-50 {
  --compare-bar-width: 50%;
}

#cr-compare-hero .mini-fill-72 {
  --compare-bar-width: 72%;
}

#cr-compare-hero .compare-difference,
#cr-compare-hero .quick-difference {
  background:
    radial-gradient(circle at 90% 0%, rgba(47, 169, 155, 0.12), transparent 35%),
    #f7f9fc;
  border: 1px solid var(--line);
  border-radius: 18px;
  margin-top: 20px;
  padding: 16px;
}

#cr-compare-hero .compare-difference span,
#cr-compare-hero .quick-difference span {
  color: #6b7c93;
  display: block;
  font-size: 11.5px;
  font-weight: 900;
  letter-spacing: 0.08em;
  margin-bottom: 5px;
  text-transform: uppercase;
}

#cr-compare-hero .compare-difference strong,
#cr-compare-hero .quick-difference strong {
  color: var(--deep);
  display: block;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.35;
}

#cr-compare-hero .compare-preview-footer,
#cr-compare-hero .quick-note,
#compare-tool .preview-disclaimer {
  background: #f7f9fc;
  border: 1px solid var(--line);
  border-radius: 16px;
  color: #52677f;
  font-size: 12.5px;
  font-weight: 650;
  line-height: 1.5;
  margin-top: 18px;
  padding: 13px 14px;
}

#cr-compare-hero .quick-compare-shell {
  backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(219, 230, 242, 0.95);
  border-radius: 32px;
  box-shadow: 0 24px 60px rgba(15, 31, 54, 0.08);
  margin: 36px auto 0;
  max-width: 1180px;
  padding: 26px;
}

#cr-compare-hero .quick-header {
  align-items: start;
  display: grid;
  gap: 22px;
  grid-template-columns: 1fr auto;
  margin-bottom: 22px;
}

#cr-compare-hero .quick-header h2 {
  color: var(--navy);
  font-size: clamp(28px, 3.4vw, 44px);
  font-weight: 950;
  letter-spacing: 0;
  line-height: 1.04;
  margin: 14px 0 8px;
}

#cr-compare-hero .quick-header p {
  color: var(--muted);
  font-size: 16px;
  font-weight: 550;
  line-height: 1.62;
  margin: 0;
  max-width: 720px;
}

#cr-compare-hero .quick-layout {
  align-items: start;
  display: grid;
  gap: 22px;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.86fr);
}

#cr-compare-hero .quick-card {
  background: #ffffff;
  box-shadow: 0 18px 44px rgba(15, 31, 54, 0.055);
  padding: 24px;
}

#cr-compare-hero .quick-grid,
#compare-tool .compare-field-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

#cr-compare-hero .quick-grid > div,
#compare-tool .compare-field-grid > div,
#retirement-tool .retire-field-grid > div {
  min-width: 0;
}

#cr-compare-hero .quick-field.full,
#compare-tool .compare-field.full {
  grid-column: 1 / -1;
}

#cr-compare-hero label,
#compare-tool label {
  color: var(--navy);
  display: block;
  font-size: 13px;
  font-weight: 850;
  margin-bottom: 8px;
}

#compare-tool [data-help-key],
#retirement-tool [data-help-key] {
  cursor: help;
  text-decoration: underline;
  text-decoration-color: rgba(22, 54, 95, 0.22);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

#compare-tool label span {
  color: #7b8ba3;
  font-weight: 650;
}

#cr-compare-hero input,
#cr-compare-hero select,
#compare-tool input,
#compare-tool select {
  background: #f7f9fc;
  border: 1px solid var(--line);
  border-radius: 16px;
  color: var(--deep);
  font-size: 15px;
  min-height: 54px;
  outline: none;
  padding: 14px 15px;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  width: 100%;
}

#compare-tool select,
#retirement-tool select {
  line-height: 1.2;
}

#cr-compare-hero input:focus,
#cr-compare-hero select:focus,
#compare-tool input:focus,
#compare-tool select:focus {
  background: #ffffff;
  border-color: var(--navy);
  box-shadow: 0 0 0 4px rgba(22, 54, 95, 0.08);
}

#cr-compare-hero .quick-actions {
  margin-top: 22px;
}

#cr-compare-hero .quick-helper {
  color: #6b7c93;
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.5;
  margin: 14px 0 0;
}

#cr-compare-hero .quick-result-card {
  background: #ffffff;
  box-shadow: 0 18px 44px rgba(15, 31, 54, 0.055);
  display: none;
}

#cr-compare-hero .quick-result-card.is-visible {
  animation: crCompareFade 0.32s ease both;
  display: block;
}

@keyframes crCompareFade {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

#cr-compare-hero .quick-states {
  display: grid;
  gap: 14px;
}

#cr-compare-hero .quick-state-card {
  background: #f7f9fc;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 14px;
}

#cr-compare-hero .quick-state-top {
  align-items: center;
  display: flex;
  gap: 14px;
  justify-content: space-between;
  margin-bottom: 8px;
}

#cr-compare-hero .quick-state-name {
  color: var(--deep);
  font-size: 16px;
  font-weight: 900;
}

#cr-compare-hero .quick-state-amount {
  color: var(--navy);
  font-size: 20px;
  font-weight: 950;
  letter-spacing: 0;
  white-space: nowrap;
}

#cr-compare-hero .quick-state-caption {
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.45;
  margin: 0;
}

#compare-tool {
  background:
    radial-gradient(circle at 15% 12%, rgba(255, 247, 223, 0.7), transparent 27%),
    radial-gradient(circle at 86% 18%, rgba(47, 169, 155, 0.12), transparent 32%),
    linear-gradient(180deg, #f8fafc 0%, #ffffff 46%, #f6f9fd 100%);
  padding: 28px 18px 84px;
}

#compare-tool .compare-shell {
  margin: 0 auto;
  max-width: 1180px;
}

#compare-tool .compare-header {
  margin: 0 auto 34px;
  max-width: 820px;
  text-align: center;
}

#compare-tool h2 {
  color: var(--navy);
  font-size: clamp(34px, 4.6vw, 58px);
  font-weight: 950;
  letter-spacing: 0;
  line-height: 1.02;
  margin: 18px 0 12px;
}

#compare-tool .compare-subtitle {
  color: var(--muted);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.65;
  margin: 0 auto;
  max-width: 760px;
}

#compare-tool .compare-layout {
  align-items: stretch;
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 1.06fr) minmax(340px, 0.94fr);
}

#compare-tool .compare-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 30px;
}

#compare-tool .compare-card-top {
  align-items: flex-start;
  display: flex;
  gap: 18px;
  justify-content: space-between;
  margin-bottom: 24px;
}

#compare-tool .compare-card h3 {
  color: var(--deep);
  font-size: 25px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.12;
  margin: 0 0 7px;
}

#compare-tool .compare-card-top p {
  color: var(--muted);
  font-size: 14.5px;
  font-weight: 550;
  line-height: 1.55;
  margin: 0;
}

#compare-tool .compare-field-grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 16px;
}

#compare-tool .compare-section-label {
  color: #6b7c93;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  margin: 24px 0 12px;
  text-transform: uppercase;
}

#compare-tool .compare-actions {
  justify-content: center;
  margin-top: 24px;
}

#compare-tool .compare-helper-note {
  color: #6b7c93;
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.5;
  margin: 14px 0 0;
  text-align: center;
}

#compare-tool .compare-preview {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  height: 100%;
  position: sticky;
  top: 24px;
}

#compare-tool .compare-preview-body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  padding-bottom: 28px;
}

#compare-tool [hidden],
#retirement-tool [hidden] {
  display: none !important;
}

#compare-tool .field-help-card,
#retirement-tool .field-help-card {
  background:
    radial-gradient(circle at 100% 0%, rgba(47, 169, 155, 0.12), transparent 36%),
    #f8fafc;
  border: 1px solid var(--line);
  border-radius: 18px;
  margin-top: 18px;
  padding: 18px;
}

#compare-tool .field-help-label,
#retirement-tool .field-help-label {
  color: #6b7c93;
  font-size: 11.5px;
  font-weight: 900;
  letter-spacing: 0.08em;
  margin-bottom: 7px;
  text-transform: uppercase;
}

#compare-tool .field-help-card h4,
#retirement-tool .field-help-card h4 {
  color: var(--deep);
  font-size: 18px;
  font-weight: 900;
  line-height: 1.2;
  margin: 0 0 7px;
}

#compare-tool .field-help-card p,
#retirement-tool .field-help-card p {
  color: var(--muted);
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.55;
  margin: 0;
}

#compare-tool .preview-list {
  display: grid;
  gap: 14px;
}

#compare-tool .preview-item {
  align-items: start;
  display: grid;
  gap: 12px;
  grid-template-columns: 42px 1fr;
}

#compare-tool .preview-icon {
  align-items: center;
  background: #f6f9fd;
  border: 1px solid var(--line);
  border-radius: 14px;
  display: inline-flex;
  font-size: 18px;
  height: 42px;
  justify-content: center;
  width: 42px;
}

#compare-tool .preview-item h4 {
  color: var(--deep);
  font-size: 15px;
  font-weight: 900;
  line-height: 1.25;
  margin: 0 0 4px;
}

#compare-tool .preview-item p {
  color: var(--muted);
  font-size: 13px;
  font-weight: 550;
  line-height: 1.5;
  margin: 0;
}

#compare-results {
  border-top: 1px solid var(--line);
  display: none;
  margin-top: 44px;
  opacity: 0;
  padding-top: 38px;
  transform: translateY(10px);
}

#compare-results.is-visible {
  animation: compareFade 0.36s ease both;
  display: block;
}

@keyframes compareFade {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

#compare-tool .results-header {
  margin: 0 auto 22px;
  max-width: 820px;
  text-align: center;
}

#compare-tool .results-header h2 {
  margin-bottom: 10px;
}

#compare-tool .results-header p {
  color: var(--muted);
  font-size: 15px;
  font-weight: 550;
  line-height: 1.6;
  margin: 0 auto;
  max-width: 760px;
}

#compare-tool .quick-read-card {
  background:
    radial-gradient(circle at 86% 0%, rgba(47, 169, 155, 0.14), transparent 32%),
    #ffffff;
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: 0 22px 52px rgba(15, 31, 54, 0.07);
  margin: 0 auto 24px;
  max-width: 960px;
  padding: 26px 24px;
  text-align: center;
}

#compare-tool .quick-read-label {
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
  text-transform: uppercase;
}

#compare-tool #compare-winner-line {
  color: var(--navy);
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 950;
  letter-spacing: 0;
  line-height: 1.06;
}

#compare-tool #compare-summary-line {
  color: var(--muted);
  font-size: 16px;
  font-weight: 550;
  line-height: 1.6;
  margin: 12px auto 0;
  max-width: 760px;
}

#compare-tool .state-results-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 22px;
}

#compare-tool .state-result-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: 0 20px 48px rgba(15, 31, 54, 0.07);
  overflow: hidden;
}

#compare-tool .state-result-top {
  background: #f7f9fc;
  border-bottom: 1px solid var(--line);
  padding: 20px 22px;
}

#compare-tool .state-result-top .state-label {
  color: #6b7c93;
  font-size: 11.5px;
  font-weight: 900;
  letter-spacing: 0.08em;
  margin-bottom: 5px;
  text-transform: uppercase;
}

#compare-tool .state-result-top h3 {
  color: var(--deep);
  font-size: 24px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.12;
  margin: 0;
}

#compare-tool .state-total {
  border-bottom: 1px solid #eef3f8;
  padding: 22px;
  text-align: center;
}

#compare-tool .state-total-label {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
  text-transform: uppercase;
}

#compare-tool .state-total-amount {
  color: var(--navy);
  font-size: 44px;
  font-weight: 950;
  letter-spacing: 0;
  line-height: 1;
}

#compare-tool .state-total-caption {
  color: var(--muted);
  font-size: 13px;
  font-weight: 550;
  line-height: 1.5;
  margin-top: 8px;
}

#compare-tool .breakdown-list {
  display: grid;
  gap: 13px;
  padding: 18px 22px 22px;
}

#compare-tool .breakdown-row {
  align-items: center;
  border-bottom: 1px solid #eef3f8;
  display: flex;
  gap: 16px;
  justify-content: space-between;
  padding-bottom: 12px;
}

#compare-tool .breakdown-row:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

#compare-tool .breakdown-label {
  color: var(--deep);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.35;
}

#compare-tool .breakdown-value {
  color: var(--navy);
  font-size: 15px;
  font-weight: 900;
  white-space: nowrap;
}

#compare-tool .difference-card {
  align-items: center;
  background: linear-gradient(135deg, rgba(22, 54, 95, 0.98), rgba(21, 76, 111, 0.92));
  border-radius: 28px;
  box-shadow: 0 24px 60px rgba(15, 31, 54, 0.12);
  color: #ffffff;
  display: grid;
  gap: 22px;
  grid-template-columns: 1fr auto;
  margin-top: 22px;
  padding: 24px;
}

#compare-tool .difference-card h3 {
  color: #ffffff;
  font-size: 24px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.15;
  margin: 0 0 8px;
}

#compare-tool .difference-card p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 15px;
  font-weight: 550;
  line-height: 1.6;
  margin: 0;
  max-width: 760px;
}

#compare-tool .difference-amount {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
  color: #ffffff;
  font-size: 28px;
  font-weight: 950;
  padding: 14px 18px;
  white-space: nowrap;
}

#compare-tool .compare-cta-card {
  background: linear-gradient(180deg, #eff6ff 0%, #ffffff 100%);
  border-color: #bfdbfe;
  margin-top: 22px;
  padding: 24px;
  text-align: center;
}

#compare-tool .compare-cta-card h3 {
  color: var(--navy);
  font-size: 24px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.15;
  margin: 0 0 8px;
}

#compare-tool .compare-cta-card p {
  color: var(--muted);
  font-size: 14.5px;
  font-weight: 550;
  line-height: 1.65;
  margin: 0 auto 16px;
  max-width: 720px;
}

#compare-tool .cta-actions {
  justify-content: center;
}

#compare-tool .compare-disclaimer {
  color: var(--muted);
  font-size: 13.5px;
  font-weight: 550;
  line-height: 1.65;
  margin: 18px auto 0;
  max-width: 880px;
  text-align: center;
}

@media (max-width: 980px) {
  #cr-compare-hero {
    padding: 50px 18px 0;
  }

  #cr-compare-hero .compare-hero-shell,
  #cr-compare-hero .quick-layout,
  #cr-compare-hero .quick-header,
  #compare-tool .compare-layout,
  #compare-tool .state-results-grid,
  #compare-tool .difference-card {
    grid-template-columns: 1fr;
  }

  #cr-compare-hero .compare-hero-shell,
  #cr-compare-hero .quick-layout {
    gap: 42px;
  }

  #cr-compare-hero h1 {
    max-width: 760px;
  }

  #cr-compare-hero .compare-preview-wrap {
    max-width: 620px;
  }

  #cr-compare-hero .quick-header {
    gap: 14px;
  }

  #cr-compare-hero .quick-badge,
  #compare-tool .difference-amount {
    width: fit-content;
  }

  #compare-tool {
    padding: 62px 16px 72px;
  }

  #compare-tool .compare-preview {
    position: static;
  }
}

@media (max-width: 640px) {
  #compare-tool {
    padding: 52px 16px 62px;
  }

  #compare-tool .compare-header {
    text-align: left;
  }

  #compare-tool .compare-field-grid,
  #compare-tool .compare-field-grid.three {
    grid-template-columns: 1fr;
  }

  #compare-tool .compare-card {
    padding: 22px;
  }

  #compare-tool .compare-card-top {
    display: block;
  }

  #compare-tool .compare-safe-pill {
    margin-top: 14px;
  }

  #compare-tool .compare-primary-btn,
  #compare-tool .compare-secondary-btn,
  #compare-tool .compare-dark-btn,
  #compare-tool .compare-teal-btn {
    width: 100%;
  }

  #compare-tool .state-total-amount {
    font-size: 38px;
  }

  #compare-tool .breakdown-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  #compare-tool .difference-amount {
    text-align: center;
    width: 100%;
  }
}

@media (max-width: 560px) {
  #cr-compare-hero {
    min-height: auto;
    padding: 42px 16px 0;
  }

  #cr-compare-hero h1 {
    font-size: 44px;
  }

  #cr-compare-hero .compare-subtitle {
    font-size: 17px;
  }

  #cr-compare-hero .compare-actions,
  #cr-compare-hero .compare-primary,
  #cr-compare-hero .compare-secondary,
  #cr-compare-hero .quick-primary,
  #cr-compare-hero .quick-secondary {
    width: 100%;
  }

  #cr-compare-hero .compare-primary,
  #cr-compare-hero .compare-secondary,
  #cr-compare-hero .quick-primary,
  #cr-compare-hero .quick-secondary {
    justify-content: center;
  }

  #cr-compare-hero .state-row,
  #cr-compare-hero .quick-grid {
    grid-template-columns: 1fr;
  }

  #cr-compare-hero .state-amount {
    font-size: 28px;
  }

  #cr-compare-hero .quick-compare-shell {
    margin-top: 36px;
    padding: 20px;
  }

  #cr-compare-hero .quick-card {
    padding: 20px;
  }

  #cr-compare-hero .quick-state-top {
    display: block;
  }

  #cr-compare-hero .quick-state-amount {
    display: block;
    margin-top: 4px;
  }
}

/* CivicReceipt Retirement page */
#cr-retirement-hero,
#cr-retirement-hero *,
#retirement-tool,
#retirement-tool * {
  box-sizing: border-box;
}

#cr-retirement-hero,
#retirement-tool {
  --navy: #16365f;
  --deep: #0f1f36;
  --muted: #5f728c;
  --line: #dbe6f2;
  --soft: #f6f9fd;
  --teal: #2fa99b;
  --teal-dark: #218a80;
  --cream: #fff7df;
  --green: #15803d;
  --orange: #b45309;
  --red: #b42318;
  --blue: #1d4ed8;
  color: var(--deep);
  font-family: Inter, Arial, sans-serif;
  width: 100%;
}

#cr-retirement-hero {
  background:
    radial-gradient(circle at 16% 18%, rgba(255, 247, 223, 0.88), transparent 28%),
    radial-gradient(circle at 88% 18%, rgba(47, 169, 155, 0.16), transparent 32%),
    linear-gradient(180deg, #f7fbff 0%, #ffffff 52%, #f8fafc 100%);
  min-height: auto;
  overflow: hidden;
  padding: 48px 18px 20px;
}

#cr-retirement-hero .retire-hero-shell {
  align-items: center;
  display: grid;
  gap: 72px;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  margin: 0 auto;
  max-width: 1180px;
}

#cr-retirement-hero .retire-kicker,
#retirement-tool .retire-kicker {
  align-items: center;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(22, 54, 95, 0.14);
  border-radius: 999px;
  box-shadow: 0 10px 28px rgba(15, 31, 54, 0.04);
  color: var(--navy);
  display: inline-flex;
  font-size: 12px;
  font-weight: 850;
  justify-content: center;
  letter-spacing: 0.08em;
  padding: 8px 14px;
  text-transform: uppercase;
}

#cr-retirement-hero .retire-kicker {
  margin-bottom: 22px;
}

#cr-retirement-hero h1 {
  color: var(--navy);
  font-size: clamp(48px, 6.2vw, 82px);
  font-weight: 950;
  letter-spacing: 0;
  line-height: 0.96;
  margin: 0;
  max-width: 700px;
}

#cr-retirement-hero .retire-subtitle {
  color: var(--muted);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.62;
  margin: 24px 0 0;
  max-width: 650px;
}

#cr-retirement-hero .retire-actions,
#retirement-tool .retire-actions,
#retirement-tool .cta-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

#cr-retirement-hero .retire-actions {
  gap: 14px;
  margin-top: 30px;
}

#cr-retirement-hero .retire-primary,
#cr-retirement-hero .retire-secondary,
#retirement-tool .retire-primary-btn,
#retirement-tool .retire-secondary-btn,
#retirement-tool .retire-dark-btn,
#retirement-tool .retire-teal-btn {
  align-items: center;
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  font-size: 14.5px;
  font-weight: 900;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

#retirement-tool .retire-primary-btn,
#retirement-tool .retire-secondary-btn,
#retirement-tool .retire-dark-btn,
#retirement-tool .retire-teal-btn {
  appearance: none;
  border: 0;
  min-height: 50px;
  padding: 0 23px;
}

#cr-retirement-hero .retire-primary,
#retirement-tool .retire-primary-btn {
  background: var(--deep);
  border: 0;
  box-shadow: 0 18px 36px rgba(15, 31, 54, 0.22);
  color: #ffffff;
}

#cr-retirement-hero .retire-secondary,
#retirement-tool .retire-secondary-btn {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line);
  color: var(--navy);
}

#retirement-tool .retire-dark-btn {
  background: #0f172a;
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.18);
  color: #ffffff;
}

#retirement-tool .retire-teal-btn {
  background: var(--teal);
  box-shadow: 0 12px 24px rgba(47, 169, 155, 0.18);
  color: #ffffff;
}

#cr-retirement-hero .retire-primary:hover,
#cr-retirement-hero .retire-secondary:hover,
#retirement-tool .retire-primary-btn:hover,
#retirement-tool .retire-secondary-btn:hover,
#retirement-tool .retire-dark-btn:hover,
#retirement-tool .retire-teal-btn:hover {
  transform: translateY(-1px);
}

#cr-retirement-hero .retire-trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
  max-width: 680px;
}

#cr-retirement-hero .retire-trust-pill,
#retirement-tool .retire-safe-pill {
  align-items: center;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #435a75;
  display: inline-flex;
  font-size: 13px;
  font-weight: 800;
  gap: 7px;
  min-height: 38px;
  padding: 0 12px;
  white-space: nowrap;
}

#retirement-tool .retire-safe-pill {
  background: #f6f9fd;
  font-size: 12px;
  font-weight: 850;
  min-height: auto;
  padding: 8px 11px;
}

#cr-retirement-hero .retire-preview-card,
#retirement-tool .retire-card,
#retirement-tool .retire-preview,
#retirement-tool .retire-results-card,
#retirement-tool .retire-cta-card {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(219, 230, 242, 0.95);
  border-radius: 28px;
  box-shadow: 0 24px 60px rgba(15, 31, 54, 0.08);
}

#cr-retirement-hero .retire-preview-card {
  background: #ffffff;
  box-shadow: 0 28px 70px rgba(15, 31, 54, 0.13);
  overflow: hidden;
}

#cr-retirement-hero .retire-preview-top,
#retirement-tool .retire-preview-top {
  background: linear-gradient(135deg, rgba(22, 54, 95, 0.98), rgba(21, 76, 111, 0.92));
  color: #ffffff;
  padding: 22px 24px;
}

#cr-retirement-hero .retire-preview-top p,
#retirement-tool .retire-preview-top p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.08em;
  margin: 0 0 8px;
  text-transform: uppercase;
}

#retirement-tool .retire-preview-top p {
  color: rgba(255, 255, 255, 0.76);
}

#cr-retirement-hero .retire-preview-top h3,
#retirement-tool .retire-preview-top h3 {
  color: #ffffff;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.15;
  margin: 0;
}

#cr-retirement-hero .retire-preview-body,
#retirement-tool .retire-preview-body {
  padding: 24px;
}

#cr-retirement-hero .retire-state-row {
  align-items: center;
  border-bottom: 1px solid #edf2f7;
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr auto;
  margin-bottom: 18px;
  padding-bottom: 18px;
}

#cr-retirement-hero .retire-state-row:last-of-type {
  border-bottom: 0;
  margin-bottom: 0;
  padding-bottom: 0;
}

#cr-retirement-hero .retire-state-name {
  color: var(--deep);
  font-size: 17px;
  font-weight: 900;
  line-height: 1.2;
  margin: 0 0 4px;
}

#cr-retirement-hero .retire-state-note {
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.45;
  margin: 0;
}

#cr-retirement-hero .retire-state-amount {
  color: var(--navy);
  font-size: 24px;
  font-weight: 950;
  letter-spacing: 0;
  white-space: nowrap;
}

#cr-retirement-hero .retire-mini-bar {
  background: #dde5ee;
  border-radius: 999px;
  grid-column: 1 / -1;
  height: 10px;
  margin-top: 10px;
  overflow: hidden;
}

#cr-retirement-hero .retire-mini-fill {
  background: linear-gradient(90deg, var(--teal), var(--teal-dark));
  border-radius: 999px;
  box-shadow: 0 0 10px rgba(47, 169, 155, 0.25);
  height: 100%;
  width: var(--retire-bar-width, 50%);
}

#cr-retirement-hero .retire-fill-48 {
  --retire-bar-width: 48%;
}

#cr-retirement-hero .retire-fill-58 {
  --retire-bar-width: 58%;
}

#cr-retirement-hero .retire-difference {
  background:
    radial-gradient(circle at 90% 0%, rgba(47, 169, 155, 0.12), transparent 35%),
    #f7f9fc;
  border: 1px solid var(--line);
  border-radius: 18px;
  margin-top: 20px;
  padding: 16px;
}

#cr-retirement-hero .retire-difference span {
  color: #6b7c93;
  display: block;
  font-size: 11.5px;
  font-weight: 900;
  letter-spacing: 0.08em;
  margin-bottom: 5px;
  text-transform: uppercase;
}

#cr-retirement-hero .retire-difference strong {
  color: var(--deep);
  display: block;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.35;
}

#cr-retirement-hero .retire-preview-footer,
#retirement-tool .preview-disclaimer {
  background: #f7f9fc;
  border: 1px solid var(--line);
  border-radius: 16px;
  color: #52677f;
  font-size: 12.5px;
  font-weight: 650;
  line-height: 1.5;
  margin-top: 18px;
  padding: 13px 14px;
}

#retirement-tool {
  background:
    radial-gradient(circle at 15% 12%, rgba(255, 247, 223, 0.7), transparent 27%),
    radial-gradient(circle at 86% 18%, rgba(47, 169, 155, 0.12), transparent 32%),
    linear-gradient(180deg, #f8fafc 0%, #ffffff 46%, #f6f9fd 100%);
  padding: 36px 18px 84px;
}

#retirement-tool .retire-shell {
  margin: 0 auto;
  max-width: 1180px;
}

#retirement-tool .retire-header {
  margin: 0 auto 34px;
  max-width: 820px;
  text-align: center;
}

#retirement-tool h2 {
  color: var(--navy);
  font-size: clamp(34px, 4.6vw, 58px);
  font-weight: 950;
  letter-spacing: 0;
  line-height: 1.02;
  margin: 18px 0 12px;
}

#retirement-tool .retire-subtitle {
  color: var(--muted);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.65;
  margin: 0 auto;
  max-width: 760px;
}

#retirement-tool .retire-layout {
  align-items: stretch;
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 1.06fr) minmax(340px, 0.94fr);
}

#retirement-tool .retire-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 30px;
}

#retirement-tool .retire-card-top {
  align-items: flex-start;
  display: flex;
  gap: 18px;
  justify-content: space-between;
  margin-bottom: 24px;
}

#retirement-tool .retire-card h3 {
  color: var(--deep);
  font-size: 25px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.12;
  margin: 0 0 7px;
}

#retirement-tool .retire-card-top p {
  color: var(--muted);
  font-size: 14.5px;
  font-weight: 550;
  line-height: 1.55;
  margin: 0;
}

#retirement-tool .retire-field-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

#retirement-tool .retire-field-grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 16px;
}

#retirement-tool .retire-section-label {
  color: #6b7c93;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  margin: 24px 0 12px;
  text-transform: uppercase;
}

#retirement-tool label {
  color: var(--navy);
  display: block;
  font-size: 13px;
  font-weight: 850;
  margin-bottom: 8px;
}

#retirement-tool input,
#retirement-tool select {
  background: #f7f9fc;
  border: 1px solid var(--line);
  border-radius: 16px;
  color: var(--deep);
  font-size: 15px;
  min-height: 54px;
  outline: none;
  padding: 14px 15px;
  width: 100%;
}

#retirement-tool input:focus,
#retirement-tool select:focus {
  background: #ffffff;
  border-color: var(--navy);
  box-shadow: 0 0 0 4px rgba(22, 54, 95, 0.08);
}

#retirement-tool .retire-actions {
  justify-content: center;
  margin-top: 24px;
}

#retirement-tool .retire-helper-note {
  color: #6b7c93;
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.5;
  margin: 14px 0 0;
  text-align: center;
}

#retirement-tool .retire-preview {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  position: sticky;
  top: 24px;
}

#retirement-tool .retire-preview-body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  padding-bottom: 28px;
}

#retirement-tool .preview-list {
  display: grid;
  gap: 14px;
}

#retirement-tool .preview-item {
  align-items: start;
  display: grid;
  gap: 12px;
  grid-template-columns: 42px 1fr;
}

#retirement-tool .preview-icon {
  align-items: center;
  background: #f6f9fd;
  border: 1px solid var(--line);
  border-radius: 14px;
  display: inline-flex;
  font-size: 18px;
  height: 42px;
  justify-content: center;
  width: 42px;
}

#retirement-tool .preview-item h4 {
  color: var(--deep);
  font-size: 15px;
  font-weight: 900;
  line-height: 1.25;
  margin: 0 0 4px;
}

#retirement-tool .preview-item p {
  color: var(--muted);
  font-size: 13px;
  font-weight: 550;
  line-height: 1.5;
  margin: 0;
}

#retirement-results {
  border-top: 1px solid var(--line);
  display: none;
  margin-top: 44px;
  opacity: 0;
  padding-top: 38px;
  transform: translateY(10px);
}

#retirement-results.is-visible {
  animation: retireFade 0.36s ease both;
  display: block;
}

@keyframes retireFade {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

#retirement-tool .results-header {
  margin: 0 auto 22px;
  max-width: 820px;
  text-align: center;
}

#retirement-tool .results-header h2 {
  margin-bottom: 10px;
}

#retirement-tool .results-header p {
  color: var(--muted);
  font-size: 15px;
  font-weight: 550;
  line-height: 1.6;
  margin: 0 auto;
  max-width: 760px;
}

#retirement-tool .quick-read-card {
  background:
    radial-gradient(circle at 86% 0%, rgba(47, 169, 155, 0.14), transparent 32%),
    #ffffff;
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: 0 22px 52px rgba(15, 31, 54, 0.07);
  margin: 0 auto 24px;
  max-width: 960px;
  padding: 26px 24px;
  text-align: center;
}

#retirement-tool .quick-read-label {
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
  text-transform: uppercase;
}

#retirement-tool #retirement-winner-line {
  color: var(--navy);
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 950;
  letter-spacing: 0;
  line-height: 1.06;
}

#retirement-tool #retirement-summary-line {
  color: var(--muted);
  font-size: 16px;
  font-weight: 550;
  line-height: 1.6;
  margin: 12px auto 0;
  max-width: 760px;
}

#retirement-tool .retire-results-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 22px;
}

#retirement-tool .retire-state-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: 0 20px 48px rgba(15, 31, 54, 0.07);
  overflow: hidden;
}

#retirement-tool .retire-state-top {
  background: #f7f9fc;
  border-bottom: 1px solid var(--line);
  padding: 20px 22px;
}

#retirement-tool .retire-state-top .state-label {
  color: #6b7c93;
  font-size: 11.5px;
  font-weight: 900;
  letter-spacing: 0.08em;
  margin-bottom: 5px;
  text-transform: uppercase;
}

#retirement-tool .retire-state-top h3 {
  color: var(--deep);
  font-size: 24px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.12;
  margin: 0;
}

#retirement-tool .retire-total {
  border-bottom: 1px solid #eef3f8;
  padding: 22px;
  text-align: center;
}

#retirement-tool .retire-total-label {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
  text-transform: uppercase;
}

#retirement-tool .retire-total-amount {
  color: var(--navy);
  font-size: 44px;
  font-weight: 950;
  letter-spacing: 0;
  line-height: 1;
}

#retirement-tool .retire-total-caption {
  color: var(--muted);
  font-size: 13px;
  font-weight: 550;
  line-height: 1.5;
  margin-top: 8px;
}

#retirement-tool .retire-breakdown-list {
  display: grid;
  gap: 13px;
  padding: 18px 22px 22px;
}

#retirement-tool .retire-breakdown-row {
  align-items: center;
  border-bottom: 1px solid #eef3f8;
  display: flex;
  gap: 16px;
  justify-content: space-between;
  padding-bottom: 12px;
}

#retirement-tool .retire-breakdown-row:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

#retirement-tool .retire-breakdown-label {
  color: var(--deep);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.35;
}

#retirement-tool .retire-breakdown-value {
  color: var(--navy);
  font-size: 15px;
  font-weight: 900;
  white-space: nowrap;
}

#retirement-tool .retire-gap {
  color: var(--orange);
}

#retirement-tool .retire-surplus {
  color: var(--green);
}

#retirement-tool .retire-cta-card {
  background: linear-gradient(180deg, #eff6ff 0%, #ffffff 100%);
  border-color: #bfdbfe;
  margin-top: 22px;
  padding: 24px;
  text-align: center;
}

#retirement-tool .retire-cta-card h3 {
  color: var(--navy);
  font-size: 24px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.15;
  margin: 0 0 8px;
}

#retirement-tool .retire-cta-card p {
  color: var(--muted);
  font-size: 14.5px;
  font-weight: 550;
  line-height: 1.65;
  margin: 0 auto 16px;
  max-width: 720px;
}

#retirement-tool .cta-actions {
  justify-content: center;
}

#retirement-tool .retire-disclaimer {
  color: var(--muted);
  font-size: 13.5px;
  font-weight: 550;
  line-height: 1.65;
  margin: 18px auto 0;
  max-width: 880px;
  text-align: center;
}

@media (max-width: 980px) {
  #cr-retirement-hero {
    padding: 50px 18px 0;
  }

  #cr-retirement-hero .retire-hero-shell,
  #retirement-tool .retire-layout,
  #retirement-tool .retire-results-grid {
    grid-template-columns: 1fr;
  }

  #cr-retirement-hero .retire-hero-shell {
    gap: 42px;
  }

  #cr-retirement-hero h1 {
    max-width: 760px;
  }

  #cr-retirement-hero .retire-preview-wrap {
    max-width: 620px;
  }

  #retirement-tool {
    padding: 36px 16px 72px;
  }

  #retirement-tool .retire-preview {
    position: static;
  }
}

@media (max-width: 640px) {
  #retirement-tool {
    padding: 30px 16px 62px;
  }

  #retirement-tool .retire-header {
    text-align: left;
  }

  #retirement-tool .retire-field-grid,
  #retirement-tool .retire-field-grid.three {
    grid-template-columns: 1fr;
  }

  #retirement-tool .retire-card {
    padding: 22px;
  }

  #retirement-tool .retire-card-top {
    display: block;
  }

  #retirement-tool .retire-safe-pill {
    margin-top: 14px;
  }

  #retirement-tool .retire-primary-btn,
  #retirement-tool .retire-secondary-btn,
  #retirement-tool .retire-dark-btn,
  #retirement-tool .retire-teal-btn {
    width: 100%;
  }

  #retirement-tool .retire-total-amount {
    font-size: 38px;
  }

  #retirement-tool .retire-breakdown-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }
}

@media (max-width: 560px) {
  #cr-retirement-hero {
    padding: 42px 16px 0;
  }

  #cr-retirement-hero h1 {
    font-size: 44px;
  }

  #cr-retirement-hero .retire-subtitle {
    font-size: 17px;
  }

  #cr-retirement-hero .retire-actions,
  #cr-retirement-hero .retire-primary,
  #cr-retirement-hero .retire-secondary {
    width: 100%;
  }

  #cr-retirement-hero .retire-primary,
  #cr-retirement-hero .retire-secondary {
    justify-content: center;
  }

  #cr-retirement-hero .retire-state-row {
    grid-template-columns: 1fr;
  }

  #cr-retirement-hero .retire-state-amount {
    font-size: 28px;
  }
}

#cr-optimize-hero,
#cr-optimize-hero * {
  box-sizing: border-box;
}

#cr-optimize-hero {
  --navy: #16365f;
  --deep: #0f1f36;
  --muted: #5f728c;
  --line: #dbe6f2;
  --soft: #f6f9fd;
  --teal: #2fa99b;
  --green: #15803d;
  --green-bg: #dcfce7;
  --orange: #b45309;
  --orange-bg: #fff7ed;
  width: 100%;
  padding: 78px 18px 66px;
  font-family: Inter, Arial, sans-serif;
  color: var(--deep);
  background:
    radial-gradient(circle at 15% 22%, rgba(255, 247, 223, 0.8), transparent 34%),
    radial-gradient(circle at 88% 20%, rgba(47, 169, 155, 0.16), transparent 34%),
    linear-gradient(180deg, #f7fbff 0%, #ffffff 100%);
}

#cr-optimize-hero .coh-shell {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.72fr);
  gap: 72px;
  align-items: center;
}

#cr-optimize-hero .coh-kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(22, 54, 95, 0.14);
  background: rgba(255, 255, 255, 0.86);
  color: #1d4ed8;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
  margin-bottom: 22px;
}

#cr-optimize-hero h1 {
  margin: 0;
  max-width: 720px;
  color: var(--navy);
  font-size: clamp(54px, 6vw, 82px);
  line-height: 0.96;
  letter-spacing: 0;
  font-weight: 950;
}

#cr-optimize-hero .coh-subtitle {
  margin: 26px 0 0;
  max-width: 680px;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.55;
  font-weight: 650;
}

#cr-optimize-hero .coh-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

#cr-optimize-hero .coh-btn-primary,
#cr-optimize-hero .coh-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 24px;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 950;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

#cr-optimize-hero .coh-btn-primary {
  color: #ffffff;
  background: var(--deep);
  border-color: var(--deep);
  box-shadow: 0 16px 34px rgba(15, 31, 54, 0.18);
}

#cr-optimize-hero .coh-btn-secondary {
  color: var(--navy);
  background: rgba(255, 255, 255, 0.78);
  border-color: var(--line);
}

#cr-optimize-hero .coh-btn-primary:hover,
#cr-optimize-hero .coh-btn-secondary:hover {
  transform: translateY(-1px);
}

#cr-optimize-hero .coh-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 26px;
}

#cr-optimize-hero .coh-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.78);
  color: #24415f;
  font-size: 12.5px;
  font-weight: 850;
  white-space: nowrap;
}

#cr-optimize-hero .coh-card {
  overflow: hidden;
  border-radius: 30px;
  background: #ffffff;
  border: 1px solid var(--line);
  box-shadow: 0 26px 64px rgba(15, 31, 54, 0.12);
}

#cr-optimize-hero .coh-card-head {
  padding: 25px 28px;
  background: linear-gradient(135deg, #16365f 0%, #2b6285 100%);
  color: #ffffff;
}

#cr-optimize-hero .coh-card-label {
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

#cr-optimize-hero .coh-card-title {
  margin: 0;
  color: #ffffff;
  font-size: 22px;
  line-height: 1.2;
  font-weight: 950;
  letter-spacing: 0;
}

#cr-optimize-hero .coh-card-body {
  padding: 28px;
}

#cr-optimize-hero .coh-result-label {
  color: #64748b;
  font-size: 13px;
  font-weight: 900;
  margin-bottom: 8px;
}

#cr-optimize-hero .coh-result-number {
  color: var(--navy);
  font-size: 50px;
  line-height: 1;
  letter-spacing: 0;
  font-weight: 950;
  margin-bottom: 8px;
}

#cr-optimize-hero .coh-result-note {
  color: #435a75;
  font-size: 14px;
  line-height: 1.5;
  font-weight: 750;
  margin-bottom: 24px;
}

#cr-optimize-hero .coh-divider {
  height: 1px;
  width: 100%;
  background: var(--line);
  margin: 0 0 22px;
}

#cr-optimize-hero .coh-focus-title {
  color: var(--deep);
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
  margin-bottom: 16px;
}

#cr-optimize-hero .coh-focus-list {
  display: grid;
  gap: 15px;
}

#cr-optimize-hero .coh-focus-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding-bottom: 15px;
  border-bottom: 1px solid #eef2f7;
}

#cr-optimize-hero .coh-focus-item:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

#cr-optimize-hero .coh-focus-name {
  color: var(--deep);
  font-size: 15px;
  font-weight: 950;
  margin-bottom: 4px;
}

#cr-optimize-hero .coh-focus-copy {
  color: #516783;
  font-size: 12.5px;
  line-height: 1.35;
  font-weight: 700;
}

#cr-optimize-hero .coh-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--green-bg);
  color: var(--green);
  font-size: 12px;
  font-weight: 950;
  white-space: nowrap;
}

#cr-optimize-hero .coh-insight {
  margin-top: 24px;
  padding: 18px;
  border-radius: 18px;
  border: 1px solid #fed7aa;
  background:
    radial-gradient(circle at 100% 0%, rgba(251, 191, 36, 0.14), transparent 38%),
    #fffaf3;
}

#cr-optimize-hero .coh-insight-label {
  color: #8a6b33;
  font-size: 11.5px;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
  margin-bottom: 8px;
}

#cr-optimize-hero .coh-insight-text {
  color: var(--deep);
  font-size: 15.5px;
  line-height: 1.4;
  font-weight: 950;
}

#cr-optimize-hero .coh-input-summary {
  margin-top: 24px;
  padding: 14px 18px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.78);
  color: #435a75;
  font-size: 13px;
  line-height: 1.45;
  font-weight: 800;
}

#optimize-actions,
#optimize-actions * {
  box-sizing: border-box;
}

#optimize-actions {
  --deep: #0f1f36;
  --blue: #173f70;
  --teal: #2fb0a1;
  --muted: #5f728c;
  --line: #dbe6f2;
  --soft: #f7fafc;
  --card: #ffffff;
  --green-bg: #dcfce7;
  --green-text: #15803d;
  --yellow-bg: #fef3c7;
  --yellow-text: #b45309;
  --red-bg: #fee2e2;
  --red-text: #b91c1c;
  width: 100%;
  padding: 90px 16px 96px;
  font-family: Inter, Arial, sans-serif;
  color: var(--deep);
  background:
    radial-gradient(circle at 14% 18%, rgba(255, 230, 163, 0.34), transparent 30%),
    radial-gradient(circle at 88% 22%, rgba(117, 225, 223, 0.26), transparent 34%),
    linear-gradient(180deg, #ffffff 0%, #f8fbfd 100%);
}

#optimize-actions .oa-shell {
  max-width: 1120px;
  margin: 0 auto;
}

#optimize-actions .oa-heading {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 42px;
}

#optimize-actions .oa-kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.86);
  color: #1d4ed8;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
  box-shadow: 0 12px 30px rgba(15, 31, 54, 0.06);
}

#optimize-actions h2 {
  margin: 18px 0 12px;
  font-size: clamp(42px, 6vw, 68px);
  line-height: 0.92;
  letter-spacing: 0;
  font-weight: 950;
  color: #173f70;
}

#optimize-actions .oa-heading p {
  margin: 0 auto;
  max-width: 710px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
  font-weight: 700;
}

#optimize-actions .oa-metric-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 34px;
}

#optimize-actions .oa-metric {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 22px;
  box-shadow: 0 18px 46px rgba(15, 31, 54, 0.06);
}

#optimize-actions .oa-metric-label,
#optimize-actions .oa-impact-label,
#optimize-actions .oa-mini-label,
#optimize-actions .oa-next-label,
#oa-help-modal .oa-next-label {
  color: #6b7f99;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

#optimize-actions .oa-metric-value {
  margin-top: 10px;
  font-size: 22px;
  line-height: 1.1;
  font-weight: 950;
  letter-spacing: 0;
  color: var(--deep);
}

#optimize-actions .oa-due {
  color: #b45309;
}

#optimize-actions .oa-card {
  background:
    radial-gradient(circle at 98% 0%, rgba(117, 225, 223, 0.16), transparent 32%),
    radial-gradient(circle at 0% 100%, rgba(255, 230, 163, 0.14), transparent 32%),
    var(--card);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: 0 22px 60px rgba(15, 31, 54, 0.08);
  overflow: hidden;
  margin-top: 22px;
}

#optimize-actions .oa-card-inner {
  padding: 30px;
}

#optimize-actions .oa-card-top {
  display: grid;
  grid-template-columns: 1.55fr 0.95fr;
  gap: 24px;
  align-items: start;
  margin-bottom: 22px;
}

#optimize-actions .oa-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  padding: 10px 16px;
  border-radius: 999px;
  margin-bottom: 14px;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

#optimize-actions .oa-tag.blue {
  background: #dbeafe;
  color: #1d4ed8;
}

#optimize-actions .oa-tag.green {
  background: var(--green-bg);
  color: var(--green-text);
}

#optimize-actions .oa-tag.gold {
  background: var(--yellow-bg);
  color: var(--yellow-text);
}

#optimize-actions .oa-card h3 {
  margin: 0;
  color: #0f1f36;
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1;
  letter-spacing: 0;
  font-weight: 950;
}

#optimize-actions .oa-card-sub {
  margin: 12px 0 0;
  color: #3f536c;
  font-size: 16px;
  line-height: 1.55;
  font-weight: 750;
  max-width: 720px;
}

#optimize-actions .oa-impact-box {
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 20px;
}

#optimize-actions .oa-impact-text {
  margin-top: 9px;
  color: var(--deep);
  font-size: 20px;
  line-height: 1.15;
  font-weight: 950;
  letter-spacing: 0;
}

#optimize-actions .oa-priority {
  margin-top: 8px;
  color: #3f536c;
  font-size: 13px;
  font-weight: 750;
}

#optimize-actions .oa-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 20px;
}

#optimize-actions .oa-detail {
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 20px;
}

#optimize-actions .oa-detail-title {
  margin-bottom: 12px;
  color: var(--deep);
  font-size: 15px;
  font-weight: 950;
}

#optimize-actions ol,
#optimize-actions ul {
  margin: 0;
  padding-left: 20px;
  color: #3f536c;
  font-size: 14px;
  line-height: 1.75;
  font-weight: 750;
}

#optimize-actions .oa-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

#optimize-actions .oa-chip {
  padding: 9px 12px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid var(--line);
  color: #0f1f36;
  font-size: 12px;
  font-weight: 900;
}

#optimize-actions .oa-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}

#optimize-actions button,
#optimize-actions a {
  font-family: inherit;
}

#optimize-actions .oa-btn-primary,
#optimize-actions .oa-btn-secondary {
  min-height: 52px;
  border-radius: 14px;
  padding: 0 20px;
  font-size: 15px;
  font-weight: 950;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

#optimize-actions .oa-btn-primary {
  background: var(--deep);
  color: #ffffff;
  border: 1px solid var(--deep);
  box-shadow: 0 18px 38px rgba(15, 31, 54, 0.15);
}

#optimize-actions .oa-btn-secondary {
  background: #ffffff;
  color: var(--deep);
  border: 1px solid var(--line);
}

#optimize-actions .oa-btn-primary:hover,
#optimize-actions .oa-btn-secondary:hover {
  transform: translateY(-1px);
}

#optimize-actions .oa-learn-panel,
#optimize-actions .oa-action-panel {
  display: none;
  margin-top: 18px;
  padding: 20px;
  border-radius: 20px;
  background: #f8fafc;
  border: 1px solid var(--line);
  color: #3f536c;
  font-size: 15px;
  line-height: 1.65;
  font-weight: 700;
}

#optimize-actions .oa-learn-panel.open,
#optimize-actions .oa-action-panel.open {
  display: block;
}

#optimize-actions .oa-action-title {
  margin-bottom: 8px;
  color: #3f536c;
  font-size: 15px;
  font-weight: 950;
}

#optimize-actions .oa-next-box {
  margin-top: 16px;
  padding: 20px;
  border-radius: 20px;
  background:
    radial-gradient(circle at 100% 0%, rgba(59, 130, 246, 0.1), transparent 35%),
    #ffffff;
  border: 1px solid #b9d7ff;
}

#optimize-actions .oa-next-box h4 {
  margin: 8px 0 8px;
  color: var(--deep);
  font-size: 20px;
  line-height: 1.1;
  letter-spacing: 0;
  font-weight: 950;
}

#optimize-actions .oa-next-box p {
  margin: 0 0 16px;
  color: #3f536c;
  font-size: 14px;
  line-height: 1.55;
  font-weight: 750;
}

#optimize-actions .oa-next-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

#optimize-actions .oa-next-buttons a,
#optimize-actions .oa-next-buttons button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 13px;
  text-decoration: none;
  font-size: 15px;
  font-weight: 950;
  cursor: pointer;
}

#optimize-actions .oa-next-buttons a {
  color: var(--deep);
  background: #ffffff;
  border: 1px solid var(--line);
}

#optimize-actions .oa-next-buttons button.dark {
  color: #ffffff;
  background: var(--deep);
  border: 1px solid var(--deep);
}

#optimize-actions .oa-slider-wrap {
  margin-top: 18px;
  padding: 18px;
  border-radius: 20px;
  background: #f8fafc;
  border: 1px solid var(--line);
}

#optimize-actions .oa-slider-wrap.compact {
  margin-top: 16px;
}

#optimize-actions .oa-mini-tool {
  display: grid;
  gap: 16px;
  margin-top: 16px;
}

#optimize-actions .oa-tool-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

#optimize-actions .oa-tool-grid > div {
  min-width: 0;
}

#optimize-actions .oa-mini-tool label {
  display: block;
  margin-bottom: 7px;
  color: var(--deep);
  font-size: 13px;
  font-weight: 900;
  line-height: 1.3;
}

#optimize-actions .oa-mini-tool input,
#optimize-actions .oa-mini-tool select {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #ffffff;
  color: var(--deep);
  font: inherit;
  font-size: 15px;
  outline: none;
}

#optimize-actions .oa-mini-tool input:focus,
#optimize-actions .oa-mini-tool select:focus {
  border-color: var(--deep);
  box-shadow: 0 0 0 4px rgba(15, 31, 54, 0.08);
}

#optimize-actions .oa-slider-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 12px;
  color: var(--deep);
  font-size: 16px;
  font-weight: 950;
}

#optimize-actions .oa-slider-top span {
  font-size: 18px;
}

#optimize-actions .oa-slider {
  width: 100%;
  accent-color: var(--deep);
}

#optimize-actions .oa-slider-results {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 16px;
}

#optimize-actions .oa-slider-results.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

#optimize-actions .oa-slider-stat {
  padding: 16px;
  border-radius: 16px;
  background: #ffffff;
  border: 1px solid var(--line);
}

#optimize-actions .oa-mini-value {
  margin-top: 6px;
  color: var(--deep);
  font-size: 22px;
  font-weight: 950;
  letter-spacing: 0;
}

#optimize-actions .oa-tool-status {
  padding: 14px 16px;
  border-radius: 16px;
  background: #ffffff;
  border: 1px solid var(--line);
  color: var(--deep);
  font-size: 15px;
  font-weight: 900;
  line-height: 1.45;
}

#optimize-actions .oa-tool-status.good {
  background: #ecfdf5;
  border-color: #bbf7d0;
  color: #15803d;
}

#optimize-actions .oa-tool-status.watch {
  background: #fffbeb;
  border-color: #fde68a;
  color: #92400e;
}

#optimize-actions .oa-tool-status.review {
  background: #fff1f2;
  border-color: #fecdd3;
  color: #be123c;
}

#optimize-actions .oa-date-list {
  padding: 16px;
  border-radius: 16px;
  background: #ffffff;
  border: 1px solid var(--line);
}

#optimize-actions .oa-date-list ul {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  padding: 0;
  margin: 10px 0 0;
  list-style: none;
}

#optimize-actions .oa-date-list li {
  padding: 9px 10px;
  border-radius: 999px;
  background: #f8fafc;
  border: 1px solid var(--line);
  color: var(--deep);
  font-size: 12.5px;
  font-weight: 900;
  text-align: center;
}

#optimize-actions .oa-tool-disclaimer {
  margin: 0;
  padding: 13px 14px;
  border-radius: 14px;
  background: #ffffff;
  border: 1px solid var(--line);
  color: #5f728c;
  font-size: 12.5px;
  font-weight: 650;
  line-height: 1.5;
}

#optimize-actions .oa-tool-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-start;
}

#optimize-actions .oa-tool-cta .oa-btn-primary {
  min-height: 48px;
  border-radius: 14px;
}

#oa-help-modal,
#oa-help-modal * {
  box-sizing: border-box;
}

#oa-help-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 999999;
  font-family: Inter, Arial, sans-serif;
}

#oa-help-modal.open {
  display: block;
}

#oa-help-modal .oa-help-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 31, 54, 0.62);
  backdrop-filter: blur(7px);
}

#oa-help-modal .oa-help-box {
  position: relative;
  z-index: 1;
  width: min(560px, calc(100% - 32px));
  margin: 12vh auto 0;
  padding: 26px;
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 34px 80px rgba(15, 31, 54, 0.24);
  color: #0f1f36;
}

#oa-help-modal .oa-help-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid #dbe6f2;
  background: #ffffff;
  color: #0f1f36;
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
}

#oa-help-modal h3 {
  margin: 6px 0 4px;
  font-size: 26px;
  line-height: 1.1;
  letter-spacing: 0;
  font-weight: 950;
}

#oa-help-modal p {
  margin: 0 0 18px;
  color: #5f728c;
  font-size: 14px;
  font-weight: 650;
}

#oa-help-modal form {
  display: grid;
  gap: 10px;
}

#oa-help-modal input,
#oa-help-modal textarea {
  width: 100%;
  border: 1px solid #dbe6f2;
  border-radius: 12px;
  padding: 14px;
  font: inherit;
  color: #0f1f36;
  background: #ffffff;
}

#oa-help-modal textarea {
  min-height: 120px;
  resize: vertical;
}

#oa-help-modal form button {
  min-height: 52px;
  border: none;
  border-radius: 12px;
  background: #0f1f36;
  color: #ffffff;
  font-size: 15px;
  font-weight: 950;
  cursor: pointer;
}

#oa-help-modal .oa-help-note {
  margin-top: 12px;
  color: #5f728c;
  font-size: 12px;
  font-weight: 650;
}

@media (max-width: 980px) {
  #cr-optimize-hero {
    padding: 62px 16px 56px;
  }

  #cr-optimize-hero .coh-shell {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  #cr-optimize-hero h1 {
    font-size: clamp(48px, 10vw, 72px);
  }
}

@media (max-width: 860px) {
  #optimize-actions {
    padding: 70px 14px 80px;
  }

  #optimize-actions .oa-metric-grid,
  #optimize-actions .oa-card-top,
  #optimize-actions .oa-detail-grid {
    grid-template-columns: 1fr;
  }

  #optimize-actions .oa-card-inner {
    padding: 22px;
  }
}

@media (max-width: 560px) {
  #cr-optimize-hero {
    padding: 50px 14px 48px;
  }

  #cr-optimize-hero h1 {
    font-size: 46px;
  }

  #cr-optimize-hero .coh-subtitle {
    font-size: 17px;
  }

  #cr-optimize-hero .coh-buttons {
    flex-direction: column;
  }

  #cr-optimize-hero .coh-btn-primary,
  #cr-optimize-hero .coh-btn-secondary {
    width: 100%;
  }

  #cr-optimize-hero .coh-card-body,
  #cr-optimize-hero .coh-card-head {
    padding: 22px;
  }

  #cr-optimize-hero .coh-result-number {
    font-size: 42px;
  }

  #cr-optimize-hero .coh-focus-item {
    grid-template-columns: 1fr;
  }

  #cr-optimize-hero .coh-badge {
    justify-self: start;
  }

  #optimize-actions .oa-slider-results {
    grid-template-columns: 1fr;
  }

  #optimize-actions .oa-slider-results.three,
  #optimize-actions .oa-tool-grid,
  #optimize-actions .oa-date-list ul {
    grid-template-columns: 1fr;
  }

  #optimize-actions .oa-buttons,
  #optimize-actions .oa-next-buttons {
    flex-direction: column;
  }

  #optimize-actions .oa-btn-primary,
  #optimize-actions .oa-btn-secondary,
  #optimize-actions .oa-next-buttons a,
  #optimize-actions .oa-next-buttons button {
    width: 100%;
  }
}

#cr-retire-opt-hero,
#cr-retire-opt-hero *,
#cr-retire-opt-actions,
#cr-retire-opt-actions * {
  box-sizing: border-box;
}

#cr-retire-opt-hero {
  --navy: #16365f;
  --deep: #0f1f36;
  --muted: #5f728c;
  --line: #dbe6f2;
  --soft: #f6f9fd;
  --teal: #2fa99b;
  --cream: #fff7df;
  --green: #15803d;
  --yellow: #b45309;
  --red: #b42318;
  --blue: #1d4ed8;
  width: 100%;
  padding: 92px 18px 78px;
  font-family: Inter, Arial, sans-serif;
  color: var(--deep);
  background:
    radial-gradient(circle at 15% 12%, rgba(255, 247, 223, 0.72), transparent 28%),
    radial-gradient(circle at 86% 16%, rgba(47, 169, 155, 0.16), transparent 34%),
    linear-gradient(180deg, #f8fafc 0%, #ffffff 55%, #f6f9fd 100%);
}

#cr-retire-opt-hero .cr-hero-shell {
  max-width: 1180px;
  margin: 0 auto;
}

#cr-retire-opt-hero .cr-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(360px, 0.96fr);
  gap: 58px;
  align-items: center;
}

#cr-retire-opt-hero .cr-kicker,
#cr-retire-opt-actions .cr-kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 15px;
  border-radius: 999px;
  border: 1px solid rgba(22, 54, 95, 0.14);
  background: rgba(255, 255, 255, 0.86);
  color: #1d4ed8;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
  box-shadow: 0 10px 28px rgba(15, 31, 54, 0.04);
}

#cr-retire-opt-hero .cr-kicker {
  margin-bottom: 22px;
}

#cr-retire-opt-hero h1 {
  margin: 0 0 20px;
  color: var(--navy);
  font-size: clamp(46px, 7vw, 82px);
  line-height: 0.98;
  letter-spacing: 0;
  font-weight: 950;
  max-width: 680px;
}

#cr-retire-opt-hero .cr-hero-copy {
  margin: 0 0 28px;
  max-width: 650px;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.55;
  font-weight: 600;
}

#cr-retire-opt-hero .cr-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  align-items: center;
  margin-bottom: 22px;
}

#cr-retire-opt-hero .cr-btn-primary,
#cr-retire-opt-hero .cr-btn-secondary,
#cr-retire-opt-actions .cr-btn-primary,
#cr-retire-opt-actions .cr-btn-secondary {
  min-height: 54px;
  padding: 0 25px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 15px;
  font-weight: 900;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  cursor: pointer;
  font-family: inherit;
}

#cr-retire-opt-hero .cr-btn-primary,
#cr-retire-opt-actions .cr-btn-primary {
  color: #ffffff;
  background: #0f1f36;
  border: 1px solid #0f1f36;
  box-shadow: 0 18px 38px rgba(15, 31, 54, 0.23);
}

#cr-retire-opt-hero .cr-btn-secondary,
#cr-retire-opt-actions .cr-btn-secondary {
  color: var(--navy);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line);
}

#cr-retire-opt-hero .cr-btn-primary:hover,
#cr-retire-opt-hero .cr-btn-secondary:hover,
#cr-retire-opt-actions .cr-btn-primary:hover,
#cr-retire-opt-actions .cr-btn-secondary:hover {
  transform: translateY(-1px);
}

#cr-retire-opt-hero .cr-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

#cr-retire-opt-hero .cr-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
  color: #395370;
  font-size: 13px;
  font-weight: 850;
  white-space: nowrap;
}

#cr-retire-opt-hero .cr-example-card {
  overflow: hidden;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(219, 230, 242, 0.95);
  box-shadow: 0 26px 70px rgba(15, 31, 54, 0.12);
}

#cr-retire-opt-hero .cr-example-top {
  padding: 24px 26px;
  background: linear-gradient(135deg, rgba(22, 54, 95, 0.98), rgba(21, 76, 111, 0.92));
  color: #ffffff;
}

#cr-retire-opt-hero .cr-example-label {
  margin: 0 0 9px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

#cr-retire-opt-hero .cr-example-title {
  margin: 0;
  color: #ffffff;
  font-size: 22px;
  line-height: 1.18;
  letter-spacing: 0;
  font-weight: 950;
}

#cr-retire-opt-hero .cr-example-body {
  padding: 26px;
}

#cr-retire-opt-hero .cr-example-total-label {
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
  margin-bottom: 6px;
}

#cr-retire-opt-hero .cr-example-total {
  color: var(--navy);
  font-size: 48px;
  line-height: 1;
  letter-spacing: 0;
  font-weight: 950;
  margin-bottom: 8px;
}

#cr-retire-opt-hero .cr-example-note {
  color: #52677f;
  font-size: 13.5px;
  line-height: 1.5;
  font-weight: 700;
  margin-bottom: 22px;
}

#cr-retire-opt-hero .cr-focus-title {
  padding-top: 18px;
  border-top: 1px solid #eef3f8;
  color: var(--deep);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
  margin-bottom: 14px;
}

#cr-retire-opt-hero .cr-focus-list {
  display: grid;
  gap: 14px;
}

#cr-retire-opt-hero .cr-focus-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center;
  padding-bottom: 14px;
  border-bottom: 1px solid #eef3f8;
}

#cr-retire-opt-hero .cr-focus-item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

#cr-retire-opt-hero .cr-focus-name {
  color: var(--deep);
  font-size: 15px;
  font-weight: 900;
  line-height: 1.25;
}

#cr-retire-opt-hero .cr-focus-copy {
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.45;
  font-weight: 650;
  margin-top: 3px;
}

#cr-retire-opt-hero .cr-priority {
  padding: 8px 11px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

#cr-retire-opt-hero .priority-high,
#cr-retire-opt-actions .badge-red {
  background: #fee2e2;
  color: #b42318;
}

#cr-retire-opt-hero .priority-medium,
#cr-retire-opt-actions .badge-yellow {
  background: #fef3c7;
  color: #b45309;
}

#cr-retire-opt-hero .priority-green,
#cr-retire-opt-actions .badge-green {
  background: #dcfce7;
  color: #15803d;
}

#cr-retire-opt-hero .cr-insight {
  margin-top: 22px;
  padding: 18px;
  border-radius: 18px;
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 247, 223, 0.92), transparent 46%),
    #ffffff;
  border: 1px solid rgba(245, 158, 11, 0.28);
}

#cr-retire-opt-hero .cr-insight-label {
  color: #64748b;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
  margin-bottom: 7px;
}

#cr-retire-opt-hero .cr-insight-text {
  color: var(--deep);
  font-size: 16px;
  line-height: 1.45;
  font-weight: 900;
}

#cr-retire-opt-hero .cr-readiness-block {
  margin-top: 54px;
}

#cr-retire-opt-hero .cr-profile-strip {
  padding: 15px 18px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.82);
  color: #334155;
  font-size: 14px;
  line-height: 1.55;
  font-weight: 800;
  text-align: center;
  margin-bottom: 20px;
}

#cr-retire-opt-hero .cr-summary-banner {
  padding: 28px;
  color: #ffffff;
  background: linear-gradient(135deg, #0f172a, #1e3a8a);
  border-radius: 28px;
  box-shadow: 0 24px 60px rgba(30, 58, 138, 0.18);
  margin-bottom: 18px;
}

#cr-retire-opt-hero .cr-summary-label {
  color: rgba(255, 255, 255, 0.74);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
  margin-bottom: 9px;
}

#cr-retire-opt-hero .cr-summary-title {
  color: #ffffff;
  font-size: clamp(27px, 4vw, 38px);
  line-height: 1.1;
  letter-spacing: 0;
  font-weight: 950;
  margin-bottom: 8px;
}

#cr-retire-opt-hero .cr-summary-copy {
  color: rgba(255, 255, 255, 0.82);
  font-size: 15.5px;
  line-height: 1.65;
  font-weight: 550;
}

#cr-retire-opt-hero .cr-metrics,
#cr-retire-opt-actions .cr-summary-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

#cr-retire-opt-hero .cr-metric,
#cr-retire-opt-actions .cr-mini-metric {
  padding: 19px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 18px 42px rgba(15, 31, 54, 0.07);
}

#cr-retire-opt-hero .cr-metric-label,
#cr-retire-opt-actions .cr-mini-label,
#cr-retire-opt-actions .cr-impact-label,
#cr-retire-opt-actions .cr-next-label {
  color: #64748b;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
  margin-bottom: 7px;
}

#cr-retire-opt-hero .cr-metric-value,
#cr-retire-opt-actions .cr-mini-value {
  color: var(--deep);
  font-size: 24px;
  font-weight: 950;
  letter-spacing: 0;
  line-height: 1.1;
}

#cr-retire-opt-hero .cr-status-good {
  color: var(--green);
}

#cr-retire-opt-hero .cr-status-watch {
  color: var(--yellow);
}

#cr-retire-opt-hero .cr-status-gap {
  color: var(--red);
}

#cr-retire-opt-actions {
  --navy: #16365f;
  --deep: #0f1f36;
  --muted: #5f728c;
  --line: #dbe6f2;
  --soft: #f6f9fd;
  --teal: #2fa99b;
  --cream: #fff7df;
  --green: #15803d;
  --yellow: #b45309;
  --red: #b42318;
  --blue: #1d4ed8;
  width: 100%;
  margin-top: -110px;
  padding: 118px 18px 86px;
  font-family: Inter, Arial, sans-serif;
  color: var(--deep);
  background:
    radial-gradient(circle at 14% 10%, rgba(255, 247, 223, 0.62), transparent 30%),
    radial-gradient(circle at 88% 8%, rgba(47, 169, 155, 0.13), transparent 34%),
    linear-gradient(180deg, #f7fbff 0%, #ffffff 46%, #f6f9fd 100%);
}

#cr-retire-opt-actions .cr-actions-shell {
  max-width: 1180px;
  margin: 0 auto;
}

#cr-retire-opt-actions .cr-section-head {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 38px;
}

#cr-retire-opt-actions .cr-kicker {
  margin-bottom: 18px;
}

#cr-retire-opt-actions h2 {
  margin: 0 0 14px;
  color: var(--navy);
  font-size: clamp(38px, 5.7vw, 68px);
  line-height: 1;
  letter-spacing: 0;
  font-weight: 950;
}

#cr-retire-opt-actions .cr-section-copy {
  margin: 0 auto;
  max-width: 760px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
  font-weight: 650;
}

#cr-retire-opt-actions .cr-summary-metrics {
  margin: 0 0 34px;
}

#cr-retire-opt-actions .cr-mini-metric {
  padding: 20px;
}

#cr-retire-opt-actions .cr-mini-value {
  font-size: 23px;
  line-height: 1.12;
}

#cr-retire-opt-actions .cr-card-stack {
  display: grid;
  gap: 22px;
}

#cr-retire-opt-actions .cr-action-card {
  position: relative;
  overflow: hidden;
  padding: 30px;
  border-radius: 30px;
  background:
    radial-gradient(circle at 100% 0%, rgba(47, 169, 155, 0.08), transparent 38%),
    rgba(255, 255, 255, 0.96);
  border: 1px solid var(--line);
  box-shadow: 0 26px 70px rgba(15, 31, 54, 0.09);
}

#cr-retire-opt-actions .cr-card-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(270px, 0.42fr);
  gap: 24px;
  align-items: start;
  margin-bottom: 22px;
}

#cr-retire-opt-actions .cr-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 13px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
  margin-bottom: 14px;
}

#cr-retire-opt-actions .badge-blue {
  background: #dbeafe;
  color: #1d4ed8;
}

#cr-retire-opt-actions .cr-card-title {
  margin: 0 0 9px;
  color: var(--deep);
  font-size: clamp(25px, 3vw, 34px);
  line-height: 1.07;
  letter-spacing: 0;
  font-weight: 950;
}

#cr-retire-opt-actions .cr-card-copy {
  margin: 0;
  max-width: 760px;
  color: #475569;
  font-size: 16px;
  line-height: 1.65;
  font-weight: 600;
}

#cr-retire-opt-actions .cr-impact {
  padding: 18px;
  border-radius: 22px;
  background: #f8fafc;
  border: 1px solid var(--line);
}

#cr-retire-opt-actions .cr-impact-value {
  color: var(--deep);
  font-size: 21px;
  line-height: 1.2;
  letter-spacing: 0;
  font-weight: 950;
}

#cr-retire-opt-actions .cr-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 18px;
}

#cr-retire-opt-actions .cr-detail-box {
  padding: 19px;
  border-radius: 22px;
  background: #f8fafc;
  border: 1px solid var(--line);
}

#cr-retire-opt-actions .cr-detail-title {
  color: var(--deep);
  font-size: 15px;
  font-weight: 950;
  margin-bottom: 10px;
}

#cr-retire-opt-actions ol,
#cr-retire-opt-actions ul {
  margin: 0;
  padding-left: 18px;
  color: #475569;
  font-size: 15px;
  line-height: 1.78;
  font-weight: 550;
}

#cr-retire-opt-actions .cr-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 16px;
}

#cr-retire-opt-actions .cr-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.82);
  color: #0f1f36;
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

#cr-retire-opt-actions .cr-card-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

#cr-retire-opt-actions .cr-btn-primary,
#cr-retire-opt-actions .cr-btn-secondary {
  min-height: 50px;
  padding: 0 20px;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 950;
}

#cr-retire-opt-actions .cr-expand {
  display: none;
  margin-top: 18px;
  padding: 20px;
  border-radius: 22px;
  background:
    radial-gradient(circle at 100% 0%, rgba(219, 234, 254, 0.72), transparent 40%),
    #f8fafc;
  border: 1px solid var(--line);
}

#cr-retire-opt-actions .cr-expand.open {
  display: block;
}

#cr-retire-opt-actions .cr-expand-title {
  margin: 0 0 8px;
  color: var(--deep);
  font-size: 17px;
  font-weight: 950;
  letter-spacing: 0;
}

#cr-retire-opt-actions .cr-expand-copy {
  margin: 0 0 15px;
  color: #475569;
  font-size: 15px;
  line-height: 1.7;
  font-weight: 550;
}

#cr-retire-opt-actions .cr-next-box {
  padding: 18px;
  border-radius: 20px;
  background: linear-gradient(180deg, #eff6ff 0%, #ffffff 100%);
  border: 1px solid #bfdbfe;
}

#cr-retire-opt-actions .cr-next-label {
  color: #1d4ed8;
  font-size: 11px;
}

#cr-retire-opt-actions .cr-next-title {
  color: var(--deep);
  font-size: 19px;
  font-weight: 950;
  letter-spacing: 0;
  margin-bottom: 6px;
}

#cr-retire-opt-actions .cr-next-copy {
  color: #475569;
  font-size: 14px;
  line-height: 1.65;
  font-weight: 550;
  margin-bottom: 13px;
}

#cr-retire-opt-actions .cr-mini-tool {
  display: grid;
  gap: 16px;
  margin-top: 16px;
}

#cr-retire-opt-actions .cr-tool-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

#cr-retire-opt-actions .cr-tool-grid > div {
  min-width: 0;
}

#cr-retire-opt-actions .cr-tool-grid .wide {
  grid-column: 1 / -1;
}

#cr-retire-opt-actions .cr-mini-tool label {
  display: block;
  margin-bottom: 7px;
  color: var(--deep);
  font-size: 13px;
  font-weight: 900;
  line-height: 1.3;
}

#cr-retire-opt-actions .cr-mini-tool input,
#cr-retire-opt-actions .cr-mini-tool select {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #ffffff;
  color: var(--deep);
  font: inherit;
  font-size: 15px;
  outline: none;
}

#cr-retire-opt-actions .cr-mini-tool input:focus,
#cr-retire-opt-actions .cr-mini-tool select:focus {
  border-color: var(--deep);
  box-shadow: 0 0 0 4px rgba(15, 31, 54, 0.08);
}

#cr-retire-opt-actions .cr-slider-wrap {
  margin-top: 2px;
  padding: 18px;
  border-radius: 20px;
  background: #ffffff;
  border: 1px solid var(--line);
}

#cr-retire-opt-actions .cr-slider-wrap.compact {
  margin-top: 0;
}

#cr-retire-opt-actions .cr-slider-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 12px;
  color: var(--deep);
  font-size: 16px;
  font-weight: 950;
}

#cr-retire-opt-actions .cr-slider-top span {
  color: var(--navy);
  font-size: 18px;
}

#cr-retire-opt-actions .cr-slider {
  width: 100%;
  accent-color: var(--deep);
}

#cr-retire-opt-actions .cr-slider-results {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

#cr-retire-opt-actions .cr-slider-results.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

#cr-retire-opt-actions .cr-slider-stat {
  padding: 16px;
  border-radius: 16px;
  background: #ffffff;
  border: 1px solid var(--line);
}

#cr-retire-opt-actions .cr-mini-value {
  margin-top: 6px;
  color: var(--deep);
  font-size: 22px;
  font-weight: 950;
  letter-spacing: 0;
}

#cr-retire-opt-actions .cr-tool-status {
  padding: 14px 16px;
  border-radius: 16px;
  background: #ffffff;
  border: 1px solid var(--line);
  color: var(--deep);
  font-size: 15px;
  font-weight: 900;
  line-height: 1.45;
}

#cr-retire-opt-actions .cr-tool-status.good {
  background: #ecfdf5;
  border-color: #bbf7d0;
  color: #15803d;
}

#cr-retire-opt-actions .cr-tool-status.watch {
  background: #fffbeb;
  border-color: #fde68a;
  color: #92400e;
}

#cr-retire-opt-actions .cr-tool-status.review {
  background: #fff1f2;
  border-color: #fecdd3;
  color: #be123c;
}

#cr-retire-opt-actions .cr-tool-note {
  margin: 0;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.55;
  font-weight: 650;
}

#cr-retire-opt-actions .cr-tool-cta {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  align-items: start;
  padding: 18px;
  border-radius: 20px;
  background:
    radial-gradient(circle at 100% 0%, rgba(47, 169, 155, 0.12), transparent 38%),
    #ffffff;
  border: 1px solid var(--line);
}

#cr-retire-opt-actions .cr-tool-cta .cr-btn-primary {
  justify-self: start;
  width: auto;
  white-space: nowrap;
}

#cr-retire-opt-actions .cr-footer-note {
  max-width: 820px;
  margin: 28px auto 0;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
  font-weight: 650;
}

#cr-retire-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(15, 23, 42, 0.62);
  backdrop-filter: blur(6px);
  align-items: center;
  justify-content: center;
  font-family: Inter, Arial, sans-serif;
  padding: 16px;
}

#cr-retire-modal.open {
  display: flex;
}

#cr-retire-modal .cr-retire-modal-card {
  width: 100%;
  max-width: 560px;
  background: #ffffff;
  border-radius: 22px;
  padding: 28px;
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.28);
  position: relative;
}

#cr-retire-modal .cr-retire-modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
}

#cr-retire-modal .cr-retire-modal-kicker {
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
  color: #1d4ed8;
  margin-bottom: 8px;
}

#cr-retire-modal .cr-retire-modal-title {
  font-size: 26px;
  font-weight: 900;
  color: #0f172a;
  margin-bottom: 6px;
}

#cr-retire-modal .cr-retire-modal-sub {
  font-size: 15px;
  color: #64748b;
  line-height: 1.6;
  margin-bottom: 18px;
}

#cr-retire-modal form input,
#cr-retire-modal form textarea {
  width: 100%;
  padding: 14px;
  margin-bottom: 10px;
  border-radius: 12px;
  border: 1px solid #d9e1ee;
  font: inherit;
  font-size: 16px;
}

#cr-retire-modal form textarea {
  min-height: 120px;
  resize: vertical;
}

#cr-retire-modal form button {
  width: 100%;
  background: #0f172a;
  color: #ffffff;
  border: none;
  padding: 15px;
  border-radius: 12px;
  font-weight: 800;
  font-size: 16px;
  cursor: pointer;
}

#cr-retire-modal .cr-retire-modal-success {
  display: none;
  margin-top: 12px;
  color: #16a34a;
  font-weight: 800;
}

#cr-retire-modal .cr-retire-modal-note {
  margin-top: 10px;
  font-size: 12px;
  color: #64748b;
}

@media (max-width: 980px) {
  #cr-retire-opt-hero {
    padding: 72px 16px 64px;
  }

  #cr-retire-opt-hero .cr-hero-grid,
  #cr-retire-opt-actions .cr-summary-metrics,
  #cr-retire-opt-actions .cr-card-top,
  #cr-retire-opt-actions .cr-detail-grid,
  #cr-retire-opt-actions .cr-slider-results.three,
  #cr-retire-opt-actions .cr-tool-cta {
    grid-template-columns: 1fr;
  }

  #cr-retire-opt-actions .cr-tool-cta .cr-btn-primary {
    width: 100%;
    white-space: normal;
  }

  #cr-retire-opt-hero .cr-hero-grid {
    gap: 34px;
  }

  #cr-retire-opt-hero .cr-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  #cr-retire-opt-hero {
    padding: 58px 16px 54px;
  }

  #cr-retire-opt-hero h1 {
    font-size: 46px;
  }

  #cr-retire-opt-hero .cr-hero-copy {
    font-size: 17px;
  }

  #cr-retire-opt-hero .cr-btn-primary,
  #cr-retire-opt-hero .cr-btn-secondary,
  #cr-retire-opt-actions .cr-btn-primary,
  #cr-retire-opt-actions .cr-btn-secondary {
    width: 100%;
  }

  #cr-retire-opt-hero .cr-metrics,
  #cr-retire-opt-hero .cr-focus-item {
    grid-template-columns: 1fr;
  }

  #cr-retire-opt-actions {
    margin-top: -70px;
    padding: 92px 16px 70px;
  }

  #cr-retire-opt-actions h2 {
    font-size: 42px;
  }

  #cr-retire-opt-actions .cr-action-card {
    padding: 22px;
  }

  #cr-retire-opt-actions .cr-tool-grid,
  #cr-retire-opt-actions .cr-slider-results {
    grid-template-columns: 1fr;
  }
}

#cr-sources-page,
#cr-sources-page * {
  box-sizing: border-box;
}

#cr-sources-page {
  --cr-navy: #123765;
  --cr-deep: #07152f;
  --cr-blue: #2455d6;
  --cr-teal: #2aa99a;
  --cr-muted: #5f7492;
  --cr-soft: #f7fbff;
  --cr-line: #d9e6f2;
  --cr-cream: #fff8e7;
  --cr-card: #ffffff;
  --cr-shadow: 0 24px 70px rgba(18, 55, 101, 0.12);
  width: 100%;
  margin: 0;
  padding: 0;
  font-family: Inter, Arial, sans-serif;
  color: var(--cr-deep);
  background:
    radial-gradient(circle at 16% 16%, rgba(255, 241, 190, 0.8), transparent 32%),
    radial-gradient(circle at 86% 18%, rgba(189, 244, 245, 0.72), transparent 34%),
    linear-gradient(180deg, #ffffff 0%, #f7fbff 48%, #ffffff 100%);
  overflow: hidden;
}

#cr-sources-page a {
  color: inherit;
  text-decoration: none;
}

#cr-sources-page .cr-wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 22px;
}

#cr-sources-page .cr-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 9px 16px;
  border: 1px solid var(--cr-line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  color: var(--cr-navy);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
  box-shadow: 0 10px 28px rgba(18, 55, 101, 0.06);
}

#cr-sources-page .cr-btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

#cr-sources-page .cr-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1px solid var(--cr-line);
  font-size: 14px;
  font-weight: 900;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  cursor: pointer;
}

#cr-sources-page .cr-btn:hover {
  transform: translateY(-2px);
}

#cr-sources-page .cr-btn-primary {
  background: var(--cr-deep);
  color: #ffffff;
  box-shadow: 0 16px 35px rgba(7, 21, 47, 0.18);
  border-color: var(--cr-deep);
}

#cr-sources-page .cr-btn-secondary {
  background: #ffffff;
  color: var(--cr-navy);
}

#cr-sources-page .cr-hero {
  padding: 92px 0 72px;
}

#cr-sources-page .cr-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  gap: 58px;
  align-items: center;
}

#cr-sources-page h1 {
  margin: 28px 0 22px;
  max-width: 680px;
  color: var(--cr-navy);
  font-size: clamp(48px, 7vw, 82px);
  line-height: 0.92;
  letter-spacing: 0;
  font-weight: 950;
}

#cr-sources-page .cr-hero-copy {
  max-width: 650px;
  color: var(--cr-muted);
  font-size: 20px;
  line-height: 1.55;
  font-weight: 700;
}

#cr-sources-page .cr-trust-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

#cr-sources-page .cr-mini-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 13px;
  border-radius: 999px;
  border: 1px solid var(--cr-line);
  background: rgba(255, 255, 255, 0.78);
  color: var(--cr-navy);
  font-size: 12px;
  font-weight: 850;
}

#cr-sources-page .cr-hero-card {
  overflow: hidden;
  border: 1px solid var(--cr-line);
  border-radius: 28px;
  background: #ffffff;
  box-shadow: var(--cr-shadow);
}

#cr-sources-page .cr-card-head {
  padding: 25px 28px;
  background: linear-gradient(135deg, #102f59, #2b6b8f);
  color: #ffffff;
}

#cr-sources-page .cr-card-head small {
  display: block;
  margin-bottom: 8px;
  opacity: 0.78;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

#cr-sources-page .cr-card-head h2 {
  margin: 0;
  font-size: 23px;
  line-height: 1.2;
  letter-spacing: 0;
  color: #ffffff;
}

#cr-sources-page .cr-card-body {
  padding: 28px;
}

#cr-sources-page .cr-source-preview {
  display: grid;
  gap: 18px;
}

#cr-sources-page .cr-preview-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: start;
  padding-bottom: 18px;
  border-bottom: 1px solid #eef3f8;
}

#cr-sources-page .cr-preview-row:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

#cr-sources-page .cr-preview-row strong {
  display: block;
  margin-bottom: 4px;
  color: var(--cr-deep);
  font-size: 15px;
  font-weight: 950;
}

#cr-sources-page .cr-preview-row span {
  color: var(--cr-muted);
  font-size: 13px;
  line-height: 1.35;
  font-weight: 750;
}

#cr-sources-page .cr-status {
  padding: 8px 11px;
  border-radius: 999px;
  background: #eafaf3;
  color: #14764d;
  font-size: 12px;
  font-weight: 950;
  white-space: nowrap;
}

#cr-sources-page .cr-section {
  padding: 76px 0;
  border-top: 1px solid rgba(217, 230, 242, 0.8);
}

#cr-sources-page .cr-section-title {
  max-width: 780px;
  margin: 0 auto 42px;
  text-align: center;
}

#cr-sources-page .cr-section-title h2 {
  margin: 18px 0 14px;
  color: var(--cr-navy);
  font-size: clamp(36px, 5vw, 58px);
  line-height: 0.98;
  letter-spacing: 0;
  font-weight: 950;
}

#cr-sources-page .cr-section-title p {
  margin: 0;
  color: var(--cr-muted);
  font-size: 18px;
  line-height: 1.55;
  font-weight: 700;
}

#cr-sources-page .cr-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

#cr-sources-page .cr-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

#cr-sources-page .cr-info-card {
  border: 1px solid var(--cr-line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 18px 45px rgba(18, 55, 101, 0.07);
  padding: 24px;
}

#cr-sources-page .cr-info-card h3 {
  margin: 14px 0 10px;
  color: var(--cr-deep);
  font-size: 21px;
  letter-spacing: 0;
  font-weight: 950;
}

#cr-sources-page .cr-info-card p {
  margin: 0 0 18px;
  color: var(--cr-muted);
  font-size: 14px;
  line-height: 1.55;
  font-weight: 750;
}

#cr-sources-page .cr-meta {
  display: grid;
  gap: 8px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid #eef3f8;
  color: var(--cr-muted);
  font-size: 12px;
  font-weight: 800;
}

#cr-sources-page .cr-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  margin-top: 4px;
  padding: 10px 14px;
  border-radius: 999px;
  background: #f7fbff;
  border: 1px solid var(--cr-line);
  color: var(--cr-navy);
  font-size: 13px;
  font-weight: 950;
}

#cr-sources-page .cr-method-card {
  padding: 30px;
  border: 1px solid var(--cr-line);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--cr-shadow);
}

#cr-sources-page .cr-method-card h3 {
  margin: 0 0 16px;
  color: var(--cr-navy);
  font-size: 28px;
  line-height: 1.05;
  letter-spacing: 0;
  font-weight: 950;
}

#cr-sources-page .cr-check-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

#cr-sources-page .cr-check-list li {
  display: flex;
  gap: 10px;
  color: var(--cr-muted);
  font-size: 15px;
  line-height: 1.45;
  font-weight: 750;
}

#cr-sources-page .cr-check-list li::before {
  content: "✓";
  flex: 0 0 auto;
  color: var(--cr-teal);
  font-weight: 950;
}

#cr-sources-page .cr-no-list li::before {
  content: "•";
  color: #c66a00;
}

#cr-sources-page .cr-confidence-card {
  border: 1px solid var(--cr-line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.86);
  padding: 23px;
}

#cr-sources-page .cr-confidence-card h3 {
  margin: 10px 0 9px;
  color: var(--cr-deep);
  font-size: 20px;
  font-weight: 950;
  letter-spacing: 0;
}

#cr-sources-page .cr-confidence-card p {
  margin: 0;
  color: var(--cr-muted);
  font-size: 14px;
  line-height: 1.5;
  font-weight: 750;
}

#cr-sources-page .cr-band {
  border: 1px solid #bcdcff;
  border-radius: 28px;
  background:
    radial-gradient(circle at 85% 20%, rgba(189, 244, 245, 0.72), transparent 36%),
    linear-gradient(135deg, #ffffff, #f3f9ff);
  box-shadow: var(--cr-shadow);
  padding: 34px;
}

#cr-sources-page .cr-update-list {
  display: grid;
  gap: 12px;
}

#cr-sources-page .cr-update-item {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 18px;
  padding: 17px 0;
  border-bottom: 1px solid rgba(217, 230, 242, 0.9);
}

#cr-sources-page .cr-update-item:last-child {
  border-bottom: 0;
}

#cr-sources-page .cr-update-date {
  color: var(--cr-navy);
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

#cr-sources-page .cr-update-copy {
  color: var(--cr-muted);
  font-size: 15px;
  line-height: 1.45;
  font-weight: 750;
}

#cr-sources-page .cr-coming-card {
  position: relative;
  overflow: hidden;
  min-height: 210px;
  padding: 25px;
  border: 1px solid var(--cr-line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 18px 48px rgba(18, 55, 101, 0.07);
}

#cr-sources-page .cr-coming-card::after {
  content: "";
  position: absolute;
  right: -60px;
  top: -60px;
  width: 150px;
  height: 150px;
  border-radius: 999px;
  background: rgba(42, 169, 154, 0.1);
}

#cr-sources-page .cr-coming-card h3 {
  position: relative;
  margin: 15px 0 10px;
  color: var(--cr-deep);
  font-size: 23px;
  font-weight: 950;
  letter-spacing: 0;
}

#cr-sources-page .cr-coming-card p {
  position: relative;
  margin: 0;
  color: var(--cr-muted);
  font-size: 14px;
  line-height: 1.55;
  font-weight: 750;
}

#cr-sources-page .cr-final-cta {
  margin-top: 24px;
  padding: 38px;
  border-radius: 28px;
  background: linear-gradient(135deg, #102f59, #2b6b8f);
  color: #ffffff;
  box-shadow: var(--cr-shadow);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
}

#cr-sources-page .cr-final-cta h2 {
  margin: 0 0 8px;
  font-size: 28px;
  letter-spacing: 0;
  color: #ffffff;
}

#cr-sources-page .cr-final-cta p {
  margin: 0;
  max-width: 760px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 15px;
  line-height: 1.5;
  font-weight: 750;
}

#cr-sources-page .cr-final-cta .cr-btn {
  background: #ffffff;
  color: var(--cr-navy);
  border-color: #ffffff;
  white-space: nowrap;
}

@media (max-width: 900px) {
  #cr-sources-page .cr-hero-grid,
  #cr-sources-page .cr-grid-2,
  #cr-sources-page .cr-grid-3,
  #cr-sources-page .cr-final-cta {
    grid-template-columns: 1fr;
  }

  #cr-sources-page .cr-hero {
    padding: 64px 0 54px;
  }

  #cr-sources-page .cr-hero-card {
    max-width: 620px;
  }

  #cr-sources-page .cr-final-cta {
    text-align: left;
  }
}

@media (max-width: 560px) {
  #cr-sources-page .cr-wrap {
    padding: 0 16px;
  }

  #cr-sources-page h1 {
    font-size: 46px;
  }

  #cr-sources-page .cr-section {
    padding: 58px 0;
  }

  #cr-sources-page .cr-info-card,
  #cr-sources-page .cr-method-card,
  #cr-sources-page .cr-band,
  #cr-sources-page .cr-final-cta {
    padding: 22px;
  }

  #cr-sources-page .cr-update-item {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  #cr-sources-page .cr-btn {
    width: 100%;
  }
}
