/* Fonts use system fallbacks so the app works without internet. */
:root{--forest:#132f28;--forest2:#1c4135;--gold:#c2a269;--gold-bright:#e9d29c;--cream:#fbf9f4;--paper:#fffefa;--ink:#24332d;--muted:#76827b;--line:#e7e8df;--soft:#f1f3ed;--radius:22px;--shadow:0 14px 45px rgba(25,48,37,.08)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--cream);color:var(--ink);font-family:'DM Sans',system-ui,-apple-system,'Segoe UI',sans-serif;font-size:15px;-webkit-font-smoothing:antialiased}button,input,textarea{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.45}a{color:inherit}.app-shell{min-height:100vh;display:flex}.sidebar{width:268px;position:fixed;inset:0 auto 0 0;background:var(--forest);color:#eff4ec;display:flex;flex-direction:column;padding:30px 19px;z-index:20}.brand{display:flex;gap:13px;align-items:center;padding:5px 13px 37px}.brand-mark{width:42px;height:42px;display:grid;place-items:center;border:1px solid #a38c5b;border-radius:14px;color:#d8bc85;font-family:Georgia,serif;font-size:25px}.brand strong{display:block;letter-spacing:.15em;font-weight:700;font-size:16px}.brand small{font-size:10px;color:#c9cdbf;letter-spacing:.12em}.nav-label{padding:12px 13px;color:#9ab1a5;font-size:10px;text-transform:uppercase;letter-spacing:.18em}.nav-item{border:0;background:transparent;color:#c8d7ce;display:flex;align-items:center;gap:14px;width:100%;padding:15px 16px;border-radius:13px;text-align:left;font-weight:600;margin-bottom:5px}.nav-item.active{background:#2a5143;color:#f5e4c0}.nav-item:hover:not(.active){background:#204136}.nav-item svg,.mobile-nav svg{width:19px;height:19px;flex:none}.sidebar-foot{margin-top:auto;border-top:1px solid #34584a;padding:23px 12px 0;color:#b7cabb;font-size:12px;line-height:1.6}.sidebar-foot strong{color:#e0c38a;display:block}.main{width:calc(100% - 268px);margin-left:268px;min-height:100vh}.topbar{display:flex;align-items:center;justify-content:space-between;padding:29px 52px 18px;max-width:1400px;margin:auto;gap:15px}.eyebrow{font-weight:800;letter-spacing:.16em;font-size:10px;color:#9a8a65;text-transform:uppercase}.topbar .location-label{color:var(--muted);font-size:13px}.topbar-right{display:flex;gap:12px;align-items:center}.streak-pill{background:#f0e9d8;color:#8e6f34;padding:9px 14px;border-radius:99px;font-size:12px;font-weight:700}.avatar{height:41px;width:41px;border-radius:50%;display:grid;place-items:center;background:#d9e1d7;color:#274b3c;font-weight:700;border:2px solid white}.content{max-width:1280px;margin:auto;padding:14px 52px 95px}.page-title{font-family:'Fraunces',Georgia,serif;font-size:clamp(31px,3.3vw,43px);font-weight:600;letter-spacing:-.035em;margin:9px 0 9px;line-height:1.18}.page-intro{margin:0 0 31px;color:#738079;line-height:1.75}.hero{border-radius:26px;overflow:hidden;background:linear-gradient(110deg,#153b30 0%,#1b4233 54%,#3b5841 100%);color:#fff;display:grid;grid-template-columns:1.14fr .86fr;min-height:350px;position:relative;box-shadow:var(--shadow)}.hero-copy{padding:44px 22px 42px 44px;position:relative;z-index:2;align-self:center}.hero-tag{color:#dbba81;letter-spacing:.16em;font-size:11px;font-weight:800}.hero h2{font-family:'Fraunces',Georgia,serif;font-weight:600;letter-spacing:-.03em;font-size:clamp(30px,3vw,44px);line-height:1.18;margin:15px 0}.hero p{color:#c9dcd0;line-height:1.7;max-width:465px;margin:0 0 23px}.hero-actions{display:flex;gap:11px;flex-wrap:wrap}.primary-btn,.secondary-btn,.outline-btn{display:inline-flex;align-items:center;justify-content:center;gap:9px;border:0;border-radius:12px;padding:14px 20px;font-weight:800;font-size:13px;transition:transform .15s,filter .15s;white-space:nowrap}.primary-btn{background:#d9bc7e;color:#19382f}.secondary-btn{background:var(--forest);color:#fff}.outline-btn{background:transparent;color:inherit;border:1px solid currentColor}.primary-btn:hover,.secondary-btn:hover{filter:brightness(1.055);transform:translateY(-1px)}.hero-art{position:relative;min-height:350px;background:radial-gradient(circle at 70% 27%,#f2daa5 0,#cdad78 7%,rgba(223,185,118,.23) 17%,transparent 41%),linear-gradient(160deg,rgba(190,161,108,.1),transparent 52%)}.hero-art::before{content:'';position:absolute;inset:auto -15% -5% -30%;height:45%;background:#0b302a;clip-path:polygon(0% 70%,16% 46%,29% 66%,44% 39%,60% 67%,75% 38%,100% 62%,100% 100%,0% 100%)}.hero-art::after{content:'';position:absolute;inset:auto -20% -3% -20%;height:32%;background:#1d4638;clip-path:polygon(0% 63%,20% 34%,42% 75%,57% 41%,77% 80%,100% 32%,100% 100%,0% 100%);opacity:.85}.hero-sun{position:absolute;top:26%;left:53%;font-size:64px;transform:translate(-50%,-50%);color:#f4dba5;text-shadow:0 0 45px #efc67b}.hero-scripture{position:absolute;z-index:2;bottom:29px;right:32px;color:#f7e9cf;text-align:right;font-family:Georgia,serif;font-style:italic;font-size:16px;max-width:205px;line-height:1.6}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin:22px 0 41px}.stat{background:var(--paper);border:1px solid var(--line);border-radius:18px;padding:20px 22px;display:flex;gap:16px;align-items:center}.stat-icon{width:45px;height:45px;display:grid;place-items:center;border-radius:14px;background:#f4f0e7;color:#9d7942;font-size:23px}.stat-number{font-size:24px;font-weight:800;line-height:1.1}.stat-caption{font-size:11px;color:var(--muted);margin-top:4px}.section-head{display:flex;align-items:end;justify-content:space-between;gap:16px;margin:24px 0 18px}.section-head h3{font-family:'Fraunces',Georgia,serif;font-size:25px;letter-spacing:-.03em;font-weight:600;margin:0}.section-head p{color:var(--muted);margin:5px 0 0;font-size:13px}.text-link{background:transparent;border:0;color:#8d6e38;font-size:12px;font-weight:800;white-space:nowrap}.lesson-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px}.lesson-card{border:1px solid var(--line);background:var(--paper);border-radius:19px;overflow:hidden;transition:transform .15s,box-shadow .15s;display:flex;flex-direction:column}.lesson-card:hover{transform:translateY(-2px);box-shadow:var(--shadow)}.lesson-cover{height:127px;position:relative;overflow:hidden;background:linear-gradient(145deg,#668578,#324f41)}.lesson-cover::before{content:'';position:absolute;border-radius:50%;width:150px;height:150px;background:rgba(234,210,157,.63);filter:blur(3px);left:58%;top:17%}.lesson-cover::after{content:'';position:absolute;inset:auto -10% -14% -10%;height:75%;background:rgba(22,56,46,.72);clip-path:polygon(0 69%,16% 35%,30% 55%,48% 16%,66% 65%,81% 37%,100% 56%,100% 100%,0 100%)}.lesson-cover.mountain{background:linear-gradient(145deg,#d6c09f,#647b80)}.lesson-cover.path{background:linear-gradient(145deg,#a9ae95,#39594a)}.lesson-cover.olive{background:linear-gradient(145deg,#b7b997,#667b65)}.lesson-cover.hands{background:linear-gradient(145deg,#ca9a80,#886d67)}.lesson-cover.lake{background:linear-gradient(145deg,#a1c1c4,#426e73)}.lesson-cover.forest{background:linear-gradient(145deg,#88a091,#1d4c45)}.cover-symbol{position:absolute;z-index:2;left:19px;bottom:16px;color:#fff9e9;font-size:18px}.card-top{padding:21px 21px 9px;display:flex;justify-content:space-between;align-items:center;gap:8px}.tag{border-radius:6px;color:#8b7046;background:#f5f0e6;padding:5px 8px;font-size:10px;font-weight:800}.small-muted{font-size:11px;color:var(--muted)}.lesson-card h4{font-family:'Fraunces',Georgia,serif;font-size:21px;margin:8px 21px 6px;letter-spacing:-.02em;font-weight:600}.lesson-card p{font-size:12px;color:#78827b;line-height:1.6;margin:0 21px 22px;min-height:37px}.card-bottom{display:flex;align-items:center;justify-content:space-between;padding:13px 21px 18px;border-top:1px solid var(--line);margin-top:auto;gap:10px}.card-bottom span{font-size:11px;color:var(--muted)}.card-bottom button{border:0;background:transparent;color:#987540;font-size:12px;font-weight:800}.track-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px}.track{background:var(--paper);border:1px solid var(--line);border-radius:18px;padding:23px;display:flex;flex-direction:column;min-height:210px}.track-ico{height:47px;width:47px;border-radius:14px;display:grid;place-items:center;font-size:24px;background:#e5ebe2;margin-bottom:19px}.track.sand .track-ico{background:#f4e9d6}.track.rose .track-ico{background:#f1e0de}.track h4{font-family:'Fraunces',Georgia,serif;margin:0 0 7px;font-size:20px;font-weight:600}.track p{font-size:12px;color:var(--muted);line-height:1.6;margin:0 0 19px}.track .track-foot{margin-top:auto;display:flex;align-items:center;justify-content:space-between;color:#8d7045;font-size:11px;font-weight:800}.progress-track{height:6px;background:#ebeee5;border-radius:12px;overflow:hidden;margin-top:11px}.progress-fill{height:100%;background:#c2a269;border-radius:12px}.search-box{background:#fff;border:1px solid var(--line);padding:12px 15px;border-radius:12px;display:flex;align-items:center;gap:10px;max-width:460px;margin-bottom:25px}.search-box input{outline:0;border:0;background:transparent;width:100%;color:var(--ink)}.search-box input::placeholder{color:#9ba49a}.filter-row{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:22px}.filter-chip{background:#fff;border:1px solid #e0e5db;border-radius:100px;padding:9px 14px;font-size:12px;color:#6c766e}.filter-chip.active{background:var(--forest);border-color:var(--forest);color:#fff}.empty-state{background:#fff;border-radius:18px;padding:50px 25px;text-align:center;border:1px dashed #dfe3d7;color:#748075}.empty-state h3{color:#264335}.big-panel{background:var(--paper);border:1px solid var(--line);border-radius:21px;padding:29px;margin-bottom:24px}.big-panel h3{font-family:'Fraunces',Georgia,serif;font-size:25px;margin:0 0 10px}.big-panel p{line-height:1.7;color:var(--muted);max-width:800px}.activity-list{list-style:none;padding:0;margin:0}.activity-list li{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line);padding:16px 0;gap:12px}.activity-list li:last-child{border-bottom:0}.activity-list strong{font-size:14px}.activity-list small{display:block;margin-top:5px;color:var(--muted)}.good-icon{background:#e7eee8;color:#3e7453;width:36px;height:36px;border-radius:50%;display:grid;place-items:center;flex:none}.activity-main{display:flex;align-items:center;gap:12px}.reader-back{border:0;background:transparent;color:#6f7d74;padding:7px 0;margin-bottom:17px;font-weight:700}.reader-hero{background:var(--forest);color:#fff;border-radius:24px;padding:37px 39px 32px;position:relative;overflow:hidden}.reader-hero::after{content:'✦';position:absolute;right:10%;top:-24px;font-size:190px;color:#d6be8d;opacity:.09;font-family:Georgia,serif}.reader-hero h1{font-family:'Fraunces',Georgia,serif;font-weight:600;font-size:clamp(33px,4vw,48px);letter-spacing:-.03em;margin:13px 0}.reader-hero p{color:#bdd1c3;max-width:600px;line-height:1.65}.reader-hero .reader-meta{display:flex;gap:16px;flex-wrap:wrap;color:#dbc38d;font-size:12px;font-weight:700}.reader-toolbar{display:flex;justify-content:space-between;gap:10px;align-items:center;margin:18px 0 22px}.stepper{display:flex;gap:8px;flex-wrap:wrap}.step-btn{border:1px solid #e3e6df;background:#fff;color:#7f8980;padding:11px 13px;border-radius:10px;font-size:12px;font-weight:800}.step-btn.active{color:#fff;background:var(--forest);border-color:var(--forest)}.icon-btn{border:1px solid var(--line);border-radius:12px;background:#fff;padding:11px 13px;display:inline-flex;align-items:center;gap:6px;font-size:12px;color:#59695d;font-weight:700}.icon-btn.saved{background:#f8f1e0;border-color:#e8d9ad;color:#95723d}.reading-panel{background:#fffefa;border:1px solid var(--line);border-radius:22px;padding:38px;min-height:350px}.reading-panel h2{font-family:'Fraunces',Georgia,serif;font-weight:600;font-size:30px;letter-spacing:-.025em;margin:13px 0 19px}.reading-panel p{line-height:1.94;font-size:16px;color:#4a574e;max-width:770px}.verse-box{border-left:3px solid var(--gold);background:#f8f5ed;border-radius:0 12px 12px 0;padding:20px 23px;margin:23px 0;max-width:800px}.verse-box strong{font-size:13px;color:#896d3e}.verse-box p{font-family:'Fraunces',Georgia,serif;color:#4c5b4f;font-size:19px;line-height:1.7;margin:9px 0 0}.reader-bottom{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:27px;flex-wrap:wrap}.quiz-option{display:block;width:100%;max-width:750px;background:#fff;border:1px solid #dfe6db;text-align:left;padding:17px 19px;border-radius:13px;margin:10px 0;color:#34483d}.quiz-option.selected{border:2px solid #c4a36b;background:#fcf7ed;padding:16px 18px}.quiz-option.correct{border:2px solid #72a786;background:#f0f7ef}.quiz-option.wrong{border:2px solid #d8a69c;background:#fff4f1}.feedback{padding:16px;border-radius:12px;background:#eef5eb;color:#42644b;max-width:750px;margin-top:18px;font-size:14px}.feedback.notyet{background:#fcf3e7;color:#826e4b}.note-input{display:block;width:100%;min-height:155px;border:1px solid #d8e0d5;border-radius:13px;background:#fff;padding:15px;resize:vertical;outline-color:#bd9a5b;color:var(--ink);font-size:15px;line-height:1.6;margin-top:14px}.saved-note{margin-top:14px;color:#66826a;font-size:13px}.toast{position:fixed;right:23px;bottom:26px;background:#214636;color:#fff;box-shadow:var(--shadow);border-radius:12px;padding:13px 18px;z-index:100;font-size:13px;max-width:350px}.toast.error{background:#773d39}.mobile-nav{display:none}.profile-card{max-width:650px}.profile-card label{display:block;font-size:12px;color:#667367;font-weight:700;margin-bottom:8px}.profile-card input{padding:14px;border-radius:12px;border:1px solid var(--line);width:100%;max-width:400px;background:#fff;color:var(--ink);margin-bottom:15px}.help-small{font-size:12px!important;color:#8a948e!important}.loading-shell{height:90vh;display:flex;align-items:center;justify-content:center;flex-direction:column;color:#486655}.start-logo{font-size:52px;color:#bda472}.loader{height:35px;width:35px;border-radius:50%;border:3px solid #e7e9df;border-top-color:#b9a16f;animation:spin 1s infinite linear}@keyframes spin{to{transform:rotate(360deg)}}
@media(max-width:1170px){.sidebar{width:220px}.main{width:calc(100% - 220px);margin-left:220px}.content{padding-left:27px;padding-right:27px}.topbar{padding-left:27px;padding-right:27px}.lesson-grid,.track-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.hero-copy{padding:34px}.hero-art{min-height:300px}}
@media(max-width:740px){.app-shell{display:block}.sidebar{display:none}.main{width:100%;margin:0}.topbar{padding:22px 21px 13px}.content{padding:7px 19px 115px}.topbar-right .streak-pill{display:none}.page-title{font-size:33px}.hero{grid-template-columns:1fr;min-height:unset}.hero-copy{padding:30px 26px 25px}.hero-art{min-height:155px;grid-row:2}.hero h2{font-size:36px}.hero-sun{top:22%;left:65%}.hero-scripture{bottom:15px;right:18px;font-size:13px}.stats{gap:9px;margin:16px 0 31px}.stat{padding:14px 10px;display:block;text-align:center}.stat-icon{display:none}.stat-number{font-size:22px}.stat-caption{font-size:10px}.lesson-grid,.track-grid{grid-template-columns:1fr}.lesson-cover{height:145px}.section-head h3{font-size:24px}.mobile-nav{display:flex;position:fixed;bottom:0;left:0;right:0;z-index:30;background:#fffefa;box-shadow:0 -8px 25px rgba(23,49,37,.09);padding:9px 8px calc(10px + env(safe-area-inset-bottom));justify-content:space-around;border-top:1px solid var(--line)}.mobile-nav button{background:transparent;border:0;color:#8e9a91;font-size:10px;font-weight:700;display:flex;align-items:center;flex-direction:column;gap:5px;min-width:55px}.mobile-nav button.active{color:#9b7940}.reader-hero{padding:26px}.reader-hero h1{font-size:34px}.reader-toolbar{flex-wrap:wrap}.stepper{width:100%;display:flex;flex-wrap:nowrap;overflow:auto}.step-btn{flex:1;padding:10px 8px;font-size:11px;white-space:nowrap}.reading-panel{padding:25px 22px}.reading-panel h2{font-size:27px}.reading-panel p{font-size:15px}.big-panel{padding:24px 20px}.toast{right:15px;bottom:90px;left:15px}.hero-actions .primary-btn{width:100%}}
@media(min-width:741px) and (max-width:900px){.hero{grid-template-columns:1fr}.hero-art{display:none}.stats{grid-template-columns:repeat(3,1fr)}.stat{display:block}}
@media(prefers-reduced-motion:reduce){*{animation-duration:.01ms!important;scroll-behavior:auto!important;transition-duration:.01ms!important}}
