/* Reading sizes stay consistent across the cinematic and editorial sections. */
:root {
  --text-body: 1.125rem;
  --text-ui: 1rem;
  --text-small: .875rem;
  --text-label: .75rem;
}
body { font-size: var(--text-ui); }
/* Fixed vector artwork avoids platform emoji substitutions for arrows and stars. */
.ui-icon {
  display: inline-block;
  width: 1em;
  height: 1em;
  flex: none;
  vertical-align: -.12em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.ui-icon-star { stroke-width: 1.15; }
.ticker-track i .ui-icon { vertical-align: middle; }
.tiny-star .ui-icon, .small-spark .ui-icon,
.closing-star .ui-icon, .portfolio-symbol .ui-icon,
.math-arrow .ui-icon { display: block; }
.text-button .ui-icon, .policy-content a .ui-icon,
.policy-header a .ui-icon { margin-left: .2em; }
.social-arrow .ui-icon { display: block; }
p, .everyday-intro p, .ledger-aside p, .how-sticky p, .step p,
.portfolio-intro > p, .portfolio p, .faq-intro p, .faq-answer p,
.closing-content > p, .survey-copy > p, .policy-content p {
  font-size: var(--text-body);
  line-height: 1.7;
}
.journey-description, .survey-chapter .journey-description {
  font-size: var(--text-body);
  line-height: 1.65;
  max-width: 540px;
}
.eyebrow, .section-label .eyebrow, .section-label > .eyebrow:nth-child(2),
.closing .section-label > .eyebrow:nth-child(2), .step .eyebrow,
.portfolio-top > .eyebrow, .closing-content > .eyebrow,
.survey-copy > .eyebrow, .community-row > div > .eyebrow,
.balance-demo > .eyebrow, .pause-eyebrow, .chapter-kicker,
.journey-edition .eyebrow, .survey-chapter .chapter-kicker {
  font-size: var(--text-label);
  line-height: 1.6;
  letter-spacing: .1em;
}
.section-label { gap: 24px; align-items: flex-start; }
.desktop-nav, .header-cta { font-size: .9375rem; }
.desktop-nav a, .header-cta { min-height: 44px; display: inline-flex; align-items: center; }
.form-row input, .journey-form .form-row input { font-size: 1rem; min-height: 48px; }
.form-row button, .journey-form .form-row button,
.survey-button, .hero-survey-invitation .survey-button {
  font-size: 1rem;
  min-height: 50px;
}
.journey-form { width: 540px; }
.form-note, .journey-form .form-note { font-size: .8125rem; line-height: 1.6; }
.form-note .text-button { white-space: nowrap; }
.form-status, .journey-form .form-status { font-size: var(--text-small); line-height: 1.5; }
.hero-survey-invitation > p { font-size: var(--text-small); line-height: 1.65; max-width: 290px; }
.journey-explore { font-size: var(--text-ui); min-height: 44px; }
.journey-chapters button, .journey-skip { font-size: var(--text-small); min-height: 44px; }
.journey-chapters button[aria-current] .chapter-name { max-width: 145px; }
.journey-chapters { gap: 16px; }
.journey-scroll-note { font-size: var(--text-label); letter-spacing: .08em; }
.journey-bottom { gap: 24px; }
.art-annotation, .everyday-photograph figcaption, .sculpture-detail figcaption,
.journey-footnote, .step-note, .survey-meta { font-size: var(--text-label); letter-spacing: .08em; }
.ticker { height: 56px; }
.ticker-sequence { font-size: var(--text-small); }
.math-caption { font-size: var(--text-small); line-height: 1.6; max-width: 240px; }
.replay-button { font-size: var(--text-small); min-height: 44px; }

/* Give the ledger a real inner margin and room for legible amounts. */
.ledger { min-width: 0; padding: 0 clamp(16px, 2.2vw, 28px) 24px; }
.ledger-heading { font-size: var(--text-label); gap: 14px; flex-wrap: wrap; align-items: center; line-height: 1.6; }
.demo-label { font-size: var(--text-label); letter-spacing: .06em; }
.ledger-column-labels { font-size: var(--text-label); line-height: 1.5; letter-spacing: .04em; }
.ledger-column-labels, .ledger-row { grid-template-columns: minmax(0, 1fr) 78px 70px; gap: 12px; }
.ledger-row { font-size: 1rem; line-height: 1.5; padding: 22px 0; font-variant-numeric: tabular-nums; }
.ledger-row > :first-child { display: flex; align-items: baseline; min-width: 0; }
.ledger-row > :not(:first-child) { white-space: nowrap; }
.ledger-row i { font-size: var(--text-label); margin-right: 10px; color: #5b6b5b; }
.ledger-row strong { color: #796024; }
.ledger-total { gap: 12px; flex-wrap: wrap; }
.ledger-total > span { font-size: var(--text-label); letter-spacing: .06em; }
.ledger-total strong { font-size: 40px; white-space: nowrap; }
.ledger-total strong span { font-size: var(--text-small); }
.ledger-foot { font-size: var(--text-label); line-height: 1.6; gap: 12px; flex-wrap: wrap; color: #52624e; }
.ledger-foot > span:last-child { margin-left: auto; }
.balance-switch button { font-size: var(--text-ui); min-height: 48px; }
.balance-result strong { font-size: var(--text-ui); line-height: 1.5; }
.balance-result p, .demo-note, .pause-disclaimer, .investment-note { font-size: var(--text-small); line-height: 1.7; }
.demo-note, .pause-disclaimer { color: #52624c; }
.allocation-label > span, .allocation-label > div > span { font-size: var(--text-label); letter-spacing: .05em; }
.portfolio dl { font-size: var(--text-ui); line-height: 1.5; }
.portfolio dl > div { gap: 20px; }
.portfolio-intro > p { max-width: 360px; }
.how-sticky p, .step p, .portfolio p { color: #c3cdbd; }
.faq-list summary { font-size: 30px; line-height: 1.2; }
.closing-content > p { max-width: 460px; }
.closing-baseline, .footer-bottom, .footer-bottom .prelaunch,
.footer-bottom > div > a, .back-top, .policy-footer, .policy-header > a:last-child {
  font-size: var(--text-small);
  line-height: 1.6;
}
.footer-bottom { gap: 24px; flex-wrap: wrap; color: #b9c5b0; }
.footer-bottom > div > a, .back-top { min-height: 44px; display: inline-flex; align-items: center; }
.social-links > a { font-size: 1.125rem; min-height: 56px; }
.survey-copy > .survey-destination { font-size: var(--text-small); color: #536348; }
.survey-meta { color: #536348; }
.mobile-menu nav small { font-size: var(--text-label); }
.policy-content .eyebrow { font-size: var(--text-label); }
.policy-content .policy-lead { font-size: 34px; line-height: 1.2; }
.return-bookmark { width: 66px; height: 144px; }
.bookmark-label { font-size: var(--text-label); letter-spacing: .04em; }
.bookmark-tooltip { font-size: var(--text-small); }

@media (min-width: 761px) and (max-height: 850px) {
  .js .journey-panel { padding-top: 138px; }
  .journey-panel h1, .journey-panel h2 { font-size: clamp(70px, 7vw, 96px); }
  .journey-description { margin-top: 20px; }
  .journey-form { margin-top: 20px; }
  .journey-scroll-note { display: none; }
}
@media (max-width: 1100px) {
  .ledger-layout { grid-template-columns: 1fr; gap: 32px; }
  .ledger-aside p { max-width: 560px; }
  .ledger-column-labels, .ledger-row { grid-template-columns: minmax(0, 1fr) 100px 85px; }
  .survey-side-note { display: none; }
}
@media (max-width: 760px) {
  :root { --text-body: 1rem; }
  .site-header { gap: 12px; }
  .header-cta { font-size: .875rem; margin-right: 0; white-space: nowrap; }
  .header-cta > span { margin-left: 6px; }
  .brand-word-image { width: 94px; }
  .menu-toggle { flex-shrink: 0; }
  .js .journey-panel { padding-top: 132px; }
  .journey-description, .survey-chapter .journey-description { max-width: 100%; margin-top: 24px; }
  .journey-description br { display: none; }
  .journey-form { margin-top: 24px; }
  .journey-form .form-row button { font-size: .9375rem; padding: 13px 12px; }
  .journey-form .form-row button span { margin-left: 6px; }
  .journey-chapters { gap: 20px; }
  .journey-bottom { bottom: 24px; right: 94px; gap: 0; }
  .journey-skip { padding: 8px 0; }
  .hero-survey-invitation { gap: 16px; }
  .hero-survey-invitation > p { max-width: 100%; }
  .hero-survey-invitation > p br { display: none; }
  .section-label { gap: 16px; flex-wrap: wrap; }
  .section-label > .eyebrow:nth-child(2) { max-width: none; text-align: left; }
  .roundup-math { gap: 12px; grid-template-columns: minmax(0, 1fr) 24px minmax(0, 1fr); }
  .math-caption { max-width: none; }
  .ledger-column-labels, .ledger-row { grid-template-columns: minmax(0, 1fr) 68px 70px; gap: 8px; }
  .ledger-row i { margin-right: 7px; }
  .ledger-row { font-size: 1rem; }
  .ledger-heading { letter-spacing: .07em; }
  .balance-result { align-items: flex-start; }
  .balance-switch { flex-wrap: wrap; gap: 10px; }
  .allocation-label { gap: 12px; }
  .allocation-label.split { gap: 20px; }
  .allocation-label.split > div { flex-direction: column; align-items: flex-start; gap: 8px; }
  .portfolio dl > div { gap: 16px; }
  .faq-list summary { font-size: 28px; }
  .closing-baseline { flex-wrap: wrap; gap: 12px; }
  .footer-top { align-items: flex-start; }
  .footer-top p { font-size: 26px; }
  .return-bookmark { width: 43px; height: 68px; right: 12px; bottom: 12px; }
  .bookmark-paper { padding: 7px 5px 12px; gap: 3px; }
  .bookmark-paper > img { width: 18px; height: 20px; }
  .bookmark-ledger { display: none; }
  .bookmark-label { gap: 3px; font-size: 10px; }
  .bookmark-label > span { font-size: 10px; }
}
@media (max-width: 380px) {
  .brand-symbol { display: none; }
  .brand-word-image { width: 94px; }
  .form-row { flex-direction: column; gap: 12px; }
  .form-row input { border-bottom: 1px solid #b9bfb05c; }
  .form-row button { width: 100%; }
  .ledger-heading { flex-direction: column; align-items: flex-start; }
  .ledger-row > :first-child { flex-direction: column; gap: 4px; }
  .roundup-math { column-gap: 8px; }
  .step { grid-template-columns: 43px minmax(0, 1fr); gap: 20px; }
  .step-track { left: 47px; }
  .step-special:before { left: 43px; }
  .policy-header { flex-wrap: wrap; }
}
@media (max-width: 760px) and (max-height: 700px) {
  .js .journey-panel { bottom: 96px; padding-top: 84px; }
}
@media (min-width: 761px) and (max-height: 600px) {
  .js .journey-panel { padding-top: 100px; padding-bottom: 62px; }
  .journey-panel h1, .journey-panel h2 { font-size: clamp(56px, 5vw, 64px); }
  .journey-description { font-size: .9375rem; line-height: 1.45; margin-top: 12px; }
  .journey-form { margin-top: 8px; }
  .journey-form .form-row input { min-height: 40px; }
  .journey-form .form-row button { min-height: 42px; }
  .journey-form .form-note { margin-top: 5px; }
  .chapter-kicker { margin-bottom: 8px; }
  .journey-explore, .hero-survey-invitation { margin-top: 12px; }
  .survey-button { min-height: 42px; padding: 10px 16px; }
}
