/* "Our story" page (FA). Calm, human, one blue; follows the site's light and dark tokens. */
.yv-story { --st-blue: #2554e8; --st-blue-soft: #eaf0fe; --st-ink: var(--yk-text, #10141f); --st-ink2: var(--yk-muted, #4b5363); --st-surface: var(--yk-surface, #fff); --st-bg: var(--yk-bg, #f6f7fa); --st-line: var(--yk-border, #dce0e8); color: var(--st-ink); font-size: 1.06rem; line-height: 2.05; overflow-x: clip; }
html[data-theme="dark"] .yv-story { --st-blue: #7098ff; --st-blue-soft: #1a2745; --st-ink: #f1f3f7; --st-ink2: #b8c0d0; --st-surface: #141a28; --st-bg: #0b0f1a; --st-line: #262f42; }
.yv-story * { box-sizing: border-box; }
.yv-story__wrap { width: min(1192px, 100% - 48px); margin-inline: auto; }
.yv-story__kicker { display: inline-flex; align-items: center; gap: 10px; font-size: .85rem; font-weight: 800; color: var(--st-blue); letter-spacing: .02em; }
.yv-story__kicker::before { content: ""; width: 28px; height: 2px; background: currentColor; border-radius: 2px; }

/* hero */
.yv-story__hero { position: relative; padding: clamp(56px, 9vw, 120px) 0 clamp(40px, 6vw, 80px); }
.yv-story__hero::before { content: ""; position: absolute; inset: -10% -20% auto auto; width: 70vw; max-width: 900px; aspect-ratio: 1; background: radial-gradient(closest-side, rgba(37, 84, 232, .16), transparent 70%); pointer-events: none; }
.yv-story__hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(24px, 5vw, 72px); align-items: center; }
.yv-story h1 { font-size: clamp(2.1rem, 5.2vw, 3.7rem); line-height: 1.35; font-weight: 800; letter-spacing: -.01em; margin: 18px 0 20px; text-wrap: balance; }
.yv-story h1 em { font-style: normal; color: var(--st-blue); }
.yv-story__lead { font-size: clamp(1.05rem, 1.7vw, 1.25rem); color: var(--st-ink2); max-width: 36em; margin: 0 0 28px; }
.yv-story__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.yv-story__btn { display: inline-flex; align-items: center; gap: 8px; min-height: 52px; padding: 0 26px; border-radius: 15px; font-weight: 800; text-decoration: none; transition: transform .18s ease, box-shadow .18s ease; }
.yv-story__btn--primary { background: var(--st-blue); color: #fff; box-shadow: 0 14px 30px rgba(37, 84, 232, .28); }
.yv-story__btn--ghost { background: var(--st-surface); color: var(--st-ink); border: 1px solid var(--st-line); }
.yv-story__btn:hover { transform: translateY(-2px); }
.yv-story__orbit { position: relative; aspect-ratio: 1; width: min(100%, 460px); margin-inline: auto 0; }
.yv-story__orbit svg { width: 100%; height: 100%; display: block; overflow: visible; }
.yv-story__ring { fill: none; stroke: var(--st-blue); stroke-opacity: .18; stroke-width: 1.4; }
.yv-story__spin { transform-origin: 50% 50%; animation: yv-story-spin 60s linear infinite; }
.yv-story__spin--rev { animation-duration: 90s; animation-direction: reverse; }
@keyframes yv-story-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .yv-story__spin { animation: none; } }

/* chapters */
.yv-story__chapters { padding: clamp(24px, 4vw, 56px) 0; }
.yv-story__chapter { display: grid; grid-template-columns: minmax(0, 260px) minmax(0, 1fr); gap: clamp(20px, 4vw, 64px); padding: clamp(28px, 4vw, 52px) 0; border-top: 1px solid var(--st-line); }
.yv-story__chapter h2 { font-size: clamp(1.3rem, 2.4vw, 1.7rem); line-height: 1.6; font-weight: 800; margin: 0; }
.yv-story__chapter p { margin: 0 0 1em; color: var(--st-ink2); max-width: 40em; }
.yv-story__chapter p:last-child { margin-bottom: 0; }
.yv-story__chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 6px 0 22px; }
.yv-story__chips span { padding: 6px 16px; border-radius: 999px; background: var(--st-surface); border: 1px solid var(--st-line); font-size: .92rem; font-weight: 700; color: var(--st-ink2); }
.yv-story__chips span:nth-child(3n) { transform: translateY(6px); }
.yv-story__chips span:nth-child(3n+1) { transform: translateY(-4px); }
.yv-story__merge { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.yv-story__merge-card { display: grid; gap: 4px; padding: 16px 22px; border-radius: 20px; color: #fff; background: linear-gradient(155deg, #2a57d8, #1f46b8 55%, #173a9f); box-shadow: 0 16px 36px rgba(37, 84, 232, .26); }
.yv-story__merge-card small { opacity: .8; font-size: .8rem; line-height: 1.5; }
.yv-story__merge-card b { font-size: 1.5rem; line-height: 1.4; font-weight: 800; }
.yv-story__arrow { color: var(--st-blue); font-size: 1.6rem; }

/* can / cannot */
.yv-story__dos { padding: clamp(24px, 4vw, 56px) 0; }
.yv-story__dos h2, .yv-story__values h2, .yv-story__cta h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); line-height: 1.5; font-weight: 800; margin: 12px 0 28px; text-wrap: balance; }
.yv-story__dos-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.yv-story__panel { padding: clamp(22px, 3vw, 34px); border-radius: 26px; background: var(--st-surface); border: 1px solid var(--st-line); }
.yv-story__panel--yes { background: var(--st-blue-soft); border-color: transparent; }
.yv-story__panel h3 { margin: 0 0 14px; font-size: 1.15rem; font-weight: 800; }
.yv-story__panel ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.yv-story__panel li { display: grid; grid-template-columns: 26px 1fr; gap: 12px; align-items: start; line-height: 1.8; }
.yv-story__panel svg { width: 26px; height: 26px; margin-top: 3px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.yv-story__panel--yes svg { color: var(--st-blue); }
.yv-story__panel--no svg { color: #b93232; }
html[data-theme="dark"] .yv-story__panel--no svg { color: #ff8f8f; }

/* values */
.yv-story__values { padding: clamp(24px, 4vw, 56px) 0; }
.yv-story__values-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.yv-story__value { padding: 28px; border-radius: 26px; background: var(--st-surface); border: 1px solid var(--st-line); box-shadow: 0 1px 2px rgba(16, 20, 31, .04), 0 14px 36px rgba(16, 20, 31, .05); }
.yv-story__value-icon { width: 50px; height: 50px; border-radius: 16px; display: grid; place-items: center; background: var(--st-blue-soft); color: var(--st-blue); margin-bottom: 16px; }
.yv-story__value-icon svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.yv-story__value h3 { margin: 0 0 6px; font-size: 1.2rem; font-weight: 800; }
.yv-story__value p { margin: 0; color: var(--st-ink2); line-height: 1.95; }

/* letter */
.yv-story__letter { padding: clamp(32px, 5vw, 72px) 0; }
.yv-story__letter-card { position: relative; padding: clamp(28px, 5vw, 64px); border-radius: 32px; background: var(--st-surface); border: 1px solid var(--st-line); }
.yv-story__letter-card::before { content: "«"; position: absolute; inset-inline-start: clamp(18px, 3vw, 40px); top: -6px; font-size: 6rem; line-height: 1; color: var(--st-blue); opacity: .22; font-weight: 800; }
.yv-story__letter-card p { font-size: clamp(1.1rem, 2vw, 1.4rem); line-height: 2.1; font-weight: 600; margin: 0 0 1em; max-width: 34em; }
.yv-story__sign { margin-top: 22px; font-size: .95rem !important; color: var(--st-ink2); font-weight: 700 !important; }

/* closing */
.yv-story__cta { padding: 0 0 clamp(56px, 8vw, 110px); }
.yv-story__cta-card { position: relative; overflow: hidden; padding: clamp(32px, 6vw, 72px); border-radius: 34px; color: #fff; background: linear-gradient(155deg, #2a57d8, #1f46b8 55%, #173a9f); box-shadow: 0 26px 60px rgba(37, 84, 232, .28); }
.yv-story__cta-card::after { content: ""; position: absolute; inset: auto auto -140px -100px; width: 380px; height: 380px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .18); }
.yv-story__cta-card h2 { color: #fff; margin: 0 0 12px; }
.yv-story__cta-card p { margin: 0 0 24px; max-width: 34em; color: rgba(235, 242, 255, .92); }
.yv-story__btn--light { background: #fff; color: #1b3fa8; }

@media (max-width: 900px) {
  .yv-story__hero-grid, .yv-story__chapter, .yv-story__dos-grid, .yv-story__values-grid { grid-template-columns: 1fr; }
  .yv-story__orbit { width: min(78%, 320px); order: -1; }
}

.yv-story__crumbs { font-size: .88rem; color: var(--st-ink2); margin-bottom: 14px; display: flex; gap: 8px; flex-wrap: wrap; }
.yv-story__crumbs a { color: inherit; text-decoration: none; }
.yv-story__crumbs a:hover { color: var(--st-blue); }
a.yv-story__value { display: block; transition: transform .18s ease, box-shadow .18s ease; }
a.yv-story__value:hover { transform: translateY(-3px); }

/* ---- Tools hub and tool pages: the six tools sit on the logo's Y ---- */
.yv-tools { --ty-a: #14275f; --ty-b: #2554e8; --ty-c: #6f9bff; --ty-d: #2a57d8; }
html[data-theme="dark"] .yv-tools { --ty-a: #3a5cc9; --ty-b: #7ea0ff; --ty-c: #a9c3ff; --ty-d: #5b87ff; }
.yv-tt { display: inline-grid; place-items: center; flex: none; width: 48px; height: 48px; border-radius: 15px; color: #fff; background: linear-gradient(145deg, var(--t1), var(--t2)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .38), 0 8px 18px color-mix(in srgb, var(--t2) 32%, transparent); }
.yv-tt svg { width: 25px; height: 25px; }
.yv-tools__hero { position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(20px, 5vw, 64px); align-items: center; }
.yv-tools__copy { min-width: 0; }
.yv-tools h1 { max-width: 15em; }
.yv-ty { position: relative; width: min(100%, 420px); aspect-ratio: 480 / 520; margin-inline: auto; color: var(--st-ink); }
.yv-ty__svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.yv-ty__rings { opacity: .1; stroke-width: 1.5; }
.yv-ty__node { position: absolute; left: var(--x); top: var(--y); translate: -50% -50%; display: grid; justify-items: center; text-decoration: none; color: inherit; transition: transform .2s ease; }
.yv-ty__node:hover, .yv-ty__node:focus-visible { transform: scale(1.08); outline: none; }
.yv-ty__node:focus-visible .yv-tt { outline: 3px solid color-mix(in srgb, var(--st-blue) 50%, transparent); outline-offset: 3px; }
.yv-tt--node { width: 54px; height: 54px; border-radius: 18px; border: 2px solid rgba(255, 255, 255, .55); box-shadow: 0 12px 26px rgba(14, 24, 70, .3), inset 0 1px 0 rgba(255, 255, 255, .45); }
.yv-tt--node svg { width: 27px; height: 27px; }
.yv-ty__label { position: absolute; top: 50%; margin-top: -13px; padding: 3px 11px; border-radius: 999px; white-space: nowrap; font-size: .78rem; line-height: 1.8; font-weight: 800; background: color-mix(in srgb, var(--st-surface) 94%, transparent); box-shadow: 0 6px 16px rgba(16, 20, 31, .14); }
.yv-ty__node--l .yv-ty__label { right: calc(100% + 10px); }
.yv-ty__node--r .yv-ty__label { left: calc(100% + 10px); }
.yv-ty__node.is-current .yv-tt--node { width: 66px; height: 66px; border-radius: 22px; box-shadow: 0 0 0 6px color-mix(in srgb, var(--st-blue) 24%, transparent), 0 14px 30px rgba(14, 24, 70, .34); }
.yv-ty__node.is-current .yv-ty__label { background: var(--st-blue); color: #fff; }

.yv-tools__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.yv-tools__card { display: grid; align-content: start; gap: 8px; padding: 26px; border-radius: 26px; background: var(--st-surface); border: 1px solid var(--st-line); box-shadow: 0 1px 2px rgba(16, 20, 31, .04), 0 14px 36px rgba(16, 20, 31, .05); text-decoration: none; color: inherit; transition: transform .18s ease, box-shadow .18s ease; }
.yv-tools__card:hover { transform: translateY(-4px); box-shadow: 0 1px 2px rgba(16, 20, 31, .05), 0 22px 44px rgba(16, 20, 31, .1); }
.yv-tools__card .yv-tt { margin-bottom: 8px; }
.yv-tools__card h3 { margin: 0; font-size: 1.2rem; font-weight: 800; }
.yv-tools__card p { margin: 0; color: var(--st-ink2); line-height: 1.95; font-size: .98rem; }
.yv-tools__more { margin-top: 8px; color: var(--st-blue); font-weight: 800; font-size: .92rem; }
.yv-tools__card:focus-visible { outline: 3px solid color-mix(in srgb, var(--st-blue) 50%, transparent); outline-offset: 3px; }

.yv-tools__feat { position: relative; padding-inline-start: 28px; }
.yv-tools__num { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 14px; border-radius: 14px; color: #fff; font-weight: 900; font-size: 1.1rem; background: linear-gradient(145deg, var(--t1), var(--t2)); box-shadow: 0 8px 18px color-mix(in srgb, var(--t2) 30%, transparent); }

.yv-tool-steps { padding: clamp(24px, 4vw, 56px) 0; }
.yv-tool-steps h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); line-height: 1.5; font-weight: 800; margin: 12px 0 28px; }
.yv-tool-steps__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; counter-reset: s; position: relative; }
.yv-tool-steps__list::before { content: ""; position: absolute; inset-inline: 12% 12%; top: 29px; height: 2px; background: repeating-linear-gradient(90deg, var(--st-line) 0 8px, transparent 8px 16px); }
.yv-tool-steps__list li { position: relative; display: grid; justify-items: start; gap: 8px; }
.yv-tool-steps__n { position: relative; z-index: 1; display: grid; place-items: center; width: 58px; height: 58px; border-radius: 20px; color: #fff; font-size: 1.4rem; font-weight: 900; background: linear-gradient(145deg, var(--t1), var(--t2)); box-shadow: 0 12px 26px color-mix(in srgb, var(--t2) 32%, transparent); margin-bottom: 8px; }
.yv-tool-steps h3 { margin: 0; font-size: 1.15rem; font-weight: 800; }
.yv-tool-steps p { margin: 0; color: var(--st-ink2); line-height: 1.95; max-width: 26em; }

.yv-tools__faq { display: grid; gap: 12px; max-width: 820px; }
.yv-tools__faq details { padding: 4px 24px; border-radius: 20px; background: var(--st-surface); border: 1px solid var(--st-line); }
.yv-tools__faq summary { list-style: none; cursor: pointer; position: relative; padding: 18px 0 18px 40px; font-weight: 800; line-height: 1.8; }
.yv-tools__faq summary::-webkit-details-marker { display: none; }
.yv-tools__faq summary::after { content: "+"; position: absolute; inset-inline-end: 0; top: 50%; translate: 0 -50%; width: 26px; height: 26px; display: grid; place-items: center; border-radius: 9px; background: var(--st-blue-soft); color: var(--st-blue); font-size: 1.1rem; font-weight: 800; }
.yv-tools__faq details[open] summary::after { content: "−"; }
.yv-tools__faq summary:focus-visible { outline: 3px solid color-mix(in srgb, var(--st-blue) 50%, transparent); outline-offset: 2px; border-radius: 8px; }
.yv-tools__faq details p { margin: 0 0 18px; color: var(--st-ink2); line-height: 2; }

@media (max-width: 900px) {
  .yv-tools__hero { grid-template-columns: minmax(0, 1fr); }
  .yv-ty { width: min(100%, 360px); }
  .yv-tools__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .yv-tool-steps__list { grid-template-columns: minmax(0, 1fr); }
  .yv-tool-steps__list::before { display: none; }
}
@media (max-width: 620px) {
  .yv-tools__grid { grid-template-columns: minmax(0, 1fr); }
  .yv-tt--node { width: 46px; height: 46px; border-radius: 15px; }
  .yv-tt--node svg { width: 23px; height: 23px; }
  .yv-ty__node.is-current .yv-tt--node { width: 56px; height: 56px; }
  .yv-ty__label { font-size: .7rem; padding: 2px 8px; }
}
@media (prefers-reduced-motion: reduce) { .yv-ty__node, .yv-tools__card { transition: none; } }

/* ---- Live tools: prices, fund comparison, calculator, sample portfolios ---- */
.yv-tools__sub { margin: 40px 0 16px; font-size: 1.3rem; font-weight: 800; }
.yv-live__stamp { margin: 0 0 18px; color: var(--st-ink2); font-size: .92rem; }
.yv-live__empty { padding: 18px 20px; border-radius: 16px; background: var(--st-surface); border: 1px dashed var(--st-line); color: var(--st-ink2); }
.yv-live__groups { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: start; }
.yv-live__card { padding: 22px; border-radius: 26px; background: var(--st-surface); border: 1px solid var(--st-line); box-shadow: 0 1px 2px rgba(16, 20, 31, .04), 0 14px 36px rgba(16, 20, 31, .05); margin-bottom: 18px; }
.yv-live__groups .yv-live__card { margin-bottom: 0; }
.yv-live__card h2 { margin: 0 0 12px; font-size: 1.2rem; font-weight: 800; }
.yv-live__lead { margin: 0 0 14px; color: var(--st-ink2); line-height: 1.95; font-size: .96rem; }
.yv-live__scroll { overflow-x: auto; }
.yv-live__table { width: 100%; border-collapse: collapse; font-size: .95rem; font-variant-numeric: tabular-nums; }
.yv-live__table th, .yv-live__table td { padding: 11px 8px; text-align: right; border-bottom: 1px solid var(--st-line); vertical-align: middle; }
.yv-live__table thead th { color: var(--st-ink2); font-size: .8rem; font-weight: 800; white-space: nowrap; }
.yv-live__table tbody th { font-weight: 700; }
.yv-live__table td { white-space: nowrap; }
.yv-live__table small { color: var(--st-ink2); font-weight: 500; }
.yv-live__table--funds th[data-num] { cursor: pointer; user-select: none; }
.yv-live__table--funds th[data-num]::after { content: " ↕"; opacity: .45; }
.yv-live__name { color: var(--st-ink2); white-space: normal !important; min-width: 180px; }
.yv-live__table td.is-up { color: #0e8f63; font-weight: 800; }
.yv-live__table td.is-down { color: #c23b3b; font-weight: 800; }
.yv-live__tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.yv-live__tabs a { padding: 8px 16px; border-radius: 999px; background: var(--st-surface); border: 1px solid var(--st-line); color: inherit; text-decoration: none; font-weight: 700; font-size: .92rem; }
.yv-live__tabs a:hover { border-color: var(--st-blue); color: var(--st-blue); }
.yv-live__note { margin: 6px 0 26px; padding: 18px 22px; border-radius: 20px; background: var(--st-blue-soft); }
.yv-live__note p { margin: 6px 0 0; color: var(--st-ink2); line-height: 2; }
.yv-live__note a { color: var(--st-blue); font-weight: 800; }
.yv-live__faq { margin-top: 28px; }

.yv-calc { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; align-items: start; }
.yv-calc__card { padding: 24px; border-radius: 26px; background: var(--st-surface); border: 1px solid var(--st-line); box-shadow: 0 1px 2px rgba(16, 20, 31, .04), 0 14px 36px rgba(16, 20, 31, .05); }
.yv-calc__card h2 { margin: 0 0 8px; font-size: 1.2rem; font-weight: 800; }
.yv-calc__grid { display: grid; gap: 12px; margin: 14px 0; }
.yv-calc__grid label { display: grid; gap: 6px; font-weight: 700; font-size: .9rem; }
.yv-calc__grid input { min-height: 50px; padding: 0 14px; font: inherit; font-size: 1rem; border-radius: 14px; border: 1.5px solid var(--st-line); background: var(--st-bg); color: inherit; direction: ltr; text-align: right; }
.yv-calc__grid input:focus { outline: none; border-color: var(--st-blue); box-shadow: 0 0 0 4px rgba(37, 84, 232, .14); }
.yv-calc__grid .yv-calc__check { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.yv-calc__grid .yv-calc__check input { min-height: 0; width: 20px; height: 20px; padding: 0; accent-color: var(--st-blue); }
.yv-calc__out { display: grid; gap: 10px; margin: 16px 0 8px; }
.yv-calc__out > div { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; padding: 12px 14px; border-radius: 14px; background: var(--st-blue-soft); }
.yv-calc__out dt { color: var(--st-ink2); font-size: .9rem; }
.yv-calc__out dd { margin: 0; font-weight: 800; font-size: 1.05rem; }
.yv-calc__hint { margin: 6px 0 0; color: var(--st-ink2); font-size: .85rem; line-height: 1.9; }

.yv-sample__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: start; margin-bottom: 18px; }
.yv-sample__donut { width: 150px; height: 150px; margin: 8px auto 16px; border-radius: 50%; -webkit-mask: radial-gradient(circle 46px at center, transparent 98%, #000 100%); mask: radial-gradient(circle 46px at center, transparent 98%, #000 100%); }
.yv-sample__legend { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 7px; }
.yv-sample__legend li { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: .92rem; }
.yv-sample__legend i { width: 12px; height: 12px; border-radius: 4px; flex: none; }
.yv-sample__legend b { margin-inline-start: auto; font-variant-numeric: tabular-nums; }
.yv-sample p { margin: 0 0 10px; color: var(--st-ink2); line-height: 1.95; font-size: .95rem; }

html[data-theme="dark"] .yv-calc__grid input { background: #0b0f1a; }
@media (max-width: 900px) {
  .yv-live__groups, .yv-sample__grid, .yv-calc { grid-template-columns: minmax(0, 1fr); }
}

/* Payout-day calculator: before and after side by side */
.yv-calc__compare { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 16px 0 8px; }
.yv-calc__col { padding: 14px; border-radius: 16px; background: var(--st-blue-soft); }
.yv-calc__col h3 { margin: 0 0 8px; font-size: .95rem; font-weight: 800; }
.yv-calc__col dl { margin: 0; display: grid; gap: 8px; }
.yv-calc__col dl > div { display: grid; gap: 2px; }
.yv-calc__col dt { color: var(--st-ink2); font-size: .8rem; }
.yv-calc__col dd { margin: 0; font-weight: 800; font-size: .98rem; }
.yv-calc__verdict { margin: 10px 0 4px; padding: 12px 14px; border-radius: 14px; background: color-mix(in srgb, #0e8f63 12%, transparent); color: var(--st-ink); line-height: 1.95; font-weight: 600; }
@media (max-width: 520px) { .yv-calc__compare { grid-template-columns: minmax(0, 1fr); } }

/* fund pages (/funds/, /funds/<symbol>/) */
.yv-fund__hero { padding-bottom: clamp(16px, 3vw, 36px); }
.yv-fund h1 { font-size: clamp(1.8rem, 4.4vw, 3rem); }
.yv-fund__stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 18px; }
@media (max-width: 720px) { .yv-fund__stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } .yv-fund__stat { padding: 14px; } .yv-fund__stat strong { font-size: 1.2rem; } }
.yv-fund__stat { display: grid; gap: 4px; padding: 16px 18px; border-radius: 20px; background: var(--st-surface); border: 1px solid var(--st-line); }
.yv-fund__stat span { color: var(--st-ink2); font-size: .82rem; line-height: 1.7; }
.yv-fund__stat strong { font-size: 1.45rem; line-height: 1.5; font-variant-numeric: tabular-nums; }
.yv-fund__stat small { color: var(--st-ink2); font-weight: 400; }
.yv-fund .is-up { color: #12805c; }
.yv-fund .is-down { color: #c0392b; }
html[data-theme="dark"] .yv-fund .is-up { color: #3ddc97; }
html[data-theme="dark"] .yv-fund .is-down { color: #ff7b72; }
.yv-fund__chart { margin: 0; }
.yv-fund__chart svg { display: block; width: 100%; height: auto; }
.yv-fund__area { fill: var(--st-blue); fill-opacity: .1; stroke: none; }
.yv-fund .yv-tools__faq { max-width: none; }
.yv-fund__line { fill: none; stroke: var(--st-blue); stroke-width: 2.4; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.yv-fund__dot { fill: var(--st-blue); stroke: var(--st-surface); stroke-width: 2; }
.yv-fund__chart figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px; margin-top: 8px; color: var(--st-ink2); font-size: .85rem; }
.yv-fund__h2 { font-size: 1.15rem; font-weight: 800; margin: 28px 0 12px; }
.yv-fund .yv-tools__faq { margin-bottom: 8px; }
.yv-live__table th a { color: var(--st-blue); font-weight: 800; text-decoration: none; }
.yv-live__table th a:hover { text-decoration: underline; }
.yv-fund .yv-live__card .yv-story__btn { margin-inline-end: 10px; margin-top: 6px; }
.yv-fund__facts { margin: 0 0 14px; padding-inline-start: 1.2em; display: grid; gap: 6px; color: var(--st-ink2); line-height: 1.95; }
.yv-fund__cats { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; margin-bottom: 20px; }
.yv-fund__cat { position: relative; display: grid; gap: 6px; align-content: start; padding: 20px 20px 18px; border-radius: 22px; background: var(--st-surface); border: 1px solid var(--st-line); color: inherit; text-decoration: none; transition: transform .18s ease, border-color .18s ease; }
.yv-fund__cat:hover { transform: translateY(-2px); border-color: var(--t2, var(--st-blue)); }
.yv-fund__cat-dot { width: 34px; height: 34px; border-radius: 11px; background: linear-gradient(145deg, var(--t1), var(--t2)); }
.yv-fund__cat h2 { margin: 6px 0 0; font-size: 1.1rem; font-weight: 800; line-height: 1.6; }
.yv-fund__cat p { margin: 0; color: var(--st-ink2); font-size: .93rem; line-height: 1.9; }
.yv-fund__cat-more { margin-top: 6px; font-weight: 800; font-size: .9rem; color: var(--st-blue); }
