:root{--ink:#191919;--muted:#666662;--paper:#F0F0EF;--card:#FFFFFF;--brand:#1C1C1B;--brand-dark:#363634;--accent:#E7E7E5;--line:#DEDEDA;--orange:#999994;--shadow:0 20px 70px rgba(0,0,0,.045);--rad:23px}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--ink);background:var(--paper);font-family:'Aptos','Segoe UI','Noto Sans Thai','Thonburi',Arial,sans-serif;line-height:1.65}a{color:inherit;text-decoration:none}button,input{font:inherit}button{cursor:pointer}button:focus-visible,a:focus-visible,input:focus-visible,summary:focus-visible{outline:3px solid #e19a42;outline-offset:3px}.skip{position:absolute;left:-999px;top:6px;padding:8px;background:#fff;z-index:50}.skip:focus{left:8px}.container{width:min(1120px,calc(100% - 44px));margin-inline:auto}.site-header{position:sticky;top:0;z-index:20;background:rgba(246,249,248,.93);backdrop-filter:blur(14px);border-bottom:1px solid var(--line)}.nav-inner{min-height:74px;display:flex;align-items:center;justify-content:space-between;gap:22px}.logo{display:inline-flex;align-items:center;gap:10px;font-size:23px;font-weight:850;letter-spacing:-.75px;white-space:nowrap}.logo-mark{width:35px;height:35px;display:grid;place-items:center;background:var(--brand);color:#fff;border-radius:12px;transform:rotate(-7deg);font-size:18px;box-shadow:0 6px 15px rgba(8,98,88,.2)}.logo-mark span{transform:rotate(7deg)}.logo strong{color:var(--brand)}.nav-links{display:flex;gap:26px;align-items:center}.nav-links a{font-size:14px;font-weight:700;color:#4d6370}.nav-links a:hover,.nav-links .active{color:var(--brand)}.nav-toggle{display:none;border:1px solid var(--line);border-radius:12px;background:#fff;padding:8px 12px;font-size:20px}.btn{display:inline-flex;justify-content:center;align-items:center;gap:9px;padding:13px 20px;border:1px solid transparent;border-radius:14px;background:var(--brand);color:white;font-weight:750;font-size:14px;line-height:1.3;transition:transform .15s,background .15s}.btn:hover{background:var(--brand-dark);transform:translateY(-1px)}.btn-outline{background:#fff;border-color:var(--line);color:var(--ink)}.btn-outline:hover{background:#edf4f1}.btn-small{padding:10px 15px;border-radius:11px}.eyebrow{display:inline-flex;align-items:center;gap:8px;color:var(--brand);font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:1.35px}.eyebrow:before{content:'';width:20px;height:2px;background:currentColor}.hero{padding:76px 0 55px}.hero-grid{display:grid;grid-template-columns:1.08fr .92fr;gap:40px;align-items:center}.hero h1{font-weight:850;font-size:clamp(43px,5.8vw,78px);letter-spacing:-2.8px;line-height:1.11;margin:17px 0 20px}.hero h1 span{color:var(--brand)}.hero-lead{font-size:18px;color:var(--muted);max-width:580px;line-height:1.85}.actions{display:flex;flex-wrap:wrap;gap:12px;margin:29px 0}.mini-row{display:flex;gap:22px;flex-wrap:wrap;color:var(--muted);font-size:13px;margin-top:30px}.mini-row b{color:var(--ink)}.artboard{background:#e1f0eb;border-radius:32px;height:420px;position:relative;overflow:hidden;border:1px solid #cfe2dc;box-shadow:var(--shadow)}.artboard:before{content:'';position:absolute;inset:0;background-image:radial-gradient(#8fbdb1 1.05px,transparent 1.05px);background-size:22px 22px;opacity:.48}.orbit{width:520px;height:520px;position:absolute;border-radius:50%;border:1px solid #a8d4c6;left:33px;top:48px}.orbit.two{width:330px;height:330px;left:130px;top:120px}.float-icon{position:absolute;background:#fff;border-radius:19px;padding:14px 17px;box-shadow:0 14px 40px #255a4a20;font-size:13px;font-weight:800;display:flex;align-items:center;gap:8px;z-index:2}.float-icon.top{top:48px;left:20px;transform:rotate(-6deg)}.float-icon.bottom{bottom:40px;right:16px;transform:rotate(5deg)}.chip{position:absolute;z-index:1;background:linear-gradient(135deg,#123f42,#072b30);color:#d9ffe2;left:50%;top:50%;transform:translate(-50%,-45%) rotate(-10deg);width:235px;height:232px;border-radius:30px;box-shadow:18px 22px 0 #9bc9bc,0 24px 65px #052e2e65;display:flex;justify-content:center;align-items:center;flex-direction:column;gap:3px;border:12px solid #326966}.chip .chip-title{font-size:51px;letter-spacing:-4px;font-weight:900;line-height:1}.chip small{font-size:12px;letter-spacing:2px;text-transform:uppercase;color:#a6d9bf}.section{padding:58px 0}.section-heading{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:25px}.section h2,.page-title{font-size:clamp(29px,3.4vw,43px);letter-spacing:-1.45px;line-height:1.25;margin:12px 0}.section-desc{max-width:620px;color:var(--muted);margin:0}.grid-3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:19px}.grid-2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:19px}.course-card,.feature-card,.panel,.lesson-card{background:var(--card);border:1px solid var(--line);border-radius:var(--rad);padding:23px;box-shadow:0 8px 28px rgba(19,52,60,.025)}.course-card{display:flex;flex-direction:column;min-height:292px}.course-icon{width:53px;height:53px;background:#dcf2e8;border-radius:17px;display:grid;place-items:center;color:var(--brand);font-size:29px;margin-bottom:17px}.course-icon.peach{background:#fff0df;color:#a56632}.course-icon.blue{background:#e3effd;color:#4b6ca3}.course-card h3,.feature-card h3,.lesson-card h3{margin:0 0 8px;font-size:20px;letter-spacing:-.45px}.course-card p,.feature-card p,.lesson-card p{font-size:14px;color:var(--muted);margin:0 0 17px;line-height:1.8}.course-card .card-footer{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:auto;padding-top:18px;border-top:1px solid var(--line)}.tag{display:inline-block;background:#e0f2e6;color:#1b7567;border-radius:999px;padding:5px 11px;font-weight:800;font-size:11px;letter-spacing:.2px}.tag.soon{background:#f3f1e9;color:#847056}.link{color:var(--brand);font-size:13px;font-weight:800}.number{font-weight:850;font-size:31px;color:var(--brand);margin-bottom:7px}.feature-card{padding:25px}.feature-card h3{font-size:17px}.ribbon{background:#0e4142;border-radius:26px;padding:41px 43px;color:#fff;display:flex;align-items:center;justify-content:space-between;gap:30px}.ribbon h2{margin:0;font-size:30px;letter-spacing:-.6px}.ribbon p{color:#bddfce;margin:8px 0 0}.ribbon .btn{background:#d9f7ce;color:#184b43;white-space:nowrap}.ribbon .btn:hover{background:#c3eaae}.footer{margin-top:60px;padding:28px 0 42px;border-top:1px solid var(--line);font-size:13px;color:var(--muted)}.footer-inner{display:flex;justify-content:space-between;gap:14px;flex-wrap:wrap}.footer b{color:var(--ink)}.page-hero{padding:54px 0 36px}.breadcrumb{font-size:13px;color:var(--muted);display:flex;gap:7px;flex-wrap:wrap;align-items:center}.breadcrumb a{color:var(--brand)}.page-hero .lead{font-size:17px;color:var(--muted);max-width:700px}.stats{display:flex;gap:10px;flex-wrap:wrap;margin:22px 0}.stat{display:inline-flex;align-items:center;gap:7px;background:#e4f2ed;border-radius:100px;padding:7px 13px;color:#28685e;font-size:12px;font-weight:750}.lab-top{display:grid;grid-template-columns:1.35fr .65fr;gap:22px;align-items:stretch}.lab-illustration{background:#134748;border-radius:25px;min-height:285px;padding:30px;overflow:hidden;color:#e8fff0;position:relative;display:flex;justify-content:space-between;align-items:center;gap:15px}.lab-illustration svg{width:min(340px,58%);height:auto;flex-shrink:0}.lab-illustration h2{margin:0;line-height:1.2;font-size:29px;letter-spacing:-.7px}.lab-illustration p{color:#b1d8ca;font-size:14px}.lab-illustration .pill{background:#346a65;border-radius:9px;padding:5px 9px;font-size:11px;display:inline-block;margin-bottom:15px}.outcome{display:flex;align-items:flex-start;gap:12px;font-size:14px;padding:10px 0}.check-dot{display:grid;place-items:center;flex-shrink:0;width:24px;height:24px;background:#e0f2e6;border-radius:50%;color:var(--brand);font-weight:900;font-size:14px}.timeline{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.time-step{border-radius:17px;background:#e7f3ed;padding:18px}.time-step strong{display:block;font-size:22px;color:var(--brand)}.time-step b{font-size:14px}.time-step span{display:block;font-size:12px;color:var(--muted)}.lessons{display:grid;gap:13px}.lesson-card{display:flex;align-items:center;gap:20px;padding:19px 22px}.lesson-num{height:57px;width:57px;border-radius:16px;display:grid;place-items:center;background:#e2f4eb;font-weight:900;color:var(--brand);font-size:23px;flex-shrink:0}.lesson-card h3{font-size:18px;margin:0}.lesson-card p{margin:4px 0 0}.lesson-info{flex:1}.lesson-card.locked{opacity:.67}.lesson-layout{display:grid;grid-template-columns:245px minmax(0,1fr);gap:26px;align-items:start}.toc{position:sticky;top:95px;background:white;border:1px solid var(--line);border-radius:20px;padding:19px}.toc h2{font-size:15px;margin:0 0 11px}.toc a{display:block;padding:10px 12px;border-radius:10px;font-size:13px;color:var(--muted)}.toc a:hover{background:#eff6f2;color:var(--brand)}.article{min-width:0}.article .panel{margin-bottom:18px;padding:28px}.article h2{font-size:24px;letter-spacing:-.8px;margin:2px 0 12px}.article h3{font-size:17px;margin:18px 0 9px}.article p{color:#49636f}.article ol{padding-left:23px}.article li{padding:5px 0;color:#49636f}.note{background:#eaf6ef;border-left:4px solid #5db09b;border-radius:0 13px 13px 0;padding:14px 17px;margin:20px 0;font-size:14px;color:#29564e}.warning{background:#fff4e6;border-left-color:#dfab6b;color:#74552b}.schematic{background:#f9fdfc;border:1px dashed #accbc1;border-radius:19px;padding:15px;margin:18px 0;overflow:auto}.schematic svg{min-width:460px;display:block;width:100%;height:auto}.formula{font-family:ui-serif,Georgia,serif;background:#f0f6f3;border-radius:13px;padding:17px;text-align:center;font-weight:650;font-size:22px;letter-spacing:.2px}.steps{counter-reset:step;list-style:none!important;padding-left:0!important}.steps li{display:flex;gap:13px;align-items:start;padding:12px 0;border-bottom:1px solid var(--line)}.steps li:last-child{border-bottom:0}.steps li:before{counter-increment:step;content:counter(step);background:#ddf2e6;color:#127568;width:30px;height:30px;flex-shrink:0;display:grid;place-items:center;border-radius:9px;font-weight:800}.task-list{display:grid;gap:9px;margin:18px 0}.task{border:1px solid var(--line);padding:12px;border-radius:11px;display:flex;align-items:start;gap:11px;font-size:14px}.task input{margin-top:5px;accent-color:var(--brand);width:17px;height:17px}.progress-track{background:#e4ece8;height:9px;border-radius:999px;overflow:hidden;margin-top:9px}.progress-fill{height:100%;width:0;background:var(--brand);border-radius:999px;transition:width .25s}.quiz-question{border:1px solid var(--line);border-radius:15px;padding:19px;margin-bottom:13px}.quiz-question legend{font-size:15px;font-weight:750;line-height:1.65}.quiz-question label{display:block;font-size:14px;padding:9px 10px;border-radius:9px;cursor:pointer}.quiz-question label:hover{background:#f1f7f3}.quiz-question input{accent-color:var(--brand);margin-right:8px}.feedback{background:#edf6ed;border:1px solid #b7d6c3;border-radius:14px;padding:15px;margin-top:14px;display:none;font-size:14px}.feedback.show{display:block}.print-only{display:none}.muted{color:var(--muted)}.code-pill{background:#e6f0eb;color:#175b4c;border-radius:6px;padding:2px 6px;font-family:ui-monospace,Menlo,monospace;font-size:.9em}details.faq{border-bottom:1px solid var(--line);padding:15px 0}details.faq summary{font-weight:750;cursor:pointer}details.faq p{color:var(--muted)}
@media(max-width:880px){.hero-grid,.lab-top,.lesson-layout{grid-template-columns:1fr}.artboard{height:320px}.grid-3{grid-template-columns:repeat(2,1fr)}.toc{position:static}.timeline{grid-template-columns:repeat(2,1fr)}}
@media(max-width:620px){.container{width:min(100% - 30px,1120px)}.nav-inner{min-height:67px}.nav-toggle{display:block}.nav-links{display:none;position:absolute;top:65px;left:0;right:0;background:var(--paper);padding:16px 23px 23px;flex-direction:column;align-items:stretch;gap:7px;border-bottom:1px solid var(--line);box-shadow:0 14px 25px #21453816}.nav-links.open{display:flex}.nav-links a{padding:11px}.hero{padding:43px 0 24px}.hero h1{font-size:49px;letter-spacing:-1.9px}.hero-lead{font-size:16px}.artboard{height:315px}.chip{width:196px;height:192px}.chip .chip-title{font-size:39px}.float-icon{font-size:11px}.section{padding:34px 0}.grid-3,.grid-2{grid-template-columns:1fr}.section-heading{align-items:start;flex-direction:column}.ribbon{flex-direction:column;align-items:flex-start;padding:28px}.lab-illustration{min-height:220px}.lab-illustration h2{font-size:25px}.lab-illustration svg{width:45%}.lesson-card{gap:12px;padding:15px}.lesson-card .btn{padding:10px}.lesson-num{height:44px;width:44px;font-size:18px}.article .panel{padding:19px}.article h2{font-size:22px}.page-hero{padding:36px 0 20px}.stats{gap:7px}}
@media print{.site-header,.footer,.no-print,.toc,.btn,.actions{display:none!important}body{background:#fff}.container{width:100%}.lesson-layout{display:block}.article .panel{box-shadow:none;border:1px solid #ddd;break-inside:avoid}.schematic{overflow:visible}.print-only{display:block}.page-hero{padding:10px 0}.quiz-question{break-inside:avoid}}
.nav-links a.btn{color:#fff}.nav-links a.btn:hover{color:#fff}


/* HOMEALEARN DESIGN SYSTEM V2 — MONOCHROME / APTOS */
:root {color-scheme: light; --ink:#191919;--muted:#686866;--paper:#f0f0ef;--card:#fff;--brand:#191919;--brand-dark:#353533;--line:#ddddd9;--rad:24px;--shadow:0 15px 55px rgba(0,0,0,.04)}
body {background:var(--paper);color:var(--ink);font-family:'Aptos','Segoe UI','Noto Sans Thai','Thonburi',Arial,sans-serif;letter-spacing:-.006em}
a:focus-visible,button:focus-visible,input:focus-visible,summary:focus-visible {outline:3px solid #888881;outline-offset:4px}
.site-header {background:rgba(250,250,249,.95);border-bottom:1px solid #e7e7e4}
.nav-inner {min-height:86px}
.logo {font-size:0;gap:0;display:flex;align-items:center;flex-shrink:0}
.nav-brand-image {display:block;width:auto;height:70px;object-fit:contain}
.nav-links {gap:23px}
.nav-links a {color:#5f5f5b;font-weight:600}
.nav-links a:hover,.nav-links .active {color:#101010}
.nav-links a.active:not(.btn) {border-bottom:1.5px solid #222;padding-bottom:5px}
.btn,.nav-links .btn {border-radius:999px;background:#1b1b1a;color:#fff;font-weight:650;box-shadow:none;letter-spacing:.008em}
.btn:hover,.nav-links .btn:hover {background:#383835;color:#fff}
.btn-outline {background:#fff;color:#252523;border-color:#bcbcb7}
.btn-outline:hover {background:#ecece9;color:#191919}
.eyebrow {color:#747470;letter-spacing:1.7px;font-weight:700;font-size:11px}
.eyebrow:before {background:#292927;height:1px;width:25px}
.hero {padding:92px 0 79px}
.hero-grid {grid-template-columns:1.09fr .91fr;gap:57px}
.hero h1 {font-weight:740;font-size:clamp(49px,5.8vw,80px);letter-spacing:-3.5px;line-height:1.12;margin:21px 0 21px}
.hero h1 span {color:#747470}
.hero-lead {font-size:17px;max-width:560px;line-height:1.92;color:#64645f}
.actions {margin:31px 0}
.mini-row {color:#767671;font-size:12px;gap:17px;margin-top:32px}
.brand-panel {min-height:458px;background:#fff;border:1px solid #e3e3e0;border-radius:31px;display:flex;flex-direction:column;align-items:center;justify-content:space-between;padding:24px 25px 22px;box-shadow:0 25px 90px rgba(0,0,0,.03);overflow:hidden;position:relative}
.brand-panel:after {content:'';pointer-events:none;position:absolute;inset:10px;border:1px solid #f0f0ee;border-radius:24px}
.brand-panel-head,.brand-panel-bottom {display:flex;align-items:center;justify-content:space-between;width:100%;gap:12px;font-size:10px;font-weight:650;color:#8c8c88;letter-spacing:1.4px;position:relative;z-index:1}
.brand-panel-bottom {letter-spacing:.2px;color:#777773;font-size:12px}
.hero-brand-image {width:min(340px,93%);max-height:335px;object-fit:contain;position:relative;z-index:1;filter:none}
.section {padding:66px 0}
.section h2,.page-title {letter-spacing:-1.7px;font-weight:700}
.section-desc {color:#70706d}
.course-card,.feature-card,.panel,.lesson-card {border:1px solid #e0e0dc;background:#fff;box-shadow:0 6px 24px rgba(0,0,0,.015);border-radius:24px}
.course-card {min-height:290px;transition:transform .16s,border-color .16s}
.course-card:hover {transform:translateY(-3px);border-color:#b8b8b3}
.course-icon,.course-icon.blue,.course-icon.peach {background:#eeeeec;color:#242422;border-radius:16px}
.course-card p,.feature-card p,.lesson-card p,.article p,.article li {color:#686864}
.tag {background:#ececea;color:#444440;font-weight:700}
.tag.soon {background:#f4f4f2;color:#898985}
.link {color:#292927}
.number {color:#292927;font-weight:750}
.feature-card {min-height:175px}
.ribbon {background:#252523;border:1px solid #383834;box-shadow:none}
.ribbon h2 {color:#f5f5f3}
.ribbon p {color:#bdbdb8}
.ribbon .btn {background:#f7f7f5;color:#242422}
.ribbon .btn:hover {background:#dcdcd8;color:#242422}
.footer {border-top-color:#d6d6d2}
.page-hero {padding:60px 0 39px}
.breadcrumb a {color:#333331}
.page-hero .lead {color:#686864}
.stat {background:#e5e5e2;color:#444441;border:1px solid #d9d9d6}
.lab-illustration {background:#262624;color:#f5f5f3}
.lab-illustration p {color:#c3c3be}
.lab-illustration .pill {background:#484844;color:#f3f3ef}
.lab-illustration .btn {background:#fff;color:#1f1f1d}
.lab-illustration .btn:hover {background:#e4e4e0;color:#1f1f1d}
.check-dot {background:#eeeeeb;color:#292927}
.time-step {background:#e6e6e3;border:1px solid #dbdbd7}
.time-step strong {color:#252524}
.lesson-num {background:#eeeeeb;color:#2d2d2b}
.toc {background:#fff;border-color:#e0e0dc}
.toc a:hover {background:#eeeeec;color:#282825}
.note {background:#f1f1ef;border-left:4px solid #878780;color:#494944}
.note.warning {background:#f3f0e9;border-left-color:#b7a792;color:#665d51}
.schematic {background:#fcfcfa;border-color:#d0d0ca}
.formula {background:#f0f0ed;color:#292927}
.steps li:before {background:#e7e7e3;color:#292927}
.task {border-color:#d9d9d5}
.task:has(input:checked) {background:#f7f7f5;border-color:#c4c4bf}
.task input,.quiz-question input {accent-color:#282826}
.progress-track {background:#e1e1dd}
.progress-fill {background:#444440}
.quiz-question {border-color:#e0e0dc}
.quiz-question label:hover {background:#f1f1ee}
.feedback {background:#f2f2ef;border:1px solid #d0d0ca;color:#2f2f2c}
.code-pill {background:#ecece9;color:#353531}
.article .panel {scroll-margin-top:110px}
.muted {color:#777773}
@media(max-width:880px){.hero-grid {gap:28px}.hero {padding-top:60px}.brand-panel {min-height:370px}}
@media(max-width:620px){.nav-inner{min-height:73px}.nav-brand-image{height:57px}.nav-links{top:72px;background:#fbfbfa}.hero{padding:42px 0 30px}.hero h1{font-size:clamp(42px,11vw,58px);letter-spacing:-2px}.hero-lead{font-size:15px}.brand-panel{min-height:310px;padding:20px}.hero-brand-image{max-height:245px}.brand-panel-head,.brand-panel-bottom{font-size:9px}.section{padding:39px 0}.ribbon{padding:28px}.lesson-card{flex-wrap:wrap}.lesson-card .btn{margin-left:auto}}
@media print{.brand-panel{display:none}}
