/* Monitoring page. Borderless: spacing, ghost numbers and mono labels
   instead of lines. */

/* Hero photo: same treatment as the other service pages (sp-hero-photo
   in service-page.css), just the monitoring asset. */
.sp-hero-photo--monitoring { background-image: url("../../img/monitoring-hero.8909f29a5230.webp"); }

/* Lazy section placeholders: no panel look, just reserved space.
   Tall enough that a fast scroll cannot jump over the trigger window. */
.mp-lazy-placeholder {
  min-height: 680px;
  background: none;
  box-shadow: none;
}

/* One night without monitoring, as a log */
.mp-night {
  list-style: none;
  margin: 2.6rem auto 0;
  padding: 0;
  max-width: 760px;
  display: grid;
  gap: 1.5rem;
}

.mp-night-line {
  display: grid;
  grid-template-columns: 4.6rem minmax(0, 1fr);
  gap: 1.4rem;
  align-items: baseline;
}

.mp-night-time {
  font-family: var(--font-mono);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--c-text-dim);
  white-space: nowrap;
}

.mp-night-line--end .mp-night-time { color: var(--c-green); }

.mp-night-text {
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: #fff;
}

.mp-night-cursor {
  display: inline-block;
  width: 0.55em;
  height: 0.95em;
  margin-left: 0.35em;
  background: var(--c-green);
  animation: mp-blink 1.1s steps(1) infinite;
}

@keyframes mp-blink {
  50% { opacity: 0; }
}

@media (max-width: 720px) {
  .mp-night { gap: 1.2rem; }
  .mp-night-line { grid-template-columns: 3.6rem minmax(0, 1fr); gap: 1rem; }
  .mp-lazy-placeholder { min-height: 900px; }
}

@media (prefers-reduced-motion: reduce) {
  .mp-night-cursor { animation: none; }
}

/* Skull: nothing around it, just the pixels */
.mp-skull {
  position: relative;
  width: 100%;
  max-width: 260px;
  margin: 0 auto 3.2rem;
  aspect-ratio: 512 / 448;
}

.mp-skull svg {
  width: 100%;
  height: auto;
  display: block;
  position: relative;
}

/* Solution section, in the style of the monitoring PDF:
   light panel, black type, red step numbers */
.mp-solution {
  background: #f4f5f7;
  color: #0a0c0f;
}

.mp-solution .sp-eyebrow { color: #168451; }

/* ui.css paints section headlines as gradient text for the dark theme.
   On the light panel the gradient must go, the fill becomes black. */
.mp-solution .sp-section-head h2 {
  background: none;
  -webkit-background-clip: initial;
  background-clip: initial;
  -webkit-text-fill-color: #0a0c0f;
  color: #0a0c0f;
}

.mp-solution .sp-section-head p { color: #0a0c0f; }

.mp-solution-flow {
  margin: 0 0 2.6rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #0a0c0f;
}

.mp-solution-flow i {
  font-style: normal;
  color: #e00000;
}

.mp-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  column-gap: clamp(1.5rem, 3vw, 3rem);
  row-gap: 2.2rem;
}

.mp-step { min-width: 0; }

.mp-step h3 {
  margin: 0 0 0.5rem;
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.25;
  color: #0a0c0f;
}

.mp-step p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.6;
  color: #0a0c0f;
}

.mp-foundation {
  margin-top: 2.8rem;
  padding: 1rem 1.4rem;
  background: #e8eaee;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.5rem 1.4rem;
}

.mp-foundation-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #0a0c0f;
}

.mp-foundation-text {
  font-size: 0.95rem;
  font-weight: 600;
  color: #0a0c0f;
}

.mp-note {
  margin: 2.2rem auto 0;
  max-width: 820px;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--c-text-muted);
}

@media (max-width: 900px) {
  .mp-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
  .mp-steps { grid-template-columns: 1fr; }
  .mp-solution-flow { flex-wrap: wrap; }
}

/* /contact form, placed borderless */
.scf-area {
  max-width: 640px;
  margin: 0 auto;
}

.scf-form-area.contact-form-area {
  border: none;
  background: transparent;
  padding: 0;
}

.scf-context { margin-bottom: 0; }

.scf-alt {
  margin: 1.1rem 0 0;
  text-align: center;
  font-size: 0.88rem;
  color: var(--c-text-muted);
}

.scf-alt a { color: var(--c-text-soft); }
.scf-alt a:hover { color: var(--c-green); }

@media (max-width: 720px) {
  .mp-lazy-placeholder { min-height: 700px; }
}

@media print {
  .mp-night-line { break-inside: avoid; }
  .mp-lazy-placeholder { display: none; }
}
