@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=DM+Serif+Display:ital@0;1&display=swap');
:root{font-family:'DM Sans',system-ui,-apple-system,Segoe UI,sans-serif;color-scheme:light;--bg:#f8f5ef;--surface:#fffdf9;--surface2:#f1ebe1;--ink:#24251f;--muted:#6e6b64;--border:#e5dfd4;--accent:#ae573b;--accent-dark:#873d29;--accent-pale:#f5e1d7;--cream:#e9d1b8;--olive:#63715b;--olive-light:#e7eadd;--shadow:0 15px 44px rgba(43,34,27,.07);--hero-ink:#fffaf3}
:root[data-theme="dark"]{color-scheme:dark;--bg:#161a17;--surface:#20251f;--surface2:#2b3029;--ink:#f7f1e7;--muted:#b7b6ad;--border:#3b4139;--accent:#e3a080;--accent-dark:#f2bc9e;--accent-pale:#4d3028;--cream:#4c453b;--olive:#c0d5b0;--olive-light:#2f382e;--shadow:0 15px 44px rgba(0,0,0,.17);--hero-ink:#fffaf3}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--ink);line-height:1.56;min-width:320px}body.drawer-open,body.dialog-open{overflow:hidden}a{color:inherit;text-decoration:none}button,input,select{font:inherit}button{cursor:pointer}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid var(--accent);outline-offset:3px}h1,h2,h3,h4,p{margin-top:0}h1,h2,h3{line-height:1.13}h1,h2{letter-spacing:-.025em}h1,h2,.feature-card h3,.chapter-card h3,.article-next strong{font-family:'DM Serif Display',Georgia,serif;font-weight:400}img{max-width:100%}[hidden]{display:none!important}.skip-link{position:absolute;top:-60px;left:15px;background:var(--surface);padding:10px 15px;z-index:999}.skip-link:focus{top:10px}.subtle{color:var(--muted)}.eyebrow{color:var(--accent);letter-spacing:.17em;text-transform:uppercase;font-size:11px;font-weight:700;display:block;margin-bottom:13px}.site-header{position:sticky;top:0;z-index:50;background:var(--surface);border-bottom:1px solid var(--border);box-shadow:0 3px 19px rgba(20,20,18,.03)}.header-inner{height:81px;max-width:1472px;margin:auto;display:flex;align-items:center;gap:26px;padding:0 40px}.brand{display:flex;align-items:center;gap:12px;flex-shrink:0}.brand-icon{background:#302820;color:#faf1df;width:46px;height:46px;display:grid;place-items:center;border-radius:14px 5px 14px 5px;font-family:Georgia,serif;font-size:31px;font-weight:bold;line-height:1}.brand-icon span{color:#dd916a}.brand-text{font-size:18px;font-weight:700;letter-spacing:-.065em;line-height:1.02}.brand-text>span{color:var(--accent)}.brand-text small{display:block;font-size:8px;font-weight:700;letter-spacing:.24em;margin-top:7px;color:var(--muted)}.desktop-nav{display:flex;gap:4px;margin:auto;justify-content:center;align-items:center}.desktop-nav a{font-size:13px;font-weight:700;color:var(--muted);padding:10px 12px;border-radius:9px;white-space:nowrap;transition:.2s}.desktop-nav a:hover,.desktop-nav a.active{background:var(--surface2);color:var(--ink)}.desktop-nav a.active{box-shadow:inset 0 -2px 0 var(--accent)}.header-actions{display:flex;align-items:center;gap:4px}.icon-button{display:grid;place-items:center;border:0;background:transparent;color:var(--ink);width:39px;height:39px;border-radius:10px}.icon-button:hover{background:var(--surface2)}.menu-button,.mobile-drawer,.mobile-tabbar{display:none}.page-wrap{max-width:1392px;margin:0 auto;padding:26px 38px 90px}.button{display:inline-flex;align-items:center;justify-content:center;gap:22px;border-radius:10px;padding:13px 21px;font-size:13px;font-weight:700;white-space:nowrap;border:1px solid var(--border);transition:transform .2s,background .2s,color .2s}.button:hover{transform:translateY(-2px)}.button.primary{border:1px solid var(--accent);background:var(--accent);color:#fff}.button.primary:hover{background:var(--accent-dark)}.button.outline{background:transparent;color:var(--ink);border-color:var(--border)}.button.outline:hover,.button.subtle-button{background:var(--surface2)}.text-link{font-size:13px;color:var(--accent);font-weight:700}.text-link:hover{text-decoration:underline}.hero{position:relative;overflow:hidden;border-radius:20px;min-height:460px;display:flex;background:#342d27;color:var(--hero-ink)}.hero-copy{padding:68px 50px 45px;max-width:58%;position:relative;z-index:2}.hero-copy .eyebrow{color:#eab99e}.hero-copy h1{font-size:clamp(48px,5vw,78px);margin-bottom:18px;line-height:1.02;letter-spacing:-.045em}.hero-copy h1 em{color:#edc39f;font-weight:400}.hero-lead{font-size:16px;max-width:490px;opacity:.94;line-height:1.7}.hero-image{position:absolute;inset:0 0 0 38%;background-size:cover;background-position:center 52%;opacity:.88}.hero:after{position:absolute;inset:0;content:"";background:linear-gradient(90deg,#342d27 0%,#342d27 29%,rgba(52,45,39,.87) 46%,rgba(52,45,39,.15) 82%);pointer-events:none}.hero-actions{display:flex;flex-wrap:wrap;gap:11px;margin:26px 0}.hero .button.outline{color:#fff;border-color:rgba(255,255,255,.35)}.hero .button.outline:hover{background:rgba(255,255,255,.08)}.hero-highlights{display:flex;flex-wrap:wrap;gap:17px;font-size:11px;font-weight:700;color:#f7deca}.hero-highlights span:before{content:"•";margin-right:10px;color:#eaba98}.notice-bar{display:flex;gap:12px;align-items:center;background:var(--surface);margin-top:16px;border:1px solid var(--border);border-radius:12px;padding:14px 19px;font-size:12px;color:var(--muted)}.notice-mark{flex-shrink:0;display:grid;place-items:center;border:1px solid var(--accent);color:var(--accent);border-radius:100%;font-family:Georgia,serif;font-style:italic;font-weight:bold;width:21px;height:21px}.notice-bar span:nth-child(2){flex:1}.notice-bar a{font-weight:700;color:var(--accent);white-space:nowrap}.notice-bar.muted{margin:0 0 25px;background:var(--surface2)}.home-section{margin-top:69px}.section-row{display:flex;align-items:end;justify-content:space-between;gap:16px;margin-bottom:24px}.section-row h2,.home-section h2{font-size:clamp(29px,3vw,43px);margin-bottom:8px}.section-row p,.home-section p{color:var(--muted);max-width:650px;margin:0;font-size:14px}.feature-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px}.feature-card{min-height:240px;display:flex;flex-direction:column;align-items:flex-start;padding:27px;border-radius:15px;overflow:hidden;border:1px solid var(--border);background:var(--surface);position:relative;transition:transform .2s,box-shadow .2s}.feature-card:after{position:absolute;content:"";width:215px;height:215px;right:-85px;top:-80px;border-radius:100%;background:radial-gradient(circle,var(--accent-pale),transparent 65%);opacity:.6;pointer-events:none}.feature-card:hover,.chapter-card:hover,.source-card:hover{transform:translateY(-4px);box-shadow:var(--shadow)}.feature-num{font-size:10px;letter-spacing:.13em;font-weight:700;color:var(--accent)}.feature-card h3{font-size:30px;margin:43px 0 10px}.feature-card p{max-width:290px;font-size:13px;margin-bottom:22px}.feature-more{margin-top:auto;font-size:12px;font-weight:700;color:var(--accent)}.feature-food{background:#e8ddd0;color:#26241f}.feature-food p{color:#5e574e}.feature-time{background:var(--olive-light)}.kitchen-promo{display:grid;grid-template-columns:.93fr 1fr;min-height:340px;background:var(--surface);border:1px solid var(--border);border-radius:17px;overflow:hidden}.promo-photo{background:#302e29;background-size:cover;background-position:center}.promo-content{padding:52px 48px;display:flex;flex-direction:column;align-items:flex-start;justify-content:center}.promo-content h2{font-size:clamp(31px,3.1vw,46px);max-width:480px}.promo-content p{margin-bottom:26px}.chapter-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.chapter-card{min-height:232px;border-radius:13px;background:var(--surface);border:1px solid var(--border);padding:23px;display:flex;flex-direction:column;transition:.2s}.chapter-card.compact{min-height:208px}.chapter-card .chapter-meta{display:flex;justify-content:space-between;font-size:11px;color:var(--muted);gap:12px}.chapter-card .chapter-meta span:first-child{font-weight:700;color:var(--accent)}.chapter-card h3{font-size:27px;margin:26px 0 9px}.chapter-card p{font-size:13px;color:var(--muted);line-height:1.6;margin-bottom:15px}.chapter-footer{margin-top:auto;display:flex;justify-content:space-between;align-items:center}.evidence-pill{display:inline-block;background:var(--surface2);padding:5px 10px;border-radius:100px;font-size:10px;font-weight:700;color:var(--muted)}.round-arrow{display:grid;place-items:center;border:1px solid var(--border);height:34px;width:34px;border-radius:100%;color:var(--accent)}.progress-panel{border:1px solid var(--border);border-radius:15px;background:var(--surface);padding:31px 37px;display:flex;justify-content:space-between;align-items:center;gap:30px}.progress-right{min-width:260px;max-width:310px;flex:1;display:flex;flex-direction:column;gap:8px}.progress-right strong{font-size:25px}.progress-right small{color:var(--muted);font-size:11px}.progress-right .button{margin-top:6px}.progress-track,.quiz-progress{height:8px;background:var(--surface2);border-radius:100px;overflow:hidden;width:100%}.progress-track span,.quiz-progress span{display:block;background:var(--accent);height:100%;border-radius:inherit;transition:width .2s}.next-panel{background:var(--olive-light);border-radius:14px;padding:26px 32px;display:flex;align-items:center;justify-content:space-between;gap:20px}.next-panel h2{font-size:29px}.next-panel p{max-width:730px}.footer{border-top:1px solid var(--border);background:var(--surface);padding:40px max(35px,calc((100vw - 1316px)/2)) 22px}.footer-top{display:grid;grid-template-columns:2fr 1fr 1fr;gap:40px}.footer-brand{display:flex;align-items:center;gap:12px;font-weight:800;font-size:18px}.footer-brand .brand-icon{height:37px;width:37px;font-size:25px}.footer-top p{color:var(--muted);font-size:13px;max-width:370px;margin-top:12px}.footer-top h4{font-size:11px;letter-spacing:.16em}.footer-top>div:not(:first-child) a{display:block;margin:8px 0;font-size:13px;color:var(--muted)}.footer-bottom{display:flex;justify-content:space-between;gap:16px;border-top:1px solid var(--border);padding-top:18px;margin-top:38px;color:var(--muted);font-size:11px}.page-intro{margin:35px 0 36px;max-width:900px}.section-title h1{font-size:clamp(41px,5vw,66px);margin-bottom:12px;max-width:900px}.section-title>p{font-size:16px;line-height:1.7;color:var(--muted);max-width:720px}.learning-meta{display:flex;flex-wrap:wrap;gap:12px;color:var(--muted);font-size:12px;margin-top:21px}.learning-meta span{padding:7px 11px;border:1px solid var(--border);border-radius:8px}.article-categories{display:flex;overflow:auto;gap:9px;margin-bottom:25px;padding-bottom:7px}.chip,.fast-tab{font-size:12px;font-weight:700;border:1px solid var(--border);border-radius:50px;background:var(--surface);color:var(--muted);padding:10px 16px;white-space:nowrap}.chip:hover,.chip.active,.fast-tab.active{background:var(--accent);border-color:var(--accent);color:#fff}.article-shell{display:grid;grid-template-columns:258px minmax(0,1fr);gap:50px;max-width:1130px;margin:42px auto}.article-aside{position:sticky;top:120px;align-self:start}.backlink{font-size:12px;color:var(--accent);font-weight:700}.aside-card{margin-top:24px;background:var(--surface);border:1px solid var(--border);border-radius:12px;padding:20px}.aside-card h3{font-size:20px}.aside-card ol{padding-left:18px;color:var(--muted);font-size:12px}.aside-card li{margin:12px 0}.aside-card a:hover{color:var(--accent)}.article-anchor{border:0;background:transparent;padding:0;color:var(--muted);font-size:12px;text-align:left;line-height:1.5}.article-anchor:hover{color:var(--accent);text-decoration:underline}.aside-meta{font-size:11px;border-top:1px solid var(--border);padding-top:12px;margin-top:25px;color:var(--muted)}.article-content{min-width:0}.article-breadcrumb{font-size:10px;color:var(--muted);letter-spacing:.16em;font-weight:700;margin-bottom:18px}.article-hero{padding-bottom:32px;border-bottom:1px solid var(--border)}.article-hero h1{font-size:clamp(39px,4.6vw,62px)}.article-deck{font-size:19px;line-height:1.6;color:var(--muted);max-width:710px}.article-tags{display:flex;flex-wrap:wrap;gap:16px;font-size:11px;color:var(--muted)}.article-tags span+span:before{content:"· ";margin-right:11px}.article-notice{background:var(--olive-light);border-left:3px solid var(--olive);padding:20px 25px;margin:31px 0 37px;border-radius:0 10px 10px 0}.article-notice strong{font-size:12px;letter-spacing:.06em;text-transform:uppercase}.article-notice p{font-size:13px;color:var(--muted);margin:7px 0 0}.article-section{scroll-margin-top:110px;margin:38px 0 42px}.article-section h2{font-size:32px}.article-section p{font-size:16px;line-height:1.86;color:var(--ink);max-width:760px}.source-details{font-size:12px;color:var(--muted);border-top:1px solid var(--border);padding-top:12px;margin-top:15px}.source-details summary{cursor:pointer;width:max-content;max-width:100%;color:var(--accent);font-size:11px;font-weight:700;list-style-position:inside}.source-details ul{padding-left:24px}.source-details li{line-height:1.6;margin:10px 0}.source-details a{text-decoration:underline;text-underline-offset:3px}.source-kind{font-size:10px;color:var(--accent);font-weight:700;letter-spacing:.04em}.takeaway{background:var(--surface2);padding:27px 32px;border-radius:12px;margin:42px 0 30px}.takeaway span{font-size:11px;letter-spacing:.15em;font-weight:700;color:var(--accent)}.takeaway p{font-family:'DM Serif Display',Georgia,serif;font-size:24px;margin:12px 0 0;line-height:1.4}.article-actions{display:flex;flex-wrap:wrap;gap:10px;margin:30px 0}.article-next{display:grid;grid-template-columns:1fr auto;gap:8px;border-top:1px solid var(--border);padding-top:22px}.article-next span{font-size:11px;color:var(--muted);letter-spacing:.14em}.article-next strong{grid-column:1;font-size:25px}.article-next b{grid-column:2;grid-row:1/3;font-size:27px;color:var(--accent)}.explorer-layout{display:grid;grid-template-columns:310px minmax(0,1fr);align-items:start;gap:24px}.explorer-sidebar,.explorer-main{min-width:0}.explorer-sidebar{background:var(--surface);border:1px solid var(--border);padding:23px;border-radius:13px;position:sticky;top:105px}.explorer-sidebar h2,.fasting-main h2{font-size:27px;margin-bottom:10px}.explorer-sidebar p,.fasting-main>p{font-size:12px;color:var(--muted)}.style-options{display:flex;flex-direction:column;gap:9px;margin-top:21px}.style-choice{text-align:left;background:var(--bg);border:1px solid var(--border);border-radius:10px;padding:15px 16px;color:var(--ink);display:flex;flex-direction:column;gap:6px;transition:.2s}.style-choice strong{font-size:13px}.style-choice small{color:var(--muted);line-height:1.4}.style-choice:hover,.style-choice.selected{border-color:var(--accent);background:var(--accent-pale)}.selection-summary{padding:25px 28px;background:var(--olive-light);border-radius:13px;margin-bottom:18px}.selection-summary h2{font-size:32px;margin-bottom:8px}.selection-summary p{font-size:13px;color:var(--muted);max-width:800px}.selection-caution{border-left:3px solid var(--olive);padding:9px 14px;background:rgba(124,130,103,.09);color:var(--ink);font-size:12px;line-height:1.6;border-radius:0 8px 8px 0}.filter-bar{display:flex;align-items:end;gap:12px;margin:19px 0}.search-field{display:flex;align-items:center;flex:1;min-width:140px;gap:9px;background:var(--surface);border:1px solid var(--border);border-radius:10px;padding:0 13px}.search-field span{font-size:23px;color:var(--accent)}.search-field input{width:100%;border:0;outline:0;padding:13px 0;background:transparent;color:var(--ink);font-size:13px}.filter-select{min-width:160px;display:flex;flex-direction:column;gap:4px;color:var(--muted);font-size:10px}.filter-select select{border:1px solid var(--border);border-radius:9px;padding:11px;background:var(--surface);color:var(--ink);font-size:12px;width:100%}.food-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.food-card{background:var(--surface);border:1px solid var(--border);border-radius:12px;padding:19px;min-width:0}.food-main{display:flex;gap:14px;align-items:center}.food-emoji{font-size:29px;background:var(--surface2);height:51px;min-width:51px;border-radius:10px;display:grid;place-items:center}.food-type{font-size:10px;color:var(--accent);font-weight:700}.food-card h3{font-family:'DM Sans',sans-serif;font-size:15px;font-weight:700;letter-spacing:-.02em;margin:4px 0}.status{display:inline-block;margin:16px 0 9px;font-size:10px;padding:6px 11px;border-radius:100px;font-weight:700}.status-yes{background:var(--olive-light);color:var(--olive)}.status-no{background:var(--surface2);color:var(--muted)}.status-maybe{background:var(--accent-pale);color:var(--accent)}.food-card p{font-size:12px;line-height:1.6;color:var(--muted);margin:0}.food-footer{font-size:11px;color:var(--muted);margin:23px 0;max-width:800px}.supplement-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.supp-card{background:var(--surface);border:1px solid var(--border);border-radius:14px;padding:25px;display:flex;flex-direction:column;min-width:0}.supp-tag{font-size:10px;color:var(--accent);letter-spacing:.06em;font-weight:700}.supp-card h2{font-size:32px;margin:17px 0 29px}.supp-row{padding-bottom:15px;border-bottom:1px solid var(--border);margin-bottom:15px}.supp-row strong,.supp-caution strong{font-size:11px;text-transform:uppercase;letter-spacing:.08em}.supp-row p,.supp-caution p{font-size:12px;line-height:1.6;margin:7px 0 0;color:var(--muted)}.supp-caution{background:var(--olive-light);padding:13px;border-radius:9px;margin-bottom:17px}.supp-card .source-details{margin-top:auto}.fasting-layout{display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:22px}.fasting-main,.fasting-aside{background:var(--surface);border:1px solid var(--border);border-radius:13px;padding:28px}.fasting-tabs{display:flex;gap:9px;flex-wrap:wrap;margin:23px 0}.fasting-selection{background:var(--surface2);border-radius:13px;padding:25px;display:grid;grid-template-columns:220px minmax(0,1fr);align-items:center;gap:30px}.clock-art{width:198px;height:198px;border-radius:100%;border:14px solid var(--accent);box-shadow:inset 0 0 0 12px var(--surface),0 0 0 1px var(--border);display:flex;align-items:center;justify-content:center;flex-direction:column;background:var(--surface)}.clock-art>span{font-family:'DM Serif Display',Georgia,serif;font-size:45px;line-height:1.2}.clock-art small{font-size:10px;text-align:center;color:var(--muted);max-width:125px}.fasting-selection h3{font-size:32px;margin:9px 0}.fasting-selection p,.section-spacer p,.fasting-aside p,.fasting-aside li{font-size:13px;color:var(--muted);line-height:1.7}.section-spacer{margin-top:33px}.section-spacer h3,.fasting-aside h3{font-size:20px}.fasting-aside ul{padding-left:19px}.fasting-aside li{padding:4px 0}.aside-rule{height:1px;background:var(--border);margin:24px 0}.evidence-top{display:grid;grid-template-columns:1.5fr 1fr;gap:30px;background:var(--olive-light);padding:37px;border-radius:15px}.evidence-top h2{font-size:clamp(31px,3.3vw,46px);max-width:700px}.evidence-top p{color:var(--muted);font-size:14px;line-height:1.7}.evidence-scale{padding:23px;background:var(--surface);border:1px solid var(--border);border-radius:12px}.evidence-scale>span{font-size:11px;color:var(--accent);font-weight:700;letter-spacing:.1em}.evidence-scale div{margin-top:15px;border-top:1px solid var(--border);padding-top:12px}.evidence-scale strong{font-size:13px}.evidence-scale p{font-size:11px;margin:4px 0}.evidence-heading{margin-top:65px}.source-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.source-card{display:flex;flex-direction:column;min-height:210px;background:var(--surface);border:1px solid var(--border);border-radius:13px;padding:22px;transition:.2s}.source-card h3{font-family:'DM Sans',sans-serif;font-size:15px;font-weight:700;line-height:1.4;margin:13px 0}.source-card p{font-size:12px;color:var(--muted)}.source-open{font-size:11px;color:var(--accent);font-weight:700;margin-top:auto}.quiz-shell{max-width:780px;background:var(--surface);border:1px solid var(--border);margin:55px auto;padding:42px;border-radius:16px;min-height:480px}.quiz-shell h1{font-size:clamp(31px,3.5vw,45px);margin:30px 0}.quiz-options{display:grid;gap:11px}.quiz-option{display:flex;align-items:center;text-align:left;gap:13px;background:var(--bg);color:var(--ink);border:1px solid var(--border);border-radius:10px;padding:12px 15px;font-weight:600;font-size:13px}.quiz-option:hover:not(:disabled){border-color:var(--accent)}.quiz-option.correct{border-color:var(--olive);background:var(--olive-light)}.quiz-option.incorrect{border-color:var(--accent);background:var(--accent-pale)}.quiz-letter{background:var(--surface2);color:var(--accent);height:34px;min-width:34px;display:grid;place-items:center;border-radius:7px}.quiz-feedback{background:var(--olive-light);padding:21px;border-radius:11px;margin-top:19px}.quiz-feedback p,.quiz-hint{font-size:13px;color:var(--muted)}.quiz-feedback .button{margin-top:17px}.quiz-score{font-family:'DM Serif Display',Georgia,serif;font-size:90px;color:var(--accent)}.quiz-score span{font-size:35px;color:var(--muted)}.quiz-actions{display:flex;gap:11px;margin-top:24px}.roadmap-list{border:1px solid var(--border);border-radius:14px;overflow:hidden;background:var(--surface)}.roadmap-item{display:grid;grid-template-columns:70px 1fr 205px;gap:20px;align-items:center;padding:23px;border-bottom:1px solid var(--border)}.roadmap-item:last-child{border-bottom:0}.roadmap-item>span{color:var(--accent);font-family:'DM Serif Display',Georgia,serif;font-size:30px}.roadmap-item h3{font-size:18px;font-family:'DM Sans',sans-serif;font-weight:700;margin:0}.roadmap-item p,.roadmap-item small{font-size:12px;color:var(--muted);margin:7px 0 0}.roadmap-item small{text-align:right}.empty-state,.empty-route{padding:40px;color:var(--muted);background:var(--surface);border-radius:12px}.search-overlay{position:fixed;inset:0;z-index:100;display:flex;align-items:flex-start;justify-content:center;padding:12vh 20px}.search-backdrop{position:absolute;inset:0;background:rgba(25,25,24,.72);border:0;border-radius:0}.search-dialog{position:relative;z-index:1;width:min(700px,100%);background:var(--surface);border:1px solid var(--border);border-radius:16px;box-shadow:0 24px 70px rgba(0,0,0,.24);padding:25px}.dialog-top{display:flex;justify-content:space-between;align-items:center}.dialog-top h2{font-size:27px;margin:0}.close-button{border:0;background:var(--surface2);color:var(--ink);border-radius:8px;width:34px;height:34px;font-size:23px}.dialog-search{display:flex;gap:9px;align-items:center;border:1px solid var(--border);border-radius:9px;padding:0 14px;margin:20px 0}.dialog-search>span{font-size:25px;color:var(--accent)}.dialog-search input{flex:1;min-width:0;border:0;outline:0;color:var(--ink);background:transparent;padding:16px 0}.search-results{max-height:48vh;overflow:auto}.search-result{display:grid;grid-template-columns:1fr auto;gap:0;padding:13px;border-bottom:1px solid var(--border)}.search-result:hover{background:var(--surface2)}.search-result span{font-size:10px;color:var(--accent)}.search-result strong{grid-column:1;font-size:13px}.search-result b{grid-column:2;grid-row:1/3;color:var(--accent)}.search-tip{font-size:11px;color:var(--muted);margin:16px 0 0}
@media (min-width:1450px){.page-wrap{padding-left:0;padding-right:0}}
@media (max-width:1210px){.header-inner{padding:0 24px;gap:15px}.desktop-nav a{padding:9px 8px;font-size:12px}.brand-text{font-size:16px}.hero-copy{max-width:63%}.hero-image{left:32%}.supplement-grid,.source-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:980px){.desktop-nav{display:none}.header-inner{height:70px}.header-actions{margin-left:auto}.menu-button{display:grid}.mobile-drawer:not([hidden]){display:grid;position:absolute;top:70px;left:0;right:0;padding:15px 28px;background:var(--surface);box-shadow:0 12px 30px rgba(0,0,0,.12);grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.mobile-drawer a{padding:12px;border-radius:9px;background:var(--surface2);font-size:13px;font-weight:700}.page-wrap{padding:21px 22px 70px}.hero-copy{padding:50px 32px;max-width:72%}.hero h1{font-size:58px}.feature-card{padding:20px}.feature-card h3{font-size:26px}.article-shell{grid-template-columns:200px minmax(0,1fr);gap:25px}.explorer-layout{grid-template-columns:270px minmax(0,1fr)}.food-grid{grid-template-columns:1fr}.fasting-layout{grid-template-columns:1fr}.fasting-aside{display:block}}
@media (max-width:700px){html{scroll-padding-top:75px}.site-header{top:0}.header-inner{height:63px;padding:0 16px}.brand-icon{height:36px;width:36px;font-size:25px;border-radius:10px 4px}.brand-text{font-size:15px}.brand-text small{font-size:7px;letter-spacing:.15em;margin-top:5px}.icon-button{height:36px;width:34px}.header-actions{gap:0}.mobile-drawer:not([hidden]){top:63px;padding:12px 15px;grid-template-columns:1fr;max-height:calc(100vh - 140px);overflow:auto}.mobile-tabbar{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));position:fixed;z-index:45;bottom:0;left:0;right:0;border-top:1px solid var(--border);background:var(--surface);padding:6px 4px max(9px,env(safe-area-inset-bottom));box-shadow:0 -5px 25px rgba(0,0,0,.07)}.mobile-tabbar a{text-align:center;display:flex;flex-direction:column;gap:2px;justify-content:center;align-items:center;font-size:10px;font-weight:700;color:var(--muted);padding:5px 0}.mobile-tabbar a span{font-size:22px;line-height:1.15}.mobile-tabbar a.active{color:var(--accent)}.page-wrap{padding:12px 15px 100px}.hero{min-height:635px;display:block;border-radius:14px}.hero:after{background:linear-gradient(0deg,#342d27 0%,rgba(52,45,39,.96) 30%,rgba(52,45,39,.38) 72%,rgba(52,45,39,.09) 100%)}.hero-image{inset:0 0 auto;height:315px;background-position:center}.hero-copy{display:flex;flex-direction:column;justify-content:flex-end;max-width:none;min-height:635px;padding:32px 24px 35px}.hero-copy h1{font-size:clamp(41px,11.3vw,56px);margin-bottom:10px}.hero-lead{font-size:14px;line-height:1.62}.hero-actions{margin:20px 0}.hero-actions .button{padding:12px 15px;gap:10px}.hero-highlights{gap:10px;font-size:10px}.notice-bar{align-items:flex-start;padding:13px 15px;font-size:11px;line-height:1.55;flex-wrap:wrap}.notice-bar a{margin-left:32px}.home-section{margin-top:42px}.section-row{align-items:flex-start}.section-row h2,.home-section h2{font-size:32px}.section-row p,.home-section p{font-size:13px}.feature-grid,.chapter-grid,.supplement-grid,.source-grid{grid-template-columns:1fr}.feature-card{min-height:170px;padding:23px}.feature-card h3{font-size:29px;margin:26px 0 7px}.feature-card p{font-size:12px}.kitchen-promo{grid-template-columns:1fr}.promo-photo{min-height:212px}.promo-content{padding:30px 25px}.promo-content h2{font-size:33px}.chapter-card,.chapter-card.compact{min-height:176px}.chapter-card h3{font-size:25px;margin:16px 0 8px}.progress-panel{display:block;padding:25px}.progress-right{margin-top:22px;max-width:none}.next-panel{display:block;padding:25px}.next-panel .button{margin-top:20px}.footer{padding:35px 20px 110px}.footer-top{grid-template-columns:repeat(2,1fr);gap:25px}.footer-top>div:first-child{grid-column:1/-1}.footer-bottom{flex-direction:column;font-size:10px}.page-intro{margin:27px 4px 25px}.section-title h1{font-size:clamp(38px,10vw,49px)}.section-title>p{font-size:14px}.learning-meta{font-size:10px}.article-shell{display:block;margin:24px 0}.article-aside{position:static;margin-bottom:22px}.article-aside .aside-card{display:none}.article-hero h1{font-size:43px}.article-deck{font-size:17px}.article-tags{gap:7px;font-size:10px}.article-section h2{font-size:28px}.article-section p{font-size:15px;line-height:1.78}.takeaway{padding:22px}.takeaway p{font-size:23px}.explorer-layout{grid-template-columns:1fr;gap:17px}.explorer-sidebar{position:static;padding:19px}.style-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.style-choice{padding:12px}.style-choice small{font-size:10px}.selection-summary{padding:22px}.selection-summary h2{font-size:29px}.food-grid{grid-template-columns:1fr}.filter-bar{flex-wrap:wrap}.filter-select{min-width:130px}.search-field{flex-basis:60%}.supp-card{padding:22px}.fasting-main,.fasting-aside{padding:20px}.fasting-selection{grid-template-columns:1fr;gap:24px}.clock-art{margin:auto;width:180px;height:180px}.evidence-top{grid-template-columns:1fr;padding:24px;gap:18px}.evidence-top h2{font-size:31px}.quiz-shell{padding:25px 19px;margin:25px auto;min-height:380px}.quiz-shell h1{font-size:30px}.roadmap-item{grid-template-columns:50px 1fr;gap:13px;padding:18px}.roadmap-item small{grid-column:2;text-align:left}.search-overlay{padding:10vh 13px}.search-dialog{padding:17px}.dialog-top h2{font-size:24px}}
@media (max-width:380px){.brand-text{font-size:13px}.brand-icon{height:34px;width:34px}.header-actions .theme-toggle{display:none}.hero-copy{padding:29px 19px}.hero-actions{display:grid;grid-template-columns:1fr}.hero-copy h1{font-size:40px}.filter-bar{display:block}.filter-select{margin-top:10px}.style-options{grid-template-columns:1fr}.mobile-tabbar a{font-size:9px}}
@media (prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}

/* Explicit QA preview identification */
.preview-notice{display:flex;gap:7px;justify-content:center;align-items:center;flex-wrap:wrap;text-align:center;background:var(--olive-light);color:var(--ink);font-size:11px;padding:8px 16px;border-bottom:1px solid var(--border)}.preview-notice strong{color:var(--accent);letter-spacing:.08em;font-size:10px}.preview-notice a{color:var(--accent);text-decoration:underline;text-underline-offset:2px;font-weight:700}@media(max-width:700px){.preview-notice{font-size:10px;padding:7px 10px;line-height:1.5}}
