@import url("fonts.css");

:root {
  --bg: #f7f8fa;
  --surface: #ffffff;
  --card: #eef2f7;
  --ink: #16212b;
  --ink-soft: #3f4d5a;
  --muted: #6b7683;
  --line: #e2e8f0;
  --line-soft: #eef2f7;
  /* --sage* kept as var names but now the electric-blue accent (fewer edits across components) */
  --sage: #2563eb;
  --sage-deep: #1d4ed8;
  --sage-soft: #e8f0fe;
  --teal: #0ea5a3;
  --teal-soft: #e2f6f5;
  --terra: #0ea5a3;
  --radius: 14px;
  --radius-lg: 20px;
  --shadow: 0 1px 2px rgba(22,33,43,.05), 0 8px 30px rgba(22,33,43,.07);
  --shadow-lg: 0 24px 60px rgba(22,33,43,.16);
  --serif: "Fraunces", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --wrap: 1120px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--sans); font-size: 16px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.12; letter-spacing: -0.01em; margin: 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 22px; }
.serif { font-family: var(--serif); }
.muted { color: var(--muted); }

/* ---------- top bar ---------- */
.topbar {
  position: sticky; top: 0; z-index: 60; background: rgba(247,248,250,.88);
  backdrop-filter: saturate(1.2) blur(12px); border-bottom: 1px solid var(--line-soft);
}
.topbar-in { display: flex; align-items: center; gap: 18px; height: 62px; }
.brand {
  font-family: var(--serif); font-weight: 600; font-size: 26px; letter-spacing: -0.02em;
  text-decoration: none; color: var(--ink); margin-right: auto; line-height: 1;
}
.brand .dot { color: var(--sage); }
.navlinks { display: flex; gap: 22px; }
.navlinks a { text-decoration: none; color: var(--ink-soft); font-size: 14.5px; font-weight: 500; }
.navlinks a:hover { color: var(--ink); }
.cartbtn {
  position: relative; background: var(--ink); color: var(--bg); border: 0; border-radius: 999px;
  padding: 10px 18px 10px 15px; font-size: 14px; font-weight: 600; display: inline-flex; align-items: center; gap: 8px;
}
.cartbtn svg { width: 18px; height: 18px; }
.cartbtn .count {
  position: absolute; top: -6px; right: -6px; min-width: 20px; height: 20px; padding: 0 5px;
  background: var(--sage); color: #fff; border-radius: 999px; font-size: 12px; font-weight: 700;
  display: none; align-items: center; justify-content: center; border: 2px solid var(--bg);
}
.cartbtn.has .count { display: inline-flex; }
@media (max-width: 760px) { .navlinks { display: none; } .brand { font-size: 23px; } }

/* ---------- hero ---------- */
.hero { padding: 40px 0 20px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 44px; align-items: center; }
.kicker {
  display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600;
  letter-spacing: .06em; text-transform: uppercase; color: var(--sage-deep);
  background: var(--sage-soft); padding: 6px 13px; border-radius: 999px;
}
.hero h1 { font-size: clamp(34px, 5vw, 52px); margin: 20px 0 0; }
.hero p.lead { font-size: 18px; color: var(--ink-soft); margin: 18px 0 0; max-width: 30em; }
.hero-cta { margin-top: 28px; display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.shelf-tag { font-family: var(--serif); font-style: italic; color: var(--sage-deep); font-size: 17px; }
.hero-img { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 16/10; background: var(--card); }
.hero-img img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; gap: 26px; }
  .hero-img { order: -1; aspect-ratio: 16/11; }
}

.btn {
  border: 0; border-radius: 999px; font-weight: 600; font-size: 15px; padding: 14px 26px;
  background: var(--ink); color: var(--bg); text-decoration: none; display: inline-flex; align-items: center; gap: 9px;
  transition: transform .12s ease, background .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn.sage { background: var(--sage); }
.btn.ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--line); }
.btn.block { width: 100%; justify-content: center; }
.btn.lg { padding: 16px 30px; font-size: 16px; }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }

/* ---------- trust strip ---------- */
.trust { border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); margin-top: 40px; }
.trust-in { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 34px; padding: 16px 22px; }
.trust-in span { font-size: 13.5px; color: var(--ink-soft); font-weight: 500; display: inline-flex; align-items: center; gap: 8px; }
.trust-in svg { width: 16px; height: 16px; color: var(--sage); }

/* ---------- sections ---------- */
section.blk { padding: 66px 0; }
.sec-head { max-width: 40em; margin-bottom: 34px; }
.sec-head h2 { font-size: clamp(26px, 3.4vw, 36px); }
.sec-head p { color: var(--ink-soft); font-size: 17px; margin: 12px 0 0; }

/* ---------- product grid ---------- */
.pgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 900px) { .pgrid { grid-template-columns: repeat(2, 1fr); gap: 16px; } }
@media (max-width: 560px) { .pgrid { grid-template-columns: 1fr; } }
.pcard {
  background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column;
  transition: transform .15s ease, box-shadow .2s ease; cursor: pointer;
}
.pcard:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.pcard .ph { aspect-ratio: 4/3; background: var(--card); position: relative; overflow: hidden; }
.pcard .ph img { width: 100%; height: 100%; object-fit: cover; }
.pcard .badge {
  position: absolute; top: 12px; left: 12px; background: rgba(46,43,38,.82); color: var(--bg);
  font-size: 11.5px; font-weight: 600; padding: 5px 10px; border-radius: 999px; letter-spacing: .02em;
}
.pcard .badge.mag { background: rgba(111,125,100,.92); }
.pcard .body { padding: 17px 18px 20px; display: flex; flex-direction: column; flex: 1; }
.pcard h3 { font-size: 21px; }
.pcard .tag { color: var(--sage-deep); font-size: 14px; font-style: italic; font-family: var(--serif); margin-top: 2px; }
.pcard .short { color: var(--ink-soft); font-size: 14px; margin: 10px 0 0; flex: 1; }
.pcard .row { display: flex; align-items: center; justify-content: space-between; margin-top: 16px; gap: 10px; }
.price { font-weight: 700; font-size: 19px; }
.swatches { display: flex; gap: 6px; }
.sw { width: 17px; height: 17px; border-radius: 50%; border: 1px solid rgba(0,0,0,.12); box-shadow: inset 0 0 0 2px var(--surface); outline: 1px solid var(--line); }
.stockline { font-size: 12.5px; margin-top: 12px; display: inline-flex; align-items: center; gap: 6px; color: var(--sage-deep); }
.stockline .d { width: 7px; height: 7px; border-radius: 50%; background: var(--sage); }
.stockline.out { color: var(--muted); }
.stockline.out .d { background: var(--muted); }

/* ---------- bundles ---------- */
.bundles { background: var(--sage-soft); border-radius: var(--radius-lg); }
.bgrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
@media (max-width: 640px) { .bgrid { grid-template-columns: 1fr; } }
.bcard {
  background: var(--surface); border-radius: var(--radius); padding: 26px 24px;
  border: 1px solid var(--line-soft); display: flex; flex-direction: column; gap: 6px;
}
.bcard .bq { font-size: 13px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--sage-deep); }
.bcard h3 { font-size: 25px; }
.bcard .bp { font-weight: 700; font-size: 22px; margin-top: 6px; }
.bcard .bp s { color: var(--muted); font-weight: 400; font-size: 16px; margin-left: 8px; }
.bcard p { color: var(--ink-soft); font-size: 14.5px; margin: 4px 0 0; }

/* ---------- story ---------- */
.story { background: var(--ink); color: #f3efe7; border-radius: var(--radius-lg); overflow: hidden; }
.story-grid { display: grid; grid-template-columns: 1fr 1fr; }
.story-grid .im { background: var(--card); min-height: 320px; }
.story-grid .im img { width: 100%; height: 100%; object-fit: cover; }
.story-grid .tx { padding: 52px 46px; align-self: center; }
.story-grid .tx h2 { color: #fff; font-size: clamp(25px, 3vw, 34px); }
.story-grid .tx p { color: #cfc9bd; font-size: 16px; margin-top: 18px; }
.story-grid .tx .sig { margin-top: 20px; font-family: var(--serif); font-style: italic; color: #97a68d; }
@media (max-width: 780px) { .story-grid { grid-template-columns: 1fr; } .story-grid .im { min-height: 220px; } .story-grid .tx { padding: 34px 26px; } }

/* ---------- faq ---------- */
.faq { max-width: 760px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); padding: 6px 0; }
.faq summary { list-style: none; cursor: pointer; padding: 16px 0; font-weight: 600; font-size: 17px; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 22px; color: var(--sage); font-weight: 400; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--ink-soft); margin: 0 0 18px; font-size: 15px; }

/* ---------- footer ---------- */
footer { background: var(--card); border-top: 1px solid var(--line); margin-top: 20px; }
.foot { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 30px; padding: 52px 0 30px; }
.foot .brand { font-size: 28px; }
.foot h4 { font-size: 13px; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); margin: 0 0 14px; }
.foot a { display: block; text-decoration: none; color: var(--ink-soft); font-size: 14.5px; padding: 4px 0; }
.foot a:hover { color: var(--ink); }
.foot p { color: var(--ink-soft); font-size: 14px; margin: 10px 0 0; max-width: 26em; }
.footbar { border-top: 1px solid var(--line); padding: 18px 0; font-size: 12.5px; color: var(--muted); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
@media (max-width: 700px) { .foot { grid-template-columns: 1fr 1fr; } .foot .brand { grid-column: 1 / -1; } }

/* ---------- product detail overlay ---------- */
.overlay { position: fixed; inset: 0; z-index: 80; display: none; }
.overlay.open { display: block; }
.overlay .scrim { position: absolute; inset: 0; background: rgba(30,28,24,.5); backdrop-filter: blur(2px); }
.sheet {
  position: absolute; inset: 0; overflow-y: auto; -webkit-overflow-scrolling: touch;
  background: var(--bg); animation: fadein .2s ease;
}
@keyframes fadein { from { opacity: 0; } to { opacity: 1; } }
.pd-top { position: sticky; top: 0; z-index: 2; background: rgba(247,248,250,.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line-soft); }
.pd-top .wrap { display: flex; align-items: center; height: 58px; gap: 14px; }
.backbtn { background: none; border: 0; font-size: 15px; font-weight: 600; color: var(--ink-soft); display: inline-flex; align-items: center; gap: 7px; padding: 8px 0; }
.pd-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; padding: 34px 0 60px; }
@media (max-width: 820px) { .pd-grid { grid-template-columns: 1fr; gap: 24px; } }
.pd-gallery { border-radius: var(--radius-lg); overflow: hidden; background: var(--card); aspect-ratio: 4/3; box-shadow: var(--shadow); }
.pd-gallery img { width: 100%; height: 100%; object-fit: cover; }
.pd-info h1 { font-size: clamp(30px, 4vw, 42px); }
.pd-info .tag { font-family: var(--serif); font-style: italic; color: var(--sage-deep); font-size: 18px; margin-top: 6px; }
.pd-info .pdprice { font-size: 26px; font-weight: 700; margin: 18px 0; }
.pd-info .desc { color: var(--ink-soft); font-size: 16px; }
.opt-label { font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); margin: 24px 0 10px; }
.colorpick { display: flex; gap: 10px; flex-wrap: wrap; }
.cw { display: flex; flex-direction: column; align-items: center; gap: 6px; background: none; border: 0; padding: 0; }
.cw .dot { width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(0,0,0,.12); outline: 2px solid transparent; outline-offset: 2px; transition: outline-color .15s; }
.cw.sel .dot { outline-color: var(--sage); }
.cw .nm { font-size: 12px; color: var(--ink-soft); }
.cw:disabled { opacity: .35; }
.cw:disabled .nm::after { content: " (slut)"; }
.qtyrow { display: flex; align-items: center; gap: 14px; margin: 22px 0; }
.stepper { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 999px; overflow: hidden; }
.stepper button { background: none; border: 0; width: 42px; height: 44px; font-size: 20px; color: var(--ink); }
.stepper span { min-width: 34px; text-align: center; font-weight: 600; }
.specs { margin-top: 26px; border-top: 1px solid var(--line); padding-top: 20px; }
.specs h4 { font-size: 13px; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); margin: 0 0 12px; }
.specs li { list-style: none; padding: 7px 0 7px 26px; position: relative; font-size: 15px; color: var(--ink-soft); }
.specs li::before { content: ""; position: absolute; left: 2px; top: 14px; width: 8px; height: 8px; border-radius: 50%; background: var(--sage); }
.rendernote { font-size: 12.5px; color: var(--muted); margin-top: 18px; font-style: italic; }
.crosssell { margin-top: 40px; }
.crosssell h4 { font-size: 13px; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); margin: 0 0 14px; }
.cs-row { display: flex; gap: 14px; overflow-x: auto; padding-bottom: 6px; }
.cs-item { flex: 0 0 130px; cursor: pointer; }
.cs-item .im { aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: var(--card); }
.cs-item .im img { width: 100%; height: 100%; object-fit: cover; }
.cs-item .nm { font-size: 13.5px; font-weight: 600; margin-top: 8px; }
.cs-item .pr { font-size: 13px; color: var(--muted); }

/* ---------- cart drawer ---------- */
.drawer { position: fixed; inset: 0; z-index: 90; display: none; }
.drawer.open { display: block; }
.drawer .scrim { position: absolute; inset: 0; background: rgba(30,28,24,.45); }
.drawer .panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(430px, 100%);
  background: var(--bg); display: flex; flex-direction: column; box-shadow: var(--shadow-lg);
  transform: translateX(100%); transition: transform .28s cubic-bezier(.4,0,.2,1);
}
.drawer.open .panel { transform: translateX(0); }
.dhead { display: flex; align-items: center; justify-content: space-between; padding: 20px 22px 14px; border-bottom: 1px solid var(--line-soft); }
.dhead h3 { font-size: 22px; }
.dclose { background: none; border: 0; font-size: 26px; color: var(--muted); line-height: 1; padding: 4px; }
.freeship { padding: 14px 22px; background: var(--sage-soft); }
.freeship .msg { font-size: 13.5px; font-weight: 600; color: var(--sage-deep); margin-bottom: 8px; display: flex; align-items: center; gap: 6px; }
.fsbar { height: 7px; background: #dfe4d8; border-radius: 999px; overflow: hidden; }
.fsbar i { display: block; height: 100%; background: var(--sage); border-radius: 999px; transition: width .3s ease; }
.ditems { flex: 1; overflow-y: auto; padding: 8px 22px; }
.dline { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line-soft); }
.dline .im { flex: 0 0 66px; height: 66px; border-radius: 12px; overflow: hidden; background: var(--card); }
.dline .im img { width: 100%; height: 100%; object-fit: cover; }
.dline .meta { flex: 1; min-width: 0; }
.dline .nm { font-weight: 600; font-size: 15px; }
.dline .cl { font-size: 13px; color: var(--muted); display: inline-flex; align-items: center; gap: 6px; margin-top: 2px; }
.dline .cl .sw { width: 12px; height: 12px; }
.dline .ctl { display: flex; align-items: center; justify-content: space-between; margin-top: 10px; }
.dline .mini { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; }
.dline .mini button { background: none; border: 0; width: 30px; height: 30px; font-size: 16px; color: var(--ink); }
.dline .mini span { min-width: 24px; text-align: center; font-size: 14px; font-weight: 600; }
.dline .lp { font-weight: 700; font-size: 15px; }
.dline .rm { background: none; border: 0; color: var(--muted); font-size: 12.5px; text-decoration: underline; padding: 0; margin-top: 6px; }
.bump { margin: 8px 22px; padding: 14px; border: 1.5px dashed var(--line); border-radius: 14px; display: flex; gap: 12px; align-items: center; }
.bump .im { flex: 0 0 48px; height: 48px; border-radius: 10px; overflow: hidden; background: var(--card); }
.bump .im img { width: 100%; height: 100%; object-fit: cover; }
.bump .tx { flex: 1; }
.bump .tx b { font-size: 14px; }
.bump .tx div { font-size: 12.5px; color: var(--muted); }
.bump button { background: var(--sage); color: #fff; border: 0; border-radius: 999px; padding: 8px 14px; font-size: 13px; font-weight: 600; white-space: nowrap; }
.bundlehint { margin: 0 22px 8px; font-size: 13px; color: var(--sage-deep); background: var(--sage-soft); border-radius: 12px; padding: 10px 13px; }
.dfoot { border-top: 1px solid var(--line-soft); padding: 16px 22px 22px; }
.drow { display: flex; justify-content: space-between; font-size: 14.5px; padding: 4px 0; color: var(--ink-soft); }
.drow.save { color: var(--sage-deep); font-weight: 600; }
.drow.tot { font-size: 19px; font-weight: 700; color: var(--ink); padding-top: 10px; margin-top: 6px; border-top: 1px solid var(--line-soft); }
.dfoot .btn { margin-top: 14px; }
.dfoot .secure { text-align: center; font-size: 12px; color: var(--muted); margin-top: 12px; display: flex; align-items: center; justify-content: center; gap: 6px; }
.cart-empty { text-align: center; padding: 60px 22px; color: var(--muted); }
.cart-empty svg { width: 44px; height: 44px; color: var(--line); margin-bottom: 14px; }

/* ---------- success / notice ---------- */
.notice { position: fixed; left: 50%; bottom: 22px; transform: translateX(-50%); z-index: 120;
  background: var(--ink); color: var(--bg); padding: 12px 20px; border-radius: 999px; font-size: 14px; font-weight: 500;
  box-shadow: var(--shadow-lg); opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; }
.notice.show { opacity: 1; transform: translateX(-50%) translateY(-4px); }
.result-card { max-width: 560px; margin: 60px auto; background: var(--surface); border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg); padding: 40px 34px; box-shadow: var(--shadow); text-align: center; }
.result-card .ok { width: 64px; height: 64px; border-radius: 50%; background: var(--sage-soft); display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; }
.result-card .ok svg { width: 30px; height: 30px; color: var(--sage); }
.result-card h1 { font-size: 30px; }
.result-card p { color: var(--ink-soft); margin: 14px 0 0; }
.result-items { text-align: left; margin: 24px 0; border: 1px solid var(--line-soft); border-radius: 14px; padding: 6px 16px; }
.result-items .ri { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--line-soft); font-size: 14.5px; }
.result-items .ri:last-child { border-bottom: 0; }

/* legal page */
.legal { max-width: 760px; margin: 0 auto; padding: 40px 0 70px; }
.legal h1 { font-size: 34px; margin-bottom: 8px; }
.legal h2 { font-family: var(--serif); font-size: 22px; margin: 34px 0 10px; }
.legal p, .legal li { color: var(--ink-soft); font-size: 15.5px; }
.legal .back { color: var(--sage-deep); text-decoration: none; font-weight: 600; font-size: 14px; }

/* ============================================================= Blippbar additions ============= */

/* honesty label on illustration sections */
.illus-note { font-size: 12.5px; color: var(--muted); font-style: italic; margin-top: 10px; }

/* header brand dot uses accent already via .brand .dot */
.cartbtn { background: var(--sage); }
.cartbtn .count { background: var(--teal); }

/* hero tweaks for B2B */
.hero .lead { max-width: 32em; }
.hero-badges { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 8px; }
.hero-badges span { font-size: 12.5px; font-weight: 600; color: var(--sage-deep); background: var(--sage-soft); padding: 6px 12px; border-radius: 999px; }

/* how it works */
.howto { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 820px) { .howto { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px) { .howto { grid-template-columns: 1fr; } }
.hstep { background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 22px 20px; box-shadow: var(--shadow); }
.hstep .n { width: 34px; height: 34px; border-radius: 10px; background: var(--sage-soft); color: var(--sage-deep); font-weight: 800; display: flex; align-items: center; justify-content: center; font-family: var(--sans); }
.hstep h3 { font-family: var(--sans); font-size: 17px; font-weight: 700; margin: 14px 0 6px; }
.hstep p { color: var(--ink-soft); font-size: 14.5px; margin: 0; }

/* who it's for */
.forwho { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
@media (max-width: 900px) { .forwho { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 520px) { .forwho { grid-template-columns: repeat(2, 1fr); } }
.who { background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 18px 16px; text-align: center; box-shadow: var(--shadow); }
.who .ic { width: 42px; height: 42px; margin: 0 auto 10px; color: var(--sage); }
.who .ic svg { width: 100%; height: 100%; }
.who b { font-size: 15px; display: block; }
.who span { font-size: 12.5px; color: var(--muted); }

/* product card: nfc badge + "custom" chip */
.pcard .badge.nfc { background: rgba(37,99,235,.92); left: auto; right: 12px; }
.pcard .cfgnote { font-size: 12px; color: var(--sage-deep); margin-top: 10px; display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.pcard .body .btn { margin-top: 14px; }

/* ---------- configurator (inside product overlay) ---------- */
.cfg { margin-top: 20px; border-top: 1px solid var(--line); padding-top: 20px; }
.cfg h4 { font-family: var(--sans); font-size: 13px; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); margin: 0 0 14px; }
.field { margin-bottom: 14px; }
.field label { display: block; font-size: 13px; font-weight: 600; color: var(--ink-soft); margin-bottom: 6px; }
.field input, .field select { width: 100%; padding: 11px 13px; border: 1.5px solid var(--line); border-radius: 10px; font-size: 15px; font-family: inherit; background: var(--surface); color: var(--ink); }
.field input:focus, .field select:focus { outline: none; border-color: var(--sage); box-shadow: 0 0 0 3px var(--sage-soft); }
.field .hint { font-size: 12px; color: var(--muted); margin-top: 5px; }
.field.err input, .field.err select { border-color: #dc2626; }
.field .emsg { font-size: 12px; color: #dc2626; margin-top: 5px; display: none; }
.field.err .emsg { display: block; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 480px) { .grid2 { grid-template-columns: 1fr; } }
.seg { display: inline-flex; border: 1.5px solid var(--line); border-radius: 10px; overflow: hidden; }
.seg button { background: var(--surface); border: 0; padding: 9px 14px; font-size: 13.5px; font-weight: 600; color: var(--ink-soft); }
.seg button.on { background: var(--sage); color: #fff; }

/* live QR preview */
.qrprev { display: flex; gap: 16px; align-items: flex-start; background: var(--card); border-radius: 14px; padding: 16px; margin: 4px 0 16px; }
.qrprev .canvaswrap { flex: 0 0 132px; background: #fff; border-radius: 12px; padding: 10px; box-shadow: var(--shadow); display: flex; align-items: center; justify-content: center; }
.qrprev canvas { width: 112px; height: 112px; image-rendering: pixelated; display: block; }
.qrprev .pv { flex: 1; min-width: 0; }
.qrprev .pv .plabel { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; margin-bottom: 6px; }
.qrprev .pv .signtext { font-family: var(--serif); font-size: 17px; color: var(--ink); min-height: 22px; word-break: break-word; }
.qrprev .pv .signtext.empty { color: var(--muted); font-style: italic; font-size: 14px; }
.qrprev .pv .qmeta { font-size: 12px; color: var(--muted); margin-top: 8px; word-break: break-all; }

.disclosure { font-size: 12.5px; color: var(--ink-soft); background: var(--teal-soft); border: 1px solid #cbeceb; border-radius: 10px; padding: 10px 12px; margin: 4px 0 14px; }
.disclosure b { color: var(--ink); }
.platehint { font-size: 12px; color: var(--muted); margin-top: 8px; }

/* CTA band */
.ctaband { background: linear-gradient(135deg, #16212b, #1e3350); color: #eaf1fb; border-radius: var(--radius-lg); padding: 44px 40px; text-align: center; }
.ctaband h2 { color: #fff; font-size: clamp(24px, 3vw, 34px); }
.ctaband p { color: #b9c8dc; margin: 12px auto 0; max-width: 34em; }
.ctaband .btn { margin-top: 22px; background: var(--sage); }
@media (max-width: 560px) { .ctaband { padding: 32px 22px; } }

/* pricing band on landing */
.priceband { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
@media (max-width: 760px) { .priceband { grid-template-columns: 1fr; } }
.pb { background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }
.pb .pbp { font-weight: 800; font-size: 22px; }
.pb .pbn { font-size: 13px; color: var(--sage-deep); font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.pb p { font-size: 14px; color: var(--ink-soft); margin: 8px 0 0; }

/* ============ Two-product model: tech badges, subtype selector, use-cases, 3D preview ============ */
.pcard .badge.tech { left: auto; right: 12px; color: #fff; }
.pcard .badge.tech.nfc { background: rgba(37,99,235,.94); }
.pcard .badge.tech.qr { background: rgba(14,165,163,.94); }

/* subtype selector (configurator) */
.subwrap { margin: 4px 0 18px; }
.subchips { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.subchip { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center;
  background: var(--surface); border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 8px;
  cursor: pointer; font-family: inherit; color: var(--ink-soft); transition: border-color .12s, background .12s, color .12s; }
.subchip:hover { border-color: var(--sage); }
.subchip.sel { border-color: var(--sage); background: var(--sage-soft); color: var(--sage-deep); font-weight: 600; }
.subchip .si { width: 26px; height: 26px; }
.subchip .si svg { width: 100%; height: 100%; }
.subchip .sn { font-size: 12.5px; line-height: 1.2; }
@media (max-width: 480px) { .subchips { grid-template-columns: repeat(2, 1fr); } }

/* use-cases (landing) */
.usecases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.ucchip { display: flex; align-items: flex-start; gap: 12px; text-align: left; cursor: pointer; font-family: inherit;
  background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 18px 18px;
  box-shadow: var(--shadow); transition: transform .12s, border-color .12s, box-shadow .12s; }
.ucchip:hover { transform: translateY(-2px); border-color: var(--sage); box-shadow: var(--shadow-lg); }
.ucchip .uci { flex: 0 0 42px; width: 42px; height: 42px; border-radius: 11px; background: var(--sage-soft); color: var(--sage-deep);
  display: flex; align-items: center; justify-content: center; }
.ucchip .uci svg { width: 22px; height: 22px; }
.ucchip .uct { display: flex; flex-direction: column; gap: 3px; }
.ucchip .uct b { font-size: 15.5px; color: var(--ink); }
.ucchip .uct span { font-size: 13px; color: var(--muted); line-height: 1.35; }
@media (max-width: 820px) { .usecases { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .usecases { grid-template-columns: 1fr; } }

/* live preview — 3D + flat "exact code" 2D side by side */
.cfg3d { margin: 4px 0 18px; }
.pvsplit { display: grid; grid-template-columns: 1fr 160px; gap: 14px; align-items: stretch; }
.pvsplit.single, .pvsplit.nogl { grid-template-columns: 1fr; }
.pvsplit.nogl .pv3dwrap { display: none; }
.pv3dwrap { position: relative; min-width: 0; }
.pv3d { width: 100%; height: 320px; border-radius: 16px; overflow: hidden; background: #e8eaee;
  box-shadow: inset 0 1px 3px rgba(22,33,43,.08); touch-action: none; }
.pv3d canvas { display: block; }
.flat2d { display: flex; flex-direction: column; gap: 10px; align-items: center; justify-content: center;
  background: var(--card); border-radius: 16px; padding: 14px; }
.flat2d .f2label { font-size: 11.5px; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; font-weight: 600; align-self: flex-start; }
.flat2d .canvaswrap { width: 100%; background: #fff; border-radius: 12px; padding: 12px; box-shadow: var(--shadow);
  display: flex; align-items: center; justify-content: center; }
.flat2d canvas { width: 116px; height: 116px; image-rendering: pixelated; display: block; }
.cfg3d .qmeta { font-size: 12.5px; color: var(--muted); margin-top: 10px; word-break: break-all; text-align: center; }
@media (max-width: 640px) {
  .pvsplit { grid-template-columns: 1fr; }
  .pv3d { height: 55vw; max-height: 320px; }
  .flat2d { flex-direction: row; justify-content: flex-start; gap: 14px; padding: 12px 14px; }
  .flat2d .f2label { align-self: center; }
  .flat2d .canvaswrap { width: auto; }
}

/* QR-brickan option controls (checkboxes / shape / width / code colour) */
.optblock { margin: 6px 0 2px; }
.optchecks { display: flex; flex-direction: column; gap: 8px; margin-bottom: 6px; }
.optck { position: relative; display: flex; align-items: flex-start; gap: 11px; cursor: pointer; background: var(--surface);
  border: 1.5px solid var(--line); border-radius: 12px; padding: 11px 13px; transition: border-color .12s, background .12s; }
.optck:hover { border-color: var(--sage); }
.optck.on { border-color: var(--sage); background: var(--sage-soft); }
.optck input { position: absolute; opacity: 0; pointer-events: none; }
.optck .oc-box { flex: 0 0 20px; width: 20px; height: 20px; border-radius: 6px; border: 1.5px solid var(--line);
  background: #fff; display: flex; align-items: center; justify-content: center; margin-top: 1px; }
.optck .oc-box svg { width: 13px; height: 13px; stroke: #fff; opacity: 0; }
.optck.on .oc-box { background: var(--sage); border-color: var(--sage); }
.optck.on .oc-box svg { opacity: 1; }
.optck .oc-tx { display: flex; flex-direction: column; gap: 2px; }
.optck .oc-tx b { font-size: 14px; color: var(--ink); font-weight: 600; }
.optck .oc-tx span { font-size: 12px; color: var(--muted); line-height: 1.3; }
.framelabel { margin: 4px 0 10px; }
.segbig { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 4px; }
.segb { display: flex; flex-direction: column; align-items: center; gap: 5px; background: var(--surface);
  border: 1.5px solid var(--line); border-radius: 11px; padding: 10px 6px; font-family: inherit; font-size: 12.5px;
  font-weight: 600; color: var(--ink-soft); cursor: pointer; transition: border-color .12s, background .12s, color .12s; }
.segb:hover { border-color: var(--sage); }
.segb.on { border-color: var(--sage); background: var(--sage-soft); color: var(--sage-deep); }
.segb .si { width: 22px; height: 22px; }
.segb .si svg { width: 100%; height: 100%; }
.codepick { margin-top: 2px; }
.colorinfo { font-size: 12px; color: var(--muted); margin-top: 8px; line-height: 1.4; }
