html{scroll-behavior:smooth}
body{margin:0;background:#fffdf7;color:#1f2f6e;font-family:'DM Sans',system-ui,sans-serif;-webkit-font-smoothing:antialiased}
*{box-sizing:border-box}
a{color:#2b4bb8;text-decoration:none}
a:hover{color:#1f2f6e}
button{font-family:inherit}
:focus-visible{outline:3px solid #2b6cf0;outline-offset:3px}
input::placeholder{color:#7a82a3}
[hidden]{display:none!important}
@keyframes tlpop{from{opacity:0;transform:translateY(8px) scale(.98)}to{opacity:1;transform:none}}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{animation:none!important}}

.page{min-height:100vh;overflow-x:hidden;background:#fffdf7}
.baloo{font-family:'Baloo 2',sans-serif}
h1,h2,h3{margin:0}
p{margin:0}

/* header */
.site-header{position:sticky;top:0;z-index:20;background:rgba(255,253,247,0.92);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);border-bottom:1px solid #e6e8f3}
.nav{max-width:1160px;margin:0 auto;padding:10px 20px;display:flex;align-items:center;justify-content:space-between;gap:16px}
.nav-logo{display:flex;align-items:center}
.nav-logo img{height:48px;width:auto;display:block}
.nav-actions{display:flex;align-items:center;gap:10px}
.pill{display:inline-flex;align-items:center;min-height:44px;padding:0 16px;border-radius:999px;color:#1f2f6e;font-family:'Baloo 2',sans-serif;font-weight:700;font-size:16px}
.pill:hover{background:#eef2ff;color:#1f2f6e}
.pill-cta{padding:0 20px;background:#1f2f6e;color:#fff;box-shadow:0 4px 0 #0f1a45}
.pill-cta:hover{background:#2b3f8c;color:#fff}

/* hero */
.hero{padding:48px 20px 80px;background:linear-gradient(180deg,#dcecff 0%,#eef6ff 55%,#fffdf7 100%)}
.hero-in{max-width:1080px;margin:0 auto;display:flex;flex-direction:column;align-items:center;gap:28px;text-align:center}
.hero-logo{width:min(420px,88%);height:auto;display:block}
.hero h1{font-family:'Baloo 2',sans-serif;font-weight:800;font-size:clamp(42px,6.5vw,76px);line-height:.98;color:#1f2f6e;text-wrap:balance}
.hero-sub{font-size:clamp(17px,2vw,20px);line-height:1.55;color:#4a5478;max-width:600px;text-wrap:pretty}
.goals{width:100%;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:16px;margin-top:8px}
.goal{cursor:pointer;text-align:left;padding:24px;border-radius:28px;background:rgba(255,255,255,0.7);border:3px solid #e3e6f2;box-shadow:0 6px 0 #d3d8ea;display:flex;flex-direction:column;gap:10px;color:#1f2f6e;transition:transform .15s ease}
.goal[aria-checked="true"]{background:#fff;border-color:#2b6cf0;box-shadow:0 6px 0 #1f2f6e}
.goal:hover{transform:translateY(-3px)}
.goal:active{transform:translateY(3px)}
.goal-icon{font-size:44px;line-height:1}
.goal-title{font-family:'Baloo 2',sans-serif;font-weight:800;font-size:26px;line-height:1.1}
.goal-line{font-size:15px;line-height:1.5;color:#4a5478}

/* shared section headings */
.sec-title{font-family:'Baloo 2',sans-serif;font-weight:800;font-size:clamp(34px,4.8vw,56px);line-height:1;text-wrap:balance}
.green{color:#2f8f1c}

/* route */
.route{padding:88px 20px}
.route-in{max-width:1160px;margin:0 auto;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,440px),1fr));gap:48px;align-items:start}
.col{display:flex;flex-direction:column;gap:22px}
.route-pitch{font-size:17px;line-height:1.6;color:#4a5478}
.list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column}
.courses{gap:12px}
.course{display:flex;align-items:center;gap:16px;padding:16px 18px;border-radius:20px;background:#fff;border:2px solid #e3e6f2;box-shadow:0 4px 0 #e3e6f2;animation:tlpop .4s ease both}
.course-ico{flex:none;width:52px;height:52px;border-radius:16px;display:grid;place-items:center;font-size:26px}
.course-txt{display:flex;flex-direction:column;gap:2px}
.course-name{font-family:'Baloo 2',sans-serif;font-weight:700;font-size:20px;line-height:1.2}
.course-why{font-size:14px;color:#5a638a}
.plan{padding:28px;border-radius:32px;background:#1f2f6e;color:#fff;box-shadow:0 8px 0 #0f1a45;display:flex;flex-direction:column;gap:20px}
.plan-head{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}
.plan-head h3{font-family:'Baloo 2',sans-serif;font-weight:800;font-size:28px}
.badge{padding:6px 14px;border-radius:999px;background:#fff3c4;color:#6b4a00;font-family:'Baloo 2',sans-serif;font-weight:700;font-size:15px}
.weeks{gap:4px}
.week{display:flex;gap:16px;padding:12px 0;animation:tlpop .4s ease both}
.week-dot{flex:none;width:52px;height:52px;border-radius:50%;display:grid;place-items:center;color:#1f2f6e;font-family:'Baloo 2',sans-serif;font-weight:800;font-size:15px;line-height:1;text-align:center}
.week-txt{display:flex;flex-direction:column;gap:2px;padding-top:2px}
.week-title{font-family:'Baloo 2',sans-serif;font-weight:700;font-size:19px}
.week-detail{font-size:15px;line-height:1.5;color:#c9d2f0}
.plan-cta{display:flex;align-items:center;justify-content:center;min-height:56px;border-radius:999px;background:#ffd34d;color:#1f2f6e;font-family:'Baloo 2',sans-serif;font-weight:800;font-size:18px;box-shadow:0 5px 0 #d9a600}
.plan-cta:hover{background:#ffdd70;color:#1f2f6e}

/* quiz */
.test{padding:88px 20px;background:#f2f8ff}
.test-in{max-width:720px;margin:0 auto;display:flex;flex-direction:column;gap:28px}
.test-head{display:flex;flex-direction:column;gap:12px;text-align:center}
.test-head p{font-size:17px;color:#4a5478}
.card{padding:28px;border-radius:32px;background:#fff;border:2px solid #e3e6f2;box-shadow:0 8px 0 #c9d6f5;display:flex;flex-direction:column;gap:22px}
.quiz-run{display:flex;flex-direction:column;gap:22px}
.q-top{display:flex;align-items:center;gap:14px}
.q-bar{flex:1;height:14px;border-radius:999px;background:#eef0f8;overflow:hidden}
.q-bar-fill{height:100%;width:0;border-radius:999px;background:#58c43a;transition:width .3s ease}
.q-num{font-family:'Baloo 2',sans-serif;font-weight:700;font-size:16px;color:#5a638a}
.q-tag{align-self:flex-start;padding:4px 12px;border-radius:999px;color:#1f2f6e;font-size:13px;font-weight:700}
.q-text{font-family:'Baloo 2',sans-serif;font-weight:700;font-size:clamp(22px,3vw,28px);line-height:1.2}
.q-opts{display:flex;flex-direction:column;gap:12px}
.q-opt{cursor:pointer;min-height:58px;padding:14px 20px;border-radius:18px;background:#fff;border:2px solid #d3d8ea;box-shadow:0 4px 0 #d3d8ea;text-align:left;font-size:17px;font-weight:500;color:#1f2f6e}
.q-opt:hover{border-color:#2b6cf0;background:#f4f8ff}
.quiz-res{display:flex;flex-direction:column;gap:18px;text-align:center;align-items:center;animation:tlpop .4s ease both}
.res-icon{font-size:56px;line-height:1}
.res-score{font-size:15px;color:#5a638a}
.res-level{font-family:'Baloo 2',sans-serif;font-weight:800;font-size:clamp(30px,4vw,42px);line-height:1}
.res-text{font-size:17px;line-height:1.6;color:#4a5478;max-width:480px}
.res-rec{width:100%;padding:18px;border-radius:20px;background:#fff3c4;border:2px solid #ffd34d;display:flex;flex-direction:column;gap:4px}
.res-rec span{font-size:14px;color:#6b4a00}
.res-rec strong{font-family:'Baloo 2',sans-serif;font-weight:800;font-size:24px}
.res-actions{display:flex;flex-wrap:wrap;justify-content:center;gap:12px}
.btn-main{display:inline-flex;align-items:center;min-height:56px;padding:0 28px;border-radius:999px;background:#1f2f6e;color:#fff;font-family:'Baloo 2',sans-serif;font-weight:800;font-size:18px;box-shadow:0 5px 0 #0f1a45}
.btn-main:hover{background:#2b3f8c;color:#fff}
.btn-ghost{cursor:pointer;min-height:56px;padding:0 22px;border-radius:999px;background:transparent;border:2px solid #d3d8ea;color:#1f2f6e;font-family:'Baloo 2',sans-serif;font-weight:700;font-size:17px}
.btn-ghost:hover{border-color:#1f2f6e}

/* Leo chat */
.leo{padding:88px 20px}
.leo-in{max-width:1080px;margin:0 auto;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,380px),1fr));gap:40px;align-items:start}
.leo-col{display:flex;flex-direction:column;gap:18px}
.leo-col>p{font-size:17px;line-height:1.6;color:#4a5478}
.chips{display:flex;flex-wrap:wrap;gap:10px}
.chip{cursor:pointer;min-height:46px;padding:10px 18px;border-radius:999px;background:#fff;border:2px solid #d3d8ea;box-shadow:0 3px 0 #d3d8ea;font-size:15px;font-weight:600;color:#1f2f6e;text-align:left}
.chip:hover{border-color:#2b6cf0;background:#f4f8ff}
.chip-done{display:inline-flex;align-items:center;min-height:46px;padding:0 20px;border-radius:999px;background:#58c43a;color:#fff;font-weight:700;box-shadow:0 3px 0 #2f8f1c}
.chip-done:hover{color:#fff}
.chat{border-radius:32px;background:#eef6ff;border:2px solid #d6e4fb;padding:20px;display:flex;flex-direction:column;gap:12px;min-height:360px;max-height:520px;overflow-y:auto}
.msg{display:flex;gap:10px;align-items:flex-end;animation:tlpop .35s ease both}
.msg-leo{justify-content:flex-start}
.msg-user{justify-content:flex-end}
.avatar{flex:none;width:44px;height:44px;border-radius:50%;overflow:hidden;background:#fff;border:2px solid #ffd34d}
.avatar img{height:44px;width:auto;max-width:none;display:block;transform:scale(1.55);transform-origin:12% 45%}
.bubble{max-width:78%;padding:12px 16px;font-size:16px;line-height:1.5}
.msg-leo .bubble{border-radius:18px 18px 18px 4px;background:#fff;color:#1f2f6e}
.msg-user .bubble{border-radius:18px 18px 4px 18px;background:#1f2f6e;color:#fff}

/* register */
.reg{padding:88px 20px;background:linear-gradient(180deg,#fffdf7 0%,#dcecff 100%)}
.reg-in{max-width:560px;margin:0 auto;display:flex;flex-direction:column;gap:24px;text-align:center}
.reg h2{font-family:'Baloo 2',sans-serif;font-weight:800;font-size:clamp(38px,5.4vw,60px);line-height:1;text-wrap:balance}
.reg-line{font-size:18px;line-height:1.6;color:#4a5478}
.form{display:flex;flex-direction:column;gap:12px;text-align:left;padding:26px;border-radius:28px;background:#fff;border:2px solid #e3e6f2;box-shadow:0 8px 0 #c9d6f5}
.form label{font-size:14px;font-weight:600;color:#1f2f6e}
.form label.sp{margin-top:4px}
.field{min-height:52px;padding:0 18px;border-radius:14px;border:2px solid #d3d8ea;background:#fffdf7;color:#1f2f6e;font-size:16px;font-family:inherit}
.tel-row{display:flex;gap:8px}
.tel-row select{flex:none;width:128px;padding:0 10px}
.tel-row input{flex:1;min-width:0}
.tags{display:flex;flex-wrap:wrap;gap:8px;margin-top:6px}
.tag{padding:6px 12px;border-radius:999px;font-size:13px;font-weight:600}
.tag-goal{background:#dcecff}
.tag-level{background:#dff5d6}
.form-err{font-size:14px;color:#b3261e}
.hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.submit{margin-top:8px;min-height:58px;border:0;border-radius:999px;background:#1f2f6e;color:#fff;font-family:'Baloo 2',sans-serif;font-weight:800;font-size:19px;cursor:pointer;box-shadow:0 5px 0 #0f1a45}
.submit:hover{background:#2b3f8c}
.fine{font-size:13px;color:#5a638a;text-align:center}
.link-btn{cursor:pointer;background:none;border:0;padding:0;color:#2b4bb8;font-size:13px;text-decoration:underline}
.sent{padding:32px;border-radius:28px;background:#fff;border:3px solid #58c43a;box-shadow:0 6px 0 #2f8f1c;display:flex;flex-direction:column;gap:10px;animation:tlpop .4s ease both;text-align:center}
.sent strong{font-family:'Baloo 2',sans-serif;font-size:28px;color:#2f8f1c}
.sent p{font-size:16px;line-height:1.6;color:#2a3560}

/* footer */
.foot{padding:40px 20px;background:#1f2f6e;color:#fff}
.foot-row{max-width:1160px;margin:0 auto;display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:20px}
.foot-brand{font-family:'Baloo 2',sans-serif;font-weight:800;font-size:24px}
.foot-nav{display:flex;flex-wrap:wrap;gap:24px;font-size:15px}
.foot-nav a{color:#fff}
.foot-nav a:hover{color:#ffd34d}
.foot-legal{max-width:1160px;margin:28px auto 0;padding-top:20px;border-top:1px solid rgba(255,255,255,0.15);display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px}
.legal-nav{display:flex;flex-wrap:wrap;gap:8px 22px;font-size:14px}
.legal-btn{cursor:pointer;background:none;border:0;padding:6px 0;color:#c9d2f0;font-size:14px}
.legal-btn:hover{color:#ffd34d}
.copy{font-size:14px;color:#c9d2f0}

/* cookie banner */
.banner{position:fixed;left:16px;right:16px;bottom:16px;z-index:40;max-width:880px;margin:0 auto;padding:20px 22px;border-radius:24px;background:#fff;border:2px solid #e3e6f2;box-shadow:0 6px 0 #c9d6f5,0 20px 50px rgba(31,47,110,0.2);display:flex;flex-wrap:wrap;align-items:center;gap:16px;animation:tlpop .4s ease both}
.banner-ico{font-size:34px;line-height:1}
.banner p{flex:1 1 320px;font-size:15px;line-height:1.55;color:#2a3560}
.banner p .link-btn{font-size:15px;font-weight:600}
.banner-actions{display:flex;flex-wrap:wrap;gap:10px}
.btn-sm{cursor:pointer;min-height:46px;padding:0 18px;border-radius:999px;background:#fff;border:2px solid #d3d8ea;color:#1f2f6e;font-family:'Baloo 2',sans-serif;font-weight:700;font-size:16px}
.btn-sm:hover{border-color:#1f2f6e}
.btn-sm-main{padding:0 22px;background:#1f2f6e;border:0;color:#fff;box-shadow:0 4px 0 #0f1a45}
.btn-sm-main:hover{background:#2b3f8c}

/* legal modal */
.overlay{position:fixed;inset:0;z-index:50;background:rgba(15,26,69,0.55);display:flex;align-items:center;justify-content:center;padding:16px}
.modal{width:100%;max-width:680px;max-height:85vh;overflow-y:auto;padding:28px;border-radius:28px;background:#fffdf7;box-shadow:0 8px 0 #0f1a45;display:flex;flex-direction:column;gap:16px;animation:tlpop .3s ease both}
.modal-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px}
.modal-head h2{font-family:'Baloo 2',sans-serif;font-weight:800;font-size:30px;line-height:1.1}
.modal-x{cursor:pointer;flex:none;width:44px;height:44px;border-radius:50%;background:#eef0f8;border:0;font-size:22px;color:#1f2f6e}
.modal-date{font-size:13px;color:#5a638a}
.doc-block{display:flex;flex-direction:column;gap:6px}
.doc-block h3{font-family:'Baloo 2',sans-serif;font-weight:700;font-size:19px}
.doc-block p{font-size:15px;line-height:1.65;color:#4a5478}
#doc-blocks{display:flex;flex-direction:column;gap:16px}
.pill{white-space:nowrap}
@media (max-width:480px){.nav{padding:8px 12px;gap:8px}.nav-actions{gap:2px}.nav-logo img{height:40px}.pill{padding:0 10px;font-size:15px}.pill-cta{padding:0 12px}}

.pw-row{display:flex;gap:8px}.pw-row .field{flex:1;min-width:0}
.pw-toggle{min-height:52px;min-width:88px;padding:0 14px;border-radius:14px;border:2px solid #d3d8ea;background:#fff;color:#1f2f6e;font:600 15px inherit;font-family:inherit;cursor:pointer}
.pw-toggle[aria-pressed="true"]{background:#dcecff;border-color:#2b4bb8}
.pw-toggle:focus-visible,.field:focus-visible,.submit:focus-visible{outline:3px solid #2b4bb8;outline-offset:2px}
.hint{font-size:13px;color:#5a638a;margin:0}
