*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:#f5f8fb;color:#253b50;font-family:Arial,"Malgun Gothic",sans-serif;line-height:1.75}.top{height:68px;padding:0 max(4vw,22px);display:flex;align-items:center;justify-content:space-between;background:white;border-bottom:1px solid #d9e4ec;position:sticky;top:0;z-index:8}.brand{font-weight:900;letter-spacing:.04em;color:#14314e;text-decoration:none}.brand b{color:#00a6a6}.top nav a{margin-left:20px;color:#657789;text-decoration:none;font-weight:700;font-size:.9rem}.app{max-width:1400px;margin:0 auto;display:grid;grid-template-columns:245px minmax(0,1fr);gap:28px;padding:28px 24px}.side{position:sticky;top:90px;align-self:start;background:white;border:1px solid #d9e4ec;border-radius:17px;padding:10px}.side a{display:block;padding:10px 11px;text-decoration:none;color:#17324e;font-size:.88rem;border-radius:10px}.side a span{display:block;font-size:.69rem;letter-spacing:.08em;color:#00a6a6;font-weight:800}.side a:hover,.side a.active{background:#e8f7f5}.side-home{font-weight:900;border-bottom:1px solid #d9e4ec;margin-bottom:7px}.hero{min-height:510px;border-radius:28px;background:linear-gradient(135deg,#102e4b,#1b6080);color:white;padding:72px clamp(28px,7vw,96px);display:grid;grid-template-columns:1.1fr .9fr;gap:25px;overflow:hidden}.eyebrow{font-size:.75rem;font-weight:900;letter-spacing:.13em;margin:0 0 10px;color:#bfe4ee}.teal{color:#00a6a6}.hero h1,.chapter-hero h1{font-size:clamp(3rem,6vw,5.5rem);line-height:1.02;letter-spacing:-.05em;margin:0}.hero em{font-style:normal;color:#76e0dd}.hero p:not(.eyebrow),.chapter-hero p:not(.eyebrow){max-width:620px;color:#d7eaf1;font-size:1.08rem}.start{display:inline-block;margin-top:14px;background:white;color:#15314c;text-decoration:none;font-weight:900;padding:12px 18px;border-radius:999px}.hero-art{position:relative;min-height:270px}.circle{position:absolute;width:310px;height:310px;border-radius:50%;border:1px solid #ffffff4d;left:15%;top:4%}.curve{position:absolute;left:22%;top:42%;font:700 2rem Consolas;color:#76e0dd;background:#ffffff12;padding:15px;border-radius:14px}.tag{position:absolute;right:3%;bottom:4%;background:#00a6a6;padding:12px 15px;border-radius:12px;font-weight:900}.overview,.content{max-width:1000px;margin:44px auto}.overview h2{font-size:clamp(2rem,4vw,3rem);line-height:1.2;color:#14314e;margin:.1em 0}.chapter-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:15px;margin-top:28px}.chapter-card{background:white;border:1px solid #d9e4ec;border-radius:18px;padding:23px;color:#14314e;text-decoration:none;min-height:185px;transition:.2s}.chapter-card:hover{transform:translateY(-3px);box-shadow:0 12px 25px #16324f18}.chapter-card small,.unit-kicker{font-weight:900;font-size:.72rem;letter-spacing:.1em;color:#00a6a6}.chapter-card h2{margin:7px 0;font-size:1.45rem}.chapter-card p{margin:0;color:#64788a}.chapter-card span{display:block;font-size:.88rem;margin:12px 0;color:#425a70}.chapter-card b{color:#1677c8;font-size:.9rem}.chapter-hero{border-radius:25px;color:#fff;padding:60px clamp(28px,6vw,75px);background:linear-gradient(135deg,#15314e,#1f6480)}.chapter-hero.c1{background:linear-gradient(135deg,#15314e,#1677c8)}.chapter-hero.c2{background:linear-gradient(135deg,#15314e,#00a6a6)}.chapter-hero.c3{background:linear-gradient(135deg,#2b4260,#6d5a94)}.chapter-stats{display:flex;gap:9px;flex-wrap:wrap;margin-top:20px}.chapter-stats span{background:#ffffff23;border:1px solid #ffffff30;border-radius:999px;padding:7px 11px;font-size:.84rem;font-weight:700}.study-note{display:flex;gap:13px;padding:16px 19px;background:#e8f7f5;border-radius:13px;color:#315269}.study-note b{color:#00a6a6;white-space:nowrap}.visual-card{display:grid;grid-template-columns:1fr 1.2fr;gap:18px;align-items:center;background:#0f314e;color:#fff;border-radius:18px;padding:25px;margin-top:20px;overflow:hidden}.visual-card h2{font-size:1.55rem;line-height:1.2;margin:.2em 0}.visual-card p:not(.eyebrow){color:#cde1eb}.math-canvas{width:100%;height:300px;background:#fff;border-radius:13px}.unit{background:white;border:1px solid #d9e4ec;border-radius:18px;padding:30px;margin-top:20px}.unit h3{color:#14314e;font-size:1.55rem;line-height:1.32;margin:20px 0 10px}.unit p{margin:9px 0}.unit .label{display:inline-block;background:#fff3d5;color:#9a6700;padding:4px 9px;border-radius:6px;font-size:.75rem;font-weight:900;letter-spacing:.06em;margin-top:19px}.chapter-end{display:flex;justify-content:space-between;padding:28px 2px}.chapter-end a{background:#14314e;color:#fff;text-decoration:none;padding:10px 15px;border-radius:999px;font-weight:800}.chapter-end a:last-child{background:#00a6a6}footer{text-align:center;padding:38px;color:#6a7a89;font-size:.86rem}@media(max-width:900px){.app{grid-template-columns:1fr}.side{position:static;display:grid;grid-template-columns:repeat(2,1fr)}.side-home{grid-column:span 2}.hero{grid-template-columns:1fr}.hero-art{min-height:180px}.visual-card{grid-template-columns:1fr}}@media(max-width:560px){.app{padding:16px}.side,.chapter-grid{grid-template-columns:1fr}.side-home{grid-column:auto}.hero{padding:45px 25px}.chapter-hero{padding:42px 25px}.unit{padding:22px}.study-note{display:block}.study-note b{display:block;margin-bottom:4px}.math-canvas{height:235px}}
/* Premium web-textbook visual system */
body:before{content:"";position:fixed;inset:0;z-index:-2;background:radial-gradient(circle at 12% 8%,#dff7f5 0,transparent 25%),radial-gradient(circle at 88% 20%,#e2f0ff 0,transparent 23%),#f5f8fb}.top{background:#ffffffdd;backdrop-filter:blur(16px);box-shadow:0 3px 18px #14314e0a}.top:after{content:"";position:absolute;bottom:-1px;left:0;width:100%;height:1px;background:linear-gradient(90deg,#00a6a6,#1677c8,#b7e7e2)}.side{box-shadow:0 14px 34px #14314e0c}.side a{transition:background .2s,color .2s,transform .2s}.side a:hover{transform:translateX(3px)}.hero{position:relative;box-shadow:0 28px 58px #102e4b33}.hero:before{content:"";position:absolute;width:500px;height:500px;right:-170px;top:-260px;border:1px solid #ffffff42;border-radius:50%;box-shadow:0 0 0 55px #ffffff0b,0 0 0 115px #ffffff08}.hero:after{content:"";position:absolute;width:210px;height:210px;left:45%;bottom:-160px;border-radius:50%;background:#00a6a628;filter:blur(8px)}.hero>*,.chapter-hero>*{position:relative;z-index:1}.start{box-shadow:0 8px 18px #0003;transition:transform .2s,box-shadow .2s}.start:hover{transform:translateY(-2px);box-shadow:0 12px 25px #0004}.chapter-card{position:relative;overflow:hidden;border-top:4px solid #1677c8}.chapter-card:before{content:"";position:absolute;right:-38px;top:-45px;width:120px;height:120px;border-radius:50%;background:#e6f4ff}.chapter-card:nth-child(2){border-top-color:#00a6a6}.chapter-card:nth-child(2):before{background:#e1f7f5}.chapter-card:nth-child(3){border-top-color:#e7a10b}.chapter-card:nth-child(3):before{background:#fff5dd}.chapter-card:nth-child(4){border-top-color:#8b6fd3}.chapter-card:nth-child(4):before{background:#eee9ff}.chapter-card>*{position:relative;z-index:1}.chapter-card b{display:inline-block;margin-top:4px}.chapter-hero{position:relative;overflow:hidden;box-shadow:0 22px 44px #14314e25}.chapter-hero:after{content:"";position:absolute;width:380px;height:380px;right:-120px;bottom:-220px;border-radius:50%;border:2px solid #ffffff35;box-shadow:0 0 0 45px #ffffff0a,0 0 0 95px #ffffff08}.chapter-hero.c0{background:linear-gradient(135deg,#12304d,#1e7891)}.chapter-hero.c1{background:linear-gradient(135deg,#14314e,#237fc7)}.chapter-hero.c2{background:linear-gradient(135deg,#0f3d55,#08a6a0)}.chapter-hero.c3{background:linear-gradient(135deg,#34285b,#8268b5)}.study-note{box-shadow:0 8px 20px #00a6a611;border:1px solid #c9edeb}.visual-card{position:relative;box-shadow:0 18px 38px #0f314e24;background:linear-gradient(135deg,#102f4b,#185474)}.visual-card:after{content:"";position:absolute;width:160px;height:160px;border-radius:50%;right:36%;top:-105px;border:1px solid #ffffff33}.math-canvas{box-shadow:inset 0 0 0 1px #ffffff77,0 10px 24px #0003}.unit{position:relative;box-shadow:0 10px 22px #14314e0a;border-left:5px solid #d6e9f6}.unit:nth-of-type(odd){border-left-color:#8bded9}.unit h3{letter-spacing:-.025em}.unit .label{box-shadow:0 4px 9px #e7a10b20}.chapter-end a{box-shadow:0 7px 16px #14314e25;transition:transform .2s}.chapter-end a:hover{transform:translateY(-2px)}.overview h2:after,.content>.study-note:before{content:"";display:block;width:46px;height:4px;border-radius:9px;background:linear-gradient(90deg,#00a6a6,#1677c8);margin:16px 0}.content>.study-note:before{display:none}@media(min-width:901px){.content{padding-bottom:30px}}

/* Chapter lesson-card upgrade */
.lesson-index{display:flex;justify-content:space-between;align-items:center;gap:15px;background:#fff;border:1px solid #d9e4ec;border-radius:13px;padding:11px 15px;margin:16px 0}.lesson-index>span{font-size:.72rem;letter-spacing:.1em;font-weight:900;color:#607487}.lesson-index div{display:flex;flex-wrap:wrap;gap:7px}.lesson-index a{width:30px;height:30px;border-radius:50%;display:grid;place-items:center;text-decoration:none;background:#edf5fa;color:#1677c8;font-size:.73rem;font-weight:900;transition:.2s}.lesson-index a:hover{background:#00a6a6;color:#fff;transform:translateY(-2px)}.unit{padding:0;overflow:hidden;border:0;box-shadow:0 18px 34px #14314e12;background:#fff}.unit:before{display:none}.unit-top{display:flex;align-items:center;gap:12px;padding:17px 23px;background:linear-gradient(90deg,#f1fbfa,#f8fbff);border-bottom:1px solid #d9e4ec}.lesson-number{width:42px;height:42px;border-radius:13px;display:grid;place-items:center;background:#14314e;color:#fff;font-weight:900;font-size:1.05rem;box-shadow:0 7px 13px #14314e25}.unit-kicker{margin:0!important}.unit-read{font-size:.8rem;color:#657789}.unit-dot{margin-left:auto;width:11px;height:11px;border-radius:50%;background:#00a6a6;box-shadow:0 0 0 6px #00a6a61c}.unit>h3,.unit>p{margin-left:28px;margin-right:28px}.unit>h3{margin-top:28px;font-size:1.7rem}.unit>p:last-child{padding-bottom:24px}.unit .label{margin-left:28px;background:#fff0cf;color:#9d6500;border:1px solid #f4d991}.unit .label+p{background:#fffbf0;margin:0 28px 18px;padding:15px 17px;border-radius:10px;border-left:4px solid #e7a10b}.unit:nth-of-type(even) .unit-top{background:linear-gradient(90deg,#f4faff,#f8fcff)}.unit:nth-of-type(even) .lesson-number{background:#1677c8}.unit:nth-of-type(3n) .lesson-number{background:#00a6a6}.unit:nth-of-type(3n) .unit-dot{background:#e7a10b;box-shadow:0 0 0 6px #e7a10b1c}@media(max-width:560px){.lesson-index{align-items:flex-start;flex-direction:column}.unit-top{padding:14px 17px}.unit>h3,.unit>p{margin-left:20px;margin-right:20px}.unit .label{margin-left:20px}.unit .label+p{margin-left:20px;margin-right:20px}}


/* Print-inspired reading surface: each extracted PDF unit becomes a calm textbook folio. */
main{min-width:0}.content{max-width:860px;margin:36px auto 74px}.chapter-hero{border-radius:26px 26px 12px 12px;padding:58px clamp(32px,6vw,72px) 50px}.chapter-hero h1{font-size:clamp(2.85rem,6.2vw,5.4rem);max-width:740px}.chapter-hero p:not(.eyebrow){font-size:1.03rem;line-height:1.85}.chapter-stats{margin-top:24px}.study-note{margin-top:18px;padding:16px 20px;font-size:.94rem;line-height:1.65}.lesson-index{position:sticky;top:82px;z-index:5;margin:14px 0 22px;padding:9px 13px;background:#fffffff2;backdrop-filter:blur(12px);box-shadow:0 9px 24px #14314e12}.visual-card{margin:0 0 30px;border-radius:18px;padding:28px 30px}.unit{margin:0 0 30px;border-radius:5px;box-shadow:0 16px 40px #14314e12;overflow:visible}.unit-top{border-radius:5px 5px 0 0;padding:18px 30px;background:linear-gradient(90deg,#f1f9fb,#f8fbfc 72%,#edf7f9)}.lesson-number{border-radius:50%;width:44px;height:44px;font-family:Georgia,serif;font-size:1.12rem}.unit>h3,.unit>p{max-width:660px;margin-left:auto;margin-right:auto}.unit>h3{padding-left:0;margin-top:32px;margin-bottom:14px;font-size:clamp(1.42rem,3vw,1.85rem);line-height:1.34}.unit>h3:first-of-type{font-size:.78rem;letter-spacing:.13em;text-transform:uppercase;color:#1677c8;margin-top:32px;margin-bottom:4px}.unit>h3:first-of-type+ h3{font-family:Georgia,"Malgun Gothic",serif;font-size:clamp(1.68rem,3.4vw,2.2rem);color:#14314e;margin-top:0;margin-bottom:20px}.unit p{font-size:1rem;line-height:1.92;color:#355066;margin-top:0;margin-bottom:11px}.unit .equation{font-family:"Cambria Math",Cambria,Georgia,serif;font-size:1.2rem;line-height:1.45;text-align:center;color:#133d61;background:#f2f8fc;border-top:1px solid #d8e8f2;border-bottom:1px solid #d8e8f2;padding:13px 18px;margin-top:18px;margin-bottom:18px}.callout{max-width:712px;margin:26px auto;padding:0;border-radius:4px;overflow:hidden;border:1px solid #d8e6ee;box-shadow:0 8px 18px #14314e0a}.callout-label{display:flex;align-items:center;gap:9px;padding:8px 16px;font-size:.72rem;font-weight:900;letter-spacing:.1em;color:#0c5977;background:#e5f4f8}.callout-label:before{content:"";display:block;width:8px;height:8px;border-radius:50%;background:#1677c8}.callout-body{padding:15px 18px 17px;background:#fbfeff}.callout-body p{max-width:none!important;margin:0 0 8px!important;font-size:.98rem;line-height:1.78}.callout-body p:last-child{margin-bottom:0!important;padding-bottom:0!important}.callout .equation{margin-left:0;margin-right:0;background:#fff}.callout-worked-example,.callout-answer{border-color:#f1ddae}.callout-worked-example .callout-label,.callout-answer .callout-label{background:#fff6df;color:#8e6407}.callout-worked-example .callout-label:before,.callout-answer .callout-label:before{background:#e7a10b}.callout-common-mistake{border-color:#f1ccd4}.callout-common-mistake .callout-label{background:#fff0f3;color:#9c3650}.callout-common-mistake .callout-label:before{background:#e65b75}.callout-calculus-preview,.callout-real-world{border-color:#c8eadf}.callout-calculus-preview .callout-label,.callout-real-world .callout-label{background:#eafaf3;color:#187156}.callout-calculus-preview .callout-label:before,.callout-real-world .callout-label:before{background:#25a778}.callout-practice,.callout-check,.callout-quick-check{border-color:#d9d0f5}.callout-practice .callout-label,.callout-check .callout-label,.callout-quick-check .callout-label{background:#f3f0ff;color:#604ba0}.callout-practice .callout-label:before,.callout-check .callout-label:before,.callout-quick-check .callout-label:before{background:#8169cb}.chapter-end{margin-top:6px;padding:0;gap:12px}.chapter-end a{font-size:.9rem}.side{border-radius:7px}.side a{border-radius:5px}.math-canvas{border-radius:8px}.unit:nth-of-type(even) .unit-top{background:linear-gradient(90deg,#f6f9ff,#fafcff 72%,#eff5fb)}.unit:nth-of-type(3n) .unit-top{background:linear-gradient(90deg,#f1fbf8,#fafffd 72%,#edfaf5)}
@media(max-width:900px){.content{max-width:760px}.lesson-index{position:static}.unit>h3,.unit>p{max-width:calc(100% - 56px)}.callout{margin-left:28px;margin-right:28px}.chapter-hero{border-radius:20px}.visual-card{border-radius:14px}}
@media(max-width:560px){.content{margin-top:24px}.chapter-hero{padding:38px 24px 34px}.study-note{font-size:.89rem}.lesson-index{padding:12px}.unit{border-radius:0;margin-left:-16px;margin-right:-16px}.unit-top{border-radius:0;padding:15px 20px}.unit>h3,.unit>p{max-width:calc(100% - 40px)}.unit>h3{margin-top:25px}.unit p{font-size:.96rem;line-height:1.84}.callout{margin:21px 20px}.visual-card{padding:22px 20px}.chapter-end{padding:0 2px}.chapter-end a{padding:9px 12px;font-size:.82rem}}
