/* ---------------------------------------------------------------------------
   Monitored alarms — the commercial half of the page.

   The existing sections answer "what is it". These answer "should I buy, and
   what happens next", which is where competitor pages in this market were
   beating us. Kept in its own file rather than cameras.css, which is shared
   across roughly thirty-five pages and does not need any of this.
--------------------------------------------------------------------------- */

/* Hero offer row — the three things a paid visitor needs before scrolling */
.al-hero-offer {
  list-style: none; margin: 22px 0 24px; padding: 0;
  display: flex; flex-wrap: wrap; gap: 10px 26px;
}
.al-hero-offer li {
  display: inline-flex; align-items: baseline; gap: 7px;
  font: 600 15px var(--sans); color: rgba(255,255,255,.92);
}
.al-hero-offer li::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--brand); flex: 0 0 auto; align-self: center;
}
.al-hero-offer b { font: 700 20px var(--sans); color: #fff; }
.al-hero-offer span { font-variant-numeric: tabular-nums; opacity: .85; }
@media (max-width: 640px) {
  .al-hero-offer { gap: 8px 18px; margin: 18px 0 22px; }
  .al-hero-offer li { font-size: 14px; }
  .al-hero-offer b { font-size: 18px; }
}

/* Contract band ---------------------------------------------------------- */
.al-terms { background: var(--navy); color: #fff; padding: 54px 0; }
.al-terms .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 46px; align-items: center; }
.al-terms h2 { font: 400 clamp(28px, 3.2vw, 40px)/1.14 var(--serif, 'Marcellus', Georgia, serif); margin: 0; color: #fff; }
.al-terms h2 em { font-style: normal; color: #7FB2FF; }
.al-terms p { margin: 0 0 14px; font-size: 16.5px; line-height: 1.72; color: rgba(255,255,255,.80); }
.al-terms p:last-child { margin-bottom: 0; }
.al-terms strong { color: #fff; }

/* Panel cards gain an info paragraph under the bullets. The cards are a
   three-up grid, so they are made flex columns and the bullets take the slack
   — otherwise the longest paragraph sets the height and the other two cards
   float their text away from the bottom. */
.al-panels { align-items: stretch; }
.al-panel { display: flex; flex-direction: column; }
.al-panel .cx-det-list { flex: 1 0 auto; }
.al-panel-info {
  margin: 0 22px 24px; padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 13.5px; line-height: 1.62; color: var(--ink-soft);
}

/* Example builds --------------------------------------------------------- */
.al-builds { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 40px; align-items: stretch; }
.al-build {
  background: #fff; border: 1px solid var(--line); border-radius: 6px;
  padding: 30px 28px 26px; display: flex; flex-direction: column;
}
.al-build h3 { font: 600 19px/1.3 var(--sans); color: var(--navy); margin: 0 0 4px; }
.al-build .al-build-for { font: 400 14px/1.5 var(--sans); color: var(--ink-soft); margin: 0 0 18px; }
.al-build ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.al-build li {
  display: flex; justify-content: space-between; gap: 14px; align-items: baseline;
  padding: 9px 0; border-bottom: 1px solid var(--line);
  font-size: 14.5px; line-height: 1.5; color: var(--navy);
}
.al-build li span { color: var(--ink-soft); flex: 0 0 auto; font-variant-numeric: tabular-nums; }
.al-build-note { margin: 18px 0 0; font-size: 13.5px; line-height: 1.6; color: var(--ink-soft); }
.al-builds-foot {
  margin: 26px auto 0; max-width: 70ch; text-align: center;
  font-size: 15px; line-height: 1.7; color: var(--ink-soft);
}

/* What happens when it trips --------------------------------------------- */
.al-trip-steps { counter-reset: al; margin: 34px 0 0; padding: 0; list-style: none; }
.al-trip-steps li {
  position: relative; padding: 0 0 22px 54px; margin: 0;
  border-left: 1px solid var(--line);
}
.al-trip-steps li:last-child { border-left-color: transparent; padding-bottom: 0; }
.al-trip-steps li::before {
  counter-increment: al; content: counter(al);
  position: absolute; left: -17px; top: -2px; width: 34px; height: 34px;
  border-radius: 50%; background: var(--brand); color: #fff;
  font: 700 14px/34px var(--sans); text-align: center;
}
.al-trip-steps h3 { font: 600 17.5px/1.35 var(--sans); color: var(--navy); margin: 0 0 5px; }
.al-trip-steps p { margin: 0; font-size: 15.5px; line-height: 1.68; color: var(--ink-soft); }
.al-flag {
  margin-top: 30px; padding: 24px 26px; border-left: 3px solid var(--brand);
  background: #F4F8FD; border-radius: 0 6px 6px 0;
}
.al-flag p { margin: 0 0 12px; font-size: 15.5px; line-height: 1.7; color: var(--navy); }
.al-flag p:last-child { margin-bottom: 0; }
.al-flag a { color: var(--brand-deep); font-weight: 600; }

/* Takeover before/after ---------------------------------------------------
   Overrides the 16:9 crop the detail rows normally force; these are portrait
   because an alarm can is taller than it is wide. Specificity has to beat
   `.cx-det-row figure img` in cameras.css, hence the figure.al-ba. */
.al-ba { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 0; }
.al-ba-shot { position: relative; display: block; }
.cx-det-row figure.al-ba img {
  aspect-ratio: 3 / 4; width: 100%; height: auto;
  object-fit: cover; border-radius: 12px; display: block;
}
.al-ba-shot b {
  position: absolute; left: 10px; bottom: 10px;
  font: 700 10.5px var(--sans); letter-spacing: .14em; text-transform: uppercase;
  color: #fff; background: rgba(11, 27, 51, .82); backdrop-filter: blur(4px);
  padding: 5px 10px; border-radius: 4px;
}
.al-ba figcaption {
  grid-column: 1 / -1; margin-top: 12px; text-align: center;
  font-size: 13.5px; line-height: 1.6; color: var(--ink-soft);
}
@media (max-width: 520px) {
  .al-ba { gap: 8px; }
  .al-ba-shot b { font-size: 9.5px; padding: 4px 8px; left: 7px; bottom: 7px; }
}

/* Process ---------------------------------------------------------------- */
.al-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; margin-top: 38px; }
.al-step .al-step-n {
  font: 700 12px var(--sans); letter-spacing: .14em; color: var(--brand);
  display: block; margin-bottom: 12px;
}
.al-step h3 { font: 600 17px/1.35 var(--sans); color: var(--navy); margin: 0 0 6px; }
.al-step p { margin: 0; font-size: 15px; line-height: 1.65; color: var(--ink-soft); }

/* Reviews ---------------------------------------------------------------- */
.al-stars { display: flex; align-items: baseline; justify-content: center; gap: 9px; font-size: 15.5px; color: var(--ink-soft); margin: 0; }
.al-stars-ico { color: #E8A020; letter-spacing: .1em; font-size: 17px; }
.al-stars strong { font-size: 20px; color: var(--navy); }
.al-quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 36px; align-items: stretch; }
.al-quotes figure {
  margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 6px;
  padding: 28px 26px 24px; display: flex; flex-direction: column;
}
.al-quotes blockquote { margin: 0 0 18px; font-size: 15.5px; line-height: 1.68; color: var(--navy); }
.al-quotes figcaption { margin-top: auto; }
.al-quotes figcaption b { display: block; font: 700 13.5px var(--sans); color: var(--navy); }
.al-quotes figcaption span { font: 400 12.5px var(--sans); color: var(--ink-soft); }
.al-rev-foot { text-align: center; margin: 30px 0 0; font-size: 15px; }

/* FAQ -------------------------------------------------------------------- */
.al-faq { max-width: 860px; margin: 36px auto 0; }
.al-faq details { border-bottom: 1px solid var(--line); }
.al-faq summary {
  cursor: pointer; list-style: none; padding: 20px 40px 20px 0; position: relative;
  font: 600 17.5px/1.4 var(--sans); color: var(--navy); transition: color .18s;
}
.al-faq summary::-webkit-details-marker { display: none; }
.al-faq summary::after {
  content: ''; position: absolute; right: 6px; top: 50%; width: 9px; height: 9px;
  margin-top: -6px; border-right: 2px solid var(--brand); border-bottom: 2px solid var(--brand);
  transform: rotate(45deg); transition: transform .22s;
}
.al-faq details[open] summary { color: var(--brand); }
.al-faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.al-faq summary:hover { color: var(--brand); }
.al-faq .al-a { padding: 0 30px 22px 0; }
.al-faq .al-a p { margin: 0 0 12px; font-size: 16px; line-height: 1.72; color: var(--ink-soft); }
.al-faq .al-a p:last-child { margin-bottom: 0; }

@media (max-width: 1000px) {
  .al-terms .wrap { grid-template-columns: 1fr; gap: 22px; }
  .al-builds { grid-template-columns: 1fr; }
  .al-steps { grid-template-columns: 1fr 1fr; gap: 30px 26px; }
  .al-quotes { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .al-steps { grid-template-columns: 1fr; }
  .al-trip-steps li { padding-left: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  .al-faq summary, .al-faq summary::after { transition: none; }
}
