/* MultiAdam v257 — Visual Correction Patch. Front-page presentation only. */
body.ma-v257-front{--ma257-green:#0F5D3D;--ma257-bright:#18C982;--ma257-cream:#F8F5ED;--ma257-ink:#0E1E18;--ma257-muted:#7B817E}

/* Hero: preserve full runner silhouette on desktop, editorial crop on mobile. */
body.ma-v257-front .ma-hero{height:min(66vh,640px)!important;min-height:540px!important;max-height:640px!important;border-radius:28px!important;background:#09261d!important}
body.ma-v257-front .ma-hero-bg{background-image:url('../images/hero-v257-runner.jpg')!important;background-size:auto 100%!important;background-position:left center!important;background-color:#0b2d22!important}
body.ma-v257-front .ma-hero:after{background:linear-gradient(90deg,rgba(4,18,13,.05) 0%,rgba(4,23,17,.12) 36%,rgba(5,27,20,.80) 62%,rgba(4,23,17,.96) 100%)!important}
body.ma-v257-front .ma-v23-hero-copy{width:100%!important;max-width:none!important;padding:44px 6% 44px 53%!important;align-items:flex-start!important;justify-content:center!important;text-align:right!important}
body.ma-v257-front .ma-v23-hero-copy :where(h1,p){color:#fff!important}
body.ma-v257-front .ma-v23-hero-copy h1{font-size:clamp(3rem,5.2vw,4.8rem)!important;line-height:1.06!important;margin:7px 0 11px!important;text-shadow:0 2px 18px rgba(0,0,0,.18)!important}
body.ma-v257-front .ma-v23-hero-line{font-size:clamp(.96rem,1.45vw,1.14rem)!important;line-height:1.75!important;margin:0!important;max-width:490px!important}
body.ma-v257-front .ma-v23-tracks{color:#fff!important;font-size:.88rem!important;margin:12px 0 17px!important;opacity:.98!important}
body.ma-v257-front .ma-v23-label{color:#25cf8b!important}
body.ma-v257-front .ma-v26-hero-actions{width:min(100%,430px)!important;gap:8px!important}
body.ma-v257-front .ma-v26-hero-actions .ma-btn{min-height:52px!important;border-radius:17px!important}

/* Header: compact and closer to the mobile visual reference. */
body.ma-v257-front .ma-header .ma-nav{min-height:60px!important;padding:4px 12px!important}
body.ma-v257-front .ma-header-logo,body.ma-v257-front .ma-header .ma-brand img{max-height:38px!important}
body.ma-v257-front .ma-actions-head{gap:6px!important}
body.ma-v257-front .ma-icon-btn{width:38px!important;height:38px!important}

/* Compact feature strip. */
body.ma-v257-front .ma-v256-feature-grid{padding:17px 0!important}
body.ma-v257-front .ma-v256-feature-item{min-height:78px!important;grid-template-columns:44px 1fr!important;column-gap:10px!important;padding:5px 20px!important}
body.ma-v257-front .ma-v256-feature-icon{width:40px!important;height:40px!important}
body.ma-v257-front .ma-v256-feature-icon svg{width:22px!important;height:22px!important}
body.ma-v257-front .ma-v256-feature-item strong{font-size:.98rem!important}
body.ma-v257-front .ma-v256-feature-item:first-child strong{font-size:1.32rem!important}
body.ma-v257-front .ma-v256-feature-item small{font-size:.73rem!important}
body.ma-v257-front .ma-v256-why-intro{padding:30px 0 8px!important}

/* Choose Path: real photography is the card art, matching the ground-truth composition. */
body.ma-v257-front .ma-v257-path-grid{gap:12px!important}
body.ma-v257-front .ma-v257-path-card{min-height:330px!important;padding:0!important;background-image:linear-gradient(90deg,rgba(237,250,244,.02) 0%,rgba(245,252,248,.20) 40%,rgba(248,253,250,.96) 62%,rgba(248,253,250,1) 100%),var(--ma257-path-image)!important;background-size:cover!important;background-position:center!important;border-radius:25px!important;display:block!important;position:relative!important;overflow:hidden!important}
body.ma-v257-front .ma-v257-path-card.is-programming{background-image:linear-gradient(90deg,rgba(9,23,18,.02) 0%,rgba(11,26,21,.18) 40%,rgba(13,29,23,.94) 62%,rgba(12,27,22,1) 100%),var(--ma257-path-image)!important}
body.ma-v257-front .ma-v257-path-card .ma-v257-path-copy{position:absolute!important;inset:0 0 0 46%!important;padding:24px 22px!important;display:flex!important;flex-direction:column!important;justify-content:center!important;align-items:flex-start!important;text-align:right!important;z-index:2!important}
body.ma-v257-front .ma-v257-path-card .ma-v257-path-copy>span{color:#13a66d!important;font:950 .72rem/1.3 Inter,Vazirmatn,sans-serif!important;letter-spacing:.11em!important}
body.ma-v257-front .ma-v257-path-card h3{font-size:clamp(1.55rem,2.3vw,2rem)!important;line-height:1.24!important;margin:10px 0 7px!important;color:var(--ma257-ink)!important}
body.ma-v257-front .ma-v257-path-card p{font-size:.9rem!important;line-height:1.65!important;margin:0 0 14px!important;color:#777f7a!important}
body.ma-v257-front .ma-v257-path-card a{align-self:flex-start!important;padding:8px 12px!important;border-radius:999px!important;background:rgba(255,255,255,.84)!important;border:1px solid #d9e5de!important;font-size:.82rem!important;font-weight:900!important;color:var(--ma257-green)!important}
body.ma-v257-front .ma-v257-path-card.is-programming h3{color:#fff!important}
body.ma-v257-front .ma-v257-path-card.is-programming p{color:#abb5b0!important}
body.ma-v257-front .ma-v257-path-card.is-programming a{background:rgba(255,255,255,.04)!important;border-color:#405049!important;color:#9ce7c4!important}
body.ma-v257-front .ma-v255-path-art{display:none!important}

/* Progress: compact visual cards rather than long text rows. */
body.ma-v257-front .ma-v257-performance .ma-v23-performance-grid{grid-template-columns:minmax(0,1.08fr) minmax(330px,.92fr)!important;gap:18px!important}
body.ma-v257-front .ma-v257-progress-panel{padding:30px!important;border:1px solid #e1e5e1!important;border-radius:26px!important;background:#fff!important}
body.ma-v257-front .ma-v257-progress-panel>p{margin-bottom:18px!important}
body.ma-v257-front .ma-v257-progress-cards{display:grid!important;grid-template-columns:1fr 1fr!important;gap:9px!important;margin:16px 0 18px!important}
body.ma-v257-front .ma-v257-progress-cards>a{min-height:104px!important;padding:13px!important;border-radius:17px!important;border:1px solid rgba(15,93,61,.07)!important;display:grid!important;grid-template-columns:38px 1fr!important;grid-template-rows:auto auto!important;gap:2px 10px!important;align-items:center!important}
body.ma-v257-front .ma-v257-progress-cards .ma-v257-mini-icon{grid-row:1/3;width:36px;height:36px;border-radius:12px;display:grid;place-items:center;font-weight:900;color:#0f5d3d;background:rgba(255,255,255,.62)}
body.ma-v257-front .ma-v257-progress-cards strong{font-size:.9rem!important;line-height:1.35!important}
body.ma-v257-front .ma-v257-progress-cards small{font-size:.68rem!important;line-height:1.35!important;color:#747b77!important}
body.ma-v257-front .ma-v257-progress-cards .is-mint{background:#eaf7f1!important}.ma-v257-progress-cards .is-blue{background:#edf5ff!important}.ma-v257-progress-cards .is-purple{background:#f3edff!important}.ma-v257-progress-cards .is-yellow{background:#fff7df!important}
body.ma-v257-front .ma-v257-progress-cta{min-height:46px!important}

/* Today preview: CTA + 2x2 metrics + progress block. */
body.ma-v257-front .ma-v257-today-preview{min-height:520px!important;padding:24px!important}
body.ma-v257-front .ma-v257-today-preview .ma-v23-workout-card{padding:22px!important;margin-bottom:12px!important}
body.ma-v257-front .ma-v257-start-workout{display:flex!important;align-items:center!important;justify-content:center!important;min-height:46px!important;margin-top:17px!important;border-radius:14px!important;background:#18c982!important;color:#062017!important;font-weight:950!important}
body.ma-v257-front .ma-v257-today-preview .ma-v23-app-metrics{grid-template-columns:1fr 1fr!important;gap:8px!important}
body.ma-v257-front .ma-v257-today-preview .ma-v23-app-metrics>div{padding:13px!important;min-height:78px!important}
body.ma-v257-front .ma-v257-weekly-progress{margin-top:auto!important;padding:15px!important;border:1px solid #29342f!important;border-radius:17px!important;background:#131b18!important}
body.ma-v257-front .ma-v257-weekly-progress>div:first-child{display:flex;justify-content:space-between;gap:10px;align-items:center;margin-bottom:8px}
body.ma-v257-front .ma-v257-weekly-progress span{font-weight:900;color:#fff}
body.ma-v257-front .ma-v257-weekly-progress small{display:block;margin-top:7px;color:#8e9893;font-size:.72rem}
body.ma-v257-front .ma-v257-weekly-progress .ma-v23-app-bar{margin-top:0!important}

/* Support is available through navigation/footer; floating pill may not cover front-page UI. */
body.ma-v257-front .ma-v46-floating-support,body.home .ma-v46-floating-support{display:none!important}

@media(max-width:900px){
 body.ma-v257-front .ma-v257-performance .ma-v23-performance-grid{grid-template-columns:1fr!important}
}
@media(max-width:760px){
 body.ma-v257-front .ma-header .ma-nav{min-height:58px!important;padding:4px 10px!important}
 body.ma-v257-front .ma-header-logo,body.ma-v257-front .ma-header .ma-brand img{max-height:37px!important}
 body.ma-v257-front .ma-hero{height:590px!important;min-height:590px!important;max-height:590px!important}
 body.ma-v257-front .ma-hero-bg{background-size:cover!important;background-position:31% center!important}
 body.ma-v257-front .ma-hero:after{background:linear-gradient(90deg,rgba(4,20,15,.04) 0%,rgba(4,22,16,.15) 33%,rgba(4,24,17,.72) 68%,rgba(4,23,17,.94) 100%),linear-gradient(180deg,rgba(4,18,14,.02),rgba(4,22,16,.20) 55%,rgba(4,23,17,.55))!important}
 body.ma-v257-front .ma-v23-hero-copy{padding:24px 17px 24px 39%!important;justify-content:center!important}
 body.ma-v257-front .ma-v23-hero-copy h1{font-size:2.34rem!important;line-height:1.07!important;margin:6px 0 10px!important}
 body.ma-v257-front .ma-v23-hero-line{font-size:.86rem!important;line-height:1.7!important}
 body.ma-v257-front .ma-v23-tracks{font-size:.67rem!important;margin:10px 0 14px!important;white-space:nowrap!important}
 body.ma-v257-front .ma-v26-hero-actions .ma-btn{min-height:49px!important}
 body.ma-v257-front .ma-v256-feature-grid{padding:13px 6px!important}
 body.ma-v257-front .ma-v256-feature-item{min-height:92px!important;grid-template-columns:1fr!important;grid-template-rows:auto auto auto!important;justify-items:center!important;text-align:center!important;gap:3px!important;padding:3px 5px!important}
 body.ma-v257-front .ma-v256-feature-icon{grid-row:auto!important;width:36px!important;height:36px!important}
 body.ma-v257-front .ma-v256-feature-item strong{font-size:.78rem!important}.ma-v256-feature-item:first-child strong{font-size:1.12rem!important}
 body.ma-v257-front .ma-v256-feature-item small{font-size:.62rem!important}
 body.ma-v257-front .ma-v256-why-intro{padding:26px 14px 6px!important}
 body.ma-v257-front .ma-v256-why-intro h2{font-size:1.95rem!important}
 body.ma-v257-front .ma-v23-path-grid{grid-template-columns:1fr!important;gap:9px!important}
 body.ma-v257-front .ma-v257-path-card{min-height:215px!important;border-radius:21px!important;background-position:center!important}
 body.ma-v257-front .ma-v257-path-card .ma-v257-path-copy{inset:0 0 0 43%!important;padding:15px 15px 15px 12px!important}
 body.ma-v257-front .ma-v257-path-card h3{font-size:1.4rem!important;margin:6px 0!important}
 body.ma-v257-front .ma-v257-path-card p{font-size:.78rem!important;line-height:1.55!important;margin-bottom:10px!important}
 body.ma-v257-front .ma-v257-path-card a{font-size:.75rem!important;padding:7px 10px!important}
 body.ma-v257-front .ma-v257-progress-panel{padding:21px 17px!important;border-radius:22px!important}
 body.ma-v257-front .ma-v257-progress-cards{grid-template-columns:1fr!important;gap:7px!important}
 body.ma-v257-front .ma-v257-progress-cards>a{min-height:72px!important}
 body.ma-v257-front .ma-v257-today-preview{min-height:455px!important;padding:18px!important;border-radius:22px!important}
}
@media(max-width:430px){
 body.ma-v257-front .ma-hero{height:565px!important;min-height:565px!important;max-height:565px!important}
 body.ma-v257-front .ma-hero-bg{background-position:29% center!important}
 body.ma-v257-front .ma-v23-hero-copy{padding-inline-start:37%!important;padding-inline-end:14px!important}
 body.ma-v257-front .ma-v23-hero-copy h1{font-size:2.15rem!important}
 body.ma-v257-front .ma-v257-path-card{min-height:205px!important}
 body.ma-v257-front .ma-v257-path-card .ma-v257-path-copy{inset-inline-start:42%!important}
}
