/* Portfolio typography establishes the hierarchy. Desktop follows its scale;
   mobile keeps Gold's approved sizes. Family, weight and spacing stay intact. */
.gold-landing{--gold-type-heading:clamp(34px,3.1vw,42px);--gold-type-card:21px;--gold-type-body:15px;--gold-type-subtitle:17px;--gold-type-label:12px}
.gold-landing .hero h1{max-width:none;font-size:clamp(3rem,calc(1.75rem + 5vw),4.5rem);font-size:min(clamp(3rem,calc(1.75rem + 5vw),4.5rem),12cqi)}
.gold-landing h2,.gold-landing .how-panel h2,.gold-landing .closing h2,.gold-landing :is(#video,#testimonios) .sec-head h2{font-size:var(--gold-type-heading)}
.gold-landing h3,.gold-landing .situations h3,.gold-landing .rule-list h3{font-size:var(--gold-type-card)}
.gold-landing .hero-description{font-size:1.25rem}
.gold-landing .recognition-bridge,.gold-landing .closing p,.gold-landing :is(#video,#testimonios) .sec-head p{font-size:var(--gold-type-subtitle)}
.gold-landing :is(.situations,.rule-list,.faq) p,.gold-landing .signal-note,.gold-landing .faq summary{font-size:var(--gold-type-body)}
.gold-landing .hero-benefits{font-size:1.125rem}
.gold-landing .hero-copy>.eyebrow{font-size:11.2px}
.gold-landing :is(#video,#testimonios) .pill{font-size:var(--gold-type-label)}
.gold-landing .access-card h2{font-size:18px;font-size:min(1.75rem,7.6cqi)}
.gold-landing .card-top .eyebrow{font-size:10px}
.gold-landing .product-name{font-size:17px}
.gold-landing .edition{font-size:11.2px}
.gold-landing label,.gold-landing .form-message{font-size:14px}
.gold-landing input,.gold-landing select{font-size:16px}
.gold-landing .button{font-size:14.88px}
.gold-landing .nav .button-small,.gold-landing .nav nav a{font-size:13.6px}
.gold-landing .text-link,.gold-landing .evidence-figure .text-link,.gold-landing .footer-top>div{font-size:16px}
.gold-landing footer p{font-size:12.8px}

/* Historical results use the same type scale as the rest of the landing. */
.gold-landing #backtest h2{font-size:var(--gold-type-heading)}
.gold-landing #backtest .evidence-eyebrow{font-size:var(--gold-type-label)}
.gold-landing #backtest :is(.evidence-subtitle,.evidence-footer p){font-size:var(--gold-type-subtitle)}
.gold-landing #backtest .evidence-chart-heading h3{font-size:var(--gold-type-card)}
.gold-landing #backtest :is(.evidence-metrics dt,.evidence-metric-note,.evidence-parameters>span,.test-conditions summary,.test-details dt,.test-details dd,.test-conditions>p){font-size:var(--gold-type-body)}
.gold-landing #backtest .evidence-metrics dd{font-size:clamp(22px,6.5vw,var(--gold-type-heading))}
.gold-landing #backtest .evidence-chart-heading .text-link{font-size:16px}
.gold-landing #backtest .evidence-cta{font-size:14.88px}

/* Access cards share the landing's type scale, including its mobile body size. */
.gold-landing .delivery-subtitle{font-size:var(--gold-type-subtitle)}
.gold-landing :is(.delivery-card,.delivery-community) p{font-size:var(--gold-type-body)}
.gold-landing :is(.delivery-eyebrow,.delivery-chip,.delivery-community-label){font-size:var(--gold-type-label)}

@media(min-width:768px) and (max-width:1023px){.gold-landing{--gold-type-card:18px;--gold-type-body:14px}}
@media(max-width:767px){.gold-landing{--gold-type-heading:clamp(34px,8vw,40px);--gold-type-card:25px;--gold-type-body:17px}.gold-landing .delivery-card h3{font-size:var(--gold-type-body)}}
@media(max-width:520px){
 .gold-landing .hero-copy>.eyebrow{font-size:9.28px}
 .gold-landing .nav .button-small{font-size:11.84px}
}

/* Public /portafolios type scale for desktop sections. The hero has its own
   enlarged reading scale; mobile/tablet and numeric hierarchy stay intact. */
@media(min-width:1024px){
 .gold-landing{
  --gold-type-heading:clamp(32px,3.1vw,40.8px);
  --gold-type-card:clamp(16.8px,1.25vw,20px);
  --gold-type-body:14.4px;
  --gold-type-subtitle:clamp(16px,1.25vw,18.4px);
  --gold-type-label:11.2px;
  --gold-type-metric:clamp(34px,3.1vw,42px);
 }
 .gold-landing .hero h1{font-size:clamp(54px,5vw,76px);font-size:min(clamp(54px,5vw,76px),12cqi)}
 .gold-landing .hero-copy>.eyebrow{font-size:12.5px}
 .gold-landing .hero-description{font-size:clamp(20px,1.5vw,22px)}
 .gold-landing .hero-benefits{font-size:clamp(17px,1.25vw,18px)}
 .gold-landing .hero .access-card h2{font-size:20px;font-size:min(32px,8cqi)}
 .gold-landing .hero .product-name{font-size:20px}
 .gold-landing .hero .card-top .eyebrow{font-size:11.5px}
 .gold-landing .hero .edition{font-size:12.5px}
 .gold-landing .hero :is(label,.form-message){font-size:16px}
 .gold-landing .hero :is(input,select){font-size:18px}
 .gold-landing .hero .button{font-size:17px}
 .gold-landing .closing p{margin-block:17px}
 .gold-landing .how-panel .trial-steps h3{font-size:var(--gold-type-card)}
 .gold-landing .how-panel :is(.trial-steps p,.trial-footer p){font-size:var(--gold-type-body)}
 .gold-landing .how-panel .trial-eyebrow,.gold-landing .member-stories-tag{font-size:var(--gold-type-label)}
 .gold-landing #preguntas .faq summary{font-size:14.72px}
 .gold-landing #backtest .evidence-metrics dd{font-size:var(--gold-type-metric)}
}

/* Fit section headings to their available width on mobile, like the hero/form.
   Ratios include the full copy and emoji; no clipping, transforms or JS sizing. */
@media(max-width:767px){
 .gold-landing .container{container-type:inline-size}
 .gold-landing #video h2{--gold-title-ratio:12.8}
 .gold-landing #testimonios h2{--gold-title-ratio:17}
 .gold-landing #preguntas h2{--gold-title-ratio:14.5}
 .gold-landing .closing h2{--gold-title-ratio:11}
 .gold-landing :is(#video,#testimonios) .sec-head h2,
 .gold-landing #preguntas h2,
 .gold-landing .closing h2{
  max-width:none;
  font-size:min(var(--gold-type-heading),calc(100cqi / var(--gold-title-ratio)));
  white-space:nowrap;
  text-wrap:nowrap;
 }
}
