/* Jackanorie. Brand approved 19 to 21 October 2026 (operating-system/Jackanorie_Rules.md).
   Design pass 21 October: calm, light type, one bold voice per section, soft surfaces instead of borders. */
@font-face{font-family:"Plus Jakarta Sans";font-style:normal;font-weight:400;font-display:swap;src:url("/pjs-400.woff2") format("woff2")}
@font-face{font-family:"Plus Jakarta Sans";font-style:normal;font-weight:500;font-display:swap;src:url("/pjs-500.woff2") format("woff2")}
@font-face{font-family:"Plus Jakarta Sans";font-style:normal;font-weight:600;font-display:swap;src:url("/pjs-600.woff2") format("woff2")}
@font-face{font-family:"Plus Jakarta Sans";font-style:normal;font-weight:700;font-display:swap;src:url("/pjs-700.woff2") format("woff2")}
@font-face{font-family:"Plus Jakarta Sans";font-style:normal;font-weight:800;font-display:swap;src:url("/pjs-800.woff2") format("woff2")}
:root{
  --teal:#00A99D; --teal-deep:#008C82; --teal-text:#00736E; --orange:#FF7A1A; --mk:#F26A0F; --on-mk:#FFFFFF;
  --ink:#10201F; --body:#3D4F4E; --muted:#6B7C7B; --paper:#FFFFFF; --mist:#F5F9F9; --soft:#E6F4F3; --line:#E7EEEE;
  --shadow:0 1px 2px rgba(16,32,31,.04),0 12px 32px rgba(16,32,31,.08);
  --font:"Plus Jakarta Sans","Helvetica Neue",Arial,sans-serif;
  color-scheme:light;
}
*{box-sizing:border-box}
[hidden]{display:none!important}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
body{margin:0;background:var(--paper);color:var(--body);font-family:var(--font);font-size:17px;line-height:1.6;text-rendering:optimizeLegibility;font-weight:400;-webkit-font-smoothing:antialiased}
a{color:var(--teal-text)}
.wrap{max-width:1120px;margin:0 auto;padding-left:max(24px,env(safe-area-inset-left,0px));padding-right:max(24px,env(safe-area-inset-right,0px))}
.narrow{max-width:720px}
h1,h2,h3{color:var(--ink);font-weight:700;letter-spacing:-.025em;line-height:1.12;margin:0;text-wrap:balance}
h2{font-size:clamp(30px,3.4vw,42px);letter-spacing:-.032em;line-height:1.1}
b,strong{font-weight:600;color:var(--ink)}

/* Top bar */
.top{position:sticky;top:0;z-index:10;background:rgba(255,255,255,.88);backdrop-filter:saturate(1.4) blur(10px);border-bottom:1px solid var(--line)}
.top .wrap{display:flex;align-items:center;justify-content:space-between;min-height:68px}
.top{border-bottom-color:rgba(16,32,31,.06)}
.logo{font-weight:800;font-size:22px;letter-spacing:-.035em;color:var(--teal-text);text-decoration:none}
.logo{display:inline-flex;align-items:baseline}.logo .ld{color:var(--orange);margin:0 .01em 0 .02em}.logo .lc{font-weight:500;color:var(--teal-text);letter-spacing:-.025em}
.nav{display:flex;align-items:center;gap:28px}
.nav a{font-weight:500;font-size:14.5px;color:var(--body);text-decoration:none}
.nav a:hover{color:var(--ink)}
.top-link{font-weight:500;font-size:15px;color:var(--body);text-decoration:none}
@media (max-width:760px){.nav a[href="#how"],.nav a[href="#faq"]{display:none}.nav{gap:16px}}

/* Buttons */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:52px;padding:0 26px;border:0;border-radius:999px;background:var(--mk);color:var(--on-mk);font:inherit;font-weight:600;font-size:16px;letter-spacing:-.005em;text-decoration:none;cursor:pointer;white-space:nowrap;box-shadow:inset 0 1px 0 rgba(255,255,255,.22),0 1px 2px rgba(120,45,0,.18),0 6px 16px -4px rgba(200,80,0,.35);transition:transform .15s ease,box-shadow .15s ease,background .15s ease}
.btn:hover{transform:translateY(-1px);background:#F47420;box-shadow:inset 0 1px 0 rgba(255,255,255,.22),0 2px 4px rgba(120,45,0,.18),0 12px 24px -6px rgba(200,80,0,.45)}
.btn-sm{min-height:40px;padding:0 18px;font-size:14.5px}
.nav .btn-sm{color:var(--on-mk)}
.btn-ghost{background:rgba(255,255,255,.1);color:#FFFFFF;box-shadow:inset 0 0 0 1px rgba(255,255,255,.45)}
.btn-ghost:hover{background:rgba(255,255,255,.18);box-shadow:inset 0 0 0 1px rgba(255,255,255,.8)}
.btn:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible,.chip input:focus-visible+span{outline:3px solid var(--ink);outline-offset:3px}
.btn[disabled]{opacity:.6;cursor:wait}
@media (max-width:560px){.nav .btn-sm{display:none}}

/* Hero */
.hero{background:radial-gradient(900px 520px at 80% 30%,rgba(255,255,255,.12) 0%,rgba(255,255,255,0) 65%),linear-gradient(180deg,#05B0A4 0%,var(--teal) 100%);color:#FFFFFF;overflow:hidden}
.hero-grid{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(0,.92fr);gap:72px;align-items:center;padding-block:32px 112px}
.hero-copy{display:flex;flex-direction:column;align-items:flex-start;gap:0;min-width:0}
.hero-copy .pill{margin-bottom:26px}.hero-copy .headline{margin-bottom:28px}.hero-copy .hero-sub{margin-bottom:36px}.hero-copy .hero-ctas{margin-bottom:28px}
.pill{display:inline-flex;align-items:center;gap:10px;background:#FFFFFF;color:var(--ink);font-weight:500;font-size:14px;line-height:1.2;padding:6px 14px 6px 6px;border-radius:999px;box-shadow:0 2px 4px rgba(0,50,46,.08),0 10px 24px -8px rgba(0,50,46,.35)}
.pill-amt{background:var(--mk);color:#FFFFFF;font-weight:700;border-radius:999px;padding:5px 10px;letter-spacing:-.01em}
.headline{color:#FFFFFF;font-size:clamp(38px,5vw,66px);line-height:1.02;font-weight:800;letter-spacing:-.042em;display:flex;flex-direction:column;align-items:flex-start;gap:.14em;isolation:isolate}
.mk{position:relative;display:inline-block;padding:0 .16em 0 .14em;margin-left:-.14em;z-index:0;white-space:nowrap}
.mk::before{content:"";position:absolute;z-index:-1;inset:.16em -.1em -.02em -.06em;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 62' preserveAspectRatio='none'%3E%3Cpath fill='%23F26A0F' d='M18,8 C90,6 160,9 230,7 C300,5 350,8 392,7 L380,55 C320,57 250,54 180,56 C110,58 60,55 6,56 Z'/%3E%3Cpath fill='%23D9580A' fill-opacity='.55' d='M18,8 C24,8 30,8 36,8 L24,56 C18,56 12,56 6,56 Z'/%3E%3Cpath fill='%23D9580A' fill-opacity='.55' d='M376,7 C382,7 387,7 392,7 L380,55 C375,55 369,55 364,55 Z'/%3E%3C/svg%3E") center/100% 100% no-repeat;transform:rotate(-.9deg)}
.dot{margin-left:-.06em}
.mk:nth-child(2)::before{transform:rotate(.6deg) scaleX(-1)}
.mk:nth-child(3)::before{transform:rotate(-.4deg)}
.hero-sub{margin:0;font-size:19px;line-height:1.6;max-width:38ch;color:rgba(255,255,255,.92);font-weight:400}
.hero-ctas{display:flex;flex-wrap:wrap;gap:12px}
.trust{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:8px 22px;font-size:14px;font-weight:500;color:rgba(255,255,255,.88)}
.trust li{display:flex;align-items:center;gap:8px}
.trust li::before{content:"";width:14px;height:14px;border-radius:50%;background:rgba(255,255,255,.2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M4 7.2l2 2 4-4.4' fill='none' stroke='%23fff' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat}
@media (max-width:920px){.hero-grid{grid-template-columns:1fr;gap:56px;padding-block:48px 72px}.dash{max-width:480px}}
@media (max-width:520px){.headline{font-size:min(11vw,46px)}.hero-ctas{width:100%;gap:10px}.hero-ctas .btn{flex:1 1 100%}.hero-copy .pill{margin-bottom:22px}.pill{font-size:13px;padding:5px 12px 5px 5px}.hero-copy .headline{margin-bottom:22px}.hero-sub{font-size:17.5px}.hero-copy .hero-sub{margin-bottom:28px}.hero-copy .hero-ctas{margin-bottom:22px}.trust{gap:8px 18px;font-size:13.5px}}

/* Dashboard picture */
.dash{display:flex;background:#FFFFFF;color:var(--body);border-radius:20px;box-shadow:0 0 0 6px rgba(255,255,255,.14),0 2px 4px rgba(0,50,46,.08),0 24px 48px -12px rgba(0,50,46,.35),0 48px 96px -24px rgba(0,50,46,.3);overflow:hidden;width:100%}
.dash svg{display:block}
.rail{flex:none;width:60px;background:#0E3A37;display:flex;flex-direction:column;align-items:center;gap:10px;padding:16px 0}
.rail-logo{width:34px;height:34px;border-radius:10px;background:var(--teal);color:#FFFFFF;font-weight:800;font-size:19px;display:grid;place-items:center;position:relative;margin-bottom:10px;line-height:1}
.rail-logo i{position:absolute;right:7px;bottom:8px;width:5px;height:5px;border-radius:50%;background:var(--orange)}
.rail>span:not(.rail-logo){width:38px;height:38px;border-radius:11px;display:grid;place-items:center}
.rail>span svg{width:19px;height:19px;stroke:rgba(255,255,255,.55);fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.rail>span.on{background:rgba(255,255,255,.12)}.rail>span.on svg{stroke:#FFFFFF}
.rail-end{margin-top:auto}
.dash-main{flex:1;min-width:0}
.dash-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:18px 22px;border-bottom:1px solid var(--line)}
.dash-hi{display:block;font-size:16px;font-weight:700;color:var(--ink);letter-spacing:-.02em}
.dash-sub{display:block;font-size:12.5px;color:var(--muted)}
.dash-tools{display:flex;align-items:center;gap:12px}
.bell{position:relative;width:34px;height:34px;border-radius:50%;background:var(--mist);display:grid;place-items:center}
.bell svg{width:17px;height:17px;stroke:var(--body);fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.bell i{position:absolute;top:7px;right:8px;width:7px;height:7px;border-radius:50%;background:var(--orange);box-shadow:0 0 0 2px var(--mist)}
.avatar{width:34px;height:34px;border-radius:50%;background:#FFE3CC;color:#9A4300;font-weight:700;font-size:14px;display:grid;place-items:center}
.dash-body{padding:22px;display:flex;flex-direction:column;gap:16px;background:#FBFDFD}
.eyebrow{display:block;font-size:12px;font-weight:600;letter-spacing:.1em;text-transform:uppercase;color:var(--teal-text);margin-bottom:14px}
.dash-book{display:flex;gap:18px;background:#FFFFFF;border-radius:16px;padding:16px;box-shadow:0 0 0 1px var(--line),0 4px 12px -4px rgba(16,32,31,.08)}
.cover{flex:none;align-self:flex-start;width:92px;height:138px;border-radius:3px 6px 6px 3px;box-shadow:inset 3px 0 0 rgba(0,0,0,.25),0 1px 2px rgba(0,0,0,.2),0 10px 20px -6px rgba(10,26,42,.45)}
.dash-book-info{display:flex;flex-direction:column;gap:6px;min-width:0;flex:1}
.dash-book-info b{font-size:17px;font-weight:700;letter-spacing:-.015em}
.due{align-self:flex-start;display:inline-flex;align-items:center;gap:5px;background:#FFF0E3;color:#9A4300;font-size:12px;font-weight:600;border-radius:999px;padding:3px 10px 3px 8px}
.due svg{width:13px;height:13px;stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round}
.muted{color:var(--muted);font-size:14px;line-height:1.5}
.dash-book-info .muted{font-size:13px}
.prog{display:flex;align-items:center;gap:10px;margin-top:4px}.prog .bar{flex:1;margin:0}.prog span{font-size:12px;font-weight:600;color:var(--teal-text);font-variant-numeric:tabular-nums}
.bar{height:6px;border-radius:999px;background:#DCEBEA;overflow:hidden;margin-top:2px}.bar i{display:block;height:100%;border-radius:999px;background:var(--teal)}
.dash-row{display:flex;flex-wrap:wrap;gap:6px 12px;justify-content:space-between;align-items:center;font-size:13px;font-weight:600;margin-top:4px}
.earn{color:var(--teal-text);background:var(--soft);border-radius:999px;padding:3px 10px}
.cont{color:#FFFFFF;background:var(--ink);border-radius:999px;padding:5px 12px}
.cont::after{content:" \2192"}
.tiles{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}
.tiles div{background:#FFFFFF;border-radius:14px;padding:12px 14px;display:flex;flex-direction:column;gap:2px;min-width:0;box-shadow:0 0 0 1px var(--line)}
.t-ico{width:30px;height:30px;border-radius:9px;background:var(--soft);display:grid;place-items:center;margin-bottom:6px}
.t-ico svg{width:16px;height:16px;stroke:var(--teal-text);fill:none;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.tiles .muted{font-size:12px}
.tiles b{font-size:17px;font-weight:700;letter-spacing:-.015em;font-variant-numeric:tabular-nums}
@media (max-width:520px){.rail{width:48px;padding:12px 0}.rail-logo{width:30px;height:30px;font-size:17px}.rail>span:not(.rail-logo){width:32px;height:32px}.dash-bar{padding:14px 16px}.dash-sub{display:none}.dash-body{padding:14px}.dash-book{gap:12px;padding:12px}.cover{width:70px;height:105px}.tiles{gap:6px}.tiles div{padding:10px}.t-ico{display:none}.dash-hi{font-size:14.5px}}

/* Sections */
section.block{padding-block:120px}
@media (max-width:700px){section.block{padding-block:80px}}
section.block.alt{background:var(--mist)}
.sec-head{max-width:640px;margin-bottom:56px}
.sec-head p{margin:18px 0 0;font-size:18px;color:var(--body);max-width:56ch}
.steps{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
@media (max-width:820px){.steps{grid-template-columns:1fr}}
.step{background:#FFFFFF;border-radius:20px;padding:32px 28px;box-shadow:0 0 0 1px var(--line),0 1px 2px rgba(16,32,31,.03);display:flex;flex-direction:column;gap:10px}
.step .num{margin-bottom:10px}
.num{display:inline-grid;place-items:center;width:36px;height:36px;border-radius:12px;background:var(--soft);color:var(--teal-text);font-weight:700;font-size:15px}
.step h3{font-size:19px;letter-spacing:-.02em;font-weight:600}
.step p{margin:0;color:var(--muted);font-size:16px;line-height:1.6}
.feature-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:72px;align-items:center}
@media (max-width:860px){.feature-grid{grid-template-columns:1fr;gap:40px}}
.features{display:flex;flex-direction:column;gap:28px;margin-top:40px}
.feat{display:flex;gap:16px}
.feat .ico{flex:none;width:40px;height:40px;border-radius:12px;background:var(--soft);display:grid;place-items:center}
.feat .ico svg{width:20px;height:20px;stroke:var(--teal-text);fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.feat h3{font-size:17px;font-weight:600;letter-spacing:-.01em;margin-bottom:4px}
.feat p{margin:0;font-size:16px;color:var(--muted)}
.side-cards{display:flex;flex-direction:column;gap:20px}
.card{background:#FFFFFF;border-radius:20px;padding:28px;box-shadow:0 0 0 1px var(--line),0 12px 32px -12px rgba(16,32,31,.1);display:flex;flex-direction:column;gap:6px}
.card .eyebrow{margin:0 0 4px}
.card-title{font-size:18px;font-weight:600;letter-spacing:-.015em;color:var(--ink)}
.days{display:grid;grid-template-columns:repeat(7,1fr);gap:8px;margin-top:14px}
.days span{text-align:center;padding:10px 0;border-radius:10px;background:var(--mist);font-weight:500;font-size:13px;color:var(--muted)}
.days span.on{background:var(--teal);color:#FFFFFF}
.big-num{font-size:44px;font-weight:700;letter-spacing:-.04em;color:var(--ink);font-variant-numeric:tabular-nums;line-height:1.1;margin:4px 0}
.lead-p{color:var(--body);font-size:18px;margin:16px 0 0;max-width:52ch}
.ticks{list-style:none;margin:32px 0 0;padding:0;display:flex;flex-direction:column;gap:14px}
.ticks li{padding-left:34px;position:relative;font-size:16px}
.ticks li::before{content:"";position:absolute;left:0;top:2px;width:22px;height:22px;border-radius:50%;background:#FFF0E3 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cpath d='M7 11.3l2.8 2.8L15.2 8' fill='none' stroke='%23F26A0F' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/22px no-repeat}
.pro-card{gap:0;padding:30px}
.pro-card .card-title{margin-bottom:18px}
.mini{list-style:none;margin:0;padding:0;counter-reset:m;display:flex;flex-direction:column}
.mini li{counter-increment:m;display:flex;gap:14px;align-items:flex-start;padding:14px 0;border-top:1px solid var(--line);font-size:16px}
.mini li:first-child{border-top:0;padding-top:0}
.mini li::before{content:counter(m);flex:none;width:26px;height:26px;border-radius:8px;background:var(--soft);color:var(--teal-text);font-weight:700;font-size:13px;display:grid;place-items:center}
.pro-card .muted{margin-top:16px}
.path{list-style:none;margin:40px 0 0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;max-width:820px}
@media (max-width:700px){.path{grid-template-columns:1fr}}
.path li{display:flex;align-items:center;gap:14px;background:#FFFFFF;border-radius:16px;padding:18px 20px;box-shadow:0 0 0 1px var(--line);font-weight:500;color:var(--ink)}
.path .num{width:32px;height:32px;border-radius:10px;font-size:14px}
.faq{margin-top:40px;border-top:1px solid var(--line)}
details{border-bottom:1px solid var(--line);padding:24px 0}
summary{font-weight:500;font-size:17.5px;letter-spacing:-.01em;color:var(--ink);cursor:pointer;list-style:none;display:flex;justify-content:space-between;align-items:center;gap:16px}
summary::-webkit-details-marker{display:none}
summary::after{content:"";flex:none;width:28px;height:28px;border-radius:50%;background:var(--mist) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 28'%3E%3Cpath d='M14 9v10M9 14h10' stroke='%2300736E' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") center/28px no-repeat;transition:transform .2s ease}
details[open] summary::after{transform:rotate(45deg)}
details p{margin:12px 0 0;color:var(--muted);font-size:16px;max-width:60ch}

/* Join */
.join{background:linear-gradient(180deg,var(--mist),#EAF6F5)}
.join .lead{margin:16px 0 32px;color:var(--body);font-size:18px}
.join-card{background:#FFFFFF;border-radius:24px;padding:40px;box-shadow:0 0 0 1px var(--line),0 24px 48px -20px rgba(16,32,31,.14)}
@media (max-width:560px){.join-card{padding:22px}}
form{display:flex;flex-direction:column;gap:20px}
label.f{display:flex;flex-direction:column;gap:8px;font-weight:500;font-size:15px;color:var(--ink)}
input[type=text],input[type=email],select{font:inherit;font-weight:400;font-size:16px;min-height:52px;padding:0 16px;border:1px solid #D5E1E1;border-radius:14px;background:#FFFFFF;color:var(--ink);width:100%;transition:border-color .15s ease}
input[type=text]:hover,input[type=email]:hover,select:hover{border-color:#B9CCCC}
fieldset{border:0;margin:0;padding:0;min-width:0}
legend{font-weight:500;font-size:15px;color:var(--ink);margin-bottom:10px;padding:0}
.chips{display:flex;flex-wrap:wrap;gap:8px}
.chip{position:relative}
.chip input{position:absolute;opacity:0;width:1px;height:1px}
.chip span{display:inline-flex;align-items:center;min-height:42px;padding:0 16px;border:1px solid #D5E1E1;border-radius:999px;background:#FFFFFF;font-size:15px;color:var(--body);cursor:pointer;user-select:none;transition:all .15s ease}
.chip input:checked+span{background:var(--teal-text);border-color:var(--teal-text);color:#FFFFFF}
.check{display:flex;gap:12px;align-items:flex-start;font-size:15px;color:var(--body)}
.check input{width:20px;height:20px;margin:2px 0 0;flex:none;accent-color:var(--teal-text)}
.join .btn{align-self:stretch}
.msg{border-radius:14px;padding:14px 16px;font-size:15px}
.msg.ok{background:var(--soft);color:var(--ink)}
.msg.err{background:#FFF1EB;color:#6B2A10}
.soon{background:var(--mist);border-radius:14px;padding:18px 20px;font-size:16px}
.signin-note{background:rgba(255,255,255,.7);border-radius:16px;padding:16px 20px;font-size:15px;color:var(--muted);margin-bottom:20px;box-shadow:inset 0 0 0 1px var(--line);scroll-margin-top:96px}
.signin-note:target{box-shadow:inset 0 0 0 2px var(--teal)}
.hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}

/* Sign in */
.auth{min-height:calc(100vh - 69px);display:grid;place-items:center;padding:48px 16px 120px;background:linear-gradient(180deg,var(--mist),#EAF6F5)}
.auth-card{width:100%;max-width:440px;background:#fff;border-radius:24px;padding:40px;box-shadow:0 0 0 1px var(--line),0 24px 48px -20px rgba(16,32,31,.14)}
.auth-card.center{text-align:center;display:flex;flex-direction:column;align-items:center}
.auth-card h1{font-size:30px;letter-spacing:-.03em}
.auth-p{margin:12px 0 28px;color:var(--body);font-size:16.5px}
.auth-form{gap:16px}.auth-form .btn{align-self:stretch}
.auth-foot{margin:22px 0 0;font-size:15px;color:var(--muted)}
.mail-ico{width:56px;height:56px;border-radius:16px;background:var(--soft);display:grid;place-items:center;margin-bottom:20px}
.mail-ico svg,.empty-ico svg{width:26px;height:26px;stroke:var(--teal-text);fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
@media (max-width:560px){.auth-card{padding:26px}.auth-card h1{font-size:26px}}
/* App */
.app{display:flex;min-height:calc(100vh - 69px);background:#FBFDFD}
.app .rail{flex:none;width:72px;background:#0E3A37;display:flex;flex-direction:column;align-items:center;gap:10px;padding:20px 0}
.app .rail-logo{width:38px;height:38px;border-radius:11px;background:var(--teal);color:#fff;font-weight:800;font-size:21px;display:grid;place-items:center;position:relative;margin-bottom:12px;line-height:1}
.app .rail-logo i{position:absolute;right:8px;bottom:9px;width:5px;height:5px;border-radius:50%;background:var(--orange)}
.app .rail a{width:44px;height:44px;border-radius:12px;display:grid;place-items:center}
.app .rail a svg{width:21px;height:21px;stroke:rgba(255,255,255,.6);fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.app .rail a.on{background:rgba(255,255,255,.12)}.app .rail a.on svg{stroke:#fff}
.app .rail-end{margin-top:auto}
.app-main{flex:1;min-width:0}
.app-bar{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:24px 32px;border-bottom:1px solid var(--line);background:#fff}
.app-hi{font-size:24px;letter-spacing:-.025em}
.app-tools{display:flex;align-items:center;gap:14px}
.app .avatar{width:38px;height:38px;border-radius:50%;background:#FFE3CC;color:#9A4300;font-weight:700;font-size:15px;display:grid;place-items:center}
.signout{font-size:14.5px;font-weight:500;color:var(--muted);text-decoration:none}
.app-body{padding:32px;max-width:900px;display:flex;flex-direction:column;gap:20px}
.empty{display:flex;gap:20px;align-items:flex-start;background:#fff;border-radius:20px;padding:28px;box-shadow:0 0 0 1px var(--line),0 12px 32px -12px rgba(16,32,31,.1)}
.empty-ico{flex:none;width:52px;height:52px;border-radius:14px;background:#FFF0E3;display:grid;place-items:center}
.empty-ico svg{stroke:var(--mk)}
.empty h2{font-size:21px;letter-spacing:-.02em}
.empty p{margin:6px 0 0;color:var(--muted);font-size:16px}
.app .tiles{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
.app .tiles div{background:#fff;border-radius:16px;padding:16px 18px;display:flex;flex-direction:column;gap:2px;min-width:0;box-shadow:0 0 0 1px var(--line)}
.app .t-ico{width:32px;height:32px;border-radius:9px;background:var(--soft);display:grid;place-items:center;margin-bottom:8px}
.app .t-ico svg{width:17px;height:17px;stroke:var(--teal-text);fill:none;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.app .tiles .muted{font-size:13px}
.app .tiles b{font-size:19px;font-weight:700;letter-spacing:-.015em}
.app .genres-card .chips{margin-top:14px}
@media (max-width:700px){.app .rail{display:none}.app-bar{padding:18px 16px}.app-body{padding:16px}.app-hi{font-size:20px}.empty{padding:20px;gap:14px}.app .tiles{gap:8px}.app .tiles div{padding:12px}.app .t-ico{display:none}.app .tiles b{font-size:16px}}
.auth-msg{margin-top:4px}
.app-note{background:#FFF0E3;color:#6B2A10;border-radius:14px;padding:14px 16px;font-size:15px}
.saved{font-size:13px;color:var(--teal-text);margin-left:8px}
.signout{background:none;border:0;font:inherit;cursor:pointer;padding:0}
.w65{width:65%}

/* Footer */
footer{border-top:1px solid var(--line);background:#FFFFFF}
footer .wrap{display:flex;flex-wrap:wrap;gap:16px 24px;justify-content:space-between;align-items:center;padding-block:32px;font-size:14px;color:var(--muted)}
.foot-links{display:flex;gap:24px}
.foot-links a{color:var(--muted);text-decoration:none}
.foot-links a:hover{color:var(--ink)}

/* Text pages (privacy) */
.page{padding-block:64px 96px}
.page h1{font-size:clamp(34px,5vw,48px);margin:0 0 8px}
.page h2{font-size:22px;margin:40px 0 10px;letter-spacing:-.015em}
.page p,.page li{max-width:65ch}
.mb0{margin-bottom:0}
.linklike{background:none;border:0;padding:0;font:inherit;color:var(--teal-text);text-decoration:underline;cursor:pointer}
/* Welcome page */
.welcome{background:radial-gradient(900px 520px at 80% 30%,rgba(255,255,255,.12) 0%,rgba(255,255,255,0) 65%),linear-gradient(180deg,#05B0A4 0%,var(--teal) 100%);color:#fff;padding-block:72px 80px}
.welcome .pill{margin-bottom:26px}
.welcome-h{color:#fff;font-size:clamp(36px,5vw,56px);font-weight:800;letter-spacing:-.04em;line-height:1.05}
.welcome-p{margin:20px 0 0;font-size:19px;color:rgba(255,255,255,.92);max-width:44ch}
.welcome-next{padding-block:72px 96px}
.welcome-steps{margin-top:8px}
.welcome-steps li div{display:flex;flex-direction:column;gap:2px}
.welcome-steps b{font-size:17px}
.welcome-tip{margin:32px 0 32px;background:var(--mist);box-shadow:none}

/* Admin */
.admin-tag{margin-left:14px;font-size:12px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;background:var(--ink);color:#fff;border-radius:999px;padding:4px 10px}
.admin-top .wrap{justify-content:flex-start}
.seg{display:flex;background:var(--mist);border-radius:999px;padding:4px}
.seg button{font:inherit;font-size:14px;font-weight:600;border:0;background:none;color:var(--muted);padding:8px 16px;border-radius:999px;cursor:pointer}
.seg button.on{background:#fff;color:var(--ink);box-shadow:0 1px 3px rgba(16,32,31,.12)}
.admin-page .app-body{max-width:1100px}
.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}
.stats div{background:#fff;border-radius:16px;padding:16px 18px;box-shadow:0 0 0 1px var(--line);display:flex;flex-direction:column}
.stats b{font-size:26px;font-weight:700;letter-spacing:-.03em}
.tbl-card{padding:0;overflow:hidden}
.tbl-head{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:20px 24px}
.search{font:inherit;font-size:14.5px;min-height:40px;padding:0 14px;border:1px solid #D5E1E1;border-radius:999px;width:260px;max-width:100%}
.tbl-wrap{overflow-x:auto}
.tbl{width:100%;border-collapse:collapse;font-size:14.5px}
.tbl th{text-align:left;font-size:12px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--muted);padding:10px 24px;background:var(--mist);white-space:nowrap}
.tbl td{padding:14px 24px;border-top:1px solid var(--line);vertical-align:middle;white-space:nowrap}
.tbl b{font-weight:600}
.tbl tr.off td{color:var(--muted)}
.tag{display:inline-block;font-size:12px;font-weight:600;border-radius:999px;padding:3px 10px;background:var(--mist);color:var(--muted)}
.tag.ok{background:var(--soft);color:var(--teal-text)}
.sw{position:relative;display:inline-block;width:42px;height:24px;cursor:pointer}
.sw input{position:absolute;opacity:0}
.sw i{position:absolute;inset:0;background:#D5E1E1;border-radius:999px;transition:background .15s}
.sw i::after{content:"";position:absolute;top:3px;left:3px;width:18px;height:18px;border-radius:50%;background:#fff;box-shadow:0 1px 2px rgba(0,0,0,.2);transition:transform .15s}
.sw input:checked+i{background:var(--teal)}
.sw input:checked+i::after{transform:translateX(18px)}
.tbl-note{padding:14px 24px 20px;margin:0;border-top:1px solid var(--line)}
.book-form{display:grid;grid-template-columns:1fr 1fr;gap:16px 20px;margin-top:18px}
.file{display:flex;align-items:center;min-height:52px;padding:0 16px;border:1px dashed #B9CCCC;border-radius:14px;color:var(--muted);font-weight:400;font-size:15px}
.form-row{grid-column:1/-1;display:flex;gap:12px;justify-content:flex-end;margin-top:8px}
.btn-ghost-dark{background:#fff;color:var(--ink);box-shadow:inset 0 0 0 1px #D5E1E1}
@media (max-width:700px){.stats{grid-template-columns:1fr 1fr}.book-form{grid-template-columns:1fr}.app-bar{flex-wrap:wrap}.form-row{flex-direction:column}}
.adm-msg{margin-top:4px}
.file input{font:inherit;font-size:14px;width:100%}
.tbl .linkbtn{background:none;border:0;padding:0;margin-left:10px;font:inherit;font-size:13px;font-weight:600;color:var(--teal-text);cursor:pointer;text-decoration:underline}
.admin-link{font-size:14.5px;font-weight:600;color:var(--teal-text);text-decoration:none}
/* Library */
.app-nav{display:none}
@media (max-width:700px){.app-nav{display:flex;gap:18px}}
.bk-cover{flex:none;width:100%;aspect-ratio:2/3;border-radius:4px 8px 8px 4px;overflow:hidden;background:var(--mist);box-shadow:inset 3px 0 0 rgba(0,0,0,.18),0 10px 22px -10px rgba(10,26,42,.45)}
.bk-cover img{width:100%;height:100%;object-fit:cover;display:block}
.bk-cover.gen{background:linear-gradient(165deg,var(--c1) 0%,var(--c1) 55%,var(--c2) 130%);color:#FFF6E4;display:flex;flex-direction:column;justify-content:space-between;padding:22px 12px 14px;text-align:center}
.gen-t{font-family:Georgia,"Times New Roman",serif;font-size:clamp(14px,1.6vw,20px);line-height:1.15;letter-spacing:.02em;text-transform:uppercase;text-wrap:balance}
.gen-a{font-family:Georgia,"Times New Roman",serif;font-size:11px;letter-spacing:.18em;text-transform:uppercase;opacity:.85}
.lib-body{max-width:1100px}
.starter-note{background:#FFF0E3;color:#6B2A10;border-radius:14px;padding:14px 18px;font-size:15px}
.starter-note b{color:#6B2A10}
.lib-filter .chip input{position:absolute;opacity:0}
.lib-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:24px}
.bk-card{display:flex;flex-direction:column;gap:14px;text-decoration:none;color:inherit;border-radius:16px;padding:14px;background:#fff;box-shadow:0 0 0 1px var(--line);transition:transform .15s ease,box-shadow .15s ease}
.bk-card:hover{transform:translateY(-2px);box-shadow:0 0 0 1px var(--line),0 14px 28px -14px rgba(16,32,31,.25)}
.bk-info{display:flex;flex-direction:column;gap:4px;min-width:0}
.bk-tags{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:4px}
.bk-title{font-size:16.5px;font-weight:700;color:var(--ink);letter-spacing:-.015em;line-height:1.25}
.bk-info .muted{font-size:13.5px}
.bk-row{display:flex;flex-wrap:wrap;gap:6px 10px;align-items:center;margin-top:6px;font-size:13px;font-weight:600}
@media (max-width:520px){.lib-grid{grid-template-columns:1fr 1fr;gap:12px}.bk-card{padding:10px}}
.back{font-size:14.5px;font-weight:500;color:var(--muted);text-decoration:none}
.book-body{max-width:1000px}
.book-wrap{display:grid;grid-template-columns:260px minmax(0,1fr);gap:48px;align-items:start;margin-top:8px}
.bk-cover.big .gen-t{font-size:26px}
.book-info{display:flex;flex-direction:column;align-items:flex-start;gap:14px}
.book-tags{display:flex;flex-wrap:wrap;gap:6px}
.book-title{font-size:clamp(30px,3.6vw,42px);letter-spacing:-.035em}
.book-author{margin:-6px 0 0;color:var(--muted);font-size:16px}
.facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;width:100%}
.facts div{background:#fff;border-radius:14px;padding:12px 14px;box-shadow:0 0 0 1px var(--line);display:flex;flex-direction:column}
.facts .muted{font-size:12.5px}
.facts b{font-size:19px;font-weight:700;letter-spacing:-.015em}
.book-blurb{margin:0;font-size:16.5px;color:var(--body);max-width:60ch;white-space:pre-line}
.pro-box{background:var(--soft);border-radius:14px;padding:12px 16px;font-size:15px}
.pick-note{margin:0;font-size:14px}
@media (max-width:760px){.book-wrap{grid-template-columns:1fr;gap:24px}.book-wrap .bk-cover.big{max-width:200px}.facts b{font-size:16px}}
.now{display:flex;gap:22px;align-items:flex-start;background:#fff;border-radius:20px;padding:22px;box-shadow:0 0 0 1px var(--line),0 12px 32px -12px rgba(16,32,31,.1)}
.now .bk-cover{width:110px}
.now-info{display:flex;flex-direction:column;gap:6px;min-width:0;flex:1}
.now-title{font-size:20px;font-weight:700;letter-spacing:-.02em;color:var(--ink)}
.now .dash-row{margin-top:10px}
.now .btn[disabled]{opacity:.55;cursor:default}
.empty-btn{margin-top:14px;color:#fff}
.book-form .full{grid-column:1/-1}
textarea{font:inherit;font-weight:400;font-size:16px;padding:12px 16px;border:1px solid #D5E1E1;border-radius:14px;background:#fff;color:var(--ink);width:100%;resize:vertical}
.now .bk-cover.gen{padding:14px 8px 10px}.now .gen-t{font-size:13px}.now .gen-a{font-size:8px}
.bk-cover.big.gen{padding:40px 20px 24px}
@media (max-width:520px){.lib-grid .gen-t{font-size:13px}.lib-grid .bk-cover.gen{padding:14px 8px 10px}.lib-grid .gen-a{font-size:8px}.now{gap:14px;padding:14px}.now .bk-cover{width:84px}}
/* Reader */
.read-page{background:#FBFAF6;min-height:100vh;display:flex;flex-direction:column}
.read-bar{position:sticky;top:0;z-index:5;display:flex;align-items:center;gap:16px;padding:12px max(16px,env(safe-area-inset-left));background:rgba(255,255,255,.94);backdrop-filter:blur(8px);border-bottom:1px solid var(--line)}
.read-back{font-size:14.5px;font-weight:600;color:var(--teal-text);text-decoration:none;white-space:nowrap}
.read-title{flex:1;min-width:0;display:flex;flex-direction:column;line-height:1.3}
.read-title b{font-size:15.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.read-title .muted{font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.read-tools{display:flex;align-items:center;gap:6px}
.rt{font:inherit;font-size:14px;font-weight:600;border:0;background:var(--mist);color:var(--ink);border-radius:10px;min-width:38px;height:36px;cursor:pointer}
.read-pct{font-size:14px;font-weight:700;color:var(--teal-text);min-width:44px;text-align:right;font-variant-numeric:tabular-nums}
.read-progress{height:3px;background:#E6EEEE}.read-progress i{display:block;height:100%;width:0;background:var(--teal);transition:width .3s ease}
.read-main{flex:1;display:flex;flex-direction:column;align-items:center;padding:24px 16px 96px}
.read-view{width:100%;max-width:760px}
.read-view.epub{height:calc(100vh - 210px);min-height:420px;background:#fff;border-radius:16px;box-shadow:0 0 0 1px var(--line),0 12px 32px -16px rgba(16,32,31,.18);padding:28px 32px}
.read-view.pdf{max-width:900px;display:flex;justify-content:center}
.read-view.pdf canvas{max-width:100%;height:auto;background:#fff;box-shadow:0 0 0 1px var(--line),0 12px 32px -16px rgba(16,32,31,.18)}
.read-msg{background:#FFF0E3;color:#6B2A10;border-radius:14px;padding:14px 18px;margin-bottom:16px;max-width:760px;width:100%}
.read-foot{position:fixed;left:0;right:0;bottom:0;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px max(16px,env(safe-area-inset-left)) max(12px,env(safe-area-inset-bottom));background:rgba(255,255,255,.96);border-top:1px solid var(--line)}
.read-foot .btn{min-height:44px;padding:0 20px;font-size:15px}
.read-foot .muted{font-size:13.5px;text-align:center}
@media (max-width:560px){.read-back span{display:none}.read-view.epub{padding:16px 14px;border-radius:10px;height:calc(100vh - 190px)}.read-main{padding:12px 8px 90px}.read-foot .muted{display:none}}
.bar-mini{height:6px;border-radius:999px;background:#DCEBEA;overflow:hidden;margin-top:4px;max-width:260px}.bar-mini i{display:block;height:100%;background:var(--teal);border-radius:999px}
.now .btn-sm{color:#fff}
.logo .pre{font-weight:500;color:var(--teal-text);letter-spacing:-.02em;margin-right:.22em}

/* Hero, 23 October: two-line headline, highlighted phrases, more space */
.hero-sub .amt{position:relative;z-index:0;display:inline-block;color:#FFFFFF;font-weight:700;white-space:nowrap;padding:0 .12em;margin:0 .02em}.hero-sub .amt::before{content:"";position:absolute;z-index:-1;left:-.14em;right:-.2em;top:.1em;bottom:-.04em;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 62' preserveAspectRatio='none'%3E%3Cpath fill='%23F26A0F' d='M18,8 C90,6 160,9 230,7 C300,5 350,8 392,7 L380,55 C320,57 250,54 180,56 C110,58 60,55 6,56 Z'/%3E%3Cpath fill='%23D9580A' fill-opacity='.55' d='M18,8 C24,8 30,8 36,8 L24,56 C18,56 12,56 6,56 Z'/%3E%3Cpath fill='%23D9580A' fill-opacity='.55' d='M376,7 C382,7 387,7 392,7 L380,55 C375,55 369,55 364,55 Z'/%3E%3C/svg%3E") center/100% 100% no-repeat;transform:rotate(-1.2deg)}.hero-sub .nw{white-space:nowrap}.hero-sub .nw+.amt::before{transform:rotate(1deg) scaleX(-1)}
.hero-copy .headline{margin-bottom:52px}
.hero-copy .hero-sub{margin-bottom:60px;line-height:1.65}
.hero-copy .hero-ctas{margin-bottom:40px}
.hero .wrap.hero-grid{padding-top:128px;padding-bottom:136px}
@media (max-width:920px){.hero .wrap.hero-grid{padding-top:88px;padding-bottom:80px}}
@media (max-width:520px){.hero .wrap.hero-grid{padding-top:64px}}
@media (max-width:520px){.hero-copy .headline{margin-bottom:36px}.hero-copy .hero-sub{margin-bottom:40px}.hero-copy .hero-ctas{margin-bottom:30px}}
