/*
 * Bureau monitoring — page foundation.
 * Uses the shared landing-page shell while defining the Bureau content rail,
 * typography, section rhythm and responsive compositions.
 */

html[data-wd-build="watchdog"] body.wd-bureau {
  --bureau-panel: #18181b;
  --bureau-panel-deep: #111216;
  --bureau-surface: #222329;
  --bureau-surface-raised: #292a31;
  --bureau-line: rgb(255 255 255 / 0.14);
  --bureau-line-soft: rgb(255 255 255 / 0.09);
  --bureau-copy: rgb(255 255 255 / 0.8);
  --bureau-copy-strong: rgb(255 255 255 / 0.96);
}

html[data-wd-build="watchdog"] body.wd-bureau main {
  background: transparent;
}

html[data-wd-build="watchdog"] body.wd-bureau main > section {
  position: relative;
  isolation: isolate;
}

html[data-wd-build="watchdog"] body.wd-bureau .bureau-narrow {
  width: 100%;
  max-width: 64rem;
  margin-inline: auto;
}

html[data-wd-build="watchdog"] body.wd-bureau main section > .container > header {
  max-width: 58rem;
}

html[data-wd-build="watchdog"] body.wd-bureau main section h2 {
  max-width: 28ch;
  color: var(--idx-ink);
  line-height: 1.16;
  text-wrap: balance;
}

html[data-wd-build="watchdog"] body.wd-bureau .bureau-section-lead {
  max-width: 48rem;
  margin: -0.25rem 0 1.35rem;
  color: var(--idx-muted);
  font-size: clamp(1rem, 0.3vw + 0.95rem, 1.14rem);
  font-weight: 400;
  line-height: 1.65;
}

/* Hero follows the Pocket Watchdog landing-page composition. */
html[data-wd-build="watchdog"] body.wd-bureau .bureau-hero .landing-hero__grid {
  align-items: center;
}

html[data-wd-build="watchdog"] body.wd-bureau .bureau-hero .landing-hero__copy {
  max-width: 42rem;
}

html[data-wd-build="watchdog"] body.wd-bureau .bureau-hero h1 {
  max-width: 14ch;
}

html[data-wd-build="watchdog"] body.wd-bureau .bureau-hero .hero-lead {
  max-width: 38rem;
  color: rgb(255 255 255 / 0.88);
  font-weight: 400;
  line-height: 1.58;
}

html[data-wd-build="watchdog"] body.wd-bureau .bureau-hero .hero-actions {
  margin-bottom: 1rem;
}

html[data-wd-build="watchdog"] body.wd-bureau .bureau-hero .cta-secondary {
  min-height: 3.2rem;
  padding: 0.85rem 1.2rem;
  border: 1px solid rgb(255 255 255 / 0.25);
  color: #fff;
}

html[data-wd-build="watchdog"] body.wd-bureau .bureau-hero .cta-secondary:hover,
html[data-wd-build="watchdog"] body.wd-bureau .bureau-hero .cta-secondary:focus-visible {
  border-color: var(--idx-accent);
  color: var(--idx-accent);
}

html[data-wd-build="watchdog"] body.wd-bureau .bureau-microcopy {
  max-width: 38rem;
  margin: 0.8rem 0 0;
  color: rgb(255 255 255 / 0.62);
  font-size: 0.86rem;
  line-height: 1.5;
}

/* Reusable content layouts. */
html[data-wd-build="watchdog"] body.wd-bureau .bureau-split,
html[data-wd-build="watchdog"] body.wd-bureau .bureau-service-feature {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  align-items: start;
}

html[data-wd-build="watchdog"] body.wd-bureau .bureau-card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

html[data-wd-build="watchdog"] body.wd-bureau .bureau-service-group {
  margin-top: clamp(2rem, 4vw, 3rem);
  padding-top: clamp(1.5rem, 3vw, 2rem);
  border-top: 1px solid var(--bureau-line);
}

html[data-wd-build="watchdog"] body.wd-bureau .bureau-service-group:first-of-type {
  margin-top: 1.75rem;
}

html[data-wd-build="watchdog"] body.wd-bureau #faq > .container {
  max-width: 56rem;
  margin-inline: auto;
}

@media (min-width: 680px) {
  html[data-wd-build="watchdog"] body.wd-bureau .bureau-card-grid--three {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 900px) {
  html[data-wd-build="watchdog"] body.wd-bureau .bureau-split,
  html[data-wd-build="watchdog"] body.wd-bureau .bureau-service-feature {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  html[data-wd-build="watchdog"] body.wd-bureau .bureau-split--reverse > :first-child {
    order: 2;
  }

  html[data-wd-build="watchdog"] body.wd-bureau .bureau-card-grid--three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 899px) {
  html[data-wd-build="watchdog"] body.wd-bureau .bureau-hero .landing-hero__grid {
    gap: 0.5rem;
  }

  html[data-wd-build="watchdog"] body.wd-bureau .bureau-hero .landing-hero__copy {
    padding-bottom: 1rem;
  }
}

@media (max-width: 639px) {
  html[data-wd-build="watchdog"] body.wd-bureau .bureau-hero .hero-kicker {
    width: auto;
    max-width: 100%;
    padding: 0.45rem 0.7rem;
    font-size: 0.66rem;
    line-height: 1.35;
  }

  html[data-wd-build="watchdog"] body.wd-bureau .bureau-hero .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }

  html[data-wd-build="watchdog"] body.wd-bureau .bureau-hero .hero-actions a,
  html[data-wd-build="watchdog"] body.wd-bureau .bureau-inline-cta .cta-primary,
  html[data-wd-build="watchdog"] body.wd-bureau .bureau-pricing-note .cta-primary {
    width: 100%;
    box-sizing: border-box;
    justify-content: center;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  html[data-wd-build="watchdog"] body.wd-bureau *,
  html[data-wd-build="watchdog"] body.wd-bureau *::before,
  html[data-wd-build="watchdog"] body.wd-bureau *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
