/* Pelton: light, professional energy brand. Navy for authority, one green accent for energy. */
:root {
  --navy: #0b2545; --navy-2: #13315c; --navy-soft: #e8eef6;
  --bg: #ffffff; --bg-2: #f4f7fb; --surface: #ffffff; --border: #e2e8f0; --border-strong: #cbd5e1;
  --text: #0f172a; --muted: #5b6b7f; --faint: #8190a3;
  --accent: #0a9e5c; --accent-ink: #ffffff; --accent-soft: #e6f6ee;
  --blue: #2563eb; --warn: #d97706; --bad: #dc2626; --ok: #0a9e5c;
  --radius: 16px; --radius-sm: 10px; --shadow: 0 1px 2px rgba(15, 23, 42, .06), 0 10px 30px -12px rgba(15, 23, 42, .14);
  --font: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif; --display: var(--font);
  color-scheme: light; font-family: var(--font); color: var(--text); background: var(--bg);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 { font-family: var(--display); color: var(--navy); letter-spacing: -.025em; line-height: 1.15; margin: 0 0 .5em; font-weight: 700; }
h1 { font-size: clamp(2rem, 4.2vw, 3rem); }
h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
.muted { color: var(--muted); }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.grad-text { color: var(--accent); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.eyebrow::before { content: ""; width: 24px; height: 2px; background: var(--accent); border-radius: 2px; }

/* Header */
.topbar { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); }
.topbar .container { display: flex; align-items: center; gap: 12px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; margin-right: auto; }
.brand:hover { text-decoration: none; }
.brand img { height: 36px; width: auto; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { color: var(--muted); padding: 9px 14px; border-radius: 8px; font-size: .95rem; font-weight: 500; transition: color .15s, background .15s; }
.nav a:hover { color: var(--navy); background: var(--bg-2); text-decoration: none; }
.nav a.active { color: var(--navy); font-weight: 600; background: var(--bg-2); }
.nav a.btn-primary, .nav a.btn-primary:hover { color: #fff; background: var(--navy); margin-left: 10px; }
.nav-toggle { display: none; background: none; border: 1px solid var(--border-strong); color: var(--navy); border-radius: 8px; padding: 8px 12px; font: inherit; cursor: pointer; }
.badge { display: inline-block; min-width: 1.5em; padding: 0 .45em; border-radius: 999px; background: var(--bad); color: #fff; font-size: .72rem; font-weight: 700; text-align: center; margin-left: 4px; }
main { padding: 0 0 80px; }
.page { padding-top: 48px; }

/* Buttons & forms */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid var(--border-strong); background: #fff; color: var(--navy); padding: 11px 22px; border-radius: 999px; font: inherit; font-weight: 600; font-size: .95rem; cursor: pointer; transition: background .15s, border-color .15s, transform .15s, box-shadow .15s; }
.btn:hover { background: var(--bg-2); border-color: var(--navy-soft); text-decoration: none; transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-primary { background: var(--navy); color: #fff; border-color: var(--navy); }
.btn-primary:hover { background: var(--navy-2); border-color: var(--navy-2); color: #fff; }
.btn-accent { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn-accent:hover { background: #0b8a50; border-color: #0b8a50; color: #fff; }
.btn-danger { background: #fef2f2; color: var(--bad); border-color: #fecaca; }
.btn-danger:hover { background: #fee2e2; }
.btn-lg { padding: 15px 30px; font-size: 1rem; }
.btn:disabled { opacity: .55; cursor: progress; transform: none; }
form.inline { display: inline; }
label { display: block; font-weight: 600; font-size: .88rem; color: var(--navy); margin: 18px 0 6px; }
input, select, textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--border-strong); border-radius: var(--radius-sm); background: #fff; color: var(--text); font: inherit; transition: border-color .15s, box-shadow .15s; }
input::placeholder, textarea::placeholder { color: var(--faint); }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(37, 99, 235, .14); }
.form-row { display: flex; gap: 12px; align-items: flex-end; flex-wrap: wrap; }
.form-row > div { flex: 1 1 200px; }
.flash { padding: 14px 18px; border-radius: var(--radius-sm); margin: 22px 0 0; border: 1px solid; font-weight: 500; }
.flash-success { border-color: #a7f3d0; background: #ecfdf5; color: #065f46; }
.flash-danger { border-color: #fecaca; background: #fef2f2; color: #991b1b; }

/* Cards & data */
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.stat .label { color: var(--muted); font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; }
.stat .value { font-family: var(--display); font-size: 2rem; font-weight: 700; color: var(--navy); font-variant-numeric: tabular-nums; letter-spacing: -.02em; margin-top: 4px; }
.kv { width: 100%; border-collapse: collapse; }
.kv th, .kv td { text-align: left; padding: 13px 4px; border-bottom: 1px solid var(--border); vertical-align: top; }
.kv tr:last-child th, .kv tr:last-child td { border-bottom: 0; }
.kv th { color: var(--muted); font-weight: 500; padding-right: 16px; }
.kv td { text-align: right; font-weight: 600; color: var(--navy); font-variant-numeric: tabular-nums; }
.table { width: 100%; border-collapse: collapse; }
.table th { color: var(--faint); font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 700; }
.table th, .table td { text-align: left; padding: 14px 10px; border-bottom: 1px solid var(--border); }
.table tr:last-child td { border-bottom: 0; }
.table-wrap { overflow-x: auto; }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 999px; font-size: .8rem; font-weight: 600; border: 1px solid var(--border-strong); color: var(--muted); background: #fff; }
.pill.on { border-color: #a7f3d0; color: #047857; background: var(--accent-soft); }
.progress { height: 10px; background: var(--bg-2); border: 1px solid var(--border); border-radius: 999px; overflow: hidden; }
.progress > span { display: block; height: 100%; background: var(--accent); border-radius: 999px; transition: width .6s cubic-bezier(.2, .8, .2, 1); }
.progress.warn > span { background: var(--warn); }
.progress.bad > span { background: var(--bad); }
.live-dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--faint); margin-right: 10px; vertical-align: middle; }
.live-dot.on { background: var(--accent); box-shadow: 0 0 0 0 rgba(10, 158, 92, .5); animation: pulse 1.8s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(10, 158, 92, 0); } 100% { box-shadow: 0 0 0 0 rgba(10, 158, 92, 0); } }
.tabs { display: flex; gap: 4px; flex-wrap: wrap; margin: 0 0 26px; padding: 4px; background: var(--bg-2); border: 1px solid var(--border); border-radius: 999px; width: fit-content; max-width: 100%; overflow-x: auto; }
.tabs a { padding: 8px 18px; border-radius: 999px; color: var(--muted); font-weight: 600; font-size: .9rem; white-space: nowrap; }
.tabs a:hover { color: var(--navy); text-decoration: none; }
.tabs a.active { background: #fff; color: var(--navy); box-shadow: var(--shadow); }
.auth { max-width: 440px; margin: 64px auto; }

/* Public site */
.hero2 { display: grid; grid-template-columns: 1.02fr .98fr; gap: 48px; align-items: center; padding: 40px 0 0; }
.hero2 h1 { font-size: clamp(2.6rem, 5.6vw, 4.3rem); line-height: 1.04; letter-spacing: -.035em; margin: 6px 0 22px; }
.hero2 .lead { font-size: 1.15rem; color: var(--muted); max-width: 520px; margin-bottom: 32px; }
.hero2-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero2-art { position: relative; min-height: 500px; display: grid; place-items: center; border-radius: 32px; background: linear-gradient(160deg, var(--bg-2), #e9f0f9); overflow: hidden; }
.hero2-battery { position: relative; z-index: 2; height: min(440px, 70vw); width: auto; filter: drop-shadow(0 30px 40px rgba(11, 37, 69, .25)); }
.hero2-combox { position: absolute; z-index: 3; width: 40%; left: 4%; bottom: 6%; filter: drop-shadow(0 20px 30px rgba(11, 37, 69, .25)); }
.chip { position: absolute; z-index: 4; display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 14px; background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow); }
.chip b { font-family: var(--display); font-size: 1.15rem; color: var(--navy); display: block; line-height: 1.1; }
.chip small { color: var(--muted); font-size: .8rem; }
.chip i { width: 10px; height: 10px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(10, 158, 92, .18); }
.chip-a { top: 9%; right: 6%; }
.chip-b { bottom: 12%; right: 6%; }
.numbers { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 56px; border-radius: var(--radius); background: var(--navy); color: #fff; overflow: hidden; }
.numbers .num { padding: 34px 28px; border-right: 1px solid rgba(255, 255, 255, .1); }
.numbers .num:last-child { border-right: 0; }
.numbers b { display: block; font-family: var(--display); font-size: clamp(2.1rem, 4vw, 3rem); letter-spacing: -.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.numbers b small { font-size: .45em; color: #6ee7b7; margin-left: 4px; letter-spacing: 0; }
.numbers span { display: block; margin-top: 10px; color: #cbd5e1; font-size: .92rem; }
.section { padding: 96px 0 0; }
.section-head { max-width: 640px; margin-bottom: 40px; }
.section-head h2 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); }
.section-head p { color: var(--muted); font-size: 1.05rem; }
.section-head.center { margin: 0 auto 44px; text-align: center; }
.section-head.center p { margin-inline: auto; }

/* Catalogue */
.cat-row { display: flex; gap: 12px; overflow-x: auto; padding: 4px 2px 16px; scrollbar-width: thin; }
.cat-card { flex: 0 0 auto; min-width: 180px; text-align: left; padding: 18px 22px; border-radius: var(--radius-sm); border: 1px solid var(--border); background: #fff; color: var(--text); font: inherit; cursor: pointer; transition: border-color .2s, box-shadow .2s, transform .2s; }
.cat-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: var(--border-strong); }
.cat-card.on { border-color: var(--navy); box-shadow: inset 0 0 0 1px var(--navy); }
.cat-name { display: block; font-weight: 700; color: var(--navy); text-transform: capitalize; }
.cat-count { display: block; margin-top: 4px; color: var(--muted); font-size: .86rem; }
.cat-tools { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 12px 0 26px; flex-wrap: wrap; }
.cat-search { max-width: 380px; }
.cat-status { font-size: .88rem; }
.products { display: grid; gap: 24px; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.prod-slot[hidden] { display: none; }
.cat-more { display: flex; justify-content: center; margin-top: 32px; }
.cat-more .btn[hidden] { display: none; }
.product-card { display: flex; flex-direction: column; padding: 0; overflow: hidden; color: inherit; transition: transform .25s, box-shadow .25s; }
.product-card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -16px rgba(11, 37, 69, .25); text-decoration: none; }
.product-card .media { aspect-ratio: 4 / 3.4; display: grid; place-items: center; background: linear-gradient(160deg, var(--bg-2), #e9f0f9); }
.product-card .media img { height: 80%; width: auto; max-width: 80%; object-fit: contain; transition: transform .5s cubic-bezier(.2, .8, .2, 1); }
.product-card:hover .media img { transform: scale(1.05); }
.product-card .body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.product-card .tag { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); font-weight: 700; }
.product-card h2 { font-size: 1.15rem; margin: 0; }
.product-card .meta { color: var(--muted); font-size: .88rem; }
.product-card .price { font-family: var(--display); font-size: 1.35rem; font-weight: 700; color: var(--navy); margin-top: auto; padding-top: 12px; }

/* Combox band (navy) */
.combox-band { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; padding: 60px; border-radius: 28px; background: var(--navy); color: #cbd5e1; overflow: hidden; position: relative; }
.combox-band h2 { color: #fff; font-size: clamp(2rem, 3.8vw, 2.8rem); margin: 10px 0 18px; }
.combox-band .eyebrow { color: #6ee7b7; }
.combox-band .eyebrow::before { background: #6ee7b7; }
.combox-band .muted { color: #cbd5e1; }
.combox-band .btn-primary { background: #fff; color: var(--navy); border-color: #fff; }
.combox-band .btn-primary:hover { background: #e2e8f0; border-color: #e2e8f0; }
.mini-stats { display: flex; gap: 32px; margin: 28px 0 34px; flex-wrap: wrap; }
.mini-stats b { display: block; font-family: var(--display); font-size: 1.6rem; color: #fff; }
.mini-stats span { color: #94a3b8; font-size: .88rem; }
.combox-art { position: relative; display: grid; place-items: center; }
.combox-art img { position: relative; width: 100%; max-width: 500px; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .35)); }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.steps li { padding: 34px; border-radius: var(--radius); border: 1px solid var(--border); background: #fff; box-shadow: var(--shadow); }
.step-n { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); font-family: var(--display); font-weight: 800; margin-bottom: 18px; }
.steps h3 { margin-bottom: 10px; }
.steps p { color: var(--muted); margin: 0; }

/* Closing band */
.cta2 { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-top: 96px; padding: 48px; border-radius: 24px; background: var(--bg-2); border: 1px solid var(--border); }
.cta2 h2 { margin-bottom: 6px; }
.cta2 p { color: var(--muted); margin: 0; }

/* Page heads, prose, detail */
.page-head { padding: 24px 0 8px; }
.page-head h1 { margin-bottom: 12px; }
.page-head p { color: var(--muted); font-size: 1.1rem; max-width: 680px; }
.crumbs { color: var(--faint); font-size: .88rem; margin-bottom: 14px; }
.crumbs a { color: var(--muted); }
.prose { line-height: 1.8; color: #334155; max-width: 860px; }
.prose h2, .prose h3, .prose h4 { color: var(--navy); margin-top: 1.8em; }
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .4em; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.prose img { border-radius: var(--radius-sm); }
.prose [style] { visibility: visible !important; }
.detail { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: start; padding-top: 16px; }
.detail .stage { position: sticky; top: 110px; display: grid; place-items: center; aspect-ratio: 1; border-radius: 28px; background: linear-gradient(160deg, var(--bg-2), #e9f0f9); }
.detail .stage img { height: 78%; width: auto; max-width: 78%; object-fit: contain; filter: drop-shadow(0 30px 40px rgba(11, 37, 69, .2)); }
.detail .price { font-family: var(--display); font-size: 2.2rem; font-weight: 700; color: var(--navy); margin: 8px 0 16px; }
.verify-result { display: flex; gap: 16px; align-items: center; margin-bottom: 18px; }
.verify-result .badge-ico { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; flex: none; font-size: 1.4rem; font-weight: 700; }
.verify-result.ok .badge-ico { background: var(--accent-soft); color: var(--accent); }
.verify-result.no .badge-ico { background: #fef2f2; color: var(--bad); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.checks { list-style: none; padding: 0; margin: 20px 0 28px; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; color: #334155; }
.checks li::before { content: ""; flex: none; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%; background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.2 4.2L19 7'/%3E%3C/svg%3E") center/13px no-repeat; }

/* Footer */
.footer { margin-top: 110px; background: var(--navy); color: #cbd5e1; padding: 64px 0 32px; }
.footer .brand img { filter: brightness(0) invert(1); }
.footer .cols { display: grid; gap: 40px; grid-template-columns: 1.4fr repeat(3, 1fr); }
.footer h4 { font-size: .78rem; text-transform: uppercase; letter-spacing: .14em; color: #94a3b8; margin: 0 0 16px; }
.footer a { color: #cbd5e1; display: block; padding: 5px 0; }
.footer a:hover { color: #fff; text-decoration: none; }
.footer .fine { margin-top: 44px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .12); color: #94a3b8; font-size: .88rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }

/* Combox portal */
body.portal .page { padding-top: 32px; }
.dash-hero { display: grid; gap: 20px; grid-template-columns: 1.1fr 1fr 1fr; margin-bottom: 20px; }
.gauge { display: grid; place-items: center; text-align: center; padding: 30px 20px; }
.ring { --pct: 0; --c: var(--accent); position: relative; width: 170px; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(closest-side, #fff 78%, transparent 80% 100%), conic-gradient(var(--c) calc(var(--pct) * 1%), var(--bg-2) 0);
  display: grid; place-items: center; transition: background .5s; }
.ring.warn { --c: var(--warn); }
.ring.bad { --c: var(--bad); }
.ring .num { font-family: var(--display); font-size: 2.4rem; font-weight: 700; line-height: 1; color: var(--navy); font-variant-numeric: tabular-nums; }
.ring .num small { font-size: 1rem; color: var(--muted); font-weight: 500; }
.gauge .cap { margin-top: 14px; color: var(--muted); font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 700; }
.metric { display: flex; flex-direction: column; justify-content: center; gap: 4px; }
.bat-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.bat { display: flex; flex-direction: column; gap: 14px; padding: 22px; color: inherit; transition: transform .2s, box-shadow .2s; }
.bat:hover { transform: translateY(-3px); box-shadow: 0 16px 34px -16px rgba(11, 37, 69, .25); text-decoration: none; }
.bat .top { display: flex; justify-content: space-between; align-items: baseline; }
.bat .top b { font-family: var(--display); font-size: 1.4rem; color: var(--navy); }
.bat .mac { color: var(--faint); font-size: .8rem; font-family: ui-monospace, monospace; }
.bat .pct { font-weight: 700; color: var(--navy); }
.section-title { display: flex; align-items: center; justify-content: space-between; margin: 36px 0 18px; }
.section-title h2 { margin: 0; }
.alert-bar { display: flex; align-items: center; gap: 14px; justify-content: space-between; padding: 14px 20px; border-radius: var(--radius-sm); border: 1px solid #a7f3d0; background: var(--accent-soft); margin-bottom: 20px; flex-wrap: wrap; color: #065f46; font-weight: 500; }
.cells { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); }
.cell { display: grid; gap: 8px; padding: 14px; border-radius: var(--radius-sm); background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow); }
.cell b { font-family: var(--display); font-size: 1.05rem; color: var(--navy); font-variant-numeric: tabular-nums; }
.cell > span { font-size: .72rem; letter-spacing: .08em; }
code { font-family: ui-monospace, "Cascadia Code", monospace; font-size: .88em; color: #334155; }
canvas { max-width: 100%; }

/* Responsive */
@media (max-width: 960px) {
  .hero2, .split, .detail, .combox-band { grid-template-columns: 1fr; }
  .hero2-art { min-height: 380px; order: -1; }
  .detail .stage { position: static; }
  .dash-hero { grid-template-columns: 1fr 1fr; }
  .dash-hero > :first-child { grid-column: 1 / -1; }
  .combox-band { padding: 36px; }
  .footer .cols { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; }
  .numbers { grid-template-columns: 1fr 1fr; }
  .numbers .num:nth-child(2) { border-right: 0; }
  .numbers .num:nth-child(-n+2) { border-bottom: 1px solid rgba(255, 255, 255, .1); }
}
@media (max-width: 820px) {
  .nav-toggle { display: inline-block; }
  .nav { display: none; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; align-items: stretch; padding: 12px 24px 20px; background: #fff; border-bottom: 1px solid var(--border); box-shadow: var(--shadow); }
  .nav.open { display: flex; }
  .nav a { padding: 12px; }
  .nav a.btn-primary { margin: 8px 0 0; text-align: center; }
}
@media (max-width: 560px) {
  .container { padding: 0 18px; }
  .page { padding-top: 28px; }
  .section { padding-top: 64px; }
  .card { padding: 20px; }
  .dash-hero { grid-template-columns: 1fr; }
  .footer .cols { grid-template-columns: 1fr; }
  .numbers .num { padding: 24px 16px; }
  .combox-band { padding: 26px; }
  .cta2 { padding: 28px; }
}
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } html { scroll-behavior: auto; } }

/* Featured products (home) */
.feat-grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); }
.feat { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; color: inherit; box-shadow: var(--shadow); transition: transform .25s, box-shadow .25s, border-color .25s; }
.feat:hover { transform: translateY(-4px); box-shadow: 0 22px 44px -18px rgba(11, 37, 69, .28); border-color: var(--border-strong); text-decoration: none; }
.feat-img { aspect-ratio: 4 / 3; display: grid; place-items: center; background: linear-gradient(160deg, var(--bg-2), #e9f0f9); }
.feat-img img { height: 82%; width: auto; max-width: 82%; object-fit: contain; transition: transform .5s cubic-bezier(.2, .8, .2, 1); }
.feat:hover .feat-img img { transform: scale(1.05); }
.feat-body { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.feat-body .tag { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); font-weight: 700; }
.feat-body h3 { margin: 0; font-size: 1.2rem; }
.feat-specs { list-style: none; margin: 8px 0 0; padding: 0; border-top: 1px solid var(--border); }
.feat-specs li { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--border); font-size: .92rem; }
.feat-specs li span { color: var(--muted); }
.feat-specs li b { color: var(--navy); font-variant-numeric: tabular-nums; text-align: right; }
.feat-foot { display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding-top: 16px; }
.feat-price { font-family: var(--display); font-size: 1.3rem; font-weight: 700; color: var(--navy); }
.feat-link { color: var(--accent); font-weight: 600; font-size: .92rem; }
.feat-all { display: flex; justify-content: center; margin-top: 36px; }
/* Fixed image box so every featured card lines up */
.feat-img { aspect-ratio: auto; height: 250px; }
.feat-img img { height: 86%; width: auto; max-width: 86%; }
.feat-img { position: relative; overflow: hidden; }
.feat-img img { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); height: 84%; width: auto; max-width: 80%; object-fit: contain; }
.feat:hover .feat-img img { transform: translate(-50%, -50%) scale(1.05); }
/* Popularity badge */
.feat { position: relative; }
.pop { position: absolute; z-index: 2; top: 14px; left: 14px; padding: 5px 12px; border-radius: 999px; background: var(--navy); color: #fff; font-size: .74rem; font-weight: 700; letter-spacing: .04em; }

/* Hero photo (solar installation) */
.hero2-photo { position: relative; width: 100%; min-height: 520px; border-radius: 32px; overflow: hidden; box-shadow: 0 30px 60px -24px rgba(11, 37, 69, .35); }
.hero2-photo img { width: 100%; height: 100%; min-height: 520px; object-fit: cover; object-position: center 30%; display: block; }
.hero2-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(11, 37, 69, .45), transparent 45%); }
.hero2-caption { position: absolute; z-index: 2; left: 24px; right: 24px; bottom: 24px; color: #fff; }
.hero2-caption b { display: block; font-family: var(--display); font-size: 1.2rem; }
.hero2-caption span { font-size: .92rem; opacity: .9; }

/* Home: benefits, comparison, questions */
.benefits { display: grid; gap: 22px; grid-template-columns: repeat(3, 1fr); }
.benefit { padding: 30px; border-radius: var(--radius); background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow); }
.b-ico { display: inline-grid; place-items: center; min-width: 44px; height: 44px; padding: 0 10px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); font-family: var(--display); font-weight: 800; margin-bottom: 16px; }
.benefit h3 { margin-bottom: 8px; }
.benefit p { color: var(--muted); margin: 0; }
.compare { align-self: start; }
.qa { display: grid; gap: 12px; max-width: 860px; }
.qa details { border: 1px solid var(--border); border-radius: var(--radius-sm); background: #fff; padding: 18px 22px; }
.qa summary { cursor: pointer; font-weight: 700; color: var(--navy); list-style: none; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; float: right; color: var(--accent); font-size: 1.2rem; line-height: 1; }
.qa details[open] summary::after { content: "−"; }
.qa details p { margin: 12px 0 0; color: var(--muted); }
@media (max-width: 960px) { .benefits { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .benefits { grid-template-columns: 1fr; } }

/* Mobile app section */
.app-band { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; padding: 56px; border-radius: 28px; background: var(--bg-2); border: 1px solid var(--border); }
.store-badge { display: inline-block; margin-top: 10px; }
.store-badge img { height: 56px; width: auto; }
.phones { display: grid; place-items: center; padding: 52px; }
.phone { width: 290px; padding: 16px; border-radius: 44px; background: #0b1220; box-shadow: 0 40px 60px -28px rgba(11, 37, 69, .55); }
.screen { background: none; padding: 0; border-radius: 0; }
.phone img { display: block; width: 100%; height: auto; aspect-ratio: 1080 / 2151; object-fit: contain; border-radius: 28px; background: #fff; }
@media (max-width: 960px) { .app-band { grid-template-columns: 1fr; padding: 32px; } .phones { padding: 20px 0 0; } .phone { width: 260px; } }
@media (max-width: 560px) { .app-band { padding: 22px; } .phone { width: 230px; padding: 12px; border-radius: 36px; } .phone img { border-radius: 24px; } }

/* Dark hero with house illustration */
.hero-dark { position: relative; overflow: hidden; width: 100vw; margin: -48px 0 0 calc(50% - 50vw); padding: 96px max(24px, calc((100vw - 1200px) / 2 + 24px)); border-radius: 0; display: flex; align-items: center; min-height: 640px; background: linear-gradient(90deg, rgba(5, 15, 31, .97) 0%, rgba(5, 15, 31, .9) 34%, rgba(5, 15, 31, .35) 62%, rgba(5, 15, 31, .05) 100%), url("/site/images/hero-bg.webp") center right / cover no-repeat, #050f1f; color: #cbd5e1; }
.hero-dark .hero2-copy { max-width: 620px; }
.hero-dark h1 { color: #fff; }
.hero-dark .grad-text { color: #6ee7b7; }
.hero-dark .eyebrow { color: #6ee7b7; }
.hero-dark .eyebrow::before { background: #6ee7b7; }
.hero-dark .lead { color: #cbd5e1; }
.hero-dark .btn-primary { background: #fff; color: var(--navy); border-color: #fff; }
.hero-dark .btn-primary:hover { background: #e2e8f0; border-color: #e2e8f0; color: var(--navy); }
.hero-dark .btn { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .28); }
.hero-dark .btn:hover { background: rgba(255, 255, 255, .08); color: #fff; }
.hero-points { list-style: none; padding: 0; margin: 0 0 30px; display: grid; gap: 10px; }
.hero-points li { display: flex; gap: 12px; align-items: flex-start; color: #e2e8f0; }
.hero-points li::before { content: ""; flex: none; width: 20px; height: 20px; margin-top: 2px; border-radius: 50%; background: #34d399 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b2545' stroke-width='3.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.2 4.2L19 7'/%3E%3C/svg%3E") center/12px no-repeat; }
.hero-house { margin: 0; }
.hero-house svg { width: 100%; height: auto; display: block; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .45)); }
.hero-house-cap { margin-top: 12px; color: #94a3b8; font-size: .86rem; text-align: center; }
@media (max-width: 960px) { .hero-dark { padding: 48px 24px; } }
@media (max-width: 560px) { .hero-dark { padding: 32px 18px; } }



/* Wordmark beside the logo mark */
.brand-word { font-family: var(--display); font-weight: 800; font-size: 1.1rem; letter-spacing: .2em; color: inherit; line-height: 1; }
.topbar .brand-word { color: #000; }
.footer .brand-word, .admin-brand .brand-word { color: #fff; }
.brand:hover .brand-word { text-decoration: none; }
/* Phone menu button: three dashes */
.nav-toggle { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 40px; padding: 0 10px; }
.nav-toggle span { display: block; height: 2px; width: 100%; background: var(--navy); border-radius: 2px; }
@media (max-width: 820px) { .nav-toggle { display: inline-flex; } }

/* Combox section: portal mockup, benefits, live pulse */
.combox-band { background: radial-gradient(800px 380px at 100% 0%, rgba(46, 229, 157, .14), transparent 60%), var(--navy); grid-template-columns: 1fr 1.05fr; }
.combox-band h2 { font-size: clamp(2rem, 3.6vw, 2.9rem); }
.lead-sm { color: #cbd5e1; font-size: 1.1rem; margin: 0 0 22px; max-width: 480px; }
.live-pulse { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #34d399; margin-right: 10px; box-shadow: 0 0 0 0 rgba(52, 211, 153, .6); animation: pulse 1.8s infinite; vertical-align: middle; }
.cb-points { list-style: none; padding: 0; margin: 0 0 30px; display: grid; gap: 16px; }
.cb-points li { display: flex; gap: 14px; align-items: flex-start; }
.cb-points b { display: block; color: #fff; font-size: 1rem; }
.cb-points span:not(.cb-ico) { color: #94a3b8; font-size: .92rem; }
.cb-ico { flex: none; width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: rgba(110, 231, 183, .12); color: #6ee7b7; font-size: 1rem; }
.cb-cta { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.cb-link { color: #6ee7b7; font-weight: 600; }
.combox-art { position: relative; min-height: 430px; }
.cb-glow { position: absolute; inset: 10% 5%; border-radius: 50%; background: radial-gradient(circle, rgba(46, 229, 157, .25), transparent 65%); filter: blur(10px); }
.portal-mock { position: relative; margin: 0; width: 100%; max-width: 480px; border-radius: 16px; overflow: hidden; background: #0f2a4a; border: 1px solid rgba(255, 255, 255, .12); box-shadow: 0 40px 70px -30px rgba(0, 0, 0, .6); }
.pm-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #0a1f38; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.pm-bar i { width: 9px; height: 9px; border-radius: 50%; background: #334155; }
.pm-bar span { margin-left: auto; color: #64748b; font-size: .72rem; }
.pm-body { padding: 18px; display: grid; gap: 16px; }
.pm-top { display: grid; grid-template-columns: 130px 1fr; gap: 16px; align-items: center; }
.pm-gauge { width: 118px; height: 118px; border-radius: 50%; display: grid; place-content: center; text-align: center; background: radial-gradient(closest-side, #0f2a4a 74%, transparent 76% 100%), conic-gradient(#34d399 0 78%, rgba(255, 255, 255, .1) 78% 100%); }
.pm-gauge b { color: #fff; font-family: var(--display); font-size: 1.6rem; line-height: 1; }
.pm-gauge small, .pm-stats small, .pm-cells small { color: #94a3b8; font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; display: block; }
.pm-stats { display: grid; gap: 10px; }
.pm-stats div { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 8px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.pm-stats b { color: #fff; font-size: 1.05rem; }
.pm-stats b.ok { color: #34d399; }
.pm-cells { display: grid; gap: 10px; }
.pm-cells > div { display: grid; grid-template-columns: 70px 1fr; align-items: center; gap: 12px; }
.pm-cells span { height: 10px; border-radius: 999px; background: linear-gradient(90deg, #34d399, #10b981); width: var(--v); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06); }
.pm-cells > div::after { content: ""; grid-column: 2; }
.combox-device { position: absolute; z-index: 2; width: 46%; right: -6%; bottom: -18px; filter: drop-shadow(0 26px 30px rgba(0, 0, 0, .55)); }
@media (max-width: 960px) { .combox-band { grid-template-columns: 1fr; } .combox-art { min-height: 380px; } }
@media (max-width: 560px) { .pm-top { grid-template-columns: 1fr; justify-items: center; } .combox-device { width: 40%; right: 0; } }
/* Combox photo on its own, centred (portal mockup removed) */
.combox-art { min-height: 0; padding: 20px 0; }
.combox-device { position: relative; right: auto; bottom: auto; width: 78%; margin: 0 auto; display: block; }
/* Combox photo sits on a rounded light card so its white background reads as intentional */
.combox-device { border-radius: 0; box-shadow: none; max-width: 520px; }

/* App section: dark band with a glow behind the phone */
.app-band { background: radial-gradient(640px 320px at 78% 45%, rgba(46, 229, 157, .16), transparent 70%), linear-gradient(160deg, #0b2545, #050f1f); border-color: transparent; color: #cbd5e1; }
.app-band h2 { color: #fff; }
.app-band .eyebrow { color: #6ee7b7; }
.app-band .eyebrow::before { background: #6ee7b7; }
.app-band .muted { color: #cbd5e1; }
.app-band .checks li { color: #e2e8f0; }
.phones { position: relative; }
.phones::before { content: ""; position: absolute; width: 360px; height: 360px; border-radius: 50%; background: radial-gradient(circle, rgba(46, 229, 157, .38), transparent 66%); filter: blur(18px); z-index: 0; }
.phone { position: relative; z-index: 1; }
/* Visible fading glow around the app phone */
.phones::before { width: 480px; height: 480px; background: radial-gradient(circle, rgba(46, 229, 157, .6) 0%, rgba(46, 229, 157, .22) 42%, transparent 70%); filter: blur(26px); }
.phone { box-shadow: 0 0 60px 8px rgba(46, 229, 157, .28), 0 40px 60px -28px rgba(0, 0, 0, .6); }
/* Hand holding the app phone (transparent image) with a soft glow */
.app-hand { display: block; width: 100%; max-width: 380px; margin: 0 auto; height: auto; filter: drop-shadow(0 0 40px rgba(46, 229, 157, .35)) drop-shadow(0 30px 40px rgba(0, 0, 0, .5)); }
/* Hand sits on the bottom edge of the app band */
.app-band { align-items: end; padding: 56px 56px 0; overflow: hidden; }
.app-copy { align-self: center; padding-bottom: 56px; }
.phones { align-self: end; padding: 0; }
.app-hand { margin-bottom: 0; }
@media (max-width: 960px) { .app-band { padding: 40px 28px 0; } .app-copy { padding-bottom: 32px; } }
@media (max-width: 560px) { .app-band { padding: 28px 20px 0; } .app-copy { padding-bottom: 28px; } }

/* Home: menu floats transparently over the hero photo */
body.home .topbar { background: transparent; border-bottom-color: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
body.home .topbar .brand img { filter: brightness(0) invert(1); }
body.home .topbar .brand-word { color: #fff; }
body.home .topbar .nav a { color: #e2e8f0; }
body.home .topbar .nav a:hover, body.home .topbar .nav a.active { color: #fff; background: rgba(255, 255, 255, .12); }
body.home .topbar .nav a.btn-primary { color: var(--navy); background: #fff; }
body.home .topbar .nav-toggle { border-color: rgba(255, 255, 255, .4); }
body.home .topbar .nav-toggle span { background: #fff; }
body.home .hero-dark { margin-top: -120px; padding-top: 168px; }
/* Once scrolled, the menu returns to its normal white bar */
body.home.scrolled .topbar { background: rgba(255, 255, 255, .92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom-color: var(--border); }
body.home.scrolled .topbar .brand img { filter: none; }
body.home.scrolled .topbar .brand-word { color: #000; }
body.home.scrolled .topbar .nav a { color: var(--muted); }
body.home.scrolled .topbar .nav a:hover, body.home.scrolled .topbar .nav a.active { color: var(--navy); background: var(--bg-2); }
body.home.scrolled .topbar .nav a.btn-primary { color: #fff; background: var(--navy); }
body.home.scrolled .topbar .nav-toggle { border-color: var(--border-strong); }
body.home.scrolled .topbar .nav-toggle span { background: var(--navy); }

/* Home menu over the photo: a soft dark wash behind it so the links stay readable */
body.home .topbar { isolation: isolate; }
body.home .topbar::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 130px; background: linear-gradient(180deg, rgba(5, 15, 31, .72) 0%, rgba(5, 15, 31, .35) 60%, rgba(5, 15, 31, 0) 100%); z-index: -1; pointer-events: none; }
body.home .topbar .nav a, body.home .topbar .brand-word { text-shadow: 0 1px 8px rgba(0, 0, 0, .55); }
body.home.scrolled .topbar::before { display: none; }
/* No text shadow once the menu is solid white */
body.home.scrolled .topbar .nav a, body.home.scrolled .topbar .brand-word { text-shadow: none; }
/* Space above the hero buttons */
.hero-dark .hero-cta { padding-top: 28px; }

/* Why Pelton: light section, stat strip, icon cards and a navy chemistry feature */
.why-band { padding: 0; }
.why-stats { display: grid; grid-template-columns: repeat(4, 1fr); margin-bottom: 36px; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.why-stats > div { padding: 26px 22px; border-left: 1px solid var(--border); }
.why-stats > div:first-child { border-left: 0; }
.why-stats b { display: block; font-family: var(--display); font-size: 2.2rem; font-weight: 700; color: var(--navy); letter-spacing: -.02em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.why-stats span { display: block; margin-top: 6px; font-size: .9rem; color: var(--muted); }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.why-card { padding: 28px; border-radius: var(--radius); background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow); }
.why-card h3 { font-size: 1.15rem; margin-bottom: 8px; }
.why-card p { margin: 0; color: var(--muted); font-size: .97rem; }
.why-ico { display: block; width: 48px; height: 48px; padding: 12px; box-sizing: border-box; border-radius: 12px; background: var(--accent-soft); color: var(--accent); margin-bottom: 18px; }
.why-feature { grid-column: span 2; grid-row: span 2; display: flex; flex-direction: column; background: var(--navy); border-color: var(--navy); }
.why-feature h3 { font-size: 1.5rem; color: #fff; }
.why-feature p { font-size: 1.05rem; color: #cbd5e1; }
.why-feature .why-ico { background: rgba(110, 231, 183, .12); color: #6ee7b7; }
.why-diagram { display: block; width: 100%; height: auto; margin-top: auto; padding-top: 24px; }
@media (max-width: 960px) {
    .why-stats { grid-template-columns: 1fr 1fr; }
    .why-stats > div:nth-child(3) { border-left: 0; }
    .why-grid { grid-template-columns: 1fr 1fr; }
    .why-feature { grid-column: span 2; grid-row: auto; }
}
@media (max-width: 560px) {
    .why-stats > div { padding: 18px 14px; }
    .why-stats b { font-size: 1.7rem; }
    .why-grid { grid-template-columns: 1fr; }
    .why-feature { grid-column: auto; }
}

/* Getting started: dark band with connected numbered steps */
.start-band { position: relative; overflow: hidden; border-radius: 28px; padding: 64px 60px; color: #cbd5e1; background: radial-gradient(700px 320px at 0% 0%, rgba(46, 229, 157, .16), transparent 60%), radial-gradient(600px 300px at 100% 100%, rgba(46, 229, 157, .10), transparent 60%), var(--navy); }
.start-band .section-head { margin-bottom: 52px; }
.start-band h2 { color: #fff; }
.start-band .eyebrow { color: #6ee7b7; }
.start-band .eyebrow::before { background: #6ee7b7; }
.start-steps { position: relative; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.start-steps::before { content: ""; position: absolute; top: 29px; left: 16.6%; right: 16.6%; height: 2px; background: linear-gradient(90deg, rgba(110, 231, 183, .15), rgba(110, 231, 183, .6), rgba(110, 231, 183, .15)); }
.start-steps li { position: relative; text-align: center; padding: 0 12px; }
.start-n { display: grid; place-items: center; width: 60px; height: 60px; margin: 0 auto 22px; border-radius: 50%; background: var(--navy); border: 2px solid #6ee7b7; color: #6ee7b7; font-family: var(--display); font-weight: 800; font-size: 1.4rem; box-shadow: 0 0 0 8px rgba(110, 231, 183, .10); }
.start-steps h3 { color: #fff; font-size: 1.25rem; margin-bottom: 10px; }
.start-steps p { color: #94a3b8; margin: 0 auto; max-width: 300px; }
@media (max-width: 960px) { .start-band { padding: 44px 32px; } }
@media (max-width: 820px) {
    .start-steps { grid-template-columns: 1fr; gap: 36px; }
    .start-steps::before { display: none; }
}
@media (max-width: 560px) { .start-band { padding: 36px 22px; border-radius: 22px; } }

/* Already own a Pelton: verify card */
.verify-cta { display: flex; align-items: center; gap: 32px; padding: 40px 44px; border-radius: 24px; background: radial-gradient(600px 240px at 100% 0%, rgba(10, 158, 92, .12), transparent 60%), linear-gradient(135deg, #f0faf5, #f5f8fc); border: 1px solid #cdeedd; box-shadow: var(--shadow); }
.verify-ico { flex: none; display: grid; place-items: center; width: 72px; height: 72px; border-radius: 20px; background: var(--accent); color: #fff; box-shadow: 0 12px 30px -10px rgba(10, 158, 92, .6); }
.verify-ico svg { width: 36px; height: 36px; }
.verify-copy { flex: 1; min-width: 0; }
.verify-copy h2 { margin-bottom: 8px; }
.verify-copy p { color: var(--muted); margin: 0 0 14px; }
.verify-points { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; }
.verify-points li { display: flex; align-items: center; gap: 8px; color: var(--navy); font-weight: 600; font-size: .92rem; }
.verify-points li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.verify-cta .btn { flex: none; }
@media (max-width: 820px) { .verify-cta { flex-direction: column; align-items: flex-start; padding: 30px 24px; } }
@media (max-width: 560px) { .verify-cta { gap: 22px; } .verify-cta .btn { width: 100%; } }

/* Floating WhatsApp button on public pages */
.whatsapp-float { position: fixed; right: 20px; bottom: 20px; z-index: 1000; display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 999px; background: #25d366; color: #fff; font-weight: 600; font-size: .95rem; box-shadow: 0 10px 24px -8px rgba(37, 211, 102, .6); transition: transform .15s, background .15s; }
.whatsapp-float:hover { background: #1ebe5b; color: #fff; transform: translateY(-2px); text-decoration: none; }
.whatsapp-float svg { width: 26px; height: 26px; flex: none; }
@media (max-width: 560px) { .whatsapp-float span { display: none; } .whatsapp-float { padding: 14px; } }

/* Combox login: device picture beside the form on wide screens, above it on small screens */
.connect-art { order: 2; }
.connect-art-img { max-height: 340px; width: auto; max-width: 100%; }
@media (max-width: 960px) {
    .connect-art { order: -1; }
    .connect-art-img { max-height: 240px; display: block; margin: 0 auto; }
}

/* Combox login on small screens: centre the heading and picture on one axis, keep the form fields readable */
@media (max-width: 960px) {
    .connect-copy { text-align: center; margin: 0 auto; }
    .connect-copy .eyebrow { justify-content: center; }
    .connect-copy .muted { margin-left: auto; margin-right: auto; }
    .connect-copy form { text-align: left; }
}

/* Passcode show/hide toggle */
.pass-wrap { position: relative; }
.pass-wrap input { padding-right: 48px; }
.pass-toggle { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; padding: 0; border: 0; border-radius: 8px; background: transparent; color: #64748b; cursor: pointer; }
.pass-toggle:hover, .pass-toggle:focus-visible { color: var(--navy, #0b2545); background: #eef2f7; outline: none; }
.pass-toggle svg { width: 22px; height: 22px; }

/* Icon swap for the passcode toggle */
.pass-toggle .is-hidden { display: none; }

/* Product photo scales up to fill the stage, keeping its proportions (no stretching) */
.detail .stage img { width: 100%; height: 100%; max-width: none; object-fit: contain; }

/* Product actions: manual and order buttons sit apart from the rest of the page */
.product-actions { display: flex; flex-direction: column; gap: 14px; margin-top: 32px; padding-top: 28px; border-top: 1px solid var(--border); }
.product-actions .btn { width: 100%; }

/* Manual download sits above the specification and matches the full-width order button */
.manual-action { margin-top: 28px; }
.manual-action .btn { width: 100%; }

/* Manual card: icon, title, file size and a clear download button */
.manual-card { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; padding: 18px 20px; border-radius: 16px; background: none; border: 1px solid var(--border); }
.manual-card-copy { display: flex; align-items: center; gap: 14px; min-width: 0; }
.manual-card-copy strong { display: block; color: var(--navy); }
.manual-card-copy span { font-size: .9rem; color: var(--muted); }
.manual-ico { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--navy-soft); color: var(--navy); }
.manual-ico svg { width: 24px; height: 24px; }
.manual-card .btn { flex: 1 1 180px; }

/* Space between the description text and the manual card */
.manual-card { margin-top: 32px; }

/* Mobile menu: the dropdown is white, so its links must be dark on the home page too */
@media (max-width: 820px) {
    body.home .topbar .nav a { color: var(--muted); }
    body.home .topbar .nav a:hover, body.home .topbar .nav a.active { color: var(--navy); background: var(--bg-2); }
    body.home .topbar .nav a.btn-primary { color: #fff; background: var(--navy); }
}

/* Mobile menu on the home page: no glow behind the dark links */
@media (max-width: 820px) {
    body.home .topbar .nav a { text-shadow: none; }
}

/* Product photo slideshow: photos stack in the stage, thumbnails sit below at the same width */
.gallery { display: flex; flex-direction: column; gap: 12px; }
.detail .gallery .stage { position: sticky; }
.detail .gallery .stage img.slide { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: contain; filter: drop-shadow(0 30px 40px rgba(11, 37, 69, .2)); opacity: 0; transition: opacity .35s ease; pointer-events: none; }
.detail .gallery .stage img.slide.is-active { opacity: 1; }
.detail .gallery .stage img.slide { padding: 6%; box-sizing: border-box; }
.stage-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .9); color: var(--navy); font-size: 1.6rem; line-height: 1; cursor: pointer; box-shadow: var(--shadow); z-index: 2; }
.stage-prev { left: 12px; }
.stage-next { right: 12px; }
.gallery-thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)); gap: 10px; }
.gallery-thumb { padding: 0; border: 2px solid transparent; border-radius: 12px; background: var(--bg-2); aspect-ratio: 1; overflow: hidden; cursor: pointer; }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery-thumb.is-active, .gallery-thumb:hover { border-color: var(--navy); }

/* Keep the photo and its thumbnails together while scrolling (the whole gallery sticks, not just the photo) */
.detail .gallery .stage { position: relative; top: auto; }
.detail .gallery { position: sticky; top: 110px; }
@media (max-width: 960px) { .detail .gallery { position: static; } }
