/*
 * Lightning Detection Alerts — product details centerpiece v1.
 *
 * Consumes the chrome token system declared in header.css:
 *   --ialert-navy, --ialert-navy-deep, --ialert-red,
 *   --ialert-on-dark, --ialert-on-dark-muted, --ialert-rule-on-dark,
 *   --ialert-text, --ialert-text-muted, --ialert-bg,
 *   --ialert-font-display, --ialert-font-body.
 *
 * Adds page-scoped --ipd-* tokens for spacing and rule colour. No new
 * brand hexes are introduced; the off-black navy + brand-red Raleway
 * recipe established by header.css and landing-page/centerpiece.css
 * carries through.
 *
 * Class prefix .ipd-* per the v0 placeholder convention.
 */

.ipd {
  --ipd-content-w: 1180px;
  --ipd-pad-x: 24px;
  --ipd-pad-y: 112px;
  --ipd-pad-y-tight: 64px;
  --ipd-rule: rgba(23, 26, 31, 0.12);
  --ipd-rule-soft: rgba(23, 26, 31, 0.06);
  --ipd-rule-on-dark: rgba(244, 241, 234, 0.14);
  --ipd-surface: #faf8f3;
  --ipd-surface-deep: #f3efe5;
  --ipd-rail-w: 320px;

  font-family: var(--ialert-font-display);
  color: var(--ialert-text);
  background: var(--ialert-bg);
}

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

.ipd ul, .ipd ol { list-style: none; padding: 0; margin: 0; }

/* =========================================================================
   Universal section header recipe. One eyebrow, one title, optional sub.
   ========================================================================= */
.ipd-section-head {
  margin: 0 0 36px;
  max-width: 720px;
}
.ipd-section-head--centered {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.ipd-section-head__eyebrow {
  display: inline-flex;
  align-items: center;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ialert-red);
  margin: 0 0 14px;
}
.ipd-section-head__eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--ialert-red);
  margin-right: 14px;
}
.ipd-section-head--centered .ipd-section-head__eyebrow { justify-content: center; }
.ipd-section-head__title {
  font-family: var(--ialert-font-display);
  font-weight: 800;
  font-size: clamp(32px, 3.4vw, 44px);
  line-height: 1.12;
  letter-spacing: -0.015em;
  color: var(--ialert-text);
  margin: 0;
}
.ipd-section-head__sub {
  margin: 14px 0 0;
  color: var(--ialert-text-muted);
  font-size: 15px;
  line-height: 1.55;
  max-width: 580px;
}

/* =========================================================================
   Universal CTA recipe. Brand-red filled, ghost-on-dark, large variant.
   ========================================================================= */
.ipd-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--ialert-font-display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 14px 22px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
  white-space: nowrap;
}
.ipd-btn--primary {
  background: var(--ialert-red);
  color: var(--ialert-on-dark);
}
.ipd-btn--primary:hover,
.ipd-btn--primary:focus-visible {
  background: #a91823;
  outline: none;
}
.ipd-btn--ghost-on-dark {
  background: transparent;
  border-color: var(--ialert-on-dark);
  color: var(--ialert-on-dark);
}
.ipd-btn--ghost-on-dark:hover,
.ipd-btn--ghost-on-dark:focus-visible {
  background: var(--ialert-on-dark);
  color: var(--ialert-text);
  outline: none;
}
.ipd-btn--block { width: 100%; padding: 16px 22px; }
.ipd-btn--lg { padding: 18px 32px; font-size: 14px; letter-spacing: 0.16em; }
.ipd-btn__label { line-height: 1; }
.ipd-btn__sub {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  opacity: 0.88;
  padding-left: 10px;
  margin-left: 4px;
  border-left: 1px solid rgba(244, 241, 234, 0.45);
  line-height: 1;
}

/* =========================================================================
   2. Sub-product anchor nav. Sticky strip below the header.
   ========================================================================= */
.ipd-anchors {
  position: sticky;
  top: 49px; /* clears the sticky header */
  z-index: 50;
  background: var(--ialert-bg);
  border-bottom: 1px solid var(--ipd-rule);
  box-shadow: 0 1px 0 var(--ipd-rule-soft);
}
.ipd-anchors__inner {
  max-width: var(--ipd-content-w);
  margin: 0 auto;
  padding: 12px var(--ipd-pad-x);
  display: flex;
  align-items: center;
  gap: 20px;
}
.ipd-anchors__brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ialert-text-muted);
  text-decoration: none;
  flex-shrink: 0;
}
.ipd-anchors__brand:hover { color: var(--ialert-text); }
.ipd-anchors__brand-back { font-size: 14px; line-height: 1; }
.ipd-anchors__list {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1 1 auto;
  overflow-x: auto;
  scrollbar-width: none;
}
.ipd-anchors__list::-webkit-scrollbar { display: none; }
.ipd-anchors__link {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--ialert-text);
  text-decoration: none;
  padding: 6px 0;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: border-color .15s ease, color .15s ease;
}
.ipd-anchors__link:hover,
.ipd-anchors__link:focus-visible {
  border-bottom-color: var(--ialert-red);
  outline: none;
}
.ipd-anchors__link--pricing { color: var(--ialert-red); }
.ipd-anchors__totop {
  background: none;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 3px;
  cursor: pointer;
  color: var(--ialert-text);
  padding: 4px 7px;
  display: flex;
  align-items: center;
  opacity: 0.6;
  transition: opacity .15s, border-color .15s;
  flex-shrink: 0;
  line-height: 1;
}
.ipd-anchors__totop:hover,
.ipd-anchors__totop:focus-visible {
  opacity: 1;
  border-color: rgba(255,255,255,0.5);
  outline: none;
}
.ipd-anchors__cta {
  flex-shrink: 0;
  background: var(--ialert-red);
  color: var(--ialert-on-dark);
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 9px 18px;
}
.ipd-anchors__cta:hover { background: #a91823; }

/* Cart widget in sub-nav */
.ipd-anchors__cart-widget {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding-left: 16px;
  border-left: 1px solid var(--ipd-rule);
  margin-left: 4px;
}
.ipd-anchors__cart-summary {
  display: flex;
  align-items: center;
  gap: 7px;
  text-decoration: none;
  color: var(--ialert-text);
  transition: color .15s;
}
.ipd-anchors__cart-summary:hover { color: var(--ialert-red); }
.ipd-anchors__cart-icon-wrap {
  position: relative;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.ipd-anchors__cart-badge {
  position: absolute;
  top: -7px;
  left: -7px;
  background: var(--ialert-red);
  color: var(--ialert-on-dark);
  border-radius: 50%;
  min-width: 16px;
  height: 16px;
  font-size: 10px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  padding: 0 3px;
}
.ipd-anchors__cart-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}
.ipd-anchors__cart-view {
  font-size: 11px;
  font-weight: 600;
  color: var(--ialert-red);
  text-decoration: none;
}
.ipd-anchors__cart-view:hover { text-decoration: underline; }

/* Mobile button label swap */
.ipd-btn__short-label { display: none; }
@media (max-width: 600px) {
  .ipd-btn__full-label { display: none; }
  .ipd-btn__short-label { display: inline; }
}

/* =========================================================================
   3. Hero. Split, navy band, ambient lightning glow on the right.
   ========================================================================= */
.ipd-hero {
  position: relative;
  background: var(--ialert-navy);
  color: var(--ialert-on-dark);
  overflow: hidden;
  padding: 56px 0 72px;
  border-bottom: 1px solid var(--ipd-rule-on-dark);
}
.ipd-hero::before {
  /* Soft diagonal glow so the dark band has atmospheric depth without
     reaching for a stock storm photo. Pure CSS, no image. */
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(1200px 800px at 78% 38%, rgba(200, 32, 43, 0.32), transparent 60%),
    radial-gradient(800px 600px at 88% 78%, rgba(244, 184, 0, 0.16), transparent 65%),
    radial-gradient(900px 700px at 14% 72%, rgba(60, 110, 200, 0.20), transparent 65%),
    linear-gradient(180deg, rgba(10, 12, 15, 0) 0%, rgba(10, 12, 15, 0.45) 100%);
  pointer-events: none;
}
.ipd-hero__inner {
  position: relative;
  max-width: var(--ipd-content-w);
  margin: 0 auto;
  padding: 0 var(--ipd-pad-x);
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 56px;
  align-items: center;
}
.ipd-hero__copy { max-width: 580px; }
.ipd-hero__eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(244, 241, 234, 0.7);
  padding: 6px 12px;
  border: 1px solid var(--ipd-rule-on-dark);
  background: rgba(244, 241, 234, 0.05);
  margin-bottom: 24px;
}
.ipd-hero__title {
  font-family: var(--ialert-font-display);
  font-weight: 300;
  font-size: clamp(44px, 5.4vw, 76px);
  line-height: 1.02;
  letter-spacing: -0.018em;
  margin: 0 0 24px;
  color: var(--ialert-on-dark);
}
.ipd-hero__title strong {
  font-weight: 800;
  color: var(--ialert-red);
  background: linear-gradient(180deg, transparent 65%, rgba(200, 32, 43, 0.18) 65%);
  padding: 0 4px;
}
.ipd-hero__sub {
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.55;
  margin: 0 0 28px;
  color: rgba(244, 241, 234, 0.86);
  max-width: 540px;
}
.ipd-hero__points {
  margin: 0 0 32px;
  display: grid;
  gap: 8px;
}
.ipd-hero__points li {
  font-size: 14px;
  line-height: 1.5;
  color: rgba(244, 241, 234, 0.82);
  padding-left: 22px;
  position: relative;
}
.ipd-hero__points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 10px;
  height: 2px;
  background: var(--ialert-red);
}
.ipd-hero__actions {
  display: flex;
  align-items: stretch;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 40px;
}

/* NWS Local Storm Report card mockup. Pure CSS, no images.
   Schema (Magnitude, Location, Time, Source, Remarks) lifted verbatim
   from the real NWS LSR product captured in
   sources/current-state/nws-lsr-recent-72h.geojson. */
.ipd-hero__device {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}
.ipd-lsr {
  position: relative;
  width: 360px;
  max-width: 100%;
  background:
    radial-gradient(220px 160px at 80% 0%, rgba(200, 32, 43, 0.18), transparent 65%),
    linear-gradient(165deg, #1c2230 0%, #0e1622 60%, #060a12 100%);
  color: var(--ialert-on-dark);
  border: 1px solid rgba(244, 241, 234, 0.10);
  border-radius: 14px;
  padding: 0;
  box-shadow:
    0 30px 60px rgba(0, 0, 0, 0.4),
    inset 0 0 0 1px rgba(244, 241, 234, 0.04);
  font-family: var(--ialert-font-display);
  overflow: hidden;
}
.ipd-lsr__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px 12px;
  border-bottom: 1px solid rgba(244, 241, 234, 0.08);
}
.ipd-lsr__type-chip {
  display: inline-block;
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 6px 10px;
  border-radius: 3px;
  background: var(--ialert-red);
  color: var(--ialert-on-dark);
  line-height: 1;
}
.ipd-lsr__type-chip--hail { background: #ffb340; color: #1a1a1a; }
.ipd-lsr__type-chip--wind { background: #4a90c2; color: var(--ialert-on-dark); }
.ipd-lsr__type-chip--tornado { background: var(--ialert-red); }
.ipd-lsr__type-chip--flood { background: #2e7d8c; color: var(--ialert-on-dark); }
.ipd-lsr__head-meta {
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(244, 241, 234, 0.65);
  font-weight: 600;
}
.ipd-lsr__product {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 18px;
  border-bottom: 1px solid rgba(244, 241, 234, 0.06);
  background: rgba(0, 0, 0, 0.15);
}
.ipd-lsr__product-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(244, 241, 234, 0.5);
}
.ipd-lsr__product-value {
  font-family: ui-monospace, "SF Mono", "Cascadia Mono", Menlo, Consolas, monospace;
  font-size: 11.5px;
  color: rgba(244, 241, 234, 0.82);
  letter-spacing: 0.02em;
}
.ipd-lsr__fields {
  margin: 0;
  padding: 12px 18px 14px;
}
.ipd-lsr__row {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 14px;
  padding: 7px 0;
  border-bottom: 1px solid rgba(244, 241, 234, 0.06);
  align-items: baseline;
}
.ipd-lsr__row:last-child { border-bottom: 0; }
.ipd-lsr__row--remark { align-items: start; }
.ipd-lsr__dt {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(244, 241, 234, 0.55);
  margin: 0;
}
.ipd-lsr__dd {
  font-size: 13px;
  line-height: 1.45;
  color: var(--ialert-on-dark);
  margin: 0;
  font-weight: 500;
}
.ipd-lsr__dd--em {
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.01em;
}
.ipd-lsr__qual {
  display: inline-block;
  margin-left: 4px;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 2px 5px;
  border-radius: 2px;
  background: rgba(244, 184, 0, 0.18);
  color: #f5d96d;
  vertical-align: middle;
}
.ipd-lsr__source-chip {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 3px 8px;
  border-radius: 3px;
  background: rgba(244, 241, 234, 0.10);
  border: 1px solid rgba(244, 241, 234, 0.16);
  color: var(--ialert-on-dark);
}
.ipd-lsr__source-chip--spotter {
  background: rgba(74, 144, 194, 0.20);
  border-color: rgba(74, 144, 194, 0.45);
}
.ipd-lsr__foot {
  padding: 10px 18px 14px;
  border-top: 1px solid rgba(244, 241, 234, 0.08);
  background: rgba(0, 0, 0, 0.15);
}
.ipd-lsr__nws {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(244, 241, 234, 0.55);
}

/* =========================================================================
   4. Trust ribbon. Single-line band under the hero.
   ========================================================================= */
.ipd-trust {
  background: var(--ipd-surface);
  border-top: 1px solid var(--ipd-rule);
  border-bottom: 1px solid var(--ipd-rule);
}
.ipd-trust__inner {
  max-width: var(--ipd-content-w);
  margin: 0 auto;
  padding: 36px var(--ipd-pad-x);
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}
.ipd-trust__eyebrow {
  flex-shrink: 0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ialert-red);
  padding-right: 24px;
  border-right: 1px solid var(--ipd-rule);
}
.ipd-trust__statement {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ialert-text);
  max-width: 820px;
}
.ipd-trust__statement strong { font-weight: 800; }

/* =========================================================================
   Body shell. CSS Grid: main column + sticky right rail. Mobile collapses.
   ========================================================================= */
.ipd-shell {
  background: var(--ialert-bg);
}
.ipd-shell__inner {
  max-width: var(--ipd-content-w);
  margin: 0 auto;
  padding: var(--ipd-pad-y) var(--ipd-pad-x);
  display: grid;
  grid-template-columns: 1fr var(--ipd-rail-w);
  gap: 56px;
  align-items: start;
}
.ipd-shell__main { min-width: 0; }
.ipd-shell__main > section + section { margin-top: 120px; }

/* =========================================================================
   5. How It Works. 3-step strip.
   ========================================================================= */
.ipd-how__steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.ipd-how__step {
  padding: 24px 22px;
  background: var(--ialert-bg);
  border: 1px solid var(--ipd-rule);
  border-top: 2px solid var(--ialert-red);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.ipd-how__step-num {
  font-family: var(--ialert-font-display);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.2em;
  color: var(--ialert-red);
  margin-bottom: 4px;
}
.ipd-how__step-title {
  margin: 0;
  font-family: var(--ialert-font-display);
  font-weight: 800;
  font-size: 17px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--ialert-text);
}
.ipd-how__step-body {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--ialert-text-muted);
}

/* =========================================================================
   6. Feature cards. 2x2 grid with per-card visual.
   ========================================================================= */
.ipd-features__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.ipd-feature {
  position: relative;
  background: var(--ialert-bg);
  border: 1px solid var(--ipd-rule);
  padding: 0 0 24px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.ipd-feature__art {
  position: relative;
  height: 140px;
  background: linear-gradient(135deg, #1b2030 0%, #0f1420 100%);
  color: var(--ialert-on-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-bottom: 24px;
}
.ipd-feature__title {
  margin: 0 24px 10px;
  font-family: var(--ialert-font-display);
  font-weight: 800;
  font-size: 17px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--ialert-text);
}
.ipd-feature__body {
  margin: 0 24px 14px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--ialert-text-muted);
}
.ipd-feature__list {
  margin: auto 24px 0;
  display: grid;
  gap: 6px;
  font-size: 12.5px;
  color: var(--ialert-text);
}
.ipd-feature__list li {
  padding-left: 16px;
  position: relative;
}
.ipd-feature__list li::before {
  content: "";
  position: absolute;
  left: 0; top: 9px;
  width: 8px; height: 1px;
  background: var(--ialert-red);
}

/* Per-card art compositions. All pure CSS, no images. */
.ipd-feature__art--reports {
  background:
    radial-gradient(200px 140px at 30% 50%, rgba(200, 32, 43, 0.16), transparent 60%),
    linear-gradient(135deg, #1b2030 0%, #0f1420 100%);
}
.ipd-feature__lsr-mini {
  position: relative;
  width: 92px;
  background: rgba(244, 241, 234, 0.06);
  border: 1px solid rgba(244, 241, 234, 0.16);
  border-radius: 4px;
  padding: 8px 10px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  z-index: 2;
}
.ipd-feature__lsr-mini-head {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: var(--ialert-red);
  letter-spacing: 0.18em;
}
.ipd-feature__lsr-mini-line {
  height: 4px;
  background: rgba(244, 241, 234, 0.22);
  border-radius: 2px;
  width: 100%;
}
.ipd-feature__lsr-mini-line--short { width: 65%; }
.ipd-feature__pulse {
  position: absolute;
  width: 220px; height: 220px;
  border: 1px solid rgba(244, 184, 0, 0.30);
  border-radius: 50%;
  animation: ipd-pulse 2.8s ease-out infinite;
}
@keyframes ipd-pulse {
  0%   { transform: scale(0.55); opacity: 0.0; }
  30%  { opacity: 0.7; }
  100% { transform: scale(1.2); opacity: 0; }
}

.ipd-feature__art--channels { gap: 10px; }
.ipd-feature__chip {
  font-family: var(--ialert-font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 8px 14px;
  background: rgba(244, 241, 234, 0.08);
  border: 1px solid rgba(244, 241, 234, 0.24);
  color: var(--ialert-on-dark);
}
.ipd-feature__chip:first-child {
  background: var(--ialert-red);
  border-color: var(--ialert-red);
}

.ipd-feature__art--region {
  position: relative;
  padding: 0;
  background: #0f1420;
  overflow: hidden;
}
.ipd-feature__art--region::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(15,20,32,0.35);
  z-index: 1;
}
.ipd-feature__art-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  filter: brightness(0.75);
}
.ipd-feature__region-shape {
  position: absolute;
  top: 50%;
  left: 50%;
  border-radius: 38% 62% 50% 50% / 55% 45% 55% 45%;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(244, 241, 234, 0.22);
}
.ipd-feature__region-shape--outer {
  width: 180px;
  height: 130px;
  border-color: rgba(244, 241, 234, 0.16);
}
.ipd-feature__region-shape--inner {
  width: 110px;
  height: 78px;
  border-color: rgba(200, 32, 43, 0.55);
  background: rgba(200, 32, 43, 0.10);
}
.ipd-feature__region-pin {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 14px;
  background: var(--ialert-red);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 14px rgba(200, 32, 43, 0.7), inset 0 0 0 2px rgba(244, 241, 234, 0.92);
}

.ipd-feature__art--types {
  flex-wrap: wrap;
  gap: 8px;
  padding: 20px;
  align-content: center;
  background:
    radial-gradient(200px 140px at 50% 50%, rgba(74, 144, 194, 0.10), transparent 60%),
    linear-gradient(135deg, #1b2030 0%, #0f1420 100%);
}
.ipd-feature__type-pill {
  font-family: var(--ialert-font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 7px 12px;
  background: rgba(244, 241, 234, 0.08);
  border: 1px solid rgba(244, 241, 234, 0.22);
  color: var(--ialert-on-dark);
  border-radius: 3px;
}
.ipd-feature__type-pill:nth-child(1) { background: rgba(255, 179, 64, 0.16); border-color: rgba(255, 179, 64, 0.45); }
.ipd-feature__type-pill:nth-child(2) { background: rgba(74, 144, 194, 0.16); border-color: rgba(74, 144, 194, 0.45); }
.ipd-feature__type-pill:nth-child(3) { background: rgba(200, 32, 43, 0.18); border-color: rgba(200, 32, 43, 0.55); }
.ipd-feature__type-pill:nth-child(4) { background: rgba(46, 125, 140, 0.18); border-color: rgba(46, 125, 140, 0.45); }

/* =========================================================================
   7. Sample preview pane. Tabs + 3 panels (email, text, phone).
   ========================================================================= */
.ipd-sample__tabs {
  display: inline-flex;
  align-items: stretch;
  background: var(--ipd-surface);
  border: 1px solid var(--ipd-rule);
  margin-bottom: 24px;
}
.ipd-sample__tab {
  font-family: var(--ialert-font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ialert-text-muted);
  background: transparent;
  border: 0;
  padding: 12px 22px;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: color .15s ease, border-color .15s ease, background .15s ease;
}
.ipd-sample__tab + .ipd-sample__tab { border-left: 1px solid var(--ipd-rule); }
.ipd-sample__tab:hover,
.ipd-sample__tab:focus-visible { color: var(--ialert-text); outline: none; }
.ipd-sample__tab.is-active {
  color: var(--ialert-text);
  background: var(--ialert-bg);
  border-bottom-color: var(--ialert-red);
}
.ipd-sample__panel { display: none; }
.ipd-sample__panel.is-active { display: block; }

/* Email mockup */
.ipd-email {
  max-width: 620px;
  background: var(--ialert-bg);
  border: 1px solid var(--ipd-rule);
  box-shadow: 0 20px 40px rgba(20, 24, 28, 0.06);
  overflow: hidden;
}
.ipd-email__chrome {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: var(--ipd-surface);
  border-bottom: 1px solid var(--ipd-rule);
}
.ipd-email__dot {
  width: 11px; height: 11px;
  border-radius: 50%;
  display: inline-block;
}
.ipd-email__dot--red    { background: #e0644b; }
.ipd-email__dot--amber  { background: #e6b34e; }
.ipd-email__dot--green  { background: #6cba6c; }
.ipd-email__chrome-label {
  margin-left: 14px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ialert-text-muted);
}
.ipd-email__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 20px 8px;
}
.ipd-email__from { display: flex; align-items: center; gap: 12px; }
.ipd-email__avatar {
  width: 36px; height: 36px;
  background: var(--ialert-navy);
  color: var(--ialert-red);
  font-family: var(--ialert-font-display);
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.05em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.ipd-email__from-name { font-weight: 700; font-size: 14px; color: var(--ialert-text); }
.ipd-email__from-addr { font-size: 12px; color: var(--ialert-text-muted); }
.ipd-email__time { font-size: 12px; color: var(--ialert-text-muted); }
.ipd-email__subject {
  padding: 0 20px 14px;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.35;
  color: var(--ialert-text);
  border-bottom: 1px solid var(--ipd-rule);
}
.ipd-email__body {
  padding: 18px 20px 22px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--ialert-text);
}
.ipd-email__body p { margin: 0 0 12px; }
.ipd-email__sign { color: var(--ialert-text-muted); font-size: 12.5px; }

/* SMS phone mockup */
.ipd-sms { display: flex; justify-content: center; }
.ipd-sms__device {
  position: relative;
  width: 320px;
  height: 540px;
  background: #0a0c0f;
  border: 8px solid #14171c;
  border-radius: 40px;
  padding: 12px;
  box-shadow: 0 24px 40px rgba(20, 24, 28, 0.20);
}
.ipd-sms__notch {
  position: absolute;
  top: 14px; left: 50%;
  transform: translateX(-50%);
  width: 90px; height: 18px;
  background: #0a0c0f;
  border-radius: 12px;
  z-index: 2;
}
.ipd-sms__screen {
  width: 100%;
  height: 100%;
  background: #ece5d8;
  border-radius: 30px;
  display: flex;
  flex-direction: column;
}
.ipd-sms__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 30px 16px 12px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.55)),
    #ece5d8;
  border-bottom: 1px solid rgba(20, 24, 28, 0.08);
  border-top-left-radius: 30px;
  border-top-right-radius: 30px;
}
.ipd-sms__back {
  font-size: 22px;
  color: #2f6aa8;
  font-weight: 300;
  line-height: 1;
  padding: 0 4px;
}
.ipd-sms__contact {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
}
.ipd-sms__contact-avatar {
  width: 30px; height: 30px;
  background: var(--ialert-navy);
  color: var(--ialert-red);
  font-family: var(--ialert-font-display);
  font-size: 11px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}
.ipd-sms__contact-name {
  font-size: 11px;
  font-weight: 600;
  color: var(--ialert-text);
}
.ipd-sms__call {
  width: 18px; height: 18px;
  background: #2f6aa8;
  border-radius: 50%;
  opacity: 0.4;
}
.ipd-sms__bubbles {
  flex: 1;
  padding: 14px 14px 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow: hidden;
}
.ipd-sms__time {
  text-align: center;
  font-size: 11px;
  font-weight: 600;
  color: rgba(20, 24, 28, 0.45);
  margin-bottom: 4px;
}
.ipd-sms__bubble {
  align-self: flex-start;
  max-width: 86%;
  background: #ffffff;
  color: var(--ialert-text);
  padding: 10px 14px;
  border-radius: 16px 16px 16px 4px;
  font-size: 13.5px;
  line-height: 1.45;
  box-shadow: 0 1px 0 rgba(20, 24, 28, 0.05);
}
.ipd-sms__bubble--short {
  border-radius: 16px;
  font-size: 12px;
  color: var(--ialert-text-muted);
}
.ipd-sms__inputbar {
  display: flex;
  align-items: center;
  padding: 10px 14px 16px;
  border-top: 1px solid rgba(20, 24, 28, 0.08);
}
.ipd-sms__inputfield {
  flex: 1;
  background: #ffffff;
  border: 1px solid rgba(20, 24, 28, 0.10);
  border-radius: 20px;
  padding: 8px 14px;
  font-size: 12px;
  color: rgba(20, 24, 28, 0.40);
}

/* Phone-call mockup */
.ipd-call {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 24px;
  border: 1px solid var(--ipd-rule);
  background: var(--ialert-bg);
}
.ipd-call__player {
  background: var(--ialert-navy);
  color: var(--ialert-on-dark);
  padding: 28px 26px;
  display: flex;
  align-items: center;
  gap: 20px;
  position: relative;
  overflow: hidden;
}
.ipd-call__player::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(400px 200px at 20% 50%, rgba(200, 32, 43, 0.18), transparent 70%);
  pointer-events: none;
}
.ipd-call__play {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--ialert-red);
  border: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}
.ipd-call__play-icon {
  width: 0; height: 0;
  border-left: 14px solid var(--ialert-on-dark);
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
  margin-left: 4px;
}
.ipd-call__meta { flex: 1; position: relative; z-index: 1; min-width: 0; }
.ipd-call__title {
  font-family: var(--ialert-font-display);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.02em;
  margin-bottom: 4px;
}
.ipd-call__sub {
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(244, 241, 234, 0.6);
}
.ipd-call__waveform {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 36px;
  display: flex;
  align-items: flex-end;
  gap: 3px;
  padding: 0 26px;
  z-index: 1;
}
.ipd-call__waveform span {
  flex: 1;
  background: rgba(244, 241, 234, 0.4);
}
.ipd-call__waveform span:nth-child(1)  { height: 26%; }
.ipd-call__waveform span:nth-child(2)  { height: 42%; }
.ipd-call__waveform span:nth-child(3)  { height: 70%; }
.ipd-call__waveform span:nth-child(4)  { height: 55%; }
.ipd-call__waveform span:nth-child(5)  { height: 88%; }
.ipd-call__waveform span:nth-child(6)  { height: 60%; }
.ipd-call__waveform span:nth-child(7)  { height: 34%; }
.ipd-call__waveform span:nth-child(8)  { height: 50%; }
.ipd-call__waveform span:nth-child(9)  { height: 80%; }
.ipd-call__waveform span:nth-child(10) { height: 64%; }
.ipd-call__waveform span:nth-child(11) { height: 44%; }
.ipd-call__waveform span:nth-child(12) { height: 72%; }
.ipd-call__waveform span:nth-child(13) { height: 52%; }
.ipd-call__waveform span:nth-child(14) { height: 88%; }
.ipd-call__waveform span:nth-child(15) { height: 36%; }
.ipd-call__waveform span:nth-child(16) { height: 60%; }
.ipd-call__waveform span:nth-child(17) { height: 75%; }
.ipd-call__waveform span:nth-child(18) { height: 48%; }
.ipd-call__waveform span:nth-child(19) { height: 28%; }
.ipd-call__waveform span:nth-child(20) { height: 40%; }
.ipd-call__transcript {
  padding: 24px 26px;
  background: var(--ialert-bg);
}
.ipd-call__transcript-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ialert-red);
  display: block;
  margin-bottom: 10px;
}
.ipd-call__transcript p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--ialert-text);
  font-style: italic;
}

/* =========================================================================
   8. Coverage stats band. Typographic only.
   ========================================================================= */
.ipd-coverage {
  background: var(--ipd-surface);
  border: 1px solid var(--ipd-rule);
  padding: 36px 32px;
}
.ipd-coverage__title {
  font-family: var(--ialert-font-display);
  font-weight: 800;
  font-size: clamp(22px, 2.2vw, 28px);
  letter-spacing: -0.01em;
  margin: 0 0 22px;
  color: var(--ialert-text);
}
.ipd-coverage__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-left: 1px solid var(--ipd-rule);
}
.ipd-coverage__stat {
  padding: 8px 24px;
  border-right: 1px solid var(--ipd-rule);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.ipd-coverage__stat-value {
  font-family: var(--ialert-font-display);
  font-weight: 800;
  font-size: clamp(28px, 3.2vw, 40px);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--ialert-text);
}
.ipd-coverage__stat-value small {
  font-size: 0.45em;
  font-weight: 700;
  color: var(--ialert-red);
  letter-spacing: 0;
  margin-left: 2px;
}
.ipd-coverage__stat-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--ialert-text-muted);
  line-height: 1.4;
}

/* =========================================================================
   9. FAQ. Native details/summary.
   ========================================================================= */
.ipd-faq__list {
  border-top: 1px solid var(--ipd-rule);
}
.ipd-faq__item {
  border-bottom: 1px solid var(--ipd-rule);
}
.ipd-faq__q {
  cursor: pointer;
  padding: 18px 28px 18px 0;
  font-family: var(--ialert-font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--ialert-text);
  list-style: none;
  position: relative;
  outline: none;
}
.ipd-faq__q::-webkit-details-marker { display: none; }
.ipd-faq__q::after {
  content: "";
  position: absolute;
  right: 4px; top: 26px;
  width: 10px; height: 10px;
  border-right: 1.5px solid var(--ialert-text);
  border-bottom: 1.5px solid var(--ialert-text);
  transform: rotate(45deg);
  transition: transform .18s ease;
}
.ipd-faq__item[open] .ipd-faq__q::after {
  transform: rotate(-135deg);
  top: 30px;
}
.ipd-faq__q:hover { color: var(--ialert-red); }
.ipd-faq__q:focus-visible {
  background: var(--ipd-surface);
  outline: 2px solid var(--ialert-red);
  outline-offset: 2px;
}
.ipd-faq__a {
  padding: 0 40px 22px 0;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--ialert-text-muted);
}

/* Reference docs strip below FAQ. */
.ipd-docs {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.ipd-docs__link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  background: var(--ipd-surface);
  border: 1px solid var(--ipd-rule);
  text-decoration: none;
  color: var(--ialert-text);
  transition: border-color .15s ease, background .15s ease;
}
.ipd-docs__link:hover {
  background: var(--ipd-surface-deep);
  border-color: var(--ialert-red);
}
.ipd-docs__icon {
  width: 32px; height: 38px;
  background: var(--ialert-bg);
  border: 1px solid var(--ipd-rule);
  position: relative;
  flex-shrink: 0;
}
.ipd-docs__icon::before {
  content: "PDF";
  position: absolute;
  bottom: 4px; left: 0; right: 0;
  text-align: center;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--ialert-red);
}
.ipd-docs__icon::after {
  content: "";
  position: absolute;
  top: 6px; left: 5px; right: 5px;
  height: 1px;
  background: var(--ipd-rule);
  box-shadow:
    0 4px 0 var(--ipd-rule),
    0 8px 0 var(--ipd-rule);
}
.ipd-docs__label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--ialert-text);
}
.ipd-docs__hint {
  display: block;
  font-size: 12px;
  color: var(--ialert-text-muted);
  margin-top: 2px;
}

/* =========================================================================
   Sticky right rail. Price card.
   ========================================================================= */
.ipd-rail {
  position: sticky;
  top: 140px; /* header (~73) + anchors (~52) + small breathing room */
  align-self: start;
}
.ipd-rail__card {
  background: var(--ialert-bg);
  border: 1px solid var(--ipd-rule);
  border-top: 4px solid var(--ialert-red);
  padding: 24px 22px 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: 0 12px 30px rgba(20, 24, 28, 0.06);
}
.ipd-rail__eyebrow {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ialert-text-muted);
}
.ipd-rail__price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: -6px;
}
.ipd-rail__price-amount {
  font-family: var(--ialert-font-display);
  font-weight: 800;
  font-size: 42px;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--ialert-text);
}
.ipd-rail__price-unit {
  font-size: 13px;
  font-weight: 600;
  color: var(--ialert-text-muted);
  letter-spacing: 0.02em;
}
.ipd-rail__note {
  font-size: 12px;
  color: var(--ialert-text-muted);
  margin-top: -8px;
}
.ipd-rail__reassurance {
  display: grid;
  gap: 8px;
  margin: 4px 0 0;
  font-size: 13px;
  color: var(--ialert-text);
}
.ipd-rail__reassurance li {
  padding-left: 22px;
  position: relative;
  line-height: 1.4;
}
.ipd-rail__reassurance li::before {
  content: "";
  position: absolute;
  left: 0; top: 6px;
  width: 12px; height: 6px;
  border-left: 2px solid var(--ialert-red);
  border-bottom: 2px solid var(--ialert-red);
  transform: rotate(-45deg);
}
.ipd-rail__divider {
  height: 1px;
  background: var(--ipd-rule);
  margin: 8px 0 4px;
}
.ipd-rail__support {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.ipd-rail__support-label {
  font-size: 12px;
  color: var(--ialert-text-muted);
}
.ipd-rail__support-link {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--ialert-red);
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  align-self: flex-start;
}
.ipd-rail__support-link:hover { color: var(--ialert-text); }

/* =========================================================================
   10. Related-services peer row.
   ========================================================================= */
.ipd-peers {
  background: var(--ipd-surface);
  border-top: 1px solid var(--ipd-rule);
  border-bottom: 1px solid var(--ipd-rule);
}
.ipd-peers__inner {
  max-width: var(--ipd-content-w);
  margin: 0 auto;
  padding: var(--ipd-pad-y-tight) var(--ipd-pad-x) var(--ipd-pad-y);
}
.ipd-peers__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  margin-top: 12px;
}
.ipd-peer {
  display: flex;
  flex-direction: column;
  background: var(--ialert-bg);
  border: 1px solid var(--ipd-rule);
  border-top: 5px solid var(--peer-accent, #b32430);
}
.ipd-peer[data-color="severe"]      { --peer-accent: #b32430; }
.ipd-peer[data-color="daily"]       { --peer-accent: #466a8e; }
.ipd-peer[data-color="observation"] { --peer-accent: #2c7782; }
.ipd-peer[data-color="storm"]       { --peer-accent: #a05a2a; }
.ipd-peer[data-color="hourly"]      { --peer-accent: #2a3868; }
.ipd-peer[data-color="lightning"]   { --peer-accent: #94731c; }
.ipd-peer__link {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--ialert-text);
  flex: 1;
}

.ipd-peer__body {
  padding: 16px 16px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}
.ipd-peer__name {
  font-family: var(--ialert-font-display);
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.02em;
  color: var(--ialert-text);
  text-transform: uppercase;
}
.ipd-peer__desc {
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--ialert-text-muted);
}
.ipd-peer__cta {
  text-decoration: none;
  font-family: var(--ialert-font-display);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ialert-red);
  padding: 12px 16px;
  border-top: 1px solid var(--ipd-rule);
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
}
.ipd-peer__cta::after {
  content: "\2192"; /* rightwards arrow */
  font-size: 14px;
}
.ipd-peer__cta:hover { background: var(--ipd-surface); color: var(--ialert-text); }

/* =========================================================================
   11. Closing reinforcement CTA. Navy band, full-width.
   ========================================================================= */
.ipd-closing {
  background: var(--ialert-navy);
  color: var(--ialert-on-dark);
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--ipd-rule-on-dark);
}
.ipd-closing::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(700px 400px at 50% 100%, rgba(200, 32, 43, 0.25), transparent 60%),
    radial-gradient(500px 300px at 50% 0%, rgba(244, 184, 0, 0.05), transparent 60%);
  pointer-events: none;
}
.ipd-closing__inner {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
  padding: 72px var(--ipd-pad-x);
  text-align: center;
}
.ipd-closing__eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(244, 241, 234, 0.7);
  margin-bottom: 14px;
}
.ipd-closing__title {
  font-family: var(--ialert-font-display);
  font-weight: 300;
  font-size: clamp(28px, 3.2vw, 42px);
  line-height: 1.18;
  letter-spacing: -0.012em;
  margin: 0 0 14px;
  color: var(--ialert-on-dark);
}
.ipd-closing__title strong {
  font-weight: 800;
  color: var(--ialert-red);
}
.ipd-closing__sub {
  margin: 0 0 28px;
  font-size: 15px;
  color: rgba(244, 241, 234, 0.78);
}

/* =========================================================================
   Responsive collapse. Single-column under 980px.
   Rail moves below main content; anchors strip allows horizontal scroll.
   ========================================================================= */
@media (max-width: 1080px) {
  .ipd-shell__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .ipd-rail { position: static; }
  .ipd-rail__card { max-width: 480px; margin: 0 auto; width: 100%; }
}
@media (max-width: 880px) {
  .ipd-hero { padding: 36px 0 48px; }
  .ipd-hero__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .ipd-hero__device { order: -1; }
  .ipd-lsr { transform: scale(0.95); transform-origin: top center; }
  .ipd-features__grid { grid-template-columns: 1fr; }
  .ipd-how__steps { grid-template-columns: 1fr; }
  .ipd-coverage__stats {
    grid-template-columns: repeat(2, 1fr);
    border-left: 0;
  }
  .ipd-coverage__stat { border-right: 0; border-bottom: 1px solid var(--ipd-rule); padding: 14px 0; }
  .ipd-coverage__stat:nth-child(odd) { padding-right: 16px; }
  .ipd-coverage__stat:nth-child(even) { padding-left: 16px; border-left: 1px solid var(--ipd-rule); }
  .ipd-peers__grid { grid-template-columns: repeat(2, 1fr); }
  .ipd-call { grid-template-columns: 1fr; }
  .ipd-anchors__cta { display: none; }
  .ipd-shell__main > section + section { margin-top: 56px; }
}
@media (max-width: 560px) {
  .ipd-peers__grid { grid-template-columns: 1fr; }
  .ipd-docs { grid-template-columns: 1fr; }
  .ipd-trust__eyebrow { border-right: 0; padding-right: 0; }
}

/* =========================================================================
   BESPOKE: Spotter ticker signature section. Sits between Sample and
   Coverage in centerpiece.php. Uses the hero's .ipd-lsr atom in a
   --row compact variant so the visual family is preserved.
   ========================================================================= */
.ipd-ticker {
  position: relative;
}
.ipd-ticker__feed {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 24px 0 16px;
}
.ipd-ticker__item {
  list-style: none;
}
.ipd-ticker__note {
  font-size: 12.5px;
  color: var(--ialert-text-muted);
  font-style: italic;
  margin: 0;
  padding: 12px 0 0;
  border-top: 1px dashed var(--ipd-rule);
}

/* Compact row variant of the LSR card. Reuses base .ipd-lsr styles but
   tightens spacing and removes the product-id strip so 4 cards fit in
   a 2x2 grid within the body shell. */
.ipd-lsr--row {
  width: 100%;
  max-width: none;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
}
.ipd-lsr--row .ipd-lsr__head { padding: 10px 14px 8px; }
.ipd-lsr--row .ipd-lsr__type-chip { font-size: 10px; padding: 5px 8px; }
.ipd-lsr--row .ipd-lsr__head-meta { font-size: 9.5px; }
.ipd-lsr--row .ipd-lsr__fields { padding: 8px 14px 12px; }
.ipd-lsr--row .ipd-lsr__row { grid-template-columns: 76px 1fr; gap: 10px; padding: 5px 0; }
.ipd-lsr--row .ipd-lsr__dt { font-size: 9.5px; letter-spacing: 0.11em; }
.ipd-lsr--row .ipd-lsr__dd { font-size: 12px; }
.ipd-lsr--row .ipd-lsr__dd--em { font-size: 13px; }
.ipd-lsr--row .ipd-lsr__fields--compact .ipd-lsr__row { padding: 4px 0; }

/* =========================================================================
   Email sample: storm-report payload extensions. The base .ipd-email__*
   classes (window chrome, header, subject) are inherited from the
   Lightning chassis. These additions render iAlert's real email format
   captured at sources/current-state/storm-report-email-sample.html.
   ========================================================================= */
.ipd-email__alert-banner {
  margin: 0 0 12px;
  padding: 10px 14px;
  background: #005cb9;
  color: var(--ialert-on-dark);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.ipd-email__alert-type {
  margin: 0 0 4px;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #005cb9;
  text-transform: uppercase;
}
.ipd-email__summary {
  margin: 0 0 16px;
  font-size: 12px;
  color: var(--ialert-text-muted);
}
.ipd-email__report-table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 16px;
}
.ipd-email__report-table th {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ialert-text-muted);
  text-align: left;
  padding: 0 12px 6px 0;
  border-bottom: 2px solid var(--ipd-rule);
}
.ipd-email__report-table th:first-child { white-space: nowrap; }
.ipd-email__report-field {
  font-size: 11px;
  font-weight: 700;
  color: var(--ialert-text-muted);
  padding: 7px 12px 7px 0;
  white-space: nowrap;
  vertical-align: top;
  border-bottom: 1px solid var(--ipd-rule-soft);
}
.ipd-email__report-detail {
  font-size: 12px;
  color: var(--ialert-text);
  padding: 7px 0;
  vertical-align: top;
  border-bottom: 1px solid var(--ipd-rule-soft);
}
.ipd-email__report-detail--em {
  font-weight: 800;
  color: #c0392b;
}
.ipd-email__viewlink {
  margin: 0 0 14px;
  padding: 10px 0;
  border-top: 1px solid var(--ipd-rule);
  border-bottom: 1px solid var(--ipd-rule);
  font-size: 12px;
  font-weight: 700;
  color: #005cb9;
  text-align: center;
}

/* SMS bubble link styling for the storm-report SMS sample. */
.ipd-sms__bubble-link {
  display: inline;
  color: #005cb9;
  text-decoration: underline;
  word-break: break-all;
}

/* Responsive: ticker collapses to single column under 880px (same
   threshold as the rest of the body-shell single-column shift). */
@media (max-width: 880px) {
  .ipd-ticker__feed { grid-template-columns: 1fr; }
}

/* Reduced motion. Kill ambient pulses. */
@media (max-width: 480px) {
  .ipd-anchors__link { display: none; }
  .ipd-anchors__totop { display: none; }
  .ipd-anchors__cta { display: none; }
  .ipd-anchors__list { flex: 0 0 auto; }
  .ipd-anchors__cart-label { display: none; }
  .ipd-anchors__inner { gap: 12px; }
  .ipd-anchors__cart-widget { margin-left: 0; padding-left: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  .ipd-feature__pulse { animation: none; opacity: 0; }
}
