:root {
  color-scheme: light;
  --background: #F4F7F0;
  --background-rgb: 244, 247, 240;
  --foreground: #10180F;
  --accent: #16A34A;
  --accent-dark: #15803D;
  --accent-foreground: #FFFFFF;
  --muted: #63706A;
  --border: rgba(var(--ink), 0.1);
  --ink: 16, 24, 15;
  --accent-rgb: 34, 197, 94;
  --surface: #FFFFFF;
  --surface-muted: #38443C;
  --surface-muted-2: #4A544E;
  --accent-tint: #EAF3EC;
  --frame-bar: #EEF2EC;
  --island-bg: #0E3B22;
  --island-eyebrow: #7FBF9B;
  --font-sans: "Segoe UI", system-ui, -apple-system, sans-serif;
  /* Layout widths — keep hero, prose, and grids in one proportion system */
  --width-layout: 75rem;   /* outer page shell (~1200px): cards, grids, splits */
  --width-prose: 42rem;    /* long-form article body (~672px) — reading stays narrow */
  /* Section intros (eyebrow + h1/h2 + lead) above cards */
  --width-intro: 62rem;
}

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

html {
  scroll-behavior: smooth;
}

html {
  overflow-x: clip;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  background: var(--background);
  color: var(--foreground);
  line-height: 1.5;
  overflow-x: clip;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

/* Heroicons outline — shared icon sizing */
.hi {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
}

.container {
  width: 100%;
  max-width: var(--width-layout);
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 768px) {
  .container {
    padding: 0 1.5rem;
  }
}

/* Header — mobile first, hamburger right */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.5rem 1rem;
  background: rgba(var(--background-rgb), 0.85);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(10px);
}

.site-header__brand {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--foreground);
  min-width: 0;
}

@media (min-width: 768px) {
  .site-header {
    padding: 0.55rem 1.5rem;
  }

  .site-header__brand {
    font-size: 1.4rem;
  }
}

.site-header__toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 2.75rem;
  height: 2.75rem;
  margin-left: auto;
  padding: 0;
  border: 1px solid rgba(var(--ink), 0.12);
  border-radius: 0.375rem;
  background: rgba(var(--ink), 0.05);
  color: var(--foreground);
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}

.site-header__toggle:hover {
  background: rgba(var(--ink), 0.1);
  border-color: rgba(var(--ink), 0.2);
}

.site-header__toggle-icon {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.3rem;
  width: 1.125rem;
}

.site-header__toggle-icon span {
  display: block;
  height: 2px;
  width: 100%;
  border-radius: 1px;
  background: currentColor;
  transition: transform 0.2s, opacity 0.2s;
}

.site-header__toggle[aria-expanded="true"] .site-header__toggle-icon span:nth-child(1) {
  transform: translateY(0.45rem) rotate(45deg);
}

.site-header__toggle[aria-expanded="true"] .site-header__toggle-icon span:nth-child(2) {
  opacity: 0;
}

.site-header__toggle[aria-expanded="true"] .site-header__toggle-icon span:nth-child(3) {
  transform: translateY(-0.45rem) rotate(-45deg);
}

/* Slide-out menu from right */
.site-menu {
  pointer-events: none;
}

.site-menu--open {
  pointer-events: auto;
}

.site-menu__backdrop {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(0, 0, 0, 0.55);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.site-menu--open .site-menu__backdrop {
  opacity: 1;
}

.site-menu__panel {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 70;
  display: flex;
  flex-direction: column;
  width: min(18rem, 88vw);
  height: 100dvh;
  padding: 5rem 1.25rem 1.5rem;
  border-left: 1px solid var(--border);
  background: var(--background);
  box-shadow: -12px 0 40px rgba(0, 0, 0, 0.45);
  transform: translateX(100%);
  transition: transform 0.28s ease;
}

.site-menu--open .site-menu__panel {
  transform: translateX(0);
}

.site-menu__nav {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.site-menu__nav a {
  padding: 0.875rem 0.75rem;
  border-radius: 0.375rem;
  font-size: 1rem;
  font-weight: 500;
  color: var(--surface-muted);
  transition: background 0.2s, color 0.2s;
}

.site-menu__nav a:hover,
.site-menu__nav a:focus-visible {
  background: rgba(var(--ink), 0.06);
  color: var(--foreground);
}

.site-menu__nav a[aria-current="page"] {
  color: var(--accent);
  background: rgba(var(--accent-rgb), 0.1);
}

.site-menu__actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: auto;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

/* Compact login button in the nav bar (not the page CTAs) */
.site-menu__actions .btn {
  padding: 0.45rem 1.1rem;
  font-size: 0.875rem;
}

body.nav-open {
  overflow: hidden;
}

@media (min-width: 1024px) {
  .site-header__toggle {
    display: none;
  }

  .site-menu {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-left: auto;
    pointer-events: auto;
  }

  .site-menu__backdrop {
    display: none;
  }

  .site-menu__panel {
    position: static;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1.25rem;
    width: auto;
    height: auto;
    padding: 0;
    border: none;
    background: transparent;
    box-shadow: none;
    transform: none;
  }

  .site-menu__nav {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.125rem;
  }

  .site-menu__nav a {
    padding: 0.5rem 0.625rem;
    font-size: 0.875rem;
    white-space: nowrap;
  }

  .site-menu__actions {
    flex-direction: row;
    gap: 0.5rem;
    margin-top: 0;
    padding-top: 0;
    border-top: none;
  }

  .site-menu__actions .btn--block {
    width: auto;
  }
}

.btn--block {
  width: 100%;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.375rem;
  font-weight: 600;
  transition: background 0.2s, border-color 0.2s;
  cursor: pointer;
  border: none;
  font-family: inherit;
}

.btn--ghost {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  color: var(--surface-muted);
  background: transparent;
}

.btn--ghost:hover {
  color: var(--foreground);
}

.btn--primary-sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  background: var(--accent);
  color: var(--accent-foreground);
}

.btn--primary-sm:hover {
  background: var(--accent-dark);
}

.btn--primary {
  padding: 0.875rem 2rem;
  font-size: 1rem;
  background: var(--accent);
  color: var(--accent-foreground);
  box-shadow: 0 10px 25px rgba(var(--accent-rgb), 0.25);
}

.btn--primary:hover {
  background: var(--accent-dark);
}

.btn--outline {
  padding: 0.875rem 2rem;
  font-size: 1rem;
  border: 1px solid rgba(var(--ink), 0.15);
  background: rgba(var(--ink), 0.05);
  color: var(--foreground);
  backdrop-filter: blur(8px);
}

.btn--outline:hover {
  background: rgba(var(--ink), 0.1);
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3.5rem;
  z-index: 1000;
  padding: 0.6rem 1rem;
  background: var(--accent);
  color: var(--accent-foreground);
  border-radius: 0.375rem;
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  transition: top 0.15s ease;
}

.skip-link:focus {
  top: 1rem;
  outline: 2px solid var(--foreground);
  outline-offset: 2px;
}

.cred-strip {
  border-bottom: 1px solid rgba(var(--ink), 0.06);
  padding: 1.35rem 0;
}

.cred-strip .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.85rem 2.5rem;
}

.cred-strip__label {
  margin: 0;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.cred-strip__logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem 2.75rem;
}

/* Normalize mixed-source marks to one white tint so the strip reads as a set */
.cred-strip__logo {
  height: 1.9rem;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.5;
  transition: opacity 0.2s ease;
}

.cred-strip__logo:hover {
  opacity: 0.85;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 1rem;
  border-radius: 9999px;
  border: 1px solid var(--border);
  background: rgba(var(--ink), 0.05);
  font-size: 0.875rem;
  color: var(--surface-muted);
  backdrop-filter: blur(8px);
}

.badge__dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

/* Dashboard preview */
.preview {
  padding: 0 1rem 3.5rem;
}

@media (min-width: 768px) {
  .preview {
    padding: 0 1.5rem 5rem;
  }
}

.preview__window {
  overflow: hidden;
  border-radius: 0.5rem;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
}

.preview__titlebar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border);
  background: rgba(var(--background-rgb), 0.8);
}

.preview__dots {
  display: flex;
  gap: 0.375rem;
}

.preview__dots span {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
}

.preview__dots span:nth-child(1) { background: rgba(239, 68, 68, 0.8); }
.preview__dots span:nth-child(2) { background: rgba(234, 179, 8, 0.8); }
.preview__dots span:nth-child(3) { background: rgba(var(--accent-rgb), 0.8); }

.preview__shot {
  width: 100%;
  background: var(--surface);
  line-height: 0;
}

.preview__shot-img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: top;
}

.preview__url {
  margin-left: 0.5rem;
  font-size: 0.75rem;
  color: var(--muted);
}

.preview__body {
  display: grid;
  gap: 1rem;
  padding: 1rem;
}

@media (min-width: 768px) {
  .preview__body {
    grid-template-columns: repeat(3, 1fr);
    padding: 1.5rem;
  }
}

.preview__chart {
  padding: 1rem;
  border-radius: 0.375rem;
  border: 1px solid rgba(var(--ink), 0.05);
  background: rgba(var(--ink), 0.05);
}

@media (min-width: 768px) {
  .preview__chart { grid-column: span 2; }
}

.preview__chart-label,
.preview__list-label {
  margin: 0 0 0.75rem;
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
}

.preview__bars {
  display: flex;
  align-items: flex-end;
  gap: 0.5rem;
  height: 8rem;
}

.preview__bar {
  flex: 1;
  border-radius: 0.25rem 0.25rem 0 0;
  background: rgba(var(--accent-rgb), 0.7);
}

.preview__metrics {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.preview__metric {
  padding: 1rem;
  border-radius: 0.375rem;
  border: 1px solid rgba(var(--ink), 0.05);
  background: rgba(var(--ink), 0.05);
}

.preview__metric p {
  margin: 0;
}

.preview__metric-label {
  font-size: 0.75rem;
  color: var(--muted);
}

.preview__metric-value {
  font-size: 1.5rem;
  font-weight: 700;
}

.preview__metric-sub {
  font-size: 0.75rem;
  color: var(--accent);
}

.preview__metric-sub--muted {
  color: var(--muted);
}

.preview__list {
  padding: 1rem;
  border-radius: 0.375rem;
  border: 1px solid rgba(var(--ink), 0.05);
  background: rgba(var(--ink), 0.05);
}

@media (min-width: 768px) {
  .preview__list { grid-column: span 3; }
}

.preview__thumbs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
}

@media (min-width: 480px) {
  .preview__thumbs {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 768px) {
  .preview__thumbs {
    grid-template-columns: repeat(8, 1fr);
  }
}

.preview__thumb {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1;
  padding: 0.5rem;
  border-radius: 0.375rem;
  background: linear-gradient(135deg, #E6EDE1, var(--surface));
  text-align: center;
}

.preview__thumb-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
}

.preview__thumb-icon .hi {
  width: 1rem;
  height: 1rem;
}

.preview__thumb-code {
  font-family: ui-monospace, "Cascadia Code", "Segoe UI Mono", monospace;
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--accent);
}

.preview__thumb-label {
  margin-top: 0.25rem;
  font-size: 0.625rem;
  color: var(--muted);
}

/* Sections — mobile first (balanced padding so topics don’t float) */
.section {
  padding: 2.25rem 1rem;
}

@media (min-width: 768px) {
  .section {
    padding: 2.75rem 1.5rem;
  }
}

@media (min-width: 1024px) {
  .section {
    padding: 3.25rem 1.5rem;
  }
}

/* Page hero stays a bit tighter vertically */
.section.page-hero {
  padding-top: 2rem;
  padding-bottom: 2.5rem;
}

@media (min-width: 768px) {
  .section.page-hero {
    padding-top: 2.75rem;
    padding-bottom: 3rem;
  }
}

.section--bordered {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(var(--ink), 0.02);
}

.section--light {
  background: var(--foreground);
  color: var(--foreground);
}

/* Section tints — preview on homepage (optie 1: kleurritme) */
.section--tint {
  border-top: 1px solid rgba(var(--accent-rgb), 0.12);
  border-bottom: 1px solid rgba(var(--accent-rgb), 0.08);
  background:
    radial-gradient(ellipse 80% 60% at 100% 0%, rgba(var(--accent-rgb), 0.1), transparent 55%),
    linear-gradient(180deg, #FFFFFF 0%, #EAF1E3 50%, #FFFFFF 100%);
}

.section--tint-soft {
  border-top: 1px solid rgba(var(--ink), 0.06);
  border-bottom: 1px solid rgba(var(--ink), 0.04);
  background:
    radial-gradient(ellipse 70% 50% at 0% 100%, rgba(var(--accent-rgb), 0.07), transparent 50%),
    #FFFFFF;
}

.section--tint .section__lead,
.section--tint-soft .section__lead {
  color: var(--surface-muted-2);
}

.rewild-section--rich {
  position: relative;
  border-top: 1px solid rgba(var(--accent-rgb), 0.2);
  border-bottom: 1px solid rgba(var(--accent-rgb), 0.12);
  background:
    radial-gradient(ellipse 90% 80% at 50% 100%, rgba(22, 101, 52, 0.35), transparent 55%),
    radial-gradient(ellipse 50% 40% at 80% 20%, rgba(var(--accent-rgb), 0.12), transparent 50%),
    linear-gradient(180deg, #EAF1E3 0%, #EAF1E3 40%, var(--background) 100%);
}

.rewild-section--rich .section__eyebrow {
  color: var(--accent);
}

.rewild-section--rich h2 {
  color: var(--accent-dark);
}

.rewild-section--rich .rewild-section__content p {
  color: #33403A;
}

/* Section containers: tight, consistent gap between intro text and cards */
.section > .container:not(.home-teaser):not(.media-split):not(.contact-page__grid):not(.cam-product-hero__grid):not(.webapp-split):not(.page-hero__split),
.section > .container--narrow {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 1rem;
}

@media (min-width: 768px) {
  .section > .container:not(.home-teaser):not(.media-split):not(.contact-page__grid):not(.cam-product-hero__grid):not(.webapp-split):not(.page-hero__split),
  .section > .container--narrow {
    gap: 1.15rem;
  }
}

.section__intro {
  max-width: var(--width-intro);
  margin: 0;
  width: 100%;
}

/* Lead under a section title uses the same wide column as the title */
.section__intro .section__lead {
  max-width: none;
}

/* No extra top margin on the first block after a section intro */
.section__intro + *,
.section__subintro + * {
  margin-top: 0;
}

/* Card / grid blocks under an intro: no phantom top spacing */
.section__intro + .features-grid,
.section__intro + .camera-grid,
.section__intro + .camera-brands-grid,
.section__intro + .shop-grid,
.section__intro + .shop-buy-paths,
.section__intro + .verticals-grid,
.section__intro + .pricing-grid,
.section__intro + .compare-table-wrap,
.section__intro + .content-block,
.section__intro + .faq-list,
.section__intro + .highlights-cta {
  margin-top: 0;
}

.section__eyebrow {
  margin: 0 0 0.75rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
}

.section h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.875rem, 3vw, 2.25rem);
  font-weight: 700;
  line-height: 1.2;
}

.section__lead {
  margin: 0;
  font-size: 1.125rem;
  color: var(--muted);
  line-height: 1.6;
}

/* Topic blocks: group long-form topics into clear cards */
.content-stack {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  width: 100%;
}

@media (min-width: 768px) {
  .content-stack {
    gap: 1.5rem;
  }
}

.content-block {
  padding: 1.35rem 1.25rem;
  border-radius: 0.5rem;
  border: 1px solid var(--border);
  background: rgba(var(--ink), 0.03);
}

@media (min-width: 768px) {
  .content-block {
    padding: 1.5rem 1.5rem;
  }
}

.content-block > h2,
.content-block > h3 {
  margin: 0 0 0.75rem;
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--foreground);
}

.content-block > p {
  margin: 0 0 0.85rem;
  color: var(--surface-muted);
  line-height: 1.65;
}

.content-block > p:last-child,
.content-block > ul:last-child,
.content-block > dl:last-child,
.content-block > .cameras-protocols:last-child,
.content-block > .compare-table-wrap:last-child {
  margin-bottom: 0;
}

.content-block > ul {
  margin: 0 0 0.85rem;
}

.content-block a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.content-block a:hover {
  color: var(--accent);
}

/* Full-width grids inside a narrow content stack still use layout width */
.content-stack > .content-block--wide,
.content-block--wide {
  max-width: none;
}

.content-block--wide .compare-table-wrap,
.content-block--wide .cameras-protocols {
  max-width: none;
}

.section--light .section__lead {
  color: var(--surface-muted-2);
}

/* Key benefits highlight */
.benefits-highlight {
  margin-bottom: 4rem;
  padding: 2rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(var(--accent-rgb), 0.35);
  background: linear-gradient(135deg, rgba(var(--accent-rgb), 0.12), rgba(var(--accent-rgb), 0.03));
  box-shadow: 0 0 0 1px rgba(var(--accent-rgb), 0.08), 0 20px 40px rgba(0, 0, 0, 0.25);
}

.benefits-highlight__header {
  margin-bottom: 1.75rem;
}

.benefits-highlight__header h3 {
  margin: 0 0 0.5rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent);
}

.benefits-highlight__header p {
  margin: 0;
  font-size: 1rem;
  color: var(--surface-muted);
  line-height: 1.6;
}

.benefits-list {
  display: grid;
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 768px) {
  .benefits-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem 2rem;
  }
}

.benefits-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: #33403A;
}

.benefits-list li strong {
  color: var(--foreground);
  font-weight: 600;
}

.benefits-list li strong a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.benefits-list li strong a:hover {
  color: var(--accent);
}

.benefits-list__icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  margin-top: 0.125rem;
  border-radius: 50%;
  background: rgba(var(--accent-rgb), 0.15);
  color: var(--accent);
}

.benefits-list__icon .hi {
  width: 0.875rem;
  height: 0.875rem;
}

.section__subintro {
  margin-bottom: 0;
}

.section__subintro h3 {
  margin: 0 0 0.5rem;
  font-size: 1.25rem;
  font-weight: 600;
}

.section__subintro p {
  margin: 0;
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.6;
}

/* Feature cards */
.features-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .features-grid { grid-template-columns: repeat(3, 1fr); }
}

.feature-card {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.5rem;
  border-radius: 0.5rem;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: 0 1px 2px rgba(var(--ink), 0.03);
  transition: border-color 0.2s, background 0.2s;
}

.feature-card:hover,
.feature-card--link:hover {
  border-color: rgba(var(--accent-rgb), 0.4);
  background: rgba(var(--ink), 0.08);
}

.feature-card--link {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}

.feature-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.375rem;
  background: rgba(var(--accent-rgb), 0.15);
  color: var(--accent);
}

.feature-card__icon .hi {
  width: 1.25rem;
  height: 1.25rem;
}

.feature-card h3 {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 600;
}

.feature-card p {
  margin: 0;
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.6;
}

.ai-depth__roadmap {
  margin: 1.5rem 0 0;
  font-size: 0.9rem;
  color: var(--muted);
}

/* Screenshot showcase: three framed shots with captions */
.shots-showcase {
  display: grid;
  gap: 1.5rem;
  max-width: 52rem;
  margin-inline: auto;
}

@media (min-width: 768px) {
  .shots-showcase {
    grid-template-columns: repeat(3, 1fr);
  }
}

.shots-showcase .dashboard-shots__frame {
  aspect-ratio: 16 / 10;
}

.shots-showcase__item {
  margin: 0;
}

.shots-showcase__item figcaption {
  margin-top: 0.85rem;
  font-size: 0.875rem;
  color: var(--muted);
  text-align: center;
  line-height: 1.5;
}

/* Split page-hero: intro text beside an image (all interior pages) */
.section.page-hero > .page-hero__split {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 900px) {
  .section.page-hero > .page-hero__split {
    grid-template-columns: 1fr minmax(300px, 440px);
    gap: 3.5rem;
  }
}

.page-hero__img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: rgba(var(--ink), 0.02);
}

/* Verticals (homepage) */
.verticals-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .verticals-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .verticals-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Home: always three use-case cards in a row on tablet+ */
@media (min-width: 768px) {
  .verticals-grid--home {
    grid-template-columns: repeat(3, 1fr);
  }
}

.vertical-card {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.5rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(var(--ink), 0.09);
  background: var(--surface);
  box-shadow: 0 1px 2px rgba(var(--ink), 0.03);
  transition: border-color 0.2s, background 0.2s;
}

.vertical-card:hover {
  border-color: rgba(var(--accent-rgb), 0.4);
  background: rgba(var(--ink), 0.04);
}

.vertical-card__tag {
  display: inline-block;
  align-self: flex-start;
  padding: 0.25rem 0.625rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(var(--accent-rgb), 0.12);
  border: 1px solid rgba(var(--accent-rgb), 0.25);
}

.vertical-card h3 {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 600;
}

.vertical-card p {
  margin: 0;
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.55;
}

.vertical-card p a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.vertical-card p a:hover {
  color: var(--accent);
}

/* Use cases page — card grid */
.use-cases-grid {
  align-items: stretch;
}

.use-case-card {
  scroll-margin-top: 5.5rem;
  min-height: 100%;
}

.use-case-card__list {
  margin: 0;
  padding: 0 0 0 1.1rem;
  font-size: 0.8125rem;
  color: var(--muted);
  line-height: 1.5;
  flex: 1;
}

.use-case-card__list li {
  margin-bottom: 0.4rem;
}

.use-case-card__list li:last-child {
  margin-bottom: 0;
}

.use-case-card__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.75rem;
  margin-top: auto;
  padding-top: 0.85rem;
  border-top: 1px solid var(--border);
}

.use-case-card__actions .btn--ghost {
  padding: 0.4rem 0.5rem;
  font-size: 0.8125rem;
  color: var(--accent);
}

.use-case-card__actions .btn--ghost:hover {
  color: var(--accent);
  background: transparent;
}

/* Knowledge hub */
.knowledge-grid {
  align-items: stretch;
}

.knowledge-article {
  scroll-margin-top: 5.5rem;
}

.knowledge-article .cameras-protocols {
  margin: 1.25rem 0 1.5rem;
}

.knowledge-links {
  margin-top: 1.5rem;
}

/* Product: field WebApp section */
#webapp {
  scroll-margin-top: 5.5rem;
}

.webapp-split {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 900px) {
  .webapp-split {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: 3rem 4rem;
  }
}

.webapp-split__copy .section__intro {
  max-width: none;
  margin-bottom: 1rem;
}

.webapp-split__body {
  margin: 0 0 1.25rem;
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.65;
}

.webapp-split__list {
  margin: 0 0 1.75rem;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.75rem;
}

.webapp-split__list li {
  position: relative;
  padding-left: 1.5rem;
  font-size: 0.95rem;
  color: var(--surface-muted);
  line-height: 1.55;
}

.webapp-split__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(var(--accent-rgb), 0.15);
}

.webapp-split__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.webapp-split__media {
  display: flex;
  justify-content: center;
}

.webapp-phone {
  margin: 0;
  width: 100%;
  max-width: 17.5rem;
}

.webapp-phone__frame {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 19.5;
  max-height: 36rem;
  margin: 0 auto;
  border-radius: 0.5rem;
  border: none;
  background:
    linear-gradient(160deg, rgba(var(--accent-rgb), 0.1), rgba(var(--ink), 0.03) 55%),
    repeating-linear-gradient(
      -45deg,
      transparent,
      transparent 10px,
      rgba(var(--ink), 0.02) 10px,
      rgba(var(--ink), 0.02) 20px
    );
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.45);
  overflow: hidden;
}

.webapp-phone__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.webapp-phone__img.is-missing {
  display: none;
}

.webapp-phone__frame:has(.webapp-phone__img:not(.is-missing)) {
  background: transparent;
  border: none;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.45);
}

.vertical-card--link {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}

.vertical-card--link:hover h3 {
  color: var(--accent);
}

.vertical-card__more {
  margin-top: auto;
  padding-top: 0.25rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--accent);
}

/* CTA actions (shared by the island CTAs) */
.cta__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

/* Footer */
.site-footer {
  padding: 2.5rem 1rem;
  border-top: 1px solid var(--border);
}

@media (min-width: 768px) {
  .site-footer {
    padding: 3rem 1.5rem;
  }
}

.site-footer__grid {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

@media (min-width: 768px) {
  .site-footer__grid {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }
}

.site-footer__brand > strong {
  display: inline-block;
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1;
}

.site-footer__brand p {
  margin: 0.85rem 0 0;
  max-width: 20rem;
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.6;
}

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
}

.site-footer__col {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.875rem;
}

.site-footer__col-title {
  font-weight: 500;
  color: var(--surface-muted);
}

.site-footer__col a {
  color: var(--muted);
  transition: color 0.2s;
}

.site-footer__col a:hover {
  color: var(--foreground);
}

.site-footer__legal {
  margin: 0;
  font-size: 0.75rem;
  color: var(--surface-muted-2);
}

/* Split layout: copy left, image right (platform teaser, dashboard, etc.) */
.media-split,
.home-teaser {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 900px) {
  .media-split,
  .home-teaser {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 3rem 4rem;
  }
}

.media-split__content,
.home-teaser__content {
  min-width: 0;
}

.media-split .section__intro,
.home-teaser .section__intro {
  margin-bottom: 1.5rem;
  max-width: none;
}

.media-split .section__intro h2,
.home-teaser .section__intro h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.25rem);
}

.media-split .section__lead,
.home-teaser .section__lead {
  max-width: none;
}

.media-split__body {
  margin: 0 0 1.25rem;
  max-width: none;
  font-size: 0.9875rem;
  color: var(--muted);
  line-height: 1.65;
}

.media-split__subtitle {
  margin: 0 0 0.75rem;
  font-size: 1rem;
  font-weight: 600;
  color: #33403A;
}

.media-split__list,
.home-teaser__list {
  margin: 0 0 1.75rem;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.75rem;
  max-width: none;
}

.media-split__list li,
.home-teaser__list li {
  position: relative;
  padding-left: 1.5rem;
  font-size: 0.9375rem;
  color: var(--surface-muted);
  line-height: 1.55;
}

.media-split__list li strong {
  color: var(--foreground);
  font-weight: 600;
}

.media-split__list li::before,
.home-teaser__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(var(--accent-rgb), 0.2);
}

.media-split__cta,
.home-teaser__cta {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 20rem;
}

.media-split__cta .btn,
.home-teaser__cta .btn {
  width: 100%;
}

@media (min-width: 480px) {
  .media-split__cta,
  .home-teaser__cta {
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 0.6rem;
    max-width: none;
  }

  .media-split__cta .btn,
  .home-teaser__cta .btn {
    width: auto;
    white-space: nowrap;
  }
}

.media-split__media,
.home-teaser__media {
  min-width: 0;
  width: 100%;
}

.media-split__placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  width: 100%;
  aspect-ratio: 4 / 3;
  min-height: 16rem;
  border-radius: 0.5rem;
  border: 1px dashed rgba(var(--accent-rgb), 0.35);
  background:
    linear-gradient(135deg, rgba(var(--accent-rgb), 0.08), rgba(var(--ink), 0.03)),
    repeating-linear-gradient(
      -45deg,
      transparent,
      transparent 10px,
      rgba(var(--ink), 0.02) 10px,
      rgba(var(--ink), 0.02) 20px
    );
  color: var(--muted);
}

.media-split__placeholder-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 0.375rem;
  background: rgba(var(--accent-rgb), 0.12);
  color: var(--accent);
}

.media-split__placeholder-icon .hi {
  width: 1.5rem;
  height: 1.5rem;
}

.media-split__placeholder-label {
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* Product / home screenshots — real img with dashed frame fallback */
.home-teaser__frame {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  min-height: 16rem;
  border-radius: 0.5rem;
  overflow: hidden;
  border: 1px dashed rgba(var(--accent-rgb), 0.35);
  background:
    linear-gradient(135deg, rgba(var(--accent-rgb), 0.08), rgba(var(--ink), 0.03)),
    repeating-linear-gradient(
      -45deg,
      transparent,
      transparent 10px,
      rgba(var(--ink), 0.02) 10px,
      rgba(var(--ink), 0.02) 20px
    );
}

.home-teaser__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.home-teaser__frame:has(.home-teaser__img:not(.is-missing)) {
  border-style: solid;
  border-color: rgba(var(--accent-rgb), 0.28);
  background: var(--surface);
}

.home-teaser__img.is-missing {
  display: none;
}

#dashboard {
  scroll-margin-top: 5.5rem;
}

/* Product dashboard: full-width text → 2-col bullets → shots */
.dashboard-block {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.dashboard-block__intro {
  width: 100%;
  max-width: var(--width-intro);
  margin-bottom: 0;
}

.dashboard-block__intro h2 {
  margin: 0 0 0.75rem;
}

.dashboard-block__intro .section__lead {
  max-width: none;
  margin-bottom: 0.85rem;
}

.dashboard-block__body {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--muted);
  max-width: var(--width-intro);
}

.dashboard-block__list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem 1.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

@media (min-width: 700px) {
  .dashboard-block__list {
    grid-template-columns: 1fr 1fr;
  }
}

.dashboard-block__list li {
  position: relative;
  margin: 0;
  padding-left: 1.35rem;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--muted);
}

.dashboard-block__list li strong {
  color: var(--text);
  font-weight: 600;
}

.dashboard-block__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(var(--accent-rgb), 0.15);
}

.dashboard-block .highlights-cta {
  margin-top: 0;
}

.dashboard-shots__frame {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 0.5rem;
  overflow: hidden;
  border: 1px dashed rgba(var(--accent-rgb), 0.35);
  background:
    linear-gradient(160deg, rgba(var(--accent-rgb), 0.1), rgba(var(--ink), 0.03) 55%),
    repeating-linear-gradient(
      -45deg,
      transparent,
      transparent 10px,
      rgba(var(--ink), 0.02) 10px,
      rgba(var(--ink), 0.02) 20px
    );
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}

.dashboard-shots__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.dashboard-shots__img.is-missing {
  display: none;
}

.dashboard-shots__frame:has(.dashboard-shots__img:not(.is-missing)) {
  border-color: transparent;
  box-shadow: inset 0 0 0 1px rgba(var(--ink), 0.08);
  background: var(--surface);
}

#who-for {
  scroll-margin-top: 5.5rem;
}

/* Funder logos — greyscale strip below legal */
.site-footer__funders {
  margin-top: 2rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--border);
  text-align: center;
}

.site-footer__funders-label {
  margin: 0 0 1.15rem;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--surface-muted-2);
}

.site-footer__funders-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.75rem 2.5rem;
}

.site-footer__funders-logos img {
  display: block;
  width: auto;
  object-fit: contain;
  opacity: 0.75;
}

/* Pre-rendered grey assets — no CSS invert (avoids solid grey boxes).
   Kept close in visual size so the pair reads as balanced/centered. */
.site-footer__funder--stimulus {
  height: 1.35rem;
  max-width: 8rem;
}

.site-footer__funder--mit {
  height: 1.65rem;
  max-width: 9rem;
}

@media (min-width: 768px) {
  .site-footer__funder--stimulus {
    height: 1.45rem;
    max-width: 8.5rem;
  }

  .site-footer__funder--mit {
    height: 1.75rem;
    max-width: 9.5rem;
  }
}

/* Page hero — same left edge as body content (no jump from wide → narrow) */
/* Hero: intro only — cards live in the next section for cleaner spacing */
.page-hero > .container {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .page-hero > .container {
    gap: 1.5rem;
  }
}

.page-hero .section__intro {
  max-width: var(--width-intro);
  margin: 0;
}

/* When cards still sit inside a hero (legacy), keep gap tight */
.page-hero .section__intro + .shop-buy-paths {
  margin-top: 0.25rem;
}

.page-hero .section__intro h1 {
  font-size: clamp(1.85rem, 3.5vw, 2.5rem);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 1rem;
  max-width: none; /* full intro column — matches lead + cards below */
}

.benefits-highlight__header h2,
.section__subintro h2 {
  margin: 0 0 0.5rem;
  font-size: 1.5rem;
  font-weight: 700;
}

.benefits-highlight__header h2 {
  color: var(--accent);
}

.highlights-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0;
}

@media (min-width: 768px) {
  .highlights-cta {
    flex-direction: row;
    justify-content: center;
  }
}

/*
 * Reading column: same outer shell as .container (left-aligned),
 * so prose lines up with page-hero text instead of re-centering narrower.
 */
.container--narrow {
  max-width: var(--width-layout);
}

/*
 * Outer shell stays --width-layout (same left edge as page-hero).
 * Reading content is capped at --width-prose, still left-aligned.
 */
.container--narrow > .section__subintro,
.container--narrow > .faq-list,
.container--narrow > .product-consult-cta,
.container--narrow > p,
.container--narrow > h2,
.container--narrow > h3,
.container--narrow > ul,
.container--narrow > .detail-next-links,
.container--narrow > .cameras-protocols,
.container--narrow > .cameras-brands,
.container--narrow > .cameras-note,
.container--narrow > .cameras-certified-placeholder,
.container--narrow > form,
.container--narrow > .contact-form,
.container--narrow > .partner-form,
.container--narrow .section__subintro,
.container--narrow .faq-list,
.about-page__content > h2,
.about-page__content > h3,
.about-page__content > p,
.about-page__content > ul,
.about-page__content > dl,
.about-page__content > .detail-next-links,
.use-case-section .container--narrow > * {
  max-width: var(--width-prose);
}

/* Multi-column blocks may use the full layout width */
.container--narrow > .product-deep-links {
  max-width: none;
}

.about-page__lead {
  margin: 0;
  font-size: 1.125rem;
  color: var(--muted);
  line-height: 1.65;
}

/* Full layout width for long product/detail text (e.g. self-hosted) */
.about-page__content--wide > h2,
.about-page__content--wide > h3,
.about-page__content--wide > p,
.about-page__content--wide > ul,
.about-page__content--wide > dl,
.about-page__content--wide > .detail-next-links,
.about-page__content--wide > .compare-table-wrap {
  max-width: none;
}

.about-page__content h2 {
  margin: 2rem 0 1rem;
  font-size: 1.375rem;
  font-weight: 600;
}

.about-page__content h2:first-child {
  margin-top: 0;
}

/* When topics are split into content-blocks, reset flat-page h2 spacing */
.about-page__content.content-stack,
.about-page__content .content-stack {
  max-width: none;
}

.about-page__content > .content-stack {
  width: 100%;
}

.about-page__content .content-block {
  max-width: var(--width-prose);
}

.about-page__content .content-block--wide {
  max-width: none;
}

.about-page__content--wide .content-block {
  max-width: none;
}

/* Prose sections: tight intro → body, normal paragraph rhythm (not flex-gap per <p>) */
.container--narrow.about-page__content {
  gap: 0;
}

.container--narrow.about-page__content > .section__intro {
  margin: 0 0 0.5rem;
}

.container--narrow.about-page__content > p,
.container--narrow.about-page__content > ul,
.container--narrow.about-page__content > dl,
.container--narrow.about-page__content > .cameras-protocols,
.container--narrow.about-page__content > .detail-next-links,
.container--narrow.about-page__content > .product-trust-note,
.container--narrow > .section__intro,
.container--narrow > .faq-list {
  margin-top: 0;
}

.container--narrow > .section__intro {
  margin-bottom: 0;
}

.container--narrow > .faq-list {
  width: 100%;
}

.about-page__content p {
  margin: 0 0 1rem;
  color: var(--surface-muted);
  line-height: 1.65;
}

/* Keep the eyebrow green — the broad `.about-page__content p` rule above is more
   specific than `.section__eyebrow` and would otherwise recolor it as body text */
.about-page__content .section__eyebrow {
  color: var(--accent);
  margin: 0 0 0.75rem;
}

.about-page__content > p:last-child,
.about-page__content > ul:last-child,
.about-page__content > dl:last-child {
  margin-bottom: 0;
}

/* Grids/lists after intro keep full section width */
.section > .container > .features-grid,
.section > .container > .camera-grid,
.section > .container > .camera-brands-grid,
.section > .container > .camera-fixed-list,
.section > .container > .shop-grid,
.section > .container > .shop-buy-paths,
.section > .container > .verticals-grid,
.section > .container > .highlights-cta,
.section > .container > .content-stack,
.section > .container > .pricing-grid {
  width: 100%;
}

.about-page__content a,
.container--narrow > a,
.container--narrow p a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.about-page__content a:hover,
.container--narrow > a:hover,
.container--narrow p a:hover {
  color: var(--accent);
}

.about-page__list {
  margin: 0;
  padding-left: 1.25rem;
  color: var(--surface-muted);
  line-height: 1.65;
}

.about-page__list li + li {
  margin-top: 0.75rem;
}

.about-page__list strong {
  color: var(--foreground);
}

.about-page__details {
  display: grid;
  gap: 1rem;
  margin: 0;
}

.about-page__details div {
  display: grid;
  gap: 0.25rem;
}

.about-page__details dt {
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
}

.about-page__details dd {
  margin: 0;
  color: #33403A;
}

.about-page__details a {
  color: var(--accent);
}

/* Product deep-link cards */
.product-deep-links {
  display: grid;
  gap: 1rem;
  margin-top: 2.5rem;
}

@media (min-width: 768px) {
  .product-deep-links {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Anchor from homepage notifications card (sticky header offset) */
#notifications,
#how-it-works,
#faq {
  scroll-margin-top: 5.5rem;
}

.product-free-note,
.product-beta-note {
  margin: 1rem 0 0;
  max-width: none;
  font-size: 0.9375rem;
  color: var(--muted);
  line-height: 1.55;
}

.page-hero__cta {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.25rem;
  max-width: none;
}

.page-hero__cta .btn {
  width: 100%;
}

@media (min-width: 480px) {
  .page-hero__cta {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .page-hero__cta .btn {
    width: auto;
  }
}

.product-trust-note {
  margin-top: 0;
  padding: 1.75rem 1.5rem;
  border-radius: 0.5rem;
  border: 1px solid var(--border);
  background: rgba(var(--ink), 0.03);
  width: 100%;
}

.product-trust-note h2 {
  margin: 0 0 0.75rem;
  font-size: 1.25rem;
  font-weight: 600;
}

.product-trust-note p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.65;
}

.product-trust-note a {
  color: var(--accent);
  text-decoration: none;
}

.product-trust-note a:hover {
  text-decoration: underline;
}

.product-consult-cta {
  text-align: center;
}

.product-consult-cta .section__intro {
  margin-bottom: 0.5rem;
}

.product-consult-cta .btn {
  align-self: center;
}

.product-consult-cta h2 {
  margin: 0 0 0.75rem;
  font-size: 1.5rem;
}

.product-consult-cta p {
  margin: 0 0 1.25rem;
  color: var(--muted);
  line-height: 1.65;
}

.product-consult-cta a:not(.btn) {
  color: var(--accent);
  text-decoration: none;
}

.product-consult-cta a:not(.btn):hover {
  text-decoration: underline;
}

.faq-section-gap {
  margin-top: 0;
}

.faq-group .section__subintro {
  margin: 0 0 1rem;
  max-width: none;
}

.faq-group .section__subintro h2 {
  margin: 0 0 0.4rem;
  font-size: 1.2rem;
}

.faq-group .faq-list {
  max-width: none;
}

.content-stack > .detail-next-links {
  margin-top: 0.25rem;
  max-width: var(--width-prose);
}

.page-hero .section__intro a:not(.btn) {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.page-hero .section__intro a:not(.btn):hover {
  color: var(--accent);
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: 0.375rem;
  background: rgba(var(--ink), 0.03);
  padding: 0 1.25rem;
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 1.1rem 0;
  font-weight: 600;
  font-size: 1rem;
  color: var(--foreground);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  float: right;
  color: var(--accent);
  font-weight: 500;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item p {
  margin: 0 0 1.15rem;
  font-size: 0.9375rem;
  color: var(--muted);
  line-height: 1.65;
}

.faq-item a {
  color: var(--accent);
  text-decoration: none;
}

.faq-item a:hover {
  text-decoration: underline;
}

.detail-next-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  margin: 2.5rem 0 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  font-size: 0.9375rem;
  font-weight: 500;
}

.detail-next-links a {
  color: var(--accent);
  text-decoration: none;
}

.detail-next-links a:hover {
  text-decoration: underline;
}

.partner-consult-note {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.6;
}

.partner-consult-note a {
  color: var(--accent);
  text-decoration: none;
}

.partner-consult-note a:hover {
  text-decoration: underline;
}

.contact-page__partner-note {
  margin: 1.5rem 0 0;
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.55;
}

.contact-page__partner-note a {
  color: var(--accent);
  text-decoration: none;
}

.contact-page__partner-note a:hover {
  text-decoration: underline;
}

.product-deep-link {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1.5rem;
  border-radius: 0.5rem;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: 0 1px 2px rgba(var(--ink), 0.03);
  color: inherit;
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s;
}

.product-deep-link:hover {
  border-color: rgba(var(--accent-rgb), 0.35);
  background: rgba(var(--ink), 0.07);
}

.product-deep-link h3 {
  margin: 0;
  font-size: 1.0625rem;
  font-weight: 600;
}

.product-deep-link p {
  margin: 0;
  flex: 1;
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.55;
}

.product-deep-link__more {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--accent);
}

.page-breadcrumb {
  margin: 0 0 1rem;
  font-size: 0.875rem;
  color: var(--muted);
}

.page-breadcrumb a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}

.page-breadcrumb a:hover {
  color: var(--accent);
}

.partner-tech__title {
  margin: 0 0 1rem;
  font-size: 1.375rem;
  font-weight: 600;
}

.partner-tech__lead {
  margin: 0 0 1rem;
  color: var(--surface-muted);
  line-height: 1.65;
}

/* Supported cameras page */
.cameras-protocols {
  display: grid;
  gap: 1rem;
  margin: 1.5rem 0 2rem;
}

@media (min-width: 640px) {
  .cameras-protocols {
    grid-template-columns: repeat(3, 1fr);
  }
}

.cameras-protocol {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1.25rem;
  border-radius: 0.375rem;
  border: 1px solid var(--border);
  background: rgba(var(--ink), 0.03);
}

.cameras-protocol--recommended {
  border-color: rgba(var(--accent-rgb), 0.35);
  background: rgba(var(--accent-rgb), 0.08);
}

.cameras-protocol__label {
  font-size: 1rem;
  font-weight: 600;
  color: var(--foreground);
}

.cameras-protocol__status {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent);
}

.cameras-protocol p {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--muted);
  line-height: 1.5;
}

.cameras-brands {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem 1.5rem;
  margin: 0 0 1rem;
  padding: 0;
  list-style: none;
  color: var(--surface-muted);
}

@media (min-width: 480px) {
  .cameras-brands {
    grid-template-columns: repeat(3, 1fr);
  }
}

.cameras-brands li {
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(var(--ink), 0.06);
  font-size: 0.9375rem;
}

.cameras-note {
  font-size: 0.875rem !important;
  color: var(--muted) !important;
  font-style: italic;
}

.cameras-certified-placeholder {
  margin: 1.5rem 0 2rem;
  padding: 1.5rem;
  border-radius: 0.375rem;
  border: 1px dashed rgba(var(--ink), 0.15);
  background: rgba(var(--ink), 0.02);
  text-align: center;
}

.cameras-certified-placeholder__title {
  margin: 0 0 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
}

.cameras-certified-placeholder__text {
  margin: 0;
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.55;
}

/* Rewilding section — homepage */
.rewild-section {
  border-top: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(var(--accent-rgb), 0.06) 0%, transparent 100%);
}

.rewild-section h2 {
  margin: 0 0 1.5rem;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  line-height: 1.2;
}

.rewild-section__content {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.rewild-section__content p {
  margin: 0;
  font-size: 1.0625rem;
  color: var(--surface-muted);
  line-height: 1.7;
}

/* Comparison table */
.compare-table-wrap {
  overflow-x: auto;
  min-width: 0;
  max-width: 100%;
  margin: 1.5rem 0 2rem;
  border-radius: 0.375rem;
  border: 1px solid var(--border);
}

.compare-table-wrap--elevated {
  margin: 0;
  border-color: rgba(var(--ink), 0.12);
  background: var(--surface);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
}

.features-grid--after-duo {
  margin-top: 1.5rem;
}

.self-hosted-note {
  margin-top: 2rem;
  padding: 1.25rem 1.5rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(var(--accent-rgb), 0.22);
  background: rgba(var(--accent-rgb), 0.06);
}

.self-hosted-note p {
  margin: 0;
  max-width: 48rem;
  font-size: 0.9375rem;
  color: var(--surface-muted);
  line-height: 1.6;
}

.self-hosted-note strong {
  color: var(--foreground);
  font-weight: 600;
}

#how-deployment-works,
#self-hosted-deployments,
#white-label-oem,
#cloud-vs-self-hosted,
#whats-included {
  scroll-margin-top: 5.5rem;
}

#how-deployment-works .highlights-cta {
  margin-top: 2.5rem;
}

.compare-table {
  width: 100%;
  min-width: 32rem;
  border-collapse: collapse;
  font-size: 0.875rem;
}

.compare-table th,
.compare-table td {
  padding: 0.875rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

.compare-table thead th {
  background: rgba(var(--ink), 0.04);
  font-weight: 600;
  color: var(--foreground);
}

.compare-table tbody th {
  font-weight: 500;
  color: var(--surface-muted);
  background: rgba(var(--ink), 0.02);
  width: 28%;
}

.compare-table tbody td {
  color: var(--muted);
}

.compare-table tbody tr:last-child th,
.compare-table tbody tr:last-child td {
  border-bottom: none;
}

.compare-table th:nth-child(3),
.compare-table td:nth-child(3) {
  color: #33403A;
  background: rgba(var(--accent-rgb), 0.06);
}

/* Inner pages */
.page-inner {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.page-inner main {
  flex: 1;
}

/* Contact page — mobile first */
.contact-page {
  padding: 2rem 1rem 3rem;
}

@media (min-width: 768px) {
  .contact-page {
    padding: 3rem 1.5rem 4rem;
  }
}

.contact-page__grid {
  display: grid;
  gap: 2rem;
  max-width: 64rem;
}

@media (min-width: 900px) {
  .contact-page__grid {
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: start;
  }
}

.contact-page__intro h1 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  line-height: 1.15;
}

.contact-page__lead {
  margin: 0 0 2rem;
  font-size: 1.0625rem;
  color: var(--muted);
  line-height: 1.65;
}

.contact-page__details {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-page__details > div {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.contact-page__label {
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
}

.contact-page__details a {
  color: var(--accent);
  transition: color 0.2s;
}

.contact-page__details a:hover {
  color: var(--accent);
}

.contact-page__details span:not(.contact-page__label) {
  font-size: 0.9375rem;
  color: var(--surface-muted);
  line-height: 1.5;
}

/* Contact form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding: 2rem;
  border-radius: 0.5rem;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: 0 1px 2px rgba(var(--ink), 0.03);
}

.contact-form__honey {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}

.contact-form__row {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}

@media (min-width: 600px) {
  .contact-form__row {
    grid-template-columns: 1fr 1fr;
  }
}

.contact-form__field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--surface-muted);
}

.contact-form__field em {
  color: var(--accent);
  font-style: normal;
}

.contact-form__field input,
.contact-form__field select,
.contact-form__field textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 0.375rem;
  border: 1px solid rgba(var(--ink), 0.12);
  background: rgba(0, 0, 0, 0.25);
  color: var(--foreground);
  font-family: inherit;
  font-size: 0.9375rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.contact-form__field input::placeholder,
.contact-form__field textarea::placeholder {
  color: var(--muted);
}

.contact-form__field input:focus,
.contact-form__field select:focus,
.contact-form__field textarea:focus {
  outline: none;
  border-color: rgba(var(--accent-rgb), 0.5);
  box-shadow: 0 0 0 3px rgba(var(--accent-rgb), 0.15);
}

.contact-form__field select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23a1a1aa' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.contact-form__field select option {
  background: var(--surface);
  color: var(--foreground);
}

.contact-form__field textarea {
  resize: vertical;
  min-height: 8rem;
}

.contact-form__field--error input,
.contact-form__field--error select,
.contact-form__field--error textarea {
  border-color: rgba(239, 68, 68, 0.6);
}

.contact-form__checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.8125rem;
  color: var(--muted);
  line-height: 1.55;
  cursor: pointer;
}

.contact-form__checkbox input {
  flex-shrink: 0;
  width: 1.125rem;
  height: 1.125rem;
  margin-top: 0.125rem;
  accent-color: var(--accent);
  cursor: pointer;
}

.contact-form__checkbox a {
  color: var(--accent);
  text-decoration: underline;
}

.contact-form__checkbox a:hover {
  color: var(--accent);
}

.contact-form__error {
  margin: 0;
  padding: 0.75rem 1rem;
  border-radius: 0.375rem;
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #fca5a5;
  font-size: 0.875rem;
}

.contact-form__submit {
  align-self: flex-start;
  min-width: 10rem;
}

.contact-form__submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Thank you page */
.thanks-page {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 1rem;
  min-height: 60dvh;
}

@media (min-width: 768px) {
  .thanks-page {
    padding: 5rem 1.5rem 4rem;
  }
}

.thanks-page__box {
  max-width: 32rem;
  text-align: center;
}

.thanks-page__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  margin-bottom: 1.5rem;
  border-radius: 50%;
  background: rgba(var(--accent-rgb), 0.15);
  border: 1px solid rgba(var(--accent-rgb), 0.35);
  color: var(--accent);
}

.thanks-page__icon .hi {
  width: 1.75rem;
  height: 1.75rem;
}

.thanks-page__box h1 {
  margin: 0 0 1rem;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
}

.thanks-page__box p {
  margin: 0 0 2rem;
  color: var(--muted);
  line-height: 1.65;
}

.thanks-page__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

/* Pricing tiers */
.pricing-grid {
  align-items: stretch;
}

.pricing-card {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.pricing-card__tier {
  margin: 0;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
}

.pricing-card__price {
  margin: 0;
}

.pricing-card__amount {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
}

.pricing-card__note {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.5;
}

.pricing-card__list {
  margin: 0.5rem 0 1rem;
  padding: 0 0 0 1.1rem;
  flex: 1;
  color: var(--muted);
  font-size: 0.925rem;
  line-height: 1.55;
}

.pricing-card__list li {
  margin-bottom: 0.4rem;
}

.pricing-card--featured {
  border-color: rgba(var(--accent-rgb), 0.45);
  box-shadow: 0 0 0 1px rgba(var(--accent-rgb), 0.2), 0 16px 40px rgba(0, 0, 0, 0.25);
}

.pricing-card .btn {
  margin-top: auto;
}

.pricing-footnote {
  margin: 2.5rem auto 0;
  max-width: var(--width-prose);
  text-align: center;
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.6;
}

.pricing-footnote a {
  color: var(--accent);
}

/* ── Cookie banner & GDPR preferences ───────────────────────────── */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 80;
  padding: 1rem;
  pointer-events: none;
}

.cookie-banner__inner {
  pointer-events: auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: var(--width-layout);
  margin: 0 auto;
  padding: 1.15rem 1.25rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(var(--ink), 0.12);
  background: var(--surface);
  box-shadow: 0 -8px 40px rgba(var(--ink), 0.14);
  backdrop-filter: blur(12px);
}

@media (min-width: 768px) {
  .cookie-banner__inner {
    flex-direction: row;
    align-items: center;
    gap: 1.5rem;
    padding: 1.25rem 1.5rem;
  }
}

.cookie-banner__copy {
  flex: 1;
  min-width: 0;
}

.cookie-banner__title {
  margin: 0 0 0.35rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--foreground);
}

.cookie-banner__text {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--muted);
}

.cookie-banner__text a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  flex-shrink: 0;
}

.cookie-banner__actions .btn {
  font-size: 0.875rem;
  padding: 0.55rem 0.95rem;
}

.cookie-banner__manage {
  border-color: transparent;
  color: var(--surface-muted);
}

.cookie-banner__manage:hover {
  color: var(--foreground);
  background: rgba(var(--ink), 0.06);
}

.cookie-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
}

.cookie-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  pointer-events: none;
}

.cookie-modal[hidden],
.cookie-modal-backdrop[hidden],
.cookie-banner[hidden] {
  display: none !important;
}

.cookie-modal__panel {
  pointer-events: auto;
  width: 100%;
  max-width: 32rem;
  max-height: min(90vh, 40rem);
  overflow: auto;
  border-radius: 0.5rem;
  border: 1px solid rgba(var(--accent-rgb), 0.3);
  background: #0a1a0e;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.55);
}

.cookie-modal__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.25rem;
  border-bottom: 1px solid var(--border);
}

.cookie-modal__header h2 {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 700;
}

.cookie-modal__close {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  border: 0;
  border-radius: 0.375rem;
  background: rgba(var(--ink), 0.06);
  color: var(--foreground);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
}

.cookie-modal__close:hover {
  background: rgba(var(--ink), 0.12);
}

.cookie-modal__body {
  padding: 1.15rem 1.25rem;
}

.cookie-modal__lead {
  margin: 0 0 1.15rem;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--muted);
}

.cookie-modal__lead a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-prefs {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.cookie-prefs__item {
  margin: 0;
  padding: 0.9rem 1rem;
  border-radius: 0.375rem;
  border: 1px solid var(--border);
  background: rgba(var(--ink), 0.03);
}

.cookie-prefs__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.cookie-prefs__row strong {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 0.95rem;
  color: var(--foreground);
}

.cookie-prefs__row p {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--muted);
}

.cookie-prefs__badge {
  flex-shrink: 0;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
  padding: 0.25rem 0.5rem;
  border-radius: 999px;
  border: 1px solid rgba(var(--accent-rgb), 0.35);
  background: rgba(var(--accent-rgb), 0.1);
}

.cookie-prefs__item .cookie-prefs__toggle[disabled] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.cookie-switch {
  position: relative;
  display: inline-flex;
  flex-shrink: 0;
  width: 2.75rem;
  height: 1.5rem;
  cursor: pointer;
}

.cookie-switch input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.cookie-switch__ui {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: rgba(var(--ink), 0.12);
  border: 1px solid var(--border);
  transition: background 0.15s, border-color 0.15s;
}

.cookie-switch__ui::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 1.1rem;
  height: 1.1rem;
  border-radius: 50%;
  background: #33403A;
  transition: transform 0.15s;
}

.cookie-switch input:checked + .cookie-switch__ui {
  background: rgba(var(--accent-rgb), 0.35);
  border-color: rgba(var(--accent-rgb), 0.55);
}

.cookie-switch input:checked + .cookie-switch__ui::after {
  transform: translateX(1.2rem);
  background: var(--accent);
}

.cookie-switch input:focus-visible + .cookie-switch__ui {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.cookie-modal__footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.65rem;
  padding: 1rem 1.25rem 1.25rem;
  border-top: 1px solid var(--border);
}

body.cookie-modal-open {
  overflow: hidden;
}

/* ── Camera catalogue, shop & product pages ─────────────────────── */
.cam-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--surface-muted);
  border: 1px solid var(--border);
  background: rgba(var(--ink), 0.05);
}

.cam-badge--ftps {
  color: var(--accent);
  border-color: rgba(var(--accent-rgb), 0.4);
  background: rgba(var(--accent-rgb), 0.12);
}

.camera-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 700px) {
  .camera-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1100px) {
  .camera-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.camera-card {
  display: flex;
  flex-direction: column;
  border-radius: 0.5rem;
  border: 1px solid var(--border);
  background: rgba(var(--ink), 0.03);
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.camera-card:hover {
  border-color: rgba(var(--accent-rgb), 0.35);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
}

.camera-card__media {
  display: block;
  color: inherit;
}

.camera-card__frame {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
  background:
    linear-gradient(160deg, rgba(var(--accent-rgb), 0.1), rgba(var(--ink), 0.03) 55%),
    repeating-linear-gradient(
      -45deg,
      transparent,
      transparent 10px,
      rgba(var(--ink), 0.02) 10px,
      rgba(var(--ink), 0.02) 20px
    );
}

.camera-card__frame--lg {
  aspect-ratio: 4 / 3;
  border-radius: 0.5rem;
  border: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.camera-card__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.camera-card__img.is-missing {
  display: none;
}

.camera-card__frame:has(.camera-card__img:not(.is-missing)) {
  background: var(--surface, #0c1a10);
}

.camera-card__body {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.35rem 1.4rem 1.5rem;
  flex: 1;
}

.camera-card__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.camera-card__title {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 700;
}

.camera-card__title a {
  color: inherit;
}

.camera-card__title a:hover {
  color: var(--accent);
}

.camera-card__brand {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--muted);
  letter-spacing: 0.02em;
}

.camera-card__summary {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--muted);
  line-height: 1.55;
}

.camera-card__specs {
  margin: 0;
  padding: 0 0 0 1.1rem;
  font-size: 0.875rem;
  color: var(--surface-muted);
  line-height: 1.5;
}

.camera-card__specs li {
  margin-bottom: 0.25rem;
}

.camera-card__why {
  margin: 0;
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.55;
}

.camera-card__why strong {
  color: #33403A;
}

.camera-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: auto;
  padding-top: 0.5rem;
}

.camera-grid-note {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--muted);
  text-align: center;
}

.camera-grid-note code {
  font-size: 0.8em;
  color: var(--muted);
}

.camera-brands-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

@media (min-width: 480px) {
  .camera-brands-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 800px) {
  .camera-brands-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.camera-brand-chip {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.55rem;
  padding: 1rem 1.1rem;
  border-radius: 0.375rem;
  border: 1px solid var(--border);
  background: rgba(var(--ink), 0.03);
  min-height: 5.5rem;
  transition: border-color 0.2s, background 0.2s;
}

.camera-brand-chip:hover {
  border-color: rgba(var(--accent-rgb), 0.35);
  background: rgba(var(--accent-rgb), 0.06);
}

.camera-brand-chip--more {
  border-style: dashed;
  background: transparent;
}

.camera-brand-chip__name {
  font-size: 1rem;
  font-weight: 600;
  color: var(--foreground);
  line-height: 1.3;
}

.camera-brands-note {
  margin: 0;
  max-width: var(--width-prose);
  font-size: 0.925rem;
  color: var(--muted);
  line-height: 1.6;
}

.camera-brands-note a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Fixed FTPS camera list */
.camera-fixed-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.camera-fixed-item {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding: 1.15rem 1.25rem;
  border-radius: 0.5rem;
  border: 1px solid var(--border);
  background: rgba(var(--ink), 0.03);
  transition: border-color 0.2s, background 0.2s;
}

.camera-fixed-item:hover {
  border-color: rgba(var(--accent-rgb), 0.35);
  background: rgba(var(--ink), 0.05);
}

@media (min-width: 700px) {
  .camera-fixed-item {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
  }
}

.camera-fixed-item__main {
  min-width: 0;
  flex: 1;
}

.camera-fixed-item__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.5rem;
}

.camera-fixed-item__title {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--foreground);
  line-height: 1.3;
}

.camera-fixed-item__note {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.5;
}

.camera-fixed-item__meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.25rem;
  flex-shrink: 0;
}

@media (min-width: 700px) {
  .camera-fixed-item__meta {
    align-items: flex-end;
    text-align: right;
    min-width: 9.5rem;
  }
}

.camera-fixed-item__price {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.01em;
}

.camera-fixed-item__source {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--muted);
}

.camera-fixed-list__footnote {
  margin: 0;
  padding: 1.15rem 1.25rem;
  border-radius: 0.375rem;
  border: 1px solid rgba(var(--accent-rgb), 0.28);
  background: rgba(var(--accent-rgb), 0.08);
  font-size: 0.925rem;
  color: var(--surface-muted);
  line-height: 1.6;
  max-width: none;
  width: 100%;
}

/* Shop */
.shop-buy-paths {
  display: grid;
  gap: 1rem;
  margin-top: 0;
  width: 100%;
}

@media (min-width: 700px) {
  .shop-buy-paths {
    grid-template-columns: 1fr 1fr;
  }
}

.shop-buy-path {
  padding: 1.35rem 1.4rem;
  border-radius: 0.5rem;
  border: 1px solid var(--border);
  background: rgba(var(--ink), 0.03);
}

.shop-buy-path--accent {
  border-color: rgba(var(--accent-rgb), 0.35);
  background: rgba(var(--accent-rgb), 0.08);
}

.shop-buy-path h2 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
}

.shop-buy-path p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.55;
}

.shop-grid {
  display: grid;
  gap: 1.75rem;
}

@media (min-width: 900px) {
  .shop-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.shop-card {
  display: flex;
  flex-direction: column;
  border-radius: 0.5rem;
  border: 1px solid var(--border);
  background: rgba(var(--ink), 0.03);
  overflow: hidden;
  scroll-margin-top: 5.5rem;
}

.shop-card__media {
  display: block;
}

.shop-card__body {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding: 1.35rem 1.4rem 1.5rem;
  flex: 1;
}

.shop-card__body h3 {
  margin: 0;
  font-size: 1.2rem;
}

.shop-card__body h3 a {
  color: inherit;
}

.shop-card__body h3 a:hover {
  color: var(--accent);
}

.shop-card__tagline {
  margin: 0;
  font-size: 0.875rem;
  color: var(--muted);
}

.shop-card__price-hint {
  margin: 0;
  font-size: 0.875rem;
  color: var(--muted);
}

.shop-card__buy {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-top: 0.5rem;
}

.shop-card__buy-block {
  padding: 0.9rem 1rem;
  border-radius: 0.375rem;
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.15);
}

.shop-card__buy-block--primary {
  border-color: rgba(var(--accent-rgb), 0.35);
  background: rgba(var(--accent-rgb), 0.08);
}

.shop-card__buy-label {
  display: block;
  margin-bottom: 0.55rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.shop-card__buy-block--primary .shop-card__buy-label {
  color: var(--accent);
}

.shop-card__buy-note {
  margin: 0.55rem 0 0;
  font-size: 0.75rem;
  color: var(--muted);
  line-height: 1.4;
}

.shop-affiliates {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.btn--sm {
  padding: 0.4rem 0.75rem;
  font-size: 0.8125rem;
}

.shop-card__more {
  margin-top: auto;
  padding-top: 0.75rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent);
}

.shop-card__more:hover {
  text-decoration: underline;
}

/* Product detail template */
.cam-product-hero {
  padding-top: 2rem;
}

.cam-product-hero__grid {
  display: grid;
  gap: 2rem;
  align-items: start;
}

@media (min-width: 900px) {
  .cam-product-hero__grid {
    grid-template-columns: 1fr 1.1fr;
    gap: 2.5rem;
  }
}

.cam-product-hero__copy h1 {
  margin: 0.75rem 0 0.75rem;
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.cam-product-hero__lead {
  margin: 0 0 1.5rem;
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.6;
  max-width: none;
}

.cam-product-buy {
  display: grid;
  gap: 1rem;
}

@media (min-width: 560px) {
  .cam-product-buy {
    grid-template-columns: 1fr 1fr;
  }
}

.cam-product-buy__option {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding: 1.15rem 1.2rem;
  border-radius: 0.5rem;
  border: 1px solid var(--border);
  background: rgba(var(--ink), 0.03);
}

.cam-product-buy__option--featured {
  border-color: rgba(var(--accent-rgb), 0.4);
  background: rgba(var(--accent-rgb), 0.1);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
}

.cam-product-buy__option h2 {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
}

.cam-product-buy__option p {
  margin: 0;
  flex: 1;
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.5;
}

.cam-product-buy__option .btn {
  align-self: flex-start;
}

.cam-specs__grid {
  display: grid;
  gap: 0;
  margin: 0;
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  overflow: hidden;
  background: rgba(var(--ink), 0.02);
}

@media (min-width: 640px) {
  .cam-specs__grid {
    grid-template-columns: 1fr 1fr;
  }
}

.cam-specs__grid > div {
  display: grid;
  gap: 0.25rem;
  padding: 1rem 1.15rem;
  border-bottom: 1px solid var(--border);
}

@media (min-width: 640px) {
  .cam-specs__grid > div:nth-child(odd) {
    border-right: 1px solid var(--border);
  }
}

.cam-specs__grid dt {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
}

.cam-specs__grid dd {
  margin: 0;
  font-size: 0.95rem;
  color: #33403A;
  line-height: 1.45;
}

.cam-split {
  display: grid;
  gap: 1.5rem;
  align-items: start;
  width: 100%;
}

.cam-split > div:not(.cam-preconfig-card) {
  padding: 1.35rem 1.25rem;
  border-radius: 0.5rem;
  border: 1px solid var(--border);
  background: rgba(var(--ink), 0.03);
}

@media (min-width: 800px) {
  .cam-split {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
}

.cam-split h2 {
  margin: 0 0 1rem;
  font-size: 1.5rem;
}

.cam-preconfig-card {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding: 1.5rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(var(--accent-rgb), 0.35);
  background:
    linear-gradient(160deg, rgba(var(--accent-rgb), 0.12), rgba(var(--ink), 0.02) 60%);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
}

.cam-preconfig-card h2 {
  margin: 0;
  font-size: 1.2rem;
}

.cam-preconfig-card > p {
  margin: 0;
  font-size: 0.925rem;
  color: var(--muted);
  line-height: 1.55;
}

.cam-preconfig-card__list {
  margin: 0;
  padding: 0 0 0 1.15rem;
  font-size: 0.9rem;
  color: var(--surface-muted);
  line-height: 1.55;
}

.cam-preconfig-card__list li {
  margin-bottom: 0.35rem;
}

.cam-preconfig-card .btn {
  align-self: flex-start;
}

.cam-preconfig-card .btn + .btn {
  margin-top: -0.25rem;
}

/* Funder logos: dark tint on the now-light strip instead of white */
.cred-strip__logo { filter: grayscale(1) brightness(0.35); opacity: 0.6; }
.cred-strip__logo:hover { filter: grayscale(0.4) brightness(0.55); opacity: 0.95; }


/* ============================================================
   Hairline rows — Cloudflare-style airy, square, numbered rows
   in a 50/50 split (headline left, numbered rows right).
   ============================================================ */
.hairline-split { display: grid; gap: 2.5rem; }
@media (min-width: 900px) {
  .hairline-split {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 3rem 4.5rem;
    align-items: start;
  }
}
.hairline-split__head { max-width: 40ch; }
.hairline-rows { list-style: none; margin: 0; padding: 0; }
.hairline-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.25rem;
  padding: 1.4rem 0;
  border-top: 1px solid var(--border);
  align-items: start;
}
.hairline-row:last-child { border-bottom: 1px solid var(--border); }
.hairline-row__num {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--accent);
  padding-top: 0.3rem;
  font-variant-numeric: tabular-nums;
}
.hairline-row__body h3 { margin: 0 0 0.35rem; font-size: 1.1rem; font-weight: 650; }
.hairline-row__body p { margin: 0; color: var(--muted); font-size: 0.95rem; line-height: 1.55; }


.hairline-split__cta { margin: 1.5rem 0 0; }
.hairline-split__cta a { font-weight: 600; }

/* ============================================================
   DESIGN KIT — canonical elements. Route content through these;
   do not invent per-section treatments. Reference: /styleguide.html
   and docs/design-system.md. Locked rules:
     · parallel set   -> .card-grid + .card   (NOT hairline rows)
     · linear sequence-> .hairline-split + numbered .hairline-rows
     · views of one   -> .tabs
     · cover / closing-> .section--island
     · running text   -> plain prose, no element
   ============================================================ */

/* Card grid — parallel sets: bold label + one line, no icon.
   One .card--accent per grid, max. */
.card-grid { display: grid; gap: 1.25rem; margin-top: 2.75rem; }
@media (min-width: 720px) { .card-grid { grid-template-columns: 1fr 1fr; gap: 1.5rem; } }
.card-grid--3 { grid-template-columns: 1fr; }
@media (min-width: 860px) { .card-grid--3 { grid-template-columns: repeat(3, 1fr); } }
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  padding: 2rem 2rem 2.1rem;
  box-shadow: 0 1px 2px rgba(var(--ink), 0.03);
}
.card h3 { margin: 0 0 0.6rem; font-size: 1.15rem; font-weight: 650; }
.card p { margin: 0; color: var(--muted); line-height: 1.55; }
.card--accent { background: var(--accent-tint); border-color: rgba(22, 163, 74, 0.20); }
a.card { display: block; text-decoration: none; color: inherit; transition: border-color 0.15s ease, box-shadow 0.15s ease; }
a.card:hover { border-color: rgba(22, 163, 74, 0.40); box-shadow: 0 2px 10px rgba(var(--ink), 0.06); }

/* Callout — one important aside in a white box. */
.callout {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  padding: 1.5rem 1.75rem;
  box-shadow: 0 1px 2px rgba(var(--ink), 0.03);
  margin-top: 2rem;
}
.callout p { margin: 0; color: var(--foreground); line-height: 1.6; }
.callout strong { font-weight: 650; }

/* Island — dark forest-green section: cover-adjacent moments,
   heavy transitions, and the closing CTA. */
.section--island {
  background-color: var(--island-bg);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cg fill='none' stroke='%235FA37B' stroke-width='1' stroke-opacity='0.12'%3E%3Cpath d='M0,45 C55,22 165,68 220,45'/%3E%3Cpath d='M0,110 C55,87 165,133 220,110'/%3E%3Cpath d='M0,175 C55,152 165,198 220,175'/%3E%3C/g%3E%3C/svg%3E");
}
.section--island .section__eyebrow { color: var(--island-eyebrow); }
.section--island h1,
.section--island h2 { color: #FFFFFF; }
.section--island .section__lead,
.section--island p { color: rgba(255, 255, 255, 0.72); }
.section--island a:not(.btn) { color: #FFFFFF; }
.section--island .btn--outline { color: #FFFFFF; border-color: rgba(255, 255, 255, 0.40); }
.section--island .btn--outline:hover { border-color: rgba(255, 255, 255, 0.75); background: rgba(255, 255, 255, 0.06); }

/* ============================================================
   Split hero — text left, platform screenshot right, dark band
   ============================================================ */
.hero-split { background: var(--island-bg); }
.hero-split .container { padding-top: 3.25rem; padding-bottom: 3.75rem; }
.hero-split__grid { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 900px) {
  .hero-split .container { padding-top: 4.75rem; padding-bottom: 5.25rem; }
  .hero-split__grid { grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr); gap: 3.75rem; }
}
.hero-split__text h1 {
  margin: 0 0 1.25rem;
  font-size: clamp(2rem, 4.4vw, 3.15rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  font-weight: 700;
  color: #FFFFFF;
}
.hero-split__text h1 .accent { color: var(--accent); }
.hero-split__descriptor {
  margin: 0 0 1.1rem;
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  font-weight: 600;
  line-height: 1.3;
  color: #FFFFFF;
  max-width: 34rem;
}
.hero-split__lead {
  margin: 0 0 1.75rem;
  font-size: 1.125rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.74);
  max-width: 34rem;
}
.hero-split__cta { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 0 0 1.5rem; }
.hero-split .btn--outline { color: #FFFFFF; border-color: rgba(255, 255, 255, 0.40); }
.hero-split .btn--outline:hover { border-color: rgba(255, 255, 255, 0.75); background: rgba(255, 255, 255, 0.06); }
.browser-frame {
  margin: 0;
  border-radius: 0.6rem;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.55), 0 8px 20px rgba(0, 0, 0, 0.25);
}
.browser-frame__bar {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.6rem 0.8rem;
  background: var(--frame-bar);
  border-bottom: 1px solid rgba(var(--ink), 0.08);
}
.browser-frame__bar span {
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 50%;
  background: rgba(var(--ink), 0.18);
}
.browser-frame__img { display: block; width: 100%; height: auto; }
/* Media frame — rounded photo/image frame (no browser chrome); hero photos, captures. */
.media-frame { margin: 0; border-radius: 0.6rem; overflow: hidden; background: var(--surface); border: 1px solid var(--border); box-shadow: 0 20px 45px -22px rgba(var(--ink), 0.32); }
.media-frame img { display: block; width: 100%; height: auto; }
.media-frame--cover img { aspect-ratio: 16 / 10; object-fit: cover; }
.hero-split__caption {
  margin: 0.9rem 0 0;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.5);
  text-align: center;
}
@media (min-width: 900px) { .hero-split__caption { text-align: left; } }

/* ============================================================
   Sage register — soft tint + faint topographic contour texture.
   A background treatment; imagery drops in once real screenshots exist.
   ============================================================ */
.sage {
  background-color: #E7EFE4;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cg fill='none' stroke='%235B7A63' stroke-width='1' stroke-opacity='0.14'%3E%3Cpath d='M0,45 C55,22 165,68 220,45'/%3E%3Cpath d='M0,110 C55,87 165,133 220,110'/%3E%3Cpath d='M0,175 C55,152 165,198 220,175'/%3E%3C/g%3E%3C/svg%3E");
}

/* ============================================================
   Tabbed showcase — square, hairline, mono numbers, accent
   underline on the active tab; content swaps below.
   ============================================================ */
.tabs { margin: 0; }
.tabs__bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.tabs__tab {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  text-align: left;
  font: inherit;
  padding: 0.9rem 1.1rem;
  background: none;
  border: none;
  border-left: 1px solid var(--border);
  cursor: pointer;
  transition: background 0.15s;
}
.tabs__tab:first-child { border-left: none; }
.tabs__tab:hover { background: rgba(var(--ink), 0.02); }
.tabs__tab:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.tabs__tab::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform 0.18s ease;
}
.tabs__tab.is-active::after { transform: scaleX(1); }
.tabs__num {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}
.tabs__label { font-size: 1rem; font-weight: 600; color: var(--muted); transition: color 0.15s; }
.tabs__tab.is-active .tabs__label { color: var(--foreground); }
.tabs__sub { font-size: 0.82rem; color: var(--muted); line-height: 1.4; }
.tabs__panels { margin-top: 2rem; }
.tabs__panel { margin: 0; }
.tabs__panel + .tabs__panel { margin-top: 1.25rem; }
.js-tabs .tabs__panel { display: none; margin-top: 0; }
.js-tabs .tabs__panel.is-active { display: block; }
.tabs__panel .dashboard-shots__frame { aspect-ratio: 16 / 10; }
@media (max-width: 640px) {
  .tabs__sub { display: none; }
  .tabs__tab { padding: 0.7rem 0.85rem; }
}

/* ============================================================
   WolfDetect — uses the untameddata kit as-is (light, green).
   Only site-owned components live here; no theme override.
   ============================================================ */

/* NL · EN · PL language switch */
.lang-switch { display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.85rem; font-weight: 600; letter-spacing: 0.03em; }
.lang-switch > *:not(:first-child)::before { content: "·"; margin-right: 0.4rem; color: var(--muted); font-weight: 400; }
.lang-switch a { color: var(--muted); }
.lang-switch a:hover { color: var(--accent); }
.lang-switch__current { color: var(--foreground); }

/* Honest "work in progress" note under the split hero (hero-split is dark green on any theme) */
.hero-split__note { margin: 0; font-size: 0.9rem; line-height: 1.55; color: rgba(255, 255, 255, 0.55); max-width: 34rem; }

/* Hero alert preview — WolfDetect's product moment (a possible-wolf alert, being checked).
   A dark notification card sitting in the dark-green split hero; accent = kit accent. */
.wd-alert { margin: 0; border-radius: 0.85rem; background: #0b1a10; border: 1px solid rgba(255, 255, 255, 0.10); box-shadow: 0 26px 55px -22px rgba(0, 0, 0, 0.55); overflow: hidden; }
.wd-alert__body { padding: 1.1rem 1.15rem 1.2rem; color: #ffffff; }
.wd-alert__head { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.85rem; }
.wd-alert__dot { width: 0.55rem; height: 0.55rem; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3px rgba(var(--accent-rgb), 0.18); }
.wd-alert__title { font-weight: 650; font-size: 0.9rem; }
.wd-alert__badge { margin-left: auto; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 0.66rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent); border: 1px solid rgba(var(--accent-rgb), 0.4); border-radius: 999px; padding: 0.12rem 0.5rem; }
.wd-alert__thumb { position: relative; height: 8.5rem; border-radius: 0.5rem; overflow: hidden; background: radial-gradient(120% 120% at 30% 20%, #24382b 0%, #0e3b22 55%, #071209 100%); }
.wd-alert__box { position: absolute; top: 34%; left: 40%; width: 34%; height: 42%; border: 2px solid var(--accent); border-radius: 0.2rem; box-shadow: 0 0 0 9999px rgba(7, 18, 9, 0.15) inset; }
.wd-alert__box::after { content: "wolf?"; position: absolute; top: -1.35rem; left: -2px; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 0.68rem; letter-spacing: 0.04em; color: var(--accent); background: rgba(7, 18, 9, 0.75); padding: 0.05rem 0.35rem; border-radius: 0.2rem; }
.wd-alert__ir { position: absolute; bottom: 0.4rem; right: 0.5rem; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 0.62rem; letter-spacing: 0.08em; color: rgba(255, 255, 255, 0.5); }
.wd-alert__row { display: flex; align-items: center; gap: 0.6rem; margin: 0.9rem 0 0.55rem; }
.wd-alert__tag { font-size: 0.78rem; font-weight: 600; color: var(--accent); border: 1px solid rgba(var(--accent-rgb), 0.35); border-radius: 999px; padding: 0.15rem 0.6rem; }
.wd-alert__meta { margin-left: auto; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 0.72rem; color: rgba(255, 255, 255, 0.6); }
.wd-alert__note { margin: 0; font-size: 0.82rem; line-height: 1.5; color: rgba(255, 255, 255, 0.6); }

/* --- Asset-free output mocks for "Meten & rapporteren" (illustrative, no screenshots) --- */
.wd-mock { position: relative; border: 1px solid var(--border); border-radius: 0.9rem; background: var(--surface); padding: 1.4rem 1.4rem 1.5rem; }
.wd-mock__tag { position: absolute; top: 0.9rem; right: 0.9rem; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 0.64rem; letter-spacing: 0.07em; text-transform: uppercase; color: var(--muted); border: 1px solid var(--border); border-radius: 999px; padding: 0.15rem 0.55rem; }
.wd-mock__head { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 1.1rem; }
.wd-mock__dot { width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--accent); }
.wd-mock__title { font-weight: 650; font-size: 0.9rem; }
.wd-stats { display: grid; gap: 0.9rem; grid-template-columns: 1fr 1fr; }
@media (min-width: 620px) { .wd-stats { grid-template-columns: repeat(3, 1fr); } }
.wd-stat { border: 1px solid var(--border); border-radius: 0.6rem; padding: 0.85rem 0.95rem; background: rgba(var(--ink), 0.015); }
.wd-stat__label { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 0.66rem; letter-spacing: 0.05em; text-transform: uppercase; color: var(--muted); }
.wd-stat__value { font-size: 1.5rem; font-weight: 700; line-height: 1.1; margin: 0.3rem 0 0.15rem; color: var(--foreground); }
.wd-stat__meta { font-size: 0.78rem; color: var(--muted); }
.wd-stat__delta { color: var(--accent); font-weight: 600; }
.wd-spark { display: block; width: 100%; height: 44px; margin-top: 1rem; }
.wd-spark path.line { fill: none; stroke: var(--accent); stroke-width: 2; }
.wd-spark path.area { fill: rgba(var(--accent-rgb), 0.12); stroke: none; }
.wd-report { display: flex; align-items: flex-start; gap: 0.9rem; border: 1px solid var(--border); border-radius: 0.7rem; background: rgba(var(--ink), 0.015); padding: 1rem 1.1rem; margin-top: 1rem; }
.wd-report__icon { flex: none; width: 2.2rem; height: 2.2rem; border-radius: 0.5rem; display: grid; place-items: center; background: var(--accent-tint); color: var(--accent); }
.wd-report__icon svg, .wd-report__icon .hi { width: 1.2rem; height: 1.2rem; }
.wd-report__title { font-weight: 650; margin: 0 0 0.15rem; }
.wd-report__meta { font-size: 0.85rem; color: var(--muted); margin: 0; }
.wd-report__formats { margin-top: 0.55rem; display: flex; flex-wrap: wrap; gap: 0.35rem; }
.wd-report__fmt { font-size: 0.7rem; color: var(--muted); border: 1px solid var(--border); border-radius: 0.35rem; padding: 0.12rem 0.45rem; }
