#homepage-book-list a,.brand,.collapsible-intro a{text-decoration:none}.katex,pre{overflow-x:auto}.example h2,.top-nav-book-title,.try-it h2{font-optical-sizing:auto;text-transform:uppercase}.dark #dark-mode-toggle:hover,.dark .top-navbar a:not(.brand):hover{background-color:rgba(255,255,255,.1)}#dark-mode-toggle:hover,.top-navbar a:not(.brand):hover{background-color:rgba(0,0,0,.1)}.example-image figure,body,h1,h2,h3,h4,h5,h6,html,margin-image figure{margin:0}*{box-sizing:border-box;line-height:1.7em}section:target{scroll-margin-top:100px}.katex{overflow-y:hidden}@media (max-width:1349px){.show-mobile{display:block}.show-not-mobile{display:none}}.visually-hidden{border:0;padding:0;margin:0;position:absolute!important;height:1px;width:1px;overflow:hidden;clip:rect(1px 1px 1px 1px);clip:rect(1px,1px,1px,1px);clip-path:inset(50%);white-space:nowrap}.top-navbar{height:45px;display:flex;align-items:center;padding:0;position:fixed;top:0;width:100%;z-index:101}@media (min-width:768px){.top-navbar{height:60px}#dark-mode-toggle{padding:15px}}.collapsible-hide,.top-navbar .navbar-links{display:none}.top-navbar a,.try-it-question{cursor:pointer;user-select:none;-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none}.top-navbar a:not(.brand,.book-dropdown-link){font-family:'Open Sans',Helvetica,Arial,sans-serif}.top-navbar .brand{order:1;padding:0 20px;vertical-align:middle}.top-navbar .nav-link{padding:10px;vertical-align:middle}.brand{font-family:Lobster,Georgia,serif;font-size:1.8em}.book-dropdown-link,.top-nav-book-title{font-family:Outfit,InterVariable,"Inter var",Inter,-apple-system,BlinkMacSystemFont,"Helvetica Neue","Segoe UI",Oxygen,Ubuntu,Cantarell,"Open Sans",sans-serif;text-align:center;font-weight:800}#dark-mode-toggle{order:3;cursor:pointer;user-select:none;-moz-user-select:none;height:100%;vertical-align:middle}.top-nav-book-title{order:2;flex-grow:1;padding:0 40px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-size:1.4em;letter-spacing:.04em}.collapsible,.collapsible-intro,.dropdown-menu{padding-left:0}#open-phone-topnav{cursor:pointer;user-select:none}.dropdown-btn::after{content:url(./icons/down_arrow.svg);margin-left:6px}.dropdown-menu{min-width:150px;display:none;z-index:100;position:fixed;top:28px;left:0;right:0;max-height:100vh;overflow-y:auto}.dropdown-menu a{display:block;padding:8px 20px}.collapsible-show,.dropdown-show,margin-image img{display:block}.collapsible a{padding-left:40px}.book-dropdown-link{font-size:1.2em}.chapter-dropdown-link{font-size:1.5em;font-weight:800;padding-right:15px}.section-dropdown-link{font-size:1.1em;font-weight:600;padding-right:15px}.chapter-list,.section-list{padding-inline-start:0;padding:15px 0;font-family:Number-Font,Georgia,Garamond,Times,serif}.chapter-list li,.section-list li{list-style-type:none;text-align:left;padding-left:0!important}.chapter-list>li{font-size:1.4em;font-weight:600}.section-list>li{font-size:.8em;font-weight:400}.section-list a,.section-list a:hover{text-decoration:none!important}.section-list>li>a{display:flex;align-items:baseline;padding:0 10px}.chapter-title-container{background-color:#314159;color:#fff;padding:15px 25px;margin-bottom:5px;border-radius:5px}.chapter-number-toc{font-size:1.3em;font-weight:800;padding-right:20px}.section-number-toc{font-size:1.2em;font-weight:600;padding-right:15px;width:80px;display:inline-block}.chapter-title-toc{width:100%;padding:10px}.chapter-image-container{width:100%;margin-top:25px}.chapter-image-container img{display:block;border-radius:10px}@media (max-width:767px){body .main-body,html .main-body{margin:20px}#dark-mode-toggle{padding:7px}.chapter-image-container img{width:100%;max-height:350px;object-fit:cover}.page-title{font-size:1.7em;left:-20px;width:calc(100% + 40px);padding-left:20px}}.chapter-intro-container{font-size:.75em;font-weight:400;padding:25px 15px}.adjacent-pages{display:flex;margin-top:10px;padding:25px;width:100%;text-decoration:none;font-size:1.3em}.adjacent-pages a{flex:1;display:inline-block;width:50%;padding:10px 25px;margin:0;text-align:center;cursor:pointer;user-select:none;-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;text-decoration:none}footer{width:100%;text-align:center;padding:40px;background:#4b4c4f;background:-moz-linear-gradient(top,#4b4c4f 0,#2b3137 100%);background:-webkit-gradient(left top,left bottom,color-stop(0,#4b4c4f),color-stop(100%,#2b3137));background:-webkit-linear-gradient(top,#4b4c4f 0,#2b3137 100%);background:-o-linear-gradient(top,#4b4c4f 0,#2b3137 100%);background:-ms-linear-gradient(top,#4b4c4f 0,#2b3137 100%);background:linear-gradient(to bottom,#4b4c4f 0,#2b3137 100%);color:#fff}footer .cc-image{border-width:0;width:70px}@font-face{font-family:Number-Font;src:url('https://hartleymath-v2-data.s3.us-east-2.amazonaws.com/public/assets/Fraunces.ttf');unicode-range:U+24-39}.homepage-main-body,.main-body{position:relative;top:80px;padding:30px 0;margin-bottom:50px;box-sizing:border-box;font-family:Number-Font,Georgia,Garamond,Times,serif;font-optical-sizing:auto;letter-spacing:.01em}.book-description h2,.book-description h3,.page-title,.section-header,.text-block h1,.text-block h2,.text-block h3,.text-block h4{font-family:Outfit,InterVariable,"Inter var",Inter,-apple-system,BlinkMacSystemFont,"Helvetica Neue","Segoe UI",Oxygen,Ubuntu,Cantarell,"Open Sans",sans-serif;letter-spacing:.02em;text-align:left}.homepage-main-body{min-height:100vh;padding-bottom:150px}@media (min-width:768px){.dropdown-menu{top:43px;left:15%;right:15%;max-height:80vh}.chapter-image-container img{width:80%;max-height:450px;object-fit:cover;margin:0 auto}.main-body{font-size:1.05em}}.main-body p{margin:10px 0}.text-block p{margin:15px 0}.main-body a:hover{text-decoration:underline}.main-body table{margin-left:auto;margin-right:auto;border-collapse:collapse;display:block;max-width:-moz-fit-content;max-width:fit-content;overflow-x:auto}.main-body table th,table td{text-align:center;padding:10px 20px}.main-body ol>li>ol{list-style-type:lower-alpha}.main-body li{padding-left:15px;padding-bottom:5px}.book-description h2,.book-description h3,.section-header,.text-block h1,.text-block h2,.text-block h3,.text-block h4{padding-left:20px}.section-header h1,.section-header h2,.text-block h1,.text-block h2{font-size:1.55em;font-weight:800}.section-header h1,.section-header h2{border-style:solid;border-width:0 0 4px;-webkit-border-image-slice:2;border-image-slice:2}.section-header h3,.text-block h3{font-size:1.45em;font-weight:700}.text-block h4{font-size:1.35em;font-weight:600}.text-block h5{font-size:1.25em;font-weight:600}blockquote{margin:20px 0 20px 20px;padding-left:15px}pre{font-weight:500;margin:10px;padding:25px 20px 5px 50px;border-radius:7px;background:#2d2d2d;color:#fff}.code-line-number{position:absolute;left:25px;padding:0 10px 0 5px;font-size:1.1rem;}.explanation .code-line-number,.notable .code-line-number{left:50px}.exercises .code-line-number{left:60px}@media (min-width:768px) and (max-width:1349px){.section-list{padding-left:25px}blockquote{margin:25px 0 25px 50px}pre{margin:10px 30px}.code-line-number{left:45px}.explanation .code-line-number,.notable .code-line-number{left:70px}.exercises .code-line-number{left:85px}}@media (min-width:1536px) and (max-width:2047px){.half-size{width:80%;left:10%}}@media (min-width:2048px) and (max-width:2699px){.half-size{width:60%;left:20%}}@media (min-width:2700px) and (max-width:3099px){.half-size{width:50%;left:25%}}@media (min-width:3100px){.half-size{width:40%;left:30%}}.page-title{position:relative;padding-top:20px;padding-bottom:20px;padding-right:10px;margin-bottom:25px;font-weight:800;word-spacing:0.12em}@media (min-width:768px) and (max-width:1023px){.homepage-main-body,.main-body{width:80%;left:10%}.page-title{left:-12.5%;width:112.5%;padding-left:12.5%}}@media (min-width:1024px) and (max-width:1349px){.homepage-main-body,.main-body{width:60%;left:20%}.page-title{left:-33%;width:133%;padding-left:33%}}@media (min-width:1350px) and (max-width:1549px){.main-body{width:50%;left:25%}.homepage-main-body{width:80%;left:10%}.page-title{left:-50%;width:150%;padding-left:50%}}@media (min-width:1550px){.main-body{width:40%;left:30%}.homepage-main-body{width:80%;left:10%}.page-title{left:-75%;width:175%;padding-left:75%}}.example{padding:0 15px 15px 0;margin:30px 0;border-style:hidden solid solid hidden;border-width:4px}.example h2,.try-it h2{font-family:"League Spartan",InterVariable,"Inter var",Inter,-apple-system,BlinkMacSystemFont,"Helvetica Neue","Segoe UI",Oxygen,Ubuntu,Cantarell,"Open Sans",sans-serif;font-weight:700;font-size:1.3em;letter-spacing:.04em}.example h2{display:flex;text-align:left;align-items:end}.example p{margin:2px 0 10px}.example-title-wrapper{display:flex;flex-wrap:wrap}.try-it h2{padding-top:0;margin:10px 0 0}.example h3{font-size:1.1em;font-weight:700}.example-number{padding-right:12px;flex-shrink:0}.example-video-link{cursor:pointer;flex-grow:1;display:flex;justify-content:end;height:40px}.example-video-link svg{height:40px;width:40px;padding:5px 8px;border-radius:50%}.example-video-link a{color:inherit}.example img,.try-it img{display:block;max-width:60%;margin:auto;background-color:#fff}.example-image{max-width:50%;margin:10px auto}.example-image img,margin-image img{width:100%}.example-image figcaption,margin-image figcaption{line-height:1em;font-size:.8em;text-align:center;padding-top:5px}@media (min-width:1350px){.show-mobile{display:none}.show-not-mobile{display:block}.dropdown-menu{left:25%;right:25%;max-height:70vh}.section-list{padding-left:50px}blockquote{margin:30px 0 30px 80px}pre{margin:10px 50px}.code-line-number{left:65px}.explanation .code-line-number,.notable .code-line-number{left:90px}.exercises .code-line-number{left:145px}.example h3,.example-image,.example-number,.try-it h2,margin-image{position:absolute;left:-180px}margin-note{position:absolute;right:-200px;text-align:left}.example h3,.example-image,.example-image img,.example-number,.try-it h2,margin-image,margin-note{width:160px}}@media (min-width:2700px){.half-size .example h3,.half-size .example-image,.half-size.example-number{position:absolute;left:-180px}.half-size .example-image{width:160px}}@media (max-width:2699px){.half-size .example-number::after{content:": "}}.example hr{margin:20px auto;width:60%;height:1px;border:hidden}.try-it{padding:10px 20px;margin-bottom:10px}.try-it ol{padding-left:25px}span.try-it-question{position:relative}.try-it-answer{text-align:center;display:none}.try-it-answer.show-answer{display:block;user-select:none;-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none}.centered-image{max-width:100%}.centered-image figure{text-align:center}.centered-image img{max-width:100%;margin:10px auto;background-color:#fffffe}.centered-image figcaption{text-align:center;font-size:.85em}.explanation h2,.notable h1,.notable h2,.notable h3,.notable h4{font-family:"League Spartan",InterVariable,"Inter var",Inter,-apple-system,BlinkMacSystemFont,"Helvetica Neue","Segoe UI",Oxygen,Ubuntu,Cantarell,"Open Sans",sans-serif;font-weight:700;font-size:1.35em;letter-spacing:.04em;margin:0;text-align:left;font-optical-sizing:auto}.large-centered-image{width:95%}.medium-centered-image{width:85%}.small-centered-image{width:75%}@media (min-width:767px){.example{padding:0 25px 25px 0}.large-centered-image{width:90%}.medium-centered-image{width:70%}.small-centered-image{width:50%}}.notable{padding:15px 25px;margin:15px 0}.explanation{margin:15px 0;border-radius:5px}.explanation h2{padding:12px 25px 8px;border-radius:5px 5px 0 0}.book-subtitle,.book-title,.exercises h2{font-family:Outfit,InterVariable,"Inter var",Inter,-apple-system,BlinkMacSystemFont,"Helvetica Neue","Segoe UI",Oxygen,Ubuntu,Cantarell,"Open Sans",sans-serif;letter-spacing:.02em;word-spacing:0.12em}.explanation div{padding:10px 25px}.exercises{margin-top:40px}.exercises h2{font-weight:800;text-align:left;padding:5px 10px}.book-cover-image,.homepage-book{background-size:cover;background-repeat:no-repeat;background-position:center}.book-cover-image{width:100%;height:auto}@media (max-width:767px){.page-title{padding-left:20px}.book-cover-image{min-height:300px}}@media (min-width:768px){.book-cover-image{min-height:500px}.homepage-book{width:450px}}#homepage-book-list,.book-cover-image,.homepage-book{display:flex;flex-direction:column;justify-content:end}#homepage-book-list{padding:0 30px;gap:30px}.book-title-container{width:100%;text-align:center;padding:40px 20px;color:#fff;background-color:rgba(49,65,89,.85)}.book-title{font-weight:800;font-size:2em}.book-subtitle{font-weight:600;font-size:1.5em}.authors-list{display:flex;flex-direction:row;flex-wrap:wrap;padding:15px 0}.author-name,.homepage-author-name{flex-grow:1;text-align:center;padding:0 20px;font-family:Lobster,InterVariable,"Inter var",Inter,-apple-system,BlinkMacSystemFont,"Helvetica Neue","Segoe UI",Oxygen,Ubuntu,Cantarell,"Open Sans",sans-serif;font-weight:200;font-optical-sizing:auto;font-size:1.35em;letter-spacing:.04em}body:not('dark'){background-color:#fff}.dark{background-color:#1a1a1f;color:#fff}.dark .top-navbar{background-color:#12141d;color:#fff;border-bottom:1px solid rgba(255,255,255,.07);-webkit-box-shadow:0 0 4px 0 rgba(255,255,255,.05);-moz-box-shadow:0 0 4px 0 rgba(255,255,255,.05);box-shadow:0 0 4px 0 rgba(255,255,255,.05)}.top-navbar{background-color:#fff;border-bottom:1px solid rgba(0,0,0,.1);-webkit-box-shadow:0 0 4px 0 rgba(0,0,0,.2);-moz-box-shadow:0 0 4px 0 rgba(0,0,0,.2);box-shadow:0 0 4px 0 rgba(0,0,0,.2)}.dark #dark-mode-toggle,.dark .author-name,.dark .brand,.dark .example h2,.dark .example h3,.dark .example-video-link svg,.dark .exercises h2,.dark .page-title,.dark .top-nav-book-title,.dark .top-navbar a:not(.brand),.homepage-author-name{color:#fff}.dark .top-navbar a:not(.brand):hover{color:rgba(255,255,255,.8)}.top-navbar a:not(.brand){color:rgba(0,0,0,.6);text-decoration:none}.top-navbar a:not(.brand):hover{color:rgba(0,0,0,.8)}#dark-mode-toggle,.author-name,.brand,.example h2,.example h3,.example-video-link svg,.exercises h2,.top-nav-book-title{color:#314159}.homepage-book{aspect-ratio:10/11;margin:0 auto;max-width:450px;background-color:rgba(49,65,89,.7);-webkit-box-shadow:0 3px 5px 0 rgba(0,0,0,.27);-moz-box-shadow:0 3px 5px 0 rgba(0,0,0,.27);box-shadow:0 3px 5px 0 rgba(0,0,0,.27)}.homepage-book:hover{opacity:.9;-webkit-box-shadow:0 3px 16px 0 rgba(0,0,0,.32);-moz-box-shadow:0 3px 16px 0 rgba(0,0,0,.32);box-shadow:0 3px 16px 0 rgba(0,0,0,.32)}.dark .homepage-book{-webkit-box-shadow:0 2px 5px 0 rgba(255,255,255,.17);-moz-box-shadow:0 2px 5px 0 rgba(255,255,255,.17);box-shadow:0 2px 5px 0 rgba(255,255,255,.17)}.dark .homepage-book:hover{-webkit-box-shadow:0 2px 8px 0 rgba(255,255,255,.22);-moz-box-shadow:0 2px 8px 0 rgba(255,255,255,.22);box-shadow:0 2px 8px 0 rgba(255,255,255,.22)}.page-title{color:#fff;background-color:#314159}#dark-mode-toggle:hover,#open-phone-topnav:hover,.brand:hover{color:#0d2d5c}#open-phone-topnav:hover,.book-description-toggle:hover,.chapter-description-toggle:hover,.collapsible a,.section-list a:hover{background-color:rgba(0,0,0,.05)}.dark #dark-mode-toggle:hover,.dark #open-phone-topnav:hover,.dark .brand:hover{color:rgba(255,255,255,.623)}.dark #open-phone-topnav:hover,.dark .book-description-toggle:hover,.dark .chapter-description-toggle:hover,.dark .collapsible a,.dark .section-list a:hover{background-color:rgba(255,255,255,.05)}.dropdown-btn::after{color:rgba(0,0,0,.4)}.dark .dropdown-btn::after{color:rgba(255,255,255,.4)}.dropdown-menu{background-color:#fff;border:1px solid rgba(0,0,0,.1);-webkit-box-shadow:0 10px 24px -15px rgba(0,0,0,.5);-moz-box-shadow:0 10px 24px -15px rgba(0,0,0,.5);box-shadow:0 10px 24px -15px rgba(0,0,0,.5)}.dark .dropdown-menu{background-color:#12141d;border:1px solid rgba(255,255,255,.1);-webkit-box-shadow:0 10px 24px -15px rgba(255,255,255,.05);-moz-box-shadow:0 10px 24px -15px rgba(255,255,255,.05);box-shadow:0 10px 24px -15px rgba(255,255,255,.05)}.collapsible,.collapsible-intro{border-top:1px solid rgba(0,0,0,.2);border-bottom:1px solid rgba(0,0,0,.2)}.dark .collapsible,.dark .collapsible-intro{border-top:1px solid rgba(255,255,255,.2);border-bottom:1px solid rgba(255,255,255,.2);color:#fff}.dark .book-description-toggle,.dark .chapter-description-toggle,footer a{color:rgba(255,255,255,.7)}footer a:hover{color:rgba(255,255,255,.9)}.jumbotron{color:#333}.jumbotron .logo{color:#333;text-shadow:0 3px 3px rgba(0,0,0,.4)}.course-box{-webkit-box-shadow:0 0 10px 0 rgba(0,0,0,.15);-moz-box-shadow:0 0 10px 0 rgba(0,0,0,.15);box-shadow:0 0 10px 0 rgba(0,0,0,.15)}.course-box a,.course-box h2{color:#000}.course-box:hover{background-color:rgba(0,0,0,.02);-webkit-box-shadow:0 0 15px 0 rgba(0,0,0,.25);-moz-box-shadow:0 0 15px 0 rgba(0,0,0,.25);box-shadow:0 0 15px 0 rgba(0,0,0,.25)}.adjacent-pages a,.main-body a{color:#1025e0}.adjacent-pages a:hover,.main-body a:hover{color:#071279}.dark .adjacent-pages a,.dark .main-body a{color:#a2acff}.dark .adjacent-pages a:hover,.dark .main-body a:hover{color:#c7cdff}.main-body table th{border-bottom:2px solid rgba(0,0,0,.25)}.dark .main-body table th{border-bottom:2px solid rgba(255,255,255,.25)}.book-description h2,.book-description h3,.section-header,.text-block h1,.text-block h2,.text-block h3,.text-block h4{color:#7e4700}.dark .book-description h2,.dark .book-description h3,.dark .section-header,.dark .text-block h1,.dark .text-block h2,.dark .text-block h3,.dark .text-block h4,.dark margin-note{color:#d6ab84}blockquote{border-left:4px solid #314159}.dark blockquote{border-left:4px solid #133d7a}.example,.exercises h2{border-color:#314159}.code-line-number{color:rgba(255,255,255,.5);background-color:#2d2d2d}.dark .page-title{background:rgba(113,175,255,.26)}.example-video-link svg:hover{color:#0b2347;background-color:rgba(0,0,0,.08)}.centered-image figcaption,.dark .example-image figcaption,.dark margin-image figcaption,.example-image figcaption,margin-image figcaption{color:rgba(0,0,0,.7)}.example hr{background-color:rgba(49,65,89,.4)}.dark .example{border-color:#133d7a}.dark .example-video-link svg:hover{color:#cfcfcf;background-color:rgba(255,255,255,.08)}.dark .example hr{background-color:#96b5e2}.try-it{background-color:#feffcb;-webkit-box-shadow:0 5px 8px -4px rgba(0,0,0,.34);-moz-box-shadow:0 5px 8px -4px rgba(0,0,0,.34);box-shadow:0 5px 8px -4px rgba(0,0,0,.34)}.try-it h2{color:#582300}.dark .try-it{background-color:#574b42;-webkit-box-shadow:0 3px 3px -2px rgba(255,255,255,.14);-moz-box-shadow:0 3px 3px -2px rgba(255,255,255,.14);box-shadow:0 3px 3px -2px rgba(255,255,255,.14)}.dark .try-it h2{color:#feffcb}.notable{background-color:rgba(41,101,231,.12);-webkit-box-shadow:0 4px 6px 0 rgba(0,0,0,.1);-moz-box-shadow:0 4px 6px 0 rgba(0,0,0,.1);box-shadow:0 4px 6px 0 rgba(0,0,0,.1)}.dark .notable{background-color:rgba(83,115,185,.52);-webkit-box-shadow:0 2px 3px 0 rgba(255,255,255,.05);-moz-box-shadow:0 2px 3px 0 rgba(255,255,255,.05);box-shadow:0 2px 3px 0 rgba(255,255,255,.05)}.explanation{background-color:rgba(4,121,13,.1)}.explanation h2{background-color:#005808;color:#fff}.dark .explanation{background-color:#2b412c}.dark .explanation h2{background-color:#0a310c}margin-note{color:#744202}.exercises h2{border-style:solid hidden;border-width:4px}@media (max-width:1349px){.example-number::after{content:": "}margin-image{float:left;width:30%;padding:15px 15px 15px 0}margin-note{font-style:italic}margin-note::before{content:"("}margin-note::after{content:")"}.exercises h2{font-size:1.2em}.exercises div{padding:10px 15px}.exercises ol,.exercises ul{padding-left:20px}.exercises{border-left:24px solid #314159}}@media (min-width:1350px){.exercises h2{font-size:1.5em}.exercises div{padding:20px 30px}.exercises ol,.exercises ul{padding-left:40px}#homepage-book-list{flex-direction:row;justify-content:center;flex-wrap:wrap}.exercises{border-left:48px solid #314159}}.book-description-toggle,.chapter-description-toggle{display:block;text-align:center;cursor:pointer;user-select:none;-moz-user-select:none;font-size:.9em;padding:5px;color:rgba(0,0,0,.7)}code{font-weight:700;font-size:1.1rem;}.exercises img{max-width:100%;}