/* Hartahub brand palette:
   Navy   #0F2C4C  - primary
   Gold   #C9932A  - accent
   Cream  #F7F5F1  - background
   Ink    #2A2A2A  - text
*/

:root {
  --navy: #0f2c4c;
  --navy-dark: #0a1f37;
  --navy-light: #163a5f;
  --gold: #c9932a;
  --gold-light: #e0b45a;
  --gold-dark: #a97a1f;
  --cream: #f7f5f1;
  --ink: #2a2a2a;
  --gray: #6b7280;
  --border: #e2ddd3;
  --danger: #b3261e;
  --success: #1a7f37;
  --white: #ffffff;
  --font-display: "Plus Jakarta Sans", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --shadow-sm: 0 1px 2px rgba(15, 44, 76, 0.06);
  --shadow-md: 0 8px 24px rgba(15, 44, 76, 0.08);
  --shadow-lg: 0 20px 50px rgba(15, 44, 76, 0.14);
  --radius: 14px;
  --radius-sm: 8px;
  --radius-pill: 999px;
  --container-w: 1160px;
  --header-h: 72px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.6;
}

.container {
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 24px;
}

a {
  color: var(--navy);
}

h1, h2, h3 {
  font-family: var(--font-display);
  color: var(--navy);
  margin-top: 0;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

.hidden {
  display: none !important;
}

/* Skip link (keyboard accessibility) */
.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  background: var(--white);
  color: var(--navy);
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  z-index: 300;
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: var(--shadow-md);
  transition: top 0.2s var(--ease);
}

.skip-link:focus {
  top: 12px;
}

:focus-visible {
  outline: 2px solid var(--gold-dark);
  outline-offset: 2px;
}

/* ================================
   Header / navigation
   ================================ */
.site-header {
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-dark) 100%);
  padding: 0;
  height: var(--header-h);
  display: flex;
  align-items: center;
  position: sticky;
  top: 0;
  /* Must stay above .nav-scrim/.nav-links (z-index 200/210): position:sticky
     creates a stacking context, so a lower value here traps the whole header
     - including the mobile nav-links drawer nested inside it - underneath
     the scrim overlay, silently swallowing every tap on the drawer's links. */
  z-index: 300;
  box-shadow: var(--shadow-md);
}

.header-inner {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.logo {
  font-family: var(--font-display);
  color: var(--white);
  font-size: 1.4rem;
  font-weight: 800;
  text-decoration: none;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}

.logo span {
  color: var(--gold);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.nav-links a,
.nav-links button {
  color: var(--white);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  padding: 4px 0;
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -2px;
  height: 2px;
  background: var(--gold);
  transition: right 0.25s var(--ease);
}

.nav-links a:hover::after {
  right: 0;
}

.nav-links a:hover,
.nav-links button:hover {
  color: var(--gold-light);
}

.nav-links a.active {
  color: var(--gold-light);
}

.nav-links a.active::after {
  right: 0;
}

.nav-links .nav-user {
  color: var(--gold-light);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.nav-links .btn {
  margin-top: 0;
  padding: 9px 18px;
  font-size: 0.85rem;
}

/* Hamburger toggle - hidden on desktop */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
  z-index: 220;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.25s var(--ease), opacity 0.2s var(--ease);
}

body.nav-open .nav-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

body.nav-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

body.nav-open .nav-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-scrim {
  display: none;
}

/* ================================
   Buttons
   ================================ */
.btn {
  border: none;
  border-radius: var(--radius-sm);
  padding: 12px 22px;
  font-size: 0.95rem;
  font-weight: 700;
  font-family: var(--font-display);
  cursor: pointer;
  margin-top: 14px;
  transition: transform 0.15s var(--ease), box-shadow 0.15s var(--ease), background 0.15s var(--ease), border-color 0.15s var(--ease);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  text-decoration: none;
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--gold-light), var(--gold-dark));
  color: var(--navy-dark);
  box-shadow: 0 6px 18px rgba(201, 147, 42, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(201, 147, 42, 0.45);
}

.btn-secondary {
  background: var(--white);
  color: var(--navy);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  border-color: var(--navy);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 15px 30px;
  font-size: 1.02rem;
}

.btn-on-dark {
  background: var(--white);
  color: var(--navy);
}

.btn-on-dark:hover {
  background: var(--cream);
}

.btn-danger {
  background: var(--white);
  color: var(--danger);
  border: 1px solid var(--danger);
  padding: 6px 12px;
  font-size: 0.85rem;
  margin-top: 0;
}

.btn-danger:hover {
  background: var(--danger);
  color: var(--white);
}

.btn-sm {
  padding: 7px 14px;
  font-size: 0.85rem;
  margin-top: 0;
}

.btn-edit {
  background: var(--white);
  border: 1px solid var(--navy);
  color: var(--navy);
}

.btn-edit:hover {
  background: var(--navy);
  color: var(--white);
}

/* ================================
   Forms
   ================================ */
.auth-form,
.stacked-form {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.auth-form label,
.stacked-form label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  margin-top: 8px;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
  width: auto;
  accent-color: var(--gold-dark);
  cursor: pointer;
}

input,
select,
textarea {
  padding: 11px 13px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-family: inherit;
  background: var(--white);
  color: var(--ink);
  transition: border-color 0.15s var(--ease), box-shadow 0.15s var(--ease);
  width: 100%;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--gold-dark);
  box-shadow: 0 0 0 3px rgba(201, 147, 42, 0.18);
}

input::placeholder,
textarea::placeholder {
  color: #9a978f;
}

.form-message {
  min-height: 20px;
  font-size: 0.9rem;
  margin: 4px 0 0;
}

.form-message.error {
  color: var(--danger);
}

.form-message.success {
  color: var(--success);
}

.form-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.form-row > div {
  flex: 1 1 200px;
  display: flex;
  flex-direction: column;
}

.form-row-3 > div {
  flex: 1 1 140px;
}

/* ================================
   Generic page layout
   ================================ */
.page {
  padding: clamp(32px, 5vw, 48px) 0 64px;
}

.page-narrow {
  max-width: 640px;
}

.page h1 {
  font-size: clamp(1.6rem, 3vw, 2rem);
}

.page-subtitle {
  color: var(--gray);
  margin-top: -6px;
}

.hint {
  color: var(--gray);
  font-size: 0.9rem;
}

/* Legal pages (Privacy / Terms) - constrained prose width for readability */
.legal-content {
  max-width: 720px;
}

.legal-content .legal-updated {
  color: var(--gray);
  font-size: 0.88rem;
  margin-top: -8px;
}

.legal-content h2 {
  font-size: 1.2rem;
  margin: 36px 0 10px;
}

.legal-content h2:first-of-type {
  margin-top: 28px;
}

.legal-content p,
.legal-content li {
  color: var(--ink);
  font-size: 0.96rem;
  max-width: 65ch;
}

.legal-content ul {
  padding-left: 20px;
  line-height: 1.8;
}

.legal-content a {
  color: var(--gold-dark);
  font-weight: 600;
}

/* Dashboard stats */
.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin: 20px 0 40px;
}

.dashboard-stat {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 18px;
  text-align: center;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.dashboard-stat:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.stat-number {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--navy);
  font-variant-numeric: tabular-nums;
}

.stat-label {
  color: var(--gray);
  font-size: 0.85rem;
}

/* Filter bar */
.filter-bar {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 20px 0;
  padding: 16px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.filter-bar select {
  min-width: 170px;
  flex: 1 1 170px;
}

.filter-bar input[type="text"],
.filter-bar input[type="number"] {
  min-width: 140px;
  flex: 1 1 140px;
}

/* Collapsible sections (Matches / My Listings / My Buyer Requirements) */
.collapsible {
  margin-top: 8px;
}

.collapsible + .collapsible {
  margin-top: 12px;
  border-top: 1px solid var(--border);
  padding-top: 12px;
}

.section-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  background: none;
  border: none;
  padding: 8px 4px;
  margin: 0;
  cursor: pointer;
  text-align: left;
  border-radius: var(--radius-sm);
  transition: background 0.15s var(--ease);
}

.section-toggle:hover {
  background: rgba(15, 44, 76, 0.04);
}

.section-toggle h2 {
  margin: 0;
}

.section-toggle .chevron {
  flex-shrink: 0;
  color: var(--gray);
  transition: transform 0.25s var(--ease);
}

.collapsible[data-open="false"] .section-toggle .chevron {
  transform: rotate(-90deg);
}

.collapsible-body {
  display: grid;
  grid-template-rows: 1fr;
  transition: grid-template-rows 0.3s var(--ease);
}

.collapsible[data-open="false"] .collapsible-body {
  grid-template-rows: 0fr;
}

.collapsible-body-inner {
  overflow: hidden;
  min-height: 0;
}

/* Card list (listings, requirements, matches) - 3-column grid instead of a
   single stacked column, so agents see more without scrolling. */
.card-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 16px;
}

.card-list > .empty-state,
.card-list > .skeleton-list {
  grid-column: 1 / -1;
}

.data-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
  height: 100%;
  transition: box-shadow 0.2s var(--ease), transform 0.2s var(--ease);
}

.data-card:hover {
  box-shadow: var(--shadow-md);
}

.data-card img {
  width: 120px;
  height: 90px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
  background: var(--cream);
}

.data-card-body {
  flex: 1 1 260px;
  min-width: 0;
}

.data-card-body h3 {
  margin: 0 0 4px;
  font-size: 1.1rem;
}

.data-card-meta {
  color: var(--gray);
  font-size: 0.88rem;
  margin: 4px 0;
  word-break: break-word;
}

.desc-wrap {
  margin: 4px 0;
}

.data-card-description {
  white-space: pre-line;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  overflow: hidden;
}

.desc-wrap.is-expanded .data-card-description {
  -webkit-line-clamp: unset;
  line-clamp: unset;
  display: block;
  overflow: visible;
}

.desc-toggle {
  display: inline-block;
  margin-top: 6px;
  background: none;
  border: none;
  padding: 0;
  color: var(--gold-dark);
  font-weight: 700;
  font-size: 0.85rem;
  font-family: inherit;
  cursor: pointer;
}

.desc-toggle:hover {
  text-decoration: underline;
}

.price-tag {
  display: inline-block;
  color: var(--gold-dark);
  font-weight: 700;
  font-size: 1.05rem;
  font-family: var(--font-display);
  margin: 4px 0;
}

.badge {
  display: inline-block;
  background: var(--cream);
  border: 1px solid var(--border);
  color: var(--navy);
  font-size: 0.78rem;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  margin-right: 6px;
}

.match-card {
  border-left: 4px solid var(--gold);
}

.empty-state {
  color: var(--gray);
  font-style: italic;
}

/* Skeleton loading state */
.skeleton-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 16px;
}

.skeleton-card {
  height: 92px;
  border-radius: var(--radius);
  background: linear-gradient(100deg, #eeebe4 30%, #f7f5f0 50%, #eeebe4 70%);
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.4s ease-in-out infinite;
}

@keyframes skeleton-shimmer {
  0% { background-position: 180% 0; }
  100% { background-position: -20% 0; }
}

/* Toast - replaces window.alert() for inline error/success feedback */
.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translate(-50%, 14px);
  background: var(--navy-dark);
  color: var(--white);
  padding: 13px 22px;
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--gold);
  box-shadow: 0 16px 36px rgba(10, 31, 55, 0.4);
  font-size: 0.9rem;
  font-weight: 600;
  max-width: min(90vw, 380px);
  text-align: left;
  opacity: 0;
  z-index: 400;
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
  pointer-events: none;
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.toast-error {
  border-left-color: var(--danger);
}

/* 404 page */
.not-found-section {
  position: relative;
  background: radial-gradient(circle at 12% 18%, var(--navy-light) 0%, var(--navy) 42%, var(--navy-dark) 100%);
  min-height: calc(100dvh - var(--header-h) - 73px);
  display: flex;
  align-items: center;
  overflow: hidden;
}

.not-found-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 22px 22px;
  opacity: 0.5;
  pointer-events: none;
}

.not-found-inner {
  position: relative;
  max-width: 480px;
  padding: clamp(56px, 10vw, 88px) 0;
}

.not-found-code {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(3.5rem, 9vw, 5.5rem);
  letter-spacing: -0.03em;
  color: var(--gold-light);
  line-height: 1;
  margin-bottom: 8px;
}

.not-found-section h1 {
  color: var(--white);
  font-size: clamp(1.4rem, 2.6vw, 1.8rem);
  margin-bottom: 12px;
}

.not-found-section p {
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 28px;
}

/* Footer */
.site-footer {
  background: var(--navy-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 24px 0;
  text-align: center;
  font-size: 0.85rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 24px;
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.68);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.15s var(--ease);
}

.footer-links a:hover {
  color: var(--gold-light);
}

/* Plan badge (nav + dashboard) */
.plan-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.plan-badge-free {
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.plan-badge-pro {
  background: var(--gold);
  color: var(--navy-dark);
}

.plan-badge-premium {
  background: linear-gradient(120deg, var(--gold-light), var(--gold-dark));
  color: var(--navy-dark);
  border: 1px solid var(--gold);
}

.locked-contact {
  color: var(--gray);
  font-style: italic;
}

.locked-contact a {
  color: var(--gold-dark);
  font-weight: 600;
}

/* Match card - "Co-broke with" line (name + phone only, no email - the
   WhatsApp button already covers contact, so email is just clutter here). */
.cobroke-line {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px;
  font-size: 0.9rem;
  color: var(--ink);
  margin: 6px 0;
}

.cobroke-label {
  color: var(--gray);
  font-size: 0.82rem;
}

.cobroke-phone {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--gray);
  font-size: 0.85rem;
  font-variant-numeric: tabular-nums;
}

.cobroke-phone svg {
  color: var(--gold-dark);
  flex-shrink: 0;
}

/* Pricing page */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin: 24px 0 40px;
  align-items: stretch;
}

.pricing-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  display: flex;
  flex-direction: column;
}

.pricing-card-highlight {
  border: 2px solid var(--gold);
}

.pricing-amount {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--navy);
  margin: 10px 0 16px;
}

.pricing-amount span {
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--gray);
}

.pricing-list {
  margin: 0;
  padding-left: 18px;
  color: var(--ink);
  font-size: 0.92rem;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.upgrade-instructions {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
}

.upgrade-instructions ol {
  padding-left: 20px;
  line-height: 1.8;
}

/* ================================
   Landing page (index.html)
   ================================ */

.eyebrow {
  display: inline-block;
  background: rgba(201, 147, 42, 0.12);
  color: var(--gold-dark);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.76rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 20px;
}

/* Hero */
.hero-v2 {
  position: relative;
  background: radial-gradient(circle at 12% 18%, var(--navy-light) 0%, var(--navy) 42%, var(--navy-dark) 100%);
  padding: clamp(56px, 9vw, 96px) 0 clamp(64px, 10vw, 108px);
  overflow: hidden;
}

.hero-v2::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 22px 22px;
  opacity: 0.5;
  pointer-events: none;
}

.hero-v2::after {
  content: "";
  position: absolute;
  right: -10%;
  top: -20%;
  width: 60%;
  height: 140%;
  background: radial-gradient(circle, rgba(201, 147, 42, 0.16) 0%, transparent 65%);
  pointer-events: none;
}

.hero-v2-inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 50px;
  flex-wrap: wrap;
}

.hero-v2-text {
  flex: 1 1 420px;
}

.hero-v2 .eyebrow {
  background: rgba(255, 255, 255, 0.1);
  color: var(--gold-light);
}

.hero-v2-text h1 {
  color: var(--white);
  font-size: clamp(2.05rem, 4.4vw, 3.1rem);
  line-height: 1.08;
  letter-spacing: -0.025em;
  margin-bottom: 18px;
}

.hero-v2-text p {
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  max-width: 520px;
  margin-bottom: 30px;
}

.cta-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}

.trust-line {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.85rem;
  margin-top: 16px;
}

/* Hero visual - a real listing photo with floating mock cards illustrating
   the live matching flow layered on top */
.hero-visual {
  flex: 1 1 360px;
  position: relative;
  min-height: 340px;
}

.hero-photo-frame {
  position: absolute;
  inset: 0;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-photo-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(200deg, rgba(11, 26, 43, 0.05) 30%, rgba(11, 26, 43, 0.55) 100%);
}

.hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 65%;
  display: block;
}

.mock-card {
  background: var(--white);
  border-radius: 12px;
  padding: 14px 16px;
  box-shadow: var(--shadow-lg);
  width: 210px;
  position: absolute;
  z-index: 2;
  animation: mock-float 6s ease-in-out infinite;
}

/* Cards sit in opposite corners so the photo stays visible through the
   middle, instead of a big white square blocking the house. */
.mock-card-listing {
  top: 20px;
  left: 20px;
  transform: rotate(-4deg);
}

.mock-card-buyer {
  bottom: 20px;
  right: 20px;
  left: auto;
  transform: rotate(3deg);
  animation-delay: -3s;
}

@keyframes mock-float {
  0%, 100% { transform: translateY(0) rotate(var(--rot, -4deg)); }
  50% { transform: translateY(-8px) rotate(var(--rot, -4deg)); }
}

.mock-card-listing { --rot: -4deg; }
.mock-card-buyer { --rot: 3deg; }

.mock-card .badge {
  margin-bottom: 8px;
}

.mock-card strong {
  display: block;
  color: var(--gold-dark);
  font-size: 1.2rem;
  font-family: var(--font-display);
  margin-bottom: 4px;
}

.mock-card .mock-meta {
  color: var(--gray);
  font-size: 0.82rem;
}

.mock-connector {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--gold);
  color: var(--navy-dark);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.78rem;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
  z-index: 2;
}

/* Trust / human element - a real photo paired with the "still agent to
   agent" promise, breaking up the light sections with a dark anchor */
.trust-section {
  position: relative;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
  padding: clamp(56px, 9vw, 88px) 0;
  overflow: hidden;
}

.trust-section::after {
  content: "";
  position: absolute;
  left: -10%;
  bottom: -30%;
  width: 55%;
  height: 140%;
  background: radial-gradient(circle, rgba(201, 147, 42, 0.14) 0%, transparent 65%);
  pointer-events: none;
}

.trust-inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 56px;
  flex-wrap: wrap-reverse;
}

.trust-photo {
  flex: 1 1 380px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.trust-photo img {
  width: 100%;
  height: 100%;
  max-height: 420px;
  object-fit: cover;
  display: block;
}

.trust-text {
  flex: 1 1 420px;
}

.eyebrow-light {
  background: rgba(255, 255, 255, 0.1);
  color: var(--gold-light);
}

.trust-text h2 {
  color: var(--white);
  font-size: clamp(1.6rem, 3.2vw, 2.15rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 14px 0 16px;
}

.trust-text > p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.05rem;
  margin-bottom: 26px;
  max-width: 480px;
}

.trust-points {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.trust-points li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.98rem;
}

.trust-points svg {
  flex-shrink: 0;
  color: var(--gold-light);
  margin-top: 2px;
}

/* Generic section spacing */
.section {
  padding: clamp(48px, 8vw, 76px) 0;
}

.section-alt {
  background: var(--white);
}

.section-heading {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 44px;
}

.section-heading h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.section-heading p {
  color: var(--gray);
  font-size: 1.05rem;
}

/* Pain points - asymmetric bento (1 featured + 2 stacked) instead of 3 equal columns */
.pain-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  grid-template-rows: auto auto;
  gap: 20px;
}

.pain-card {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.pain-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}

.pain-card:first-child {
  grid-row: 1 / 3;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: linear-gradient(160deg, var(--navy-dark), var(--navy));
  border-color: var(--navy);
}

.pain-card:first-child h3,
.pain-card:first-child p {
  color: var(--white);
}

.pain-card:first-child p {
  color: rgba(255, 255, 255, 0.72);
}

.pain-card:first-child .pain-icon {
  background: rgba(255, 255, 255, 0.12);
  color: var(--gold-light);
}

.pain-card .pain-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(179, 38, 30, 0.1);
  color: var(--danger);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  font-family: var(--font-display);
  font-weight: 800;
}

.pain-card h3 {
  font-size: 1.08rem;
  margin-bottom: 8px;
}

.pain-card p {
  color: var(--gray);
  font-size: 0.92rem;
  margin: 0;
}

/* How it works - numbered steps with a connecting rhythm line */
.steps-row {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  counter-reset: step;
  position: relative;
}

.step {
  flex: 1 1 260px;
  position: relative;
  padding-top: 8px;
}

.step:nth-child(2) {
  margin-top: 28px;
}

.step-number {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-light), var(--gold-dark));
  color: var(--navy-dark);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  box-shadow: var(--shadow-md);
  position: relative;
  z-index: 1;
}

.step h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.step p {
  color: var(--gray);
  font-size: 0.94rem;
  margin: 0;
}

/* Feature grid - bento with one featured tile instead of 6 equal cards */
.feature-grid-v2 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature-tile {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.feature-tile:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.feature-tile:first-child {
  grid-column: span 2;
  background: linear-gradient(150deg, var(--navy) 0%, var(--navy-dark) 100%);
  border-color: var(--navy);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.feature-tile:first-child h3,
.feature-tile:first-child p {
  color: var(--white);
}

.feature-tile:first-child p {
  color: rgba(255, 255, 255, 0.72);
  max-width: 46ch;
}

.feature-tile:first-child .feature-icon {
  background: rgba(255, 255, 255, 0.12);
  color: var(--gold-light);
}

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--navy);
  color: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.feature-tile h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.feature-tile p {
  color: var(--gray);
  font-size: 0.9rem;
  margin: 0;
}

/* Pricing teaser */
.pricing-teaser-grid {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 1040px;
  margin: 0 auto;
}

.pricing-mini {
  display: flex;
  flex-direction: column;
  flex: 1 1 280px;
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  transition: transform 0.2s var(--ease);
}

.pricing-mini:hover {
  transform: translateY(-3px);
}

.pricing-mini-highlight {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}

.pricing-mini-highlight h3,
.pricing-mini-highlight .pricing-mini-amount {
  color: var(--white);
}

.pricing-mini-premium {
  background: linear-gradient(160deg, var(--navy-dark), var(--navy));
  border: 2px solid var(--gold);
  color: var(--white);
}

.pricing-mini-premium h3,
.pricing-mini-premium .pricing-mini-amount {
  color: var(--gold-light);
}

.pricing-mini-premium ul {
  color: rgba(255, 255, 255, 0.85);
}

.pricing-card-premium {
  background: linear-gradient(160deg, var(--navy-dark), var(--navy));
  border: 2px solid var(--gold);
  color: var(--white);
}

.pricing-card-premium h3 {
  color: var(--gold-light);
}

.pricing-card-premium .pricing-amount {
  color: var(--gold-light);
}

.pricing-card-premium .pricing-amount span {
  color: rgba(255, 255, 255, 0.6);
}

.pricing-card-premium .pricing-list {
  color: rgba(255, 255, 255, 0.85);
}

.coming-soon-badge {
  display: inline-block;
  background: rgba(201, 147, 42, 0.18);
  color: var(--gold-light);
  font-size: 0.68rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  margin-left: 6px;
  vertical-align: middle;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.pricing-card .coming-soon-badge {
  color: var(--gold-dark);
}

.verified-tick {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--white);
  font-size: 10px;
  margin-left: 4px;
  vertical-align: middle;
}

.pricing-mini-amount {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--navy);
  margin: 8px 0 14px;
}

.pricing-mini-amount span {
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--gray);
}

.pricing-mini ul {
  padding-left: 18px;
  margin: 0 0 18px;
  font-size: 0.9rem;
  line-height: 1.8;
}

.pricing-mini-highlight ul {
  color: rgba(255, 255, 255, 0.85);
}

.pricing-mini ul {
  flex-grow: 1;
}

.pricing-mini .btn {
  width: 100%;
  text-align: center;
}

.pricing-mini-per {
  margin: -8px 0 14px;
  font-size: 0.82rem;
  color: var(--gray);
}

.pricing-mini-highlight .pricing-mini-per,
.pricing-mini-premium .pricing-mini-per {
  color: rgba(255, 255, 255, 0.68);
}

.pricing-note {
  text-align: center;
  color: var(--gray);
  font-size: 0.88rem;
  max-width: 620px;
  margin: 24px auto 0;
}

/* Sales-page flow additions: promo ribbon, hero ticks, per-section CTA,
   real-number strip, value callout, FAQ */
.promo-ribbon {
  background: linear-gradient(90deg, var(--gold-dark), var(--gold-light), var(--gold-dark));
  color: var(--navy-dark);
  text-align: center;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 8px 14px;
}

.check-list {
  list-style: none;
  display: grid;
  gap: 10px;
  margin: 0 0 28px;
  padding: 0;
  max-width: 520px;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.98rem;
  font-weight: 500;
}

.check-list svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--gold-light);
}

.section-cta {
  text-align: center;
  margin-top: 36px;
}

.stat-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  max-width: 900px;
  margin: 0 auto;
}

.stat {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 16px;
  text-align: center;
}

.stat-num {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.4vw, 2.2rem);
  font-weight: 800;
  color: var(--gold-dark);
  line-height: 1.1;
  margin-bottom: 6px;
}

.stat-label {
  color: var(--gray);
  font-size: 0.86rem;
}

.value-callout {
  max-width: 720px;
  margin: 0 auto 32px;
  background: var(--cream);
  border: 1px solid var(--border);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius);
  padding: 18px 22px;
  font-size: 1rem;
  color: var(--ink);
}

.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
}

.faq-list details {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0 20px;
}

.faq-list summary {
  cursor: pointer;
  list-style: none;
  padding: 16px 28px 16px 0;
  font-weight: 600;
  color: var(--navy);
  position: relative;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.3rem;
  color: var(--gold-dark);
}

.faq-list details[open] summary::after {
  content: "\2212";
}

.faq-list details p {
  margin: 0 0 18px;
  color: var(--gray);
  font-size: 0.95rem;
}

@media (max-width: 720px) {
  .stat-strip {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Get-started section (auth form) */
.get-started-section {
  background: linear-gradient(180deg, var(--white) 0%, var(--cream) 100%);
  padding: clamp(56px, 9vw, 88px) 0;
}

.get-started-inner {
  display: flex;
  justify-content: center;
}

.auth-card {
  flex: 1 1 340px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
  max-width: 420px;
  width: 100%;
  box-shadow: var(--shadow-lg);
}

.auth-tabs {
  display: flex;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border);
}

.auth-tab {
  flex: 1;
  padding: 10px;
  background: none;
  border: none;
  font-size: 1rem;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--gray);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: color 0.15s var(--ease), border-color 0.15s var(--ease);
}

.auth-tab.active {
  color: var(--navy);
  border-bottom-color: var(--gold);
}

/* Final CTA banner */
.final-cta {
  position: relative;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
  padding: clamp(48px, 8vw, 72px) 0;
  text-align: center;
  overflow: hidden;
}

.final-cta::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -60%;
  width: 480px;
  height: 480px;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(201, 147, 42, 0.18) 0%, transparent 70%);
  pointer-events: none;
}

.final-cta h2 {
  position: relative;
  color: var(--white);
  font-size: clamp(1.5rem, 3vw, 1.9rem);
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.final-cta p {
  position: relative;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 26px;
}

.final-cta .btn {
  position: relative;
}

/* Scroll-reveal (motivated: guides attention down the page on first view) */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .mock-card {
    animation: none;
  }
}

/* Premium plan badge (nav + dashboard) */
.plan-badge-premium {
  background: linear-gradient(120deg, var(--navy-dark), var(--navy));
  color: var(--gold-light);
  border: 1px solid var(--gold);
}

/* Listing/requirement card clean layout - photo, title, location, price */
.data-card-clean {
  flex-direction: column;
  align-items: stretch;
  padding: 0;
  overflow: hidden;
}

.data-card-clean .data-card-photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  height: auto;
  object-fit: cover;
  background: var(--cream);
  display: block;
}

.data-card-clean .data-card-photo-placeholder {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: repeating-linear-gradient(135deg, var(--cream), var(--cream) 10px, #f1ede4 10px, #f1ede4 20px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray);
  font-size: 0.85rem;
}

.data-card-clean .data-card-body {
  padding: 16px 20px 20px;
}

.data-card-clean .data-card-title-row {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.data-card-clean .data-card-title-row h3 {
  margin: 0;
}

.data-card-location {
  color: var(--gray);
  font-size: 0.9rem;
  margin: 4px 0 8px;
}

/* Small info tags: days on platform, price drop, commission, status */
.tag-row {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin: 8px 0;
}

.info-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: var(--radius-pill);
  background: var(--cream);
  color: var(--navy);
  border: 1px solid var(--border);
}

.info-tag-days {
  color: var(--gray);
}

.info-tag-price-drop {
  background: rgba(34, 139, 87, 0.12);
  color: #1e7e4f;
  border-color: rgba(34, 139, 87, 0.3);
}

.info-tag-loan-checked {
  background: rgba(34, 139, 87, 0.14);
  color: #1e7e4f;
  border-color: rgba(34, 139, 87, 0.35);
  font-weight: 700;
}

.info-tag-commission {
  background: rgba(201, 147, 42, 0.14);
  color: var(--gold-dark);
  border-color: rgba(201, 147, 42, 0.35);
}

.info-tag-closed {
  background: rgba(120, 120, 120, 0.14);
  color: var(--gray);
  border-color: var(--border);
}

/* Card action buttons (edit / mark closed / delete) */
.card-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 12px;
}

/* Match card - percentage score badge */
.match-header {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 4px;
}

.match-header h3 {
  margin: 0;
}

.match-score-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 11px;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 700;
  font-family: var(--font-display);
  white-space: nowrap;
}

.match-score-high {
  background: rgba(34, 139, 87, 0.14);
  color: #1e7e4f;
}

.match-score-medium {
  background: rgba(201, 147, 42, 0.16);
  color: var(--gold-dark);
}

.match-score-low {
  background: rgba(120, 120, 120, 0.14);
  color: var(--gray);
}

/* Match card - "ask for viewing" nudge + direct WhatsApp co-broke button */
.match-cta {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  width: 100%;
}

.match-cta-text {
  margin: 0 0 10px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy);
}

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #25d366;
  color: #fff;
  box-shadow: 0 6px 16px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
  background: #20bd5a;
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(37, 211, 102, 0.4);
}

.btn-whatsapp svg {
  flex-shrink: 0;
}

/* Commission dashboard section */
.commission-grid {
  margin: 12px 0 32px;
}

.dashboard-stat-commission {
  background: linear-gradient(160deg, var(--navy-dark), var(--navy));
  border-color: var(--navy);
}

.dashboard-stat-commission .stat-number {
  color: var(--gold-light);
}

.dashboard-stat-commission .stat-label {
  color: rgba(255, 255, 255, 0.75);
}

/* Spacing utilities - small, page-specific gaps that don't warrant their
   own named component (profile page section break, upgrade page hint) */
.section-break {
  margin-top: 40px;
}

.phone-gate {
  max-width: 420px;
  margin: 0 0 28px;
}

.hint-spaced {
  margin-top: 20px;
}

/* Photo upload widget on post-listing */
#photo-upload-wrap input[type="file"] {
  border: 1px dashed var(--border);
  border-radius: var(--radius-sm);
  padding: 10px;
  background: var(--cream);
  width: 100%;
}

/* ================================
   Responsive - tablet
   ================================ */
@media (max-width: 1024px) {
  :root {
    --header-h: 64px;
  }

  .pain-grid {
    grid-template-columns: 1fr;
    grid-template-rows: none;
  }

  .pain-card:first-child {
    grid-row: auto;
  }

  .feature-grid-v2 {
    grid-template-columns: repeat(2, 1fr);
  }

  .feature-tile:first-child {
    grid-column: span 2;
  }

  .hero-visual {
    min-height: 260px;
  }

  .trust-inner {
    gap: 34px;
  }

  .trust-photo img {
    max-height: 320px;
  }

  .card-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ================================
   Responsive - mobile nav drawer
   ================================ */
@media (max-width: 860px) {
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(320px, 82vw);
    background: linear-gradient(180deg, var(--navy) 0%, var(--navy-dark) 100%);
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: calc(var(--header-h) + 24px) 26px 26px;
    transform: translateX(100%);
    transition: transform 0.35s var(--ease);
    z-index: 210;
    overflow-y: auto;
    box-shadow: -12px 0 40px rgba(0, 0, 0, 0.25);
  }

  body.nav-open .nav-links {
    transform: translateX(0);
  }

  .nav-links a,
  .nav-links button {
    width: 100%;
    padding: 12px 0;
    font-size: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .nav-links a::after {
    display: none;
  }

  .nav-links .btn {
    width: 100%;
    text-align: center;
    border-bottom: none;
  }

  .nav-links .nav-user {
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    flex-wrap: wrap;
  }

  .nav-scrim {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(10, 20, 30, 0.45);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s var(--ease);
    z-index: 200;
  }

  body.nav-open .nav-scrim {
    opacity: 1;
    pointer-events: auto;
  }

  body.nav-open {
    overflow: hidden;
  }
}

/* ================================
   Responsive - mobile
   ================================ */
@media (max-width: 720px) {
  .hero-visual {
    display: none;
  }

  .section {
    padding: 44px 0;
  }

  .feature-grid-v2 {
    grid-template-columns: 1fr;
  }

  .feature-tile:first-child {
    grid-column: auto;
  }

  .step:nth-child(2) {
    margin-top: 0;
  }
}

@media (max-width: 600px) {
  .container {
    padding: 0 18px;
  }

  .hero-v2 {
    padding: 40px 0 52px;
  }

  .get-started-section {
    padding: 48px 0;
  }

  .auth-card {
    padding: 24px 20px;
  }

  .dashboard-grid,
  .pricing-grid,
  .card-list {
    grid-template-columns: 1fr;
  }

  /* Keep listing cards compact on mobile - photo, title, location, price,
     and status tags only. Description and agent contact text add scroll
     without adding scanability on a small screen. */
  .data-card-clean .info-tag-days {
    display: none;
  }

  .data-card-description {
    -webkit-line-clamp: 2;
    line-clamp: 2;
  }

  .data-card-clean .data-card-body {
    padding: 14px 16px 16px;
  }

  .filter-bar {
    flex-direction: column;
    align-items: stretch;
  }

  .filter-bar select,
  .filter-bar input {
    min-width: 0;
    width: 100%;
  }

  .data-card:not(.data-card-clean) img {
    width: 100%;
    height: 160px;
  }

  .cta-row {
    flex-direction: column;
    align-items: stretch;
  }

  .cta-row .btn {
    text-align: center;
  }
}
