/* Compact layouts for real phone browser viewports, including browser chrome. */
html { scroll-padding-top:var(--header); }
img,video { max-width:100%; }
.shell > *, .program-card > *, .faq-layout > *, .rules-layout > * { min-width:0; }
.mobile-menu { max-height:calc(100dvh - var(--header) - env(safe-area-inset-top,0px)); overflow-y:auto; overscroll-behavior:contain; padding-bottom:max(20px,env(safe-area-inset-bottom,0px)); }
.amount-menu { max-height:min(290px,calc(100dvh - 120px)); overflow-y:auto; overscroll-behavior:contain; }
.amount-picker.opens-up .amount-menu { top:auto; bottom:calc(100% + 7px); }
.selection-dialog { max-height:calc(100dvh - 32px - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px)); overscroll-behavior:contain; }
@media(max-width:860px) {
 .header-inner { gap:10px; }
 .section-heading h2,.closing h2 { overflow-wrap:break-word; }
 .metric-list dt,.rule-panel li,.faq-question span,.selection-dialog dt { overflow-wrap:anywhere; }
 .metric-list dd,.selection-dialog dd { flex-shrink:0; }
 .process-grid { grid-template-columns:1fr; }
 .process-grid article { min-height:0; padding:26px; }
 .step-number { margin-bottom:20px; }
 .size-options { flex-wrap:wrap; overflow:visible; padding:0; }
 .size-option { flex:1 0 60px; }
 .size-picker { align-items:stretch; }
 .footer-links { flex-wrap:wrap; }
}
@media(max-width:640px) {
 :root { --header:64px; }
 .shell { width:calc(100% - 32px); }
 .hero { display:grid; grid-template-columns:minmax(0,1fr); grid-template-rows:auto auto auto; min-height:0; }
 .hero-content { grid-row:1; width:calc(100% - 32px); padding:calc(var(--header) + 24px) 0 20px; margin-inline:auto; }
 .hero .eyebrow { margin-bottom:16px; font-size:9px; }
 .hero h1 { font-size:clamp(32px,8.5vw,46px); line-height:1.08; margin-bottom:16px; }
 .hero-lead { max-width:100%; font-size:14px; line-height:1.55; margin-bottom:22px; }
 .hero-actions { display:flex; flex-direction:row; align-items:center; flex-wrap:wrap; gap:14px 18px; width:100%; }
 .hero-actions .button { min-height:46px; padding:12px 18px; font-size:12px; }
 .hero-actions .text-link { min-height:44px; display:inline-flex; align-items:center; font-size:12px; }
 .hero-art { grid-row:2; position:relative; inset:auto; width:100%; height:clamp(160px,28svh,240px); }
 .hero-shade { background:linear-gradient(180deg,#070708,transparent 27%,#07070800 72%,#070708); }
 .hero-stats { grid-row:3; }
 .hero-motion { width:40px; height:40px; right:16px; bottom:calc(var(--hero-stats-height,128px) + 12px); }
 .stats-grid { width:calc(100% - 32px); }
 .stats-grid > div { min-height:64px; align-items:flex-start; justify-content:center; flex-direction:column; padding:10px 12px; gap:5px; }
 .stats-grid span { max-width:none; font-size:10px; line-height:1.3; }
 .stats-grid strong { font-size:16px; }
 .section { padding:48px 0; }
 .section-heading h2,.payout-grid h2,.closing h2 { font-size:clamp(30px,8.5vw,40px); }
 .section-heading > p:last-child,.section-intro { font-size:14px; line-height:1.65; }
 .kicker { margin-bottom:18px; }
 .program-grid { gap:16px; }
 .program-card { padding:22px; }
 .program-card .badge { margin-bottom:18px; }
 .program-card:not(.recommended) .badge { display:none; }
 .program-card .program-description { margin-bottom:20px; }
 .program-card h3 { font-size:26px; }
 .program-card .metric-list > div { gap:10px; padding-block:8px; }
 .amount-menu [role=option] { min-height:44px; }
 .discipline-figure { height:clamp(220px,65vw,310px); margin-top:28px; }
 .process-grid article { padding:24px; }
 .rule-panel li { padding-block:12px; }
 .payout-section { padding:48px 0; }
 .payout-grid { gap:24px; }
 .payout-grid h2 em { font-size:clamp(56px,17vw,82px); }
 .payment-methods { gap:6px; }
 .payment-methods span { padding:9px 10px; }
 .faq-layout { gap:26px; }
 .faq-question { gap:14px; min-height:72px; padding:18px 0; }
 .legal { padding:40px 0; }
 .legal-card { padding:20px; min-height:130px; }
 .closing { padding:56px 0; }
 .closing-inner { min-height:220px; }
 .selection-dialog { width:calc(100% - 24px); border-radius:12px; }
 .selection-dialog form { padding:24px 20px; }
 .selection-dialog h2 { font-size:27px; }
 .dialog-close { top:14px; right:14px; width:44px; height:44px; }
 .selection-dialog dl > div { gap:12px; padding-block:8px; }
 .selection-dialog dt,.selection-dialog dd { font-size:12px; }
 .footer-top { padding:32px 0; gap:22px; }
 .footer-bottom { gap:12px; }
 .site-footer { padding-bottom:env(safe-area-inset-bottom,0px); }
 .language-switch button { min-width:30px; min-height:36px; }
 .menu-toggle { width:44px; height:44px; }
 .brand img { width:clamp(96px,29vw,128px); }
}
@media(max-width:360px) {
 .header-actions { gap:5px; }
 .header-inner { gap:6px; }
 .language-switch { padding:2px; }
 .language-switch button { min-width:26px; padding-inline:3px; }
 .program-card { padding:18px; }
}
@media(orientation:landscape) and (max-height:540px) and (min-width:641px) {
 :root { --header:60px; }
 .hero { min-height:0; }
 .hero-content { padding-top:90px; padding-bottom:36px; padding-right:40%; }
 .hero h1 { font-size:clamp(34px,5vw,48px); }
 .hero-lead { font-size:14px; }
 .hero .eyebrow { margin-bottom:16px; }
 .hero-actions { flex-direction:row; flex-wrap:wrap; gap:14px; }
 .stats-grid { grid-template-columns:repeat(4,minmax(0,1fr)); }
 .stats-grid > div { min-height:72px; padding:12px; flex-direction:column; gap:4px; align-items:flex-start; }
 .hero-motion { bottom:88px; }
}
/* One continuous cinematic hero at every width. */
@media(max-width:640px) {
 .hero { display:flex; flex-direction:column; min-height:100svh; }
 .hero-art { position:absolute; inset:0; width:100%; height:100%; }
 .hero-content { flex:1; justify-content:center; padding:calc(var(--header) + 44px) 30% 64px 0; min-height:490px; }
 .hero h1 { font-size:clamp(30px,7.5vw,44px); line-height:1.07; }
 .hero h1 br { display:none; }
 .hero-lead { font-size:14px; line-height:1.6; }
 .hero-actions { flex-direction:column; align-items:flex-start; gap:12px; }
 .hero-actions .button { padding:12px 14px; font-size:12px; }
 .hero-shade { background:linear-gradient(90deg,rgba(5,5,6,.82),rgba(5,5,6,.62) 50%,rgba(5,5,6,.08) 82%),linear-gradient(0deg,rgba(5,5,6,.65),transparent 35%); }
 .hero-stats { background:rgba(7,7,8,.75); }
}
@media(max-width:640px) {
 .hero-art { bottom:var(--hero-stats-height,128px); height:auto; }
 .hero-content { padding-right:38%; }
}
@media(max-width:640px) {
 .hero-content { padding-right:42%; }
 .hero-actions .button { max-width:100%; white-space:normal; text-align:center; }
}
