/* ==========================================================================
   Print My Plans — shared stylesheet
   Phase 1 clickable prototype. Portable plain CSS (no framework).

   WHY this file exists: one source of truth for the design system. The homepage
   section (TOKENS + "HOMEPAGE COMPONENTS") is ported verbatim from the hi-fi
   reference so index.html is pixel-faithful. Everything below "SHARED / INNER
   PAGES" is new, built on the same tokens so the other screens read as the same
   system. When this is rebuilt in CodeIgniter, this file drops in unchanged.
   ========================================================================== */

/* ---------- TOKENS (verbatim from hi-fi) ---------- */
:root{
  --navy:#0b2a52;
  --navy-2:#0f3568;
  --blue:#1b57a6;
  --blue-600:#1a4f96;
  --blue-700:#163f78;
  --ink:#11243d;
  --body:#41546b;
  --muted:#7c8aa0;
  --paper:#ffffff;
  --surface:#f3f6fa;
  --surface-2:#e9eef5;
  --line:#dde4ee;
  --line-2:#c9d3e0;
  --amber:#f5b301;
  --good:#1f9d5b;
  --bad:#d23b3b;
  --maxw:1240px;
}
*{box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  margin:0;background:var(--paper);color:var(--ink);
  font-family:'Manrope',system-ui,sans-serif;font-size:17px;line-height:1.55;
  -webkit-font-smoothing:antialiased;
}
h1,h2,h3,h4{font-family:'Archivo',sans-serif;margin:0;color:var(--ink);line-height:1.04;}
p{margin:0;}
a{color:inherit;text-decoration:none;}
img{display:block;max-width:100%;}
.wrap{max-width:var(--maxw);margin:0 auto;padding:0 32px;}
.mono{font-family:'IBM Plex Mono',monospace;}
.eyebrow{font-family:'IBM Plex Mono',monospace;font-size:12px;letter-spacing:2.5px;text-transform:uppercase;color:var(--blue);font-weight:600;}

/* buttons */
.btn{display:inline-flex;align-items:center;gap:9px;font-family:'Manrope',sans-serif;font-weight:700;font-size:15px;
  padding:13px 22px;border-radius:10px;border:2px solid transparent;cursor:pointer;transition:.15s;white-space:nowrap;text-align:center;}
.btn .arw{transition:transform .15s;}
.btn:hover .arw{transform:translateX(3px);}
.btn-primary{background:var(--blue);color:#fff;border-color:var(--blue);}
.btn-primary:hover{background:var(--blue-700);border-color:var(--blue-700);}
.btn-ghost{background:transparent;color:var(--ink);border-color:var(--line-2);}
.btn-ghost:hover{border-color:var(--blue);color:var(--blue);}
.btn-white{background:#fff;color:var(--navy);border-color:#fff;}
.btn-white:hover{background:#eef3fa;}
.btn-lg{padding:16px 28px;font-size:16px;}
.btn[disabled]{opacity:.5;cursor:not-allowed;}
.btn-block{width:100%;justify-content:center;}

/* announce bar */
.announce{background:var(--navy);color:#cdddf2;font-family:'IBM Plex Mono',monospace;font-size:12.5px;letter-spacing:.4px;}
.announce .wrap{display:flex;align-items:center;justify-content:space-between;height:42px;}
.announce .left{display:flex;align-items:center;gap:22px;}
.announce .dotmark{color:var(--amber);}
.announce a{color:#fff;border-bottom:1px solid rgba(255,255,255,.35);padding-bottom:1px;}
.announce .left span:nth-child(n+3){display:none;}
@media(min-width:900px){.announce .left span{display:inline !important;}}

/* header */
header{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.92);backdrop-filter:blur(10px);border-bottom:1px solid var(--line);}
header.scrolled{box-shadow:0 6px 24px rgba(11,42,82,.07);}
header .wrap{display:flex;align-items:center;gap:30px;height:74px;}
header .logo{height:38px;width:auto;}
nav.main{display:none;gap:28px;margin-left:8px;font-weight:600;font-size:15px;color:var(--body);}
nav.main a:hover{color:var(--blue);}
nav.main a.active{color:var(--blue);}
header .spacer{flex:1;}
header .signin{display:none;font-weight:600;font-size:15px;color:var(--body);}
header .signin:hover{color:var(--blue);}
header .cart-link{display:none;align-items:center;gap:6px;font-weight:600;font-size:15px;color:var(--body);}
header .cart-link:hover{color:var(--blue);}
header .cart-link .badge{background:var(--blue);color:#fff;font-family:'IBM Plex Mono',monospace;font-size:11px;font-weight:600;
  min-width:18px;height:18px;border-radius:9px;display:inline-flex;align-items:center;justify-content:center;padding:0 5px;}
@media(min-width:980px){nav.main{display:flex;}header .signin{display:inline;}header .cart-link{display:inline-flex;}}

/* hero */
.hero{padding:64px 0 56px;position:relative;overflow:hidden;}
.hero:before{content:"";position:absolute;inset:0;background-image:
  linear-gradient(rgba(27,87,166,.035) 1px,transparent 1px),
  linear-gradient(90deg,rgba(27,87,166,.035) 1px,transparent 1px);
  background-size:34px 34px;mask-image:linear-gradient(180deg,#000,transparent 75%);
  -webkit-mask-image:linear-gradient(180deg,#000,transparent 75%);pointer-events:none;}
.hero .wrap{position:relative;display:grid;grid-template-columns:1fr;gap:44px;align-items:center;}
@media(min-width:1000px){.hero .wrap{grid-template-columns:1.05fr .95fr;gap:52px;}}
.hero h1{font-weight:900;font-size:clamp(40px,5.4vw,68px);letter-spacing:-1.5px;}
.hero h1 .pen{position:relative;white-space:nowrap;}
.hero h1 .pen:after{content:"";position:absolute;left:-2px;right:-2px;bottom:6px;height:10px;background:var(--amber);opacity:.85;z-index:-1;border-radius:2px;}
.hero .sub{margin-top:20px;font-size:19px;color:var(--body);max-width:520px;}
.dropzone{margin-top:26px;border:2.5px dashed var(--line-2);background:var(--surface);border-radius:16px;
  padding:26px 24px;display:flex;align-items:center;gap:18px;cursor:pointer;transition:.18s;}
.dropzone:hover,.dropzone.drag{border-color:var(--blue);background:#eef4fb;}
.dropzone .ic{width:52px;height:52px;border-radius:12px;background:var(--blue);display:flex;align-items:center;justify-content:center;flex-shrink:0;}
.dropzone .ic svg{width:26px;height:26px;stroke:#fff;}
.dropzone .dz-title{font-family:'Archivo',sans-serif;font-weight:700;font-size:19px;}
.dropzone .dz-sub{font-family:'IBM Plex Mono',monospace;font-size:12px;color:var(--muted);margin-top:3px;letter-spacing:.3px;}
.hero .belowdrop{margin-top:14px;display:flex;align-items:center;gap:16px;flex-wrap:wrap;font-size:14px;color:var(--muted);}
.hero .belowdrop a{color:var(--blue);font-weight:700;}
.trustrow{margin-top:30px;display:flex;align-items:center;gap:18px;flex-wrap:wrap;}
.trustrow .lbl{font-family:'IBM Plex Mono',monospace;font-size:11px;letter-spacing:1.5px;text-transform:uppercase;color:var(--muted);}
.trustrow .firms{display:flex;gap:10px;}
.trustrow .firm{width:74px;height:26px;background:var(--surface-2);border-radius:5px;}

/* hero media */
.hero-media{position:relative;}
.hero-media .frame{border-radius:18px;overflow:hidden;border:1px solid var(--line);box-shadow:0 30px 60px -20px rgba(11,42,82,.28);}
.hero-media .frame img{width:100%;height:440px;object-fit:cover;}
.quote-chip{position:absolute;left:-14px;bottom:-22px;background:#fff;border:1px solid var(--line);border-radius:14px;
  box-shadow:0 18px 40px -12px rgba(11,42,82,.3);padding:16px 18px;width:248px;}
.quote-chip .qh{display:flex;align-items:center;justify-content:space-between;}
.quote-chip .qh .ttl{font-family:'IBM Plex Mono',monospace;font-size:10px;letter-spacing:1.5px;color:var(--muted);}
.quote-chip .live{display:inline-flex;align-items:center;gap:6px;font-family:'IBM Plex Mono',monospace;font-size:10px;color:var(--good);font-weight:600;}
.quote-chip .live .d{width:7px;height:7px;border-radius:50%;background:var(--good);box-shadow:0 0 0 3px rgba(31,157,91,.18);}
.quote-chip .qline{display:flex;justify-content:space-between;font-family:'IBM Plex Mono',monospace;font-size:12px;color:var(--body);padding:3px 0;}
.quote-chip .qtot{display:flex;justify-content:space-between;align-items:baseline;border-top:1px solid var(--line);margin-top:8px;padding-top:9px;}
.quote-chip .qtot .n{font-family:'Archivo',sans-serif;font-weight:800;font-size:22px;}
.turn-badge{position:absolute;top:16px;right:16px;background:rgba(11,42,82,.92);color:#fff;backdrop-filter:blur(4px);
  font-family:'IBM Plex Mono',monospace;font-size:11px;letter-spacing:.5px;padding:7px 12px;border-radius:8px;display:flex;align-items:center;gap:7px;}
.turn-badge .d{width:6px;height:6px;border-radius:50%;background:var(--amber);}

/* stat ticker */
.ticker{background:var(--navy);color:#fff;}
.ticker .grid{display:grid;grid-template-columns:repeat(2,1fr);}
@media(min-width:760px){.ticker .grid{grid-template-columns:repeat(5,1fr);}}
.ticker .cell{padding:22px 24px;border-right:1px solid rgba(255,255,255,.1);border-bottom:1px solid rgba(255,255,255,.1);}
.ticker .num{font-family:'IBM Plex Mono',monospace;font-size:12px;color:var(--amber);font-weight:600;}
.ticker .big{font-family:'Archivo',sans-serif;font-weight:800;font-size:20px;margin-top:6px;letter-spacing:-.3px;}
.ticker .cap{font-size:13px;color:#a9c0dc;margin-top:3px;}

/* section scaffolding */
section{padding:84px 0;}
.sec-head{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:40px;flex-wrap:wrap;}
.sec-head h2{font-weight:800;font-size:clamp(28px,3.4vw,42px);letter-spacing:-1px;max-width:680px;}
.sec-head .lead{color:var(--body);font-size:16px;max-width:420px;}
.surface{background:var(--surface);}

/* category cards */
.cards{display:grid;grid-template-columns:1fr;gap:18px;}
@media(min-width:640px){.cards{grid-template-columns:1fr 1fr;}}
@media(min-width:1000px){.cards{grid-template-columns:repeat(3,1fr);}}
.card{background:#fff;border:1px solid var(--line);border-radius:16px;padding:26px;transition:.18s;position:relative;}
.card:hover{border-color:var(--blue);box-shadow:0 20px 40px -24px rgba(11,42,82,.35);transform:translateY(-3px);}
.card .cic{width:48px;height:48px;border-radius:12px;background:var(--surface);border:1px solid var(--line);display:flex;align-items:center;justify-content:center;margin-bottom:16px;}
.card:hover .cic{background:var(--blue);border-color:var(--blue);}
.card .cic svg{width:26px;height:26px;stroke:var(--blue);fill:none;stroke-width:1.7;}
.card:hover .cic svg{stroke:#fff;}
.card h3{font-weight:700;font-size:20px;margin-bottom:8px;}
.card p{color:var(--body);font-size:15px;}
.card .specs{margin-top:16px;padding-top:14px;border-top:1px solid var(--line);font-family:'IBM Plex Mono',monospace;font-size:11.5px;color:var(--muted);letter-spacing:.2px;}
.cards-note{margin-top:26px;display:flex;align-items:center;gap:16px;flex-wrap:wrap;background:#fff;border:1px solid var(--line);border-left:4px solid var(--blue);border-radius:12px;padding:18px 22px;}
.cards-note p{color:var(--body);font-size:15px;flex:1;min-width:260px;}
.cards-note strong{color:var(--ink);}

/* how it works */
.steps{display:grid;grid-template-columns:1fr;gap:20px;counter-reset:s;}
@media(min-width:760px){.steps{grid-template-columns:repeat(4,1fr);}}
.step{position:relative;padding-top:24px;}
.step .n{font-family:'Archivo',sans-serif;font-weight:900;font-size:46px;color:var(--surface-2);line-height:1;}
.step h4{font-weight:700;font-size:19px;margin:10px 0 7px;}
.step p{color:var(--body);font-size:15px;}
.step .bar{position:absolute;top:0;left:0;width:46px;height:5px;background:var(--blue);border-radius:3px;}

/* photo band */
.band{position:relative;color:#fff;background:var(--navy);overflow:hidden;}
.band img.bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.26;}
.band:before{content:"";position:absolute;inset:0;background:linear-gradient(100deg,rgba(8,30,60,.92),rgba(8,30,60,.55));}
.band .wrap{position:relative;padding:90px 32px;}
.band h2{font-weight:900;font-size:clamp(30px,4.2vw,52px);letter-spacing:-1px;max-width:760px;color:#fff;}
.band p{margin-top:18px;color:#cfe0f3;font-size:18px;max-width:560px;}
.band .cta{margin-top:30px;display:flex;gap:14px;flex-wrap:wrap;}

/* pricing */
.ptable{background:#fff;border:1px solid var(--line);border-radius:16px;overflow:hidden;}
.ptable .r{display:grid;grid-template-columns:1.4fr 1fr 1fr 1fr;align-items:center;padding:16px 24px;border-bottom:1px solid var(--line);}
.ptable .r:last-child{border-bottom:none;}
.ptable .r.head{background:var(--surface);font-family:'IBM Plex Mono',monospace;font-size:11px;letter-spacing:1.4px;text-transform:uppercase;color:var(--muted);}
.ptable .r .nm{font-weight:700;}
.ptable .r .mono{font-family:'IBM Plex Mono',monospace;font-size:14px;color:var(--body);}
.ptable .r .price{font-family:'Archivo',sans-serif;font-weight:800;color:var(--blue);}
.pnote{margin-top:16px;font-size:14px;color:var(--muted);display:flex;align-items:center;gap:10px;}

/* split feature */
.split{display:grid;grid-template-columns:1fr;gap:40px;align-items:center;}
@media(min-width:920px){.split{grid-template-columns:1fr 1fr;gap:56px;}}
.split .pic{border-radius:16px;overflow:hidden;border:1px solid var(--line);box-shadow:0 24px 50px -28px rgba(11,42,82,.35);}
.split .pic img{width:100%;height:430px;object-fit:cover;}
.vlist{display:flex;flex-direction:column;gap:18px;margin-top:24px;}
.vitem{display:flex;gap:14px;}
.vitem .vi{width:40px;height:40px;border-radius:10px;background:var(--surface);border:1px solid var(--line);display:flex;align-items:center;justify-content:center;flex-shrink:0;}
.vitem .vi svg{width:22px;height:22px;stroke:var(--blue);fill:none;stroke-width:1.8;}
.vitem h4{font-weight:700;font-size:17px;margin-bottom:3px;}
.vitem p{color:var(--body);font-size:14.5px;}

/* testimonial */
.quote-wrap{display:grid;grid-template-columns:1fr;gap:18px;}
@media(min-width:820px){.quote-wrap{grid-template-columns:repeat(3,1fr);}}
.tcard{background:#fff;border:1px solid var(--line);border-radius:16px;padding:26px;}
.tcard .stars{color:var(--amber);font-size:15px;letter-spacing:2px;}
.tcard p{margin-top:12px;color:var(--ink);font-size:16px;line-height:1.5;}
.tcard .who{margin-top:16px;font-family:'IBM Plex Mono',monospace;font-size:12px;color:var(--muted);}

/* faq */
.faq{max-width:820px;margin:0 auto;}
.faq details{background:#fff;border:1px solid var(--line);border-radius:12px;margin-bottom:12px;overflow:hidden;}
.faq summary{list-style:none;cursor:pointer;padding:18px 22px;display:flex;align-items:center;justify-content:space-between;font-weight:700;font-size:16px;gap:16px;}
.faq summary::-webkit-details-marker{display:none;}
.faq summary .pm{font-family:'IBM Plex Mono',monospace;color:var(--blue);font-size:20px;transition:.2s;flex-shrink:0;}
.faq details[open] summary .pm{transform:rotate(45deg);}
.faq .ans{padding:0 22px 20px;color:var(--body);font-size:15px;}

/* final cta */
.finalcta{background:var(--blue);color:#fff;border-radius:0;}
.finalcta .wrap{padding:80px 32px;text-align:center;}
.finalcta h2{color:#fff;font-weight:900;font-size:clamp(30px,4vw,48px);letter-spacing:-1px;}
.finalcta p{margin:16px auto 0;color:#d6e6fb;font-size:18px;max-width:520px;}
.finalcta .cta{margin-top:30px;display:flex;gap:14px;justify-content:center;flex-wrap:wrap;}

/* footer */
footer{background:var(--navy);color:#9fb6d4;font-size:14.5px;}
footer .wrap{padding:64px 32px 30px;}
.fgrid{display:grid;grid-template-columns:1fr;gap:36px;}
@media(min-width:760px){.fgrid{grid-template-columns:2fr 1fr 1fr 1fr;}}
footer .logo-chip{background:#fff;border-radius:10px;padding:12px 14px;display:inline-block;}
footer .logo-chip img{height:30px;}
footer .tag{margin-top:16px;font-family:'Archivo',sans-serif;color:#dce8f7;font-size:17px;line-height:1.4;}
footer .contact{margin-top:14px;font-family:'IBM Plex Mono',monospace;font-size:13px;color:#9fb6d4;line-height:1.9;}
footer h5{font-family:'IBM Plex Mono',monospace;font-size:11px;letter-spacing:1.5px;text-transform:uppercase;color:#6f8bb0;margin:0 0 14px;}
footer ul{list-style:none;margin:0;padding:0;}
footer li{padding:5px 0;}
footer li a:hover{color:#fff;}
.fbot{border-top:1px solid rgba(255,255,255,.1);margin-top:44px;padding-top:22px;display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap;font-family:'IBM Plex Mono',monospace;font-size:12px;color:#6f8bb0;}

/* ============ MOBILE NAV ============ */
.hamb{display:inline-flex;flex-direction:column;justify-content:center;gap:5px;width:44px;height:44px;border:1px solid var(--line);border-radius:10px;background:#fff;cursor:pointer;padding:0 11px;flex-shrink:0;}
.hamb span{display:block;height:2px;background:var(--ink);border-radius:2px;transition:.2s;}
.hamb.open span:nth-child(1){transform:translateY(7px) rotate(45deg);}
.hamb.open span:nth-child(2){opacity:0;}
.hamb.open span:nth-child(3){transform:translateY(-7px) rotate(-45deg);}
.mobile-menu{display:none;border-top:1px solid var(--line);background:#fff;padding:8px 0 18px;}
.mobile-menu.open{display:block;}
.mobile-menu a{display:block;padding:13px 20px;font-weight:600;font-size:17px;color:var(--ink);border-bottom:1px solid var(--surface);}
.mobile-menu a:active{background:var(--surface);}
.mobile-menu .mm-cta{margin:16px 20px 0;justify-content:center;display:flex;}
@media(min-width:980px){.hamb{display:none;}.mobile-menu{display:none !important;}}

/* ==========================================================================
   SHARED / INNER PAGES — new components, same tokens
   ========================================================================== */

/* page hero (compact header band used on inner pages) */
.page-hero{background:var(--surface);border-bottom:1px solid var(--line);padding:54px 0 48px;position:relative;overflow:hidden;}
.page-hero:before{content:"";position:absolute;inset:0;background-image:
  linear-gradient(rgba(27,87,166,.04) 1px,transparent 1px),
  linear-gradient(90deg,rgba(27,87,166,.04) 1px,transparent 1px);
  background-size:34px 34px;mask-image:linear-gradient(180deg,#000,transparent 80%);
  -webkit-mask-image:linear-gradient(180deg,#000,transparent 80%);pointer-events:none;}
.page-hero .wrap{position:relative;}
.crumbs{font-family:'IBM Plex Mono',monospace;font-size:12px;color:var(--muted);letter-spacing:.4px;margin-bottom:14px;}
.crumbs a:hover{color:var(--blue);}
.crumbs .sep{margin:0 8px;color:var(--line-2);}
.page-hero h1{font-family:'Archivo',sans-serif;font-weight:800;font-size:clamp(30px,4vw,46px);letter-spacing:-1px;}
.page-hero .lead{margin-top:14px;color:var(--body);font-size:18px;max-width:620px;}

/* generic content section helpers */
.center{text-align:center;}
.maxw-820{max-width:820px;margin-left:auto;margin-right:auto;}
.stack-lg > * + *{margin-top:20px;}
.muted{color:var(--muted);}
.tag-pill{display:inline-flex;align-items:center;gap:7px;font-family:'IBM Plex Mono',monospace;font-size:11px;letter-spacing:1px;
  text-transform:uppercase;color:var(--blue);background:#fff;border:1px solid var(--line);border-radius:999px;padding:6px 12px;}
.tag-pill .dot{width:7px;height:7px;border-radius:50%;background:var(--good);}

/* ---------- FORMS ---------- */
.field{margin-bottom:18px;}
.field > label,.field-label{display:block;font-weight:700;font-size:14px;color:var(--ink);margin-bottom:7px;}
.field .hint{font-size:13px;color:var(--muted);margin-top:6px;}
.field .req{color:var(--bad);}
.input,select.input,textarea.input{
  width:100%;font-family:'Manrope',sans-serif;font-size:15px;color:var(--ink);background:var(--surface);
  border:1.5px solid var(--line);border-radius:10px;padding:12px 14px;transition:.15s;}
.input:focus,select.input:focus,textarea.input:focus{outline:none;border-color:var(--blue);background:#fff;box-shadow:0 0 0 3px rgba(27,87,166,.12);}
textarea.input{min-height:110px;resize:vertical;line-height:1.5;}
select.input{appearance:none;-webkit-appearance:none;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%237c8aa0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat:no-repeat;background-position:right 14px center;padding-right:40px;}
.field-row{display:grid;grid-template-columns:1fr 1fr;gap:16px;}
@media(max-width:560px){.field-row{grid-template-columns:1fr;}}
.field-row-3{display:grid;grid-template-columns:1fr 1fr 1fr;gap:16px;}
@media(max-width:680px){.field-row-3{grid-template-columns:1fr;}}

/* segmented toggle group (print type, delivery) */
.segmented{display:inline-flex;background:var(--surface);border:1.5px solid var(--line);border-radius:10px;padding:4px;gap:4px;flex-wrap:wrap;}
.segmented button{font-family:'Manrope',sans-serif;font-weight:600;font-size:14px;color:var(--body);background:transparent;border:none;
  border-radius:7px;padding:9px 16px;cursor:pointer;transition:.15s;}
.segmented button:hover{color:var(--blue);}
.segmented button.active{background:#fff;color:var(--blue);box-shadow:0 1px 3px rgba(11,42,82,.12);}

/* option tiles (radio-style cards for paper type, delivery, binding) */
.opt-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;}
@media(max-width:560px){.opt-grid{grid-template-columns:1fr;}}
.opt{position:relative;display:flex;align-items:flex-start;gap:12px;background:var(--surface);border:1.5px solid var(--line);
  border-radius:12px;padding:14px 16px;cursor:pointer;transition:.15s;}
.opt:hover{border-color:var(--line-2);background:#fff;}
.opt input{position:absolute;opacity:0;pointer-events:none;}
.opt .box{width:20px;height:20px;border:2px solid var(--line-2);border-radius:50%;flex-shrink:0;margin-top:1px;transition:.15s;position:relative;}
.opt .box.sq{border-radius:6px;}
.opt input:checked ~ .box{border-color:var(--blue);background:var(--blue);}
.opt input:checked ~ .box:after{content:"";position:absolute;inset:0;display:flex;}
.opt .box:after{content:"";position:absolute;left:5px;top:5px;width:6px;height:6px;border-radius:50%;background:#fff;opacity:0;transition:.15s;}
.opt .box.sq:after{left:4px;top:1px;width:6px;height:10px;border:solid #fff;border-width:0 2px 2px 0;border-radius:0;background:none;transform:rotate(45deg);}
.opt input:checked ~ .box:after{opacity:1;}
.opt:has(input:checked){border-color:var(--blue);background:#eef4fb;}
.opt .ot{font-weight:700;font-size:14.5px;}
.opt .od{font-size:12.5px;color:var(--muted);margin-top:2px;}
.opt .mod{margin-left:auto;font-family:'IBM Plex Mono',monospace;font-size:12px;color:var(--blue);font-weight:600;white-space:nowrap;padding-left:8px;}

/* stepper (copies) */
.stepper{display:inline-flex;align-items:center;border:1.5px solid var(--line);border-radius:10px;overflow:hidden;background:#fff;}
.stepper button{width:44px;height:44px;border:none;background:var(--surface);color:var(--ink);font-size:20px;font-weight:700;cursor:pointer;transition:.15s;}
.stepper button:hover{background:var(--surface-2);color:var(--blue);}
.stepper input{width:64px;height:44px;border:none;border-left:1.5px solid var(--line);border-right:1.5px solid var(--line);
  text-align:center;font-family:'IBM Plex Mono',monospace;font-size:16px;font-weight:600;color:var(--ink);background:#fff;}
.stepper input:focus{outline:none;}
.tiers{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px;}
.tier{font-family:'IBM Plex Mono',monospace;font-size:11px;color:var(--muted);background:var(--surface);border:1px solid var(--line);
  border-radius:7px;padding:5px 9px;}
.tier.active{color:var(--blue);border-color:var(--blue);background:#eef4fb;font-weight:600;}

/* ---------- CONFIGURATOR LAYOUT ---------- */
.cfg{display:grid;grid-template-columns:1fr;gap:32px;align-items:start;}
@media(min-width:980px){.cfg{grid-template-columns:1.55fr .95fr;gap:36px;}}
.cfg-panel{background:#fff;border:1px solid var(--line);border-radius:16px;padding:26px;margin-bottom:24px;}
.cfg-panel:last-child{margin-bottom:0;}
.cfg-panel > h3{font-family:'Archivo',sans-serif;font-weight:700;font-size:19px;margin-bottom:4px;}
.cfg-panel > .ph-sub{color:var(--muted);font-size:14px;margin-bottom:20px;}
.cfg-step{display:inline-flex;align-items:center;justify-content:center;width:26px;height:26px;border-radius:7px;background:var(--blue);
  color:#fff;font-family:'IBM Plex Mono',monospace;font-size:13px;font-weight:600;margin-right:10px;vertical-align:middle;}

/* upload zone (configurator variant) */
.upzone{border:2.5px dashed var(--line-2);background:var(--surface);border-radius:14px;padding:34px 24px;text-align:center;
  cursor:pointer;transition:.18s;}
.upzone:hover,.upzone.drag{border-color:var(--blue);background:#eef4fb;}
.upzone .uic{width:54px;height:54px;border-radius:13px;background:var(--blue);display:inline-flex;align-items:center;justify-content:center;margin-bottom:14px;}
.upzone .uic svg{width:27px;height:27px;stroke:#fff;}
.upzone .ut{font-family:'Archivo',sans-serif;font-weight:700;font-size:18px;}
.upzone .us{font-family:'IBM Plex Mono',monospace;font-size:12px;color:var(--muted);margin-top:6px;letter-spacing:.3px;}
.upzone .browse{color:var(--blue);font-weight:700;text-decoration:underline;}

/* file chips */
.filelist{margin-top:18px;display:flex;flex-direction:column;gap:12px;}
.chip{display:flex;align-items:center;gap:14px;background:var(--surface);border:1px solid var(--line);border-radius:12px;padding:14px 16px;}
.chip .fic{width:42px;height:42px;border-radius:9px;background:#fff;border:1px solid var(--line);display:flex;align-items:center;justify-content:center;flex-shrink:0;}
.chip .fic svg{width:22px;height:22px;stroke:var(--blue);fill:none;stroke-width:1.7;}
.chip .meta{flex:1;min-width:0;}
.chip .fn{font-weight:700;font-size:14.5px;color:var(--ink);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.chip .fspec{font-family:'IBM Plex Mono',monospace;font-size:11.5px;color:var(--muted);margin-top:3px;letter-spacing:.2px;}
.chip .fspec .ok{color:var(--good);}
.chip .fspec .err{color:var(--bad);}
.chip .rm{width:34px;height:34px;border-radius:8px;border:1px solid var(--line);background:#fff;color:var(--muted);cursor:pointer;
  font-size:18px;line-height:1;display:flex;align-items:center;justify-content:center;flex-shrink:0;transition:.15s;}
.chip .rm:hover{border-color:var(--bad);color:var(--bad);}
.chip.reading{opacity:.85;}
.chip .prog{height:4px;background:var(--surface-2);border-radius:3px;margin-top:8px;overflow:hidden;}
.chip .prog .bar{height:100%;background:var(--blue);width:0;transition:width .2s linear;}
.chip.err-chip{border-color:var(--bad);background:#fdf3f3;}

/* delivery turnaround note */
.turn-note{display:flex;align-items:center;gap:10px;background:#eef4fb;border:1px solid var(--line);border-radius:10px;
  padding:12px 16px;margin-top:16px;font-size:14px;color:var(--blue);font-weight:600;}
.turn-note svg{width:18px;height:18px;stroke:var(--blue);fill:none;stroke-width:2;flex-shrink:0;}

/* ---------- ORDER SUMMARY PANEL (sticky) ---------- */
.summary{position:sticky;top:94px;background:#fff;border:1px solid var(--line);border-radius:16px;overflow:hidden;
  box-shadow:0 20px 40px -28px rgba(11,42,82,.35);}
.summary .sh{background:var(--navy);color:#fff;padding:18px 22px;display:flex;align-items:center;justify-content:space-between;}
.summary .sh .t{font-family:'IBM Plex Mono',monospace;font-size:12px;letter-spacing:1.5px;text-transform:uppercase;}
.summary .sh .live{display:inline-flex;align-items:center;gap:6px;font-family:'IBM Plex Mono',monospace;font-size:10px;color:#7ce0a8;font-weight:600;}
.summary .sh .live .d{width:7px;height:7px;border-radius:50%;background:var(--good);box-shadow:0 0 0 3px rgba(31,157,91,.25);}
.summary .sbody{padding:20px 22px;}
.sum-file{padding-bottom:14px;margin-bottom:14px;border-bottom:1px solid var(--line);}
.sum-file:last-of-type{border-bottom:none;}
.sum-file .fn{font-weight:700;font-size:14px;}
.sum-file .cfgline{font-family:'IBM Plex Mono',monospace;font-size:11.5px;color:var(--muted);margin-top:4px;line-height:1.6;}
.sline{display:flex;justify-content:space-between;align-items:baseline;font-family:'IBM Plex Mono',monospace;font-size:13px;color:var(--body);padding:4px 0;gap:12px;}
.sline .lbl{color:var(--body);}
.sline.disc .val{color:var(--good);}
.sline.muted-line{color:var(--muted);font-size:12px;}
.sdiv{border-top:1px solid var(--line);margin:12px 0;}
.subtot{display:flex;justify-content:space-between;font-size:14px;color:var(--body);padding:3px 0;}
.subtot .v{font-family:'IBM Plex Mono',monospace;font-weight:600;color:var(--ink);}
.grand{display:flex;justify-content:space-between;align-items:baseline;border-top:2px solid var(--ink);margin-top:12px;padding-top:14px;}
.grand .gl{font-family:'Archivo',sans-serif;font-weight:800;font-size:16px;}
.grand .gv{font-family:'Archivo',sans-serif;font-weight:900;font-size:28px;color:var(--blue);}
.summary .sfoot{padding:0 22px 22px;}
.summary .esc{text-align:center;margin-top:14px;font-size:13px;color:var(--muted);}
.summary .esc a{color:var(--blue);font-weight:700;}
.empty-sum{color:var(--muted);font-size:14px;text-align:center;padding:18px 0;font-family:'IBM Plex Mono',monospace;}

/* mobile sticky total bar */
.mobilebar{position:fixed;left:0;right:0;bottom:0;z-index:60;background:#fff;border-top:1px solid var(--line);
  box-shadow:0 -8px 24px -12px rgba(11,42,82,.25);padding:12px 20px;display:none;align-items:center;gap:14px;}
.mobilebar .mt{flex:1;}
.mobilebar .mt .ml{font-family:'IBM Plex Mono',monospace;font-size:11px;color:var(--muted);text-transform:uppercase;letter-spacing:1px;}
.mobilebar .mt .mv{font-family:'Archivo',sans-serif;font-weight:900;font-size:22px;color:var(--blue);line-height:1;}
@media(max-width:980px){.mobilebar.show{display:flex;}}

/* ---------- CART / CHECKOUT ---------- */
.layout-2{display:grid;grid-template-columns:1fr;gap:32px;align-items:start;}
@media(min-width:980px){.layout-2{grid-template-columns:1.5fr 1fr;gap:40px;}}
.linecard{background:#fff;border:1px solid var(--line);border-radius:14px;padding:20px 22px;display:flex;gap:18px;margin-bottom:16px;}
.linecard .lthumb{width:84px;height:84px;border-radius:10px;background:var(--surface);border:1px solid var(--line);flex-shrink:0;
  display:flex;align-items:center;justify-content:center;overflow:hidden;}
.linecard .lthumb svg{width:30px;height:30px;stroke:var(--muted);fill:none;stroke-width:1.5;}
.linecard .lthumb img{width:100%;height:100%;object-fit:cover;}
.linecard .lbody{flex:1;min-width:0;}
.linecard .lname{font-weight:700;font-size:16px;}
.linecard .lcfg{font-family:'IBM Plex Mono',monospace;font-size:12px;color:var(--muted);margin-top:6px;line-height:1.7;}
.linecard .lactions{display:flex;gap:14px;margin-top:12px;font-size:13px;font-weight:700;}
.linecard .lactions a{color:var(--blue);}
.linecard .lactions a.del{color:var(--muted);}
.linecard .lactions a.del:hover{color:var(--bad);}
.linecard .lprice{text-align:right;flex-shrink:0;}
.linecard .lprice .p{font-family:'Archivo',sans-serif;font-weight:800;font-size:20px;}
.linecard .lprice .q{font-family:'IBM Plex Mono',monospace;font-size:12px;color:var(--muted);margin-top:4px;}
.totals{background:#fff;border:1px solid var(--line);border-radius:16px;padding:24px;position:sticky;top:94px;}
.totals h3{font-family:'Archivo',sans-serif;font-weight:700;font-size:18px;margin-bottom:16px;}
.empty-state{text-align:center;padding:60px 20px;}
.empty-state .ei{width:64px;height:64px;border-radius:16px;background:var(--surface);border:1px solid var(--line);
  display:inline-flex;align-items:center;justify-content:center;margin-bottom:18px;}
.empty-state .ei svg{width:30px;height:30px;stroke:var(--muted);fill:none;stroke-width:1.6;}

/* checkout step indicator */
.cko-steps{display:flex;align-items:center;gap:8px;font-family:'IBM Plex Mono',monospace;font-size:12px;color:var(--muted);
  flex-wrap:wrap;margin-bottom:8px;}
.cko-steps .s{display:inline-flex;align-items:center;gap:7px;}
.cko-steps .s .n{width:22px;height:22px;border-radius:50%;background:var(--surface-2);color:var(--muted);display:flex;
  align-items:center;justify-content:center;font-weight:600;}
.cko-steps .s.active .n{background:var(--blue);color:#fff;}
.cko-steps .s.active{color:var(--blue);font-weight:600;}
.cko-steps .arrow{color:var(--line-2);}
.pay-mock{display:flex;align-items:center;gap:12px;background:var(--surface);border:1.5px dashed var(--line-2);border-radius:10px;padding:16px;color:var(--muted);font-size:13px;font-family:'IBM Plex Mono',monospace;}
.pay-mock svg{width:22px;height:22px;stroke:var(--muted);fill:none;stroke-width:1.7;flex-shrink:0;}
.cardrow{display:grid;grid-template-columns:1fr;gap:14px;}

/* ---------- ORDER CONFIRMATION ---------- */
.confirm-hero{text-align:center;padding:64px 0 40px;}
.confirm-hero .check{width:76px;height:76px;border-radius:50%;background:#e7f6ee;border:2px solid var(--good);
  display:inline-flex;align-items:center;justify-content:center;margin-bottom:22px;}
.confirm-hero .check svg{width:38px;height:38px;stroke:var(--good);fill:none;stroke-width:2.4;}
.confirm-hero h1{font-family:'Archivo',sans-serif;font-weight:900;font-size:clamp(28px,4vw,44px);letter-spacing:-1px;}
.confirm-hero .ordno{display:inline-block;margin-top:18px;font-family:'IBM Plex Mono',monospace;font-size:14px;color:var(--blue);
  background:#eef4fb;border:1px solid var(--line);border-radius:999px;padding:8px 18px;font-weight:600;}

/* ---------- ORDER STATUS ---------- */
.progress-track{display:flex;align-items:flex-start;margin:8px 0 14px;counter-reset:p;}
.pstep{flex:1;text-align:center;position:relative;}
.pstep .pdot{width:34px;height:34px;border-radius:50%;background:var(--surface-2);border:2px solid var(--line-2);color:var(--muted);
  display:flex;align-items:center;justify-content:center;margin:0 auto 10px;position:relative;z-index:2;transition:.2s;}
.pstep .pdot svg{width:16px;height:16px;stroke:currentColor;fill:none;stroke-width:2.4;}
.pstep:before{content:"";position:absolute;top:17px;left:-50%;width:100%;height:3px;background:var(--line-2);z-index:1;}
.pstep:first-child:before{display:none;}
.pstep .plabel{font-weight:700;font-size:13.5px;color:var(--muted);}
.pstep .pdate{font-family:'IBM Plex Mono',monospace;font-size:11px;color:var(--muted);margin-top:3px;}
.pstep.done .pdot{background:var(--blue);border-color:var(--blue);color:#fff;}
.pstep.done:before{background:var(--blue);}
.pstep.current .pdot{background:#fff;border-color:var(--blue);color:var(--blue);box-shadow:0 0 0 5px rgba(27,87,166,.14);}
.pstep.current .plabel{color:var(--blue);}
.pstep.done .plabel{color:var(--ink);}
.status-callout{display:flex;gap:14px;align-items:flex-start;background:#eef4fb;border:1px solid var(--line);border-left:4px solid var(--blue);
  border-radius:12px;padding:18px 20px;margin-top:8px;}
.status-callout .sc-ic{width:40px;height:40px;border-radius:10px;background:var(--blue);display:flex;align-items:center;justify-content:center;flex-shrink:0;}
.status-callout .sc-ic svg{width:20px;height:20px;stroke:#fff;fill:none;stroke-width:2;}
.status-callout h4{font-family:'Archivo',sans-serif;font-weight:700;font-size:16px;margin-bottom:4px;}
.status-callout p{font-size:14px;color:var(--body);}
.info-grid{display:grid;grid-template-columns:1fr;gap:24px;}
@media(min-width:760px){.info-grid{grid-template-columns:1fr 1fr;}}
.info-block h4{font-family:'IBM Plex Mono',monospace;font-size:11px;letter-spacing:1.5px;text-transform:uppercase;color:var(--muted);margin-bottom:10px;}
.info-block .lines{font-size:14.5px;color:var(--body);line-height:1.7;}
.timeline{list-style:none;margin:0;padding:0;}
.timeline li{position:relative;padding:0 0 22px 28px;border-left:2px solid var(--line);}
.timeline li:last-child{border-left-color:transparent;padding-bottom:0;}
.timeline li:before{content:"";position:absolute;left:-7px;top:2px;width:12px;height:12px;border-radius:50%;background:var(--blue);border:2px solid #fff;box-shadow:0 0 0 2px var(--line);}
.timeline .tl-t{font-weight:700;font-size:14.5px;}
.timeline .tl-d{font-family:'IBM Plex Mono',monospace;font-size:12px;color:var(--muted);margin-top:2px;}
.tracking-pill{display:inline-flex;align-items:center;gap:10px;background:var(--surface);border:1px solid var(--line);border-radius:10px;
  padding:12px 16px;font-family:'IBM Plex Mono',monospace;font-size:13px;color:var(--ink);}
.tracking-pill .tn{color:var(--blue);font-weight:600;}

/* ---------- ABOUT / VALUES ---------- */
.value-grid{display:grid;grid-template-columns:1fr;gap:18px;}
@media(min-width:680px){.value-grid{grid-template-columns:1fr 1fr;}}
@media(min-width:980px){.value-grid{grid-template-columns:repeat(3,1fr);}}
.vcard{background:#fff;border:1px solid var(--line);border-radius:14px;padding:24px;}
.vcard .vi{width:46px;height:46px;border-radius:11px;background:var(--surface);border:1px solid var(--line);display:flex;align-items:center;justify-content:center;margin-bottom:14px;}
.vcard .vi svg{width:24px;height:24px;stroke:var(--blue);fill:none;stroke-width:1.7;}
.vcard h4{font-weight:700;font-size:17px;margin-bottom:7px;}
.vcard p{color:var(--body);font-size:14.5px;}
.bigstats{display:grid;grid-template-columns:1fr 1fr;gap:1px;background:var(--line);border:1px solid var(--line);border-radius:16px;overflow:hidden;}
@media(min-width:760px){.bigstats{grid-template-columns:repeat(4,1fr);}}
.bigstats .bs{background:#fff;padding:28px 22px;text-align:center;}
.bigstats .bs .v{font-family:'Archivo',sans-serif;font-weight:900;font-size:36px;color:var(--blue);letter-spacing:-1px;}
.bigstats .bs .l{font-size:14px;color:var(--muted);margin-top:6px;}
.gallery{display:grid;grid-template-columns:1fr 1fr;gap:14px;}
@media(min-width:760px){.gallery{grid-template-columns:repeat(4,1fr);}}
.gallery img{width:100%;height:180px;object-fit:cover;border-radius:12px;border:1px solid var(--line);}

/* ---------- CONTACT ---------- */
.contact-grid{display:grid;grid-template-columns:1fr;gap:32px;align-items:start;}
@media(min-width:920px){.contact-grid{grid-template-columns:1.2fr .8fr;gap:48px;}}
.contact-card{background:var(--surface);border:1px solid var(--line);border-radius:14px;padding:22px;margin-bottom:16px;}
.contact-card h4{font-family:'IBM Plex Mono',monospace;font-size:11px;letter-spacing:1.5px;text-transform:uppercase;color:var(--muted);margin-bottom:10px;}
.contact-card .v{font-size:15px;color:var(--ink);line-height:1.7;}
.contact-card .v a{color:var(--blue);font-weight:600;}
.map-ph{height:220px;border-radius:14px;border:1px solid var(--line);background:
  linear-gradient(rgba(27,87,166,.06) 1px,transparent 1px),
  linear-gradient(90deg,rgba(27,87,166,.06) 1px,transparent 1px),var(--surface);
  background-size:24px 24px,24px 24px,100% 100%;display:flex;align-items:center;justify-content:center;
  font-family:'IBM Plex Mono',monospace;font-size:12px;color:var(--muted);letter-spacing:1px;}

/* form success toast (mock submit) */
.form-note{display:none;align-items:center;gap:12px;background:#e7f6ee;border:1px solid var(--good);border-radius:12px;
  padding:16px 18px;color:#147a45;font-weight:600;font-size:14.5px;margin-bottom:20px;}
.form-note.show{display:flex;}
.form-note svg{width:22px;height:22px;stroke:var(--good);fill:none;stroke-width:2.2;flex-shrink:0;}

/* misc note / alert */
.alert{display:flex;gap:12px;align-items:flex-start;background:#fffaf0;border:1px solid #f3d98a;border-radius:12px;padding:16px 18px;font-size:14px;color:#8a6d1f;}
.alert.open-q{background:#fbf4ff;border-color:#e2c9f0;color:#7a4b95;}
.alert strong{display:block;margin-bottom:2px;}

/* ============ TABLET / SMALL ≤680px (homepage rules from hi-fi) ============ */
@media(max-width:680px){
  body{font-size:16px;}
  .wrap{padding:0 20px;}
  header .wrap{gap:12px;height:64px;}
  header .logo{height:32px;}
  .announce .wrap{height:38px;}
  .announce{font-size:11.5px;}
  .announce .left span:nth-child(n+2){display:none !important;}
  .hero{padding:34px 0 44px;}
  .hero .wrap{gap:34px;}
  .hero .sub{font-size:17px;margin-top:16px;}
  .dropzone{padding:20px 18px;gap:14px;margin-top:22px;}
  .dropzone .ic{width:44px;height:44px;}
  .dropzone .dz-title{font-size:17px;}
  .hero-media .frame img{height:280px;}
  .quote-chip{position:static;width:auto;margin-top:16px;left:0;bottom:0;box-shadow:0 12px 30px -14px rgba(11,42,82,.3);}
  .turn-badge{top:12px;right:12px;}
  section{padding:54px 0;}
  .sec-head{margin-bottom:28px;gap:12px;}
  .ticker .cell{padding:18px 18px;}
  .steps{gap:24px;}
  .step{padding-top:16px;}
  .band .wrap{padding:58px 20px;}
  .split{gap:30px;}
  .split .pic img{height:300px;}
  .ptable .r{display:flex;flex-wrap:wrap;gap:2px 14px;padding:14px 18px;}
  .ptable .r.head{display:none;}
  .ptable .r .nm{flex-basis:100%;}
  .ptable .r .mono{font-size:12px;}
  .ptable .r .price{margin-left:auto;}
  .cards-note{flex-direction:column;align-items:flex-start;}
  .cards-note .btn{width:100%;justify-content:center;}
  .band .cta .btn,.finalcta .cta .btn{flex:1;justify-content:center;min-width:150px;}
  .finalcta .wrap{padding:58px 20px;}
  footer .wrap{padding:48px 20px 28px;}
  /* inner page tweaks */
  .page-hero{padding:38px 0 34px;}
  .cfg-panel{padding:20px;}
  .linecard{flex-wrap:wrap;}
  .linecard .lprice{text-align:left;width:100%;border-top:1px solid var(--line);padding-top:12px;display:flex;justify-content:space-between;align-items:baseline;}
  .progress-track{overflow-x:auto;}
  .pstep .plabel{font-size:12px;}
}
@media(max-width:430px){
  .hero h1{font-size:37px;letter-spacing:-1px;}
  header .btn-primary{padding:10px 14px;font-size:14px;}
  .ticker .grid{grid-template-columns:1fr 1fr;}
  .page-hero h1{font-size:28px;}
  .grand .gv{font-size:24px;}
  .progress-track{min-width:420px;}
}

/* respect reduced motion */
@media(prefers-reduced-motion:reduce){
  *{transition:none !important;scroll-behavior:auto !important;}
}
