@import url("./flettons-brand.css");
@import url("./flettons-icons.css");

:root {
  --navy: var(--fl-navy);
  --navy-deep: var(--fl-navy-dark);
  --pink: var(--fl-pink);
  --bg: #f7f7fa;
  --surface: #fbfbfc;
  --border: var(--fl-border-soft);
  --muted: var(--fl-muted-blue);
  --text: #08172b;
  --success: #22a06b;
  --radius-xl: 22px;
  --radius-lg: 18px;
  --radius-md: 14px;
  --shadow: 0 14px 32px rgba(8, 23, 43, 0.08);
  --font-primary: "Inter", sans-serif;
  --weight-body: 400;
  --weight-body-strong: 500;
  --weight-subheading: 600;
  --weight-heading: 800;
  --weight-display: 900;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-primary);
  background: var(--bg);
  color: var(--text);
  line-height: 1.45;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  background: none;
}

.page-shell {
  max-width: 1480px;
  margin: 10px auto 22px;
  padding: 0 10px;
}

.form-frame {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.topbar {
  background: var(--fl-gradient-quote-strip);
  color: #fff;
  padding: 12px 20px 14px;
  display: grid;
  grid-template-columns: 240px 1fr 210px;
  align-items: center;
  gap: 18px;
}

.brand {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
}

.brand img {
  width: auto;
  height: 40px;
}

.brand small {
  display: block;
  margin-top: 5px;
  font-size: 0.82rem;
  font-weight: var(--weight-body-strong);
  color: rgba(255, 255, 255, 0.9);
}

.steps {
  width: min(760px, 100%);
  justify-self: center;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: flex-start;
  gap: 0;
}

.step {
  position: relative;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 14px;
  left: calc(50% + 22px);
  width: calc(100% - 44px);
  height: 2px;
  background: rgba(255, 255, 255, 0.18);
}

.step.complete::after {
  background: var(--pink);
}

.step-dot {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-size: 0.92rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(180deg, #97a0b1 0%, #7d8798 100%);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.step.active .step-dot,
.step.complete .step-dot {
  background: var(--pink);
  border-color: var(--pink);
  box-shadow: 0 4px 12px rgba(8, 23, 43, 0.2);
}

.step-label {
  font-size: 0.84rem;
  font-weight: var(--weight-body-strong);
  color: rgba(255, 255, 255, 0.94);
  text-align: center;
  white-space: nowrap;
}

.helpbar {
  justify-self: end;
  text-align: right;
  display: grid;
  gap: 2px;
  color: rgba(255, 255, 255, 0.94);
}

.helpbar strong {
  font-size: 0.9rem;
  font-weight: var(--weight-subheading);
}

.helpbar a {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  font-size: 1.12rem;
  font-weight: var(--weight-subheading);
}

.helpbar svg,
.icon-stroke {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.helpbar svg {
  width: 14px;
  height: 14px;
}

.content {
  display: grid;
  grid-template-columns: 300px 1fr;
  min-height: 432px;
}

.sidebar {
  padding: 28px 28px 24px;
  border-right: 1px solid var(--border);
  background: linear-gradient(180deg, #fff 0%, #fcfdff 100%);
}

.kicker {
  margin-bottom: 12px;
  color: #ff2346;
  font-size: 0.98rem;
  font-weight: var(--weight-heading);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.sidebar h1 {
  margin: 0 0 14px;
  max-width: 230px;
  font-size: 2.22rem;
  line-height: 1.02;
  letter-spacing: calc(-0.06em + 2px);
  font-weight: var(--weight-heading);
}

.sidebar h1 .pink {
  color: var(--pink);
}

.sidebar p {
  margin: 0;
  max-width: 205px;
  color: #33415f;
  font-size: 1.02rem;
  line-height: 1.75;
}

.sidebar-features {
  display: grid;
  gap: 18px;
  margin-top: 24px;
}

.sidebar-feature {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 12px;
  align-items: start;
}

.sidebar-icon {
  width: 30px;
  height: 30px;
  color: var(--navy);
}

.sidebar-feature.is-accent .sidebar-icon {
  color: var(--pink);
}

.sidebar-feature strong {
  display: block;
  margin-bottom: 2px;
  color: var(--navy);
  font-size: 0.96rem;
  font-weight: var(--weight-subheading);
}

.sidebar-feature span {
  display: block;
  color: var(--muted);
  font-size: 0.89rem;
  line-height: 1.55;
}

.rating-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin: 4px 0 2px;
}

.trustpilot-stars {
  display: grid;
  grid-template-columns: repeat(5, 15px);
  gap: 3px;
}

.trustpilot-stars span {
  position: relative;
  width: 15px;
  height: 15px;
  border-radius: 2px;
  background: #ff3088;
}

.trustpilot-stars span::before {
  content: "\2605";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 0.62rem;
  line-height: 1;
}

.main {
  padding: 16px 18px 0;
}

.card {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 26px 24px;
  background: #fff;
}

.quote-title {
  margin: 0 0 8px;
  font-size: 2rem;
  line-height: 0.98;
  letter-spacing: -0.05em;
  font-weight: var(--weight-heading);
}

.field-block {
  margin-bottom: 16px;
}

.label {
  display: block;
  margin-bottom: 10px;
  color: var(--navy);
  font-size: 0.93rem;
  font-weight: var(--weight-subheading);
}

.input-wrap {
  position: relative;
}

.text-input {
  width: 100%;
  height: 52px;
  border: 1px solid #d9dee8;
  border-radius: 8px;
  padding: 0 48px 0 16px;
  background: #fff;
  color: var(--text);
}

.text-input::placeholder {
  color: #8a95aa;
}

.address-autocomplete-note {
  margin: 10px 0 0;
  color: #62708f;
  font-size: 0.9rem;
  line-height: 1.45;
}

.address-autocomplete-note.is-ready {
  color: #43516c;
}

.address-autocomplete-note.is-selected {
  color: #146c49;
  font-weight: var(--weight-body-strong);
}

.address-autocomplete-note.is-unavailable {
  color: #9d174d;
}

.pac-container {
  z-index: 100000;
  margin-top: 8px;
  border: 1px solid rgba(8, 23, 43, 0.1);
  border-radius: 14px;
  box-shadow: 0 18px 42px rgba(8, 23, 43, 0.14);
  font-family: var(--font-primary);
  overflow: hidden;
}

.pac-item {
  padding: 11px 14px;
  border-top: 1px solid rgba(8, 23, 43, 0.06);
  color: #62708f;
  font-size: 0.92rem;
  line-height: 1.35;
  cursor: pointer;
}

.pac-item:first-child {
  border-top: 0;
}

.pac-item:hover,
.pac-item-selected {
  background: #fff5fa;
}

.pac-item-query {
  color: var(--navy);
  font-weight: var(--weight-subheading);
}

.pac-icon {
  margin-top: 1px;
  color: var(--pink);
}

.search-icon {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  color: #5f6f8b;
}

.helper-line {
  margin-top: 14px;
  color: #41506e;
  font-size: 0.95rem;
}

.helper-line a {
  color: var(--pink);
  font-weight: 600;
}

.notice {
  margin-top: 24px;
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 14px;
  align-items: start;
  border-radius: 10px;
  background: #faf9fc;
  padding: 18px 16px;
  color: #43516c;
}

.notice .i {
  width: 28px;
  height: 28px;
  color: var(--pink);
}

.actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 42px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 128px;
  height: 54px;
  padding: 0 22px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-weight: var(--weight-subheading);
  cursor: pointer;
  transition: 0.2s ease;
}

.btn svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

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

.btn-back {
  background: #fff;
  color: #243452;
  border-color: #dbe1ec;
}

.btn-primary {
  background: var(--fl-gradient-button-primary);
  color: #fff;
  box-shadow: var(--fl-button-shadow);
}

.btn-primary:hover {
  box-shadow: var(--fl-button-shadow-hover);
}

.bottombar {
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: center;
  gap: 72px;
  padding: 12px 20px;
  background: #fcfcfe;
  color: #5a6883;
  font-size: 0.9rem;
}

.bottombar span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.bottombar svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

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

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

.choice-btn {
  min-height: 62px;
  border: 1px solid #d8dde8;
  border-radius: 8px;
  background: #fff;
  padding: 10px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  color: #33415f;
  font-size: 0.95rem;
  font-weight: var(--weight-body-strong);
  text-align: center;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.choice-btn:hover {
  border-color: #c9d2e2;
}

.choice-btn.selected {
  border-color: var(--pink);
  color: var(--pink);
  box-shadow: inset 0 0 0 1px rgba(255, 48, 136, 0.14);
}

.choice-btn[aria-pressed="true"] {
  border-color: var(--pink);
  color: var(--pink);
  box-shadow: inset 0 0 0 1px rgba(255, 48, 136, 0.14);
}

.choice-btn .choice-icon {
  width: 22px;
  height: 22px;
  color: #5c6b86;
}

.choice-btn span:last-child {
  display: block;
  line-height: 1.25;
}

.choice-btn.selected .choice-icon {
  color: var(--pink);
}

.choice-btn[aria-pressed="true"] .choice-icon {
  color: var(--pink);
}

.choice-btn.compact {
  min-height: 38px;
  padding: 8px 14px;
  flex-direction: row;
  gap: 8px;
}

.choice-btn.compact .choice-icon {
  width: 16px;
  height: 16px;
}

.choice-btn.green {
  background: #f8fbf9;
  color: var(--success);
}

.choice-btn.green .choice-icon {
  color: var(--success);
}

.two-col {
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 20px;
  align-items: start;
}

.help-card {
  border-radius: 10px;
  background: #f3f7ff;
  padding: 18px 16px;
  color: #2f3f5e;
}

.help-card .help-icon {
  width: 24px;
  height: 24px;
  color: #2c74ff;
  margin-bottom: 10px;
}

.help-card h3 {
  margin: 0 0 8px;
  font-size: 1rem;
  font-weight: var(--weight-subheading);
}

.help-card p {
  margin: 0 0 14px;
  color: #51617d;
  font-size: 0.92rem;
  line-height: 1.6;
}

.btn-chat {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 80px;
  height: 38px;
  border: 1px solid #d8dde8;
  border-radius: 8px;
  background: #fff;
  color: #364562;
  font-weight: var(--weight-subheading);
}

.quote-layout {
  display: block;
}

.quote-side-note {
  border-radius: 10px;
  background: #f1faf5;
  padding: 18px 16px;
  color: #355164;
}

.quote-side-note .note-icon {
  width: 26px;
  height: 26px;
  color: var(--success);
  margin-bottom: 10px;
}

.quote-side-note h3 {
  margin: 0 0 8px;
  font-size: 1rem;
  color: var(--success);
  font-weight: var(--weight-subheading);
}

.quote-side-note p {
  margin: 0;
  color: #51617d;
  font-size: 0.94rem;
  line-height: 1.6;
}

.quote-card {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px 18px 16px;
}

.quote-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 170px;
  gap: 20px;
  align-items: start;
}

.popular-pill {
  display: inline-block;
  margin-bottom: 10px;
  padding: 3px 10px;
  border-radius: 999px;
  background: #dff5df;
  color: #208f53;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.quote-card h2 {
  margin: 0 0 8px;
  font-size: 1.98rem;
  line-height: 1;
  letter-spacing: -0.05em;
  font-weight: var(--weight-heading);
}

.quote-card .sub {
  margin: 0 0 16px;
  color: #51617d;
  line-height: 1.55;
}

.tick-list {
  list-style: none;
  padding: 0;
  margin: 8px 0 0;
  display: grid;
  gap: 10px;
}

.tick-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #33415f;
  font-size: 0.95rem;
}

.tick-list li::before {
  content: "";
  width: 16px;
  height: 16px;
  margin-top: 1px;
  flex: 0 0 auto;
  background: var(--fl-bullet-on-light-bg) center/contain no-repeat;
}

.price-block {
  display: grid;
  align-content: start;
  gap: 10px;
  text-align: left;
}

.price-big {
  color: var(--pink);
  font-size: 3.25rem;
  font-weight: var(--weight-heading);
  line-height: 0.92;
  letter-spacing: -0.06em;
}

.price-big.is-text {
  font-size: 2rem;
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.price-small {
  color: #ff537e;
  font-size: 0.95rem;
  font-weight: 600;
}

.why-box {
  margin-top: 8px;
  border-radius: 10px;
  background: #fff2f8;
  padding: 16px;
}

.why-box h4 {
  margin: 0 0 10px;
  font-size: 0.96rem;
  font-weight: var(--weight-subheading);
}

.why-box p {
  margin: 0 0 10px;
  color: #51617d;
  font-size: 0.92rem;
  line-height: 1.55;
}

.why-box a {
  color: var(--pink);
  font-size: 0.92rem;
  font-weight: 700;
}

.quote-middle {
  margin-top: 18px;
  border-top: 1px solid var(--border);
  padding-top: 16px;
}

.middle-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.middle-head strong {
  font-size: 0.96rem;
  font-weight: var(--weight-subheading);
}

.middle-head .tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  background: #fff4f7;
  padding: 4px 10px;
  color: var(--pink);
  font-size: 0.78rem;
  font-weight: 600;
}

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

.addon-card {
  min-height: 64px;
  border: 1px solid #d8dde8;
  border-radius: 10px;
  padding: 14px 12px;
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 10px;
  align-items: start;
}

.addon-icon {
  width: 40px;
  height: 40px;
  border: 1px solid #e2e8f1;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: #fff;
}

.addon-icon img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.addon-card strong {
  display: block;
  margin-bottom: 2px;
  font-size: 0.9rem;
  line-height: 1.25;
  font-weight: var(--weight-subheading);
}

.addon-card span {
  color: var(--pink);
  font-size: 0.86rem;
  font-weight: 700;
}

.contact-grid {
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 20px;
  align-items: start;
}

.privacy-box {
  border-radius: 10px;
  background: #f3f7ff;
  padding: 18px 16px;
  color: #405375;
}

.privacy-box .lock {
  width: 24px;
  height: 24px;
  color: #2c74ff;
  margin-bottom: 10px;
}

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

.form-grid .full {
  grid-column: 1 / -1;
}

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

.checkbox-row {
  margin-top: 16px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #42526f;
  font-size: 0.94rem;
}

.checkbox-row input {
  appearance: none;
  width: 16px;
  height: 16px;
  margin: 2px 0 0;
  border: 1px solid #cdd6e5;
  border-radius: 4px;
  background: #fff;
}

.checkbox-row input:checked {
  border-color: var(--pink);
  background: var(--pink);
  box-shadow: inset 0 0 0 3px #fff;
}

.checkbox-row a {
  color: var(--pink);
}

.quote-submit-message {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 0.94rem;
  font-weight: var(--weight-body-strong);
  line-height: 1.45;
}

.quote-submit-message--success {
  border: 1px solid rgba(34, 160, 107, 0.24);
  background: rgba(34, 160, 107, 0.08);
  color: #146c49;
}

.quote-submit-message--error {
  border: 1px solid rgba(255, 48, 136, 0.24);
  background: rgba(255, 48, 136, 0.08);
  color: #9d174d;
}

.btn[disabled] {
  cursor: wait;
  opacity: 0.74;
  transform: none;
}

.card > p.lead-copy {
  margin: 0 0 18px;
  color: #51617d;
  font-size: 0.98rem;
}

.saved-address {
  margin: 0 0 18px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 48, 136, 0.18);
  border-radius: 12px;
  background: #fff5fa;
  color: #7a325a;
  font-size: 0.95rem;
  font-weight: 600;
}

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

.role-grid--other {
  margin-top: 14px;
  overflow: hidden;
  animation: quoteOtherOptionsReveal 0.26s ease both;
}

.role-grid--other[hidden] {
  display: none;
}

.role-card {
  min-height: 132px;
  border: 1px solid #d8dde8;
  border-radius: 14px;
  background: #fff;
  padding: 22px 20px;
  display: grid;
  align-content: start;
  justify-items: start;
  gap: 10px;
  text-align: left;
  color: #243452;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.role-card:hover {
  transform: translateY(-1px);
  border-color: #c9d2e2;
  box-shadow: 0 12px 28px rgba(8, 23, 43, 0.06);
}

.role-card.selected,
.role-card[aria-pressed="true"] {
  border-color: rgba(255, 48, 136, 0.5);
  background: linear-gradient(180deg, #fff7fb 0%, #fff 100%);
  box-shadow: 0 10px 24px rgba(8, 23, 43, 0.1);
}

.role-card__title {
  display: block;
  color: var(--navy);
  font-size: clamp(1.28rem, 1.45vw, 1.58rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
  font-weight: var(--weight-heading);
}

.role-card__text {
  display: block;
  color: #56637c;
  font-size: 0.93rem;
  line-height: 1.6;
}

.role-card--other-toggle {
  width: 100%;
  min-height: 96px;
  margin-top: 14px;
  grid-template-columns: 1fr auto;
  align-items: center;
  background: #fbfcff;
}

.role-card--other-toggle:hover {
  background: #ffffff;
}

.role-card--other-toggle.is-expanded {
  border-color: rgba(255, 48, 136, 0.34);
  background: linear-gradient(180deg, #fff8fc 0%, #ffffff 100%);
}

.role-card__chevron {
  position: relative;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(8, 23, 43, 0.14);
  background: #ffffff;
  flex: 0 0 auto;
}

.role-card__chevron::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 46%;
  width: 9px;
  height: 9px;
  border-right: 2px solid var(--pink);
  border-bottom: 2px solid var(--pink);
  transform: translate(-50%, -50%) rotate(45deg);
  transition: transform 0.22s ease, top 0.22s ease;
}

.role-card--other-toggle.is-expanded .role-card__chevron::before {
  top: 55%;
  transform: translate(-50%, -50%) rotate(225deg);
}

.role-grid--other .role-card {
  min-height: 116px;
  background: #fcfdff;
}

.role-grid--other .role-card__title {
  font-size: clamp(1.14rem, 1.22vw, 1.36rem);
}

@keyframes quoteOtherOptionsReveal {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

.detail-choice {
  min-height: 114px;
  padding: 16px;
  align-items: flex-start;
  justify-content: flex-start;
  text-align: left;
  gap: 8px;
}

.detail-choice strong {
  display: block;
  color: inherit;
  font-size: 0.96rem;
  line-height: 1.35;
}

.detail-choice span:last-child {
  color: #5d6a83;
  font-size: 0.89rem;
  line-height: 1.55;
}

.detail-choice.selected span:last-child,
.detail-choice[aria-pressed="true"] span:last-child {
  color: #a0185b;
}

.summary-row,
.contact-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.summary-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  background: #f3f6fb;
  color: #394a67;
  font-size: 0.9rem;
}

.summary-chip strong {
  color: var(--navy);
}

.quote-reason-list {
  margin: 0;
  padding-left: 18px;
  color: #51617d;
  display: grid;
  gap: 8px;
  font-size: 0.91rem;
  line-height: 1.55;
}

.quote-panel-grid {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.quote-panel {
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fbfcff;
}

.quote-panel--wide {
  grid-column: 1 / -1;
}

.quote-panel--soft {
  background: #fff5fa;
  border-color: rgba(255, 48, 136, 0.14);
}

.quote-panel strong {
  display: block;
  margin-bottom: 8px;
  color: var(--navy);
  font-size: 0.95rem;
  font-weight: var(--weight-subheading);
}

.quote-panel p {
  margin: 0;
  color: #55627b;
  font-size: 0.93rem;
  line-height: 1.6;
}

.route-note {
  margin-top: 18px;
}

@media (max-width: 1180px) {
  .topbar {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .brand {
    align-items: center;
  }

  .helpbar {
    justify-self: center;
    text-align: center;
  }

  .helpbar a {
    justify-content: center;
  }

  .content,
  .two-col,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .sidebar {
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }

  .sidebar h1,
  .sidebar p {
    max-width: none;
  }

  .quote-top {
    grid-template-columns: 1fr;
  }

  .role-grid,
  .detail-grid,
  .quote-panel-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .page-shell {
    margin: 0;
    padding: 0;
  }

  .form-frame {
    border-radius: 0;
    border-left: 0;
    border-right: 0;
  }

  .topbar,
  .sidebar,
  .main,
  .card {
    padding-left: 16px;
    padding-right: 16px;
  }

  .steps {
    width: 100%;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0;
  }

  .step:not(:last-child)::after {
    display: none;
  }

  .step-label {
    font-size: 0.68rem;
    white-space: normal;
  }

  .grid-choices,
  .grid-choices.four,
  .addons,
  .form-grid,
  .option-row,
  .role-grid,
  .detail-grid,
  .quote-panel-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .role-card,
  .detail-choice {
    min-height: auto;
  }

  .summary-row,
  .contact-summary {
    flex-direction: column;
  }

  .bottombar {
    flex-direction: column;
    gap: 14px;
    align-items: center;
  }

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

  .actions .btn {
    width: 100%;
  }
}

@media (max-width: 620px) {
  .grid-choices,
  .grid-choices.four,
  .addons,
  .form-grid,
  .option-row,
  .role-grid,
  .detail-grid,
  .quote-panel-grid {
    grid-template-columns: 1fr;
  }

  .two-col,
  .contact-grid {
    grid-template-columns: 1fr;
  }
}
