/* GhidCamere.org — Magic Patterns visual port 2026-09-19
   Tokens/layout inspired by MP editor utyaavm1pkqsxiw7rrttzs.
   Content stays real (no invented lab claims / scores / prices). */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Outfit:wght@500;600;700;800&display=swap');

:root {
  --navy-50: #F2F6FA;
  --navy-100: #E2EAF2;
  --navy-200: #C3D2E1;
  --navy-300: #94AAC2;
  --navy-400: #5C7794;
  --navy-500: #33506F;
  --navy-600: #1E3A57;
  --navy-700: #152C44;
  --navy-800: #0F2133;
  --navy-900: #0A1724;
  --navy-950: #060F19;
  --ink: #0A1724;
  --ink-soft: #1E3A57;
  --muted: #5C7794;
  --line: #E2EAF2;
  --surface: #ffffff;
  --surface-alt: #F2F6FA;
  --teal: #0d9488;
  --teal-600: #0d9488;
  --teal-700: #0f766e;
  --teal-800: #115e59;
  --teal-soft: #ccfbf1;
  --teal-50: #f0fdfa;
  --amber: #fbbf24;
  --amber-400: #fbbf24;
  --amber-300: #fcd34d;
  --amber-500: #f59e0b;
  --amber-700: #b45309;
  --amber-soft: #fffbeb;
  --rose-600: #e11d48;
  --rose-700: #be123c;
  --pro: #0d9488;
  --contra: #e11d48;
  --radius: 1rem;
  --radius-sm: 0.75rem;
  --shadow-card: 0 1px 2px rgba(10, 23, 36, 0.04), 0 8px 24px -8px rgba(10, 23, 36, 0.10);
  --shadow-lift: 0 2px 4px rgba(10, 23, 36, 0.04), 0 18px 45px -18px rgba(10, 23, 36, 0.22);
  --max: 1200px;
  --header-h: 64px;
  --sticky-cta-h: 72px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --display: "Outfit", "Inter", system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 6rem; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--surface);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

body.has-sticky-cta { padding-bottom: calc(var(--sticky-cta-h) + env(safe-area-inset-bottom, 0px)); }
@media (min-width: 1024px) {
  body.has-sticky-cta { padding-bottom: 0; }
}

img { max-width: 100%; display: block; }
a { color: var(--teal-700); text-decoration: none; font-weight: 500; }
a:hover { color: var(--teal-800); text-decoration: underline; }
ul, ol { padding-left: 1.25rem; }
li { margin-bottom: 0.4rem; }
strong { font-weight: 700; }

.container {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}
@media (min-width: 1024px) {
  .container { width: min(100% - 4rem, var(--max)); }
}

/* ——— Header ——— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  height: var(--header-h);
  background: rgba(10, 23, 36, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(15, 33, 51, 0.6);
  color: #fff;
}

.site-header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.05rem;
  color: #fff !important;
  text-decoration: none !important;
  letter-spacing: -0.02em;
  border-radius: 0.5rem;
}
.logo:hover { text-decoration: none !important; }
.logo__mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 0.75rem;
  background: rgba(13, 148, 136, 0.15);
  box-shadow: inset 0 0 0 1px rgba(45, 212, 191, 0.3);
  color: #5eead4;
  flex-shrink: 0;
}
.logo__mark svg { width: 18px; height: 18px; }
.logo span { color: #5eead4; }

.nav {
  display: none;
  align-items: center;
  gap: 0.25rem;
}
@media (min-width: 768px) {
  .nav { display: flex; }
}
.nav a {
  color: var(--navy-200) !important;
  text-decoration: none !important;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.5rem 0.875rem;
  border-radius: 0.5rem;
  transition: background 0.15s, color 0.15s;
}
.nav a:hover,
.nav a[aria-current="page"] {
  background: rgba(255,255,255,0.05);
  color: #fff !important;
}

.nav-toggle {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 0.5rem;
  background: transparent;
  color: var(--navy-100);
  cursor: pointer;
}
.nav-toggle:hover { background: rgba(255,255,255,0.05); }
@media (min-width: 768px) {
  .nav-toggle { display: none; }
}

.mobile-nav {
  display: none;
  border-top: 1px solid rgba(15, 33, 51, 0.6);
  background: var(--navy-900);
  padding: 0.5rem 1.25rem 1rem;
}
.mobile-nav.is-open { display: block; }
@media (min-width: 768px) {
  .mobile-nav, .mobile-nav.is-open { display: none !important; }
}
.mobile-nav a {
  display: block;
  padding: 0.65rem 0.5rem;
  color: var(--navy-100) !important;
  text-decoration: none !important;
  font-size: 0.95rem;
  font-weight: 500;
  border-radius: 0.5rem;
}
.mobile-nav a:hover { background: rgba(255,255,255,0.05); }

/* ——— Affiliate disclosure bar ——— */
.disclosure-bar {
  width: 100%;
  border-bottom: 1px solid var(--navy-100);
  background: var(--navy-50);
}
.disclosure-bar__inner {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 0.65rem 0;
  font-size: 0.78rem;
  line-height: 1.55;
  color: var(--navy-500);
}
.disclosure-bar__icon {
  flex-shrink: 0;
  margin-top: 1px;
  color: var(--navy-400);
  width: 16px;
  height: 16px;
}
.disclosure-bar strong { color: var(--navy-600); font-weight: 600; }
.disclosure-bar a {
  color: var(--teal-700);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-color: #5eead4;
}

/* legacy amber disclosure box (in-article) */
.disclosure {
  background: var(--amber-soft);
  border: 1px solid #fcd34d;
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  font-size: 0.875rem;
  color: #78350f;
  margin: 1rem 0 1.5rem;
}
.disclosure strong { color: #92400e; }

/* ——— Hero ——— */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--navy-900);
  color: #fff;
}
.hero__dots {
  pointer-events: none;
  position: absolute;
  inset: 0;
  opacity: 0.07;
  background-image: radial-gradient(circle at 1px 1px, #ffffff 1px, transparent 0);
  background-size: 22px 22px;
}
.hero__grid {
  position: relative;
  padding: 2.5rem 0 3.5rem;
}
@media (min-width: 1024px) {
  .hero__grid {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 3rem;
    padding: 4rem 0 5rem;
    align-items: start;
  }
}

.hero__meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.75rem;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--navy-300);
}
.hero__pill {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: rgba(13, 148, 136, 0.15);
  color: #5eead4;
  padding: 0.25rem 0.65rem;
  box-shadow: inset 0 0 0 1px rgba(45, 212, 191, 0.25);
}
.hero__meta-item {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.hero h1 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(2rem, 4.5vw, 3.375rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-top: 1.25rem;
  color: #fff;
  max-width: 18ch;
}
.hero--home h1 { max-width: 22ch; margin-inline: auto; }

.hero__lead {
  margin-top: 1.25rem;
  max-width: 42rem;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--navy-200);
}
@media (min-width: 1024px) {
  .hero__lead { font-size: 1.0625rem; }
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-top: 2rem;
  max-width: 36rem;
}
.hero__stat {
  border-radius: 1rem;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.04);
  padding: 0.75rem 1rem;
}
.hero__stat dt {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--navy-300);
}
.hero__stat dd {
  margin-top: 0.15rem;
  font-family: var(--display);
  font-size: 1.25rem;
  font-weight: 600;
  color: #fff;
}

.hero__trust {
  margin-top: 1.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: var(--navy-300);
}
.hero__trust svg { color: #5eead4; flex-shrink: 0; }

.hero--home {
  text-align: center;
  padding: 4rem 0 3.5rem;
}
.hero--home .hero__grid { display: block; padding: 0; }
.hero--home .hero__lead { margin-inline: auto; }
.hero--home .hero__stats { margin-inline: auto; }
.hero--home .hero__trust { justify-content: center; }

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #99f6e4;
  margin-bottom: 1rem;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin: 1.5rem 0 0;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  color: #fff !important;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none !important;
}
.chip:hover { background: rgba(13,148,136,0.35); color: #fff !important; }
.chip--active { background: var(--teal); border-color: transparent; }

.home-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 1.75rem;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
}

/* Amber verdict card (hero aside) */
.verdict-card {
  margin-top: 2.5rem;
  overflow: hidden;
  border-radius: 1rem;
  background: var(--amber-400);
  box-shadow: var(--shadow-lift);
  box-shadow: 0 2px 4px rgba(10,23,36,0.04), 0 18px 45px -18px rgba(10,23,36,0.22), inset 0 0 0 1px rgba(245,158,11,0.4);
}
@media (min-width: 1024px) {
  .verdict-card { margin-top: 0.25rem; }
}
.verdict-card__head {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-bottom: 1px solid rgba(245, 158, 11, 0.3);
  padding: 0.75rem 1.25rem;
  font-family: var(--display);
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--navy-900);
}
.verdict-card__head svg { width: 16px; height: 16px; fill: var(--navy-900); }
.verdict-card__body {
  background: #fffbeb;
  padding: 1.25rem;
}
.verdict-card__eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--amber-700);
}
.verdict-card__title {
  margin-top: 0.35rem;
  font-family: var(--display);
  font-size: 1.375rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--navy-900);
}
.verdict-card__tagline {
  margin-top: 0.65rem;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--navy-600);
}
.verdict-card__specs {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  font-size: 0.85rem;
  color: var(--navy-700);
}
.verdict-card__specs li {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  margin: 0;
  padding: 0.4rem 0;
  border-bottom: 1px solid rgba(251, 191, 36, 0.45);
}
.verdict-card__specs li:last-child { border-bottom: none; }
.verdict-card__specs span:first-child { color: var(--navy-500); }
.verdict-card__specs span:last-child { font-weight: 600; text-align: right; }
.verdict-card__cta {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.25rem;
  border-radius: 0.75rem;
  background: var(--navy-900);
  color: #fff !important;
  font-family: var(--display);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.75rem 1.25rem;
  text-decoration: none !important;
  transition: background 0.15s;
}
.verdict-card__cta:hover { background: var(--navy-800); color: #fff !important; }
.verdict-card__note {
  margin-top: 0.65rem;
  text-align: center;
  font-size: 0.7rem;
  color: var(--navy-400);
}

/* legacy small badge */
.verdict-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: linear-gradient(135deg, var(--amber-400), #f59e0b);
  color: var(--navy-950);
  font-family: var(--display);
  font-weight: 800;
  font-size: 0.8rem;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}

/* ——— Article layout ——— */
.layout {
  display: grid;
  gap: 2rem;
  padding: 3rem 0 4rem;
}
@media (min-width: 1024px) {
  .layout--article {
    grid-template-columns: 236px minmax(0, 1fr);
    gap: 3.5rem;
    align-items: start;
  }
}

.toc { display: none; }
@media (min-width: 1024px) {
  .toc {
    display: block;
    position: sticky;
    top: calc(var(--header-h) + 1.5rem);
  }
  .toc__title {
    font-family: var(--display);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--navy-400);
    margin-bottom: 1rem;
  }
  .toc ol {
    list-style: none;
    padding: 0;
    margin: 0;
    border-left: 1px solid var(--navy-100);
  }
  .toc li { margin: 0; }
  .toc a {
    display: block;
    margin-left: -1px;
    border-left: 2px solid transparent;
    padding: 0.4rem 0 0.4rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--navy-500) !important;
    text-decoration: none !important;
    line-height: 1.35;
    transition: color 0.15s, border-color 0.15s;
  }
  .toc a:hover {
    border-left-color: var(--navy-300);
    color: var(--navy-800) !important;
  }
  .toc a[aria-current="true"],
  .toc a.is-active {
    border-left-color: var(--teal-600);
    font-weight: 600;
    color: var(--navy-900) !important;
  }
  .toc__aside {
    margin-top: 2rem;
    border-radius: 1rem;
    border: 1px solid var(--navy-100);
    background: var(--navy-50);
    padding: 1rem;
  }
  .toc__aside strong {
    display: block;
    font-family: var(--display);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--navy-900);
    margin-bottom: 0.4rem;
  }
  .toc__aside p {
    font-size: 0.8125rem;
    line-height: 1.55;
    color: var(--navy-500);
    margin: 0;
  }
}

.article-body {
  min-width: 0;
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
}
.article-body > * + * { }
.article-stack { display: flex; flex-direction: column; gap: 4rem; }

.article-body h2,
.section-heading {
  font-family: var(--display);
  font-size: clamp(1.5rem, 2.5vw, 1.875rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--navy-900);
  scroll-margin-top: 7rem;
  margin: 0 0 0.5rem;
}
.section-lead {
  max-width: 42rem;
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--navy-500);
  margin: 0 0 1.5rem;
}
.article-body h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 1.5rem 0 0.65rem;
  color: var(--ink);
}
.article-body p { margin-bottom: 1rem; color: var(--ink-soft); }
.article-body > p:last-child { margin-bottom: 0; }

.lead-box {
  background: linear-gradient(135deg, #f0fdfa, #ecfeff);
  border: 1px solid #99f6e4;
  border-left: 4px solid var(--teal);
  border-radius: var(--radius-sm);
  padding: 1.1rem 1.2rem;
  margin-bottom: 1.25rem;
  font-size: 1.02rem;
  color: var(--ink);
  font-weight: 500;
}
.lead-box strong { color: var(--navy-900); }

/* ——— Product cards (MP layout) ——— */
.product-card {
  overflow: hidden;
  border-radius: 1rem;
  border: 1px solid var(--navy-100);
  background: var(--surface);
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.2s;
  scroll-margin-top: 7rem;
}
.product-card:hover { box-shadow: var(--shadow-lift); }
.product-card--pick {
  border-color: rgba(13, 148, 136, 0.45);
  box-shadow: 0 0 0 1px rgba(13,148,136,0.25), var(--shadow-card);
}

.product-card__grid {
  display: grid;
  gap: 0;
}
@media (min-width: 768px) {
  .product-card__grid {
    grid-template-columns: 300px 1fr;
  }
}
@media (min-width: 1024px) {
  .product-card__grid {
    grid-template-columns: 340px 1fr;
  }
}

.product-card__media {
  position: relative;
  background: var(--navy-50);
  border-bottom: 1px solid var(--navy-100);
  padding: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
@media (min-width: 768px) {
  .product-card__media {
    border-bottom: none;
    border-right: 1px solid var(--navy-100);
  }
}
.product-card__media img {
  width: 100%;
  max-width: 340px;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  border-radius: 0.75rem;
  background: #fff;
}
.product-card__media .product-media-fallback {
  width: 100%;
  max-width: 340px;
  aspect-ratio: 4 / 3;
  border-radius: 0.75rem;
  background: linear-gradient(145deg, var(--navy-800), var(--navy-600) 55%, var(--teal-700));
  display: grid;
  place-items: center;
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.75rem;
  color: rgba(255,255,255,0.88);
}

.product-card__badge {
  position: absolute;
  left: 1.25rem;
  top: 1.25rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.3rem 0.75rem;
  font-family: var(--display);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.badge--pick { background: var(--amber-400); color: var(--navy-900); }
.badge--value { background: var(--teal-700); color: #fff; }
.badge--premium { background: var(--navy-900); color: #fff; }
.badge--budget { background: var(--navy-100); color: var(--navy-700); }
.badge--entry { background: #e0e7ff; color: #3730a3; }

.product-card__body { padding: 1.25rem; }
@media (min-width: 1024px) {
  .product-card__body { padding: 1.75rem; }
}

.product-card__rank {
  font-family: var(--display);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--teal-700);
}
.product-card__title {
  margin-top: 0.35rem;
  font-family: var(--display);
  font-size: clamp(1.25rem, 2vw, 1.625rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--navy-900);
}
.product-card__for {
  margin-top: 0.85rem;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--navy-600);
}

.specs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
  list-style: none;
  padding: 0;
}
.spec {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--navy-600);
  background: var(--navy-50);
  border: 1px solid var(--navy-100);
  padding: 0.25rem 0.65rem;
  border-radius: 0.5rem;
  margin: 0;
}

.procon {
  display: grid;
  gap: 1.25rem;
  margin-top: 1.5rem;
}
@media (min-width: 560px) {
  .procon { grid-template-columns: 1fr 1fr; }
}
.procon__label {
  font-family: var(--display);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.65rem;
}
.procon__col--pro .procon__label { color: var(--teal-800); }
.procon__col--contra .procon__label { color: var(--rose-700); }
.procon ul { list-style: none; padding: 0; margin: 0; }
.procon li {
  display: flex;
  gap: 0.65rem;
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--navy-600);
}
.procon li::before {
  flex-shrink: 0;
  margin-top: 0.15rem;
  width: 1rem;
  height: 1rem;
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1;
}
.procon__col--pro li::before {
  content: "✓";
  color: var(--teal-600);
}
.procon__col--contra li::before {
  content: "✕";
  color: var(--rose-600);
}

.product-verdict {
  margin-top: 1.5rem;
  border-radius: 0.75rem;
  border-left: 3px solid var(--navy-900);
  background: var(--navy-50);
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--navy-700);
}
.product-verdict strong { color: var(--navy-900); }

.product-card__cta {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.75rem;
}
@media (min-width: 560px) {
  .product-card__cta {
    flex-direction: row;
    align-items: center;
  }
}
.product-card__cta-note {
  font-size: 0.78rem;
  line-height: 1.5;
  color: var(--navy-400);
}

/* legacy top layout still used on wifi page */
.product-card__top {
  display: grid;
  gap: 1rem;
  padding: 1.25rem;
}
@media (min-width: 560px) {
  .product-card__top {
    grid-template-columns: 160px 1fr;
    align-items: start;
  }
}
.product-media {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-sm);
  background: linear-gradient(145deg, var(--navy-800), var(--navy-600) 55%, var(--teal-700));
  overflow: hidden;
  display: grid;
  place-items: center;
}
.product-media::before {
  content: attr(data-initials);
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.75rem;
  color: rgba(255,255,255,0.88);
  letter-spacing: 0.04em;
  z-index: 0;
}
.product-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #fff;
  z-index: 1;
}
.product-card__top .product-card__badge { position: static; margin-bottom: 0.55rem; }
.product-card .procon.procon--boxed {
  padding: 0 1.25rem 1.25rem;
}
.procon--boxed .procon__col {
  border-radius: var(--radius-sm);
  padding: 0.9rem 1rem;
}
.procon--boxed .procon__col--pro { background: var(--teal-50); border: 1px solid #a7f3d0; }
.procon--boxed .procon__col--contra { background: #fff1f2; border: 1px solid #fecdd3; }
.product-card > .product-card__cta { padding: 0 1.25rem 1.25rem; margin-top: 0; }

/* ——— Buttons ——— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-family: var(--display);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.75rem 1.25rem;
  border-radius: 0.75rem;
  border: none;
  cursor: pointer;
  text-decoration: none !important;
  transition: transform 0.12s, background 0.15s, box-shadow 0.15s;
}
.btn:active { transform: scale(0.98); }
.btn--primary {
  background: var(--teal-700);
  color: #fff !important;
}
.btn--primary:hover {
  background: var(--teal-800);
  color: #fff !important;
}
.btn--amber {
  background: var(--amber-400);
  color: var(--navy-900) !important;
}
.btn--amber:hover { background: var(--amber-300); color: var(--navy-900) !important; }
.btn--navy {
  background: var(--navy-900);
  color: #fff !important;
}
.btn--navy:hover { background: var(--navy-800); color: #fff !important; }
.btn--ghost-light {
  background: #fff;
  color: var(--navy-900) !important;
}
.btn--ghost-light:hover { background: var(--navy-100); }
.btn--block { width: 100%; }
.btn--sm { padding: 0.5rem 0.9rem; font-size: 0.82rem; }

/* ——— Tables ——— */
.table-wrap {
  overflow: hidden;
  margin: 1.5rem 0 0;
  border: 1px solid var(--navy-100);
  border-radius: 1rem;
  background: var(--surface);
  box-shadow: var(--shadow-card);
}
.table-wrap__scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.table-wrap__scroll::-webkit-scrollbar { height: 6px; }
.table-wrap__scroll::-webkit-scrollbar-thumb {
  background: var(--navy-200);
  border-radius: 999px;
}
.table-wrap table {
  width: 100%;
  border-collapse: collapse;
  min-width: 560px;
  font-size: 0.9rem;
}
.table-wrap th,
.table-wrap td {
  padding: 1rem 1.25rem;
  text-align: left;
  border-bottom: 1px solid var(--navy-100);
  vertical-align: middle;
}
.table-wrap th {
  background: var(--navy-50);
  color: var(--navy-500);
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
  height: 3rem;
}
.table-wrap tr:last-child td { border-bottom: none; }
.table-wrap tbody tr:hover { background: rgba(242, 246, 250, 0.6); }
.table-wrap .rank {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 0.375rem;
  background: var(--navy-900);
  color: #fff;
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.75rem;
}
.table-hint {
  margin-top: 0.75rem;
  font-size: 0.78rem;
  color: var(--navy-400);
}
@media (min-width: 768px) {
  .table-hint { display: none; }
}
.dual-yes {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border-radius: 999px;
  background: var(--teal-50);
  color: var(--teal-800);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.25rem 0.65rem;
}
.dual-no {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border-radius: 999px;
  background: var(--navy-50);
  color: var(--navy-400);
  font-size: 0.78rem;
  font-weight: 500;
  padding: 0.25rem 0.65rem;
}

/* ——— Scenario / feature cards ——— */
.card-grid {
  display: grid;
  gap: 1rem;
  margin: 1.25rem 0 1.75rem;
}
@media (min-width: 640px) {
  .card-grid--3 { grid-template-columns: repeat(3, 1fr); }
  .card-grid--2 { grid-template-columns: repeat(2, 1fr); }
}
.feature-card {
  background: var(--surface);
  border: 1px solid var(--navy-100);
  border-radius: 1rem;
  padding: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  box-shadow: var(--shadow-card);
}
.feature-card__icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: 1.15rem;
  background: var(--teal-soft);
  margin-bottom: 0.25rem;
}
.feature-card h3 {
  font-family: var(--display);
  font-size: 1.05rem !important;
  margin: 0 !important;
}
.feature-card p {
  font-size: 0.9rem;
  color: var(--muted);
  margin: 0 !important;
  flex: 1;
}
.feature-card .btn { margin-top: 0.75rem; align-self: flex-start; }

.cost-block {
  background: linear-gradient(135deg, var(--navy-900), var(--navy-700));
  color: #fff;
  border-radius: 1rem;
  padding: 1.35rem 1.4rem;
  margin: 1.25rem 0 1.75rem;
  box-shadow: var(--shadow-card);
}
.cost-block h3 {
  font-family: var(--display);
  color: #fff !important;
  margin: 0 0 0.75rem !important;
}
.cost-block ul { margin: 0; padding-left: 1.1rem; color: rgba(255,255,255,0.85); }
.cost-block li { margin-bottom: 0.5rem; }
.cost-block .note {
  margin-top: 0.9rem;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
}

.myth {
  border-left: 3px solid var(--amber-500);
  background: #fffbeb;
  padding: 0.9rem 1rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin-bottom: 0.85rem;
}
.myth strong { display: block; margin-bottom: 0.25rem; color: var(--navy-900); }
.myth p { margin: 0 !important; font-size: 0.92rem; }

.callout {
  background: var(--navy-50);
  border: 1px solid var(--navy-100);
  border-radius: var(--radius-sm);
  padding: 1rem 1.15rem;
  margin: 1.25rem 0;
  font-size: 0.95rem;
}

.criteria-list {
  counter-reset: crit;
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  display: grid;
  gap: 0.55rem;
}
.criteria-list li {
  counter-increment: crit;
  position: relative;
  padding: 0.85rem 0.85rem 0.85rem 3rem;
  border: 1px solid var(--navy-100);
  border-radius: var(--radius-sm);
  margin: 0;
  background: var(--surface);
  box-shadow: var(--shadow-card);
}
.criteria-list li::before {
  content: counter(crit);
  position: absolute;
  left: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 50%;
  background: var(--navy-900);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
  display: grid;
  place-items: center;
}

/* ——— FAQ ——— */
.faq {
  margin-top: 1.5rem;
  overflow: hidden;
  border-radius: 1rem;
  border: 1px solid var(--navy-100);
  background: var(--surface);
  box-shadow: var(--shadow-card);
}
.faq details {
  border: none;
  border-bottom: 1px solid var(--navy-100);
  border-radius: 0;
  background: transparent;
  margin: 0;
}
.faq details:last-child { border-bottom: none; }
.faq summary {
  cursor: pointer;
  font-family: var(--display);
  font-weight: 600;
  font-size: 1rem;
  padding: 1rem 1.25rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  color: var(--navy-900);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--teal);
  flex-shrink: 0;
}
.faq details[open] summary::after { content: "−"; }
.faq details[open] summary { background: transparent; }
.faq .faq__body {
  padding: 0 1.25rem 1.25rem 1.25rem;
  color: var(--navy-600);
  font-size: 0.9rem;
  line-height: 1.75;
}
.faq .faq__body p { margin-bottom: 0.5rem; color: var(--navy-600); }
.faq .faq__body p:last-child { margin-bottom: 0; }

/* ——— Next guide CTA ——— */
.next-guide {
  overflow: hidden;
  border-radius: 1rem;
  background: var(--navy-900);
  padding: 1.75rem;
  color: #fff;
}
@media (min-width: 1024px) {
  .next-guide { padding: 2.5rem; }
}
.next-guide__eyebrow {
  font-family: var(--display);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #5eead4;
}
.next-guide h2 {
  margin-top: 0.5rem;
  font-family: var(--display);
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #fff !important;
}
.next-guide p {
  margin-top: 0.75rem;
  max-width: 36rem;
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--navy-200);
}
.next-guide .btn { margin-top: 1.5rem; }

/* ——— Sticky CTA (mobile only) ——— */
.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 180;
  background: rgba(10, 23, 36, 0.95);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(15, 33, 51, 0.6);
  padding: 0.75rem 1rem calc(0.75rem + env(safe-area-inset-bottom, 0px));
}
@media (min-width: 1024px) {
  .sticky-cta { display: none; }
}
.sticky-cta__inner {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  max-width: var(--max);
  margin-inline: auto;
}
.sticky-cta__thumb {
  width: 44px;
  height: 44px;
  border-radius: 0.5rem;
  background: #fff;
  object-fit: contain;
  padding: 2px;
  flex-shrink: 0;
}
.sticky-cta__text {
  color: rgba(255,255,255,0.85);
  font-size: 0.75rem;
  line-height: 1.3;
  min-width: 0;
  flex: 1;
}
.sticky-cta__text strong {
  display: block;
  color: #fff;
  font-family: var(--display);
  font-size: 0.875rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sticky-cta .btn { flex-shrink: 0; white-space: nowrap; padding: 0.65rem 1rem; font-size: 0.875rem; }

/* ——— Homepage ——— */
.section { padding: 2.5rem 0; }
.section__title {
  font-family: var(--display);
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
  color: var(--navy-900);
}
.article-cards {
  display: grid;
  gap: 1.25rem;
}
@media (min-width: 720px) {
  .article-cards { grid-template-columns: 1fr 1fr; }
}
.article-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--navy-100);
  border-radius: 1rem;
  padding: 1.5rem;
  text-decoration: none !important;
  color: inherit;
  box-shadow: var(--shadow-card);
  transition: transform 0.15s, box-shadow 0.15s;
  min-height: 100%;
}
.article-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lift);
  color: inherit;
}
.article-card__tag {
  display: inline-flex;
  align-self: flex-start;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  margin-bottom: 0.85rem;
}
.tag--cctv { background: var(--teal-soft); color: var(--teal-800); }
.tag--auto { background: #fef3c7; color: #92400e; }
.article-card h2 {
  font-family: var(--display);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.55rem;
  color: var(--navy-900);
}
.article-card p {
  color: var(--muted);
  font-size: 0.95rem;
  flex: 1;
  margin-bottom: 1rem;
}
.article-card__more {
  font-weight: 700;
  color: var(--teal-700);
  font-size: 0.9rem;
}
.home-disclosure { max-width: 720px; margin: 0 auto 1.5rem; }

/* ——— Footer ——— */
.site-footer {
  background: var(--navy-900);
  color: var(--navy-300);
  padding: 3.5rem 0 2rem;
  margin-top: 5rem;
  font-size: 0.875rem;
  border-top: 1px solid rgba(15, 33, 51, 0.6);
}
body.has-sticky-cta .site-footer {
  padding-bottom: 2rem;
}
@media (max-width: 1023px) {
  body.has-sticky-cta .site-footer {
    padding-bottom: calc(2rem + var(--sticky-cta-h));
  }
}
.site-footer a { color: var(--navy-200) !important; text-decoration: none !important; }
.site-footer a:hover { color: #fff !important; }
.site-footer__grid {
  display: grid;
  gap: 2rem;
}
@media (min-width: 640px) {
  .site-footer__grid { grid-template-columns: 1.4fr 1fr; }
}
.site-footer__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.05rem;
  color: #fff;
  margin-bottom: 1rem;
}
.site-footer__brand span { color: #5eead4; }
.site-footer__brand .logo__mark { margin: 0; }
.site-footer p { max-width: 28rem; font-size: 0.85rem; line-height: 1.6; }
.site-footer nav {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.site-footer__nav-title {
  font-family: var(--display);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--navy-400);
  margin-bottom: 0.35rem;
}
.site-footer__legal {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.78rem;
  color: var(--navy-400);
  line-height: 1.5;
}

.updated {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

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

.products-stack { display: flex; flex-direction: column; gap: 2rem; margin-top: 1.5rem; }

@media (max-width: 374px) {
  .container { width: min(100% - 1.25rem, var(--max)); }
  .btn { font-size: 0.88rem; padding: 0.7rem 1rem; }
}
