:root {
  color-scheme: light;
  --ink: #162033;
  --muted: #5d6877;
  --agency-blue: rgb(0, 51, 160);
  --agency-blue-dark: #00266f;
  --agency-blue-soft: #eaf0ff;
  --blue: rgb(0, 51, 160);
  --blue-2: #00266f;
  --green: #3d765f;
  --gold: #b98521;
  --red: #b3262e;
  --line: #d8dee8;
  --soft: #f4f7fa;
  --paper: #ffffff;
  --shadow: 0 16px 42px rgba(21, 32, 51, 0.14);
  --quote-fixed-canvas-width: 1920px;
  --quote-fixed-standard-shell: 1640px;
  --quote-fixed-wide-shell: 1805px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.45;
}

a {
  color: inherit;
}

button,
input,
select {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 72px;
  padding: 12px clamp(18px, 4vw, 56px);
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 3px solid var(--agency-blue);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  text-decoration: none;
}

.brand-copy {
  display: inline-flex;
  align-items: center;
}

.brand-mark {
  display: inline-grid;
  flex: 0 0 44px;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  color: #fff;
  background: var(--agency-blue);
  font-weight: 900;
  font-size: 0.86rem;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  color: var(--agency-blue-dark);
  font-size: clamp(2rem, 3.2vw, 2.75rem);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1;
}

.brand small {
  color: var(--agency-blue);
  margin-top: 2px;
  font-size: 0.78rem;
}

.agency-lockup {
  display: grid;
  gap: 8px;
  justify-items: center;
  color: #fff;
  background: var(--agency-blue);
  border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow: 0 12px 28px rgba(0, 31, 97, 0.18);
}

.agency-lockup strong {
  display: inline-block;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.78);
  color: #fff;
  font-family: Univers, "Univers LT Std", Arial, Helvetica, sans-serif;
  font-style: normal;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1;
  white-space: nowrap;
}

.agency-lockup .agency-subline {
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  gap: 8px;
  color: #fff;
  line-height: 1;
  white-space: nowrap;
}

.agency-lockup em {
  color: #fff;
  font-family: "Times New Roman", Times, serif;
  font-style: normal;
  font-weight: 400;
}

.hero-lockup em {
  letter-spacing: clamp(3.3px, calc(1.25px + 0.537vw), 8.15px);
}

.agency-lockup b {
  color: #fff;
  font-family: Univers, "Univers LT Std", Arial, Helvetica, sans-serif;
  font-style: normal;
  font-weight: 900;
  letter-spacing: 0px;
}

.italic-initial {
  font-style: italic;
}

.header-lockup {
  flex: 0 1 286px;
  gap: 4px;
  padding: 4px 10px;
}

.header-lockup strong {
  padding-bottom: 3px;
  font-size: 1.02rem;
}

.header-lockup span {
  gap: 4px;
  font-size: 0.76rem;
  white-space: nowrap;
}

.header-lockup b {
  font-size: 1.2em;
}

.header-agency-lockup {
  display: none;
}

.nav-links,
.header-actions,
.wizard-actions,
.sticky-actions,
.modal-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-links {
  position: absolute;
  left: 50%;
  justify-content: center;
  gap: 20px;
  transform: translateX(-50%);
  color: var(--agency-blue-dark);
  font-weight: 800;
  font-size: 0.92rem;
}

.nav-links a {
  text-decoration: none;
}

.header-actions {
  margin-left: auto;
}

body.home-screen {
  --home-header-logo-width: clamp(225px, min(20.25vw, 34.5vh), 345px);
  --home-header-logo-height: calc(var(--home-header-logo-width) * 0.2196);
  --home-header-brand-size: clamp(1.78rem, min(2.35vw, 3.5vh), 2.45rem);
  --home-header-mark-size: clamp(38px, min(2.45vw, 4.2vh), 44px);
  --home-header-menu-size: clamp(1.02rem, min(1.35vw, 2.1vh), 1.35rem);
  --home-header-scroll-offset: clamp(96px, min(5.7vw, 8.6vh), 112px);
  --home-hero-height: clamp(560px, 34vw, 660px);
  --home-hero-title-size: clamp(2rem, 4vw, 3.1rem);
  --home-hero-lede-size: clamp(1.23rem, calc(1.8vw + 0.17rem), 1.53rem);
  --home-hero-copy-size: clamp(1.15rem, calc(1.52vw + 0.17rem), 1.35rem);
}

body.home-screen .site-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  column-gap: clamp(18px, 2.25vw, 42px);
  padding-top: 9px;
  padding-bottom: 9px;
  padding-left: clamp(18px, 5vw, 76px);
  padding-right: clamp(18px, 5vw, 76px);
}

body.home-screen .header-agency-lockup {
  position: relative;
  display: inline-grid;
  width: min(100%, var(--home-header-logo-width));
  justify-items: start;
  justify-self: start;
  min-width: 0;
  max-width: 100%;
}

body.home-screen .header-agency-logo {
  display: block;
  width: auto;
  max-width: 100%;
  height: var(--home-header-logo-height);
  border: 0;
  border-radius: 0;
  background: transparent;
}

.hero-service-area {
  position: absolute;
  top: clamp(4px, 0.55vw, 10px);
  right: auto;
  left: clamp(18px, 5vw, 76px);
  z-index: 2;
  display: grid;
  width: clamp(180px, min(16.2vw, 27.6vh), 276px);
  justify-items: center;
  gap: 1px;
  color: #fff;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(0.86rem, 1.18vw, 1.12rem);
  font-style: italic;
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: 0;
  text-align: center;
  text-shadow: 0 2px 8px rgba(0, 24, 76, 0.34);
  white-space: nowrap;
}

body.home-screen .brand {
  justify-self: center;
  max-width: 100%;
}

body.home-screen .brand-mark {
  flex-basis: var(--home-header-mark-size);
  width: var(--home-header-mark-size);
  height: var(--home-header-mark-size);
}

body.home-screen .brand strong {
  font-size: var(--home-header-brand-size);
}

body.home-screen .nav-links {
  position: static;
  justify-self: end;
  gap: clamp(18px, 1.8vw, 30px);
  min-width: 0;
  max-width: 100%;
  transform: none;
  font-size: var(--home-header-menu-size);
  font-weight: 900;
  line-height: 1;
}

.site-header .header-actions {
  display: none;
}

.contact-button,
.primary-button,
.utility-button {
  min-height: 44px;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 10px 16px;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background 160ms ease,
    color 160ms ease;
}

.contact-button,
.primary-button {
  color: #fff;
  background: var(--agency-blue);
}

.contact-button {
  background: var(--green);
}

.contact-button.secondary {
  color: var(--blue-2);
  background: var(--agency-blue-soft);
  border-color: #b6c7f6;
}

.utility-button {
  color: var(--blue-2);
  background: var(--paper);
  border-color: var(--line);
}

.primary-button.full {
  width: 100%;
}

.primary-button:disabled,
.utility-button:disabled {
  cursor: not-allowed;
  opacity: 0.56;
}

.contact-button:hover,
.primary-button:hover,
.utility-button:hover {
  transform: translateY(-1px);
}

.wizard-screen {
  display: none;
}

.wizard-screen:not(.is-active) {
  display: none !important;
}

.wizard-screen.is-active {
  display: block;
}

.hero {
  position: relative;
  scroll-margin-top: var(--home-header-scroll-offset, 92px);
  height: var(--home-hero-height, calc(76vh - 72px));
  min-height: var(--home-hero-height, calc(76vh - 72px));
  display: flex;
  align-items: center;
  overflow: hidden;
  background-image: url("/assets/driveway-hero.png?v=20260722c");
  background-position: center;
  background-size: cover;
}

.hero.wizard-screen.is-active {
  display: flex;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 51, 160, 0.98) 0%, rgba(0, 51, 160, 0.86) 25%, rgba(0, 51, 160, 0.34) 50%, rgba(0, 51, 160, 0.08) 100%),
    linear-gradient(0deg, rgba(0, 31, 97, 0.28), rgba(0, 31, 97, 0.06));
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 36px));
  margin-left: clamp(18px, 5vw, 76px);
  padding: 0;
}

.hero-lockup {
  width: min(680px, 100%);
  margin-bottom: 14px;
  padding: clamp(12px, 2vw, 16px) clamp(16px, 2.8vw, 24px);
  border-color: rgba(255, 255, 255, 0.86);
  background: rgba(0, 51, 160, 0.94);
  box-shadow: 0 16px 40px rgba(0, 24, 76, 0.34);
}

.hero-lockup strong {
  font-size: clamp(1.45rem, 4vw, 3.1rem);
}

.hero-lockup .agency-subline {
  font-size: clamp(0.87rem, 2.4vw, 1.86rem);
}

.hero-lockup b {
  font-size: clamp(1.02rem, 2.8vw, 2.17rem);
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--agency-blue);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #dfe9ff;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--agency-blue-dark);
  letter-spacing: 0;
  line-height: 1.08;
}

.hero h1 {
  color: #fff;
  font-size: var(--home-hero-title-size, clamp(2rem, 4vw, 3.1rem));
  line-height: 1.04;
  text-shadow: 0 2px 12px rgba(0, 24, 76, 0.28);
}

.hero-message {
  max-width: 980px;
  margin-top: 14px;
  color: #fff;
  font-size: var(--home-hero-copy-size, clamp(0.98rem, 1.52vw, 1.18rem));
  font-weight: 400;
  line-height: 1.32;
}

.hero-lede {
  max-width: 1000px;
  margin: 0 0 7px;
  color: #fff;
  font-size: var(--home-hero-lede-size, clamp(1.06rem, 1.8vw, 1.36rem));
  font-weight: 400;
  line-height: 1.2;
}

.hero-lede.secondary {
  margin-top: clamp(18px, 3vw, 32px);
}

.hero-message ul {
  margin: 0;
  padding-left: 1.25em;
}

.hero-message li + li {
  margin-top: 0.34em;
}

.home-lower {
  padding: clamp(34px, 5vw, 64px) 0;
  background: linear-gradient(180deg, #fff 0%, #f4f7fa 100%);
}

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

.wizard-page > .section-shell {
  width: min(1640px, calc(100% - clamp(48px, 6vw, 128px)));
}

.coverage-screen > .section-shell,
.summary-screen > .section-shell {
  width: min(2200px, calc(100% - clamp(56px, 6vw, 144px)));
}

.section-shell.narrow {
  width: min(1020px, calc(100% - 36px));
}

.home-preview-heading {
  margin-bottom: clamp(18px, 2.4vw, 30px);
  text-align: center;
}

.home-preview-heading h2 {
  max-width: 1180px;
  margin: 0 auto;
  color: var(--agency-blue);
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1.04;
}

.screen-reader-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.home-grid {
  display: grid;
  grid-template-columns: minmax(540px, 1fr) minmax(420px, 0.92fr);
  gap: clamp(22px, 4vw, 52px);
  align-items: start;
}

.home-grid .start-card {
  width: 100%;
  justify-self: stretch;
}

.quote-animation,
.start-card,
.wizard-card,
.summary-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.quote-animation {
  position: relative;
  overflow: hidden;
  min-height: 580px;
  background: #f6f9fd;
}

.quote-demo-home {
  display: grid;
  grid-template-rows: auto 1fr;
}

.demo-premium-strip {
  display: grid;
  grid-template-columns: 1fr;
  color: #fff;
  background: var(--agency-blue);
}

.demo-premium-card {
  display: grid;
  align-content: center;
  min-height: 118px;
  padding: 18px 24px;
}

.demo-premium-card span {
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.demo-premium-card strong {
  display: block;
  margin-top: 5px;
  color: #fff;
  font-size: clamp(2rem, 3.6vw, 2.72rem);
  line-height: 0.98;
  transition:
    transform 220ms ease,
    color 220ms ease;
}

.demo-premium-card small {
  display: block;
  min-height: 1.2em;
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.25;
}

.demo-premium-card.is-changing strong {
  color: #fff5c9;
  transform: scale(1.035);
}

.demo-home-coverages {
  padding: 12px 16px 18px;
}

.demo-coverage-panel {
  display: grid;
  align-content: start;
  gap: 9px;
  min-width: 0;
}

.demo-coverage-panel h3,
.demo-box h4 {
  margin: 0;
  color: var(--agency-blue-dark);
}

.demo-coverage-panel h3 {
  font-size: 0.98rem;
}

.demo-box {
  display: grid;
  gap: 9px;
  padding: 10px;
  border: 1px solid #cad8ec;
  border-radius: 8px;
  background: #fff;
}

.demo-box h4 {
  font-size: 0.78rem;
}

.demo-control-grid {
  display: grid;
  gap: 8px;
}

.demo-control-grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.demo-control-grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.demo-form-field {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 6px;
  min-width: 0;
  isolation: isolate;
}

.demo-form-field.is-changing {
  z-index: 8;
}

.demo-field-label {
  color: #19283e;
  font-size: 0.66rem;
  font-weight: 900;
  line-height: 1.15;
}

.demo-select-control,
.demo-computed-value {
  display: flex;
  align-items: center;
  min-height: 38px;
  width: 100%;
  border: 1px solid #cbd7e6;
  border-radius: 8px;
  padding: 7px 9px;
  color: var(--ink);
  background: #fff;
  font: inherit;
  font-size: 0.76rem;
  font-weight: 900;
  line-height: 1.15;
  text-align: left;
  box-sizing: border-box;
}

.demo-select-control {
  justify-content: space-between;
}

.demo-select-control::after {
  content: "";
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  margin-left: 8px;
  border-right: 2px solid #1e2a3c;
  border-bottom: 2px solid #1e2a3c;
  transform: rotate(45deg) translateY(-2px);
}

.demo-option-list {
  position: absolute;
  top: calc(100% + 5px);
  right: 0;
  left: 0;
  z-index: 20;
  display: grid;
  overflow: hidden;
  border: 1px solid #1d63c8;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 14px 26px rgba(9, 25, 48, 0.22);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-4px);
  transition:
    opacity 160ms ease,
    transform 160ms ease;
}

.demo-form-field.is-open .demo-option-list {
  opacity: 1;
  transform: translateY(0);
}

.demo-option {
  position: relative;
  display: block;
  min-height: 24px;
  padding: 5px 9px;
  color: var(--ink);
  font-size: 0.74rem;
  font-weight: 800;
  line-height: 1.2;
}

.demo-option.is-selected,
.demo-option.is-target {
  color: #fff;
  background: #256bd2;
}

.demo-option.is-target:not(.is-selected) {
  background: #5c91dc;
}

.demo-option.is-target {
  padding-left: 20px;
  background: var(--agency-blue);
  box-shadow:
    inset 0 0 0 2px #fff4b8,
    inset 4px 0 0 #fff4b8;
}

.demo-option.is-target::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 50%;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #fff4b8;
  transform: translateY(-50%);
}

.demo-slider-field input[type="range"] {
  width: 100%;
  height: 16px;
  min-height: 16px;
  padding: 0;
}

.demo-slider-field .range-readout {
  color: #48566a;
  font-weight: 900;
  font-size: 0.78rem;
  line-height: 1.1;
}

.demo-checkbox-control {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  flex-wrap: nowrap;
  min-height: 38px;
  height: 38px;
  color: var(--ink);
  padding: 8px 10px;
  font-size: 0.76rem;
}

.demo-checkbox-control input {
  width: 18px;
  min-height: 18px;
  margin: 0;
  accent-color: #0876ee;
}

.demo-checkbox-control span {
  min-width: 0;
  line-height: 1.12;
}

.demo-form-field.is-changing .demo-select-control,
.demo-form-field.is-changing .demo-computed-value,
.demo-form-field.is-changing .demo-checkbox-control {
  border-color: var(--agency-blue);
  background: #eef4ff;
  box-shadow: 0 0 0 3px rgba(0, 51, 160, 0.13);
}

.demo-cursor {
  --cursor-x: 36px;
  --cursor-y: 160px;
  --cursor-scale: 1;
  position: absolute;
  z-index: 40;
  top: 0;
  left: 0;
  width: 22px;
  height: 30px;
  filter: drop-shadow(0 3px 5px rgba(0, 0, 0, 0.28));
  pointer-events: none;
  transform: translate(var(--cursor-x), var(--cursor-y)) scale(var(--cursor-scale));
  transform-origin: 0 0;
  transition:
    transform 300ms cubic-bezier(0.21, 0.9, 0.29, 1);
}

.demo-cursor::before {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  clip-path: polygon(0 0, 0 74%, 29% 58%, 42% 100%, 61% 94%, 48% 55%, 82% 55%);
  background: #0b1f40;
}

.quote-demo-home.is-cursor-pressing .demo-cursor {
  --cursor-scale: 0.9;
}

.start-card,
.wizard-card {
  padding: clamp(18px, 3vw, 32px);
}

.start-card h2,
.wizard-heading h2,
.compliance-band h2 {
  font-size: clamp(2rem, 4vw, 3.1rem);
}

.grid,
.coverage-control-grid {
  display: grid;
  gap: 18px;
}

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

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

.grid.four,
.coverage-control-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.grid.five {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.coverage-control-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 20px 22px;
  align-items: stretch;
}

.grid,
.coverage-control-grid,
.vehicle-coverage-row {
  align-items: stretch;
}

.grid > label:not(.check-row),
.coverage-control-grid > label:not(.check-row),
.vehicle-coverage-row > label:not(.check-row) {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: stretch;
}

.auto-all-vehicle-limit-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.auto-all-vehicle-check-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 18px;
}

.auto-coverage-controls {
  display: grid;
  gap: 24px;
}

.quote-section-box,
.available-discounts-box,
.auto-coverage-box,
.auto-add-history-panel,
.home-coverage-section,
.auto-vehicle-coverages,
.summary-card {
  padding: clamp(18px, 1.6vw, 24px);
  border: 1px solid #c9d8e8;
  border-radius: 8px;
  background: #f6f9fc;
}

#personalForm,
#homeDetailsForm,
#autoDetailsForm,
#singleCoveragePanels,
.home-coverage-controls,
.auto-coverage-controls {
  display: grid;
  gap: 24px;
}

.available-discounts-box h3,
.auto-coverage-box h3,
.auto-coverage-heading,
.prior-claims-section h3 {
  margin: 0 0 14px;
  color: var(--blue);
  font-size: 1.05rem;
}

.auto-coverage-heading {
  margin-top: 0;
}

.available-discounts-box .coverage-control-grid {
  gap: 14px 18px;
}

.available-discounts-box .check-row.compact {
  align-self: end;
  align-items: center;
  min-height: 44px;
  height: 44px;
  padding: 10px 12px;
}

.auto-vehicle-coverages {
  display: grid;
  gap: 20px;
  margin-top: 0;
}

.auto-vehicle-coverages-heading {
  padding-top: 0;
  border-top: 0;
}

.auto-vehicle-coverages-heading h4 {
  margin: 0;
  color: var(--blue);
  font-size: 1.05rem;
}

.vehicle-coverage-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(18px, 1.5vw, 24px);
  background: #fbfcfe;
}

.vehicle-coverage-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.vehicle-coverage-card-header strong {
  color: var(--blue-2);
}

.vehicle-coverage-card-header span {
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 900;
  text-align: right;
  overflow-wrap: anywhere;
}

.vehicle-coverage-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 18px 20px;
}

.vehicle-coverage-stack {
  display: grid;
  gap: 18px;
}

.vehicle-coverage-row {
  display: grid;
  gap: 18px 20px;
  align-items: start;
}

.vehicle-coverage-row-one {
  grid-template-columns: minmax(260px, 1fr);
}

.vehicle-coverage-row-two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.vehicle-coverage-row-three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.auto-add-history-panel {
  display: grid;
  gap: 16px;
  margin-bottom: 0;
  padding: clamp(18px, 1.6vw, 24px);
  border: 1px solid #c9d8e8;
  border-radius: 8px;
  background: #f6f9fc;
}

.household-driver-panel,
.auto-add-occupants-panel {
  display: grid;
  gap: 10px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.auto-add-occupants-panel > .utility-button {
  width: auto;
  justify-self: start;
}

.auto-add-spouse-driver-choice {
  justify-self: start;
  max-width: 480px;
}

.auto-add-spouse-driver-choice span {
  line-height: 1.25;
}

.household-driver-list {
  display: grid;
  gap: 10px;
}

.household-driver-choice {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(150px, 190px);
  gap: 12px;
  align-items: end;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfe;
}

.household-driver-choice strong {
  color: var(--blue-2);
}

.household-driver-choice span {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 800;
}

label.is-disabled {
  opacity: 0.58;
}

label.is-disabled select,
label.is-disabled input {
  cursor: not-allowed;
}

.address-grid {
  grid-template-columns: minmax(220px, 2fr) minmax(160px, 1fr) 90px 120px;
}

fieldset {
  margin: 20px 0 0;
  padding: 0;
  border: 0;
}

legend,
label {
  color: #2a3850;
  font-weight: 900;
  font-size: 0.92rem;
}

label {
  display: grid;
  gap: 7px;
  min-width: 0;
}

input,
select,
textarea {
  width: 100%;
  min-height: 44px;
  border: 1px solid #cfd7e2;
  border-radius: 8px;
  padding: 9px 11px;
  color: var(--ink);
  background: #fff;
  outline: none;
  font: inherit;
}

.computed-value {
  display: grid;
  align-items: center;
  min-height: 44px;
  border: 1px solid #cfd7e2;
  border-radius: 8px;
  padding: 9px 11px;
  color: var(--blue-2);
  background: #f8fbfe;
  font-weight: 950;
}

label small {
  color: var(--muted);
  font-weight: 800;
}

label small:empty {
  display: none;
}

input:focus,
select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(23, 71, 127, 0.14);
}

.native-month-select {
  position: absolute;
  width: 1px;
  min-height: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.custom-month-select {
  position: relative;
  width: 100%;
}

.custom-month-button {
  position: relative;
  width: 100%;
  min-height: 44px;
  border: 1px solid #cfd7e2;
  border-radius: 8px;
  padding: 9px 36px 9px 11px;
  color: var(--ink);
  background: #fff;
  text-align: left;
  cursor: pointer;
}

.custom-month-button::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 13px;
  width: 8px;
  height: 8px;
  border-right: 2px solid #65758a;
  border-bottom: 2px solid #65758a;
  transform: translateY(-65%) rotate(45deg);
}

.custom-month-button:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(23, 71, 127, 0.14);
  outline: none;
}

.custom-month-button:disabled {
  color: #8b96a6;
  background: #f4f7fa;
  cursor: not-allowed;
}

.custom-month-list {
  position: absolute;
  z-index: 35;
  top: calc(100% + 4px);
  right: 0;
  left: 0;
  max-height: min(380px, 55vh);
  overflow-y: auto;
  border: 1px solid #cfd7e2;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 32px rgba(18, 38, 63, 0.16);
}

.custom-month-list.opens-up {
  top: auto;
  bottom: calc(100% + 4px);
}

.custom-month-option {
  display: block;
  width: 100%;
  min-height: 34px;
  border: 0;
  border-bottom: 1px solid var(--line);
  padding: 7px 11px;
  color: var(--ink);
  background: #fff;
  text-align: left;
  cursor: pointer;
}

.custom-month-option:last-child {
  border-bottom: 0;
}

.custom-month-option:hover,
.custom-month-option:focus,
.custom-month-option.is-selected {
  background: var(--agency-blue-soft);
  color: var(--agency-blue-dark);
  outline: none;
}

.address-lookup {
  position: relative;
}

.address-suggestions {
  position: absolute;
  z-index: 20;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  overflow: hidden;
  border: 1px solid #cfd7e2;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 32px rgba(18, 38, 63, 0.16);
}

.address-suggestions button {
  display: block;
  width: 100%;
  min-height: 42px;
  border: 0;
  border-bottom: 1px solid var(--line);
  padding: 10px 12px;
  color: var(--ink);
  background: #fff;
  font: inherit;
  font-weight: 800;
  text-align: left;
  cursor: pointer;
}

.address-suggestions button:last-child {
  border-bottom: 0;
}

.address-suggestions button:hover,
.address-suggestions button:focus {
  background: #f3f7fc;
  outline: none;
}

.vin-entry {
  display: inline-grid;
  grid-template-columns: 24ch auto;
  gap: 8px;
  align-items: stretch;
  justify-self: start;
  max-width: 100%;
}

.vin-entry input {
  width: 24ch;
  max-width: 100%;
}

.optional-label {
  color: var(--muted);
  font-size: 0.86em;
  font-weight: 700;
}

.vehicle-intake-layout {
  display: grid;
  gap: 16px;
}

.vehicle-vin-row {
  display: grid;
}

.vehicle-vin-row label {
  width: 100%;
}

.vin-go-button {
  min-width: 60px;
  min-height: 44px;
  padding-inline: 14px;
}

label.needs-completion,
.household-driver-choice.needs-completion {
  color: var(--red);
}

label.needs-completion input,
label.needs-completion select,
.household-driver-choice.needs-completion select,
label.needs-completion .custom-month-button {
  border-color: #d48a8f;
  background: #fffafa;
}

input[type="range"] {
  padding: 0;
}

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

.quote-choice {
  position: relative;
  display: grid;
  min-height: 78px;
  place-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
}

.quote-choice input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.quote-choice span {
  color: var(--blue-2);
  font-weight: 950;
}

.quote-choice small {
  color: var(--green);
  font-weight: 900;
}

.quote-choice:has(input:checked) {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(23, 71, 127, 0.12);
}

.bundle-choice {
  background: #f8fbf8;
}

.vin-notice,
.vin-required {
  margin: 14px 0 0;
  color: var(--red);
  font-weight: 900;
}

.check-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 14px;
  color: var(--ink);
  font-weight: 800;
}

.check-row input {
  flex: 0 0 auto;
  width: 18px;
  min-height: 18px;
  margin-top: 2px;
}

.check-row.compact {
  align-items: center;
  flex-wrap: wrap;
  min-height: 44px;
  margin-top: 0;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.check-row.compact small {
  flex: 1 1 100%;
  margin-left: 28px;
  color: var(--muted);
  font-size: 0.74rem;
  line-height: 1.25;
}

.consent-promise-copy {
  display: grid;
  gap: 4px;
}

.consent-bullet {
  position: relative;
  padding-left: 18px;
}

.consent-bullet::before {
  content: "\2022";
  position: absolute;
  left: 3px;
}

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

.human-check {
  display: flex;
  justify-content: center;
  margin: 14px 0;
}

.human-check:empty {
  display: none;
}

.status-text {
  min-height: 22px;
  margin: 10px 0 0;
  color: var(--muted);
  font-weight: 800;
}

.status-text.error {
  color: var(--red);
}

.status-text.success {
  color: var(--green);
}

.status-text.warning {
  color: var(--gold);
}

.is-hidden {
  display: none !important;
}

.wizard-page {
  min-height: calc(100vh - 72px);
  padding: clamp(30px, 4vw, 58px) 0;
  background: var(--soft);
}

.wizard-heading {
  max-width: none;
  margin-bottom: 26px;
}

.wizard-heading p {
  max-width: 760px;
  color: var(--muted);
}

.personal-info-box {
  display: grid;
  gap: 12px;
}

.personal-info-box .grid {
  gap: 14px 18px;
}

.personal-info-box .address-validation-status {
  margin: 0;
  min-height: 0;
}

.personal-info-box .address-validation-status:empty {
  display: none;
}

.spouse-panel {
  margin-top: 0;
  padding-top: 0;
}

[data-spouse-driver-row] {
  height: 56px;
}

[data-spouse-driver-row] input {
  margin: 0;
}

.personal-info-box .auto-driver-field.check-row.compact,
.personal-info-box .spouse-driver-field.check-row.compact {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  align-items: center;
  align-content: center;
  align-self: end;
  gap: 10px;
  min-height: 56px;
  height: 56px;
  padding: 8px 12px;
}

.personal-info-box .auto-driver-field.check-row.compact input,
.personal-info-box .spouse-driver-field.check-row.compact input {
  width: 18px;
  min-height: 18px;
  margin: 0;
}

.personal-info-box .auto-driver-field.check-row.compact span,
.personal-info-box .spouse-driver-field.check-row.compact span {
  min-width: 0;
  line-height: 1.22;
}

#householdCompositionSection {
  padding-top: 0;
}

.subsection-title {
  margin: 24px 0 12px;
  color: var(--blue);
  font-weight: 950;
}

.section-inline-note {
  margin-left: 8px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 750;
}

.prior-claims-heading {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  align-items: baseline;
}

.prior-claims-heading > span {
  font-size: 1.16rem;
}

.inline-help {
  position: relative;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 850;
}

.inline-help summary {
  color: var(--blue-2);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.inline-help p {
  position: absolute;
  z-index: 30;
  top: calc(100% + 8px);
  left: 0;
  width: min(420px, calc(100vw - 48px));
  margin: 0;
  padding: 12px 14px;
  border: 1px solid #c9d8e8;
  border-radius: 8px;
  color: var(--ink);
  background: #fff;
  box-shadow: 0 18px 32px rgba(18, 38, 63, 0.16);
}

.prior-claims-section {
  margin-top: 0;
  padding: clamp(18px, 1.6vw, 24px);
  border: 1px solid #c9d8e8;
  border-radius: 8px;
  background: #f6f9fc;
}

.quote-section-box > .subsection-title:first-child,
#householdCompositionSection > .subsection-title:first-child {
  margin-top: 0;
}

.field-note {
  margin: -4px 0 16px;
  max-width: 1120px;
  color: var(--muted);
  font-weight: 800;
}

#homePrefillStatus,
#homePrefillStatus.warning {
  color: var(--red);
  font-weight: 900;
}

#homeDetailsForm > .quote-section-box + .quote-section-box {
  margin-top: 0;
}

.claim-count-grid {
  margin-top: 16px;
}

.claim-section {
  margin-top: 16px;
}

.claim-section h4 {
  margin: 0 0 12px;
  color: var(--blue-2);
  font-size: 0.96rem;
  font-weight: 950;
}

.claim-subsection {
  margin-top: 16px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.claim-subsection h5 {
  margin: 0 0 12px;
  color: var(--blue);
  font-size: 0.88rem;
  font-weight: 950;
}

.claim-detail-panel {
  margin-top: 12px;
  padding: 14px;
  border: 1px solid #c9d8e8;
  border-radius: 8px;
  background: #f6f9fc;
}

.claim-detail-panel .field-note {
  margin-bottom: 12px;
}

.label-with-help {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
}

.coverage-control-grid > label:not(.check-row) .label-with-help,
.vehicle-coverage-grid > label:not(.check-row) .label-with-help {
  width: 100%;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.umbi-limit-field .label-with-help {
  align-items: flex-end;
  line-height: 1.25;
}

.label-with-help .info-dot {
  flex: 0 0 22px;
}

.info-dot {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  min-height: 22px;
  border: 1px solid #b8c7da;
  border-radius: 50%;
  padding: 0;
  color: var(--blue);
  background: #eef4fb;
  font-size: 0.78rem;
  font-weight: 950;
  cursor: pointer;
}

body.quote-screen .info-dot {
  animation: infoDotPulse 2.35s ease-in-out infinite;
  transform-origin: center;
}

body.quote-screen .info-dot:hover,
body.quote-screen .info-dot:focus-visible {
  animation-play-state: paused;
  background: #dbeafe;
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(0, 51, 160, 0.16);
}

@keyframes infoDotPulse {
  0%,
  70%,
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(0, 51, 160, 0);
  }
  12% {
    transform: scale(1.12);
    box-shadow: 0 0 0 5px rgba(0, 51, 160, 0.18);
  }
  24% {
    transform: scale(1);
    box-shadow: 0 0 0 9px rgba(0, 51, 160, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  body.quote-screen .info-dot {
    animation: none;
  }
}

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

.repeat-item {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  background: #fbfcfe;
}

.repeat-item-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.repeat-item-header strong {
  color: var(--blue-2);
}

.remove-button {
  min-height: 36px;
  border: 1px solid #e0c6c8;
  border-radius: 8px;
  padding: 6px 10px;
  color: var(--red);
  background: #fff7f7;
  font-weight: 900;
  cursor: pointer;
}

.wizard-actions {
  justify-content: flex-end;
  flex-wrap: wrap;
  margin-top: 26px;
}

.coverage-screen {
  position: relative;
  padding-top: 0;
}

.coverage-rating-lock {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(40, 48, 62, 0.34);
  backdrop-filter: blur(1px);
}

.coverage-rating-lock-card {
  display: grid;
  gap: 6px;
  max-width: min(420px, calc(100vw - 48px));
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 8px;
  padding: 18px 20px;
  color: #fff;
  background: rgba(0, 51, 160, 0.88);
  box-shadow: 0 18px 44px rgba(7, 17, 34, 0.28);
  text-align: center;
}

.coverage-rating-lock-card strong {
  color: #fff;
  font-size: 1.08rem;
}

.coverage-rating-lock-card span {
  color: #eef4ff;
  font-weight: 800;
  font-size: 0.92rem;
}

.coverage-screen.is-rating-locked {
  cursor: wait;
}

.coverage-sticky {
  position: sticky;
  top: 72px;
  z-index: 25;
  display: grid;
  gap: 14px;
  min-height: 25vh;
  padding: clamp(16px, 3vw, 28px) clamp(18px, 5vw, 70px);
  color: #fff;
  background: linear-gradient(135deg, var(--blue-2), var(--blue));
  box-shadow: 0 12px 34px rgba(10, 21, 36, 0.22);
}

.coverage-sticky.single,
.coverage-sticky.final {
  align-items: center;
}

.coverage-sticky.single {
  grid-template-columns: 1fr;
}

.coverage-sticky.final {
  grid-template-columns: 1fr auto;
}

.coverage-sticky.summary-review-sticky {
  min-height: clamp(170px, 19vh, 230px);
}

.summary-review-sticky .premium-block > strong {
  font-size: clamp(2rem, 3vw, 3rem);
}

.summary-review-sticky .premium-block small {
  max-width: 1060px;
  line-height: 1.35;
}

.coverage-sticky.dual {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
}

.premium-block {
  display: grid;
  align-content: center;
  gap: 6px;
  min-width: 0;
}

.premium-block span {
  color: #d8e8f8;
  font-weight: 900;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.premium-block > strong {
  color: #fff;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1;
}

.premium-block small {
  max-width: 850px;
  color: #edf4fb;
  font-weight: 800;
}

.coverage-sticky.single .premium-block {
  width: min(100%, 1100px);
  justify-self: center;
  text-align: center;
}

.coverage-sticky.single .premium-block small {
  margin: 0 auto;
}

@media (min-width: 761px) {
  .coverage-sticky.single .sticky-actions {
    position: absolute;
    top: 50%;
    right: clamp(18px, 5vw, 70px);
    transform: translateY(-50%);
  }
}

.premium-block small.auto-paid-in-full-sub {
  max-width: none;
  font-size: clamp(0.98rem, 1.25vw, 1.16rem);
  line-height: 1.15;
  white-space: nowrap;
}

.premium-block small.auto-paid-in-full-sub strong {
  font-size: inherit;
  font-weight: 950;
}

.coverage-sticky .contact-button.secondary {
  background: #fff;
}

.coverage-screen .section-shell,
.summary-screen .section-shell {
  padding-top: clamp(30px, 3.2vw, 48px);
}

.split-coverage {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 2.2vw, 40px);
  align-items: start;
}

.coverage-screen .wizard-card {
  padding: clamp(24px, 2vw, 36px);
}

.coverage-screen[data-screen="coverageSingle"] .wizard-card {
  width: min(100%, 1100px);
  margin: 0 auto;
}

.coverage-screen[data-screen="coverageSingle"] .wizard-heading {
  width: min(100%, 1100px);
  margin: 0 auto 26px;
  text-align: center;
}

.coverage-screen[data-screen="coverageSingle"] .wizard-heading p {
  margin: 0 auto;
}

.home-coverage-section {
  display: grid;
  gap: 18px;
}

.home-coverage-section h3,
.home-coverage-subsection h4 {
  margin: 0;
  color: var(--blue);
}

.home-coverage-section h3 {
  font-size: 1.08rem;
}

.home-coverage-subsection {
  display: grid;
  gap: 14px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.home-coverage-subsection h4 {
  font-size: 0.96rem;
}

.home-discounts-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 22px;
  align-items: stretch;
}

.home-discounts-row > label:not(.check-row) {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 7px;
}

.home-discounts-row > .check-row.compact {
  align-self: end;
  min-height: 44px;
  height: 44px;
}

.home-multi-policy-lock,
[data-auto-multi-policy-toggle-row].is-locked {
  opacity: 1;
}

.home-multi-policy-lock input:disabled,
[data-auto-multi-policy-toggle-row].is-locked input:disabled {
  cursor: not-allowed;
}

.single-bundle-default {
  display: none;
}

.home-bundle-toggle-slot,
.home-bundle-cta-slot,
.auto-bundle-cta-slot {
  min-width: 0;
}

.home-bundle-toggle-slot {
  display: flex;
  align-items: flex-end;
}

.home-bundle-toggle-slot .bundle-discount-toggle {
  width: 100%;
}

.home-bundle-cta-slot {
  grid-column: 1 / -1;
}

.home-bundle-cta-slot:empty,
.auto-bundle-cta-slot:empty {
  display: none;
}

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

.home-property-protection-grid,
.home-property-contents-grid,
.home-optional-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.home-property-protection-grid,
.home-property-contents-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 22px;
  justify-items: stretch;
}

.home-property-protection-grid {
  align-items: center;
}

.home-property-protection-grid > label,
.home-property-contents-grid > label {
  width: 100%;
  min-width: 0;
  justify-self: stretch;
}

.home-property-protection-grid > label:not(.check-row) {
  display: grid;
  grid-template-rows: auto minmax(44px, auto) auto;
  align-content: start;
  gap: 7px;
}

.home-property-protection-grid .computed-value,
.home-property-protection-grid input[type="range"],
.home-property-protection-grid select {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  align-self: stretch;
  justify-self: stretch;
  box-sizing: border-box;
}

.home-dwelling-slider-field {
  gap: 4px;
}

.home-dwelling-slider-field .range-readout {
  margin-top: 0;
  line-height: 1.1;
}

.home-property-protection-grid > .home-dwelling-coverage-field,
.home-property-protection-grid > .home-dwelling-slider-field,
.home-property-protection-grid > .home-other-structures-field {
  display: flex !important;
  flex-direction: column;
  align-items: stretch !important;
  justify-content: center;
  justify-self: stretch !important;
  inline-size: 100% !important;
  width: 100% !important;
  min-inline-size: 0 !important;
  min-width: 0 !important;
  max-inline-size: none !important;
  max-width: none !important;
}

.home-property-protection-grid > .home-dwelling-coverage-field > .computed-value,
.home-property-protection-grid > .home-dwelling-slider-field > input[type="range"],
.home-property-protection-grid > .home-other-structures-field > select {
  display: block;
  inline-size: 100% !important;
  width: 100% !important;
  min-height: 0;
  min-inline-size: 0 !important;
  min-width: 0 !important;
  max-inline-size: none !important;
  max-width: none !important;
  box-sizing: border-box;
}

.home-property-protection-grid > .home-dwelling-slider-field > input[type="range"] {
  height: 18px;
  min-height: 18px;
  padding: 0;
}

.home-property-protection-grid > .home-dwelling-coverage-field > .field-label-text,
.home-property-protection-grid > .home-dwelling-slider-field > .field-label-text,
.home-property-protection-grid > .home-other-structures-field > .field-label-text {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 8px;
  inline-size: 100%;
  min-height: 22px;
}

.two-line-field-label {
  line-height: 1.25;
}

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

.home-claim-forgiveness-row {
  width: fit-content;
}

.split-coverage .wizard-card > h2,
.split-coverage .wizard-card > h3 {
  margin: 0 0 20px;
  color: var(--blue);
  font-size: 1.15rem;
}

.bundle-preview-cta {
  display: grid;
  grid-template-columns: minmax(0, 650px) minmax(150px, auto);
  align-items: center;
  justify-content: center;
  gap: 16px;
  width: 100%;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.bundle-preview-cta p {
  max-width: 650px;
  margin: 0;
  color: var(--blue-2);
  font-weight: 900;
  line-height: 1.35;
  letter-spacing: 0;
  text-align: justify;
  text-align-last: center;
  word-spacing: normal;
}

.bundle-preview-cta .primary-button {
  width: auto;
  min-width: 150px;
  max-width: 190px;
  white-space: normal;
  line-height: 1.15;
}

.range-readout {
  color: var(--muted);
  font-weight: 900;
  font-size: 0.9rem;
}

.summary-screen {
  padding-top: 0;
}

.summary-page-heading {
  margin: 0;
}

.summary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
  gap: 24px;
}

.summary-layout-split {
  display: grid;
  grid-template-columns: minmax(450px, 480px) minmax(0, 1fr);
  gap: clamp(28px, 2.4vw, 42px);
  align-items: start;
}

.summary-sidebar {
  display: grid;
  gap: 16px;
  min-width: 0;
}

.summary-main-column {
  display: grid;
  gap: clamp(26px, 2.2vw, 36px);
  min-width: 0;
}

.summary-card {
  padding: 22px;
  box-shadow: none;
}

.summary-card-panel {
  padding: clamp(24px, 2vw, 32px);
}

.personal-summary-card {
  position: sticky;
  top: 96px;
}

.quote-summary-card {
  display: grid;
  gap: clamp(20px, 1.8vw, 28px);
}

.summary-card-header {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-start;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.summary-card-header .eyebrow {
  margin-bottom: 6px;
}

.summary-card-header h3 {
  margin: 0;
  font-size: 1.36rem;
}

.summary-premium-badge {
  min-width: min(100%, 270px);
  padding: 15px 18px;
  border: 1px solid rgba(0, 51, 160, 0.18);
  border-radius: 8px;
  color: var(--blue-2);
  background: #eef5ff;
  text-align: right;
}

.summary-premium-badge span {
  display: block;
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.summary-premium-badge strong {
  color: var(--blue);
  font-size: clamp(1.55rem, 2vw, 2.14rem);
  line-height: 1;
}

.summary-card-body {
  display: grid;
  gap: clamp(18px, 1.7vw, 26px);
}

.summary-two-column {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 1.8vw, 26px);
  align-items: start;
}

.summary-subsection {
  min-width: 0;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfe;
}

.summary-subsection h4 {
  margin: 0 0 14px;
  color: var(--blue);
  font-size: 1rem;
}

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

.summary-field-tile {
  min-height: 70px;
  padding: 12px 14px;
  border: 1px solid #e0e8f4;
  border-radius: 8px;
  background: #fff;
}

.summary-field-label {
  display: block;
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.summary-field-value {
  display: block;
  color: var(--ink);
  font-weight: 900;
  line-height: 1.25;
  overflow-wrap: break-word;
}

.summary-list {
  display: grid;
  grid-template-columns: minmax(128px, 0.9fr) minmax(0, 1.1fr);
  gap: 9px 14px;
  margin: 0;
}

.summary-compact-list {
  grid-template-columns: minmax(190px, 0.95fr) minmax(0, 1.05fr) minmax(190px, 0.95fr) minmax(0, 1.05fr);
  gap: 0 28px;
}

.summary-compact-list dt,
.summary-compact-list dd {
  padding: 7px 0;
  border-bottom: 1px solid #eef2f8;
}

.summary-compact-list dt {
  padding-right: 14px;
}

.summary-compact-list dd {
  font-weight: 900;
}

.personal-summary-card .summary-list {
  grid-template-columns: minmax(124px, 0.9fr) minmax(0, 1.1fr);
}

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

.summary-vehicle-card,
.summary-vehicle-coverage-card {
  min-width: 0;
  padding: 16px;
  border: 1px solid #dbe5f2;
  border-radius: 8px;
  background: #fff;
}

.summary-vehicle-card h5,
.summary-vehicle-coverage-card h5 {
  margin: 0 0 12px;
  color: var(--blue-2);
  font-size: 1rem;
}

.summary-vehicle-meta {
  grid-template-columns: minmax(128px, 0.8fr) minmax(0, 1.2fr);
}

.summary-vehicle-coverage-list {
  display: grid;
  gap: 18px;
}

.summary-vehicle-coverage-card {
  display: grid;
  grid-template-columns: minmax(210px, 0.68fr) minmax(0, 1.32fr);
  gap: 18px;
}

.summary-coverage-lines {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 18px;
}

.summary-coverage-line {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: start;
  padding: 6px 0;
  border-bottom: 1px solid #eef2f8;
}

.summary-coverage-line span {
  color: var(--muted);
  font-weight: 900;
  line-height: 1.2;
}

.summary-coverage-line strong {
  color: var(--ink);
  font-weight: 900;
  text-align: right;
  line-height: 1.2;
}

.summary-card h3 {
  margin-bottom: 16px;
}

.summary-card h4 {
  margin: 18px 0 10px;
  color: var(--blue);
  font-size: 0.98rem;
}

dl {
  display: grid;
  grid-template-columns: minmax(120px, 0.8fr) minmax(0, 1.2fr);
  gap: 8px 14px;
  margin: 0;
}

dt {
  color: var(--muted);
  font-weight: 900;
}

dd {
  margin: 0;
  min-width: 0;
  overflow-wrap: break-word;
}

.summary-lines {
  display: grid;
  gap: 3px;
}

.compliance-band {
  padding: clamp(56px, 8vw, 96px) 0;
  background: #f7f4ef;
  text-align: center;
}

body.quote-screen .compliance-band {
  display: none;
}

.about-page {
  padding: clamp(56px, 6vw, 86px) 0 clamp(72px, 7vw, 104px);
  background: linear-gradient(180deg, #fff 0%, #f4f7fa 100%);
}

.about-shell {
  width: min(1768px, calc(100% - clamp(48px, 6vw, 128px)));
  margin: 0 auto;
}

.section-label {
  margin: 0 0 10px;
  color: var(--agency-blue);
  font-size: 0.84rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.about-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.22fr) minmax(420px, 0.78fr);
  gap: 36px;
  align-items: stretch;
}

.about-copy,
.about-sidebar,
.about-card {
  border: 1px solid var(--line);
  border-radius: 0;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
}

.about-copy {
  padding: clamp(34px, 3vw, 48px);
}

.about-copy h1 {
  margin: 0;
  color: var(--agency-blue);
  font-size: clamp(2.7rem, 4.1vw, 4.9rem);
  line-height: 1.04;
  letter-spacing: 0;
}

.lead {
  max-width: 1040px;
  margin: 22px 0 0;
  color: var(--ink);
  font-size: clamp(1.34rem, 1.72vw, 1.9rem);
  line-height: 1.3;
  font-weight: 500;
}

.body-copy {
  display: grid;
  gap: 16px;
  max-width: 1040px;
  margin-top: 28px;
  color: var(--muted);
  font-size: clamp(1.04rem, 1.08vw, 1.28rem);
}

.body-copy p {
  margin: 0;
}

.about-sidebar {
  display: grid;
  align-content: space-between;
  gap: 24px;
  padding: 34px;
  background:
    linear-gradient(145deg, rgba(0, 51, 160, 0.96), rgba(0, 38, 111, 0.98));
  color: #fff;
}

.agency-name {
  display: grid;
  gap: 8px;
}

.agency-name strong {
  font-size: clamp(1.55rem, 2vw, 2.3rem);
  line-height: 1.05;
}

.agency-name span {
  color: #dfe9ff;
  font-size: clamp(1.02rem, 1.08vw, 1.22rem);
}

.contact-list {
  display: grid;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.contact-list li {
  display: grid;
  gap: 3px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}

.contact-list b {
  font-size: 0.86rem;
  text-transform: uppercase;
}

.contact-list span,
.contact-list a {
  color: #eef4ff;
  font-size: 1.08rem;
}

.contact-list a {
  color: #fff;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.56);
  text-underline-offset: 3px;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 28px;
}

.about-card {
  min-height: 220px;
  padding: 30px;
}

.about-card h2 {
  margin: 0 0 12px;
  color: var(--agency-blue);
  font-size: clamp(1.24rem, 1.4vw, 1.74rem);
  line-height: 1.12;
}

.about-card p {
  margin: 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.05vw, 1.18rem);
}

.about-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 28px;
  padding: 24px 30px;
  border: 1px solid rgba(0, 51, 160, 0.18);
  background: #eaf0ff;
  color: var(--blue-2);
}

.about-cta p {
  margin: 0;
  font-size: 1.18rem;
  font-weight: 800;
}

.quote-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 150px;
  border: 0;
  border-radius: 6px;
  padding: 13px 22px;
  background: var(--green);
  color: #fff;
  font: inherit;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
}

.compliance-band h2 {
  color: var(--agency-blue);
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1.04;
}

.compliance-list {
  display: grid;
  gap: clamp(22px, 3.5vw, 40px);
  max-width: 1120px;
  margin: clamp(28px, 4vw, 46px) auto 0;
}

.compliance-list p {
  margin: 0;
  padding: 0;
  border-top: 0;
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.46rem);
  font-weight: 400;
  line-height: 1.35;
  text-align: center;
}

.compliance-list strong {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: clamp(1.18rem, 2.15vw, 1.58rem);
  font-weight: 900;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  padding: 24px clamp(18px, 4vw, 56px);
  color: #dfe9f5;
  background: var(--blue-2);
  font-weight: 800;
  font-size: 0.9rem;
}

.footer-left {
  justify-self: start;
}

.footer-center {
  display: grid;
  gap: 2px;
  justify-items: center;
  text-align: center;
}

.footer-right {
  justify-self: end;
  text-align: right;
}

.contact-dialog,
.email-dialog,
.quality-dialog,
.save-progress-dialog {
  width: min(560px, calc(100% - 40px));
  max-height: min(86vh, 920px);
  overflow: auto;
  border: 0;
  border-radius: 8px;
  padding: 26px;
  color: var(--ink);
  box-shadow: var(--shadow);
}

.contact-dialog {
  text-align: center;
}

.email-dialog {
  width: min(920px, calc(100% - 40px));
}

.quality-dialog {
  width: min(980px, calc(100% - 64px));
}

.contact-dialog::backdrop,
.email-dialog::backdrop,
.quality-dialog::backdrop,
.save-progress-dialog::backdrop {
  background: rgba(10, 18, 31, 0.48);
}

.contact-dialog p,
.email-dialog p,
.quality-dialog p,
.save-progress-dialog p {
  color: var(--muted);
}

.email-contact-grid {
  display: grid;
  grid-template-columns: minmax(240px, 0.85fr) minmax(320px, 1.15fr);
  gap: 16px 20px;
  align-items: start;
}

.email-message-field {
  grid-column: 2;
  grid-row: 1 / span 2;
}

.email-message-field textarea {
  min-height: 138px;
  resize: vertical;
}

.email-calendar-space {
  grid-column: 2;
  min-height: 92px;
}

.email-estimate-copy {
  margin-top: 18px;
}

.contact-dialog h2,
.email-dialog h2,
.save-progress-dialog h2 {
  margin: 0 0 10px;
  color: var(--blue-2);
  font-size: 1.55rem;
}

.call-phone-display {
  margin: 8px 0 22px;
  color: var(--ink) !important;
  font-size: 1.72rem;
  font-weight: 900;
}

.contact-success-toast {
  position: fixed;
  right: 32px;
  bottom: 32px;
  z-index: 5000;
  max-width: min(440px, calc(100vw - 40px));
  padding: 18px 20px;
  border: 1px solid #b9d0f2;
  border-radius: 8px;
  background: #ffffff;
  color: var(--blue-2);
  box-shadow: 0 18px 42px rgba(0, 31, 87, 0.2);
  font-weight: 900;
  line-height: 1.35;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.contact-success-toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 720px) {
  .email-contact-grid {
    grid-template-columns: 1fr;
  }

  .email-message-field,
  .email-calendar-space {
    grid-column: auto;
    grid-row: auto;
  }

  .contact-success-toast {
    right: 20px;
    bottom: 20px;
  }
}

.resume-link-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px 12px;
  align-items: end;
  margin: 18px 0 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f7faff;
}

.resume-link-panel label {
  display: grid;
  gap: 6px;
  color: var(--blue-2);
  font-weight: 900;
}

.resume-link-panel input {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
  color: var(--ink);
  background: #fff;
  font: inherit;
}

.resume-link-panel .status-text {
  grid-column: 1 / -1;
  margin: 0;
}

.quality-dialog h2[tabindex="-1"]:focus {
  outline: none;
}

.quality-definition-list {
  display: grid;
  gap: 16px;
  margin: 18px 0 22px;
}

.quality-definition-list article {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfe;
}

.quality-definition-list strong {
  display: block;
  color: var(--blue-2);
}

.quality-definition-list p {
  margin: 6px 0 0;
  font-weight: 750;
}

.quality-help-summary {
  margin: 0 0 14px;
  color: var(--muted);
  font-weight: 800;
}

.field-help-card {
  display: grid;
  grid-template-columns: 156px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}

.field-photo-help-card {
  grid-template-columns: 424px minmax(0, 1fr);
  gap: 22px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f6f9fd;
}

.field-single-photo-help-card {
  grid-template-columns: 206px minmax(0, 1fr);
}

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

.field-single-photo-help-card .field-help-photos {
  grid-template-columns: 1fr;
}

.field-help-photo {
  display: grid;
  grid-template-rows: 138px auto;
  overflow: hidden;
  padding: 0;
  border: 1px solid #cbd6e4;
  border-radius: 8px;
  background: #fff;
  color: var(--muted);
  cursor: zoom-in;
  text-align: left;
}

.field-help-photo:focus-visible {
  outline: 3px solid var(--blue-2);
  outline-offset: 3px;
}

.field-help-photo img {
  display: block;
  width: 100%;
  height: 138px;
  object-fit: cover;
  background: #d9e3ef;
}

.field-help-photo span {
  padding: 7px 9px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.field-image-preview {
  width: fit-content;
  height: fit-content;
  max-width: calc(100vw - 64px);
  max-height: calc(100vh - 64px);
  overflow: visible;
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--ink);
}

.field-image-preview::backdrop {
  background: rgba(7, 31, 73, 0.54);
}

.field-image-preview-card {
  position: relative;
  display: block;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  line-height: 0;
  box-shadow: 0 18px 44px rgba(7, 31, 73, 0.28);
}

.field-image-preview img {
  display: block;
  max-width: 50vw;
  max-height: 50vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 6px;
}

.field-image-preview-close {
  position: absolute;
  top: -14px;
  right: -14px;
  width: 32px;
  height: 32px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--blue-2);
  font-size: 1.25rem;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
}

.coverage-help-card {
  display: grid;
  grid-template-columns: 172px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
  margin: 0 0 4px;
}

.coverage-help-text {
  display: grid;
  gap: 10px;
}

.coverage-help-text p {
  margin: 0;
  color: var(--muted);
  font-weight: 800;
}

.coverage-help-text strong {
  color: var(--blue-2);
}

.field-help-note {
  color: var(--muted);
  font-style: italic;
}

.field-example-visual {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 180px;
  height: 130px;
  margin: 0;
  border: 1px solid #cbd6e4;
  border-radius: 8px;
  background:
    linear-gradient(180deg, #cfe4ff 0 46%, #d8ead5 46% 100%);
}

.field-example-visual.has-image {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
}

.field-example-visual.has-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.field-example-visual.has-image::before,
.field-example-visual.has-image::after,
.field-example-visual.has-image span::before,
.field-example-visual.has-image span::after {
  display: none;
}

.field-example-visual::before,
.field-example-visual::after,
.field-example-visual span::before,
.field-example-visual span::after {
  position: absolute;
  content: "";
}

.field-example-visual::before {
  left: 24px;
  right: 24px;
  bottom: 14px;
  height: 38px;
  border: 2px solid #51647a;
  border-radius: 3px 3px 2px 2px;
  background: var(--wall, #f2f4f7);
}

.field-example-visual::after {
  left: 18px;
  right: 18px;
  bottom: 52px;
  height: 24px;
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
  background: var(--roof, #6d7784);
}

.field-example-visual span::before {
  left: 56px;
  bottom: 14px;
  width: 18px;
  height: 26px;
  border-radius: 2px 2px 0 0;
  background: #7a5438;
}

.field-example-visual span::after {
  left: 34px;
  bottom: 31px;
  width: 16px;
  height: 13px;
  border: 2px solid #fff;
  background: #9fc7ed;
  box-shadow: 48px 0 0 #9fc7ed, 48px 0 0 2px #fff;
}

.construction-frame { --wall: repeating-linear-gradient(90deg, #e7dfcf 0 9px, #cfbfa4 9px 11px); }
.construction-brick,
.wall-brick { --wall: repeating-linear-gradient(0deg, #9d4637 0 8px, #f0c0a4 8px 10px); }
.construction-masonry { --wall: repeating-linear-gradient(0deg, #c9c7be 0 11px, #8f948c 11px 13px); }
.wall-siding { --wall: repeating-linear-gradient(0deg, #e8edf1 0 8px, #b9c4cc 8px 10px); }
.wall-stucco { --wall: radial-gradient(circle at 20% 30%, #d8d0bf 0 2px, transparent 3px), #e6dfd0; }
.wall-wood { --wall: repeating-linear-gradient(90deg, #b57642 0 12px, #7d4a2c 12px 14px); }
.roof-composition { --roof: repeating-linear-gradient(0deg, #575f68 0 5px, #3f4650 5px 7px); }
.roof-metal { --roof: repeating-linear-gradient(90deg, #8aa4b7 0 9px, #d8e5ee 9px 11px); }
.roof-tile { --roof: repeating-linear-gradient(90deg, #a74e31 0 10px, #d58c63 10px 15px); }
.roof-wood { --roof: repeating-linear-gradient(90deg, #765032 0 9px, #aa774f 9px 13px); }
.roof-other { --roof: linear-gradient(135deg, #585f75, #9f8c61); }
.geometry-gable::after { clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.geometry-hip::after { clip-path: polygon(18% 100%, 35% 0, 65% 0, 82% 100%); }
.geometry-flat::after { left: 20px; right: 20px; bottom: 53px; height: 10px; clip-path: none; }
.geometry-other::after { clip-path: polygon(0 100%, 20% 35%, 42% 70%, 55% 0, 76% 62%, 100% 100%); }
.condition-new { filter: saturate(1.1) brightness(1.05); }
.condition-good { filter: saturate(0.95); }
.condition-fair::after { background: linear-gradient(135deg, #59636f 0 55%, #8a765b 55%); }
.condition-aging::after { background: repeating-linear-gradient(135deg, #5c6268 0 8px, #9b805b 8px 12px); }
.condition-poor::after { background: linear-gradient(135deg, #4a4c50 0 35%, #8c5c42 35% 55%, #4a4c50 55%); }
.foundation-slab::before { box-shadow: 0 8px 0 #9ba0a6; }
.foundation-raised::before { bottom: 22px; box-shadow: -20px 22px 0 -8px #5c493b, 20px 22px 0 -8px #5c493b; }
.foundation-basement::before { height: 48px; background: linear-gradient(180deg, var(--wall, #f2f4f7) 0 62%, #c4c9cf 62%); }
.foundation-partial::before { height: 48px; background: linear-gradient(180deg, var(--wall, #f2f4f7) 0 62%, #d8cdaa 62%); }
.foundation-unfinished::before { height: 48px; background: linear-gradient(180deg, var(--wall, #f2f4f7) 0 62%, #b7b0a8 62%); }
.coverage-dwelling { --wall: #f6f8fb; --roof: #17477f; }
.coverage-roof { --roof: repeating-linear-gradient(135deg, #5f6873 0 8px, #8b94a0 8px 12px); }
.coverage-deductible::before { --wall: #eef4fb; box-shadow: inset 0 -10px 0 #d7e4f1; }
.coverage-other-structures span::after { left: 86px; bottom: 20px; width: 24px; height: 20px; box-shadow: none; border: 2px solid #fff; background: #a9c2da; }
.coverage-contents::before { --wall: #eef1f5; }
.coverage-contents span::before { left: 42px; bottom: 17px; width: 48px; height: 18px; border-radius: 3px; background: #8a6d55; }
.coverage-ale::before { --wall: #eef4fb; }
.coverage-ale span::before { left: 38px; bottom: 20px; width: 56px; height: 26px; border-radius: 12px 12px 4px 4px; background: #456f9f; }
.coverage-liability::before { --wall: #f5f7fb; }
.coverage-liability span::before { left: 52px; bottom: 22px; width: 28px; height: 36px; border-radius: 50% 50% 42% 42%; background: #17477f; }
.coverage-medical span::before,
.coverage-auto-medical span::before { left: 57px; bottom: 24px; width: 18px; height: 36px; border-radius: 3px; background: #c74850; }
.coverage-medical span::after,
.coverage-auto-medical span::after { left: 48px; bottom: 33px; width: 36px; height: 18px; border: 0; box-shadow: none; background: #c74850; }
.coverage-water::before { background: linear-gradient(180deg, var(--wall, #f2f4f7) 0 62%, #7fb7df 62%); }
.coverage-service span::before { left: 24px; right: 24px; bottom: 12px; width: auto; height: 8px; border-radius: 999px; background: #5b7c9c; }
.coverage-code::before { --wall: repeating-linear-gradient(0deg, #eef4fb 0 10px, #c9d7e6 10px 12px); }
.coverage-payment span::before { left: 39px; bottom: 26px; width: 54px; height: 34px; border-radius: 5px; background: #17477f; box-shadow: inset 0 10px 0 #dfe9f5; }
.coverage-claims::before { --wall: #f7f1ed; }
.coverage-claims span::before { left: 50px; bottom: 22px; width: 34px; height: 42px; border-radius: 4px; background: #fff; box-shadow: 0 0 0 2px #17477f; }

.field-example-visual[class*="coverage-auto"]::before {
  left: 20px;
  right: 20px;
  bottom: 28px;
  height: 24px;
  border: 0;
  border-radius: 14px 14px 5px 5px;
  background: var(--car, #17477f);
}

.field-example-visual[class*="coverage-auto"]::after {
  left: 42px;
  right: 42px;
  bottom: 49px;
  height: 18px;
  clip-path: polygon(18% 100%, 35% 0, 70% 0, 88% 100%);
  background: #9fc7ed;
}

.field-example-visual[class*="coverage-auto"] span::before {
  left: 32px;
  bottom: 20px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #1d2735;
  box-shadow: 52px 0 0 #1d2735;
}

.field-example-visual[class*="coverage-auto"] span::after {
  display: none;
}

.coverage-auto-uninsured { --car: #7c8796; }
.coverage-auto-discount { --car: #1f8a70; }
.coverage-auto-physical { --car: #17477f; }
.coverage-auto-rideshare { --car: #7a5c9e; }
.coverage-auto-rental { --car: #2f74b5; }
.coverage-auto-equipment { --car: #5b6876; }
.coverage-auto-effects { --car: #85684e; }
.coverage-auto-replacement { --car: #0a7c96; }

@media (max-width: 1040px) {
  .site-header {
    flex-wrap: nowrap;
  }

  .home-grid,
  .split-coverage,
  .about-hero,
  .summary-grid,
  .summary-layout-split,
  .summary-vehicle-coverage-card {
    grid-template-columns: 1fr;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .about-sidebar {
    min-height: auto;
  }

  .grid.four,
  .grid.five,
  .coverage-control-grid,
  .auto-all-vehicle-limit-grid,
  .home-discounts-row,
  .home-property-protection-grid,
  .home-property-contents-grid,
  .home-optional-grid,
  .vehicle-coverage-grid,
  .vehicle-coverage-row-three,
  .summary-field-grid,
  .summary-vehicle-grid,
  .summary-coverage-lines {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .summary-compact-list {
    grid-template-columns: minmax(180px, 0.95fr) minmax(0, 1.05fr);
  }

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

@media (max-width: 640px) {
  .field-help-card,
  .coverage-help-card {
    grid-template-columns: 1fr;
  }

  .field-help-photos {
    max-width: 520px;
  }

  .field-example-visual {
    width: 100%;
    max-width: 220px;
  }

  .field-image-preview img {
    max-width: 78vw;
    max-height: 58vh;
  }
}

@media (max-width: 760px) {
  .site-header {
    position: static;
    min-height: auto;
    flex-wrap: wrap;
  }

  body.home-screen .site-header {
    display: flex;
    flex-wrap: wrap;
  }

  .brand,
  .nav-links,
  .header-actions {
    width: 100%;
  }

  body.home-screen .header-agency-lockup {
    width: 100%;
    justify-content: center;
    order: 0;
  }

  .hero-service-area {
    top: 40px;
    right: auto;
    left: 50%;
    width: min(92vw, 350px);
    transform: translateX(-50%);
  }

  body.home-screen .brand {
    justify-content: center;
    order: 1;
  }

  .brand strong {
    font-size: clamp(1.72rem, 8vw, 2.1rem);
  }

  .nav-links {
    position: static;
    justify-content: space-between;
    transform: none;
    order: 3;
  }

  body.home-screen .nav-links {
    justify-self: stretch;
  }

  .header-actions .contact-button {
    flex: 1 1 calc(50% - 6px);
  }

  .site-footer {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .footer-left,
  .footer-right {
    justify-self: center;
    text-align: center;
  }

  .about-shell {
    width: min(100% - 28px, 720px);
  }

  .about-cta {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero {
    height: auto;
    min-height: 470px;
    background-position: 64% center;
  }

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(0, 51, 160, 0.36) 0%, rgba(0, 51, 160, 0.88) 48%, rgba(0, 51, 160, 0.98) 100%),
      linear-gradient(0deg, rgba(0, 31, 97, 0.3), rgba(0, 31, 97, 0.08));
  }

  .hero-content {
    width: min(100% - 28px, 620px);
    margin: 0 auto;
    padding: 26px 0 16px;
  }

  .hero h1 {
    font-size: clamp(2.15rem, 9.2vw, 2.7rem);
  }

  .grid.two,
  .grid.three,
  .grid.four,
  .grid.five,
  .coverage-control-grid,
  .auto-all-vehicle-limit-grid,
  .auto-all-vehicle-check-grid,
  .home-discounts-row,
  .home-deductibles-grid,
  .home-property-protection-grid,
  .home-property-contents-grid,
  .home-optional-grid,
  .home-family-grid,
  .vehicle-coverage-grid,
  .vehicle-coverage-row,
  .address-grid,
  .choice-grid {
    grid-template-columns: 1fr;
  }

  .vehicle-coverage-card-header {
    display: grid;
  }

  .vehicle-coverage-card-header span {
    text-align: left;
  }

  .quote-animation {
    min-height: 320px;
  }

  .coverage-sticky {
    position: sticky;
    top: 0;
    min-height: 210px;
  }

  .coverage-sticky.single,
  .coverage-sticky.final,
  .coverage-sticky.dual {
    grid-template-columns: 1fr;
  }

  .summary-layout-split,
  .summary-two-column,
  .summary-field-grid,
  .summary-compact-list,
  .summary-vehicle-grid,
  .summary-vehicle-coverage-card,
  .summary-coverage-lines {
    grid-template-columns: 1fr;
  }

  .summary-list,
  .personal-summary-card .summary-list,
  .summary-vehicle-meta {
    grid-template-columns: minmax(112px, 0.9fr) minmax(0, 1.1fr);
  }

  .personal-summary-card {
    position: static;
  }

  .summary-card-header {
    display: grid;
  }

  .summary-premium-badge {
    width: 100%;
    text-align: left;
  }

  .premium-block > strong {
    font-size: clamp(2rem, 12vw, 3rem);
  }

  .premium-block small.auto-paid-in-full-sub {
    white-space: normal;
  }

  .sticky-actions .contact-button {
    flex: 1 1 calc(50% - 6px);
  }

  .bundle-preview-cta {
    align-items: stretch;
    grid-template-columns: 1fr;
    justify-content: stretch;
  }

  .bundle-preview-cta .primary-button {
    width: 100%;
    max-width: none;
  }
}

@media (min-width: 761px) {
  .home-property-protection-grid,
  .home-property-contents-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .home-property-protection-grid > label,
  .home-property-contents-grid > label {
    width: 100%;
    justify-self: stretch;
  }

  .home-property-protection-grid .computed-value,
  .home-property-protection-grid input[type="range"],
  .home-property-protection-grid select {
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }
}

body.quote-fixed-desktop {
  --quote-fixed-scale: 1;
  min-width: 0;
  overflow-x: hidden;
}

/* Scaled fixed quote-page canvas. Backups preserve the responsive and fixed-scroll methods. */
body.quote-fixed-desktop .site-header,
body.quote-fixed-desktop main,
body.quote-fixed-desktop .wizard-page,
body.quote-fixed-desktop .coverage-sticky,
body.quote-fixed-desktop .site-footer {
  width: var(--quote-fixed-canvas-width);
  min-width: var(--quote-fixed-canvas-width);
  max-width: none;
}

body.quote-fixed-desktop .site-header,
body.quote-fixed-desktop main,
body.quote-fixed-desktop .wizard-page,
body.quote-fixed-desktop .site-footer {
  margin-right: auto;
  margin-left: auto;
}

body.quote-fixed-desktop .site-header,
body.quote-fixed-desktop main,
body.quote-fixed-desktop .site-footer {
  zoom: var(--quote-fixed-scale);
}

body.quote-fixed-desktop .site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  column-gap: clamp(18px, 2.25vw, 42px);
  align-items: center;
  min-height: 0;
  padding-top: 9px;
  padding-bottom: 9px;
  padding-left: clamp(18px, 5vw, 76px);
  padding-right: clamp(18px, 5vw, 76px);
}

body.quote-fixed-desktop .brand,
body.quote-fixed-desktop .nav-links,
body.quote-fixed-desktop .header-actions {
  width: auto;
}

body.quote-fixed-desktop .brand {
  justify-self: center;
  max-width: 100%;
}

body.quote-fixed-desktop .brand-mark {
  flex-basis: var(--home-header-mark-size);
  width: var(--home-header-mark-size);
  height: var(--home-header-mark-size);
}

body.quote-fixed-desktop .brand strong {
  font-size: var(--home-header-brand-size);
}

body.quote-fixed-desktop .nav-links {
  position: static;
  justify-self: end;
  justify-content: center;
  gap: clamp(18px, 1.8vw, 30px);
  min-width: 0;
  max-width: 100%;
  transform: none;
  font-size: var(--home-header-menu-size);
  font-weight: 900;
  line-height: 1;
}

body.quote-fixed-desktop .header-actions {
  display: none;
  margin-left: 0;
}

body.quote-fixed-desktop .header-actions .contact-button,
body.quote-fixed-desktop .sticky-actions .contact-button {
  flex: 0 0 auto;
}

body.quote-fixed-desktop .wizard-page > .section-shell {
  width: var(--quote-fixed-standard-shell);
}

body.quote-fixed-desktop .coverage-screen > .section-shell,
body.quote-fixed-desktop .summary-screen > .section-shell {
  width: var(--quote-fixed-wide-shell);
}

body.quote-fixed-desktop .section-shell.narrow {
  width: 1020px;
}

body.quote-fixed-desktop .grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

body.quote-fixed-desktop .grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

body.quote-fixed-desktop .grid.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

body.quote-fixed-desktop .grid.five {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

body.quote-fixed-desktop .address-grid {
  grid-template-columns: minmax(220px, 2fr) minmax(160px, 1fr) 90px 120px;
}

body.quote-fixed-desktop .choice-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

body.quote-fixed-desktop .split-coverage {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

body.quote-fixed-desktop .coverage-control-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
}

body.quote-fixed-desktop .auto-all-vehicle-limit-grid,
body.quote-fixed-desktop .auto-all-vehicle-check-grid,
body.quote-fixed-desktop .home-deductibles-grid,
body.quote-fixed-desktop .home-discounts-row {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

body.quote-fixed-desktop .home-property-protection-grid,
body.quote-fixed-desktop .home-property-contents-grid,
body.quote-fixed-desktop .home-optional-grid,
body.quote-fixed-desktop .home-family-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

body.quote-fixed-desktop .vehicle-coverage-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
}

body.quote-fixed-desktop .vehicle-coverage-row-one {
  grid-template-columns: minmax(260px, 1fr);
}

body.quote-fixed-desktop .vehicle-coverage-row-two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

body.quote-fixed-desktop .vehicle-coverage-row-three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

body.quote-fixed-desktop .vehicle-coverage-card-header {
  display: flex;
}

body.quote-fixed-desktop .vehicle-coverage-card-header span {
  text-align: right;
}

body.quote-fixed-desktop .coverage-sticky {
  position: sticky;
  top: 72px;
  min-height: 25vh;
}

body.quote-fixed-desktop .coverage-sticky.single {
  grid-template-columns: 1fr;
}

body.quote-fixed-desktop .coverage-sticky.final {
  grid-template-columns: 1fr auto;
}

body.quote-fixed-desktop .coverage-sticky.dual {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

body.quote-fixed-desktop .premium-block > strong {
  font-size: 4rem;
}

body.quote-fixed-desktop .premium-block small.auto-paid-in-full-sub strong {
  font-size: inherit;
  font-weight: 950;
}

body.quote-fixed-desktop .premium-block small.auto-paid-in-full-sub {
  white-space: nowrap;
}

body.quote-fixed-desktop .summary-layout-split {
  grid-template-columns: minmax(450px, 480px) minmax(0, 1fr);
}

body.quote-fixed-desktop .summary-two-column {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

body.quote-fixed-desktop .summary-field-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

body.quote-fixed-desktop .summary-compact-list {
  grid-template-columns: minmax(190px, 0.95fr) minmax(0, 1.05fr) minmax(190px, 0.95fr) minmax(0, 1.05fr);
}

body.quote-fixed-desktop .summary-list,
body.quote-fixed-desktop .personal-summary-card .summary-list {
  grid-template-columns: minmax(124px, 0.9fr) minmax(0, 1.1fr);
}

body.quote-fixed-desktop .summary-vehicle-meta {
  grid-template-columns: minmax(128px, 0.8fr) minmax(0, 1.2fr);
}

body.quote-fixed-desktop .summary-vehicle-grid,
body.quote-fixed-desktop .summary-coverage-lines {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

body.quote-fixed-desktop .summary-vehicle-coverage-card {
  grid-template-columns: minmax(210px, 0.68fr) minmax(0, 1.32fr);
}

body.quote-fixed-desktop .personal-summary-card {
  position: sticky;
}

body.quote-fixed-desktop .summary-card-header {
  display: flex;
}

body.quote-fixed-desktop .summary-premium-badge {
  width: auto;
  text-align: right;
}

body.quote-fixed-desktop .bundle-preview-cta {
  align-items: center;
  grid-template-columns: minmax(360px, 1fr) auto;
  justify-content: center;
}

body.quote-fixed-desktop .bundle-preview-cta .primary-button {
  width: auto;
  max-width: 240px;
}
