:root {
  color-scheme: light;
  --brown: #633a2b;
  --brown-soft: #7c584b;
  --red: #ef4f3b;
  --red-dark: #d94231;
  --max-blue: #168cf2;
  --max-purple: #7444e8;
  --page: #f3f3f3;
  --card: #ffffff;
  --line: #e2e2e2;
  font-family: Arial, Helvetica, sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }

html {
  background: var(--page);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--page);
  color: var(--brown);
  -webkit-font-smoothing: antialiased;
}

button { font: inherit; -webkit-tap-highlight-color: transparent; }

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  background: var(--card);
  color: var(--brown);
  transform: translateY(-160%);
}

.skip-link:focus { transform: translateY(0); }

.landing { min-height: 100vh; }

.narrow {
  width: min(760px, calc(100% - 32px));
  margin-inline: auto;
}

.desktop-bar {
  position: relative;
  height: 22px;
  background: #050505;
}

.desktop-bar i {
  position: absolute;
  top: 9px;
  right: 7px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ffa300;
}

.intro {
  height: 416px;
  overflow: hidden;
  background: #fff;
}

.landing--v3 .intro {
  height: 362px;
}

.intro-inner {
  position: relative;
  padding-top: 34px;
}

.brand-logo {
  width: 142px;
  height: auto;
  margin-left: 26px;
  object-fit: contain;
}

.intro h1 {
  margin: 8px 0 4px 26px;
  color: #583326;
  font-size: 27px;
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -.025em;
}

.subtitle {
  margin: 0 0 0 26px;
  color: #745043;
  font-size: 16px;
  line-height: 1.35;
}

.owner-stage {
  position: relative;
  height: 224px;
  margin-top: 17px;
  overflow: hidden;
  border-radius: 11px;
  background: #faf8f8;
}

.owner-photo {
  position: absolute;
  z-index: 1;
  right: 13px;
  bottom: -1px;
  width: 184px;
  height: 230px;
  object-fit: contain;
  object-position: center bottom;
}

.owner-message {
  position: absolute;
  z-index: 2;
  left: 10px;
  width: 474px;
  padding: 14px 17px;
  border-radius: 10px;
  background: rgb(255 255 255 / 94%);
  color: #714b3e;
  font-size: 15px;
  line-height: 1.42;
}

.owner-message p { margin: 0; }
.owner-message-first { top: 9px; min-height: 91px; }
.owner-message-second { top: 111px; min-height: 91px; }

.quotes {
  display: block;
  height: 11px;
  margin: -12px 0 7px -15px;
  color: #ff573b;
  font-size: 30px;
  line-height: 1;
  letter-spacing: -10px;
  transform: rotate(180deg);
}

.owner-message strong { color: #643c2f; }

.calculation {
  min-height: 460px;
  padding-top: 15px;
  background: var(--page);
}

.accent-line {
  width: 80px;
  height: 3px;
  background: var(--red);
}

.calculation > .narrow > h2 {
  margin: 12px 0 14px;
  color: var(--red);
  font-size: 26px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.025em;
}

.calculation > .narrow > h2 mark {
  padding: 1px 2px;
  background: var(--red);
  color: #fff;
}

.calculation-copy {
  margin: 0 0 14px;
  color: #775044;
  font-size: 17px;
  line-height: 1.52;
}

.max-cta-panel {
  display: grid;
  gap: 8px;
  padding: 18px;
  border-radius: 12px;
  background: var(--card);
  box-shadow: 0 9px 20px rgb(0 0 0 / 9%);
}

.max-cta-button {
  min-height: 52px;
  border: 0;
  border-radius: 8px;
  padding: 0 20px;
  background: linear-gradient(104deg, var(--max-blue) 0%, var(--max-purple) 100%);
  color: #fff;
  cursor: pointer;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.01em;
  transition: background 150ms ease, transform 150ms ease;
}

.max-cta-button:hover {
  background: linear-gradient(104deg, #087fe9 0%, #6135d7 100%);
  transform: translateY(-1px);
}

.max-cta-button:focus-visible {
  outline: 3px solid rgb(239 79 59 / 40%);
  outline-offset: 3px;
}

.max-cta-button:disabled {
  cursor: wait;
  opacity: 0.6;
  transform: none;
}

.action-note,
.action-status {
  margin: 0;
  color: #777;
  font-size: 12.5px;
  line-height: 1.45;
}

.action-note { text-align: center; }

.action-status {
  min-height: 16px;
  color: var(--red-dark);
  font-weight: 700;
}

.action-status:empty { display: none; }

.max-cta-label--mobile,
.max-cta-note--mobile { display: none; }

.conversion-stack { display: grid; }
.conversion-stack > .max-cta-panel { order: 1; }
.conversion-stack > .quiz-divider { order: 2; }
.conversion-stack > .inline-quiz { order: 3; }
.conversion-stack > .factory-note { order: 4; }

.factory-note {
  margin: 32px 0 0;
  color: #684032;
  font-size: 17px;
  line-height: 1.55;
}

.factory-note strong { color: #4f2f25; }

footer {
  padding: 35px 0 14px;
  color: #555;
  font-size: 10px;
  line-height: 1.55;
}

footer p { margin: 0 0 7px; }

footer a {
  color: #555;
  text-underline-offset: 3px;
}

.noscript {
  position: fixed;
  z-index: 20;
  right: 16px;
  bottom: 16px;
  left: 16px;
  padding: 12px;
  border-radius: 8px;
  background: #fff3cd;
  color: #5d4315;
}

@media (max-width: 680px) {
  .desktop-bar { display: none; }
  .narrow { width: 100%; }

  .intro { height: auto; }
  .landing--v3 .intro { height: auto; }
  .intro-inner { padding-top: 16px; }
  .brand-logo { width: 122px; margin-left: 15px; }
  .intro h1 { margin: 6px 15px 2px; font-size: 24px; line-height: 1.12; }
  .subtitle { margin-left: 15px; font-size: 17px; }

  .owner-stage {
    height: 252px;
    margin-top: 17px;
    border-radius: 0;
  }

  .owner-photo {
    right: -37px;
    bottom: 32px;
    width: 195px;
    height: 244px;
  }

  .owner-message {
    left: 0;
    padding: 12px 15px;
    border-radius: 0 13px 13px 0;
    font-size: 14px;
    line-height: 1.45;
  }

  .owner-message-first { top: 18px; width: 76%; min-height: 72px; }
  .owner-message-second {
    top: 108px;
    width: 81%;
    min-height: 118px;
    padding: 16px 20px 18px;
  }
  .quotes { margin-top: -13px; margin-left: 0; }

  .calculation { min-height: 452px; padding-top: 0; }
  .accent-line { width: 75px; margin-left: 20px; }

  .calculation > .narrow > h2 {
    margin: 14px 20px;
    font-size: 20px;
    line-height: 1.2;
  }

  .calculation-copy {
    margin: 0 20px 16px;
    font-size: 16px;
    line-height: 1.55;
  }

  .max-cta-panel { margin-inline: 20px; padding: 16px; }

  .factory-note {
    margin: 30px 20px 0;
    font-size: 15px;
    line-height: 1.56;
  }

  footer { padding: 40px 20px 8px; font-size: 10px; }
}

@media (max-width: 390px) {
  .owner-message { font-size: 13px; }
  .owner-photo { right: -44px; width: 186px; }
}

@media (max-width: 355px) {
  .calculation > .narrow > h2 { font-size: 18px; }
  .owner-message { font-size: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

.quiz-divider {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 12px;
  align-items: center;
  margin: 16px 0;
  color: #917b73;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.quiz-divider::before,
.quiz-divider::after { height: 1px; background: var(--line); content: ''; }

.inline-quiz {
  overflow: hidden;
  padding: 20px 24px 17px;
  border-radius: 12px;
  background: var(--card);
  box-shadow: 0 9px 20px rgb(0 0 0 / 9%);
}

.inline-quiz__progress { height: 4px; overflow: hidden; border-radius: 99px; background: #e1e1e1; }
.inline-quiz__progress span { display: block; width: 0; height: 100%; border-radius: inherit; background: var(--red); transition: width .25s ease; }
.inline-quiz__body { min-height: 0; padding-top: 27px; }
.inline-quiz__eyebrow { margin: 0 0 7px; color: var(--red-dark); font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.inline-quiz__title { margin: 0 0 14px; color: #333; font-size: 19px; font-weight: 800; line-height: 1.2; letter-spacing: -.015em; }
.inline-quiz__copy { margin: 0 0 18px; color: #777; font-size: 13px; line-height: 1.45; }
.inline-quiz__field { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; min-width: 0; margin: 0; padding: 0; border: 0; }
.inline-quiz__option { position: relative; display: flex; gap: 12px; align-items: center; min-height: 55px; padding: 10px 18px; border: 1px solid transparent; border-radius: 9px; background: #f4f4f4; color: #3e3e3e; cursor: pointer; font-size: 15px; font-weight: 400; text-align: left; line-height: normal; transition: border-color .15s ease, background .15s ease, transform .15s ease; }
.inline-quiz__option:hover { border-color: #efbeb8; background: #f8f0ef; transform: translateY(-1px); }
.inline-quiz__option:has(input:checked) { border-color: var(--red); background: #fff0ee; }
.inline-quiz__option input { width: 22px; height: 22px; flex: 0 0 auto; margin: 0; accent-color: var(--red); }
.inline-quiz__actions { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding-top: 8px; }
.inline-quiz__back,
.inline-quiz__next { min-height: 40px; border: 0; border-radius: 7px; padding: 10px 15px; cursor: pointer; font: inherit; font-size: 12px; font-weight: 700; }
.inline-quiz__back { padding-inline: 0; background: transparent; color: #777; }
.inline-quiz__next { margin-left: auto; background: var(--red); color: #fff; }
.inline-quiz__next:hover { background: var(--red-dark); }
.inline-quiz__next:disabled { cursor: wait; opacity: .55; }
.inline-quiz__status { min-height: 20px; margin: 0; padding-top: 7px; color: #616161; font-size: 11px; }
.inline-quiz button:focus-visible,
.inline-quiz input:focus-visible { outline: 3px solid rgb(239 79 59 / 32%); outline-offset: 3px; }
.inline-quiz__sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.inline-quiz__phone-form { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
.inline-quiz__phone-form input { min-width: 0; border: 1px solid var(--line); border-radius: 7px; padding: 10px 12px; color: #333; font: inherit; }
.inline-quiz__consent { display: flex; grid-column: 1 / -1; align-items: flex-start; gap: 8px; color: #686868; font-size: 11px; line-height: 1.45; }
.inline-quiz__consent input { width: 18px; min-width: 18px; height: 18px; margin: 0; padding: 0; accent-color: var(--red); }
.inline-quiz__consent a { color: var(--red-dark); text-underline-offset: 2px; }
.inline-quiz__captcha { width: 0; height: 0; overflow: hidden; }
.inline-quiz__honeypot { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

@media (max-width: 560px) {
  .intro { height: 416px; }
  .landing--v3 .intro { height: 350px; }
  /* Saint Petersburg has a two-line city title; its owner stage therefore
     exceeds the compact fixed hero. Let this one landing follow its content
     so the next section cannot clip the second owner message. */
  .landing--v3[data-route-code="spw"] .intro { height: auto; }
  .owner-photo { right: -18px; bottom: 6px; }
  .inline-quiz { padding: 18px 23px 15px; }
  .inline-quiz__body { padding-top: 25px; }
  .inline-quiz__title { font-size: 18px; }
  .inline-quiz__field { gap: 8px; }
  .inline-quiz__option { min-height: 51px; gap: 10px; padding: 9px 16px; font-size: 14px; }
  .inline-quiz__option input { width: 21px; height: 21px; }

  .landing--v3 .calculation > .narrow > h2 { margin: 10px 20px 8px; }
  .landing--v3 .calculation-copy { margin-bottom: 10px; }
  .landing--v3 .max-cta-panel { gap: 4px; padding: 12px; }
  .landing--v3 .quiz-divider { margin: 10px 0; }
  .landing--v3 .inline-quiz { padding-top: 14px; }
  .landing--v3 .inline-quiz__body { padding-top: 15px; }
}

@media (max-width: 390px) {
  .inline-quiz__option { padding-inline: 11px; font-size: 12.5px; }
  .inline-quiz__phone-form { grid-template-columns: 1fr; }
  .inline-quiz__phone-form .inline-quiz__next { width: 100%; }
}

@media (max-width: 680px) {
  .conversion-stack > .inline-quiz { order: 1; }
  .conversion-stack > .quiz-divider { display: none; }

  .conversion-stack > .max-cta-panel {
    order: 2;
    margin: 20px 20px 0;
    padding: 16px;
  }

  .conversion-stack > .factory-note { order: 3; }

  .conversion-stack > .max-cta-panel .max-cta-button {
    width: 100%;
    min-height: 52px;
    font-size: 16px;
  }

  .conversion-stack > .max-cta-panel .action-note {
    text-align: center;
    font-size: 13px;
    line-height: 1.4;
  }

  .conversion-stack > .max-cta-panel .action-status {
    font-size: 11px;
  }

  .max-cta-label--desktop,
  .max-cta-note--desktop { display: none; }

  .max-cta-label--mobile,
  .max-cta-note--mobile { display: inline; }
}
