:root {
  --ink: #1c2420;
  --ink-soft: #3d4a43;
  --mist: #dfe8e2;
  --paper: #f4f7f5;
  --sage: #3f6b56;
  --sage-deep: #2c4d3c;
  --leaf: #6f9b7d;
  --sand: #c9b49a;
  --line: rgba(28, 36, 32, 0.12);
  --shadow: 0 18px 50px rgba(28, 36, 32, 0.12);
  --radius: 18px;
  --font-sans: "Sora", system-ui, sans-serif;
  --font-serif: "Source Serif 4", Georgia, serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(111, 155, 125, 0.18), transparent 55%),
    radial-gradient(900px 500px at 100% 0%, rgba(201, 180, 154, 0.22), transparent 50%),
    linear-gradient(180deg, #eef3f0 0%, var(--paper) 40%, #e8efe9 100%);
  min-height: 100vh;
  line-height: 1.55;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink);
  color: white;
  padding: 0.75rem 1rem;
  z-index: 100;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.shell {
  width: min(1120px, calc(100% - 2.5rem));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
  background: rgba(244, 247, 245, 0.78);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(244, 247, 245, 0.92);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.25rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.brand-mark {
  width: 1.15rem;
  height: 1.15rem;
  border-radius: 4px 4px 10px 4px;
  background: linear-gradient(145deg, var(--leaf), var(--sage-deep));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25);
}

.brand-name {
  font-size: 1.05rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.nav a {
  text-decoration: none;
  font-size: 0.92rem;
  color: var(--ink-soft);
  transition: color 0.2s var(--ease);
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--ink);
}

.nav-cta {
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  background: var(--sage);
  color: #f7faf8 !important;
  font-weight: 500;
}

.nav-cta:hover {
  background: var(--sage-deep);
}

.hero {
  position: relative;
  min-height: min(94vh, 920px);
  display: grid;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}

.hero-slider {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 1.1s var(--ease), transform 7s linear;
}

.hero-slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.hero-veil {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(105deg, rgba(16, 24, 20, 0.78) 0%, rgba(16, 24, 20, 0.55) 42%, rgba(16, 24, 20, 0.28) 68%, rgba(16, 24, 20, 0.45) 100%),
    linear-gradient(180deg, rgba(16, 24, 20, 0.25) 0%, rgba(16, 24, 20, 0.55) 100%);
  pointer-events: none;
}

.hero-copy {
  padding: 7rem 0 5rem;
  color: #f4f7f5;
  max-width: 46rem;
  animation: rise 0.9s var(--ease) both;
}

.brand-lockup {
  margin: 0 0 1rem;
  font-size: clamp(2.6rem, 7vw, 4.4rem);
  font-family: var(--font-serif);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 0.98;
}

.hero h1 {
  margin: 0 0 1.15rem;
  font-size: clamp(1.85rem, 4.2vw, 2.85rem);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.15;
  max-width: 16ch;
}

.apply-hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(1.55rem, 3.2vw, 2.15rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.2;
  max-width: 22ch;
}

.hero .lede {
  margin: 0 0 2rem;
  font-size: clamp(1.1rem, 2.1vw, 1.3rem);
  max-width: 34ch;
  line-height: 1.55;
  color: rgba(244, 247, 245, 0.9);
}

.lede {
  margin: 0 0 1.75rem;
  font-size: 1.05rem;
  max-width: 36ch;
  color: rgba(244, 247, 245, 0.88);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.hero .btn {
  min-height: 3.2rem;
  padding: 0.85rem 1.45rem;
  font-size: 1.02rem;
}

.hero-contact {
  margin: 1.5rem 0 0;
  font-size: 0.98rem;
  color: rgba(244, 247, 245, 0.82);
  letter-spacing: 0.01em;
}

.hero-contact a {
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.45);
}

.hero-dots {
  display: flex;
  gap: 0.45rem;
  margin-top: 1.75rem;
}

.hero-dot {
  width: 0.55rem;
  height: 0.55rem;
  border: 0;
  border-radius: 999px;
  background: rgba(244, 247, 245, 0.4);
  cursor: pointer;
  padding: 0;
  transition: width 0.25s var(--ease), background 0.25s var(--ease);
}

.hero-dot.is-active {
  width: 1.45rem;
  background: #f4f7f5;
}

.btn {
  appearance: none;
  border: 0;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.9rem;
  padding: 0.7rem 1.25rem;
  border-radius: 999px;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 550;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease), color 0.2s var(--ease),
    box-shadow 0.2s var(--ease);
}

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

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: #f4f7f5;
  color: var(--ink);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
}

.btn-primary:hover {
  background: #ffffff;
}

.btn-ghost {
  background: rgba(244, 247, 245, 0.12);
  color: #f4f7f5;
  box-shadow: inset 0 0 0 1px rgba(244, 247, 245, 0.35);
}

.btn-ghost:hover {
  background: rgba(244, 247, 245, 0.2);
}

.section {
  padding: 5rem 0;
}

.section-intro {
  max-width: 34rem;
  margin-bottom: 2.5rem;
}

.section-intro h2,
.cta-band h2,
.success-panel h2 {
  margin: 0 0 0.65rem;
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 600;
  letter-spacing: -0.03em;
}

.section-intro p,
.cta-inner > p,
.success-panel > p {
  margin: 0;
  color: var(--ink-soft);
}

.listing-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.listing article {
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.55);
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.65);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.listing article:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 55px rgba(28, 36, 32, 0.16);
}

.listing-photo {
  aspect-ratio: 4 / 3;
  background-size: cover;
  background-position: center;
}

.photo-a {
  background-image: url("https://images.unsplash.com/photo-1560448204-e02f11c3be0e?auto=format&fit=crop&w=1200&q=80");
}

.photo-b {
  background-image: url("https://images.unsplash.com/photo-1600596542815-ffad4c1539a9?auto=format&fit=crop&w=1200&q=80");
}

.photo-c {
  background-image: url("https://images.unsplash.com/photo-1522708323590-d24dbb6b0267?auto=format&fit=crop&w=1200&q=80");
}

.listing-body {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1.25rem 1.3rem 1.4rem;
  flex: 1;
}

.listing-body h3 {
  margin: 0;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.meta {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.price {
  margin: 0.35rem 0;
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.price span {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--ink-soft);
}

.blurb {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
  line-height: 1.55;
}

.listing-description {
  margin: 0 0 0.85rem;
  flex: 1;
}

.show-more-btn {
  appearance: none;
  border: 0;
  background: none;
  padding: 0.35rem 0 0;
  margin: 0;
  color: var(--sage-deep);
  font: inherit;
  font-size: 0.9rem;
  font-weight: 650;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.show-more-btn:hover {
  color: var(--ink);
}

.text-link {
  color: var(--sage-deep);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(44, 77, 60, 0.35);
  align-self: flex-start;
  padding-bottom: 0.1rem;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.text-link:hover {
  color: var(--ink);
  border-bottom-color: var(--ink);
}

.process {
  background:
    linear-gradient(180deg, rgba(63, 107, 86, 0.08), transparent 40%),
    rgba(255, 255, 255, 0.35);
  border-block: 1px solid var(--line);
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.steps li {
  padding: 1.5rem 0 0;
  border-top: 2px solid var(--sage);
  animation: rise 0.8s var(--ease) both;
}

.steps li:nth-child(2) {
  animation-delay: 0.08s;
}

.steps li:nth-child(3) {
  animation-delay: 0.16s;
}

.step-num {
  display: block;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  color: var(--sage);
  font-weight: 600;
  margin-bottom: 0.85rem;
}

.steps h3 {
  margin: 0 0 0.5rem;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.steps p {
  margin: 0;
  color: var(--ink-soft);
}

.cta-band {
  padding-bottom: 6rem;
}

.cta-inner {
  padding: 2.75rem;
  border-radius: calc(var(--radius) + 6px);
  background:
    linear-gradient(135deg, rgba(63, 107, 86, 0.92), rgba(44, 77, 60, 0.96)),
    var(--sage-deep);
  color: #f4f7f5;
  box-shadow: var(--shadow);
  animation: rise 0.8s var(--ease) both;
}

.cta-inner h2,
.cta-inner p {
  color: inherit;
}

.cta-inner p {
  margin-bottom: 1.5rem;
  max-width: 36ch;
  opacity: 0.9;
}

.cta-inner .btn-primary {
  background: #f4f7f5;
  color: var(--ink);
}

.site-footer {
  padding: 2.5rem 0 3rem;
  border-top: 1px solid var(--line);
}

.footer-inner {
  display: grid;
  gap: 0.35rem;
}

.footer-brand {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 600;
}

.footer-note,
.footer-contact {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.footer-contact a {
  color: var(--sage-deep);
}

/* Apply page */
.apply-page .hero-actions .btn-ghost,
.apply-page .form-nav .btn-ghost {
  color: var(--ink);
  background: transparent;
  box-shadow: inset 0 0 0 1px var(--line);
}

.apply-page .form-nav .btn-ghost:hover {
  background: rgba(63, 107, 86, 0.08);
}

.apply-hero {
  padding: 3rem 0 1.5rem;
  animation: rise 0.7s var(--ease) both;
}

.eyebrow {
  margin: 0 0 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--sage);
}

.apply-hero .lede {
  color: var(--ink-soft);
}

.apply-hero h1 {
  max-width: 22ch;
}

.selected-property {
  display: inline-flex;
  margin: 1rem 0 0;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  background: rgba(63, 107, 86, 0.12);
  color: var(--sage-deep);
  font-size: 0.9rem;
  font-weight: 500;
}

.apply-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 2rem;
  align-items: start;
  padding-bottom: 5rem;
}

.progress-panel {
  position: sticky;
  top: 5.5rem;
  padding: 1.25rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid var(--line);
}

.progress-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

.progress-list li {
  display: flex;
  gap: 0.65rem;
  align-items: baseline;
  color: var(--ink-soft);
  font-size: 0.92rem;
  transition: color 0.2s var(--ease);
}

.progress-list li span {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  font-weight: 600;
}

.progress-list li.is-active,
.progress-list li.is-done {
  color: var(--ink);
  font-weight: 550;
}

.progress-list li.is-active span,
.progress-list li.is-done span {
  color: var(--sage);
}

.lease-form {
  padding: 1.75rem;
  border-radius: calc(var(--radius) + 4px);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: var(--shadow);
  animation: rise 0.8s var(--ease) both;
}

.form-step {
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
}

.form-step[hidden] {
  display: none !important;
}

.form-step legend {
  padding: 0;
  margin-bottom: 1.25rem;
  font-family: var(--font-serif);
  font-size: 1.55rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

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

.field {
  display: grid;
  gap: 0.4rem;
  margin-bottom: 1rem;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--ink-soft);
}

.field-full {
  grid-column: 1 / -1;
}

.form-subhead {
  margin: 0.5rem 0 1.15rem;
  padding-top: 1.15rem;
  border-top: 1px solid var(--line);
}

.form-subhead h3 {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.form-subhead p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.9rem;
  font-weight: 400;
}

.field-hint {
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--ink-soft);
}

.toggle-row {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 2.75rem;
  font-weight: 400;
  color: var(--ink);
}

.toggle-row input {
  width: 1.05rem;
  height: 1.05rem;
  accent-color: var(--sage);
}

.upload-grid {
  margin-top: 0.25rem;
}

.field-upload input[type="file"] {
  padding: 0.65rem;
  background: rgba(63, 107, 86, 0.06);
  cursor: pointer;
}

.field-upload input[type="file"]::file-selector-button {
  margin-right: 0.75rem;
  border: 0;
  border-radius: 999px;
  padding: 0.45rem 0.85rem;
  background: var(--sage);
  color: #f7faf8;
  font: inherit;
  font-size: 0.85rem;
  font-weight: 550;
  cursor: pointer;
}

.upload-meta {
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--ink-soft);
}

.upload-meta.is-ready {
  color: var(--sage-deep);
  font-weight: 500;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 2.75rem;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
  font: inherit;
  font-size: 0.95rem;
  font-weight: 400;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.field textarea {
  min-height: 6rem;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--leaf);
  box-shadow: 0 0 0 3px rgba(111, 155, 125, 0.22);
}

.field input.is-invalid,
.field select.is-invalid,
.field textarea.is-invalid {
  border-color: #a34848;
}

.check-field {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  margin: 0 0 1rem;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.check-field input {
  margin-top: 0.25rem;
  width: 1.05rem;
  height: 1.05rem;
  accent-color: var(--sage);
}

.review-summary {
  display: grid;
  gap: 0.65rem;
  margin-bottom: 1.5rem;
  padding: 1.1rem 1.2rem;
  border-radius: 14px;
  background: rgba(63, 107, 86, 0.08);
  border: 1px solid rgba(63, 107, 86, 0.12);
}

.review-summary p {
  margin: 0;
  font-size: 0.95rem;
}

.review-summary strong {
  font-weight: 600;
  color: var(--ink);
}

.form-error {
  margin: 0 0 1rem;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  background: rgba(163, 72, 72, 0.1);
  color: #7a2f2f;
  font-size: 0.92rem;
}

.form-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: flex-end;
  margin-top: 0.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}

.form-nav .btn-primary {
  background: var(--sage);
  color: #f7faf8;
  box-shadow: none;
}

.form-nav .btn-primary:hover {
  background: var(--sage-deep);
}

.success-panel {
  grid-column: 1 / -1;
  padding: 2.5rem;
  border-radius: calc(var(--radius) + 4px);
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  animation: rise 0.7s var(--ease) both;
}

.success-id {
  margin: 1.25rem 0 1.75rem !important;
}

.fee-notice {
  margin: 0 0 1.25rem;
  padding: 0.95rem 1.1rem;
  border-radius: 12px;
  background: rgba(63, 107, 86, 0.1);
  border: 1px solid rgba(63, 107, 86, 0.16);
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.fee-notice a {
  color: var(--sage-deep);
  font-weight: 600;
}

.payment-block,
.payment-confirmed {
  margin: 0 0 1.75rem;
  padding: 1.35rem 1.4rem;
  border-radius: 16px;
  background: rgba(63, 107, 86, 0.07);
  border: 1px solid rgba(63, 107, 86, 0.14);
}

.payment-block h3,
.payment-confirmed h3 {
  margin: 0 0 0.55rem;
  font-family: var(--font-serif);
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}

.payment-lead {
  margin: 0 0 1.15rem;
  color: var(--ink-soft);
}

.payment-options {
  display: grid;
  gap: 0.75rem;
  margin-bottom: 1.15rem;
}

.pay-option {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.75rem;
  align-items: start;
  padding: 1rem 1.05rem;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.75);
  cursor: pointer;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.pay-option.is-selected {
  border-color: var(--leaf);
  box-shadow: 0 0 0 3px rgba(111, 155, 125, 0.18);
}

.pay-option input {
  margin-top: 0.2rem;
  accent-color: var(--sage);
}

.pay-option-body {
  display: grid;
  gap: 0.2rem;
}

.pay-option-title {
  font-weight: 600;
  color: var(--ink);
}

.pay-option-desc {
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.pay-option-amount {
  margin-top: 0.35rem;
  font-weight: 650;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.payment-total-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 1.15rem;
  padding: 0.85rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-size: 1.05rem;
}

.payment-total-row strong {
  font-size: 1.35rem;
  letter-spacing: -0.03em;
}

.payment-form .btn-primary {
  width: 100%;
  background: var(--sage);
  color: #f7faf8;
  box-shadow: none;
  margin-top: 0.25rem;
}

.payment-form .btn-primary:hover {
  background: var(--sage-deep);
}

.cashapp-card {
  margin: 0 0 1.15rem;
  padding: 1.2rem 1.25rem;
  border-radius: 16px;
  background: linear-gradient(145deg, #00d64f 0%, #00a83d 100%);
  color: #06280f;
  box-shadow: 0 14px 30px rgba(0, 182, 70, 0.25);
}

.cashapp-brand {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.8;
}

.cashapp-tag {
  margin: 0.45rem 0 0.15rem;
  font-size: clamp(1.6rem, 4vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
}

.cashapp-name,
.cashapp-phone {
  margin: 0;
  font-size: 0.95rem;
}

.cashapp-phone a {
  color: inherit;
  font-weight: 700;
}

.cashapp-steps {
  margin: 0 0 1.15rem;
  padding-left: 1.2rem;
  color: var(--ink-soft);
  display: grid;
  gap: 0.45rem;
}

.payment-actions {
  display: grid;
  gap: 0.75rem;
}

.payment-actions .btn-primary {
  background: #00c244;
  color: #06280f;
  box-shadow: none;
}

.payment-actions .btn-primary:hover {
  background: #00b03d;
}

.payment-actions .btn-ghost {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.7);
  box-shadow: inset 0 0 0 1px var(--line);
}

.approval-badge {
  display: inline-flex;
  margin: 0 0 0.75rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(0, 194, 68, 0.16);
  color: #0b5c28;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-next-block {
  margin: 0 0 1.5rem;
  padding: 1.35rem 1.4rem;
  border-radius: 16px;
  background: rgba(63, 107, 86, 0.08);
  border: 1px solid rgba(63, 107, 86, 0.14);
}

.contact-next-label {
  margin: 0 0 0.85rem;
  font-weight: 650;
  color: var(--ink);
}

.contact-next-btn {
  display: inline-flex;
  margin: 0 0.55rem 0.55rem 0;
}

.success-panel .contact-next-btn.btn-primary {
  background: var(--sage);
  color: #f7faf8;
  box-shadow: none;
}

.success-panel .contact-next-btn.btn-ghost {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.75);
  box-shadow: inset 0 0 0 1px var(--line);
}

.listing-photo {
  background-color: #d7e0da;
  background-size: cover;
  background-position: center;
}

.listing-gallery {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #d7e0da;
  touch-action: pan-y;
  user-select: none;
  cursor: grab;
}

.listing-gallery:active {
  cursor: grabbing;
}

.gallery-track {
  position: absolute;
  inset: 0;
}

.gallery-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.02);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
  pointer-events: none;
}

.gallery-slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 2.1rem;
  height: 2.1rem;
  border: 0;
  border-radius: 999px;
  background: rgba(244, 247, 245, 0.88);
  color: var(--ink);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(28, 36, 32, 0.18);
}

.gallery-prev {
  left: 0.65rem;
}

.gallery-next {
  right: 0.65rem;
}

.gallery-count {
  position: absolute;
  right: 0.75rem;
  bottom: 0.75rem;
  z-index: 2;
  margin: 0;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  background: rgba(28, 36, 32, 0.62);
  color: #f4f7f5;
  font-size: 0.75rem;
  font-weight: 600;
}

.gallery-dots {
  position: absolute;
  left: 50%;
  bottom: 0.75rem;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  gap: 0.35rem;
}

.gallery-dot {
  width: 0.45rem;
  height: 0.45rem;
  border: 0;
  border-radius: 999px;
  background: rgba(244, 247, 245, 0.55);
  cursor: pointer;
  padding: 0;
}

.gallery-dot.is-active {
  background: #f4f7f5;
  width: 1rem;
}

.listing-photo-empty {
  aspect-ratio: 4 / 3;
}

.approval-letter {
  margin: 1.15rem 0;
  padding: 1.2rem 1.25rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--line);
}

.approval-letter-kicker {
  margin: 0 0 0.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sage);
}

.approval-letter ul {
  margin: 0 0 1rem;
  padding-left: 1.15rem;
  color: var(--ink-soft);
}

.approval-letter p {
  margin: 0 0 0.75rem;
  color: var(--ink-soft);
}

.approval-email-line {
  font-size: 0.9rem;
}

.approval-actions {
  margin-top: 0.5rem;
}

.payment-error {
  margin: 0 0 0.85rem;
  padding: 0.75rem 0.9rem;
  border-radius: 10px;
  background: rgba(163, 72, 72, 0.1);
  color: #7a2f2f;
  font-size: 0.9rem;
}

.payment-note {
  margin: 0.85rem 0 0;
  color: var(--ink-soft);
  font-size: 0.85rem;
}

.success-panel .hero-actions {
  margin-top: 0.5rem;
}

.success-panel .btn-ghost {
  color: var(--ink);
  background: transparent;
  box-shadow: inset 0 0 0 1px var(--line);
}

.success-panel a {
  color: var(--sage-deep);
}

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

@keyframes hero-drift {
  from {
    transform: scale(1.04) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.08) translate3d(-1.5%, -1%, 0);
  }
}

@media (max-width: 900px) {
  .listing-grid,
  .steps {
    grid-template-columns: 1fr;
  }

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

  .progress-panel {
    position: static;
  }

  .progress-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem 1rem;
  }
}

@media (max-width: 720px) {
  .nav a:not(.nav-cta) {
    display: none;
  }

  .hero-copy {
    padding: 5.5rem 0 3.5rem;
  }

  .hero {
    align-items: end;
    min-height: min(88vh, 760px);
  }

  .brand-lockup {
    font-size: clamp(2.3rem, 11vw, 3.2rem);
  }

  .field-grid {
    grid-template-columns: 1fr;
  }

  .cta-inner,
  .lease-form,
  .success-panel {
    padding: 1.4rem;
  }
}

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

  .hero-slide {
    transform: none !important;
  }
}
