@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;450;500;550;600;650;700&family=Manrope:wght@400;500;600;650;700;750;800&display=swap');
:root{color-scheme:dark;--bg:#071217;--fg:#eaf5f9;--muted:#92aab8;--glass:rgba(132,189,209,.055);--border:rgba(175,220,244,.16);--teal:#46e3d0;--blue:#159fff;--panel:#0c202b;--shadow:rgba(0,0,0,.4)}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:110px}body{margin:0;background:var(--bg);color:var(--fg);font-family:'DM Sans',sans-serif;font-size:16px;overflow-x:hidden;transition:background .5s,color .5s}body.light{color-scheme:light;--bg:#edf7fd;--fg:#082a44;--muted:#496b82;--glass:rgba(255,255,255,.52);--border:rgba(60,130,174,.23);--teal:#008d93;--blue:#0078e5;--panel:#f5fbff;--shadow:rgba(23,85,117,.15)}button,input,a{-webkit-tap-highlight-color:transparent}button,input{font:inherit}button,a{touch-action:manipulation}button{cursor:pointer;color:inherit}a{color:inherit;text-decoration:none}button{border:none}button:focus-visible,a:focus-visible,input:focus-visible,[tabindex]:focus-visible{outline:2px solid var(--teal);outline-offset:5px}button:hover,a:hover{filter:brightness(1.15)}.teal{color:var(--teal)}.ambient{position:fixed;pointer-events:none;z-index:-2;border-radius:50%;filter:blur(95px);opacity:.32;animation:drift 18s infinite alternate ease-in-out}.ambient-one{width:660px;height:650px;background:#005db5;top:-280px;right:-100px}.ambient-two{width:600px;height:450px;background:#006569;top:380px;left:-450px;animation-delay:-9s}.grain{position:fixed;inset:0;pointer-events:none;z-index:-1;background:linear-gradient(115deg,transparent 48%,#83d5ee04 49%,transparent 50%);background-size:25px 25px}.header{max-width:1400px;padding:25px 44px;margin:auto;display:flex;align-items:center;justify-content:space-between;gap:24px}.brand{display:flex;align-items:center;gap:8px;font-size:26px;letter-spacing:-1px;font-weight:750}.brand img{width:58px;height:54px;object-fit:contain}.brand small{display:block;font-size:9px;letter-spacing:2.1px;color:var(--muted);margin-top:2px}.header nav{display:flex;gap:3px;padding:6px;border:1px solid var(--border);background:var(--glass);border-radius:40px;box-shadow:inset 0 1px 0 #ffffff10;backdrop-filter:blur(20px)}.header nav a,.header nav button{font-size:14px;padding:11px 22px;border-radius:30px;background:none}.header nav .active{background:linear-gradient(120deg,#167dc53b,#77d6fc19);box-shadow:inset 0 0 0 1px #8ee7ff30;color:var(--fg)}.header-actions{display:flex;gap:18px;align-items:center}.icon-button{font-size:27px;background:transparent;width:36px;height:40px}.bag-button{display:flex;align-items:center;gap:10px;background:transparent;font-size:14px}.bag-button svg,.search svg{width:21px;height:21px}.bag-button b{background:#40dcca;color:#04332f;width:20px;height:20px;border-radius:50%;font-size:12px;display:grid;place-items:center}main{max-width:1400px;margin:auto;padding:0 44px}.hero{display:grid;grid-template-columns:1fr 1.1fr;min-height:600px;align-items:center;gap:12px;padding:38px 0 52px}.eyebrow{font-size:11px;letter-spacing:2.4px;font-weight:600;color:var(--teal);display:flex;align-items:center;gap:9px}.eyebrow span{width:6px;height:6px;border-radius:50%;background:var(--teal);box-shadow:0 0 14px #38ffdc}.hero h1{font-family:Manrope,sans-serif;font-size:clamp(46px,5.1vw,72px);font-weight:650;line-height:1.1;letter-spacing:-3.3px;margin:25px 0 23px}.hero h1 em{font-style:normal;background:linear-gradient(100deg,#67d4ff 5%,#49e2c9 95%);background-clip:text;color:transparent}.light .hero h1 em{background-image:linear-gradient(100deg,#0074dd,#008d87)}.hero-copy>p{font-size:22px;line-height:1.55;letter-spacing:-.4px;margin:0 0 17px}.hero-copy .hero-description{color:var(--muted);font-size:15px;line-height:1.75;letter-spacing:0}.primary{display:inline-flex;align-items:center;gap:36px;background:linear-gradient(110deg,#86f2e0,#42cdbd);color:#073831;font-weight:650;font-size:14px;padding:16px 22px;border-radius:10px;box-shadow:0 5px 30px #40d8c51c,inset 0 1px 0 #ffffffa0;margin-top:13px;transition:transform .25s}.primary:hover{transform:translateY(-3px)}.primary span{font-size:20px}.hero-notes{display:flex;gap:22px;color:var(--muted);font-size:12px;margin-top:29px}.showcase{position:relative;min-width:0;height:505px;perspective:1100px}.glass-back{position:absolute;inset:40px 10px 85px;border:1px solid #99dbff24;border-radius:55% 44% 18% 18%;background:linear-gradient(135deg,#9ddaff12,#5bd9ff02 45%,#62ffc50b);transform:rotate(-7deg);box-shadow:inset 1px 2px 2px #b4e6ff16;backdrop-filter:blur(4px)}.orbit{position:absolute;inset:25px -10px 65px;border-radius:50%;border:1px solid #88d9ff1c;transform:rotate(-25deg);pointer-events:none}.orbit-two{inset:65px -24px 100px;transform:rotate(20deg);border-color:#45e0cc13}.showcase-label{position:absolute;top:8px;left:30px;right:18px;display:flex;justify-content:space-between;color:var(--muted);font-size:10px;letter-spacing:2px}.book-stage{position:absolute;inset:34px 0 105px;perspective:1100px;touch-action:pan-y;cursor:grab;z-index:2}.book-stage:active{cursor:grabbing}.hero-book{position:absolute;width:190px;height:282px;left:calc(50% - 95px);top:25px;transform-style:preserve-3d;border-radius:3px 8px 8px 3px;transition:transform .85s cubic-bezier(.2,.7,.15,1),filter .8s,opacity .8s;box-shadow:14px 22px 30px #0006,-3px 0 4px #9cdbff66;overflow:visible;padding:0;background:#0e334a}.hero-book:after{content:'';position:absolute;top:4px;bottom:4px;right:-9px;width:9px;background:repeating-linear-gradient(0deg,#c2d9e2 0 1px,#7096aa 1px 2px);transform:rotateY(30deg);transform-origin:left;z-index:-1;border-radius:0 4px 4px 0}.cover{display:block;width:100%;aspect-ratio:113/167;background-image:url('assets/reference-dark.png');background-repeat:no-repeat;border-radius:3px 6px 6px 3px;box-shadow:inset 0 0 0 1px #a1d3f055}.cover-0{background-size:1479.65% 563.47%;background-position:6.09% 75.84%}.cover-1{background-size:1592.38% 563.47%;background-position:30.5% 75.84%}.cover-2{background-size:1548.15% 563.47%;background-position:55.05% 75.84%}.cover-3{background-size:1548.15% 563.47%;background-position:79.35% 75.84%}.hero-book .cover{height:100%}.hero-book.center{transform:translateX(0) translateY(0) translateZ(70px) rotateY(-9deg);z-index:3;filter:brightness(1.12)}.hero-book.left{transform:translateX(-162px) translateY(27px) translateZ(-90px) rotateY(23deg) rotateZ(-5deg);z-index:1;filter:brightness(.66)}.hero-book.right{transform:translateX(168px) translateY(27px) translateZ(-100px) rotateY(-25deg) rotateZ(6deg);z-index:1;filter:brightness(.72)}.pedestal{position:absolute;left:1%;right:-1%;height:66px;bottom:98px;border-radius:50%;background:linear-gradient(180deg,#9dddff1c,#092b4133 60%,#55b5fb12);box-shadow:inset 0 2px 2px #b7ecff70,0 9px 0 -1px #184563,0 11px 2px -1px #7cbddd40,0 25px 30px #0027428c,0 -15px 60px #09bffa18;border:1px solid #81d5ff44}.carousel-bottom{position:absolute;bottom:17px;left:50px;right:40px;display:flex;align-items:center;justify-content:space-between;gap:15px}.round-button{width:36px;height:36px;border:1px solid var(--border);background:var(--glass);border-radius:50%;font-size:19px;transition:background .2s}.round-button:hover{background:#31b5da30}.slide-copy{text-align:center}.slide-copy small{display:block;font-size:9px;letter-spacing:1.9px;color:var(--teal);margin-bottom:6px}.slide-copy strong{display:block;font-size:13px;font-weight:500}.dots{display:flex;gap:6px;justify-content:center;margin-top:13px}.dots button{padding:0;width:6px;height:6px;border-radius:5px;background:#7695a45c;transition:width .5s}.dots button.current{width:24px;background:var(--teal)}.swipe-note{position:absolute;bottom:-11px;left:0;right:0;text-align:center;color:var(--muted);font-size:8px;letter-spacing:2px}.subject-bar{border-block:1px solid var(--border);padding:24px 0;display:flex;align-items:center;justify-content:space-between;gap:20px;color:var(--muted);font-size:13px}.subject-bar>span{font-size:9px;letter-spacing:1px;line-height:1.8;border-right:1px solid var(--border);padding-right:40px}.subject-bar strong{font-size:12px;letter-spacing:0;color:var(--fg);font-weight:500}.subject-bar a:hover{color:var(--teal)}.library{padding:65px 0}.section-heading{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:28px}h2{font-family:Manrope,sans-serif;font-size:32px;letter-spacing:-1.2px;font-weight:600;margin:12px 0 0}.section-heading p{color:var(--muted);font-size:13px;line-height:1.7;margin:0 0 2px}.library-toolbar{display:flex;justify-content:space-between;gap:20px;align-items:center}.filters{display:flex;gap:6px;flex-wrap:wrap}.filters button{background:transparent;padding:10px 14px;color:var(--muted);font-size:12px;border:1px solid transparent;border-radius:30px}.filters button.selected{background:#5ee3cb11;color:var(--teal);border-color:#71dcca3a}.search{display:flex;align-items:center;gap:10px;border-bottom:1px solid var(--border);padding:10px 0;color:var(--muted)}.search input{width:175px;background:none;border:none;font-size:12px;color:var(--fg)}.search input::placeholder{color:var(--muted)}.sample-note{font-size:12px;color:var(--muted);margin:19px 0}.book-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}.book-card{border:1px solid var(--border);border-radius:17px;overflow:hidden;background:linear-gradient(140deg,#98ccdf0b,#539cbc03);box-shadow:inset 0 1px 0 #ffffff06;transition:transform .3s,box-shadow .3s}.book-card:hover{transform:translateY(-6px);box-shadow:0 15px 35px var(--shadow);border-color:#7ee4eb55}.card-image{width:100%;height:234px;background:radial-gradient(ellipse at 50% 70%,#12508450,transparent 68%);display:flex;align-items:center;justify-content:center;position:relative}.card-image .cover{width:112px;box-shadow:8px 12px 20px #0005;transform:rotate(-6deg);transition:transform .4s}.book-card:hover .cover{transform:rotate(0) translateY(-3px)}.book-card:nth-child(2) .card-image{background:radial-gradient(ellipse at 50% 70%,#258b8650,transparent 68%)}.book-card:nth-child(3) .card-image{background:radial-gradient(ellipse at 50% 70%,#355aba55,transparent 68%)}.book-card:nth-child(4) .card-image{background:radial-gradient(ellipse at 50% 70%,#00718850,transparent 68%)}.sample-tag{position:absolute;top:14px;left:14px;font-size:9px;letter-spacing:1px;color:var(--muted);border:1px solid var(--border);padding:5px 8px;border-radius:5px}.card-body{padding:0 20px 20px}.card-category{font-size:9px;letter-spacing:1.5px;color:var(--teal)}.title-button{font-family:Manrope,sans-serif;background:none;padding:0;text-align:left;font-size:17px;font-weight:650;margin:9px 0;line-height:1.5;min-height:51px}.card-meta{font-size:12px;color:var(--muted);margin:0 0 20px}.card-bottom{display:flex;justify-content:space-between;align-items:center;border-top:1px solid var(--border);padding-top:15px}.price{font-size:19px;font-weight:600}.price small{display:block;font-size:10px;color:var(--muted);font-weight:400;margin-top:3px}.add-button{width:34px;height:34px;background:#77cfe211;border:1px solid var(--border);border-radius:50%;font-size:22px;color:var(--teal)}.empty{text-align:center;padding:50px 20px;color:var(--muted)}.founder{position:relative;margin:7px 0 45px;padding:42px 55px;display:flex;align-items:center;gap:40px;border:1px solid var(--border);border-radius:20px;background:linear-gradient(120deg,#a2d9ff09,#25c4cb0a);overflow:hidden}.founder-symbol img{width:160px;height:145px;object-fit:contain}.founder h2{font-size:27px;line-height:1.3}.founder p{font-size:13px;color:var(--muted);margin:17px 0 22px}.founder strong{font-size:14px;font-weight:500}.founder-role{display:block;font-size:11px;color:var(--muted);margin-top:4px}.founder-mark{font-family:Georgia,serif;font-size:170px;letter-spacing:-20px;margin-left:auto;color:#5edccc14;transform:rotate(-8deg)}.founder-mark span{font-size:60px;vertical-align:top}footer{max-width:1400px;margin:auto;padding:10px 44px 30px;display:flex;gap:24px;align-items:center;color:var(--muted);font-size:11px}.footer-brand{color:var(--fg);font-size:22px;font-weight:700;letter-spacing:-1px}footer small{margin-left:auto;font-size:10px}dialog{width:min(620px,calc(100% - 32px));max-height:85vh;padding:35px;border:1px solid var(--border);background:var(--panel);color:var(--fg);border-radius:22px;box-shadow:0 25px 100px #0008}dialog::backdrop{background:#001019a8;backdrop-filter:blur(14px)}.close-button{position:absolute;top:10px;right:13px;border-radius:50%;width:35px;height:35px;font-size:27px;background:var(--glass)}dialog h2{font-size:27px;margin:12px 0 20px}dialog p{color:var(--muted);line-height:1.7}dialog .primary{border:0}dialog .detail-cover{width:120px;float:left;margin:0 25px 20px 0}.dialog-note{clear:both;padding:15px;border:1px solid var(--border);border-radius:10px;font-size:13px}.cart-row{display:flex;justify-content:space-between;gap:18px;align-items:center;border-bottom:1px solid var(--border);padding:18px 0;font-size:14px}.cart-row small{display:block;color:var(--muted);margin-top:5px}.remove{background:none;color:var(--muted);font-size:12px;padding:8px}.cart-total{display:flex;justify-content:space-between;padding:25px 0 5px}.secondary{padding:12px 18px;border:1px solid var(--border);border-radius:8px;background:var(--glass)}#toast{position:fixed;bottom:25px;left:50%;transform:translate(-50%,20px);background:var(--panel);border:1px solid var(--border);box-shadow:0 10px 35px #0005;padding:14px 22px;border-radius:12px;z-index:10;opacity:0;pointer-events:none;transition:.3s;max-width:90%;font-size:14px}#toast.show{opacity:1;transform:translate(-50%,0)}@keyframes drift{to{transform:translate(-80px,80px) scale(1.2)}}@media(min-width:1500px){.hero{min-height:650px}.showcase{transform:scale(1.08)}}@media(max-width:1050px){.header,main{padding-left:26px;padding-right:26px}.header nav a,.header nav button{padding:10px 13px}.hero{grid-template-columns:1fr 1fr}.hero h1{font-size:52px}.hero-notes{gap:10px;font-size:10px}.hero-book{width:154px;height:228px;left:calc(50% - 77px);top:60px}.hero-book.left{transform:translateX(-110px) translateY(22px) translateZ(-90px) rotateY(23deg) rotateZ(-5deg)}.hero-book.right{transform:translateX(115px) translateY(22px) translateZ(-100px) rotateY(-25deg) rotateZ(6deg)}.subject-bar{font-size:11px;gap:12px}.subject-bar>span{padding-right:15px}.book-grid{gap:12px}.card-body{padding:0 14px 17px}.title-button{font-size:15px}.founder-mark{display:none}.bag-label{display:none}}@media(max-width:760px){.header{padding:20px}.header nav{display:none}.brand{font-size:23px}.brand img{width:46px}.header-actions{gap:12px}main{padding:0 20px}.hero{display:flex;flex-direction:column;padding:32px 0 38px;gap:28px}.hero-copy{width:100%}.hero h1{font-size:54px;letter-spacing:-2.6px;margin:20px 0}.hero-copy>p{font-size:21px}.hero-copy .hero-description{font-size:14px}.hero-notes{font-size:11px;gap:20px}.showcase{width:100%;height:455px;max-width:520px}.hero-book{top:25px;width:165px;height:244px;left:calc(50% - 82.5px)}.showcase-label{left:14px;right:14px}.carousel-bottom{left:20px;right:20px}.pedestal{bottom:101px;left:5%;right:5%}.orbit{inset:25px 0 65px}.orbit-two{inset:65px 0 100px}.subject-bar{flex-wrap:wrap;justify-content:flex-start;gap:16px 24px;padding:20px 0}.subject-bar>span{width:100%;border:0;font-size:10px}.subject-bar strong{font-size:12px}.subject-bar a{font-size:12px}.library{padding:40px 0}.section-heading{display:block}.section-heading p{margin-top:16px}.section-heading h2{font-size:27px}.library-toolbar{align-items:stretch;flex-direction:column;gap:12px}.search input{width:100%;font-size:14px}.filters{gap:2px}.filters button{font-size:12px;padding:9px 10px}.sample-note{font-size:12px;line-height:1.6}.book-grid{grid-template-columns:repeat(2,1fr);gap:13px}.card-image{height:204px}.card-image .cover{width:99px}.title-button{font-size:14px;min-height:63px}.card-meta{font-size:11px}.card-category{font-size:8px}.sample-tag{font-size:8px;left:10px}.card-body{padding:0 12px 16px}.price{font-size:18px}.founder{padding:26px;gap:20px;align-items:flex-start;flex-direction:column}.founder-symbol img{width:100px;height:80px}.founder h2{font-size:24px}.founder .eyebrow{font-size:9px}footer{padding:10px 20px 25px;flex-wrap:wrap;gap:15px}footer small{margin-left:0;width:100%}dialog{padding:32px 24px}.desktop{display:none}}@media(prefers-reduced-motion:reduce){body:not(.motion-running) *,body:not(.motion-running) *:before,body:not(.motion-running) *:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}} 
.theme-selector{display:flex;border:1px solid var(--border);border-radius:30px;padding:3px;background:var(--glass)}.theme-selector button{font-size:12px;padding:8px 10px;border-radius:25px;background:none;color:var(--muted);white-space:nowrap}.theme-selector button[aria-pressed=true]{background:#74daca20;color:var(--teal);box-shadow:inset 0 0 0 1px #74daca30}@media(max-width:760px){.theme-selector button{padding:7px 8px;font-size:11px}.header{gap:10px}.bag-button{gap:5px}.brand small{font-size:8px;letter-spacing:1.4px}.brand img{width:37px}.brand{gap:4px;font-size:21px}.header-actions{gap:8px}}
.eyebrow,.showcase-label,.slide-copy small,.swipe-note,.card-category,.sample-tag,.price small,.founder-role,footer,footer small{font-size:12px}.slide-copy strong,.filters button,.search input,.subject-bar a,.theme-selector button{font-size:14px}.hero-copy .hero-description{font-size:16px}.section-heading p,.founder p{font-size:14px}.card-category{letter-spacing:.6px}.sample-tag{font-size:12px}.dots button{min-height:8px}.theme-selector button{font-size:12px}.showcase-label{letter-spacing:1.4px}.swipe-note{letter-spacing:1px}@media(max-width:760px){.hero h1{font-size:clamp(40px,12vw,54px)}.hero-copy .hero-description{font-size:16px}.hero-notes{font-size:12px;flex-wrap:wrap}.card-meta{font-size:12px}.sample-tag,.card-category{font-size:12px}.card-category{letter-spacing:0}.card-image{height:225px}.showcase-label{font-size:10px}.slide-copy strong{font-size:12px}.founder .eyebrow{font-size:12px}.founder p{font-size:16px}}@media(max-width:420px){.header{flex-wrap:wrap}.header-actions{width:100%;justify-content:space-between}.bag-label{display:inline}.hero{padding-top:16px}.hero-book.left{transform:translateX(-93px) translateY(22px) translateZ(-130px) rotateY(23deg) rotateZ(-5deg)}.hero-book.right{transform:translateX(93px) translateY(22px) translateZ(-130px) rotateY(-25deg) rotateZ(6deg)}}

.cart-row{justify-content:flex-start;gap:18px}.cart-cover{width:62px;min-width:62px;flex:0 0 62px;align-self:center;box-shadow:4px 6px 12px #0003}.cart-book-info{flex:1;min-width:0}.cart-book-info strong{display:block;font-size:15px;font-weight:600;line-height:1.5;overflow-wrap:anywhere}.cart-book-info small{font-size:12px;margin-top:6px}.cart-book-price{display:block;font-size:15px;font-weight:600;margin-top:8px;color:var(--teal)}.cart-row .remove{flex-shrink:0}@media(max-width:480px){.cart-row{gap:12px;flex-wrap:wrap}.cart-cover{width:54px;min-width:54px;flex-basis:54px}.cart-book-info{flex-basis:calc(100% - 66px)}.cart-row .remove{margin-left:66px;padding:2px 0 8px}}

.generic-cover{background:linear-gradient(135deg,#102e54,#05647c)!important;display:flex;flex-direction:column;padding:12px;justify-content:space-between;color:white;text-align:left}.generic-cover span,.generic-cover small{font-size:10px}.generic-cover strong{font-size:14px}.checkout-field{display:flex;flex-direction:column;gap:8px;margin:18px 0;font-size:14px}.checkout-field input,.checkout-field select{padding:12px;border:1px solid var(--border);border-radius:8px;background:var(--panel);color:var(--fg);font:inherit}#checkout-error{color:#ffaaaa}#checkout-form .help{font-size:13px;line-height:1.6}.primary:disabled,.add-button:disabled{opacity:.5;cursor:not-allowed}
