/* Shared type system: academic headings, clear interface, precise money. */
body{font-synthesis:none}
.hero-title{font-size:clamp(42px,5.5vw,84px);font-weight:400;line-height:.99;letter-spacing:-.045em;margin:22px 0 24px}
.hero-title .accent-line{font-style:italic;letter-spacing:-.04em}
.hero-title .desktop-copy{white-space:nowrap}
.eyebrow{font-size:11px;letter-spacing:.14em;line-height:1.6}
.text-link{font-size:14px}
.section-kicker{font-size:14px;font-weight:500;letter-spacing:.01em}
.goal-name{font-size:17px;font-weight:500;letter-spacing:-.015em;line-height:1.25}
.goal-description{font-size:13px;line-height:1.45;margin-top:8px}
.primary-button{font-size:17px;font-weight:500;letter-spacing:0}
.step-number{font-family:var(--font-data);font-size:12px;font-weight:500;letter-spacing:.08em}
.section-title{font-family:var(--font-display);font-size:42px;font-weight:400;line-height:1.15;letter-spacing:-.035em}
.amount-display{font-family:var(--font-amount);font-size:var(--amount-font-size,clamp(80px,9.5vw,138px));font-weight:500;line-height:1.06;letter-spacing:-.04em}
.amount-display .amount-value{letter-spacing:-.04em}
.counter-input{font-family:var(--font-amount);font-weight:500}
.amount-bubble{font-family:var(--font-data);font-weight:500;font-variant-numeric:tabular-nums;letter-spacing:-.015em}
.amount-edit-hint{font-size:12px}
.preset-group button{font-size:var(--amount-preset-font,13px);font-weight:500;letter-spacing:0}
.payment-heading h1{font-family:var(--font-display);font-size:36px;font-weight:400;line-height:1.18;letter-spacing:-.035em}
.payment-value{font-family:var(--font-amount);font-size:clamp(96px,12vw,164px);font-weight:500;line-height:1.06;letter-spacing:-.04em}
.payment-context{font-size:13px}
.payment-methods>.method-choice{font-size:15px;font-weight:500}
.checkout-panel{font-size:14px;line-height:1.6}
.checkout-links,.checkout-monthly,.checkout-preference{font-size:12px}
.summary-amount{font-family:var(--font-data)}
@media(min-width:761px) and (max-height:720px){
  .amount-display{font-size:var(--amount-font-size,110px)}
  .payment-value{font-size:136px}
}
@media(max-width:1000px) and (min-width:761px){
  .goal-name{font-size:16px}
  .goal-description{font-size:12px}
}
@media(max-width:760px){
  .hero-title{font-size:clamp(33px,9.5vw,43px);line-height:1.1;letter-spacing:-.045em;margin:14px 0 0}
  .eyebrow{font-size:10px;letter-spacing:.12em}
  .goal-name{font-size:15px;letter-spacing:-.015em;line-height:1.2}
  .goal-description{font-size:12.5px;line-height:1.42;margin-top:8px}
  .flow-footer .primary-button{font-size:17px;font-weight:500}
  .amount-display{font-size:var(--amount-font-size,clamp(62px,20vw,110px));line-height:1.06;letter-spacing:-.04em}
  .preset-group button{font-size:13px}
  .payment-heading h1{font-size:28px;line-height:1.2}
  .payment-value{font-size:clamp(72px,23vw,112px)}
  .payment-context{font-size:12px}
  .payment-methods>.method-choice{font-size:14px}
  .checkout-panel{font-size:13px;line-height:1.6}
  .checkout-links,.checkout-monthly,.checkout-preference{font-size:11px}
}
@media(max-width:370px){
  .goal-name{font-size:14px}
  .goal-description{font-size:12px}
  .preset-group button{font-size:12px}
  .payment-heading h1{font-size:25px}
}
/* Short phones keep complete card descriptions above the fixed action. */
@media(max-width:760px) and (max-height:620px){
  .screen-goal{min-height:0;gap:14px;padding-bottom:12px}
  .screen-goal .goal-intro{min-height:88px}
  .goal-grid{grid-template-rows:repeat(2,minmax(104px,auto))}
  .screen-goal .goal-card{min-height:104px}
}
