.wealth-page {
  --wealth-navy-950: #081827;
  --wealth-navy-900: #0f2942;
  --wealth-navy-800: #163d60;
  --wealth-blue-600: #1f6fae;
  --wealth-blue-100: #e8f2f9;
  --wealth-ink: #17212b;
  --wealth-muted: #5d6975;
  --wealth-surface: #ffffff;
  --wealth-surface-alt: #f3f6f8;
  --wealth-line: #d8e0e7;
  --wealth-warning: #fff5d7;
  --wealth-warning-line: #e4b84d;
  --wealth-shadow: 0 16px 38px rgba(15, 41, 66, 0.10);
  --wealth-radius: 18px;
  color: var(--wealth-ink);
  background: var(--wealth-surface);
  font-size: 16px;
  line-height: 1.65;
}

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

.wealth-page img { max-width: 100%; height: auto; }
.wealth-page a { color: var(--wealth-blue-600); text-underline-offset: .18em; }
.wealth-page a:hover { color: var(--wealth-navy-800); }
.wealth-page h1,
.wealth-page h2,
.wealth-page h3 { line-height: 1.2; text-wrap: balance; }

.wealth-page .wealth-container {
  width: min(calc(100% - 2rem), 1240px);
  margin-inline: auto;
}

.wealth-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .75rem;
  padding-block: 1rem;
}

.wealth-toolbar-links { display: flex; flex-wrap: wrap; gap: .65rem; }
.wealth-toolbar a,
.wealth-print-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: .5rem .85rem;
  border: 1px solid var(--wealth-line);
  border-radius: 10px;
  background: #fff;
  font: inherit;
  font-size: .9rem;
  font-weight: 750;
  text-decoration: none;
  cursor: pointer;
}
.wealth-toolbar a[aria-current="page"] {
  color: #fff;
  border-color: var(--wealth-navy-900);
  background: var(--wealth-navy-900);
}

.wealth-hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 85% 20%, rgba(62,148,212,.38), transparent 34%),
    linear-gradient(135deg, var(--wealth-navy-950), var(--wealth-navy-800));
}
.wealth-hero::after {
  content: "";
  position: absolute;
  right: -160px;
  bottom: -220px;
  width: 520px;
  height: 520px;
  border: 80px solid rgba(255,255,255,.035);
  border-radius: 50%;
}
.wealth-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0,1.25fr) minmax(320px,.75fr);
  align-items: center;
  gap: 4rem;
  min-height: 550px;
  padding-block: 5rem;
}
.wealth-eyebrow {
  margin: 0 0 .75rem;
  color: var(--wealth-blue-600);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.wealth-hero .wealth-eyebrow { color: #8fc7ee; }
.wealth-hero h1 {
  max-width: 850px;
  margin: 0;
  font-size: clamp(2.45rem, 5.5vw, 5rem);
  letter-spacing: -.05em;
}
.wealth-hero-copy {
  max-width: 760px;
  margin: 1.4rem 0 0;
  color: rgba(255,255,255,.8);
  font-size: clamp(1.03rem,2vw,1.25rem);
}
.wealth-ai-credit {
  display: flex;
  align-items: center;
  gap: .65rem;
  max-width: 760px;
  margin: 1.15rem 0 0;
  color: rgba(255,255,255,.82);
  font-size: .92rem;
}
.wealth-ai-credit span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 30px;
  padding-inline: .55rem;
  border: 1px solid rgba(255,255,255,.34);
  border-radius: 999px;
  color: #fff;
  background: rgba(255,255,255,.1);
  font-size: .72rem;
  font-weight: 850;
  letter-spacing: .08em;
}

.wealth-hero-actions { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 2rem; }
.wealth-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: .75rem 1.1rem;
  border: 1px solid transparent;
  border-radius: 12px;
  font-weight: 800;
  text-decoration: none;
}
.wealth-button-primary { color: var(--wealth-navy-950) !important; background: #fff; }
.wealth-button-primary:hover { background: #eaf5fc; }
.wealth-button-secondary {
  color: #fff !important;
  border-color: rgba(255,255,255,.35);
  background: rgba(255,255,255,.06);
}
.wealth-button-secondary:hover { border-color: #fff; }

.wealth-hero-summary {
  display: grid;
  gap: 1px;
  overflow: hidden;
  margin: 0;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--wealth-radius);
  background: rgba(255,255,255,.08);
  box-shadow: var(--wealth-shadow);
  backdrop-filter: blur(10px);
}
.wealth-summary-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.2rem 1.35rem;
  background: rgba(8,24,39,.28);
}
.wealth-summary-item span { color: rgba(255,255,255,.7); font-size: .88rem; }
.wealth-summary-item strong { text-align: right; }

.wealth-section { padding-block: 5.5rem; }
.wealth-section-muted { background: var(--wealth-surface-alt); }
.wealth-section-heading { max-width: 860px; margin-bottom: 2.3rem; }
.wealth-section-heading h2 {
  margin: 0;
  font-size: clamp(1.9rem,4vw,3.2rem);
  letter-spacing: -.04em;
}
.wealth-section-heading p:last-child { margin: 1rem 0 0; color: var(--wealth-muted); font-size: 1.05rem; }

.wealth-group-grid,
.wealth-method-grid,
.wealth-source-list,
.wealth-chart-grid { display: grid; gap: 1.25rem; }
.wealth-group-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
.wealth-card {
  border: 1px solid var(--wealth-line);
  border-radius: var(--wealth-radius);
  background: var(--wealth-surface);
  box-shadow: 0 8px 22px rgba(15,41,66,.05);
}
.wealth-group-card { min-height: 255px; padding: 2rem; }
.wealth-group-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 34px;
  color: var(--wealth-navy-800);
  background: var(--wealth-blue-100);
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 800;
}
.wealth-group-card h3 { margin: 1.4rem 0 .85rem; font-size: 1.35rem; }
.wealth-group-card p { margin: .4rem 0 0; color: var(--wealth-muted); }
.wealth-group-card .wealth-group-value { color: var(--wealth-navy-900); font-size: 1.05rem; font-weight: 800; }

.wealth-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--wealth-line);
  border-radius: var(--wealth-radius);
  background: var(--wealth-surface);
  box-shadow: var(--wealth-shadow);
}
.wealth-table { width: 100%; min-width: 980px; border-collapse: collapse; }
.wealth-table caption { padding: 1rem; font-weight: 800; text-align: left; }
.wealth-table th,
.wealth-table td {
  padding: 1rem 1.15rem;
  border-bottom: 1px solid var(--wealth-line);
  border-right: 1px solid var(--wealth-line);
  vertical-align: top;
}
.wealth-table tr:last-child th,
.wealth-table tr:last-child td { border-bottom: 0; }
.wealth-table th:last-child,
.wealth-table td:last-child { border-right: 0; }
.wealth-table thead th { color: #fff; background: var(--wealth-navy-900); font-size: .92rem; text-align: left; }
.wealth-table tbody th { width: 24%; color: var(--wealth-navy-900); background: #f8fafb; text-align: left; }
.wealth-table tbody td { width: 25.33%; font-variant-numeric: tabular-nums; }
.wealth-table tbody tr:hover td,
.wealth-table tbody tr:hover th { background-color: #f0f7fb; }
.wealth-tag {
  display: inline-flex;
  margin-left: .35rem;
  padding: .12rem .42rem;
  color: var(--wealth-navy-800);
  background: var(--wealth-blue-100);
  border-radius: 999px;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  vertical-align: middle;
}
.wealth-table-note { margin: 1rem 0 0; color: var(--wealth-muted); font-size: .92rem; }

.wealth-chart-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
.wealth-chart-card { overflow: hidden; margin: 0; }
.wealth-chart-card a { display: block; background: #fff; }
.wealth-chart-card img {
  display: block;
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: contain;
  transition: transform 180ms ease;
}
.wealth-chart-card a:hover img { transform: scale(1.015); }
.wealth-chart-card figcaption {
  padding: 1rem 1.25rem;
  border-top: 1px solid var(--wealth-line);
  color: var(--wealth-navy-900);
  font-weight: 800;
}
.wealth-notice,
.wealth-disclaimer {
  margin-top: 1.5rem;
  padding: 1.25rem 1.4rem;
  border-left: 5px solid var(--wealth-warning-line);
  border-radius: 12px;
  background: var(--wealth-warning);
}
.wealth-method-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
.wealth-method-card,
.wealth-source-card { padding: 1.6rem; }
.wealth-method-card h3,
.wealth-source-card h3,
.wealth-disclaimer h3 { margin: 0 0 .7rem; color: var(--wealth-navy-900); font-size: 1.16rem; }
.wealth-method-card p,
.wealth-source-card p,
.wealth-disclaimer p { margin: 0; color: var(--wealth-muted); }
.wealth-source-list { grid-template-columns: repeat(2,minmax(0,1fr)); }
.wealth-source-card a { display: inline-flex; margin-top: 1rem; font-weight: 800; }
.wealth-download-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.5rem;
  padding: 1.35rem;
  border: 1px solid var(--wealth-line);
  border-radius: 14px;
  background: #fff;
}
.wealth-download-box p { margin: 0; color: var(--wealth-muted); }



.wealth-section-discussion {
  background:
    linear-gradient(180deg, rgba(232,242,249,.54), rgba(255,255,255,0) 320px),
    var(--wealth-surface);
}
.wealth-discussion-table-wrap { margin-bottom: 1.5rem; }
.wealth-discussion-table { min-width: 1040px; }
.wealth-discussion-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 1.25rem;
  margin-top: 1.5rem;
}
.wealth-discussion-card { padding: 1.6rem; }
.wealth-discussion-card-emphasis {
  border-color: #9cc9e8;
  background: linear-gradient(145deg,#f5fbff,#eaf5fc);
}
.wealth-discussion-label {
  margin: 0 0 .55rem;
  color: var(--wealth-blue-600);
  font-size: .74rem;
  font-weight: 850;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.wealth-discussion-card h3,
.wealth-conclusion-box h3 {
  margin: 0 0 .75rem;
  color: var(--wealth-navy-900);
  font-size: 1.25rem;
}
.wealth-discussion-card p:last-child,
.wealth-conclusion-box p { margin: 0; color: var(--wealth-muted); }
.wealth-discussion-qa {
  display: grid;
  gap: .85rem;
  margin-top: 1.5rem;
}
.wealth-discussion-qa details {
  border: 1px solid var(--wealth-line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 7px 18px rgba(15,41,66,.045);
}
.wealth-discussion-qa summary {
  padding: 1rem 1.2rem;
  color: var(--wealth-navy-900);
  font-weight: 800;
  cursor: pointer;
}
.wealth-discussion-qa details[open] summary { border-bottom: 1px solid var(--wealth-line); }
.wealth-discussion-qa details > p {
  margin: 1rem 1.2rem;
  color: var(--wealth-muted);
}
.wealth-discussion-source {
  padding-top: .85rem;
  border-top: 1px dashed var(--wealth-line);
  font-size: .91rem;
}
.wealth-conclusion-box {
  margin-top: 1.5rem;
  padding: 1.5rem;
  border: 1px solid #8ebddd;
  border-left: 6px solid var(--wealth-blue-600);
  border-radius: 14px;
  background: #eef7fd;
}

.wealth-section-ai {
  color: #fff;
  background:
    radial-gradient(circle at 88% 18%, rgba(72,151,210,.22), transparent 30%),
    linear-gradient(145deg, var(--wealth-navy-950), var(--wealth-navy-900));
}
.wealth-section-ai .wealth-section-heading h2 { color: #fff; }
.wealth-section-ai .wealth-section-heading p:last-child { color: rgba(255,255,255,.75); }
.wealth-section-ai .wealth-eyebrow { color: #8fc7ee; }
.wealth-ai-panel {
  padding: clamp(1.35rem, 3vw, 2.2rem);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--wealth-radius);
  background: rgba(255,255,255,.07);
  box-shadow: var(--wealth-shadow);
}
.wealth-ai-panel-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1rem;
}
.wealth-ai-panel h3 { margin: .15rem 0 0; color: #fff; font-size: 1.45rem; }
.wealth-ai-panel > p { margin: 0; color: rgba(255,255,255,.76); }
.wealth-ai-label {
  margin: 0;
  color: #8fc7ee;
  font-size: .75rem;
  font-weight: 850;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.wealth-ai-badge {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: .4rem .7rem;
  border: 1px solid rgba(143,199,238,.5);
  border-radius: 999px;
  color: #dff2ff;
  background: rgba(31,111,174,.22);
  font-size: .78rem;
  font-weight: 800;
}
.wealth-prompt-details {
  margin-top: 1.4rem;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 14px;
  background: rgba(8,24,39,.46);
}
.wealth-prompt-details summary {
  padding: 1rem 1.15rem;
  color: #fff;
  font-weight: 800;
  cursor: pointer;
}
.wealth-prompt-details[open] summary { border-bottom: 1px solid rgba(255,255,255,.12); }
.wealth-prompt-intro { margin: 1rem 1.15rem 0; color: rgba(255,255,255,.68); font-size: .9rem; }
.wealth-prompt-text {
  overflow-x: auto;
  max-height: 580px;
  margin: 1rem 1.15rem 1.15rem;
  padding: 1.15rem;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 10px;
  color: #eaf6ff;
  background: #071522;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font: 400 .88rem/1.58 ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
}

.wealth-page :focus-visible { outline: 3px solid #79bde9; outline-offset: 3px; }

@media (max-width: 980px) {
  .wealth-hero-grid { grid-template-columns: 1fr; gap: 2.5rem; min-height: auto; }
  .wealth-group-grid,
  .wealth-discussion-grid,
  .wealth-method-grid,
  .wealth-source-list,
  .wealth-chart-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .wealth-page .wealth-container { width: min(calc(100% - 1.25rem),1240px); }
  .wealth-hero-grid { padding-block: 4rem; }
  .wealth-section { padding-block: 4rem; }
  .wealth-summary-item { align-items: flex-start; flex-direction: column; }
  .wealth-summary-item strong { text-align: left; }
}
@media (prefers-reduced-motion: reduce) {
  .wealth-page *,
  .wealth-page *::before,
  .wealth-page *::after {
    scroll-behavior: auto !important;
    transition-duration: .001ms !important;
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
  }
}
@media print {
  .wealth-toolbar,
  .wealth-hero-actions { display: none !important; }
  .wealth-hero { color: #000; background: #fff; }
  .wealth-hero-grid { min-height: auto; padding-block: 1.5rem; }
  .wealth-hero-copy,
  .wealth-ai-credit,
  .wealth-summary-item span { color: #333; }
  .wealth-section-ai { color: #000; background: #fff; }
  .wealth-section-ai .wealth-section-heading h2,
  .wealth-ai-panel h3 { color: #000; }
  .wealth-section-ai .wealth-section-heading p:last-child,
  .wealth-ai-panel > p,
  .wealth-prompt-intro { color: #333; }
  .wealth-ai-panel,
  .wealth-prompt-details { border-color: #bbb; background: #fff; box-shadow: none; }
  .wealth-prompt-text { max-height: none; color: #000; background: #fff; border-color: #bbb; }
  .wealth-hero-summary,
  .wealth-summary-item { color: #000; background: #fff; box-shadow: none; }
  .wealth-section { padding-block: 1.5rem; }
  .wealth-card,
  .wealth-table-wrap { break-inside: avoid; box-shadow: none; }
  .wealth-chart-grid,
  .wealth-discussion-grid,
  .wealth-group-grid,
  .wealth-method-grid,
  .wealth-source-list { grid-template-columns: 1fr 1fr; }
}
