/*
Theme Name: Microdose School Funnel
Theme URI: https://microdose.school
Author: DoseWell
Description: Lightweight, mobile-first landing page for Microdose School. Checkout handled by Stan Store.
Version: 7.7.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: microdose-school
*/
:root{--ink:#17342d;--muted:#53655f;--cream:#f7f5ec;--lime:#d6ec9c;--forest:#173e32;--line:#dbe2d7;--white:#fff;--gold:#f1ce79}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--cream);color:var(--ink);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;line-height:1.55}a{color:inherit}button{font:inherit}.wrap{max-width:1120px;margin:auto;padding:0 24px}.top{padding:19px 0;border-bottom:1px solid var(--line)}.top .wrap{display:flex;align-items:center;justify-content:space-between;gap:18px}.logo{font-weight:850;letter-spacing:-.06em;font-size:23px;text-decoration:none}.logo span{color:#5d8761}.top-note{font-size:13px;color:var(--muted)}.hero{padding:86px 0 90px;overflow:hidden}.hero-grid{display:grid;grid-template-columns:1.12fr .88fr;align-items:center;gap:72px}.eyebrow{display:inline-flex;align-items:center;gap:9px;text-transform:uppercase;letter-spacing:.14em;font-size:12px;font-weight:800;color:#507253}.dot{width:9px;height:9px;border-radius:50%;background:#84a65a}h1,h2,h3,p{margin-top:0}h1{font-size:clamp(46px,6vw,82px);line-height:1.02;letter-spacing:-.075em;margin:20px 0 24px}h1 em{font-style:normal;color:#6c956b}h2{font-size:clamp(32px,4.3vw,54px);line-height:1.09;letter-spacing:-.055em;margin:14px 0 19px}h3{font-size:21px;letter-spacing:-.035em;margin-bottom:10px}.lead{font-size:19px;max-width:570px;color:#425a51;line-height:1.7}.button{display:inline-flex;align-items:center;justify-content:center;gap:14px;background:var(--forest);color:#fff;padding:17px 25px;border-radius:12px;text-decoration:none;font-weight:800;box-shadow:0 7px 0 #0f2d24;transition:transform .2s,box-shadow .2s}.button:hover,.button:focus-visible{transform:translateY(3px);box-shadow:0 4px 0 #0f2d24}.button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid #91b95f;outline-offset:4px}.button.light{background:var(--lime);color:var(--ink);box-shadow:0 7px 0 #9cb16b}.button.light:hover{box-shadow:0 4px 0 #9cb16b}.action{display:flex;flex-wrap:wrap;gap:18px;align-items:center;margin-top:30px}.micro{color:var(--muted);font-size:13px}.hero-art{background:var(--forest);border-radius:28px;min-height:500px;position:relative;display:flex;align-items:center;justify-content:center;padding:34px;box-shadow:22px 22px 0 #e1e8d5}.orb{width:290px;height:290px;border:1px solid #a2cda1;border-radius:50%;display:flex;align-items:center;justify-content:center;position:relative;background:radial-gradient(circle at 35% 25%,#567b5b,#254a3b 64%)}.orb:before,.orb:after{content:'';position:absolute;border:1px solid #70967d;border-radius:50%;inset:22px}.orb:after{inset:48px}.hero-symbol{font-size:112px;z-index:1;filter:grayscale(.35)}.art-label{position:absolute;top:25px;left:30px;color:#e4efcf;font-size:12px;letter-spacing:.15em;text-transform:uppercase}.art-foot{position:absolute;bottom:24px;left:30px;right:30px;color:#d7e7d5;font-size:14px;border-top:1px solid #60806d;padding-top:17px;display:flex;justify-content:space-between}.band{background:#e6edda;border-top:1px solid #d6e0cd;border-bottom:1px solid #d6e0cd;padding:23px 0}.band-inner{display:flex;justify-content:center;gap:42px;flex-wrap:wrap;font-size:14px;font-weight:750}.band-inner span:before{content:'✓';margin-right:9px;color:#537b45}.section{padding:105px 0}.section.alt{background:#fff}.section-heading{max-width:710px;margin-bottom:45px}.section-heading p,.copy{color:var(--muted);font-size:17px}.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.card{background:#fff;border:1px solid var(--line);border-radius:20px;padding:31px}.alt .card{background:var(--cream)}.num{font-size:13px;font-weight:800;color:#6d9064;letter-spacing:.12em;margin-bottom:38px}.card p{color:var(--muted);margin-bottom:0}.split{display:grid;grid-template-columns:1fr 1fr;gap:85px;align-items:center}.quote{background:var(--lime);border-radius:25px;padding:52px 46px;position:relative}.quote .mark{font-size:64px;line-height:1;color:#52794c}.quote p{font-size:clamp(25px,3vw,36px);line-height:1.25;letter-spacing:-.05em;font-weight:800;margin:15px 0}.quote small{font-size:13px}.checklist{padding:0;list-style:none}.checklist li{padding:15px 0 15px 34px;border-bottom:1px solid var(--line);position:relative}.checklist li:before{content:'✓';position:absolute;left:0;font-weight:900;color:#638c52}.price-box{background:var(--forest);color:#fff;border-radius:28px;padding:65px 40px;text-align:center;max-width:780px;margin:auto}.price-box h2{margin-bottom:14px}.price{font-size:90px;letter-spacing:-.09em;font-weight:850;line-height:1;margin:26px 0}.price-box .micro{color:#d0e1d5}.price-box .button{min-width:265px}.faq{max-width:810px;margin:auto}.faq h2{text-align:center;margin-bottom:35px}details{border-bottom:1px solid var(--line);padding:20px 0}summary{cursor:pointer;font-weight:800;list-style:none;display:flex;justify-content:space-between;gap:18px}summary::-webkit-details-marker{display:none}summary:after{content:'+';font-size:24px;font-weight:400;line-height:1}details[open] summary:after{content:'−'}details p{color:var(--muted);margin:13px 0 2px}.footer{padding:35px 0 110px;border-top:1px solid var(--line);font-size:13px;color:var(--muted)}.footer .wrap{display:flex;justify-content:space-between;gap:24px;flex-wrap:wrap}.footer a{margin-left:16px}.sticky{display:none}.fine{font-size:13px;color:var(--muted);line-height:1.6;margin-top:20px}.pill{display:inline-block;border:1px solid #bdd1b7;border-radius:100px;padding:6px 12px;font-size:12px;font-weight:800;margin-bottom:12px}@media(max-width:800px){.hero{padding:55px 0 65px}.hero-grid,.split{grid-template-columns:1fr;gap:35px}.hero-art{min-height:350px;box-shadow:12px 12px 0 #e1e8d5}.orb{width:220px;height:220px}.hero-symbol{font-size:80px}.section{padding:70px 0}.cards{grid-template-columns:1fr}.card{padding:25px}.num{margin-bottom:20px}.quote{padding:32px}.price-box{padding:45px 25px}.band-inner{justify-content:flex-start;gap:13px 22px}.top-note{display:none}.sticky{display:flex;position:fixed;z-index:20;bottom:0;left:0;right:0;align-items:center;justify-content:space-between;gap:10px;padding:11px 17px;background:#fff;box-shadow:0 -5px 22px #17342d22}.sticky .button{padding:12px 17px;box-shadow:none;font-size:14px}.sticky strong{font-size:14px}.sticky small{display:block;color:var(--muted);font-size:11px}.footer{padding-bottom:110px}h1{font-size:clamp(44px,11vw,67px)}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.button{transition:none}}

/* V2: authentic course imagery */
.hero-video-wrap{position:relative;overflow:hidden;border-radius:20px;background:#143d30;box-shadow:12px 12px 0 #e2ead6;align-self:center}
.hero-video{display:block;width:100%;height:auto;aspect-ratio:16/10;object-fit:cover}
.hero-video-caption{position:absolute;bottom:0;left:0;right:0;padding:22px 18px 13px;color:#fff;font-size:12px;letter-spacing:.04em;background:linear-gradient(transparent,rgba(0,0,0,.72))}
.story-photo{margin:0;align-self:center;border-radius:18px;overflow:hidden;background:#10241f}
.story-photo img{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:cover}
.story-photo figcaption{padding:12px 16px;color:#dbe8db;font-size:12px}
@media(max-width:720px){.hero-video-wrap{margin-top:8px}.hero-video{aspect-ratio:4/3;object-position:center}.story-photo{margin-top:10px}}

/* V5 curriculum and offer */
.module-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.module{margin:0;padding:0 22px;border:1px solid var(--line);border-radius:16px;background:#fff}.module summary{align-items:center;padding:20px 0;font-size:17px;justify-content:flex-start}.module summary:after{margin-left:auto}.module p{padding:0 0 20px 41px;margin:0;font-size:15px;line-height:1.65}.module-n{color:#668c60;font-size:13px;font-weight:850;min-width:27px}.course-includes{margin-top:28px;font-size:16px;color:var(--muted)}.offer-card{background:#e6edda;border-radius:22px;padding:42px}.offer-card p{font-size:22px;line-height:1.5;font-weight:650;margin:18px 0 26px}.signup-panel{background:#e6edda;border-radius:24px;padding:52px;max-width:800px;margin:auto;text-align:center}.signup-panel p{color:var(--muted);font-size:17px}.signup-panel .micro{font-size:12px;margin:18px 0 0}@media(max-width:800px){.module-grid{grid-template-columns:1fr}.offer-card{padding:28px}.signup-panel{padding:35px 24px}.module summary{font-size:16px}}

/* V6: prominent eBook and accessible sample-page viewer */
.ebook-section{background:#e9eee3;padding:80px 0}.ebook-grid{display:grid;grid-template-columns:minmax(230px,.8fr) 1.2fr;align-items:center;gap:90px}.ebook-art{display:flex;justify-content:center}.ebook-cover-button{cursor:pointer;border:0;background:none;padding:0;position:relative;width:min(100%,320px);text-align:center;filter:drop-shadow(12px 15px 12px #17342d33)}.ebook-cover-button img{display:block;width:100%;height:auto;border-radius:7px}.ebook-tap{position:absolute;bottom:16px;left:15px;right:15px;border-radius:9px;background:#e8f0e9;color:#17342d;padding:11px;font-size:14px;font-weight:800}.ebook-copy .preview-button{border:1px solid #6e967c;border-radius:10px;background:transparent;color:#173e32;font-weight:800;cursor:pointer;padding:12px 16px}.ebook-copy .action{margin-top:25px}.ebook-dialog[hidden]{display:none}.ebook-dialog{position:fixed;z-index:1000;inset:0;background:rgba(7,23,18,.89);padding:12px;display:flex;align-items:center;justify-content:center}.ebook-dialog-panel{width:min(100%,760px);max-height:calc(100dvh - 24px);display:flex;flex-direction:column;background:#f7f5ec;border-radius:16px;overflow:hidden}.ebook-dialog-top{display:flex;align-items:center;justify-content:space-between;padding:10px 18px;gap:10px}.ebook-close{border:0;background:transparent;font-size:34px;line-height:1;cursor:pointer;color:#17342d}.ebook-view{min-height:0;flex:1;display:flex;align-items:center;justify-content:center;gap:8px;padding:0 8px}.ebook-view img{display:block;min-width:0;max-width:calc(100% - 88px);max-height:calc(100dvh - 195px);object-fit:contain;box-shadow:0 2px 12px #0002}.ebook-nav{flex:0 0 36px;height:50px;border:0;border-radius:8px;background:#dce7d9;color:#17342d;font-size:34px;cursor:pointer}.ebook-dialog-bottom{display:flex;align-items:center;justify-content:center;gap:15px;flex-wrap:wrap;padding:12px 16px}.ebook-dialog-bottom .button{box-shadow:none;padding:11px 16px;font-size:14px}.ebook-swipe{font-size:12px;color:#53655f}body.ebook-modal-open{overflow:hidden}@media(max-width:800px){.ebook-section{padding:60px 0}.ebook-grid{grid-template-columns:1fr;gap:32px}.ebook-cover-button{width:min(68%,265px)}.ebook-dialog-bottom{gap:9px}.ebook-dialog-bottom .button{width:100%}.ebook-view img{max-height:calc(100dvh - 225px)}}

/* V7 — forest charcoal, mycelium cream, moss green; dark throughout */
:root{--ink:#eee8db;--muted:#b9bcb0;--cream:#24251f;--lime:#b9cba2;--forest:#385844;--line:#474c40;--white:#2b2e27;--gold:#d9cbb5}
body{background:var(--cream);color:var(--ink)}
.top{background:#22241e}.logo span{color:#9eb991}.eyebrow{color:#b2c89e}.dot{background:#94ae79}
h1 em{color:#a9c498}.lead{color:#d3d4c8}.button{background:#456e52;color:#fff;box-shadow:0 6px 0 #1a3424}.button:hover,.button:focus-visible{box-shadow:0 3px 0 #1a3424}.button.light{background:#d9cbb5;color:#22251f;box-shadow:0 6px 0 #968a75}.button.light:hover{box-shadow:0 3px 0 #968a75}
.band{background:#2d3229;border-color:#485142}.band-inner span:before{color:#a3c48c}
.section.alt{background:#292d26}.card,.alt .card,.module{background:#30352d;border-color:var(--line)}.num,.module-n{color:#b0c997}.quote{background:#354334;color:#f0eee5}.quote .mark{color:#b5cf9d}
.offer-card,.signup-panel{background:#343f33}.price-box{background:#303d32;color:#f5f1e9}.price-box .micro{color:#d0d8c9}
.hero-video-wrap{background:#161e18;box-shadow:12px 12px 0 #343e30}.story-photo{background:#171c17}.ebook-section{background:#2c332a}.ebook-cover-button{filter:drop-shadow(12px 15px 12px #10161088)}.ebook-tap{background:#e8e1d2;color:#24251f}.ebook-copy .preview-button{border-color:#9cb38f;color:#e5efdb}.ebook-copy .preview-button:hover{background:#3d4b39}
.ebook-dialog-panel{background:#262b24;color:#f0eee5}.ebook-dialog{background:rgba(5,9,6,.94)}
.sticky{background:#242a23;box-shadow:0 -5px 22px #0006;border-top:1px solid #4c5748}.footer{background:#20221e}
.hero-art{box-shadow:22px 22px 0 #343e30}.pill{border-color:#657b5d}
.peek-section{padding-top:25px}.peek-section .section-heading{margin-bottom:25px}.peek-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;max-width:820px}.peek-grid figure{margin:0;background:#30352d;border:1px solid var(--line);border-radius:18px;padding:14px}.peek-grid img{display:block;width:100%;height:300px;object-fit:cover;object-position:top;border-radius:10px}.peek-grid figcaption{font-size:13px;color:var(--muted);padding:13px 3px 3px}
@media(max-width:720px){.peek-grid{grid-template-columns:1fr 1fr;gap:10px}.peek-grid figure{padding:7px;border-radius:12px}.peek-grid img{height:205px}.peek-grid figcaption{font-size:11px;padding:9px 2px 3px}.hero-video-wrap{box-shadow:9px 9px 0 #343e30}}

/* V7.1 mobile polish */
@media(max-width:800px){.hero{padding-top:55px}.lead{line-height:1.55}.sticky{transition:opacity .2s ease,visibility .2s ease}.sticky.is-hidden{opacity:0;visibility:hidden;pointer-events:none}}

/* V7.2: tighter wrapped lines within hero intro; preserve paragraph spacing */
.hero .lead{line-height:1.38}
.hero .lead strong{font-weight:800;color:inherit}

/* v7.5: compact wrapped lines; keep clear separation between the three thoughts. */
.hero .lead{line-height:1.23}
.hero .lead-line{display:block;margin:0 0 17px}
.hero .lead-line:last-child{margin-bottom:0}

/* V7.6: tap lesson screenshots to enlarge */
.peek-zoom{display:block;width:100%;padding:0;border:0;background:transparent;cursor:zoom-in;text-align:left;border-radius:10px}
.peek-zoom:focus-visible{outline:3px solid #b8d7ac;outline-offset:3px}
.peek-zoom img{width:100%}
.lesson-preview-dialog{position:fixed;inset:0;margin:auto;max-width:min(94vw,780px);max-height:94dvh;width:max-content;padding:0;border:0;background:transparent;color:#fff;overflow:visible}
.lesson-preview-dialog::backdrop{background:rgba(0,0,0,.88)}
.lesson-preview-inner{position:relative;max-height:94dvh;overflow:auto;border-radius:12px;background:#101010}
.lesson-preview-inner img{display:block;width:auto;max-width:100%;height:auto;max-height:none;margin:auto}
.lesson-preview-close{position:sticky;top:8px;float:right;margin:8px 8px -52px 0;z-index:2;width:44px;height:44px;border:1px solid #777;border-radius:50%;background:#222;color:#fff;font-size:30px;line-height:1;cursor:pointer}
