.ms-body {
  --ba-ink: #1c1a18;
  --ba-ink-soft: #4c4742;
  --ba-muted: #746d66;
  --ba-line: #ded8d1;
  --ba-paper: #f5f3ef;
  --ba-card: #ffffff;
  --ba-navy: #1b1d22;
  --ba-green: #4d5c56;
  --ba-green-dark: #2a2a26;
  --ba-gold: #d9c08a;
  --ba-copper: #b18a4f;
  --ba-brass-ink: #4a3717;
  --ba-ice: #f1efe9;
  --ba-shadow: 0 30px 80px rgba(35, 28, 22, 0.28);
  --ba-radius: 10px;
  --ba-radius-sm: 8px;
  --ba-serif: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --ba-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--ba-paper);
  color: var(--ba-ink);
  min-height: 100vh;
  font-family: var(--ba-sans);
  font-size: 1rem;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.ms-topbar {
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(215, 222, 216, 0.9);
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(14px);
}

.ms-topbar-inner {
  width: min(1120px, calc(100% - 32px));
  min-height: 58px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.ms-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--ba-serif);
  font-size: 0.96rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--ba-ink);
}

.ms-logo::before {
  content: "BA";
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(23, 62, 51, 0.34);
  background: var(--ba-ice);
  color: var(--ba-green-dark);
  font-family: var(--ba-sans);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0;
}

.ms-topline {
  color: var(--ba-copper);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
  text-align: right;
}

.ms-lp .ms-topbar {
  position: absolute;
  left: 0;
  right: 0;
  background: transparent;
  border-bottom: 0;
  backdrop-filter: none;
}

.ms-lp .ms-logo {
  color: #ffffff;
}

.ms-lp .ms-logo::before {
  border-color: rgba(255, 255, 255, 0.62);
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.ms-lp .ms-topline {
  color: rgba(255, 255, 255, 0.9);
}

.ms-hero {
  position: relative;
  overflow: hidden;
  padding: 38px 0 54px;
  background: var(--ba-navy);
}

.ms-lp .ms-hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 106px 0 66px;
}

/* On phones/tablets the hero must not fill the viewport and center its
   content, otherwise the form card is pushed below the fold. */
@media (max-width: 959px) {
  .ms-lp .ms-hero {
    min-height: auto;
    display: block;
    padding: 92px 0 34px;
  }
}

.ms-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../img/immobilie-haus.jpg") 64% 46% / cover no-repeat;
  filter: contrast(1.06) saturate(1.05) brightness(0.98);
  z-index: 0;
}

.ms-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  /* Single warm-charcoal scrim so the golden light reads through instead of
     clashing with a cold navy; deep on the text side, sheer toward the card. */
  background:
    linear-gradient(102deg, rgba(21, 22, 26, 0.94) 0%, rgba(23, 24, 28, 0.74) 40%, rgba(27, 26, 24, 0.34) 74%, rgba(30, 28, 24, 0.12) 100%),
    linear-gradient(180deg, rgba(18, 18, 22, 0) 52%, rgba(18, 17, 15, 0.5) 100%);
  pointer-events: none;
  z-index: 0;
}

.ms-hero-inner {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  gap: 30px;
  position: relative;
  z-index: 1;
}

.ms-hero-text {
  min-width: 0;
  max-width: 100%;
  /* soft halo keeps the thin serif legible where it crosses the sunlit facade */
  text-shadow: 0 1px 30px rgba(14, 11, 7, 0.5);
}

.ms-exclusive-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #e7d19c;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.ms-exclusive-badge::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--ba-copper);
}

.ms-headline {
  max-width: 720px;
  margin: 16px 0 18px;
  font-family: var(--ba-serif);
  font-size: 1.95rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.021em;
  color: #ffffff;
  overflow-wrap: anywhere;
}

.ms-subline {
  max-width: 570px;
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.02rem;
  font-weight: 400;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

/* Full subline on desktop; a shorter variant kicks in on phones (≤620)
   so the first form step reaches the fold without losing the value prop. */
.ms-subline-full { display: inline; }
.ms-subline-compact { display: none; }

.ms-trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 22px 0 0;
}

.ms-badge {
  border: 1px solid rgba(255, 255, 255, 0.38);
  background: rgba(0, 0, 0, 0.22);
  padding: 9px 12px;
  color: rgba(255, 255, 255, 0.88);
  font-weight: 600;
  font-size: 0.82rem;
  border-radius: 7px;
}

.ms-authority {
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.95rem;
  font-style: italic;
}

.ms-form-wrapper {
  width: 100%;
  min-width: 0;
}

.ms-form-card {
  background: var(--ba-card);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-top: 5px solid var(--ba-copper);
  box-shadow: var(--ba-shadow);
  overflow: hidden;
  border-radius: var(--ba-radius);
}

.ms-progress-track {
  height: 5px;
  background: #e7ede8;
}

.ms-progress-fill {
  width: 0;
  /* Endowed progress: never render the bar near-empty at step 1 – a small
     head start is a well-documented completion lever. JS sets 25/50/75/100%
     inline; this floor only lifts the first step, later steps exceed it. */
  min-width: 34%;
  height: 100%;
  background: linear-gradient(90deg, var(--ba-copper), var(--ba-gold));
  transition: width 0.28s ease;
}

.ms-step-info {
  padding: 18px 22px 0;
  color: var(--ba-copper);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0;
}

.ms-form-note {
  margin: 8px 22px 0;
  color: var(--ba-muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.ms-form {
  padding: 16px 22px 22px;
}

.ms-slides-viewport {
  overflow: hidden;
  transition: height 0.25s ease;
}

.ms-slides {
  display: flex;
  align-items: flex-start;
  transition: transform 0.32s ease;
}

.ms-slide {
  width: 100%;
  min-width: 100%;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.24s ease, transform 0.24s ease;
}

.ms-slide.active {
  opacity: 1;
  transform: translateY(0);
}

.ms-slide.hidden {
  display: none;
}

.ms-question {
  margin: 0 0 18px;
  font-family: var(--ba-serif);
  font-size: 1.32rem;
  font-weight: 700;
  line-height: 1.24;
  letter-spacing: -0.01em;
  color: var(--ba-ink);
}

.ms-options {
  display: grid;
  gap: 12px;
}

.ms-option {
  width: 100%;
  min-height: 72px;
  display: grid;
  grid-template-columns: 42px 1fr 18px;
  align-items: center;
  gap: 14px;
  border: 1px solid #cfd9d2;
  background:
    linear-gradient(135deg, #ffffff 0%, #ffffff 58%, #f5f8f5 100%);
  color: var(--ba-ink);
  padding: 14px;
  font: inherit;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  border-radius: var(--ba-radius-sm);
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease, color 0.18s ease;
}

.ms-option:hover,
.ms-option.selected {
  border-color: rgba(177, 138, 79, 0.85);
  background:
    linear-gradient(135deg, #fffdf6 0%, #ffffff 55%, #faf6ee 100%);
  box-shadow: 0 16px 34px rgba(40, 30, 15, 0.12);
}

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

.ms-option-icon {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(74, 55, 23, 0.2);
  background: var(--ba-ice);
  color: var(--ba-green-dark);
  font-family: var(--ba-serif);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1;
  border-radius: 8px;
}

.ms-option.selected .ms-option-icon {
  border-color: var(--ba-copper);
  background: var(--ba-copper);
  color: #ffffff;
}

.ms-option-icon svg {
  width: 22px;
  height: 22px;
}

.ms-option-copy {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.ms-option-text {
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.24;
  letter-spacing: -0.005em;
}

.ms-option-detail {
  color: var(--ba-muted);
  font-size: 0.88rem;
  font-weight: 500;
  line-height: 1.3;
}

.ms-option-chevron {
  color: var(--ba-muted);
}

.ms-fields {
  display: grid;
  gap: 15px;
}

.ms-field-row {
  display: grid;
  gap: 14px;
}

.ms-field {
  display: grid;
  gap: 7px;
}

.ms-field label {
  color: var(--ba-green-dark);
  font-weight: 700;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ms-field input,
.ms-field select,
.ms-field textarea {
  width: 100%;
  min-height: 56px;
  border: 1px solid #cfd9d2;
  background: #ffffff;
  color: var(--ba-ink);
  padding: 12px 14px;
  font: inherit;
  border-radius: var(--ba-radius-sm);
}

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

.ms-field input:focus,
.ms-field select:focus,
.ms-field textarea:focus {
  outline: 0;
  border-color: var(--ba-copper);
  box-shadow: 0 0 0 3px rgba(177, 138, 79, 0.28);
}

.ms-field-error {
  border-color: #c2410c !important;
  box-shadow: 0 0 0 3px rgba(194, 65, 12, 0.14);
}

.ms-field-hint,
.ms-field-support,
.ms-field-message,
.ms-privacy {
  color: var(--ba-muted);
  font-size: 0.82rem;
  line-height: 1.45;
}

.ms-field-support {
  display: block;
  margin-top: -2px;
}

.ms-field-message {
  display: none;
  color: #9a3412;
  font-weight: 700;
}

.ms-field-message.visible {
  display: block;
}

.ms-next-btn,
.ms-submit {
  width: 100%;
  min-height: 58px;
  border: 1px solid #a67f34;
  background: linear-gradient(180deg, #c9a352 0%, #b78c39 100%);
  color: #2c2109;
  font: inherit;
  /* Sentence case at body size reads better for the 50+ audience than
     small uppercase tracking. */
  font-size: 1.04rem;
  font-weight: 700;
  letter-spacing: 0.005em;
  text-transform: none;
  cursor: pointer;
  border-radius: var(--ba-radius-sm);
  box-shadow: 0 8px 20px rgba(120, 90, 30, 0.2);
  transition: background 0.22s ease, color 0.22s ease, transform 0.18s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.ms-next-btn:hover,
.ms-submit:hover {
  background: linear-gradient(180deg, #d4ae5c 0%, #c29640 100%);
  border-color: #a67f34;
  color: #2c2109;
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(120, 90, 30, 0.3);
}

.ms-submit:disabled {
  cursor: wait;
  opacity: 0.75;
  transform: none;
}

.ms-back {
  margin-top: 16px;
  border: 0;
  background: transparent;
  color: var(--ba-copper);
  font: inherit;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
  cursor: pointer;
}

.hidden {
  display: none !important;
}

/* Optional note field collapsed behind a toggle – shortens the perceived
   length of the final step without touching the field itself. */
.ms-note-toggle summary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  list-style: none;
  color: var(--ba-brass-ink);
  font-size: 0.88rem;
  font-weight: 700;
}

.ms-note-toggle summary::-webkit-details-marker {
  display: none;
}

.ms-note-toggle summary::before {
  content: "+";
  flex: none;
  width: 22px;
  height: 22px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(177, 138, 79, 0.5);
  border-radius: 50%;
  color: var(--ba-copper);
  font-weight: 700;
  line-height: 1;
}

.ms-note-toggle[open] summary {
  margin-bottom: 10px;
}

.ms-note-toggle[open] summary::before {
  content: "–";
}

.ms-callback {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin: 14px 0 0;
  text-align: center;
  color: var(--ba-brass-ink);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.ms-callback svg {
  flex: none;
  stroke: var(--ba-copper);
}

.ms-reassure {
  margin: 8px 0 0;
  text-align: center;
  color: var(--ba-green-dark);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.ms-value {
  padding: 56px 0 74px;
  background: var(--ba-paper);
  border-top: 1px solid var(--ba-line);
}

.ms-container {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

/* honest fact strip (no fabricated proof) */
.ms-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin-bottom: 56px;
  border-top: 1px solid var(--ba-line);
  border-left: 1px solid var(--ba-line);
  border-radius: var(--ba-radius);
  overflow: hidden;
}

.ms-stat {
  background: #ffffff;
  border-right: 1px solid var(--ba-line);
  border-bottom: 1px solid var(--ba-line);
  padding: 22px 20px;
  text-align: center;
}

.ms-stat-num {
  display: block;
  font-family: var(--ba-serif);
  font-weight: 800;
  font-size: 1.62rem;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--ba-green-dark);
}

.ms-stat-label {
  display: block;
  margin-top: 6px;
  color: var(--ba-muted);
  font-size: 0.82rem;
  font-weight: 600;
}

.ms-section-title {
  max-width: 640px;
  margin: 0 0 24px;
  font-family: var(--ba-serif);
  font-size: 1.7rem;
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: -0.02em;
  color: var(--ba-ink);
}

/* value cards — what the visitor actually gets */
.ms-value-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin-bottom: 52px;
  border-top: 1px solid var(--ba-line);
  border-left: 1px solid var(--ba-line);
  border-radius: var(--ba-radius);
  overflow: hidden;
}

.ms-value-card {
  background: #ffffff;
  border-right: 1px solid var(--ba-line);
  border-bottom: 1px solid var(--ba-line);
  padding: 26px 24px;
}

.ms-value-icon {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 14px;
  border: 1px solid rgba(140, 115, 85, 0.4);
  background: rgba(140, 115, 85, 0.1);
  color: var(--ba-copper);
  border-radius: 8px;
}

.ms-value-head {
  margin: 0 0 8px;
  font-family: var(--ba-serif);
  font-size: 1.12rem;
  font-weight: 700;
  line-height: 1.28;
  letter-spacing: -0.01em;
  color: var(--ba-ink);
}

.ms-value-text {
  margin: 0;
  color: var(--ba-ink-soft);
  font-size: 0.98rem;
  line-height: 1.6;
}

/* why pricing matters — honest reason-why block, no fabricated proof */
.ms-why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin-bottom: 52px;
  border-top: 1px solid var(--ba-line);
  border-left: 1px solid var(--ba-line);
  border-radius: var(--ba-radius);
  overflow: hidden;
}

.ms-why-card {
  background: #ffffff;
  border-right: 1px solid var(--ba-line);
  border-bottom: 1px solid var(--ba-line);
  padding: 24px;
}

.ms-why-card--right {
  background: #fffdf6;
  box-shadow: inset 0 3px 0 var(--ba-copper);
}

.ms-why-tag {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--ba-muted);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ms-why-tag--right {
  color: var(--ba-copper);
}

.ms-why-text {
  margin: 0;
  color: var(--ba-ink-soft);
  font-size: 0.96rem;
  line-height: 1.6;
}

/* FAQ — objection handling for the hesitant scroller */
.ms-faq-title {
  margin-top: 52px;
}

.ms-faq {
  border: 1px solid var(--ba-line);
  border-bottom: 0;
  border-radius: var(--ba-radius);
  overflow: hidden;
}

.ms-faq-item {
  background: #ffffff;
  border-bottom: 1px solid var(--ba-line);
}

.ms-faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 20px;
  cursor: pointer;
  list-style: none;
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--ba-ink);
}

.ms-faq-question::-webkit-details-marker {
  display: none;
}

.ms-faq-question::after {
  content: "+";
  flex: none;
  width: 26px;
  height: 26px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(177, 138, 79, 0.5);
  border-radius: 50%;
  color: var(--ba-copper);
  font-weight: 700;
  line-height: 1;
}

.ms-faq-item[open] .ms-faq-question::after {
  content: "–";
}

.ms-faq-answer {
  margin: 0;
  padding: 0 20px 18px;
  max-width: 760px;
  color: var(--ba-ink-soft);
  line-height: 1.62;
}

.ms-faq-answer a {
  color: var(--ba-copper);
}

/* process steps */
.ms-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid var(--ba-line);
  border-left: 1px solid var(--ba-line);
  border-radius: var(--ba-radius);
  overflow: hidden;
}

.ms-step-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: #ffffff;
  border-right: 1px solid var(--ba-line);
  border-bottom: 1px solid var(--ba-line);
  padding: 24px;
}

.ms-step-badge {
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--ba-copper);
  color: var(--ba-copper);
  font-family: var(--ba-serif);
  font-size: 1rem;
  font-weight: 700;
}

.ms-step-head {
  margin: 4px 0 6px;
  font-size: 1.08rem;
  font-weight: 800;
  color: var(--ba-ink);
}

.ms-step-text {
  margin: 0;
  color: var(--ba-ink-soft);
  font-size: 0.96rem;
  line-height: 1.6;
}

.ms-footer {
  background: var(--ba-navy);
  color: #dfe5ef;
  padding: 30px 16px;
  text-align: center;
}

.ms-footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-bottom: 12px;
}

.ms-footer-link {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
  text-decoration: none;
}

.ms-footer-link:hover {
  text-decoration: underline;
}

.ms-footer-copy {
  margin: 0;
  color: #aeb8c8;
  font-size: 0.9rem;
}

.ms-thx {
  min-height: calc(100vh - 58px);
  display: grid;
  place-items: center;
  padding: 48px 16px;
  background:
    linear-gradient(120deg, rgba(27, 29, 34, 0.07), rgba(177, 138, 79, 0.15)),
    var(--ba-paper);
}

.ms-thx-card {
  width: min(540px, 100%);
  background: #ffffff;
  border: 1px solid var(--ba-line);
  border-top: 3px solid var(--ba-gold);
  box-shadow: var(--ba-shadow);
  padding: 30px;
  text-align: center;
  border-radius: var(--ba-radius);
}

.ms-thx-icon {
  width: 58px;
  height: 58px;
  margin: 0 auto 18px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(177, 138, 79, 0.14);
  border: 1px solid rgba(177, 138, 79, 0.4);
  color: var(--ba-copper);
}

.ms-thx-icon svg {
  width: 30px;
  height: 30px;
}

.ms-thx-title {
  margin: 0 0 10px;
  font-family: var(--ba-serif);
  font-weight: 800;
  font-size: 1.5rem;
  line-height: 1.18;
  letter-spacing: -0.02em;
}

.ms-thx-text,
.ms-thx-note {
  color: var(--ba-ink-soft);
  line-height: 1.65;
}

.ms-thx-steps {
  display: grid;
  gap: 10px;
  margin: 24px 0;
  text-align: left;
}

.ms-thx-step {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--ba-line);
  padding: 12px;
  background: #ffffff;
}

.ms-thx-step-num {
  width: 28px;
  height: 28px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--ba-copper);
  background: transparent;
  color: var(--ba-copper);
  font-family: var(--ba-serif);
  font-size: 0.92rem;
  font-weight: 700;
  flex: 0 0 auto;
}

.ms-thx-step-text {
  font-weight: 700;
}

@media (min-width: 720px) {
  .ms-hero {
    padding-top: 58px;
  }

  .ms-headline {
    font-size: 2.5rem;
  }

  .ms-subline {
    font-size: 1.08rem;
  }

  .ms-question {
    font-size: 1.44rem;
  }

  .ms-section-title {
    font-size: 2rem;
  }

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

  .ms-value-grid,
  .ms-steps,
  .ms-why-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .ms-thx-title {
    font-size: 1.7rem;
  }

  .ms-thx-card {
    padding: 38px;
  }

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

@media (min-width: 960px) {
  .ms-hero {
    padding-top: 74px;
  }

  .ms-hero-inner {
    grid-template-columns: minmax(0, 1.05fr) 440px;
    align-items: center;
  }

  .ms-headline {
    font-size: 3rem;
  }

  .ms-subline {
    font-size: 1.12rem;
  }

  .ms-question {
    font-size: 1.5rem;
  }

  .ms-section-title {
    font-size: 2.3rem;
  }

  .ms-thx-title {
    font-size: 1.95rem;
  }
}

@media (max-width: 620px) {
  .ms-hero-inner,
  .ms-container,
  .ms-topbar-inner {
    width: min(100% - 32px, 1120px);
  }

  /* Pull the first form step toward the fold on phones. */
  .ms-lp .ms-hero {
    padding-top: 80px;
  }

  .ms-hero-inner {
    gap: 18px;
  }

  .ms-subline-full {
    display: none;
  }

  .ms-subline-compact {
    display: inline;
  }

  .ms-headline {
    font-size: 1.7rem;
    line-height: 1.14;
    max-width: 100%;
  }

  .ms-subline {
    max-width: 100%;
  }

  /* Badges collapse from boxes to one compact text line so the first form
     step reaches the fold. */
  .ms-trust-badges {
    flex-wrap: wrap;
    gap: 4px 12px;
    margin-top: 12px;
  }

  .ms-badge {
    border: 0;
    background: transparent;
    padding: 0;
    border-radius: 0;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.85);
  }

  .ms-badge:not(:last-child)::after {
    content: "·";
    margin-left: 12px;
    color: rgba(255, 255, 255, 0.55);
  }

  /* Single-line topbar: drop the org suffix, keep domain right-aligned. */
  .ms-topbar-inner {
    min-height: 54px;
    gap: 10px;
  }

  .ms-logo {
    font-size: 0.84rem;
    letter-spacing: 0.01em;
    white-space: nowrap;
  }

  .ms-topline {
    font-size: 0.56rem;
    white-space: nowrap;
  }

  .ms-topline-org {
    display: none;
  }

  .ms-form {
    padding: 14px 16px 18px;
  }

  .ms-question {
    font-size: 1.28rem;
    line-height: 1.26;
  }

  .ms-step-info {
    padding-left: 16px;
    padding-right: 16px;
  }

  .ms-form-note {
    margin-left: 16px;
    margin-right: 16px;
  }
}
