/* LYFE DEFINED · shared signature design system */
:root{--ld-bg:#141719;--ld-surface:#202628;--ld-raised:#293134;--ld-text:#f6f3ef;--ld-muted:#d0d7d8;--ld-border:#536165;--ld-accent:#b8dfe2;--ld-coral:#edb0a7;--ld-on-accent:#252a2d;--ld-shadow:0 16px 45px #0003;--paper:var(--ld-bg);--white:var(--ld-surface);--ink:var(--ld-text);--pine:var(--ld-text);--muted:var(--ld-muted);--line:var(--ld-border);--pink:var(--ld-coral);--blue:var(--ld-accent);color-scheme:dark}
html[data-theme=light]{--ld-bg:#f8f5f0;--ld-surface:#fffcf8;--ld-raised:#edeae4;--ld-text:#292b2d;--ld-muted:#484d50;--ld-border:#a6afb0;--ld-accent:#b8dfe2;--ld-coral:#edb0a7;--ld-shadow:0 15px 40px #353d4110;color-scheme:light}
html{scroll-padding-top:165px}body{background:var(--ld-bg)!important;color:var(--ld-text)!important;font-family:'DM Sans',system-ui,sans-serif!important;font-size:18px;line-height:1.65}*{box-sizing:border-box}img,video,svg{max-width:100%}h1,h2,h3,h4{font-family:Manrope,'DM Sans',system-ui,sans-serif;line-height:1.15;letter-spacing:-.035em;font-weight:700}p,li,label,summary{line-height:1.65}button,input,select,textarea{font-size:16px!important}button,.button{min-height:48px;border-radius:28px}button,a{touch-action:manipulation}a,button,input,select,textarea,summary{outline-offset:4px}a:focus-visible,button:focus-visible,summary:focus-visible{outline:3px solid var(--ld-coral)!important}button:disabled{opacity:.65}input,select,textarea{background:var(--ld-bg)!important;color:var(--ld-text)!important;border:1px solid var(--ld-border)!important;min-height:48px;border-radius:12px!important;padding:12px!important;max-width:100%}input::placeholder,textarea::placeholder{color:var(--ld-muted)!important;opacity:1}input[type=checkbox],input[type=radio]{min-height:20px;width:20px;accent-color:#e9948c}
/* Explicit component surfaces replace inherited legacy green and pale copy. */
html[data-theme] :is(.section,.closing,.coaching,.posing,.nutrition,.experience,.membership,footer,.intro){background:var(--ld-bg)!important;color:var(--ld-text)!important}
html[data-theme] :is(.card,.panel,.stat,.program-card,.offer-card,.nutrition-grid article,.login-form,.sidebar,.contact,.empty,dialog,.topbar,.shop-page .card){background:var(--ld-surface)!important;color:var(--ld-text)!important;border-color:var(--ld-border)!important;box-shadow:var(--ld-shadow);border-radius:22px}
html[data-theme] :is(.section,.closing,footer,.intro,.card,.panel,.stat,.offer-card,.program-card,dialog,.login-form,.content) :is(h1,h2,h3,h4,strong,b,label,legend,summary,th,td,dt,dd,.price,.product-price){color:var(--ld-text)!important}
html[data-theme] :is(.section,.closing,footer,.intro,.card,.panel,.stat,.offer-card,.program-card,dialog,.login-form,.content) :is(p,small,li,pre,.note,.help,.muted,.small-note,.eyebrow,.category,.meta){color:var(--ld-muted)!important;opacity:1!important}
html[data-theme] :is(.section,.intro,.closing) h2 em{color:var(--ld-text)!important}html[data-theme] :is(.hero-panel,.login-story,.program-art,.device-stage,.ribbon,.tag,.tag.coral){background:var(--ld-accent)!important;color:var(--ld-on-accent)!important}html[data-theme] :is(.hero-panel,.login-story,.program-art,.device-stage,.ribbon,.tag) :is(p,h1,h2,h3,small,b,strong,span){color:var(--ld-on-accent)!important}
html[data-theme] :is(button,.button,.primary){background:var(--ld-accent);color:var(--ld-on-accent);font-weight:650;padding:12px 20px}html[data-theme] :is(.button.lime,.coral,.nav-cta){background:var(--ld-coral)!important;color:var(--ld-on-accent)!important}html[data-theme] :is(.quiet,.secondary,.text-link,.program-filters button,.subnav button){background:transparent!important;color:var(--ld-text)!important;border:1px solid var(--ld-border)}html[data-theme] :is(.subnav button.active,.program-filters button[aria-pressed=true]){background:var(--ld-accent)!important;color:var(--ld-on-accent)!important}
html[data-theme] :is(.nav-panel,#main-navigation,.mobile-action){background:var(--ld-surface)!important;color:var(--ld-text)!important;border-color:var(--ld-border)!important}html[data-theme] #main-navigation :is(a,button){color:var(--ld-text)!important;background:transparent!important}html[data-theme] #main-navigation a:hover{background:var(--ld-raised)!important}html[data-theme] body:has(.hero)>header{background:var(--ld-surface)!important;border-bottom:1px solid var(--ld-border);top:61px}html[data-theme] .brand-type,html[data-theme] .brand-type>span{color:var(--ld-text)!important}
.appearance-bar{display:flex;justify-content:flex-end;background:var(--ld-bg);border-bottom:1px solid var(--ld-border);padding:8px 18px;position:relative;z-index:60}.appearance-bar button{background:var(--ld-raised)!important;color:var(--ld-text)!important;border:1px solid var(--ld-border);font-size:14px!important}.hero~*{position:relative}body:has(.hero) .appearance-bar{position:fixed;inset:0 0 auto}body:has(.hero) .hero{padding-top:210px}html[data-theme] .hero-copy :is(h1,p,.eyebrow,.text-link,.hero-foot){color:#fffaf5!important}html[data-theme] .hero h1 em{color:#edb0a7!important}.hero-image:after{background:linear-gradient(90deg,#141719ed,#14171980)!important}.hero-copy p{font-size:20px!important;line-height:1.7!important}html[data-theme] table{color:var(--ld-text);width:100%}html[data-theme] th{background:var(--ld-raised)!important}html[data-theme] .table-scroll{overflow:auto}html[data-theme] .message{background:var(--ld-raised)!important;color:var(--ld-text)!important}html[data-theme] .message.own{background:#b8dfe2!important;color:#292b2d!important}html[data-theme] .message.own :is(p,small){color:#292b2d!important}html[data-theme] .cc-chart b,html[data-theme] .cc-chart small{color:var(--ld-text)!important}
/* Stable mascot panel uses an ivory surface in either theme. */
html[data-theme] .flexy-panel{background:#fffcf8!important;color:#292b2d!important}html[data-theme] .flexy-panel :is(p,h2,strong,small,label){color:#292b2d!important}html[data-theme] .flexy-panel textarea{background:#fff!important;color:#292b2d!important}html[data-theme] .flexy-panel button{color:#292b2d!important}html[data-theme] .flexy-panel .flexy-head{background:#dceff0!important}
@media(max-width:850px){body{font-size:17px}.columns,.offer-grid,.coaching-grid,.nutrition-grid{grid-template-columns:1fr!important}.pagehead,.topbar,.tools{flex-wrap:wrap}.workspace,.content,.panel,.card{min-width:0}.content{padding:20px 16px!important}pre{white-space:pre-wrap;overflow-wrap:anywhere}.stats{grid-template-columns:repeat(2,minmax(0,1fr))!important}.stat b{font-size:30px!important}.pagehead h1{font-size:34px!important}.shop-page main{padding-inline:16px}.section{padding-block:64px!important}.wrap{padding-inline:22px!important}body:has(.hero) header nav{max-height:calc(100dvh - 160px);overflow-y:auto!important}dialog{max-width:calc(100vw - 24px);max-height:90dvh}.hero-copy p{font-size:18px!important}}
@media(prefers-reduced-motion:no-preference){button,.button,.card,.offer-card,.program-card{transition:background .18s,box-shadow .18s,transform .18s}.offer-card:hover,.program-card:hover{transform:translateY(-3px);box-shadow:0 20px 50px #0002}dialog[open]{animation:ld-arrive .18s ease-out}@keyframes ld-arrive{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation:none!important;transition:none!important}}
/* Readability baseline across every public and portal surface. */
html[data-theme] body{font-size:18px!important;line-height:1.65!important}
html[data-theme] body :is(p,li,td,th,label,summary,pre,.note,.help,.small-note,.billing-label,.plan-availability,.checkout-note,.product-summary,.apparel-copy){font-size:18px!important;line-height:1.7!important;font-weight:500;opacity:1!important}
html[data-theme] body :is(small,.eyebrow,.category,.meta,.metric-label,.tag,.card-color,.hero-foot,.ribbon-group){font-size:14px!important;line-height:1.6!important;opacity:1!important}
html[data-theme] body :is(button,.button,.primary,input,select,textarea,.nav-trigger,#main-navigation a){font-size:17px!important;line-height:1.45!important;font-weight:650;min-height:48px}
html[data-theme] .offer-card{padding:32px!important;border:1px solid var(--ld-border)!important;background:var(--ld-surface)!important;border-radius:24px}
html[data-theme] .offer-card h3{font-size:clamp(28px,3vw,38px)!important;line-height:1.2!important;margin:18px 0 22px}
html[data-theme] body :is(.section,.card,.panel,.offer-card,.program-card,.login-form,.intro,.content) :is(p,li,label,small,pre){color:var(--ld-text)!important}
html[data-theme] body :is(.button,.primary,button.coral,button.lime){background:#edb0a7!important;color:#252a2d!important}
html[data-theme] body :is(.button,.primary,button.coral,button.lime) :is(span,b,strong){color:#252a2d!important}
html[data-theme] body :is(.hero-panel,.login-story,.device-stage,.ribbon,.program-art,.tag,.message.own){background:#c8e5e5!important;color:#252a2d!important}
html[data-theme] body :is(.hero-panel,.login-story,.device-stage,.ribbon,.program-art,.tag,.message.own) :is(p,small,span,b,strong,h1,h2,h3,li,label){color:#252a2d!important}
html[data-theme=dark] body header .brand-type,html[data-theme=dark] body header .brand-type>span,html[data-theme=dark] .sidebar .brand-type,html[data-theme=dark] .sidebar .brand-type>span{color:#f6f3ef!important}
html[data-theme=light] body header .brand-type,html[data-theme=light] body header .brand-type>span{color:#292b2d!important}
html[data-theme=light] body :is(.card,.panel,.offer-card,.program-card,.login-form,.nav-panel,dialog){background:#fffcf8!important;color:#292b2d!important}
html[data-theme=dark] body :is(.card,.panel,.offer-card,.program-card,.login-form,.nav-panel,dialog){background:#22282b!important;color:#f6f3ef!important}
html[data-theme] body .flexy-panel{background:#fffcf8!important;color:#292b2d!important}
html[data-theme] body .flexy-panel :is(p,strong,small,label){color:#292b2d!important}
@media(max-width:600px){html[data-theme] .offer-card{padding:24px!important}html[data-theme] body :is(p,li,label,td,th,summary){font-size:18px!important}.offer-grid{gap:20px!important}}
