@font-face {
  font-family: "Neue Haas Grotesk Display Pro";
  src: url("./assets/fonts/NeueHaasGroteskDisp-Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Neue Haas Grotesk Display Pro";
  src: url("./assets/fonts/NeueHaasGroteskDisp-Medium.otf") format("opentype");
  font-weight: 500 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Neue Haas Grotesk Display Pro";
  src: url("./assets/fonts/NeueHaasGroteskDisp-Bold.otf") format("opentype");
  font-weight: 700 900;
  font-style: normal;
  font-display: swap;
} 

:root {
  --font-brand: "Neue Haas Grotesk Display Pro", "Helvetica Neue", Helvetica, Arial, system-ui, sans-serif;

  --ink: #1f241f;
  --ink-soft: #4d574a;
  --muted: #71796b;
  --paper: #fffaf1;
  --cream: #f6efe3;
  --sage: #e8eee5;
  --sage-2: #d8e3d5;
  --brand-green: #a1bda9;
  --deep-green: #263d2a;
  --soft-green: #edf5ec;
  --pink: #FFA7A7;
  --pink-dark: #ff9292;
  --line: rgba(31, 36, 31, 0.14);
  --white: #ffffff;
  --red: #b8453d;
  --amber: #b18435;
  --shadow: 0 24px 70px rgba(38, 61, 42, 0.15);
  --shadow-soft: 0 14px 34px rgba(38, 61, 42, 0.10);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 16px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-brand);
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(255, 167, 167, 0.34) 0 7.2%, transparent 7.2% 100%),
    radial-gradient(circle at 88% 9%, rgba(161, 189, 169, 0.24), transparent 30%),
    radial-gradient(circle at 10% 76%, rgba(255, 167, 167, 0.30), transparent 26%),
    linear-gradient(135deg, var(--sage) 0%, #f8f1e6 58%, #f3eadc 100%);
  overflow-x: hidden;
}

body::before,
body::after {
  content: "";
  position: fixed;
  pointer-events: none;
  z-index: 0;
}

body::before {
  right: -140px;
  bottom: -150px;
  width: min(48vw, 580px);
  height: min(48vw, 580px);
  background: rgba(255, 167, 167, 0.32);
  clip-path: polygon(25% 0, 100% 0, 100% 100%, 0 100%, 0 25%);
}

body::after {
  left: 7.5%;
  top: 14%;
  width: 170px;
  height: 170px;
  border-radius: 50%;
  border: 1px solid rgba(38, 61, 42, 0.15);
}

button,
input {
  font: inherit;
}

button {
  border: none;
}

a {
  color: inherit;
}

.site-shell {
  position: relative;
  z-index: 1;
  width: min(1540px, 100%);
  margin: 0 auto;
  padding: 24px;
}

.site-header {
  min-height: 82px;
  display: grid;
  grid-template-columns: minmax(220px, 420px) auto;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 24px;
  padding: 14px 22px;
  border: 1px solid rgba(31, 36, 31, 0.09);
  border-radius: 999px;
  background: rgba(255, 250, 241, 0.82);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.logo-link {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  text-decoration: none;
}

.logo-link img {
  display: block;
  width: min(100%, 375px);
  height: auto;
  max-height: 55px;
  object-fit: contain;
}

.header-cta,
.primary-link-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 22px;
  border-radius: 999px;
  color: #ffffff;
  background: var(--pink);
  box-shadow: 0 14px 30px rgba(255, 167, 167, 0.34);
  text-decoration: none;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: transform 0.2s ease, background 0.2s ease;
}

.header-cta:hover,
.primary-link-btn:hover {
  transform: translateY(-2px);
  background: var(--pink-dark);
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(420px, 0.95fr) minmax(460px, 1.05fr);
  gap: 28px;
  align-items: stretch;
}

.brand-panel {
  position: sticky;
  top: 24px;
  min-height: calc(100vh - 130px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 26px;
  border-radius: var(--radius-xl);
  padding: clamp(24px, 4vw, 46px);
  color: var(--white);
  background:
    linear-gradient(180deg, rgba(38, 61, 42, 0.08) 0%, rgba(38, 61, 42, 0.44) 44%, rgba(38, 61, 42, 0.90) 100%),
    url("assets/hero-exterior.webp");
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow);
}

.brand-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(38, 61, 42, 0.78), transparent 70%),
    radial-gradient(circle at 25% 15%, rgba(255, 167, 167, 0.42), transparent 26%);
  pointer-events: none;
}

.brand-frame,
.brand-copy,
.feature-grid {
  position: relative;
  z-index: 2;
}

.brand-frame {
  min-height: 250px;
}

.brand-image {
  position: absolute;
  background-size: cover;
  background-position: center;
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.22);
}

.brand-image-main {
  inset: 0 8% 34px 0;
  border-radius: 38px 38px 38px 8px;
  background-image: url("assets/interior.webp");
}

.brand-image-small {
  right: 0;
  bottom: 0;
  width: 42%;
  height: 42%;
  min-height: 130px;
  border: 10px solid rgba(255, 250, 241, 0.92);
  border-radius: 30px 8px 30px 30px;
  background-image: url("assets/greenpoint-park.webp");
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--deep-green);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.23em;
  line-height: 1.35;
  text-transform: uppercase;
}

.brand-copy .eyebrow {
  color: rgba(255, 255, 255, 0.86);
}

.brand-copy h1,
.result-card h2,
.top-line h2 {
  margin: 0;
  font-family: var(--font-brand);
  font-weight: 700;
  letter-spacing: -0.055em;
}

.brand-copy h1 {
  max-width: 640px;
  margin-bottom: 18px;
  font-size: clamp(58px, 7.2vw, 106px);
  line-height: 0.86;
  text-wrap: balance;
}

.brand-copy p:last-child {
  max-width: 560px;
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 16px;
  line-height: 1.75;
}

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

.feature-pill {
  min-height: 90px;
  display: grid;
  align-content: center;
  gap: 2px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 24px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.feature-pill span {
  font-family: var(--font-brand);
  font-size: 34px;
  font-weight: 700;
  line-height: 1;
}

.feature-pill strong {
  color: rgba(255, 255, 255, 0.82);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.10em;
  text-transform: uppercase;
}

.form-panel {
  min-height: calc(100vh - 130px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.screen {
  display: none;
  width: 100%;
  max-width: 820px;
}

.screen.active {
  display: block;
  animation: rise 0.28s ease both;
}

.tracked-note {
  margin-bottom: 16px;
  border: 1px solid rgba(38, 61, 42, 0.12);
  border-radius: 999px;
  background: rgba(255, 250, 241, 0.78);
  color: var(--ink-soft);
  box-shadow: var(--shadow-soft);
  padding: 11px 16px;
  font-size: 13px;
  line-height: 1.4;
}

.tracked-note strong {
  color: var(--deep-green);
  font-weight: 900;
}

.screen-card,
.qual-card {
  position: relative;
  border: 1px solid rgba(31, 36, 31, 0.12);
  border-radius: var(--radius-xl);
  background: rgba(255, 250, 241, 0.90);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.screen-card::before,
.qual-card::before {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(31, 36, 31, 0.07);
  border-radius: calc(var(--radius-xl) - 12px);
  pointer-events: none;
}

.screen-card {
  padding: clamp(26px, 4vw, 44px);
}

.result-card h2,
.top-line h2 {
  font-size: clamp(36px, 4.4vw, 56px);
  line-height: 0.98;
  margin-bottom: 14px;
  color: var(--ink);
  text-wrap: balance;
}

.muted {
  color: var(--muted);
  line-height: 1.68;
  margin: 0 0 26px;
}

.top-line {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: flex-start;
  margin-bottom: 16px;
}

.progress-pill {
  border: 1px solid rgba(31, 36, 31, 0.12);
  background: rgba(255, 250, 241, 0.82);
  border-radius: 999px;
  padding: 11px 15px;
  color: var(--deep-green);
  box-shadow: var(--shadow-soft);
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.progress-track {
  height: 10px;
  background: rgba(31, 36, 31, 0.08);
  border-radius: 999px;
  margin-bottom: 18px;
  overflow: hidden;
}

.progress-fill {
  width: 0%;
  height: 100%;
  background: var(--pink);
  border-radius: inherit;
  transition: width 0.25s ease;
}

.qual-card {
  padding: 0;
  overflow: hidden;
}

.question-kicker {
  padding: 30px 34px 0;
  color: var(--deep-green);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.question-subtitle {
  color: var(--muted);
  margin: 10px 34px 0;
  line-height: 1.6;
}

.education-note {
  margin: 20px 34px 0;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(38, 61, 42, 0.16);
  background: rgba(232, 238, 229, 0.78);
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.58;
}

.education-note:empty {
  display: none;
}

.deposit-banner {
  margin: 20px 34px 0;
  padding: 16px;
  border-radius: 20px;
  border: 1px solid rgba(31, 36, 31, 0.12);
  background: rgba(255, 167, 167, 0.18);
}

.deposit-banner.hidden {
  display: none;
}

.deposit-title {
  color: var(--deep-green);
  font-weight: 800;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  margin-bottom: 8px;
}

.deposit-row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 5px 0;
  color: var(--muted);
  font-size: 13px;
}

.deposit-row strong {
  color: var(--ink);
  text-align: right;
}

.options-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 24px 34px 10px;
}

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

.options-grid.single-column {
  grid-template-columns: 1fr;
}

.option-card,
.check-card {
  border: 1px solid rgba(31, 36, 31, 0.12);
  background: rgba(255, 255, 255, 0.66);
  color: var(--ink);
  cursor: pointer;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.option-card {
  min-height: 112px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-align: left;
  padding: 0;
}

.option-card.has-image {
  min-height: 258px;
}

.option-card:hover,
.check-card:hover {
  transform: translateY(-3px);
  border-color: rgba(38, 61, 42, 0.38);
  box-shadow: var(--shadow-soft);
}

.option-card.selected,
.check-card.selected {
  background: var(--soft-green);
  border-color: rgba(38, 61, 42, 0.75);
  box-shadow: 0 0 0 5px rgba(38, 61, 42, 0.11), var(--shadow-soft);
}

.option-image {
  height: 142px;
  background-size: cover;
  background-position: center;
  border-bottom: 1px solid rgba(31, 36, 31, 0.1);
  filter: saturate(0.94) contrast(0.98);
}

.option-card.selected .option-image {
  filter: saturate(1.05) contrast(1);
}

.option-body {
  padding: 17px;
}

.option-label {
  display: block;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
}

.option-note {
  display: block;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.48;
}

.option-price {
  display: inline-flex;
  margin-top: 10px;
  border-radius: 999px;
  padding: 6px 10px;
  color: var(--deep-green);
  background: var(--soft-green);
  font-weight: 700;
  font-size: 12px;
}

.option-message {
  display: none;
  margin-top: 12px;
  border-left: 3px solid var(--deep-green);
  padding: 10px 11px;
  border-radius: 0 12px 12px 0;
  background: rgba(232, 238, 229, 0.75);
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.45;
}

.option-card.selected .option-message {
  display: block;
}

.check-card {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  border-radius: 20px;
  padding: 16px;
  text-align: left;
}

.check-box {
  width: 23px;
  height: 23px;
  border: 2px solid rgba(31, 36, 31, 0.22);
  border-radius: 8px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  margin-top: 1px;
  background: rgba(255, 255, 255, 0.5);
}

.check-card.selected .check-box {
  background: var(--deep-green);
  color: var(--white);
  border-color: var(--deep-green);
}

.check-card.selected .check-box::after {
  content: "✓";
  font-weight: 800;
  font-size: 14px;
}

.form-error {
  min-height: 18px;
  margin: 10px 34px 4px;
  color: var(--red);
  font-size: 13px;
  font-weight: 700;
}

.button-row {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 12px;
  padding: 16px 34px 34px;
}

.primary-btn,
.secondary-btn {
  min-height: 54px;
  border-radius: 999px;
  padding: 16px 22px;
  cursor: pointer;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease, background 0.2s ease;
}

.primary-btn {
  width: 100%;
  background: var(--pink);
  color: var(--white);
  box-shadow: 0 16px 34px rgba(255, 167, 167, 0.34);
}

.secondary-btn {
  color: var(--deep-green);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(31, 36, 31, 0.14);
}

.primary-btn:hover,
.secondary-btn:hover {
  transform: translateY(-2px);
}

.primary-btn:hover {
  background: var(--pink-dark);
}

.primary-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}

.result-card {
  text-align: center;
}

.success-icon {
  width: 74px;
  height: 74px;
  display: grid;
  place-items: center;
  margin: 0 auto 18px;
  border-radius: 999px;
  background: var(--soft-green);
  color: var(--deep-green);
  font-size: 34px;
  border: 1px solid rgba(38, 61, 42, 0.22);
}

.next-step-box {
  text-align: left;
  border: 1px solid rgba(31, 36, 31, 0.12);
  background: rgba(255, 255, 255, 0.56);
  border-radius: var(--radius-lg);
  padding: 20px;
  margin: 22px 0;
}

.next-step-box span {
  color: var(--muted);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 800;
}

.next-step-box p {
  color: var(--muted);
  line-height: 1.55;
  margin: 8px 0 0;
}

.primary-link-btn {
  width: 100%;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

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

.shake {
  animation: shake 0.25s ease;
}

@keyframes shake {
  0%,
  100% {
    transform: translateX(0);
  }

  25% {
    transform: translateX(-8px);
  }

  75% {
    transform: translateX(8px);
  }
}


/* Embedded WordPress iframe mode
   The WordPress iframe may be taller than the browser viewport.
   Without these overrides, 100vh-based panels center the form too far down. */
body.is-embedded {
  min-height: auto;
}

body.is-embedded .site-shell {
  padding-top: 24px;
  padding-bottom: 24px;
}

body.is-embedded .brand-panel {
  position: relative;
  top: auto;
  min-height: 760px;
}

body.is-embedded .form-panel {
  min-height: auto;
  align-items: flex-start;
  padding-top: 150px;
}

body.is-embedded .screen {
  max-width: 820px;
}

@media (max-width: 1180px) {
  body.is-embedded .brand-panel {
    min-height: 650px;
  }

  body.is-embedded .form-panel {
    padding-top: 0;
  }
}

@media (max-width: 760px) {
  body.is-embedded .site-shell {
    padding: 12px;
  }

  body.is-embedded .brand-panel {
    min-height: 540px;
  }

  body.is-embedded .form-panel {
    padding-top: 0;
  }
}

@media (max-width: 1180px) {
  .site-header {
    grid-template-columns: 1fr auto;
    border-radius: 28px;
  }

  .hero-layout {
    grid-template-columns: 1fr;
  }

  .brand-panel {
    position: relative;
    top: 0;
    min-height: 650px;
  }

  .form-panel {
    min-height: auto;
  }
}

@media (max-width: 760px) {
  body {
    background:
      linear-gradient(180deg, rgba(255, 167, 167, 0.32) 0 90px, transparent 90px),
      linear-gradient(135deg, var(--sage) 0%, #f8f1e6 58%, #f3eadc 100%);
  }

  .site-shell {
    padding: 12px;
  }

  .site-header {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 16px;
    border-radius: 24px;
  }

  .logo-link {
    justify-content: center;
  }

  .logo-link img {
    width: min(100%, 310px);
    max-height: none;
  }

  .header-cta {
    width: 100%;
    text-align: center;
  }

  .hero-layout {
    gap: 12px;
  }

  .brand-panel {
    min-height: 540px;
    border-radius: 28px;
    padding: 24px;
  }

  .brand-frame {
    min-height: 205px;
  }

  .brand-image-small {
    width: 48%;
    min-height: 110px;
    border-width: 7px;
  }

  .brand-copy h1 {
    font-size: 58px;
  }

  .feature-grid,
  .options-grid,
  .options-grid.image-options {
    grid-template-columns: 1fr;
  }

  .screen-card {
    border-radius: 28px;
    padding: 24px;
  }

  .qual-card {
    border-radius: 28px;
  }

  .result-card h2,
  .top-line h2 {
    font-size: 38px;
  }

  .top-line {
    flex-direction: column;
  }

  .question-kicker {
    padding: 26px 22px 0;
  }

  .question-subtitle,
  .education-note,
  .deposit-banner {
    margin-left: 22px;
    margin-right: 22px;
  }

  .options-grid {
    padding: 22px 22px 8px;
  }

  .button-row {
    grid-template-columns: 1fr;
    padding: 14px 22px 26px;
  }

  .button-row .secondary-btn {
    order: 2;
  }

  .button-row .primary-btn {
    order: 1;
  }

  .form-error {
    margin-left: 22px;
    margin-right: 22px;
  }
}

@media (max-width: 420px) {
  .brand-copy h1 {
    font-size: 48px;
  }

  .result-card h2,
  .top-line h2 {
    font-size: 34px;
  }

  .brand-image-main {
    inset-right: 0;
  }

  .brand-image-small {
    display: none;
  }
}