/* Standalone build: the layout is self-contained and does not load Tailwind or remote styles. */

:root {
  --page: #f7f5fc;
  --paper: #ffffff;
  --ink: #211a38;
  --body: #4f4863;
  --muted: #736c86;
  --line: #e4dff1;
  --line-strong: #d7cfea;
  --brand: #6f55d5;
  --brand-dark: #4e399f;
  --brand-soft: #eee9ff;
  --return: #0f8f73;
  --return-soft: #edf9f5;
  --return-accent: #48aa93;
  --risk: #9c4666;
  --font: "Noto Sans SC Variable", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --data-font: "SF Pro Text", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--page);
}

body {
  min-width: 0;
  margin: 0;
  overflow-x: clip;
  background: var(--page);
  color: var(--body);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.invite-screen {
  position: relative;
  display: grid;
  min-height: 100svh;
  place-items: center;
  overflow: hidden;
  padding: 36px 20px;
  background:
    radial-gradient(circle at 18% 18%, rgba(161, 133, 255, .26), transparent 34%),
    radial-gradient(circle at 84% 76%, rgba(208, 191, 255, .3), transparent 35%),
    linear-gradient(145deg, #f8f6ff 0%, #eee9fb 54%, #f8f7fc 100%);
}

.invite-screen::before,
.invite-screen::after {
  position: absolute;
  width: 360px;
  height: 360px;
  border: 1px solid rgba(111, 85, 213, .12);
  border-radius: 50%;
  content: "";
}

.invite-screen::before { top: -210px; right: -120px; }
.invite-screen::after { bottom: -235px; left: -135px; }

.invite-panel {
  position: relative;
  z-index: 1;
  width: min(100%, 470px);
  padding: 48px 48px 42px;
  border: 1px solid rgba(215, 207, 234, .92);
  border-radius: 28px;
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 32px 90px rgba(71, 52, 135, .15);
  backdrop-filter: blur(18px);
}

.invite-brand {
  display: inline-flex;
  color: var(--ink);
}

.invite-kicker {
  margin: 42px 0 0;
  color: var(--brand);
  font: 700 10px/1 var(--data-font);
  letter-spacing: .2em;
}

.invite-panel h1 {
  margin: 15px 0 0;
  color: var(--ink);
  font-family: "Noto Serif SC Variable", "Songti SC", serif;
  font-size: clamp(29px, 6vw, 38px);
  font-weight: 650;
  letter-spacing: -.04em;
}

.invite-lead {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.invite-form {
  display: grid;
  gap: 12px;
  margin-top: 34px;
}

.invite-form label {
  color: var(--body);
  font-size: 11px;
  font-weight: 650;
}

.invite-form input[type="text"] {
  width: 100%;
  min-height: 54px;
  padding: 0 17px;
  border: 1px solid var(--line-strong);
  border-radius: 13px;
  outline: 0;
  background: #faf9fd;
  color: var(--ink);
  font: 650 16px/1 var(--data-font);
  letter-spacing: .08em;
  text-transform: uppercase;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.invite-form input[type="text"]:focus {
  border-color: var(--brand);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(111, 85, 213, .11);
}

.invite-form input::placeholder {
  color: #aaa3ba;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0;
}

.invite-form button {
  display: flex;
  min-height: 54px;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
  border: 0;
  border-radius: 13px;
  background: linear-gradient(135deg, #7657e8, #5c42bf);
  color: #fff;
  cursor: pointer;
  font: 670 14px/1 var(--font);
  box-shadow: 0 14px 30px rgba(92, 66, 191, .24);
  transition: transform .2s ease, box-shadow .2s ease;
}

.invite-form button:hover { transform: translateY(-1px); box-shadow: 0 17px 34px rgba(92, 66, 191, .3); }
.invite-form button:active { transform: translateY(0); }
.invite-form button span { font-size: 18px; }

.invite-error {
  display: none;
  margin: 14px 0 0;
  color: var(--risk);
  font-size: 12px;
  line-height: 1.6;
}

.invite-error:target { display: block; }

.invite-panel > small {
  display: block;
  margin-top: 25px;
  color: #9189a4;
  font-size: 10px;
  letter-spacing: .04em;
}

::selection {
  background: var(--brand);
  color: #fff;
}

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

.site-canvas {
  min-height: 100vh;
  background: var(--page);
}

.shell {
  width: min(1120px, calc(100% - 64px));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 10px;
  left: 10px;
  padding: 10px 14px;
  background: var(--ink);
  color: #fff;
  font-size: 13px;
  transform: translateY(-160%);
}

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

.site-header {
  position: relative;
  z-index: 10;
  border-bottom: 1px solid rgba(78, 57, 159, .12);
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(16px);
}

.site-header nav {
  display: grid;
  min-height: 76px;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 36px;
}

.brand { text-decoration: none; }

.brand-mark {
  display: inline-flex;
  align-items: center;
  color: var(--ink);
  white-space: nowrap;
}

.brand-mark > strong {
  font-size: 24px;
  font-weight: 740;
  letter-spacing: .04em;
  line-height: 1;
}

.brand-mark > i {
  width: 1px;
  height: 29px;
  margin: 0 13px;
  background: var(--line-strong);
}

.brand-mark > span {
  display: grid;
  gap: 3px;
}

.brand-mark b {
  color: var(--brand-dark);
  font: 760 11px/1 var(--data-font);
  letter-spacing: .15em;
}

.brand-mark small {
  color: var(--muted);
  font: 600 7px/1 var(--data-font);
  letter-spacing: .1em;
}

.formal-nav {
  display: flex;
  justify-self: end;
  gap: 34px;
}

.formal-nav a {
  position: relative;
  color: var(--body);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}

.formal-nav a::after {
  position: absolute;
  right: 0;
  bottom: -9px;
  left: 0;
  height: 1px;
  background: var(--brand);
  content: "";
  opacity: 0;
  transform: scaleX(.4);
  transition: opacity .18s ease, transform .18s ease;
}

.formal-nav a:hover::after {
  opacity: 1;
  transform: scaleX(1);
}

.back-link {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-self: end;
  gap: 9px;
  color: var(--body);
  font-size: 13px;
  font-weight: 620;
  text-decoration: none;
}

.back-link span {
  color: var(--brand);
  font: 700 18px/1 var(--data-font);
}

.formal-hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 84% 14%, rgba(154, 132, 237, .28), transparent 29%),
    radial-gradient(circle at 67% 98%, rgba(212, 201, 250, .3), transparent 34%),
    linear-gradient(145deg, #fff 0%, #fbfaff 54%, #f1edff 100%);
}

.formal-hero::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(50% + 250px);
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(111, 85, 213, .2), transparent);
  content: "";
  transform: rotate(24deg);
}

.formal-hero__inner {
  position: relative;
  min-height: 430px;
  padding-block: 88px 78px;
}

.formal-hero__eyebrow {
  margin: 0 0 22px;
  color: var(--brand);
  font: 720 11px/1 var(--data-font);
  letter-spacing: .2em;
}

.formal-hero h1 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(44px, 5.5vw, 66px);
  font-weight: 690;
  letter-spacing: -.045em;
  line-height: 1.08;
}

.formal-hero__inner > strong {
  display: block;
  margin-top: 13px;
  color: var(--brand-dark);
  font: 560 clamp(17px, 2vw, 22px)/1.3 var(--data-font);
  letter-spacing: .04em;
}

.formal-hero__lead {
  margin: 32px 0 0;
  color: var(--body);
  font-size: 17px;
  font-weight: 570;
  letter-spacing: .08em;
}

.formal-products {
  padding: 88px 0 104px;
  background: var(--page);
}

.formal-section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 32px;
}

.formal-section-heading > div > span {
  color: var(--brand);
  font: 700 11px/1 var(--data-font);
  letter-spacing: .14em;
}

.formal-section-heading h2 {
  margin: 12px 0 0;
  color: var(--ink);
  font-size: 30px;
  font-weight: 680;
  letter-spacing: -.025em;
  line-height: 1.25;
}

.formal-section-heading > p {
  margin: 0 0 3px;
  color: var(--muted);
  font-size: 12px;
}

.formal-section-heading > p b {
  color: var(--body);
  font-weight: 660;
}

.strategy-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.strategy-card {
  --strategy: var(--brand);
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--paper);
  box-shadow: 0 18px 52px rgba(71, 52, 135, .065);
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.strategy-card__link {
  display: block;
  color: inherit;
  text-decoration: none;
  touch-action: manipulation;
}

.strategy-card::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  background: var(--strategy);
  content: "";
}

.strategy-card:hover {
  border-color: #cfc6e6;
  border-color: color-mix(in srgb, var(--strategy) 42%, var(--line));
  box-shadow: 0 22px 58px rgba(71, 52, 135, .1);
  transform: translateY(-2px);
}

.strategy-card:active { transform: scale(.99); }

.strategy-card__header {
  display: grid;
  min-height: 182px;
  grid-template-columns: 72px minmax(0, 1fr) 132px;
  align-items: flex-start;
  gap: 20px;
  padding: 30px 30px 26px;
}

.strategy-avatar {
  --strategy: var(--brand);
  --avatar-bg: var(--paper);
  --avatar-image: none;
  position: relative;
  display: block;
  flex: 0 0 auto;
  width: 72px;
  height: 72px;
  overflow: hidden;
  border: 1px solid #c8c0d9;
  border-color: color-mix(in srgb, var(--strategy) 58%, #ffffff);
  border-radius: 18px;
  background-color: var(--avatar-bg);
  background-image: var(--avatar-image);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 108%;
}

.strategy-theme--steady-gold,
.strategy-avatar--steady-gold { --strategy: #315e68; }

.strategy-theme--pony-one,
.strategy-avatar--pony-one { --strategy: #56664d; }

.strategy-theme--jinbao-value,
.strategy-avatar--jinbao-value { --strategy: #4b5f80; }

.strategy-theme--god-hand,
.strategy-avatar--god-hand { --strategy: #755a53; }

.strategy-avatar--steady-gold {
  --avatar-bg: #edf3f2;
  --avatar-image: url("/strategy-avatars/steady-gold.png");
}

.strategy-avatar--pony-one {
  --avatar-bg: #f0f2ed;
  --avatar-image: url("/strategy-avatars/pony-one.png");
}

.strategy-avatar--jinbao-value {
  --avatar-bg: #eef1f5;
  --avatar-image: url("/strategy-avatars/jinbao-value.png");
}

.strategy-avatar--god-hand {
  --avatar-bg: #f3efec;
  --avatar-image: url("/strategy-avatars/god-hand.png");
}

.strategy-avatar::after {
  position: absolute;
  inset: 4px;
  border: 1px solid rgba(255, 255, 255, .75);
  border-radius: 14px;
  content: "";
  pointer-events: none;
}

.strategy-avatar--pony-one { background-size: 100%; }
.strategy-avatar--jinbao-value { background-size: 94%; }
.strategy-avatar--god-hand { background-size: 104%; }

.strategy-avatar--large {
  width: 86px;
  height: 86px;
  border-radius: 21px;
}

.strategy-avatar--large::after { border-radius: 17px; }

.strategy-card__identity {
  min-width: 0;
  padding-top: 1px;
}

.strategy-card__identity > span {
  color: var(--strategy);
  font: 720 10px/1.35 var(--data-font);
  letter-spacing: .08em;
}

.strategy-card__identity h3 {
  margin: 17px 0 0;
  color: var(--ink);
  font-size: 24px;
  font-weight: 690;
  letter-spacing: -.02em;
  line-height: 1.34;
}

.strategy-card__identity p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 550;
}

.mini-curve {
  align-self: center;
  width: 132px;
  height: 54px;
  color: var(--strategy);
  opacity: .8;
}

.strategy-metrics {
  display: grid;
  grid-template-columns: 1.15fr 1fr .8fr;
  margin: 0;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(248, 246, 255, .64), rgba(255, 255, 255, .8));
}

.strategy-metrics > div {
  min-width: 0;
  padding: 24px 22px 26px;
  border-right: 1px solid var(--line);
}

.strategy-metrics > div:last-child { border-right: 0; }

.strategy-metrics dt,
.strategy-metrics dd {
  margin: 0;
}

.strategy-metrics dt {
  min-height: 18px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 560;
  white-space: nowrap;
}

.strategy-metrics dd {
  margin-top: 12px;
  color: var(--ink);
  font: 690 22px/1 var(--data-font);
  font-variant-numeric: tabular-nums;
  letter-spacing: -.025em;
  white-space: nowrap;
}

.strategy-metrics__return dd {
  color: var(--return);
}

.strategy-metrics__return {
  border-color: #ccebe2;
  background: linear-gradient(135deg, var(--return-soft) 0%, #fff 78%);
  box-shadow: 0 10px 28px rgba(15, 143, 115, .09);
}

.strategy-metrics__drawdown dd { color: var(--risk); }

.return-value {
  display: inline-flex;
  align-items: baseline;
  color: var(--return);
  font-family: "SF Pro Display", "DIN Alternate", "Segoe UI", var(--data-font), sans-serif;
  font-variant-numeric: tabular-nums;
  line-height: .9;
  white-space: nowrap;
}

.return-value b {
  font-size: 34px;
  font-weight: 770;
  letter-spacing: -.055em;
}

.return-value i {
  margin-left: 2px;
  color: var(--return-accent);
  font-size: 17px;
  font-style: normal;
  font-weight: 720;
  letter-spacing: -.02em;
}

.return-value--large b { font-size: clamp(50px, 5vw, 66px); }
.return-value--large i { font-size: clamp(24px, 2.5vw, 31px); }

.strategy-card__action {
  display: flex;
  min-height: 54px;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  border-top: 1px solid var(--line);
  color: var(--body);
  font-size: 12px;
  font-weight: 620;
}

.strategy-card__action i {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand-dark);
  font: 700 14px/1 var(--data-font);
  font-style: normal;
  transition: transform .2s ease, background-color .2s ease;
}

.strategy-card__link:hover .strategy-card__action i {
  background: var(--brand);
  color: #fff;
  transform: translate(2px, -2px);
}

.detail-canvas { --strategy: var(--brand); }

.detail-intro {
  padding: 64px 0 0;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 82% 8%, rgba(154, 132, 237, .24), transparent 31%),
    linear-gradient(155deg, #fff 0%, #faf8ff 62%, #f0ebff 100%);
}

.detail-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 42px;
}

.detail-identity {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 22px;
}

.detail-identity > div { min-width: 0; }

.detail-identity span {
  color: var(--strategy);
  font: 730 11px/1.4 var(--data-font);
  letter-spacing: .1em;
}

.detail-identity h1 {
  margin: 12px 0 0;
  color: var(--ink);
  font-size: clamp(34px, 4vw, 48px);
  font-weight: 700;
  letter-spacing: -.04em;
  line-height: 1.2;
}

.detail-identity p {
  margin: 9px 0 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 570;
}

.simulation-badge {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  border: 1px solid #ded5f7;
  border-radius: 999px;
  background: rgba(255, 255, 255, .72);
  padding: 0 13px;
  color: var(--brand-dark);
  font-size: 11px;
  font-weight: 620;
  white-space: nowrap;
}

.detail-metrics {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr;
  margin: 54px 0 0;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-bottom: 0;
  border-radius: 22px 22px 0 0;
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 20px 60px rgba(71, 52, 135, .08);
}

.detail-metrics > div {
  min-height: 146px;
  padding: 28px 30px;
  border-right: 1px solid var(--line);
}

.detail-metrics > div:last-child { border-right: 0; }

.detail-metrics__return {
  background: linear-gradient(135deg, var(--return-soft) 0%, #fff 82%);
}

.detail-metrics dt,
.detail-metrics dd { margin: 0; }

.detail-metrics dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 560;
}

.detail-metrics dd {
  margin-top: 20px;
  color: var(--ink);
  font: 720 31px/1 var(--data-font);
  font-variant-numeric: tabular-nums;
  letter-spacing: -.035em;
  white-space: nowrap;
}

.detail-metrics__return dd { margin-top: 15px; }
.detail-metrics__drawdown dd { color: var(--risk); }

.detail-data { padding-block: 62px 96px; }

.chart-card {
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 24px;
  background: var(--paper);
  box-shadow: 0 22px 66px rgba(71, 52, 135, .085);
}

.chart-card > header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  padding: 30px 34px 16px;
}

.chart-card > header span {
  color: var(--brand);
  font: 720 10px/1 var(--data-font);
  letter-spacing: .14em;
}

.chart-card > header h2 {
  margin: 11px 0 0;
  color: var(--ink);
  font-size: 25px;
  font-weight: 680;
  letter-spacing: -.025em;
}

.chart-balance {
  display: grid;
  justify-items: end;
  gap: 8px;
}

.chart-balance small {
  color: var(--muted);
  font-size: 11px;
}

.chart-balance strong {
  color: var(--ink);
  font: 740 28px/1 var(--data-font);
  font-variant-numeric: tabular-nums;
  letter-spacing: -.04em;
}

.equity-chart { padding: 8px 26px 0; }

.equity-chart svg {
  display: block;
  width: 100%;
  height: 310px;
}

.equity-chart__grid {
  stroke: #e9e4f5;
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}

.equity-chart__line {
  fill: none;
  stroke: #7657e8;
  stroke-dasharray: 1;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 3.2;
  vector-effect: non-scaling-stroke;
  animation: draw-curve .9s ease-out both;
}

.equity-chart__area { animation: reveal-area .7s .18s ease-out both; }

.equity-chart__end {
  fill: #fff;
  stroke: #7657e8;
  stroke-width: 3;
  vector-effect: non-scaling-stroke;
}

.equity-chart__axis {
  display: flex;
  justify-content: space-between;
  padding: 3px 2px 0;
  color: var(--muted);
  font: 600 10px/1 var(--data-font);
  letter-spacing: .04em;
}

.chart-card > footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-top: 22px;
  padding: 18px 34px 22px;
  border-top: 1px solid var(--line);
}

.chart-card > footer span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--body);
  font-size: 11px;
  font-weight: 620;
  white-space: nowrap;
}

.chart-card > footer i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #7657e8;
}

.chart-card > footer p {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.65;
  text-align: right;
}

.detail-facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 20px 0 0;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  background: var(--paper);
  box-shadow: 0 16px 46px rgba(71, 52, 135, .055);
}

.detail-facts > div {
  min-width: 0;
  padding: 23px 24px;
  border-right: 1px solid var(--line);
}

.detail-facts > div:last-child { border-right: 0; }
.detail-facts dt, .detail-facts dd { margin: 0; }
.detail-facts dt { color: var(--muted); font-size: 11px; }
.detail-facts dd { margin-top: 11px; color: var(--ink); font-size: 16px; font-weight: 680; }

@keyframes draw-curve {
  from { stroke-dashoffset: 1; }
  to { stroke-dashoffset: 0; }
}

@keyframes reveal-area {
  from { opacity: 0; }
  to { opacity: 1; }
}

.site-footer {
  border-top: 1px solid var(--line-strong);
  background: #ede9f8;
  color: var(--muted);
}

.formal-footer {
  padding-block: 30px 32px;
}

.formal-footer > span {
  display: block;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line-strong);
  font: 560 11px/1 var(--data-font);
  letter-spacing: .04em;
}

.formal-disclosure {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 28px;
  padding-top: 23px;
}

.formal-disclosure strong {
  color: var(--brand-dark);
  font-size: 11px;
  font-weight: 680;
}

.formal-disclosure p {
  max-width: 920px;
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.8;
}

@media (max-width: 900px) {
  .shell { width: min(100% - 40px, 820px); }
  .formal-hero__inner { min-height: 390px; padding-block: 72px 64px; }
  .strategy-card-grid { grid-template-columns: 1fr; }
  .strategy-card__header { min-height: 168px; }
  .detail-facts { grid-template-columns: repeat(2, 1fr); }
  .detail-facts > div:nth-child(2) { border-right: 0; }
  .detail-facts > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}

@media (max-width: 620px) {
  .shell { width: calc(100% - 32px); }

  .invite-screen { padding: 18px 16px; }
  .invite-panel { padding: 36px 24px 30px; border-radius: 22px; }
  .invite-kicker { margin-top: 34px; }
  .invite-panel h1 { font-size: 29px; }

  .site-header nav { min-height: 66px; gap: 20px; }
  .brand-mark > strong { font-size: 21px; }
  .brand-mark > i { height: 26px; margin-inline: 10px; }
  .brand-mark small { display: none; }
  .formal-nav { display: none; }

  .formal-hero__inner { min-height: 300px; padding-block: 54px 48px; }
  .formal-hero__eyebrow { margin-bottom: 18px; }
  .formal-hero h1 { font-size: 40px; }
  .formal-hero__inner > strong { font-size: 17px; }
  .formal-hero__lead { margin-top: 27px; font-size: 15px; }
  .formal-products { padding-block: 48px 72px; }
  .formal-section-heading { align-items: flex-start; flex-direction: column; gap: 17px; margin-bottom: 24px; }
  .formal-section-heading h2 { font-size: 27px; }

  .strategy-card-grid { gap: 16px; }
  .strategy-card { border-radius: 16px; }
  .strategy-card__header { min-height: 154px; grid-template-columns: 58px minmax(0, 1fr); gap: 16px; padding: 24px 20px 22px; }
  .strategy-avatar { width: 58px; height: 58px; border-radius: 14px; }
  .strategy-avatar::after { border-radius: 10px; }
  .strategy-card__identity > span { font-size: 9px; }
  .strategy-card__identity h3 { margin-top: 13px; font-size: 20px; }
  .strategy-card__identity p { margin-top: 5px; font-size: 12px; }
  .mini-curve { display: none; }

  .strategy-metrics { grid-template-columns: 1fr 1fr; }
  .strategy-metrics > div { padding: 19px 18px 21px; }
  .strategy-metrics > div:first-child { grid-column: 1 / -1; border-right: 0; border-bottom: 1px solid var(--line); }
  .strategy-metrics > div:nth-child(2) { border-right: 1px solid var(--line); }
  .strategy-metrics dt { font-size: 10px; }
  .strategy-metrics dd { margin-top: 9px; font-size: 18px; }
  .return-value b { font-size: 31px; }
  .return-value i { font-size: 15px; }
  .strategy-card__action { min-height: 50px; padding-inline: 19px; }

  .back-link { font-size: 12px; }
  .detail-intro { padding-top: 44px; }
  .detail-title-row { align-items: flex-start; flex-direction: column; gap: 24px; }
  .detail-identity { align-items: flex-start; gap: 16px; }
  .detail-identity .strategy-avatar--large { width: 64px; height: 64px; border-radius: 16px; }
  .detail-identity h1 { margin-top: 9px; font-size: 28px; line-height: 1.28; }
  .detail-identity p { margin-top: 6px; font-size: 12px; }
  .detail-identity span { font-size: 9px; }
  .simulation-badge { min-height: 30px; font-size: 10px; }
  .detail-metrics { grid-template-columns: 1fr 1fr; margin-top: 34px; border-radius: 18px 18px 0 0; }
  .detail-metrics > div { min-height: 112px; padding: 21px 18px; }
  .detail-metrics__return { grid-column: 1 / -1; border-right: 0 !important; border-bottom: 1px solid var(--line); }
  .detail-metrics > div:nth-child(2) { border-right: 1px solid var(--line); }
  .detail-metrics dt { font-size: 10px; }
  .detail-metrics dd { margin-top: 15px; font-size: 22px; }
  .detail-metrics__return dd { margin-top: 12px; }
  .return-value--large b { font-size: 48px; }
  .return-value--large i { font-size: 23px; }

  .detail-data { padding-block: 42px 72px; }
  .chart-card { border-radius: 18px; }
  .chart-card > header { align-items: flex-start; flex-direction: column; gap: 20px; padding: 24px 20px 10px; }
  .chart-card > header h2 { font-size: 22px; }
  .chart-balance { justify-items: start; }
  .chart-balance strong { font-size: 25px; }
  .equity-chart { padding: 6px 10px 0; }
  .equity-chart svg { height: 240px; }
  .equity-chart__axis { padding-inline: 8px; }
  .chart-card > footer { align-items: flex-start; flex-direction: column; gap: 10px; margin-top: 14px; padding: 17px 20px 20px; }
  .chart-card > footer p { text-align: left; }
  .detail-facts { border-radius: 16px; }
  .detail-facts > div { padding: 20px 17px; }
  .detail-facts dt { font-size: 10px; }
  .detail-facts dd { font-size: 14px; }

  .formal-footer { padding-block: 26px 28px; }
  .formal-footer > span { font-size: 9px; }
  .formal-disclosure { grid-template-columns: 1fr; gap: 9px; padding-block: 22px 28px; }
}

@media (max-width: 390px) {
  .strategy-card__identity h3 { font-size: 18px; }
  .strategy-metrics > div { padding-inline: 15px; }
  .strategy-metrics dt { white-space: normal; }
  .back-link { font-size: 0; }
  .back-link span { font-size: 20px; }
  .detail-identity h1 { font-size: 25px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
  .equity-chart__line, .equity-chart__area { animation: none !important; }
}
