/* ============================================================
 * Landlord Studio — Section 8 Grounds Checker — Stylesheet
 *
 * All styles scoped under .ls-section-8 to avoid conflicts with
 * the host site's own CSS. Loaded via the Webflow embed page's
 * <head>. Mirrors the design system of the late-fee / rent tools.
 *
 * IMPORTANT: do not add @import / @font-face here — those are
 * inherently global and would redefine fonts for the whole host
 * page. Webflow already loads Lato site-wide; we fall through the
 * system stack if it's missing.
 * ============================================================ */

.ls-section-8 {
  --s8-dark-blue: #0f2e5a;
  --s8-blue: #2272e2;
  --s8-soft-blue: #b1d2ff;
  --s8-steel-blue: #e9f1fc;
  --s8-back-grey: #f3f5f7;
  --s8-text-secondary: #4b6283;
  --s8-dark-grey: #5f718a;
  --s8-neutral-10: #7d97bb;
  --s8-neutral-7: #dfe3e8;
  --s8-coral: #f1506b;
  --s8-coral-dark: #da3753;
  --s8-light-pink: #facbd3;
  --s8-green: #29cc9e;
  --s8-green-dark: #21a37e;
  --s8-yellow: #ffac33;
  --s8-yellow-dark: #e2921d;
  --s8-white: #fff;
  font-family: 'Lato', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  color: var(--s8-dark-blue);
  background: var(--s8-back-grey);
  max-width: 980px;
  margin: 0 auto;
  padding: 48px 24px;
  line-height: 1.5;
  font-size: 16px;
  box-sizing: border-box;
}
.ls-section-8 *, .ls-section-8 *::before, .ls-section-8 *::after { box-sizing: border-box; }

/* ---- Eyebrow / title / lede ---- */
.ls-section-8 .ls-eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--s8-blue);
  margin-bottom: 12px;
}
.ls-section-8 .ls-title {
  font-family: 'Lato', sans-serif;
  font-weight: 900;
  font-size: clamp(32px, 5vw, 45px);
  line-height: 1.15;
  color: var(--s8-dark-blue);
  margin: 0 0 16px 0;
  letter-spacing: -.01em;
}
.ls-section-8 .ls-lede {
  font-size: 17px;
  color: var(--s8-text-secondary);
  margin: 0 0 32px 0;
  max-width: 720px;
}

/* ---- Step indicator ---- */
.ls-section-8 .ls-steps {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  padding: 12px 16px;
  background: var(--s8-white);
  border-radius: 12px;
  border: 1px solid var(--s8-neutral-7);
}
.ls-section-8 .ls-step {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 700;
  color: var(--s8-neutral-10);
  flex: 1;
  min-width: 0;
}
.ls-section-8 .ls-step.is-active { color: var(--s8-dark-blue); }
.ls-section-8 .ls-step.is-active .ls-step-num {
  background: var(--s8-blue);
  color: var(--s8-white);
}
.ls-section-8 .ls-step-num {
  display: inline-flex;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--s8-neutral-7);
  color: var(--s8-neutral-10);
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 900;
  flex-shrink: 0;
}
.ls-section-8 .ls-step span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---- Panels ---- */
.ls-section-8 .ls-panel { display: none; }
.ls-section-8 .ls-panel.is-active { display: block; }

.ls-section-8 .ls-card-main {
  background: var(--s8-white);
  border-radius: 16px;
  padding: 28px;
  border: 1px solid var(--s8-neutral-7);
  margin-bottom: 24px;
}

/* ---- Sections ---- */
.ls-section-8 .ls-section-title {
  font-family: 'Lato', sans-serif;
  font-size: 20px;
  font-weight: 900;
  color: var(--s8-dark-blue);
  margin: 28px 0 8px 0;
}
.ls-section-8 .ls-section-title:first-child { margin-top: 0; }
.ls-section-8 .ls-section-sub {
  font-size: 14px;
  color: var(--s8-text-secondary);
  margin: 0 0 16px 0;
}

/* ---- Reason picker (multi-select cards) ---- */
.ls-section-8 .ls-reason-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 8px 0 24px;
}
@media (max-width: 640px) { .ls-section-8 .ls-reason-grid { grid-template-columns: 1fr; } }
.ls-section-8 .ls-reason-card {
  position: relative;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px 16px;
  background: var(--s8-white);
  border: 2px solid var(--s8-neutral-7);
  border-radius: 12px;
  cursor: pointer;
  transition: border-color .15s, background .15s;
}
.ls-section-8 .ls-reason-card:hover { border-color: var(--s8-soft-blue); }
.ls-section-8 .ls-reason-card.is-selected { border-color: var(--s8-blue); background: var(--s8-steel-blue); }
.ls-section-8 .ls-reason-card input { position: absolute; opacity: 0; pointer-events: none; }
.ls-section-8 .ls-reason-check {
  flex: 0 0 auto;
  width: 22px; height: 22px;
  border-radius: 6px;
  border: 2px solid var(--s8-neutral-10);
  background: var(--s8-white);
  display: flex; align-items: center; justify-content: center;
  margin-top: 1px;
  transition: background .15s, border-color .15s;
}
.ls-section-8 .ls-reason-check::after {
  content: '';
  width: 11px; height: 6px;
  border-left: 2px solid var(--s8-white);
  border-bottom: 2px solid var(--s8-white);
  transform: rotate(-45deg) translateY(-1px);
  opacity: 0;
}
.ls-section-8 .ls-reason-card.is-selected .ls-reason-check { background: var(--s8-blue); border-color: var(--s8-blue); }
.ls-section-8 .ls-reason-card.is-selected .ls-reason-check::after { opacity: 1; }
.ls-section-8 .ls-reason-title { display: block; font-weight: 900; font-size: 15px; color: var(--s8-dark-blue); line-height: 1.3; }
.ls-section-8 .ls-reason-desc { display: block; font-size: 13px; color: var(--s8-text-secondary); line-height: 1.4; margin-top: 2px; }

/* ---- Conditional fact blocks ---- */
.ls-section-8 .ls-cond {
  background: var(--s8-steel-blue);
  border: 1px solid var(--s8-soft-blue);
  border-radius: 12px;
  padding: 18px 20px;
  margin: 0 0 20px;
}
.ls-section-8 .ls-cond-h { font-weight: 900; font-size: 15px; color: var(--s8-dark-blue); margin: 0 0 12px; }

/* ---- Form fields ---- */
.ls-section-8 .ls-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px 24px;
  margin-bottom: 24px;
}
@media (max-width: 640px) { .ls-section-8 .ls-grid { grid-template-columns: 1fr; } }
.ls-section-8 .ls-field { display: flex; flex-direction: column; }
.ls-section-8 .ls-label { font-size: 14px; font-weight: 700; color: var(--s8-dark-blue); margin-bottom: 6px; }
.ls-section-8 .ls-required { color: var(--s8-coral-dark); font-weight: 900; margin-left: 2px; }
.ls-section-8 .ls-hint { font-size: 13px; color: var(--s8-text-secondary); margin-top: 6px; }
.ls-section-8 input[type="number"],
.ls-section-8 input[type="text"],
.ls-section-8 select {
  font-family: inherit;
  font-size: 16px;
  color: var(--s8-dark-blue);
  background: var(--s8-white);
  border: 1px solid var(--s8-neutral-7);
  border-radius: 10px;
  padding: 12px 14px;
  outline: none;
  transition: border-color .15s, box-shadow .15s;
  width: 100%;
  -webkit-appearance: none;
}
.ls-section-8 input:focus, .ls-section-8 select:focus {
  border-color: var(--s8-blue);
  box-shadow: 0 0 0 3px rgba(34, 114, 226, .15);
}

/* ---- Radio pills (rent frequency / ASB severity) ---- */
.ls-section-8 .ls-radio-row { display: flex; flex-wrap: wrap; gap: 10px; }
.ls-section-8 .ls-radio-pill {
  position: relative;
  flex: 1 1 auto;
  min-width: 140px;
  padding: 12px 16px;
  background: var(--s8-white);
  border: 2px solid var(--s8-neutral-7);
  border-radius: 10px;
  cursor: pointer;
  font-size: 14px;
  transition: border-color .15s, background .15s;
}
.ls-section-8 .ls-radio-pill:hover { border-color: var(--s8-soft-blue); }
.ls-section-8 .ls-radio-pill input { position: absolute; opacity: 0; pointer-events: none; }
.ls-section-8 .ls-radio-pill .ls-radio-title { font-weight: 900; color: var(--s8-dark-blue); }
.ls-section-8 .ls-radio-pill .ls-radio-sub { display: block; font-size: 12px; color: var(--s8-text-secondary); margin-top: 2px; }
.ls-section-8 .ls-radio-pill.is-selected,
.ls-section-8 .ls-radio-pill:has(input:checked) { border-color: var(--s8-blue); background: var(--s8-steel-blue); }
.ls-section-8 .ls-check-row { display: flex; align-items: center; gap: 10px; margin-top: 14px; font-size: 14px; color: var(--s8-dark-blue); cursor: pointer; }
.ls-section-8 .ls-check-row input { width: 18px; height: 18px; }

/* ---- Buttons ---- */
.ls-section-8 .ls-btn-row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-top: 8px; }
.ls-section-8 .ls-btn {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--s8-blue); color: var(--s8-white);
  border: 0; padding: 14px 24px; border-radius: 10px;
  font-size: 15px; font-weight: 900; font-family: inherit; cursor: pointer;
  transition: background .15s;
}
.ls-section-8 .ls-btn:hover { background: #1a5fc4; }
.ls-section-8 .ls-btn--ghost { background: var(--s8-white); color: var(--s8-dark-blue); border: 1px solid var(--s8-neutral-7); }
.ls-section-8 .ls-btn--ghost:hover { background: var(--s8-steel-blue); border-color: var(--s8-soft-blue); }
.ls-section-8 .ls-form-error { display: none; color: var(--s8-coral-dark); font-weight: 700; font-size: 14px; margin-top: 12px; }
.ls-section-8 .ls-form-error.is-visible { display: block; }

/* ---- Result headline ---- */
.ls-section-8 .ls-estimate {
  background: linear-gradient(135deg, var(--s8-dark-blue) 0%, #1a4787 100%);
  color: var(--s8-white);
  border-radius: 16px;
  padding: 32px 28px;
  margin-bottom: 20px;
}
.ls-section-8 .ls-estimate-label {
  font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  color: var(--s8-soft-blue); margin-bottom: 8px;
}
.ls-section-8 .ls-estimate-value { font-size: clamp(24px, 4vw, 32px); font-weight: 900; line-height: 1.15; letter-spacing: -.01em; }
.ls-section-8 .ls-estimate-sub { margin-top: 12px; font-size: 15px; color: var(--s8-soft-blue); line-height: 1.5; }
.ls-section-8 .ls-estimate-sub strong { color: var(--s8-white); }

/* ---- Blockers ---- */
.ls-section-8 .ls-blocker {
  display: flex; flex-direction: column; gap: 4px;
  background: var(--s8-light-pink);
  border-left: 4px solid var(--s8-coral-dark);
  border-radius: 10px;
  padding: 14px 18px;
  margin-bottom: 12px;
  font-size: 14px; color: #5e1f2c; line-height: 1.5;
}
.ls-section-8 .ls-blocker strong { color: var(--s8-coral-dark); }

/* ---- Ground result cards ---- */
.ls-section-8 .ls-grounds-list { display: flex; flex-direction: column; gap: 14px; margin: 16px 0 8px; }
.ls-section-8 .ls-ground-card {
  background: var(--s8-white);
  border: 1px solid var(--s8-neutral-7);
  border-left: 4px solid var(--s8-neutral-10);
  border-radius: 12px;
  padding: 18px 20px;
}
.ls-section-8 .ls-ground-card.is-ok { border-left-color: var(--s8-green); }
.ls-section-8 .ls-ground-card.is-warn { border-left-color: var(--s8-yellow-dark); }
.ls-section-8 .ls-ground-card.is-blocked { border-left-color: var(--s8-coral-dark); background: #fff6f7; }
.ls-section-8 .ls-ground-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.ls-section-8 .ls-ground-id { font-size: 12px; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; color: var(--s8-text-secondary); }
.ls-section-8 .ls-ground-badges { display: flex; gap: 6px; flex-wrap: wrap; }
.ls-section-8 .ls-ground-name { font-family: 'Lato', sans-serif; font-size: 19px; font-weight: 900; color: var(--s8-dark-blue); margin: 6px 0 2px; }
.ls-section-8 .ls-ground-meta { font-size: 14px; color: var(--s8-text-secondary); margin-bottom: 8px; }
.ls-section-8 .ls-ground-meta strong { color: var(--s8-dark-blue); }
.ls-section-8 .ls-ground-summary { font-size: 14px; color: var(--s8-dark-grey); margin: 0 0 12px; line-height: 1.5; }
.ls-section-8 .ls-ground-block { margin-top: 10px; }
.ls-section-8 .ls-ground-block-h { font-size: 12px; font-weight: 900; text-transform: uppercase; letter-spacing: .04em; color: var(--s8-text-secondary); margin-bottom: 4px; }
.ls-section-8 .ls-ground-block ul { margin: 0; padding-left: 18px; }
.ls-section-8 .ls-ground-block li { font-size: 13.5px; color: var(--s8-dark-grey); line-height: 1.5; margin-bottom: 4px; }
.ls-section-8 .ls-ground-block--note ul { padding: 12px 16px 12px 30px; background: var(--s8-steel-blue); border-radius: 8px; margin: 0; }
.ls-section-8 .ls-ground-block--note li { color: var(--s8-dark-blue); }
.ls-section-8 .ls-ground-block--warn ul { padding: 12px 16px 12px 30px; background: #fff7e6; border-radius: 8px; margin: 0; }
.ls-section-8 .ls-ground-block--warn li { color: #5a4413; }

/* ---- Consolidated, skimmable ground points (one list, marker-coded) ---- */
.ls-section-8 .ls-ground-points { list-style: none; margin: 14px 0 0; padding: 0; }
.ls-section-8 .ls-pt {
  position: relative; padding-left: 22px; margin-bottom: 8px;
  font-size: 14px; line-height: 1.5; color: var(--s8-dark-grey);
}
.ls-section-8 .ls-pt:last-child { margin-bottom: 0; }
.ls-section-8 .ls-pt::before {
  content: '•'; position: absolute; left: 6px; top: -1px;
  color: var(--s8-neutral-10); font-weight: 900;
}
/* Lead bullets = the headline takeaway (status reason) */
.ls-section-8 .ls-pt--lead { color: var(--s8-dark-blue); font-weight: 700; }
.ls-section-8 .ls-pt--lead::before { content: '›'; left: 5px; color: var(--s8-blue); }
/* Warnings stand out for scanning */
.ls-section-8 .ls-pt--warn { color: var(--s8-yellow-dark); }
.ls-section-8 .ls-pt--warn::before { content: '⚠'; left: 2px; font-weight: 400; }

/* ---- GOV.UK signpost links (action plan) ---- */
.ls-section-8 .ls-links { list-style: none; margin: 8px 0 0; padding: 0; }
.ls-section-8 .ls-links li { margin-bottom: 12px; }
.ls-section-8 .ls-links li:last-child { margin-bottom: 0; }
.ls-section-8 .ls-links a { color: var(--s8-blue); font-weight: 700; text-decoration: underline; }
.ls-section-8 .ls-link-desc { display: block; font-size: 13px; color: var(--s8-text-secondary); margin-top: 2px; line-height: 1.45; }

/* ---- Badges & status pills ---- */
.ls-section-8 .ls-badge {
  display: inline-block; font-size: 11px; font-weight: 900; letter-spacing: .03em;
  text-transform: uppercase; padding: 3px 9px; border-radius: 999px;
}
.ls-section-8 .ls-badge--mandatory { background: var(--s8-dark-blue); color: var(--s8-white); }
.ls-section-8 .ls-badge--discretionary { background: var(--s8-steel-blue); color: var(--s8-dark-blue); }
.ls-section-8 .ls-status-pill {
  display: inline-block; font-size: 11px; font-weight: 900; letter-spacing: .03em;
  text-transform: uppercase; padding: 3px 9px; border-radius: 999px;
}
.ls-section-8 .ls-status-pill.is-ok { background: #d9f7ee; color: var(--s8-green-dark); }
.ls-section-8 .ls-status-pill.is-warn { background: #fff0d6; color: var(--s8-yellow-dark); }
.ls-section-8 .ls-status-pill.is-blocked { background: var(--s8-light-pink); color: var(--s8-coral-dark); }

/* ---- Tables (plan / report) ---- */
.ls-section-8 .ls-pack-table { width: 100%; border-collapse: collapse; margin: 8px 0 20px 0; }
.ls-section-8 .ls-pack-table td { padding: 12px 16px; border-bottom: 1px solid var(--s8-neutral-7); font-size: 15px; vertical-align: top; }
.ls-section-8 .ls-pack-table tr:last-child td { border-bottom: 0; }
.ls-section-8 .ls-pack-label { color: var(--s8-text-secondary); width: 60%; }
.ls-section-8 .ls-pack-val { color: var(--s8-dark-blue); font-weight: 700; text-align: right; }

/* ---- Process steps (Step 3) ---- */
.ls-section-8 .ls-steps-list { list-style: none; counter-reset: s8step; margin: 0 0 8px; padding: 0; }
.ls-section-8 .ls-steps-list li {
  position: relative; counter-increment: s8step;
  padding: 0 0 16px 44px; margin: 0;
  font-size: 15px; color: var(--s8-dark-grey); line-height: 1.5;
}
.ls-section-8 .ls-steps-list li::before {
  content: counter(s8step);
  position: absolute; left: 0; top: -2px;
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--s8-blue); color: var(--s8-white);
  display: flex; align-items: center; justify-content: center;
  font-weight: 900; font-size: 14px;
}
.ls-section-8 .ls-steps-list li::after {
  content: ''; position: absolute; left: 14px; top: 30px; bottom: 4px;
  width: 2px; background: var(--s8-neutral-7);
}
.ls-section-8 .ls-steps-list li:last-child { padding-bottom: 0; }
.ls-section-8 .ls-steps-list li:last-child::after { display: none; }
.ls-section-8 .ls-steps-list strong { color: var(--s8-dark-blue); }
.ls-section-8 .ls-checklist { margin: 8px 0 0; padding-left: 20px; }
.ls-section-8 .ls-checklist li { font-size: 14px; color: var(--s8-dark-grey); line-height: 1.5; margin-bottom: 8px; }

/* ---- Personalise block ---- */
.ls-section-8 .ls-comms-personalize {
  background: var(--s8-steel-blue); border: 1px solid var(--s8-soft-blue);
  border-radius: 12px; padding: 16px 18px; margin: 0 0 24px;
}
.ls-section-8 .ls-comms-personalize-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
@media (max-width: 720px) { .ls-section-8 .ls-comms-personalize-grid { grid-template-columns: 1fr; } }

/* ---- Warning / disclaimer / footer ---- */
.ls-section-8 .ls-warning {
  background: #fff7e6; border-left: 4px solid var(--s8-yellow-dark);
  border-radius: 10px; padding: 14px 18px; margin: 12px 0 20px;
  font-size: 14px; color: #5a4413; line-height: 1.5;
}
.ls-section-8 .ls-warning strong { color: #6b4f10; }
/* Calm intro note — informational, deliberately quieter than .ls-warning. */
.ls-section-8 .ls-intro {
  background: var(--s8-back-grey); border: 1px solid var(--s8-neutral-7);
  border-radius: 10px; padding: 14px 18px; margin: 0 0 20px;
  font-size: 14px; color: var(--s8-text-secondary); line-height: 1.5;
}
.ls-section-8 .ls-intro strong { color: var(--s8-dark-blue); }

/* ---- Inline help tooltip ("i" button, hover/focus) ---- */
.ls-section-8 .ls-label-row { display: flex; align-items: center; gap: 6px; }
.ls-section-8 .ls-tip {
  display: inline-flex; align-items: center; justify-content: center;
  width: 16px; height: 16px; border-radius: 50%; flex: 0 0 auto;
  background: var(--s8-neutral-10); color: var(--s8-white);
  font-size: 11px; font-weight: 900; font-style: normal; line-height: 1;
  cursor: help; position: relative; user-select: none;
}
.ls-section-8 .ls-tip:hover, .ls-section-8 .ls-tip:focus { background: var(--s8-blue); outline: none; }
.ls-section-8 .ls-tip-pop {
  display: none; position: absolute; bottom: calc(100% + 9px); left: 0;
  width: 300px; max-width: 78vw;
  background: var(--s8-dark-blue); color: var(--s8-white);
  font-size: 12px; font-weight: 400; line-height: 1.5; text-align: left;
  padding: 12px 14px; border-radius: 8px;
  box-shadow: 0 8px 24px rgba(15, 46, 90, .25); z-index: 30;
}
.ls-section-8 .ls-tip-pop strong { color: var(--s8-white); font-weight: 900; }
.ls-section-8 .ls-tip-pop::after {
  content: ''; position: absolute; top: 100%; left: 8px;
  border: 6px solid transparent; border-top-color: var(--s8-dark-blue);
}
.ls-section-8 .ls-tip:hover .ls-tip-pop,
.ls-section-8 .ls-tip:focus .ls-tip-pop,
.ls-section-8 .ls-tip:focus-within .ls-tip-pop { display: block; }
.ls-section-8 .ls-foot {
  font-size: 12px; color: var(--s8-dark-grey); line-height: 1.55; margin-top: 16px;
  padding: 16px; background: var(--s8-white); border: 1px solid var(--s8-neutral-7); border-radius: 10px;
}
.ls-section-8 .ls-foot strong { color: var(--s8-dark-blue); }

/* ---- Pack hero (Step 4 PDF report) ---- */
.ls-section-8 .ls-pack-hero {
  display: flex; align-items: center; gap: 20px; padding: 28px 32px;
  background: linear-gradient(135deg, var(--s8-dark-blue) 0%, #1a4787 100%);
  color: var(--s8-white); border-radius: 12px; margin-bottom: 24px; position: relative; overflow: hidden;
}
.ls-section-8 .ls-pack-hero::before {
  content: ''; position: absolute; top: -40px; right: -40px; width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(255,255,255,0.18), transparent 70%); pointer-events: none;
}
.ls-section-8 .ls-pack-hero-icon {
  flex: 0 0 auto; width: 64px; height: 64px; background: rgba(255,255,255,0.18); border-radius: 12px;
  display: flex; align-items: center; justify-content: center; color: var(--s8-white); position: relative; z-index: 1;
}
.ls-section-8 .ls-pack-hero-icon svg { width: 34px; height: 34px; }
.ls-section-8 .ls-pack-hero-text { position: relative; z-index: 1; flex: 1; min-width: 0; }
.ls-section-8 .ls-pack-hero-eyebrow { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; opacity: .9; margin-bottom: 6px; }
.ls-section-8 .ls-pack-hero-title { font-family: 'Lato', sans-serif; font-size: clamp(24px, 4vw, 32px); font-weight: 900; line-height: 1.1; }
.ls-section-8 .ls-pack-hero-action {
  margin-left: auto; flex: 0 0 auto; background: var(--s8-white); color: var(--s8-dark-blue);
  border: 0; border-radius: 8px; font-family: inherit; font-size: 14px; font-weight: 700; padding: 10px 18px;
  cursor: pointer; box-shadow: 0 4px 14px rgba(0,0,0,0.18); transition: transform .15s, box-shadow .15s;
  position: relative; z-index: 1; white-space: nowrap;
}
.ls-section-8 .ls-pack-hero-action:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(0,0,0,0.22); }
.ls-section-8 .ls-pack-hero-action:active { transform: translateY(0); }
@media (max-width: 640px) {
  .ls-section-8 .ls-pack-hero { padding: 20px; gap: 16px; flex-wrap: wrap; }
  .ls-section-8 .ls-pack-hero-icon { width: 52px; height: 52px; }
  .ls-section-8 .ls-pack-hero-icon svg { width: 28px; height: 28px; }
  .ls-section-8 .ls-pack-hero-action { width: 100%; margin-left: 0; margin-top: 4px; }
}

/* ---- Modal (lead capture) ---- */
.ls-section-8 .ls-modal-backdrop {
  display: none; position: fixed; inset: 0;
  background: rgba(15,46,90,0.6); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
  z-index: 9999; align-items: center; justify-content: center; padding: 20px;
  overflow-y: auto; overflow-x: hidden; animation: s8-backdrop-in .2s ease; box-sizing: border-box;
}
.ls-section-8 .ls-modal-backdrop.is-open { display: flex; }
@keyframes s8-backdrop-in { from { opacity: 0; } to { opacity: 1; } }
.ls-section-8 .ls-modal {
  background: var(--s8-white); border-radius: 12px; max-width: 460px; width: 100%;
  padding: 36px 32px 32px; position: relative; box-shadow: 0 24px 64px rgba(15,46,90,0.25);
  animation: s8-modal-in .3s cubic-bezier(0.2,0.9,0.3,1.2); box-sizing: border-box;
  overflow-x: hidden; max-height: calc(100vh - 40px); overflow-y: auto;
}
@media (max-width: 640px) {
  .ls-section-8 .ls-modal-backdrop { padding: 12px; }
  .ls-section-8 .ls-modal { padding: 28px 22px 22px; max-height: calc(100vh - 24px); }
}
.ls-section-8 .ls-modal:has(.om-embedded-campaign) { max-width: 760px; padding: 8px 8px 12px; }
.ls-section-8 .ls-modal:has(.om-embedded-campaign) .ls-modal-icon,
.ls-section-8 .ls-modal:has(.om-embedded-campaign) #s8-modal-title,
.ls-section-8 .ls-modal:has(.om-embedded-campaign) > p { display: none; }
.ls-section-8 .ls-modal:has(.om-embedded-campaign) .om-embedded-campaign { margin: 0 0 8px; }
.ls-section-8 .ls-modal:has(.om-embedded-campaign) .ls-modal-trust { margin-top: 8px; padding: 0 16px 8px; }
@media (max-width: 640px) { .ls-section-8 .ls-modal:has(.om-embedded-campaign) { padding: 6px; } }
@keyframes s8-modal-in {
  from { opacity: 0; transform: translateY(20px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.ls-section-8 .ls-modal-close {
  position: absolute; top: 14px; right: 14px; background: transparent; border: 0;
  width: 32px; height: 32px; cursor: pointer; color: var(--s8-dark-grey); font-size: 20px; line-height: 1;
  border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: background .15s, color .15s;
}
.ls-section-8 .ls-modal-close:hover { background: var(--s8-back-grey); color: var(--s8-dark-blue); }
.ls-section-8 .ls-modal-icon {
  width: 56px; height: 56px; border-radius: 12px; background: var(--s8-steel-blue); color: var(--s8-blue);
  display: flex; align-items: center; justify-content: center; margin-bottom: 20px;
}
.ls-section-8 .ls-modal-icon svg { width: 28px; height: 28px; }
.ls-section-8 .ls-modal h3 { font-family: 'Lato', sans-serif; font-size: 24px; font-weight: 900; color: var(--s8-dark-blue); margin: 0 0 8px 0; line-height: 1.2; }
.ls-section-8 .ls-modal p { color: var(--s8-text-secondary); font-size: 15px; margin: 0 0 24px 0; line-height: 1.5; }
.ls-section-8 .ls-modal-trust { text-align: center; font-size: 12px; color: var(--s8-dark-grey); margin-top: 16px; line-height: 1.5; }
.ls-section-8 .ls-modal-trust strong { color: var(--s8-dark-blue); }

/* ---- Print isolation (PDF download) ---- */
@media print {
  body * { display: none !important; }
  body .s8-print-ancestor {
    display: block !important; margin: 0 !important; padding: 0 !important; border: none !important;
    background: transparent !important; width: auto !important; max-width: 100% !important;
    min-height: 0 !important; height: auto !important; box-shadow: none !important; transform: none !important;
    position: static !important; float: none !important;
  }
  body .ls-section-8,
  body .ls-section-8 [data-panel="4"],
  body .ls-section-8 [data-panel="4"] * { display: revert !important; }
  html, body { margin: 0 !important; padding: 0 !important; background: white !important; }
  body .ls-section-8 { display: block !important; max-width: 100% !important; margin: 0 !important; padding: 24px !important; background: white !important; font-size: 12pt; }
  .ls-section-8 > .ls-eyebrow,
  .ls-section-8 > .ls-title,
  .ls-section-8 > .ls-lede,
  .ls-section-8 > .ls-steps,
  .ls-section-8 .ls-modal-backdrop,
  .ls-section-8 .ls-panel:not([data-panel="4"]) { display: none !important; }
  .ls-section-8 [data-panel="4"] .ls-no-print,
  .ls-section-8 [data-panel="4"] .ls-btn-row { display: none !important; }
  .ls-section-8 .ls-card-main { border: 0; padding: 0; box-shadow: none; }
  .ls-section-8 .ls-pack-hero {
    background: white !important; color: var(--s8-dark-blue) !important; border: 0;
    border-bottom: 2px solid var(--s8-dark-blue); border-radius: 0; padding: 0 0 16px 0;
    margin-bottom: 24px; page-break-after: avoid; box-shadow: none;
  }
  .ls-section-8 .ls-pack-hero::before { display: none !important; }
  .ls-section-8 .ls-pack-hero-icon { background: var(--s8-dark-blue) !important; color: white !important; }
  .ls-section-8 .ls-pack-hero-eyebrow { color: var(--s8-text-secondary) !important; }
  .ls-section-8 .ls-pack-hero-title { color: var(--s8-dark-blue) !important; }
}
