:root{--navy:#142b4a;--navy-2:#213d60;--ink:#172033;--muted:#697386;--blue:#4d83b4;--sky:#e9f3fb;--cream:#fbf8f0;--paper:#fff;--line:#e6eaf0;--gold:#e6bd75;--purple:#8f72ef;--purple-dark:#7557d8;--lavender:#eee9ff;--green:#dff7e9;--green-ink:#20744d;--shadow:0 18px 55px rgba(23,36,57,.08);--radius:22px;--font:'Source Sans 3',ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:var(--font);color:var(--ink);background:#fff;line-height:1.65;-webkit-font-smoothing:antialiased}img{max-width:100%;display:block}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}button,a{ -webkit-tap-highlight-color:transparent}button{cursor:pointer}svg{display:inline-block;vertical-align:middle;max-width:100%}.container{width:min(1160px,calc(100% - 48px));margin-inline:auto}.skip-link{position:absolute;left:-999px;top:8px;background:#fff;padding:10px 14px;border-radius:8px;z-index:999}.skip-link:focus{left:12px}.site-header{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.92);backdrop-filter:blur(18px);border-bottom:1px solid rgba(230,234,240,.82)}.header-inner{height:82px;display:flex;align-items:center;justify-content:space-between;gap:26px}.brand{display:inline-flex;align-items:center;gap:11px;flex-shrink:0}.brand-mark{width:42px;height:42px;display:grid;place-items:center;border-radius:14px;background:var(--navy);color:#fff;font-size:14px;font-weight:850;letter-spacing:-.07em;box-shadow:0 6px 15px rgba(20,43,74,.15)}.brand-name,.brand-tag{display:block;line-height:1.2}.brand-name{font-size:17px;font-weight:800;letter-spacing:-.035em;color:var(--navy)}.brand-tag{font-size:10px;letter-spacing:.08em;text-transform:uppercase;color:#8490a1;margin-top:5px}.nav{display:flex;align-items:center;gap:27px}.nav>a{font-size:13px;font-weight:650;color:#525f72;transition:color .2s}.nav>a:hover,.nav>a[aria-current=page]{color:var(--navy)}.nav .nav-cta{background:var(--navy);color:white;padding:12px 17px;border-radius:12px;box-shadow:0 6px 15px #142b4a1c}.nav .nav-login{color:var(--navy);padding:10px 4px}.menu-toggle{display:none;border:1px solid var(--line);background:white;color:var(--navy);width:42px;height:42px;border-radius:12px;align-items:center;justify-content:center}.hero{padding:78px 0 56px;background:radial-gradient(ellipse at 82% 25%,#eef5fc 0%,transparent 44%),linear-gradient(180deg,#fff 0%,#fcfaf5 100%);overflow:hidden}.hero-grid{display:grid;grid-template-columns:1.05fr .95fr;align-items:center;gap:70px}.hero-copy{max-width:600px}.eyebrow{font-size:11px;font-weight:800;letter-spacing:.14em;text-transform:uppercase;color:var(--blue);margin:0 0 15px}.hero h1,.page-hero h1{font-size:clamp(38px,5vw,64px);line-height:1.08;letter-spacing:-.055em;color:var(--navy);margin:0 0 23px}.hero h1 span{color:var(--blue)}.lead{font-size:17px;line-height:1.8;color:#647184;max-width:650px;margin:0}.hero-actions,.page-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:30px}.button{display:inline-flex;align-items:center;justify-content:center;gap:10px;border:1px solid transparent;border-radius:12px;padding:13px 19px;font-size:13px;font-weight:750;transition:transform .18s,box-shadow .18s,background .18s}.button:hover{transform:translateY(-2px)}.button svg{width:16px;height:16px}.button-primary{background:var(--navy);color:#fff;box-shadow:0 8px 18px rgba(20,43,74,.13)}.button-primary:hover{background:#213d60}.button-secondary{border-color:#dce2e9;background:#fff;color:var(--navy)}.button-light{background:#fff;color:var(--navy)}.button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,button:focus-visible{outline:3px solid #a4caff;outline-offset:3px}.hero-note{display:flex;align-items:flex-start;gap:10px;color:#768194;font-size:12px;margin-top:26px;max-width:480px}.note-dot{width:8px;height:8px;flex-shrink:0;border-radius:99px;background:#58a77c;margin-top:7px}.hero-art{position:relative;min-height:440px;display:grid;place-items:center}.art-card{position:relative;overflow:hidden;width:min(100%,490px);height:370px;padding:38px;border-radius:30px;background:linear-gradient(145deg,#142b4a 0%,#263f60 100%);color:#fff;box-shadow:0 30px 55px rgba(20,43,74,.19)}.art-card:before,.art-card:after{content:"";position:absolute;border-radius:50%;pointer-events:none}.art-card:before{width:370px;height:370px;right:-95px;top:-135px;border:1px solid rgba(255,255,255,.13);box-shadow:0 0 0 25px #ffffff06,0 0 0 55px #ffffff05}.art-card:after{width:220px;height:220px;left:-100px;bottom:-120px;background:rgba(230,189,117,.12)}.art-label{position:relative;z-index:2;font-size:10px;letter-spacing:.14em;text-transform:uppercase;color:#e9ca91;font-weight:800}.art-title{position:relative;z-index:2;font-size:31px;line-height:1.25;font-weight:850;letter-spacing:-.04em;margin-top:30px;max-width:310px}.book-stack{position:absolute;bottom:32px;right:40px;width:155px;height:105px;transform:rotate(-7deg)}.book{position:absolute;width:145px;height:28px;border:2px solid rgba(255,255,255,.5);border-radius:5px 12px 12px 5px;box-shadow:0 9px 18px #0a1c3040}.book.one{bottom:0;background:#d7aa62}.book.two{bottom:29px;right:10px;background:#779fca}.book.three{bottom:58px;right:3px;background:#f0d9a9}.floating-note{position:absolute;right:-5px;bottom:20px;width:270px;background:#fff;padding:17px 18px;display:flex;gap:12px;align-items:center;border:1px solid #e8edf3;border-radius:17px;box-shadow:var(--shadow)}.floating-icon,.card-icon{display:grid;place-items:center;width:44px;height:44px;flex-shrink:0;border-radius:14px;background:#e7f1fb;color:#477eb0}.floating-icon svg,.card-icon svg{width:23px;height:23px}.floating-note strong,.floating-note span{display:block}.floating-note strong{font-size:12px;color:var(--navy)}.floating-note span{font-size:10px;color:#7f8998;margin-top:3px}.trust-strip{border-block:1px solid #eef0f3;background:#fff}.trust-inner{display:flex;align-items:center;justify-content:space-between;gap:28px;padding:22px 0}.trust-title{font-size:13px;color:var(--navy);font-weight:800}.trust-items{display:flex;gap:27px;flex-wrap:wrap}.trust-items span{font-size:12px;color:#667286;display:flex;gap:7px;align-items:center}.trust-items svg{width:15px;height:15px;color:#478b69}.section{padding:86px 0}.section-tight{padding:50px 0}.soft-section{background:#f7f9fc}.section-heading{max-width:680px;margin-bottom:37px}.section-heading.center{text-align:center;margin-inline:auto}.section-heading h2,.benefit-layout h2,.cta-band h2{font-size:clamp(27px,3vw,40px);line-height:1.2;letter-spacing:-.045em;color:var(--navy);margin:0 0 17px}.section-heading .lead{font-size:15px}.grid{display:grid;gap:19px}.grid-3{grid-template-columns:repeat(3,minmax(0,1fr))}.service-card{border:1px solid #e8edf2;border-radius:20px;padding:26px;background:#fff;transition:transform .2s,box-shadow .2s,border-color .2s;min-height:260px}.service-card:hover{transform:translateY(-4px);box-shadow:var(--shadow);border-color:#d2e2ef}.card-icon{width:48px;height:48px;margin-bottom:22px}.card-icon.gold{background:#fbf0d8;color:#94713a}.service-card h3{font-size:16px;line-height:1.35;color:var(--navy);margin:0 0 10px;letter-spacing:-.02em}.service-card p{font-size:13px;line-height:1.75;color:#6f7a8b;margin:0 0 19px}.text-link{font-size:12px;font-weight:800;color:var(--blue);display:inline-flex;align-items:center;gap:8px}.text-link svg{width:14px;height:14px}.benefit-layout{display:grid;grid-template-columns:.84fr 1.16fr;gap:70px;align-items:center}.benefit-visual{padding:36px;background:linear-gradient(150deg,#e8f1f8,#f7f3e8);border-radius:26px;min-height:380px;display:flex;flex-direction:column;justify-content:flex-end;position:relative;overflow:hidden}.benefit-visual:after{content:"";position:absolute;width:260px;height:260px;right:-70px;top:-55px;border:1px solid rgba(20,43,74,.12);border-radius:50%;box-shadow:0 0 0 25px rgba(20,43,74,.025),0 0 0 55px rgba(20,43,74,.02)}.quote-mark{position:absolute;top:20px;left:33px;font-family:Georgia,serif;font-size:110px;line-height:1;color:#9bb6ce}.benefit-quote{position:relative;z-index:1;font-size:26px;line-height:1.4;letter-spacing:-.035em;font-weight:800;color:var(--navy);max-width:330px}.benefit-caption{position:relative;z-index:1;margin-top:20px;color:#718095;font-size:11px;letter-spacing:.06em;text-transform:uppercase;font-weight:800}.benefit-layout h2{max-width:530px}.benefit-list{margin-top:27px;display:grid;gap:19px}.benefit-item{display:grid;grid-template-columns:36px 1fr;gap:14px}.benefit-number{width:32px;height:32px;border-radius:10px;display:grid;place-items:center;background:#e4eef8;color:var(--navy);font-size:11px;font-weight:900}.benefit-item h3{font-size:14px;margin:0 0 4px;color:var(--navy)}.benefit-item p{font-size:12px;color:#738093;margin:0;line-height:1.7}.cta-band{padding:43px 47px;background:var(--navy);border-radius:25px;color:#fff;display:flex;align-items:center;justify-content:space-between;gap:35px;overflow:hidden;position:relative}.cta-band:after{content:"";width:280px;height:280px;border:1px solid #ffffff16;border-radius:50%;position:absolute;right:16%;top:-190px;box-shadow:0 0 0 32px #ffffff07,0 0 0 68px #ffffff05}.cta-band>div,.cta-band>a{position:relative;z-index:1}.cta-band h2{color:#fff;max-width:650px;font-size:31px;margin-bottom:9px}.cta-band p:not(.eyebrow){margin:0;color:#c9d3df;font-size:13px;max-width:670px}.site-footer{background:#f7f8fa;border-top:1px solid #ebeff3;padding:48px 0 22px}.footer-top{display:grid;grid-template-columns:1.6fr .8fr 1fr;gap:55px;padding-bottom:35px}.footer-brand p{font-size:12px;max-width:330px;color:#748092;line-height:1.8;margin:17px 0 0}.footer-title{font-size:12px;color:var(--navy);font-weight:850;margin:7px 0 15px}.footer-links{display:grid;gap:9px}.footer-links a{font-size:12px;color:#6f7a8b}.footer-links a:hover{color:var(--blue)}.footer-bottom{border-top:1px solid #e5e9ee;padding-top:17px;display:flex;align-items:center;justify-content:space-between;gap:18px;color:#8a93a1;font-size:10px}.footer-bottom p{margin:0}.whatsapp-float{position:fixed;z-index:40;right:24px;bottom:22px;display:flex;align-items:center;gap:10px;border-radius:99px;background:#1a8757;color:#fff;padding:12px 16px;font-size:12px;font-weight:800;box-shadow:0 12px 28px #1a875738}.whatsapp-float svg{width:19px;height:19px}.page-hero{padding:48px 0 54px;background:linear-gradient(135deg,#f7f9fc,#f8f4e8);border-bottom:1px solid #e9edf1}.breadcrumb{display:flex;gap:9px;align-items:center;color:#8792a2;font-size:11px;margin-bottom:25px}.breadcrumb a{color:var(--blue);font-weight:700}.page-hero h1{font-size:clamp(34px,4.5vw,52px);max-width:810px;margin-bottom:18px}.page-hero .lead{font-size:15px;max-width:740px}.page-hero .page-actions{margin-top:24px}.course-section{padding:32px 0}.course-section+.course-section{border-top:1px solid #e8edf2}.course-layout{display:grid;grid-template-columns:.84fr 1.16fr;gap:65px;padding:30px 0}.course-index{padding:15px 0}.course-tag{font-size:10px;font-weight:850;text-transform:uppercase;letter-spacing:.13em;color:var(--blue)}.course-index h2{font-size:28px;line-height:1.23;letter-spacing:-.04em;color:var(--navy);margin:17px 0 13px}.course-index>p{font-size:13px;color:#69778a;line-height:1.8}.course-meta{display:flex;gap:7px;flex-wrap:wrap;margin-top:20px}.pill,.mode-pill{display:inline-flex;align-items:center;padding:6px 10px;border-radius:99px;background:#e9f3fb;color:#4c779e;font-size:10px;font-weight:800}.course-detail{padding:25px 27px;border:1px solid #e7ecf2;border-radius:18px;background:#fff}.course-detail h3{font-size:14px;color:var(--navy);margin:0 0 8px}.course-detail p{font-size:12px;color:#718093;line-height:1.8;margin:0 0 17px}.course-detail h3:not(:first-child){margin-top:24px}.subject-list{display:flex;flex-wrap:wrap;gap:7px}.subject-list span{border:1px solid #e5eaf0;background:#fafbfd;padding:7px 10px;border-radius:9px;font-size:11px;color:#59677b}.package-mini-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.package-mini{background:#f7f9fc;border:1px solid #edf0f4;border-radius:12px;padding:14px}.package-mini strong,.package-mini span{display:block}.package-mini strong{font-size:12px;color:var(--navy)}.package-mini span{font-size:11px;color:#6f7e91;line-height:1.7;margin-top:4px}.pricing-intro-note{background:#f0f7fc;border:1px solid #dceaf5;border-radius:13px;padding:17px 20px;color:#567087;font-size:12px;line-height:1.7}.pricing-intro-note strong{color:var(--navy)}.pricing-category{padding:45px 0;border-bottom:1px solid #edf0f4}.pricing-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:28px;margin-bottom:24px}.pricing-heading h2{font-size:27px;letter-spacing:-.04em;line-height:1.25;margin:0 0 10px;color:var(--navy)}.pricing-heading p:not(.eyebrow){font-size:13px;color:#708094;margin:0;max-width:690px}.mode-pill{white-space:nowrap;background:#eef3f8;color:#516a85;padding:8px 12px}.table-wrap{overflow-x:auto;border:1px solid #e5eaf0;border-radius:15px;background:#fff;box-shadow:0 6px 20px #152b4805}.price-table{border-collapse:collapse;width:100%;min-width:850px;text-align:left}.price-table thead th{background:#f4f7fa;color:#5b687b;font-size:10px;text-transform:uppercase;letter-spacing:.065em;padding:14px 15px;font-weight:850}.price-table td{border-top:1px solid #e9edf2;padding:15px;color:#5e6a7b;font-size:11px;vertical-align:top}.price-table tbody tr:hover{background:#fcfdff}.price-table td:first-child{font-weight:800;color:var(--navy)}.price{display:block;white-space:nowrap;color:var(--navy);font-size:13px;font-weight:850}.price-sub{display:block;font-size:10px;color:#8190a1;margin-top:3px}.pricing-footnote,.small-note{font-size:11px;color:#7d8998;line-height:1.7;margin:14px 0 0}.status-provisional{display:block;margin-top:5px;color:#a06b17;font-size:10px;font-weight:800}.pricing-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:15px;margin-top:25px}.summary-box{border:1px solid var(--line);border-radius:15px;padding:19px;background:#fff}.summary-box span{display:block;font-size:10px;color:#7c8797}.summary-box strong{display:block;font-size:18px;color:var(--navy);margin-top:5px}.steps{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.step-card{padding:24px;background:#fff;border:1px solid #e5eaf0;border-radius:17px}.step-no{font-size:10px;color:var(--blue);font-weight:850;letter-spacing:.13em}.step-card h3{font-size:15px;color:var(--navy);margin:13px 0 7px}.step-card p{font-size:12px;color:#758195;margin:0;line-height:1.8}.faq-list{display:grid;grid-template-columns:repeat(2,1fr);gap:13px}.faq-item{padding:20px 21px;background:#fff;border:1px solid #e5eaf0;border-radius:15px}.faq-item h3{font-size:13px;color:var(--navy);margin:0 0 7px}.faq-item p{font-size:12px;color:#748093;line-height:1.8;margin:0}.contact-layout{display:grid;grid-template-columns:.75fr 1.25fr;gap:24px;align-items:start}.contact-panel{background:var(--navy);color:#fff;border-radius:20px;padding:28px;position:sticky;top:108px}.contact-panel h2{font-size:23px;line-height:1.25;margin:0 0 12px}.contact-panel>p{font-size:12px;color:#c8d2df;line-height:1.8;margin:0 0 24px}.contact-link{display:flex;gap:12px;align-items:center;padding:14px 0;border-top:1px solid #ffffff22}.contact-link .contact-icon{display:grid;place-items:center;width:39px;height:39px;flex-shrink:0;background:#ffffff16;border-radius:12px}.contact-link strong,.contact-link span{display:block}.contact-link strong{font-size:12px}.contact-link span{font-size:11px;color:#c0cada;margin-top:2px}.form-card{border:1px solid #e4eaf0;border-radius:20px;padding:29px;background:#fff;box-shadow:var(--shadow)}.form-card h2{font-size:25px;letter-spacing:-.035em;line-height:1.25;color:var(--navy);margin:0 0 10px}.form-card>p{font-size:12px;color:#718093;line-height:1.8}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:22px 0}.field{display:grid;gap:7px}.field.full{grid-column:1/-1}.field label{font-size:11px;font-weight:800;color:#4f5e71}.field input,.field select,.field textarea,.auth-input{border:1px solid #dfe5ec;border-radius:10px;padding:12px 13px;background:#fff;color:var(--ink);min-width:0;width:100%;font-size:12px}.field textarea{min-height:100px;resize:vertical}.field input::placeholder,.field textarea::placeholder{color:#a0aab8}.form-note{font-size:10px!important;background:#f7f9fb;padding:11px 13px;border-radius:9px}.form-status{font-size:12px;font-weight:750;color:var(--green-ink);margin-top:12px}.form-status:empty{display:none}.notice{padding:14px 16px;border-radius:12px;background:#f3f7fb;color:#577089;border:1px solid #e1eaf1;font-size:12px;line-height:1.7}.small-note{font-size:10px}.center{text-align:center}
/* Portal / dashboard design */
.portal-body{background:#e8e1ff;min-height:100vh;padding:25px;color:var(--ink)}.portal-shell{max-width:1500px;min-height:calc(100vh - 50px);margin:0 auto;border:1px solid #e6e8f0;border-radius:25px;background:#fff;overflow:hidden;display:grid;grid-template-columns:210px minmax(0,1fr);box-shadow:0 22px 80px #59479b13}.portal-sidebar{background:#f3f5f9;padding:27px 17px 18px;display:flex;flex-direction:column;min-width:0;border-right:1px solid #edf0f4}.portal-logo{display:flex;align-items:center;gap:10px;margin:3px 4px 27px;padding:0 4px}.portal-logo .brand-mark{width:36px;height:36px;border-radius:12px;background:var(--purple);font-size:12px;box-shadow:none}.portal-logo .brand-name{font-size:16px;letter-spacing:-.04em}.portal-logo .brand-tag{font-size:9px;letter-spacing:.06em}.portal-side-label{font-size:9px;text-transform:uppercase;letter-spacing:.14em;color:#99a2b1;font-weight:850;padding:0 11px;margin:2px 0 8px}.portal-nav{display:grid;gap:4px}.portal-nav a,.portal-nav button{display:flex;align-items:center;gap:11px;border:0;background:transparent;color:#596579;text-align:left;font-size:12px;font-weight:700;padding:11px 12px;border-radius:11px;width:100%;transition:background .18s,color .18s}.portal-nav a:hover,.portal-nav button:hover{background:#e8eaf2}.portal-nav a.active{background:linear-gradient(100deg,#9b7cf4,#8b69e9);color:#fff;box-shadow:0 6px 15px #8b69e933}.portal-nav .side-icon{display:grid;place-items:center;width:17px;height:17px;font-size:15px;line-height:1;flex-shrink:0}.portal-sidebar-spacer{flex:1;min-height:30px}.portal-help-card{background:#fff;border:1px solid #e8eaf0;padding:16px 13px;border-radius:16px;text-align:center;margin-top:24px}.portal-help-art{width:55px;height:55px;display:grid;place-items:center;border-radius:50%;background:#eae4ff;color:#7659d6;font-size:23px;margin:-33px auto 11px;border:4px solid #f3f5f9}.portal-help-card strong{display:block;font-size:11px;color:var(--navy)}.portal-help-card p{font-size:9px;color:#7d8797;line-height:1.6;margin:5px 0 12px}.portal-help-card a{display:block;background:#171a20;color:#fff;padding:9px;border-radius:8px;font-size:10px;font-weight:800}.portal-content{min-width:0;display:flex;flex-direction:column}.portal-topbar{height:74px;padding:0 26px;display:flex;align-items:center;justify-content:space-between;gap:15px;border-bottom:1px solid #edf0f4;background:rgba(255,255,255,.9)}.portal-welcome{font-size:17px;font-weight:800;color:#18202d;letter-spacing:-.035em}.portal-welcome small{font-size:12px;font-weight:500;color:#8791a0;display:block;letter-spacing:0;margin-top:2px}.portal-top-actions{display:flex;align-items:center;gap:9px}.portal-search{border:1px solid #e6e9ef;border-radius:10px;background:#fff;display:flex;align-items:center;gap:8px;padding:9px 12px;color:#a2a9b6;min-width:220px}.portal-search input{border:0;outline:0;min-width:0;width:100%;font-size:11px;background:transparent}.portal-icon-btn{width:35px;height:35px;border:1px solid #e6e9ef;border-radius:10px;background:white;color:#596679;display:grid;place-items:center;font-size:14px}.portal-user-mini{display:flex;align-items:center;gap:9px;margin-left:5px}.portal-avatar{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:#f6e3ed;border:3px solid #fff;box-shadow:0 0 0 1px #e9c8d9;color:#a74d77;font-size:14px;font-weight:850}.portal-user-mini strong{display:block;font-size:10px;color:#202939}.portal-user-mini span{display:block;font-size:9px;color:#8a94a3}.portal-main{padding:23px 24px 28px;display:grid;grid-template-columns:minmax(0,1fr) 240px;gap:16px;min-width:0;flex:1}.portal-main-single{grid-template-columns:minmax(0,1fr)}.portal-primary{min-width:0}.portal-profile-rail{min-width:0;display:flex;flex-direction:column;gap:17px}.portal-banner{min-height:185px;border-radius:20px;background:#242529;position:relative;overflow:hidden;padding:27px 28px;color:#fff;display:flex;align-items:center;isolation:isolate}.portal-banner:before{content:"";position:absolute;z-index:-1;inset:-45% 30% 20% -10%;background:linear-gradient(130deg,#34353b,transparent 70%);transform:rotate(-10deg);border-radius:50%}.portal-banner:after{content:"";position:absolute;right:6%;top:18%;width:120px;height:120px;border:1px solid rgba(255,255,255,.16);border-radius:50%;pointer-events:none}.banner-copy{position:relative;z-index:2;max-width:61%}.banner-eyebrow{color:#dfd7ff;font-size:9px;font-weight:850;text-transform:uppercase;letter-spacing:.16em;margin-bottom:10px}.portal-banner h1{font-size:clamp(22px,2.6vw,31px);font-weight:850;line-height:1.18;letter-spacing:-.05em;max-width:430px;margin:0 0 12px}.portal-banner p{font-size:11px;line-height:1.65;max-width:390px;color:#c9cbd3;margin:0 0 16px}.banner-button{display:inline-flex;background:#fff;color:#242529;font-size:10px;font-weight:850;padding:9px 14px;border-radius:9px}.banner-illustration{position:absolute;right:7%;bottom:-9px;width:140px;height:154px;display:grid;place-items:center}.illustration-circle{position:absolute;bottom:-7px;right:-26px;width:190px;height:83px;background:#f4e6a7;border-radius:100% 100% 0 0;transform:rotate(-8deg)}.illustration-person{position:absolute;z-index:2;bottom:2px;right:10px;width:84px;height:118px;border-radius:46% 48% 10px 8px;background:#efb3a8;box-shadow:inset 20px 1px 0 #7d445f}.illustration-person:before{content:"";position:absolute;top:13px;left:19px;width:44px;height:47px;border-radius:50%;background:#f5c5a6;box-shadow:10px -12px 0 2px #864b67,-5px -6px 0 #864b67}.illustration-laptop{position:absolute;z-index:3;bottom:8px;right:0;width:93px;height:49px;background:#9377f6;transform:skewY(-13deg);border:2px solid #6f56cc;border-radius:4px}.illustration-laptop:after{content:"";position:absolute;bottom:-6px;left:-10px;width:110px;height:6px;background:#c9b9ff;border-radius:0 0 6px 6px}.metric-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:10px 0 20px}.metric-card{border-radius:14px;padding:14px 15px;display:flex;align-items:center;gap:12px;min-height:76px;background:#fbf0b3}.metric-card:nth-child(2){background:#e4f0e9}.metric-card:nth-child(3){background:#dce9ff}.metric-icon{width:39px;height:39px;border-radius:50%;background:#fff9d9;display:grid;place-items:center;font-size:18px;color:#b59d23;flex-shrink:0}.metric-card:nth-child(2) .metric-icon{background:#f5fbf7;color:#62977b}.metric-card:nth-child(3) .metric-icon{background:#f6f9ff;color:#6399df}.metric-card strong{font-size:18px;line-height:1.2;display:block;color:#18202e;letter-spacing:-.04em}.metric-card span{font-size:9px;color:#4f5a69;display:block;margin-top:3px}.portal-section-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:16px 0 11px}.portal-section-heading h2{font-size:15px;letter-spacing:-.03em;margin:0;color:#1e2634}.portal-section-heading p{font-size:10px;color:#8892a0;margin:3px 0 0}.portal-see-all{border:1px solid #e0e5eb;background:#fff;border-radius:9px;padding:8px 12px;font-size:9px;font-weight:800;color:#3a4556}.portal-class-list{border:1px solid #edf0f4;border-radius:13px;overflow:hidden;background:#fff}.class-head,.class-row{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(95px,.95fr) 90px;align-items:center;gap:12px;padding:13px 14px}.class-head{background:#f6f8fa;color:#667184;font-size:9px;font-weight:850}.class-row+.class-row{border-top:1px solid #edf0f4}.class-course{display:flex;align-items:center;gap:11px;min-width:0}.course-thumb{width:39px;height:39px;border-radius:12px;background:#f0ecff;display:grid;place-items:center;color:#8167d6;font-size:17px;flex-shrink:0}.class-course strong,.class-course span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.class-course strong{font-size:11px;color:#202938}.class-course span{font-size:9px;color:#8a94a2;margin-top:4px}.progress-label{font-size:10px;color:#394356;margin-bottom:5px}.progress-track{height:5px;background:#e9edf1;border-radius:99px;overflow:hidden}.progress-fill{height:100%;background:#9677f4;border-radius:99px;transition:width .3s}.status-pill{display:inline-flex;justify-content:center;align-items:center;padding:6px 8px;font-size:9px;font-weight:800;border-radius:8px;color:#218455;background:#e2f8e9;white-space:nowrap}.status-pill.locked{background:#f0edf9;color:#7b68b3}.status-pill.pending{background:#fff3d9;color:#976d25}.portal-widget{background:#f7f8fa;border-radius:16px;padding:15px}.widget-heading{display:flex;align-items:center;justify-content:space-between;gap:8px}.widget-heading h3{font-size:13px;letter-spacing:-.025em;color:#1f2734;margin:0}.widget-menu{border:1px solid #e6e9ef;background:#fff;color:#7c8797;width:25px;height:25px;border-radius:8px}.profile-card{text-align:center;padding:13px 12px 5px}.profile-big-avatar{margin:5px auto 15px;width:88px;height:88px;display:grid;place-items:center;border-radius:50%;font-size:39px;background:#f6e4ed;color:#ad5c80;box-shadow:0 0 0 1px #f1cadc,0 0 0 9px #fff}.profile-card h2{font-size:15px;color:#1e2633;margin:0}.profile-card p{font-size:10px;color:#7f8998;margin:3px 0}.profile-tag{display:inline-flex;padding:5px 9px;background:#f1edff;color:#755ad0;border-radius:99px;font-size:8px;font-weight:850;margin-top:7px}.activity-widget{padding:14px 12px;background:#f6f8fa;border-radius:15px}.activity-value{font-size:16px;color:#202938;font-weight:850;margin-top:3px}.activity-value span{font-size:9px;color:#8893a2;font-weight:500}.activity-chart{height:94px;display:flex;align-items:end;justify-content:space-between;gap:6px;padding:8px 0 0}.activity-bar-wrap{height:100%;display:flex;flex-direction:column;align-items:center;justify-content:end;gap:5px;flex:1;min-width:0}.activity-bar{width:100%;max-width:18px;min-height:8px;border-radius:5px 5px 2px 2px;background:#c4b4ff}.activity-day{font-size:8px;color:#768195}.task-list{display:grid}.task-row{display:flex;align-items:center;gap:10px;padding:12px 0;border-bottom:1px solid #eceff3}.task-row:last-child{border-bottom:0}.task-emoji{width:31px;height:31px;border-radius:10px;background:#e7ecf3;display:grid;place-items:center;font-size:15px;flex-shrink:0}.task-row strong,.task-row span{display:block}.task-row strong{font-size:10px;color:#293243}.task-row span{font-size:9px;color:#8791a0;margin-top:3px}.task-arrow{margin-left:auto;font-size:18px;color:#8b95a4}.portal-empty{padding:30px 20px;text-align:center;border:1px dashed #dce2eb;border-radius:14px;color:#7a8798;background:#fbfcfd}.portal-empty strong{display:block;color:#4e5a6d;font-size:12px;margin-bottom:5px}.portal-empty p{font-size:11px;margin:0;line-height:1.7}.lesson-list{display:grid;gap:9px}.lesson-item{border:1px solid #edf0f4;border-radius:13px;padding:13px 14px;display:flex;align-items:center;gap:12px;background:#fff}.lesson-number{width:36px;height:36px;border-radius:11px;background:#f1edff;color:#765bd1;display:grid;place-items:center;font-size:10px;font-weight:850;flex-shrink:0}.lesson-item.locked .lesson-number{background:#eff1f5;color:#98a0ad}.lesson-details{flex:1;min-width:0}.lesson-details strong{display:block;font-size:11px;color:#293244}.lesson-details span{display:block;color:#8892a1;font-size:9px;margin-top:3px}.lesson-action{border:1px solid #e2e6ee;border-radius:9px;background:white;color:#5a6474;padding:7px 9px;font-size:9px;font-weight:800;white-space:nowrap}.lesson-action.primary{background:var(--purple);border-color:var(--purple);color:white}.lesson-action:disabled{opacity:.6;cursor:not-allowed}.portal-filter{padding:9px 11px;border:1px solid #e5e9ef;border-radius:10px;background:white;color:#586679;font-size:10px;max-width:100%}.teacher-student-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.teacher-student-card{padding:15px;border:1px solid #e9edf3;border-radius:14px;background:#fff}.teacher-student-head{display:flex;align-items:center;gap:10px}.teacher-student-head .portal-avatar{width:38px;height:38px;box-shadow:none;border:0;background:#ece6ff}.teacher-student-head strong{display:block;font-size:11px;color:#283143}.teacher-student-head span{display:block;font-size:9px;color:#8b94a1;margin-top:3px}.teacher-course-line{font-size:10px;color:#667286;margin:14px 0 7px}.teacher-card-bottom{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:11px}.teacher-card-bottom span{font-size:9px;color:#808b9a}.portal-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:15px}.portal-toolbar h2{font-size:15px;margin:0;color:#202a39}.portal-toolbar p{font-size:10px;color:#818b9a;margin:2px 0 0}.portal-table-wrap{overflow:auto;border:1px solid #e9edf2;border-radius:13px}.portal-table{border-collapse:collapse;width:100%;min-width:600px}.portal-table th{background:#f6f8fa;color:#697588;text-align:left;font-size:9px;letter-spacing:.06em;text-transform:uppercase;padding:12px}.portal-table td{padding:12px;border-top:1px solid #edf0f4;color:#5d697b;font-size:10px}.portal-table td:first-child{font-weight:800;color:#263145}.inline-action{background:#f0ecff;color:#7357d6;border:1px solid #e6ddff;border-radius:8px;padding:7px 9px;font-size:9px;font-weight:850}.unlock-toggle{display:flex;align-items:center;gap:8px;font-size:10px;color:#5f6c80}.unlock-toggle input{accent-color:var(--purple)}.teacher-detail-panel{border:1px solid #e7ebf1;border-radius:15px;overflow:hidden;background:white}.teacher-detail-head{background:#f6f8fb;padding:17px;display:flex;align-items:center;justify-content:space-between;gap:12px}.teacher-detail-head strong{display:block;color:#243047;font-size:12px}.teacher-detail-head span{font-size:10px;color:#818b9b}.teacher-detail-body{padding:13px}.teacher-lesson-row{display:grid;grid-template-columns:minmax(0,1fr) 110px 105px;align-items:center;gap:12px;padding:11px 5px;border-bottom:1px solid #eef0f4}.teacher-lesson-row:last-child{border-bottom:0}.teacher-lesson-row strong{font-size:10px;color:#293447;display:block}.teacher-lesson-row small{font-size:9px;color:#8992a0}.portal-toast{position:fixed;bottom:22px;left:50%;transform:translateX(-50%);z-index:200;background:#19283d;color:#fff;border-radius:12px;padding:11px 16px;box-shadow:var(--shadow);font-size:11px;max-width:calc(100vw - 30px)}.portal-modal-backdrop{position:fixed;inset:0;background:#1420338c;display:grid;place-items:center;padding:20px;z-index:300}.portal-modal{width:min(650px,100%);max-height:86vh;overflow:auto;background:#fff;border-radius:18px;padding:24px;box-shadow:0 30px 100px #0003}.portal-modal-header{display:flex;justify-content:space-between;gap:15px;align-items:start}.portal-modal h2{font-size:20px;color:var(--navy);margin:0 0 7px}.portal-modal p{font-size:12px;color:#6f7b8e;line-height:1.8}.portal-modal-content{white-space:pre-wrap;font-size:13px;color:#435168;line-height:1.9;background:#f7f9fc;padding:15px;border-radius:12px;max-height:44vh;overflow:auto}.modal-close{width:33px;height:33px;border:1px solid #e4e8ee;border-radius:9px;background:#fff;color:#647084}.portal-note{font-size:10px;color:#8591a1;line-height:1.75}.portal-footer-note{padding:0 25px 18px;color:#9aa3b0;font-size:9px}.preview-banner{background:#fff7df;border:1px solid #f3dfa6;color:#876321;padding:10px 14px;border-radius:11px;font-size:10px;margin-bottom:14px;line-height:1.6}.portal-auth-body{background:#e9e3ff;min-height:100vh;padding:24px;display:grid;place-items:center}.auth-shell{display:grid;grid-template-columns:1fr .9fr;width:min(1030px,100%);background:white;border-radius:25px;overflow:hidden;box-shadow:0 25px 80px #4b3b8b16;min-height:600px}.auth-brand-panel{padding:50px;background:var(--navy);color:#fff;position:relative;overflow:hidden;display:flex;flex-direction:column;justify-content:space-between}.auth-brand-panel:after{content:"";position:absolute;right:-130px;bottom:-170px;width:390px;height:390px;border:1px solid #ffffff20;border-radius:50%;box-shadow:0 0 0 33px #ffffff07,0 0 0 70px #ffffff05}.auth-brand-top,.auth-brand-copy,.auth-brand-bottom{position:relative;z-index:1}.auth-brand-panel .brand-name{color:#fff}.auth-brand-panel .brand-tag{color:#bac5d5}.auth-brand-panel .brand-mark{background:#9a7bf0;color:white}.auth-brand-copy{max-width:415px;margin:55px 0}.auth-brand-copy .eyebrow{color:#dfc183}.auth-brand-copy h1{font-size:42px;line-height:1.13;letter-spacing:-.055em;margin:0 0 17px}.auth-brand-copy p{font-size:13px;color:#ced7e4;line-height:1.8}.auth-points{display:grid;gap:10px;margin-top:25px}.auth-point{display:flex;gap:10px;align-items:flex-start;font-size:12px;color:#e5eaf2;line-height:1.45}.auth-point svg{width:22px;height:22px;padding:4px;border-radius:7px;background:#ffffff16;flex-shrink:0}.auth-point span{flex:1;width:auto;height:auto;display:block;background:transparent}.auth-brand-bottom{font-size:10px;color:#afbdcf}.auth-form-panel{padding:48px 46px;display:flex;flex-direction:column;justify-content:center}.auth-form-panel .eyebrow{margin-bottom:10px}.auth-form-panel h2{font-size:29px;letter-spacing:-.045em;color:var(--navy);margin:0 0 8px;line-height:1.2}.auth-intro{font-size:12px;color:#7c8797;margin:0 0 25px;line-height:1.8}.auth-field{display:grid;gap:7px;margin-bottom:16px}.auth-field label{font-size:11px;font-weight:800;color:#566377}.auth-field input{border:1px solid #dfe5ec;border-radius:11px;background:#fff;padding:13px 14px;font-size:12px;width:100%}.auth-submit{width:100%;border:0;background:var(--navy);color:#fff;padding:13px;border-radius:11px;font-size:12px;font-weight:850;margin-top:5px}.auth-submit:disabled{opacity:.5;cursor:not-allowed}.auth-status{font-size:11px;line-height:1.7;margin:12px 0;color:#a05b33}.auth-status.success{color:#21764d}.auth-divider{display:flex;align-items:center;gap:12px;color:#a4adba;font-size:9px;text-transform:uppercase;letter-spacing:.12em;margin:22px 0}.auth-divider:before,.auth-divider:after{content:"";height:1px;background:#e8ecf1;flex:1}.preview-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}.preview-actions a{border:1px solid #e4e8ef;background:#fff;border-radius:11px;padding:12px;text-align:center;color:#5b6678;font-size:10px;font-weight:800}.preview-actions a:hover{border-color:#c7b7ff;background:#faf8ff}.auth-back{font-size:11px;color:#6a788b;margin-top:25px;display:inline-flex;gap:7px;align-items:center}.auth-security-note{font-size:10px;color:#96a0ae;line-height:1.7;margin-top:17px}
@media(max-width:1100px){.portal-main{grid-template-columns:minmax(0,1fr)}.portal-profile-rail{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:start}.profile-card{padding:12px 8px}.profile-big-avatar{width:68px;height:68px;font-size:30px}.activity-chart{height:75px}.portal-shell{grid-template-columns:190px minmax(0,1fr)}.portal-sidebar{padding-inline:12px}.portal-topbar{padding-inline:18px}.portal-main{padding:18px}.portal-search{min-width:170px}.portal-banner{min-height:175px}.teacher-student-grid{grid-template-columns:1fr 1fr}}@media(max-width:850px){.container{width:min(100% - 34px,720px)}.menu-toggle{display:flex}.nav{display:none;position:absolute;top:81px;left:0;right:0;padding:14px 20px 20px;background:#fff;border-bottom:1px solid var(--line);box-shadow:0 16px 25px #142b4a0a;align-items:stretch;gap:4px;flex-direction:column}.nav.open{display:flex}.nav>a{padding:11px 12px}.nav .nav-cta{margin-top:5px;text-align:center}.hero{padding-top:52px}.hero-grid{grid-template-columns:1fr;gap:25px}.hero-copy{max-width:720px}.hero-art{min-height:365px}.art-card{height:320px}.trust-inner{align-items:flex-start;flex-direction:column;gap:13px}.trust-items{gap:15px}.section{padding:65px 0}.grid-3{grid-template-columns:repeat(2,minmax(0,1fr))}.benefit-layout,.course-layout{grid-template-columns:1fr;gap:25px}.benefit-visual{min-height:280px}.course-layout{padding:10px 0}.course-index{padding:0}.contact-layout{grid-template-columns:1fr}.contact-panel{position:static}.footer-top{gap:28px;grid-template-columns:1fr 1fr}.footer-brand{grid-column:1/-1}.pricing-heading{gap:15px}.cta-band{align-items:flex-start;flex-direction:column;padding:32px}.portal-body{padding:12px}.portal-shell{min-height:calc(100vh - 24px);grid-template-columns:70px minmax(0,1fr);border-radius:19px}.portal-sidebar{padding:16px 8px}.portal-logo{justify-content:center;margin:0 0 22px;padding:0}.portal-logo>span:not(.brand-mark),.portal-side-label,.portal-nav a .side-label,.portal-help-card,.portal-nav button .side-label{display:none}.portal-nav a,.portal-nav button{justify-content:center;padding:12px 6px}.portal-nav .side-icon{font-size:18px}.portal-sidebar-spacer{min-height:15px}.portal-topbar{height:auto;min-height:67px}.portal-welcome{font-size:14px}.portal-search{min-width:0;width:160px}.portal-user-mini>div:last-child{display:none}.portal-banner h1{font-size:24px}.banner-illustration{right:1%;transform:scale(.85);transform-origin:bottom right}.banner-copy{max-width:72%}.portal-profile-rail{grid-template-columns:repeat(3,minmax(0,1fr))}.auth-shell{grid-template-columns:.8fr 1fr}.auth-brand-panel{padding:34px}.auth-form-panel{padding:35px 29px}.auth-brand-copy h1{font-size:35px}}@media(max-width:580px){.container{width:calc(100% - 30px)}.header-inner{height:72px}.brand-mark{width:38px;height:38px}.nav{top:71px}.hero h1{font-size:39px}.hero .lead{font-size:14px}.hero-art{min-height:320px}.art-card{height:290px;padding:25px}.art-title{font-size:27px}.book-stack{right:22px;transform:scale(.8) rotate(-7deg);transform-origin:bottom right}.floating-note{right:2px;bottom:0;width:240px}.trust-items{display:grid;gap:8px}.section{padding:54px 0}.grid-3{grid-template-columns:1fr}.service-card{min-height:0}.section-heading h2,.benefit-layout h2{font-size:29px}.benefit-visual{padding:27px;min-height:245px}.benefit-quote{font-size:22px}.cta-band h2{font-size:27px}.cta-band{padding:27px}.footer-top{grid-template-columns:1fr;gap:25px}.footer-brand{grid-column:auto}.footer-bottom{align-items:flex-start;flex-direction:column}.page-hero{padding:34px 0 40px}.page-hero h1{font-size:34px}.package-mini-grid,.steps,.faq-list,.pricing-summary{grid-template-columns:1fr}.pricing-heading{flex-direction:column}.form-card{padding:21px}.form-grid{grid-template-columns:1fr}.field.full{grid-column:auto}.whatsapp-float{right:14px;bottom:14px;padding:12px}.whatsapp-float span{display:none}.portal-body{padding:0;background:#fff}.portal-shell{border-radius:0;border:0;min-height:100vh;grid-template-columns:52px minmax(0,1fr)}.portal-sidebar{padding:13px 5px;border-right:1px solid #eceff4}.portal-logo .brand-mark{width:34px;height:34px}.portal-main{padding:13px 11px 22px;gap:11px}.portal-topbar{padding:11px;gap:6px;min-height:62px}.portal-welcome{font-size:12px;max-width:130px}.portal-welcome small{font-size:9px}.portal-search{width:34px;height:34px;padding:8px;justify-content:center;border-radius:9px}.portal-search input{display:none}.portal-top-actions{gap:5px}.portal-icon-btn{width:31px;height:31px}.portal-user-mini{display:none}.portal-banner{min-height:185px;padding:21px 18px;border-radius:16px}.portal-banner h1{font-size:22px}.portal-banner p{font-size:10px;max-width:230px}.banner-copy{max-width:100%}.banner-illustration{opacity:.25;right:-7px;transform:scale(.88)}.portal-banner:after{right:10%;font-size:23px}.metric-grid{gap:6px}.metric-card{padding:10px 8px;display:block;text-align:center;min-height:95px}.metric-icon{margin:0 auto 8px;width:31px;height:31px;font-size:15px}.metric-card strong{font-size:16px}.metric-card span{font-size:8px;line-height:1.35}.portal-section-heading h2{font-size:13px}.class-head{display:none}.class-row{grid-template-columns:minmax(0,1fr) 74px;gap:8px;padding:11px 9px}.class-row .class-status{grid-column:2;justify-self:end}.class-row .class-progress{grid-column:1/-1}.class-course{gap:8px}.course-thumb{width:33px;height:33px}.class-course strong{font-size:10px;white-space:normal}.class-course span{font-size:8px}.portal-profile-rail{grid-template-columns:1fr}.profile-card{display:flex;align-items:center;text-align:left;gap:13px;padding:15px;background:#f7f8fa;border-radius:13px}.profile-big-avatar{width:54px;height:54px;margin:0;font-size:25px;flex-shrink:0;box-shadow:none}.profile-card h2{font-size:12px}.profile-card p{font-size:9px}.profile-tag{margin-top:4px}.activity-widget{display:none}.teacher-student-grid{grid-template-columns:1fr}.teacher-lesson-row{grid-template-columns:minmax(0,1fr) 94px;gap:8px}.teacher-lesson-row .status-pill{grid-column:1/-1;justify-self:start}.portal-modal{padding:18px}.portal-footer-note{padding-inline:13px}.auth-shell{grid-template-columns:1fr;min-height:0;border-radius:19px}.portal-auth-body{padding:12px}.auth-form-panel{order:-1;padding:27px 23px}.auth-brand-panel{padding:23px 25px;min-height:0}.auth-brand-copy{margin:18px 0 0}.auth-brand-copy h1{font-size:24px}.auth-brand-copy p,.auth-points,.auth-brand-bottom{display:none}.auth-form-panel h2{font-size:25px}.preview-actions{grid-template-columns:1fr}.auth-security-note{font-size:9px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation:none!important;transition:none!important}}


/* Dedicated student learning room */
.learning-room-layout{grid-template-columns:minmax(0,1fr) 240px;align-items:start}
.learning-room-primary{min-width:0}
.learning-room-welcome{position:relative;isolation:isolate;overflow:hidden;min-height:250px;padding:29px 30px;border-radius:21px;background:linear-gradient(120deg,#172b49 0%,#274a69 66%,#47719a 100%);color:#fff;display:flex;align-items:center;justify-content:space-between;gap:18px}
.learning-room-welcome:before{content:"";position:absolute;z-index:-1;width:320px;height:320px;right:6%;top:-190px;border:1px solid #ffffff28;border-radius:50%;box-shadow:0 0 0 26px #ffffff08,0 0 0 55px #ffffff06}
.learning-room-welcome-copy{max-width:520px;position:relative;z-index:2}
.learning-eyebrow{font-size:9px;font-weight:900;letter-spacing:.16em;color:#7794ad;margin:0 0 7px;text-transform:uppercase}
.learning-room-welcome .learning-eyebrow{color:#dfc183}
.learning-room-welcome h1{font-size:clamp(24px,2.5vw,34px);line-height:1.14;letter-spacing:-.05em;margin:0 0 12px;max-width:450px}
.learning-room-welcome p:not(.learning-eyebrow){font-size:11px;line-height:1.8;color:#d1dce7;max-width:450px;margin:0}
.learning-welcome-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:18px}
.learning-continue-button{border:0;border-radius:10px;background:#fff;color:#192d48;display:inline-flex;align-items:center;justify-content:center;gap:14px;padding:11px 15px;font-size:10px;font-weight:900;box-shadow:0 8px 20px #06182e29}
.learning-continue-button:disabled{opacity:.75;cursor:not-allowed}
.learning-continue-button span{font-size:16px;line-height:1}
.learning-welcome-caption{font-size:9px;color:#d5dfeb;max-width:190px}
.learning-welcome-illustration{width:145px;height:150px;flex:0 0 145px;position:relative;margin-right:7px;align-self:stretch}
.learning-orbit{position:absolute;border:1px solid #ffffff3b;border-radius:50%}
.learning-orbit.orbit-one{width:134px;height:134px;right:0;top:4px}
.learning-orbit.orbit-two{width:98px;height:98px;right:18px;top:22px;border-style:dashed}
.learning-book-symbol{position:absolute;right:35px;top:39px;width:66px;height:66px;border-radius:21px;display:grid;place-items:center;background:#f0cb7d;color:#76552b;font-size:31px;transform:rotate(-9deg);box-shadow:0 16px 26px #081d333b}
.learning-float-card{position:absolute;right:-1px;bottom:4px;padding:9px 12px;border-radius:12px;background:#fff;color:#1e3753;font-size:20px;font-weight:900;box-shadow:0 12px 24px #06182e2b;min-width:110px;text-align:center}
.learning-float-card small{display:block;font-size:8px;font-weight:750;color:#7b8796}
.learning-summary-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:12px 0 23px}
.learning-summary-card{display:flex;align-items:center;gap:11px;padding:14px 15px;min-width:0;border:1px solid #edf0f4;background:#fff;border-radius:14px}
.learning-summary-icon{width:38px;height:38px;border-radius:12px;display:grid;place-items:center;flex:0 0 auto;background:#f1ebff;color:#8062da;font-size:18px}
.learning-summary-icon.green{background:#e2f6eb;color:#2c8a5b}
.learning-summary-icon.blue{background:#e3efff;color:#417fb9}
.learning-summary-card strong{display:block;font-size:19px;line-height:1.2;color:#1d2a3d;letter-spacing:-.04em}
.learning-summary-card span:last-child{font-size:9px;color:#7c8797;display:block;margin-top:4px}
.learning-section{margin:22px 0 0;scroll-margin-top:18px}
.learning-section-heading{display:flex;justify-content:space-between;align-items:end;gap:15px;margin:0 0 13px}
.learning-section-heading .learning-eyebrow{margin-bottom:4px}
.learning-section-heading h2{font-size:18px;letter-spacing:-.04em;color:#1d293a;margin:0;line-height:1.3}
.learning-section-heading p:not(.learning-eyebrow){font-size:10px;line-height:1.7;color:#8791a0;margin:4px 0 0;max-width:590px}
.learning-text-link{flex:0 0 auto;font-size:10px;font-weight:850;color:#6a55c7}
.learning-course-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}
.learning-course-card{position:relative;display:block;width:100%;text-align:left;border:1px solid #e9edf3;border-radius:16px;padding:16px;background:#fff;color:inherit;transition:border-color .18s,box-shadow .18s,transform .18s;min-width:0}
.learning-course-card:hover{border-color:#c6b8f7;transform:translateY(-2px);box-shadow:0 12px 24px #392e6c0b}
.learning-course-card.is-selected{border-color:#9b83ef;background:#fcfbff;box-shadow:0 0 0 2px #eee8ff inset}
.learning-course-card-top{display:flex;align-items:center;gap:8px;min-width:0;margin-bottom:12px}
.learning-course-icon{width:39px;height:39px;border-radius:13px;display:grid;place-items:center;background:#f1edff;color:#7557d8;font-size:14px;font-weight:900;flex:0 0 auto}
.learning-course-card:nth-child(3n+2) .learning-course-icon{background:#e6f4eb;color:#32865a}
.learning-course-card:nth-child(3n) .learning-course-icon{background:#fff2d9;color:#9a7432}
.learning-course-category{font-size:9px;color:#7f899a;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.learning-selected-mark{margin-left:auto;flex:0 0 21px;width:21px;height:21px;border-radius:50%;background:#8c70e9;color:#fff;display:grid;place-items:center;font-size:11px;font-weight:900}
.learning-course-card>strong{display:block;font-size:13px;line-height:1.45;letter-spacing:-.02em;color:#1e2b3d}
.learning-course-card>p{font-size:10px;line-height:1.7;color:#7d8796;margin:6px 0 12px;min-height:34px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.learning-course-stats{display:flex;gap:11px;font-size:9px;color:#677487;margin-bottom:8px}
.learning-course-progress-label{display:flex;align-items:center;justify-content:space-between;margin-top:6px;font-size:9px;color:#8690a0}
.learning-course-progress-label b{color:#3b4560;font-size:10px}
.learning-total-pill{display:inline-flex;align-items:center;gap:5px;border:1px solid #e5e9f1;border-radius:9px;padding:7px 10px;font-size:9px;font-weight:800;color:#617086;white-space:nowrap}
.learning-lesson-list{display:grid;gap:9px}
.learning-lesson-card{display:grid;grid-template-columns:43px minmax(0,1fr) auto;align-items:start;gap:12px;padding:14px;border:1px solid #e9edf3;border-radius:15px;background:#fff;min-width:0;transition:border-color .18s,background .18s}
.learning-lesson-card.is-locked{background:#fbfbfd}
.learning-lesson-card.is-complete{border-color:#d9efe2}
.learning-lesson-index{display:grid;place-items:center;width:40px;height:40px;border-radius:13px;background:#f1edff;color:#765ad1;font-size:12px;font-weight:900}
.learning-lesson-card.is-locked .learning-lesson-index{background:#f0f1f5;color:#959dad}
.learning-lesson-card.is-complete .learning-lesson-index{background:#e2f6eb;color:#2f8a5c}
.learning-lesson-copy{min-width:0}
.learning-lesson-meta{display:flex;flex-wrap:wrap;align-items:center;gap:7px;margin:0 0 4px;font-size:8px;color:#8590a0}
.learning-status{display:inline-flex;align-items:center;border-radius:6px;padding:3px 6px;font-size:8px;font-weight:850}
.learning-status.is-open{background:#e4f6eb;color:#258251}
.learning-status.is-done{background:#e6efff;color:#3f75af}
.learning-status.is-locked{background:#f0eff5;color:#7f8291}
.learning-lesson-copy h3{font-size:12px;line-height:1.45;letter-spacing:-.02em;color:#202c3e;margin:0 0 5px}
.learning-lesson-copy>p{font-size:10px;line-height:1.65;color:#7d8796;margin:0}
.learning-lesson-progress{display:flex;align-items:center;gap:8px;margin-top:9px;max-width:280px}
.learning-lesson-progress .progress-track{flex:1}
.learning-lesson-progress>span{font-size:8px;font-weight:850;color:#738097;min-width:25px;text-align:right}
.learning-teacher-note{display:grid;gap:2px;margin-top:9px;padding:8px 10px;border-left:3px solid #d6c8ff;background:#faf8ff;border-radius:0 8px 8px 0}
.learning-teacher-note strong{font-size:8px;color:#7557c7}
.learning-teacher-note span{font-size:9px;color:#6f7786;line-height:1.6}
.learning-lesson-end{display:flex;align-items:center;justify-content:flex-end;min-width:120px}
.learning-lesson-end .lesson-action{white-space:nowrap;margin:0}
.learning-empty-state{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;border:1px dashed #dfe5ee;background:#fafbfe;border-radius:16px;min-height:205px;padding:28px 20px}
.learning-empty-state.learning-empty-wide{min-height:245px}
.learning-empty-icon{width:48px;height:48px;border-radius:16px;background:#f0ebff;display:grid;place-items:center;color:#795bd8;font-size:23px;margin-bottom:12px}
.learning-empty-state h3{font-size:14px;color:#233148;margin:0 0 6px}
.learning-empty-state p{max-width:430px;font-size:10px;line-height:1.8;color:#7c8797;margin:0}
.learning-empty-actions{display:flex;justify-content:center;gap:9px;flex-wrap:wrap;margin-top:17px}
.learning-empty-actions .button{font-size:10px;padding:10px 13px}
.learning-progress-panel{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px;border:1px solid #e8edf3;border-radius:15px;background:#fff}
.learning-progress-panel>div:first-child strong{font-size:24px;line-height:1.2;color:#1c2b40;letter-spacing:-.04em}
.learning-progress-panel>div:first-child strong span{font-size:14px;color:#8a94a3;font-weight:600}
.learning-progress-panel>div:first-child p{font-size:9px;color:#858f9f;margin:3px 0 0}
.learning-progress-right{width:min(230px,50%)}
.learning-progress-right strong{display:block;text-align:right;font-size:18px;color:#7657d3;margin-bottom:8px}
.learning-progress-right .progress-track{height:7px}
@media(max-width:1100px){.learning-room-layout{grid-template-columns:minmax(0,1fr)}.learning-room-layout .portal-profile-rail{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:700px){.portal-shell,.portal-content,.portal-main,.portal-primary,.portal-profile-rail,.learning-room-layout,.learning-course-card,.learning-lesson-card,.learning-progress-panel,.portal-card,.voucher-panel{min-width:0;max-width:100%}.portal-content{overflow-x:clip}.learning-room-layout .portal-profile-rail{grid-template-columns:1fr}.portal-top-actions .button.soft{white-space:nowrap;font-size:10px;padding:7px 10px}.learning-room-welcome{min-height:235px;padding:22px 21px}.learning-room-welcome-copy{max-width:100%}.learning-room-welcome h1{font-size:26px;max-width:330px}.learning-room-welcome p:not(.learning-eyebrow){max-width:350px}.learning-welcome-illustration{position:absolute;right:-27px;bottom:-15px;opacity:.3;transform:scale(.8);transform-origin:bottom right}.learning-room-welcome-copy{z-index:3}.learning-welcome-caption{max-width:135px}.learning-summary-grid{gap:6px}.learning-summary-card{padding:11px 8px;gap:7px;flex-direction:column;align-items:flex-start}.learning-summary-icon{width:30px;height:30px;border-radius:10px;font-size:14px}.learning-summary-card strong{font-size:17px}.learning-summary-card span:last-child{font-size:8px}.learning-course-grid{grid-template-columns:1fr}.learning-course-card{padding:14px}.learning-course-card>p{min-height:0}.learning-lesson-card{grid-template-columns:34px minmax(0,1fr);gap:10px;padding:12px}.learning-lesson-index{width:33px;height:33px;border-radius:10px;font-size:10px}.learning-lesson-end{grid-column:2;justify-content:flex-start;min-width:0;margin-top:2px}.learning-lesson-end .lesson-action{font-size:9px;padding:8px 10px}.learning-lesson-copy h3{font-size:11px}.learning-lesson-meta{font-size:7px}.learning-section-heading{align-items:flex-start}.learning-section-heading h2{font-size:16px}.learning-progress-panel{padding:14px}.learning-progress-right{width:47%}.learning-empty-actions{flex-direction:column;width:100%;max-width:250px}.learning-empty-actions .button{width:100%}}


/* --------------------------------------------------------------------------
   Mentora Edu static-site UX integration (adapted from the updated concept)
   Warm paper + ink + coral + teal. Existing content/routes and portal logic stay.
   -------------------------------------------------------------------------- */
:root{
  --navy:#111315;
  --navy-2:#25282c;
  --ink:#1a1c1e;
  --muted:#756f65;
  --blue:#1e6b7b;
  --sky:#e8f2f0;
  --cream:#fbf7ee;
  --paper:#fefdf9;
  --line:#e8e1d5;
  --gold:#f06b43;
  --purple:#9a7bf0;
  --purple-dark:#7557d8;
  --lavender:#fbe7df;
  --shadow:0 18px 50px rgba(35,23,10,.09);
  --radius:22px;
}
html{scroll-padding-top:6rem;background:var(--cream)}
body{background:var(--cream);color:var(--ink);overflow-wrap:break-word}
.skip-link{position:fixed;z-index:1000;top:12px;left:12px;transform:translateY(-160%);background:var(--m-accent-navy);color:var(--m-accent-navy-ink);padding:12px 16px;border-radius:12px;box-shadow:0 8px 24px #1113152e}
.skip-link:focus{left:12px;transform:translateY(0)}
.site-header{background:rgba(251,247,238,.94);border-bottom-color:rgba(17,19,21,.09)}
.header-inner{min-height:76px;height:76px;gap:16px}
.brand{gap:10px}
.brand-mark{width:40px;height:40px;border-radius:50%;background:#f06b43;color:#fff;box-shadow:0 6px 16px rgba(240,107,67,.22);letter-spacing:0}
.brand-name{color:#111315}
.brand-tag{color:#7d7065}
.nav{gap:clamp(2px,.55vw,10px)}
.nav>a{padding:9px 10px;border-radius:999px;color:#4a4742;font-size:12px;white-space:nowrap}
.nav>a:hover{color:#111315;background:rgba(240,107,67,.08)}
.nav>a[aria-current=page]{color:#d95632;background:rgba(240,107,67,.10)}
.nav .nav-login{color:#1e6b7b;padding:9px 10px}
.nav .nav-cta{display:inline-flex;align-items:center;justify-content:center;min-height:42px;background:#111315;color:#fefdf9;border-radius:999px;padding:10px 16px;box-shadow:0 6px 14px rgba(17,19,21,.13)}
.nav .nav-cta:hover{background:#25282c;color:#fff;transform:translateY(-1px)}
.menu-toggle{min-width:44px;min-height:44px;border-radius:50%;background:var(--paper);border-color:rgba(17,19,21,.15);color:var(--ink)}
.hero{background:radial-gradient(ellipse at 83% 20%,#fbe7df 0,transparent 39%),linear-gradient(180deg,#fbf7ee 0%,#fefdf9 100%);padding-top:68px}
.hero h1,.page-hero h1{color:#111315}
.hero h1 span{color:#f06b43}
.eyebrow{color:#d95632;letter-spacing:.12em}
.lead{color:#625d54}
.hero-note{color:#746d63}
.note-dot{background:#1e6b7b}
.art-card{background:linear-gradient(145deg,#111315 0%,#29343a 100%);box-shadow:0 30px 55px rgba(17,19,21,.18)}
.book.one{background:#f06b43}.book.two{background:#1e6b7b}.book.three{background:#f5c58a}
.floating-note{background:#fefdf9;border-color:#e8e1d5}
.floating-icon,.card-icon{background:#e8f2f0;color:#1e6b7b}
.card-icon.gold{background:#fbe7df;color:#d95632}
.trust-strip{background:#111315;border-color:#111315}
.trust-title{color:#fff}
.trust-items span{color:#d7d2c9}
.trust-items svg{color:#f06b43}
.soft-section{background:#f3eee4}
.benefit-visual{background:linear-gradient(150deg,#e8f2f0,#fbe7df)}
.benefit-visual:after{border-color:#1e6b7b30;box-shadow:0 0 0 25px #1e6b7b08,0 0 0 55px #f06b4308}
.benefit-number{color:#d95632}
.section-heading h2,.benefit-layout h2,.cta-band h2{color:#111315}
.button{min-height:44px;border-radius:999px;letter-spacing:.005em}
.button-primary{background:#111315;color:#fff;box-shadow:0 8px 18px rgba(17,19,21,.14)}
.button-primary:hover{background:#25282c}
.button-secondary{border-color:#d8d0c1;background:#fefdf9;color:#111315}
.button-secondary:hover{border-color:#f06b43;background:#fff8f4}
.text-link{color:#1e6b7b}
.text-link:hover{color:#d95632}
.cta-band{background:#111315;border-radius:28px;box-shadow:0 22px 50px #11131518}
.cta-band .eyebrow{color:#ffb59d!important}
.cta-band .button-light{background:#fefdf9;color:#111315}
.cta-band .button-light:hover{background:#fbe7df}
.page-hero{background:radial-gradient(ellipse at 93% 7%,#fbe7df 0,transparent 36%),linear-gradient(135deg,#fbf7ee,#fefdf9);border-bottom-color:#e8e1d5}
.breadcrumb{color:#81796e}
.breadcrumb a{color:#1e6b7b}
.service-card,.step-card,.faq-item,.form-card,.table-wrap,.sample-note{background:#fefdf9;border-color:#e8e1d5;box-shadow:0 8px 24px rgba(35,23,10,.035)}
.service-card{border-radius:24px}
.service-card:hover{border-color:#f1b39c;box-shadow:0 18px 36px rgba(35,23,10,.09)}
.service-card h3,.step-card h3,.faq-item h3{color:#111315}
.service-card p,.step-card p,.faq-item p{color:#6e675d}
.pricing-intro-note{background:#e8f2f0;border-color:#cce1de;color:#355957}
.mode-pill{background:#e8f2f0;color:#1e6b7b}
.price-table{min-width:850px}
.price-table thead th{background:#f3eee4;color:#625d54;border-bottom:1px solid #e8e1d5}
.price-table td{border-color:#eee8dc;color:#655f55}
.price-table tbody tr:hover{background:#fff8f4}
.price-table td:first-child,.price{color:#111315}
.pricing-category{border-color:#e8e1d5}
.price-sub{color:#7d7065}
.contact-grid{display:grid;grid-template-columns:minmax(270px,.82fr) minmax(0,1.18fr);gap:24px;align-items:start}
.contact-card{background:#111315;color:#fff;border-radius:24px;padding:28px;position:sticky;top:100px;box-shadow:0 18px 45px #11131516}
.contact-card h2{font-size:clamp(22px,2.5vw,28px);line-height:1.2;letter-spacing:-.035em;color:#fff;margin:0 0 12px}
.contact-card>p{font-size:13px;color:#d3cec6;line-height:1.8;margin:0 0 20px}
.contact-card .eyebrow{color:#ffb59d!important}
.contact-card .contact-link{display:flex;gap:12px;align-items:center;padding:14px 0;border-top:1px solid #ffffff22;color:#fff}
.contact-card .contact-symbol{display:grid;place-items:center;width:42px;height:42px;flex-shrink:0;background:#ffffff14;border-radius:14px;color:#ffb59d}
.contact-card .contact-symbol svg{width:22px;height:22px}
.contact-card .contact-link>span:last-child{display:block;min-width:0;margin:0;color:#fff}
.contact-card .contact-link small{display:block;font-size:10px;color:#d0c8bd;margin:0 0 3px}
.contact-card .contact-link strong{display:block;font-size:13px;color:#fff;overflow-wrap:anywhere}
.contact-card .disclaimer{margin-top:16px;padding:13px;border-radius:13px;font-size:11px;line-height:1.7}
.contact-grid .form-card{min-width:0}
.form-card{padding:clamp(20px,3vw,30px);border-radius:24px}
.form-card h2{color:#111315}
.form-card>p{color:#6e675d}
.field label{color:#45413a;font-size:12px}
.field input,.field select,.field textarea,.auth-input{border-color:#ded6c9;border-radius:13px;background:#fffefa;color:#1a1c1e;font-size:14px;min-height:46px}
.field input:focus,.field select:focus,.field textarea:focus,.auth-input:focus{border-color:#1e6b7b;box-shadow:0 0 0 3px #1e6b7b20;outline:0}
.field input::placeholder,.field textarea::placeholder{color:#92897d}
.form-note,.small-note{color:#7d7065}
.form-status{color:#1e6b7b;overflow-wrap:anywhere}
.form-status a{color:#d95632;text-decoration:underline;text-underline-offset:3px}
.table-wrap{max-width:100%;overscroll-behavior-inline:contain;scrollbar-color:#c7bca9 #f3eee4}
.table-wrap:focus-visible{outline:3px solid #1e6b7b;outline-offset:3px}
.site-footer{background:#f3eee4;border-top-color:#e8e1d5}
.footer-title{color:#111315}
.footer-links a{color:#625d54}
.footer-links a:hover{color:#d95632}
.footer-bottom{border-top-color:#ded6c9}
.whatsapp-float{bottom:calc(18px + env(safe-area-inset-bottom));background:#188454;box-shadow:0 12px 28px #18845438}
.whatsapp-float:hover{background:#11683f}
button:disabled,.button[aria-disabled="true"]{cursor:not-allowed;opacity:.65}
[hidden]{display:none!important}
.visually-hidden{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.hero-consultation{display:flex;gap:8px;align-items:stretch;width:min(100%,540px);padding:7px;border:1px solid #ded6c9;border-radius:999px;background:#fefdf9;box-shadow:0 8px 24px rgba(35,23,10,.07);margin-top:28px}
.hero-consultation input{flex:1;min-width:0;border:0;outline:0;background:transparent;padding:0 13px;color:#111315;font-size:14px}
.hero-consultation input::placeholder{color:#92897d}
.hero-consultation:focus-within{border-color:#1e6b7b;box-shadow:0 0 0 3px #1e6b7b20,0 8px 24px rgba(35,23,10,.06)}
.hero-consultation .button{flex-shrink:0;padding:12px 18px}
.hero-form-note{max-width:520px;margin:8px 0 0;color:#7d7065;font-size:11px;line-height:1.6}
.hero-actions{align-items:center;gap:18px;margin-top:17px}
.hero-actions .text-link{display:inline-flex;gap:8px;align-items:center;font-weight:800;font-size:12px;padding:10px 2px}
.hero-actions .text-link svg{width:16px;height:16px}
.program-discovery{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:14px;margin:-10px 0 24px;padding:14px;background:#f3eee4;border:1px solid #e8e1d5;border-radius:18px}
.program-discovery-label{color:#625d54;font-size:11px;font-weight:800}
.program-filters{display:flex;flex-wrap:wrap;gap:6px;min-width:0}
.program-filters button{min-height:38px;padding:8px 13px;border:1px solid transparent;border-radius:999px;background:transparent;color:#625d54;font-size:11px;font-weight:800;transition:background .18s,color .18s,border-color .18s}
.program-filters button:hover{color:#111315;background:#fff8f4}
.program-filters button[aria-pressed="true"]{background:#111315;border-color:#111315;color:#fff}
.menu-open{overflow:hidden}
@media(max-width:960px){
  .header-inner{height:76px;min-height:76px}
  .menu-toggle{display:flex;align-items:center;justify-content:center}
  .nav{display:none;position:absolute;top:75px;left:0;right:0;padding:14px 16px 18px;background:#fbf7ee;border-bottom:1px solid #e8e1d5;box-shadow:0 18px 30px #11131514;align-items:stretch;gap:5px;flex-direction:column;max-height:calc(100dvh - 76px);overflow-y:auto}
  .nav.open{display:flex}
  .nav>a{display:flex;align-items:center;justify-content:flex-start;min-height:44px;padding:11px 14px;border-radius:12px;font-size:14px}
  .nav .nav-cta{justify-content:center;margin-top:4px}
  .hero{padding-top:50px}
  .contact-grid{grid-template-columns:minmax(0,1fr);}
  .contact-card{position:static}
}
@media(max-width:580px){
  html{scroll-padding-top:5rem}
  .container{width:calc(100% - 30px)}
  .header-inner{height:68px;min-height:68px}
  .brand-name{font-size:16px}
  .brand-tag{font-size:9px}
  .nav{top:67px;max-height:calc(100dvh - 68px)}
  .hero{padding-top:39px}
  .hero-grid{gap:22px}
  .hero-consultation{border-radius:19px;flex-direction:column;align-items:stretch;padding:8px}
  .hero-consultation input{min-height:44px;padding-inline:11px}
  .hero-consultation .button{width:100%}
  .hero-form-note{font-size:10px}
  .hero-actions{gap:12px;margin-top:12px}
  .program-discovery{align-items:flex-start;flex-direction:column;padding:12px}
  .program-filters{width:100%}
  .program-filters button{flex:1 1 auto;max-width:100%;white-space:normal}
  .contact-grid{gap:16px}
  .contact-card{padding:23px}
  .field input,.field select,.field textarea{font-size:16px}
  .table-wrap{border-radius:13px}
  .whatsapp-float{right:14px;bottom:calc(14px + env(safe-area-inset-bottom));width:50px;height:50px;justify-content:center;padding:0;border-radius:50%}
  .whatsapp-float span{display:none}
}
@media(prefers-reduced-motion:reduce){
  html{scroll-behavior:auto!important}
  *,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}
}
/* Keep the active primary action readable when it is also the current page. */
.nav .nav-cta[aria-current="page"]{background:#f06b43;color:#fff}


/* ==========================================================================
   RUANGGURU-INSPIRED MODERN EDTECH DESIGN SYSTEM (MENTORA EDU)
   ========================================================================== */

:root {
  --rg-navy: #0e2038;
  --rg-navy-light: #162f52;
  --rg-blue: #2563eb;
  --rg-blue-hover: #1d4ed8;
  --rg-blue-bg: #eff6ff;
  --rg-gold: #f59e0b;
  --rg-gold-light: #fef3c7;
  --rg-emerald: #10b981;
  --rg-emerald-light: #ecfdf5;
  --rg-border: #e2e8f0;
  --rg-card-shadow: 0 10px 30px -5px rgba(14, 32, 56, 0.07), 0 4px 6px -2px rgba(14, 32, 56, 0.03);
  --rg-hover-shadow: 0 20px 40px -10px rgba(14, 32, 56, 0.12), 0 8px 16px -4px rgba(14, 32, 56, 0.05);
}

/* Nav Portal Button */
.pill-portal {
  display: inline-flex !important;
  align-items: center;
  gap: 7px;
  background: var(--rg-blue-bg) !important;
  color: var(--rg-blue) !important;
  padding: 8px 16px !important;
  border-radius: 999px !important;
  font-weight: 750 !important;
  border: 1px solid #bfdbfe;
  transition: all 0.2s ease;
}
.pill-portal:hover {
  background: #dbeafe !important;
  transform: translateY(-1px);
}

/* Hero Section */
.hero-rg {
  padding: 60px 0 50px;
  background: 
    radial-gradient(circle at 85% 15%, rgba(37, 99, 235, 0.08) 0%, transparent 45%),
    radial-gradient(circle at 10% 80%, rgba(245, 158, 11, 0.07) 0%, transparent 40%),
    linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  overflow: hidden;
  border-bottom: 1px solid var(--rg-border);
}

.hero-rg-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 50px;
}

.eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: var(--rg-blue-bg);
  border: 1px solid #bfdbfe;
  color: var(--rg-blue);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  margin-bottom: 20px;
}

.dot-live {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.25);
}

.hero-rg-copy h1 {
  font-size: clamp(36px, 4.4vw, 56px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.04em;
  color: var(--rg-navy);
  margin: 0 0 20px;
}

.gradient-text {
  background: linear-gradient(135deg, #1d4ed8 0%, #0284c7 50%, #059669 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-lead {
  font-size: 16px;
  line-height: 1.75;
  color: #475569;
  margin: 0 0 28px;
  max-width: 580px;
}

/* Quick Consultation Bar */
.quick-consult-box {
  background: #fff;
  border: 2px solid #e2e8f0;
  border-radius: 18px;
  padding: 8px;
  box-shadow: 0 12px 30px rgba(14, 32, 56, 0.08);
  max-width: 540px;
}

.consult-form {
  display: flex;
  gap: 8px;
}

.consult-form input {
  flex: 1;
  border: 0;
  outline: 0;
  padding: 12px 16px;
  font-size: 14px;
  color: #1e293b;
  background: transparent;
}

.consult-form input::placeholder {
  color: #94a3b8;
}

.button-rg-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #fff;
  border: 0;
  border-radius: 12px;
  padding: 12px 22px;
  font-size: 13px;
  font-weight: 750;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
  text-decoration: none;
}

.button-rg-primary:hover {
  background: linear-gradient(135deg, #1d4ed8, #1e40af);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.45);
  color: #fff;
}

.button-rg-primary.full {
  width: 100%;
}

.button-rg-light {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #fff;
  color: var(--rg-navy);
  border: 0;
  border-radius: 12px;
  padding: 12px 22px;
  font-size: 13px;
  font-weight: 750;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
  text-decoration: none;
}

.button-rg-light:hover {
  transform: translateY(-2px);
  background: #f8fafc;
  color: var(--rg-navy);
}

.button-rg-light.large {
  padding: 14px 28px;
  font-size: 14px;
}

.button-rg-subtle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: #334155;
  border-radius: 10px;
  padding: 10px 16px;
  font-size: 12px;
  font-weight: 750;
  transition: all 0.2s ease;
  text-decoration: none;
}

.button-rg-subtle:hover {
  background: #f1f5f9;
  color: var(--rg-navy);
}

.consult-hint {
  font-size: 11px;
  color: #64748b;
  padding: 8px 12px 4px;
}

.hero-trust-row {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 26px;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: #475569;
}

.badge-icon {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--rg-emerald-light);
  color: var(--rg-emerald);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
}

/* Hero Showcase Card */
.hero-rg-showcase {
  position: relative;
}

.showcase-card {
  background: #fff;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 28px;
  padding: 32px 28px;
  box-shadow: 0 25px 60px -15px rgba(14, 32, 56, 0.15);
  position: relative;
  z-index: 2;
}

.showcase-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.status-live-tag {
  background: #f1f5f9;
  color: #334155;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.course-star {
  color: #d97706;
  font-weight: 800;
  font-size: 12px;
}

.showcase-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--rg-navy);
  margin: 0 0 20px;
  line-height: 1.35;
}

.showcase-features {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 24px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  background: #f8fafc;
  border-radius: 14px;
  border: 1px solid #f1f5f9;
}

.feature-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 18px;
  flex-shrink: 0;
}

.feature-icon.blue { background: #dbeafe; color: #1e40af; }
.feature-icon.green { background: #d1fae5; color: #065f46; }
.feature-icon.gold { background: #fef3c7; color: #92400e; }

.feature-item strong {
  display: block;
  font-size: 13px;
  color: var(--rg-navy);
}

.feature-item span {
  display: block;
  font-size: 11px;
  color: #64748b;
  margin-top: 2px;
}

.float-stat {
  position: absolute;
  background: #fff;
  border-radius: 16px;
  padding: 12px 18px;
  box-shadow: 0 16px 36px rgba(14, 32, 56, 0.12);
  border: 1px solid #e2e8f0;
  z-index: 3;
}

.float-1 {
  left: -24px;
  bottom: 20px;
}

.float-2 {
  right: -18px;
  top: 30px;
}

.stat-number {
  display: block;
  font-size: 18px;
  font-weight: 800;
  color: var(--rg-blue);
}

.stat-desc {
  display: block;
  font-size: 10px;
  font-weight: 700;
  color: #64748b;
  margin-top: 2px;
}

/* Trust Bar */
.trust-bar {
  background: #fff;
  border-bottom: 1px solid var(--rg-border);
  padding: 24px 0;
}

.trust-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 20px;
  flex-wrap: wrap;
}

.trust-bar-item {
  text-align: center;
}

.trust-bar-item strong {
  display: block;
  font-size: 16px;
  font-weight: 800;
  color: var(--rg-navy);
}

.trust-bar-item span {
  display: block;
  font-size: 12px;
  color: #64748b;
  margin-top: 4px;
}

.trust-bar-divider {
  width: 1px;
  height: 36px;
  background: #e2e8f0;
}

/* Section Common */
.section-rg {
  padding: 70px 0;
}

.section-rg.bg-light {
  background: #f8fafc;
  border-block: 1px solid #e2e8f0;
}

.section-rg-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 40px;
}

.section-rg-header h2 {
  font-size: clamp(28px, 3.2vw, 40px);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--rg-navy);
  margin: 10px 0 14px;
}

.section-rg-header .lead {
  font-size: 15px;
  color: #64748b;
  line-height: 1.7;
}

/* Program Tabs (Ruangguru-Style) */
.program-tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.tab-btn {
  background: #fff;
  border: 1px solid var(--rg-border);
  border-radius: 999px;
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 750;
  color: #475569;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.tab-btn:hover {
  background: #f8fafc;
  color: var(--rg-navy);
  border-color: #cbd5e1;
}

.tab-btn.active {
  background: var(--rg-navy);
  color: #fff;
  border-color: var(--rg-navy);
  box-shadow: 0 6px 18px rgba(14, 32, 56, 0.2);
  transform: translateY(-1px);
}

.tab-panel {
  display: none;
  animation: fadeInPanel 0.4s ease;
}

.tab-panel.active {
  display: block;
}

@keyframes fadeInPanel {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Cards Grid */
.rg-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.rg-card {
  background: #fff;
  border: 1px solid var(--rg-border);
  border-radius: 22px;
  padding: 32px 28px;
  box-shadow: var(--rg-card-shadow);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.3s ease;
}

.rg-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--rg-hover-shadow);
  border-color: #cbd5e1;
}

.rg-card.featured {
  border: 2px solid var(--rg-blue);
  box-shadow: 0 14px 34px -5px rgba(37, 99, 235, 0.15);
}

.card-badge-top {
  position: absolute;
  top: -12px;
  right: 28px;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 14px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.rg-card-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--rg-blue);
  margin-bottom: 8px;
}

.rg-card-head h3 {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--rg-navy);
  margin: 0 0 10px;
}

.rg-card-head p {
  font-size: 13px;
  color: #64748b;
  line-height: 1.65;
  margin: 0 0 18px;
}

.rg-card-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.rg-card-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 13px;
  color: #334155;
  margin-bottom: 24px;
  padding: 16px 0;
  border-block: 1px solid #f1f5f9;
}

.rg-card-pricing {
  margin-top: auto;
  margin-bottom: 20px;
}

.price-from {
  font-size: 11px;
  color: #64748b;
  display: block;
}

.price-val {
  font-size: 26px;
  font-weight: 800;
  color: var(--rg-navy);
}

.price-val small {
  font-size: 13px;
  font-weight: 600;
  color: #64748b;
}

.rg-card-actions {
  display: flex;
  gap: 10px;
}

/* Pricing Matrix Section */
.pricing-matrix-rg {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.price-col {
  background: #fff;
  border: 1px solid var(--rg-border);
  border-radius: 20px;
  padding: 30px 24px;
  position: relative;
  box-shadow: var(--rg-card-shadow);
  display: flex;
  flex-direction: column;
}

.price-badge {
  display: inline-block;
  align-self: flex-start;
  background: var(--rg-blue-bg);
  color: var(--rg-blue);
  font-size: 11px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.price-badge.subtle {
  background: #f1f5f9;
  color: #475569;
}

.price-col h3 {
  font-size: 20px;
  font-weight: 800;
  color: var(--rg-navy);
  margin: 0 0 12px;
}

.price-amount {
  font-size: 28px;
  font-weight: 800;
  color: var(--rg-navy);
  letter-spacing: -0.03em;
}

.price-amount span {
  font-size: 14px;
  color: #64748b;
  font-weight: 600;
}

.price-subtext {
  font-size: 12px;
  color: #64748b;
  margin: 4px 0 20px;
}

.price-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 13px;
  color: #334155;
  flex: 1;
}

/* Method Grid */
.method-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.method-card {
  background: #fff;
  border: 1px solid var(--rg-border);
  border-radius: 20px;
  padding: 32px 26px;
  box-shadow: var(--rg-card-shadow);
}

.method-num {
  font-size: 28px;
  font-weight: 800;
  color: var(--rg-blue);
  font-family: 'JetBrains Mono', monospace;
  margin-bottom: 16px;
}

.method-card h3 {
  font-size: 18px;
  font-weight: 800;
  color: var(--rg-navy);
  margin: 0 0 10px;
}

.method-card p {
  font-size: 13px;
  color: #64748b;
  line-height: 1.7;
  margin: 0;
}

/* FAQ Accordion */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-card {
  background: #fff;
  border: 1px solid var(--rg-border);
  border-radius: 16px;
  padding: 18px 24px;
  box-shadow: var(--rg-card-shadow);
  transition: all 0.2s ease;
}

.faq-card[open] {
  border-color: #cbd5e1;
}

.faq-question {
  font-size: 15px;
  font-weight: 750;
  color: var(--rg-navy);
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: 24px;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question::after {
  content: "+";
  position: absolute;
  right: 0;
  top: -2px;
  font-size: 20px;
  font-weight: 700;
  color: var(--rg-blue);
}

.faq-card[open] .faq-question::after {
  content: "−";
}

.faq-answer {
  font-size: 13px;
  color: #64748b;
  line-height: 1.75;
  margin: 14px 0 0;
}

/* Big CTA Banner */
.cta-banner-rg {
  background: linear-gradient(135deg, #0e2038 0%, #173256 100%);
  border-radius: 26px;
  padding: 50px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(14, 32, 56, 0.2);
}

/* Subtle geometric hairline framing on CTA banner (no AI blur orbs) */
.cta-banner-rg::after {
  content: "";
  position: absolute;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  right: -120px;
  top: -120px;
  border: 1px solid rgba(169, 203, 232, 0.22);
  pointer-events: none;
}

.banner-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  color: #fbbf24;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 10px;
}

.cta-banner-copy h2 {
  font-size: 32px;
  font-weight: 800;
  margin: 0 0 12px;
  line-height: 1.25;
}

.cta-banner-copy p {
  font-size: 14px;
  color: #cbd5e1;
  max-width: 580px;
  line-height: 1.7;
  margin: 0;
}

/* Responsive Overrides */
@media(max-width: 950px) {
  .hero-rg-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .pricing-matrix-rg, .method-grid {
    grid-template-columns: 1fr;
  }
  .rg-cards-grid {
    grid-template-columns: 1fr;
  }
  .cta-banner-rg {
    flex-direction: column;
    align-items: flex-start;
    padding: 36px 28px;
  }
}


/* ==========================================================================
   RUANGGURU-STYLE PROMO / DIAGNOSTIC POP-UP MODAL
   ========================================================================== */

.rg-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(14, 32, 56, 0.7);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.rg-modal-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.rg-modal-box {
  background: #ffffff;
  border-radius: 26px;
  width: min(520px, 100%);
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 25px 70px -10px rgba(14, 32, 56, 0.35);
  position: relative;
  padding: 36px 32px 30px;
  transform: translateY(20px) scale(0.96);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.rg-modal-backdrop.active .rg-modal-box {
  transform: translateY(0) scale(1);
}

.rg-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #f1f5f9;
  border: 0;
  color: #64748b;
  font-size: 20px;
  font-weight: 700;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.rg-modal-close:hover {
  background: #e2e8f0;
  color: #0f172a;
}

.rg-modal-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #fef3c7;
  color: #b45309;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.rg-modal-box h3 {
  font-size: 24px;
  font-weight: 800;
  color: var(--rg-navy);
  letter-spacing: -0.03em;
  line-height: 1.25;
  margin: 0 0 10px;
}

.rg-modal-box p.modal-desc {
  font-size: 13px;
  color: #64748b;
  line-height: 1.65;
  margin: 0 0 20px;
}

.rg-modal-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.rg-modal-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.rg-modal-field label {
  font-size: 12px;
  font-weight: 750;
  color: #334155;
}

.rg-modal-field input,
.rg-modal-field select {
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 13px;
  color: #1e293b;
  background: #f8fafc;
  outline: none;
  transition: all 0.2s ease;
}

.rg-modal-field input:focus,
.rg-modal-field select:focus {
  border-color: var(--rg-blue);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.modal-later {
  text-align: center;
  margin-top: 10px;
}

.modal-later a {
  font-size: 12px;
  color: #94a3b8;
  text-decoration: underline;
  cursor: pointer;
}

.modal-later a:hover {
  color: #64748b;
}

/* Floating Promo Trigger Pill on Bottom-Left */
.floating-promo-trigger {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #1e3a8a, #2563eb);
  color: #ffffff;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  border: 2px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 10px 25px rgba(37, 99, 235, 0.35);
  cursor: pointer;
  transition: all 0.25s ease;
}

.floating-promo-trigger:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 14px 30px rgba(37, 99, 235, 0.45);
}

@media(max-width: 600px) {
  .rg-modal-box {
    padding: 28px 20px;
  }
  .floating-promo-trigger {
    left: 14px;
    bottom: calc(14px + env(safe-area-inset-bottom));
    padding: 8px 14px;
    font-size: 11px;
  }
}


/* ==========================================================================
   HUMAN-DESIGNED VECTOR EDTECH SYSTEM (MENTORA EDU)
   ========================================================================== */

body.human-theme {
  font-family: 'Source Sans 3', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: #1e293b;
  background-color: #fafbfc;
  -webkit-font-smoothing: antialiased;
}

/* Announcement Banner */
.announcement-bar {
  background: #0f1f38;
  color: #e2e8f0;
  padding: 8px 0;
  font-size: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.announcement-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.announcement-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 750;
  color: #38bdf8;
}

.announcement-action {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #cbd5e1;
}

.announcement-link {
  background: transparent;
  border: 0;
  color: #f59e0b;
  font-weight: 800;
  font-size: 12px;
  cursor: pointer;
  padding: 0;
  text-decoration: underline;
  transition: color 0.2s ease;
}

.announcement-link:hover {
  color: #fbbf24;
}

/* Brand Vector Logo */
.brand-vector-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.brand-text-wrap {
  display: flex;
  flex-direction: column;
}

/* Nav Custom Buttons */
.nav-portal-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 10px;
  background: var(--m-accent-sky-bg);
  color: var(--m-text-primary);
  font-weight: 750;
  border: 1px solid var(--m-accent-sky-border);
  transition: all 0.2s ease;
}

.nav-portal-btn:hover {
  background: var(--m-bg-elevated);
  border-color: var(--m-border-control);
  transform: translateY(-1px);
}

.nav-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 10px;
  background: var(--m-accent-navy);
  color: var(--m-accent-navy-ink);
  font-weight: 750;
  box-shadow: 0 4px 12px rgba(15, 31, 56, 0.2);
  transition: all 0.2s ease;
}

.nav-cta-btn:hover {
  background: var(--m-accent-navy-hover);
  transform: translateY(-1px);
}

/* Hero Section */
.human-hero {
  padding: 60px 0 50px;
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
}

.hero-container-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 50px;
}

.trust-pill-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: #eff6ff;
  border: 1px solid #dbeafe;
  color: #1e40af;
  font-size: 12px;
  font-weight: 750;
  margin-bottom: 20px;
}

.tag-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #2563eb;
}

.hero-left h1 {
  font-size: clamp(34px, 4.2vw, 52px);
  font-weight: 850;
  letter-spacing: -0.04em;
  line-height: 1.15;
  color: #0f1f38;
  margin: 0 0 18px;
}

.hero-desc {
  font-size: 16px;
  line-height: 1.75;
  color: #475569;
  margin: 0 0 28px;
  max-width: 600px;
}

/* Quick Picker Panel */
.hero-action-panel {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 22px;
  margin-bottom: 26px;
}

.quick-picker-label {
  font-size: 12px;
  font-weight: 750;
  color: #64748b;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.quick-picker-chips {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.chip-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: #334155;
  font-size: 13px;
  font-weight: 700;
  transition: all 0.2s ease;
}

.chip-btn:hover {
  border-color: #2563eb;
  color: #2563eb;
}

.chip-btn.active {
  background: #0f1f38;
  color: #ffffff;
  border-color: #0f1f38;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: 12px;
  background: #1d4ed8;
  color: #ffffff;
  font-size: 14px;
  font-weight: 750;
  box-shadow: 0 4px 14px rgba(29, 78, 216, 0.3);
  transition: all 0.2s ease;
}

.btn-primary:hover {
  background: #1e40af;
  transform: translateY(-1px);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 20px;
  border-radius: 12px;
  background: #ffffff;
  color: #0f1f38;
  border: 1px solid #cbd5e1;
  font-size: 14px;
  font-weight: 750;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-secondary:hover {
  background: #f1f5f9;
  border-color: #94a3b8;
}

/* Credibility Checklist */
.hero-points {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.point-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #334155;
}

/* Snapshot Right Card */
.program-snapshot-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 24px;
  padding: 28px 24px;
  box-shadow: 0 16px 36px -8px rgba(15, 31, 56, 0.1);
}

.snapshot-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: 1px solid #f1f5f9;
  margin-bottom: 20px;
}

.snapshot-tag {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 800;
  color: #0f1f38;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.snapshot-badge {
  background: #f1f5f9;
  color: #475569;
  font-size: 11px;
  font-weight: 750;
  padding: 4px 10px;
  border-radius: 6px;
}

.snapshot-body {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.snapshot-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.row-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.row-icon.navy { background: #0f1f38; color: #ffffff; }
.row-icon.blue { background: #eff6ff; color: #1d4ed8; }
.row-icon.emerald { background: #ecfdf5; color: #059669; }

.snapshot-row strong {
  display: block;
  font-size: 14px;
  color: #0f1f38;
  margin-bottom: 4px;
}

.snapshot-row p {
  font-size: 12px;
  color: #64748b;
  line-height: 1.6;
  margin: 0;
}

.snapshot-footer {
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid #f1f5f9;
}

.snapshot-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 800;
  color: #1d4ed8;
}

.snapshot-link:hover {
  text-decoration: underline;
}

/* Stats Strip */
.stats-strip {
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
  padding: 24px 0;
}

.stats-inner {
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 20px;
  flex-wrap: wrap;
}

.stat-col {
  text-align: center;
}

.stat-num {
  font-size: 24px;
  font-weight: 850;
  letter-spacing: -0.03em;
  color: #0f1f38;
}

.stat-sub {
  font-size: 12px;
  font-weight: 600;
  color: #64748b;
  margin-top: 2px;
}

.stat-divider {
  width: 1px;
  height: 38px;
  background: #cbd5e1;
}

/* Program Section */
.programs-section {
  padding: 80px 0;
  background: #ffffff;
}

.section-heading {
  text-align: center;
  max-width: 660px;
  margin: 0 auto 36px;
}

.section-kicker {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #1d4ed8;
  margin-bottom: 8px;
}

.section-heading h2 {
  font-size: clamp(28px, 3.2vw, 38px);
  font-weight: 850;
  letter-spacing: -0.04em;
  color: #0f1f38;
  margin: 0 0 12px;
}

.section-subtitle {
  font-size: 15px;
  color: #64748b;
  line-height: 1.7;
  margin: 0;
}

/* Category Segmented Control */
.category-switch-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 38px;
}

.cat-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: 999px;
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  color: #475569;
  font-size: 13px;
  font-weight: 750;
  cursor: pointer;
  transition: all 0.2s ease;
}

.cat-btn:hover {
  background: #f1f5f9;
  color: #0f1f38;
}

.cat-btn.active {
  background: #0f1f38;
  color: #ffffff;
  border-color: #0f1f38;
}

/* Program Catalog Grid */
.programs-catalog-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.program-box {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 22px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.program-box:hover {
  border-color: #94a3b8;
  transform: translateY(-2px);
}

.program-box.featured-box {
  border: 2px solid #1d4ed8;
}

.box-top-tag {
  position: absolute;
  top: -12px;
  right: 24px;
  background: #1d4ed8;
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  padding: 3px 12px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.box-meta-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.meta-tag {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  border-radius: 6px;
}

.meta-tag.blue { background: #eff6ff; color: #1d4ed8; }
.meta-tag.navy { background: #f1f5f9; color: #0f1f38; }
.meta-tag.gold { background: #fef3c7; color: #92400e; }

.meta-format {
  font-size: 12px;
  font-weight: 600;
  color: #64748b;
}

.program-box h3 {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #0f1f38;
  margin: 0 0 10px;
}

.box-summary {
  font-size: 13px;
  line-height: 1.7;
  color: #475569;
  margin: 0 0 18px;
}

.box-specs-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px 0;
  border-block: 1px solid #f1f5f9;
  margin-bottom: 22px;
}

.spec-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: #334155;
}

.box-footer-pricing {
  margin-top: auto;
}

.price-block {
  margin-bottom: 18px;
}

.price-label {
  font-size: 11px;
  color: #64748b;
  display: block;
}

.price-figure {
  font-size: 26px;
  font-weight: 850;
  color: #0f1f38;
}

.price-figure small {
  font-size: 13px;
  font-weight: 600;
  color: #64748b;
}

.price-option {
  font-size: 11px;
  color: #64748b;
  margin-top: 2px;
}

.box-actions {
  display: flex;
  gap: 10px;
}

.btn-box-primary {
  flex: 1;
  text-align: center;
  padding: 12px 18px;
  border-radius: 10px;
  background: #0f1f38;
  color: #ffffff;
  font-size: 13px;
  font-weight: 750;
  transition: all 0.2s ease;
}

.btn-box-primary:hover {
  background: #1e3a63;
}

.btn-box-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  border-radius: 10px;
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  color: #334155;
  font-size: 12px;
  font-weight: 750;
  transition: all 0.2s ease;
}

.btn-box-outline:hover {
  background: #f1f5f9;
}

/* Method Section */
.method-section {
  padding: 80px 0;
  background: #f8fafc;
  border-block: 1px solid #e2e8f0;
}

.method-cards-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.method-box {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 30px 24px;
}

.method-step-badge {
  display: inline-block;
  background: #eff6ff;
  color: #1d4ed8;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: 6px;
  margin-bottom: 14px;
}

.method-box h3 {
  font-size: 18px;
  font-weight: 800;
  color: #0f1f38;
  margin: 0 0 10px;
}

.method-box p {
  font-size: 13px;
  line-height: 1.7;
  color: #64748b;
  margin: 0;
}

/* FAQ Section */
.faq-section {
  padding: 70px 0;
  background: #ffffff;
}

.faq-container {
  max-width: 840px;
}

.faq-accordion-wrap {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-row {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 18px 22px;
}

.faq-row[open] {
  border-color: #94a3b8;
}

.faq-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 15px;
  font-weight: 750;
  color: #0f1f38;
  cursor: pointer;
  list-style: none;
}

.faq-title::-webkit-details-marker {
  display: none;
}

.faq-title svg {
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.faq-row[open] .faq-title svg {
  transform: rotate(180deg);
}

.faq-content {
  font-size: 13px;
  color: #475569;
  line-height: 1.75;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #f1f5f9;
}

/* Big Consultation Banner */
.consultation-banner {
  background: #0f1f38;
  border-radius: 24px;
  padding: 46px 42px;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
}

.banner-kicker {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  color: #38bdf8;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.banner-text h2 {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 0 0 10px;
  line-height: 1.25;
}

.banner-text p {
  font-size: 14px;
  color: #cbd5e1;
  max-width: 580px;
  margin: 0;
  line-height: 1.65;
}

.btn-whatsapp-large {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 12px;
  background: #ffffff;
  color: #0f1f38;
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.btn-whatsapp-large:hover {
  background: #f1f5f9;
  transform: translateY(-2px);
}

/* Human Clean Footer */
.site-footer {
  background: #ffffff;
  border-top: 1px solid #e2e8f0;
}

.footer-content-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 50px;
  padding: 56px 0 36px;
}

.footer-col-brand strong {
  display: block;
  font-size: 16px;
  color: #0f1f38;
  margin-bottom: 8px;
}

.footer-col-brand p {
  font-size: 13px;
  color: #64748b;
  line-height: 1.7;
  max-width: 330px;
  margin: 0;
}

.footer-col-links strong {
  display: block;
  font-size: 13px;
  font-weight: 800;
  color: #0f1f38;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 14px;
}

.footer-col-links a {
  display: block;
  font-size: 13px;
  color: #475569;
  margin-bottom: 8px;
  transition: color 0.2s ease;
}

.footer-col-links a:hover {
  color: #1d4ed8;
}

.footer-copyright-bar {
  border-top: 1px solid #f1f5f9;
  padding: 18px 0;
  font-size: 12px;
  color: #94a3b8;
}

.footer-copy-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

/* Floating Actions */
.floating-whatsapp-pill {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 8px;
  background: #0f1f38;
  color: #ffffff;
  padding: 12px 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 750;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 10px 25px rgba(15, 31, 56, 0.25);
  transition: all 0.2s ease;
}

.floating-whatsapp-pill:hover {
  background: #1e3a63;
  transform: translateY(-2px);
}

.floating-booking-trigger {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  color: #0f1f38;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 750;
  border: 1px solid #cbd5e1;
  box-shadow: 0 8px 20px rgba(15, 31, 56, 0.1);
  cursor: pointer;
  transition: all 0.2s ease;
}

.floating-booking-trigger:hover {
  background: #f8fafc;
  border-color: #94a3b8;
  transform: translateY(-2px);
}

/* Human Placement Test Modal */
.human-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(15, 31, 56, 0.65);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.human-modal-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.human-modal-box {
  background: #ffffff;
  border-radius: 20px;
  width: min(500px, 100%);
  max-height: 92vh;
  overflow-y: auto;
  box-shadow: 0 20px 50px rgba(15, 31, 56, 0.25);
  position: relative;
  padding: 32px 28px;
}

.modal-close-btn {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #f1f5f9;
  border: 0;
  color: #64748b;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.modal-close-btn:hover {
  background: #e2e8f0;
  color: #0f1f38;
}

.modal-header-block {
  margin-bottom: 20px;
}

.modal-badge-row {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #eff6ff;
  color: #1d4ed8;
  font-size: 11px;
  font-weight: 750;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 8px;
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #1d4ed8;
}

.modal-header-block h3 {
  font-size: 22px;
  font-weight: 800;
  color: #0f1f38;
  margin: 0 0 6px;
}

.modal-header-block p {
  font-size: 13px;
  color: #64748b;
  line-height: 1.6;
  margin: 0;
}

.modal-form-body {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.form-group label {
  font-size: 12px;
  font-weight: 700;
  color: #334155;
}

.form-group input,
.form-group select {
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  padding: 11px 13px;
  font-size: 13px;
  color: #0f1f38;
  background: #ffffff;
  outline: none;
}

.form-group input:focus,
.form-group select:focus {
  border-color: #1d4ed8;
  box-shadow: 0 0 0 3px rgba(29, 78, 216, 0.12);
}

.btn-submit-modal {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 20px;
  border-radius: 10px;
  background: #0f1f38;
  color: #ffffff;
  font-size: 13px;
  font-weight: 750;
  border: 0;
  cursor: pointer;
  margin-top: 8px;
  transition: background 0.2s ease;
}

.btn-submit-modal:hover {
  background: #1e3a63;
}

/* Responsive Overrides */
@media(max-width: 900px) {
  .hero-container-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .programs-catalog-grid,
  .method-cards-row {
    grid-template-columns: 1fr;
  }
  .consultation-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 32px 24px;
  }
  .footer-content-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media(max-width: 600px) {
  .announcement-bar {
    display: none;
  }
  .hero-points {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .floating-booking-trigger {
    display: none;
  }
  .floating-whatsapp-pill {
    right: 14px;
    bottom: calc(14px + env(safe-area-inset-bottom));
    padding: 9px 13px;
    font-size: 11px;
  }
}

/* Shared Private Course Gate Pages (/materi/*.html) */
body.gate-page {
  font-family: 'Source Sans 3', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: #fafbfc;
  color: #0f1f38;
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.gate-shell {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
}
.gate-card {
  width: min(560px, 100%);
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 24px;
  padding: 36px 32px;
  box-shadow: 0 16px 40px -10px rgba(15, 31, 56, 0.08);
  position: relative;
}
.gate-badge-row {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  background: #eff6ff;
  border: 1px solid #dbeafe;
  color: #1d4ed8;
  font-size: 11px;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
}
.gate-card h1 {
  font-size: 26px;
  font-weight: 850;
  letter-spacing: -0.03em;
  color: #0f1f38;
  margin: 0 0 10px;
}
.gate-card p {
  font-size: 13px;
  line-height: 1.7;
  color: #64748b;
  margin: 0 0 20px;
}
.gate-status-box {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  font-size: 13px;
  color: #334155;
  margin-bottom: 24px;
}
.gate-page .spinner {
  width: 18px;
  height: 18px;
  border: 2px solid #cbd5e1;
  border-top-color: #1d4ed8;
  border-radius: 50%;
  animation: gate-spin 0.8s linear infinite;
  flex-shrink: 0;
}
@keyframes gate-spin {
  to { transform: rotate(360deg); }
}
.gate-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.btn-gate-primary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 11px 18px;
  border-radius: 10px;
  background: #0f1f38;
  color: #ffffff;
  font-size: 13px;
  font-weight: 750;
  text-decoration: none;
  transition: background 0.2s ease;
  cursor: pointer;
  border: 0;
}
.btn-gate-primary:hover {
  background: #1e3a63;
}
.btn-gate-secondary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 11px 16px;
  border-radius: 10px;
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  color: #334155;
  font-size: 13px;
  font-weight: 750;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
}
.btn-gate-secondary:hover {
  background: #f1f5f9;
}
.gate-footer-note {
  text-align: center;
  padding: 18px 24px;
  font-size: 12px;
  color: #94a3b8;
  border-top: 1px solid #e2e8f0;
  background: #ffffff;
}

/* ==========================================================================
   EDITORIAL TYPOGRAPHY SYSTEM (Option B: Newsreader + Source Sans 3)
   ========================================================================== */
:root {
  --font-display: 'Newsreader', Georgia, 'Times New Roman', serif;
  --font-ui: 'Source Sans 3', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

body,
body.human-theme,
body.gate-page,
body.portal-body,
body.portal-auth-body,
button,
input,
select,
textarea {
  font-family: var(--font-ui);
}

.hero h1,
.hero-left h1,
.hero-rg-copy h1,
.page-hero h1,
.gate-card h1,
.auth-brand-copy h1,
.auth-form-panel h2,
.portal-banner h1,
.learning-room-welcome h1,
.section-heading h2,
.section-rg-header h2,
.benefit-layout h2,
.cta-band h2,
.banner-text h2,
.cta-banner-copy h2,
.contact-panel h2,
.form-card h2,
.learning-section-heading h2,
.portal-section-heading h2,
.portal-modal h2,
.benefit-quote,
.art-title,
.program-box h3,
.service-card h3,
.step-card h3,
.method-box h3,
.rg-modal-box h3,
.modal-header-block h3 {
  font-family: var(--font-display);
  font-optical-sizing: auto;
  font-variant-numeric: lining-nums;
  font-weight: 600;
  letter-spacing: -0.015em;
}

.hero-left h1,
.portal-banner h1,
.learning-room-welcome h1,
.auth-brand-copy h1 {
  letter-spacing: -0.018em;
}

.metric-card strong,
.learning-summary-card strong,
.learning-progress-panel strong,
.price-figure,
.summary-box strong {
  font-family: var(--font-ui);
  font-variant-numeric: tabular-nums;
}

/* ==========================================================================
   EDITORIAL SVG & VISUAL CLEANUP (Phosphor/Lucide + Haikei Contours)
   Harmonizes #172B4D navy, #A9CBE8 sky, #F7F5EF ivory, and #E6BD75 brass
   ========================================================================== */
.human-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #ffffff 0%, #faf8f2 100%);
}

.hero-contour-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.hero-container-grid {
  position: relative;
  z-index: 1;
}

.brand-vector-mark,
.brand-logo-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.method-step-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.method-step-head .method-step-badge {
  margin-bottom: 0;
}

.method-duotone-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #eff5fb;
  border: 1px solid #d7e5f2;
  display: grid;
  place-items: center;
  color: #172b4d;
  flex-shrink: 0;
}

.consultation-banner {
  position: relative;
  overflow: hidden;
  background: #172b4d;
}

.banner-contour-wave {
  position: absolute;
  top: 0;
  right: 0;
  width: 58%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.consultation-banner .banner-text,
.consultation-banner .banner-buttons {
  position: relative;
  z-index: 1;
}

/* Portal & Learning Room Palette + SVG Polish */
.portal-body,
.portal-auth-body {
  background: #f4f1ea;
}

.portal-shell {
  border-color: #e4e1d8;
  box-shadow: 0 20px 60px rgba(23, 43, 77, 0.08);
}

.portal-sidebar {
  background: #f8f7f3;
  border-right-color: #e6e3da;
}

.portal-nav a.active {
  background: #172b4d;
  color: #ffffff;
  box-shadow: 0 6px 14px rgba(23, 43, 77, 0.16);
}

.portal-help-art {
  background: #e9f1f8;
  color: #172b4d;
}

.portal-banner {
  background: #172b4d;
}

.portal-banner:after {
  content: none;
}

.banner-illustration {
  right: 4%;
  bottom: 12px;
  width: 170px;
  height: auto;
}

.learning-room-welcome {
  background: linear-gradient(135deg, #172b4d 0%, #1f3b66 68%, #284b7a 100%);
}

.learning-room-welcome:before {
  border-color: rgba(169, 203, 232, 0.16);
  box-shadow: 0 0 0 26px rgba(169, 203, 232, 0.04), 0 0 0 54px rgba(169, 203, 232, 0.02);
}

.learning-welcome-illustration {
  width: 196px;
  min-height: 146px;
  flex: 0 0 196px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 4px;
}

.editorial-study-svg {
  display: block;
  width: 168px;
  height: auto;
  filter: drop-shadow(0 12px 24px rgba(10, 22, 42, 0.22));
}

.learning-float-card {
  right: -2px;
  bottom: -2px;
  border: 1px solid #d7e5f2;
  color: #172b4d;
}

.learning-summary-icon {
  background: #e9f1f8;
  color: #172b4d;
}

.learning-course-card:hover {
  border-color: #a9cbe8;
  box-shadow: 0 12px 24px rgba(23, 43, 77, 0.07);
}

.learning-course-card.is-selected {
  border-color: #172b4d;
  background: #f8fbff;
  box-shadow: 0 0 0 1.5px #172b4d inset;
}

.learning-course-icon {
  background: #e9f1f8;
  color: #172b4d;
}

.learning-course-card:nth-child(3n+2) .learning-course-icon {
  background: #e7f4ec;
  color: #1f6f46;
}

.learning-course-card:nth-child(3n) .learning-course-icon {
  background: #f9f1df;
  color: #8b5e1a;
}

.learning-selected-mark {
  background: #172b4d;
  color: #ffffff;
}

.progress-fill {
  background: #172b4d;
}

.learning-progress-right strong,
.learning-text-link {
  color: #172b4d;
}

.task-emoji {
  background: #eff4fa;
  color: #172b4d;
  border: 1px solid #dbe6f2;
}

.learning-empty-icon {
  background: #e9f1f8;
  color: #172b4d;
}

.lesson-action.primary {
  background: #172b4d;
  border-color: #172b4d;
}

.lesson-action.primary:hover {
  background: #233e6c;
}

@media (max-width: 700px) {
  .learning-welcome-illustration {
    opacity: 0.24;
    right: -18px;
    bottom: -10px;
    width: 150px;
    flex: none;
  }

  .learning-float-card {
    display: none;
  }

  .banner-contour-wave {
    width: 100%;
    opacity: 0.45;
  }
}

/* ==========================================================================
   UNIFIED DESIGN TOKENS, LIGHT & DARK THEME (`mentora_theme`), & NEW FEATURES
   WCAG AA >= 4.5:1 text / >= 3.0:1 borders | Zero un-themed blind spots (R-25, R-34)
   ========================================================================== */
:root,
:root[data-theme="light"] {
  color-scheme: light;
  --m-bg-page: #fbf7ee;
  --m-bg-surface: #fefdf9;
  --m-bg-subtle: #f4f1ea;
  --m-bg-elevated: #ffffff;
  --m-bg-header: rgba(254, 253, 249, 0.94);
  --m-bg-hero: linear-gradient(180deg, #fefdf9 0%, #f4f1ea 100%);
  --m-bg-banner: #172b4d;
  --m-bg-banner-grad: linear-gradient(135deg, #172b4d 0%, #1f3b66 68%, #284b7a 100%);
  --m-bg-code: #f4f1ea;
  --m-bg-sidebar: #f8f7f3;
  --m-text-primary: #172b4d;
  --m-text-secondary: #465468;
  --m-text-muted: #536175;
  --m-text-on-banner: #f5f7fb;
  --m-text-on-banner-muted: #cfd9e8;
  --m-accent-primary: #1d568a;
  --m-accent-primary-hover: #15416b;
  --m-accent-navy: #172b4d;
  --m-accent-navy-hover: #233e6c;
  --m-accent-navy-ink: #ffffff;
  --m-accent-sky-bg: #eff5fb;
  --m-accent-sky-border: #c5daef;
  --m-accent-teal: #1e6b7b;
  --m-accent-gold: #e6bd75;
  --m-accent-gold-bg: #f9f1df;
  --m-accent-gold-ink: #7a5110;
  --m-border-subtle: #e4dfd3;
  --m-border-control: #8c877a;
  --m-border-focus: #1d568a;
  --m-status-ok-bg: #e7f4ec;
  --m-status-ok-ink: #1f6f46;
  --m-status-ok-border: #b5ddc3;
  --m-status-warn-bg: #f9f1df;
  --m-status-warn-ink: #8b5e1a;
  --m-status-warn-border: #e5d1a2;
  --m-status-err-bg: #fdecec;
  --m-status-err-ink: #9e212b;
  --m-status-err-border: #f5c2c7;
  --m-shadow-soft: 0 12px 30px rgba(23, 43, 77, 0.08);
  --m-shadow-card: 0 18px 46px rgba(23, 43, 77, 0.09);
  --m-backdrop: rgba(15, 25, 42, 0.65);
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --navy: #a9cbe8;
  --navy-2: #c4ddf4;
  --ink: #eff4fb;
  --muted: #a0b5ce;
  --blue: #9cc5ea;
  --sky: #1a2f49;
  --cream: #0b121e;
  --paper: #131f31;
  --line: #2d415e;
  --gold: #e6bd75;
  --m-bg-page: #0b121e;
  --m-bg-surface: #131f31;
  --m-bg-subtle: #1a2940;
  --m-bg-elevated: #1e304b;
  --m-bg-header: rgba(11, 18, 30, 0.94);
  --m-bg-hero: linear-gradient(180deg, #0e1728 0%, #0b121e 100%);
  --m-bg-banner: #132238;
  --m-bg-banner-grad: linear-gradient(135deg, #132238 0%, #193050 68%, #214069 100%);
  --m-bg-code: #0e1828;
  --m-bg-sidebar: #0f1928;
  --m-text-primary: #eff4fb;
  --m-text-secondary: #b8c7dc;
  --m-text-muted: #a0b5ce;
  --m-text-on-banner: #eff4fb;
  --m-text-on-banner-muted: #c2d1e5;
  --m-accent-primary: #9cc5ea;
  --m-accent-primary-hover: #b8d7f2;
  --m-accent-navy: #a9cbe8;
  --m-accent-navy-hover: #c3dcf2;
  --m-accent-navy-ink: #0b121e;
  --m-accent-sky-bg: #1a2f49;
  --m-accent-sky-border: #466892;
  --m-accent-teal: #72d2df;
  --m-accent-gold: #e6bd75;
  --m-accent-gold-bg: #34260d;
  --m-accent-gold-ink: #f3c873;
  --m-border-subtle: #2d415e;
  --m-border-control: #5e7dab;
  --m-border-focus: #9cc5ea;
  --m-status-ok-bg: #123325;
  --m-status-ok-ink: #7be0ad;
  --m-status-ok-border: #2a694c;
  --m-status-warn-bg: #34260d;
  --m-status-warn-ink: #f3c873;
  --m-status-warn-border: #76571e;
  --m-status-err-bg: #3b161b;
  --m-status-err-ink: #fca5a5;
  --m-status-err-border: #8c3640;
  --m-shadow-soft: 0 14px 36px rgba(2, 6, 16, 0.45);
  --m-shadow-card: 0 20px 50px rgba(2, 6, 16, 0.55);
  --m-backdrop: rgba(4, 8, 16, 0.78);
}

/* Base Surface Harmonization (Light & Dark) */
body.human-theme,
body.gate-page {
  background: var(--m-bg-page);
  color: var(--m-text-primary);
}

body.portal-body,
body.portal-auth-body {
  background: var(--m-bg-subtle);
  color: var(--m-text-primary);
}

.site-header {
  background: var(--m-bg-header);
  border-bottom: 1px solid var(--m-border-subtle);
}

.brand-name {
  color: var(--m-text-primary);
}

.brand {
  min-height: 44px;
}

.brand-tag {
  color: var(--m-text-muted);
}

.header-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav > a:not(.nav-portal-btn):not(.nav-cta-btn):not(.nav-cta) {
  color: var(--m-text-secondary);
}

.nav > a:not(.nav-portal-btn):not(.nav-cta-btn):not(.nav-cta):hover,
.nav > a[aria-current="page"]:not(.nav-portal-btn):not(.nav-cta-btn):not(.nav-cta) {
  color: var(--m-text-primary);
}

.nav .nav-portal-btn {
  background: var(--m-accent-sky-bg);
  color: var(--m-text-primary);
  border: 1px solid var(--m-accent-sky-border);
}

.nav .nav-portal-btn:hover {
  background: var(--m-bg-elevated);
  border-color: var(--m-border-control);
}

.nav .nav-cta-btn,
.nav .nav-cta {
  background: var(--m-accent-navy);
  color: var(--m-accent-navy-ink);
}

.nav .nav-cta-btn:hover,
.nav .nav-cta:hover {
  background: var(--m-accent-navy-hover);
}

.menu-toggle {
  background: var(--m-bg-surface);
  color: var(--m-text-primary);
  border: 1px solid var(--m-border-control);
  border-radius: 10px;
  min-width: 44px;
  min-height: 44px;
  display: none;
  align-items: center;
  justify-content: center;
}

/* Theme Toggle Button (Accessible Sun / Moon control across all 5 pages) */
.theme-toggle-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 40px;
  min-height: 40px;
  padding: 0 10px;
  border-radius: 10px;
  border: 1px solid var(--m-border-control);
  background: var(--m-bg-surface);
  color: var(--m-text-primary);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.12s ease;
  flex-shrink: 0;
}

.theme-toggle-btn:hover {
  background: var(--m-bg-subtle);
  border-color: var(--m-accent-primary);
}

.theme-toggle-btn:focus-visible {
  outline: 2px solid var(--m-border-focus);
  outline-offset: 2px;
}

.theme-toggle-btn .theme-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.theme-toggle-btn .theme-icon-sun {
  display: none;
}

:root[data-theme="dark"] .theme-toggle-btn .theme-icon-sun {
  display: inline-flex;
  color: var(--m-accent-gold);
}

:root[data-theme="dark"] .theme-toggle-btn .theme-icon-moon {
  display: none;
}

.theme-toggle-btn.is-on-banner {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.38);
  color: #ffffff;
}

.theme-toggle-btn.is-on-banner:hover {
  background: rgba(255, 255, 255, 0.22);
}

/* Public Landing Surfaces (Light & Dark Mode) */
.announcement-bar {
  background: var(--m-bg-banner);
  color: var(--m-text-on-banner);
  border-bottom: 1px solid var(--m-border-subtle);
}

.announcement-tag {
  background: var(--m-accent-gold);
  color: #172b4d;
}

.announcement-link {
  color: var(--m-accent-gold);
}

.human-hero {
  background: var(--m-bg-hero);
  border-bottom: 1px solid var(--m-border-subtle);
}

:root[data-theme="dark"] .hero-contour-bg {
  opacity: 0.22;
}

.trust-pill-tag {
  background: var(--m-accent-sky-bg);
  border-color: var(--m-accent-sky-border);
  color: var(--m-text-primary);
}

.eyebrow,
.learning-eyebrow {
  color: var(--m-accent-primary);
}

.auth-brand-copy .eyebrow {
  color: var(--m-accent-gold);
}

.hero-left h1,
.section-heading h2,
.program-box h3,
.method-box h3,
.faq-title,
.stat-num,
.snapshot-header strong,
.snapshot-row strong,
.price-figure,
.gate-card h1,
.learning-section-heading h2,
.learning-course-progress-label b,
.learning-float-card {
  color: var(--m-text-primary);
}

.hero-desc,
.section-subtitle,
.box-summary,
.spec-row,
.method-box p,
.faq-content,
.stat-sub,
.snapshot-row p,
.snapshot-tag,
.price-label,
.price-option,
.quick-picker-label,
.point-item,
.gate-card p,
.progress-label,
.learning-course-stats {
  color: var(--m-text-secondary);
}

.meta-format,
.price-figure small,
.learning-section-heading p:not(.learning-eyebrow),
.learning-course-category,
.learning-course-progress-label,
.learning-lesson-meta,
.learning-float-card small,
.learning-progress-panel > div:first-child strong span,
.learning-progress-panel > div:first-child p,
.profile-card p {
  color: var(--m-text-muted);
}

.stat-divider {
  background: var(--m-border-subtle);
}

.hero-action-panel,
.program-snapshot-card,
.program-box,
.method-box,
.faq-row,
.stats-strip,
.human-modal-box,
.gate-card {
  background: var(--m-bg-surface);
  border-color: var(--m-border-subtle);
  box-shadow: var(--m-shadow-soft);
}

.program-box.featured-box {
  background: var(--m-bg-elevated);
  border-color: var(--m-accent-primary);
}

.programs-section,
.faq-section,
.try-section {
  background: var(--m-bg-page);
}

.method-section,
.calc-section {
  background: var(--m-bg-subtle);
  border-block: 1px solid var(--m-border-subtle);
}

.chip-btn,
.cat-btn {
  background: var(--m-bg-surface);
  border: 1px solid var(--m-border-control);
  color: var(--m-text-secondary);
  min-height: 44px;
}

.chip-btn:hover,
.cat-btn:hover {
  background: var(--m-bg-elevated);
  color: var(--m-text-primary);
  border-color: var(--m-accent-primary);
}

.chip-btn.active,
.cat-btn.active,
.cat-btn[aria-selected="true"] {
  background: var(--m-accent-navy);
  border-color: var(--m-accent-navy);
  color: var(--m-accent-navy-ink);
}

.btn-primary,
.btn-box-primary,
.btn-submit-modal,
.btn-gate-primary {
  background: var(--m-accent-navy);
  color: var(--m-accent-navy-ink);
  border: 1px solid var(--m-accent-navy);
  min-height: 44px;
}

.btn-primary:hover,
.btn-box-primary:hover,
.btn-submit-modal:hover,
.btn-gate-primary:hover {
  background: var(--m-accent-navy-hover);
  border-color: var(--m-accent-navy-hover);
}

.btn-secondary,
.btn-box-outline,
.btn-gate-secondary {
  background: var(--m-bg-surface);
  color: var(--m-text-primary);
  border: 1px solid var(--m-border-control);
  min-height: 44px;
}

.btn-secondary:hover,
.btn-box-outline:hover,
.btn-gate-secondary:hover {
  background: var(--m-bg-subtle);
  border-color: var(--m-accent-primary);
}

.snapshot-row {
  border-color: var(--m-border-subtle);
}

.row-icon.navy,
.method-duotone-icon {
  background: var(--m-accent-sky-bg);
  border-color: var(--m-accent-sky-border);
  color: var(--m-text-primary);
}

.row-icon.blue {
  background: var(--m-accent-sky-bg);
  color: var(--m-accent-teal);
}

.row-icon.emerald,
.snapshot-badge {
  background: var(--m-status-ok-bg);
  color: var(--m-status-ok-ink);
}

.meta-tag.blue,
.method-step-badge,
.section-kicker,
.gate-badge-row,
.modal-badge-row {
  background: var(--m-accent-sky-bg);
  color: var(--m-accent-primary);
  border-color: var(--m-accent-sky-border);
}

.badge-dot {
  background: var(--m-accent-primary);
}

.meta-tag.navy {
  background: var(--m-bg-subtle);
  color: var(--m-text-primary);
}

.meta-tag.gold,
.box-top-tag {
  background: var(--m-accent-gold-bg);
  color: var(--m-accent-gold-ink);
}

.spec-row,
.box-specs-list,
.snapshot-footer,
.program-box .box-footer-pricing {
  border-color: var(--m-border-subtle);
}

.snapshot-link {
  color: var(--m-accent-primary);
}

.consultation-banner {
  background: var(--m-bg-banner);
  color: var(--m-text-on-banner);
}

.consultation-banner .banner-kicker {
  color: var(--m-accent-gold);
}

.consultation-banner .banner-text h2 {
  color: var(--m-text-on-banner);
}

.consultation-banner .banner-text p {
  color: var(--m-text-on-banner-muted);
}

.btn-whatsapp-large {
  background: var(--m-accent-gold);
  color: #172b4d;
  min-height: 44px;
}

.gate-footer-note {
  background: var(--m-bg-surface);
  color: var(--m-text-muted);
  border-top: 1px solid var(--m-border-subtle);
}

.site-footer {
  background: var(--m-bg-surface);
  border-top: 1px solid var(--m-border-subtle);
  color: var(--m-text-secondary);
  padding-bottom: 68px;
}

.footer-col-brand strong,
.footer-col-links strong {
  color: var(--m-text-primary);
}

.footer-col-brand p,
.footer-col-links a,
.footer-copyright-bar {
  color: var(--m-text-muted);
}

.footer-col-links a:hover {
  color: var(--m-text-primary);
}

.human-modal-backdrop {
  background: var(--m-backdrop);
}

.modal-close-btn {
  background: var(--m-bg-subtle);
  color: var(--m-text-primary);
  border: 1px solid var(--m-border-subtle);
  min-width: 44px;
  min-height: 44px;
}

.modal-header-block h3,
.form-group label {
  color: var(--m-text-primary);
}

.modal-header-block p {
  color: var(--m-text-secondary);
}

.form-group input,
.form-group select,
.form-group textarea,
.auth-input,
.portal-filter {
  background: var(--m-bg-elevated);
  color: var(--m-text-primary);
  border: 1px solid var(--m-border-control);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus,
.auth-input:focus,
.portal-filter:focus {
  border-color: var(--m-border-focus);
  outline: 2px solid var(--m-accent-sky-border);
}

.gate-status-box {
  background: var(--m-bg-subtle);
  border: 1px solid var(--m-border-subtle);
  color: var(--m-text-secondary);
}

.gate-status-box.is-error {
  background: var(--m-status-err-bg);
  border-color: var(--m-status-err-border);
  color: var(--m-status-err-ink);
}

.floating-whatsapp-pill {
  background: var(--m-accent-navy);
  color: var(--m-accent-navy-ink);
  border: 1px solid var(--m-border-control);
  min-height: 44px;
}

.floating-whatsapp-pill:hover {
  background: var(--m-accent-navy-hover);
}

.floating-booking-trigger {
  background: var(--m-bg-surface);
  color: var(--m-text-primary);
  border: 1px solid var(--m-border-control);
  min-height: 44px;
}

.floating-booking-trigger:hover {
  background: var(--m-bg-subtle);
}

/* Auth & Portal Shell Dark/Light Overrides */
.auth-shell,
.auth-form-panel {
  background: var(--m-bg-surface);
  color: var(--m-text-primary);
}

.auth-brand-panel {
  background: var(--m-bg-banner);
  color: var(--m-text-on-banner);
}

.auth-brand-panel .brand-name,
.auth-brand-copy h1 {
  color: var(--m-text-on-banner);
}

.auth-brand-panel .brand-tag,
.auth-brand-copy p,
.auth-brand-bottom {
  color: var(--m-text-on-banner-muted);
}

.auth-form-panel h2,
.auth-field label {
  color: var(--m-text-primary);
}

.auth-field input {
  background: var(--m-bg-elevated);
  color: var(--m-text-primary);
  border-color: var(--m-border-control);
}

.auth-intro,
.auth-back,
.auth-security-note,
.auth-divider {
  color: var(--m-text-muted);
}

.auth-divider:before,
.auth-divider:after {
  background: var(--m-border-subtle);
}

.preview-actions a {
  background: var(--m-bg-elevated);
  border-color: var(--m-border-control);
  color: var(--m-text-primary);
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.preview-actions a:hover {
  background: var(--m-bg-subtle);
  border-color: var(--m-accent-primary);
}

.auth-submit {
  background: var(--m-accent-navy);
  color: var(--m-accent-navy-ink);
  min-height: 44px;
}

.auth-submit:hover {
  background: var(--m-accent-navy-hover);
}

.auth-form-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.auth-form-head .eyebrow {
  margin-bottom: 0;
}

.portal-shell {
  background: var(--m-bg-surface);
  border-color: var(--m-border-subtle);
  box-shadow: var(--m-shadow-card);
}

.portal-sidebar {
  background: var(--m-bg-sidebar);
  border-right-color: var(--m-border-subtle);
}

.portal-side-label,
.portal-welcome small,
.portal-user-mini span,
.portal-footer-note,
.portal-note,
.portal-toolbar p,
.portal-section-heading p,
.portal-empty p,
.teacher-student-head span,
.teacher-course-line,
.teacher-card-bottom span,
.teacher-detail-head span,
.teacher-lesson-row small,
.learning-summary-card span:last-child,
.learning-course-card > p,
.learning-lesson-copy > p,
.learning-lesson-progress > span,
.learning-empty-state p,
.class-course span,
.lesson-details span,
.task-row span {
  color: var(--m-text-muted);
}

.portal-nav a,
.portal-nav button {
  color: var(--m-text-secondary);
  min-height: 44px;
}

.portal-nav a:hover,
.portal-nav button:hover {
  background: var(--m-bg-subtle);
  color: var(--m-text-primary);
}

.portal-nav a.active {
  background: var(--m-accent-navy);
  color: var(--m-accent-navy-ink);
}

.portal-help-card {
  background: var(--m-bg-surface);
  border-color: var(--m-border-subtle);
}

.portal-help-card strong {
  color: var(--m-text-primary);
}

.portal-help-card p {
  color: var(--m-text-muted);
}

.portal-help-card a {
  background: var(--m-accent-navy);
  color: var(--m-accent-navy-ink);
}

.portal-help-art {
  background: var(--m-accent-sky-bg);
  color: var(--m-text-primary);
  border-color: var(--m-bg-sidebar);
}

.portal-topbar {
  background: var(--m-bg-header);
  border-bottom-color: var(--m-border-subtle);
}

.portal-welcome,
.portal-user-mini strong,
.portal-section-heading h2,
.portal-toolbar h2,
.portal-empty strong,
.profile-card h2,
.task-row strong,
.class-course strong,
.lesson-details strong,
.teacher-student-head strong,
.teacher-detail-head strong,
.teacher-lesson-row strong,
.portal-table td:first-child,
.learning-summary-card strong,
.learning-course-card > strong,
.learning-lesson-copy h3,
.learning-empty-state h3,
.learning-progress-panel > div:first-child strong,
.learning-progress-right strong,
.learning-text-link {
  color: var(--m-text-primary);
}

.portal-avatar,
.teacher-student-head .portal-avatar,
.profile-big-avatar {
  background: var(--m-accent-sky-bg);
  color: var(--m-accent-primary);
  border-color: var(--m-bg-surface);
  box-shadow: 0 0 0 1px var(--m-accent-sky-border);
}

.profile-tag {
  background: var(--m-accent-sky-bg);
  color: var(--m-accent-primary);
  border: 1px solid var(--m-accent-sky-border);
}

.portal-search {
  background: var(--m-bg-elevated);
  border-color: var(--m-border-control);
  color: var(--m-text-muted);
}

.portal-search input {
  color: var(--m-text-primary);
}

.portal-icon-btn,
.portal-see-all,
.widget-menu {
  background: var(--m-bg-surface);
  border-color: var(--m-border-control);
  color: var(--m-text-primary);
  min-height: 44px;
}

.portal-icon-btn,
.widget-menu {
  min-width: 44px;
  display: inline-grid;
  place-items: center;
}

.portal-see-all {
  display: inline-flex;
  align-items: center;
}

.portal-icon-btn:hover,
.portal-see-all:hover,
.widget-menu:hover {
  background: var(--m-bg-subtle);
}

.portal-card,
.portal-class-list,
.learning-summary-card,
.learning-course-card,
.learning-lesson-card,
.learning-progress-panel,
.learning-float-card,
.learning-total-pill,
.lesson-item,
.teacher-student-card,
.teacher-detail-panel,
.portal-modal,
.voucher-panel-box,
.toefl-callout-box,
.onboarding-card {
  background: var(--m-bg-surface);
  border-color: var(--m-border-subtle);
  color: var(--m-text-primary);
}

.learning-total-pill {
  color: var(--m-text-secondary);
}

.portal-widget,
.profile-card,
.portal-empty,
.learning-empty-state,
.learning-lesson-card.is-locked,
.class-head,
.teacher-detail-head,
.portal-table th {
  background: var(--m-bg-subtle);
  border-color: var(--m-border-subtle);
  color: var(--m-text-secondary);
}

.profile-card {
  border: 1px solid var(--m-border-subtle);
  border-radius: 16px;
}

.portal-filter {
  min-height: 44px;
  font-size: 13px;
}

.banner-button {
  min-height: 44px;
  align-items: center;
  padding: 10px 16px;
  font-size: 12px;
}

.portal-table-wrap,
.portal-table td,
.teacher-lesson-row,
.class-row + .class-row,
.task-row {
  border-color: var(--m-border-subtle);
}

.portal-table td {
  color: var(--m-text-secondary);
}

.learning-room-welcome,
.portal-banner {
  background: var(--m-bg-banner-grad);
  background-color: var(--m-bg-banner);
  color: var(--m-text-on-banner);
}

.learning-room-welcome .learning-eyebrow {
  color: var(--m-accent-gold);
}

.learning-room-welcome p:not(.learning-eyebrow),
.portal-banner p {
  color: var(--m-text-on-banner-muted);
}

.learning-continue-button {
  background: var(--m-accent-gold);
  color: #172b4d;
  border: 0;
}

.learning-course-card.is-selected {
  background: var(--m-accent-sky-bg);
  border-color: var(--m-accent-primary);
  box-shadow: 0 0 0 1.5px var(--m-accent-primary) inset;
}

.learning-selected-mark,
.progress-fill {
  background: var(--m-accent-primary);
  color: var(--m-accent-navy-ink);
}

.learning-course-icon,
.learning-summary-icon,
.learning-empty-icon,
.task-emoji,
.learning-lesson-index {
  background: var(--m-accent-sky-bg);
  color: var(--m-text-primary);
  border-color: var(--m-accent-sky-border);
}

.learning-course-card:nth-child(3n+2) .learning-course-icon,
.learning-lesson-card.is-complete .learning-lesson-index {
  background: var(--m-status-ok-bg);
  color: var(--m-status-ok-ink);
}

.learning-course-card:nth-child(3n) .learning-course-icon {
  background: var(--m-status-warn-bg);
  color: var(--m-status-warn-ink);
}

.status-pill,
.learning-status.is-done {
  background: var(--m-status-ok-bg);
  color: var(--m-status-ok-ink);
  border: 1px solid var(--m-status-ok-border);
}

.status-pill.pending,
.learning-status.is-open {
  background: var(--m-accent-sky-bg);
  color: var(--m-accent-primary);
  border: 1px solid var(--m-accent-sky-border);
}

.status-pill.locked,
.learning-status.is-locked {
  background: var(--m-status-warn-bg);
  color: var(--m-status-warn-ink);
  border: 1px solid var(--m-status-warn-border);
}

.learning-teacher-note {
  background: var(--m-accent-sky-bg);
  border: 1px solid var(--m-accent-sky-border);
  border-radius: 10px;
  padding: 10px 12px;
}

.learning-teacher-note strong {
  color: var(--m-text-primary);
}

.learning-teacher-note span {
  color: var(--m-text-secondary);
}

.lesson-action {
  background: var(--m-bg-surface);
  color: var(--m-text-primary);
  border-color: var(--m-border-control);
  min-height: 44px;
  padding: 9px 14px;
}

.lesson-action.primary {
  background: var(--m-accent-navy);
  color: var(--m-accent-navy-ink);
  border-color: var(--m-accent-navy);
}

.lesson-action.primary:hover {
  background: var(--m-accent-navy-hover);
}

.progress-track {
  background: var(--m-bg-subtle);
}

.portal-modal-backdrop {
  background: var(--m-backdrop);
}

.portal-modal h2 {
  color: var(--m-text-primary);
}

.portal-modal p {
  color: var(--m-text-secondary);
}

.portal-modal-content {
  background: var(--m-bg-code);
  color: var(--m-text-primary);
  border: 1px solid var(--m-border-subtle);
}

.portal-toast {
  background: var(--m-accent-navy);
  color: var(--m-accent-navy-ink);
  border: 1px solid var(--m-border-control);
}

/* Voucher Panel, TOEFL Lab Callout, & Trial Banner Classes (Replacing Inline Styles) */
.voucher-panel-box {
  margin-bottom: 18px;
  padding: 16px 18px;
  border-radius: 16px;
  border: 1px solid var(--m-accent-sky-border);
  background: linear-gradient(135deg, var(--m-bg-surface) 0%, var(--m-accent-sky-bg) 100%);
}

.voucher-panel-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.voucher-panel-copy {
  max-width: 540px;
}

.voucher-panel-eyebrow {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--m-accent-primary);
  margin-bottom: 4px;
}

.voucher-panel-copy strong {
  display: block;
  font-size: 15px;
  color: var(--m-text-primary);
  margin-bottom: 3px;
}

.voucher-panel-copy p {
  margin: 0;
  font-size: 13px;
  color: var(--m-text-secondary);
  line-height: 1.5;
}

.voucher-form-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.voucher-input {
  padding: 10px 14px;
  border: 1px solid var(--m-border-control);
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  min-width: 210px;
  min-height: 44px;
  background: var(--m-bg-elevated);
  color: var(--m-text-primary);
}

.voucher-submit-btn {
  padding: 10px 16px;
  min-height: 44px;
  font-size: 13px;
}

.voucher-status-line {
  margin-top: 10px;
  font-size: 13px;
  font-weight: 600;
}

.voucher-status-line.is-ok {
  color: var(--m-status-ok-ink);
}

.voucher-status-line.is-err {
  color: var(--m-status-err-ink);
}

.toefl-callout-box {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  margin-bottom: 16px;
  border-radius: 16px;
  border: 1px solid var(--m-accent-sky-border);
  background: var(--m-accent-sky-bg);
}

.toefl-callout-eyebrow {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--m-status-ok-ink);
  margin-bottom: 4px;
}

.toefl-callout-copy strong {
  display: block;
  font-size: 16px;
  color: var(--m-text-primary);
  margin-bottom: 4px;
}

.toefl-callout-copy span {
  font-size: 13px;
  color: var(--m-text-secondary);
}

.toefl-callout-cta {
  padding: 10px 16px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  font-size: 13px;
}

/* ==========================================================================
   FEATURE #1: INTERACTIVE PAKET & BIAYA CALCULATOR (#harga)
   ========================================================================== */
.calc-section {
  padding: 72px 0;
}

.calc-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 24px;
  align-items: start;
}

.calc-controls-card,
.calc-summary-card {
  background: var(--m-bg-surface);
  border: 1px solid var(--m-border-subtle);
  border-radius: 20px;
  padding: 26px;
  box-shadow: var(--m-shadow-soft);
}

.calc-step-label {
  display: block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--m-text-muted);
  margin-bottom: 12px;
}

.calc-program-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 22px;
}

.calc-option-btn {
  text-align: left;
  padding: 12px 14px;
  min-height: 48px;
  border-radius: 12px;
  border: 1px solid var(--m-border-control);
  background: var(--m-bg-elevated);
  color: var(--m-text-primary);
  cursor: pointer;
  transition: border-color 0.16s ease, background 0.16s ease;
}

.calc-option-btn strong {
  display: block;
  font-size: 14px;
  line-height: 1.3;
}

.calc-option-btn span {
  display: block;
  font-size: 12px;
  color: var(--m-text-muted);
  margin-top: 2px;
}

.calc-option-btn:hover {
  background: var(--m-bg-subtle);
  border-color: var(--m-accent-primary);
}

.calc-option-btn.is-active,
.calc-option-btn[aria-pressed="true"] {
  background: var(--m-accent-navy);
  border-color: var(--m-accent-navy);
  color: var(--m-accent-navy-ink);
}

.calc-option-btn.is-active span,
.calc-option-btn[aria-pressed="true"] span {
  color: var(--m-accent-navy-ink);
  opacity: 0.88;
}

.calc-tier-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 10px;
}

.calc-summary-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--m-border-subtle);
  margin-bottom: 16px;
}

.calc-summary-badge {
  display: inline-flex;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  background: var(--m-accent-sky-bg);
  color: var(--m-accent-primary);
  border: 1px solid var(--m-accent-sky-border);
}

.calc-summary-card h3 {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--m-text-primary);
  margin: 0 0 6px;
}

.calc-price-box {
  background: var(--m-accent-sky-bg);
  border: 1px solid var(--m-accent-sky-border);
  border-radius: 14px;
  padding: 16px 18px;
  margin: 16px 0;
}

.calc-price-amount {
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 800;
  color: var(--m-text-primary);
  font-variant-numeric: tabular-nums;
  line-height: 1.15;
}

.calc-price-unit {
  font-size: 13px;
  color: var(--m-text-secondary);
  margin-top: 4px;
}

.calc-features-list {
  margin: 0 0 18px;
  padding-left: 18px;
  color: var(--m-text-secondary);
  font-size: 14px;
  line-height: 1.65;
}

.calc-cta-stack {
  display: grid;
  gap: 10px;
}

/* ==========================================================================
   FEATURE #2: MINI TRYOUT PREVIEW (#tryout)
   ========================================================================== */
.try-section {
  padding: 72px 0;
}

.tryout-card {
  max-width: 820px;
  margin: 0 auto;
  background: var(--m-bg-surface);
  border: 1px solid var(--m-border-subtle);
  border-radius: 20px;
  padding: 26px;
  box-shadow: var(--m-shadow-soft);
}

.tryout-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.tryout-tab {
  min-height: 44px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid var(--m-border-control);
  background: var(--m-bg-elevated);
  color: var(--m-text-secondary);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.tryout-tab.is-active,
.tryout-tab[aria-selected="true"] {
  background: var(--m-accent-navy);
  border-color: var(--m-accent-navy);
  color: var(--m-accent-navy-ink);
}

.tryout-q-meta {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--m-accent-primary);
  margin-bottom: 8px;
}

.tryout-q-prompt {
  font-size: 16px;
  line-height: 1.65;
  color: var(--m-text-primary);
  margin: 0 0 14px;
}

.tryout-arabic-box {
  direction: rtl;
  text-align: right;
  font-size: 24px;
  line-height: 1.9;
  padding: 14px 18px;
  margin-bottom: 16px;
  border-radius: 12px;
  background: var(--m-bg-subtle);
  border: 1px solid var(--m-border-subtle);
  color: var(--m-text-primary);
}

.tryout-options {
  display: grid;
  gap: 10px;
}

.tryout-option {
  width: 100%;
  min-height: 46px;
  text-align: left;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid var(--m-border-control);
  background: var(--m-bg-elevated);
  color: var(--m-text-primary);
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}

.tryout-option:hover {
  background: var(--m-bg-subtle);
  border-color: var(--m-accent-primary);
}

.tryout-option.is-correct {
  background: var(--m-status-ok-bg);
  border-color: var(--m-status-ok-border);
  color: var(--m-status-ok-ink);
}

.tryout-option.is-wrong {
  background: var(--m-status-err-bg);
  border-color: var(--m-status-err-border);
  color: var(--m-status-err-ink);
}

.tryout-key-badge {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--m-bg-subtle);
  border: 1px solid var(--m-border-subtle);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 13px;
  flex-shrink: 0;
}

.tryout-feedback {
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: 12px;
  font-size: 14px;
  line-height: 1.65;
  border: 1px solid var(--m-border-subtle);
  background: var(--m-bg-subtle);
  color: var(--m-text-primary);
}

.tryout-feedback.is-ok {
  background: var(--m-status-ok-bg);
  border-color: var(--m-status-ok-border);
  color: var(--m-status-ok-ink);
}

.tryout-feedback.is-err {
  background: var(--m-status-err-bg);
  border-color: var(--m-status-err-border);
  color: var(--m-status-err-ink);
}

.tryout-cta-row {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--m-border-subtle);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

/* ==========================================================================
   FEATURE #3: STUDENT ONBOARDING & TARGET BELAJAR FORM
   ========================================================================== */
.onboarding-card {
  margin-bottom: 18px;
  padding: 18px 20px;
  border-radius: 16px;
  border: 1px solid var(--m-border-subtle);
  background: var(--m-bg-surface);
}

.onboarding-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.onboarding-header h3 {
  margin: 0;
  font-size: 16px;
  color: var(--m-text-primary);
}

.onboarding-summary-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.onboarding-pill {
  font-size: 12px;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--m-accent-sky-bg);
  color: var(--m-text-primary);
  border: 1px solid var(--m-accent-sky-border);
}

.onboarding-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 14px;
}

.onboarding-subjects {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.onboarding-check-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  padding: 8px 12px;
  border-radius: 10px;
  border: 1px solid var(--m-border-control);
  background: var(--m-bg-elevated);
  color: var(--m-text-primary);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.onboarding-check-pill input {
  accent-color: var(--m-accent-primary);
}

.onboarding-form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

/* ==========================================================================
   FEATURE #4: SAFE LESSON MARKDOWN READER & PREV/NEXT NAVIGATION
   ========================================================================== */
.portal-modal.lesson-modal-wide {
  width: min(760px, 100%);
}

.lesson-md-body {
  white-space: normal;
  font-size: 15px;
  line-height: 1.75;
  padding: 18px 20px;
  max-height: 54vh;
  overflow-y: auto;
}

.lesson-md-body h1,
.lesson-md-body h2,
.lesson-md-body h3 {
  font-family: var(--font-display);
  color: var(--m-text-primary);
  margin: 18px 0 8px;
  line-height: 1.3;
}

.lesson-md-body h1 { font-size: 21px; margin-top: 0; }
.lesson-md-body h2 { font-size: 18px; }
.lesson-md-body h3 { font-size: 16px; }

.lesson-md-body p {
  margin: 0 0 12px;
  color: var(--m-text-primary);
  font-size: 15px;
  line-height: 1.75;
}

.lesson-md-body ul,
.lesson-md-body ol {
  margin: 0 0 14px;
  padding-left: 22px;
  color: var(--m-text-primary);
}

.lesson-md-body li {
  margin-bottom: 6px;
}

.lesson-md-body code {
  font-family: var(--font-mono, monospace);
  font-size: 13px;
  padding: 2px 6px;
  border-radius: 6px;
  background: var(--m-bg-surface);
  border: 1px solid var(--m-border-subtle);
  color: var(--m-accent-primary);
}

.lesson-callout {
  margin: 12px 0;
  padding: 12px 14px;
  border-left: 3px solid var(--m-accent-primary);
  border-radius: 8px;
  background: var(--m-accent-sky-bg);
  color: var(--m-text-primary);
}

.lesson-quiz {
  margin: 12px 0;
  border: 1px solid var(--m-border-control);
  border-radius: 10px;
  background: var(--m-bg-surface);
  padding: 10px 14px;
}

.lesson-quiz summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--m-accent-primary);
  min-height: 44px;
  display: flex;
  align-items: center;
}

.lesson-table-wrap {
  overflow-x: auto;
  margin: 14px 0;
  border: 1px solid var(--m-border-subtle);
  border-radius: 10px;
  background: var(--m-bg-surface);
}

.lesson-md-body table {
  width: 100%;
  border-collapse: collapse;
  min-width: 420px;
  text-align: left;
  font-size: 14px;
}

.lesson-md-body th {
  background: var(--m-bg-subtle);
  color: var(--m-text-primary);
  font-weight: 700;
  padding: 10px 12px;
  border-bottom: 1px solid var(--m-border-control);
}

.lesson-md-body td {
  padding: 10px 12px;
  border-top: 1px solid var(--m-border-subtle);
  color: var(--m-text-primary);
}

.lesson-quiz-body {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid var(--m-border-subtle);
  color: var(--m-text-primary);
}

.lesson-rtl-block,
[dir="rtl"].lesson-rtl-inline {
  direction: rtl;
  unicode-bidi: isolate;
}

.lesson-rtl-block {
  text-align: right;
  font-size: 22px;
  line-height: 1.95;
  padding: 10px 14px;
  margin: 10px 0;
  border-radius: 10px;
  background: var(--m-bg-surface);
  border: 1px solid var(--m-border-subtle);
}

.lesson-reader-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--m-border-subtle);
}

.lesson-nav-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* ==========================================================================
   FEATURE #6: TEACHER DASHBOARD FILTERS, BATCH UNLOCK & LEGIBLE NOTES
   ========================================================================== */
.teacher-filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.teacher-filter-tab {
  min-height: 44px;
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid var(--m-border-control);
  background: var(--m-bg-surface);
  color: var(--m-text-secondary);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.teacher-filter-tab.is-active {
  background: var(--m-accent-navy);
  border-color: var(--m-accent-navy);
  color: var(--m-accent-navy-ink);
}

.teacher-batch-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  margin-bottom: 12px;
  border-radius: 12px;
  background: var(--m-bg-subtle);
  border: 1px solid var(--m-border-subtle);
}

.teacher-note-input {
  margin-top: 8px;
  padding: 10px 12px;
  font-size: 14px;
  min-height: 44px;
  line-height: 1.4;
}

.teacher-progress-select {
  min-height: 44px;
  padding: 8px 12px;
  border-radius: 9px;
  border: 1px solid var(--m-border-control);
  background: var(--m-bg-elevated);
  color: var(--m-text-primary);
  font-size: 13px;
  font-weight: 600;
}

.teacher-lesson-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.teacher-lesson-row {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
}

.metric-card {
  background: var(--m-bg-surface);
  border: 1px solid var(--m-border-subtle);
}

.metric-card:nth-child(2) {
  background: var(--m-status-ok-bg);
  border-color: var(--m-status-ok-border);
}

.metric-card:nth-child(3) {
  background: var(--m-accent-sky-bg);
  border-color: var(--m-accent-sky-border);
}

.metric-card strong {
  color: var(--m-text-primary);
}

.metric-card span {
  color: var(--m-text-secondary);
}

.activity-widget {
  background: var(--m-bg-subtle);
  border: 1px solid var(--m-border-subtle);
}

.widget-heading h3,
.activity-value {
  color: var(--m-text-primary);
}

.activity-value span,
.activity-day {
  color: var(--m-text-muted);
}

.activity-bar {
  background: var(--m-accent-primary);
}

.inline-action {
  background: var(--m-accent-sky-bg);
  color: var(--m-accent-primary);
  border: 1px solid var(--m-accent-sky-border);
  min-height: 44px;
  padding: 9px 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.inline-action:hover {
  background: var(--m-bg-elevated);
  border-color: var(--m-accent-primary);
}

.modal-close {
  background: var(--m-bg-subtle);
  color: var(--m-text-primary);
  border: 1px solid var(--m-border-control);
  min-width: 44px;
  min-height: 44px;
}

.preview-banner {
  background: var(--m-status-warn-bg);
  border: 1px solid var(--m-status-warn-border);
  color: var(--m-status-warn-ink);
}

.unlock-toggle {
  color: var(--m-text-primary);
  font-size: 13px;
  font-weight: 600;
}

.unlock-toggle input {
  accent-color: var(--m-accent-primary);
}

.button-primary,
.button.button-primary {
  background: var(--m-accent-navy);
  color: var(--m-accent-navy-ink);
  border: 1px solid var(--m-accent-navy);
}

.button-primary:hover,
.button.button-primary:hover {
  background: var(--m-accent-navy-hover);
}

.auth-status {
  color: var(--m-status-warn-ink);
}

.auth-status.success {
  color: var(--m-status-ok-ink);
}

.trial-banner-box {
  margin-bottom: 18px;
  padding: 16px 20px;
  border-radius: 16px;
  border: 1px solid var(--m-accent-sky-border);
  background: var(--m-accent-sky-bg);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.trial-banner-box strong {
  display: block;
  font-size: 15px;
  color: var(--m-text-primary);
  margin-bottom: 3px;
}

.trial-banner-box p {
  margin: 0;
  font-size: 13px;
  color: var(--m-text-secondary);
}

/* ==========================================================================
   RESPONSIVE REFINEMENTS (ZERO COLLISION / MOBILE TAP TARGETS >= 44px)
   ========================================================================== */
@media (max-width: 960px) {
  .menu-toggle {
    display: inline-flex;
  }
  .nav {
    background: var(--m-bg-surface);
    border-bottom-color: var(--m-border-subtle);
  }
  .calc-shell {
    grid-template-columns: 1fr;
  }
  .floating-booking-trigger {
    display: none;
  }
}

@media (max-width: 720px) {
  body.portal-body {
    background: var(--m-bg-page);
  }
  .portal-shell {
    grid-template-columns: 60px minmax(0, 1fr);
  }
  .portal-sidebar {
    padding: 13px 6px;
  }
  .portal-nav a,
  .portal-nav button {
    min-width: 44px;
    min-height: 44px;
    padding: 10px 6px;
  }
  .portal-icon-btn,
  .widget-menu {
    min-width: 44px;
    min-height: 44px;
    width: 44px;
    height: 44px;
  }
  .portal-search {
    min-width: 44px;
    min-height: 44px;
    width: 44px;
    height: 44px;
  }
  .banner-button {
    min-height: 44px;
    padding: 10px 16px;
  }
  .portal-filter {
    min-height: 44px;
  }
  .learning-lesson-end .lesson-action {
    min-height: 44px;
    padding: 10px 14px;
    font-size: 13px;
  }
  .profile-card {
    background: var(--m-bg-subtle);
    border-color: var(--m-border-subtle);
  }
  .footer-col-links a,
  .snapshot-link,
  .auth-back,
  .learning-text-link {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }
  .footer-col-links a {
    margin-bottom: 0;
  }
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  input[type="search"],
  select,
  textarea,
  .auth-input,
  .portal-filter,
  .voucher-input,
  .teacher-note-input,
  .teacher-progress-select {
    font-size: 16px;
  }
  .calc-program-grid,
  .onboarding-form-grid {
    grid-template-columns: 1fr;
  }
  .theme-toggle-btn {
    min-width: 44px;
    min-height: 44px;
  }
  .floating-whatsapp-pill {
    right: 14px;
    bottom: calc(14px + env(safe-area-inset-bottom));
    min-height: 44px;
    padding: 10px 16px;
    font-size: 13px;
  }
  .site-footer {
    padding-bottom: 88px;
  }
  .teacher-lesson-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .teacher-lesson-controls {
    justify-content: flex-start;
  }
}
