/* ONE SHIFT — Gate 3 systemic design layer. Homepage is the minimum standard. */
:root{
 --os-forest-950:#07150e;--os-forest-900:#0d2117;--os-forest-850:#173022;--os-forest-800:#21402e;
 --os-ash:#8b9670;--os-ash-light:#aeb88f;--os-cream:#f6f1e8;--os-stone:#e8e1d6;--os-paper:#fffdf8;
 --os-ink:#172119;--os-muted:#59655c;--os-line:#d8d1c6;--os-danger:#8c3f35;--os-warning:#b98926;
 --os-radius-sm:8px;--os-radius:14px;--os-radius-lg:22px;--os-shadow:0 10px 32px rgba(7,21,14,.08);--os-shadow-hover:0 16px 42px rgba(7,21,14,.13);
 --os-space-1:6px;--os-space-2:10px;--os-space-3:14px;--os-space-4:18px;--os-space-5:24px;--os-space-6:32px;--os-space-7:44px;--os-space-8:64px;
 --os-max:1200px;--os-fast:160ms ease;
}
html{background:var(--os-cream);text-rendering:optimizeLegibility}body{background:var(--os-cream);color:var(--os-ink);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Inter,Arial,sans-serif;-webkit-font-smoothing:antialiased}
::selection{background:var(--os-ash);color:#fff}a,button,input,select,textarea{transition:border-color var(--os-fast),background var(--os-fast),color var(--os-fast),box-shadow var(--os-fast),transform var(--os-fast)}
:focus-visible{outline:3px solid color-mix(in srgb,var(--os-ash) 70%,white);outline-offset:3px}
.wrap,.member-product{width:min(var(--os-max),calc(100% - 42px));margin-inline:auto}.member-product{max-width:var(--os-max)!important}
h1,h2,h3,h4{color:inherit;letter-spacing:-.035em;text-wrap:balance}h1{font-weight:950}h2{font-weight:920}p{max-width:76ch}.eyebrow,.mp-badge{text-transform:uppercase;letter-spacing:.13em;font-weight:900}
/* Shared premium surfaces */
.card,.tile,.article,.toolbox,.product,.mp-card,.mp-plan,.mp-exercise,.mp-hydration-step,.mp-visual,.feel-q,.whats-next,.contact-grid a,.mot-positive,.mot-plan-grid article,.target-summary-card>div{
 background:var(--os-paper)!important;border:1px solid var(--os-line)!important;border-radius:var(--os-radius)!important;box-shadow:0 2px 10px rgba(7,21,14,.035);overflow:hidden
}
.card:hover,.tile:hover,.article:hover,.product:hover,.contact-grid a:hover{border-color:var(--os-ash)!important;box-shadow:var(--os-shadow);transform:translateY(-2px)}
.section{padding-block:clamp(52px,7vw,84px)}.section-head{margin-bottom:clamp(26px,4vw,40px)}
/* Public + member hero language */
.pagehero,.mp-hero,.mp-water-hero,.mot-score-card{background:linear-gradient(125deg,var(--os-forest-950),var(--os-forest-800))!important;color:#fff!important;border:0!important;border-radius:0!important;box-shadow:none!important}
.pagehero{padding-block:clamp(54px,7vw,82px);position:relative;overflow:hidden}.pagehero:after,.mp-hero:after{content:"";position:absolute;width:300px;height:300px;border-radius:50%;right:-100px;top:-150px;background:radial-gradient(circle,rgba(174,184,143,.16),transparent 68%);pointer-events:none}.pagehero .wrap,.mp-hero>*{position:relative;z-index:1}.pagehero p,.mp-hero p{color:#d7dfd8!important}
.mp-hero{position:relative;border-radius:var(--os-radius-lg)!important;padding:clamp(26px,4vw,44px)!important;box-shadow:var(--os-shadow)!important}
/* Controls */
.btn,.mp-btn,button[type=submit],input[type=submit]{border-radius:var(--os-radius-sm)!important;min-height:48px;font-weight:900;letter-spacing:.02em;cursor:pointer}.btn-primary,.mp-btn:not(.ghost):not(.secondary),button[type=submit],input[type=submit]{background:var(--os-ash)!important;color:#fff!important;border-color:var(--os-ash)!important}.btn-primary:hover,.mp-btn:not(.ghost):not(.secondary):hover,button[type=submit]:hover{background:#7e8965!important;transform:translateY(-1px);box-shadow:0 7px 18px rgba(7,21,14,.12)}.mp-btn.secondary{background:var(--os-forest-850)!important}.btn-ghost,.mp-btn.ghost{background:transparent!important;border:1px solid currentColor!important}.btn:disabled,.mp-btn:disabled,button:disabled{opacity:.5;cursor:not-allowed;transform:none!important}
input:not([type=checkbox]):not([type=radio]):not([type=range]),select,textarea{border:1px solid #c8c1b7!important;border-radius:var(--os-radius-sm)!important;background:var(--os-paper)!important;color:var(--os-ink)!important;min-height:48px;padding:12px 14px!important;box-shadow:inset 0 1px 2px rgba(7,21,14,.025)}textarea{min-height:112px}input:hover,select:hover,textarea:hover{border-color:var(--os-ash)!important}input:focus,select:focus,textarea:focus{border-color:var(--os-forest-800)!important;box-shadow:0 0 0 3px rgba(139,150,112,.18)!important;outline:0}label{font-weight:800;color:var(--os-ink)}
/* Tabs / segmented navigation */
.mp-tabs,.unit-tabs{gap:8px}.mp-tab,.unit-tab{border:1px solid var(--os-line)!important;border-radius:999px!important;background:var(--os-paper)!important;color:var(--os-ink)!important;padding:10px 15px!important}.mp-tab.active,.unit-tab.active{background:var(--os-forest-850)!important;color:#fff!important;border-color:var(--os-forest-850)!important;box-shadow:0 5px 14px rgba(7,21,14,.12)}
/* Member shell */
.member-shell{gap:24px!important}.member-side{border-radius:var(--os-radius-lg)!important;overflow:hidden;box-shadow:var(--os-shadow)!important}.member-main{min-width:0}.member-main .card,.member-main .mp-card{padding:clamp(18px,2.4vw,28px)!important}.mp-panel{padding-bottom:var(--os-space-8)!important}.mp-panel h2{font-size:clamp(30px,4vw,44px)!important}.mp-day-head{background:var(--os-forest-850)!important;border-radius:var(--os-radius) var(--os-radius) 0 0!important;padding:14px 18px!important}.mp-exercise-icon{background:var(--os-ash-light)!important}.mp-summary-card,.mp-water-card,.mp-progress-tip,.official{background:#edf0e7!important;border-left:4px solid var(--os-ash)!important;border-radius:0 var(--os-radius) var(--os-radius) 0!important}.mp-status,.note{border-radius:0 var(--os-radius-sm) var(--os-radius-sm) 0!important}.mp-status.error,.note.warning{border-left-color:var(--os-danger)!important}.mp-safety,.mp-coming{border-radius:0 var(--os-radius-sm) var(--os-radius-sm) 0!important}
/* Navigation/footer coherence */
.site-header,.header,.topbar{background:var(--os-forest-950)}.nav-cta{border-radius:var(--os-radius-sm)!important}.footer{background:var(--os-forest-950)!important}
/* Empty/loading/state affordances */
[aria-busy=true],.loading{opacity:.72}.empty-state,.mp-empty{border:1px dashed var(--os-ash)!important;background:rgba(255,253,248,.55)!important;border-radius:var(--os-radius)!important;padding:24px!important}.error,[role=alert]{scroll-margin-top:110px}
/* Responsive system */
@media(max-width:900px){.wrap,.member-product{width:min(var(--os-max),calc(100% - 32px))}.member-shell{grid-template-columns:1fr!important}.member-side{position:static!important}.mp-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:640px){.wrap,.member-product{width:min(var(--os-max),calc(100% - 24px))}.section{padding-block:46px}.pagehero{padding-block:48px}.mp-hero{padding:24px 20px!important}.mp-grid,.grid4,.grid3,.grid2,.fields,.fields.three,.target-summary-card,.mot-positive-grid,.mot-plan-grid{grid-template-columns:1fr!important}.mp-tabs{display:flex!important;overflow-x:auto;flex-wrap:nowrap!important;padding-bottom:4px;scrollbar-width:none}.mp-tab{white-space:nowrap}.btn,.mp-btn,button[type=submit]{min-height:50px}.mp-actions{display:grid!important;grid-template-columns:1fr}.mp-actions>*{width:100%}.mp-exercise{grid-template-columns:76px 1fr!important}.card,.tile,.article,.toolbox,.product,.mp-card,.mp-plan{padding:18px!important}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}

/* ONE SHIFT RC2 — editorial, trust and footer system */
.breadcrumbs{font-size:.9rem;color:var(--os-muted);display:flex;gap:8px;flex-wrap:wrap;align-items:center;margin-bottom:18px}.breadcrumbs a{color:var(--os-forest-800);font-weight:750;text-decoration:none}.breadcrumbs a:hover{text-decoration:underline}
.longread,.content{color:var(--os-ink);font-size:clamp(1rem,.96rem + .12vw,1.08rem);line-height:1.72}.longread h2,.content h2{margin-top:clamp(38px,5vw,58px);font-size:clamp(1.65rem,3vw,2.35rem)}.longread h3,.content h3{margin-top:30px;font-size:clamp(1.2rem,2vw,1.55rem)}
.lede,.standfirst{font-size:clamp(1.08rem,1rem + .35vw,1.3rem)!important;line-height:1.62;color:var(--os-muted);max-width:70ch}
.article-meta,.article-meta-v2222,.article-meta-row,.meta{color:var(--os-muted);font-size:.9rem}.readtime,.evidence-badge,.review-status-v2222{display:inline-flex;align-items:center;gap:6px;border:1px solid var(--os-line);background:#edf0e7;border-radius:999px;padding:6px 10px;font-weight:800;color:var(--os-forest-850)}
.toc,.sourcebox,.source-list,.editorial-note-v2222,.review-block,.source-note,.author-box,.sstquote,.shift-says,.takeaways,.official,.trust-strip-v2222,.programme-context-v30n,.related-card,.knowledge-card,.faqcard,.continue-card,.related-knowledge{background:var(--os-paper)!important;border:1px solid var(--os-line)!important;border-radius:var(--os-radius)!important;box-shadow:0 2px 10px rgba(7,21,14,.035)!important;padding:clamp(18px,2.4vw,28px)!important}
.toc{border-left:4px solid var(--os-ash)!important}.toc a,.related-link,.related-card a,.knowledge-card a{color:var(--os-forest-850);font-weight:800}.sourcebox,.source-list,.source-note,.editorial-note-v2222,.review-block{background:#f1f2eb!important}.sstquote,.shift-says,.takeaways{border-left:4px solid var(--os-ash)!important}.sstquote{font-size:1.05rem}
.related-grid,.continue-grid,.articlegrid{gap:18px!important}.related-card,.knowledge-card,.continue-card,.article{transition:transform var(--os-fast),box-shadow var(--os-fast),border-color var(--os-fast)}.related-card:hover,.knowledge-card:hover,.continue-card:hover{transform:translateY(-2px);border-color:var(--os-ash)!important;box-shadow:var(--os-shadow)!important}
.trust-strip-v2222,.footer-trust-v2222{border-color:rgba(255,255,255,.14)!important}.trust-links-v2222{display:flex;flex-wrap:wrap;gap:10px}.trust-links-v2222 a{border-radius:999px;padding:7px 10px;text-decoration:none}
.share-actions-v30e,.social-links-v2223,.a11y-actions{display:flex;flex-wrap:wrap;gap:10px}.share-actions-v30e a,.social-links-v2223 a,.a11y-actions button{border:1px solid var(--os-line);border-radius:999px;padding:8px 12px;text-decoration:none;font-weight:800;background:var(--os-paper);color:var(--os-ink)}
/* Header: one clear hierarchy, desktop contained, mobile menu owns density */
.site-header{position:sticky;top:0;z-index:80;border-bottom:1px solid rgba(255,255,255,.08);box-shadow:0 6px 24px rgba(7,21,14,.12)}.site-header .nav{min-height:76px}.site-header .brand-tag{opacity:.78}.navlinks a{border-radius:999px}.navlinks a:hover{background:rgba(255,255,255,.08)}
/* Footer: remove duplicated old link wall from the visual hierarchy, retain canonical grouped nav */
.site-footer{color:#eef2ed!important;padding-top:54px!important}.site-footer .footer-top{display:grid!important;grid-template-columns:minmax(250px,1fr) minmax(0,1.5fr);gap:32px;align-items:start}.site-footer .footer-links{display:none!important}.site-footer .brand-title,.site-footer .brand-tag,.site-footer h4,.site-footer strong{color:#fff!important}.site-footer .brand-tag,.site-footer .legal,.site-footer p{color:#cbd4cd!important}.site-footer a{color:#e8eee8!important;text-decoration:none}.site-footer a:hover{color:#fff!important;text-decoration:underline}.footer-nav-v2221{width:min(var(--os-max),calc(100% - 42px));margin:36px auto 0!important;padding:34px 0!important;display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr));gap:28px 22px;border-top:1px solid rgba(255,255,255,.13);border-bottom:1px solid rgba(255,255,255,.13)}.footer-nav-v2221>div{min-width:0}.footer-nav-v2221 h4{font-size:.82rem;text-transform:uppercase;letter-spacing:.1em;margin:0 0 10px}.footer-nav-v2221 a{display:block;margin:7px 0;font-size:.92rem;color:#cbd4cd!important}.footer-trust-v2222,.footer-social-v2223,.footer-whatsapp-v3d{width:min(var(--os-max),calc(100% - 42px));margin:0 auto!important;padding:22px 0!important;border:0!important}.footer-trust-v2222{display:flex;gap:12px 18px;align-items:center;flex-wrap:wrap}.footer-trust-v2222 p{margin:0 8px 0 0}.footer-trust-v2222 a{font-size:.9rem}.footer-social-v2223{display:flex;align-items:center;justify-content:space-between;gap:20px}.footer-social-v2223 p{margin:0}.footer-whatsapp-v3d{padding-top:0!important}.footer-whatsapp-v3d a{display:inline-flex;border:1px solid rgba(255,255,255,.25);border-radius:999px;padding:10px 14px;font-weight:850}.site-footer .a11y-panel{margin-top:20px!important;color:#e8eee8!important;background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.13);border-radius:var(--os-radius);padding:14px 16px}.site-footer .a11y-actions button{background:transparent;color:#fff;border-color:rgba(255,255,255,.25);min-height:40px}.site-footer .legal{margin-top:22px;font-size:.86rem;line-height:1.55}
/* Auth */
.auth-shell{width:min(1080px,calc(100% - 42px));margin:0 auto}.auth-panel,.auth-subpanel{background:var(--os-paper)!important;border:1px solid var(--os-line)!important;border-radius:var(--os-radius-lg)!important;box-shadow:var(--os-shadow)!important}.auth-tabs{background:#ebe8df;border-radius:999px;padding:5px;gap:4px}.auth-tab{border:0!important;border-radius:999px!important;background:transparent!important;color:var(--os-ink)!important}.auth-tab.active{background:var(--os-forest-850)!important;color:#fff!important;box-shadow:0 5px 14px rgba(7,21,14,.13)}.auth-message{border-radius:var(--os-radius-sm);padding:12px 14px}.auth-legal{color:var(--os-muted);font-size:.88rem}
/* Member product refinements */
.member-shell{width:min(1280px,calc(100% - 42px));margin:34px auto 70px;display:grid;grid-template-columns:230px minmax(0,1fr)}.member-side{background:var(--os-forest-950)!important;color:#fff;padding:20px!important;align-self:start;position:sticky!important;top:102px}.member-side h3{color:#fff}.member-side a{display:block;color:#d8e0d9!important;text-decoration:none;padding:10px 12px;border-radius:10px;margin:2px 0;font-weight:750}.member-side a:hover{background:rgba(255,255,255,.08);color:#fff!important}.member-main{padding:0!important}.member-product{width:100%!important}.mp-panel{padding-top:34px!important}.mp-form{background:rgba(255,253,248,.72);border:1px solid var(--os-line);border-radius:var(--os-radius);padding:20px}.mp-output{display:grid;gap:14px}.mp-status{margin:14px 0;padding:12px 14px;background:#edf0e7;border-left:4px solid var(--os-ash)}.mp-visual-options{gap:14px!important}.mp-visual{padding:18px!important;text-align:left}.mp-visual strong{display:block;margin-bottom:8px}.consent{display:flex!important;gap:10px;align-items:flex-start!important;font-weight:650!important}.consent input{margin-top:4px}
/* Tables / comparison surfaces */
table{width:100%;border-collapse:separate;border-spacing:0;background:var(--os-paper);border:1px solid var(--os-line);border-radius:var(--os-radius);overflow:hidden}th,td{padding:13px 14px;border-bottom:1px solid var(--os-line);text-align:left}th{background:#edf0e7;color:var(--os-forest-850);font-size:.82rem;text-transform:uppercase;letter-spacing:.05em}tr:last-child td{border-bottom:0}.qa-scroll-table-v2224{overflow-x:auto;border-radius:var(--os-radius);box-shadow:0 2px 10px rgba(7,21,14,.035)}
@media(max-width:1000px){.footer-nav-v2221{grid-template-columns:repeat(3,minmax(0,1fr))}.site-footer .footer-top{grid-template-columns:1fr}.member-shell{grid-template-columns:1fr}.member-side{position:static!important;display:flex;overflow-x:auto;gap:4px;border-radius:var(--os-radius)!important}.member-side h3{display:none}.member-side a{white-space:nowrap}}
@media(max-width:640px){.auth-shell{width:calc(100% - 24px)}.footer-nav-v2221,.footer-trust-v2222,.footer-social-v2223,.footer-whatsapp-v3d{width:calc(100% - 24px)}.footer-nav-v2221{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 18px}.footer-social-v2223{align-items:flex-start;flex-direction:column}.member-shell{width:calc(100% - 24px);margin-top:18px}.member-side{margin-bottom:14px}.mp-visual-options{grid-template-columns:1fr 1fr!important}.longread,.content{font-size:1rem}.toc,.sourcebox,.source-list,.author-box,.sstquote,.shift-says,.takeaways,.related-card,.knowledge-card,.continue-card{padding:18px!important}}
/* Remaining member-specific surfaces */
.my-target-hero,.tracker-grid,.circle-grid,.badge-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.target-photo-slot,.target-summary-card,.picture-safety,.tech-note,.tracker-card,.insight-card,.saved-item,.circle-card,.why-card,.token-card,.mot-panel,.mot-step,.mot-measurement,.member-note{background:var(--os-paper)!important;border:1px solid var(--os-line)!important;border-radius:var(--os-radius)!important;box-shadow:0 2px 10px rgba(7,21,14,.035);padding:18px!important}.target-photo-slot{min-height:180px;display:grid;place-items:center;text-align:center;color:var(--os-muted);border-style:dashed!important}.target-choice-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:16px 0 26px}.target-choice-grid button,.mood-btn{min-height:48px;border:1px solid var(--os-line);border-radius:999px;background:var(--os-paper);font-weight:850;color:var(--os-ink);padding:10px 14px}.target-choice-grid button:hover,.mood-btn:hover{border-color:var(--os-ash);box-shadow:var(--os-shadow)}.picture-safety{border-left:4px solid var(--os-ash)!important;background:#edf0e7!important}.tech-note{color:var(--os-muted)}.tracker-grid,.circle-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.badge-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.new-thread,.search-insights{background:rgba(255,253,248,.7);border:1px solid var(--os-line);border-radius:var(--os-radius);padding:20px}.thread-list,.saved-list{display:grid;gap:12px}.locked{opacity:.7}.badge{border-radius:999px!important}.badge-icon{background:#edf0e7;border-radius:50%}.mot-steps{display:flex;gap:8px;overflow-x:auto}.mot-step{min-width:90px;text-align:center}.mot-step.active{background:var(--os-forest-850)!important;color:#fff}.mot-unit-row,.mot-value-row,.mot-waist-row,.metric-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.mood-row{display:flex;flex-wrap:wrap;gap:8px}
@media(max-width:640px){.my-target-hero,.tracker-grid,.circle-grid,.badge-grid,.mot-unit-row,.mot-value-row,.mot-waist-row,.metric-pair{grid-template-columns:1fr}.target-choice-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
