:root {
  --ink: #0b2239;
  --ink-2: #1f3a4a;
  --muted: #60717b;
  --line: #d7e3e1;
  --paper: #f5faf8;
  --white: #ffffff;
  --teal: #0f766e;
  --teal-dark: #075f59;
  --coral: #d97706;
  --gold: #d6a13c;
  --blue: #164e63;
  --orange: #d97706;
  --shadow: 0 24px 70px rgba(11, 34, 57, 0.18);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  visibility: visible;
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
  overflow-x: hidden;
}

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
  letter-spacing: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 14px 36px;
  color: var(--ink);
  background: rgba(245, 250, 248, 0.9);
  border-bottom: 1px solid rgba(11, 34, 57, 0.08);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
}

.brand-mark {
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: var(--white);
  background: linear-gradient(135deg, var(--ink) 0%, var(--teal) 100%);
  border-radius: 8px;
  box-shadow: 0 10px 22px rgba(11, 34, 57, 0.16);
  font-weight: 900;
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  color: var(--ink-2);
  font-size: 14px;
}

.nav-link,
.phone-link,
.footer-links a {
  color: inherit;
  font-weight: 700;
  text-decoration: none;
}

.phone-link {
  padding: 10px 14px;
  color: var(--teal-dark);
  background: rgba(17, 124, 114, 0.1);
  border: 1px solid rgba(17, 124, 114, 0.22);
  border-radius: 8px;
}

.hero {
  position: relative;
  min-height: 82vh;
  overflow: hidden;
  color: var(--white);
  isolation: isolate;
}

.hero-media,
.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-media {
  background-image: image-set(
    url("/assets/hero-quote-happy-couple.webp?v=20260527a") type("image/webp"),
    url("/assets/hero-quote-happy-couple.png?v=20260524b") type("image/png")
  );
  background-position: center;
  background-size: cover;
  transform: scale(1.01);
}

.hero-shade {
  z-index: -1;
  background: linear-gradient(90deg, rgba(8, 28, 46, 0.74) 0%, rgba(8, 28, 46, 0.5) 48%, rgba(8, 28, 46, 0.08) 100%);
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 460px);
  gap: 56px;
  align-items: center;
  width: min(1180px, calc(100% - 48px));
  min-height: 82vh;
  margin: 0 auto;
  padding: 58px 0;
}

.hero-copy {
  max-width: 690px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--coral);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 680px;
  margin: 0;
  font-size: 62px;
  line-height: 1.02;
  letter-spacing: 0;
}

.hero-subhead {
  max-width: 600px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 20px;
  line-height: 1.55;
}

.hero-actions,
.form-actions,
.card-heading-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-actions {
  margin-top: 34px;
}

.button,
.text-button {
  border: 0;
  cursor: pointer;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 20px;
  border-radius: 8px;
  font-weight: 900;
  line-height: 1.1;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  color: var(--white);
  background: var(--coral);
  box-shadow: 0 14px 30px rgba(217, 119, 6, 0.28);
}

.button-primary:hover {
  background: #b45309;
}

.button-primary:disabled {
  cursor: not-allowed;
  opacity: 0.75;
  transform: none;
}

.button-ghost {
  color: var(--white);
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 0;
  margin: 30px 0 0;
  list-style: none;
}

.trust-list li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.11);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 800;
}

.trust-list li::before {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--gold);
  border-radius: 50%;
}

.quote-panel {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

#quote-form {
  position: relative;
  padding: 28px;
}

.form-step,
.form-success {
  display: none;
}

.form-step.is-active,
.form-success.is-visible {
  display: block;
}

.form-heading {
  margin-bottom: 22px;
}

.step-pill {
  display: inline-flex;
  margin-bottom: 10px;
  padding: 6px 10px;
  color: var(--teal-dark);
  background: rgba(17, 124, 114, 0.1);
  border-radius: 8px;
  font-size: 12px;
  font-weight: 900;
}

.form-heading h2,
.section h2,
.admin-title h1,
.admin-title h2 {
  margin: 0;
  color: var(--ink);
  font-size: 30px;
  line-height: 1.12;
  letter-spacing: 0;
}

.form-heading p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.5;
}

.field {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
}

.field span {
  color: var(--ink-2);
  font-size: 13px;
  font-weight: 900;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 13px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  outline: 0;
}

.field textarea {
  min-height: 92px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(17, 124, 114, 0.12);
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.form-button {
  width: 100%;
  margin-top: 4px;
}

.microcopy {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

.age-field-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 8px;
}

.age-field-list .field {
  margin-bottom: 0;
}

.child-dob-section {
  grid-column: 1 / -1;
  display: grid;
  gap: 12px;
}

.detail-section-title {
  display: grid;
  gap: 3px;
  padding: 12px 13px;
  background: rgba(17, 124, 114, 0.08);
  border: 1px solid rgba(17, 124, 114, 0.14);
  border-radius: 8px;
}

.detail-section-title strong {
  color: var(--ink);
  font-size: 14px;
}

.detail-section-title span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.child-dob-list {
  display: grid;
  gap: 10px;
}

.child-dob-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: end;
}

.remove-child-button {
  min-height: 48px;
  white-space: nowrap;
}

.add-child-button {
  display: inline-flex;
  justify-content: center;
  width: 100%;
  min-height: 40px;
  margin: 4px 0 0;
}

.add-child-button[hidden] {
  display: none;
}

.age-helper {
  grid-column: 1 / -1;
  margin: 0;
  padding: 14px;
  color: var(--muted);
  background: rgba(17, 124, 114, 0.08);
  border: 1px solid rgba(17, 124, 114, 0.14);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 800;
  text-align: center;
}

.consent {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  margin: 8px 0 16px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.consent input {
  width: 18px;
  height: 18px;
  margin: 1px 0 0;
  accent-color: var(--teal);
}

.text-button {
  padding: 0;
  color: var(--teal-dark);
  background: transparent;
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.form-actions {
  justify-content: space-between;
}

.form-actions .button {
  min-width: 220px;
}

.form-error {
  display: none;
  margin-top: 14px;
  padding: 12px 13px;
  color: #842f20;
  background: #fff0eb;
  border: 1px solid #f1c2b4;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 800;
}

.form-error.is-visible {
  display: block;
}

.review-overlay {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(245, 250, 248, 0.96);
  border-radius: 8px;
}

.review-overlay.is-visible {
  display: flex;
}

.review-card {
  display: grid;
  justify-items: center;
  gap: 12px;
  width: min(390px, 100%);
  text-align: center;
}

.review-spinner {
  width: 52px;
  height: 52px;
  border: 5px solid rgba(17, 124, 114, 0.16);
  border-top-color: var(--teal);
  border-radius: 50%;
  animation: review-spin 0.85s linear infinite;
}

.review-card .eyebrow {
  margin: 2px 0 0;
}

.review-card h2 {
  margin: 0;
  color: var(--ink);
  font-size: 26px;
  line-height: 1.14;
}

.review-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.review-checks {
  display: grid;
  gap: 8px;
  width: 100%;
  padding: 0;
  margin: 4px 0 0;
  list-style: none;
}

.review-checks li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 12px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.review-checks span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.review-checks strong {
  color: var(--teal-dark);
  font-size: 13px;
  text-align: right;
}

@keyframes review-spin {
  to {
    transform: rotate(360deg);
  }
}

.form-success h2 {
  margin: 0;
  font-size: 30px;
}

.form-success p {
  color: var(--muted);
  line-height: 1.55;
}

.success-callout {
  display: grid;
  gap: 8px;
  margin-top: 22px;
  padding: 18px;
  color: var(--ink);
  background: #eef8f6;
  border: 1px solid #b7dcd6;
  border-radius: 8px;
}

.success-callout span {
  color: var(--teal-dark);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.success-phone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  width: min(100%, 360px);
  padding: 0 18px;
  color: var(--white);
  background: var(--teal);
  border-radius: 8px;
  box-shadow: 0 16px 34px rgba(15, 118, 110, 0.22);
  font-size: clamp(24px, 4vw, 34px);
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
}

.success-phone:hover {
  background: var(--teal-dark);
}

.success-callout small {
  max-width: 480px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.hidden-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.proof-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  width: min(1180px, calc(100% - 48px));
  margin: clamp(24px, 4vw, 44px) auto 0;
  overflow: hidden;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 55px rgba(16, 32, 39, 0.12);
}

.proof-item {
  padding: 24px;
  background: var(--white);
}

.proof-item strong {
  display: block;
  color: var(--teal-dark);
  font-size: 28px;
  line-height: 1;
}

.proof-item span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.45;
}

.section {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 92px 0 0;
}

.section-heading {
  max-width: 650px;
  margin-bottom: 28px;
}

.section h2 {
  font-size: 42px;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.process-grid article,
.detail-list div,
.admin-card,
.stat-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.process-grid article {
  padding: 26px;
}

.process-grid span {
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
}

.process-grid h3,
.detail-list h3 {
  margin: 14px 0 8px;
  font-size: 19px;
}

.process-grid p,
.detail-list p,
.compare-copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.58;
}

.compare-section {
  display: grid;
  grid-template-columns: 0.82fr 1fr;
  gap: 38px;
  align-items: start;
  padding-bottom: 92px;
}

.compare-copy {
  position: sticky;
  top: 100px;
}

.detail-list {
  display: grid;
  gap: 14px;
}

.detail-list div {
  padding: 24px;
}

.detail-list h3 {
  margin-top: 0;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  padding: 34px 36px;
  color: rgba(255, 255, 255, 0.78);
  background: var(--ink);
}

.site-footer strong {
  display: block;
  color: var(--white);
  margin-bottom: 8px;
}

.site-footer p {
  max-width: 980px;
  margin: 0;
  font-size: 12px;
  line-height: 1.55;
}

.site-footer .clarity-disclosure {
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.72);
}

.site-footer .clarity-disclosure a {
  color: var(--white);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: start;
  justify-content: flex-end;
  color: var(--white);
  font-size: 14px;
}

.home-page {
  color: var(--ink);
  background: #f6fbf8;
}

.home-header {
  background: rgba(246, 251, 248, 0.92);
}

.home-header-cta {
  min-height: 42px;
  padding: 0 16px;
  font-size: 14px;
}

.home-hero {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  color: var(--white);
  isolation: isolate;
}

.home-hero-media,
.home-hero-shade {
  position: absolute;
  inset: 0;
}

.home-hero-media {
  z-index: -2;
  background-image: image-set(
    url("/assets/hero-home-happy-family.webp?v=20260527a") type("image/webp"),
    url("/assets/hero-home-happy-family.png?v=20260524b") type("image/png")
  );
  background-position: center;
  background-size: cover;
  transform: scale(1.01);
}

.home-hero-shade {
  z-index: -1;
  background: linear-gradient(90deg, rgba(8, 28, 46, 0.76) 0%, rgba(8, 28, 46, 0.52) 46%, rgba(8, 28, 46, 0.08) 100%);
}

.home-hero-inner {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 72px 0 38px;
}

.home-hero h1 {
  width: min(720px, 100%);
  margin: 0;
  font-size: 58px;
  line-height: 1.03;
  letter-spacing: 0;
}

.home-hero-subhead {
  width: min(620px, 100%);
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 20px;
  line-height: 1.55;
}

.home-actions {
  margin-top: 34px;
}

.home-trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  width: min(780px, 100%);
  margin-top: 30px;
}

.home-trust-row span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 0;
  padding: 8px 10px;
  background: rgba(8, 28, 46, 0.36);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  line-height: 1.45;
}

.home-trust-row strong {
  display: inline;
  color: var(--white);
  font-size: 13px;
}

.home-section,
.home-band,
.home-final-cta {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.home-section {
  padding: 96px 0;
}

.home-section-heading {
  width: min(760px, 100%);
  margin-bottom: 34px;
}

.home-section-heading.compact {
  margin-bottom: 28px;
}

.home-section h2,
.home-band h2,
.home-compliance-band h2,
.home-final-cta h2 {
  margin: 0;
  color: var(--ink);
  font-size: 40px;
  line-height: 1.12;
  letter-spacing: 0;
}

.home-section-heading p:not(.eyebrow),
.home-band p,
.home-compliance-band p,
.home-final-cta p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

.home-grid,
.home-process {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.home-card,
.home-process article,
.home-faq-list details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 48px rgba(11, 34, 57, 0.08);
}

.home-card {
  min-height: 260px;
  padding: 26px;
}

.home-card-icon {
  display: inline-flex;
  width: auto;
  min-width: 0;
  height: auto;
  padding-bottom: 8px;
  color: var(--teal-dark);
  background: transparent;
  border-bottom: 2px solid var(--gold);
  border-radius: 0;
  font-size: 13px;
  font-weight: 900;
}

.home-card h3,
.home-route-grid h3,
.home-check-list h3,
.home-process h3 {
  margin: 20px 0 8px;
  color: var(--ink);
  font-size: 20px;
}

.home-card p,
.home-route-grid p,
.home-check-list p,
.home-compare-grid p,
.home-process p,
.home-faq-list p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.home-route-section {
  padding-top: 0;
}

.home-route-grid,
.home-compare-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.home-route-grid article,
.home-compare-grid div {
  min-height: 210px;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.home-route-grid h3 {
  margin-top: 0;
}

.home-compare-list {
  padding-top: 74px;
}

.home-compare-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.home-compare-grid div {
  min-height: 150px;
  box-shadow: 0 14px 36px rgba(11, 34, 57, 0.06);
}

.home-compare-grid span {
  display: block;
  margin-bottom: 10px;
  color: var(--teal-dark);
  font-weight: 900;
}

.home-band {
  padding: 76px;
  background: #ecf6f1;
  border: 1px solid #cfe5dc;
  border-radius: 8px;
}

.home-split,
.home-compliance-inner,
.home-final-cta {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
  gap: 44px;
  align-items: start;
}

.home-check-list,
.home-compliance-points {
  display: grid;
  gap: 14px;
}

.home-check-list article {
  padding: 22px 24px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(15, 118, 110, 0.16);
  border-radius: 8px;
}

.home-check-list h3 {
  margin-top: 0;
}

.text-link {
  display: inline-flex;
  margin-top: 18px;
  color: var(--teal-dark);
  font-weight: 900;
  text-decoration: none;
}

.text-link:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.home-process article {
  min-height: 220px;
  padding: 26px;
}

.home-process span {
  display: inline-grid;
  width: 36px;
  height: 36px;
  place-items: center;
  color: var(--white);
  background: var(--teal);
  border-radius: 8px;
  font-weight: 900;
}

.home-compliance-band {
  margin-top: 10px;
  padding: 82px 0;
  color: var(--white);
  background: #0b2239;
}

.home-compliance-inner {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.home-compliance-band h2,
.home-compliance-band .eyebrow {
  color: var(--white);
}

.home-compliance-band p {
  color: rgba(255, 255, 255, 0.76);
}

.home-compliance-points p {
  margin: 0;
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
}

.home-faq {
  padding-bottom: 80px;
}

.home-faq-list {
  display: grid;
  gap: 12px;
}

.home-faq-list details {
  padding: 22px 24px;
}

.home-faq-list summary {
  cursor: pointer;
  color: var(--ink);
  font-size: 18px;
  font-weight: 900;
}

.home-faq-list p {
  margin-top: 12px;
}

.home-final-cta {
  align-items: center;
  margin-bottom: 78px;
  padding: 34px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.home-final-cta p {
  margin-bottom: 0;
}

.home-final-cta .button {
  justify-self: end;
}

.focused-page {
  background: #f7f4ee;
}

.focused-header {
  position: relative;
  min-height: 68px;
  padding: 12px 36px;
  background: rgba(251, 247, 240, 0.96);
}

.conversion-hero {
  min-height: calc(100vh - 68px);
  color: var(--white);
}

.conversion-hero .hero-media {
  background-position: center;
}

.conversion-hero .hero-shade {
  background: linear-gradient(90deg, rgba(8, 30, 33, 0.76) 0%, rgba(8, 30, 33, 0.48) 55%, rgba(8, 30, 33, 0.12) 100%);
}

.conversion-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  align-content: center;
  gap: 22px;
  width: min(760px, calc(100% - 36px));
  max-width: 760px;
  min-height: calc(100vh - 68px);
  margin: 0 auto;
  padding: clamp(30px, 5vw, 64px) 0;
}

.focused-copy {
  width: 100%;
  min-width: 0;
  max-width: 740px;
  text-align: center;
}

.focused-copy .eyebrow {
  margin-bottom: 10px;
}

.focused-copy h1 {
  width: 100%;
  max-width: 760px;
  font-size: clamp(36px, 5vw, 58px);
  overflow-wrap: normal;
}

.focused-copy .hero-subhead {
  width: 100%;
  max-width: 620px;
  margin: 16px auto 0;
  font-size: clamp(17px, 2vw, 20px);
  overflow-wrap: normal;
}

.centered-panel {
  width: min(560px, 100%);
  min-width: 0;
  background: rgba(255, 255, 255, 0.97);
}

.centered-panel #quote-form {
  padding: clamp(22px, 4vw, 34px);
}

.step-progress {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  padding: 0;
  margin: 0 0 24px;
  list-style: none;
}

.step-progress li {
  min-width: 0;
  padding: 8px 6px;
  color: var(--muted);
  background: #eef4f2;
  border: 1px solid #dce6e4;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  text-align: center;
}

.step-progress li.is-active {
  color: var(--white);
  background: var(--teal);
  border-color: var(--teal);
}

.step-progress li.is-complete {
  color: var(--teal-dark);
  background: rgba(17, 124, 114, 0.12);
  border-color: rgba(17, 124, 114, 0.18);
}

.centered-panel .form-heading {
  margin-bottom: 18px;
  text-align: center;
}

.centered-panel .form-heading h2 {
  font-size: clamp(24px, 3vw, 30px);
}

.centered-panel .field-grid {
  grid-template-columns: 1fr;
  gap: 0;
}

.centered-panel .form-actions {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
}

.centered-panel .form-actions .form-button {
  width: 100%;
  min-width: 0;
  margin: 0;
}

.centered-panel .text-button {
  align-self: center;
  min-height: 50px;
  padding: 0 4px;
}

.carrier-strip {
  width: min(760px, 100%);
  min-width: 0;
  color: rgba(255, 255, 255, 0.82);
  text-align: center;
}

.carrier-strip p {
  margin: 0 0 12px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.carrier-logos {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
}

.carrier-logos img {
  display: block;
  width: 100%;
  height: 48px;
  object-fit: contain;
  filter: saturate(0.92);
}

.carrier-strip small {
  display: block;
  margin: 10px auto 0;
  max-width: 620px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 11px;
  line-height: 1.45;
}

.focused-footer {
  padding: 22px 36px;
}

.hybrid-header {
  background: rgba(245, 250, 248, 0.94);
}

.hybrid-hero {
  min-height: 78vh;
}

.hybrid-hero .hero-shade {
  background: linear-gradient(90deg, rgba(8, 28, 46, 0.74) 0%, rgba(8, 28, 46, 0.46) 54%, rgba(8, 28, 46, 0.08) 100%);
}

.hybrid-shell {
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  align-content: center;
  gap: 22px;
  width: min(1040px, calc(100% - 48px));
  min-height: 78vh;
  padding: 52px 0;
  transition: grid-template-columns 180ms ease, min-height 180ms ease;
}

.landing-copy {
  width: min(900px, 100%);
  max-width: 900px;
  min-width: 0;
  text-align: center;
  transition: opacity 160ms ease, transform 160ms ease;
}

.landing-copy h1 {
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
}

.landing-copy .hero-subhead {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.security-strip {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  width: min(680px, 100%);
  margin: 18px auto 0;
}

.security-badge {
  display: flex;
  align-items: center;
  gap: 0;
  min-width: 0;
  padding: 8px 10px;
  color: rgba(255, 255, 255, 0.94);
  background: rgba(8, 28, 46, 0.34);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  text-align: left;
}

.security-badge span:last-child {
  min-width: 0;
}

.security-badge strong,
.security-badge small {
  display: block;
}

.security-badge strong {
  color: var(--white);
  font-size: 13px;
  font-weight: 900;
  line-height: 1.15;
}

.security-badge small {
  display: none;
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.2;
}

.security-icon {
  display: none;
}

.security-icon--lock::before {
  content: "";
  position: absolute;
  top: 7px;
  left: 10px;
  width: 12px;
  height: 11px;
  border: 3px solid var(--gold);
  border-bottom: 0;
  border-radius: 10px 10px 0 0;
}

.security-icon--lock::after {
  content: "";
  position: absolute;
  left: 8px;
  bottom: 7px;
  width: 18px;
  height: 15px;
  background: var(--white);
  border-radius: 5px;
}

.security-icon--shield::before {
  content: "";
  position: absolute;
  inset: 7px 8px;
  background: var(--white);
  clip-path: polygon(50% 0, 100% 18%, 88% 68%, 50% 100%, 12% 68%, 0 18%);
}

.security-icon--shield::after,
.security-icon--record::after {
  content: "";
  position: absolute;
  width: 9px;
  height: 5px;
  border-left: 2px solid var(--teal-dark);
  border-bottom: 2px solid var(--teal-dark);
  transform: rotate(-45deg);
}

.security-icon--shield::after {
  top: 14px;
  left: 12px;
}

.security-icon--record::before {
  content: "";
  position: absolute;
  inset: 7px 9px;
  background: var(--white);
  border-radius: 5px;
}

.security-icon--record::after {
  top: 16px;
  left: 12px;
}

.enrollment-card {
  width: 100%;
  min-width: 0;
  max-width: 760px;
  margin: 0 auto;
  padding: 18px 20px;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.11);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
}

.enrollment-card h2 {
  margin: 0 0 12px;
  color: var(--white);
  font-size: 20px;
  line-height: 1.22;
}

.enrollment-card ul {
  display: grid;
  gap: 8px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.enrollment-card li {
  position: relative;
  padding-left: 18px;
  line-height: 1.45;
}

.enrollment-card li::before {
  content: "";
  position: absolute;
  top: 0.62em;
  left: 0;
  width: 7px;
  height: 7px;
  background: var(--gold);
  border-radius: 50%;
}

.hybrid-panel {
  width: min(760px, 100%);
  min-width: 0;
}

.hybrid-panel .form-heading {
  text-align: center;
}

.hybrid-panel .step-progress {
  display: none;
}

.hybrid-page:not(.wizard-active) .hybrid-panel #quote-form {
  padding: clamp(24px, 4vw, 34px);
}

.hybrid-page:not(.wizard-active) .hybrid-panel .form-step[data-step="1"].is-active {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  gap: 16px;
  align-items: end;
}

.hybrid-page:not(.wizard-active) .hybrid-panel .form-step[data-step="1"] .form-heading,
.hybrid-page:not(.wizard-active) .hybrid-panel .form-step[data-step="1"] .microcopy {
  grid-column: 1 / -1;
}

.hybrid-page:not(.wizard-active) .hybrid-panel .form-step[data-step="1"] .field {
  margin-bottom: 0;
}

.hybrid-page:not(.wizard-active) .hybrid-panel .form-step[data-step="1"] .form-button {
  min-height: 56px;
  margin: 0;
}

.landing-support {
  display: grid;
  gap: 20px;
  width: min(820px, 100%);
  min-width: 0;
  justify-items: center;
}

.landing-support .trust-list {
  justify-content: center;
  margin-top: 0;
}

.hybrid-page.wizard-active {
  background: #f5faf8;
}

.hybrid-page.wizard-active .hybrid-header .nav-link {
  display: none;
}

.hybrid-page.wizard-active .hybrid-hero {
  min-height: calc(100vh - 72px);
}

.hybrid-page.wizard-active .hybrid-hero .hero-shade {
  background: linear-gradient(180deg, rgba(8, 28, 46, 0.66), rgba(8, 28, 46, 0.7));
}

.hybrid-page.wizard-active .hybrid-shell {
  grid-template-columns: minmax(0, 560px);
  justify-content: center;
  min-height: calc(100vh - 72px);
}

.hybrid-page.wizard-active .landing-copy,
.hybrid-page.wizard-active .landing-support,
.hybrid-page.wizard-active .landing-details {
  display: none;
}

.hybrid-page.wizard-active .site-footer {
  display: none;
}

.hybrid-page.wizard-active .hybrid-panel {
  width: min(560px, 100%);
}

.hybrid-page.wizard-active .hybrid-panel #quote-form {
  padding: clamp(24px, 4vw, 34px);
}

.hybrid-page.wizard-active .hybrid-panel .form-heading {
  text-align: center;
}

.hybrid-page.wizard-active .hybrid-panel .step-progress {
  display: grid;
}

.landing-carriers {
  width: min(920px, calc(100% - 48px));
  margin: 10px auto 90px;
  color: var(--ink);
}

.landing-carriers p {
  color: var(--ink-2);
}

.landing-carriers small {
  color: var(--muted);
}

.quote-funnel-page {
  --quote-blue: #164e63;
  --quote-blue-dark: #0b2239;
  --quote-green: #0f766e;
  --quote-green-dark: #075f59;
  --quote-bg: #f5faf8;
  --quote-ink: #0b2239;
  --quote-muted: #64748b;
  --quote-line: #cfe4e0;
  color: var(--quote-ink);
  background: var(--quote-bg);
}

.quote-funnel-page .hybrid-header {
  min-height: 70px;
  color: var(--quote-ink);
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid #e2e8f0;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
}

.quote-funnel-page .brand-mark {
  background: var(--quote-blue);
  box-shadow: 0 8px 18px rgba(29, 78, 216, 0.18);
}

.quote-funnel-page .header-actions {
  color: var(--quote-muted);
}

.quote-funnel-page .nav-link {
  display: none;
  color: var(--quote-muted);
}

.quote-funnel-page .phone-link {
  color: var(--quote-blue-dark);
  background: #e7f5f2;
  border-color: #b7dcd6;
}

.quote-funnel-page .hybrid-hero {
  min-height: auto;
  overflow: hidden;
  color: var(--quote-ink);
  background: #f5faf8;
}

.quote-funnel-page .hero-media {
  display: block;
  opacity: 0.18;
  filter: saturate(0.88);
}

.quote-funnel-page .hero-shade {
  z-index: -1;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.76), rgba(245, 250, 248, 0.96));
}

.quote-funnel-page .hybrid-shell {
  grid-template-columns: minmax(0, 760px);
  justify-content: center;
  align-content: start;
  width: min(920px, calc(100% - 48px));
  min-height: auto;
  padding: clamp(42px, 7vw, 76px) 0 42px;
  gap: 22px;
}

.quote-funnel-page .landing-copy {
  max-width: 820px;
  color: var(--quote-ink);
}

.quote-funnel-page .landing-copy .eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  padding: 7px 11px;
  color: var(--quote-green-dark);
  background: #e7f5f2;
  border: 1px solid #b7dcd6;
  border-radius: 8px;
  font-size: 12px;
}

.quote-funnel-page .landing-copy h1 {
  max-width: 820px;
  color: var(--quote-ink);
  font-size: clamp(40px, 6vw, 64px);
  line-height: 1.02;
}

.quote-funnel-page .landing-copy .hero-subhead {
  max-width: 640px;
  margin-top: 18px;
  color: var(--quote-muted);
  font-size: 19px;
  line-height: 1.55;
}

.quote-funnel-page .hybrid-panel {
  width: min(680px, 100%);
  color: var(--quote-ink);
  background: #ffffff;
  border: 1px solid var(--quote-line);
  box-shadow: 0 24px 70px rgba(11, 34, 57, 0.12);
}

.quote-funnel-page #quote-form {
  padding: clamp(22px, 4vw, 34px);
}

.quote-funnel-page .hybrid-panel .step-progress {
  display: grid;
}

.quote-funnel-page:not(.wizard-active) .hybrid-panel .form-step[data-step="1"].is-active {
  grid-template-columns: minmax(0, 1fr) 190px;
  gap: 14px;
}

.quote-funnel-page .step-progress li {
  color: #475569;
  background: #f8fafc;
  border-color: #e2e8f0;
}

.quote-funnel-page .step-progress li.is-active {
  color: #ffffff;
  background: var(--quote-blue);
  border-color: var(--quote-blue);
}

.quote-funnel-page .step-progress li.is-complete {
  color: var(--quote-green-dark);
  background: #ecfdf5;
  border-color: #bbf7d0;
}

.quote-funnel-page .step-pill {
  color: var(--quote-green-dark);
  background: #ecfdf5;
}

.quote-funnel-page .form-heading h2 {
  color: var(--quote-ink);
  font-size: clamp(24px, 3vw, 32px);
}

.quote-funnel-page .form-heading p,
.quote-funnel-page .microcopy {
  color: var(--quote-muted);
}

.quote-funnel-page .field span {
  color: #334155;
}

.quote-funnel-page .field input,
.quote-funnel-page .field select,
.quote-funnel-page .field textarea {
  color: var(--quote-ink);
  background: #ffffff;
  border-color: #cbd5e1;
}

.quote-funnel-page .field input:focus,
.quote-funnel-page .field select:focus,
.quote-funnel-page .field textarea:focus {
  border-color: var(--quote-blue);
  box-shadow: 0 0 0 4px rgba(29, 78, 216, 0.12);
}

.quote-funnel-page .button-primary {
  color: #ffffff;
  background: var(--orange);
  box-shadow: 0 16px 34px rgba(217, 119, 6, 0.24);
}

.quote-funnel-page .button-primary:hover {
  background: #b45309;
}

.quote-funnel-page .text-button {
  color: var(--quote-blue-dark);
}

.quote-funnel-page .consent input {
  accent-color: var(--quote-blue);
}

.quote-funnel-page .form-error {
  color: #991b1b;
  background: #fef2f2;
  border-color: #fecaca;
}

.quote-funnel-page .landing-support {
  width: min(760px, 100%);
  gap: 14px;
}

.quote-funnel-page .enrollment-card {
  color: #334155;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.06);
}

.quote-funnel-page .enrollment-card h2 {
  color: var(--quote-ink);
  font-size: 18px;
}

.quote-funnel-page .enrollment-card li::before {
  background: var(--quote-green);
}

.quote-funnel-page .trust-list {
  gap: 10px;
}

.quote-funnel-page .trust-list li {
  color: #334155;
  background: #ffffff;
  border: 1px solid var(--quote-line);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.05);
}

.quote-funnel-page .trust-list li::before {
  background: var(--quote-green);
}

.quote-funnel-page .landing-details {
  background: var(--quote-bg);
}

.quote-funnel-page .proof-band {
  margin-top: 0;
  background: #e7f5f2;
  border-color: #b7dcd6;
  box-shadow: 0 18px 55px rgba(15, 23, 42, 0.08);
}

.quote-funnel-page .proof-item strong {
  color: var(--quote-blue-dark);
}

.quote-funnel-page .section .eyebrow {
  color: var(--quote-blue);
}

.quote-funnel-page .section h2,
.quote-funnel-page .process-grid h3,
.quote-funnel-page .detail-list h3 {
  color: var(--quote-ink);
}

.quote-funnel-page .process-grid article,
.quote-funnel-page .detail-list div {
  border-color: #e2e8f0;
  box-shadow: 0 14px 40px rgba(15, 23, 42, 0.05);
}

.quote-funnel-page .process-grid span {
  color: var(--quote-green);
}

.quote-funnel-page .landing-carriers {
  color: var(--quote-ink);
  background: transparent;
  border: 0;
  box-shadow: none;
}

.quote-funnel-page .landing-carriers p {
  color: var(--quote-ink);
}

.quote-funnel-page .landing-carriers small {
  color: var(--quote-muted);
}

.quote-funnel-page .carrier-logos img {
  padding: 8px;
  background: #f5faf8;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
}

.quote-funnel-page .site-footer {
  background: #0f172a;
}

.quote-funnel-page.wizard-active .hybrid-header .nav-link {
  display: none;
}

.quote-funnel-page.wizard-active .hybrid-hero {
  min-height: calc(100vh - 70px);
}

.quote-funnel-page.wizard-active .hybrid-shell {
  grid-template-columns: minmax(0, 560px);
  align-content: center;
  min-height: calc(100vh - 70px);
}

.quote-funnel-page.wizard-active .landing-copy,
.quote-funnel-page.wizard-active .landing-support,
.quote-funnel-page.wizard-active .landing-details {
  display: none;
}

.quote-funnel-page.wizard-active .hybrid-panel {
  width: min(560px, 100%);
}

.quote-funnel-page.wizard-active .site-footer {
  display: none;
}

.plain-page {
  background: var(--white);
}

.auth-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 32px;
  background:
    linear-gradient(90deg, rgba(8, 28, 46, 0.78), rgba(8, 28, 46, 0.34)),
    image-set(
      url("/assets/hero-quote-happy-couple.webp?v=20260527a") type("image/webp"),
      url("/assets/hero-quote-happy-couple.png?v=20260524b") type("image/png")
    ) center / cover no-repeat;
}

.auth-shell {
  width: min(460px, 100%);
}

.auth-panel {
  padding: 30px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(11, 34, 57, 0.22);
}

.auth-copy {
  margin: 28px 0 18px;
}

.auth-copy h1 {
  margin: 0;
  font-size: 34px;
}

.auth-copy p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.55;
}

.auth-form {
  display: grid;
  gap: 14px;
}

.legal-page {
  width: min(820px, calc(100% - 40px));
  margin: 0 auto;
  padding: 72px 0;
}

.legal-page h1 {
  margin: 0 0 18px;
  font-size: 44px;
}

.legal-page h2 {
  margin: 32px 0 10px;
}

.legal-page p {
  color: var(--muted);
  line-height: 1.65;
}

.legal-page .legal-intro {
  color: var(--ink-2);
  font-size: 18px;
}

.legal-page .legal-callout {
  margin: 24px 0;
  padding: 18px 20px;
  color: var(--ink-2);
  background: #f5fbfa;
  border: 1px solid var(--line);
  border-left: 4px solid var(--teal);
  border-radius: 8px;
  line-height: 1.6;
}

.legal-page .legal-meta {
  display: grid;
  gap: 8px;
  margin: 20px 0;
  padding: 18px 20px;
  color: var(--muted);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.legal-page ul {
  margin: 14px 0 0;
  padding-left: 22px;
  color: var(--muted);
  line-height: 1.65;
}

.legal-page li + li {
  margin-top: 8px;
}

.legal-page a {
  color: var(--teal);
  font-weight: 700;
}

.legal-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin: 28px 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 14px;
}

.legal-form {
  display: grid;
  gap: 14px;
  margin: 24px 0;
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
}

.hidden-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  min-height: 20px;
  margin: 0;
  color: var(--teal-dark);
  font-weight: 800;
}

.form-status.is-error {
  color: #a43c28;
}

.partner-list {
  display: grid;
  gap: 14px;
  margin: 24px 0;
}

.partner-card {
  padding: 18px 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
}

.partner-card h2 {
  margin-top: 0;
}

.legal-detail-list {
  display: grid;
  gap: 10px;
  margin: 14px 0 0;
}

.legal-detail-list div {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 12px;
}

.legal-detail-list dt {
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.legal-detail-list dd {
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
  color: var(--ink-2);
}

.admin-page {
  min-height: 100vh;
  background: #f3f6f5;
}

.admin-header {
  background: rgba(255, 255, 255, 0.92);
}

.admin-user-label {
  color: var(--muted);
  font-size: 13px;
}

.admin-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 20px;
  width: min(1380px, calc(100% - 40px));
  margin: 0 auto;
  padding: 30px 0 60px;
}

.admin-panel {
  min-width: 0;
}

.admin-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.admin-title.compact {
  align-items: end;
}

.inline-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.admin-card-subtitle {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.admin-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.admin-nav-panel {
  position: sticky;
  top: 94px;
  display: grid;
  gap: 12px;
  min-width: 0;
}

.admin-nav-card,
.admin-section-menu {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
}

.admin-nav-card {
  padding: 14px;
}

.admin-nav-card h2 {
  margin: 0;
  font-size: 15px;
}

.admin-section-menu {
  display: grid;
  padding: 8px;
  gap: 4px;
}

.page-menu {
  display: grid;
  gap: 6px;
  margin-top: 12px;
}

.page-menu-button,
.admin-nav-button {
  width: 100%;
  border: 0;
  background: transparent;
  color: var(--ink-2);
  text-align: left;
  cursor: pointer;
  border-radius: 6px;
}

.page-menu-button {
  display: grid;
  gap: 3px;
  padding: 10px;
}

.page-menu-button span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 900;
}

.page-menu-button small {
  overflow: hidden;
  color: var(--muted);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-nav-button {
  padding: 10px 12px;
  font-weight: 900;
}

.page-menu-button:hover,
.page-menu-button.is-active,
.admin-nav-button:hover,
.admin-nav-button.is-active {
  background: #eef5f3;
  color: var(--teal-dark);
}

.page-menu-button.is-active,
.admin-nav-button.is-active {
  box-shadow: inset 3px 0 0 var(--orange);
}

.admin-editor {
  min-width: 0;
}

.admin-editor .admin-grid {
  grid-template-columns: 1fr;
}

[data-admin-section] {
  display: none;
}

[data-admin-section].is-active {
  display: block;
}

.admin-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.admin-card {
  margin-bottom: 16px;
  padding: 20px;
}

.admin-card h2 {
  margin: 0 0 16px;
}

.token-field {
  max-width: 420px;
}

.variant-editor {
  display: grid;
  gap: 14px;
}

.variant-card {
  padding: 16px;
  background: #f8fbfa;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.variant-topline {
  display: flex;
  justify-content: space-between;
  margin-bottom: 14px;
}

.lead-list {
  display: grid;
  gap: 12px;
}

.lead-card {
  padding: 16px;
  background: #f8fbfa;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.lead-card-top {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

.lead-card-top strong,
.lead-card-top small {
  display: block;
}

.lead-card-top small,
.lead-meta,
.lead-detail-grid span {
  color: var(--muted);
  font-size: 12px;
}

.lead-status {
  flex: 0 0 auto;
  padding: 5px 9px;
  color: var(--teal-dark);
  background: #e9f5ef;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.lead-status.failed {
  color: #a43c28;
  background: #fae9e5;
}

.lead-status.local_only {
  color: var(--ink-2);
  background: #edf1f0;
}

.posting-health,
.failed-post-queue {
  margin: 14px 0 18px;
}

.integration-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.integration-card {
  min-width: 0;
  padding: 16px;
  background: #f8fbfa;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.integration-card h3 {
  margin: 0 0 12px;
}

.posting-health {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.failed-post-queue {
  padding: 14px;
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.failed-post-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-top: 1px solid var(--line);
}

.failed-post-row strong,
.failed-post-row small {
  display: block;
}

.inline-error {
  margin-top: 4px;
}

.empty-state.compact {
  margin: 8px 0 0;
}

.change-compare {
  margin-top: 12px;
}

.change-compare summary {
  cursor: pointer;
  color: var(--teal-dark);
  font-weight: 900;
}

.change-compare-item {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.change-compare-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 10px;
}

.change-compare-grid pre {
  overflow: auto;
  max-height: 260px;
  margin: 0;
  padding: 10px;
  color: var(--ink-2);
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: 11px;
}

.traffic-source-list {
  display: grid;
  gap: 4px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.traffic-source-list strong,
.traffic-source-list small {
  display: block;
}

.lead-detail-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.lead-detail-grid div {
  min-width: 0;
  padding: 10px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.lead-detail-grid strong {
  display: block;
  overflow-wrap: anywhere;
}

.lead-meta {
  display: grid;
  gap: 4px;
  margin-top: 12px;
}

.lead-actions {
  justify-content: flex-start;
  margin-top: 12px;
}

.lead-outcome-form {
  display: grid;
  grid-template-columns: 1.2fr 0.7fr 1.2fr minmax(180px, 1fr) auto;
  gap: 10px;
  align-items: end;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.compact-field {
  margin: 0;
}

.compact-field span {
  font-size: 11px;
}

.lead-error {
  margin: 10px 0 0;
  color: #a43c28;
  font-size: 13px;
}

.lead-error.neutral {
  color: var(--muted);
}

.audit-metadata {
  margin: 12px 0 0;
  padding: 12px;
  overflow: auto;
  color: var(--ink-2);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  font: 12px/1.5 ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
}

.preview-link {
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
}

.admin-message {
  min-height: 22px;
  color: var(--teal-dark);
  font-weight: 900;
}

.admin-message.is-error {
  color: #a43c28;
}

.admin-actions-row {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
}

.admin-checkbox {
  margin: 0 0 14px;
}

.stats-panel {
  position: sticky;
  top: 94px;
  align-self: start;
}

.stats-grid {
  display: grid;
  gap: 12px;
}

.stat-card {
  padding: 16px;
}

.stat-card strong {
  display: block;
  margin-bottom: 12px;
}

.stat-card dl,
.stat-card dd {
  margin: 0;
}

.stat-card div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 7px 0;
  border-top: 1px solid var(--line);
}

.stat-card .traffic-source-list {
  display: grid;
  justify-content: stretch;
  gap: 4px;
  margin-top: 12px;
  padding-top: 12px;
}

.stat-card dt {
  color: var(--muted);
}

.stat-card dd {
  font-weight: 900;
}

.empty-state {
  padding: 18px;
  color: var(--muted);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.change-title {
  margin-top: 28px;
}

.change-card p {
  margin: 0 0 10px;
  color: var(--ink-2);
  line-height: 1.45;
}

.change-card small {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

.change-card ul {
  display: grid;
  gap: 6px;
  padding-left: 18px;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.replay-detail {
  margin-top: 12px;
}

.admin-user-list {
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
}

.admin-user-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.admin-user-row strong,
.admin-user-row small {
  display: block;
}

.admin-user-row small {
  color: var(--muted);
  font-size: 12px;
}

.admin-user-form {
  display: grid;
  gap: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.admin-user-form h3 {
  margin: 0;
}

.replay-detail ul {
  max-height: 280px;
  overflow: auto;
}

.compliance-summary {
  margin: 12px 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f7faf8;
}

.compliance-summary p {
  margin: 10px 0 6px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.replay-player {
  position: relative;
  height: 320px;
  overflow: hidden;
  margin: 12px 0;
  background: #e8eeec;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.replay-player iframe {
  width: 100%;
  height: 100%;
  border: 0;
  background: var(--white);
}

.replay-player.rrweb-replay-player {
  height: auto;
  min-height: 320px;
  background: var(--white);
}

.rrweb-replay-root {
  width: 100%;
  min-height: 320px;
  overflow: hidden;
}

.rrweb-replay-stage {
  position: relative;
}

.rrweb-replay-stage .replayer-wrapper iframe {
  border: 0;
}

.replay-cursor {
  position: absolute;
  top: 0;
  left: 0;
  width: 14px;
  height: 14px;
  opacity: 0;
  pointer-events: none;
  background: var(--orange);
  border: 2px solid var(--white);
  border-radius: 50%;
  box-shadow: 0 8px 18px rgba(18, 40, 38, 0.22);
  transition: opacity 0.15s ease, transform 0.08s linear, width 0.15s ease, height 0.15s ease;
}

.replay-cursor.is-visible {
  opacity: 1;
}

.replay-cursor.is-clicking {
  width: 22px;
  height: 22px;
}

.replay-actions {
  color: var(--muted);
  font-size: 12px;
}

@media (max-width: 980px) {
  .site-header {
    position: relative;
    padding: 14px 22px;
  }

  .header-actions {
    gap: 10px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 30px;
    width: min(720px, calc(100% - 36px));
    padding: 48px 0;
  }

  .hero h1 {
    font-size: 44px;
  }

  .hero-subhead {
    font-size: 18px;
  }

  .security-strip {
    width: min(640px, 100%);
  }

  .quote-panel {
    max-width: 560px;
  }

  .proof-band,
  .process-grid,
  .compare-section,
  .admin-shell,
  .admin-layout,
  .admin-grid,
  .lead-detail-grid,
  .posting-health,
  .integration-grid,
  .lead-outcome-form,
  .change-compare-grid {
    grid-template-columns: 1fr;
  }

  .compare-copy,
  .admin-nav-panel,
  .stats-panel {
    position: static;
  }

  .carrier-logos {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hybrid-shell {
    align-items: start;
    width: min(720px, calc(100% - 36px));
  }

  .hybrid-panel {
    width: min(560px, 100%);
  }

  .hybrid-page.wizard-active .hybrid-shell {
    width: min(620px, calc(100% - 36px));
  }

  .home-nav {
    gap: 10px;
  }

  .home-header-cta {
    display: none;
  }

  .home-hero-inner {
    width: min(720px, calc(100% - 36px));
    padding: 58px 0 34px;
  }

  .home-hero h1 {
    font-size: 44px;
  }

  .home-trust-row,
  .home-grid,
  .home-route-grid,
  .home-compare-grid,
  .home-process,
  .home-split,
  .home-compliance-inner,
  .home-final-cta {
    grid-template-columns: 1fr;
  }

  .home-section,
  .home-band,
  .home-final-cta {
    width: min(720px, calc(100% - 36px));
  }

  .home-band {
    padding: 52px;
  }

  .home-final-cta .button {
    justify-self: start;
  }
}

@media (max-width: 680px) {
  .hero-media {
    background-image: image-set(
      url("/assets/hero-quote-happy-couple-mobile.webp?v=20260527a") type("image/webp"),
      url("/assets/hero-quote-happy-couple.png?v=20260524b") type("image/png")
    );
  }

  .home-hero-media {
    background-image: image-set(
      url("/assets/hero-home-happy-family-mobile.webp?v=20260527a") type("image/webp"),
      url("/assets/hero-home-happy-family.png?v=20260524b") type("image/png")
    );
  }

  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .header-actions {
    width: 100%;
    justify-content: space-between;
    flex-wrap: wrap;
  }

  .nav-link {
    display: none;
  }

  .hero-inner,
  .proof-band,
  .section,
  .admin-shell,
  .home-section,
  .home-band,
  .home-final-cta,
  .home-compliance-inner {
    width: calc(100% - 28px);
  }

  .hero h1 {
    font-size: 36px;
  }

  .hero-subhead {
    font-size: 17px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  #quote-form {
    padding: 20px;
  }

  .field-grid,
  .proof-band,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .section {
    padding-top: 64px;
  }

  .section h2 {
    font-size: 32px;
  }

  .footer-links,
  .form-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .home-header {
    align-items: stretch;
  }

  .home-nav {
    align-items: stretch;
  }

  .home-nav .phone-link {
    text-align: center;
  }

  .home-hero {
    min-height: auto;
  }

  .home-hero-inner {
    width: calc(100% - 28px);
    padding: 36px 0 28px;
  }

  .home-hero h1 {
    font-size: 31px;
  }

  .home-hero-subhead {
    font-size: 17px;
  }

  .home-trust-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 26px;
  }

  .home-trust-row span {
    min-height: 0;
    padding: 12px;
    font-size: 12px;
  }

  .home-trust-row strong {
    font-size: 13px;
  }

  .home-actions {
    margin-top: 22px;
  }

  .home-actions .button-ghost {
    display: none;
  }

  .home-section {
    padding: 64px 0;
  }

  .home-route-section {
    padding-top: 0;
  }

  .home-section h2,
  .home-band h2,
  .home-compliance-band h2,
  .home-final-cta h2 {
    font-size: 30px;
  }

  .home-route-grid article,
  .home-compare-grid div {
    min-height: 0;
    padding: 20px;
  }

  .home-band,
  .home-final-cta {
    padding: 28px;
  }

  .home-compliance-band {
    padding: 58px 0;
  }

  .form-actions .button {
    width: 100%;
    min-width: 0;
  }

  .admin-title {
    align-items: stretch;
    flex-direction: column;
  }

  .focused-header {
    align-items: center;
    flex-direction: row;
    padding: 12px 14px;
  }

  .focused-header .brand {
    min-width: 0;
  }

  .focused-header .brand span:last-child {
    max-width: 122px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .focused-header .phone-link {
    display: none;
  }

  .conversion-shell {
    width: 100vw !important;
    max-width: 100vw !important;
    gap: 18px;
    padding: 26px 12px 34px;
  }

  .focused-copy,
  .centered-panel,
  .carrier-strip {
    width: min(300px, calc(100% - 24px)) !important;
    max-width: min(300px, calc(100% - 24px)) !important;
    margin-left: auto;
    margin-right: auto;
  }

  .focused-copy h1 {
    width: 100%;
    max-width: 300px !important;
    font-size: 26px;
    line-height: 1.08;
    text-wrap: balance;
  }

  .focused-copy .hero-subhead {
    width: 100%;
    max-width: 300px !important;
    font-size: 15px;
    text-wrap: balance;
  }

  .centered-panel {
    width: 100%;
  }

  .step-progress {
    gap: 6px;
  }

  .step-progress li {
    padding: 8px 3px;
    font-size: 10px;
  }

  .centered-panel .form-actions {
    grid-template-columns: 1fr;
  }

  .centered-panel .text-button {
    order: 2;
  }

  .carrier-logos {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .carrier-logos img {
    height: 44px;
  }

  .hybrid-header {
    align-items: center;
    flex-direction: row;
    padding: 12px 14px;
  }

  .hybrid-header .brand {
    min-width: 0;
  }

  .hybrid-header .brand span:last-child {
    max-width: 148px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .hybrid-header .header-actions {
    width: auto;
  }

  .hybrid-header .nav-link {
    display: none;
  }

  .hybrid-header .phone-link {
    display: none;
  }

  .hybrid-shell,
  .hybrid-page.wizard-active .hybrid-shell {
    grid-template-columns: minmax(0, 1fr);
    width: min(300px, calc(100% - 24px));
    min-height: auto;
    padding: 32px 0;
  }

  .landing-copy,
  .landing-support,
  .hybrid-panel,
  .hybrid-page.wizard-active .hybrid-panel {
    width: min(300px, 100%);
    max-width: min(300px, 100%);
    margin-left: auto;
    margin-right: auto;
  }

  .hybrid-page:not(.wizard-active) .hybrid-panel .form-step[data-step="1"].is-active {
    grid-template-columns: 1fr;
  }

  .hybrid-page:not(.wizard-active) .hybrid-panel .form-step[data-step="1"] .form-heading,
  .hybrid-page:not(.wizard-active) .hybrid-panel .form-step[data-step="1"] .microcopy {
    grid-column: auto;
  }

  .landing-copy {
    text-align: center;
  }

  .landing-copy h1 {
    max-width: 300px;
    font-size: 28px;
    line-height: 1.08;
    text-wrap: balance;
  }

  .landing-copy .hero-subhead {
    max-width: 300px;
    font-size: 15px;
    text-wrap: balance;
  }

  .security-strip {
    display: flex;
    justify-content: flex-start;
    gap: 8px;
    width: 100%;
    margin-top: 16px;
    padding-bottom: 2px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .security-strip::-webkit-scrollbar {
    display: none;
  }

  .security-badge {
    flex: 0 0 174px;
    padding: 8px 9px;
  }

  .security-icon {
    flex-basis: 30px;
    width: 30px;
    height: 30px;
  }

  .security-badge strong {
    font-size: 12px;
  }

  .security-badge small {
    font-size: 10px;
  }

  .security-icon--lock::before {
    top: 6px;
    left: 9px;
    width: 10px;
    height: 10px;
  }

  .security-icon--lock::after {
    left: 7px;
    bottom: 6px;
    width: 16px;
    height: 14px;
  }

  .enrollment-card {
    text-align: left;
  }

  .hybrid-page.wizard-active .hybrid-panel .step-progress {
    gap: 6px;
  }

  .hybrid-page.wizard-active .hybrid-panel .step-progress li {
    padding: 8px 3px;
    font-size: 10px;
  }

  .landing-carriers {
    width: calc(100% - 28px);
    margin-bottom: 64px;
  }
}

@media (max-width: 680px) {
  .quote-funnel-page .hybrid-shell,
  .quote-funnel-page.wizard-active .hybrid-shell {
    width: min(320px, calc(100% - 24px));
    min-height: auto;
    padding: 30px 0;
  }

  .quote-funnel-page .landing-copy,
  .quote-funnel-page .hybrid-panel,
  .quote-funnel-page.wizard-active .hybrid-panel,
  .quote-funnel-page .landing-support {
    width: min(320px, 100%);
    max-width: min(320px, 100%);
    margin-left: auto;
    margin-right: auto;
  }

  .quote-funnel-page .landing-copy h1 {
    max-width: 320px;
    font-size: 34px;
    line-height: 1.06;
  }

  .quote-funnel-page .landing-copy .hero-subhead {
    max-width: 320px;
    font-size: 16px;
  }

  .quote-funnel-page:not(.wizard-active) .hybrid-panel .form-step[data-step="1"].is-active {
    grid-template-columns: 1fr;
  }

  .quote-funnel-page:not(.wizard-active) .hybrid-panel .form-step[data-step="1"] .form-heading,
  .quote-funnel-page:not(.wizard-active) .hybrid-panel .form-step[data-step="1"] .microcopy {
    grid-column: auto;
  }

  .quote-funnel-page .hybrid-panel .step-progress {
    gap: 6px;
  }

  .quote-funnel-page .hybrid-panel .step-progress li {
    padding: 8px 3px;
    font-size: 10px;
  }

  .quote-funnel-page .landing-carriers {
    padding: 18px;
  }
}

@media (max-width: 680px) {
  .hybrid-page .hybrid-header {
    min-height: 60px;
    padding: 10px 14px;
  }

  .hybrid-page .brand {
    gap: 8px;
    font-size: 14px;
  }

  .hybrid-page .brand-mark {
    width: 30px;
    height: 30px;
    border-radius: 7px;
  }

  .hybrid-page .brand span:last-child {
    max-width: min(220px, calc(100vw - 74px));
  }

  .hybrid-page .hybrid-hero {
    min-height: auto;
  }

  .hybrid-page .hybrid-hero .hero-shade {
    background:
      linear-gradient(180deg, rgba(8, 28, 46, 0.9) 0%, rgba(8, 28, 46, 0.76) 54%, rgba(8, 28, 46, 0.84) 100%),
      linear-gradient(0deg, rgba(8, 28, 46, 0.1), rgba(8, 28, 46, 0.1));
  }

  .hybrid-page .hybrid-shell,
  .hybrid-page.wizard-active .hybrid-shell {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
    width: min(430px, calc(100% - 28px));
    max-width: 430px;
    min-height: auto;
    padding: 24px 0 34px;
    align-content: start;
    justify-items: center;
  }

  .hybrid-page .landing-copy,
  .hybrid-page .landing-support,
  .hybrid-page .hybrid-panel,
  .hybrid-page.wizard-active .hybrid-panel {
    width: 100%;
    max-width: 430px;
  }

  .hybrid-page .landing-copy .eyebrow {
    margin-bottom: 8px;
    font-size: 11px;
  }

  .hybrid-page .landing-copy h1 {
    max-width: 100%;
    font-size: clamp(30px, 8.4vw, 36px);
    line-height: 1.04;
  }

  .hybrid-page .landing-copy .hero-subhead {
    max-width: 100%;
    margin-top: 12px;
    font-size: 15px;
    line-height: 1.42;
  }

  .hybrid-page .security-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 7px;
    width: 100%;
    margin-top: 14px;
    padding-bottom: 0;
    overflow: visible;
  }

  .hybrid-page .security-badge {
    display: grid;
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 5px;
    min-height: 62px;
    padding: 8px 5px;
    text-align: center;
  }

  .hybrid-page .security-icon {
    flex-basis: auto;
    width: 24px;
    height: 24px;
    border-radius: 7px;
  }

  .hybrid-page .security-icon--lock::before {
    top: 4px;
    left: 7px;
    width: 8px;
    height: 8px;
    border-width: 2px;
  }

  .hybrid-page .security-icon--lock::after {
    left: 6px;
    bottom: 5px;
    width: 12px;
    height: 11px;
    border-radius: 4px;
  }

  .hybrid-page .security-icon--shield::before {
    inset: 5px 6px;
  }

  .hybrid-page .security-icon--shield::after {
    top: 10px;
    left: 8px;
  }

  .hybrid-page .security-icon--record::before {
    inset: 5px 7px;
    border-radius: 4px;
  }

  .hybrid-page .security-icon--record::after {
    top: 12px;
    left: 8px;
  }

  .hybrid-page .security-badge strong {
    font-size: 11px;
    line-height: 1.08;
  }

  .hybrid-page .security-badge small {
    display: none;
  }

  .hybrid-page .hybrid-panel {
    box-shadow: 0 18px 44px rgba(6, 24, 32, 0.2);
  }

  .hybrid-page:not(.wizard-active) .hybrid-panel #quote-form,
  .hybrid-page.wizard-active .hybrid-panel #quote-form {
    padding: 18px;
  }

  .hybrid-page:not(.wizard-active) .hybrid-panel .form-step[data-step="1"].is-active {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .hybrid-page:not(.wizard-active) .hybrid-panel .form-step[data-step="1"] .form-heading,
  .hybrid-page:not(.wizard-active) .hybrid-panel .form-step[data-step="1"] .microcopy {
    grid-column: auto;
  }

  .form-heading {
    margin-bottom: 14px;
  }

  .step-pill {
    margin-bottom: 8px;
    padding: 5px 8px;
    font-size: 11px;
  }

  .form-heading h2 {
    font-size: 24px;
    line-height: 1.12;
  }

  .form-heading p {
    margin-top: 7px;
    font-size: 13px;
    line-height: 1.38;
  }

  .field {
    gap: 6px;
    margin-bottom: 12px;
  }

  .field input,
  .field select,
  .field textarea {
    min-height: 50px;
    padding: 12px;
    font-size: 16px;
  }

  .button {
    min-height: 52px;
    padding: 0 16px;
  }

  .microcopy {
    margin-top: 8px;
    font-size: 12px;
  }

  .hybrid-page .landing-support {
    gap: 12px;
  }

  .hybrid-page .enrollment-card {
    padding: 14px;
  }

  .hybrid-page .enrollment-card h2 {
    margin-bottom: 10px;
    font-size: 17px;
  }

  .hybrid-page .enrollment-card ul {
    gap: 6px;
  }

  .hybrid-page .enrollment-card li {
    font-size: 13px;
    line-height: 1.35;
  }

  .hybrid-page .landing-support .trust-list {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
    gap: 8px;
  }

  .hybrid-page .trust-list li {
    justify-content: center;
    min-height: 38px;
    padding: 9px 10px;
    font-size: 13px;
  }

  .proof-band {
    width: min(430px, calc(100% - 28px));
    margin-top: 22px;
  }

  .proof-item {
    padding: 16px;
  }

  .proof-item strong {
    font-size: 24px;
  }

  .proof-item span {
    margin-top: 5px;
    font-size: 13px;
    line-height: 1.35;
  }

  .section {
    width: min(430px, calc(100% - 28px));
    padding-top: 48px;
  }

  .section-heading {
    margin-bottom: 18px;
  }

  .section h2 {
    font-size: 28px;
    line-height: 1.08;
  }

  .process-grid,
  .detail-list {
    gap: 10px;
  }

  .process-grid article,
  .detail-list div {
    padding: 18px;
  }

  .process-grid h3,
  .detail-list h3 {
    font-size: 18px;
  }

  .process-grid p,
  .detail-list p,
  .compare-copy p {
    font-size: 14px;
    line-height: 1.45;
  }

  .compare-section {
    gap: 18px;
    padding-bottom: 56px;
  }

  .site-footer {
    gap: 18px;
    padding: 26px 16px;
  }

  .site-footer p {
    font-size: 11px;
  }

  .footer-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 12px;
  }

  .footer-links a {
    min-height: 34px;
    display: flex;
    align-items: center;
    font-size: 13px;
  }

  .consent {
    font-size: 11px;
    line-height: 1.36;
  }

  .hybrid-page.wizard-active .hybrid-hero {
    min-height: calc(100dvh - 60px);
  }

  .hybrid-page.wizard-active .hybrid-shell {
    min-height: calc(100dvh - 60px);
    padding: 16px 0 24px;
    align-content: center;
  }

  .hybrid-page.wizard-active .hybrid-panel .step-progress {
    gap: 6px;
    margin-bottom: 18px;
  }

  .hybrid-page.wizard-active .hybrid-panel .step-progress li {
    padding: 8px 4px;
    font-size: 10px;
  }

  .form-actions {
    gap: 10px;
  }

  .form-actions .text-button {
    order: 2;
    align-self: center;
    min-height: 34px;
  }
}

@media (max-width: 374px) {
  .hybrid-page .hybrid-shell,
  .hybrid-page.wizard-active .hybrid-shell,
  .proof-band,
  .section {
    width: calc(100% - 20px);
  }

  .hybrid-page .landing-copy h1 {
    font-size: 30px;
  }

  .hybrid-page .security-strip {
    gap: 6px;
  }

  .hybrid-page .security-badge {
    padding: 7px 4px;
  }

  .hybrid-page .security-badge strong {
    font-size: 10.5px;
  }

  .footer-links {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .age-field-list {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .child-dob-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .remove-child-button {
    justify-self: start;
    min-height: 32px;
  }

  .review-overlay {
    padding: 18px;
  }

  .review-card h2 {
    font-size: 23px;
  }

  .review-checks li {
    padding: 9px 10px;
  }
}

.hybrid-page .security-strip {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  width: min(680px, 100%);
}

.hybrid-page .security-badge {
  display: inline-flex;
  min-height: 0;
  padding: 8px 10px;
  text-align: left;
}

.hybrid-page .security-badge strong {
  font-size: 12px;
}

.hybrid-page .security-icon {
  display: none;
}
