:root {
  --color-navy: #071b33;
  --color-navy-soft: #102b4a;
  --color-blue: #1768d5;
  --color-blue-dark: #0d4ca4;
  --color-cyan: #22c7df;
  --color-cyan-soft: #e9fbfe;
  --color-red: #d92d3f;
  --color-surface: #ffffff;
  --color-surface-alt: #f4f8fc;
  --color-border: #dce6f0;
  --color-text: #10243c;
  --color-muted: #5b6f84;
  --radius-card: 1.25rem;
  --radius-small: 0.7rem;
  --shadow-card: 0 18px 50px rgba(7, 27, 51, 0.09);
  --max-content-width: 74rem;
  --max-reading-width: 62rem;
  --focus-ring: 0 0 0 3px rgba(34, 199, 223, 0.45);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--color-surface);
  color: var(--color-text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

a {
  color: var(--color-blue-dark);
  text-decoration-thickness: 0.1em;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--color-blue);
}

a:focus-visible,
button:focus-visible {
  border-radius: 0.25rem;
  outline: 0;
  box-shadow: var(--focus-ring);
}

img {
  display: block;
  max-width: 100%;
}

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

h1,
h2,
h3 {
  color: var(--color-navy);
  line-height: 1.14;
  letter-spacing: -0.025em;
}

h1 {
  font-size: clamp(2.4rem, 8vw, 4.9rem);
}

h2 {
  font-size: clamp(1.65rem, 4vw, 2.65rem);
}

h3 {
  font-size: 1.12rem;
}

code {
  overflow-wrap: anywhere;
  color: var(--color-navy-soft);
  font-size: 0.86em;
}

.shell {
  width: min(calc(100% - 2rem), var(--max-content-width));
  margin-inline: auto;
}

.shell--narrow {
  max-width: var(--max-reading-width);
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 100;
  padding: 0.7rem 1rem;
  border-radius: var(--radius-small);
  background: var(--color-surface);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(220, 230, 240, 0.82);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
}

.header-inner {
  display: flex;
  min-height: 4.5rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.wordmark {
  color: var(--color-navy);
  font-size: 1.42rem;
  font-weight: 820;
  letter-spacing: -0.055em;
  text-decoration: none;
}

.wordmark::after {
  display: inline-block;
  width: 0.34rem;
  height: 0.34rem;
  margin-left: 0.18rem;
  border-radius: 50%;
  background: var(--color-red);
  content: "";
  vertical-align: 0.72em;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(0.55rem, 2vw, 1.5rem);
}

.main-nav a {
  color: var(--color-text);
  font-size: 0.88rem;
  font-weight: 670;
  text-decoration: none;
}

.main-nav a.is-current {
  color: var(--color-blue);
}

.main-nav .language-switch {
  padding: 0.42rem 0.65rem;
  border: 1px solid var(--color-border);
  border-radius: 999px;
}

.mobile-menu {
  display: none;
  position: relative;
}

.mobile-menu > summary {
  display: grid;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0.72rem;
  align-content: space-between;
  border: 1px solid var(--color-border);
  border-radius: 0.75rem;
  background: #fff;
  cursor: pointer;
  list-style: none;
}

.mobile-menu > summary::-webkit-details-marker {
  display: none;
}

.mobile-menu > summary span {
  height: 2px;
  border-radius: 2px;
  background: var(--color-navy);
}

.mobile-menu nav {
  position: absolute;
  top: calc(100% + 0.65rem);
  right: 0;
  display: grid;
  width: min(18rem, calc(100vw - 2rem));
  padding: 0.65rem;
  border: 1px solid var(--color-border);
  border-radius: 1rem;
  background: #fff;
  box-shadow: var(--shadow-card);
}

.mobile-menu nav a {
  padding: 0.72rem 0.8rem;
  border-radius: 0.55rem;
  color: var(--color-text);
  font-weight: 680;
  text-decoration: none;
}

.mobile-menu nav a:hover {
  background: var(--color-surface-alt);
}

@media (max-width: 47.99rem) {
  .main-nav {
    display: none;
  }

  .mobile-menu {
    display: block;
  }
}

.hero {
  overflow: hidden;
  padding: clamp(4rem, 10vw, 8rem) 0;
  background:
    radial-gradient(circle at 86% 20%, rgba(34, 199, 223, 0.16), transparent 27rem),
    linear-gradient(180deg, #f8fbff, #fff);
}

.hero-grid {
  display: grid;
  align-items: center;
  gap: 3rem;
}

.eyebrow {
  margin-bottom: 0.75rem;
  color: var(--color-blue);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 13ch;
  margin-bottom: 1.5rem;
}

.hero h1 span {
  display: block;
}

.hero h1 .hero-brand {
  margin-bottom: 0.55rem;
  color: var(--color-blue);
  font-size: 0.37em;
  letter-spacing: -0.02em;
}

.hero-rhythm {
  margin-bottom: 1.35rem;
  color: var(--color-navy-soft);
  font-size: clamp(1.18rem, 3vw, 1.55rem);
  font-weight: 710;
  line-height: 1.5;
}

.hero-rhythm span {
  display: block;
}

.hero-description,
.page-intro,
.preview-copy > p:not(.eyebrow) {
  max-width: 43rem;
  color: var(--color-muted);
  font-size: clamp(1.03rem, 2.4vw, 1.18rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  min-height: 2.9rem;
  align-items: center;
  justify-content: center;
  padding: 0.72rem 1.1rem;
  border: 1px solid transparent;
  border-radius: 0.72rem;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 750;
  text-decoration: none;
}

.button--primary {
  background: var(--color-blue);
  box-shadow: 0 10px 25px rgba(23, 104, 213, 0.22);
  color: #fff;
}

.button--primary:hover {
  background: var(--color-blue-dark);
  color: #fff;
}

.button--secondary {
  border-color: var(--color-border);
  background: var(--color-surface);
  color: var(--color-navy);
}

.button--disabled {
  width: 100%;
  border-color: #c9d5e1;
  background: #edf2f6;
  color: #66788a;
  cursor: not-allowed;
}

.strategy-orbit {
  position: relative;
  min-height: 25rem;
  border: 1px solid rgba(23, 104, 213, 0.13);
  border-radius: 2rem;
  background: linear-gradient(145deg, var(--color-navy), #0c345a);
  box-shadow: var(--shadow-card);
  color: #fff;
}

.strategy-orbit::before,
.strategy-orbit::after {
  position: absolute;
  border: 1px solid rgba(34, 199, 223, 0.22);
  border-radius: 50%;
  content: "";
  inset: 12%;
}

.strategy-orbit::after {
  border-color: rgba(255, 255, 255, 0.1);
  inset: 25%;
}

.orbit-glow {
  position: absolute;
  width: 12rem;
  height: 12rem;
  border-radius: 50%;
  background: rgba(34, 199, 223, 0.18);
  filter: blur(35px);
  inset: 28% auto auto 30%;
}

.orbit-core,
.orbit-card {
  position: absolute;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.09);
  backdrop-filter: blur(8px);
}

.orbit-core {
  width: 8.2rem;
  height: 8.2rem;
  align-items: center;
  border-radius: 50%;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
}

.orbit-core span {
  color: var(--color-cyan);
  font-size: 2.1rem;
  font-weight: 850;
}

.orbit-core small {
  font-size: 0.65rem;
}

.orbit-card {
  min-width: 8rem;
  min-height: 4.6rem;
  padding: 0.8rem 1rem;
  border-radius: 1rem;
}

.orbit-card span {
  color: var(--color-cyan);
  font-size: 0.65rem;
}

.orbit-card--one { inset: 8% auto auto 7%; }
.orbit-card--two { inset: 14% 6% auto auto; }
.orbit-card--three { inset: auto 13% 8% auto; }

.section {
  padding: clamp(4rem, 9vw, 7rem) 0;
}

.section--doors {
  background: var(--color-surface);
}

.section-heading {
  max-width: 40rem;
  margin-bottom: 2rem;
}

.door-grid,
.recommended-card-grid,
.value-grid,
.offers-grid {
  display: grid;
  gap: 1rem;
}

.door-card {
  position: relative;
  display: flex;
  min-height: 17rem;
  flex-direction: column;
  padding: 1.5rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  background: var(--color-surface);
  color: var(--color-text);
  text-decoration: none;
  transition: border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

a.door-card:hover {
  border-color: rgba(23, 104, 213, 0.42);
  box-shadow: var(--shadow-card);
  color: var(--color-text);
  transform: translateY(-3px);
}

.door-card h3 {
  margin-top: auto;
  margin-bottom: 0.6rem;
  font-size: 1.35rem;
}

.door-card p {
  color: var(--color-muted);
}

.door-number {
  color: var(--color-blue);
  font-size: 0.78rem;
  font-weight: 800;
}

.door-link {
  color: var(--color-blue-dark);
  font-size: 0.9rem;
  font-weight: 760;
}

.door-card--future {
  background: var(--color-surface-alt);
}

.status-pill,
.quality-badge {
  display: inline-flex;
  width: fit-content;
  padding: 0.26rem 0.62rem;
  border-radius: 999px;
  background: var(--color-cyan-soft);
  color: #075a6b;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.025em;
}

.door-card .status-pill {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
}

.section--preview {
  background: var(--color-surface-alt);
}

.preview-panel {
  display: grid;
  overflow: hidden;
  border-radius: 1.8rem;
  background: var(--color-navy);
  box-shadow: var(--shadow-card);
  color: #fff;
}

.preview-copy,
.preview-result {
  padding: clamp(1.8rem, 5vw, 3.5rem);
}

.preview-copy h2 {
  color: #fff;
}

.preview-copy > p:not(.eyebrow) {
  color: #c6d8e9;
}

.text-link {
  color: var(--color-blue-dark);
  font-weight: 760;
}

.preview-copy .text-link {
  color: var(--color-cyan);
}

.preview-result {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: linear-gradient(145deg, rgba(34, 199, 223, 0.15), rgba(255, 255, 255, 0.04));
}

.result-kicker {
  margin-bottom: 1rem;
  color: var(--color-cyan);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.preview-value {
  margin-top: 1.2rem;
  font-size: 1.35rem;
}

.page-hero {
  padding: clamp(3.5rem, 9vw, 6rem) 0 2.5rem;
  background: linear-gradient(180deg, #f5faff, #fff);
}

.page-hero h1 {
  max-width: 15ch;
  margin-bottom: 1.2rem;
  font-size: clamp(2.35rem, 7vw, 4.2rem);
}

.page-hero--offers {
  background: linear-gradient(180deg, #f1fcfe, #fff);
}

.page-stack {
  display: grid;
  gap: 1.25rem;
  padding-block: 1.25rem 5rem;
}

.provenance-line {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--color-muted);
  font-size: 0.82rem;
}

.status-dot {
  width: 0.58rem;
  height: 0.58rem;
  border-radius: 50%;
  background: #1aa36f;
  box-shadow: 0 0 0 4px rgba(26, 163, 111, 0.12);
}

.fact-strip,
.content-card,
.empty-state,
.offer-card {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  background: var(--color-surface);
  box-shadow: 0 10px 30px rgba(7, 27, 51, 0.045);
}

.fact-strip {
  display: grid;
  overflow: hidden;
}

.fact-strip > div {
  display: flex;
  flex-direction: column;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--color-border);
}

.fact-strip > div:last-child {
  border-bottom: 0;
}

.fact-strip span,
.value-card h3 {
  color: var(--color-muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.content-card,
.empty-state {
  padding: clamp(1.25rem, 4vw, 2rem);
}

.content-card h2 {
  margin-bottom: 1.3rem;
  font-size: clamp(1.35rem, 3vw, 1.85rem);
}

.content-card--subtle {
  background: var(--color-surface-alt);
}

.muted,
.link-disclosure {
  color: var(--color-muted);
}

.code-list,
.plain-list,
.strategy-list,
.offer-components {
  margin: 0;
  padding-left: 1.2rem;
}

.plain-list li + li,
.strategy-list li + li,
.offer-components li + li {
  margin-top: 0.55rem;
}

.card-heading-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.product-card {
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: 1rem;
  background: var(--color-surface-alt);
}

.card-art__placeholder {
  display: flex;
  min-height: 14rem;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.25rem;
  background:
    linear-gradient(135deg, rgba(34, 199, 223, 0.18), transparent 45%),
    linear-gradient(150deg, var(--color-navy), #154b7d);
  color: #fff;
}

.card-art__placeholder--compact {
  min-height: 9rem;
  border-radius: 0.85rem;
}

.card-art__brand {
  color: var(--color-cyan);
  font-size: 0.75rem;
  font-weight: 850;
  letter-spacing: 0.05em;
}

.card-art__name {
  max-width: 25ch;
  color: #fff;
  font-size: 1.05rem;
  line-height: 1.25;
}

.card-art__status {
  color: #c8d9e9;
  font-size: 0.67rem;
}

.card-art__image {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-card__body {
  padding: 1.1rem;
}

.card-id {
  color: var(--color-muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.72rem;
  overflow-wrap: anywhere;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0 0 1rem;
  padding: 0;
  list-style: none;
}

.tag-list li {
  padding: 0.25rem 0.52rem;
  border-radius: 999px;
  background: #e6eef7;
  color: var(--color-navy-soft);
  font-size: 0.72rem;
}

.tag-list--large li {
  padding: 0.4rem 0.7rem;
  font-size: 0.82rem;
}

.link-disclosure {
  display: block;
  margin-top: 0.4rem;
  font-size: 0.7rem;
}

.value-card {
  padding: 1rem;
  border-radius: 0.85rem;
  background: var(--color-surface-alt);
}

.value-card h3 {
  margin-bottom: 0.45rem;
}

.value-card strong,
.value-card span {
  display: block;
}

.value-card strong {
  color: var(--color-navy);
  line-height: 1.35;
}

.value-card span {
  margin-top: 0.25rem;
  color: var(--color-muted);
  font-size: 0.77rem;
}

.timing-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  border-color: rgba(23, 104, 213, 0.25);
  background: linear-gradient(135deg, #eef6ff, #fff);
}

.timing-icon {
  display: grid;
  width: 2.7rem;
  height: 2.7rem;
  flex: 0 0 2.7rem;
  place-items: center;
  border-radius: 50%;
  background: var(--color-blue);
  color: #fff;
  font-size: 1.2rem;
}

.timing-card h2 {
  margin-bottom: 0.35rem;
}

.timing-reasons {
  margin: 0.7rem 0 0;
  padding-left: 1.1rem;
  color: var(--color-muted);
  font-size: 0.85rem;
}

.reason-list {
  display: grid;
  gap: 1rem;
}

.reason-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}

.reason-check {
  display: grid;
  width: 1.6rem;
  height: 1.6rem;
  flex: 0 0 1.6rem;
  place-items: center;
  border-radius: 50%;
  background: var(--color-cyan-soft);
  color: #087285;
  font-size: 0.75rem;
  font-weight: 900;
}

.reason-item h3 {
  margin-bottom: 0.55rem;
}

.evidence-list,
.offer-facts {
  margin: 0;
  font-size: 0.78rem;
}

.evidence-list > div,
.offer-facts > div {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.28rem 0;
}

.evidence-list dt,
.offer-facts dt {
  color: var(--color-muted);
}

.evidence-list dd,
.offer-facts dd {
  margin: 0;
  color: var(--color-navy);
  font-weight: 650;
}

.split-details {
  display: grid;
  gap: 1rem;
  margin-top: 1.4rem;
}

.split-details > div {
  padding: 1rem;
  border-left: 3px solid var(--color-cyan);
  background: var(--color-surface-alt);
}

.split-details h3 {
  margin-bottom: 0.3rem;
}

.split-details p {
  margin: 0;
  color: var(--color-muted);
}

.strategy-list li {
  padding-left: 0.35rem;
}

.strategy-list strong,
.strategy-list span {
  display: block;
}

.strategy-list span {
  color: var(--color-muted);
}

.offers-grid {
  align-items: start;
}

.offer-card {
  overflow: hidden;
}

.offer-card__header,
.offer-card__section,
.offer-watch {
  padding: 1.15rem;
}

.offer-card__header {
  display: grid;
  gap: 1rem;
  background: var(--color-surface-alt);
}

.offer-card__section {
  border-top: 1px solid var(--color-border);
}

.offer-card__section h2 {
  margin-bottom: 0.75rem;
  font-size: 1rem;
}

.offer-card__section h3 {
  margin: 1rem 0 0.2rem;
  color: var(--color-muted);
  font-size: 0.78rem;
}

.quality-badge--good,
.quality-badge--excellent,
.quality-badge--exceptional,
.quality-badge--historical_best {
  background: #e5f7ef;
  color: #126242;
}

.quality-badge--typical {
  background: #fff4d9;
  color: #6e4c00;
}

.quality-badge--weak {
  background: #fff0f1;
  color: #8e2632;
}

.transparency-note {
  padding: 0.8rem;
  border-radius: 0.7rem;
  background: var(--color-cyan-soft);
  color: #164f5a;
  font-size: 0.85rem;
}

.offer-watch {
  display: grid;
  gap: 0.5rem;
  border-top: 1px solid var(--color-border);
  background: #f7fafc;
}

.offer-watch small {
  color: var(--color-muted);
  text-align: center;
}

.empty-state {
  min-height: 15rem;
  display: grid;
  align-content: center;
  text-align: center;
}

.empty-state p {
  color: var(--color-muted);
}

.site-footer {
  padding: 3rem 0;
  background: var(--color-navy);
  color: #c8d8e8;
}

.footer-inner {
  display: grid;
  gap: 1.25rem;
}

.wordmark--footer {
  color: #fff;
}

.footer-inner p {
  max-width: 32rem;
  margin: 0.5rem 0 0;
  font-size: 0.82rem;
}

@media (min-width: 48rem) {
  .shell {
    width: min(calc(100% - 4rem), var(--max-content-width));
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1.08fr) minmax(20rem, 0.92fr);
  }

  .door-grid,
  .offers-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .preview-panel {
    grid-template-columns: 1.1fr 0.9fr;
  }

  .fact-strip {
    grid-template-columns: repeat(3, 1fr);
  }

  .fact-strip > div {
    border-right: 1px solid var(--color-border);
    border-bottom: 0;
  }

  .fact-strip > div:last-child {
    border-right: 0;
  }

  .recommended-card-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

  .split-details {
    grid-template-columns: 1fr 1fr;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
    align-items: end;
  }

  .footer-inner > p {
    justify-self: end;
    text-align: right;
  }
}

@media (max-width: 32rem) {
  .main-nav a:not(.language-switch, .main-nav__top-picks) {
    display: none;
  }

  .strategy-orbit {
    min-height: 21rem;
  }

  .orbit-card {
    min-width: 6.6rem;
  }

  .orbit-card--three {
    right: 7%;
  }
}

/* Personalization V1 presentation density and disclosure. */

.button--nav {
  min-height: 2.45rem;
  padding: 0.5rem 0.85rem;
  background: var(--color-blue);
  box-shadow: 0 8px 20px rgba(23, 104, 213, 0.18);
  color: #fff !important;
  white-space: nowrap;
}

.header-inner {
  min-height: 4.9rem;
}

.main-nav {
  gap: clamp(0.7rem, 1.6vw, 1.35rem);
}

.main-nav a {
  font-size: 0.92rem;
}

.hero--compact {
  padding: clamp(2.5rem, 6vw, 4.5rem) 0;
}

.hero--compact h1 {
  margin-bottom: 1rem;
  font-size: clamp(2.25rem, 6vw, 4.2rem);
}

.hero-visual--compact {
  width: min(100%, 31rem);
}

.section--compact {
  padding: clamp(2.75rem, 6vw, 4.5rem) 0;
}

.door-grid--three .door-card {
  min-height: 13rem;
}

.analysis-inline {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1rem;
  padding: 0.9rem 1rem;
  border: 1px dashed var(--color-border);
  border-radius: 0.9rem;
  background: var(--color-surface-alt);
}

.analysis-inline p {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.84rem;
}

.goal-grid {
  display: grid;
  gap: 0.65rem;
}

.choice-card--goal {
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr);
}

.goal-icon {
  font-size: 1.45rem;
  line-height: 1;
}

.benefit-preferences,
.wizard-subsection {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--color-border);
}

.benefit-preferences[hidden],
.analysis-loading[hidden] {
  display: none;
}

.benefit-preferences h2,
.wizard-subsection h2 {
  font-size: 1.15rem;
}

.fee-limit {
  padding: 0.8rem 0 0.2rem 2.2rem;
}

.fee-limit .search-input {
  max-width: 12rem;
}

.analysis-loading {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
  padding: 1.1rem;
  border: 1px solid rgba(34, 199, 223, 0.4);
  border-radius: 1rem;
  background: var(--color-cyan-soft);
}

.analysis-loading__spinner {
  width: 2rem;
  height: 2rem;
  flex: 0 0 auto;
  border: 3px solid rgba(23, 104, 213, 0.2);
  border-top-color: var(--color-blue);
  border-radius: 50%;
  animation: analysis-spin 0.85s linear infinite;
}

.analysis-loading p,
.analysis-loading ul {
  margin-bottom: 0;
  color: var(--color-muted);
  font-size: 0.82rem;
}

@keyframes analysis-spin { to { transform: rotate(360deg); } }

.personalized-result-page {
  padding: clamp(2rem, 6vw, 4rem) 0;
  background: linear-gradient(180deg, #f7fbff, #fff 28rem);
}

.personalized-result-header {
  text-align: center;
}

.personalized-result-header h1 {
  margin-bottom: 0.5rem;
  font-size: clamp(2.1rem, 7vw, 3.8rem);
}

.personalized-result-header > p:last-child {
  color: var(--color-blue-dark);
  font-weight: 750;
}

.personalized-result__main {
  display: grid;
  gap: 1.5rem;
  align-items: center;
  padding: clamp(1.25rem, 4vw, 2.25rem);
}

.personalized-card-group {
  display: flex;
  min-height: 8.5rem;
  align-items: center;
  justify-content: center;
}

.personalized-card {
  width: clamp(6.25rem, 18vw, 8.5rem);
  margin: 0;
  text-align: center;
}

.personalized-card + .personalized-card {
  margin-left: -1rem;
}

.personalized-card:nth-child(2) { transform: rotate(3deg); }
.personalized-card:nth-child(3) { transform: rotate(6deg); }

.personalized-card .card-art__image {
  width: 100%;
  height: 7.5rem;
  object-fit: contain;
  filter: drop-shadow(0 0.7rem 0.8rem rgb(7 27 51 / 16%));
}

.personalized-card .card-art__placeholder {
  width: 100%;
  min-height: 6.2rem;
  padding: 0.65rem;
}

.personalized-card .card-art__name { font-size: 0.7rem; }
.personalized-card .card-art__status,
.personalized-card .card-art__issuer { display: none; }

.personalized-card figcaption {
  margin-top: 0.45rem;
  color: var(--color-muted);
  font-size: 0.68rem;
  line-height: 1.25;
}

.personalized-result__copy h2 {
  margin-bottom: 0.6rem;
  font-size: clamp(1.45rem, 4vw, 2.15rem);
}

.result-positive,
.timing-callout {
  color: var(--color-muted);
}

.result-recommendation__line {
  display: inline-flex;
  max-width: 100%;
  align-items: center;
  gap: 0.4rem;
}

.result-recommendation__info {
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
  font-weight: 500;
}

.result-recommendation__info[open] { z-index: 30; }

.result-recommendation__info > summary {
  display: inline-grid;
  width: 1.35rem;
  height: 1.35rem;
  border: 1px solid var(--color-purple);
  border-radius: 999px;
  background: #fff;
  color: var(--color-purple);
  cursor: pointer;
  font-size: 0.7rem;
  font-weight: 850;
  list-style: none;
  place-items: center;
}

.result-recommendation__info > summary::-webkit-details-marker { display: none; }
.result-recommendation__info > summary:focus-visible { outline: 3px solid var(--color-blue); outline-offset: 2px; }

.result-recommendation__popover {
  position: absolute;
  z-index: 20;
  top: calc(100% + 0.4rem);
  right: -0.35rem;
  display: block;
  width: min(20rem, calc(100vw - 3rem));
  padding: 0.75rem;
  border: 1px solid var(--color-border);
  border-radius: 0.65rem;
  background: #fff;
  box-shadow: var(--shadow-card);
  color: var(--color-text);
  font-size: 0.78rem;
  font-weight: 500;
  line-height: 1.45;
  overflow-wrap: anywhere;
  text-align: left;
}

.personalized-result__alert-cta { margin-top: 0.85rem; }

.apply-now-alternative {
  margin: 0.85rem clamp(1rem, 3vw, 2rem) 1.2rem;
}

.apply-now-alternative > summary {
  width: fit-content;
  cursor: pointer;
}

.apply-now-alternative__panel {
  display: grid;
  grid-template-columns: minmax(13rem, 0.8fr) minmax(18rem, 1.2fr);
  gap: 1.25rem;
  margin-top: 0.85rem;
  padding: 1rem;
  border: 1px solid var(--color-border);
  border-radius: 1rem;
  background: #fff;
}

.apply-now-alternative__copy h3 { margin: 0.15rem 0 0.6rem; }
.apply-now-alternative__copy > p { max-width: 48rem; }

.apply-now-alternative__facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
  margin: 0.9rem 0;
}

.apply-now-alternative__facts > div {
  padding: 0.75rem;
  border-radius: 0.75rem;
  background: var(--color-surface-muted, #f3f5f9);
}

.apply-now-alternative__facts dt {
  color: var(--color-text-muted, #596b82);
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
}

.apply-now-alternative__facts dd {
  margin: 0.25rem 0 0;
  font-weight: 750;
}

.apply-now-alternative__safety {
  color: var(--color-text-muted, #596b82);
  font-size: 0.82rem;
}

@media (max-width: 720px) {
  .apply-now-alternative__panel,
  .apply-now-alternative__facts { grid-template-columns: 1fr; }
}

.timing-callout {
  margin-top: 1rem;
  padding: 0.8rem 0.9rem;
  border-left: 3px solid var(--color-cyan);
  background: var(--color-cyan-soft);
}

.personalized-result[data-action="no_change"] {
  border-color: rgba(25, 118, 83, 0.3);
}

.personalized-result[data-action="no_change"] .quick-result-facts__action {
  border-left-color: #197653;
  background: #edf9f5 !important;
}

/* Compact, identifying card imagery across public surfaces. */
.top-pick-winner__visual {
  min-height: 9rem;
  padding: 0.75rem;
}

.top-pick-winner__visual .card-art__image {
  width: 7.75rem;
  max-height: 7.75rem;
}

.top-pick-winner__visual .card-art__placeholder {
  width: 7.75rem;
  min-height: 5.5rem;
}

.top-pick-alternative__visual {
  min-height: 6rem;
}

.top-pick-alternative__visual .card-art__image {
  width: 5.75rem;
  max-height: 5.75rem;
}

.top-pick-alternative__visual .card-art__placeholder {
  width: 5.75rem;
  min-height: 4.4rem;
}

.catalogue-card__visual {
  min-height: 8rem;
  padding: 0.8rem;
}

.catalogue-card__visual .card-art__image {
  width: 6.25rem;
  max-height: 6.25rem;
}

.catalogue-card__visual .card-art__placeholder {
  width: 6.25rem;
  min-height: 4.75rem;
  padding: 0.65rem;
}

.card-page-visual {
  min-height: 15rem;
}

.card-page-visual .card-art__image {
  width: min(100%, 13.75rem);
  max-height: 13.75rem;
}

.card-page-visual .card-art__placeholder {
  width: min(100%, 13.75rem);
  min-height: 9rem;
}

@media (min-width: 48rem) {
  .goal-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .personalized-result__main { grid-template-columns: minmax(14rem, 0.7fr) minmax(0, 1.3fr); }
  .top-pick-winner { grid-template-columns: 9rem minmax(0, 1fr); }
  .door-grid--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 47.99rem) {
  .header-inner { min-height: 4.25rem; }
  .hero--compact { padding-top: 2rem; }
  .hero-grid { gap: 1.25rem; }
  .hero-visual--compact { width: min(88%, 23rem); }
  .analysis-inline { align-items: flex-start; }
  .personalized-card { width: clamp(5rem, 27vw, 6.9rem); }
  .personalized-card .card-art__image { height: 6rem; }
  .card-page-visual { min-height: 11rem; }
  .card-page-visual .card-art__image { width: min(100%, 11rem); max-height: 11rem; }
}

@media (prefers-reduced-motion: reduce) {
  .analysis-loading__spinner { animation-duration: 1.8s; }
}

/* UX Compactness + Offers Single Table V1 */
.hero--product {
  padding-block: clamp(1.5rem, 3vw, 2.25rem);
}

.hero--product .hero-grid {
  gap: clamp(1.25rem, 3vw, 2.5rem);
}

.hero--product .hero-copy h1 {
  margin-bottom: 0.65rem;
}

.hero--product .hero-description {
  margin-bottom: 1rem;
}

.product-preview {
  padding: clamp(0.9rem, 2vw, 1.2rem);
}

.product-preview__eyebrow {
  width: max-content;
  max-width: 100%;
  font-size: clamp(0.68rem, 1.05vw, 0.82rem) !important;
  letter-spacing: clamp(0.045em, 0.25vw, 0.09em) !important;
  line-height: 1.2 !important;
}

.product-preview__cards {
  min-height: 4.8rem;
  margin-block: 0.45rem;
}

.product-preview__cards > .product-preview__card,
.product-preview__cards .card-art__image,
.product-preview__cards .card-art__placeholder {
  width: clamp(5.2rem, 8vw, 6.2rem);
}

.product-preview__cards .card-art__image {
  max-height: 5.1rem;
}

.product-preview__value {
  padding: 0.7rem 0.8rem;
}

.product-preview__roles {
  margin-block: 0.45rem;
}

.offers-page--single-table {
  max-width: 86rem;
}

.offers-alert-banner {
  display: grid;
  grid-template-columns: 3.5rem minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  margin: 1.25rem 0 1.75rem;
  padding: 1rem 1.15rem;
  border: 1px solid var(--color-border-featured);
  border-radius: var(--radius-standard);
  background: linear-gradient(115deg, var(--color-information-surface), rgb(244 240 255 / 82%));
}

.offers-alert-banner__icon {
  display: grid;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 0.9rem;
  background: #fff;
  place-items: center;
}

.offers-alert-banner__icon .alert-feature__icon {
  width: 2.75rem;
  height: 2.75rem;
}

.offers-alert-banner .eyebrow,
.offers-alert-banner h2,
.offers-alert-banner p {
  margin: 0;
}

.offers-alert-banner h2 {
  margin-block: 0.12rem 0.25rem;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
}

.offers-alert-banner p:not(.eyebrow) {
  color: var(--color-text-secondary);
}

.offers-alert-banner__link {
  min-height: 2.75rem;
  padding: 0.7rem 0.85rem;
  border-radius: var(--radius-small);
  background: #fff;
  white-space: nowrap;
}

.offers-table-section .section-heading {
  margin-bottom: 0.9rem;
}

.offers-table {
  width: 100%;
  border: 1px solid var(--color-border-subtle);
  border-collapse: separate;
  border-spacing: 0;
  border-radius: var(--radius-standard);
  background: #fff;
  table-layout: fixed;
  overflow: hidden;
}

.offers-table thead {
  background: var(--color-neutral-surface);
}

.offers-table th,
.offers-table td {
  padding: 0.75rem 0.65rem;
  border-bottom: 1px solid var(--color-border-subtle);
  text-align: left;
  vertical-align: middle;
}

.offers-table thead th {
  color: var(--color-text-secondary);
  font-size: 0.72rem;
  letter-spacing: 0.035em;
  text-transform: uppercase;
}

.offers-table thead th:nth-child(1) { width: 4.5%; }
.offers-table thead th:nth-child(2) { width: 27%; }
.offers-table thead th:nth-child(3) { width: 9%; }
.offers-table thead th:nth-child(4) { width: 18%; }
.offers-table thead th:nth-child(5) { width: 13%; }
.offers-table thead th:nth-child(6) { width: 28.5%; }

.offers-methodology {
  display: inline-flex;
  position: relative;
  width: fit-content;
  margin-top: 0.2rem;
  align-items: center;
  gap: 0.35rem;
  color: var(--color-text-secondary);
  font-size: 0.82rem;
  font-weight: 750;
}

.offers-value-method {
  display: inline-block;
  position: relative;
  text-transform: none;
}

.offers-value-method > summary {
  display: grid;
  width: 1.75rem;
  height: 1.75rem;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  background: #fff;
  color: var(--color-purple);
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 850;
  list-style: none;
  place-items: center;
}

.offers-value-method > summary::-webkit-details-marker { display: none; }

.offers-value-method > summary:focus-visible {
  outline: 3px solid var(--color-blue);
  outline-offset: 2px;
}

.offers-value-method__popover {
  position: absolute;
  z-index: 20;
  top: calc(100% + 0.45rem);
  left: 0;
  width: min(22rem, 80vw);
  padding: 0.9rem;
  border: 1px solid var(--color-border);
  border-radius: 0.65rem;
  background: #fff;
  box-shadow: var(--shadow-card);
  color: var(--color-text);
  font-size: 0.82rem;
  letter-spacing: normal;
  line-height: 1.45;
}

.offers-value-method__popover p { margin: 0.35rem 0 0.6rem; }
.offers-value-method__popover ul { margin: 0 0 0.7rem; padding-left: 1.1rem; }
.offers-value-method__popover li + li { margin-top: 0.25rem; }

.offers-table__row--featured > * {
  background: rgb(246 243 255 / 58%);
}

.offers-table__row {
  cursor: pointer;
}

.offers-table__row > * {
  transition: background-color 140ms ease;
}

.offers-table__row:hover > * {
  background: var(--color-information-surface);
}

.offers-table__row:focus-visible {
  outline: 3px solid var(--color-blue);
  outline-offset: -3px;
}

.offers-table__rank {
  display: grid;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: var(--gradient-brand);
  color: #fff;
  font-weight: 850;
  place-items: center;
}

.offers-table__card {
  display: flex;
  gap: 0.65rem;
  align-items: center;
  min-width: 0;
}

.offers-table__visual {
  display: grid;
  width: 4.5rem;
  flex: 0 0 4.5rem;
  place-items: center;
}

.offers-table__visual .card-art__image,
.offers-table__visual .card-art__placeholder {
  width: 4.5rem;
  max-height: 3.25rem;
  object-fit: contain;
}

.offers-table__card span,
.offers-table__card strong,
.offers-table__card small {
  display: block;
  min-width: 0;
  overflow-wrap: anywhere;
}

.offers-table__card strong {
  font-size: 0.82rem;
  line-height: 1.25;
}

.offers-table__card-link {
  color: inherit;
  text-decoration: none;
}

.offers-table__card-link:hover {
  color: var(--color-link);
  text-decoration: underline;
}

.offers-table__card-link:focus-visible {
  border-radius: 0.15rem;
  outline: 3px solid var(--color-blue);
  outline-offset: 2px;
}

.offers-table__card small,
.offers-table__expiry,
.offers-table__category {
  color: var(--color-text-secondary);
  font-size: 0.74rem;
}

.offers-table__value {
  color: var(--color-positive);
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  white-space: nowrap;
}

.offers-table__value-context {
  display: block;
  margin-top: 0.3rem;
  color: var(--color-text-secondary);
  font-size: 0.68rem;
  line-height: 1.35;
}

.offers-table .quality-badge {
  width: fit-content;
  max-width: 100%;
  font-size: 0.68rem;
  overflow-wrap: anywhere;
}

.offers-table__actions {
  display: grid;
  align-items: start;
}

.offers-table__actions .button,
.offers-table__actions .offer-reminder {
  width: 100%;
}

.offers-table__actions .button {
  min-height: 2.75rem;
  padding: 0.55rem 0.65rem;
  font-size: 0.74rem;
  justify-content: center;
  text-align: center;
}

.offer-reminder {
  display: grid;
  gap: 0.35rem;
}

.offer-reminder__explanation {
  color: var(--color-text-secondary);
  font-size: 0.7rem;
  line-height: 1.4;
}

@media (min-width: 480px) {
  .product-preview__eyebrow { white-space: nowrap; }
}

@media (max-width: 900px) {
  .offers-alert-banner {
    grid-template-columns: 3.25rem minmax(0, 1fr);
  }

  .offers-alert-banner__link {
    grid-column: 1 / -1;
    width: fit-content;
  }

  .offers-table,
  .offers-table tbody,
  .offers-table tr,
  .offers-table th,
  .offers-table td {
    display: block;
    width: 100%;
  }

  .offers-table {
    border: 0;
    background: transparent;
    overflow: visible;
  }

  .offers-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }

  .offers-table__row {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 0.9rem;
    border: 1px solid var(--color-border-subtle);
    border-radius: var(--radius-standard);
    background: #fff;
    overflow: hidden;
  }

  .offers-table__row > * {
    min-width: 0;
    padding: 0.75rem;
    border-bottom: 1px solid var(--color-border-subtle);
  }

  .offers-table__row > *::before {
    display: block;
    margin-bottom: 0.25rem;
    color: var(--color-text-secondary);
    content: attr(data-label);
    font-size: 0.66rem;
    font-weight: 800;
    letter-spacing: 0.035em;
    text-transform: uppercase;
  }

  .offers-table__row > *:nth-child(2),
  .offers-table__row > *:last-child {
    grid-column: 1 / -1;
  }

}

@media (max-width: 520px) {
  .hero--product { padding-block: 1rem 1.25rem; }
  .hero--product .hero-grid { gap: 0.9rem; }
  .hero--product .hero-actions { display: grid; grid-template-columns: 1fr; gap: 0.45rem; }
  .hero--product .hero-actions .button { width: 100%; min-width: 0; white-space: normal; }
  .hero--product .hero-description,
  .hero--product .hero-reassurance { max-width: 100%; overflow-wrap: anywhere; }
  .product-preview { padding: 0.75rem; }
  .product-preview__cards { min-height: 3.9rem; }
  .product-preview__cards > .product-preview__card,
  .product-preview__cards .card-art__image,
  .product-preview__cards .card-art__placeholder { width: 4.7rem; }
  .product-preview__roles li { padding-block: 0.4rem; }
  .offers-alert-banner { padding: 0.85rem; }
  .offers-alert-banner__icon { width: 3rem; height: 3rem; }
  .offers-table__row { grid-template-columns: 1fr; }
  .offers-table__row > * { grid-column: 1 !important; }
  .offers-table__actions { align-items: stretch; flex-direction: column; }
  .offers-table__actions .button,
  .offers-table__actions .text-link { width: 100%; }
}

/* Live Strategies UX + compact icon grids */
turbo-frame#strategy-results {
  display: block;
}

.strategy-controls {
  display: block;
  margin-bottom: 0.9rem;
}

.network-policy-control {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.5rem 1rem;
  align-items: center;
  padding: 0.75rem 0.9rem;
}

.network-policy-control legend {
  grid-row: 1;
  grid-column: 1;
  padding: 0;
}

.network-policy-options {
  grid-row: 1;
  grid-column: 2;
}

.network-policy-control > p {
  grid-column: 1 / -1;
  margin: 0;
}

.persona-v4-grid,
.persona-tabs {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.65rem;
  margin-bottom: 1rem;
  overflow: visible;
}

.persona-v4-choice,
.persona-tabs .persona-v4-choice {
  display: grid;
  min-width: 0;
  min-height: 9rem;
  padding: 0.75rem;
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-standard);
  background: #fff;
  color: var(--color-text-primary);
  text-decoration: none;
  grid-template-rows: auto auto 1fr;
  align-content: start;
}

.persona-v4-choice:hover,
.persona-v4-choice.is-active {
  border-color: var(--color-border-featured);
  background: var(--color-information-surface);
  box-shadow: none;
}

.persona-v4-choice.is-active {
  box-shadow: inset 0 0 0 2px rgb(91 70 229 / 18%);
}

.persona-v4-choice strong {
  margin-top: 0.4rem;
  font-size: 0.88rem;
  line-height: 1.2;
}

.persona-v4-choice > span:not(.strategy-choice-icon) {
  margin-top: 0.28rem;
  color: var(--color-text-secondary);
  font-size: 0.72rem;
  line-height: 1.35;
}

.strategy-choice-icon {
  display: grid;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.75rem;
  background: linear-gradient(145deg, #edf5ff, #f0eaff);
  color: var(--color-purple);
  place-items: center;
}

.strategy-choice-icon svg {
  width: 1.55rem;
  height: 1.55rem;
  fill: none;
  stroke: currentcolor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.persona-panel .profile-strategy-card {
  gap: 1rem;
  padding: 1rem;
}

.persona-panel .profile-strategy-card__main > p {
  margin-block: 0.25rem 0.55rem;
}

.persona-panel .profile-card-stack {
  margin-block: 0.55rem;
}

.persona-panel .profile-card-names {
  margin-block: 0.5rem 0;
}

.persona-panel .profile-strategy-card__summary {
  padding: 0.9rem;
}

.persona-panel .profile-details > summary {
  min-height: 2.75rem;
}

.usage-selector-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.55rem;
  margin-block: 0.9rem;
}

.usage-choice {
  display: flex;
  gap: 0.6rem;
  align-items: center;
  min-width: 0;
  min-height: 4.25rem;
  padding: 0.6rem;
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-small);
  background: #fff;
  color: var(--color-text-primary);
  text-decoration: none;
}

.usage-choice:hover,
.usage-choice.is-active {
  border-color: var(--color-border-featured);
  background: var(--color-information-surface);
}

.usage-choice.is-active {
  box-shadow: inset 0 0 0 2px rgb(91 70 229 / 18%);
}

.usage-choice .strategy-choice-icon {
  width: 2.4rem;
  height: 2.4rem;
  flex: 0 0 2.4rem;
}

.usage-choice .strategy-choice-icon svg {
  width: 1.35rem;
  height: 1.35rem;
}

.usage-choice > span:last-child {
  font-size: 0.76rem;
  font-weight: 750;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.fee-tier-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 10rem));
  gap: 0.5rem;
  overflow: visible;
}

.fee-tier-grid .fee-tier-tab {
  display: grid;
  min-height: 2.75rem;
  place-items: center;
}

@media (max-width: 980px) {
  .persona-v4-grid,
  .persona-tabs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .usage-selector-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 620px) {
  .network-policy-control { grid-template-columns: 1fr; }
  .network-policy-control legend,
  .network-policy-options { grid-row: auto; grid-column: 1; }
  .network-policy-options { display: grid; grid-template-columns: 1fr; }
  .persona-v4-grid,
  .persona-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .persona-v4-choice,
  .persona-tabs .persona-v4-choice { min-height: 8.5rem; padding: 0.65rem; }
  .usage-selector-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .usage-choice { align-items: flex-start; flex-direction: column; min-height: 7rem; }
  .persona-panel .profile-strategy-card { padding: 0.75rem; }
}

@media (prefers-reduced-motion: reduce) {
  turbo-frame#strategy-results {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* Persona Strategies V3 and Top Picks V2: presentation only; Hermes remains authoritative. */
.strategy-controls {
  display: grid;
  margin-bottom: 1rem;
  gap: 0.75rem;
}

.network-policy-control {
  display: grid;
  padding: 1rem;
  border: 1px solid var(--color-border-subtle, var(--color-border));
  border-radius: 0.9rem;
  background: var(--color-surface-informational, #f3f6ff);
  gap: 0.55rem;
}

.network-policy-control legend {
  padding-inline: 0.25rem;
  color: var(--color-navy);
  font-weight: 750;
}

.network-policy-control p {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.9rem;
}

.network-policy-options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.network-policy-option {
  display: inline-flex;
  min-height: 2.75rem;
  padding: 0.55rem 0.85rem;
  border: 1px solid var(--color-border-subtle, var(--color-border));
  border-radius: 999px;
  background: #fff;
  align-items: center;
  gap: 0.45rem;
  cursor: pointer;
  font-weight: 700;
}

.network-policy-option:has(input:checked) {
  border-color: var(--color-brand-border, #6846d6);
  background: #eeeaff;
  color: #473096;
}

.persona-tabs,
.usage-tabs,
.fee-tier-tabs {
  display: flex;
  max-width: 100%;
  padding: 0.3rem;
  overflow-x: auto;
  border: 1px solid var(--color-border-subtle, var(--color-border));
  border-radius: 0.8rem;
  background: #eef2f8;
  gap: 0.25rem;
  scrollbar-width: thin;
}

.persona-tabs {
  margin-bottom: 1rem;
}

.persona-tabs .profile-tab,
.usage-tab,
.fee-tier-tab {
  display: inline-flex;
  min-height: 2.75rem;
  padding: 0.55rem 0.8rem;
  border-radius: 0.6rem;
  align-items: center;
  flex: 0 0 auto;
  color: var(--color-navy-soft);
  font-weight: 720;
  text-decoration: none;
  white-space: nowrap;
}

.persona-tabs .profile-tab:hover,
.persona-tabs .profile-tab.is-active,
.usage-tab:hover,
.usage-tab.is-active,
.fee-tier-tab:hover,
.fee-tier-tab.is-active {
  background: #fff;
  color: #5539b7;
  box-shadow: 0 3px 10px rgb(11 31 54 / 8%);
}

.fee-tier-tabs {
  width: fit-content;
  margin-top: 0.75rem;
}

.top-pick-reference-scenario {
  max-width: 62rem;
  margin: 1rem 0;
  padding: 0;
  border: 1px solid var(--color-border-subtle, var(--color-border));
  border-radius: 0.8rem;
  background: var(--color-surface-alt);
}

.top-pick-reference-scenario > summary {
  min-height: 0;
  padding: 0.75rem 1rem;
  font-size: 0.88rem;
}

.top-pick-reference-scenario__body {
  gap: 0.7rem;
  padding: 0 1rem 1rem;
}

.top-pick-reference-scenario__body > p:first-child {
  margin: 0;
  color: var(--color-muted);
}

.top-pick-reference-scenario .scenario-spend-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.45rem 1.25rem;
}

.top-pick-net-value-note {
  margin: 0.85rem 0 0;
  padding: 0.7rem 0.8rem;
  border-radius: 0.6rem;
  background: var(--color-surface-informational, #f3f6ff);
  color: var(--color-navy-soft);
  font-size: 0.9rem;
  line-height: 1.5;
}

.top-pick-ranking-context {
  max-width: 62rem;
  margin: 0 0 1rem;
  padding: 0.8rem 1rem;
  border-left: 3px solid var(--color-brand-border, #6846d6);
  border-radius: 0 0.65rem 0.65rem 0;
  background: var(--color-surface-informational, #f3f6ff);
  color: var(--color-navy-soft);
  font-size: 0.92rem;
}

.top-pick-ranking-context,
.top-pick-result-v2__reason {
  line-height: 1.55;
}

.responsible-complexity {
  padding: 1rem;
  border: 1px solid var(--color-border-subtle, var(--color-border));
  border-radius: 0.8rem;
  background: var(--color-surface-informational, #f3f6ff);
}

.responsible-complexity p {
  margin-bottom: 0;
}

.top-pick-results-v2 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.top-pick-result-v2 {
  position: relative;
  display: grid;
  min-width: 0;
  padding: 1rem;
  border: 1px solid var(--color-border-subtle, var(--color-border));
  border-radius: 0.9rem;
  background: #fff;
  align-content: start;
  gap: 0.8rem;
  box-shadow: var(--shadow-standard, 0 8px 24px rgb(7 27 51 / 6%));
}

.top-pick-result-v2:first-child {
  border-color: var(--color-brand-border, #6846d6);
  box-shadow: var(--shadow-featured, 0 16px 36px rgb(68 49 150 / 12%));
}

.top-pick-result-v2__visual {
  display: grid;
  min-height: 8rem;
  place-items: center;
}

.top-pick-result-v2__visual .card-art__image,
.top-pick-result-v2__visual .card-art__placeholder {
  width: min(100%, 11rem);
  height: 8rem;
  object-fit: contain;
}

.top-pick-result-v2__copy h3 {
  min-height: 2.6em;
  margin-bottom: 0.65rem;
}

.top-pick-result-v2__value {
  display: grid;
  margin-bottom: 0.8rem;
}

.top-pick-result-v2__value span {
  color: var(--color-muted);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

.top-pick-result-v2__value strong {
  color: var(--color-positive, #16704a);
  font-size: 1.6rem;
}

.top-pick-result-v2 .top-pick-facts {
  grid-template-columns: 1fr;
}

@media (max-width: 860px) {
  .top-pick-results-v2 {
    grid-template-columns: 1fr;
  }

  .top-pick-result-v2 {
    grid-template-columns: minmax(7rem, 10rem) minmax(0, 1fr);
  }

  .top-pick-result-v2 > .alternative-rank {
    position: absolute;
    top: 0.7rem;
    left: 0.7rem;
  }
}

@media (max-width: 540px) {
  .top-pick-reference-scenario .scenario-spend-list {
    grid-template-columns: 1fr;
  }

  .top-pick-result-v2 {
    grid-template-columns: 1fr;
  }

  .top-pick-result-v2__copy h3 {
    min-height: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .persona-tabs .profile-tab,
  .usage-tab,
  .fee-tier-tab,
  .top-pick-result-v2 {
    scroll-behavior: auto;
    transition: none !important;
  }
}

/* Profile Strategies V1: contract order and values, progressively disclosed. */
.profile-picks,
.usage-picks {
  margin-top: clamp(2.5rem, 7vw, 5rem);
}

.profile-picks__heading {
  max-width: 48rem;
  margin-bottom: 1.5rem;
}

.profile-picks__heading h2 {
  margin-block: 0.35rem 0.65rem;
  color: var(--color-navy);
  font-size: clamp(1.8rem, 5vw, 2.8rem);
  letter-spacing: -0.035em;
}

.profile-tabs {
  display: flex;
  gap: 0.55rem;
  padding: 0.2rem 0.1rem 0.8rem;
  overflow-x: auto;
  scrollbar-width: thin;
}

.profile-tab {
  flex: 0 0 auto;
  min-height: 2.75rem;
  padding: 0.65rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  color: var(--color-navy);
  background: #fff;
  cursor: pointer;
  font: inherit;
  font-size: 0.85rem;
  font-weight: 750;
}

.profile-tab:hover,
.profile-tab.is-active,
.profile-tab[aria-selected="true"] {
  border-color: var(--color-blue);
  color: #fff;
  background: var(--color-blue);
}

.profile-panel[hidden] { display: none; }

.profile-panel {
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: 1.35rem;
  background: #fff;
  box-shadow: var(--shadow-card);
}

.profile-strategy-card {
  display: grid;
  gap: 1.5rem;
  padding: clamp(1.25rem, 4vw, 2.25rem);
  background: linear-gradient(145deg, #f7fbff, #fff 58%);
}

.profile-strategy-card h3 {
  margin: 0.35rem 0 1.2rem;
  color: var(--color-navy);
  font-size: clamp(1.55rem, 4.5vw, 2.35rem);
  line-height: 1.08;
}

.profile-card-stack {
  display: flex;
  align-items: center;
  min-height: 7.5rem;
  padding: 0.4rem 0.6rem;
}

.profile-card-stack__item {
  position: relative;
  width: 7rem;
  flex: 0 0 7rem;
}

.profile-card-stack__item + .profile-card-stack__item { margin-left: -1.65rem; }
.profile-card-stack__item:nth-child(1) { z-index: 3; }
.profile-card-stack__item:nth-child(2) { z-index: 2; }
.profile-card-stack__item:nth-child(3) { z-index: 1; }

.profile-card-stack .card-art__image {
  width: 7rem;
  height: 6.5rem;
  object-fit: contain;
  filter: drop-shadow(0 0.7rem 0.7rem rgb(7 27 51 / 18%));
}

.profile-card-stack .card-art__placeholder {
  width: 7rem;
  min-height: 4.8rem;
  padding: 0.55rem;
  box-shadow: 0 0.7rem 1rem rgb(7 27 51 / 14%);
}

.profile-card-stack .card-art__name { font-size: 0.65rem; }
.profile-card-stack .card-art__status,
.profile-card-stack .card-art__issuer { display: none; }

.profile-card-names {
  display: grid;
  gap: 0.25rem;
  margin: 0.8rem 0 0;
  padding-left: 1.15rem;
  color: var(--color-text);
  font-size: 0.83rem;
}

.profile-strategy-card__summary {
  align-self: center;
}

.strategy-card-count {
  display: inline-flex;
  margin-bottom: 0.7rem;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  color: #24505b;
  background: var(--color-cyan-soft);
  font-size: 0.75rem;
  font-weight: 800;
}

.profile-delta {
  margin: 0.85rem 0 0;
  color: #176a50;
  font-size: 0.86rem;
}

.profile-delta strong { font-size: 1.05rem; }

.profile-single-message {
  padding: 0.85rem;
  border-left: 3px solid #197653;
  border-radius: 0.55rem;
  background: #edf9f5;
  font-size: 0.88rem;
}

.profile-details {
  border-top: 1px solid var(--color-border);
  background: var(--color-surface-alt);
}

.profile-details > summary {
  min-height: 3.6rem;
  padding: 1.1rem clamp(1.25rem, 4vw, 2.25rem);
  color: var(--color-blue-dark);
  cursor: pointer;
  font-weight: 800;
}

.profile-details__body {
  display: grid;
  gap: 1.5rem;
  padding: 0 clamp(1.25rem, 4vw, 2.25rem) 1.5rem;
}

.profile-details__body h4,
.profile-analysis-grid h4 {
  margin: 0 0 0.6rem;
  color: var(--color-navy);
}

.profile-allocations {
  display: grid;
  gap: 0.6rem;
}

.profile-allocations article {
  padding: 0.8rem;
  border: 1px solid var(--color-border);
  border-radius: 0.75rem;
  background: #fff;
}

.profile-allocations p { margin: 0.25rem 0 0; color: var(--color-muted); font-size: 0.82rem; }
.profile-allocation-value {
  display: flex;
  margin-top: 0.55rem !important;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  color: var(--color-navy) !important;
}
.profile-allocation-value span { font-size: 0.72rem; }
.profile-allocation-value strong { color: var(--color-positive); font-size: 1rem; white-space: nowrap; }
.profile-allocation-note { margin: 0.75rem 0 0; color: var(--color-muted); font-size: 0.78rem; }
.reference-value small { display: block; margin-top: 0.35rem; color: var(--color-muted); font-size: 0.72rem; line-height: 1.4; }
.profile-details--analysis { border: 1px solid var(--color-border); border-radius: 0.8rem; background: #fff; }
.profile-analysis-grid { display: grid; gap: 1.4rem; padding: 0 1rem 1rem; }

.profile-solo {
  display: grid;
  grid-template-columns: 6.5rem minmax(0, 1fr);
  gap: 1rem;
  align-items: center;
  padding: 1.25rem clamp(1.25rem, 4vw, 2.25rem);
  border-top: 1px solid var(--color-border);
}

.profile-solo__visual { display: grid; min-height: 5.5rem; place-items: center; }
.profile-solo__visual .card-art__image { width: 6.5rem; max-height: 6.5rem; object-fit: contain; }
.profile-solo__visual .card-art__placeholder { width: 6.5rem; min-height: 4.7rem; padding: 0.55rem; }
.profile-solo__visual .card-art__status,
.profile-solo__visual .card-art__issuer { display: none; }
.profile-solo h4 { margin: 0.2rem 0 0.5rem; color: var(--color-navy); }

.profile-personal-cta {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  align-items: flex-start;
  padding: 1.1rem clamp(1.25rem, 4vw, 2.25rem);
  border-top: 1px solid #b8e5eb;
  background: var(--color-cyan-soft);
}

.profile-personal-cta p { margin: 0; }

.profile-unavailable {
  margin-top: 1.5rem;
  padding: 1.2rem;
  border: 1px solid var(--color-border);
  border-radius: 1rem;
  background: var(--color-surface-alt);
}

.profile-unavailable h2 { margin-top: 0; color: var(--color-navy); font-size: 1.2rem; }
.profile-unavailable .status-pill { margin-right: 0.4rem; }
.usage-picks { padding-top: 1rem; border-top: 1px solid var(--color-border); }
.top-pick-winner h3 { margin: 0.45rem 0 1.2rem; color: var(--color-navy); font-size: clamp(1.35rem, 4vw, 2rem); line-height: 1.1; }

@media (min-width: 48rem) {
  .profile-strategy-card { grid-template-columns: minmax(0, 1.1fr) minmax(16rem, 0.9fr); }
  .profile-allocations { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .profile-personal-cta { flex-direction: row; align-items: center; justify-content: space-between; }
}

@media (max-width: 47.99rem) {
  .top-picks-hero--strategies h1 { font-size: clamp(2rem, 10vw, 3rem); }
  .profile-card-stack__item { width: 5.6rem; flex-basis: 5.6rem; }
  .profile-card-stack__item + .profile-card-stack__item { margin-left: -1.25rem; }
  .profile-card-stack .card-art__image { width: 5.6rem; height: 5.4rem; }
  .profile-card-stack .card-art__placeholder { width: 5.6rem; min-height: 4.2rem; }
  .profile-card-names { font-size: 0.77rem; }
}

/* Top Picks V1: reference rankings from Hermes, progressively disclosed. */
.top-picks-hero {
  padding-block: clamp(3.5rem, 9vw, 7rem) 3rem;
  text-align: center;
  background:
    radial-gradient(circle at 50% 0%, rgb(34 199 223 / 16%), transparent 25rem),
    linear-gradient(180deg, #f7fbff, #fff);
}

.top-picks-hero h1 {
  max-width: 18ch;
  margin: 0.5rem auto 1rem;
  color: var(--color-navy);
  font-size: clamp(2.3rem, 8vw, 4.5rem);
  line-height: 1.02;
  letter-spacing: -0.055em;
}

.top-picks-hero .page-intro,
.reference-caveat {
  max-width: 49rem;
  margin-inline: auto;
}

.top-picks-hero__actions,
.top-pick-actions {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  justify-content: center;
  margin-top: 1.6rem;
}

.reference-caveat {
  margin-top: 1rem;
  color: var(--color-muted);
  font-size: 0.82rem;
}

.top-picks-page {
  padding-block: 1.5rem 5rem;
}

.top-picks-context {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  margin-bottom: 1.5rem;
  padding: 1rem 1.2rem;
  border: 1px solid #b8e5eb;
  border-radius: 0.9rem;
  background: var(--color-cyan-soft);
  color: #24505b;
}

.top-picks-context span {
  font-size: 0.82rem;
}

.top-picks-list {
  display: grid;
  gap: 1.4rem;
}

.top-pick-category {
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: 1.35rem;
  background: #fff;
  box-shadow: var(--shadow-card);
  scroll-margin-top: 6rem;
}

.top-pick-category__header {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding: 1.25rem 1.25rem 0;
}

.top-pick-category__header .eyebrow {
  margin: 0;
}

.near-tie-note {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.7rem 0.85rem;
  border-left: 3px solid var(--color-cyan);
  border-radius: 0.5rem;
  background: #f2fbfc;
  color: #24505b;
  font-size: 0.78rem;
}

.top-pick-winner {
  display: grid;
  gap: 1rem;
  padding: 1.25rem;
}

.top-pick-winner__visual {
  display: grid;
  min-height: 13rem;
  padding: 1rem;
  place-items: center;
  border-radius: 1rem;
  background: linear-gradient(145deg, #eef8fd, #f8fbfd);
}

.top-pick-winner__visual .card-art__image {
  width: min(100%, 22rem);
  height: auto;
  max-height: 13rem;
  object-fit: contain;
  filter: drop-shadow(0 1rem 1.2rem rgb(7 27 51 / 18%));
}

.top-pick-winner__visual .card-art__placeholder {
  width: min(100%, 22rem);
  min-height: 12rem;
}

.top-pick-winner__copy {
  align-self: center;
}

.winner-label,
.alternative-rank {
  color: var(--color-blue-dark);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.top-pick-winner h2 {
  margin: 0.45rem 0 1.2rem;
  color: var(--color-navy);
  font-size: clamp(1.6rem, 5vw, 2.35rem);
  line-height: 1.08;
}

.reference-value {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.9rem 1rem;
  border-radius: 0.8rem;
  background: var(--color-surface-alt);
}

.reference-value span {
  color: var(--color-muted);
  font-size: 0.76rem;
}

.reference-value strong {
  color: var(--color-navy);
  font-size: 1.2rem;
}

.top-pick-reason {
  margin: 1rem 0 0;
  color: var(--color-text);
}

.top-pick-details {
  border-top: 1px solid var(--color-border);
  background: var(--color-surface-alt);
}

.top-pick-details > summary {
  min-height: 3.8rem;
  padding: 1.15rem 1.25rem;
  color: var(--color-blue-dark);
  cursor: pointer;
  font-weight: 800;
  list-style-position: inside;
}

.top-pick-details__body {
  display: grid;
  gap: 2rem;
  padding: 0 1.25rem 1.5rem;
}

.top-pick-details h3 {
  margin-bottom: 0.5rem;
  color: var(--color-navy);
}

.top-pick-details h4 {
  margin-block: 1rem 0.4rem;
  color: var(--color-navy);
}

.top-pick-facts,
.methodology-metadata {
  display: grid;
  gap: 0.65rem;
  margin-block: 1rem;
}

.top-pick-facts div,
.methodology-metadata div {
  display: grid;
  gap: 0.15rem;
  padding: 0.8rem;
  border: 1px solid var(--color-border);
  border-radius: 0.7rem;
  background: #fff;
}

.top-pick-facts dt,
.methodology-metadata dt {
  color: var(--color-muted);
  font-size: 0.72rem;
  font-weight: 750;
}

.top-pick-facts dd,
.methodology-metadata dd {
  margin: 0;
  overflow-wrap: anywhere;
  font-weight: 750;
}

.scenario-spend-list,
.contract-code-list {
  display: grid;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.scenario-spend-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.45rem;
  border-bottom: 1px solid var(--color-border);
}

.scenario-spend-list span {
  color: var(--color-muted);
}

.contract-code-list li {
  overflow-wrap: anywhere;
}

.top-pick-alternatives {
  display: grid;
  gap: 0.8rem;
}

.top-pick-alternative {
  display: grid;
  align-content: start;
  gap: 0.45rem;
  padding: 1rem;
  border: 1px solid var(--color-border);
  border-radius: 0.9rem;
  background: #fff;
}

.top-pick-alternative__visual {
  display: grid;
  min-height: 8rem;
  margin-bottom: 0.3rem;
  place-items: center;
}

.top-pick-alternative__visual .card-art__image {
  width: min(100%, 13rem);
  height: auto;
  max-height: 7rem;
  object-fit: contain;
}

.top-pick-alternative__visual .card-art__placeholder {
  width: min(100%, 13rem);
  min-height: 7rem;
}

.top-pick-alternative h4 {
  margin: 0;
}

.top-pick-alternative small {
  color: var(--color-muted);
}

.near-tie-badge {
  width: fit-content;
  padding: 0.22rem 0.5rem;
  border-radius: 999px;
  background: var(--color-cyan-soft);
  color: #24505b;
  font-size: 0.7rem;
  font-weight: 800;
}

.unavailable-categories,
.top-picks-trust {
  margin-top: 3rem;
  padding: clamp(1.25rem, 4vw, 2rem);
  border-radius: var(--radius-card);
}

.unavailable-categories {
  border: 1px solid var(--color-border);
  background: var(--color-surface-alt);
}

.unavailable-categories h2,
.top-picks-trust h2 {
  color: var(--color-navy);
}

.unavailable-grid {
  display: grid;
  gap: 0.8rem;
  margin-top: 1.25rem;
}

.unavailable-grid article {
  padding: 1rem;
  border: 1px solid var(--color-border);
  border-radius: 0.8rem;
  background: #fff;
}

.unavailable-grid h3,
.unavailable-grid p {
  margin: 0;
}

.unavailable-grid p {
  margin-top: 0.45rem;
  color: var(--color-muted);
  font-size: 0.86rem;
}

.top-picks-trust {
  color: #fff;
  background: linear-gradient(135deg, var(--color-navy), #123b63);
}

.top-picks-trust h2 {
  color: #fff;
}

.top-picks-trust p:last-child {
  margin-bottom: 0;
  color: #bcecf2;
}

.methodology-hero {
  padding-bottom: 3rem;
}

.methodology-page {
  padding-block: 2rem 5rem;
}

.methodology-metadata {
  grid-template-columns: 1fr;
}

.methodology-sections {
  display: grid;
  gap: 1rem;
  margin-block: 2rem 3rem;
}

.methodology-sections section {
  padding: 1.2rem;
  border-left: 3px solid var(--color-cyan);
  border-radius: 0.7rem;
  background: var(--color-surface-alt);
}

.methodology-sections h2,
.methodology-sections p {
  margin: 0;
}

.methodology-sections p {
  margin-top: 0.5rem;
}

.methodology-scenarios > h2 {
  color: var(--color-navy);
}

.methodology-scenario-list {
  display: grid;
  gap: 0.65rem;
}

.methodology-scenario-list details {
  border: 1px solid var(--color-border);
  border-radius: 0.8rem;
  background: #fff;
}

.methodology-scenario-list summary {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 1rem;
  color: var(--color-navy);
  cursor: pointer;
  font-weight: 800;
}

.methodology-scenario-list summary small {
  color: var(--color-muted);
  font-weight: 500;
}

.methodology-scenario-list details > div {
  padding: 0 1rem 1rem;
}

@media (min-width: 40rem) {
  .top-picks-hero__actions,
  .top-pick-actions {
    flex-direction: row;
  }

  .top-picks-context {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .top-pick-facts,
  .methodology-metadata,
  .top-pick-alternatives,
  .unavailable-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 48rem) {
  .door-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .top-pick-winner {
    grid-template-columns: minmax(14rem, 0.85fr) minmax(0, 1.15fr);
    gap: 2rem;
    padding: 2rem;
  }

  .top-pick-details__body {
    padding: 0 2rem 2rem;
  }

  .top-pick-category__header {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 2rem 0;
  }

  .near-tie-note {
    max-width: 23rem;
  }

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

@media (min-width: 70rem) {
  .door-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .unavailable-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Card catalogue */
.catalogue-hero {
  padding-bottom: 2.5rem;
}

.catalogue-page {
  padding-block: 2rem 5rem;
}

.catalogue-filters {
  display: grid;
  gap: 1rem;
  padding: 1.25rem;
  margin-bottom: 2rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-soft);
}

.catalogue-filters label {
  display: block;
  margin-bottom: 0.4rem;
  color: var(--color-navy);
  font-size: 0.85rem;
  font-weight: 750;
}

.catalogue-filters input,
.catalogue-filters select {
  width: 100%;
  min-height: 3rem;
  padding: 0.65rem 0.8rem;
  color: var(--color-text);
  background: #fff;
  border: 1px solid var(--color-border-strong);
  border-radius: 0.75rem;
  font: inherit;
}

.catalogue-filters .button,
.catalogue-filters__reset {
  align-self: end;
}

.catalogue-result-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
  color: var(--color-muted);
  font-size: 0.9rem;
}

.catalogue-result-heading p {
  margin: 0;
  color: var(--color-navy);
  font-weight: 800;
}

.catalogue-grid {
  display: grid;
  gap: 1rem;
}

.catalogue-card {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-soft);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.catalogue-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}

.catalogue-card__visual {
  display: grid;
  min-height: 13rem;
  padding: 1.25rem;
  place-items: center;
  background: linear-gradient(145deg, #eef8fd, #f8fbfd);
}

.catalogue-card__visual .card-art__image,
.card-page-visual .card-art__image {
  width: min(100%, 22rem);
  height: auto;
  max-height: 14rem;
  object-fit: contain;
  filter: drop-shadow(0 1rem 1.2rem rgb(7 27 51 / 18%));
}

.catalogue-card__visual .card-art__placeholder {
  width: min(100%, 21rem);
  min-height: 11.5rem;
}

.catalogue-card__body {
  display: grid;
  gap: 0.7rem;
  padding: 1.25rem;
}

.catalogue-card__body h2 {
  margin: 0;
  font-size: 1.15rem;
  line-height: 1.25;
}

.catalogue-card__body h2 a {
  color: var(--color-navy);
  text-decoration: none;
}

.catalogue-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.8rem;
  color: var(--color-muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.catalogue-card__meta span + span::before {
  margin-right: 0.8rem;
  content: "·";
}

.catalogue-card__offer {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.9rem;
}

.card-art__issuer {
  color: rgb(255 255 255 / 78%);
  font-size: 0.78rem;
}

.card-page-hero {
  padding-block: clamp(2rem, 6vw, 5rem);
  background: linear-gradient(145deg, #f7fbfe 0%, #eef8fd 100%);
}

.card-page-hero__grid {
  display: grid;
  gap: 2rem;
}

.card-page-visual {
  display: grid;
  min-height: 18rem;
  padding: 1.5rem;
  place-items: center;
}

.card-page-visual .card-art__placeholder {
  width: min(100%, 28rem);
  min-height: 16rem;
}

.card-page-summary {
  align-self: center;
}

.card-page-summary h1 {
  max-width: 18ch;
  margin-block: 0.75rem 1.25rem;
  color: var(--color-navy);
  font-size: clamp(2rem, 7vw, 3.6rem);
  line-height: 1.04;
}

.card-facts {
  display: grid;
  gap: 0.8rem;
  margin-block: 1.5rem;
}

.card-facts div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--color-border);
}

.card-facts dt {
  color: var(--color-muted);
}

.card-facts dd {
  margin: 0;
  color: var(--color-navy);
  font-weight: 800;
  text-align: right;
}

.card-application-cta {
  width: 100%;
}

.affiliate-disclosure {
  max-width: 52ch;
  margin-top: 0.75rem;
  color: var(--color-muted);
  font-size: 0.78rem;
}

.card-page-stack {
  padding-block: 2.5rem 5rem;
}

.card-spending-level {
  margin-bottom: 0.75rem;
}

.card-spending-level fieldset {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0;
  padding: 0.55rem 0.65rem;
  border: 1px solid var(--color-border-subtle);
  border-radius: 0.8rem;
  background: var(--color-surface-informational, #f3f6ff);
}

.card-spending-level legend {
  padding: 0;
  color: var(--color-text-secondary);
  font-size: 0.78rem;
  font-weight: 800;
}

.card-spending-level__options {
  display: grid;
  flex: 1;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.25rem;
}

.card-spending-level__option {
  display: grid;
  min-height: 2.6rem;
  align-content: center;
  justify-items: center;
  gap: 0.05rem;
  padding: 0.3rem 0.55rem;
  border: 1px solid transparent;
  border-radius: 0.65rem;
  color: var(--color-navy);
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 800;
  line-height: 1.15;
}

.card-spending-level__option small {
  color: var(--color-text-secondary);
  font-size: 0.7rem;
  font-weight: 650;
}

.card-spending-level__option:has(input:checked) {
  border-color: color-mix(in srgb, var(--color-primary) 35%, transparent);
  background: #fff;
  box-shadow: 0 1px 4px rgb(35 25 75 / 12%);
}

.card-spending-level__option:has(input:focus-visible) {
  outline: 3px solid var(--color-focus, var(--color-primary));
  outline-offset: 2px;
}

.card-first-year-value {
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  background: #fff;
  box-shadow: var(--shadow-card);
}

.card-first-year-value > summary {
  display: flex;
  min-height: 5.5rem;
  justify-content: space-between;
  align-items: center;
  gap: 1.25rem;
  padding: 1.1rem 1.25rem;
  cursor: pointer;
  list-style: none;
}

.card-first-year-value > summary::-webkit-details-marker { display: none; }
.card-first-year-value > summary::after { content: "+"; color: var(--color-link); font-size: 1.5rem; font-weight: 800; }
.card-first-year-value[open] > summary::after { content: "−"; }
.card-first-year-value > summary:focus-visible { outline: 3px solid var(--color-blue); outline-offset: -3px; }

.card-first-year-value__heading { display: grid; gap: 0.25rem; }
.card-first-year-value__heading .eyebrow { margin: 0; }
.card-first-year-value__heading strong { color: var(--color-navy); font-size: 1.05rem; }
.card-first-year-value__amount { margin-left: auto; color: var(--color-positive); font-size: clamp(1.1rem, 2vw, 1.45rem); font-weight: 850; white-space: nowrap; }

.card-first-year-value__content {
  display: grid;
  gap: 1.15rem;
  padding: 0 1.25rem 1.35rem;
  border-top: 1px solid var(--color-border-subtle);
}

.card-first-year-value__content > p:first-child { margin: 1.15rem 0 0; }
.card-first-year-value__content h3 { margin: 0 0 0.5rem; color: var(--color-navy); font-size: 1rem; }

.card-first-year-value__breakdown {
  display: grid;
  gap: 0.55rem;
  margin: 0;
}

.card-first-year-value__breakdown > div { display: flex; justify-content: space-between; gap: 1rem; padding-top: 0.55rem; border-top: 1px solid var(--color-border-subtle); }
.card-first-year-value__breakdown dt { color: var(--color-text-secondary); }
.card-first-year-value__breakdown dd { margin: 0; font-weight: 750; text-align: right; }
.card-first-year-value__method { margin: 0; color: var(--color-text-secondary); font-size: 0.8rem; line-height: 1.5; }

@media (max-width: 40rem) {
  .card-spending-level fieldset { display: grid; gap: 0.35rem; }
  .card-spending-level__option { padding-inline: 0.2rem; }
  .card-first-year-value > summary { position: relative; align-items: flex-start; flex-wrap: wrap; padding-right: 3.5rem; }
  .card-first-year-value > summary::after { position: absolute; top: 1.1rem; right: 1.25rem; }
  .card-first-year-value__amount { order: 3; width: 100%; margin-left: 0; }
  .card-first-year-value__breakdown > div { display: grid; gap: 0.2rem; }
  .card-first-year-value__breakdown dd { text-align: left; }
}

.card-offer-panel {
  display: grid;
  gap: 1.25rem;
  padding: clamp(1.25rem, 4vw, 2rem);
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
}

.card-offer-panel h2,
.card-details h2 {
  margin-block: 0.3rem 0.8rem;
  color: var(--color-navy);
}

.card-details {
  margin-top: 1.25rem;
  padding: 1.25rem;
  background: var(--color-surface-soft);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
}

.card-details > summary {
  width: 100%;
  list-style: none;
  cursor: pointer;
}

.card-details > summary::-webkit-details-marker {
  display: none;
}

.card-details__content {
  display: grid;
  gap: 2rem;
  padding-top: 1.5rem;
}

.provenance-list {
  display: grid;
  gap: 0.8rem;
}

.provenance-list div {
  display: grid;
  gap: 0.2rem;
}

.provenance-list dt {
  color: var(--color-muted);
  font-size: 0.82rem;
  font-weight: 750;
}

.provenance-list dd {
  margin: 0;
  overflow-wrap: anywhere;
}

.catalogue-boundary {
  padding: 1rem;
  color: var(--color-muted);
  background: #fff;
  border-left: 3px solid var(--color-cyan);
  border-radius: 0.5rem;
  font-size: 0.88rem;
}

@media (min-width: 40rem) {
  .catalogue-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .catalogue-filters {
    grid-template-columns: minmax(12rem, 2fr) repeat(2, minmax(10rem, 1fr));
    align-items: end;
  }

  .catalogue-filters .text-link {
    grid-column: 1 / -1;
  }

  .card-application-cta {
    width: auto;
  }
}

@media (min-width: 64rem) {
  .catalogue-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .card-page-hero__grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(20rem, 0.9fr);
    align-items: center;
  }

  .card-offer-panel {
    grid-template-columns: minmax(12rem, 0.7fr) minmax(0, 1.3fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}

/* Portfolio UX V1: simple by default, powerful on demand. */
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(1px, 1px, 1px, 1px) !important;
  white-space: nowrap !important;
}

.fieldset-reset {
  margin: 0;
  padding: 0;
  border: 0;
}

.future-note {
  display: block;
  margin-top: auto;
  color: var(--color-muted);
}

.door-link--disabled {
  margin-top: 0.8rem;
  color: var(--color-muted);
}

.wizard-page {
  min-height: calc(100vh - 4.5rem);
  padding: 2rem 0 5rem;
  background:
    radial-gradient(circle at 90% 10%, rgba(34, 199, 223, 0.12), transparent 22rem),
    var(--color-surface-alt);
}

.wizard-shell {
  max-width: 49rem;
}

.wizard-header {
  margin-bottom: 1rem;
}

.wizard-exit {
  display: inline-flex;
  margin-bottom: 1.5rem;
  font-size: 0.88rem;
}

.progress-label {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.45rem;
  color: var(--color-muted);
  font-size: 0.8rem;
  font-weight: 700;
}

.progress-track {
  height: 0.42rem;
  overflow: hidden;
  border-radius: 999px;
  background: #dce7f1;
}

.progress-track span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--color-blue), var(--color-cyan));
  transition: width 180ms ease;
}

.wizard-card {
  padding: clamp(1.25rem, 5vw, 2.4rem);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  background: var(--color-surface);
  box-shadow: var(--shadow-card);
}

.wizard-question > h1,
.wizard-question > legend {
  display: block;
  width: 100%;
  margin-bottom: 0.65rem;
  color: var(--color-navy);
  font-size: clamp(1.75rem, 6vw, 2.45rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.035em;
}

.question-help {
  margin-bottom: 1.6rem;
  color: var(--color-muted);
  font-size: 1rem;
}

.choice-grid,
.preference-list,
.spend-fields {
  display: grid;
  gap: 0.75rem;
}

.choice-card,
.toggle-choice,
.card-choice {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1rem;
  border: 1px solid var(--color-border);
  border-radius: 0.9rem;
  background: var(--color-surface);
  cursor: pointer;
  transition: border-color 140ms ease, background 140ms ease, box-shadow 140ms ease;
}

.choice-card:hover,
.toggle-choice:hover,
.card-choice:hover {
  border-color: rgba(23, 104, 213, 0.45);
}

.choice-card:has(input:checked),
.toggle-choice:has(input:checked),
.card-choice:has(input:checked) {
  border-color: var(--color-blue);
  background: #f2f7ff;
  box-shadow: 0 0 0 2px rgba(23, 104, 213, 0.09);
}

.choice-card input,
.toggle-choice input,
.card-choice input {
  width: 1.2rem;
  height: 1.2rem;
  flex: 0 0 1.2rem;
  accent-color: var(--color-blue);
}

.choice-card span,
.toggle-choice span,
.card-choice > span:last-child {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.choice-card small,
.toggle-choice small,
.card-choice small {
  color: var(--color-muted);
  font-size: 0.78rem;
  overflow-wrap: anywhere;
}

.field-label,
.money-field label {
  display: block;
  margin-bottom: 0.4rem;
  color: var(--color-navy-soft);
  font-size: 0.84rem;
  font-weight: 750;
}

.select-input,
.search-input,
.money-field input {
  width: 100%;
  min-height: 3.2rem;
  border: 1px solid #bdcbd9;
  border-radius: 0.7rem;
  background: #fff;
  color: var(--color-text);
  font: inherit;
  font-size: 1rem;
}

.select-input,
.search-input {
  padding: 0.72rem 0.85rem;
}

.select-input:focus,
.search-input:focus,
.money-field input:focus {
  border-color: var(--color-blue);
  outline: 0;
  box-shadow: var(--focus-ring);
}

.money-field > span {
  position: relative;
  display: block;
}

.money-field b {
  position: absolute;
  top: 50%;
  left: 0.85rem;
  color: var(--color-muted);
  transform: translateY(-50%);
}

.money-field input {
  padding: 0.7rem 0.8rem 0.7rem 1.8rem;
}

.field-hint {
  margin: 0.8rem 0 0;
  color: var(--color-muted);
  font-size: 0.78rem;
}

.more-fields {
  margin-top: 1.3rem;
  border-top: 1px solid var(--color-border);
  padding-top: 1rem;
}

.more-fields summary,
.structured-profile summary {
  width: fit-content;
  color: var(--color-blue-dark);
  cursor: pointer;
  font-weight: 750;
}

.spend-fields--optional {
  margin-top: 1rem;
}

.selected-card-summary {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  margin: 0.75rem 0;
  padding: 0.75rem;
  border-radius: 0.7rem;
  background: var(--color-cyan-soft);
  color: #24505b;
  font-size: 0.8rem;
}

.selected-card-summary [data-card-search-target="selected"] {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.selected-card-summary__item {
  display: inline-flex;
  min-height: 2.75rem;
  padding: 0.35rem 0.4rem 0.35rem 0.65rem;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid rgb(36 80 91 / 18%);
  border-radius: 999px;
  background: #fff;
}

.selected-card-summary__remove {
  min-height: 2.1rem;
  padding-inline: 0.65rem;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  background: var(--color-background-soft);
  color: var(--color-link);
  cursor: pointer;
  font: inherit;
  font-weight: 750;
}

.selected-card-summary__remove:hover { border-color: var(--color-link); }
.selected-card-summary__remove:focus-visible { outline: 3px solid var(--color-blue); outline-offset: 2px; }

.card-offer-public-facts {
  display: grid;
  gap: 0.55rem;
  margin: 0;
}

.card-offer-public-facts > div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 0.6rem;
  border-top: 1px solid var(--color-border-subtle);
}

.card-offer-public-facts dt { color: var(--color-text-secondary); }
.card-offer-public-facts dd { margin: 0; font-weight: 750; text-align: right; }
.card-offer-public-facts__method { display: inline-flex; align-items: center; gap: 0.4rem; }
.card-offer-summary { color: var(--color-text-secondary); font-size: 1rem; }

.offer-quality-v2__details-body h3,
.offer-quality-v2__details-body h4 { margin: 0 0 0.45rem; color: var(--color-navy); }
.offer-quality-v2__confidence { padding-left: 0.65rem; border-left: 2px solid var(--color-purple); }

.card-choice-list {
  display: grid;
  max-height: 24rem;
  gap: 0.55rem;
  overflow-y: auto;
  padding: 0.15rem 0.3rem 0.15rem 0;
}

.card-choice[hidden] {
  display: none;
}

.card-choice__placeholder,
.card-choice__image {
  display: grid;
  width: 2.8rem;
  height: 2.8rem;
  flex: 0 0 2.8rem;
  place-items: center;
  border-radius: 0.65rem;
  background: linear-gradient(145deg, var(--color-navy), #1a5c92);
  color: var(--color-cyan);
  font-size: 0.8rem;
  font-weight: 850;
  object-fit: contain;
}

.field-group {
  margin-bottom: 1.4rem;
}

.number-choices {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.55rem;
}

.number-choices label {
  cursor: pointer;
}

.number-choices input {
  position: absolute;
  opacity: 0;
}

.number-choices span {
  display: grid;
  min-height: 3.2rem;
  place-items: center;
  border: 1px solid var(--color-border);
  border-radius: 0.7rem;
  font-weight: 800;
}

.number-choices input:checked + span {
  border-color: var(--color-blue);
  background: #f2f7ff;
  box-shadow: var(--focus-ring);
}

.number-choices input:focus-visible + span {
  box-shadow: var(--focus-ring);
}

.wizard-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
  margin-top: 1.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--color-border);
}

.form-errors {
  margin-bottom: 1.25rem;
  padding: 0.9rem 1rem;
  border-left: 4px solid var(--color-red);
  border-radius: 0.5rem;
  background: #fff4f5;
  color: #6f2630;
}

.form-errors ul {
  margin: 0.35rem 0 0;
  padding-left: 1.1rem;
}

.trust-note,
.analysis-teaser,
.engine-unavailable {
  display: flex;
  gap: 0.8rem;
  margin-top: 1rem;
  padding: 1rem;
  border-radius: var(--radius-small);
  color: var(--color-muted);
  font-size: 0.82rem;
}

.trust-note {
  background: #edf9f5;
}

.trust-note > span {
  color: #197653;
  font-weight: 900;
}

.trust-note p,
.analysis-teaser p,
.engine-unavailable p {
  margin: 0;
}

.analysis-teaser {
  border: 1px dashed #bdcbd9;
  background: rgba(255, 255, 255, 0.7);
}

.analysis-teaser h2 {
  margin: 0.65rem 0 0.3rem;
  font-size: 1rem;
}

.analysis-teaser small {
  display: block;
  margin-top: 0.35rem;
  color: var(--color-blue-dark);
}

.reference-result {
  display: grid;
  gap: 1rem;
}

.reference-label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.8rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: 0.8rem;
  background: var(--color-surface-alt);
}

.reference-label div {
  display: flex;
  flex-direction: column;
}

.reference-label strong {
  color: var(--color-navy);
  font-size: 0.84rem;
}

.reference-label span:last-child {
  color: var(--color-muted);
  font-size: 0.72rem;
}

.result-level--one {
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: 1.5rem;
  background: var(--color-surface);
  box-shadow: var(--shadow-card);
}

.result-primary {
  display: grid;
  gap: 1.5rem;
  padding: clamp(1.25rem, 5vw, 2.4rem);
}

.result-primary__art .card-art__placeholder {
  min-height: 12rem;
  border-radius: 1rem;
}

.result-primary__copy h2 {
  margin-bottom: 0.4rem;
  font-size: clamp(1.6rem, 5vw, 2.3rem);
}

.result-mode {
  color: var(--color-muted);
}

.quick-result-facts {
  display: grid;
  gap: 0.8rem;
  margin: 1.4rem 0 0;
}

.quick-result-facts > div {
  padding: 0.9rem 1rem;
  border-radius: 0.8rem;
  background: var(--color-surface-alt);
}

.quick-result-facts dt,
.comparison-list dt,
.profile-facts dt {
  color: var(--color-muted);
  font-size: 0.75rem;
  font-weight: 700;
}

.quick-result-facts dd,
.comparison-list dd,
.profile-facts dd {
  margin: 0.2rem 0 0;
  color: var(--color-navy);
  font-size: 1rem;
  font-weight: 800;
}

.quick-result-facts__action {
  border-left: 3px solid var(--color-blue);
  background: #edf5ff !important;
}

.disclosure > summary {
  cursor: pointer;
  list-style: none;
}

.disclosure > summary::-webkit-details-marker {
  display: none;
}

.disclosure--why > summary {
  margin: 0 1.25rem 1.25rem;
}

.disclosure--why[open] > summary {
  background: var(--color-navy-soft);
}

.result-level--two {
  padding: clamp(1.25rem, 5vw, 2.4rem);
  border-top: 1px solid var(--color-border);
  background: #fbfdff;
}

.section-heading--compact {
  margin-bottom: 1.25rem;
}

.section-heading--compact h2 {
  font-size: clamp(1.35rem, 4vw, 1.85rem);
}

.reason-list--compact {
  padding: 1rem;
  border-radius: 1rem;
  background: var(--color-surface);
}

.why-grid,
.analysis-grid {
  display: grid;
  gap: 0.8rem;
  margin-top: 1rem;
}

.explanation-card,
.analysis-grid section,
.analysis-section {
  padding: 1rem;
  border: 1px solid var(--color-border);
  border-radius: 0.9rem;
  background: var(--color-surface);
}

.explanation-card h3,
.analysis-grid h3,
.analysis-section h3 {
  margin-bottom: 0.75rem;
}

.comparison-list,
.profile-facts {
  margin: 0;
}

.comparison-list > div,
.profile-facts > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--color-border);
}

.comparison-list > div:last-child,
.profile-facts > div:last-child {
  border-bottom: 0;
}

.comparison-list dd {
  text-align: right;
}

.inline-offer {
  display: grid;
  gap: 1rem;
  margin-top: 1rem;
  padding: 1.1rem;
  border: 1px solid rgba(34, 199, 223, 0.35);
  border-radius: 1rem;
  background: var(--color-cyan-soft);
}

.inline-offer h3 {
  margin-bottom: 0.6rem;
}

.inline-offer__watch {
  display: grid;
  gap: 0.35rem;
  align-content: center;
}

.inline-offer__watch small {
  color: var(--color-muted);
  text-align: center;
}

.disclosure--analysis {
  margin-top: 1.3rem;
  padding-top: 1rem;
  border-top: 1px solid var(--color-border);
}

.disclosure--analysis > summary {
  font-size: 0.95rem;
}

.result-level--three {
  display: grid;
  gap: 1rem;
  margin-top: 1rem;
  padding-top: 1rem;
}

.structured-data {
  max-width: 100%;
  overflow: auto;
  padding: 0.9rem;
  border-radius: 0.7rem;
  background: var(--color-navy);
  color: #e2edf7;
  font-size: 0.72rem;
  white-space: pre-wrap;
}

.profile-stack {
  gap: 1.5rem;
}

.profile-summary {
  padding: clamp(1.25rem, 5vw, 2rem);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  background: var(--color-surface);
  box-shadow: var(--shadow-card);
}

.profile-section {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--color-border);
}

.profile-section h3 {
  margin-bottom: 0.8rem;
}

.profile-spend-list {
  display: grid;
  gap: 0.55rem;
}

.profile-spend-list > div {
  display: flex;
  flex-direction: column;
  padding: 0.7rem 0.8rem;
  border-radius: 0.7rem;
  background: var(--color-surface-alt);
}

.profile-spend-list span {
  color: var(--color-muted);
  font-size: 0.78rem;
}

.structured-profile {
  margin-top: 1.4rem;
}

.structured-profile .structured-data {
  margin-top: 0.8rem;
}

.button-reset {
  margin-top: 1rem;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.engine-unavailable {
  margin: 0;
  border-left: 4px solid var(--color-cyan);
  background: var(--color-cyan-soft);
}

.engine-unavailable > span {
  color: var(--color-blue);
  font-size: 1.3rem;
}

.engine-unavailable h2 {
  margin-bottom: 0.3rem;
  font-size: 1rem;
}

.reference-preview-heading {
  margin-top: 2rem;
}

.reference-preview-heading h2 {
  margin-bottom: 0.6rem;
}

.reference-preview-heading p:last-child {
  max-width: 44rem;
  color: var(--color-muted);
}

/* Official Carte IQ / Card IQ vector masters. */
.brand-wordmark {
  display: block;
  width: clamp(9.25rem, 14vw, 11.25rem);
  height: auto;
  object-fit: contain;
}

.brand-wordmark--hero {
  width: clamp(13rem, 28vw, 17rem);
  margin-bottom: 1.4rem;
}

.brand-wordmark--footer {
  width: 10rem;
  padding: 0.25rem 0.4rem;
  border-radius: 0.45rem;
  background: #fff;
}

.brand-mark {
  display: block;
  object-fit: contain;
}

.wordmark {
  display: inline-flex;
  padding-right: 0.5rem;
}

.wordmark::after {
  display: none;
}

.hero {
  padding: clamp(3.5rem, 8vw, 7rem) 0;
}

.hero-visual {
  width: min(100%, 41rem);
  margin-inline: auto;
}

.hero-visual img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 28px 38px rgba(7, 27, 51, 0.13));
}

.hero-tertiary {
  display: inline-block;
  margin-top: 1.1rem;
  font-size: 0.9rem;
}

.door-card--featured {
  border-color: rgba(23, 104, 213, 0.28);
  background: linear-gradient(145deg, #edf6ff, #fff);
}

.section--how {
  background: var(--color-surface-alt);
}

.how-grid,
.benefit-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.how-grid {
  display: grid;
  gap: 1rem;
}

.how-grid li {
  padding: 1.5rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  background: #fff;
}

.how-grid li > span {
  display: grid;
  width: 2.25rem;
  height: 2.25rem;
  margin-bottom: 1.2rem;
  place-items: center;
  border-radius: 50%;
  background: var(--color-blue);
  color: #fff;
  font-weight: 800;
}

.how-grid p,
.benefit-list {
  color: var(--color-muted);
}

.difference-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.benefit-list {
  display: grid;
  gap: 0.8rem;
}

.benefit-list li {
  display: flex;
  gap: 0.75rem;
  padding: 1rem 1.1rem;
  border-radius: 0.9rem;
  background: var(--color-surface-alt);
  color: var(--color-text);
  font-weight: 680;
}

.benefit-list span {
  color: var(--color-blue);
}

.trust-strip {
  border-block: 1px solid var(--color-border);
  background: #fff;
}

.trust-strip__inner {
  display: grid;
  gap: 0.8rem;
  padding-block: 1.15rem;
}

.trust-strip__inner span {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--color-navy-soft);
  font-size: 0.86rem;
  font-weight: 720;
}

.trust-strip__inner i {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--color-cyan);
}

@media (min-width: 48rem) {
  .how-grid,
  .trust-strip__inner {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .difference-grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  }

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

  .result-primary {
    grid-template-columns: minmax(13rem, 0.8fr) minmax(0, 1.2fr);
    align-items: center;
  }

  .quick-result-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .quick-result-facts__action {
    grid-column: 1 / -1;
  }

  .why-grid,
  .analysis-grid,
  .profile-spend-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .inline-offer {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr) minmax(11rem, 0.8fr);
    align-items: center;
  }
}

@media (max-width: 32rem) {
  .header-inner {
    min-height: 4rem;
    gap: 0.55rem;
  }

  .brand-wordmark {
    width: 8.75rem;
  }

  .main-nav {
    gap: 0.48rem;
    overflow-x: auto;
  }

  .main-nav a:not(.language-switch):not(.main-nav__top-picks) {
    display: none;
  }

  .hero h1 {
    font-size: clamp(2.25rem, 12vw, 3.15rem);
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-visual {
    margin-top: -1rem;
  }
  .wizard-page {
    padding-top: 1.2rem;
  }

  .wizard-card {
    border-radius: 1rem;
  }

  .wizard-actions .button {
    flex: 1;
  }

  .result-level--one {
    border-radius: 1rem;
  }

  .disclosure--why > summary {
    width: calc(100% - 2.5rem);
  }
}

/* Cascade-final compact overrides. */
.hero--compact { padding: clamp(2.5rem, 6vw, 4.5rem) 0; }
.hero-visual--compact { width: min(100%, 31rem); }
.section--compact { padding: clamp(2.75rem, 6vw, 4.5rem) 0; }
.door-grid--three .door-card { min-height: 13rem; }
.top-pick-winner__visual { min-height: 9rem; padding: 0.75rem; }
.top-pick-winner__visual .card-art__image { width: 7.75rem; max-height: 7.75rem; }
.top-pick-winner__visual .card-art__placeholder { width: 7.75rem; min-height: 5.5rem; }
.top-pick-alternative__visual { min-height: 6rem; }
.top-pick-alternative__visual .card-art__image { width: 5.75rem; max-height: 5.75rem; }
.top-pick-alternative__visual .card-art__placeholder { width: 5.75rem; min-height: 4.4rem; }
.catalogue-card__visual { min-height: 8rem; padding: 0.8rem; }
.catalogue-card__visual .card-art__image { width: 6.25rem; max-height: 6.25rem; }
.catalogue-card__visual .card-art__placeholder { width: 6.25rem; min-height: 4.75rem; padding: 0.65rem; }
.card-page-visual { min-height: 15rem; }
.card-page-visual .card-art__image { width: min(100%, 13.75rem); max-height: 13.75rem; }
.card-page-visual .card-art__placeholder { width: min(100%, 13.75rem); min-height: 9rem; }
.result-primary__art { display: grid; place-items: center; }
.result-primary__art .card-art__image { width: 8.125rem; height: auto; max-height: 8.125rem; object-fit: contain; }
.result-primary__art .card-art__placeholder { width: 8.125rem; min-height: 6rem; padding: 0.7rem; }

@media (min-width: 48rem) {
  .top-pick-winner { grid-template-columns: 9rem minmax(0, 1fr); }
  .door-grid--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 47.99rem) {
  .hero--compact { padding-top: 2rem; }
  .hero-visual--compact { width: min(88%, 23rem); }
  .card-page-visual { min-height: 11rem; }
  .card-page-visual .card-art__image { width: min(100%, 11rem); max-height: 11rem; }
  .result-primary__art .card-art__image { width: 6.75rem; max-height: 6.75rem; }
  .result-primary__art .card-art__placeholder { width: 6.75rem; min-height: 5rem; }
}

/* CarteIQ design system V2: compact, calm, product-first. */
:root {
  --color-navy: #0b1f36;
  --color-navy-soft: #263b52;
  --color-blue: #125fc2;
  --color-blue-dark: #0d4e9f;
  --color-purple: #6846d6;
  --color-page-background: #fbfcff;
  --color-surface-alt: #f6f7fb;
  --color-section-tint: #f7f7fc;
  --color-information-surface: #eef5ff;
  --color-featured-surface: #f2f0ff;
  --color-positive: #197044;
  --color-positive-surface: #eaf7f0;
  --color-border: #e0e6ef;
  --color-border-subtle: #e7ebf2;
  --color-border-featured: #aa99df;
  --color-text: #182b40;
  --color-text-primary: #0b1f36;
  --color-muted: #607084;
  --color-text-secondary: #607084;
  --gradient-brand: linear-gradient(135deg, #125fc2 0%, #6846d6 100%);
  --gradient-brand-soft: linear-gradient(135deg, #eef6ff 0%, #f4f0ff 100%);
  --shadow-standard: 0 6px 18px rgb(11 31 54 / 6%);
  --shadow-featured: 0 18px 46px rgb(55 48 126 / 13%);
  --focus-ring: 0 0 0 3px rgb(104 70 214 / 24%);
  --radius-card: 0.75rem;
  --radius-small: 0.55rem;
  --shadow-card: var(--shadow-standard);
  --max-content-width: 75rem;
  --max-reading-width: 44rem;
}

html { scroll-padding-top: 4.5rem; }
body { background: #fff; line-height: 1.5; }
h1, h2, h3, h4 { letter-spacing: -0.02em; }
h1 { max-width: 18ch; font-size: clamp(2rem, 4.2vw, 2.875rem); line-height: 1.08; }
h2 { font-size: clamp(1.5rem, 3vw, 1.875rem); line-height: 1.16; }
h3 { font-size: clamp(1.16rem, 2vw, 1.3125rem); }
p { max-width: 45rem; }
.shell { width: min(calc(100% - 2.5rem), var(--max-content-width)); }
.shell--narrow { max-width: var(--max-reading-width); }
.section { padding-block: 3.5rem; }
.page-stack { gap: 2rem; padding-block: 2rem 3rem; }
.eyebrow { margin-bottom: 0.5rem; color: var(--color-blue); font-size: 0.75rem; font-weight: 760; letter-spacing: 0.1em; }
.muted, .page-intro { color: var(--color-muted); }
.page-intro { max-width: 43rem; margin-bottom: 1.25rem; font-size: 1rem; line-height: 1.5; }

.button {
  min-height: 2.75rem;
  padding: 0.68rem 1rem;
  border-radius: 0.55rem;
  box-shadow: none;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.2;
}
.button:hover { box-shadow: none; transform: none; }
.button--primary, .button--nav { border-color: var(--color-blue); background: var(--color-blue); box-shadow: none; }
.button--primary:hover, .button--nav:hover { border-color: var(--color-blue-dark); background: var(--color-blue-dark); }
.button--secondary { border-color: #ccd5df; background: #fff; color: var(--color-navy); }
.button--disabled, .button:disabled { border-color: #dfe4ea; background: #eef1f4; color: #8a96a3; opacity: 1; }
.text-link { font-size: 0.9rem; font-weight: 700; }

.site-header { border-color: var(--color-border); background: rgb(255 255 255 / 97%); backdrop-filter: blur(10px); }
.header-inner { min-height: 4.125rem; gap: 1.25rem; }
.wordmark { flex: 0 0 auto; padding: 0; }
.brand-wordmark { width: auto; height: 2.3rem; }
.main-nav { flex: 1 1 auto; justify-content: flex-end; gap: clamp(0.75rem, 1.8vw, 1.4rem); white-space: nowrap; }
.main-nav a { font-size: 0.875rem; font-weight: 650; }
.main-nav .language-switch { padding: 0.35rem 0; border: 0; color: var(--color-muted); }
.button--nav { padding-inline: 0.9rem; color: #fff !important; }
.mobile-menu nav .button--primary,
.mobile-menu nav .button--primary:hover { color: #fff; }
.application-nav { display: flex; align-items: center; gap: 1rem; font-size: 0.875rem; }
.site-header--application { position: static; }

.hero { background: #fff; }
.hero--product { min-height: 0; padding: 3.5rem 0 3rem; }
.hero-grid { grid-template-columns: minmax(0, 1.04fr) minmax(25rem, 0.96fr); gap: clamp(2.5rem, 6vw, 5rem); }
.hero-copy { max-width: 36rem; }
.hero-copy h1 { max-width: 13ch; margin-bottom: 1rem; }
.hero-description { max-width: 35rem; margin-bottom: 1.5rem; font-size: 1rem; }
.hero-actions { gap: 0.75rem; }
.product-preview {
  align-self: center;
  padding: 1.4rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  background: #fff;
  box-shadow: 0 8px 24px rgb(11 31 54 / 7%);
}
.product-preview header { display: flex; align-items: center; justify-content: space-between; color: var(--color-muted); font-size: 0.8rem; }
.product-preview header strong { color: var(--color-navy); }
.product-preview__cards { display: flex; min-height: 7.2rem; margin: 1rem 0 0.75rem; align-items: center; justify-content: center; }
.product-preview__cards > div { width: 7.1rem; }
.product-preview__cards > div + div { margin-left: -1.6rem; }
.product-preview__cards .card-art__image { width: 7.1rem; max-height: 7rem; object-fit: contain; filter: drop-shadow(0 4px 6px rgb(11 31 54 / 13%)); }
.product-preview__cards .card-art__placeholder { width: 7.1rem; min-height: 4.5rem; }
.product-preview h2 { margin: 0 0 0.75rem; font-size: 1.15rem; }
.product-preview__value { display: flex; align-items: baseline; gap: 0.6rem; }
.product-preview__value strong { color: var(--color-navy); font-size: 1.75rem; }
.product-preview__value span, .product-preview p { color: var(--color-muted); font-size: 0.82rem; }
.product-preview p { margin: 0.2rem 0 0.65rem; }

.section--doors, .section--compact { padding: 2.5rem 0 2.75rem; background: var(--color-surface-alt); }
.section-heading--compact { margin-bottom: 1.25rem; }
.section-heading--compact h2 { margin-bottom: 0; }
.door-grid { gap: 0.9rem; }
.door-grid--three .door-card, .door-card {
  min-height: 0;
  padding: 1.35rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  background: #fff;
  box-shadow: none;
}
.door-card:hover { border-color: #bcc8d5; box-shadow: none; transform: translateY(-1px); }
.door-card--featured { border-color: #b9cdea; background: #fff; }
.door-card h3 { margin-bottom: 0.5rem; }
.door-card p { min-height: 3rem; margin-bottom: 1rem; color: var(--color-muted); font-size: 0.9rem; }
.door-number { display: none; }
.analysis-inline { margin-top: 0.8rem; padding: 0.75rem 0; border: 0; background: transparent; }
.analysis-inline p { margin: 0; font-size: 0.82rem; }
.trust-strip__inner { display: flex; min-height: 3.75rem; padding-block: 0.75rem; align-items: center; justify-content: space-between; }
.trust-strip__inner span { font-size: 0.8rem; }
.trust-strip__inner i { width: 0.4rem; height: 0.4rem; background: var(--color-blue); }

.page-hero, .top-picks-hero, .personalized-result-page { background: #fff; }
.page-hero, .page-hero--compact, .top-picks-hero { padding: 2.75rem 0 1.75rem; }
.page-hero h1, .top-picks-hero h1, .portfolio-page-hero h1, .catalogue-hero h1 { max-width: 24ch; font-size: clamp(1.9rem, 3.5vw, 2.375rem); line-height: 1.12; }
.top-picks-hero .shell--narrow { max-width: var(--max-content-width); }
.top-picks-hero__actions { gap: 0.7rem; margin-top: 1rem; }
.reference-caveat { margin: 0.8rem 0 0; color: var(--color-muted); font-size: 0.8rem; }
.top-picks-page { padding-block: 0.5rem 3rem; }
.top-picks-context { margin-bottom: 1.5rem; padding: 0; border: 0; background: transparent; }

.profile-picks { padding: 1rem 0 2.25rem; }
.profile-picks__heading { max-width: 43rem; margin-bottom: 1.25rem; }
.profile-picks__heading h2 { font-size: clamp(1.5rem, 3vw, 1.875rem); }
.profile-picks__heading p:last-child { margin-bottom: 0; color: var(--color-muted); font-size: 0.9rem; }
.profile-tabs { gap: 0.25rem; margin-bottom: 0.8rem; padding: 0.25rem; border: 1px solid var(--color-border); border-radius: 0.7rem; background: var(--color-surface-alt); }
.profile-tab { min-height: 2.5rem; padding: 0.55rem 0.8rem; border: 0; border-radius: 0.5rem; background: transparent; color: var(--color-muted); font-size: 0.82rem; }
.profile-tab:hover, .profile-tab.is-active, .profile-tab[aria-selected="true"] { background: #fff; color: var(--color-navy); box-shadow: 0 1px 3px rgb(11 31 54 / 9%); }
.profile-panel { padding: 1.25rem; border: 1px solid var(--color-border); border-radius: var(--radius-card); box-shadow: none; }
.profile-strategy-card { gap: 1rem; padding: 0; border: 0; background: #fff; }
.profile-strategy-card h3 { margin-bottom: 0.75rem; font-size: 1.35rem; }
.profile-card-stack { min-height: 6.8rem; margin-block: 0.5rem; }
.profile-card-stack__item { width: 6.5rem; flex-basis: 6.5rem; }
.profile-card-stack__item + .profile-card-stack__item { margin-left: -1.35rem; }
.profile-card-stack .card-art__image { width: 6.5rem; height: 6.2rem; object-fit: contain; }
.profile-card-stack .card-art__placeholder { width: 6.5rem; min-height: 4.2rem; box-shadow: 0 2px 5px rgb(11 31 54 / 10%); }
.profile-card-names { gap: 0.15rem; font-size: 0.78rem; }
.profile-strategy-card__summary { align-content: center; padding: 1rem; border-radius: 0.65rem; background: var(--color-surface-alt); }
.reference-value strong { font-size: 1.55rem; }
.profile-details { margin-top: 0.8rem; }
.profile-details > summary, .top-pick-details > summary { min-height: 2.5rem; padding: 0.65rem 0; color: var(--color-blue-dark); font-size: 0.88rem; font-weight: 700; }
.profile-solo { margin-top: 0.8rem; padding: 0.85rem; border: 1px solid var(--color-border); border-radius: 0.65rem; background: #fff; }
.profile-solo__visual { min-height: 4.5rem; }
.profile-solo__visual .card-art__image, .profile-solo__visual .card-art__placeholder { width: 5.5rem; max-height: 5.3rem; }
.profile-personal-cta { margin-top: 0.8rem; padding: 0.75rem 0; border: 0; background: transparent; }
.profile-personal-cta .button { min-height: 2.5rem; }
.profile-unavailable { margin: 0 0 2rem; padding: 0; border: 0; background: transparent; }
.profile-unavailable h2 { display: inline; margin-right: 0.75rem; font-size: 1rem; }
.profile-unavailable p { display: inline; color: var(--color-muted); font-size: 0.85rem; }
.profile-unavailable p:last-child { display: block; margin-top: 0.5rem; }
.status-pill { padding: 0.25rem 0.5rem; border-radius: 0.35rem; font-size: 0.72rem; }

.usage-picks { padding-top: 2.25rem; border-top: 1px solid var(--color-border); }
.usage-picks-table, .offers-table { overflow: hidden; border: 1px solid var(--color-border); border-radius: var(--radius-card); background: #fff; }
.usage-picks-table__head, .usage-pick-row {
  display: grid;
  grid-template-columns: minmax(8rem, 0.85fr) minmax(19rem, 2fr) minmax(8rem, 0.7fr) 5rem;
  gap: 1rem;
  align-items: center;
}
.usage-picks-table__head { padding: 0.65rem 1rem; border-bottom: 1px solid var(--color-border); background: var(--color-surface-alt); color: var(--color-muted); font-size: 0.72rem; font-weight: 750; text-transform: uppercase; }
.usage-pick-row { padding: 0.7rem 1rem; border: 0; border-bottom: 1px solid var(--color-border); border-radius: 0; box-shadow: none; }
.usage-pick-row:last-child { border-bottom: 0; }
.usage-pick-row > h3 { margin: 0; font-size: 0.9rem; }
.usage-pick-row .top-pick-winner { display: flex; grid-template-columns: none; gap: 0.75rem; align-items: center; }
.usage-pick-row .top-pick-winner__visual { display: grid; min-height: 0; width: 5.25rem; flex: 0 0 5.25rem; padding: 0; border: 0; background: transparent; place-items: center; }
.usage-pick-row .top-pick-winner__visual .card-art__image { width: 5rem; max-height: 4.6rem; object-fit: contain; }
.usage-pick-row .top-pick-winner__visual .card-art__placeholder { width: 5rem; min-height: 3.15rem; }
.usage-pick-row .top-pick-winner h4 { margin: 0; font-size: 0.9rem; line-height: 1.25; }
.usage-pick-row__value { color: var(--color-navy); font-size: 0.9rem; }
.usage-pick-row__action { justify-self: end; }
.usage-pick-row .top-pick-details { grid-column: 1 / -1; width: 100%; margin: -0.2rem 0 0; }
.top-pick-details__body { padding: 0.5rem 0 0.8rem; border-top: 0; }
.top-pick-alternatives { gap: 0.5rem; }
.top-pick-alternative { padding: 0.75rem; border: 1px solid var(--color-border); box-shadow: none; }
.unavailable-categories { margin: 1rem 0 0; padding: 0.85rem 1rem; border: 1px solid var(--color-border); border-radius: var(--radius-card); background: #fff; }
.unavailable-categories > summary { display: flex; justify-content: space-between; gap: 1rem; cursor: pointer; color: var(--color-navy); font-size: 0.88rem; }
.unavailable-categories > summary span { color: var(--color-muted); font-weight: 400; }
.unavailable-grid { gap: 0.75rem; padding-top: 1rem; }
.unavailable-grid article { padding: 0; border: 0; background: transparent; }
.top-picks-trust { margin-top: 2rem; padding: 1rem 0; border-block: 1px solid var(--color-border); background: transparent; }
.top-picks-trust h2 { font-size: 1rem; }
.top-picks-trust p { margin-bottom: 0.3rem; font-size: 0.82rem; }

.portfolio-tool-preview { max-width: var(--max-content-width); }
.portfolio-management {
  min-height: calc(100vh - 4.125rem);
  padding-block: clamp(2rem, 5vw, 4.5rem);
  background:
    radial-gradient(circle at 83% 30%, rgb(126 91 218 / 8%), transparent 26rem),
    linear-gradient(180deg, #fff 0%, rgb(249 247 255 / 72%) 100%);
}
.portfolio-management__notice { margin-bottom: 1rem; }
.portfolio-management__notice .notice { margin: 0; }

.portfolio-empty-state {
  display: grid;
  min-height: 31rem;
  grid-template-columns: minmax(0, 0.88fr) minmax(20rem, 0.82fr);
  align-items: center;
  gap: clamp(2rem, 7vw, 6rem);
}

.portfolio-empty-state__copy { position: relative; z-index: 2; max-width: 38rem; }
.portfolio-empty-state .eyebrow,
.portfolio-owned .eyebrow { margin-bottom: 0.55rem; color: var(--color-purple); }
.portfolio-empty-state h1,
.portfolio-owned h1 {
  margin-bottom: 0.8rem;
  color: var(--color-navy);
  font-size: clamp(2.35rem, 5vw, 4.35rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
}
.portfolio-lede { max-width: 58ch; color: var(--color-text-secondary); font-size: clamp(1rem, 1.7vw, 1.14rem); line-height: 1.65; }
.portfolio-empty-state .button { margin-top: 0.4rem; }
.portfolio-start-form { margin: 0; }
.portfolio-reassurance { display: flex; gap: 0.4rem; align-items: center; margin: 0.85rem 0 0; color: var(--color-muted); font-size: 0.82rem; }
.portfolio-reassurance span { color: var(--color-purple); font-weight: 900; }

.portfolio-empty-state__visual {
  position: relative;
  min-height: 25rem;
  pointer-events: none;
}
.portfolio-empty-state__visual .wizard-iq-visual {
  position: absolute;
  top: 0.4rem;
  right: -0.5rem;
  width: min(100%, 25rem);
  opacity: 0.48;
}
.portfolio-empty-cards { position: absolute; inset: 7.2rem 1rem auto 1rem; height: 14rem; }
.portfolio-empty-card {
  position: absolute;
  display: block;
  width: 13.5rem;
  aspect-ratio: 1.586;
  border: 1px solid rgb(104 70 214 / 18%);
  border-radius: 1rem;
  background: linear-gradient(145deg, rgb(255 255 255 / 78%), rgb(224 214 250 / 34%));
  box-shadow: 0 18px 42px rgb(78 51 145 / 9%);
  backdrop-filter: blur(3px);
}
.portfolio-empty-card::after {
  position: absolute;
  right: 1.15rem;
  bottom: 1rem;
  width: 2.8rem;
  height: 0.34rem;
  border-radius: 999px;
  background: rgb(104 70 214 / 12%);
  content: "";
}
.portfolio-empty-card--back { top: 0; right: 1rem; transform: rotate(9deg); opacity: 0.48; }
.portfolio-empty-card--middle { top: 2.15rem; right: 5.2rem; transform: rotate(-7deg); opacity: 0.68; }
.portfolio-empty-card--front { top: 4rem; right: 2.4rem; border-color: rgb(104 70 214 / 24%); opacity: 0.88; }

.portfolio-owned { display: grid; gap: 2rem; }
.portfolio-owned > .notice { margin: 0; }
.portfolio-owned__header { display: flex; align-items: end; justify-content: space-between; gap: 2rem; }
.portfolio-owned__header > div:first-child { max-width: 42rem; }
.portfolio-owned__heading-actions { display: flex; flex: 0 0 auto; align-items: center; gap: 1rem; }
.portfolio-owned__heading-actions > strong { color: var(--color-purple); font-size: 0.9rem; }
.portfolio-owned-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.portfolio-owned-card {
  display: grid;
  min-width: 0;
  grid-template-columns: 8.5rem minmax(0, 1fr);
  gap: 1.1rem;
  align-items: center;
  padding: 1.2rem;
  border: 1px solid rgb(104 70 214 / 15%);
  border-radius: var(--radius-card);
  background: rgb(255 255 255 / 94%);
  box-shadow: 0 14px 34px rgb(33 25 73 / 6%);
}
.portfolio-owned-card__visual { display: grid; min-height: 6.6rem; place-items: center; }
.portfolio-owned-card__visual .card-art__image { width: 8rem; max-height: 6.6rem; object-fit: contain; }
.portfolio-owned-card__visual .card-art__placeholder { width: 8rem; min-height: 5rem; }
.portfolio-owned-card h2 { margin: 0; font-size: 1.05rem; line-height: 1.3; }
.portfolio-owned-card__body > p { margin: 0.35rem 0 0; color: var(--color-muted); font-size: 0.8rem; }
.portfolio-owned-card__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; margin-top: 1rem; }
.portfolio-owned-card__remove-form { margin: 0; }
.portfolio-owned-card__remove { min-height: 2.35rem; padding: 0.5rem 0.8rem; color: #73444a; font-size: 0.8rem; }
.portfolio-optimize {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: clamp(1.25rem, 3vw, 1.8rem);
  border: 1px solid rgb(104 70 214 / 16%);
  border-radius: var(--radius-card);
  background: linear-gradient(120deg, rgb(255 255 255 / 96%), rgb(244 240 255 / 82%));
}
.portfolio-optimize h2 { margin: 0 0 0.4rem; font-size: clamp(1.35rem, 3vw, 1.8rem); }
.portfolio-optimize p:last-child { max-width: 62ch; margin: 0; color: var(--color-muted); }
@media (max-width: 61.25rem) {
  .portfolio-empty-state { min-height: 27rem; grid-template-columns: minmax(0, 1fr) 16rem; gap: 1.5rem; }
  .portfolio-empty-state__visual { min-height: 19rem; transform: scale(0.82); transform-origin: center right; }
  .portfolio-owned-grid { grid-template-columns: 1fr; }
}

@media (max-width: 47.99rem) {
  .portfolio-management { min-height: 0; padding-block: 1.5rem 2.5rem; }
  .portfolio-empty-state { display: block; min-height: 0; }
  .portfolio-empty-state h1,
  .portfolio-owned h1 { font-size: clamp(2.1rem, 12vw, 3rem); }
  .portfolio-empty-state__visual { display: none; }
  .portfolio-owned { gap: 1.25rem; }
  .portfolio-owned__header,
  .portfolio-optimize { align-items: stretch; flex-direction: column; gap: 1rem; }
  .portfolio-owned__heading-actions { align-items: stretch; flex-direction: column; }
  .portfolio-owned__heading-actions .button,
  .portfolio-optimize .button { width: 100%; }
  .portfolio-owned-card { grid-template-columns: 5.5rem minmax(0, 1fr); padding: 0.9rem; }
  .portfolio-owned-card__visual { min-height: 4.5rem; }
  .portfolio-owned-card__visual .card-art__image { width: 5.2rem; max-height: 4.5rem; }
  .portfolio-owned-card__visual .card-art__placeholder { width: 5.2rem; min-height: 3.4rem; }
}

.reference-result, .personalized-result { border: 1px solid var(--color-border); border-radius: var(--radius-card); box-shadow: none; }
.reference-label { padding: 0.75rem 1rem; }
.result-level--one { padding: 1.25rem; border: 0; border-radius: 0; box-shadow: none; }
.result-primary { grid-template-columns: 9rem minmax(0, 1fr); gap: 1.25rem; }
.result-primary__art { min-height: 7.5rem; }
.result-primary__art .card-art__image { width: 7.5rem; max-height: 7.5rem; }
.result-primary__art .card-art__placeholder { width: 7.5rem; min-height: 4.8rem; }
.result-primary__copy h2 { font-size: 1.4rem; }
.quick-result-facts { gap: 0; border-top: 1px solid var(--color-border); }
.quick-result-facts > div { padding: 0.75rem 1rem 0 0; border: 0; background: transparent; }
.quick-result-facts dd { font-size: 1rem; }
.disclosure--why > summary { width: auto; margin: 0 1.25rem 1.25rem; }
.result-level--two, .result-level--three { padding: 1rem; }
.explanation-card, .analysis-grid > section, .analysis-section { padding: 1rem; border: 1px solid var(--color-border); box-shadow: none; }
.credit-note { padding: 1rem; border: 1px solid #eadfcd; background: #fffdf8; }

.application-mode { background: var(--color-surface-alt); }
.wizard-page { min-height: calc(100vh - 4.125rem); padding: 1.5rem 0 2rem; background: var(--color-surface-alt); }
.wizard-shell { width: min(calc(100% - 2rem), 50rem); }
.wizard-header { margin-bottom: 0.75rem; }
.progress-label { font-size: 0.78rem; }
.progress-track { height: 0.3rem; }
.wizard-card { padding: 1.4rem; border: 1px solid var(--color-border); border-radius: var(--radius-card); box-shadow: none; }
.wizard-question h1 { max-width: 24ch; margin-bottom: 0.45rem; font-size: clamp(1.75rem, 3.5vw, 2.1rem); }
.question-help { margin-bottom: 1rem; color: var(--color-muted); font-size: 0.9rem; }
.choice-grid, .goal-grid { gap: 0.55rem; }
.choice-card { min-height: 0; padding: 0.8rem; border-radius: 0.55rem; box-shadow: none; }
.choice-card strong { font-size: 0.9rem; }
.choice-card small { margin-top: 0.15rem; font-size: 0.76rem; line-height: 1.35; }
.goal-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.goal-icon { display: none; }
.wizard-subsection { margin-top: 1rem; padding-top: 1rem; }
.wizard-subsection h2 { font-size: 1.05rem; }
.spend-fields { gap: 0.7rem 1rem; }
.money-field label, .field-label { margin-bottom: 0.3rem; font-size: 0.78rem; }
.money-field input, .search-input, .select-input { min-height: 2.65rem; }
.card-choice-list { max-height: 15rem; }
.card-choice { min-height: 3.6rem; padding: 0.5rem 0.65rem; }
.card-choice__image, .card-choice__placeholder { width: 3.4rem; height: 2.3rem; object-fit: contain; }
.wizard-actions { position: sticky; bottom: 0; z-index: 2; margin: 1.2rem -1.4rem -1.4rem; padding: 0.8rem 1.4rem; border-top: 1px solid var(--color-border); background: rgb(255 255 255 / 96%); }
.trust-note { margin-top: 0.7rem; padding: 0; border: 0; background: transparent; font-size: 0.78rem; }

.catalogue-page { padding-block: 0.5rem 3rem; }
.catalogue-filters { grid-template-columns: minmax(13rem, 1.4fr) minmax(9rem, 0.75fr) minmax(8rem, 0.65fr) minmax(12rem, 1fr) auto; gap: 0.75rem; padding: 1rem; border: 1px solid var(--color-border); border-radius: var(--radius-card); box-shadow: none; }
.catalogue-filters label { font-size: 0.72rem; }
.catalogue-filters input, .catalogue-filters select { min-height: 2.7rem; }
.catalogue-result-heading { margin-block: 1rem; }
.catalogue-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.8rem; }
.catalogue-card { min-height: 13.5rem; border: 1px solid var(--color-border); border-radius: var(--radius-card); box-shadow: none; }
.catalogue-card:hover { border-color: #bdc8d4; box-shadow: none; transform: none; }
.catalogue-card__visual { min-height: 7rem; padding: 0.65rem; background: var(--color-surface-alt); }
.catalogue-card__visual .card-art__image { width: 6.25rem; max-height: 5.8rem; object-fit: contain; }
.catalogue-card__visual .card-art__placeholder { width: 6.25rem; min-height: 4rem; }
.catalogue-card__body { padding: 0.85rem; }
.catalogue-card__meta { margin-bottom: 0.35rem; font-size: 0.68rem; }
.catalogue-card h2 { min-height: 2.4em; margin-bottom: 0.5rem; font-size: 0.92rem; line-height: 1.25; }
.catalogue-card__offer { margin: 0 0 0.4rem; font-size: 0.74rem; }
.pagination { display: flex; margin-top: 1.5rem; align-items: center; justify-content: center; gap: 0.3rem; }
.pagination a, .pagination span { display: grid; min-width: 2.5rem; min-height: 2.5rem; padding: 0.45rem; place-items: center; border: 1px solid var(--color-border); border-radius: 0.45rem; text-decoration: none; }
.pagination span[aria-current="page"] { border-color: var(--color-blue); background: var(--color-blue); color: #fff; }

.card-art__placeholder { display: grid; aspect-ratio: 1.586; min-height: 0; padding: 0.5rem; place-items: center; border: 1px solid #dce2e8; border-radius: 0.45rem; background: #f1f3f5; color: #647487; box-shadow: none; }
.card-art__placeholder::before, .card-art__placeholder::after, .card-art__brand, .card-art__name, .card-art__status { display: none; }
.card-art__placeholder .card-art__issuer { display: block; font-size: 0.65rem; font-weight: 750; text-align: center; }

.offers-page { padding-block: 0.5rem 3rem; }
.offer-alert-teaser { display: flex; width: fit-content; margin: 0 0 1rem; gap: 0.5rem; padding: 0.55rem 0.75rem; border: 1px solid #dbe5f2; border-radius: 0.5rem; background: #f6f9fd; font-size: 0.8rem; }
.offer-alert-teaser span { color: var(--color-muted); }
.best-welcome-offers { margin-bottom: 2rem; }
.best-welcome-offers__list { display: grid; gap: 0; margin: 0; padding: 0; border: 1px solid var(--color-border); border-radius: var(--radius-card); background: #fff; list-style: none; overflow: hidden; }
.best-welcome-offer { display: grid; grid-template-columns: 2rem 6rem minmax(0, 1fr) auto; gap: 1rem; align-items: center; padding: 0.8rem 1rem; border-bottom: 1px solid var(--color-border); }
.best-welcome-offer:last-child { border-bottom: 0; }
.best-welcome-offer__rank { color: var(--color-muted); font-weight: 750; text-align: center; }
.best-welcome-offer__visual .card-art__image, .best-welcome-offer__visual .card-art__placeholder { width: 5rem; max-height: 3.8rem; object-fit: contain; }
.best-welcome-offer__content h3 { margin: 0 0 0.2rem; font-size: 1rem; }
.best-welcome-offer__content p { margin: 0 0 0.2rem; color: var(--color-muted); font-size: 0.875rem; }
.best-welcome-offer__content .best-welcome-offer__end-date { margin-top: 0.45rem; color: var(--color-text); font-weight: 700; }
.best-welcome-offer__actions { display: grid; justify-items: end; gap: 0.35rem; font-size: 0.875rem; }
.offer-quality-v2 { display: grid; gap: 0.55rem; margin-top: 0.55rem; }
.offer-quality-v2__summary { display: flex; flex-wrap: wrap; gap: 0.45rem; align-items: center; }
.offer-quality-v2__validated { display: inline-flex; gap: 0.3rem; align-items: center; color: var(--color-positive); font-size: 0.72rem; font-weight: 800; }
.offer-quality-v2__details > summary { width: fit-content; cursor: pointer; }
.offer-quality-v2__details-body { max-width: 42rem; margin-top: 0.6rem; padding: 0.8rem; border-left: 3px solid var(--color-purple); border-radius: 0 0.55rem 0.55rem 0; background: var(--color-information-surface); color: var(--color-text-secondary); font-size: 0.8rem; }
.offer-quality-v2__details-body p { margin: 0 0 0.45rem; }
.offer-quality-v2__details-body ul { margin: 0 0 0.7rem; padding-left: 1.1rem; }
.offer-quality-v2__sources { display: flex; flex-wrap: wrap; gap: 0.35rem 1rem; list-style: none; padding-left: 0 !important; }
.offer-quality-v2__unavailable { margin: 0; color: var(--color-muted); font-size: 0.82rem; }
.offer-quality-v2--compact { margin-top: 0.3rem; }
.offer-quality-v2--compact .quality-badge { white-space: normal; }

.offer-variant-tabs {
  display: flex;
  gap: 0.6rem;
  margin: 0 0 1.75rem;
  padding: 0.35rem;
  overflow-x: auto;
  border: 1px solid var(--color-border-subtle);
  border-radius: 0.9rem;
  background: var(--color-information-surface);
  scrollbar-width: thin;
}
.offer-variant-tab {
  display: inline-flex;
  min-height: 2.75rem;
  flex: 1 0 max-content;
  gap: 0.55rem;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1rem;
  border: 1px solid transparent;
  border-radius: 0.7rem;
  color: var(--color-text-secondary);
  font-weight: 750;
  text-decoration: none;
}
.offer-variant-tab:hover { border-color: var(--color-border-featured); background: rgb(255 255 255 / 70%); color: var(--color-text-primary); }
.offer-variant-tab.is-active { border-color: var(--color-border-featured); background: #fff; color: var(--color-purple); box-shadow: var(--shadow-standard); }
.offer-variant-tab__count {
  display: inline-grid;
  min-width: 1.7rem;
  min-height: 1.7rem;
  padding-inline: 0.35rem;
  place-items: center;
  border-radius: 999px;
  background: var(--color-surface-alt);
  color: var(--color-text-primary);
  font-size: 0.78rem;
}
.offer-variant-tab.is-active .offer-variant-tab__count { background: var(--color-information-surface); color: var(--color-purple); }

.best-welcome-offers__list--v5 { gap: 1rem; border: 0; border-radius: 0; background: transparent; overflow: visible; }
.welcome-offer-card {
  display: block;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-card);
  background: var(--color-page-background);
  box-shadow: var(--shadow-standard);
}
.welcome-offer-card--featured {
  border-color: var(--color-border-featured);
  background: linear-gradient(145deg, var(--color-featured-surface), #fff 62%);
  box-shadow: var(--shadow-featured);
}
.welcome-offer-card__header {
  display: flex;
  gap: 0.85rem;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--color-border-subtle);
  background: rgb(243 246 255 / 72%);
}
.welcome-offer-card__rank {
  flex: 0 0 auto;
  color: var(--color-purple);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.welcome-offer-card__reason { margin: 0; color: var(--color-text-secondary); font-size: 0.82rem; text-align: right; }
.welcome-offer-card__body {
  display: grid;
  grid-template-columns: minmax(16rem, 1.25fr) minmax(13rem, 0.75fr);
  gap: 1rem 1.5rem;
  align-items: start;
  padding: 1.25rem;
}
.welcome-offer-card__identity { display: flex; gap: 1rem; align-items: center; min-width: 0; }
.welcome-offer-card__identity h3 { margin: 0.15rem 0 0.2rem; font-size: 1.1rem; line-height: 1.25; }
.welcome-offer-card__identity p { margin: 0; color: var(--color-text-secondary); font-size: 0.82rem; }
.welcome-offer-card__identity .welcome-offer-card__reward-type { color: var(--color-purple); font-size: 0.72rem; font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase; }
.welcome-offer-card__visual { display: grid; width: 7rem; flex: 0 0 7rem; place-items: center; }
.welcome-offer-card__visual .card-art__image, .welcome-offer-card__visual .card-art__placeholder { width: 7rem; max-height: 5.1rem; object-fit: contain; }
.welcome-offer-card__value {
  display: grid;
  gap: 0.15rem;
  padding: 0.9rem 1rem;
  border: 1px solid var(--color-border-featured);
  border-radius: 0.8rem;
  background: #fff;
}
.welcome-offer-card__value span { color: var(--color-text-secondary); font-size: 0.78rem; font-weight: 700; }
.welcome-offer-card__value strong { color: var(--color-text-primary); font-size: clamp(1.65rem, 3vw, 2.25rem); line-height: 1.05; }
.welcome-offer-card__value small { color: var(--color-positive); font-size: 0.72rem; font-weight: 750; }
.welcome-offer-card__summary h4, .welcome-offer-card__conditions h4, .welcome-offer-card__details h4 { margin: 0 0 0.35rem; font-size: 0.82rem; }
.welcome-offer-card__summary p { margin: 0; color: var(--color-text-primary); font-weight: 700; }
.welcome-offer-card__conditions ul { margin: 0; padding-left: 1.1rem; color: var(--color-text-secondary); font-size: 0.83rem; }
.welcome-offer-card__quality, .welcome-offer-card__alert { grid-column: 1 / -1; }
.welcome-offer-card__alert {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
  align-items: center;
  padding: 0.75rem 0.9rem;
  border-radius: 0.7rem;
  background: var(--color-information-surface);
  font-size: 0.8rem;
}
.welcome-offer-card__alert p { margin: 0; color: var(--color-text-secondary); }
.welcome-offer-card__details { border-top: 1px solid var(--color-border-subtle); }
.welcome-offer-card__details > summary { width: fit-content; margin: 0.85rem 1.25rem; cursor: pointer; }
.welcome-offer-card__details-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  padding: 0 1.25rem 1.25rem;
  color: var(--color-text-secondary);
  font-size: 0.82rem;
}
.welcome-offer-card__details-grid ul { margin: 0; padding-left: 1.1rem; }
.welcome-offer-values { display: grid; gap: 0.45rem; margin: 0; }
.welcome-offer-values div { display: flex; gap: 1rem; justify-content: space-between; border-bottom: 1px solid var(--color-border-subtle); padding-bottom: 0.35rem; }
.welcome-offer-values dt { color: var(--color-text-secondary); }
.welcome-offer-values dd { margin: 0; color: var(--color-text-primary); font-weight: 750; text-align: right; }
.welcome-offer-card__footer { display: flex; justify-content: flex-end; padding: 0.85rem 1.25rem; border-top: 1px solid var(--color-border-subtle); }
.offers-page__catalogue-link { margin: 0.75rem 0 1.5rem; text-align: right; }
.text-link--muted { color: var(--color-muted); font-weight: 650; }
.offers-alert-signup { display: grid; grid-template-columns: minmax(12rem, 0.65fr) minmax(22rem, 1.35fr); gap: 1.5rem; align-items: start; margin: 0 0 2rem; padding: 1.25rem; border: 1px solid var(--color-border); border-radius: var(--radius-card); background: #f8fafc; }
.offers-alert-signup h2 { margin: 0 0 0.35rem; font-size: 1.25rem; }
.offers-alert-signup p { margin: 0; color: var(--color-muted); font-size: 0.875rem; }
.offers-alert-signup--expiry { grid-template-columns: minmax(12rem, 0.75fr) minmax(18rem, 1.25fr); align-items: center; }
.offers-alert-signup__detail { max-width: 38rem; }
.offer-alert-form { display: grid; gap: 0.85rem; }
.offer-alert-form__email { display: grid; gap: 0.35rem; }
.offer-alert-form__email label { font-size: 0.875rem; font-weight: 700; }
.offer-alert-form__email input { width: 100%; min-height: 2.75rem; padding: 0.65rem 0.75rem; border: 1px solid #cbd5e1; border-radius: 0.5rem; background: #fff; color: var(--color-text); font: inherit; }
.offer-alert-form input:focus-visible { outline: 3px solid var(--color-blue); outline-offset: 2px; }
.offer-alert-form__email input:focus-visible { border-color: var(--color-blue); }
.offer-alert-form__consent { display: grid; grid-template-columns: 1.1rem 1fr; gap: 0.6rem; align-items: start; color: var(--color-muted); font-size: 0.8125rem; line-height: 1.45; }
.offer-alert-form__consent input { width: 1rem; height: 1rem; margin-top: 0.15rem; accent-color: var(--color-blue); }
.offer-alert-form .button { justify-self: start; }
.offer-alert-form__note { margin: 0; font-size: 0.75rem; }
.offer-alert-form__card { display: grid; grid-template-columns: 5rem 1fr; gap: 0.8rem; align-items: center; }
.offer-alert-form__card .card-art__image, .offer-alert-form__card .card-art__placeholder { width: 5rem; max-height: 3.4rem; object-fit: contain; }
.offer-alert-form__timing { display: grid; gap: 0.25rem; padding: 0.8rem; border: 1px solid #dbe5f2; border-radius: 0.5rem; background: #f6f9fd; color: var(--color-muted); font-size: 0.875rem; line-height: 1.45; }
.offer-alert-form__timing strong { color: var(--color-text); }
.offer-alert-form__soon { color: #166534; font-weight: 650; }
.offer-alert-form__expired { color: #9f1239; font-weight: 650; }
.honeypot { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.alert-page { padding-top: 1.5rem; padding-bottom: 3.5rem; }
.alert-page > .offer-alert-form { max-width: 38rem; padding: 1.25rem; border: 1px solid var(--color-border); border-radius: var(--radius-card); background: #fff; }
.alert-assurances { display: flex; flex-wrap: wrap; gap: 0.6rem 1.25rem; margin: 1rem 0 0; padding: 0; color: var(--color-muted); font-size: 0.8125rem; list-style: none; }
.alert-assurances li::before { content: "✓"; margin-right: 0.35rem; color: #16845b; font-weight: 800; }
.alert-action-page form { margin-top: 1rem; }
.card-offer-alert-link { display: inline-block; margin-top: 0.75rem; }
.offers-table__head, .offer-row { display: grid; grid-template-columns: minmax(15rem, 1.65fr) minmax(13rem, 1.35fr) 7rem 7rem 6rem 7rem; gap: 0.75rem; align-items: center; }
.offers-table__head { padding: 0.65rem 1rem; border-bottom: 1px solid var(--color-border); background: var(--color-surface-alt); color: var(--color-muted); font-size: 0.7rem; font-weight: 750; text-transform: uppercase; }
.offer-row { padding: 0.8rem 1rem; border-bottom: 1px solid var(--color-border); }
.offer-row:last-child { border-bottom: 0; }
.offer-row__card { display: flex; gap: 0.75rem; align-items: center; }
.offer-row__card h2 { margin: 0; font-size: 0.9rem; line-height: 1.25; }
.offer-row__card p { margin: 0.2rem 0 0; color: var(--color-muted); font-size: 0.72rem; }
.offer-row__visual { display: grid; width: 4.7rem; flex: 0 0 4.7rem; place-items: center; }
.offer-row__visual .card-art__image { width: 4.7rem; max-height: 3.6rem; object-fit: contain; }
.offer-row__visual .card-art__placeholder { width: 4.7rem; }
.offer-components { margin: 0; padding-left: 1rem; font-size: 0.78rem; }
.offer-history { position: relative; }
.offer-history > summary { cursor: pointer; list-style: none; }
.offer-history > summary::-webkit-details-marker { display: none; }
.offer-history__content { grid-column: 1 / -1; margin-top: 0.75rem; padding: 0.9rem; border: 1px solid var(--color-border); border-radius: 0.55rem; background: var(--color-surface-alt); }
.offer-row:has(.offer-history[open]) .offer-history { grid-column: 1 / -1; }
.offer-facts { margin: 0 0 0.7rem; }
.offer-facts > div { padding: 0.35rem 0; }

.card-page-hero { padding: 2rem 0; background: #fff; }
.card-page-hero__grid { grid-template-columns: minmax(14rem, 0.7fr) minmax(0, 1.3fr); gap: 2rem; }
.card-page-visual { min-height: 12rem; padding: 1rem; border: 1px solid var(--color-border); border-radius: var(--radius-card); background: var(--color-surface-alt); }
.card-page-visual .card-art__image { width: min(100%, 12rem); max-height: 11rem; object-fit: contain; }
.card-page-visual .card-art__placeholder { width: min(100%, 11rem); }
.card-page-summary h1 { max-width: 22ch; margin: 0.5rem 0 1rem; font-size: clamp(1.9rem, 3.5vw, 2.35rem); }
.card-facts { gap: 0.5rem; }
.card-facts > div { padding: 0.65rem; border-radius: 0.5rem; background: var(--color-surface-alt); }
.card-page-stack { padding-block: 1rem 3rem; }
.card-offer-panel { padding: 1rem 0; border: 0; border-top: 1px solid var(--color-border); border-radius: 0; box-shadow: none; }
.card-details { margin-top: 0.5rem; }

.site-footer { padding: 1.5rem 0; background: var(--color-navy); }
.footer-inner { display: flex; min-height: 5.5rem; align-items: center; justify-content: space-between; gap: 2rem; }
.brand-wordmark--footer { width: auto; height: 2rem; padding: 0; background: transparent; }
.footer-brand p { margin: 0.35rem 0 0; color: #c9d3de; font-size: 0.78rem; }
.footer-nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 0.6rem 1.1rem; }
.footer-nav a { color: #e4eaf0; font-size: 0.78rem; text-decoration: none; }

@media (max-width: 64rem) {
  .main-nav { display: none; }
  .mobile-menu { display: block; }
  .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(21rem, 0.85fr); gap: 2rem; }
  .catalogue-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .offers-table__head { display: none; }
  .offers-table { overflow: visible; border: 0; }
  .offer-row { grid-template-columns: 1fr 1fr; gap: 0.7rem; margin-bottom: 0.7rem; padding: 0.9rem; border: 1px solid var(--color-border); border-radius: 0.65rem; }
  .offer-row__card, .offer-row__current, .offer-history { grid-column: 1 / -1; }
  .offer-row [data-label]::before { display: block; margin-bottom: 0.15rem; color: var(--color-muted); content: attr(data-label); font-size: 0.68rem; font-weight: 700; text-transform: uppercase; }
}

@media (max-width: 47.99rem) {
  .shell { width: min(calc(100% - 1.5rem), var(--max-content-width)); }
  h1 { font-size: clamp(1.95rem, 9vw, 2.25rem); }
  h2 { font-size: clamp(1.45rem, 6.5vw, 1.65rem); }
  .header-inner { min-height: 4rem; }
  .brand-wordmark { height: 2rem; width: auto; }
  .hero--product { padding: 2.25rem 0; }
  .hero-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .hero-copy h1 { font-size: clamp(2.1rem, 10vw, 2.25rem); }
  .hero-actions { align-items: stretch; }
  .hero-actions .button { width: 100%; }
  .product-preview { padding: 1rem; }
  .product-preview__cards > div { width: 5.5rem; }
  .product-preview__cards > div + div { margin-left: -1.15rem; }
  .product-preview__cards .card-art__image, .product-preview__cards .card-art__placeholder { width: 5.5rem; }
  .door-grid--three { grid-template-columns: 1fr; }
  .door-card p { min-height: 0; }
  .trust-strip__inner { display: grid; gap: 0.45rem; }
  .page-hero, .top-picks-hero { padding: 2rem 0 1.25rem; }
  .top-picks-hero__actions .button { width: 100%; }
  .profile-tabs { overflow-x: auto; flex-wrap: nowrap; scroll-snap-type: x proximity; }
  .profile-tab { flex: 0 0 auto; scroll-snap-align: start; }
  .profile-panel { padding: 0.9rem; }
  .profile-strategy-card { grid-template-columns: 1fr; }
  .profile-card-stack__item { width: 5.25rem; flex-basis: 5.25rem; }
  .profile-card-stack__item + .profile-card-stack__item { margin-left: -1.1rem; }
  .profile-card-stack .card-art__image, .profile-card-stack .card-art__placeholder { width: 5.25rem; }
  .profile-personal-cta { align-items: flex-start; }
  .best-welcome-offer { grid-template-columns: 1.5rem 4.5rem minmax(0, 1fr); gap: 0.7rem; }
  .best-welcome-offer__actions { grid-column: 3; justify-items: start; }
  .offers-alert-signup { grid-template-columns: 1fr; gap: 1rem; }
  .profile-unavailable h2, .profile-unavailable p { display: block; }
  .usage-picks-table { border: 0; background: transparent; }
  .usage-picks-table__head { display: none; }
  .usage-pick-row { grid-template-columns: minmax(0, 1fr) auto; gap: 0.65rem; margin-bottom: 0.55rem; padding: 0.8rem; border: 1px solid var(--color-border); border-radius: 0.65rem; background: #fff; }
  .usage-pick-row > h3 { grid-column: 1 / -1; }
  .usage-pick-row .top-pick-winner { min-width: 0; }
  .usage-pick-row__value { justify-self: end; }
  .usage-pick-row__action { grid-column: 2; }
  .usage-pick-row .top-pick-details { grid-column: 1 / -1; }
  .unavailable-categories > summary { display: grid; }
  .result-primary { grid-template-columns: 1fr; }
  .result-primary__art { min-height: 6rem; justify-content: start; }
  .result-primary__art .card-art__image, .result-primary__art .card-art__placeholder { width: 6rem; }
  .goal-grid { grid-template-columns: 1fr; }
  .wizard-card { padding: 1rem; }
  .wizard-actions { margin: 1rem -1rem -1rem; padding: 0.75rem 1rem; }
  .catalogue-filters { grid-template-columns: 1fr; }
  .catalogue-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.6rem; }
  .catalogue-card { min-height: 12rem; }
  .catalogue-card__visual { min-height: 6rem; }
  .catalogue-card__visual .card-art__image, .catalogue-card__visual .card-art__placeholder { width: 5.5rem; }
  .pagination { flex-wrap: wrap; }
  .offers-table { overflow: visible; border: 0; }
  .offer-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.7rem; margin-bottom: 0.7rem; padding: 0.9rem; border: 1px solid var(--color-border); border-radius: 0.65rem; }
  .offer-row__card, .offer-row__current, .offer-history { grid-column: 1 / -1; }
  .offer-row [data-label]::before { display: block; margin-bottom: 0.15rem; color: var(--color-muted); content: attr(data-label); font-size: 0.68rem; font-weight: 700; text-transform: uppercase; }
  .card-page-hero__grid { grid-template-columns: 1fr; gap: 1.25rem; }
  .card-page-visual { min-height: 9rem; }
  .card-page-visual .card-art__image, .card-page-visual .card-art__placeholder { width: 9rem; }
  .footer-inner { display: grid; min-height: 0; }
  .footer-nav { justify-content: flex-start; }
}

@media (max-width: 24rem) {
  .catalogue-grid { grid-template-columns: 1fr; }
}

/* Editorial guides — compact, readable, and intentionally low-decoration. */
.guides-page { padding-block: 2.75rem 4rem; }
.guides-index-header { max-width: 44rem; margin-bottom: 2rem; }
.guides-index-header h1 { max-width: 18ch; margin: 0.35rem 0 0.75rem; font-size: clamp(2rem, 4vw, 2.375rem); line-height: 1.12; }
.guides-index-header > p:last-child { margin: 0; color: var(--color-muted); font-size: 1.05rem; }
.guide-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.guide-list-item { display: flex; min-width: 0; overflow: hidden; flex-direction: column; border: 1px solid var(--color-border); border-radius: 0.7rem; background: var(--color-surface); }
.guide-list-item__image-link { display: block; width: 100%; aspect-ratio: 1200 / 630; overflow: hidden; background: var(--color-surface-alt); }
.guide-list-item__image { display: block; width: 100%; height: 100%; aspect-ratio: 1200 / 630; object-fit: contain; }
.guide-list-item__content { display: flex; min-width: 0; flex: 1; flex-direction: column; padding: 1.15rem 1.2rem 1.2rem; }
.guide-list-item__content h2 { margin: 0.35rem 0 0.5rem; font-size: 1.2rem; line-height: 1.25; }
.guide-list-item__content h2 a { color: var(--color-text); text-decoration: none; }
.guide-list-item__content h2 a:hover { color: var(--color-blue); }
.guide-list-item__content > p:not(.guide-meta) { display: -webkit-box; margin: 0 0 0.75rem; overflow: hidden; color: var(--color-muted); font-size: 0.9rem; line-height: 1.5; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.guide-list-item__content > .text-link { width: fit-content; margin-top: auto; font-size: 0.9rem; font-weight: 700; }
.guide-meta { margin: 0; color: var(--color-muted); font-size: 0.8rem; font-weight: 650; }
.guides-empty { max-width: 44rem; padding: 1.4rem 0; border-block: 1px solid var(--color-border); }
.guides-empty h2 { margin: 0 0 0.4rem; font-size: 1.3rem; }
.guides-empty p { margin: 0; color: var(--color-muted); }

.guide-article { padding-block: 1.5rem 4rem; }
.guide-breadcrumb { display: flex; gap: 0.45rem; margin-bottom: 2rem; color: var(--color-muted); font-size: 0.8rem; }
.guide-breadcrumb a { color: inherit; }
.guide-article-header { max-width: 44rem; margin-inline: auto; }
.guide-article-header h1 { margin: 0.45rem 0 0.8rem; font-size: clamp(2rem, 4vw, 2.375rem); line-height: 1.12; }
.guide-article-intro { margin: 0; color: var(--color-muted); font-size: 1.1rem; line-height: 1.55; }
.guide-hero { width: 100%; max-width: 36.25rem; margin: 1.5rem auto 1.75rem; border-radius: 0.6rem; }
.guide-hero img { display: block; width: 100%; height: auto; aspect-ratio: auto; border-radius: inherit; object-fit: contain; }
.guide-article-layout { display: grid; grid-template-columns: minmax(9rem, 12rem) minmax(0, 44rem); justify-content: center; gap: 2.5rem; }
.guide-body { max-width: 44rem; font-size: 1.03rem; line-height: 1.65; }
.guide-body h2, .guide-body h3 { scroll-margin-top: 5.5rem; }
.guide-body h2 { margin: 2.25rem 0 0.8rem; font-size: 1.7rem; line-height: 1.2; }
.guide-body > h2:first-child { margin-top: 0; }
.guide-body h3 { margin: 1.75rem 0 0.65rem; font-size: 1.3rem; line-height: 1.25; }
.guide-body p, .guide-body ul { margin-block: 0 1rem; }
.guide-body li + li { margin-top: 0.35rem; }
.guide-body blockquote { margin: 1.25rem 0; padding: 0.2rem 0 0.2rem 1rem; border-left: 3px solid var(--color-border); color: var(--color-muted); }
.guide-body blockquote p:last-child { margin-bottom: 0; }
.guide-body table { display: block; width: 100%; margin: 1.25rem 0; overflow-x: auto; border-collapse: collapse; font-size: 0.9rem; }
.guide-body th, .guide-body td { min-width: 8rem; padding: 0.65rem 0.75rem; border: 1px solid var(--color-border); text-align: left; vertical-align: top; }
.guide-body th { background: var(--color-surface-alt); font-weight: 750; }
.guide-body h2 .anchor, .guide-body h3 .anchor { display: none; }
.guide-related-links { display: flex; flex-wrap: wrap; gap: 0.5rem 1rem; font-size: 0.92rem; }
.guide-toc { font-size: 0.82rem; }
.guide-toc--desktop { position: sticky; top: 5.25rem; align-self: start; padding-left: 0.8rem; border-left: 2px solid var(--color-border); }
.guide-toc ol { margin: 0.55rem 0 0; padding-left: 1.15rem; }
.guide-toc li + li { margin-top: 0.45rem; }
.guide-toc a { color: var(--color-muted); text-decoration: none; }
.guide-toc a:hover { color: var(--color-blue); }
.guide-toc--mobile { display: none; }
.guide-infographic { width: 100%; max-width: 45rem; margin: 1.5rem auto; }
.guide-infographic img { display: block; width: 100%; height: auto; border: 1px solid var(--color-border); border-radius: 0.65rem; object-fit: contain; }
.guide-cta { margin-top: 2.25rem; padding-top: 1.5rem; border-top: 1px solid var(--color-border); }

@media (max-width: 68.74rem) {
  .guide-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 64rem) {
  .guide-article-layout { grid-template-columns: minmax(8rem, 10rem) minmax(0, 44rem); gap: 1.5rem; }
}

@media (max-width: 47.99rem) {
  .guides-page { padding-block: 2rem 3rem; }
  .guide-list { grid-template-columns: 1fr; gap: 1rem; }
  .guide-list-item__content { padding: 1rem; }
  .guide-list-item__content h2 { font-size: 1.12rem; }
  .guide-article { padding-block: 1rem 3rem; }
  .guide-breadcrumb { margin-bottom: 1.4rem; }
  .guide-article-header h1 { font-size: clamp(1.9rem, 9vw, 2rem); }
  .guide-hero { margin-block: 1.25rem 1.5rem; }
  .guide-article-layout { display: block; }
  .guide-toc--desktop { display: none; }
  .guide-toc--mobile { display: block; margin-bottom: 1.5rem; padding: 0.7rem 0; border-block: 1px solid var(--color-border); }
  .guide-toc--mobile summary { cursor: pointer; font-weight: 700; }
  .guide-body { font-size: 1rem; }
  .guide-body h2 { font-size: 1.5rem; }
}

/* Homepage — stronger product hierarchy without changing the shared design system. */
.hero--product {
  padding-block: clamp(2.5rem, 5vw, 4rem);
}

.hero--product .hero-grid {
  grid-template-columns: minmax(0, 0.92fr) minmax(28rem, 1.08fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.hero--product .hero-copy h1 {
  max-width: 12ch;
}

.hero--product .hero-description {
  max-width: 34rem;
}

.hero--product .hero-actions .button--primary {
  border-color: var(--color-purple);
  background: var(--color-purple);
}

.hero--product .hero-actions .button--primary:hover {
  border-color: #5638be;
  background: #5638be;
}

.hero--product .hero-actions .button:active {
  transform: translateY(1px);
}

.hero-reassurance {
  margin: 0.85rem 0 0;
  color: var(--color-muted);
  font-size: 0.78rem;
  font-weight: 650;
}

.product-preview {
  overflow: hidden;
  padding: 1.35rem 1.45rem 1.4rem;
  box-shadow: 0 6px 18px rgb(11 31 54 / 6%);
}

.product-preview header {
  gap: 1rem;
}

.product-preview header > span {
  color: var(--color-purple);
  font-weight: 760;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.product-preview__strategy-type {
  margin: 1rem 0 0.25rem;
  color: var(--color-muted);
  font-size: 0.76rem;
  font-weight: 700;
}

.product-preview h2 {
  max-width: 25ch;
  margin: 0;
  font-size: 1.28rem;
  line-height: 1.22;
}

.product-preview__cards {
  min-height: 8.5rem;
  margin: 0.85rem 0 0.65rem;
  padding-inline: 1rem;
}

.product-preview__cards > .product-preview__card {
  width: 8.9rem;
  flex: 0 0 8.9rem;
}

.product-preview__cards > .product-preview__card + .product-preview__card {
  margin-left: -2.15rem;
}

.product-preview__cards .card-art__image {
  width: 8.9rem;
  height: 7.2rem;
  max-height: 7.2rem;
  object-fit: contain;
  filter: drop-shadow(0 4px 5px rgb(11 31 54 / 12%));
}

.product-preview__cards .card-art__placeholder {
  width: 8.9rem;
}

.product-preview__roles {
  display: grid;
  margin: 0;
  padding: 0;
  gap: 0.5rem;
  list-style: none;
}

.product-preview__roles li {
  display: grid;
  grid-template-columns: minmax(8.5rem, 0.8fr) minmax(0, 1.2fr);
  gap: 0.75rem;
  padding-top: 0.5rem;
  border-top: 1px solid var(--color-border);
}

.product-preview__roles strong,
.product-preview__roles span {
  font-size: 0.75rem;
  line-height: 1.35;
}

.product-preview__roles strong {
  color: var(--color-navy);
}

.product-preview__roles span {
  color: var(--color-muted);
}

.product-preview__value {
  display: grid;
  margin-top: 0.85rem;
  padding: 0.8rem 0.9rem;
  border-radius: 0.55rem;
  background: var(--color-surface-alt);
  gap: 0.05rem;
}

.product-preview__value > span,
.product-preview__value > small {
  color: var(--color-muted);
  font-size: 0.72rem;
}

.product-preview__value > strong {
  color: var(--color-navy);
  font-size: clamp(1.35rem, 3vw, 1.7rem);
  line-height: 1.2;
}

.product-preview .product-preview__gain {
  margin: 0.65rem 0 0.7rem;
  color: var(--color-muted);
  font-size: 0.78rem;
}

.product-preview__gain strong {
  color: #197044;
}

.product-preview__link {
  display: inline-flex;
  min-height: 2.5rem;
  align-items: center;
}

.product-preview.is-reveal-ready .reveal-item {
  opacity: 0;
  transform: translateY(8px);
}

.product-preview.is-reveal-ready .reveal-item--card-2,
.product-preview.is-reveal-ready .reveal-item--card-3 {
  transform: translate(-10px, 5px);
}

.product-preview.is-reveal-ready.is-revealed .reveal-item {
  opacity: 1;
  transform: translate(0, 0);
  transition: opacity 320ms ease-out, transform 320ms ease-out;
}

.product-preview.is-reveal-ready.is-revealed .reveal-item--card-2 { transition-delay: 100ms; }
.product-preview.is-reveal-ready.is-revealed .reveal-item--card-3 { transition-delay: 170ms; }
.product-preview.is-reveal-ready.is-revealed .reveal-item--roles { transition-delay: 250ms; }
.product-preview.is-reveal-ready.is-revealed .reveal-item--value { transition-delay: 430ms; }
.product-preview.is-reveal-ready.is-revealed .reveal-item--gain { transition-delay: 600ms; }

.section--doors .door-grid {
  align-items: stretch;
}

.section--doors .door-card {
  display: flex;
  min-height: 12rem;
  flex-direction: column;
}

.section--doors .door-card--featured {
  border-color: #aa99df;
  background: #faf8ff;
}

.section--doors .door-card--featured .door-link {
  color: var(--color-purple);
}

.section--doors .door-link {
  margin-top: auto;
}

.home-methodology {
  padding-block: 2.75rem;
  background: #fff;
}

.home-methodology__heading {
  display: flex;
  margin-bottom: 1.3rem;
  align-items: baseline;
  justify-content: space-between;
  gap: 1.5rem;
}

.home-methodology__heading h2 {
  margin: 0;
}

.home-methodology__steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  border-block: 1px solid var(--color-border);
  list-style: none;
}

.home-methodology__steps li {
  display: grid;
  grid-template-columns: 1.65rem minmax(0, 1fr);
  padding: 1.15rem 1.25rem;
  align-items: start;
  gap: 0.65rem;
}

.home-methodology__steps li + li {
  border-left: 1px solid var(--color-border);
}

.home-methodology__steps span {
  display: grid;
  width: 1.65rem;
  height: 1.65rem;
  place-items: center;
  border-radius: 50%;
  background: #f0edfb;
  color: var(--color-purple);
  font-size: 0.72rem;
  font-weight: 800;
}

.home-methodology__steps p {
  margin: 0;
  color: var(--color-navy-soft);
  font-size: 0.9rem;
  font-weight: 650;
}

.home-methodology .analysis-inline {
  display: flex;
  margin-top: 1rem;
  align-items: center;
  gap: 0.75rem;
  color: var(--color-muted);
}

.home-methodology .analysis-inline strong,
.home-methodology .analysis-inline p {
  display: inline;
  font-size: 0.78rem;
}

.home-methodology .analysis-inline strong {
  margin-right: 0.25rem;
  color: var(--color-navy-soft);
}

@media (max-width: 56rem) {
  .hero--product .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero--product .hero-copy {
    max-width: 40rem;
  }

  .product-preview {
    width: min(100%, 40rem);
  }
}

@media (max-width: 47.99rem) {
  .hero--product {
    padding-block: 2.25rem;
  }

  .hero-reassurance {
    line-height: 1.5;
  }

  .product-preview {
    padding: 1rem;
  }

  .product-preview header {
    align-items: flex-start;
  }

  .product-preview header strong {
    text-align: right;
  }

  .product-preview__cards {
    min-height: 7rem;
    padding-inline: 0;
  }

  .product-preview__cards > .product-preview__card {
    width: 6.9rem;
    flex-basis: 6.9rem;
  }

  .product-preview__cards > .product-preview__card + .product-preview__card {
    margin-left: -1.45rem;
  }

  .product-preview__cards .card-art__image,
  .product-preview__cards .card-art__placeholder {
    width: 6.9rem;
  }

  .product-preview__cards .card-art__image {
    height: 5.9rem;
  }

  .product-preview__roles li {
    grid-template-columns: 1fr;
    gap: 0.15rem;
  }

  .section--doors .door-card {
    min-height: 0;
  }

  .home-methodology {
    padding-block: 2.25rem;
  }

  .home-methodology__heading {
    display: grid;
    gap: 0.6rem;
  }

  .home-methodology__steps {
    grid-template-columns: 1fr;
  }

  .home-methodology__steps li {
    padding-inline: 0.25rem;
  }

  .home-methodology__steps li + li {
    border-top: 1px solid var(--color-border);
    border-left: 0;
  }

  .home-methodology .analysis-inline {
    align-items: flex-start;
  }

  .home-methodology .analysis-inline strong,
  .home-methodology .analysis-inline p {
    display: block;
  }
}

@media (prefers-reduced-motion: reduce) {
  .product-preview.is-reveal-ready .reveal-item,
  .product-preview.is-reveal-ready.is-revealed .reveal-item {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* CarteIQ visual evolution: calm financial intelligence with stronger proof hierarchy. */
body {
  background: var(--color-page-background);
  color: var(--color-text-primary);
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--color-purple);
  outline-offset: 3px;
  box-shadow: var(--focus-ring);
}

.calculated-badge {
  display: inline-flex;
  width: fit-content;
  min-height: 1.75rem;
  padding: 0.3rem 0.65rem;
  align-items: center;
  gap: 0.35rem;
  border: 1px solid rgb(104 70 214 / 22%);
  border-radius: 999px;
  background: rgb(255 255 255 / 72%);
  color: #5539b7;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.055em;
  line-height: 1.1;
  text-transform: uppercase;
  white-space: nowrap;
}

.calculated-badge > span {
  display: grid;
  width: 1rem;
  height: 1rem;
  place-items: center;
  border-radius: 50%;
  background: var(--color-purple);
  color: #fff;
  font-size: 0.62rem;
}

.hero--product {
  position: relative;
  overflow: clip;
  border-bottom: 1px solid rgb(104 70 214 / 10%);
  background:
    radial-gradient(circle at 7% 12%, rgb(18 95 194 / 11%) 0, transparent 25rem),
    radial-gradient(circle at 91% 15%, rgb(104 70 214 / 13%) 0, transparent 24rem),
    var(--gradient-brand-soft);
}

.hero--product .hero-copy {
  position: relative;
  z-index: 1;
}

.hero--product .hero-copy h1 {
  color: var(--color-navy);
  text-wrap: balance;
}

.hero--product .hero-description {
  color: var(--color-navy-soft);
}

.hero--product .hero-actions .button--primary,
.button--nav {
  border-color: transparent;
  background: var(--gradient-brand);
  box-shadow: 0 8px 18px rgb(67 61 184 / 18%);
}

.hero--product .hero-actions .button--primary:hover,
.button--nav:hover {
  border-color: transparent;
  background: linear-gradient(135deg, #0f55ad 0%, #593bc1 100%);
  box-shadow: 0 10px 22px rgb(67 61 184 / 23%);
  transform: translateY(-1px);
}

.hero-reassurance {
  color: var(--color-navy-soft);
}

.product-preview {
  position: relative;
  z-index: 1;
  padding: 1.5rem;
  border-color: rgb(104 70 214 / 28%);
  background:
    linear-gradient(rgb(255 255 255 / 78%), rgb(255 255 255 / 78%)) padding-box,
    var(--gradient-brand-soft) border-box;
  box-shadow: var(--shadow-featured);
}

.product-preview::after {
  position: absolute;
  z-index: -1;
  right: -4rem;
  bottom: -5rem;
  width: 14rem;
  height: 14rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgb(104 70 214 / 11%) 0, transparent 68%);
  content: "";
  pointer-events: none;
}

.product-preview__header {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.product-preview__header > strong {
  color: var(--color-navy-soft);
  font-size: 0.76rem;
  font-weight: 720;
}

.product-preview__eyebrow {
  margin: 1rem 0 0.1rem !important;
  color: var(--color-purple) !important;
  font-size: 0.69rem !important;
  font-weight: 800;
  letter-spacing: 0.075em;
  text-transform: uppercase;
}

.product-preview__strategy-type {
  margin-top: 0.25rem;
}

.product-preview h2 {
  color: var(--color-navy);
  font-size: clamp(1.3rem, 2.3vw, 1.6rem);
}

.product-preview__cards {
  min-height: 9.4rem;
  margin-block: 0.85rem 0.45rem;
}

.product-preview__cards > .product-preview__card {
  width: 10.25rem;
  flex-basis: 10.25rem;
}

.product-preview__cards > .product-preview__card + .product-preview__card {
  margin-left: -2.4rem;
}

.product-preview__cards .card-art__image {
  width: 10.25rem;
  height: 8.4rem;
  max-height: 8.4rem;
  filter: drop-shadow(0 8px 10px rgb(11 31 54 / 18%));
}

.product-preview__value {
  margin-top: 0.65rem;
  padding: 0.9rem 1rem;
  border: 1px solid rgb(18 95 194 / 11%);
  background: rgb(255 255 255 / 80%);
}

.product-preview__value > strong {
  font-size: clamp(1.65rem, 3vw, 2rem);
}

.product-preview .product-preview__gain {
  display: flex;
  margin-block: 0.7rem 0.8rem;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.2rem 0.35rem;
}

.positive-mark {
  display: inline-grid;
  width: 1.35rem;
  height: 1.35rem;
  place-items: center;
  border-radius: 50%;
  background: var(--color-positive-surface);
  color: var(--color-positive);
  font-weight: 900;
}

.product-preview__gain strong {
  color: var(--color-positive);
}

.product-preview__roles {
  gap: 0;
  border-block: 1px solid var(--color-border-subtle);
}

.product-preview__roles li {
  display: grid;
  grid-template-columns: 1.4rem minmax(0, 1fr);
  padding: 0.6rem 0;
  border-top: 0;
  align-items: start;
  gap: 0.55rem;
}

.product-preview__roles li + li {
  border-top: 1px solid var(--color-border-subtle);
}

.product-preview__roles li > span:last-child {
  display: grid;
  gap: 0.1rem;
}

.product-preview__roles small {
  color: var(--color-text-secondary);
  font-size: 0.72rem;
  line-height: 1.35;
}

.role-index {
  display: grid;
  width: 1.35rem;
  height: 1.35rem;
  place-items: center;
  border-radius: 50%;
  background: var(--color-information-surface);
  color: var(--color-blue-dark);
  font-size: 0.65rem;
  font-weight: 800;
}

.product-preview__link {
  margin-top: 0.45rem;
}

.product-preview__proof {
  display: flex;
  margin: 0.25rem 0 0 !important;
  align-items: center;
  gap: 0.35rem;
  color: var(--color-navy-soft) !important;
  font-size: 0.7rem !important;
  font-weight: 700;
}

.product-preview__proof > span {
  color: var(--color-positive);
}

.section--doors,
.section--compact {
  background: #fbfaf7;
}

.section--doors .door-grid {
  gap: 1rem;
}

.section--doors .door-card {
  position: relative;
  overflow: hidden;
  min-height: 13.5rem;
  padding: 1.45rem;
  border-color: var(--color-border-subtle);
  box-shadow: var(--shadow-standard);
  transition: border-color 220ms ease, box-shadow 220ms ease, transform 220ms ease;
}

.section--doors .door-card:hover {
  border-color: #c8d2e0;
  box-shadow: 0 12px 28px rgb(11 31 54 / 9%);
  transform: translateY(-3px);
}

.section--doors .door-card--featured {
  border-color: var(--color-border-featured);
  background: linear-gradient(145deg, #fff 0%, #f4f0ff 100%);
  box-shadow: 0 12px 28px rgb(104 70 214 / 10%);
}

.door-card__icon {
  display: grid;
  width: 2.35rem;
  height: 2.35rem;
  margin-bottom: 1rem;
  place-items: center;
  border-radius: 0.65rem;
  background: #eee9ff;
  color: var(--color-purple);
}

.door-card__icon--blue {
  background: var(--color-information-surface);
  color: var(--color-blue);
}

.door-card__icon--navy {
  background: #edf0f5;
  color: var(--color-navy-soft);
}

.door-card__icon svg {
  width: 1.3rem;
  height: 1.3rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.door-card__support {
  display: block;
  margin-top: 0.7rem;
  color: var(--color-muted);
  font-size: 0.76rem;
  line-height: 1.45;
}

.home-offers-strip {
  display: flex;
  margin-top: 1rem;
  padding: 1rem 1.15rem;
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-card);
  background: #fff;
  box-shadow: 0 8px 22px rgb(11 31 54 / 5%);
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.home-offers-strip .eyebrow { margin-bottom: 0.2rem; }
.home-offers-strip h3 { margin: 0; color: var(--color-navy); font-size: 1rem; }
.home-offers-strip p:not(.eyebrow) { margin: 0.2rem 0 0; color: var(--color-text-secondary); font-size: 0.86rem; }
.home-offers-strip .button { flex: 0 0 auto; }

.home-methodology {
  background: var(--color-information-surface);
}

.home-methodology__steps {
  position: relative;
  overflow: hidden;
  border: 1px solid rgb(18 95 194 / 12%);
  border-radius: var(--radius-card);
  background: rgb(255 255 255 / 68%);
}

.home-methodology__steps::before {
  position: absolute;
  top: 2rem;
  right: 16.66%;
  left: 16.66%;
  height: 1px;
  background: linear-gradient(90deg, rgb(18 95 194 / 18%), rgb(104 70 214 / 28%));
  content: "";
}

.home-methodology__steps li {
  position: relative;
  grid-template-columns: 2rem minmax(0, 1fr);
  padding: 1.35rem;
}

.home-methodology__steps span {
  position: relative;
  z-index: 1;
  width: 2rem;
  height: 2rem;
  background: var(--gradient-brand);
  color: #fff;
  box-shadow: 0 0 0 5px var(--color-information-surface);
}

.home-methodology .analysis-inline {
  padding: 0.85rem 1rem;
  border: 1px dashed rgb(18 95 194 / 20%);
  border-radius: var(--radius-small);
  background: rgb(255 255 255 / 48%);
}

.trust-strip {
  border-block: 1px solid rgb(104 70 214 / 12%);
  background: #f5f2ff;
}

.trust-strip__inner {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
}

.trust-strip__inner span {
  display: flex;
  min-height: 4.25rem;
  padding: 0.8rem;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  color: var(--color-navy-soft);
  line-height: 1.3;
  text-align: center;
}

.trust-strip__inner span + span {
  border-left: 1px solid rgb(104 70 214 / 12%);
}

.trust-strip__inner i {
  display: grid;
  width: 1.15rem;
  height: 1.15rem;
  flex: 0 0 1.15rem;
  place-items: center;
  border-radius: 50%;
  background: #e7f5ee;
  color: var(--color-positive);
  font-size: 0.62rem;
  font-style: normal;
  font-weight: 900;
}

/* Public strategies: make the authoritative recommendation the visual focus. */
.top-picks-hero--strategies {
  border-bottom: 1px solid rgb(18 95 194 / 9%);
  background:
    radial-gradient(circle at 82% 18%, rgb(104 70 214 / 10%) 0, transparent 22rem),
    linear-gradient(180deg, #f7faff 0%, #fff 100%);
}

.top-picks-page {
  padding-top: 1.25rem;
}

.top-picks-context {
  display: flex;
  padding: 0.65rem 0.8rem;
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-small);
  background: #fff;
  justify-content: space-between;
  gap: 1rem;
}

.profile-tabs {
  border-color: var(--color-border-subtle);
  background: #eef2f8;
}

.profile-tab {
  transition: background 180ms ease, box-shadow 180ms ease, color 180ms ease;
}

.profile-tab:hover,
.profile-tab.is-active,
.profile-tab[aria-selected="true"] {
  background: #fff;
  color: #5539b7;
  box-shadow: 0 3px 10px rgb(11 31 54 / 8%);
}

.profile-panel {
  padding: 0;
  border: 0;
  background: transparent;
}

.profile-strategy-card {
  padding: 1.35rem;
  border: 1px solid rgb(104 70 214 / 26%);
  border-radius: 0.9rem;
  background:
    radial-gradient(circle at 85% 12%, rgb(104 70 214 / 10%) 0, transparent 16rem),
    var(--gradient-brand-soft);
  box-shadow: var(--shadow-featured);
}

.profile-strategy-card__main {
  align-content: start;
}

.profile-strategy-card h3 {
  margin-top: 0.65rem;
  color: var(--color-navy);
  font-size: clamp(1.35rem, 2.5vw, 1.65rem);
}

.profile-card-stack {
  min-height: 8.3rem;
  margin-block: 0.65rem;
}

.profile-card-stack__item {
  width: 7.8rem;
  flex-basis: 7.8rem;
}

.profile-card-stack__item + .profile-card-stack__item {
  margin-left: -1.6rem;
}

.profile-card-stack .card-art__image {
  width: 7.8rem;
  height: 7.4rem;
  filter: drop-shadow(0 7px 8px rgb(11 31 54 / 17%));
}

.profile-card-names--with-roles {
  display: grid;
  margin: 0;
  padding: 0;
  gap: 0.45rem;
  list-style: none;
}

.profile-card-names--with-roles li {
  display: grid;
  padding-top: 0.45rem;
  border-top: 1px solid rgb(104 70 214 / 12%);
  gap: 0.05rem;
}

.profile-card-names--with-roles strong {
  color: var(--color-navy);
  font-size: 0.78rem;
}

.profile-card-names--with-roles span {
  color: var(--color-text-secondary);
  font-size: 0.7rem;
}

.profile-strategy-card__summary {
  align-self: stretch;
  padding: 1.2rem;
  border: 1px solid rgb(255 255 255 / 78%);
  background: rgb(255 255 255 / 78%);
  box-shadow: var(--shadow-standard);
}

.profile-strategy-card__summary .reference-value strong {
  color: var(--color-navy);
  font-size: clamp(1.65rem, 3vw, 2rem);
}

.profile-strategy-card__summary .reference-value span {
  display: block;
  line-height: 1.45;
}

.profile-delta {
  padding: 0.65rem 0.75rem;
  border-radius: var(--radius-small);
  background: var(--color-positive-surface);
  color: var(--color-navy-soft);
}

.profile-delta strong {
  color: var(--color-positive);
}

.profile-fee-proof {
  display: flex;
  margin: 0.65rem 0 0;
  align-items: center;
  gap: 0.35rem;
  color: var(--color-navy-soft);
  font-size: 0.74rem;
  font-weight: 700;
}

.profile-fee-proof span {
  color: var(--color-positive);
}

.profile-picks__heading--v4 {
  max-width: 48rem;
}

.persona-v4-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
  margin-block: 1rem 1.25rem;
}

.persona-v4-choice {
  display: grid;
  min-width: 0;
  padding: 0.9rem;
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-small);
  background: #fff;
  color: var(--color-text-secondary);
  gap: 0.45rem;
  text-decoration: none;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.persona-v4-choice:hover,
.persona-v4-choice.is-active {
  border-color: var(--color-border-featured);
  box-shadow: var(--shadow-standard);
  transform: translateY(-2px);
}

.persona-v4-choice.is-active {
  background: var(--color-information-surface);
}

.persona-v4-choice strong {
  color: var(--color-navy);
  line-height: 1.25;
}

.persona-v4-choice > span:not(.text-link) {
  font-size: 0.78rem;
  line-height: 1.45;
}

.persona-v4-choice__facts {
  margin-top: auto;
  padding-top: 0.35rem;
  border-top: 1px solid var(--color-border-subtle);
  font-weight: 700;
}

.persona-v4-choice__details {
  display: grid;
  margin: 0;
  gap: 0.35rem;
}

.persona-v4-choice__details div {
  display: grid;
  gap: 0.05rem;
}

.persona-v4-choice__details dt {
  color: var(--color-text-secondary);
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.persona-v4-choice__details dd {
  margin: 0;
  color: var(--color-navy);
  font-size: 0.74rem;
  font-weight: 700;
}

.persona-v4-choice .text-link {
  font-size: 0.78rem;
}

.persona-panel--v4 {
  display: grid;
  gap: 0.9rem;
}

.persona-v4-fit {
  max-width: 68ch;
  color: var(--color-navy);
  font-size: 1.02rem;
  font-weight: 700;
}

.persona-v4-comparison {
  padding: 0.85rem;
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-small);
  background: var(--color-positive-surface);
}

.profile-details--why > summary {
  padding-inline: 0.8rem;
  border-radius: var(--radius-small);
  background: var(--color-information-surface);
}

.profile-solo {
  opacity: 0.94;
  border-color: var(--color-border-subtle);
  background: #fff;
  box-shadow: var(--shadow-standard);
}

.profile-personal-cta {
  display: flex;
  padding: 0.9rem 1rem;
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-small);
  background: #fff;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.profile-personal-cta p {
  margin: 0;
}

.usage-picks {
  border-top: 0;
}

.usage-picks-table {
  display: grid;
  overflow: visible;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border: 0;
  background: transparent;
  gap: 0.85rem;
}

.usage-picks-table__head {
  position: absolute;
  overflow: hidden;
  width: 1px;
  height: 1px;
  padding: 0;
  border: 0;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.usage-pick-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  min-width: 0;
  padding: 1rem;
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-card);
  background: #fff;
  box-shadow: var(--shadow-standard);
  align-items: center;
  gap: 0.75rem;
  transition: border-color 220ms ease, box-shadow 220ms ease, transform 220ms ease;
}

.usage-pick-row:last-child {
  border-bottom: 1px solid var(--color-border-subtle);
}

.usage-pick-row:hover {
  border-color: #c7d4e5;
  box-shadow: 0 12px 28px rgb(11 31 54 / 9%);
  transform: translateY(-2px);
}

.usage-pick-row > h3 {
  grid-column: 1 / -1;
  padding-bottom: 0.55rem;
  border-bottom: 1px solid var(--color-border-subtle);
  color: var(--color-blue-dark);
  font-size: 0.82rem;
  letter-spacing: 0.035em;
  text-transform: uppercase;
}

.usage-pick-row .top-pick-winner {
  min-width: 0;
}

.usage-pick-row .top-pick-winner__visual {
  width: 6.5rem;
  flex-basis: 6.5rem;
}

.usage-pick-row .top-pick-winner__visual .card-art__image,
.usage-pick-row .top-pick-winner__visual .card-art__placeholder {
  width: 6.25rem;
}

.usage-pick-row .top-pick-winner h4 {
  font-size: 0.94rem;
}

.usage-pick-row__value {
  display: grid;
  min-width: 7.5rem;
  justify-items: end;
  color: var(--color-navy);
  font-size: 1rem;
  text-align: right;
}

.usage-pick-row__value > span {
  color: var(--color-text-secondary);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.2;
}

.usage-pick-row__action {
  grid-column: 2;
}

.usage-pick-row .top-pick-details {
  grid-column: 1 / -1;
  margin: 0;
}

.top-picks-trust {
  padding: 1.15rem 1.25rem;
  border: 1px solid rgb(18 95 194 / 12%);
  border-radius: var(--radius-card);
  background: var(--color-information-surface);
  color: var(--color-navy-soft);
}

.top-picks-trust h2 {
  color: var(--color-navy);
}

.top-picks-trust p:last-child {
  color: var(--color-blue-dark);
}

@media (max-width: 68rem) {
  .trust-strip__inner {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .trust-strip__inner span + span {
    border-left: 0;
  }

  .usage-picks-table {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 47.99rem) {
  .hero--product {
    background:
      radial-gradient(circle at 90% 7%, rgb(104 70 214 / 11%) 0, transparent 14rem),
      var(--gradient-brand-soft);
  }

  .hero--product .hero-actions .button {
    width: 100%;
  }

  .product-preview {
    padding: 1rem;
  }

  .product-preview__header {
    display: grid;
    justify-items: start;
    gap: 0.55rem;
  }

  .product-preview__header > strong {
    text-align: left;
  }

  .product-preview__cards {
    min-height: 7.6rem;
  }

  .product-preview__cards > .product-preview__card {
    width: 7.6rem;
    flex-basis: 7.6rem;
  }

  .product-preview__cards > .product-preview__card + .product-preview__card {
    margin-left: -1.65rem;
  }

  .product-preview__cards .card-art__image,
  .product-preview__cards .card-art__placeholder {
    width: 7.6rem;
  }

  .product-preview__cards .card-art__image {
    height: 6.4rem;
  }

  .section--doors .door-card {
    min-height: 0;
  }

  .home-methodology__steps::before {
    display: none;
  }

  .home-methodology__steps li {
    padding: 1rem;
  }

  .home-methodology__steps li + li {
    border-top-color: rgb(18 95 194 / 12%);
  }

  .trust-strip__inner {
    grid-template-columns: 1fr;
    padding-block: 0.6rem;
  }

  .trust-strip__inner span {
    min-height: 0;
    padding: 0.45rem 0;
    justify-content: flex-start;
    text-align: left;
  }

  .top-picks-context {
    display: grid;
  }

  .profile-strategy-card {
    padding: 1rem;
  }

  .profile-card-stack {
    min-height: 7rem;
  }

  .profile-card-stack__item {
    width: 6.6rem;
    flex-basis: 6.6rem;
  }

  .profile-card-stack .card-art__image {
    width: 6.6rem;
    height: 6.3rem;
  }

  .profile-personal-cta {
    display: grid;
  }

  .usage-pick-row {
    grid-template-columns: 1fr;
  }

  .usage-pick-row .top-pick-winner,
  .usage-pick-row__value,
  .usage-pick-row__action,
  .usage-pick-row .top-pick-details {
    grid-column: 1;
  }

  .usage-pick-row__value {
    justify-items: start;
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  .persona-v4-choice {
    transform: none !important;
  }

  .door-card,
  .usage-pick-row,
  .button {
    transition: none !important;
  }

  .door-card:hover,
  .usage-pick-row:hover,
  .button:hover {
    transform: none !important;
  }
}

.usage-picks.top-picks-v2 {
  margin-top: clamp(2rem, 4vw, 3.5rem);
}

/* Rails UX, copy, alerts and live filters V1 */
.product-preview h2.product-preview__eyebrow {
  margin: 0 0 0.45rem !important;
  color: var(--color-purple) !important;
  font-size: 0.78rem !important;
  line-height: 1.35;
}

.product-preview__title {
  margin: 0;
  color: var(--color-navy);
  font-size: clamp(1.3rem, 2.3vw, 1.6rem);
  font-weight: 780;
  line-height: 1.15;
}

.product-preview__header {
  justify-content: flex-end;
  margin-bottom: 0.8rem;
}

.section--alert-benefit {
  padding-block: clamp(1.5rem, 3vw, 2.5rem);
  border-block: 1px solid rgb(104 70 214 / 10%);
  background: linear-gradient(180deg, #fff, rgb(242 247 255 / 72%));
}

.alert-feature {
  display: grid;
  grid-template-columns: 4rem minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  padding: 1.25rem;
  border: 1px solid rgb(104 70 214 / 20%);
  border-radius: var(--radius-card);
  background: linear-gradient(135deg, rgb(237 245 255 / 92%), rgb(246 241 255 / 92%));
  box-shadow: 0 10px 30px rgb(42 53 88 / 7%);
}

.offers-page > .alert-feature {
  margin: 0.5rem 0 2rem;
  padding: clamp(1.25rem, 2.5vw, 1.75rem);
  border-color: rgb(104 70 214 / 32%);
  box-shadow: 0 16px 42px rgb(42 53 88 / 10%);
}

.offers-page > .alert-feature .alert-feature__copy h2 {
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
}

.alert-feature__visual {
  display: grid;
  width: 4rem;
  height: 4rem;
  place-items: center;
  border-radius: 1rem;
  background: rgb(255 255 255 / 76%);
  color: var(--color-purple);
}

.alert-feature__icon {
  width: 3.25rem;
  height: 3.25rem;
}

.alert-feature__copy .eyebrow,
.alert-feature__copy h2,
.alert-feature__copy p {
  margin: 0;
}

.alert-feature__copy h2 {
  margin-top: 0.2rem;
  font-size: clamp(1.15rem, 2vw, 1.4rem);
}

.alert-feature__copy > p:not(.eyebrow, .alert-feature__trust) {
  margin-top: 0.35rem;
  color: var(--color-text-secondary);
}

.alert-feature__trust {
  display: flex;
  margin-top: 0.55rem !important;
  align-items: center;
  gap: 0.35rem;
  color: var(--color-navy-soft);
  font-size: 0.78rem;
  font-weight: 700;
}

.alert-feature__trust span {
  color: var(--color-positive);
}

.alert-feature__action {
  min-width: max-content;
}

.button--alert-secondary {
  min-height: 2.75rem;
  gap: 0.45rem;
  border-color: rgb(104 70 214 / 42%);
  background: linear-gradient(135deg, #fff, rgb(239 244 255 / 92%));
  color: var(--color-purple);
  box-shadow: 0 5px 14px rgb(42 53 88 / 8%);
}

.button--alert-secondary:hover {
  border-color: var(--color-purple);
  background: #fff;
  color: var(--color-purple);
}

.button__alert-icon {
  width: 1.45rem;
  height: 1.45rem;
  flex: 0 0 1.45rem;
}

.welcome-offer-card__alert {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.45rem 1rem;
  border: 1px solid rgb(104 70 214 / 13%);
}

.welcome-offer-card__alert .button {
  grid-row: 1 / span 2;
  grid-column: 2;
  align-self: center;
}

.offers-page__footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  justify-content: flex-end;
  margin-top: 1.25rem;
}

.alert-feature--compact {
  margin-block: 1rem 2rem;
  padding: 1rem;
}

.card-page-summary .alert-feature {
  grid-template-columns: 3rem minmax(0, 1fr);
  margin-top: 1rem;
}

.card-page-summary .alert-feature__visual {
  width: 3rem;
  height: 3rem;
}

.card-page-summary .alert-feature__icon {
  width: 2.5rem;
  height: 2.5rem;
}

.card-page-summary .alert-feature__action {
  grid-column: 2;
  min-width: 0;
}

.card-page-summary .alert-feature__action .button {
  width: fit-content;
}

.alert-page-hero__mark {
  display: grid;
  width: 4.5rem;
  height: 4.5rem;
  margin: 0 auto 1rem;
  place-items: center;
  border: 1px solid rgb(104 70 214 / 18%);
  border-radius: 1.15rem;
  background: var(--color-information-surface);
  color: var(--color-purple);
}

.alert-request-summary {
  display: grid;
  max-width: 38rem;
  margin: 1.5rem 0;
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-card);
  background: #fff;
}

.alert-request-summary > div {
  display: grid;
  grid-template-columns: minmax(8rem, 0.7fr) minmax(0, 1.3fr);
  gap: 1rem;
  padding: 0.8rem 1rem;
}

.alert-request-summary > div + div {
  border-top: 1px solid var(--color-border-subtle);
}

.alert-request-summary dt {
  color: var(--color-text-secondary);
  font-size: 0.78rem;
  font-weight: 750;
}

.alert-request-summary dd {
  margin: 0;
  color: var(--color-navy);
  font-weight: 700;
}

.alert-action-page__note,
.alert-action-page__instructions {
  max-width: 38rem;
  margin-bottom: 1.25rem;
  color: var(--color-text-secondary);
}

.alert-action-page__instructions {
  padding: 1rem;
  border: 1px solid rgb(104 70 214 / 18%);
  border-radius: var(--radius-small);
  background: var(--color-information-surface);
}

.alert-action-page__instructions p {
  margin: 0;
}

.alert-action-page__instructions p + p {
  margin-top: 0.45rem;
}

turbo-frame#catalogue-results {
  display: block;
  min-height: 28rem;
  transition: opacity 160ms ease;
}

.catalogue-page.is-filtering turbo-frame#catalogue-results {
  opacity: 0.65;
}

.catalogue-page.is-filtering .catalogue-filters {
  border-color: rgb(104 70 214 / 30%);
}

.alert-feature.is-reveal-ready {
  opacity: 1;
  transform: translateY(8px);
  transition: opacity 300ms ease, transform 300ms ease;
}

.alert-feature.is-reveal-ready.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 64rem) {
  .persona-v4-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .best-welcome-offer.welcome-offer-card { display: block; }
  .welcome-offer-card__body { grid-template-columns: 1fr; }
  .welcome-offer-card__quality,
  .welcome-offer-card__alert { grid-column: 1; }

  .main-nav { gap: 0.65rem; }
  .main-nav a { font-size: 0.8rem; }
}

@media (max-width: 47.99rem) {
  .persona-v4-grid { grid-template-columns: 1fr; }
  .persona-v4-choice { padding: 0.8rem; }
  .offer-variant-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-inline: -0.25rem;
    overflow: visible;
  }
  .offer-variant-tab { padding-inline: 0.8rem; }
  .offer-variant-tab:nth-child(3) { grid-column: 1 / -1; }
  .welcome-offer-card__header { align-items: flex-start; flex-direction: column; gap: 0.3rem; }
  .welcome-offer-card__reason { text-align: left; }
  .welcome-offer-card__body { padding: 1rem; }
  .welcome-offer-card,
  .welcome-offer-card__body,
  .welcome-offer-card__identity,
  .welcome-offer-card__identity > div:last-child { min-width: 0; max-width: 100%; }
  .welcome-offer-card__identity { align-items: flex-start; }
  .welcome-offer-card__identity h3,
  .welcome-offer-card__identity p,
  .welcome-offer-card__conditions li { overflow-wrap: anywhere; }
  .welcome-offer-card__visual { width: 5.4rem; flex-basis: 5.4rem; }
  .welcome-offer-card__visual .card-art__image,
  .welcome-offer-card__visual .card-art__placeholder { width: 5.4rem; max-height: 4.2rem; }
  .welcome-offer-card__details-grid { grid-template-columns: 1fr; padding-inline: 1rem; }
  .welcome-offer-card__details > summary { margin-inline: 1rem; }
  .welcome-offer-card__footer { justify-content: stretch; padding-inline: 1rem; }
  .welcome-offer-card__footer .button { width: 100%; }
  .welcome-offer-values div { align-items: flex-start; flex-direction: column; gap: 0.1rem; }
  .welcome-offer-values dd { text-align: left; }

  .welcome-offer-card__alert {
    grid-template-columns: 1fr;
  }

  .welcome-offer-card__alert .button {
    grid-row: auto;
    grid-column: 1;
    width: 100%;
  }

  .offers-page__footer-links { justify-content: flex-start; }

  .alert-feature,
  .alert-feature--compact {
    grid-template-columns: 3.25rem minmax(0, 1fr);
    gap: 0.75rem;
  }

  .alert-feature__visual {
    width: 3.25rem;
    height: 3.25rem;
  }

  .alert-feature__icon {
    width: 2.7rem;
    height: 2.7rem;
  }

  .alert-feature__action {
    grid-column: 1 / -1;
    width: 100%;
  }

  .alert-feature__action .button {
    width: 100%;
  }

  .card-page-summary .alert-feature {
    grid-template-columns: 3rem minmax(0, 1fr);
  }

  .card-page-summary .alert-feature__action {
    grid-column: 1 / -1;
  }

  .alert-request-summary > div {
    grid-template-columns: 1fr;
    gap: 0.2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  turbo-frame#catalogue-results,
  .alert-feature,
  .alert-feature.is-reveal-ready,
  .alert-feature.is-reveal-ready.is-revealed,
  .product-preview .reveal-item {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* Statement Import V1: compact choice, temporary upload, aggregate-only review. */
.spending-methods { margin: 0.9rem 0; }
.spending-methods h2, .spending-methods h3 { margin: 0 0 0.65rem; font-size: 1rem; }
.spending-methods__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.65rem; }
.spending-method {
  min-height: 72px; display: flex; align-items: center; gap: 0.65rem; padding: 0.75rem;
  color: var(--color-text-primary); text-decoration: none; background: #fff;
  border: 1px solid var(--color-border); border-radius: 0.8rem;
}
.spending-method:hover, .spending-method:focus-visible { border-color: var(--color-primary); box-shadow: 0 0 0 3px rgb(104 70 214 / 18%); }
.spending-method__icon { width: 1.65rem; height: 1.65rem; flex: 0 0 auto; color: var(--color-primary); font-size: 1.35rem; }
.spending-method span:last-child { display: grid; gap: 0.2rem; }
.spending-method small { color: var(--color-text-secondary); line-height: 1.3; }
.statement-import-card { margin-bottom: 1rem; background: linear-gradient(135deg, #f4f7ff, #f8f5ff); border-color: rgb(91 70 229 / 24%); }
.statement-import-card__heading { display: flex; align-items: center; gap: 0.8rem; }
.statement-import-card__heading > svg { width: 2.25rem; height: 2.25rem; flex: 0 0 auto; color: var(--color-primary); }
.statement-import-card h1 { margin: 0.1rem 0; font-size: clamp(1.35rem, 3vw, 1.7rem); }
.statement-import-card__description { margin: 0.7rem 0; max-width: 68ch; }
.statement-import-card__privacy { padding: 0.7rem 0.8rem; border-left: 3px solid var(--color-primary); background: rgb(255 255 255 / 65%); font-size: 0.93rem; }
.statement-import-card form { display: grid; align-items: end; gap: 0.65rem; }
.statement-file-picker { display: flex; align-items: center; gap: 0.75rem; min-height: 48px; margin: 0.35rem 0; padding: 0.4rem; background: #fff; border: 1px solid var(--color-border); border-radius: 0.55rem; }
.statement-file-picker__button { display: inline-flex; align-items: center; gap: 0.45rem; min-height: 36px; padding: 0.45rem 0.7rem; color: var(--color-text); background: var(--color-surface-muted, #f3f5f9); border: 1px solid var(--color-border); border-radius: 0.4rem; font-size: 0.88rem; font-weight: 700; cursor: pointer; }
.statement-file-picker__button:hover { border-color: var(--color-primary); }
.statement-file-picker input[type="file"]:focus-visible + .statement-file-picker__button { outline: 3px solid rgb(104 70 214 / 24%); outline-offset: 2px; border-color: var(--color-primary); }
.statement-file-picker__button svg { width: 1.15rem; height: 1.15rem; flex: 0 0 auto; color: var(--color-primary); }
.statement-file-picker__selection { min-width: 0; color: var(--color-text-secondary); font-size: 0.9rem; overflow-wrap: anywhere; }
.statement-import-card form > .button { width: max-content; min-height: 44px; }
.statement-upload-status { margin: 0.6rem 0; font-weight: 700; color: var(--color-primary); }
.statement-import-card[aria-busy="true"] { opacity: 0.82; }
.import-review-summary { margin: 1rem 0; padding: 1rem; background: var(--color-information-surface); border: 1px solid var(--color-border); border-radius: var(--radius-card); }
.import-review-summary dl { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0.8rem; margin: 0; }
.import-review-summary dl div { min-width: 0; }
.import-review-summary dt { color: var(--color-text-secondary); font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.03em; }
.import-review-summary dd { margin: 0.2rem 0 0; font-weight: 750; overflow-wrap: anywhere; }
.import-review-warning { margin: 0.8rem 0 0; padding: 0.65rem; background: #fff8dc; border: 1px solid #e6cf72; border-radius: 0.5rem; }
.import-review-note { margin: 0.7rem 0 0; color: var(--color-text-secondary); }
.import-review-form legend { margin-bottom: 0.3rem; font-size: 1.2rem; font-weight: 800; }
.import-review-form .wizard-actions { position: static; margin-top: 1rem; padding: 0; border: 0; background: transparent; }
.import-confirmation { margin-top: 1rem; }
.statement-import-retention { max-width: 72ch; color: var(--color-text-secondary); font-size: 0.88rem; }

@media (max-width: 50rem) {
  .import-review-summary dl { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 32.5rem) {
  .spending-methods__grid, .import-review-summary dl { grid-template-columns: 1fr; }
  .statement-import-card { padding: 1rem; }
  .statement-import-card__heading { align-items: flex-start; }
}

/* Cascade-final coordinated compactness overrides. */
.hero--product { min-height: 0; padding-block: clamp(1.35rem, 3vw, 2.15rem); }
.hero--product .hero-grid { gap: clamp(1rem, 2.5vw, 2rem); }
.hero--product .hero-copy h1 { margin-bottom: 0.55rem; }
.hero--product .hero-description { margin-bottom: 0.85rem; }
.product-preview { padding: clamp(0.8rem, 1.8vw, 1.1rem); }
.product-preview__cards { min-height: 4.4rem; margin-block: 0.35rem; }
.product-preview__cards > .product-preview__card,
.product-preview__cards .card-art__image,
.product-preview__cards .card-art__placeholder { width: clamp(4.8rem, 7.5vw, 5.8rem); }
.product-preview__cards > .product-preview__card { flex: 0 0 clamp(4.8rem, 7.5vw, 5.8rem); }
.product-preview__cards .card-art__image { max-height: 4.8rem; }
.product-preview__roles { margin-block: 0.35rem; }
.product-preview__value { padding: 0.6rem 0.75rem; }
.product-preview__eyebrow { width: max-content; max-width: 100%; font-size: clamp(0.64rem, 1vw, 0.78rem); letter-spacing: clamp(0.035em, 0.2vw, 0.075em); line-height: 1.2; }

.persona-v4-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0.65rem; }
.persona-v4-choice { min-height: 9rem; padding: 0.72rem; gap: 0; grid-template-rows: auto auto 1fr; align-content: start; box-shadow: none; }
.persona-v4-choice:hover, .persona-v4-choice.is-active { box-shadow: inset 0 0 0 2px rgb(91 70 229 / 18%); transform: none; }
.persona-v4-choice strong { margin-top: 0.4rem; font-size: 0.88rem; }
.persona-v4-choice > span:not(.text-link):not(.strategy-choice-icon) { margin-top: 0.28rem; font-size: 0.72rem; line-height: 1.35; }

@media (min-width: 30rem) { .product-preview__eyebrow { white-space: nowrap; } }
@media (max-width: 61.25rem) { .persona-v4-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 38.75rem) {
  .hero--product { padding-block: 1rem 1.2rem; }
  .hero--product .hero-grid { gap: 0.85rem; }
  .hero--product .hero-grid > *,
  .hero--product .hero-copy { min-width: 0; max-width: 100%; }
  .hero--product .hero-actions { display: grid; grid-template-columns: 1fr; }
  .hero--product .hero-actions .button { width: 100%; min-width: 0; padding-inline: 0.65rem; font-size: 0.78rem; white-space: normal; }
  .hero--product .hero-description,
  .hero--product .hero-reassurance { width: 100%; white-space: normal; overflow-wrap: anywhere; }
  .hero--product .product-preview__roles { display: none; }
  .hero--product .product-preview__cards { min-height: 3.5rem; margin-block: 0.25rem; }
  .hero--product .product-preview__value { margin-top: 0.35rem; padding: 0.5rem 0.65rem; }
  .hero--product .product-preview__value > strong { font-size: 1.35rem; }
  .hero--product .product-preview__gain { margin-block: 0.35rem 0.45rem; font-size: 0.72rem; }
  .persona-v4-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .persona-v4-choice { min-height: 8.3rem; padding: 0.62rem; }
}

/* Top picks: strategies first, then one compact set of next steps. */
.top-picks-hero--strategies { padding-bottom: 0.9rem; }
.top-picks-hero--strategies .page-intro { margin-bottom: 0; }
.top-picks-page { padding-top: 0; }
.top-picks-next-steps {
  margin-top: 2.5rem;
  padding: clamp(1.15rem, 2.5vw, 1.65rem);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  background: var(--color-surface-alt);
}
.top-picks-next-steps__heading { margin-bottom: 0.9rem; }
.top-picks-next-steps__heading .eyebrow { margin-bottom: 0.18rem; }
.top-picks-next-steps__heading h2 { margin: 0; font-size: clamp(1.2rem, 2.5vw, 1.5rem); }
.top-picks-next-steps__choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.8rem; }
.top-picks-next-step {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem;
  min-width: 0;
  padding: 1rem;
  border: 1px solid var(--color-border);
  border-radius: 0.85rem;
  background: #fff;
}
.top-picks-next-step--primary { border-color: rgb(91 70 229 / 24%); background: rgb(91 70 229 / 4%); }
.top-picks-next-step h3 { margin: 0 0 0.25rem; color: var(--color-navy); font-size: 0.98rem; }
.top-picks-next-step p { margin: 0; color: var(--color-muted); font-size: 0.8rem; line-height: 1.45; }
.top-picks-next-step .button { min-width: max-content; padding-inline: 0.9rem; font-size: 0.82rem; }
.top-picks-footer-meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--color-border);
  color: var(--color-muted);
  font-size: 0.82rem;
}
.top-picks-footer-meta p { margin: 0; }

.top-picks-section-navigation {
  display: inline-flex;
  max-width: 100%;
  gap: 0.2rem;
  margin: 1rem 0 0.85rem;
  padding: 0.25rem;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  background: var(--color-surface-alt);
}

.top-picks-section-navigation__link {
  display: inline-flex;
  min-height: 2.4rem;
  align-items: center;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  color: var(--color-text-secondary);
  font-size: 0.82rem;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.top-picks-section-navigation__link:hover { color: var(--color-primary); }
.top-picks-section-navigation__link.is-active {
  background: #fff;
  box-shadow: 0 2px 8px rgb(7 27 51 / 9%);
  color: var(--color-primary);
}
.top-picks-section-navigation__link:focus-visible { outline: 3px solid var(--color-focus, var(--color-primary)); outline-offset: 2px; }
.catalogue-section-navigation { padding-top: 0.5rem; }
.personalized-result__actions { display: flex; flex-wrap: wrap; gap: 0.65rem; }
.personalized-result__actions form { margin: 0; }

.top-picks-crosslink {
  margin: 0;
}

.top-picks-page--by-usage .usage-picks.top-picks-v2 { padding-top: 0; border-top: 0; }
.top-picks-page--by-usage .profile-picks__heading { margin-bottom: 0.9rem; }
.persona-v4-choice:focus-visible,
.usage-choice:focus-visible,
.fee-tier-tab:focus-visible {
  outline: 3px solid var(--color-focus, var(--color-primary));
  outline-offset: 3px;
}

@media (max-width: 38.75rem) {
  .top-picks-hero--strategies { padding-bottom: 0.65rem; }
  .top-picks-next-steps { margin-top: 1.75rem; }
  .top-picks-next-steps__choices { grid-template-columns: 1fr; }
  .top-picks-next-step { grid-template-columns: 1fr; }
  .top-picks-next-step .button { width: 100%; min-width: 0; }
  .top-picks-footer-meta { display: grid; gap: 0.55rem; }
  .top-picks-section-navigation { display: grid; width: 100%; grid-template-columns: 1fr; border-radius: 0.85rem; }
  .top-picks-section-navigation__link { justify-content: center; white-space: normal; text-align: center; }
}

/* Homepage: calm single-column hero and reusable AI capability treatment. */
.hero--simple { padding-block: clamp(2.15rem, 4vw, 3.35rem); }
.hero--simple .hero-grid--decorated {
  grid-template-columns: minmax(0, 1.45fr) minmax(18rem, 0.75fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.hero--simple .hero-copy { max-width: 48rem; }
.hero--simple .hero-copy .eyebrow { margin-bottom: 0.35rem; }
.hero--simple .hero-copy h1 { max-width: 16ch; margin-bottom: 0.45rem; }
.hero--simple .hero-description { max-width: 44rem; margin-bottom: 0.65rem; }
.hero--simple .hero-actions { margin-top: 0.9rem; }
.hero-actions__secondary {
  display: inline-flex;
  min-height: 2.75rem;
  padding-inline: 0.35rem;
  align-items: center;
  font-weight: 800;
}
.hero--simple .hero-reassurance { margin-top: 0.65rem; }
.hero-ai-signature,
.hero-product-signature { margin-top: 0; }
.hero-card-stack {
  position: relative;
  z-index: 0;
  width: min(100%, 28rem);
  justify-self: end;
  pointer-events: none;
}
.hero-card-stack svg { display: block; width: 100%; height: auto; overflow: visible; }
.hero-card-stack__sparkles { opacity: 0.6; }

.home-assistant-spotlight {
  border-block: 1px solid rgb(18 95 194 / 9%);
  background: var(--color-surface-alt);
}

.home-assistant-spotlight__card {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(18rem, 0.65fr);
  padding: clamp(1.3rem, 3vw, 2rem);
  border: 1px solid rgb(104 70 214 / 22%);
  border-radius: 1rem;
  background:
    radial-gradient(circle at 92% 12%, rgb(104 70 214 / 14%), transparent 18rem),
    linear-gradient(135deg, #fff 0%, #f5f8ff 100%);
  box-shadow: var(--shadow-standard);
  align-items: center;
  gap: clamp(1.25rem, 4vw, 3rem);
}

.home-assistant-spotlight__meta {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.home-assistant-spotlight__meta .eyebrow { margin: 0; }
.home-assistant-spotlight h2 { max-width: 24ch; margin: 0.55rem 0; color: var(--color-navy); }
.home-assistant-spotlight__copy > p { max-width: 64ch; margin: 0; color: var(--color-text-secondary); }
.home-assistant-spotlight__action {
  padding: 1rem;
  border: 1px solid rgb(18 95 194 / 12%);
  border-radius: var(--radius-card);
  background: rgb(255 255 255 / 78%);
}
.home-assistant-spotlight__action p { margin: 0 0 0.85rem; color: var(--color-navy-soft); font-size: 0.9rem; line-height: 1.5; }
.home-assistant-spotlight__action p span { display: block; margin-bottom: 0.15rem; color: var(--color-blue); font-size: 0.68rem; font-weight: 850; letter-spacing: 0.08em; text-transform: uppercase; }
.status-pill--available { border-color: rgb(24 138 86 / 20%); background: #eaf8f0; color: #176b45; }
.ai-badge {
  display: inline-flex;
  width: fit-content;
  min-height: 1.75rem;
  padding: 0.25rem 0.55rem;
  border: 1px solid rgb(104 70 214 / 28%);
  border-radius: 999px;
  background: linear-gradient(135deg, rgb(232 242 255 / 88%), rgb(241 235 255 / 88%));
  color: var(--color-purple);
  align-items: center;
  gap: 0.3rem;
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.04em;
  line-height: 1;
  white-space: nowrap;
}
.ai-badge__mark { font-size: 0.82rem; }
.ai-badge--compact { min-height: 1.35rem; padding: 0.15rem 0.4rem; font-size: 0.62rem; }

@media (max-width: 47.99rem) {
  .hero--simple { padding-block: 1.4rem 1.6rem; }
  .hero--simple .hero-actions .button { width: 100%; }
  .hero-actions__secondary { justify-content: center; }
  .home-offers-strip { align-items: stretch; flex-direction: column; }
  .home-offers-strip .button { width: 100%; }
  .home-assistant-spotlight__card { grid-template-columns: 1fr; }
  .home-assistant-spotlight__meta { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 61.25rem) {
  .hero--simple .hero-grid--decorated { display: block; }
  .hero-card-stack { display: none; }
}

/* Carte IQ conversational assistant: one contextual surface shared by public and strategy pages. */
.assistant-widget {
  position: fixed;
  right: clamp(0.85rem, 2vw, 1.5rem);
  bottom: clamp(0.85rem, 2vw, 1.5rem);
  z-index: 80;
  display: grid;
  justify-items: end;
  gap: 0.75rem;
  pointer-events: none;
}

.assistant-widget > * { pointer-events: auto; }

.assistant-launcher {
  display: inline-flex;
  min-height: 3.25rem;
  padding: 0.55rem 1rem 0.55rem 0.6rem;
  border: 1px solid rgb(104 70 214 / 32%);
  border-radius: 999px;
  background: linear-gradient(135deg, #1768d5, #6846d6);
  box-shadow: 0 16px 38px rgb(7 27 51 / 24%);
  color: #fff;
  align-items: center;
  gap: 0.6rem;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 800;
  cursor: pointer;
}

.assistant-launcher:hover { transform: translateY(-1px); box-shadow: 0 18px 42px rgb(7 27 51 / 28%); }
.assistant-launcher__mark {
  display: grid;
  width: 2.05rem;
  height: 2.05rem;
  border: 1px solid rgb(255 255 255 / 34%);
  border-radius: 50%;
  background: rgb(255 255 255 / 15%);
  place-items: center;
  font-size: 0.77rem;
  letter-spacing: -0.04em;
}

.assistant-panel {
  width: min(25rem, calc(100vw - 1.7rem));
  max-height: min(42rem, calc(100vh - 6rem));
  overflow: hidden;
  border: 1px solid rgb(104 70 214 / 22%);
  border-radius: 1.15rem;
  background: #fff;
  box-shadow: 0 26px 70px rgb(7 27 51 / 24%);
}

.assistant-panel[hidden] { display: none; }
.assistant-panel__header {
  display: flex;
  min-height: 4.3rem;
  padding: 0.9rem 1rem;
  background: linear-gradient(135deg, #eef6ff, #f5efff);
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.assistant-panel__eyebrow { display: block; color: #1768d5; font-size: 0.65rem; font-weight: 850; letter-spacing: 0.12em; }
.assistant-panel__header h2 { margin: 0.15rem 0 0; font-size: 1.13rem; }
.assistant-panel__header-actions { display: inline-flex; align-items: center; gap: 0.35rem; }
.assistant-panel__clear { border: 0; border-radius: 0.5rem; background: transparent; color: #31516f; font: inherit; font-size: 0.7rem; font-weight: 750; cursor: pointer; text-decoration: underline; text-underline-offset: 0.15em; }
.assistant-panel__clear:hover { color: #1768d5; }
.assistant-panel__close {
  width: 2.25rem;
  height: 2.25rem;
  border: 0;
  border-radius: 50%;
  background: rgb(255 255 255 / 76%);
  color: var(--color-navy);
  font-size: 1.45rem;
  line-height: 1;
  cursor: pointer;
}

.assistant-panel__messages {
  display: flex;
  min-height: 12rem;
  max-height: min(25rem, calc(100vh - 20rem));
  overflow-y: auto;
  padding: 1rem;
  flex-direction: column;
  gap: 0.8rem;
  background: #fbfdff;
}
.assistant-message { max-width: 88%; }
.assistant-message--user { align-self: flex-end; }
.assistant-message__label { display: block; margin: 0 0 0.2rem 0.2rem; color: var(--color-muted); font-size: 0.66rem; font-weight: 800; }
.assistant-message p { margin: 0; padding: 0.72rem 0.85rem; border-radius: 0.95rem; font-size: 0.88rem; line-height: 1.45; white-space: pre-wrap; }
.assistant-message--assistant p { border: 1px solid var(--color-border); border-bottom-left-radius: 0.3rem; background: #fff; color: var(--color-text); }
.assistant-message--user p { border-bottom-right-radius: 0.3rem; background: #1768d5; color: #fff; }
.assistant-message--greeting { max-width: 100%; }

.assistant-panel__status { padding: 0.45rem 1rem; border-top: 1px solid var(--color-border); color: var(--color-muted); font-size: 0.75rem; }
.assistant-panel__status span { display: inline-block; width: 0.45rem; height: 0.45rem; margin-right: 0.4rem; border-radius: 50%; background: #22c7df; animation: assistant-pulse 1s ease-in-out infinite; }
.assistant-panel__form { display: grid; padding: 0.75rem; border-top: 1px solid var(--color-border); grid-template-columns: 1fr auto; align-items: end; gap: 0.55rem; }
.assistant-panel__form textarea { width: 100%; min-height: 2.8rem; max-height: 7rem; resize: vertical; padding: 0.68rem 0.75rem; border: 1px solid #cbd9e7; border-radius: 0.75rem; color: var(--color-text); font: inherit; font-size: 0.86rem; line-height: 1.4; }
.assistant-panel__form textarea:focus { border-color: #6846d6; outline: 0; box-shadow: var(--focus-ring); }
.assistant-panel__send { display: grid; width: 2.65rem; height: 2.65rem; border: 0; border-radius: 0.75rem; background: linear-gradient(135deg, #1768d5, #6846d6); color: #fff; place-items: center; font-size: 1.15rem; font-weight: 900; cursor: pointer; }
.assistant-panel__send:disabled { opacity: 0.5; cursor: wait; }
.assistant-panel__privacy { margin: 0; padding: 0 0.85rem 0.8rem; color: var(--color-muted); font-size: 0.65rem; line-height: 1.35; }
.assistant-panel__error { margin: 0; padding: 0.7rem 0.8rem; border: 1px solid rgb(217 45 63 / 22%); border-radius: 0.75rem; background: #fff2f3; color: #8e2130; font-size: 0.8rem; }
.assistant-panel__next-step { display: inline-block; margin-top: 0.45rem; color: inherit; font-weight: 800; }

@keyframes assistant-pulse { 50% { opacity: 0.35; transform: scale(0.78); } }

@media (max-width: 35rem) {
  .assistant-widget {
    right: max(0.75rem, env(safe-area-inset-right));
    bottom: max(0.75rem, env(safe-area-inset-bottom));
  }
  .assistant-panel { width: calc(100vw - 1.2rem); max-height: calc(100vh - 5.2rem); }
  .assistant-panel__messages { max-height: calc(100vh - 19rem); }
  .assistant-launcher span:last-child { display: none; }
  .assistant-launcher {
    width: 3rem;
    min-height: 3rem;
    padding: 0;
    justify-content: center;
  }
  .assistant-launcher__mark { width: 1.9rem; height: 1.9rem; }
}

@media print {
  .assistant-widget,
  .mobile-menu { display: none !important; }

  .button {
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
}

/* Personalized strategy: guided five-step workspace with a contextual IQ watermark. */
.wizard-page {
  background:
    radial-gradient(circle at 88% 8%, rgb(104 70 214 / 7%), transparent 24rem),
    var(--color-surface-alt);
}

.wizard-shell {
  width: min(calc(100% - 2rem), 72rem);
  max-width: none;
}

.wizard-intro {
  position: relative;
  display: grid;
  min-height: 10.5rem;
  grid-template-columns: minmax(0, 1fr) minmax(15rem, 0.42fr);
  align-items: center;
  gap: clamp(1.5rem, 4vw, 3rem);
  margin-bottom: 1rem;
  padding: clamp(1.25rem, 2.5vw, 1.8rem) clamp(1.25rem, 3vw, 2rem);
  overflow: hidden;
  border: 1px solid rgb(104 70 214 / 16%);
  border-radius: var(--radius-card);
  background: linear-gradient(120deg, rgb(255 255 255 / 96%), rgb(246 242 255 / 82%));
}

.wizard-intro__copy { position: relative; z-index: 1; }
.wizard-intro .eyebrow { margin-bottom: 0.35rem; color: var(--color-purple); }
.wizard-intro h1 { max-width: 19ch; margin: 0 0 0.45rem; font-size: clamp(1.85rem, 3.6vw, 2.65rem); }
.wizard-intro__copy > p:last-child { max-width: 63ch; margin: 0; color: var(--color-text-secondary); }

.wizard-iq-visual {
  width: min(100%, 19rem);
  justify-self: end;
  pointer-events: none;
  opacity: 0.9;
}
.wizard-iq-visual svg { display: block; width: 100%; height: auto; }
.wizard-iq-visual__details { stroke-width: 1.25; opacity: 0.34; }

.wizard-header {
  margin-bottom: 1.25rem;
  padding-inline: 0.25rem;
}

.wizard-progress-steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.55rem;
  margin: 0.75rem 0 0;
  padding: 0;
  list-style: none;
}

.wizard-progress-steps li {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 0.45rem;
  color: var(--color-muted);
  font-size: 0.72rem;
  font-weight: 700;
}

.wizard-progress-steps__number {
  display: grid;
  width: 1.65rem;
  height: 1.65rem;
  flex: 0 0 1.65rem;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  background: #fff;
  place-items: center;
}

.wizard-progress-steps li.is-current { color: var(--color-navy); font-weight: 850; }
.wizard-progress-steps li.is-current .wizard-progress-steps__number {
  border-color: var(--color-purple);
  background: var(--color-purple);
  color: #fff;
  box-shadow: 0 0 0 4px rgb(104 70 214 / 11%);
}
.wizard-progress-steps li.is-complete .wizard-progress-steps__number {
  border-color: rgb(104 70 214 / 28%);
  background: rgb(241 236 255 / 82%);
  color: var(--color-purple);
}

.wizard-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(15.5rem, 18rem);
  align-items: start;
  gap: clamp(1rem, 2.5vw, 1.5rem);
}

.wizard-flow { min-width: 0; }
.wizard-form { box-shadow: 0 14px 36px rgb(25 22 63 / 7%); }
.wizard-question > h2 {
  max-width: 30ch;
  margin: 0 0 0.45rem;
  color: var(--color-navy);
  font-size: clamp(1.45rem, 3vw, 2rem);
  line-height: 1.15;
  letter-spacing: -0.025em;
}
.wizard-question h3,
.wizard-subsection h3 { margin: 0 0 0.45rem; color: var(--color-navy); font-size: 1.05rem; }
.choice-card:has(input:focus-visible),
.toggle-choice:has(input:focus-visible),
.card-choice:has(input:focus-visible) {
  outline: 3px solid var(--color-focus, var(--color-primary));
  outline-offset: 3px;
}

.wizard-profile-summary {
  position: sticky;
  top: 5.1rem;
  padding: 1.15rem;
  border: 1px solid rgb(104 70 214 / 18%);
  border-radius: var(--radius-card);
  background: linear-gradient(145deg, rgb(255 255 255 / 95%), rgb(245 241 255 / 88%));
  box-shadow: 0 12px 28px rgb(50 34 101 / 7%);
}
.wizard-profile-summary .eyebrow { margin-bottom: 0.3rem; color: var(--color-purple); font-size: 0.66rem; }
.wizard-profile-summary h2 { margin: 0 0 0.8rem; font-size: 1.1rem; }
.wizard-profile-summary__list { display: grid; gap: 0; margin: 0; }
.wizard-profile-summary__list > div { padding: 0.65rem 0; border-top: 1px solid rgb(104 70 214 / 12%); }
.wizard-profile-summary__list dt { color: var(--color-muted); font-size: 0.68rem; font-weight: 800; letter-spacing: 0.035em; text-transform: uppercase; }
.wizard-profile-summary__list dd { margin: 0.2rem 0 0; color: var(--color-navy); font-size: 0.82rem; font-weight: 720; overflow-wrap: anywhere; }
.wizard-profile-summary__empty { margin: 0; color: var(--color-muted); font-size: 0.82rem; }
.wizard-profile-summary-mobile { display: none; }

.statement-import-card h2 { margin: 0.1rem 0; font-size: clamp(1.35rem, 3vw, 1.7rem); }
.analysis-loading strong { color: var(--color-navy); }
.analysis-loading p { margin-bottom: 0; }

@media (max-width: 61.25rem) {
  .wizard-intro { min-height: 0; grid-template-columns: minmax(0, 1fr) 11rem; }
  .wizard-iq-visual { width: 11rem; opacity: 0.72; }
  .wizard-workspace { grid-template-columns: 1fr; }
  .wizard-profile-summary { display: none; }
  .wizard-profile-summary-mobile { display: block; margin-bottom: 1rem; }
  .wizard-profile-summary-mobile details {
    padding: 0.75rem 0.9rem;
    border: 1px solid rgb(104 70 214 / 18%);
    border-radius: var(--radius-small);
    background: rgb(255 255 255 / 88%);
  }
  .wizard-profile-summary-mobile summary { color: var(--color-navy); cursor: pointer; font-size: 0.84rem; font-weight: 800; }
  .wizard-profile-summary-mobile .wizard-profile-summary__list,
  .wizard-profile-summary-mobile .wizard-profile-summary__empty { margin-top: 0.65rem; }
}

@media (max-width: 47.99rem) {
  .wizard-page { padding-top: 0.8rem; }
  .wizard-intro { display: block; padding: 1rem; }
  .wizard-intro h1 { font-size: clamp(1.7rem, 8vw, 2.05rem); }
  .wizard-iq-visual { display: none; }
  .wizard-progress-steps { gap: 0.25rem; }
  .wizard-progress-steps li { justify-content: center; }
  .wizard-progress-steps li > span:last-child { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .wizard-progress-steps__number { width: 1.8rem; height: 1.8rem; flex-basis: 1.8rem; }
  .wizard-card { padding: 1rem; }
}

/* Keep the Amex strategy preference secondary and compact. */
.profile-picks__heading--v4 {
  margin-bottom: 0.65rem;
}

.strategy-controls--compact {
  display: flex;
  width: 100%;
  max-width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: clamp(1.5rem, 4vw, 3rem);
  margin: 0 0 1rem;
  padding: 0;
}

.network-policy-control--compact {
  display: grid;
  grid-template-columns: 8.5rem minmax(0, auto);
  align-items: center;
  gap: 0.55rem;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
}

.spending-level-control {
  position: relative;
}

.strategy-filter-bar .spending-level-control {
  display: flex;
  grid-template-columns: none;
  align-items: center;
  gap: 0.75rem;
}

.strategy-control-label {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--color-muted);
  font-size: 0.74rem;
  font-weight: 800;
  line-height: 1.2;
}

.strategy-control-info {
  position: relative;
  display: inline-flex;
}

.strategy-control-info > summary {
  display: inline-grid;
  width: 1.5rem;
  height: 1.5rem;
  padding: 0;
  border: 1px solid var(--color-purple);
  border-radius: 50%;
  background: #fff;
  color: var(--color-purple);
  cursor: pointer;
  font-size: 0.7rem;
  font-weight: 850;
  list-style: none;
  place-items: center;
}

.amex-preference {
  flex: 0 0 auto;
}

.amex-preference__label {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  gap: 0.55rem;
  color: var(--color-text-primary);
  cursor: pointer;
  font-size: 0.84rem;
  font-weight: 750;
}

.amex-preference__indicator {
  position: relative;
  display: inline-grid;
  width: 1.25rem;
  height: 1.25rem;
  flex: 0 0 1.25rem;
  border: 1.5px solid var(--color-border-strong, #8b94a5);
  border-radius: 0.3rem;
  background: #fff;
  place-items: center;
}

.amex-preference__label:has(input:checked) .amex-preference__indicator {
  border-color: var(--color-purple);
  background: var(--color-purple);
}

.amex-preference__label:has(input:checked) .amex-preference__indicator::after {
  content: "";
  width: 0.3rem;
  height: 0.58rem;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: translateY(-0.05rem) rotate(45deg);
}

.amex-preference__label:has(input:focus-visible) {
  outline: 3px solid var(--color-purple);
  outline-offset: 3px;
  border-radius: 0.35rem;
}

.strategy-control-info > summary::-webkit-details-marker { display: none; }
.strategy-control-info > summary:focus-visible { outline: 3px solid var(--color-purple); outline-offset: 2px; }

.strategy-control-info__popover {
  position: absolute;
  z-index: 20;
  top: calc(100% + 0.5rem);
  left: -0.35rem;
  width: min(22rem, calc(100vw - 2.5rem));
  padding: 0.85rem;
  border: 1px solid rgb(104 70 214 / 24%);
  border-radius: var(--radius-small);
  background: #fff;
  color: var(--color-text-primary);
  box-shadow: 0 14px 32px rgb(11 31 54 / 18%);
  font-size: 0.78rem;
  font-weight: 500;
  line-height: 1.45;
}

.strategy-control-info__popover p { margin: 0.35rem 0 0; }
.strategy-control-info__popover ul { margin: 0.55rem 0; padding-left: 1.1rem; }
.strategy-control-info__popover li + li { margin-top: 0.2rem; }

@media (max-width: 38.75rem) {
  .strategy-controls--compact {
    width: 100%;
    align-items: stretch;
    flex-direction: column;
    gap: 0.75rem;
  }
  .network-policy-control--compact { position: relative; grid-template-columns: 1fr; gap: 0.3rem; }
  .strategy-filter-bar .spending-level-control { align-items: stretch; flex-direction: column; gap: 0.4rem; }
  .network-policy-control--compact .network-policy-options { width: 100%; }
  .network-policy-control--compact .network-policy-option { flex: 1; justify-content: center; }
  .amex-preference { border-top: 1px solid var(--color-border-subtle, var(--color-border)); padding-top: 0.45rem; }
  .amex-preference__label { width: 100%; }
  .strategy-control-info { position: static; }
  .strategy-control-info__popover {
    top: calc(100% + 0.45rem);
    left: 0;
    width: calc(100vw - 3rem);
    max-width: none;
    box-sizing: border-box;
  }
}

.network-policy-control--compact .network-policy-options {
  display: inline-flex;
  grid-row: auto;
  grid-column: auto;
  flex-wrap: nowrap;
  gap: 0.15rem;
  padding: 0.2rem;
  border: 1px solid var(--color-border-subtle, var(--color-border));
  border-radius: 999px;
  background: var(--color-surface-informational, #f3f6ff);
}

.network-policy-control--compact .network-policy-option {
  min-height: 2rem;
  margin: 0;
  padding: 0.3rem 0.7rem;
  border: 0;
  background: transparent;
  font-size: 0.8rem;
  white-space: nowrap;
}

.network-policy-control--compact .network-policy-option:has(input:checked) {
  background: #fff;
  box-shadow: 0 1px 4px rgb(35 25 75 / 12%);
}

.network-policy-control--compact .network-policy-option:has(input:focus-visible) {
  outline: 3px solid var(--color-focus, var(--color-primary));
  outline-offset: 2px;
}

.strategy-value-overview {
  display: grid;
  gap: 0.7rem;
}

.strategy-value-overview__primary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
}

.strategy-value-overview__primary .reference-value {
  min-width: 0;
  padding: 0.8rem;
}

.strategy-value-overview__primary .reference-value strong {
  font-size: clamp(1.2rem, 2.4vw, 1.55rem);
}

.strategy-value-overview__horizons,
.profile-allocation-values {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.4rem;
  margin: 0;
}

.strategy-value-overview__horizons > div,
.profile-allocation-values > div {
  padding: 0.55rem 0.65rem;
  border: 1px solid var(--color-border-subtle, var(--color-border));
  border-radius: 0.65rem;
  background: #fff;
}

.strategy-value-overview__horizons dt,
.profile-allocation-values dt {
  color: var(--color-muted);
  font-size: 0.7rem;
  font-weight: 750;
}

.strategy-value-overview__horizons dd,
.profile-allocation-values dd {
  margin: 0.15rem 0 0;
  color: var(--color-positive);
  font-size: 0.95rem;
  font-weight: 850;
}

.strategy-value-overview__note {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.72rem;
  line-height: 1.45;
}

.profile-allocation-values { margin-top: 0.6rem; }

.profile-allocation-welcome {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.65rem;
  margin-top: 0.4rem;
  padding: 0.55rem 0.65rem;
  border: 1px solid color-mix(in srgb, var(--color-purple) 24%, var(--color-border));
  border-radius: 0.65rem;
  background: color-mix(in srgb, var(--color-purple) 6%, white);
}

.profile-allocation-welcome span,
.profile-allocation-welcome small {
  display: block;
}

.profile-allocation-welcome span {
  color: var(--color-ink);
  font-size: 0.72rem;
  font-weight: 800;
}

.profile-allocation-welcome small {
  margin-top: 0.12rem;
  color: var(--color-muted);
  font-size: 0.68rem;
  line-height: 1.35;
}

.profile-allocation-welcome > strong {
  color: var(--color-positive);
  font-size: 0.95rem;
  white-space: nowrap;
}

.profile-allocation-welcome--unavailable {
  border-color: var(--color-border-subtle, var(--color-border));
  background: var(--color-surface-subtle, #f7f9fc);
}

.profile-allocation-welcome--unavailable > strong { color: var(--color-muted); }

.profile-allocation-spend {
  margin-top: 0.55rem;
  padding: 0.55rem 0;
  border-block: 1px solid var(--color-border-subtle, var(--color-border));
}

.profile-allocation-spend > strong {
  display: block;
  color: var(--color-ink);
  font-size: 0.82rem;
}

.profile-allocation-spend p {
  margin: 0.2rem 0 0;
  color: var(--color-muted);
  font-size: 0.74rem;
  line-height: 1.45;
}

.profile-allocation-total {
  display: flex;
  align-items: flex-start;
  gap: 0.4rem;
  margin: 0.75rem 0 0;
  padding: 0.6rem 0.7rem;
  border-radius: 0.65rem;
  background: color-mix(in srgb, var(--color-positive) 8%, white);
  color: var(--color-ink);
  font-size: 0.78rem;
  font-weight: 750;
  line-height: 1.4;
}

.profile-allocation-total span { color: var(--color-positive); }

@media (max-width: 640px) {
  .strategy-value-overview__primary { grid-template-columns: 1fr; }
}

.import-review-summary dd small {
  display: block;
  margin-top: 0.25rem;
  color: var(--color-muted);
  font-size: 0.72rem;
  font-weight: 500;
  line-height: 1.35;
}

.import-review-summary .import-review-breakdown {
  color: var(--color-navy-soft);
}

/* Keep the catalogue and offers headings in the same content flow as the strategy views. */
.catalogue-page,
.offers-page {
  padding-top: 0;
}

.catalogue-page > .top-picks-section-navigation {
  margin-top: 1rem;
}

.discovery-page-heading {
  max-width: 43rem;
  padding: 0.35rem 0 1.35rem;
}

.discovery-page-heading .page-intro {
  margin-bottom: 0;
}

.discovery-page-heading--offers {
  padding-top: 1.35rem;
}

/* The three card-discovery views share one title baseline after their selector. */
.top-picks-page .profile-picks,
.top-picks-page--by-usage .usage-picks {
  margin-top: 0;
  padding-top: 0;
}

.top-picks-page .profile-picks__heading,
.discovery-page-heading:not(.discovery-page-heading--offers) {
  max-width: 43rem;
  margin: 0 0 1.35rem;
  padding: 0.35rem 0 0;
}

.top-picks-page .profile-picks__heading h1,
.discovery-page-heading h1 {
  margin: 0;
  color: var(--color-navy);
  font-family: inherit;
  font-size: clamp(1.9rem, 3.5vw, 2.375rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.12;
}

.top-picks-page .profile-picks__heading p:last-child,
.discovery-page-heading .page-intro {
  margin: 0.55rem 0 0;
}
.personalization-pending {
  margin: clamp(2rem, 7vw, 6rem) auto;
  max-width: 42rem;
  padding: clamp(1.5rem, 4vw, 3rem);
  text-align: center;
  background: var(--surface, #fff);
  border: 1px solid var(--border, #dce3ec);
  border-radius: 1.25rem;
}

.analysis-spinner {
  width: 2rem;
  height: 2rem;
  margin: 1.5rem auto 0;
  border: 3px solid #d8e0ff;
  border-top-color: #5b43e6;
  border-radius: 50%;
  animation: carteiq-spin 0.8s linear infinite;
}

@keyframes carteiq-spin { to { transform: rotate(360deg); } }

@media (prefers-reduced-motion: reduce) {
  .analysis-spinner { animation: none; border-top-color: #d8e0ff; }
}
