/* Split landing layout; tokens and type match leasing-page/src/styles/global.css. */
body { display: flex; flex-direction: column; }
.chooser-header { display: flex; align-items: center; justify-content: space-between; width: min(var(--container), 100% - 2 * var(--gutter)); margin-inline: auto; min-height: 4.25rem; border-bottom: 1px solid var(--line); }
.chooser-brand { display: inline-flex; align-items: center; gap: .55rem; text-decoration: none; color: var(--primary); }
.chooser-brand img { width: 26px; height: 26px; object-fit: contain; }
.chooser-brand span { font: 600 1.5rem/1.65 var(--font-brand); letter-spacing: -.03em; }
.login-link { padding: .65rem 1.2rem; font-size: .9rem; }
.chooser { flex: 1; width: min(var(--container), 100% - 2 * var(--gutter)); margin-inline: auto; padding-top: clamp(2rem, 5vw, 3.25rem); padding-bottom: clamp(3.5rem, 9vw, 6rem); }
.hero-heading { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(2.5rem, 5vw, 4rem); margin-bottom: clamp(3rem, 7vw, 4.5rem); }
h1 { font-size: clamp(2.6rem, 6.5vw, 4.5rem); max-width: 15ch; }
.hero-copy { max-width: 560px; }
.intro { font-size: clamp(1rem, 1.8vw, 1.125rem); color: var(--ink-soft); }
.leasing-switcher { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.leasing-option { text-decoration: none; display: flex; flex-direction: column; align-items: flex-start; }
h2 { display: flex; justify-content: space-between; align-items: center; width: 100%; margin: 0 0 1.25rem; font-size: clamp(1.8rem, 4vw, 2.8rem); }
h2 span { font: 400 1.625rem/1 var(--font-body); color: var(--green-deep); }
.leasing-option p { font-size: .975rem; color: var(--ink-soft); max-width: 340px; margin-bottom: 2.375rem; }
.option-link { display: inline-flex; align-items: center; justify-content: center; gap: .5em; margin-top: auto; padding: .8em 1.6em; border: 1px solid transparent; font-family: var(--font-display); font-size: 1rem; font-weight: 600; letter-spacing: .01em; line-height: 1.2; color: var(--btn-ink); background: var(--reffie-green); }
.leasing-option:hover .option-link { background: var(--green-deep); }
@media (max-width: 760px) {
  .chooser-header { min-height: 3.75rem; }
  .login-link { padding: .55rem .85rem; font-size: .85rem; }
  .hero-heading { grid-template-columns: 1fr; gap: 1.5rem; margin-bottom: 2.25rem; }
  .leasing-switcher { grid-template-columns: 1fr; }
  h2 { margin: 0 0 .875rem; }
  .leasing-option p { margin-bottom: 1.5rem; }
}

/* Footer shared with the managed leasing site. */

  .footer {
    border-top: 1px solid var(--line);
    padding-block: 3rem 3.5rem;
    background: var(--paper-2);
  }

  .footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
  }

  .wordmark {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    font-family: var(--font-brand);
    font-weight: 600;
    font-size: 1.5rem;
    letter-spacing: -0.03em;
    text-decoration: none;
    color: var(--primary);
  }

  .mark-logo {
    width: 26px;
    height: 26px;
  }

  .wordmark + .meta {
    margin-top: 0.5rem;
  }

  .footer-contact {
    text-align: right;
  }

  @media (max-width: 640px) {
    .footer-contact {
      text-align: left;
    }
  }

.header-actions { display: flex; align-items: center; gap: .75rem; flex-wrap: wrap; justify-content: flex-end; }
@media (max-width: 420px) {
  .chooser-header { flex-wrap: wrap; gap: .75rem; padding-block: .75rem; }
  .header-actions { gap: .5rem; }
}

@media (min-width: 1000px) {
  .chooser { padding-top: clamp(5rem, 8vw, 8rem); }
}

.hero-demo { margin-top: 2.25rem; }

/* Construction lines follow the actual content columns and section edges.
   They draw once, briefly hold, then disappear. */
.chooser { position: relative; isolation: isolate; }
.chooser::before,
.chooser::after,
.hero-heading::before,
.hero-heading::after,
.leasing-switcher::before {
  content: "";
  position: absolute;
  pointer-events: none;
  z-index: -1;
  opacity: .32;
}
.chooser::before,
.chooser::after {
  top: 0;
  bottom: 0;
  border-left: 1px dashed var(--green-deep);
  transform-origin: top;
  animation: grid-draw-vertical 2.4s var(--ease-out) both;
}
.chooser::before { left: -1rem; }
.chooser::after { right: -1rem; animation-delay: .15s; }
.hero-heading { position: relative; }
.hero-heading::before,
.hero-heading::after {
  left: calc(-1 * var(--gutter));
  right: calc(-1 * var(--gutter));
  border-top: 1px dashed var(--green-deep);
  transform-origin: left;
  animation: grid-draw-horizontal 2.4s var(--ease-out) .2s both;
}
.hero-heading::before { top: -1.5rem; }
.hero-heading::after { bottom: -1.5rem; animation-delay: .35s; }
.leasing-switcher { position: relative; }
.leasing-switcher::before {
  left: 50%;
  top: -2rem;
  bottom: -2rem;
  border-left: 1px dashed var(--green-deep);
  transform-origin: top;
  animation: grid-draw-vertical 2.4s var(--ease-out) .45s both;
}
@keyframes grid-draw-vertical {
  from { transform: scaleY(0); opacity: 0; }
  45%, 65% { transform: scaleY(1); opacity: .4; }
  to { transform: scaleY(1); opacity: 0; }
}
@keyframes grid-draw-horizontal {
  from { transform: scaleX(0); opacity: 0; }
  45%, 65% { transform: scaleX(1); opacity: .4; }
  to { transform: scaleX(1); opacity: 0; }
}
@media (max-width: 760px) {
  .leasing-switcher::before { display: none; }
  .hero-heading::before { top: -1rem; }
  .hero-heading::after { bottom: -1rem; }
}
@media (prefers-reduced-motion: reduce) {
  .chooser::before, .chooser::after,
  .hero-heading::before, .hero-heading::after,
  .leasing-switcher::before { animation: none; opacity: 0; }
}
