/* Nexus home: shared typography, an in-page Invest demo and visible subscription options. */
.nexus-home {
  --shell: min(1440px, calc(100% - 64px));
  --section-space: clamp(80px, 8vw, 128px);
  --heading-size: clamp(34px, 4vw, 60px);
  --action: #6545e5;
  --demo-muted: #b6b1c3;
  scrollbar-color: #575065 var(--ink);
}
.nexus-home [hidden] { display: none !important; }
.nexus-home :where(h1,h2,h3) { text-wrap: balance; }
.nexus-home :where(section,[id="product"],#invest-tour,#invest-plan) { scroll-margin-top: 100px; }
.nexus-home .noise,.nexus-home .pointer-light { display: none; }
.nexus-home .visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.nexus-home .hero { min-height: 100svh; padding: 132px 0 96px; display: grid; align-items: center; }
.nexus-home .hero-ghost { top: 17%; opacity: .55; }
.nexus-home h1 { font-size: clamp(44px,6.8vw,94px); line-height: 1.08; letter-spacing: -.04em; }
.nexus-home h1 em { font-size: .85em; letter-spacing: -.04em; text-shadow: none; }
.nexus-home .hero-lede { max-width: 710px; margin-top: 32px; }
.nexus-home .hero-note { margin-top: 24px; color: var(--muted); font: 400 14px/1.6 var(--body); letter-spacing: 0; }
.nexus-home .hero-atmosphere { position: absolute; z-index: -1; inset: 0; overflow: hidden; opacity: .55; mix-blend-mode: screen; pointer-events: none; }
.nexus-home .hero-atmosphere canvas { display: block; width: 100%; height: 100%; }
@media (prefers-reduced-motion: reduce), (max-width: 640px) {
  .nexus-home .hero-atmosphere { display: none; }
}
.nexus-home .hero-actions { margin-top: 32px; }
.nexus-home .pill-primary { background: var(--action); border-color: transparent; box-shadow: none; }
.nexus-home .pill-primary:hover { background: #7355ef; }
.nexus-home .language { min-width: 64px; min-height: 44px; font-size: 11px; color: var(--muted); }
.nexus-home .main-nav { gap: 24px; }
.nexus-home .main-nav a { display: inline-flex; align-items: center; min-height: 44px; }
.nexus-home .menu-button { min-width: 44px; min-height: 44px; }
.nexus-home .section-title,
.nexus-home .section-heading h2,
.nexus-home .business-heading h2,
.nexus-home .final-inner h2 {
  margin: 0 0 28px; font: 650 var(--heading-size)/1.12 var(--display); letter-spacing: -.035em;
}
.nexus-home .section-title em,
.nexus-home .section-heading h2 em,
.nexus-home .business-heading h2 em,
.nexus-home .final-inner h2 em {
  color: var(--violet-light); font-family: var(--accent); font-weight: 600; font-style: normal; font-size: .87em; letter-spacing: -.035em; text-shadow: none;
}
.nexus-home .section { padding-block: var(--section-space); }
.nexus-home .section-heading { max-width: 1120px; }
.invest-section { position: relative; padding-block: var(--section-space); background: #111117; }
.invest-intro { display: grid; grid-template-columns: minmax(0,.85fr) minmax(0,1.5fr); align-items: center; gap: 48px; }
.invest-copy { padding-block: 16px; }
.invest-product-name { margin: 0 0 28px; color: var(--violet-light); font: 700 19px/1.4 var(--body); letter-spacing: -.02em; }
.invest-copy > p:not(.invest-product-name) { max-width: 47ch; margin: 0; color: var(--muted); font-size: 17px; line-height: 1.75; }
.invest-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 20px; margin-top: 28px; }
.invest-actions > a { min-height: 48px; }
.invest-price-link { display: inline-flex; align-items: center; color: var(--violet-light); font-size: 14px; text-underline-offset: 5px; }
.invest-price-link:hover { text-decoration: underline; }
.launch-status { display: inline-flex; align-items: center; gap: 8px; margin-top: 24px; color: var(--muted); font-size: 13px; }
.launch-status::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--violet-light); }
.invest-demo-wrap { min-width: 0; perspective: 1400px; }
.invest-demo { background: #08090d; border-radius: 16px; box-shadow: 0 24px 64px #0006; transform: rotateY(var(--invest-ry,0deg)) rotateX(var(--invest-rx,0deg)); transition: transform .4s cubic-bezier(.16,1,.3,1); overflow: hidden; }
.invest-demo:focus-within { transform: none; }
.invest-app-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; padding: 16px 24px; border-bottom: 1px solid var(--line); }
.invest-app-brand { display: flex; align-items: center; gap: 10px; }
.invest-app-brand > b { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; background: var(--text); color: var(--ink); font-size: 12px; font-weight: 800; }
.invest-app-brand > span { font-weight: 750; font-size: 15px; line-height: 1.1; }
.invest-app-brand small { display: block; margin-top: 4px; color: var(--violet-light); font: 550 9px/1.2 var(--accent); }
.demo-label { max-width: 28ch; color: var(--demo-muted); font-size: 11px; line-height: 1.5; text-align: right; }
.invest-app-layout { display: grid; grid-template-columns: 56px minmax(0,1fr); }
.invest-app-nav { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 24px 4px; border-right: 1px solid var(--line); }
.invest-app-nav button { position: relative; width: 44px; min-height: 44px; padding: 0; display: grid; place-items: center; border: 0; border-radius: 10px; color: var(--demo-muted); background: transparent; cursor: pointer; }
.invest-app-nav button > span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.invest-demo svg:not(.demo-chart svg) { width: 19px; height: 19px; stroke-width: 1.6; flex-shrink: 0; }
.invest-app-nav button[aria-selected="true"] { color: var(--violet-light); background: #28213e; }
.invest-app-nav button:hover { color: var(--text); background: #211c2f; }
.invest-app-content { min-width: 0; padding: 16px 24px 20px; }
.invest-period-bar { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 12px; min-height: 44px; }
.invest-period-bar > span { color: var(--demo-muted); font-size: 12px; }
.invest-periods { display: flex; gap: 2px; }
.invest-periods button,.demo-filters button { min-height: 44px; padding: 8px 12px; border: 0; border-radius: 8px; color: var(--demo-muted); background: transparent; font-size: 12px; cursor: pointer; }
.invest-periods button[aria-pressed="true"],.demo-filters button[aria-pressed="true"] { background: #292039; color: #ddd4ff; }
.invest-periods button:hover,.demo-filters button:hover { background: #211c2f; color: white; }
.invest-app-panel { min-height: 380px; outline-offset: 4px; }
.invest-app-panel + .invest-app-panel { margin-top: 32px; }
.js .invest-app-panel + .invest-app-panel { margin-top: 0; }
.invest-app-panel h3 { margin: 0 0 20px; font: 700 19px/1.35 var(--body); letter-spacing: -.02em; }
.demo-balance { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.demo-balance span { display: block; color: var(--demo-muted); font-size: 12px; line-height: 1.5; }
.demo-balance strong { display: block; margin-top: 6px; font-size: clamp(27px,2.55vw,38px); font-weight: 750; letter-spacing: -.035em; line-height: 1.2; font-variant-numeric: tabular-nums; white-space: nowrap; }
.demo-balance .demo-net strong { color: var(--mint); font-size: 20px; }
.demo-chart-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.demo-chart-heading h4 { font: 600 12px/1.5 var(--body); margin: 0; color: var(--demo-muted); }
.demo-chart-heading output { font-size: 12px; font-weight: 650; font-variant-numeric: tabular-nums; }
.demo-chart { margin-top: 8px; }
.demo-chart svg { width: 100%; height: 148px; overflow: visible; stroke-width: 2; }
.demo-chart .chart-grid { stroke: #ffffff0d; stroke-width: 1; }
.demo-chart .chart-area { fill: url(#invest-chart-fill); stroke: none; }
.demo-chart .chart-line { stroke: #aa92ff; stroke-width: 2.5; }
.demo-chart circle { fill: #a58bff; stroke: #0b0b10; stroke-width: 2; }
.demo-chart .chart-cursor { stroke: #bdb0ed70; stroke-width: 1; stroke-dasharray: 4 5; }
.chart-dates { display: flex; justify-content: space-between; }
.chart-dates button { min-width: 44px; min-height: 44px; padding: 0 4px; border: 0; border-radius: 6px; background: transparent; color: var(--demo-muted); font-size: 11px; cursor: pointer; }
.chart-dates button[aria-pressed="true"] { color: var(--violet-light); font-weight: 750; }
.chart-dates button:hover { background: #211c2f; }
.demo-summary { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; border-top: 1px solid var(--line); padding-top: 16px; }
.demo-summary > span { display: grid; gap: 6px; }
.demo-summary > span > span { color: var(--demo-muted); font-size: 11px; line-height: 1.5; }
.demo-summary b { font-size: 14px; font-weight: 650; font-variant-numeric: tabular-nums; }
.demo-context-note { color: var(--demo-muted); font-size: 12px; line-height: 1.65; margin: 16px 0 0; }
.invest-app-footer { min-height: 44px; display: flex; align-items: center; gap: 8px; padding: 10px 24px; border-top: 1px solid var(--line); color: var(--demo-muted); font-size: 11px; }
.demo-active-label { margin-left: auto; color: var(--violet-light); }
.invest-demo-hint { max-width: 62ch; margin: 16px 0 0; color: var(--muted); font-size: 13px; line-height: 1.65; text-align: center; }
.demo-panel-intro { margin: -8px 0 20px; color: var(--demo-muted); font-size: 13px; line-height: 1.6; }
.demo-filters { display: flex; gap: 4px; margin-bottom: 20px; }
.demo-operations { width: 100%; border-collapse: collapse; font-size: 13px; line-height: 1.5; }
.demo-operations th { padding: 0 0 12px; text-align: left; color: var(--demo-muted); font-size: 11px; font-weight: 500; }
.demo-operations td { padding: 12px 0; border-top: 1px solid var(--line); }
.demo-operations th:last-child,.demo-operations td:last-child { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.demo-operations td:first-child { padding-right: 16px; }
.demo-operations small { display: block; color: var(--demo-muted); font-size: 10px; margin-top: 4px; }
.demo-operations .positive { color: var(--mint); }
.demo-metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.demo-metrics button { position: relative; display: grid; gap: 12px; min-height: 108px; padding: 16px; text-align: left; border: 1px solid var(--line); border-radius: 12px; background: #121219; color: var(--demo-muted); font-size: 12px; line-height: 1.5; cursor: pointer; }
.demo-metrics button[aria-pressed="true"] { background: #211b33; border-color: #8670b9; color: #d8ccef; }
.demo-metrics strong { color: var(--text); font-size: 22px; font-weight: 650; font-variant-numeric: tabular-nums; }
.demo-metrics button > svg { position: absolute; right: 12px; bottom: 16px; width: 16px !important; height: 16px !important; }
.demo-metric-note { margin-top: 24px; }
.demo-metric-note b { font-size: 14px; font-weight: 650; }
.demo-metric-note p,.demo-formula { color: var(--demo-muted); font-size: 13px; line-height: 1.7; margin: 8px 0 0; }
.demo-formula { padding-top: 12px; border-top: 1px solid var(--line); margin-top: 20px; font-variant-numeric: tabular-nums; color: var(--violet-light); }
.demo-checklist { display: grid; gap: 0; }
.demo-checklist label { display: flex; align-items: center; gap: 12px; min-height: 68px; border-bottom: 1px solid var(--line); padding: 12px 0; font-size: 14px; line-height: 1.6; cursor: pointer; }
.demo-checklist input { width: 18px; height: 18px; accent-color: var(--action); flex-shrink: 0; }
.demo-checklist label:has(:checked) > span { color: var(--demo-muted); text-decoration: line-through; }
.demo-checklist label:focus-within { outline: 2px solid var(--violet-light); outline-offset: 4px; }
.demo-calendar-note { display: flex; gap: 12px; margin-top: 24px; color: var(--violet-light); }
.demo-calendar-note b { font-size: 13px; font-weight: 600; }
.demo-calendar-note p { margin: 8px 0 0; color: var(--demo-muted); font-size: 13px; line-height: 1.7; }
.invest-benefits { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 40px; margin-top: 64px; padding-top: 40px; border-top: 1px solid var(--line-strong); }
.invest-benefits article { display: flex; gap: 16px; }
.invest-benefits svg { width: 24px; height: 24px; flex-shrink: 0; color: var(--violet-light); stroke-width: 1.5; }
.invest-benefits h3 { margin: 0 0 12px; font: 650 18px/1.5 var(--body); }
.invest-benefits p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.75; }
.invest-details-section { padding-block: var(--section-space); background: var(--ink); }
.invest-statistics { display: grid; grid-template-columns: 1.15fr 1fr; align-items: start; gap: 72px; }
.invest-statistics > div > p,.invest-plan-copy > p { max-width: 60ch; color: var(--muted); font-size: 17px; line-height: 1.75; margin: 0; }
.statistics-details { padding-top: 8px; }
.statistics-details details { border-bottom: 1px solid var(--line-strong); }
.statistics-details details:first-child { border-top: 1px solid var(--line-strong); }
.statistics-details summary,.invest-questions summary { position: relative; display: block; padding: 24px 36px 24px 0; cursor: pointer; font-size: 17px; font-weight: 650; line-height: 1.5; list-style: none; }
.statistics-details summary::-webkit-details-marker,.invest-questions summary::-webkit-details-marker { display: none; }
.statistics-details summary::after,.invest-questions summary::after { content: ''; position: absolute; right: 6px; top: 30px; width: 8px; height: 8px; border-right: 1.5px solid var(--violet-light); border-bottom: 1.5px solid var(--violet-light); transform: rotate(45deg); transition: transform .2s; }
.statistics-details details[open] summary::after,.invest-questions details[open] summary::after { transform: rotate(225deg); }
.statistics-details details[open] summary { color: var(--violet-light); }
.statistics-details p,.invest-questions p { margin: 0; padding-bottom: 24px; color: var(--muted); font-size: 15px; line-height: 1.75; }
.nexus-home summary:focus-visible { outline: 2px solid var(--violet-light); outline-offset: 4px; border-radius: 4px; }
.invest-subscription { margin-top: var(--section-space); padding-top: var(--section-space); border-top: 1px solid var(--line-strong); }
.invest-plan-copy { text-align: center; }
.invest-plan-copy > p { margin-inline: auto; }
.invest-price-cards { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; margin-top: 48px; }
.invest-price-card { min-width: 0; padding: 36px; border: 1px solid var(--line-strong); border-radius: 16px; background: #15151d; }
.invest-price-card.price-featured { background: #231c36; border-color: #8870be; }
.invest-price-card h3 { margin: 0; font: 650 25px/1.3 var(--display); letter-spacing: -.025em; }
.price-description { margin: 12px 0 32px; color: var(--muted); font-size: 14px; line-height: 1.6; }
.price-value { margin: 0; font: 750 clamp(32px,3.4vw,48px)/1.2 var(--display); letter-spacing: -.03em; white-space: nowrap; font-variant-numeric: tabular-nums; }
.price-value > span { font-size: .7em; color: var(--violet-light); }
.price-rate { margin: 12px 0 0; color: var(--muted); font-size: 15px; font-variant-numeric: tabular-nums; }
.price-saving { margin: 24px 0; padding-top: 24px; border-top: 1px solid var(--line-strong); color: var(--violet-light); font-size: 14px; line-height: 1.6; }
.price-featured :where(.price-description,.price-rate) { color: #c9bddc; }
.invest-price-card .pill { display: flex; min-height: 48px; }
.invest-launch { max-width: 82ch; margin: 24px auto 0; text-align: center; }
.invest-launch p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.75; }
.invest-questions { max-width: 920px; margin: 64px auto 0; }
.invest-questions details { border-bottom: 1px solid var(--line); }
.invest-questions p { max-width: 74ch; }
.invest-start { max-width: 74ch; padding-left: 24px; color: var(--muted); font-size: 15px; line-height: 1.75; }
.invest-start li { padding-left: 8px; margin: 0 0 14px; }
.invest-start li::marker { color: var(--violet-light); font-weight: 650; }
.business-section { padding-top: var(--section-space); overflow: clip; background: #111117; }
.business-heading { display: flex; align-items: end; justify-content: space-between; gap: 40px; }
.business-heading > div { max-width: 960px; }
.business-heading p { max-width: 66ch; margin: 0; color: var(--muted); font-size: 17px; line-height: 1.75; }
.business-heading > a { flex-shrink: 0; }
.workspace-comparison { margin-top: 40px; }
.workspace-comparison > details { padding: 0; border-block: 1px solid var(--line-strong); }
.workspace-comparison summary { padding: 24px 0; cursor: pointer; color: var(--violet-light); font-size: 16px; font-weight: 600; line-height: 1.6; }
.workspace-comparison-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; padding: 8px 0 28px; }
.workspace-comparison h3 { margin: 0 0 14px; font-size: 23px; line-height: 1.3; letter-spacing: -.02em; }
.workspace-comparison p { max-width: 62ch; margin: 0; color: var(--muted); font-size: 15px; line-height: 1.75; }
.workspace-comparison .comparison-term { margin-top: 18px; color: var(--text); }
.workspace-comparison a { display: inline-flex; align-items: center; min-height: 44px; margin-top: 12px; font-size: 14px; }
.nexus-home .product-stage { margin-top: 28px; }
.nexus-home .stage-caption { color: var(--muted); font: 400 13px/1.5 var(--body); letter-spacing: 0; }
.nexus-home .footer-grid { grid-template-columns: 1.4fr .8fr .8fr 1.2fr; }
.nexus-home .contact-email { overflow-wrap: anywhere; }
.nexus-home .site-footer a { min-height: 32px; }
@media (min-width: 1500px) {
  .invest-app-layout { grid-template-columns: 144px minmax(0,1fr); }
  .invest-app-nav { padding: 24px 8px; align-items: stretch; }
  .invest-app-nav button { width: 100%; display: flex; padding: 0 12px; gap: 8px; }
  .invest-app-nav button > span { position: static; width: auto; height: auto; overflow: visible; clip-path: none; font-size: 11px; }
}
@media (max-width: 1100px) {
  .nexus-home .main-nav { gap: 8px; }
  .invest-intro { grid-template-columns: 1fr; gap: 40px; }
  .invest-copy { max-width: 780px; }
  .invest-copy > p:not(.invest-product-name) { max-width: 65ch; }
  .invest-demo-wrap { width: 100%; max-width: 900px; margin-inline: auto; }
  .invest-app-layout { grid-template-columns: 144px minmax(0,1fr); }
  .invest-app-nav { padding: 24px 8px; align-items: stretch; }
  .invest-app-nav button { width: 100%; display: flex; padding: 0 12px; gap: 8px; }
  .invest-app-nav button > span { position: static; width: auto; height: auto; overflow: visible; clip-path: none; font-size: 11px; }
  .demo-balance strong { font-size: 38px; }
  .demo-chart svg { height: 180px; }
  .invest-statistics { gap: 40px; }
  .invest-price-card { padding: 28px 24px; }
  .business-heading { display: block; }
  .business-heading > a { margin-top: 28px; }
}
@media (max-width: 760px) {
  .nexus-home { --shell: calc(100% - 40px); --section-space: 80px; }
  .invest-benefits { grid-template-columns: 1fr; gap: 28px; margin-top: 40px; padding-top: 32px; }
  .invest-benefits article { max-width: 62ch; }
  .invest-statistics { grid-template-columns: 1fr; gap: 32px; }
  .invest-price-cards { grid-template-columns: 1fr; max-width: 500px; margin-inline: auto; }
  .invest-price-card { padding: 28px; }
  .price-value { font-size: 42px; }
  .invest-price-card .price-description { margin-bottom: 24px; }
  .workspace-comparison-grid { grid-template-columns: 1fr; gap: 32px; }
  .nexus-home .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 600px) {
  .nexus-home { --shell: calc(100% - 32px); --heading-size: clamp(30px,7.9vw,42px); }
  .nexus-home .hero { padding: 116px 0 64px; }
  .nexus-home .hero-copy { width: var(--shell); }
  .nexus-home h1 { font-size: clamp(35px,9vw,54px); }
  .nexus-home h1 em { font-size: .8em; }
  .nexus-home .hero-lede { font-size: 16px; margin-top: 24px; }
  .nexus-home .hero-actions { margin-top: 28px; }
  .nexus-home .hero-note { font-size: 13px; }
  .invest-product-name { margin-bottom: 20px; font-size: 17px; }
  .invest-copy > p:not(.invest-product-name) { font-size: 16px; }
  .invest-app-layout { display: block; }
  .invest-app-bar { padding: 16px; gap: 10px; }
  .demo-label { font-size: 10px; max-width: 18ch; }
  .invest-app-nav { display: grid; grid-template-columns: repeat(4,1fr); gap: 4px; padding: 8px; border-right: 0; border-bottom: 1px solid var(--line); }
  .invest-app-nav button { min-height: 60px; flex-direction: column; justify-content: center; gap: 6px; padding: 6px 0; }
  .invest-app-nav button > span { font-size: 10px; }
  .invest-app-content { padding: 12px 16px 20px; }
  .invest-period-bar { flex-wrap: wrap; gap: 4px; margin-bottom: 16px; }
  .invest-period-bar > span { width: 100%; font-size: 11px; }
  .invest-periods { justify-content: space-between; width: 100%; }
  .invest-periods button { padding-inline: 12px; flex: 1; }
  .invest-app-panel { min-height: 436px; }
  .invest-app-panel h3 { font-size: 18px; margin-bottom: 20px; }
  .demo-balance { flex-wrap: wrap; gap: 12px; }
  .demo-balance strong { font-size: 30px; }
  .demo-balance .demo-net strong { font-size: 20px; }
  .demo-balance > div { width: 100%; }
  .demo-net { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
  .demo-net strong { margin: 0; }
  .demo-balance span { font-size: 11px; }
  .demo-chart svg { height: 130px; }
  .chart-dates button { font-size: 10px; min-width: 40px; }
  .demo-summary { gap: 8px; }
  .demo-summary b { font-size: 13px; }
  .demo-summary > span > span { font-size: 10px; }
  .invest-app-footer { padding: 12px 16px; flex-wrap: wrap; font-size: 10px; }
  .demo-active-label { display: none; }
  .demo-metrics { gap: 8px; }
  .demo-metrics button { padding: 12px; min-height: 114px; font-size: 11px; }
  .demo-metrics strong { font-size: 20px; }
  .demo-metrics button > svg { display: none; }
  .demo-checklist label { font-size: 13px; }
  .invest-demo-hint { font-size: 12px; }
  .invest-statistics > div > p,.invest-plan-copy > p,.business-heading p { font-size: 16px; }
  .statistics-details summary,.invest-questions summary { font-size: 15px; padding-block: 22px; }
  .invest-plan-copy { text-align: left; }
  .invest-price-cards { margin-top: 32px; }
  .invest-questions { margin-top: 48px; }
  .nexus-home .stage-caption { padding-inline: 12px; font-size: 12px; text-align: center; }
  .nexus-home .footer-grid > div,.nexus-home .footer-grid nav:last-child { grid-column: 1 / -1; }
}
@media (prefers-reduced-motion: reduce) {
  .nexus-home *, .nexus-home *::before, .nexus-home *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
  .invest-demo { transform: none !important; }
}

.invest-demo:not(.is-ready) .invest-app-layout { display: block; }

/* The same labelled navigation stays visible on every desktop width. */
@media (min-width: 601px) {
  .invest-app-layout { grid-template-columns: 124px minmax(0,1fr); }
  .invest-app-nav { padding: 24px 8px; align-items: stretch; }
  .invest-app-nav button { width: 100%; display: flex; padding: 0 8px; gap: 8px; }
  .invest-app-nav button > span { position: static; width: auto; height: auto; overflow: visible; clip-path: none; font-size: 11px; }
}
.demo-allocation-bar { display: flex; gap: 3px; height: 16px; overflow: hidden; border-radius: 4px; margin: 24px 0; }
.demo-allocation-bar span { background: #9a80f4; transition: opacity .2s; }
.demo-allocation-bar span:nth-child(2) { background: #69bdbd; }
.demo-allocation-bar span:nth-child(3) { background: #e6bd7a; }
.demo-allocation-bar span:nth-child(4) { background: #aaa6b5; }
.demo-allocation-bar span.is-muted { opacity: .3; }
.demo-holdings button { width: 100%; display: grid; grid-template-columns: minmax(0,1fr) 44px minmax(80px,auto); align-items: center; gap: 12px; min-height: 60px; padding: 12px 8px; border: 0; border-bottom: 1px solid var(--line); background: transparent; text-align: left; font-size: 14px; cursor: pointer; }
.demo-holdings button[aria-pressed="true"] { color: var(--violet-light); background: #211b3380; }
.demo-holdings small { color: var(--demo-muted); text-align: right; font-size: 12px; font-variant-numeric: tabular-nums; }
.demo-holdings b { font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.demo-asset-summary { font-size: 13px; line-height: 1.7; color: var(--violet-light); margin-top: 24px; }
@media (max-width: 600px) {
  .invest-app-nav { grid-template-columns: repeat(5,minmax(0,1fr)); gap: 2px; padding: 6px; }
  .invest-app-nav button > span { font-size: 9px; }
  .chart-dates button { min-width: 44px; }
  .demo-holdings button { gap: 8px; font-size: 12px; grid-template-columns: minmax(0,1fr) 30px auto; }
}
