/* ============================================================
   pdfonweb additions on top of the motion kit (site.css, theme.css,
   kit.css, footer.css). Same idiom: tokens from theme.css, tints by color-mix().
   ============================================================ */
body{font-size:17px}
h1,h2,h3{font-weight:600;letter-spacing:-.01em}

/* nav: the wordmark is the mark (wide, so it sits a little shorter) */
.logo-pill{padding:9px 16px}
.logo-pill .navmark{height:24px;width:auto}
@media(max-width:900px){.logo-pill .navmark{height:22px}}
@media(max-width:430px){.logo-pill .navmark{height:19px}}
.menu-login{color:color-mix(in srgb,var(--con) 70%,transparent)!important}

/* home hero: the logo rises out of the open book */
#hero{background:var(--forest-dp)}
/* the book: never shorter than half the screen (phones crop to the spine), and it bleeds
   below the fold so the parallax lift (yPercent 6) never shows sky underneath */
#hero .hero-front{height:max(55.8vw,54svh);object-fit:cover;object-position:50% 100%;bottom:-9%}
#hero .hero-logo{top:36%;width:min(560px,74vw);filter:drop-shadow(0 10px 40px rgba(0,0,0,.6))}
#hero .hero-tag{bottom:clamp(70px,11svh,130px)}
#hero .hero-tag h1{max-width:20ch}
#hero .hero-tag h1 .g-gold{color:var(--gold-lt)}
#hero .hero-tag .lead{font-size:clamp(1rem,1.4vw,1.18rem)}
/* static hero (mk.js skips the rise on phones and on phones held sideways):
   the nav logo shows from the start, the copy sits up top, the whole book shows below it */
@media(max-width:600px){
  body:has([data-page="home"]) .logo-pill{opacity:1}
  #hero .hero-logo,#hero .scroll-hint{display:none}
  #hero .hero-tag{bottom:auto;top:max(104px,17svh)}
  #hero .hero-tag .lead{font-size:1rem}
  #hero .hero-front{height:auto;bottom:0;object-fit:contain}
}
@media(max-height:500px) and (orientation:landscape){
  body:has([data-page="home"]) .logo-pill{opacity:1}
  #hero{min-height:auto}
  #hero .hero-logo,#hero .scroll-hint{display:none}
  #hero .hero-tag{position:relative;width:100%;bottom:auto;padding:92px var(--pad) 48px}
  #hero .hero-tag h1{font-size:clamp(1.8rem,4.4vw,2.6rem)}
  #hero .hero-front{height:auto;bottom:0;object-fit:contain}
}

/* product reveal: the flipbook sits on the cream stage */
.stage .screen{background:#fff}
.stage-copy{max-width:900px}
.stage-copy h2{font-size:clamp(2rem,3.6vw,3rem)}
.stage-copy .lead{max-width:60ch;margin-inline:auto}
.stage-wrap{width:min(1060px,100%,(100svh - 370px) * 1.6)}

/* use case marquee */
.strip-label{color:var(--muted)}

/* feature slider: the one line title under the big name */
.dest-name{font-size:clamp(2.6rem,6.4vw,5.2rem)}
.dest-title{margin:-4px 0 12px;color:var(--gold-lt)}
.dest-bg.on{opacity:.5}

/* inner page heroes sit on a light product screen: dim it so white type keeps contrast */
.dhero .hero-bg,.phero .hero-bg{filter:blur(3px) brightness(.42) saturate(.85)}
.phero{background:var(--forest-dp)}

/* sideways gallery: wider copy block (the kit's 36ch squeezes long titles to one word a line) */
.hpanel-c{max-width:min(600px,92%)}
.hpanel h3{font-size:clamp(1.9rem,3.4vw,3rem)}
/* link to the use case guide */
.hpanel-link{display:inline-block;margin-top:14px;font-size:.82rem;font-weight:700;letter-spacing:.06em;color:var(--gold-lt)}
.hpanel-link:hover{color:#fff}
/* phones: the gallery stacks into compact text cards; the same screens follow in the feature rows */
@media(max-width:600px){
  .hpanel:not(.hpanel-intro){height:auto;margin:0 var(--pad) 14px;width:auto;border-radius:16px;
    background:color-mix(in srgb,#fff 5%,transparent);border:1px solid color-mix(in srgb,#fff 10%,transparent)}
  .hpanel::after,.hpanel-shot{display:none}
  .hpanel-c{padding:24px 22px;max-width:none}
  .hpanel h3{font-size:1.65rem}
  .hpanel-intro{padding-bottom:28px}
  .hgal{padding-bottom:var(--sy)}
}

/* why not attach: split with the check list */
.vs{align-items:start}
.vs .checks{grid-template-columns:1fr 1fr;gap:26px 30px;padding-top:8px}
@media(max-width:640px){.vs .checks{grid-template-columns:1fr}}

/* pricing */
.plan .price{display:flex;align-items:baseline;flex-wrap:wrap;gap:0 2px}
.plan .price small{flex-basis:100%;margin:8px 0 0}
.plan-coins{display:flex;gap:10px;align-items:flex-start;margin-top:16px;font-size:.88rem;font-weight:600;color:var(--terra)}
.plan-coins svg{width:18px;height:18px;flex:none;margin-top:2px}
.plan.featured .plan-coins{color:var(--gold-lt)}
.plan.featured .badge{color:#fff}
.coins{align-items:center}
.packs{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
.pack{position:relative;background:color-mix(in srgb,var(--con) 6%,transparent);border:1px solid color-mix(in srgb,var(--con) 14%,transparent);
  border-radius:var(--r);padding:28px 18px 22px;text-align:center}
.pack .badge{position:absolute;top:-11px;left:50%;transform:translateX(-50%);white-space:nowrap;background:var(--gold);color:var(--on-gold);
  font-size:.62rem;font-weight:800;letter-spacing:.12em;text-transform:uppercase;padding:5px 10px;border-radius:100px}
.pack-n{font-family:var(--serif);font-size:2.4rem;color:#fff;line-height:1}
.pack-n small{display:block;font-family:var(--sans);font-size:.7rem;letter-spacing:.16em;text-transform:uppercase;color:color-mix(in srgb,var(--con) 60%,transparent);margin-top:6px}
.pack-note{font-size:.84rem;color:color-mix(in srgb,var(--con) 75%,transparent);margin-top:10px;min-height:2.6em}
.pack-price{font-size:1.35rem;font-weight:700;color:#fff;margin-top:12px}
.pack-per{font-size:.76rem;color:color-mix(in srgb,var(--con) 55%,transparent)}
@media(max-width:560px){.packs{grid-template-columns:1fr}.pack-note{min-height:0}}

/* about: is / is not */
.isnot{display:grid;grid-template-columns:1fr 1fr;gap:22px}
.isnot-col{border-radius:20px;padding:clamp(26px,4vw,40px);border:1px solid var(--line-soft);background:var(--cream)}
.isnot-col.yes{background:var(--sand)}
.isnot-col h3{margin-bottom:18px}
.isnot-col ul{list-style:none;display:flex;flex-direction:column;gap:12px}
.isnot-col li{display:flex;gap:12px;color:var(--muted)}
.isnot-col svg{width:18px;height:18px;flex:none;margin-top:4px;fill:none;stroke-width:2.6;stroke-linecap:round}
.isnot-col.yes svg{stroke:var(--terra)}
.isnot-col.no svg{stroke:var(--muted2)}
@media(max-width:760px){.isnot{grid-template-columns:1fr}}
.card .ico svg{width:30px;height:30px}

/* about: founder */
.founder{display:grid;grid-template-columns:160px 1fr;gap:clamp(24px,4vw,48px);align-items:start;
  background:var(--sand);border-radius:24px;padding:clamp(26px,4vw,48px)}
.founder img{width:160px;height:160px;border-radius:50%;object-fit:cover;border:3px solid var(--cream);box-shadow:var(--shadow-md)}
.founder h2{font-size:clamp(1.8rem,3vw,2.4rem)}
.founder .role{font-size:.8rem;letter-spacing:.12em;text-transform:uppercase;color:var(--terra);font-weight:700}
.founder .role a{text-decoration:underline;text-underline-offset:3px}
.founder .contacts{list-style:none;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 24px;margin-top:20px}
.founder .contacts li{display:flex;flex-direction:column;font-size:.95rem}
.founder .contacts span{font-size:.66rem;letter-spacing:.18em;text-transform:uppercase;color:var(--muted2);font-weight:700}
.founder .contacts a{color:var(--ink);font-weight:600;overflow-wrap:anywhere}
.founder .contacts a:hover{color:var(--terra)}
@media(max-width:640px){.founder{grid-template-columns:1fr}.founder img{width:110px;height:110px}.founder .contacts{grid-template-columns:1fr}}

/* footer: real logo, site font, and the site map above the bento card */
.bento-ftr{--font:var(--sans)}
.bento-ftr .fbrand img{height:34px;width:auto}
.bento-ftr .fcopy a{color:inherit}
.bento-ftr .fcopy a:hover{color:var(--ftx)}
.flinks{max-width:1400px;margin:0 auto clamp(1.4rem,3vw,2.4rem);padding:clamp(1.6rem,3vw,2.6rem) clamp(.6rem,2vw,2.6rem) 0;
  display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:28px}
.flinks h3{font-family:var(--sans);font-size:.7rem;font-weight:700;letter-spacing:.2em;text-transform:uppercase;color:var(--gold-lt);margin-bottom:14px}
.flinks ul{list-style:none;display:flex;flex-direction:column;gap:9px}
.flinks a{font-size:.92rem;color:color-mix(in srgb,var(--con) 68%,transparent);transition:color .2s}
.flinks a:hover{color:#fff}
@media(max-width:1000px){.flinks{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:600px){.flinks{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 16px}}

/* phones: each feature row reads label, title, text, then its screen, so a screen never looks like it belongs to the next row */
@media(max-width:820px){.frow{gap:22px}.frow .split-media,.frow.reverse .split-media{order:2}}
/* no light strip under the dark footer when the page rubber-bands */
html{background:var(--forest-dp)}
/* light cards inside a dark band keep dark type (the band sets light text for everything inside it) */
.band .card{color:var(--ink)}
.band .card h3{color:var(--ink)}
.band .card p{color:var(--muted)}
/* phones: compact coin packs */
@media(max-width:560px){.pack{padding:22px 16px 18px}.pack-n{font-size:2rem}.pack-price{margin-top:8px}}

/* public library (public.pdfonweb.com) */
.lib-search{max-width:460px;margin-top:10px}
.lib-search input{width:100%;padding:15px 22px;border-radius:100px;border:1px solid color-mix(in srgb,var(--con) 24%,transparent);
  background:color-mix(in srgb,var(--con) 10%,transparent);color:#fff;font:inherit;font-size:1rem;outline:none;
  backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);transition:border-color .2s,background .2s}
.lib-search input::placeholder{color:color-mix(in srgb,var(--con) 62%,transparent)}
.lib-search input:focus{border-color:var(--gold-lt);background:color-mix(in srgb,var(--con) 16%,transparent)}
.lib-shelf + .lib-shelf{margin-top:clamp(40px,6vw,64px)}
.lib-shelf h2{font-size:clamp(1.5rem,2.6vw,2rem);display:flex;align-items:center;gap:12px;margin-bottom:20px}
.lib-shelf h2 .cnt{font-family:var(--sans);font-size:.72rem;font-weight:700;color:var(--terra);
  background:color-mix(in srgb,var(--terra) 10%,transparent);border-radius:100px;padding:3px 11px}
.lib-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:22px}
.bk{display:flex;flex-direction:column;background:var(--cream);border:1px solid var(--line-soft);border-radius:14px;overflow:hidden;
  padding-bottom:14px;transition:transform .35s var(--ease-signature),box-shadow .35s,border-color .35s}
.bk:hover{transform:translateY(-5px);box-shadow:var(--shadow-md);border-color:var(--line)}
.bk-cv{display:block;aspect-ratio:5/7;background:var(--sand);overflow:hidden;border-bottom:1px solid var(--line-soft)}
.bk-cv img{width:100%;height:100%;object-fit:cover;object-position:center top;display:block}
.bk-t{font-family:var(--serif);font-weight:600;font-size:1rem;line-height:1.25;color:var(--ink);margin:12px 14px 4px}
.bk-a{font-size:.82rem;color:var(--muted);margin:0 14px}
.bk-p{font-size:.72rem;color:var(--muted2);margin:6px 14px 0}
.lib-none{color:var(--muted);text-align:center;padding:40px 0}
@media(max-width:560px){.lib-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.bk-t{font-size:.92rem;margin:10px 11px 3px}.bk-a,.bk-p{margin-left:11px;margin-right:11px}}

/* phones: the logo sits centred at the top, the menu is a floating hamburger in the thumb zone
   (bottom right) and its panel opens upward */
@media(max-width:600px){
  .logo-pill{left:50%;transform:translateX(-50%)}
  .menu-pill{top:auto;right:16px;bottom:calc(18px + env(safe-area-inset-bottom,0px));
    background:color-mix(in srgb,var(--forest-dp) 90%,transparent);border-color:color-mix(in srgb,var(--gold) 45%,transparent);
    box-shadow:0 16px 40px -12px rgba(0,0,0,.7)}
  .menu-toggle{width:56px;height:56px;padding:0;justify-content:center}
  .menu-label{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
  .menu-plus{width:22px;height:2px;border:0;border-radius:2px;background:#fff;transition:background .25s}
  .menu-plus::before,.menu-plus::after{width:22px;height:2px;left:0;top:0;background:#fff;
    transition:transform .4s cubic-bezier(.16,1,.3,1)}
  .menu-plus::before{transform:translateY(-7px)}
  .menu-plus::after{transform:translateY(7px)}
  .menu-pill.open .menu-plus{transform:none;background:transparent}
  .menu-pill.open .menu-plus::before{transform:rotate(45deg)}
  .menu-pill.open .menu-plus::after{transform:rotate(-45deg)}
  .menu-links{top:auto;bottom:calc(100% + 12px);transform:translateY(10px);width:min(80vw,300px);background:var(--forest-dp)}
}
