/* O-026 owner-eye pass (2026-11-08): the pages the v4 redesign never touched (/about, /privacy, /terms, the 404 page) in the v4 look.
   Loaded with base.css and the picked button language (btn-a/b/c.css) when FM_BTN is set (build.py page(skin="v4")). Same tokens, same
   header and menu sheet as the service pages; a readable document column, a company ledger, a framed contact panel, and a 404 that
   points to the six services instead of the shop's categories. No new colours: night, ink, gold, parchment. */
.doc{background:var(--night)}
.doc::before{content:"";position:fixed;right:-18vw;top:-22vh;width:70vw;aspect-ratio:1;pointer-events:none;z-index:0;
  background:radial-gradient(closest-side,rgba(201,138,46,.16),rgba(201,138,46,.04) 55%,transparent)}
/* the service pages' header (product.css), without loading product.css */
.doc .p-head{position:fixed;inset:0 0 auto 0;z-index:50;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px var(--gutter);
  background:linear-gradient(180deg,rgba(20,17,16,.96),rgba(20,17,16,.86));-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}
.doc .p-head::after{content:"";position:absolute;left:0;right:0;bottom:0;height:1px;pointer-events:none;
  background:linear-gradient(90deg,rgba(224,164,69,0),rgba(224,164,69,.45) 30%,rgba(224,164,69,.45) 70%,rgba(224,164,69,0))}
.doc .p-head .brand img{height:58px;filter:drop-shadow(0 4px 20px rgba(201,138,46,.25))}
.doc .p-head .nav-links{display:flex;align-items:center;gap:14px}

.doc-main{position:relative;z-index:1;max-width:1180px;margin:0 auto;padding:clamp(128px,15vh,168px) var(--gutter) clamp(56px,8vh,96px)}
.doc-main .wrap{max-width:none;margin:0;padding:0}
.doc-main>section+section{margin-top:clamp(48px,7vh,80px);padding-top:clamp(40px,6vh,64px);border-top:1px solid rgba(224,164,69,.14)}
.doc .eyebrow{margin:0 0 18px;font:600 12.5px/1.2 var(--sans);letter-spacing:.22em;text-transform:uppercase;color:var(--gold2)}
.doc h1{font-size:clamp(40px,5.2vw,74px);line-height:1.02;letter-spacing:-.028em;max-width:15ch;text-wrap:balance}
.doc .lead{margin-top:22px;font-size:clamp(18px,1.5vw,21px);line-height:1.55;color:var(--cream);max-width:50ch}
.doc .btns{display:flex;flex-wrap:wrap;align-items:center;gap:14px;margin-top:34px}
.doc .prose{max-width:72ch}
.doc .prose h2,.doc-main h2{font-size:clamp(27px,2.5vw,36px);line-height:1.15;margin:0 0 16px}
.doc .prose * + h2{margin-top:52px}
.doc .prose h3,.doc-main h3{margin:34px 0 10px;font:600 20px/1.3 var(--serif);color:var(--parch)}
.doc-main p,.doc-main li,.doc-main dd{color:var(--cream);font-size:17px;line-height:1.68}
.doc-main p+p,.doc-main p+ul,.doc-main ul+p{margin-top:14px}
.doc-main ul{list-style:none;margin:12px 0 0;padding:0}
.doc-main li{position:relative;padding-left:24px;margin:9px 0}
.doc-main li::before{content:"";position:absolute;left:0;top:.82em;width:11px;height:1px;background:var(--gold2)}
.doc-main b,.doc-main strong{color:var(--parch);font-weight:600}
.doc-main a:not(.btn){color:var(--parch);text-decoration:underline;text-decoration-color:rgba(224,164,69,.55);text-decoration-thickness:1px;text-underline-offset:4px;transition:color .2s,text-decoration-color .2s}
.doc-main a:not(.btn):hover{color:var(--gold2);text-decoration-color:var(--gold2)}
.doc .muted{color:var(--muted)}
.doc .small{font-size:14.5px}
.doc .mt-28{margin-top:28px}

/* /about: copy and the index side by side, both from the top (the old page centred the copy beside a tall card and left a hole) */
.co-hero .wrap{display:grid;grid-template-columns:minmax(0,7fr) minmax(0,5fr);gap:clamp(36px,6vw,104px);align-items:start}
.co-hero h1{font-size:clamp(28px,4.2vw,52px);max-width:none;text-wrap:balance}
.co-hero h1 .ln{display:block}
.co-index{padding:26px 28px 10px;border-radius:4px;background:linear-gradient(180deg,rgba(43,35,28,.9),rgba(30,25,21,.9));box-shadow:inset 0 0 0 1px rgba(224,164,69,.22)}
.co-index .eyebrow{margin-bottom:8px}
.co-index ul{margin:0}
.co-index li{padding:0;margin:0}
.co-index li::before{display:none}
.co-index a{display:grid;gap:3px;padding:13px 0;border-top:1px solid rgba(224,164,69,.13);text-decoration:none!important}
.co-index li:first-child a{border-top:0}
.co-index b{font:600 19px/1.25 var(--serif);color:var(--parch);transition:color .2s}
.co-index span{font-size:14.5px;line-height:1.4;color:var(--muted)}
.co-index a:hover b{color:var(--gold2)}
dl.kv{display:grid;grid-template-columns:minmax(150px,230px) minmax(0,1fr);margin:6px 0 0;border-top:1px solid rgba(224,164,69,.2)}
dl.kv dt,dl.kv dd{margin:0;padding:15px 0;border-bottom:1px solid rgba(224,164,69,.12)}
dl.kv dt{padding-top:19px;padding-right:16px;font:600 12px/1.4 var(--sans);letter-spacing:.16em;text-transform:uppercase;color:var(--gold2)}
dl.kv dd{color:var(--parch)}
.doc-main .band{margin-top:clamp(48px,7vh,80px);padding:clamp(28px,4vw,52px);border-top:0;border-radius:4px;
  background:radial-gradient(120% 140% at 0% 0%,#3d2b1c 0,#1f1914 58%);box-shadow:inset 0 0 0 1px rgba(224,164,69,.25)}
.doc-main .band+section{border-top:0}
.doc-main .band .lead{margin-top:10px}

/* /privacy and /terms */
.doc .page-head .lead{max-width:58ch}
.in-short{margin:0 0 30px;padding:24px 28px;border-radius:4px;background:rgba(43,35,28,.7);box-shadow:inset 0 0 0 1px rgba(224,164,69,.3)}
.in-short>p:first-child{margin:0}
.terms-nav{padding:14px 0;border-top:1px solid rgba(224,164,69,.16);border-bottom:1px solid rgba(224,164,69,.16)}
.doc .prose h2.part{margin-top:64px;padding-top:28px;border-top:1px solid rgba(224,164,69,.3)}
.doc .prose h2.part:first-of-type{margin-top:40px}

/* 404 */
.nf-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-top:22px}
.doc-main a.nf-card{display:grid;gap:6px;align-content:start;min-height:112px;padding:22px 22px 20px;border-radius:4px;text-decoration:none;
  background:linear-gradient(180deg,rgba(43,35,28,.85),rgba(30,25,21,.85));box-shadow:inset 0 0 0 1px rgba(224,164,69,.2);transition:box-shadow .25s,transform .25s}
.nf-card b{font:600 21px/1.2 var(--serif);color:var(--parch)}
.nf-card span{font-size:15px;line-height:1.45;color:var(--muted)}
.doc-main .nf-card:hover{box-shadow:inset 0 0 0 1px var(--gold2);transform:translateY(-2px)}
.nf-card:hover b{color:var(--gold2)}
.nf-more{margin-top:28px}

/* the footer: the v4 footer plus the company block and every link the old footer had */
.doc-foot .foot-grid{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,4fr);gap:36px clamp(20px,3vw,44px);max-width:1180px;margin:0 auto}
.doc-foot .foot-cols{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:28px clamp(16px,2.5vw,36px)}
.doc-foot .foot-logo{height:76px}
.doc-foot .foot-co{margin-top:18px;font-size:15px;line-height:1.6;color:var(--muted);font-style:normal}
.doc-foot .foot-co b{color:var(--parch);font-weight:600}
.doc-foot .foot-h{margin:6px 0 14px;font:600 12px/1.3 var(--sans);letter-spacing:.18em;text-transform:uppercase;color:var(--gold2)}
.doc-foot .foot-cols a{display:block;padding:5px 0;color:var(--cream);text-decoration:none;font-size:15.5px}
.doc-foot .foot-cols a:hover{color:var(--parch);text-decoration:underline;text-underline-offset:4px}
.doc-foot a{color:var(--cream)}
.doc-foot small{color:var(--muted)}
.doc-foot .legal{max-width:1180px;margin:40px auto 0}
.doc-foot .legal a{margin-left:0}

@media (max-width:899px){
  .doc .p-head{padding:10px 14px}
  .doc .p-head .brand img{height:48px}
  .doc-main{padding:104px 16px 48px}
  .co-hero .wrap{grid-template-columns:1fr}
  .doc .btns .btn{width:100%}
  dl.kv{grid-template-columns:1fr}
  dl.kv dt{padding:14px 0 0;border-bottom:0}
  dl.kv dd{padding-top:4px}
  .nf-grid{grid-template-columns:1fr}
  .doc-foot .foot-grid{grid-template-columns:1fr}
  .doc-foot .foot-cols{grid-template-columns:1fr 1fr}
}
/* the menu items slide in one after another (the pages carry no style="--i" attributes under the site policy, so the delay is set here) */
.mnav-list li:nth-child(1){--i:0}
.mnav-list li:nth-child(2){--i:1}
.mnav-list li:nth-child(3){--i:2}
.mnav-list li:nth-child(4){--i:3}
.mnav-list li:nth-child(5){--i:4}
.mnav-list li:nth-child(6){--i:5}
.mnav-list li:nth-child(7){--i:6}
.mnav-list li:nth-child(8){--i:7}
/* /about on desktop: the copy stays beside the tall list instead of leaving a hole under the buttons (review 7) */
@media (min-width:900px){.co-hero .wrap > :first-child{position:sticky;top:110px;align-self:start}}
