:root {
  color-scheme: light;
  --bg: #f5f1eb;
  --surface: #ffffff;
  --surface-alt: #f4f3ef;
  --text: #2a2c2e;
  --text-soft: #4b4f54;
  --text-dim: #7a7d82;
  --border: rgba(75, 79, 84, 0.16);
  --shadow: 0 1px 4px rgba(0, 0, 0, 0.03), 0 10px 28px rgba(0, 0, 0, 0.05);
  --shadow-soft: 0 1px 4px rgba(0, 0, 0, 0.03), 0 6px 18px rgba(0, 0, 0, 0.05);
  --teal: #3f6c7d;
  --teal-deep: #34596a;
  --coral: #d66965;
  --green: #2f8c5e;
  --yellow: #b98512;
  --red: #c9574f;
  --ring: rgba(63, 108, 125, 0.18);
  --radius: 14px;
  font-family: "Jost", -apple-system, BlinkMacSystemFont, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
}

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

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

a {
  color: inherit;
}

.pac-container {
  z-index: 99999 !important;
  margin-top: 8px !important;
  border: 1px solid var(--border) !important;
  border-radius: 14px !important;
  background: #ffffff !important;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12) !important;
  overflow: hidden !important;
}

.pac-icon {
  display: none !important;
  width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

.pac-item {
  padding: 12px 16px !important;
  border-top: 1px solid rgba(75, 79, 84, 0.12) !important;
  font-family: "Jost", -apple-system, BlinkMacSystemFont, sans-serif !important;
  font-size: 15px !important;
  line-height: 1.35 !important;
  letter-spacing: normal !important;
  text-transform: none !important;
  white-space: normal !important;
  color: var(--text) !important;
  cursor: pointer !important;
}

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

.pac-item:hover,
.pac-item-selected {
  background: rgba(63, 108, 125, 0.08) !important;
}

.pac-item-query {
  display: inline !important;
  font-family: "Jost", -apple-system, BlinkMacSystemFont, sans-serif !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  color: var(--text) !important;
}

button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--ring);
  outline-offset: 2px;
}

.hidden {
  display: none !important;
}

.page-shell {
  width: min(900px, calc(100% - 24px));
  margin: 0 auto;
  padding: 20px 0 48px;
}

.entry-panel {
  display: grid;
  gap: 10px;
  justify-items: center;
  text-align: center;
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
  padding: 8px 0 4px;
}

.eyebrow,
.section-kicker {
  margin: 0;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal);
}

.brand-line {
  margin: 0;
  color: var(--text-soft);
  font-size: 14px;
  font-weight: 600;
}

.hero-chip {
  margin: 0;
  min-height: 36px;
  padding: 0 16px;
  border-radius: 999px;
  background: rgba(63, 108, 125, 0.1);
  color: var(--teal);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 600;
}

.entry-panel h1,
.section-header h2,
.result-card h2,
.lead-copy h2 {
  margin: 0;
  font-family: "Jost", -apple-system, BlinkMacSystemFont, sans-serif;
  letter-spacing: 0;
}

.entry-panel h1 {
  font-size: clamp(34px, 6vw, 52px);
  line-height: 0.96;
  max-width: 12ch;
  color: var(--text);
}

.hero-subhead,
.section-intro,
.result-copy,
.lead-copy p,
.page-footer p {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.55;
}

.entry-button {
  min-width: min(340px, 100%);
  min-height: 52px;
  font-size: 17px;
}

.entry-meta {
  font-size: 14px;
}

.wizard-shell {
  display: grid;
  gap: 16px;
  margin-top: 18px;
}

.wizard-progress {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.wizard-pill {
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.7);
  color: var(--text-soft);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
}

.wizard-pill.is-active {
  background: rgba(63, 108, 125, 0.1);
  border-color: rgba(63, 108, 125, 0.3);
  color: var(--teal-deep);
}

.wizard-pill.is-complete {
  background: rgba(47, 140, 94, 0.1);
  border-color: rgba(47, 140, 94, 0.2);
  color: var(--green);
}

.form-stage,
.result-stage {
  width: 100%;
}

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  color: var(--text-soft);
  font-size: 15px;
}

.footer-meta a {
  color: var(--teal-deep);
  text-decoration: none;
  font-weight: 600;
  overflow-wrap: anywhere;
}

.primary-button,
.secondary-button,
.toggle-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 18px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease, background-color 0.16s ease;
}

.primary-button {
  background: var(--teal);
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(63, 108, 125, 0.2);
}

.secondary-button,
.toggle-button {
  background: var(--surface);
  color: var(--text);
  border-color: var(--border);
}

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

.form-column,
.result-card,
.page-footer,
.lead-panel {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.form-column {
  max-width: 720px;
  margin: 0 auto;
  padding: 22px;
  min-width: 0;
}

.step-group {
  display: grid;
  gap: 16px;
}

.step-actions {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.step-action-buttons {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.step-action-buttons .primary-button {
  flex: 1;
}

.result-stage .result-card {
  max-width: 720px;
  margin: 0 auto;
}

.section-header {
  display: grid;
  gap: 12px;
  margin-bottom: 18px;
}

.section-intro {
  margin: 8px 0 0;
}

.grid {
  display: grid;
  gap: 14px;
}

.field {
  display: grid;
  gap: 8px;
}

.field-wide {
  grid-column: 1 / -1;
}

.field label,
.field legend {
  font-size: 14px;
  font-weight: 700;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  border-radius: var(--radius);
  border: 1.5px solid var(--border);
  background: var(--surface);
  color: var(--text);
  padding: 12px 14px;
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
}

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

.field input::placeholder,
.field textarea::placeholder {
  color: var(--text-dim);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 4px var(--ring);
  outline: none;
}

.field input[aria-invalid="true"],
.field select[aria-invalid="true"],
.field textarea[aria-invalid="true"] {
  border-color: var(--red);
  box-shadow: 0 0 0 4px rgba(201, 87, 79, 0.12);
}

.helper-text {
  margin: 0;
  font-size: 12px;
  color: var(--text-dim);
  line-height: 1.5;
}

.fieldset-note {
  margin-bottom: 12px;
}

.field-error {
  margin: -2px 0 0;
  font-size: 12px;
  color: var(--red);
  font-weight: 600;
}

.currency-wrap,
.suffix-wrap {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  border: 1.5px solid var(--border);
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 48px;
}

.suffix-wrap {
  grid-template-columns: 1fr auto;
}

.currency-wrap span,
.suffix-wrap span {
  padding: 0 12px;
  color: var(--text-soft);
  font-weight: 700;
  background: var(--surface-alt);
  height: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.currency-wrap input,
.suffix-wrap input {
  border: 0;
  min-height: 46px;
  box-shadow: none !important;
}

.currency-wrap:focus-within,
.suffix-wrap:focus-within {
  border-color: var(--teal);
  box-shadow: 0 0 0 4px var(--ring);
}

.deductible-box {
  margin: 0;
  padding: 14px;
  border: 1.5px solid rgba(75, 79, 84, 0.12);
  border-radius: var(--radius);
  background: var(--surface-alt);
}

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

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

.segmented-control label {
  position: relative;
  display: block;
}

.segmented-control input {
  position: absolute;
  inset: 0;
  opacity: 0;
}

.segmented-control span {
  min-height: 44px;
  padding: 0 12px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
}

.segmented-control input:checked + span {
  background: rgba(95, 130, 144, 0.12);
  border-color: rgba(95, 130, 144, 0.5);
  color: var(--teal-deep);
}

.deductible-input-row {
  display: grid;
  gap: 12px;
  margin-top: 12px;
}

.compact-grid {
  gap: 12px;
}

.form-actions {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.result-card {
  display: grid;
  padding: 22px;
  gap: 18px;
}

.result-hero {
  display: grid;
  gap: 16px;
  padding: 18px;
  border-radius: calc(var(--radius) + 4px);
  border: 1px solid rgba(75, 79, 84, 0.08);
  background:
    radial-gradient(circle at top right, rgba(214, 105, 101, 0.08), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(244, 243, 239, 0.9));
}

.result-hero-label {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--teal);
}

.result-topline {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.result-edit-button {
  min-height: 40px;
  padding: 0 14px;
  font-size: 14px;
}

.result-copy {
  max-width: 46ch;
  font-size: 18px;
  line-height: 1.45;
  font-weight: 500;
  overflow-wrap: anywhere;
}

.result-card-header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
}

.result-card-header > :first-child {
  min-width: 0;
  flex: 1 1 auto;
}

.result-card h2 {
  overflow-wrap: anywhere;
}

.score-badge {
  min-width: 128px;
  min-height: 128px;
  padding: 10px;
  align-self: flex-start;
  border-radius: 50%;
  display: grid;
  gap: 0;
  align-content: center;
  justify-items: center;
  background: #faf6f2;
  border: 1px solid rgba(75, 79, 84, 0.16);
  box-shadow: inset 0 0 0 6px rgba(244, 243, 239, 0.9);
  text-align: center;
}

.score-badge span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  font-size: 26px;
  font-weight: 800;
  line-height: 1.08;
  max-width: none;
  text-wrap: balance;
}

.score-badge.is-long span {
  font-size: 17px;
  line-height: 1.12;
}

.score-badge small {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-soft);
}

.result-tone-excellent .result-hero {
  background:
    radial-gradient(circle at top right, rgba(47, 140, 94, 0.12), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(237, 246, 240, 0.82));
}

.result-tone-competitive .result-hero,
.result-tone-fair .result-hero {
  background:
    radial-gradient(circle at top right, rgba(63, 108, 125, 0.12), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(234, 241, 243, 0.82));
}

.result-tone-somewhat-high .result-hero {
  background:
    radial-gradient(circle at top right, rgba(185, 133, 18, 0.1), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 244, 227, 0.82));
}

.result-tone-overpaying .result-hero {
  background:
    radial-gradient(circle at top right, rgba(214, 105, 101, 0.12), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(250, 242, 240, 0.86));
}

.band-excellent {
  color: var(--green);
}

.band-competitive,
.band-fair {
  color: var(--teal-deep);
}

.band-somewhat-high {
  color: var(--yellow);
}

.band-overpaying {
  color: var(--red);
}

.result-band-row,
.secondary-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.result-band-row > *,
.contact-actions > *,
.lead-grid > * {
  min-width: 0;
}

.band-pill,
.range-pill {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  border: 1px solid var(--border);
}

.band-pill {
  background: rgba(63, 108, 125, 0.08);
}

.range-pill {
  background: var(--surface-alt);
  color: var(--text-soft);
  white-space: normal;
}

.result-drivers h3 {
  margin: 0 0 10px;
  font-size: 15px;
}

.result-guidance {
  padding: 14px;
  border-radius: var(--radius);
  border: 1px solid rgba(63, 108, 125, 0.16);
  background: rgba(63, 108, 125, 0.08);
  color: var(--text-soft);
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.result-drivers ul {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 6px;
  font-size: 15px;
  line-height: 1.45;
  color: var(--text-soft);
  overflow-wrap: anywhere;
}

.next-step-section {
  display: grid;
  gap: 12px;
  padding: 16px;
  border-radius: var(--radius);
  border: 1px solid rgba(63, 108, 125, 0.14);
  background: linear-gradient(180deg, rgba(234, 241, 243, 0.42), rgba(255, 255, 255, 0.96));
}

.next-step-section.is-panel-open {
  border-color: rgba(63, 108, 125, 0.24);
  box-shadow: 0 18px 32px rgba(19, 51, 66, 0.08);
}

.next-step-copy {
  display: grid;
  gap: 6px;
}

.next-step-copy h3 {
  margin: 0;
  font-size: 24px;
}

.next-step-copy p:last-child {
  margin: 0;
}

.contact-actions {
  display: grid;
  gap: 10px;
}

.contact-card {
  display: grid;
  gap: 4px;
  padding: 14px 16px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  text-decoration: none;
  color: var(--text);
  text-align: left;
  font-family: inherit;
  cursor: pointer;
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}

.contact-card:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-soft);
}

.contact-card.is-selected {
  border-color: rgba(63, 108, 125, 0.38);
  background: linear-gradient(180deg, rgba(234, 241, 243, 0.88), rgba(255, 255, 255, 0.98));
  box-shadow: 0 0 0 4px rgba(63, 108, 125, 0.1), var(--shadow-soft);
  transform: translateY(-1px);
}

.contact-card-title {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.05;
}

.contact-card-copy {
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.contact-card-primary {
  background: var(--teal);
  color: #ffffff;
  border-color: transparent;
}

.contact-card-primary .contact-card-copy {
  color: rgba(255, 255, 255, 0.82);
}

.text-link-button {
  justify-self: start;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--teal-deep);
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.score-swap-link {
  overflow-wrap: anywhere;
}

.entry-panel .score-swap-link {
  justify-self: center;
}

.alternate-score {
  display: grid;
  gap: 6px;
  padding-top: 2px;
}

.next-step-utilities {
  display: grid;
  gap: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(63, 108, 125, 0.12);
}

.next-step-utility-link {
  justify-self: start;
}

.next-step-utility-link.is-selected {
  padding: 10px 12px;
  border-radius: 999px;
  background: rgba(63, 108, 125, 0.08);
  box-shadow: inset 0 0 0 1px rgba(63, 108, 125, 0.16);
  text-decoration: none;
}

.action-feedback {
  margin: 0;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(63, 108, 125, 0.12);
  background: rgba(63, 108, 125, 0.07);
  color: var(--teal-deep);
  font-size: 13px;
  font-weight: 600;
}

.result-disclaimer {
  border-top: 1px solid var(--border);
  padding-top: 14px;
}

.result-disclaimer summary {
  cursor: pointer;
  font-weight: 700;
}

.result-disclaimer p {
  margin: 10px 0 0;
  color: var(--text-soft);
  line-height: 1.55;
}

.lead-panel {
  display: grid;
  gap: 14px;
  padding: 16px;
  border-radius: calc(var(--radius) - 4px);
  border: 1px solid rgba(63, 108, 125, 0.16);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(240, 246, 247, 0.92));
  box-shadow: 0 14px 28px rgba(19, 51, 66, 0.08);
  scroll-margin-top: 16px;
}

.lead-panel.is-open {
  border-color: rgba(63, 108, 125, 0.28);
  box-shadow: 0 0 0 4px rgba(63, 108, 125, 0.08), 0 18px 34px rgba(19, 51, 66, 0.12);
  animation: leadPanelRise 0.22s ease;
}

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

.lead-copy h3 {
  margin: 0 0 6px;
  font-size: 24px;
  line-height: 1.08;
  text-wrap: balance;
}

.lead-copy p,
.next-step-copy p:last-child {
  max-width: 52ch;
}

@keyframes leadPanelRise {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.lead-success {
  display: grid;
  gap: 10px;
  justify-items: center;
  text-align: center;
  padding: 24px 20px;
  border-radius: var(--radius);
  border: 1px solid rgba(47, 140, 94, 0.18);
  background: linear-gradient(180deg, rgba(237, 246, 240, 0.9), rgba(255, 255, 255, 0.98));
}

.lead-success-check {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(47, 140, 94, 0.14);
  color: var(--green);
  font-size: 28px;
  font-weight: 800;
}

.lead-success h3 {
  margin: 0;
  font-size: 28px;
  line-height: 1.06;
  text-wrap: balance;
}

.lead-success p:last-child {
  max-width: 40ch;
}

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

.upload-zone {
  width: 100%;
  display: grid;
  gap: 4px;
  padding: 14px 16px;
  border-radius: var(--radius);
  border: 1.5px dashed rgba(63, 108, 125, 0.28);
  background: linear-gradient(180deg, rgba(234, 241, 243, 0.48), rgba(255, 255, 255, 0.96));
  text-align: left;
  color: var(--text);
  cursor: pointer;
  transition: border-color 0.16s ease, background-color 0.16s ease, transform 0.16s ease;
}

.upload-zone:hover {
  border-color: rgba(63, 108, 125, 0.5);
  transform: translateY(-1px);
}

.upload-zone.has-files {
  border-style: solid;
  background: linear-gradient(180deg, rgba(234, 241, 243, 0.78), rgba(255, 255, 255, 0.98));
}

.upload-zone-title {
  font-size: 16px;
  font-weight: 700;
}

.upload-zone-copy {
  font-size: 13px;
  color: var(--text-soft);
}

.upload-filelist {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}

.upload-file-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--surface-alt);
  color: var(--text-soft);
  font-size: 13px;
}

.upload-file-remove {
  border: 0;
  background: transparent;
  color: var(--coral);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.page-footer {
  display: grid;
  gap: 10px;
  max-width: 900px;
  margin: 14px auto 0;
  padding: 14px 18px;
  text-align: center;
}

.footer-note {
  font-size: 13px;
}

.page-disclaimer-copy {
  display: none;
}

@media (min-width: 960px) {
  .two-up {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

@media (max-width: 759px) {
  .page-shell {
    width: 100%;
    padding: 16px 12px calc(44px + env(safe-area-inset-bottom, 0px));
    overflow-x: clip;
  }

  .entry-panel {
    gap: 8px;
  }

  .brand-line,
  .footer-meta {
    font-size: 14px;
  }

  .footer-meta {
    display: grid;
    gap: 6px;
    justify-items: center;
  }

  .footer-meta span[aria-hidden="true"] {
    display: none;
  }

  .entry-panel h1 {
    font-size: clamp(34px, 10vw, 42px);
    max-width: 10ch;
  }

  .hero-subhead {
    font-size: 15px;
    line-height: 1.35;
    max-width: 24ch;
  }

  .wizard-progress {
    justify-content: flex-start;
  }

  .wizard-pill {
    font-size: 13px;
  }

  .wizard-shell,
  .form-stage,
  .result-stage {
    min-width: 0;
  }

  .form-column,
  .result-card,
  .lead-panel,
  .page-footer {
    width: 100%;
    max-width: 100%;
    padding: 16px;
  }

  .section-header,
  .result-card,
  .lead-panel,
  .page-footer {
    gap: 12px;
  }

  .next-step-section {
    padding: 14px;
  }

  .next-step-copy h3 {
    font-size: 22px;
  }

  .deductible-box {
    padding: 12px;
  }

  .result-card-header {
    flex-direction: column;
    align-items: stretch;
  }

  .result-topline {
    align-items: flex-start;
    flex-direction: column;
  }

  .score-badge {
    min-width: 108px;
    min-height: 108px;
    padding: 8px;
  }

  .score-badge span {
    font-size: 22px;
  }

  .score-badge.is-long span {
    font-size: 15px;
  }

  .result-band-row,
  .contact-actions,
  .lead-grid {
    display: grid;
    gap: 8px;
  }

  .primary-button,
  .contact-card,
  .toggle-button {
    width: 100%;
  }

  .step-action-buttons {
    flex-direction: column;
  }

  .segmented-control-triple {
    grid-template-columns: 1fr;
  }

  .upload-file-item {
    align-items: flex-start;
    flex-direction: column;
  }
}
