/* ============================================================
   VaultWorks - Smart Gun Safes
   Bento-grid DTC landing page · vanilla CSS
   ============================================================ */

:root{
  --bg: hsl(220 15% 97%);
  --fg: hsl(222 25% 12%);
  --muted: hsl(222 14% 44%);
  --primary: hsl(215 60% 35%);
  --primary-hover: hsl(215 60% 29%);
  --primary-soft: hsl(215 60% 35% / .09);
  --accent: hsl(38 92% 50%);
  --accent-hover: hsl(38 92% 44%);
  --accent-soft: hsl(38 92% 50% / .13);
  --card: #fff;
  --border: hsl(220 16% 89%);
  --navy: hsl(222 35% 11%);
  --navy-2: hsl(222 32% 15%);
  --radius: 24px;
  --radius-sm: 16px;
  --shadow: 0 2px 16px rgba(15,30,60,.08);
  --shadow-hover: 0 10px 30px rgba(15,30,60,.14);
  --gap: 16px;
  --pad: 24px;
  --ease: cubic-bezier(.22,.7,.35,1);
}

*,*::before,*::after{ box-sizing:border-box; margin:0; padding:0; }

html{ scroll-behavior:smooth; scroll-padding-top:88px; }

body{
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--fg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img,svg{ display:block; max-width:100%; }
a{ color:inherit; }
button{ font:inherit; color:inherit; cursor:pointer; background:none; border:none; }

.num{ font-variant-numeric: tabular-nums; font-feature-settings:"tnum"; }

.sr-only{
  position:absolute; width:1px; height:1px; padding:0; margin:-1px;
  overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; border:0;
}

.skip-link{
  position:fixed; top:-64px; left:16px; z-index:200;
  background:var(--fg); color:#fff; padding:10px 18px; border-radius:12px;
  text-decoration:none; font-weight:600; transition:top .2s var(--ease);
}
.skip-link:focus{ top:12px; }

.container{ max-width:1280px; margin-inline:auto; padding-inline:24px; }
.container-narrow{ max-width:860px; }

.section{ padding:88px 0 24px; }
.hero-section{ padding-top:32px; }

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  padding:12px 22px; border-radius:14px;
  font-weight:600; font-size:.95rem; text-decoration:none;
  border:1.5px solid transparent; white-space:nowrap;
  transition: background .2s ease-out, color .2s ease-out, border-color .2s ease-out,
              transform .2s ease-out, box-shadow .2s ease-out;
}
.btn:active{ transform:scale(.97); }
.btn-sm{ padding:9px 18px; font-size:.9rem; }

.btn-primary{ background:var(--primary); color:#fff; }
.btn-primary:hover{ background:var(--primary-hover); }

.btn-accent{ background:var(--accent); color:hsl(222 25% 12%); box-shadow:0 4px 18px hsl(38 92% 50% / .35); }
.btn-accent:hover{ background:var(--accent-hover); }

.btn-ghost{ background:transparent; color:var(--primary); border-color:hsl(215 40% 80%); }
.btn-ghost:hover{ background:var(--primary-soft); border-color:var(--primary); }

.btn-glass{
  background:hsl(0 0% 100% / .14); color:#fff;
  border-color:hsl(0 0% 100% / .3); backdrop-filter:blur(8px);
}
.btn-glass:hover{ background:hsl(0 0% 100% / .24); }

:where(a,button,input,[tabindex]):focus-visible{
  outline:2.5px solid var(--accent); outline-offset:2px; border-radius:8px;
}
.btn:focus-visible{ border-radius:14px; }

/* ---------- Navbar ---------- */
.navbar{
  position:sticky; top:0; z-index:100;
  background:hsl(0 0% 100% / .8);
  -webkit-backdrop-filter:blur(14px); backdrop-filter:blur(14px);
  border-bottom:1px solid transparent;
  transition:border-color .2s ease-out, box-shadow .2s ease-out;
}
.navbar.scrolled{ border-bottom-color:var(--border); box-shadow:0 1px 12px rgba(15,30,60,.06); }

.nav-inner{
  max-width:1280px; margin-inline:auto; padding:14px 24px;
  display:flex; align-items:center; gap:24px;
}

.logo{
  display:inline-flex; align-items:center; gap:10px;
  font-size:1.25rem; font-weight:700; letter-spacing:-.02em;
  text-decoration:none; color:var(--fg);
}
.logo-mark{ width:30px; height:30px; color:var(--primary); }

.nav-links{ display:flex; gap:6px; margin-inline:auto; }
.nav-links a{
  text-decoration:none; font-size:.93rem; font-weight:500; color:var(--muted);
  padding:8px 13px; border-radius:10px;
  transition:color .15s ease-out, background .15s ease-out;
}
.nav-links a:hover{ color:var(--fg); background:hsl(220 15% 93%); }

.nav-actions{ display:flex; align-items:center; gap:12px; }

.cart-btn{
  position:relative; width:42px; height:42px; border-radius:13px;
  display:grid; place-items:center; color:var(--fg);
  transition:background .15s ease-out;
}
.cart-btn:hover{ background:hsl(220 15% 92%); }
.cart-btn svg{ width:22px; height:22px; }
.cart-count{
  position:absolute; top:1px; right:0;
  min-width:18px; height:18px; padding:0 4px; border-radius:9px;
  background:var(--accent); color:hsl(222 25% 12%);
  font-size:.7rem; font-weight:700; line-height:18px; text-align:center;
}
.cart-count.pop{ animation:pop .35s var(--ease); }
@keyframes pop{ 0%{transform:scale(.4)} 60%{transform:scale(1.25)} 100%{transform:scale(1)} }

.menu-btn{ display:none; width:42px; height:42px; border-radius:13px; flex-direction:column; align-items:center; justify-content:center; gap:5px; }
.menu-btn span{ width:20px; height:2px; background:var(--fg); border-radius:2px; transition:transform .2s var(--ease), opacity .2s; }
.menu-btn[aria-expanded="true"] span:nth-child(1){ transform:translateY(7px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2){ opacity:0; }
.menu-btn[aria-expanded="true"] span:nth-child(3){ transform:translateY(-7px) rotate(-45deg); }

/* ---------- Bento grid primitives ---------- */
.bento{
  display:grid; gap:var(--gap);
  grid-template-columns:repeat(12,1fr);
  grid-auto-rows:minmax(196px,auto);
  grid-auto-flow:dense;
}
.span-3{ grid-column:span 3; }
.span-4{ grid-column:span 4; }
.span-5{ grid-column:span 5; }
.span-8{ grid-column:span 8; }
.span-12{ grid-column:span 12; }
.row-2{ grid-row:span 2; }

.card{
  position:relative; overflow:hidden;
  background:var(--card); border-radius:var(--radius);
  box-shadow:var(--shadow); padding:var(--pad);
  display:flex; flex-direction:column; gap:14px;
  transition:transform .2s ease-out, box-shadow .2s ease-out;
}
@media (hover:hover){
  .card:hover{ transform:translateY(-2px); box-shadow:var(--shadow-hover); }
}

.card-title{ font-size:1.15rem; font-weight:600; line-height:1.3; letter-spacing:-.01em; }
.card-caption{ font-size:.9rem; color:var(--muted); }

.chip{
  display:inline-flex; align-items:center; gap:8px; align-self:flex-start;
  padding:6px 12px; border-radius:999px;
  font-size:.78rem; font-weight:600; letter-spacing:.02em;
  background:hsl(220 15% 94%); color:var(--fg);
}
.chip svg{ width:14px; height:14px; }
.chip-flame{ background:var(--accent-soft); color:hsl(28 85% 38%); }
.chip-live{ background:var(--accent-soft); color:hsl(30 80% 32%); }
.chip-alert{ background:var(--accent-soft); color:hsl(30 80% 32%); }
.chip-onblue{ background:hsl(0 0% 100% / .12); color:hsl(215 40% 85%); }

.status-dot{
  width:8px; height:8px; border-radius:50%; background:var(--accent);
  box-shadow:0 0 0 0 hsl(38 92% 50% / .5);
  animation:pulse 2.4s ease-out infinite;
}
@keyframes pulse{
  0%{ box-shadow:0 0 0 0 hsl(38 92% 50% / .5); }
  70%{ box-shadow:0 0 0 9px hsl(38 92% 50% / 0); }
  100%{ box-shadow:0 0 0 0 hsl(38 92% 50% / 0); }
}
.pulse-dot-svg{ animation:blink 2.2s ease-in-out infinite; }
@keyframes blink{ 0%,100%{opacity:1} 50%{opacity:.25} }

.stat-block{ margin-top:auto; display:flex; flex-direction:column; gap:6px; }
.stat-big{
  font-size:clamp(2.4rem,4vw,3.2rem); font-weight:700; letter-spacing:-.03em; line-height:1;
  color:var(--fg);
}
.stat-unit{ font-size:.45em; font-weight:600; color:var(--muted); margin-left:6px; letter-spacing:0; }
.stat-label{ font-size:.9rem; color:var(--muted); max-width:32ch; }

.inline-link{ color:var(--primary); font-weight:600; text-decoration-thickness:1.5px; text-underline-offset:3px; }

/* ---------- Hero bento ---------- */
.hero-bento{ grid-auto-rows:minmax(208px,auto); }

.card-hero{ padding:0; min-height:460px; color:#fff; }
.hero-scene{ position:absolute; inset:0; width:100%; height:100%; }
.hero-overlay{
  position:relative; z-index:1; margin-top:auto;
  padding:clamp(24px,4vw,44px);
  display:flex; flex-direction:column; align-items:flex-start; gap:16px;
  background:linear-gradient(to top, hsl(222 45% 7% / .92) 0%, hsl(222 45% 8% / .55) 55%, transparent 100%);
}
.hero-eyebrow{
  display:inline-flex; align-items:center; gap:9px;
  font-size:.8rem; font-weight:600; letter-spacing:.06em; text-transform:uppercase;
  color:hsl(38 80% 72%);
}
.card-hero h1{
  font-size:clamp(1.9rem,3.6vw,3rem); font-weight:700;
  line-height:1.12; letter-spacing:-.025em;
  text-wrap:balance;
}
.hero-sub{ max-width:52ch; color:hsl(220 30% 84%); font-size:1.02rem; }
.hero-cta-row{ display:flex; gap:12px; flex-wrap:wrap; margin-top:6px; }

.hero-fp-glow{ animation:blink 3s ease-in-out infinite; }

/* Biometric card */
.card-biometric{ align-items:flex-start; }
.fp-wrap{
  position:relative; width:84px; height:84px; border-radius:22px;
  background:linear-gradient(160deg, hsl(215 55% 96%), hsl(215 45% 91%));
  display:grid; place-items:center; color:var(--primary); overflow:hidden;
}
.fp-icon{ width:52px; height:52px; }
.fp-p{
  stroke-dasharray:1; stroke-dashoffset:1;
  animation:fpDraw 3.4s var(--ease) infinite;
  animation-delay:calc(var(--i) * .12s);
}
@keyframes fpDraw{
  0%{ stroke-dashoffset:1; opacity:0; }
  12%{ opacity:1; }
  38%{ stroke-dashoffset:0; }
  74%{ stroke-dashoffset:0; opacity:1; }
  88%,100%{ stroke-dashoffset:0; opacity:0; }
}
.fp-scanline{
  position:absolute; left:10%; right:10%; height:2.5px; top:12%;
  background:linear-gradient(90deg, transparent, var(--accent), transparent);
  border-radius:2px; animation:scan 3.4s var(--ease) infinite;
}
@keyframes scan{
  0%{ top:12%; opacity:0; }
  10%{ opacity:1; }
  45%{ top:84%; opacity:1; }
  60%,100%{ top:84%; opacity:0; }
}

/* Phone card */
.card-phone{ gap:12px; }
.phone{
  position:relative; margin-inline:auto;
  width:min(230px,100%); border-radius:26px;
  background:linear-gradient(170deg, hsl(222 35% 14%), hsl(222 38% 9%));
  padding:34px 12px 16px; display:flex; flex-direction:column; gap:8px;
  box-shadow:inset 0 0 0 2.5px hsl(220 15% 30%), 0 10px 24px rgba(15,30,60,.22);
}
.phone-notch{
  position:absolute; top:9px; left:50%; transform:translateX(-50%);
  width:64px; height:10px; border-radius:6px; background:hsl(222 20% 22%);
}
.phone-time{
  position:absolute; top:7px; left:18px;
  font-size:.66rem; font-weight:600; color:hsl(220 20% 75%);
}
.notif{
  display:flex; gap:10px; align-items:center;
  background:hsl(0 0% 100% / .95); border-radius:14px; padding:10px 12px;
}
.notif strong{ display:block; font-size:.78rem; letter-spacing:-.01em; }
.notif span{ font-size:.68rem; color:var(--muted); }
.notif-dim{ background:hsl(0 0% 100% / .72); }
.notif-icon{
  flex:none; width:30px; height:30px; border-radius:9px;
  display:grid; place-items:center;
  background:hsl(220 15% 92%); color:var(--primary);
}
.notif-icon svg{ width:16px; height:16px; }
.notif-open{ background:var(--accent-soft); color:hsl(30 85% 34%); }

/* Rating / stars */
.stars{ display:flex; gap:4px; color:var(--accent); }
.stars svg{ width:26px; height:26px; fill:currentColor; }
.stars-sm svg{ width:17px; height:17px; }

/* Certifications strip */
.card-certs{
  flex-direction:row; align-items:center; gap:28px; flex-wrap:wrap;
  margin-top:var(--gap); padding-block:20px;
}
.certs-label{
  font-size:.78rem; font-weight:600; text-transform:uppercase; letter-spacing:.09em;
  color:var(--muted); flex:none;
}
.certs-row{
  list-style:none; display:flex; flex-wrap:wrap; gap:14px 30px; align-items:center;
}
.certs-row li{
  display:inline-flex; align-items:center; gap:8px;
  font-size:.85rem; font-weight:600; letter-spacing:.03em;
  color:hsl(222 15% 38%);
}
.certs-row svg{ width:18px; height:18px; color:var(--primary); }

/* ---------- Section headers ---------- */
.section-head{ max-width:640px; margin-bottom:36px; display:flex; flex-direction:column; gap:12px; }
.section-head-row{
  max-width:none; flex-direction:row; align-items:flex-end;
  justify-content:space-between; gap:24px;
}
.section-head-row > div{ display:flex; flex-direction:column; gap:12px; max-width:640px; }
.eyebrow{
  font-size:.78rem; font-weight:700; text-transform:uppercase; letter-spacing:.11em;
  color:var(--primary);
}
.section-head h2{
  font-size:clamp(1.7rem,3vw,2.4rem); font-weight:700;
  letter-spacing:-.025em; line-height:1.15; text-wrap:balance;
}
.section-head p{ color:var(--muted); font-size:1.02rem; }

/* ---------- Product grid ---------- */
.product-grid{ display:grid; gap:var(--gap); grid-template-columns:repeat(3,1fr); }

.product-card{ padding:0; gap:0; }
.product-flag{
  position:absolute; top:16px; left:16px; z-index:1;
  background:var(--accent); color:hsl(222 25% 12%);
  font-size:.72rem; font-weight:700; letter-spacing:.05em; text-transform:uppercase;
  padding:5px 11px; border-radius:999px;
}
.product-media{
  background:linear-gradient(180deg, hsl(220 20% 99%), hsl(220 16% 95%));
  border-bottom:1px solid var(--border);
  padding:26px 20px 14px;
}
.product-media svg{ width:100%; height:auto; }
.product-body{ padding:22px var(--pad) var(--pad); display:flex; flex-direction:column; gap:8px; }
.product-body h3{ font-size:1.2rem; font-weight:600; letter-spacing:-.015em; }
.product-spec{ font-size:.88rem; color:var(--muted); }
.product-price-row{ display:flex; align-items:baseline; gap:10px; margin-top:8px; }
.price{ font-size:1.65rem; font-weight:700; letter-spacing:-.02em; }
.price-note{ font-size:.8rem; font-weight:600; color:hsl(150 45% 32%); }
.product-actions{ display:flex; gap:10px; margin-top:12px; }
.product-actions .btn-primary{ flex:1; }

.add-to-cart.added{ background:hsl(150 45% 32%); }

/* ---------- Feature bento #2 ---------- */
.alert-demo{ display:flex; flex-direction:column; gap:8px; }
.alert-row{
  display:flex; gap:11px; align-items:center;
  background:hsl(220 18% 96%); border:1px solid var(--border);
  border-radius:14px; padding:11px 13px;
}
.alert-row svg{ flex:none; width:20px; height:20px; color:hsl(30 85% 40%); }
.alert-row strong{ display:block; font-size:.85rem; }
.alert-row span{ font-size:.75rem; color:var(--muted); }
.alert-row-dim svg{ color:hsl(150 45% 36%); }

.redundancy-list{ list-style:none; display:flex; flex-direction:column; gap:14px; margin-top:auto; }
.redundancy-list li{ display:flex; gap:13px; align-items:center; }
.redundancy-list strong{ display:block; font-size:.93rem; }
.redundancy-list span{ font-size:.8rem; color:var(--muted); }
.ri{
  flex:none; width:42px; height:42px; border-radius:13px;
  display:grid; place-items:center;
  background:var(--primary-soft); color:var(--primary);
}
.ri svg{ width:22px; height:22px; }

.sparkline{ width:100%; height:44px; margin-top:4px; opacity:.9; }

/* LED card */
.card-led{ padding:0; gap:0; cursor:pointer; }
.led-scene{ padding:20px 20px 0; background:linear-gradient(180deg, hsl(222 20% 96%), hsl(222 16% 92%)); }
.led-scene svg{ width:100%; height:auto; border-radius:18px; }
.led-copy{ padding:18px var(--pad) var(--pad); display:flex; flex-direction:column; gap:6px; }
.led-hint{ color:var(--primary); font-weight:600; }

.led-flood{ opacity:0; transition:opacity .45s ease-out; }
.led-strip{ transition:fill .45s ease-out; }
.led-contents{ transition:opacity .45s ease-out; opacity:.75; }
.card-led:hover .led-flood,
.card-led:focus-visible .led-flood,
.card-led.lit .led-flood{ opacity:1; }
.card-led:hover .led-strip,
.card-led:focus-visible .led-strip,
.card-led.lit .led-strip{ fill:hsl(40 90% 65%); }
.card-led:hover .led-contents,
.card-led:focus-visible .led-contents,
.card-led.lit .led-contents{ opacity:1; }

/* Dark app card */
.card-dark{
  background:linear-gradient(165deg, hsl(222 34% 15%), hsl(222 38% 9%));
  color:#fff;
}
.card-dark .card-title{ color:#fff; }
.access-list{ list-style:none; display:flex; flex-direction:column; gap:10px; margin-top:auto; }
.access-list li{
  display:flex; align-items:center; gap:12px;
  background:hsl(0 0% 100% / .07); border:1px solid hsl(0 0% 100% / .09);
  border-radius:14px; padding:10px 13px;
}
.access-list div{ flex:1; min-width:0; }
.access-list strong{ display:block; font-size:.88rem; }
.access-list li > div > span{ font-size:.74rem; color:hsl(218 20% 65%); }
.avatar{
  flex:none; width:34px; height:34px; border-radius:50%;
  display:grid; place-items:center;
  font-size:.72rem; font-weight:700; letter-spacing:.02em;
  background:hsl(215 60% 42%); color:#fff;
}
.avatar-2{ background:hsl(200 55% 40%); }
.avatar-3{ background:hsl(222 15% 38%); }
.access-revoked{ opacity:.6; }

.toggle{
  flex:none; width:38px; height:22px; border-radius:11px;
  background:hsl(222 15% 32%); position:relative;
  transition:background .2s ease-out;
}
.toggle span{
  position:absolute; top:3px; left:3px; width:16px; height:16px; border-radius:50%;
  background:#fff; transition:transform .2s var(--ease);
}
.toggle-on{ background:var(--accent); }
.toggle-on span{ transform:translateX(16px); }

/* Warranty card */
.card-warranty{
  background:linear-gradient(170deg, hsl(215 60% 35%), hsl(218 62% 24%));
  color:#fff; justify-content:flex-end;
}
.card-warranty .card-title{ color:#fff; }
.card-warranty .card-caption{ color:hsl(215 45% 82%); }
.warranty-icon{ width:40px; height:40px; color:hsl(38 92% 55%); margin-bottom:auto; }

/* ---------- Trust section ---------- */
.trust-section{
  margin-top:88px; padding:72px 0 44px;
  background:var(--fg); color:var(--bg);
}
.trust-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:44px; }
.trust-col svg{ width:34px; height:34px; color:var(--accent); margin-bottom:16px; }
.trust-col h3{ font-size:1.12rem; font-weight:600; letter-spacing:-.01em; margin-bottom:8px; }
.trust-col p{ font-size:.92rem; color:hsl(220 15% 68%); max-width:36ch; }
.trust-certs{
  margin-top:56px; padding-top:24px;
  border-top:1px solid hsl(220 15% 26%);
  font-size:.74rem; font-weight:600; letter-spacing:.12em;
  color:hsl(220 12% 52%); text-align:center;
}

/* ---------- Reviews ---------- */
.scroll-controls{ display:flex; gap:8px; flex:none; }
.scroll-btn{
  width:44px; height:44px; border-radius:14px;
  background:var(--card); box-shadow:var(--shadow);
  display:grid; place-items:center; color:var(--fg);
  transition:transform .2s ease-out, box-shadow .2s ease-out, opacity .2s;
}
.scroll-btn:hover{ transform:translateY(-2px); box-shadow:var(--shadow-hover); }
.scroll-btn svg{ width:20px; height:20px; }
.scroll-btn:disabled{ opacity:.35; cursor:default; }
.scroll-btn:disabled:hover{ transform:none; box-shadow:var(--shadow); }

.reviews-track{
  display:flex; gap:var(--gap);
  overflow-x:auto; scroll-snap-type:x mandatory;
  max-width:1280px; margin-inline:auto;
  padding:8px 24px 28px;
  scrollbar-width:thin; scrollbar-color:hsl(220 12% 78%) transparent;
}
.review-card{
  flex:0 0 min(340px, 82vw); scroll-snap-align:start;
  background:var(--card); border-radius:var(--radius-sm);
  box-shadow:var(--shadow); padding:var(--pad);
  display:flex; flex-direction:column; gap:14px;
  transition:transform .2s ease-out, box-shadow .2s ease-out;
}
@media (hover:hover){
  .review-card:hover{ transform:translateY(-2px); box-shadow:var(--shadow-hover); }
}
.review-card blockquote{ font-size:.98rem; line-height:1.55; letter-spacing:-.005em; }
.review-card footer{ margin-top:auto; display:flex; align-items:center; justify-content:space-between; gap:10px; }
.reviewer{ font-weight:600; font-size:.92rem; }
.verified{
  display:inline-flex; align-items:center; gap:6px;
  font-size:.76rem; font-weight:600; color:var(--primary);
}
.verified svg{ width:16px; height:16px; }

/* ---------- FAQ ---------- */
.section-faq{ padding-bottom:104px; }
.faq-list{ display:flex; flex-direction:column; gap:12px; }
.faq-item{
  background:var(--card); border-radius:var(--radius-sm);
  box-shadow:var(--shadow); overflow:hidden;
  transition:box-shadow .2s ease-out;
}
.faq-item:has(.faq-trigger[aria-expanded="true"]){ box-shadow:var(--shadow-hover); }
.faq-trigger{
  width:100%; display:flex; align-items:center; justify-content:space-between; gap:16px;
  padding:20px var(--pad); text-align:left;
  font-size:1.02rem; font-weight:600; letter-spacing:-.01em;
}
.faq-chevron{ flex:none; width:20px; height:20px; color:var(--muted); transition:transform .25s var(--ease); }
.faq-trigger[aria-expanded="true"] .faq-chevron{ transform:rotate(180deg); }
.faq-panel{ overflow:hidden; }
.faq-panel p{
  padding:0 var(--pad) 22px; color:var(--muted); font-size:.95rem; max-width:68ch;
}

/* ---------- Footer ---------- */
.footer{ background:var(--navy); color:hsl(220 20% 80%); padding:64px 0 36px; }
.footer-top{
  display:grid; grid-template-columns:minmax(280px,1.15fr) 2fr; gap:56px;
  padding-bottom:44px; border-bottom:1px solid hsl(222 25% 22%);
}
.logo-light{ color:#fff; }
.logo-light .logo-mark{ color:hsl(215 60% 55%); }
.footer-tag{ margin-top:14px; font-size:.92rem; max-width:34ch; }

.newsletter{ margin-top:16px; display:flex; gap:10px; max-width:400px; }
.newsletter input{
  flex:1; min-width:0; padding:12px 16px; border-radius:14px;
  border:1.5px solid hsl(222 20% 28%); background:hsl(222 30% 16%);
  color:#fff; font-size:.93rem;
  transition:border-color .15s ease-out;
}
.newsletter input::placeholder{ color:hsl(220 15% 55%); }
.newsletter input:focus{ outline:none; border-color:var(--accent); }
.newsletter-msg{ margin-top:10px; font-size:.85rem; color:hsl(38 85% 62%); min-height:1.3em; }

.footer-cols{ display:grid; grid-template-columns:repeat(4,1fr); gap:24px; }
.footer-cols h4{
  font-size:.78rem; font-weight:700; text-transform:uppercase; letter-spacing:.1em;
  color:#fff; margin-bottom:14px;
}
.footer-cols a{
  display:block; text-decoration:none; font-size:.9rem; color:hsl(220 18% 68%);
  padding:5px 0; transition:color .15s ease-out;
}
.footer-cols a:hover{ color:#fff; }

.footer-bottom{ padding-top:28px; display:flex; flex-direction:column; gap:10px; }
.footer-disclaimer{ font-size:.86rem; color:hsl(220 15% 62%); max-width:72ch; }
.footer-copy{ font-size:.78rem; color:hsl(222 12% 45%); }

/* ---------- Toast ---------- */
.toast{
  position:fixed; left:50%; bottom:26px; z-index:150;
  transform:translate(-50%, 16px);
  background:var(--fg); color:#fff;
  padding:13px 22px; border-radius:14px;
  font-size:.9rem; font-weight:600;
  box-shadow:0 12px 32px rgba(15,30,60,.3);
  opacity:0; pointer-events:none;
  transition:opacity .25s ease-out, transform .25s var(--ease);
}
.toast.show{ opacity:1; transform:translate(-50%, 0); }

/* ---------- Scroll reveal ---------- */
.reveal{ opacity:0; transform:translateY(14px); }
.reveal.in{
  opacity:1; transform:none;
  transition:opacity .55s ease-out var(--d, 0s), transform .55s var(--ease) var(--d, 0s);
}
.no-observer .reveal, .reduced .reveal{ opacity:1; transform:none; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1080px){
  .hero-bento .card-hero{ grid-column:span 12; }
  .hero-bento .span-4{ grid-column:span 6; }
  .feature-bento .span-4{ grid-column:span 6; }
  .feature-bento .span-5{ grid-column:span 6; }
  .feature-bento .span-3{ grid-column:span 6; }
  .card-certs{ grid-column:span 12; }
}

@media (max-width: 900px){
  .nav-links{
    position:absolute; top:100%; left:0; right:0;
    flex-direction:column; gap:2px; padding:12px 16px 18px; margin:0;
    background:hsl(0 0% 100% / .97);
    -webkit-backdrop-filter:blur(14px); backdrop-filter:blur(14px);
    border-bottom:1px solid var(--border);
    box-shadow:0 16px 32px rgba(15,30,60,.1);
    display:none;
  }
  .nav-links.open{ display:flex; }
  .nav-links a{ padding:12px 14px; font-size:1rem; }
  .menu-btn{ display:flex; }
  .nav-actions .btn{ display:none; }

  .product-grid{ grid-template-columns:1fr; max-width:480px; margin-inline:auto; }
  .section{ padding-top:68px; }
  .trust-grid{ grid-template-columns:1fr; gap:32px; }
  .footer-top{ grid-template-columns:1fr; gap:40px; }
  .footer-cols{ grid-template-columns:repeat(2,1fr); gap:32px 20px; }
  .section-head-row{ flex-direction:column; align-items:flex-start; }
}

@media (max-width: 640px){
  .container{ padding-inline:16px; }
  .bento{ grid-template-columns:1fr; grid-auto-rows:auto; }
  .bento > *{ grid-column:1 / -1 !important; grid-row:auto !important; }
  .card-hero{ min-height:480px; }
  .card{ min-height:190px; }
  .card-certs{ min-height:0; flex-direction:column; align-items:flex-start; gap:14px; }
  .reviews-track{ padding-inline:16px; }
  .newsletter{ flex-direction:column; }
  .hero-section{ padding-top:16px; }
}

/* ============================================================
   Reduced motion
   ============================================================ */
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  *,*::before,*::after{
    animation-duration:.01ms !important;
    animation-iteration-count:1 !important;
    transition-duration:.01ms !important;
  }
  .reveal{ opacity:1; transform:none; }
  .fp-p{ stroke-dashoffset:0; opacity:1; }
  .fp-scanline{ display:none; }
}
