/* ===================================================================
   /publishing - Bentoji Publishing Studio service page
   Builds on home.css + pages.css. Only what those files do not cover.
   Rebuilt Nov 2026 after the page review (sticky section bar, device
   mockup, icons, expandable checks, sample viewer, staged packages,
   promote section and guided order).
   =================================================================== */

.pub-page{--pub-bar:56px;--pub-marker:#ffd84d;}
.pub-page [id]{scroll-margin-top:calc(74px + var(--pub-bar) + 12px);}

/* ---------- shared bits ---------- */
.home .pub-title-wide{max-width:24ch;}
.home .pub-ico{display:inline-flex;align-items:center;justify-content:center;width:46px;height:46px;border-radius:12px;background:rgba(244,85,42,.12);color:var(--h-orange);margin-bottom:16px;flex:none;}
.home .pub-ico svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;}
.home .pub-ico.is-filled{background:var(--h-orange);color:#fff;}
.home .h-dark .pub-ico{background:rgba(244,85,42,.16);}
.home .h-btn svg,.home .pub-link-btn svg,.home .pub-check-chips svg,.home .pub-pass svg,.home .pub-spread-hint svg,.home .pub-cover svg{fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;}

/* ---------- hero with device mockup ---------- */
.home .pub-hero{padding-bottom:clamp(56px,7vw,96px);overflow:hidden;}
.home .pub-hero-grid{display:grid;grid-template-columns:1fr;gap:clamp(40px,5vw,64px);align-items:center;}
@media(min-width:1000px){.home .pub-hero-grid{grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);}}
.home .pub-hero .h-head{font-size:clamp(2.6rem,5.4vw,5rem);max-width:15ch;}
.home .pub-hero .h-lead{max-width:40ch;}

.home .pub-devices{position:relative;width:100%;max-width:640px;margin:0 auto;aspect-ratio:1/.86;}
.home .dev{position:absolute;box-shadow:0 30px 60px -20px rgba(0,0,0,.65),0 0 0 1px rgba(255,255,255,.06) inset;}
.home .dev-screen{position:relative;width:100%;height:100%;overflow:hidden;background:#fff;}
.home .dev-screen img{display:block;}
.home .dev-tablet{left:10%;top:0;width:88%;aspect-ratio:4/3;padding:3.2%;border-radius:clamp(16px,2.6vw,26px);background:#22272e;}
.home .dev-tablet .dev-screen{display:flex;border-radius:6px;}
.home .dev-tablet .dev-screen img{width:50%;height:100%;object-fit:contain;background:#fff;}
.home .dev-tablet .dev-screen img:first-child{box-shadow:inset -10px 0 14px -12px rgba(0,0,0,.4);}
.home .dev-kindle{left:0;bottom:0;width:36%;aspect-ratio:.7;padding:6% 5% 14%;border-radius:clamp(10px,1.6vw,16px);background:#16191d;}
.home .dev-kindle .dev-screen{background:#e9e8e3;border-radius:2px;}
.home .dev-kindle .dev-screen img{width:100%;height:100%;object-fit:cover;object-position:top;filter:grayscale(1) contrast(1.1);mix-blend-mode:multiply;}
.home .dev-kindle-logo{position:absolute;left:0;right:0;bottom:4.5%;text-align:center;font-family:var(--font-head);font-size:clamp(.5rem,.9vw,.68rem);letter-spacing:.06em;color:rgba(255,255,255,.4);}
.home .dev-phone{right:0;bottom:4%;width:23%;aspect-ratio:9/19;padding:2.4%;border-radius:clamp(16px,2.6vw,28px);background:#0b0d10;}
.home .dev-phone .dev-screen{border-radius:clamp(10px,1.8vw,20px);}
.home .dev-phone .dev-screen img{width:100%;height:100%;object-fit:cover;object-position:50% 12%;}

/* ---------- sticky section bar ---------- */
.home .pub-subnav{position:sticky;top:74px;z-index:55;background:rgba(15,21,28,.94);backdrop-filter:saturate(160%) blur(16px);-webkit-backdrop-filter:saturate(160%) blur(16px);border-top:1px solid var(--h-line-dark);border-bottom:1px solid var(--h-line-dark);}
.home .pub-subnav-inner{display:flex;align-items:center;gap:16px;height:var(--pub-bar);}
.home .pub-subnav-links{display:flex;gap:4px;overflow-x:auto;scrollbar-width:none;flex:1;min-width:0;-webkit-mask-image:linear-gradient(90deg,#000 88%,transparent);mask-image:linear-gradient(90deg,#000 88%,transparent);}
@media(min-width:900px){.home .pub-subnav-links{-webkit-mask-image:none;mask-image:none;}}
.home .pub-subnav-links::-webkit-scrollbar{display:none;}
.home .pub-subnav-links a{position:relative;flex:none;padding:8px 14px;border-radius:999px;font-weight:700;font-size:1.02rem;line-height:1.1;color:rgba(243,244,246,.7);transition:color .2s,background .2s;}
.home .pub-subnav-links a:hover{color:#fff;background:rgba(255,255,255,.06);}
.home .pub-subnav-links a.is-active{color:#fff;background:rgba(255,255,255,.1);}
.home .pub-subnav-cta{flex:none;padding:9px 20px;border-radius:999px;background:var(--h-orange);color:#fff;font-weight:700;font-size:1.02rem;line-height:1.1;transition:background .2s;}
.home .pub-subnav-cta:hover{background:var(--h-orange-dark);}

/* ---------- feature grids with icons ---------- */
.home .pub-features{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,260px),1fr));gap:clamp(28px,3vw,44px) clamp(24px,3vw,40px);}
@media(min-width:900px){.home .pub-features{grid-template-columns:repeat(3,minmax(0,1fr));}.home .pub-features.is-two{grid-template-columns:repeat(2,minmax(0,1fr));max-width:56rem;}}
.home .pub-feature h3{font-family:var(--font-head);font-weight:700;text-transform:uppercase;font-size:1.2rem;line-height:1.1;margin:0 0 8px;color:var(--h-charcoal);}
.home .pub-feature p{margin:0;font-size:1.18rem;line-height:1.38;color:var(--h-muted-light);}
.home .pub-feature a{border-bottom:1px solid currentColor;color:var(--h-ink);font-weight:700;}
.home .h-dark .pub-feature h3{color:var(--h-on-dark);}
.home .h-dark .pub-feature p{color:var(--h-muted-dark);}

/* sub-block inside a section, with a rule above it */
.home .pub-block{margin-top:clamp(56px,7vw,96px);padding-top:clamp(40px,5vw,64px);border-top:1px solid var(--h-line-dark);}
.home .h-grey .pub-block{border-top-color:var(--h-line-light);}

/* ---------- verification: chips + expandable table ---------- */
.home .pub-check-chips{list-style:none;margin:0 0 20px;padding:0;display:flex;flex-wrap:wrap;gap:10px;}
.home .pub-check-chips li{display:inline-flex;align-items:center;gap:8px;padding:9px 16px 9px 12px;border-radius:999px;background:rgba(255,255,255,.07);border:1px solid var(--h-line-dark);font-weight:700;font-size:1.08rem;line-height:1.15;color:var(--h-on-dark);}
.home .pub-check-chips svg{width:16px;height:16px;color:var(--h-orange);stroke-width:3;}
.home .pub-more{margin:0 0 clamp(36px,4vw,52px);}
.home .pub-more summary{list-style:none;cursor:pointer;display:inline-flex;align-items:center;gap:8px;font-weight:700;font-size:1.12rem;color:var(--h-on-dark);padding:6px 0;}
.home .pub-more summary::-webkit-details-marker{display:none;}
.home .pub-more summary span{border-bottom:1px solid rgba(255,255,255,.4);}
.home .pub-more summary::after{content:"+";font-size:1.4rem;line-height:1;color:var(--h-orange);transition:transform .2s;}
.home .pub-more[open] summary::after{transform:rotate(45deg);}
.home .pub-more .pub-table-wrap{margin-top:20px;}

.home .pub-table-wrap{overflow-x:auto;-webkit-overflow-scrolling:touch;}
.home .pub-table{width:100%;min-width:640px;border-collapse:collapse;text-align:left;font-size:1.1rem;line-height:1.35;}
.home .pub-table th{padding:0 18px 12px 0;font-family:var(--font-head);font-weight:700;text-transform:uppercase;font-size:.9rem;letter-spacing:.04em;color:var(--h-muted-dark);border-bottom:2px solid var(--h-orange);}
.home .pub-table td{padding:14px 18px 14px 0;vertical-align:top;border-top:1px solid var(--h-line-dark);color:var(--h-muted-dark);}
.home .pub-table tbody tr:first-child td{border-top:0;}
.home .pub-table td:first-child{width:20%;font-weight:700;color:var(--h-on-dark);}
.home .pub-table td:last-child{width:18%;white-space:nowrap;}

/* trim sizes note with a marker-pen highlight */
.home .pub-trim{margin:clamp(32px,4vw,44px) 0 0;font-size:1.2rem;line-height:1.5;color:var(--h-muted-dark);max-width:52rem;}
.home .pub-marker{color:var(--h-ink);font-weight:700;padding:.08em .3em;margin:0 -.1em;border-radius:.6em .25em .7em .3em;background:linear-gradient(100deg,rgba(255,216,77,.75),var(--pub-marker) 8%,rgba(255,216,77,.9) 92%,rgba(255,216,77,.6));-webkit-box-decoration-break:clone;box-decoration-break:clone;}

/* guarantee: seal + text */
.home .pub-guarantee{display:flex;align-items:center;gap:clamp(20px,3vw,36px);margin-top:clamp(56px,7vw,88px);padding:clamp(24px,3vw,36px);border-radius:16px;background:linear-gradient(135deg,rgba(244,85,42,.16),rgba(244,85,42,.04));border:1px solid rgba(244,85,42,.35);max-width:56rem;}
.home .pub-guarantee h3{font-family:var(--font-head);font-weight:700;text-transform:uppercase;font-size:clamp(1.4rem,2vw,1.8rem);line-height:1.05;margin:0 0 8px;color:var(--h-on-dark);}
.home .pub-guarantee p{margin:0;font-size:clamp(1.2rem,1.5vw,1.4rem);line-height:1.4;color:var(--h-muted-dark);}
.home .pub-seal{flex:none;width:clamp(92px,11vw,124px);height:auto;animation:pub-spin 40s linear infinite;}
.home .pub-seal .seal-ring{fill:none;stroke:var(--h-orange);stroke-width:2;}
.home .pub-seal .seal-core{fill:var(--h-orange);}
.home .pub-seal .seal-text{font-family:var(--font-head);font-size:10.4px;font-weight:700;letter-spacing:.12em;fill:var(--h-on-dark);}
.home .pub-seal .seal-tick{fill:none;stroke:#fff;stroke-width:6;stroke-linecap:round;stroke-linejoin:round;}
@keyframes pub-spin{to{transform:rotate(360deg);}}
@media(prefers-reduced-motion:reduce){.home .pub-seal{animation:none;}}
@media(max-width:560px){.home .pub-guarantee{flex-direction:column;align-items:flex-start;}}

/* ---------- how it works: estimate prompt ---------- */
.home .pub-estimate{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:20px 32px;margin-top:clamp(40px,5vw,64px);padding:clamp(22px,2.6vw,32px);border-radius:16px;background:#fff;}
.home .pub-estimate h3{font-family:var(--font-head);font-weight:700;text-transform:uppercase;font-size:1.3rem;line-height:1.1;margin:0 0 6px;color:var(--h-charcoal);}
.home .pub-estimate p{margin:0;font-size:1.18rem;line-height:1.38;max-width:44ch;}
.home .pub-estimate .h-btn svg{width:17px;height:17px;}

/* ---------- sample books ---------- */
.home .pub-books{display:grid;grid-template-columns:1fr;gap:clamp(48px,5vw,64px);}
@media(min-width:1000px){.home .pub-books{grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(28px,3vw,44px);}}
.home .pub-book{display:flex;flex-direction:column;}
.home .pub-spread{position:relative;display:flex;align-items:center;justify-content:center;width:100%;margin:0 0 22px;padding:0;border:0;border-radius:10px;overflow:hidden;background:#fff;aspect-ratio:4/3;cursor:zoom-in;}
.home .pub-spread img{width:100%;height:100%;object-fit:contain;transition:transform .5s var(--ease);}
.home .pub-spread:hover img{transform:scale(1.03);}
.home .pub-spread-hint{position:absolute;left:12px;bottom:12px;display:inline-flex;align-items:center;gap:6px;padding:7px 12px;border-radius:999px;background:rgba(15,21,28,.85);color:#fff;font-weight:700;font-size:.95rem;opacity:0;transform:translateY(6px);transition:opacity .25s,transform .25s;}
.home .pub-spread-hint svg{width:16px;height:16px;}
.home .pub-spread:hover .pub-spread-hint,.home .pub-spread:focus-visible .pub-spread-hint{opacity:1;transform:none;}
@media(hover:none){.home .pub-spread-hint{opacity:1;transform:none;}}
.home .pub-spread:focus-visible{outline:2px solid var(--h-orange);outline-offset:4px;}
.home .pub-book h3{font-family:var(--font-head);font-weight:700;text-transform:uppercase;font-size:clamp(1.25rem,1.6vw,1.45rem);line-height:1.05;margin:0 0 6px;color:var(--h-on-dark);}
.home .pub-meta{margin:0 0 12px;font-size:1.05rem;color:rgba(243,244,246,.6);}
.home .pub-book p.pub-desc{margin:0 0 16px;font-size:1.15rem;line-height:1.4;color:var(--h-muted-dark);}
.home .pub-pass{display:flex;gap:7px;align-items:flex-start;margin:0 0 20px;font-size:.98rem;line-height:1.35;color:rgba(243,244,246,.55);}
.home .pub-pass svg{flex:none;width:15px;height:15px;margin-top:.15em;color:#6fcf8e;stroke-width:3;}
.home .pub-book-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:auto;}
.home .pub-link-btn{display:inline-flex;align-items:center;gap:7px;padding:9px 16px;border-radius:999px;border:1px solid rgba(255,255,255,.28);background:transparent;color:var(--h-on-dark);font-family:var(--font);font-weight:700;font-size:1.02rem;line-height:1.1;cursor:pointer;transition:border-color .2s,background .2s;}
.home .pub-link-btn:hover{border-color:#fff;background:rgba(255,255,255,.06);}
.home .pub-link-btn svg{width:16px;height:16px;}

/* sample viewer */
.pub-viewer{width:min(100vw - 24px,980px);max-width:none;max-height:calc(100svh - 24px);padding:0;border:0;border-radius:16px;background:#0b1016;color:#f3f4f6;overflow:hidden;}
.pub-viewer[open]{display:flex;flex-direction:column;}
.pub-viewer::backdrop{background:rgba(5,8,12,.82);backdrop-filter:blur(4px);}
.pub-viewer-head{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:16px 20px;border-bottom:1px solid rgba(255,255,255,.1);}
.pub-viewer-title{margin:0;font-family:var(--font-head);font-weight:700;text-transform:uppercase;font-size:1.15rem;line-height:1.1;}
.pub-viewer-count{margin:4px 0 0;font-size:1rem;color:rgba(243,244,246,.6);}
.pub-viewer-actions{display:flex;align-items:center;gap:10px;}
.pub-viewer .pub-link-btn{display:inline-flex;align-items:center;gap:7px;padding:9px 16px;border-radius:999px;border:1px solid rgba(255,255,255,.28);color:#f3f4f6;font-family:var(--font);font-weight:700;font-size:1rem;}
.pub-viewer .pub-link-btn svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2;}
.pub-viewer-close{width:42px;height:42px;border-radius:50%;border:1px solid rgba(255,255,255,.28);background:transparent;color:#fff;font-size:1.6rem;line-height:1;cursor:pointer;}
.pub-viewer-stage{position:relative;flex:1;min-height:0;display:flex;align-items:center;justify-content:center;padding:20px 64px;background:#151b23;}
.pub-viewer-img{display:block;max-width:100%;max-height:calc(100svh - 240px);height:auto;width:auto;box-shadow:0 20px 50px -18px rgba(0,0,0,.8);background:#fff;}
.pub-viewer-nav{position:absolute;top:50%;transform:translateY(-50%);width:44px;height:44px;border-radius:50%;border:1px solid rgba(255,255,255,.28);background:rgba(11,16,22,.7);color:#fff;font-size:1.8rem;line-height:1;cursor:pointer;}
.pub-viewer-nav:disabled{opacity:.3;cursor:default;}
.pub-viewer-nav.is-prev{left:12px;}.pub-viewer-nav.is-next{right:12px;}
.pub-viewer-thumbs{display:flex;gap:8px;padding:12px 20px 16px;overflow-x:auto;}
.pub-viewer-thumbs button{flex:none;width:52px;padding:0;border:2px solid transparent;border-radius:4px;background:#fff;cursor:pointer;opacity:.55;}
.pub-viewer-thumbs button[aria-current="true"]{border-color:#f4552a;opacity:1;}
.pub-viewer-thumbs img{display:block;width:100%;height:auto;}
@media(max-width:600px){.pub-viewer-stage{padding:12px 8px 60px;}.pub-viewer-nav{top:auto;bottom:8px;transform:none;}.pub-viewer .pub-link-btn{display:none;}}

/* ---------- packages: three stages + rescue ---------- */
.home .pub-stages{display:grid;grid-template-columns:1fr;gap:20px;}
@media(min-width:1000px){.home .pub-stages{grid-template-columns:repeat(3,minmax(0,1fr));}}
.home .pub-stage-label{display:flex;align-items:center;gap:10px;margin:0 0 14px;font-family:var(--font-head);font-size:.78rem;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--h-orange);}
.home .pub-meter{display:inline-flex;gap:4px;}
.home .pub-meter i{width:18px;height:4px;border-radius:2px;background:var(--h-line-light);}
.home .pub-meter[style*="--n:1"] i:nth-child(-n+1),.home .pub-meter[style*="--n:2"] i:nth-child(-n+2),.home .pub-meter[style*="--n:3"] i{background:var(--h-orange);}
.home .pub-stage.is-featured .p-plan-tag{top:22px;}
.home .pub-stages .p-price{font-size:clamp(1.9rem,2.6vw,2.4rem);}
.home .pub-stages .p-price small,.home .pub-rescue .p-price small{display:block;margin:0 0 4px;font-size:.42em;}
.home .pub-stage li a{border-bottom:1px solid currentColor;}
.home .pub-rescue{display:grid;grid-template-columns:1fr;gap:20px 36px;margin-top:20px;padding:clamp(24px,2.6vw,34px);border-radius:12px;background:#fff;border:1.5px dashed rgba(15,21,28,.22);}
@media(min-width:900px){.home .pub-rescue{grid-template-columns:minmax(0,1.1fr) minmax(0,1.2fr) auto;align-items:center;}}
.home .pub-rescue h3{font-family:var(--font-head);font-weight:700;text-transform:uppercase;font-size:clamp(1.4rem,2vw,1.8rem);line-height:1;margin:0 0 10px;color:var(--h-charcoal);}
.home .pub-rescue-head p:not(.pub-stage-label){margin:0;font-size:1.18rem;line-height:1.38;}
.home .pub-rescue ul{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:9px;}
.home .pub-rescue li{position:relative;padding-left:22px;font-size:1.15rem;line-height:1.3;color:var(--h-ink);}
.home .pub-rescue li::before{content:"";position:absolute;left:2px;top:.45em;width:9px;height:9px;border-radius:50%;background:var(--h-orange);}
.home .pub-rescue .p-price{font-size:clamp(1.9rem,2.6vw,2.4rem);color:var(--h-ink);}
.home .pub-price-foot{margin:22px 0 0;font-size:1.1rem;color:var(--h-muted-light);max-width:52rem;}

/* smaller jobs callout */
.home .pub-extra-card{display:grid;grid-template-columns:1fr;gap:16px 28px;align-items:center;margin-top:clamp(48px,6vw,72px);padding:clamp(24px,3vw,36px);border-radius:16px;background:var(--h-charcoal);color:var(--h-on-dark);box-shadow:8px 8px 0 var(--h-orange);}
@media(min-width:900px){.home .pub-extra-card{grid-template-columns:auto minmax(0,1fr) auto;}}
.home .pub-extra-card .pub-ico{margin:0;}
.home .pub-extra-card h3{font-family:var(--font-head);font-weight:700;text-transform:uppercase;font-size:clamp(1.3rem,1.9vw,1.65rem);line-height:1.1;margin:0 0 8px;color:#fff;}
.home .h-grey .pub-extra-card p{margin:0;font-size:1.18rem;line-height:1.4;color:rgba(243,244,246,.8);max-width:52ch;}

/* ---------- one folder: image + 2 x 2 ---------- */
.home .pub-folder-grid{display:grid;grid-template-columns:1fr;gap:clamp(36px,5vw,72px);align-items:center;}
@media(min-width:900px){.home .pub-folder-grid{grid-template-columns:minmax(0,4fr) minmax(0,7fr);}}
.home .pub-folder-art{max-width:420px;width:100%;margin:0 auto;}
.home .pub-folder-art svg{display:block;width:100%;height:auto;overflow:visible;}
.home .fd-back{fill:#c23d18;}
.home .fd-front{fill:var(--h-orange);}
.home .fd-file rect{fill:#fff;stroke:rgba(15,21,28,.1);}
.home .fd-file text{font-family:var(--font-head);font-size:11px;font-weight:700;letter-spacing:.06em;fill:var(--h-ink);}
.home .fd-file path{stroke:#cfd4da;stroke-width:4;stroke-linecap:round;}
.home .fd-file.is-orange rect{fill:#2a2d31;}
.home .fd-file.is-orange text{fill:#fff;}
.home .fd-file.is-orange path{stroke:rgba(255,255,255,.3);}
.home .fd-label{font-family:var(--font-head);font-size:20px;font-weight:700;letter-spacing:.04em;fill:#fff;}
.home .fd-sub{font-family:var(--font);font-size:14px;font-weight:600;fill:rgba(255,255,255,.85);}
.home .pub-folder-lists{display:grid;grid-template-columns:1fr;gap:28px 36px;}
@media(min-width:620px){.home .pub-folder-lists{grid-template-columns:repeat(2,minmax(0,1fr));}}
.home .pub-folder-grid .p-intro{margin-bottom:clamp(24px,3vw,36px);}

/* ---------- promote ---------- */
.home .pub-promo-site{display:grid;grid-template-columns:1fr;gap:clamp(28px,4vw,56px);align-items:center;}
@media(min-width:1000px){.home .pub-promo-site{grid-template-columns:minmax(0,7fr) minmax(0,5fr);}}
.home .pub-promo-copy h3,.home .pub-promo-item h3{font-family:var(--font-head);font-weight:700;text-transform:uppercase;font-size:clamp(1.35rem,1.9vw,1.65rem);line-height:1.1;margin:0 0 10px;color:var(--h-charcoal);}
.home .pub-promo-copy > p,.home .pub-promo-item p{margin:0 0 20px;font-size:1.18rem;line-height:1.4;}
.home .pub-tag-inc{display:inline-block;margin:0 0 12px;padding:5px 11px;border-radius:999px;background:rgba(244,85,42,.12);color:#b8360f;font-family:var(--font-head);font-size:.7rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;}
.home .pub-tag-inc.is-addon{background:rgba(15,21,28,.08);color:var(--h-muted-light);}
.home .pub-sub{font-family:var(--font-head);font-weight:700;text-transform:uppercase;font-size:.95rem;letter-spacing:.04em;margin:0 0 12px;color:var(--h-charcoal);}
.home .pub-tags{list-style:none;margin:0 0 20px;padding:0;display:flex;flex-wrap:wrap;gap:8px;}
.home .pub-tags li{padding:7px 14px;border:1px solid var(--h-line-light);border-radius:999px;font-size:1.02rem;line-height:1.2;color:var(--h-ink);background:#fff;}
.home .h-grey .pub-fees{margin:0;font-size:1.05rem;line-height:1.42;color:var(--h-muted-light);}
.home .h-grey .pub-fees strong{color:var(--h-ink);}

/* browser frame + example site (sized with container units so it scales) */
.home .pub-browser{margin:0;border-radius:12px;overflow:hidden;background:#fff;box-shadow:0 2px 4px rgba(15,21,28,.06),0 30px 60px -24px rgba(15,21,28,.4);container-type:inline-size;}
.home .pub-browser-bar{display:flex;align-items:center;gap:6px;padding:10px 14px;background:#eef0f3;border-bottom:1px solid #dfe3e8;}
.home .pub-browser-bar i{width:10px;height:10px;border-radius:50%;background:#d0d5db;}
.home .pub-browser-bar span{margin-left:12px;flex:1;max-width:60%;padding:3px 12px;border-radius:6px;background:#fff;font-size:.85rem;color:#6b7480;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.home .pub-site{background:#f6f1e7;color:#1d2a22;font-family:Georgia,"Times New Roman",serif;}
.home .pub-site-nav{display:flex;align-items:center;gap:3cqw;padding:2.6cqw 4.5cqw;font-family:var(--font);font-size:max(10px,2cqw);font-weight:600;border-bottom:1px solid rgba(29,42,34,.12);}
.home .pub-site-nav b{margin-right:auto;font-family:Georgia,serif;font-size:max(11px,2.3cqw);}
.home .pub-site-hero{display:grid;grid-template-columns:32% 1fr;gap:5cqw;align-items:center;padding:5.5cqw 4.5cqw 6.5cqw;}
.home .pub-site-copy{display:flex;flex-direction:column;gap:1.6cqw;}
.home .pub-site-kicker{font-family:var(--font-head);font-size:max(8px,1.5cqw);font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:#a2522b;}
.home .pub-site-title{font-size:4.4cqw;line-height:1.02;}
.home .pub-site-text{font-family:var(--font);font-size:max(10px,2.1cqw);line-height:1.3;color:#4b5850;}
.home .pub-site-btns,.home .pub-site-form{display:flex;flex-wrap:wrap;gap:1.2cqw;margin-top:.6cqw;}
.home .pub-site-btns span,.home .pub-site-form span{padding:1.2cqw 2.2cqw;border-radius:99px;border:1px solid #1d2a22;font-family:var(--font);font-size:max(9px,1.7cqw);font-weight:700;}
.home .pub-site-btns .is-primary,.home .pub-site-form .is-primary{background:#1d2a22;color:#f6f1e7;}
.home .pub-site-form span:first-child{flex:1;min-width:30%;border-color:rgba(29,42,34,.25);background:#fff;color:#8a948e;font-weight:500;}

/* typographic placeholder covers (until the real covers are ready) */
.home .pub-cover{position:relative;display:flex;flex-direction:column;justify-content:space-between;aspect-ratio:2/3;padding:10% 9%;border-radius:2px 6px 6px 2px;background:radial-gradient(120% 80% at 50% 100%,#2f5a44,#13241b 70%);color:#efe6cf;font-family:Georgia,"Times New Roman",serif;text-align:center;box-shadow:inset 6px 0 10px -6px rgba(0,0,0,.6),0 18px 30px -14px rgba(0,0,0,.55);container-type:inline-size;}
.home .pub-cover .pc-author{font-size:7.5cqw;letter-spacing:.14em;text-transform:uppercase;opacity:.85;}
.home .pub-cover .pc-title{font-size:15cqw;line-height:1.02;}
.home .pub-cover .pc-sub{font-size:6.5cqw;font-style:italic;opacity:.75;}
.home .pub-cover.is-square{aspect-ratio:1;border-radius:6px;justify-content:center;gap:8cqw;}
.home .pub-cover.is-square .pc-title{font-size:10cqw;}
.home .pub-cover.is-square .pc-author{font-size:4.6cqw;}
.home .pub-cover .pc-audio{display:inline-flex;align-items:center;justify-content:center;gap:2cqw;font-family:var(--font-head);font-size:4cqw;letter-spacing:.12em;text-transform:uppercase;color:#f0b36a;}
.home .pub-cover .pc-audio svg{width:6cqw;height:6cqw;}

.home .pub-promo-pair{display:grid;grid-template-columns:1fr;gap:clamp(40px,5vw,56px);margin-top:clamp(56px,7vw,88px);}
@media(min-width:800px){.home .pub-promo-pair{grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(28px,3vw,44px);}}
.home .pub-banner{display:flex;align-items:center;gap:6cqw;aspect-ratio:1200/628;margin-bottom:22px;padding:0 8cqw;border-radius:12px;background:linear-gradient(120deg,#13241b,#2f5a44);color:#efe6cf;overflow:hidden;container-type:inline-size;box-shadow:0 24px 50px -24px rgba(15,21,28,.5);}
.home .pub-banner .pub-cover{width:28cqw;flex:none;transform:rotate(-4deg);}
.home .pub-banner-copy{display:flex;flex-direction:column;gap:2cqw;font-family:Georgia,serif;}
.home .pb-kicker{align-self:flex-start;padding:1cqw 2.4cqw;border-radius:99px;background:#f0b36a;color:#13241b;font-family:var(--font-head);font-size:2.8cqw;font-weight:700;letter-spacing:.12em;text-transform:uppercase;}
.home .pb-title{font-size:6cqw;line-height:1.04;}
.home .pb-text{font-family:var(--font);font-size:3.4cqw;font-weight:600;opacity:.8;}
.home .pub-audio-wrap{display:flex;align-items:center;justify-content:center;aspect-ratio:1200/628;margin-bottom:22px;border-radius:12px;background:#d5dae0;}
.home .pub-audio-wrap .pub-cover{height:80%;width:auto;}

/* ---------- about: compact ---------- */
.home .pub-about{padding:clamp(64px,8vw,104px) 0;}
.home .pub-about .p-split{grid-template-columns:1fr;}
@media(min-width:900px){.home .pub-about .p-split{grid-template-columns:minmax(0,4fr) minmax(0,7fr);}}
.home .pub-about p{margin:0 0 .8em;font-size:clamp(1.15rem,1.4vw,1.3rem);line-height:1.45;color:var(--h-muted-dark);max-width:52ch;}
.home .pub-about p:last-child{margin-bottom:0;}
.home .pub-about .p-section-title{margin:0;}

/* ---------- order: tabs, guided order, form ---------- */
.home .pub-order{max-width:880px;border-radius:18px;background:#fff;color:var(--h-ink);overflow:hidden;box-shadow:0 30px 70px -30px rgba(0,0,0,.7);}
.home .pub-tabs{display:grid;grid-template-columns:1fr 1fr;border-bottom:1px solid var(--h-line-light);background:#f1f3f5;}
.home .pub-tabs button{display:flex;flex-direction:column;align-items:flex-start;gap:2px;padding:16px clamp(18px,3vw,32px);border:0;border-bottom:3px solid transparent;background:transparent;color:var(--h-muted-light);font-family:var(--font-head);font-size:1rem;font-weight:700;text-transform:uppercase;letter-spacing:.03em;text-align:left;cursor:pointer;}
.home .pub-tabs button small{font-family:var(--font);font-size:.95rem;font-weight:600;text-transform:none;letter-spacing:0;opacity:.75;}
.home .pub-tabs button[aria-selected="true"]{background:#fff;color:var(--h-ink);border-bottom-color:var(--h-orange);}
.home .pub-panel{padding:clamp(22px,3.4vw,40px);}
html.js .home .pub-panel[hidden]{display:none;}
.home .pub-panel .h-btn-primary{border:0;cursor:pointer;}
.home .pub-panel p{color:var(--h-muted-light);}

.home .pub-wz-top{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:22px;}
.home .pub-wz-step{font-family:var(--font-head);font-size:.78rem;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--h-muted-light);}
.home .pub-wz-bar{flex:1;max-width:260px;height:6px;border-radius:3px;background:#e6e9ed;overflow:hidden;}
.home .pub-wz-bar i{display:block;height:100%;background:var(--h-orange);border-radius:3px;transition:width .35s var(--ease);}
.home .pub-wz-q{font-family:var(--font-head);font-weight:700;font-size:clamp(1.45rem,2.4vw,2rem);line-height:1.1;margin:0 0 20px;color:var(--h-ink);outline:none;}
.home .pub-wz-opts{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,230px),1fr));gap:10px;}
.home .pub-wz-opt{display:flex;flex-direction:column;align-items:flex-start;gap:3px;padding:16px 18px;border:1.5px solid var(--h-line-light);border-radius:12px;background:#fff;color:var(--h-ink);font-family:var(--font);font-size:1.2rem;font-weight:700;line-height:1.2;text-align:left;cursor:pointer;transition:border-color .15s,background .15s,transform .15s;}
.home .pub-wz-opt small{font-size:1rem;font-weight:500;color:var(--h-muted-light);line-height:1.25;}
.home .pub-wz-opt:hover{border-color:var(--h-orange);background:#fff7f4;}
.home .pub-wz-opt:active{transform:scale(.99);}
.home .pub-wz-opt[aria-pressed="true"]{border-color:var(--h-orange);background:#fff1ec;}
.home .pub-wz-opt:focus-visible{outline:2px solid var(--h-orange);outline-offset:2px;}
.home .pub-wz-nav{display:flex;align-items:center;gap:16px;margin-top:22px;min-height:24px;}
.home .pub-wz-back{display:inline-flex;align-items:center;gap:6px;padding:0;border:0;background:none;color:var(--h-muted-light);font-family:var(--font);font-size:1.1rem;font-weight:700;cursor:pointer;}
.home .pub-wz-back:hover{color:var(--h-ink);}

.home .pub-wz-result{display:grid;grid-template-columns:1fr;gap:14px 28px;padding:clamp(18px,2.4vw,26px);border-radius:14px;background:#fff4ef;border:1px solid rgba(244,85,42,.3);margin-bottom:24px;}
@media(min-width:700px){.home .pub-wz-result{grid-template-columns:minmax(0,1fr) auto;}}
.home .pub-wz-result .pub-stage-label{margin-bottom:6px;}
.home .pub-wz-result h4{font-family:var(--font-head);font-weight:700;text-transform:uppercase;font-size:clamp(1.5rem,2.4vw,2rem);line-height:1;margin:0 0 8px;color:var(--h-ink);}
.home .pub-wz-result p{margin:0;font-size:1.12rem;line-height:1.38;}
.home .pub-wz-price{text-align:left;}
@media(min-width:700px){.home .pub-wz-price{text-align:right;}}
.home .pub-wz-price b{display:block;font-family:var(--font-head);font-size:clamp(1.8rem,2.6vw,2.3rem);line-height:1;color:var(--h-ink);}
.home .pub-wz-price span{font-size:1.02rem;color:var(--h-muted-light);}
.home .pub-wz-notes{grid-column:1/-1;list-style:none;margin:4px 0 0;padding:12px 0 0;border-top:1px solid rgba(244,85,42,.2);display:flex;flex-direction:column;gap:6px;}
.home .pub-wz-notes li{position:relative;padding-left:20px;font-size:1.05rem;line-height:1.35;color:var(--h-ink);}
.home .pub-wz-notes li::before{content:"";position:absolute;left:2px;top:.5em;width:8px;height:8px;border-radius:50%;background:var(--h-orange);}
.home .pub-wz-next{margin:0 0 22px;padding:0;list-style:none;counter-reset:nx;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,190px),1fr));gap:12px;}
.home .pub-wz-next li{counter-increment:nx;font-size:1.05rem;line-height:1.35;color:var(--h-muted-light);}
.home .pub-wz-next li::before{content:counter(nx);display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;margin-right:8px;border-radius:50%;background:var(--h-ink);color:#fff;font-family:var(--font-head);font-size:.8rem;font-weight:700;}
.home .pub-wz-done{padding:clamp(10px,2vw,20px) 0;}
.home .pub-wz-done h3{font-family:var(--font-head);font-weight:700;text-transform:uppercase;font-size:clamp(1.5rem,2.4vw,2rem);line-height:1.05;margin:0 0 10px;color:var(--h-ink);}
.home .pub-wz-done p{margin:0 0 10px;font-size:1.2rem;line-height:1.4;max-width:52ch;}

.home .p-form .pub-hint{display:block;margin-top:6px;font-size:.95rem;opacity:.7;}
.home .p-form .pub-optional{font-weight:500;opacity:.6;text-transform:none;letter-spacing:0;}
.home .p-form input[type="date"]{min-height:52px;}

.home .pub-order-facts{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,190px),1fr));gap:20px 32px;max-width:880px;margin:clamp(32px,4vw,48px) 0 0;}
.home .pub-order-facts dt{font-family:var(--font-head);font-size:.74rem;font-weight:600;letter-spacing:.1em;text-transform:uppercase;color:rgba(243,244,246,.55);margin:0 0 4px;}
.home .pub-order-facts dd{margin:0;font-size:1.12rem;line-height:1.35;color:var(--h-on-dark);}
.home .pub-order-facts a{border-bottom:1px solid rgba(255,255,255,.4);}

/* ---------- review fixes ---------- */
.home.pub-page .p-section-title{max-width:30ch;}
.home.pub-page .pub-hero .h-head{max-width:15ch;}
@media(min-width:1000px){.home .pub-stage .p-plan-desc{min-height:2.8em;}}
.home .pub-rescue{margin-top:28px;}
.home .fd-file text{font-size:10px;letter-spacing:0;}
.home .pub-audio-wrap .pub-cover.is-square{height:auto;width:min(42%,240px);aspect-ratio:1/1;min-height:0;overflow:hidden;}
.home .pub-audio-wrap .pub-cover.is-square{justify-content:center;gap:0;padding:0 8%;}
.home .pub-cover.is-square .pc-author{position:absolute;left:0;right:0;top:9%;font-size:.62rem;}
.home .pub-cover.is-square .pc-title{font-size:clamp(1rem,1.8vw,1.35rem);}
.home .pub-cover.is-square .pc-audio{position:absolute;left:0;right:0;bottom:9%;font-size:.6rem;gap:6px;}
.home .pub-cover.is-square .pc-audio svg{width:13px;height:13px;}
.home .pub-stage.is-featured h3{margin-top:0;}
.home .pub-stage.is-featured .p-plan-tag{top:-12px;}

/* ---------- checkout: price lines, terms, notices (Nov 2026) ---------- */
.home .pub-guarantee p + p{margin-top:10px;}
.home .pub-guarantee p strong{color:var(--h-on-dark);}
.home .pub-wz-lines{grid-column:1/-1;width:100%;border-collapse:collapse;font-size:1.08rem;line-height:1.3;}
.home .pub-wz-lines td{padding:7px 0;border-top:1px solid rgba(244,85,42,.18);color:var(--h-muted-light);}
.home .pub-wz-lines td:last-child{text-align:right;white-space:nowrap;padding-left:16px;color:var(--h-ink);font-weight:700;}
.home .pub-wz-lines tr.is-total td{color:var(--h-ink);font-weight:700;font-size:1.15rem;border-top:2px solid var(--h-orange);}
.home .p-form label.pub-wz-terms{display:flex;gap:12px;align-items:flex-start;margin:0;font-family:var(--font);font-size:1.05rem;font-weight:500;letter-spacing:0;text-transform:none;line-height:1.35;color:var(--h-muted-light);cursor:pointer;}
.home .p-form .pub-wz-terms input{width:20px;height:20px;min-height:0;flex:none;margin-top:2px;padding:0;accent-color:var(--h-orange);}
.home .pub-wz-secure{margin:-6px 0 0;font-size:.98rem;color:var(--h-muted-light);}
.home .pub-wz-flash{margin:0 0 18px;padding:12px 16px;border-radius:10px;background:#fff4e0;color:#7a4d00;font-size:1.05rem;line-height:1.35;}

/* ===================================================================
   PRESS THEME (Nov 2026)
   The publishing page has its own look, separate from the main Bentoji
   charcoal and orange: bottle-green ink, warm paper and a gilt ochre
   accent, with a light paper grain over everything. Change the palette
   here; the shared components read these tokens.
   =================================================================== */
body.home.pub-page{
  --h-navy:#283618;          /* dark sections: forest green */
  --h-navy-2:#606c38;
  --h-grey:#f3f3f1;          /* light sections: very light grey */
  --h-orange:#efd6ac;        /* accent: sand */
  --h-orange-dark:#bc6c25;
  --h-charcoal:#283618;
  --h-charcoal-hover:#3a4a24;
  --h-on-dark:#f3f3f1;
  --h-muted-dark:rgba(243,243,241,.8);
  --h-line-dark:rgba(243,243,241,.16);
  --h-ink:#1f2a12;
  --h-muted-light:#575c41;
  --h-line-light:rgba(40,54,24,.18);
  --pub-accent-ink:#9a5418;  /* accent for text on paper (readable) */
  --pub-paper:#fbfbfa;       /* cards on off-white */
  --pub-tint:rgba(239,214,172,.45);
}

.pub-viewer{z-index:80;}

/* nav bars in the theme colour */
.home.pub-page .site-nav{background:rgba(40,54,24,.94);}
.home .pub-subnav{background:rgba(40,54,24,.96);}

/* gilt accent needs dark text on it */
.home.pub-page .h-btn-primary,.home.pub-page .h-pill,.home.pub-page .h-dark .h-pill,.home .pub-subnav-cta,.home.pub-page .p-plan-tag,.home .pub-ico.is-filled{color:var(--h-ink);}
.home.pub-page .h-btn-primary:hover,.home .pub-subnav-cta:hover{color:var(--h-ink);}
.home.pub-page .h-grey .p-step span,.home.pub-page .p-form .req,.home.pub-page .p-faq summary::after{color:var(--pub-accent-ink);}
.home.pub-page .h-dark .p-faq summary::after{color:var(--h-orange);}

/* cards on paper */
.home.pub-page .p-plan,.home .pub-rescue,.home .pub-estimate,.home .pub-order,.home .pub-tags li{background:var(--pub-paper);}
.home .pub-tabs{background:#e7e7e4;}
.home .pub-tabs button[aria-selected="true"]{background:var(--pub-paper);}
.home .pub-wz-opt{background:#fff;}
.home .pub-wz-opt:hover{background:#fdf3e3;}
.home .pub-wz-opt[aria-pressed="true"]{background:#f8e6cc;}
.home .pub-wz-result{background:#fbefdc;border-color:rgba(188,108,37,.35);}
.home .pub-wz-notes,.home .pub-wz-lines td{border-top-color:rgba(188,108,37,.22);}
.home .pub-wz-flash{background:#f8e6cc;color:#6d3d12;}
.home .pub-tag-inc{background:var(--pub-tint);color:var(--pub-accent-ink);}
.home .pub-tag-inc.is-addon{background:rgba(29,27,23,.07);}
.home .pub-rescue{border-color:rgba(29,27,23,.24);}
.home .pub-extra-card{box-shadow:8px 8px 0 var(--h-navy);background:var(--h-charcoal);}
.pub-viewer-thumbs button[aria-current="true"]{border-color:#efd6ac;}
.home .pub-spread-hint{background:rgba(29,27,23,.85);}

/* icons: clearly visible tiles on both backgrounds */
.home .pub-ico{background:var(--h-navy);color:var(--h-orange);border-radius:10px;}
.home .h-dark .pub-ico{background:var(--h-on-dark);color:var(--h-navy);}
.home .pub-ico.is-filled{background:var(--h-orange);}

/* trim sizes: plain colour emphasis, no marker */
.home .pub-marker{background:none;padding:0;margin:0;border-radius:0;color:var(--h-orange);font-weight:700;}

/* guarantees: no card, a stamp and two columns */
.home .pub-guarantee{display:grid;grid-template-columns:1fr;gap:24px 40px;align-items:start;margin-top:clamp(56px,7vw,96px);padding:clamp(36px,4vw,56px) 0 0;background:none;border:0;border-top:1px solid var(--h-line-dark);border-radius:0;max-width:none;}
@media(min-width:800px){.home .pub-guarantee{grid-template-columns:auto minmax(0,1fr);}}
.home .pub-seal{animation:none;transform:rotate(-10deg);width:clamp(96px,10vw,120px);}
.home .pub-seal .seal-ring{stroke:var(--h-on-dark);stroke-width:1.5;stroke-dasharray:2 3;}
.home .pub-seal .seal-core{fill:none;stroke:var(--h-orange);stroke-width:2.5;}
.home .pub-seal .seal-text{fill:var(--h-on-dark);}
.home .pub-seal .seal-tick{stroke:var(--h-orange);stroke-width:5;}
.home .pub-guarantee h3{margin:0 0 20px;}
.home .pub-guarantee-cols{display:grid;grid-template-columns:1fr;gap:24px 48px;}
@media(min-width:700px){.home .pub-guarantee-cols{grid-template-columns:repeat(2,minmax(0,1fr));}}
.home .pub-guarantee h4{margin:0 0 8px;font-family:var(--font-head);font-weight:700;font-size:1.15rem;text-transform:uppercase;color:var(--h-orange);}
.home .pub-guarantee p{font-size:clamp(1.15rem,1.4vw,1.3rem);line-height:1.5;}
.home .pub-guarantee p + p{margin-top:0;}
@media(max-width:560px){.home .pub-guarantee{display:grid;}}

/* samples: more room to breathe */
@media(min-width:1000px){.home .pub-books{gap:clamp(40px,4vw,64px);}}
.home .pub-books{row-gap:72px;}
.home .pub-spread{margin-bottom:30px;}
.home .pub-book h3{margin:0 0 10px;line-height:1.15;}
.home .pub-meta{margin:0 0 18px;line-height:1.5;font-size:1.02rem;}
.home .pub-book p.pub-desc{margin:0 0 22px;line-height:1.55;}
.home .pub-pass{margin:0 0 28px;line-height:1.55;}
.home .pub-pass svg{color:var(--h-orange);}
.home .pub-book-actions{gap:12px;}

/* folder and covers re-coloured for the green background */
.home .fd-back{fill:#bc6c25;}
.home .fd-front{fill:var(--h-orange);}
.home .fd-label{fill:var(--h-ink);}
.home .fd-sub{fill:rgba(29,27,23,.75);}
.home .fd-file.is-orange rect{fill:var(--h-charcoal);}
.home .pub-cover{background:radial-gradient(120% 80% at 50% 100%,#7c2f37,#3a1217 72%);}
.home .pub-banner{background:linear-gradient(120deg,#3a1217,#7c2f37);}
.home .pub-cover .pc-audio{color:var(--h-orange);}
.home .pb-kicker{background:var(--h-orange);color:var(--h-ink);}
.home .pub-audio-wrap{background:#e8e8e5;}
.home.pub-page .p-plan .p-price,.home.pub-page .pub-rescue .p-price{color:var(--h-ink);}


/* ---------- round 3 (Nov 2026) ---------- */
/* light paper grain on the section backgrounds only (cards and buttons stay clean) */
.home.pub-page .h-grey{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 .22 -.08'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");background-size:220px 220px;}
.home.pub-page .h-dark,.home.pub-page .site-footer{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .2 -.07'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");background-size:220px 220px;}

/* square buttons; cards keep their rounded corners */
.home.pub-page .h-btn,.home.pub-page .nav-links .nav-cta,.home.pub-page .mobile-menu .btn,.home .pub-subnav-cta,.home .pub-subnav-links a,.home .pub-link-btn,.pub-viewer .pub-link-btn,.pub-viewer-close,.pub-viewer-nav{border-radius:0;}

/* smaller supporting notes */
.home .pub-order-facts dd{font-size:1rem;line-height:1.4;}
.home .pub-order-facts dt{font-size:.68rem;}
.home .pub-price-foot,.home .pub-wz-secure{font-size:1rem;}
.home .h-grey .pub-fees{font-size:1rem;}

/* section bar at the bottom of the screen, shown after the hero */
.home .pub-subnav{position:fixed;top:auto;bottom:0;left:0;right:0;z-index:58;border-bottom:0;transform:translateY(100%);transition:transform .3s var(--ease);box-shadow:0 -10px 30px -12px rgba(0,0,0,.35);}
.home .pub-subnav.is-shown{transform:none;}
.pub-page [id]{scroll-margin-top:90px;}
.home.pub-page .site-footer{padding-bottom:calc(40px + var(--pub-bar));}
.pub-page .to-top{bottom:calc(var(--pub-bar) + 20px);}
@media(prefers-reduced-motion:reduce){.home .pub-subnav{transition:none;}}
.home .pub-subnav{padding-bottom:env(safe-area-inset-bottom);}
.home.pub-page .h-grey .p-plan li::before,.home.pub-page .pub-rescue li::before{background:var(--pub-accent-ink);}

/* palette v3: forest, olive, cream, caramel, rust */
.home .pub-cover{background:radial-gradient(120% 80% at 50% 100%,#606c38,#283618 72%);}
.home .pub-banner{background:linear-gradient(120deg,#283618,#606c38);}
.home .pub-extra-card{box-shadow:8px 8px 0 var(--h-orange-dark);}
.home.pub-page .h-dark .pub-check-chips li{background:rgba(96,108,56,.35);}
.home.pub-page .h-btn-primary:hover,.home .pub-subnav-cta:hover{background:#e6c48f;}
.home .pub-banner{background:linear-gradient(120deg,#bc6c25,#efd6ac);color:#f3f3f1;}
.home .pub-banner .pb-kicker{background:#283618;color:#f3f3f1;}
.home .pub-banner .pb-text{opacity:.95;}

/* ---------- round 5 (Nov 2026) ---------- */
/* no drop or offset shadows on cards; the featured package gets a solid outline instead */
.home.pub-page .p-plan.is-featured{box-shadow:none;outline:2px solid var(--h-navy);outline-offset:-2px;}
.home .pub-extra-card{box-shadow:none;}
.home .pub-order{box-shadow:none;}
.home .pub-estimate{box-shadow:none;}

/* focus ring in the theme colours (no leftover orange) */
.pub-page a:focus-visible,.pub-page button:focus-visible{outline:2px solid var(--h-orange-dark);outline-offset:3px;}
.pub-page .h-btn:focus:not(:focus-visible){outline:none;}

/* smaller price note */
.home .pub-price-foot{font-size:.92rem;line-height:1.45;margin-top:18px;}

/* payment block under the pay button */
.home .pub-wz-pay{display:flex;flex-direction:column;gap:8px;margin-top:-4px;padding-top:12px;border-top:1px solid var(--h-line-light);}
.home .pub-wz-pay-row{display:flex;flex-wrap:wrap;align-items:center;gap:8px 14px;}
.home .pub-stripe{display:inline-flex;align-items:center;gap:6px;font-size:.85rem;font-weight:600;color:var(--h-muted-light);}
.home .pub-stripe b{font-family:var(--font-head);font-size:1.02rem;font-weight:700;letter-spacing:-.02em;color:#635bff;}
.home .pub-lock{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;}
.home .pub-paychips{display:inline-flex;flex-wrap:wrap;gap:6px;}
.home .pub-paychips .pc{display:inline-flex;align-items:center;gap:5px;height:24px;padding:0 8px;border:1px solid var(--h-line-light);border-radius:4px;background:#fff;font-size:.78rem;font-weight:700;line-height:1;color:var(--h-ink);}
.home .pub-paychips .pc svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.8;}
.home .pub-paychips .pc-mc{gap:0;padding:0 6px;}
.home .pub-paychips .pc-mc i{width:12px;height:12px;border-radius:50%;background:#eb001b;}
.home .pub-paychips .pc-mc i + i{margin-left:-5px;background:#f79e1b;mix-blend-mode:multiply;}
.home .pub-wz-pay p{margin:0;font-size:.85rem;line-height:1.45;color:var(--h-muted-light);max-width:60ch;}

/* question transition: slides in from the side it came from */
@keyframes pub-wz-next{from{opacity:0;transform:translateX(24px);}to{opacity:1;transform:none;}}
@keyframes pub-wz-back{from{opacity:0;transform:translateX(-24px);}to{opacity:1;transform:none;}}
.home .pub-wizard.is-next > *{animation:pub-wz-next .35s ease-in-out both;}
.home .pub-wizard.is-back > *{animation:pub-wz-back .35s ease-in-out both;}
.home .pub-wizard.is-next > .pub-wz-top,.home .pub-wizard.is-back > .pub-wz-top{animation:none;}
@media(prefers-reduced-motion:reduce){.home .pub-wizard.is-next > *,.home .pub-wizard.is-back > *{animation:none;}}
.home .p-form label.pub-wz-terms{font-size:.92rem;line-height:1.4;}

/* ---------- round 6 (Nov 2026) ---------- */
/* guarantees: three columns */
@media(min-width:900px){.home .pub-guarantee-cols{grid-template-columns:repeat(3,minmax(0,1fr));gap:24px 40px;}}

/* package cards: hover and click on every card, not a fixed outline on one */
.home.pub-page .p-plan.is-featured{outline:0;}
.home .is-clickable{cursor:pointer;transition:transform .25s var(--ease),outline-color .2s;outline:2px solid transparent;outline-offset:-2px;}
.home .is-clickable:hover{transform:translateY(-4px);outline-color:var(--h-navy);}
.home .pub-rescue.is-clickable:hover{border-color:transparent;}
@media(prefers-reduced-motion:reduce){.home .is-clickable,.home .is-clickable:hover{transform:none;}}

/* hover states for every button */
.home.pub-page .h-btn{transition:background .2s,color .2s,border-color .2s,transform .2s;}
.home.pub-page .h-btn:hover{transform:translateY(-1px);}
.home.pub-page .h-btn-dark:hover{background:var(--h-navy-2);color:#fff;}
.home.pub-page .h-btn-primary:hover,.home .pub-subnav-cta:hover{background:#e3c38c;color:var(--h-ink);}
.home.pub-page .h-dark .h-btn-ghost:hover,.home.pub-page .pub-hero .h-btn-ghost:hover{background:var(--h-on-dark);color:var(--h-navy);border-color:var(--h-on-dark);}
.home.pub-page .h-grey .h-btn-ghost:hover{background:var(--h-navy);color:var(--h-on-dark);border-color:var(--h-navy);}
.home.pub-page .nav-links .nav-cta:hover{background:var(--h-on-dark);color:var(--h-navy);border-color:var(--h-on-dark);}
.home .pub-link-btn:hover{background:var(--h-on-dark);color:var(--h-navy);border-color:var(--h-on-dark);}
.pub-viewer .pub-link-btn:hover,.pub-viewer-close:hover,.pub-viewer-nav:not(:disabled):hover{background:#f3f3f1;color:#283618;border-color:#f3f3f1;}
.home .pub-tabs button:not([aria-selected="true"]):hover{background:#dcdcd8;color:var(--h-ink);}
.home .pub-wz-back:hover{text-decoration:underline;text-underline-offset:3px;}
.home .pub-more summary:hover span{border-bottom-color:var(--h-orange);}
@media(prefers-reduced-motion:reduce){.home.pub-page .h-btn:hover{transform:none;}}

/* about: logo and smaller text */
.home .pub-about-head{display:flex;flex-direction:column;align-items:flex-start;gap:20px;}
.home .pub-about-logo{width:auto;height:40px;}
.home .pub-about p{font-size:1.08rem;line-height:1.5;}
.home .pub-about p.pub-about-lead{font-family:var(--font-head);font-weight:700;font-size:clamp(1.2rem,1.6vw,1.45rem);line-height:1.3;color:var(--h-on-dark);margin-bottom:1em;}
/* real payment logos */
.home .pub-paychips .pc-logo{padding:0 7px;}
.home .pub-paychips .pc-logo img{display:block;height:16px;width:auto;}
.home .pub-stripe-logo{display:block;height:18px;width:auto;margin-left:2px;}

/* ===================================================================
   Hero device mockup v2 (Nov 2026)
   Tablet: the print spread, sized to the spread so pages fill the screen.
   E-reader and phone: real reflowing ebook text, as an EPUB looks.
   All sizes are in container units so the group scales as one picture.
   =================================================================== */
.home .pub-devices{position:relative;width:100%;max-width:640px;margin:0 auto;aspect-ratio:1/.8;container-type:inline-size;}
.home .dv{position:absolute;border-radius:3.4cqw;background:linear-gradient(145deg,#3a3f45,#15181b 55%,#0b0c0e);box-shadow:0 0 0 .25cqw rgba(255,255,255,.07) inset,0 4cqw 8cqw -3cqw rgba(0,0,0,.6),0 1cqw 2cqw rgba(0,0,0,.25);}
.home .dv-screen{position:relative;width:100%;height:100%;overflow:hidden;}
.home .dv-screen p{margin:0;}

/* tablet: landscape, thin even bezel */
.home .dv-tablet{left:9%;top:0;width:90%;padding:2.2cqw;}
.home .dv-tablet .dv-screen{display:flex;aspect-ratio:1440/1021;border-radius:1.2cqw;background:#fff;}
.home .dv-tablet .dv-screen img{display:block;width:50%;height:100%;object-fit:cover;}
.home .dv-fold{position:absolute;top:0;bottom:0;left:50%;width:8cqw;transform:translateX(-50%);background:linear-gradient(90deg,transparent,rgba(0,0,0,.08) 42%,rgba(0,0,0,.16) 50%,rgba(0,0,0,.08) 58%,transparent);pointer-events:none;}

/* e-reader: flat bezel, slightly deeper chin, e-ink screen */
.home .dv-reader{left:0;bottom:0;width:34%;padding:2.2cqw 2.2cqw 4.2cqw;border-radius:2.6cqw;background:linear-gradient(160deg,#2b2f33,#121416);}
.home .dv-eink{aspect-ratio:3/4;border-radius:.4cqw;background:#ebe9e2;color:#262626;padding:2.6cqw 2.4cqw;font-family:Georgia,"Times New Roman",serif;box-shadow:inset 0 0 1.4cqw rgba(0,0,0,.12);}

/* phone: rounded, thin bezel, dynamic island */
.home .dv-phone{right:0;bottom:3%;width:23%;padding:1cqw;border-radius:4.6cqw;background:linear-gradient(160deg,#30343a,#0c0d0f);}
.home .dv-books{aspect-ratio:9/19.5;border-radius:3.7cqw;background:#fbfaf7;color:#1d1d1d;padding:4.6cqw 2.2cqw 2cqw;font-family:Georgia,"Times New Roman",serif;}
.home .dv-island{position:absolute;top:1.1cqw;left:50%;width:6.2cqw;height:1.7cqw;transform:translateX(-50%);border-radius:1cqw;background:#0c0d0f;}

/* ebook typography inside the screens */
.home .eb-meta{font-family:var(--font);font-size:.95cqw;letter-spacing:.04em;text-align:center;opacity:.55;margin-bottom:2.2cqw!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.home .eb-ch{font-size:1cqw;letter-spacing:.2em;text-transform:uppercase;text-align:center;opacity:.65;margin-bottom:.6cqw!important;}
.home .eb-title{font-size:2.1cqw;font-style:italic;line-height:1.15;text-align:center;margin-bottom:2cqw!important;}
.home .eb-text{font-size:1.32cqw;line-height:1.5;text-align:justify;hyphens:auto;-webkit-hyphens:auto;}
.home .eb-drop::first-letter{float:left;font-size:3.6cqw;line-height:.9;padding:.2cqw .5cqw 0 0;}
.home .eb-foot{position:absolute;left:0;right:0;bottom:1.4cqw;font-family:var(--font);font-size:.9cqw;text-align:center;opacity:.45;}
.home .dv-books .eb-meta{font-size:.85cqw;}
.home .dv-books .eb-title{font-size:1.75cqw;}
.home .dv-books .eb-text{font-size:1.1cqw;line-height:1.55;}
.home .dv-books .eb-drop::first-letter{font-size:3cqw;}
.home .dv-books .eb-foot{bottom:1.6cqw;}
.home .h-dark .dv-screen p{color:inherit;}
@media(min-width:1000px){.home .pub-devices{max-width:700px;margin-right:0;}}

/* ---------- why-it-matters illustrations (replace the icons) ---------- */
.home .is-why .why-art{display:flex;align-items:center;justify-content:center;aspect-ratio:16/10;margin:0 0 22px;padding:6%;border-radius:12px;background:rgba(243,243,241,.06);border:1px solid var(--h-line-dark);}
.home .why-img{gap:7%;}
.home .why-img figure{margin:0;width:42%;}
.home .why-img img{display:block;width:100%;height:auto;aspect-ratio:1;border-radius:6px;}
.home .why-img img[src*="pixel"]{image-rendering:pixelated;}
.home .why-img figcaption{margin-top:10px;font-family:var(--font-head);font-size:.72rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase;text-align:center;}
.home .why-img .is-bad{color:#e98a6a;}
.home .why-img .is-good{color:var(--h-orange);}
.home .why-svg{display:block;width:100%;height:100%;overflow:visible;}
.home .wm-page{fill:#fbfbfa;}
.home .wm-gutter{fill:var(--h-orange);opacity:.85;}
.home .wm-gutter.is-wide{fill:var(--h-orange);}
.home .wm-lines path{stroke:#283618;stroke-width:3;stroke-linecap:round;opacity:.35;}
.home .wm-spine{stroke:rgba(40,54,24,.35);stroke-width:1;}
.home .wm-dim path,.home .sc-dim path{stroke:var(--h-orange);stroke-width:1.5;fill:none;}
.home .wm-label{font-family:var(--font-head);font-size:11px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;fill:var(--h-on-dark);}
.home .wm-note{font-family:var(--font);font-size:11px;fill:var(--h-orange);}
.home .sc-bleed{fill:none;stroke:var(--h-orange);stroke-width:1;stroke-dasharray:4 3;}
.home .sc-back{fill:#606c38;}
.home .sc-front{fill:#4b5a2a;}
.home .sc-spine{fill:#1c260f;}
.home .sc-lines path{stroke:rgba(243,243,241,.45);stroke-width:3;stroke-linecap:round;}
.home .sc-barcode{fill:#fbfbfa;}
.home .sc-spine-t{font-family:var(--font-head);font-size:8px;font-weight:700;letter-spacing:.12em;fill:var(--h-orange);}
.home .sc-title{font-family:Georgia,"Times New Roman",serif;font-size:14px;fill:#f3f3f1;}
.home .sc-author{font-family:var(--font-head);font-size:7px;letter-spacing:.16em;fill:rgba(243,243,241,.75);}
.home .sc-dimt{font-family:var(--font-head);font-size:10px;font-weight:700;fill:var(--h-orange);}
.home .why-img figcaption{white-space:nowrap;font-size:.66rem;letter-spacing:.04em;}

/* ---------- What's included illustrations (light panels) ---------- */
.home .is-why .why-art.is-light{background:var(--pub-paper);border-color:var(--h-line-light);}
.home .ia text{font-family:var(--font-head);}
.home .ia-doc{fill:#fff;stroke:rgba(40,54,24,.18);}
.home .ia-docbar{fill:#e6e8e3;}
.home .ia-doc-h{font-family:Arial,sans-serif!important;font-size:9px;font-weight:700;fill:#283618;}
.home .ia-line{fill:#c9cdc4;}
.home .ia-arrow{fill:none;stroke:#bc6c25;stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round;}
.home .ia-pageframe{fill:#fff;stroke:rgba(40,54,24,.2);}
.home .ia-label{font-size:10.5px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;fill:#575c41;}
.home .ia-crop{fill:none;stroke:#283618;stroke-width:2.5;}
.home .ia-chip{fill:#283618;}
.home .ia-chip-tick{fill:none;stroke:#efd6ac;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round;}
.home .ia-chip-t{font-size:10px;font-weight:700;fill:#f3f3f1;}
.home .ia-spine{fill:#1c260f;}
.home .ia-cov{fill:#606c38;}
.home .ia-cov2{fill:#283618;}
.home .ia-cov-a{font-size:6.5px;letter-spacing:.14em;fill:rgba(243,243,241,.8);}
.home .ia-cov-t{font-family:Georgia,"Times New Roman",serif!important;font-size:12.5px;fill:#f3f3f1;}
.home .ia-cov-t2{font-family:Georgia,"Times New Roman",serif!important;font-size:7.5px;fill:#efd6ac;}
.home .ia-dev{fill:#1c1f22;}
.home .ia-eink{fill:#ebe9e2;}
.home .ia-eb-t{font-family:Georgia,"Times New Roman",serif!important;font-size:8.5px;font-style:italic;fill:#262626;}
.home .ia-eline{fill:#8b8b86;}
.home .ia-tags rect{fill:#fff;stroke:rgba(40,54,24,.2);}
.home .ia-tags rect.is-ok{fill:#283618;stroke:none;}
.home .ia-tag-t{font-size:10px;font-weight:700;fill:#283618;}
.home .ia-ban{fill:#283618;}
.home .ia-ban-k{fill:#efd6ac;}
.home .ia-ban-kt{font-size:6.5px;font-weight:700;letter-spacing:.1em;fill:#283618;}
.home .ia-ban-t{font-family:Georgia,"Times New Roman",serif!important;font-size:12px;fill:#f3f3f1;}
.home .ia-post{fill:#efd6ac;}
.home .ia-post-t{font-size:8px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;fill:#283618;}
.home .ia-dot{fill:#c9cdc4;}
.home .ia-url{fill:#fff;}
.home .ia-web-k{font-size:6.5px;font-weight:700;letter-spacing:.14em;fill:#bc6c25;}
.home .ia-web-t{font-family:Georgia,"Times New Roman",serif!important;font-size:15px;fill:#1f2a12;}
.home .ia-btn{fill:#283618;}
.home .ia-btn-o{fill:none;stroke:#283618;}
.home .ia-input{fill:#fff;stroke:rgba(40,54,24,.25);}

/* ---------- founding price, rush, quoted jobs (Nov 2026) ---------- */
.home .pub-founding{display:flex;flex-wrap:wrap;align-items:center;gap:12px 24px;margin:0 0 20px;padding:18px 24px;border-radius:12px;background:var(--h-navy);color:var(--h-on-dark);}
.home .pub-founding[hidden]{display:none;}
.home .pub-founding-tag{flex:none;padding:6px 14px;background:var(--h-orange);color:var(--h-ink);font-family:var(--font-head);font-size:.74rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;}
.home .pub-founding p{margin:0;flex:1 1 320px;font-size:1.12rem;line-height:1.4;color:var(--h-muted-dark);}
.home .pub-founding p strong{color:var(--h-on-dark);}
.home .pub-regular{margin:-8px 0 14px;font-size:1rem;color:var(--h-muted-light);}
.home .pub-regular s{opacity:.8;}
.home .pub-rescue .pub-regular{margin:-2px 0 6px;}
.home .pub-wz-pricewrap{display:contents;}
.home .pub-wz-rush{margin-top:-4px;}
.home .pub-wz-rush b{color:var(--h-ink);}

/* founding strip v2: seat count, dots and a real button */
.home .pub-founding{display:grid;grid-template-columns:1fr;gap:14px 28px;align-items:center;padding:22px 26px;}
@media(min-width:900px){.home .pub-founding{grid-template-columns:auto minmax(0,1fr) auto;}}
.home .pub-founding-seats{display:flex;flex-direction:column;gap:10px;}
.home .pub-seat-count{font-family:var(--font-head);font-size:1rem;font-weight:700;color:var(--h-on-dark);}
.home .pub-seat-count b{font-size:1.5rem;color:var(--h-orange);}
.home .pub-seat-dots{display:flex;gap:6px;}
.home .pub-seat-dots i{width:14px;height:14px;border-radius:50%;display:block;}
.home .pub-seat-dots i.is-open{background:var(--h-orange);}
.home .pub-seat-dots i.is-taken{border:1.5px solid rgba(243,243,241,.45);}
.home .pub-founding p{flex:none;font-size:1.1rem;}
.home .pub-founding .h-btn{justify-self:start;white-space:nowrap;}

/* ---------- finished covers, launch kit (Nov 2026) ---------- */
/* viewer: a single landscape cover wrap */
.pub-viewer.is-wrap .pub-viewer-img{max-height:calc(100svh - 150px);max-width:100%;}
.pub-viewer [hidden]{display:none!important;}

/* cover design gallery */
.home .pub-covers-title{font-family:var(--font-head);font-weight:700;text-transform:uppercase;font-size:clamp(1.5rem,2.2vw,2rem);line-height:1.05;margin:0 0 14px;color:var(--h-on-dark);}
.home .pub-covers .p-intro{margin-bottom:clamp(28px,3vw,44px);}
.home .pub-cover-grid{display:grid;grid-template-columns:1fr;gap:clamp(32px,4vw,48px) clamp(24px,3vw,40px);}
@media(min-width:760px){.home .pub-cover-grid{grid-template-columns:repeat(3,minmax(0,1fr));}}
.home .pub-cover-card{display:flex;flex-direction:column;align-items:stretch;gap:0;padding:0;border:0;background:none;color:var(--h-on-dark);font:inherit;text-align:left;cursor:pointer;}
.home .pub-cover-art{display:flex;align-items:flex-end;justify-content:center;aspect-ratio:4/4.6;margin-bottom:24px;padding:6% 8% 4%;border-radius:12px;background:rgba(243,243,241,.07);border:1px solid var(--h-line-dark);transition:background .25s,border-color .25s,transform .35s var(--ease);}
.home .pub-cover-art img{display:block;height:100%;width:auto;max-width:100%;object-fit:contain;transition:transform .35s var(--ease);}
.home .pub-cover-card:hover .pub-cover-art,.home .pub-cover-card:focus-visible .pub-cover-art{background:rgba(243,243,241,.12);border-color:rgba(243,243,241,.4);}
.home .pub-cover-card:hover .pub-cover-art img{transform:translateY(-6px) scale(1.02);}
.home .pub-cover-card:focus-visible{outline:2px solid var(--h-orange);outline-offset:6px;border-radius:12px;}
.home .pub-cover-name{font-family:var(--font-head);font-weight:700;text-transform:uppercase;font-size:clamp(1.15rem,1.5vw,1.35rem);line-height:1.15;margin-bottom:8px;}
.home .pub-cover-meta{font-size:1.05rem;line-height:1.45;color:rgba(243,243,241,.65);margin-bottom:16px;}
.home .pub-cover-more{display:inline-flex;align-items:center;gap:7px;font-weight:700;font-size:1.02rem;color:var(--h-orange);}
.home .pub-cover-more svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;}
.home .pub-cover-card:hover .pub-cover-more{text-decoration:underline;text-underline-offset:3px;}
@media(prefers-reduced-motion:reduce){.home .pub-cover-card:hover .pub-cover-art img{transform:none;}}

/* example website: dark theme with the real book */
.home .pub-site.is-dark{background:#0d1c27;color:#eef2f4;}
.home .pub-site.is-dark .pub-site-nav{border-bottom-color:rgba(238,242,244,.14);}
.home .pub-site.is-dark .pub-site-hero{grid-template-columns:34% 1fr;}
.home .pub-site-book{display:block;width:100%;height:auto;}
.home .pub-site.is-dark .pub-site-kicker{color:#d9a84a;}
.home .pub-site.is-dark .pub-site-text{color:rgba(238,242,244,.78);}
.home .pub-site.is-dark .pub-site-btns span,.home .pub-site.is-dark .pub-site-form span{border-color:rgba(238,242,244,.7);}
.home .pub-site.is-dark .pub-site-btns .is-primary,.home .pub-site.is-dark .pub-site-form .is-primary{background:#d9a84a;border-color:#d9a84a;color:#0d1c27;}
.home .pub-site.is-dark .pub-site-form span:first-child{background:rgba(238,242,244,.08);border-color:rgba(238,242,244,.3);color:rgba(238,242,244,.6);}

/* launch kit */
.home .pub-audiobook{position:relative;aspect-ratio:1;margin-bottom:22px;border-radius:8px;overflow:hidden;background:#0d1c27;container-type:inline-size;}
.home .pub-audiobook img{display:block;width:100%;height:100%;object-fit:cover;}
.home .pub-audiobook .ab-band{position:absolute;left:0;right:0;bottom:0;display:flex;flex-direction:column;align-items:center;gap:2cqw;padding:12cqw 4cqw 5cqw;background:linear-gradient(180deg,rgba(13,28,39,0),rgba(13,28,39,.92) 55%);}
.home .pub-audiobook .ab-author{font-family:var(--font-head);font-weight:700;font-size:8cqw;letter-spacing:.3em;text-transform:uppercase;color:#d9a84a;padding-left:.3em;}
.home .pub-audiobook .ab-tag{display:inline-flex;align-items:center;gap:1.6cqw;font-family:var(--font-head);font-size:3.2cqw;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:rgba(238,242,244,.85);}
.home .pub-audiobook .ab-tag svg{width:4.2cqw;height:4.2cqw;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;}

/* round 2 fixes: even cover panels, balanced launch kit, plain audiobook image */
.home .pub-cover-art{position:relative;display:block;padding:0;}
.home .pub-cover-art img{position:absolute;left:50%;bottom:5%;height:88%;width:auto;max-width:88%;transform:translateX(-50%);}
.home .pub-cover-card:hover .pub-cover-art img{transform:translateX(-50%) translateY(-6px) scale(1.02);}
@media(prefers-reduced-motion:reduce){.home .pub-cover-card:hover .pub-cover-art img{transform:translateX(-50%);}}

.home .pub-audiobook{display:block;width:100%;height:auto;aspect-ratio:1;object-fit:cover;margin:0;border-radius:8px;}
.home .pub-promo-item.is-audio .pub-promo-text > :last-child{margin-bottom:0;}

/* ===================================================================
   Hero: one main line, one supporting line, a paragraph, then a separate
   assurance block
   =================================================================== */
.home .pub-hero .pub-hero-title{max-width:none;margin:0;}
.home .pub-hero .pub-hero-main{display:block;font-size:clamp(2.5rem,4.8vw,4.4rem);line-height:1;max-width:none;}
.home .pub-hero .pub-hero-sub{display:block;margin-top:clamp(12px,1.4vw,18px);max-width:24ch;font-size:clamp(1.25rem,2.1vw,1.8rem);line-height:1.1;font-weight:600;letter-spacing:-.005em;color:var(--h-orange);}
.home .pub-hero .h-lead{max-width:42ch;}
.home .pub-hero-assure{display:flex;gap:14px;align-items:flex-start;max-width:42ch;margin:clamp(20px,2.4vw,28px) 0 0;padding:16px 20px;border-left:3px solid var(--h-orange);border-radius:0 8px 8px 0;background:rgba(255,255,255,.06);}
.home .pub-hero-assure svg{flex:none;width:20px;height:20px;margin-top:2px;fill:none;stroke:var(--h-orange);stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round;}
.home .pub-hero-assure p{margin:0;}
.home .pub-hero .h-actions{margin-top:clamp(24px,3vw,36px);}

/* ===================================================================
   Cover design: featured cover (The Ghost Shift)
   =================================================================== */
.home .pub-cover-feature{display:grid;grid-template-columns:1fr;gap:clamp(20px,3vw,40px);align-items:center;width:100%;margin:0 0 clamp(36px,4.5vw,56px);padding:0;border:0;background:none;color:var(--h-on-dark);font:inherit;text-align:left;cursor:pointer;}
@media(min-width:900px){.home .pub-cover-feature{grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);}}
.home .pub-cover-feature-art{display:block;overflow:hidden;border-radius:12px;border:1px solid var(--h-line-dark);background:#0d1b2a;aspect-ratio:6/5;}
.home .pub-cover-feature-art img{display:block;width:100%;height:100%;object-fit:cover;object-position:center 40%;transition:transform .6s var(--ease);}
.home .pub-cover-feature:hover .pub-cover-feature-art img{transform:scale(1.03);}
.home .pub-cover-feature:focus-visible{outline:2px solid var(--h-orange);outline-offset:6px;border-radius:12px;}
.home .pub-cover-feature-text{display:flex;flex-direction:column;align-items:flex-start;}
.home .pub-cover-feature .pub-cover-name{font-size:clamp(1.6rem,2.6vw,2.4rem);line-height:1.05;margin-bottom:10px;}
.home .pub-cover-feature:hover .pub-cover-more{text-decoration:underline;text-underline-offset:3px;}
@media(prefers-reduced-motion:reduce){.home .pub-cover-feature:hover .pub-cover-feature-art img{transform:none;}}

/* ===================================================================
   Body text: one size across every section (loaded after type.css, so
   these selectors carry one extra class). Captions and notes share a
   smaller size. Headings, labels, prices and form controls keep theirs.
   =================================================================== */
.home.pub-page{--pub-body:1rem;--pub-body-lh:1.55;--pub-note:.9rem;}

.home.pub-page .h-lead,
.home.pub-page .pub-hero .h-lead,
.home.pub-page .p-intro,
.home.pub-page .p-list li,
.home.pub-page .p-step p,
.home.pub-page .p-plan .p-plan-desc,
.home.pub-page .p-plan li,
.home.pub-page .p-faq details p,
.home.pub-page .p-row p,
.home.pub-page .p-details dd,
.home.pub-page .pub-feature p,
.home.pub-page .pub-estimate p,
.home.pub-page .pub-rescue-head p:not(.pub-stage-label),
.home.pub-page .pub-rescue li,
.home.pub-page .pub-extra-card p,
.home.pub-page .h-grey .pub-extra-card p,
.home.pub-page .pub-promo-copy > p,
.home.pub-page .pub-promo-item p,
.home.pub-page .pub-about p,
.home.pub-page .pub-about p.pub-about-lead,
.home.pub-page .pub-guarantee p,
.home.pub-page .pub-book p.pub-desc,
.home.pub-page .pub-founding p,
.home.pub-page .pub-wz-result p,
.home.pub-page .pub-wz-done p,
.home.pub-page .pub-check-chips li,
.home.pub-page .pub-table td,
.home.pub-page .pub-order-facts dd,
.home.pub-page .pub-tags li,
.home.pub-page .pub-hero-assure p{font-size:var(--pub-body);line-height:var(--pub-body-lh);}

.home.pub-page .p-intro{max-width:38rem;}

.home.pub-page .p-price-note,
.home.pub-page .pub-meta,
.home.pub-page .pub-pass,
.home.pub-page .pub-cover-meta,
.home.pub-page .pub-price-foot,
.home.pub-page .h-grey .pub-fees,
.home.pub-page .pub-trim,
.home.pub-page .pub-regular,
.home.pub-page .pub-wz-secure,
.home.pub-page .p-form .pub-hint{font-size:var(--pub-note);line-height:1.5;}

/* Nov 15: simple assurance box, navy cover tiles */
.home .pub-hero-assure{border:1px solid rgba(255,255,255,.14);border-left:1px solid rgba(255,255,255,.14);border-radius:8px;background:rgba(255,255,255,.05);}
.home .pub-cover-art img{filter:drop-shadow(0 18px 22px rgba(0,0,0,.45));}

/* Cover design: its own navy section */
.home .pub-cover-section{position:relative;background:radial-gradient(90% 70% at 70% 0%,#17304a 0%,rgba(23,48,74,0) 70%),#0b1826;color:var(--h-on-dark);}
.home .pub-cover-section .p-section-title{color:#fff;}
.home .pub-cover-section .p-intro{color:rgba(238,242,246,.78);}
.home .pub-cover-section .pub-cover-art{background:rgba(255,255,255,.04);border-color:rgba(255,255,255,.1);}
.home .pub-cover-section .pub-cover-card:hover .pub-cover-art,.home .pub-cover-section .pub-cover-card:focus-visible .pub-cover-art{background:rgba(255,255,255,.08);border-color:rgba(255,255,255,.24);}
.home .pub-cover-section .pub-cover-feature-art{border-color:rgba(255,255,255,.1);}
.home .pub-cover-section .pub-cover-meta{color:rgba(238,242,246,.66);}
.home .pub-ai-note{max-width:44rem;margin-top:clamp(40px,5vw,64px);padding:clamp(20px,2.4vw,28px);border:1px solid rgba(255,255,255,.14);border-radius:10px;}
.home .pub-ai-note h3{margin:0 0 8px;font-family:var(--font-head);font-weight:700;text-transform:uppercase;font-size:1.15rem;line-height:1.15;color:#fff;}
.home .pub-ai-note p{margin:0;color:rgba(238,242,246,.8);}

/* Mock website set in the book's own type */
@font-face{font-family:'League Gothic';src:url('/assets/type/league-gothic-latin.woff2') format('woff2');font-weight:400;font-stretch:75% 100%;font-display:swap;}
@font-face{font-family:'Montserrat';src:url('/assets/type/montserrat-latin.woff2') format('woff2');font-weight:100 900;font-display:swap;}
.home .pub-site.is-ghost{font-family:'Montserrat',var(--font),sans-serif;}
.home .pub-site.is-ghost .pub-site-nav,.home .pub-site.is-ghost .pub-site-text,.home .pub-site.is-ghost .pub-site-btns span,.home .pub-site.is-ghost .pub-site-form span{font-family:'Montserrat',var(--font),sans-serif;}
.home .pub-site.is-ghost .pub-site-nav b{font-family:'League Gothic',var(--font-head),sans-serif;font-weight:400;font-size:max(14px,3.2cqw);letter-spacing:.12em;text-transform:uppercase;color:#d9a84a;}
.home .pub-site.is-ghost .pub-site-title{font-family:'League Gothic',var(--font-head),sans-serif;font-weight:400;font-size:8.4cqw;line-height:.95;letter-spacing:.01em;text-transform:uppercase;color:#e6f2fb;}
.home .pub-site.is-ghost .pub-site-kicker{font-family:'Montserrat',var(--font),sans-serif;font-weight:600;letter-spacing:.3em;}

/* Viewer open/close animation */
.pub-viewer[open]{animation:pubViewerIn .32s cubic-bezier(.2,.8,.2,1);}
.pub-viewer[open]::backdrop{animation:pubFadeIn .32s ease;}
.pub-viewer.is-closing{animation:pubViewerOut .22s ease forwards;}
.pub-viewer.is-closing::backdrop{animation:pubFadeOut .22s ease forwards;}
@keyframes pubViewerIn{from{opacity:0;transform:translateY(18px) scale(.97);}to{opacity:1;transform:none;}}
@keyframes pubViewerOut{from{opacity:1;transform:none;}to{opacity:0;transform:translateY(12px) scale(.98);}}
@keyframes pubFadeIn{from{opacity:0;}to{opacity:1;}}
@keyframes pubFadeOut{from{opacity:1;}to{opacity:0;}}
@media(prefers-reduced-motion:reduce){.pub-viewer[open],.pub-viewer[open]::backdrop,.pub-viewer.is-closing,.pub-viewer.is-closing::backdrop{animation:none;}}

/* Viewer image: fade in once loaded, never show the previous one */
.pub-viewer-img{transition:opacity .2s ease;}
.pub-viewer-img.is-loading{opacity:0;}

/* Featured cover: spotlight image, text on the dark left side */
.home .pub-cover-feature.is-spot{position:relative;display:block;overflow:hidden;border-radius:14px;border:1px solid rgba(255,255,255,.1);background:#050607;}
.home .pub-cover-feature.is-spot .pub-cover-feature-art{border:0;border-radius:0;aspect-ratio:16/9;background:#050607;}
.home .pub-cover-feature.is-spot .pub-cover-feature-art img{object-position:center;}
.home .pub-cover-feature.is-spot .pub-cover-feature-text{padding:clamp(22px,4vw,32px);}
.home .pub-cover-feature.is-spot .pub-cover-name{font-size:clamp(2rem,4vw,3.6rem);line-height:.98;margin-bottom:12px;color:#fff;}
.home .pub-cover-desc{display:block;max-width:30ch;margin:14px 0 22px;color:rgba(238,242,246,.78);font-size:var(--pub-body,1rem);line-height:1.5;}
.home .pub-cover-cta{display:inline-flex;align-items:center;gap:8px;padding:11px 20px;border-radius:999px;background:var(--h-orange);color:#14201a;font-weight:700;font-size:.95rem;transition:transform .25s var(--ease),background .25s;}
.home .pub-cover-cta svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2;}
.home .pub-cover-feature.is-spot:hover .pub-cover-cta{transform:translateY(-2px);}
.home .pub-cover-feature.is-spot:hover .pub-cover-feature-art img{transform:scale(1.025);}
@media(min-width:900px){
  .home .pub-cover-feature.is-spot{aspect-ratio:21/9;}
  .home .pub-cover-feature.is-spot .pub-cover-feature-art{position:absolute;top:0;right:0;bottom:0;width:76%;aspect-ratio:auto;}
  .home .pub-cover-feature.is-spot .pub-cover-feature-art::before{content:"";position:absolute;inset:0;z-index:1;background:linear-gradient(90deg,#050607 0%,rgba(5,6,7,.75) 14%,rgba(5,6,7,0) 34%);pointer-events:none;}
  .home .pub-cover-feature.is-spot .pub-cover-feature-text{position:absolute;z-index:2;left:0;top:0;bottom:0;width:38%;justify-content:center;padding:0 0 0 clamp(32px,4.5vw,64px);}
}
@media(prefers-reduced-motion:reduce){.home .pub-cover-feature.is-spot:hover .pub-cover-cta{transform:none;}}

/* ---------- Order tool: calmer result screen ---------- */
.home .pub-wz-nav{justify-content:space-between;}
.home .pub-wz-reset{padding:0;border:0;background:none;font-family:var(--font);font-size:.95rem;font-weight:600;color:var(--h-muted-light);text-decoration:underline;text-underline-offset:3px;cursor:pointer;}
.home .pub-wz-reset:hover{color:var(--h-ink);}
.home .pub-wz-editing{margin:-8px 0 16px;font-size:.92rem;color:var(--h-muted-light);}
.home .pub-wz-result{display:grid;grid-template-columns:1fr;gap:16px;padding:0;margin:0 0 20px;border:0;border-radius:0;background:none;}
@media(min-width:820px){.home .pub-wz-result{grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:20px;align-items:start;}}
.home .pub-wz-sum{padding:clamp(20px,2.4vw,28px);border-radius:14px;background:#fbefdc;border:1px solid rgba(188,108,37,.28);}
.home .pub-wz-sum-head h4{margin:0 0 4px;font-family:var(--font-head);font-weight:700;text-transform:uppercase;font-size:1.05rem;letter-spacing:.04em;color:var(--h-ink);}
.home .pub-wz-sum-head p{margin:0;font-size:.95rem;line-height:1.45;color:var(--h-muted-light);}
.home .pub-wz-total{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 12px;margin:18px 0 8px;}
.home .pub-wz-total b{font-family:var(--font-head);font-size:clamp(2.2rem,3.6vw,2.9rem);line-height:1;color:var(--h-ink);}
.home .pub-wz-total span{font-size:.95rem;color:var(--h-muted-light);}
.home .pub-wz-deposit{margin:0;font-size:.95rem;line-height:1.45;color:var(--h-ink);}
.home .pub-wz-badge{display:inline-block;margin:12px 0 0;padding:4px 10px;border-radius:999px;background:rgba(188,108,37,.14);font-size:.85rem;font-weight:600;color:#6d3d12;}
.home .pub-wz-break{margin-top:16px;padding-top:12px;border-top:1px solid rgba(188,108,37,.22);}
.home .pub-wz-break summary{cursor:pointer;font-size:.92rem;font-weight:600;color:var(--h-ink);list-style-position:inside;}
.home .pub-wz-break .pub-wz-lines{margin-top:8px;font-size:.92rem;}
.home .pub-wz-break .pub-wz-lines tr.is-total td{font-size:.95rem;border-top-width:1px;}
.home .pub-wz-choices{padding:clamp(18px,2.2vw,24px);border-radius:14px;border:1px solid var(--h-line-light);background:#fff;}
.home .pub-wz-choices-head{display:flex;justify-content:space-between;align-items:baseline;gap:12px;margin-bottom:8px;}
.home .pub-wz-choices-head h4{margin:0;font-family:var(--font-head);font-weight:700;text-transform:uppercase;font-size:.85rem;letter-spacing:.08em;color:var(--h-muted-light);}
.home .pub-wz-choices dl{margin:0;}
.home .pub-wz-choices dl > div{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.2fr) auto;gap:10px;align-items:baseline;padding:9px 0;border-top:1px solid var(--h-line-light);}
.home .pub-wz-choices dl > div:first-child{border-top:0;}
.home .pub-wz-choices dt{font-size:.85rem;color:var(--h-muted-light);}
.home .pub-wz-choices dd{margin:0;font-size:.92rem;font-weight:600;color:var(--h-ink);}
.home .pub-wz-edit{padding:0;border:0;background:none;font-family:var(--font);font-size:.85rem;font-weight:600;color:#9a5a1c;text-decoration:underline;text-underline-offset:3px;cursor:pointer;}
.home .pub-wz-edit:hover{color:var(--h-ink);}
.home .pub-wz-notes{margin:0 0 24px;padding:0;border:0;}
.home .pub-wz-notes li{font-size:.9rem;color:var(--h-muted-light);}
.home .pub-wz-notes li::before{width:6px;height:6px;top:.55em;background:rgba(188,108,37,.6);}
.home .pub-wz-form-title{margin:28px 0 4px;padding-top:24px;border-top:1px solid var(--h-line-light);font-family:var(--font-head);font-weight:700;text-transform:uppercase;font-size:1.05rem;letter-spacing:.04em;color:var(--h-ink);}
.home .pub-wz-form-intro{margin:0 0 18px;font-size:.95rem;color:var(--h-muted-light);}
.home.pub-page .pub-wz-notes li,.home.pub-page .pub-wz-form-intro{font-size:.92rem;}

/* ---------- Custom quote section ---------- */
.home .pub-custom{display:grid;grid-template-columns:1fr;gap:clamp(28px,4vw,56px);align-items:start;}
@media(min-width:900px){.home .pub-custom{grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);}}
.home .pub-custom .p-intro{margin-bottom:24px;}
.home .pub-custom-list{list-style:none;margin:0;padding:0;border-top:1px solid var(--h-line-light);}
.home .pub-custom-list li{display:flex;flex-direction:column;gap:4px;padding:16px 0;border-bottom:1px solid var(--h-line-light);}
.home .pub-custom-list b{font-family:var(--font-head);font-weight:700;font-size:1.05rem;color:var(--h-ink);}
.home .pub-custom-list span{font-size:.95rem;line-height:1.5;color:var(--h-muted-light);}

/* ---------- Section bar: fits on one line, scrolls on small screens ---------- */
.home .pub-subnav-links{overflow-x:auto;scrollbar-width:none;}
.home .pub-subnav-links::-webkit-scrollbar{display:none;}
.home .pub-subnav-links a{white-space:nowrap;}
@media(max-width:560px){
  .home .pub-wz-choices dl > div{grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"dt edit" "dd edit";gap:2px 12px;align-items:center;}
  .home .pub-wz-choices dt{grid-area:dt;}
  .home .pub-wz-choices dd{grid-area:dd;}
  .home .pub-wz-edit{grid-area:edit;}
  .home .pub-wz-badge{border-radius:8px;}
}

/* ---------- Samples: covers and inside pages in one grid ---------- */
.home .pub-samples{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,400px),1fr));gap:clamp(22px,2.8vw,34px);margin-top:clamp(32px,4vw,48px);}
.home .pub-sample{display:flex;flex-direction:column;}
.home .pub-sample-art{position:relative;display:block;width:100%;aspect-ratio:4/3;padding:clamp(18px,2.4vw,30px);border:1px solid rgba(255,255,255,.1);border-radius:14px;background:rgba(255,255,255,.04);cursor:pointer;overflow:hidden;transition:background .3s,border-color .3s;}
.home .pub-sample-art img{width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 18px 22px rgba(0,0,0,.45));transition:transform .4s var(--ease);}
.home .pub-sample-art:hover,.home .pub-sample-art:focus-visible{background:rgba(255,255,255,.08);border-color:rgba(255,255,255,.24);}
.home .pub-sample-art:hover img,.home .pub-sample-art:focus-visible img{transform:scale(1.03);}
.home .pub-sample-hint{position:absolute;left:50%;bottom:14px;transform:translate(-50%,8px);display:inline-flex;align-items:center;gap:7px;padding:8px 14px;border-radius:999px;background:rgba(5,10,16,.82);color:#fff;font-size:.85rem;font-weight:600;opacity:0;transition:opacity .25s,transform .25s;pointer-events:none;}
.home .pub-sample-hint svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2;}
.home .pub-sample-art:hover .pub-sample-hint,.home .pub-sample-art:focus-visible .pub-sample-hint{opacity:1;transform:translate(-50%,0);}
.home .pub-sample h3{margin:16px 0 4px;font-family:var(--font-head);font-weight:700;text-transform:uppercase;font-size:clamp(1.05rem,1.6vw,1.25rem);line-height:1.15;color:#fff;}
.home .pub-cover-section .pub-sample .pub-meta{color:rgba(238,242,246,.62);}
.home .pub-cover-section .pub-sample .pub-desc{color:rgba(238,242,246,.8);}
.home .pub-cover-section .pub-sample .pub-pass{color:rgba(238,242,246,.62);}
.home .pub-cover-section .pub-link-btn{border-color:rgba(255,255,255,.2);color:#fff;}
.home .pub-cover-section .pub-link-btn:hover{border-color:var(--h-orange);color:var(--h-orange);}
.home .pub-sample .pub-book-actions{margin-top:auto;padding-top:14px;}
@media(prefers-reduced-motion:reduce){.home .pub-sample-art img,.home .pub-sample-hint{transition:none;}}

/* ---------- Cover artwork note ---------- */
.home .pub-ai-note{display:flex;gap:14px;align-items:flex-start;max-width:54rem;margin-top:clamp(30px,3.6vw,44px);padding:16px 18px;border:1px solid rgba(255,255,255,.14);border-radius:10px;background:rgba(255,255,255,.04);}
.home .pub-ai-ico{flex:none;display:grid;place-items:center;width:34px;height:34px;border-radius:9px;background:rgba(240,206,140,.16);}
.home .pub-ai-ico svg{width:19px;height:19px;fill:var(--h-orange);stroke:none;}
.home .pub-ai-note p{margin:0;font-size:.92rem;line-height:1.55;color:rgba(238,242,246,.78);}
.home .pub-ai-note b{color:#fff;font-weight:700;}

/* ---------- Custom work note in the order section ---------- */
.home .pub-order-custom{max-width:58rem;margin:-4px 0 26px;padding:14px 18px;border:1px solid rgba(255,255,255,.16);border-radius:10px;font-size:.92rem;line-height:1.55;color:var(--h-muted-dark);}
.home .pub-order-custom b{color:var(--h-on-dark);}
.home .pub-order-custom em{font-style:normal;font-weight:600;color:var(--h-on-dark);}

/* ---------- Rounding row in the price breakdown ---------- */
.home .pub-wz-lines tr.is-round td{color:var(--h-muted-light);font-style:italic;}

/* ---------- Sample actions: readable on hover and on focus ---------- */
.home .pub-cover-section .pub-link-btn:hover,.home .pub-cover-section .pub-link-btn:focus-visible{background:#fff;border-color:#fff;color:#0b1826;}
.home .pub-text-link{display:inline-flex;align-items:center;gap:7px;padding:9px 2px;background:none;border:0;color:rgba(238,242,246,.78);font-family:var(--font);font-weight:600;font-size:.92rem;text-decoration:underline;text-underline-offset:4px;cursor:pointer;}
.home .pub-text-link:hover,.home .pub-text-link:focus-visible{color:#fff;}
.home .pub-text-link svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2;}
.home .pub-sample .pub-book-actions{flex-wrap:wrap;gap:8px 12px;align-items:center;}
/* on touch screens there is no hover, so the hint stays visible */
@media(hover:none){.home .pub-sample-hint{opacity:1;transform:translate(-50%,0);}}

/* ---------- Cover artwork note ---------- */
.home .pub-ai-note{display:grid;grid-template-columns:1fr;gap:18px;align-items:center;max-width:62rem;padding:clamp(18px,2.2vw,24px);}
@media(min-width:760px){.home .pub-ai-note{grid-template-columns:minmax(0,230px) minmax(0,1fr);gap:26px;}}
.home .pub-ai-art{display:block;}
.home .pub-ai-art img{display:block;width:100%;height:auto;filter:drop-shadow(0 16px 20px rgba(0,0,0,.45));}
.home .pub-ai-note h3{margin:0 0 8px;font-family:var(--font-head);font-weight:700;text-transform:uppercase;font-size:1.05rem;letter-spacing:.03em;color:#fff;}
.home .pub-ai-note p{margin:0 0 10px;font-size:.92rem;line-height:1.55;color:rgba(238,242,246,.78);}
.home .pub-ai-note p:last-child{margin-bottom:0;}

/* ---------- Launch post next to the wide banner ---------- */
.home .pub-promo-img.is-post{max-width:290px;margin-top:-6px;}

/* ---------- Website offered on its own ---------- */
.home .pub-promo-own{margin:0 0 14px;padding:14px 16px;border:1px solid var(--h-line-light);border-radius:10px;font-size:.95rem;line-height:1.55;}
.home .pub-promo-own b{display:block;color:var(--h-ink);}
.home .pub-promo-own .h-link{white-space:nowrap;}

/* three sample books side by side, with the combined cover and typesetting card */
.home .pub-samples{grid-template-columns:repeat(auto-fit,minmax(min(100%,320px),1fr));}
.home .pub-sample-extra{margin-top:16px;padding-top:16px;border-top:1px solid rgba(255,255,255,.12);}
.home .pub-sample-extra .pub-meta b{color:rgba(238,242,246,.85);}
.home .pub-sample-extra .pub-book-actions{padding-top:10px;}
.home .pub-samples{align-items:start;}
.home .pub-sample .pub-book-actions{margin-top:14px;}

/* ---------- Launch kit: three tidy rows, image beside its text ---------- */
.home .pub-promo-row{display:grid;grid-template-columns:1fr;gap:20px clamp(28px,3.4vw,48px);align-items:center;margin-top:clamp(48px,6vw,72px);}
.home .pub-promo-row .pub-promo-item p:last-child{margin-bottom:0;}
.home .pub-promo-media{display:flex;gap:clamp(12px,1.6vw,20px);align-items:flex-start;}
.home .pub-promo-media img{display:block;flex:var(--ar) 1 0;min-width:0;height:auto;aspect-ratio:var(--ar);object-fit:cover;border-radius:8px;}
.home .pub-promo-solo{display:block;width:100%;height:auto;border-radius:8px;}
.home .pub-promo-pair{display:grid;grid-template-columns:1fr;gap:0;margin-top:0;}
.home .pub-promo-pair .pub-promo-row{grid-template-columns:minmax(0,var(--w,200px)) minmax(0,1fr);}
.home .pub-promo-row.is-story{--w:146px;}
.home .pub-promo-row.is-audio{--w:260px;}
@media(min-width:900px){
  .home .pub-promo-row.is-banners{grid-template-columns:minmax(0,1fr) minmax(0,300px);}
  .home .pub-promo-pair{grid-template-columns:repeat(2,minmax(0,1fr));column-gap:clamp(32px,4vw,64px);}
}
@media(max-width:560px){
  .home .pub-promo-pair .pub-promo-row{grid-template-columns:minmax(0,1fr);}
  .home .pub-promo-row.is-story .pub-promo-solo{max-width:200px;}
  .home .pub-promo-row.is-audio .pub-promo-solo{max-width:280px;}
}

/* ---------- Sample cards: lighter check line ---------- */
.home .pub-sample .pub-pass{margin:0 0 14px;font-size:.84rem;line-height:1.4;}
.home .pub-sample .pub-pass svg{width:13px;height:13px;margin-top:.2em;}
.home .pub-sample .pub-meta{margin-bottom:8px;}
.home .pub-samples{align-items:stretch;}
.home .pub-sample .pub-book-actions{margin-top:auto;padding-top:2px;}
.home .pub-sample .pub-pass{flex:1 0 auto;}

/* ---------- AI note illustration: the layers of a hand-made cover ---------- */
.home .pub-ai-art{display:block;}
@media(min-width:760px){.home .pub-ai-note{grid-template-columns:minmax(0,300px) minmax(0,1fr);}}
.home .ai-svg{display:block;width:100%;height:auto;overflow:visible;}
.home .ai-edge{fill:none;stroke:rgba(255,255,255,.38);stroke-width:1.2;vector-effect:non-scaling-stroke;}
.home .ai-layer{filter:drop-shadow(0 6px 5px rgba(0,0,0,.4));}
.home .ai-leader{stroke:var(--h-orange);stroke-width:1.2;fill:none;stroke-dasharray:3 3;}
.home .ai-leader.is-axis{stroke:rgba(255,255,255,.28);}
.home .ai-aa{font-family:var(--font-head);font-weight:700;font-size:52px;fill:#283618;}
.home .ai-rule{stroke:#bc6c25;stroke-width:4;stroke-linecap:round;}
.home .ai-crop{fill:none;stroke:var(--h-orange);stroke-width:3;stroke-linecap:round;stroke-linejoin:round;}
.home .ai-sliders path{stroke:rgba(255,255,255,.4);stroke-width:3;stroke-linecap:round;}
.home .ai-knob{fill:var(--h-orange);}
.home .ai-pencil path{fill:none;stroke:#283618;stroke-width:2.6;stroke-linecap:round;stroke-linejoin:round;}

/* ---------- Services: plain illustrations for graphics and website ---------- */
.home .ia-gfx{fill:#fff;stroke:rgba(40,54,24,.18);}
.home .ia-gfx-book{fill:#c9cdc4;}
.home .ia-gfx-line{fill:#283618;opacity:.8;}
.home .ia-gfx-title{fill:#283618;opacity:.75;}
.home .ia-gfx-sm{fill:#c9cdc4;}
.home .ia-gfx-sm.is-accent{fill:#bc6c25;opacity:.7;}
.home .ia-gfx-btn{fill:#bc6c25;}

/* ---------- Checks: part of the section above, no second heading ---------- */
.home .pub-checks-merged{margin-top:clamp(40px,5vw,64px);}

/* ---------- Social media graphics: three images in one row ---------- */
@media(min-width:900px){.home .pub-promo-row.is-social{grid-template-columns:minmax(0,1fr) minmax(0,300px);}}
@media(max-width:560px){.home .pub-promo-row.is-social .pub-promo-media{flex-wrap:wrap;}.home .pub-promo-row.is-social .pub-promo-media img:first-child{flex-basis:100%;}}

/* ---------- Provider logos ---------- */
.home .pub-providers li{display:inline-flex;align-items:center;gap:8px;}
.home .pub-logo{flex:none;width:16px;height:16px;fill:currentColor;}
.home .pub-logo.is-cloudflare{fill:#f38020;}
.home .pub-logo.is-wix{width:28px;height:20px;margin:-2px -3px;}
.home .pub-logo.is-webflow{fill:#146ef5;}
.home .pub-logo.is-wordpress{fill:#21759b;}

/* ---------- Trim note in the folder section ---------- */
.home .pub-folder-grid .pub-trim{margin-top:clamp(24px,3vw,32px);font-size:1.05rem;}

/* ---------- Viewer: larger, click to zoom, softer close ---------- */
.pub-viewer{width:min(100vw - 24px,1280px);max-height:calc(100svh - 16px);}
.pub-viewer.is-wrap .pub-viewer-img{max-height:calc(100svh - 130px);}
.pub-viewer-img{max-height:calc(100svh - 210px);cursor:zoom-in;}
.pub-viewer.is-zoomed .pub-viewer-stage{display:block;overflow:auto;padding:0;}
.pub-viewer.is-zoomed .pub-viewer-img{max-width:none;max-height:none;width:auto;height:auto;cursor:zoom-out;margin:auto;}
.pub-viewer.is-zoomed.is-wrap .pub-viewer-img{width:220%;}
.pub-viewer.is-zoomed:not(.is-wrap) .pub-viewer-img{width:160%;max-width:1600px;}
.pub-viewer.is-zoomed .pub-viewer-nav{position:fixed;}
.pub-viewer.is-closing{animation:pubViewerOut .38s cubic-bezier(.4,0,.2,1) forwards;}
.pub-viewer.is-closing::backdrop{animation:pubFadeOut .38s ease forwards;}
@keyframes pubViewerOut{from{opacity:1;transform:none;}to{opacity:0;transform:translateY(16px) scale(.96);}}

/* ---------- Section eyebrows: small, quiet, never orange ---------- */
.home .pub-eyebrow{margin:0 0 12px;font-family:var(--font);font-size:.78rem;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:var(--h-muted-light);}
.home .h-dark .pub-eyebrow,.home .pub-cover-section .pub-eyebrow{color:rgba(243,243,241,.62);}

/* ---------- Genre label, same as the category on the home page ---------- */
.home .pub-genre{display:block;margin:16px 0 6px;font-family:var(--font);font-size:.8rem;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--h-orange);}
.home .pub-sample .pub-genre + h3{margin-top:0;}
.home .pub-cover-feature .pub-genre{margin:0 0 10px;}

/* ---------- Providers: monochrome logos, no pills ---------- */
.home .pub-providers{list-style:none;margin:6px 0 22px;padding:0;display:flex;flex-wrap:wrap;align-items:center;gap:14px 26px;}
.home .pub-providers li{display:inline-flex;align-items:center;gap:7px;padding:0;border:0;background:none;font-family:var(--font-head);font-weight:700;font-size:1.02rem;letter-spacing:-.01em;color:#4a4f45;}
.home .pub-providers .pub-logo,.home .pub-providers .pub-logo[class*=is-]{width:20px;height:20px;fill:currentColor;}
.home .pub-providers .pub-logo.is-wix{width:32px;height:22px;margin:-2px -4px;}
.home .pub-providers li.is-more{font-family:var(--font);font-weight:400;font-size:.95rem;color:var(--h-muted-light);}

/* ---------- Checks: tighter spacing, smaller chips ---------- */
.home .pub-checks-merged{margin-top:clamp(28px,3vw,40px);}
.home .pub-checks-merged .p-intro{margin-bottom:16px;}
.home .pub-checks-merged .pub-check-chips{gap:8px;margin-bottom:12px;}
.home .pub-checks-merged .pub-check-chips li,.home.pub-page .pub-checks-merged .pub-check-chips li{padding:6px 12px 6px 9px;font-size:.9rem;gap:6px;}
.home .pub-checks-merged .pub-check-chips svg{width:13px;height:13px;}
.home .pub-checks-merged .pub-more{margin-bottom:0;}
.home .pub-checks-merged .pub-more summary{font-size:1rem;}
.home .pub-checks-merged + .pub-guarantee{margin-top:clamp(36px,4vw,52px);padding-top:clamp(28px,3vw,40px);}

/* ---------- Website illustration: same quiet greys as the ebook one ---------- */
.home .ia-gfx-book{fill:#d6d4cc;}
.home .ia-gfx-title,.home .ia-gfx-sm,.home .ia-gfx-sm.is-accent{fill:#8b8b86;opacity:1;}
.home .ia-gfx-btn{fill:#283618;}

/* ---------- FAQ in two columns ---------- */
@media(min-width:900px){
  .home .p-faq.pub-faq-cols{max-width:none;column-count:2;column-gap:clamp(32px,4vw,64px);border-top:0;}
  .home .p-faq.pub-faq-cols details{break-inside:avoid;border-top:1px solid var(--h-line-light);border-bottom:0;}
  .home .p-faq.pub-faq-cols details p{max-width:none;}
}

/* ---------- Hero: the hardcover among the devices ---------- */
.home .dv-book{position:absolute;z-index:2;left:44%;bottom:-2%;width:27%;height:auto;filter:drop-shadow(0 2.4cqw 2.6cqw rgba(0,0,0,.55));}
.home .dv-phone{z-index:3;}
.home .dv-reader{z-index:3;}

/* ---------- Sample thumbnails: full scene mockups ---------- */
.home .pub-sample-art{padding:0;background:#0d1520;}
.home .pub-sample-art img{object-fit:cover;filter:none;}

/* ---------- Sample card buttons: same size as Download PDF ---------- */
.home .pub-sample .pub-link-btn,.home .pub-cover-section .pub-sample .pub-link-btn{font-size:.92rem;font-weight:600;padding:8px 14px;}
.home .pub-sample .pub-link-btn svg{width:15px;height:15px;}

/* ---------- Secure payment strip under the packages ---------- */
.home .pub-secure{display:flex;flex-wrap:wrap;align-items:center;gap:10px 18px;margin:clamp(24px,3vw,32px) 0 10px;padding:14px 18px;border:1px solid var(--h-line-light);border-radius:10px;background:rgba(255,255,255,.55);}
.home .pub-secure-lead{display:inline-flex;align-items:center;gap:7px;font-size:.92rem;font-weight:600;color:var(--h-ink);}
.home .pub-secure-ico{width:18px;height:18px;fill:none;stroke:#2f7d32;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;}
.home .pub-secure-stripe{height:20px;width:auto;display:block;}
.home .pub-secure-note{flex:1 1 220px;font-size:.85rem;color:var(--h-muted-light);}
@media(min-width:900px){.home .pub-secure-note{text-align:right;}}
.home .pub-paychips .pc-logo img[src*="visa"]{height:24px;margin:0 -2px;}
.home .pub-paychips .pc-logo img[src*="amex"]{height:20px;}
