/*
 * Life Safety product pages (template-pages/temp_ls_product.php)
 * Everything is scoped under .lsd so it can't leak into the rest of the site.
 * Same visual language as the QuantumVision product pages (css/qv-product.css, .qpd):
 * #305fac primary, #6ca8d2 secondary, #e2eef6 light, Montserrat.
 */

/* Undo theme base rules (css/style.css sets colour/weight/size on div, p, a, li, h1, h2). */
.lsd{font-family:"Montserrat",sans-serif;color:var(--ink);font-size:17px;line-height:1.6;letter-spacing:.2px;background:#fff;clear:both}
.lsd div,.lsd p,.lsd a,.lsd li,.lsd ul,.lsd ol,.lsd span,.lsd table,.lsd th,.lsd td{color:inherit;font-weight:inherit}
.lsd p{font-size:inherit;line-height:inherit;letter-spacing:inherit}
.lsd img{max-width:100%;height:auto;display:block}
.lsd :focus-visible{outline:3px solid #f79320;outline-offset:2px}
.lsd .screen-reader-text{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

/* The theme renders the featured image as a full-width banner above the content;
   on these pages it is the hero visual instead. */
.lsd-page .inner-contact-banner{display:none}

.lsd{--blue:#305fac; --blue-dark:#1f3b78; --navy:#14264d; --sky:#6ca8d2; --ice:#e2eef6;
  --ink:#1b1f2a; --muted:#4a5468; --line:#d6e2ee; --white:#fff; --amber:#f79320;}
.lsd h1,.lsd h2,.lsd h3{margin:0;color:var(--blue);font-weight:700;line-height:1.15;letter-spacing:.3px}
.lsd p{margin:0 0 14px}
.lsd .lsd-container{width:1170px;max-width:calc(100% - 32px);margin:0 auto}
.lsd .lsd-narrow{max-width:820px}
.lsd .lsd-center{text-align:center}
.lsd section{padding:76px 0}
.lsd .lsd-bg-ice{background:var(--ice)}
.lsd .lsd-bg-navy{background:var(--navy);color:#fff}
.lsd .lsd-bg-navy h2,.lsd .lsd-bg-navy h3{color:#fff}
.lsd .lsd-nowrap{white-space:nowrap}

/* Buttons */
.lsd .lsd-btn{position:relative;display:inline-flex;align-items:center;justify-content:center;gap:8px;font:600 16px/1.2 "Montserrat",sans-serif;text-transform:uppercase;letter-spacing:.4px;padding:15px 26px;border:1px solid var(--blue);text-decoration:none;cursor:pointer;transition:background .25s,color .25s;text-align:center}
.lsd .lsd-btn-primary{background:var(--sky);color:#fff}
.lsd .lsd-btn-primary:hover{background:var(--blue)}
.lsd .lsd-btn-ghost{background:transparent;color:var(--blue)}
.lsd .lsd-btn-ghost:hover{background:#fff}
.lsd .lsd-btn-light{background:#fff;color:var(--blue);border-color:#fff}
.lsd .lsd-btn-light:hover{background:var(--ice)}
.lsd .lsd-btn-outline-light{background:transparent;border-color:rgba(255,255,255,.6);color:#fff}
.lsd .lsd-btn-outline-light:hover{background:rgba(255,255,255,.08)}
.lsd .lsd-btn-row{display:flex;flex-wrap:wrap;gap:12px;margin-top:24px}
.lsd .lsd-textlink{font-weight:600;font-size:14px;text-transform:uppercase;letter-spacing:.6px;color:var(--blue);text-decoration:none;border-bottom:2px solid var(--sky);padding-bottom:2px}
.lsd .lsd-textlink:hover{color:var(--navy)}

/* Section heads */
.lsd .lsd-eyebrow{display:inline-block;font-size:13px;font-weight:700;letter-spacing:2px;text-transform:uppercase;color:var(--sky);margin-bottom:12px}
.lsd .lsd-sec-head{max-width:780px;margin-bottom:34px}
.lsd .lsd-sec-head.lsd-center{margin-left:auto;margin-right:auto}
.lsd .lsd-sec-head h2{font-size:36px;color:var(--navy)}
.lsd .lsd-sec-head p{margin:14px 0 0;color:var(--muted)}
.lsd .lsd-bg-navy .lsd-sec-head h2{color:#fff}

/* Editors only */
.lsd .lsd-placeholder{background:repeating-linear-gradient(-45deg,#fffaf2,#fffaf2 8px,#fff3e3 8px,#fff3e3 16px);border:1px dashed #e0a24f;color:#7a4300;padding:10px 12px;font-size:13px;margin-bottom:14px;text-align:left}
.lsd .lsd-placeholder code{font-size:12px}
.lsd .lsd-flag{flex:none;display:inline-block;background:repeating-linear-gradient(-45deg,#fffaf2,#fffaf2 8px,#fff3e3 8px,#fff3e3 16px);border:1px dashed #e0a24f;color:#7a4300;font-size:11px;font-weight:700;letter-spacing:.6px;text-transform:uppercase;padding:4px 8px;border-radius:3px;white-space:nowrap;margin-left:8px}
.lsd .lsd-missing{background-image:repeating-linear-gradient(-45deg,transparent,transparent 6px,rgba(224,162,79,.25) 6px,rgba(224,162,79,.25) 12px);outline:2px dashed #e0a24f;outline-offset:2px;cursor:help}

/* Breadcrumb */
.lsd .lsd-crumbs{padding:14px 0;border-bottom:1px solid var(--line);font-size:13px}
.lsd .lsd-crumbs ol{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:4px 0}
.lsd .lsd-crumbs li{color:var(--muted)}
.lsd .lsd-crumbs li+li::before{content:"›";margin:0 8px;color:var(--sky)}
.lsd .lsd-crumbs a{color:var(--blue);text-decoration:none}
.lsd .lsd-crumbs a:hover{text-decoration:underline}

/* 1. Hero */
.lsd .lsd-hero{padding:56px 0 72px;background:linear-gradient(180deg,#f4f8fc 0%,#fff 100%)}
.lsd .lsd-hero .lsd-grid{display:grid;grid-template-columns:55fr 45fr;gap:56px;align-items:center}
.lsd .lsd-hero .lsd-grid-solo{grid-template-columns:1fr;max-width:820px}
.lsd .lsd-hero h1{font-size:22px;letter-spacing:.6px;color:var(--blue);margin-bottom:12px}
.lsd .lsd-headline{font-size:48px;line-height:1.08;font-weight:700;color:var(--navy);margin:0 0 18px}
.lsd .lsd-tagline{font-size:21px;font-weight:600;color:var(--blue);margin:0 0 10px}
.lsd .lsd-lead{font-size:19px;color:var(--muted);max-width:560px}
.lsd .lsd-hero-visual img{width:100%;height:auto;aspect-ratio:4/3.4;object-fit:contain;padding:16px;background:var(--white);border:1px solid var(--line);border-radius:4px;box-sizing:border-box}
.lsd .lsd-hero-visual--fill img{object-fit:cover;padding:0;border:0}
.lsd .lsd-visual-placeholder{aspect-ratio:4/3.4;display:flex;align-items:center;justify-content:center;padding:28px;font-size:14px;margin:0}

/* 2. Problem */
.lsd .lsd-problem{padding:88px 0}
.lsd .lsd-problem h2{font-size:36px;color:var(--navy);margin-bottom:16px}
.lsd .lsd-problem p{font-size:20px;color:var(--muted);margin:0}

/* 3. AI answer block */
.lsd .lsd-answer{padding:48px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.lsd .lsd-answer h2{font-size:26px;color:var(--navy);margin-bottom:12px}
.lsd .lsd-answer p{font-size:17px;line-height:1.7;margin:0}

/* 4. Detail tiles + emergency hard stops */
.lsd .lsd-tile{background:#fff;border:1px solid var(--line);padding:26px 24px}
.lsd .lsd-tile h2,.lsd .lsd-tile h3{font-size:21px;color:var(--navy);margin-bottom:8px}
.lsd .lsd-tile p{margin:0;color:var(--muted);font-size:16px}
.lsd .lsd-tile .lsd-tile-link{margin-top:14px}

/* 5. Installation + does not do */
.lsd .lsd-limits-grid{display:grid;grid-template-columns:1fr 1fr;gap:48px;align-items:start}
.lsd .lsd-limits h2{font-size:28px;color:var(--navy);margin-bottom:18px}
.lsd .lsd-nots{list-style:none;margin:0;padding:0}
.lsd .lsd-nots li{position:relative;padding:10px 0 10px 32px;border-bottom:1px solid var(--line);color:var(--ink)}
.lsd .lsd-nots li::before{content:"✕";position:absolute;left:4px;top:10px;color:#b4472f;font-weight:700}
.lsd .lsd-install{background:#f4f8fc;border-left:6px solid var(--sky);padding:28px 30px}
.lsd .lsd-install p{margin:0;color:var(--muted)}
.lsd .lsd-inline-link{color:var(--blue);font-weight:600}
.lsd .lsd-alts em{font-style:normal;font-weight:700;color:#fff;flex:none}

/* Emergency hard stops (brief §4, §5): full width, high contrast, never collapsed */
.lsd .lsd-tiles .lsd-emergency{grid-column:1 / -1;background:#fff6f3;border:2px solid #b4472f;border-left-width:8px;padding:26px 28px}
.lsd .lsd-emergency h2{color:#7d2414;display:flex;align-items:center;gap:12px}
.lsd .lsd-emergency p{color:#3d1a12;font-size:17px;font-weight:500}
.lsd .lsd-emergency-ic{flex:none;width:30px;height:30px;border-radius:50%;background:#b4472f;color:#fff;display:inline-grid;place-items:center;font-size:18px;font-weight:800}

/* Detail tile grid */
.lsd .lsd-tiles{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.lsd .lsd-tiles .lsd-tile:not(.lsd-emergency){border-top:4px solid var(--blue)}

/* 7. At a Glance */
.lsd .lsd-glance{width:100%;max-width:860px;border-collapse:collapse;background:#fff;border:1px solid var(--line);font-size:16px}
.lsd .lsd-glance th,.lsd .lsd-glance td{padding:13px 18px;text-align:left;vertical-align:top;border-bottom:1px solid var(--line)}
.lsd .lsd-glance th{width:38%;color:var(--navy);font-weight:700;background:#f8fbfd}
.lsd .lsd-glance td{color:var(--ink)}

/* 8. Warranty */
.lsd .lsd-warranty{padding:56px 0}
.lsd .lsd-warranty h2{font-size:28px;color:var(--navy);margin-bottom:10px}
.lsd .lsd-warranty p{margin:0;color:var(--muted)}

/* 9. Right for me */
.lsd .lsd-fit-grid{display:grid;grid-template-columns:1fr 1fr;gap:40px}
.lsd .lsd-fit-grid h2{font-size:26px;color:#fff;margin-bottom:18px}
.lsd .lsd-checks,.lsd .lsd-alts{list-style:none;margin:0;padding:0}
.lsd .lsd-checks li{position:relative;padding:0 0 0 28px;margin-bottom:12px;color:#dfe8f5}
.lsd .lsd-checks li::before{content:"✓";position:absolute;left:0;color:var(--sky);font-weight:700}
.lsd .lsd-alts li{display:flex;justify-content:space-between;align-items:baseline;gap:16px;padding:12px 0;border-bottom:1px solid rgba(255,255,255,.15);color:#dfe8f5}
.lsd .lsd-alts li:first-child{padding-top:0}
.lsd .lsd-alts li>span:first-child{flex:1}
.lsd .lsd-alts li>a,.lsd .lsd-alts li>.lsd-missing{flex:none;font-weight:700;color:#fff;white-space:nowrap}
.lsd .lsd-alt-link{text-decoration:none;border-bottom:2px solid var(--sky)}
.lsd .lsd-alt-link:hover{color:var(--sky)}

/* 10. FAQ */
.lsd .lsd-faq{max-width:860px;margin:0 auto}
.lsd .lsd-faq h3{margin:0}
.lsd .lsd-faq button{width:100%;display:flex;justify-content:space-between;align-items:center;gap:16px;text-align:left;background:#fff;border:0;border-bottom:1px solid var(--line);padding:20px;font:600 18px "Montserrat",sans-serif;color:var(--navy);cursor:pointer}
.lsd .lsd-faq button:hover{color:var(--blue)}
.lsd .lsd-faq button .lsd-flag{margin-left:auto}
.lsd .lsd-faq button .lsd-ic{flex:none;width:28px;height:28px;border-radius:50%;border:1px solid var(--line);display:grid;place-items:center;color:var(--blue);transition:transform .2s}
.lsd .lsd-faq button[aria-expanded="true"] .lsd-ic{transform:rotate(45deg);background:var(--blue);color:#fff;border-color:var(--blue)}
.lsd .lsd-faq .lsd-ans{background:#fff;padding:0 20px 20px;color:var(--muted);border-bottom:1px solid var(--line)}
.lsd .lsd-faq .lsd-ans[hidden]{display:none}
.lsd .lsd-faq .lsd-ans p:last-child{margin:0}
.lsd .lsd-reviewed{text-align:center;font-size:13px;color:var(--muted);margin:28px 0 0}
.lsd .lsd-faq + .lsd-placeholder{margin:28px auto 0}

/* 13. Final CTA */
.lsd .lsd-final{background:linear-gradient(120deg,var(--navy) 0%,var(--blue-dark) 100%);color:#fff;text-align:center}
.lsd .lsd-final h2{color:#fff;font-size:42px}
.lsd .lsd-final .lsd-sub{font-size:20px;font-weight:600;color:#d6e6f7;margin:14px auto 6px;max-width:720px}
.lsd .lsd-final .lsd-btn-row{justify-content:center}
.lsd .lsd-final-phone{margin:22px 0 0}
.lsd .lsd-final-call{color:#d6e6f7;font-weight:600;text-decoration:none;border-bottom:1px solid rgba(255,255,255,.4)}
.lsd .lsd-final-call:hover{color:#fff}

.lsd [id]{scroll-margin-top:90px}

@media (max-width:900px){
  .lsd section{padding:56px 0}
  .lsd .lsd-problem{padding:64px 0}
  .lsd .lsd-hero .lsd-grid{grid-template-columns:1fr;gap:32px}
  .lsd .lsd-headline{font-size:36px}
  .lsd .lsd-sec-head h2,.lsd .lsd-problem h2{font-size:30px}
  .lsd .lsd-tiles,  .lsd .lsd-limits-grid{grid-template-columns:1fr;gap:32px}
  .lsd .lsd-fit-grid{grid-template-columns:1fr;gap:32px}
}
@media (max-width:600px){
  .lsd .lsd-tiles,  .lsd .lsd-headline{font-size:32px}
  .lsd .lsd-glance th,.lsd .lsd-glance td{padding:11px 12px;font-size:15px}
  .lsd .lsd-glance th{width:44%}
  .lsd .lsd-alts li{flex-direction:column;gap:4px}
  .lsd .lsd-btn{width:100%}
  .lsd .lsd-final h2{font-size:30px}
}

/* Desktop: the theme's nav bar overlaps ~54px of the first content block. */
@media (min-width:1170px){
  .lsd .lsd-crumbs{padding-top:72px}
}
@media (prefers-reduced-motion:reduce){
  .lsd *{transition:none!important}
}
