/* Homepage hero intake. The supplied mockup is the visual specification. */
#home {
  height: auto;
  min-height: 100vh;
  min-height: 100svh;
  background-position: center center;
}

#home.bg-dark-30::before {
  background: linear-gradient(
    90deg,
    rgba(4, 6, 8, 0.84) 0%,
    rgba(4, 6, 8, 0.7) 38%,
    rgba(6, 8, 10, 0.3) 62%,
    rgba(6, 8, 10, 0.18) 100%
  );
}

#home .titan-caption {
  width: 100%;
  height: auto;
  min-height: 100vh;
  min-height: 100svh;
  padding: 0;
}

#home .home-hero-layout {
  box-sizing: border-box;
  width: calc(100% - 64px);
  max-width: 1424px;
  margin: 0 auto;
  padding: 130px 0 58px;
}

#home .home-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(455px, 31.7vw, 530px);
  column-gap: clamp(48px, 4.1vw, 68px);
  align-items: start;
}

#home .home-hero-copy {
  width: 100%;
  max-width: 810px;
  min-width: 0;
  padding-top: clamp(92px, 7.65vw, 128px);
  text-align: left;
}

#home .home-hero-kicker {
  display: inline-block;
  margin: 0 0 28px;
  color: #dfbb6e;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 3px;
  text-transform: uppercase;
}

#home .home-hero-title {
  max-width: 810px;
  margin: 0 0 28px;
  color: #ffffff;
  font-size: clamp(72px, 5.75vw, 96px);
  line-height: 0.96;
  letter-spacing: 0;
}

#home .home-hero-title .hero-title-line,
#home .home-hero-title .hero-title-accent {
  display: block;
  white-space: nowrap !important;
}

#home .home-hero-title .hero-title-accent {
  color: #dfbb6e;
}

#home .home-hero-title-detail {
  display: block;
  margin-top: 26px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 20px;
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: 3.2px;
}

#home .home-hero-subtext {
  max-width: 760px;
  margin: 0 0 27px;
  color: rgba(255, 255, 255, 0.94);
  font-size: 22px;
  line-height: 1.72;
}

#home .home-hero-subtext span {
  display: block;
}

#home .home-hero-proofbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  max-width: 670px;
  margin: 0;
  padding: 12px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

#home .home-hero-stars {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  color: #dfbb6e;
  font-size: 20px;
  line-height: 1;
  letter-spacing: 0;
}

#home .home-hero-prooftext {
  color: rgba(255, 255, 255, 0.88);
  font-size: 18px;
  line-height: 1.4;
}

#home .home-hero-prooftext strong {
  color: #ffffff;
  font-weight: 700;
}

#home .home-hero-proofdivider {
  width: 1px;
  height: 24px;
  background: rgba(255, 255, 255, 0.22);
}

#home .home-hero-prooftext .proof-mobile {
  display: none;
}

#home .home-hero-visual {
  display: block;
  width: 100%;
  max-width: 530px;
  padding: 0;
  justify-self: end;
}

#home .home-qr-shell,
#home .home-intake-stack {
  display: block;
  width: 100%;
  padding: 0;
}

#home .home-intake-card {
  position: relative;
  z-index: 2;
  box-sizing: border-box;
  width: 100%;
  overflow: hidden;
  padding: 30px 30px 16px;
  color: #232323;
  text-align: left;
  background:
    radial-gradient(circle at 100% 0, rgba(219, 192, 139, 0.12), transparent 34%),
    linear-gradient(180deg, #fffefd 0%, #fbf9f7 100%);
  border: 1px solid #d9c7ac;
  border-radius: 20px;
  box-shadow:
    0 28px 64px rgba(0, 0, 0, 0.4),
    0 8px 22px rgba(0, 0, 0, 0.16);
}

#home .home-intake-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  background: linear-gradient(90deg, #b88d45 0%, #d8b571 52%, #b88d45 100%);
}

#home .home-intake-eyebrow {
  margin: 0 0 6px;
  color: #a9792d;
  font-family: 'Roboto Condensed', Arial, sans-serif;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 2.3px;
  text-transform: uppercase;
}

#home .home-intake-title {
  margin: 0 0 8px;
  color: #111111;
  font-family: 'Roboto Condensed', Arial, sans-serif;
  font-size: 44px;
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

#home .home-intake-intro {
  margin: 0 0 18px;
  color: #5b5752;
  font-size: 18px;
  line-height: 1.45;
}

#home .home-intake-form {
  display: grid;
  gap: 0;
  margin: 0;
}

#home .home-intake-field {
  display: grid;
  gap: 7px;
  margin: 0 0 18px;
}

#home .home-intake-field:last-of-type {
  margin-bottom: 14px;
}

#home .home-intake-field label {
  margin: 0;
  color: #171717;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.25;
}

#home .home-intake-field input {
  box-sizing: border-box;
  width: 100%;
  min-height: 54px;
  padding: 12px 14px;
  color: #111111;
  background: #fefefe;
  border: 1px solid #d8d2ca;
  border-radius: 9px;
  box-shadow: inset 0 1px 2px rgba(17, 17, 17, 0.035);
  font-size: 18px;
  line-height: 1.3;
  transition:
    border-color 140ms ease,
    box-shadow 140ms ease,
    background-color 140ms ease;
}

#home .home-intake-field input::placeholder {
  color: #858585;
  opacity: 1;
}

#home .home-intake-field input:hover {
  border-color: #baa98e;
}

#home .home-intake-field input:focus,
#home .home-intake-field input:focus-visible {
  outline: none;
  background: #ffffff;
  border-color: #a6782f;
  box-shadow: 0 0 0 3px rgba(166, 120, 47, 0.2);
}

#home .home-intake-helper {
  margin: 0;
  color: #746f68;
  font-size: 13px;
  line-height: 1.35;
}

#home .home-intake-honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

#home .home-intake-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 100%;
  min-height: 59px;
  margin: 0 0 12px;
  padding: 12px 20px;
  color: #17130d;
  background: linear-gradient(180deg, #dfbd73 0%, #bc8e41 100%);
  border: 1px solid #aa7d31;
  border-radius: 9px;
  box-shadow:
    0 10px 20px rgba(121, 82, 23, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);
  font-family: 'Roboto Condensed', Arial, sans-serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    filter 140ms ease,
    transform 140ms ease,
    box-shadow 140ms ease;
}

#home .home-intake-submit:hover,
#home .home-intake-submit:focus-visible {
  filter: brightness(1.04);
  transform: translateY(-1px);
  box-shadow:
    0 13px 24px rgba(121, 82, 23, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.58);
}

#home .home-intake-submit:focus-visible {
  outline: 3px solid rgba(17, 17, 17, 0.72);
  outline-offset: 3px;
}

#home .home-intake-submit:disabled {
  cursor: wait;
  filter: grayscale(0.25);
  opacity: 0.72;
  transform: none;
}

#home .home-intake-followup {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  margin: 0 0 6px;
  color: #3f3b35;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.42;
}

#home .home-intake-followup::before {
  content: '\2713';
  display: inline-flex;
  flex: 0 0 22px;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  color: #ffffff;
  background: #a6782f;
  border-radius: 50%;
  font-size: 13px;
  line-height: 1;
}

#home .home-intake-disclosure {
  margin: 0;
  color: #77716a;
  font-size: 11.5px;
  line-height: 1.42;
}

#home .home-intake-error {
  margin: 0;
  color: #9f2d20;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
}

#home .home-intake-error:empty {
  display: none;
}

#home .home-intake-error:not(:empty) {
  margin-bottom: 10px;
  padding: 9px 10px;
  background: #fff2ef;
  border: 1px solid #efc7c0;
  border-radius: 7px;
}

#home .home-intake-fallback-error {
  display: none;
  margin: 0 0 16px;
  padding: 12px 14px;
  color: #692c24;
  background: #fff3f0;
  border: 1px solid #e8c2ba;
  border-radius: 8px;
  font-size: 13px;
  line-height: 1.5;
}

#home .home-intake-fallback-error:target {
  display: block;
  animation: homeIntakeReveal 240ms ease both;
}

#home .home-intake-fallback-error strong {
  display: block;
  margin-bottom: 2px;
  color: #532018;
}

#home .home-intake-fallback-error a {
  color: #692c24;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

#home .home-intake-confirmation {
  display: none;
  box-sizing: border-box;
  width: 100%;
  min-height: 520px;
  min-height: min(620px, calc(100svh - 190px));
  padding: 42px 18px;
  align-content: center;
  justify-items: center;
  text-align: center;
}

#home .home-intake-confirmation.is-visible,
#home .home-intake-confirmation:target {
  display: grid;
  animation: homeIntakeReveal 380ms ease both;
}

#home .home-intake-confirmation:target[hidden] {
  display: grid !important;
}

#home .home-intake-card.has-submission-success {
  background:
    radial-gradient(circle at 50% 34%, rgba(47, 111, 78, 0.1), transparent 38%),
    linear-gradient(180deg, #fffefd 0%, #fbf9f7 100%);
}

#home .home-intake-card.has-submission-success > .home-intake-eyebrow,
#home .home-intake-card.has-submission-success > .home-intake-title,
#home .home-intake-card.has-submission-success > .home-intake-intro,
#home .home-intake-card.has-submission-success > .home-intake-form,
#home .home-intake-card.has-submission-success > .home-intake-fallback-error,
#home .home-intake-card.has-submission-success > .home-intake-text-option,
#home #home-intake-success:target ~ .home-intake-eyebrow,
#home #home-intake-success:target ~ .home-intake-title,
#home #home-intake-success:target ~ .home-intake-intro,
#home #home-intake-success:target ~ .home-intake-form,
#home #home-intake-success:target ~ .home-intake-fallback-error,
#home #home-intake-success:target ~ .home-intake-text-option {
  display: none;
}

#home .home-intake-confirmation-mark {
  display: block;
  width: 92px;
  height: 92px;
  margin: 0 0 22px;
  filter: drop-shadow(0 12px 18px rgba(47, 111, 78, 0.18));
  transform-origin: center;
  animation: homeIntakeMarkIn 520ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

#home .home-intake-confirmation-mark svg {
  display: block;
  width: 100%;
  height: 100%;
}

#home .home-intake-confirmation-halo {
  fill: rgba(47, 111, 78, 0.1);
}

#home .home-intake-confirmation-disc {
  fill: #2f6f4e;
  transform-box: fill-box;
  transform-origin: center;
  animation: homeIntakeDiscIn 440ms 90ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

#home .home-intake-confirmation-check {
  fill: none;
  stroke: #ffffff;
  stroke-width: 5;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 48;
  stroke-dashoffset: 48;
  animation: homeIntakeCheckDraw 560ms 300ms ease forwards;
}

#home .home-intake-confirmation-kicker {
  margin: 0 0 8px;
  color: #2f6f4e;
  font-family: 'Roboto Condensed', Arial, sans-serif;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 2.2px;
  text-transform: uppercase;
}

#home .home-intake-confirmation h3 {
  margin: 0 0 14px;
  color: #171717;
  font-family: 'Roboto Condensed', Arial, sans-serif;
  font-size: 40px;
  line-height: 1.08;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

#home .home-intake-confirmation-copy {
  max-width: 410px;
  margin: 0;
  color: #4d4841;
  font-size: 16px;
  line-height: 1.65;
}

#home .home-intake-confirmation-note {
  margin: 22px 0 0;
  padding: 9px 14px;
  color: #315e47;
  background: rgba(47, 111, 78, 0.07);
  border: 1px solid rgba(47, 111, 78, 0.18);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
}

#home .home-intake-text-option {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 104px;
  gap: 18px;
  align-items: center;
  min-height: 115px;
  margin: 0;
  padding: 10px 0 0;
  background: transparent;
  border: 0;
  border-top: 1px solid #e2e0dd;
  border-radius: 0;
  box-shadow: none;
  backdrop-filter: none;
}

#home .home-intake-text-title {
  margin: 0 0 6px;
  color: #24211d;
  font-family: 'Roboto Condensed', Arial, sans-serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0;
  text-transform: none;
}

#home .home-intake-text-copy {
  margin: 0;
  color: #6b645a;
  font-size: 15px;
  line-height: 1.45;
}

#home .home-intake-qr-wrap {
  box-sizing: border-box;
  justify-self: end;
  width: 104px;
  height: 104px;
  padding: 6px;
  background: #ffffff;
  border: 1px solid #d8d0c2;
  border-radius: 7px;
}

#home .home-intake-qr {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

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

@keyframes homeIntakeMarkIn {
  from {
    opacity: 0;
    transform: translateY(6px) scale(0.88);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes homeIntakeDiscIn {
  from {
    opacity: 0;
    transform: scale(0.72);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes homeIntakeCheckDraw {
  to {
    stroke-dashoffset: 0;
  }
}

/* Narrow desktops keep the reference composition with a proportionally smaller card. */
@media (min-width: 992px) and (max-width: 1279px) {
  #home .desktop-circuit-layer {
    display: none !important;
  }

  #home .home-hero-layout {
    width: calc(100% - 48px);
    padding-top: 112px;
    padding-bottom: 30px;
  }

  #home .home-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) clamp(380px, 38vw, 455px);
    column-gap: clamp(24px, 3vw, 42px);
  }

  #home .home-hero-copy {
    max-width: none;
    padding-top: 82px;
  }

  #home .home-hero-title {
    font-size: clamp(54px, 5.4vw, 68px);
  }

  #home .home-hero-title-detail {
    margin-top: 20px;
    font-size: 16px;
    letter-spacing: 2.5px;
  }

  #home .home-hero-subtext {
    font-size: 18px;
    line-height: 1.58;
  }

  #home .home-hero-proofbar {
    gap: 12px;
  }

  #home .home-hero-stars,
  #home .home-hero-prooftext {
    font-size: 15px;
  }

  #home .home-hero-visual {
    max-width: 455px;
  }

  #home .home-intake-card {
    padding: 24px 24px 14px;
    border-radius: 17px;
  }

  #home .home-intake-eyebrow {
    font-size: 13px;
  }

  #home .home-intake-title {
    font-size: 38px;
  }

  #home .home-intake-intro {
    margin-bottom: 12px;
    font-size: 16px;
  }

  #home .home-intake-form {
    gap: 0;
  }

  #home .home-intake-field {
    gap: 5px;
    margin-bottom: 10px;
  }

  #home .home-intake-field:last-of-type {
    margin-bottom: 10px;
  }

  #home .home-intake-field label {
    font-size: 14px;
  }

  #home .home-intake-field input {
    min-height: 48px;
    padding: 10px 12px;
    font-size: 16px;
  }

  #home .home-intake-submit {
    min-height: 52px;
    margin-bottom: 8px;
    font-size: 17px;
  }

  #home .home-intake-followup {
    margin-bottom: 6px;
    font-size: 13px;
  }

  #home .home-intake-disclosure {
    font-size: 10.5px;
  }

  #home .home-intake-text-option {
    grid-template-columns: minmax(0, 1fr) 96px;
    min-height: 106px;
    margin-top: 0;
    padding-top: 9px;
  }

  #home .home-intake-text-title {
    font-size: 16px;
  }

  #home .home-intake-text-copy {
    font-size: 13px;
  }

  #home .home-intake-qr-wrap {
    width: 96px;
    height: 96px;
  }
}

/* Moderate-height desktops retain the whole card above the fold. */
@media (min-width: 992px) and (max-height: 940px) {
  #home .home-hero-layout {
    padding-top: 110px;
    padding-bottom: 24px;
  }

  #home .home-hero-copy {
    padding-top: 82px;
  }

  #home .home-hero-title {
    font-size: clamp(60px, 5vw, 78px);
    margin-bottom: 22px;
  }

  #home .home-hero-kicker {
    margin-bottom: 20px;
  }

  #home .home-hero-title-detail {
    margin-top: 20px;
    font-size: 17px;
  }

  #home .home-hero-subtext {
    margin-bottom: 20px;
    font-size: 18px;
    line-height: 1.55;
  }

  #home .home-hero-stars,
  #home .home-hero-prooftext {
    font-size: 16px;
  }

  #home .home-intake-card {
    padding: 24px 26px 14px;
  }

  #home .home-intake-eyebrow {
    font-size: 14px;
  }

  #home .home-intake-title {
    font-size: 38px;
  }

  #home .home-intake-intro {
    margin-bottom: 12px;
    font-size: 16px;
  }

  #home .home-intake-form {
    gap: 0;
  }

  #home .home-intake-field {
    gap: 5px;
    margin-bottom: 10px;
  }

  #home .home-intake-field:last-of-type {
    margin-bottom: 10px;
  }

  #home .home-intake-field label {
    font-size: 14px;
  }

  #home .home-intake-field input {
    min-height: 48px;
    padding: 10px 12px;
    font-size: 16px;
  }

  #home .home-intake-submit {
    min-height: 52px;
    margin-bottom: 8px;
    font-size: 17px;
  }

  #home .home-intake-followup {
    margin-bottom: 6px;
    font-size: 13px;
  }

  #home .home-intake-disclosure {
    font-size: 10.5px;
  }

  #home .home-intake-text-option {
    grid-template-columns: minmax(0, 1fr) 96px;
    min-height: 106px;
    margin-top: 0;
    padding-top: 9px;
  }

  #home .home-intake-text-title {
    font-size: 16px;
  }

  #home .home-intake-text-copy {
    font-size: 13px;
  }

  #home .home-intake-qr-wrap {
    width: 96px;
    height: 96px;
  }
}

/* Laptop-height compaction: all form content, including QR, remains visible. */
@media (min-width: 992px) and (max-height: 820px) {
  #home .home-hero-layout {
    padding-top: 96px;
    padding-bottom: 16px;
  }

  #home .home-hero-copy {
    padding-top: 62px;
  }

  #home .home-hero-kicker {
    margin-bottom: 16px;
    font-size: 13px;
  }

  #home .home-hero-title {
    margin-bottom: 17px;
    font-size: clamp(54px, 4.8vw, 66px);
  }

  #home .home-hero-title-detail {
    margin-top: 14px;
    font-size: 15px;
    letter-spacing: 2.2px;
  }

  #home .home-hero-subtext {
    margin-bottom: 15px;
    font-size: 16px;
    line-height: 1.48;
  }

  #home .home-hero-proofbar {
    gap: 10px;
    padding: 9px 0;
  }

  #home .home-hero-stars,
  #home .home-hero-prooftext {
    font-size: 14px;
  }

  #home .home-hero-proofdivider {
    height: 18px;
  }

  #home .home-intake-card {
    padding: 18px 20px 12px;
    border-radius: 15px;
  }

  #home .home-intake-eyebrow {
    margin-bottom: 3px;
    font-size: 12px;
  }

  #home .home-intake-title {
    margin-bottom: 4px;
    font-size: 32px;
  }

  #home .home-intake-intro {
    margin-bottom: 8px;
    font-size: 13px;
    line-height: 1.35;
  }

  #home .home-intake-form {
    gap: 0;
  }

  #home .home-intake-field {
    gap: 4px;
    margin-bottom: 7px;
  }

  #home .home-intake-field:last-of-type {
    margin-bottom: 7px;
  }

  #home .home-intake-field label {
    font-size: 13px;
  }

  #home .home-intake-field input {
    min-height: 42px;
    padding: 8px 11px;
    font-size: 15px;
  }

  #home .home-intake-helper {
    font-size: 11px;
  }

  #home .home-intake-submit {
    min-height: 46px;
    margin-bottom: 7px;
    padding: 9px 16px;
    font-size: 16px;
  }

  #home .home-intake-followup {
    gap: 7px;
    margin-bottom: 5px;
    font-size: 11.5px;
    line-height: 1.35;
  }

  #home .home-intake-followup::before {
    flex-basis: 18px;
    width: 18px;
    height: 18px;
    font-size: 11px;
  }

  #home .home-intake-disclosure {
    font-size: 9.5px;
    line-height: 1.3;
  }

  #home .home-intake-text-option {
    grid-template-columns: minmax(0, 1fr) 96px;
    gap: 12px;
    min-height: 96px;
    margin-top: 0;
    padding-top: 8px;
  }

  #home .home-intake-text-title {
    margin-bottom: 3px;
    font-size: 14px;
  }

  #home .home-intake-text-copy {
    font-size: 11.5px;
  }

  #home .home-intake-qr-wrap {
    width: 88px;
    height: 88px;
    padding: 5px;
  }
}

@media (max-width: 991px) {
  #home {
    min-height: 0;
    background-position: 64% center;
  }

  #home.bg-dark-30::before {
    background: linear-gradient(
      180deg,
      rgba(6, 8, 10, 0.95) 0%,
      rgba(8, 10, 13, 0.9) 48%,
      rgba(12, 13, 15, 0.82) 100%
    );
  }

  #home .titan-caption {
    min-height: 0;
  }

  #home .desktop-circuit-layer {
    display: none !important;
  }

  #home .home-hero-layout {
    width: 100%;
    max-width: none;
    padding: 108px 22px 42px;
  }

  #home .home-hero-grid {
    display: block;
  }

  #home .home-hero-copy {
    max-width: none;
    margin: 0 0 20px;
    padding: 0;
  }

  #home .home-hero-kicker {
    margin-bottom: 12px;
    font-size: 11px;
    letter-spacing: 2.3px;
  }

  #home .home-hero-title {
    max-width: none;
    margin-bottom: 17px;
    font-size: clamp(40px, 9.3vw, 64px);
  }

  #home .home-hero-title .hero-title-line,
  #home .home-hero-title .hero-title-accent {
    white-space: normal !important;
  }

  #home .home-hero-title-detail {
    margin-top: 13px;
    font-size: 14px;
    line-height: 1.35;
    letter-spacing: 2px;
  }

  #home .home-hero-subtext {
    max-width: 650px;
    margin-bottom: 15px;
    font-size: 17px;
    line-height: 1.52;
  }

  #home .home-hero-proofbar {
    gap: 10px;
    max-width: 650px;
    padding: 10px 0;
  }

  #home .home-hero-stars,
  #home .home-hero-prooftext {
    font-size: 14px;
  }

  #home .home-hero-proofdivider {
    height: 18px;
  }

  #home .home-hero-visual {
    display: block !important;
    width: 100%;
    max-width: 620px;
    margin: 0 auto;
    padding: 0;
  }

  #home .home-qr-shell {
    display: block !important;
  }

  #home .home-intake-card {
    padding: 22px 18px 17px;
    border-radius: 16px;
    box-shadow: 0 20px 44px rgba(0, 0, 0, 0.3);
  }

  #home .home-intake-eyebrow {
    font-size: 12px;
  }

  #home .home-intake-title {
    font-size: 31px;
  }

  #home .home-intake-intro {
    margin-bottom: 12px;
    font-size: 14px;
  }

  #home .home-intake-confirmation {
    min-height: 390px;
    padding: 34px 8px;
  }

  #home .home-intake-confirmation-mark {
    width: 82px;
    height: 82px;
    margin-bottom: 18px;
  }

  #home .home-intake-confirmation h3 {
    font-size: 34px;
  }

  #home .home-intake-form {
    gap: 0;
  }

  #home .home-intake-field {
    gap: 5px;
    margin-bottom: 10px;
  }

  #home .home-intake-field:last-of-type {
    margin-bottom: 10px;
  }

  #home .home-intake-field label {
    font-size: 14px;
  }

  #home .home-intake-field input {
    min-height: 48px;
    padding: 10px 12px;
    font-size: 16px;
  }

  #home .home-intake-helper {
    font-size: 11px;
  }

  #home .home-intake-submit {
    min-height: 50px;
    margin-bottom: 8px;
    font-size: 16px;
  }

  #home .home-intake-followup {
    margin-bottom: 6px;
    font-size: 12px;
  }

  #home .home-intake-followup::before {
    flex-basis: 19px;
    width: 19px;
    height: 19px;
    font-size: 11px;
  }

  #home .home-intake-disclosure {
    font-size: 10px;
  }

  #home .home-intake-text-option {
    display: none;
  }
}

@media (max-width: 520px) {
  #home .home-hero-layout {
    padding: 100px 16px 38px;
  }

  #home .home-hero-title {
    font-size: clamp(38px, 11.3vw, 50px);
  }

  #home .home-hero-title-detail {
    font-size: 13px;
    letter-spacing: 1.7px;
  }

  #home .home-hero-subtext {
    font-size: 16px;
  }

  #home .home-hero-proofbar {
    flex-wrap: nowrap;
    gap: 7px;
    overflow: hidden;
  }

  #home .home-hero-stars {
    gap: 2px;
    font-size: 11px;
  }

  #home .home-hero-prooftext {
    min-width: 0;
    font-size: 11.5px;
    white-space: nowrap;
  }

  #home .home-hero-prooftext .proof-desktop {
    display: none;
  }

  #home .home-hero-prooftext .proof-mobile {
    display: inline;
  }

  #home .home-intake-card {
    padding: 20px 16px 16px;
  }

  #home .home-intake-title {
    font-size: 29px;
  }
}

@media (prefers-reduced-motion: reduce) {
  #home .home-intake-submit,
  #home .home-intake-field input,
  #home .home-intake-confirmation.is-visible,
  #home .home-intake-confirmation:target,
  #home .home-intake-confirmation-mark,
  #home .home-intake-confirmation-disc,
  #home .home-intake-confirmation-check,
  #home .home-intake-fallback-error:target {
    transition: none;
    animation: none !important;
  }

  #home .home-intake-confirmation-check {
    stroke-dashoffset: 0;
  }
}
