/* Mobile chrome shared by the PDF+App brands (site-chrome.js). Desktop keeps its header. */
.menu-toggle,.mobile-nav,.mobile-nav-scrim,.buy-bar{display:none}
@media(max-width:800px){
  header{position:sticky;top:0;z-index:50;background:#fff;display:grid!important;grid-template-columns:40px 1fr 40px;align-items:center;gap:8px!important;padding:10px 16px!important;flex-wrap:nowrap!important}
  header .brand{grid-column:2;justify-self:center;min-width:0}
  header>nav,header .account-links>a[href="/access-order"]{display:none!important}
  header .account-links{grid-column:3;justify-self:end;display:flex;margin:0}
  /* Menu button: three bars that morph into an X. */
  .menu-toggle{grid-column:1;grid-row:1;position:relative;display:block;width:40px;height:40px;min-height:0;padding:0;margin:0;border:0;border-radius:50%;background:transparent!important;color:var(--ink)!important;-webkit-tap-highlight-color:transparent;touch-action:manipulation}
  .menu-toggle span{position:absolute;left:10px;width:20px;height:2px;border-radius:2px;background:currentColor;transition:transform .22s ease,opacity .15s ease,top .22s ease}
  .menu-toggle span:nth-child(1){top:13px}.menu-toggle span:nth-child(2){top:19px}.menu-toggle span:nth-child(3){top:25px}
  .mobile-nav-open .menu-toggle span:nth-child(1){top:19px;transform:rotate(45deg)}
  .mobile-nav-open .menu-toggle span:nth-child(2){opacity:0}
  .mobile-nav-open .menu-toggle span:nth-child(3){top:19px;transform:rotate(-45deg)}
  /* Drop-down panel with a dimmed page behind it; a tap outside closes it. */
  .mobile-nav-scrim{display:block;position:fixed;left:0;right:0;bottom:0;z-index:48;background:rgba(15,26,20,.35);opacity:0;pointer-events:none;transition:opacity .2s ease}
  .mobile-nav{display:block;position:fixed;left:0;right:0;z-index:49;background:#fff;padding:4px 16px 16px;border-bottom:1px solid var(--rule);border-radius:0 0 18px 18px;box-shadow:0 14px 30px rgba(15,26,20,.14);opacity:0;transform:translateY(-8px);pointer-events:none;visibility:hidden;transition:opacity .18s ease,transform .18s ease,visibility 0s linear .18s}
  .mobile-nav-open .mobile-nav{opacity:1;transform:none;pointer-events:auto;visibility:visible;transition:opacity .18s ease,transform .18s ease}
  .mobile-nav-open .mobile-nav-scrim{opacity:1;pointer-events:auto}
  .mobile-nav nav{display:flex;flex-direction:column}
  .mobile-nav nav a{padding:11px 4px;font-size:16px;color:var(--ink);text-decoration:none;border-bottom:1px solid rgba(0,0,0,.06)}
  .mobile-nav nav a:last-child{border-bottom:0}
  .mobile-nav .button{display:flex;margin-top:10px;width:100%;min-height:48px;font-size:16px}
  /* Bottom buy bar. */
  .buy-bar{position:fixed;left:0;right:0;bottom:0;z-index:40;display:flex;align-items:center;gap:12px;padding:10px 16px max(10px,env(safe-area-inset-bottom));background:rgba(255,255,255,.96);border-top:1px solid var(--rule);backdrop-filter:blur(8px);transition:transform .2s ease}
  .buy-bar.is-hidden{transform:translateY(110%)}
  .buy-bar-price{display:flex;flex-direction:column;line-height:1.15;flex:none}
  .buy-bar-price b{font-size:18px;color:var(--ink)}
  .buy-bar-price s{font-size:12px;color:var(--muted)}
  .buy-bar .button{flex:1;min-width:0;min-height:48px;margin:0;padding:12px 16px;font-size:15px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  body.has-buy-bar footer{padding-bottom:84px}
  /* "See what's inside" preview: the open dialog fits the phone screen with no scrolling. */
  .set-dialog[open]{width:94vw!important;max-height:94dvh;display:flex;flex-direction:column;overflow:hidden}
  .set-dialog-header{position:static}
  .set-dialog-image{overflow:hidden;flex:0 1 auto;display:flex;align-items:center;justify-content:center}
  .set-dialog-image img{width:100%!important;max-width:100%!important;height:auto;max-height:52dvh;object-fit:contain}
  .set-dialog h2{font-size:21px;margin:14px 18px}
  /* Reviews: the review with a photo comes first on phones. */
  #reviews .review-photo-card{order:-1!important}
  .checkout-assurance{padding:0 20px}
}
/* Checkout reassurance list under the pay button. */
.checkout-assurance{max-width:560px;margin:18px auto 0;font-size:13px;color:var(--muted)}
.checkout-assurance>p{text-align:center;margin:0 0 14px}
.checkout-assurance ul{list-style:none;margin:0;padding:0;display:grid;gap:8px}
.checkout-assurance li{display:flex;align-items:center;gap:9px;margin:0}
.checkout-assurance li:not(:has(svg)){display:block;padding-top:2px}
.checkout-assurance li svg{flex:none;width:18px;height:18px;color:var(--brand-icon,#7c9a7e)}
.checkout-assurance a{color:var(--ink);text-decoration:underline;text-underline-offset:4px}
/* Discount code link sits on the right under the card fields. */
#purchase-form .code-toggle,.code-toggle{align-self:flex-end!important;margin:2px 0 0 auto!important}
:root{--brand-icon:#1F5C4A}
/* Sticky header on every screen size; the white band spans the full window width. */
header{position:sticky;top:0;z-index:50;background:#fff;box-shadow:0 0 0 100vmax #fff;clip-path:inset(0 -100vmax)}
/* "See what's inside" preview fits the window on every screen size, with no scrolling. */
.set-dialog[open]{display:flex;flex-direction:column;max-height:92dvh;overflow:hidden}
.set-dialog[open] .set-dialog-header{position:static;flex:none}
.set-dialog[open] .set-dialog-image{flex:0 1 auto;min-height:0;overflow:hidden;display:flex;align-items:center;justify-content:center}
.set-dialog[open] .set-dialog-image img{width:100%;max-width:100%;height:auto;max-height:calc(92dvh - 230px);object-fit:contain}
.set-dialog[open] h2,.set-dialog[open] .set-dialog-actions{flex:none}

/* Zoom inside the "See what's inside" preview. */
.set-dialog-image{position:relative;cursor:zoom-in}
.set-dialog-image img{transition:transform .28s cubic-bezier(.2,.7,.2,1);will-change:transform}
.set-dialog-image.is-zoomed{cursor:zoom-out}
.set-dialog-image.is-zoomed img{transform:scale(2.6)}
.zoom-hint{position:absolute;right:14px;bottom:12px;padding:6px 12px;border-radius:999px;background:rgba(255,255,255,.92);box-shadow:0 2px 10px rgba(0,0,0,.12);font-size:12px;color:var(--ink);pointer-events:none;transition:opacity .2s ease}
.set-dialog-image.is-zoomed .zoom-hint{opacity:0}
@media(max-width:800px){.set-dialog-image.is-zoomed img{transform:scale(2.8)}}
@media(min-width:801px){.set-dialog[open]{width:min(1480px,94vw);max-width:94vw}}
/* The list under the pay button uses the same size as the email help line (12px). */
.checkout-assurance,.checkout-assurance>p,.checkout-assurance li{font-size:12px;line-height:1.65}
.checkout-assurance li svg{width:15px;height:15px}
.checkout-assurance ul{gap:5px}
/* Same width as the pay button, so "Secure payment by Stripe." is centred under it; footer-size text (11px). */
.checkout-assurance{max-width:none;margin:18px 0 0}
.checkout-assurance,.checkout-assurance>p,.checkout-assurance li{font-size:11px;line-height:1.7}
.checkout-assurance li svg{width:14px;height:14px}
@media(max-width:800px){.checkout-assurance{padding:0}}
.checkout-assurance{width:min(580px,calc(100% - 50px));max-width:none;margin:18px auto 0;padding:0!important;box-sizing:border-box}
.checkout-assurance>p{max-width:none!important;width:100%;margin-left:0;margin-right:0;text-align:center!important}

/* No page jump on navigation (02.10.2026). funnel.js fills <main> after the first paint, so:
   the scrollbar space is always kept, the footer stays hidden until <main> has content, and the
   promo bar, menu button and offer-page header are in index.html from the first frame. */
html{scrollbar-gutter:stable}
main:empty~footer{visibility:hidden}
.upgrade-page .promo-bar,.upgrade-page header>:not(.brand){display:none!important}
