:root {
  --teal: #0D7B5E;
  --teal-light: #E8F5F1;
  --teal-mid: #1A9E7A;
  --teal-dark: #085040;
  --amber: #E8860A;
  --amber-light: #FEF3E2;
  --blue: #1B5E96;
  --blue-light: #EBF3FC;
  --ink: #111A16;
  --ink-60: #5A6962;
  --ink-30: #B0BAB5;
  --surface: #F7FAF9;
  --white: #FFFFFF;
  --border: #DDE8E3;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 2px 12px rgba(0,0,0,0.07);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.10);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'DM Sans', sans-serif; background: var(--surface); color: var(--ink); line-height: 1.6; }

/* Skip to content — hidden until focused (accessibility + mobile screen readers) */
.skip-to-content {
  position: absolute;
  top: -100px;
  left: 1rem;
  z-index: 9999;
  background: var(--teal);
  color: var(--white);
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  transition: top 0.2s;
}
.skip-to-content:focus { top: 1rem; }

/* ── NAV ── */
.site-nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(247,250,249,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0 2rem;
  display: flex; align-items: center; justify-content: space-between;
  height: 80px;
}
.nav-logo {
  display: flex; align-items: center;
  text-decoration: none; flex-shrink: 0;
}
/* Logo image — height constrained to fit nav; width auto-scales */
.nav-logo-img {
  display: block;
  height: 70px;
  width: auto;
  /* If your logo PNG still has a black background, swap the two lines below:
     Remove the border-radius line and uncomment mix-blend-mode to blend
     the black away on light backgrounds — or ideally use a transparent PNG. */
  border-radius: 6px;          /* softens corners if black bg is still present */
  /* mix-blend-mode: multiply; */ /* uncomment this & remove border-radius once you have transparent PNG */
  object-fit: contain;
}
/* Hide legacy dot */
.nav-logo .dot { display: none; }
.nav-logo-text {
  font-family: 'DM Serif Display', serif;
  font-size: 1.4rem;
  color: var(--teal-dark);
  white-space: nowrap;
}
.nav-links { display: flex; align-items: center; gap: 2rem; list-style: none; }
.nav-links a { font-size: 0.9rem; color: var(--ink-60); text-decoration: none; transition: color 0.15s; }
.nav-links a:hover { color: var(--ink); }
.nav-cta { display: flex; gap: 10px; align-items: center; }

/* ── BUTTONS ── */
.btn {
  padding: 9px 20px; border-radius: var(--radius-sm);
  font-family: 'DM Sans', sans-serif; font-size: 0.875rem; font-weight: 500;
  cursor: pointer; border: none; transition: all 0.18s;
  text-decoration: none; display: inline-flex; align-items: center; gap: 6px;
}
.btn-ghost { background: transparent; color: var(--ink-60); border: 1px solid var(--border); }
.btn-ghost:hover { background: var(--white); color: var(--ink); }
.btn-primary { background: var(--teal); color: var(--white); }
.btn-primary:hover { background: var(--teal-dark); transform: translateY(-1px); }
.btn-amber { background: var(--amber); color: var(--white); }
.btn-amber:hover { filter: brightness(0.92); transform: translateY(-1px); }
.btn-outline-teal { background: transparent; color: var(--teal); border: 1.5px solid var(--teal); }
.btn-outline-teal:hover { background: var(--teal-light); }
.btn-white { background: var(--white); color: var(--teal-dark); font-weight: 500; }
.btn-white:hover { background: var(--teal-light); }
.btn-lg { padding: 14px 28px; font-size: 1rem; border-radius: var(--radius); }

/* ── HERO ── */
.hero {
  padding: 80px 2rem 60px; max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--teal-light); color: var(--teal-dark);
  font-size: 0.8rem; font-weight: 500; letter-spacing: 0.04em;
  padding: 5px 12px; border-radius: 20px; margin-bottom: 20px;
}
.eyebrow-dot { width: 6px; height: 6px; background: var(--teal-mid); border-radius: 50%; }
.hero h1 { font-family: 'DM Serif Display', serif; font-size: 3.2rem; line-height: 1.1; color: var(--ink); margin-bottom: 20px; }
.hero h1 em { font-style: italic; color: var(--teal); }
.hero-sub { font-size: 1.05rem; color: var(--ink-60); line-height: 1.7; margin-bottom: 32px; font-weight: 300; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.hero-stats { display: flex; gap: 28px; margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--border); }
.hero-stat-num { font-family: 'DM Serif Display', serif; font-size: 1.8rem; color: var(--teal-dark); }
.hero-stat-label { font-size: 0.78rem; color: var(--ink-60); margin-top: 2px; line-height: 1.4; }
.stat-divider { width: 1px; background: var(--border); }

/* ── HERO VISUAL ── */
.hero-visual { position: relative; }
.match-card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 20px; box-shadow: var(--shadow-lg);
}
.match-card-header { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.match-avatar { width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 500; font-size: 0.9rem; }
.match-name { font-weight: 500; font-size: 0.9rem; }
.match-loc { font-size: 0.78rem; color: var(--ink-60); }
.match-score-badge { margin-left: auto; background: var(--teal-light); color: var(--teal-dark); font-size: 0.78rem; font-weight: 500; padding: 4px 10px; border-radius: 20px; }
.match-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.tag { font-size: 0.75rem; padding: 3px 9px; border-radius: 20px; background: var(--surface); color: var(--ink-60); border: 1px solid var(--border); }
.match-connect-btn { width: 100%; padding: 10px; background: var(--teal); color: white; border: none; border-radius: var(--radius-sm); font-family: 'DM Sans', sans-serif; font-size: 0.875rem; font-weight: 500; cursor: pointer; transition: background 0.15s; }
.match-connect-btn:hover { background: var(--teal-dark); }
.match-connect-btn:disabled { background: var(--teal); cursor: default; }
.floating-pill { position: absolute; background: var(--white); border: 1px solid var(--border); border-radius: 20px; padding: 8px 14px; font-size: 0.8rem; box-shadow: var(--shadow); white-space: nowrap; display: flex; align-items: center; gap: 6px; z-index: 2; }
.pill-dot { width: 8px; height: 8px; border-radius: 50%; }
.pill-1 { top: -20px; right: -10px; }
.pill-2 { bottom: -16px; left: -10px; }

/* ── SECTIONS ── */
section { padding: 70px 2rem; }
.section-inner { max-width: 1100px; margin: 0 auto; }
.section-label { font-size: 0.78rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--teal); margin-bottom: 12px; }
.section-title { font-family: 'DM Serif Display', serif; font-size: 2.4rem; color: var(--ink); margin-bottom: 16px; }
.section-sub { font-size: 1rem; color: var(--ink-60); font-weight: 300; max-width: 540px; line-height: 1.7; }

/* ── HOW IT WORKS ── */
.section-how { background: var(--white); }

/* How-it-works tabs — pill toggle style */
.how-tabs-wrap { display: flex; justify-content: center; margin: 40px 0 0; }
.how-tabs {
  display: inline-flex;
  gap: 0;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: 50px;
  padding: 4px;
}
.how-tab {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 28px;
  border-radius: 50px;
  border: none;
  background: transparent;
  color: var(--ink-60);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}
.how-tab:hover { color: var(--teal); }
.how-tab--active {
  background: var(--teal);
  color: var(--white);
  box-shadow: 0 2px 10px rgba(13,123,94,0.22);
}
.how-tab--active:hover { background: var(--teal-dark); color: var(--white); }
.how-tab-icon { font-size: 1rem; }

/* How-it-works panels */
@keyframes howFadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}
.how-panel { margin-top: 40px; }
.how-panel--hidden { display: none; }
.how-panel--entering { animation: howFadeIn 0.35s ease forwards; }

/* Steps row with connectors */
.steps-row { display: flex; align-items: flex-start; gap: 0; }
.steps-row .step { flex: 1; padding: 28px; border-radius: var(--radius); border: 1px solid var(--border); background: var(--surface); transition: transform 0.2s, box-shadow 0.2s; }
.steps-row .step:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.step-arrow { flex-shrink: 0; width: 48px; display: flex; align-items: center; justify-content: center; font-size: 1.3rem; color: var(--ink-30); padding-top: 36px; }

/* Step badge (numbered circle) */
.step-badge { width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.85rem; font-weight: 600; margin-bottom: 18px; flex-shrink: 0; }
.step-badge--teal { background: var(--teal-light); color: var(--teal-dark); }
.step-badge--blue { background: var(--blue-light); color: var(--blue); }
.step-badge--amber { background: var(--amber-light); color: #7A4400; }
.steps-row .step h3 { font-size: 1.02rem; font-weight: 500; margin-bottom: 6px; }
.step-cue { font-size: 0.78rem; font-weight: 600; color: var(--teal-dark); letter-spacing: 0.02em; margin-bottom: 10px; opacity: 0.85; }
.steps-row .step p { font-size: 0.875rem; color: var(--ink-60); line-height: 1.65; }

/* How panel CTA */
.how-panel-cta { display: flex; justify-content: center; margin-top: 36px; }

/* How trust line */
.how-trust-line {
  text-align: center;
  margin-top: 28px;
  font-size: 0.85rem;
  color: var(--ink-60);
  letter-spacing: 0.01em;
}

/* ── TABS ── */
.tab-nav { display: flex; border-bottom: 1px solid var(--border); margin-top: 36px; margin-bottom: 40px; }
.tab-btn { padding: 12px 24px; font-family: 'DM Sans', sans-serif; font-size: 0.9rem; background: none; border: none; cursor: pointer; color: var(--ink-60); border-bottom: 2px solid transparent; margin-bottom: -1px; transition: all 0.15s; }
.tab-btn.active { color: var(--teal); border-bottom-color: var(--teal); font-weight: 500; }
.tab-content { display: none; }
.tab-content.active { display: block; }

/* ── PARTICIPANT VIEW ── */
.participant-layout { display: grid; grid-template-columns: 300px 1fr; gap: 28px; }
.profile-builder { background: var(--white); border-radius: var(--radius); border: 1px solid var(--border); padding: 24px; }
.profile-builder h4 { font-size: 0.95rem; font-weight: 500; margin-bottom: 20px; }
.form-group { margin-bottom: 18px; }
.form-label { display: block; font-size: 0.78rem; font-weight: 500; color: var(--ink-60); margin-bottom: 7px; }
.form-select, .form-input { width: 100%; padding: 9px 12px; border: 1px solid var(--border); border-radius: var(--radius-sm); font-family: 'DM Sans', sans-serif; font-size: 0.875rem; background: var(--surface); color: var(--ink); transition: border-color 0.15s; appearance: none; }
.form-select:focus, .form-input:focus { border-color: var(--teal); background: var(--white); }
.form-select:focus-visible, .form-input:focus-visible { outline: 3px solid var(--teal); outline-offset: 1px; }
.chip-group { display: flex; flex-wrap: wrap; gap: 7px; }
.chip { padding: 5px 12px; border-radius: 20px; font-size: 0.78rem; cursor: pointer; border: 1px solid var(--border); background: var(--surface); color: var(--ink-60); transition: all 0.15s; user-select: none; }
.chip.selected { background: var(--teal-light); color: var(--teal-dark); border-color: var(--teal); }
.results-panel { display: flex; flex-direction: column; gap: 14px; }
.result-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; display: flex; gap: 16px; align-items: flex-start; transition: all 0.2s; cursor: pointer; position: relative; overflow: hidden; }
.result-card::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--teal-mid); transform: scaleY(0); transition: transform 0.2s; transform-origin: top; }
.result-card:hover { box-shadow: var(--shadow); border-color: var(--teal-mid); }
.result-card:hover::before { transform: scaleY(1); }
.result-avatar { width: 48px; height: 48px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 500; font-size: 0.95rem; flex-shrink: 0; }
.result-home-icon { width: 48px; height: 48px; border-radius: var(--radius-sm); background: var(--teal-light); display: flex; align-items: center; justify-content: center; font-size: 1.4rem; flex-shrink: 0; }
.matched-homes-wrap { margin-top: 32px; margin-bottom: 52px; }
.matched-homes-header { margin-bottom: 20px; }
.result-body { flex: 1; }
.result-name { font-weight: 500; font-size: 0.95rem; margin-bottom: 4px; }
.result-meta { font-size: 0.82rem; color: var(--ink-60); margin-bottom: 10px; }
.result-footer { display: flex; align-items: center; justify-content: space-between; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--surface); }
.compat-bar-wrap { flex: 1; margin-right: 16px; }
.compat-label { font-size: 0.75rem; color: var(--ink-60); margin-bottom: 4px; display: flex; justify-content: space-between; }
.compat-bar { height: 5px; background: var(--border); border-radius: 3px; overflow: hidden; }
.compat-fill { height: 100%; background: var(--teal-mid); border-radius: 3px; transition: width 0.6s ease; }
.result-suitability-row { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.suit-factor { font-size: 0.75rem; padding: 3px 8px; border-radius: 20px; font-weight: 500; }
.suit-factor--cat { background: var(--teal-light); color: var(--teal-dark); border: 1px solid var(--teal); }
.suit-factor--loc { background: var(--surface); color: var(--ink-60); border: 1px solid var(--border); }
.connect-btn { padding: 6px 14px; background: var(--teal-light); color: var(--teal-dark); border: 1px solid var(--teal); border-radius: var(--radius-sm); font-size: 0.8rem; font-family: 'DM Sans', sans-serif; cursor: pointer; font-weight: 500; transition: all 0.15s; white-space: nowrap; }
.connect-btn:hover { background: var(--teal); color: white; }
.empty-state { text-align: center; padding: 60px 20px; color: var(--ink-30); background: var(--white); border-radius: var(--radius); border: 1px dashed var(--border); }
.empty-state p { font-size: 0.9rem; margin-top: 8px; }

/* ── DEVELOPER VIEW ── */
.developer-layout { display: grid; grid-template-columns: 1fr 380px; gap: 28px; }
.demand-map-placeholder { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; height: 420px; position: relative; }
.map-bg { width: 100%; height: 100%; background: radial-gradient(circle at 35% 45%, rgba(13,123,94,0.08) 0%, transparent 40%), radial-gradient(circle at 65% 35%, rgba(27,94,150,0.06) 0%, transparent 35%), radial-gradient(circle at 55% 65%, rgba(232,134,10,0.07) 0%, transparent 30%), linear-gradient(135deg, #f0f8f5 0%, #eef4fb 100%); position: relative; display: flex; align-items: center; justify-content: center; }
.maptip { position: absolute; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 8px 12px; font-size: 0.78rem; box-shadow: var(--shadow); pointer-events: none; z-index: 10; }
.maptip strong { display: block; font-size: 0.82rem; color: var(--ink); }
.maptip span { color: var(--ink-60); }
.pulse-dot { border-radius: 50%; position: absolute; transform: translate(-50%, -50%); cursor: pointer; }
.pulse-dot::after { content: ''; position: absolute; inset: -6px; border-radius: 50%; border: 1.5px solid rgba(13,123,94,0.4); animation: pulse 2.5s ease-out infinite; }
@keyframes pulse { 0%{transform:scale(0.7);opacity:0.6} 100%{transform:scale(2);opacity:0} }
.dot-label { position: absolute; inset: 0; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: white; font-size: 0.7rem; font-weight: 500; }
.map-legend { position: absolute; bottom: 14px; left: 14px; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 10px 14px; font-size: 0.75rem; display: flex; flex-direction: column; gap: 6px; }
.legend-title { font-size: 0.7rem; font-weight: 500; color: var(--ink); margin-bottom: 2px; }
.legend-row { display: flex; align-items: center; gap: 7px; color: var(--ink-60); }
.legend-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.demand-sidebar { display: flex; flex-direction: column; gap: 14px; }
.demand-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; }
.demand-card h4 { font-size: 0.82rem; font-weight: 500; color: var(--ink-60); margin-bottom: 14px; text-transform: uppercase; letter-spacing: 0.06em; }
.demand-row { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.demand-row:last-of-type { margin-bottom: 0; }
.demand-row-label { font-size: 0.82rem; color: var(--ink); flex: 1; }
.demand-count { font-size: 0.82rem; font-weight: 500; color: var(--ink); min-width: 28px; text-align: right; }
.mini-bar { flex: 2; height: 5px; background: var(--border); border-radius: 3px; overflow: hidden; }
.mini-fill { height: 100%; border-radius: 3px; }
.insight-banner { background: linear-gradient(135deg, var(--teal-light), #dff0f9); border: 1px solid var(--teal); border-radius: var(--radius); padding: 18px; }
.insight-banner h4 { font-size: 0.82rem; font-weight: 500; color: var(--teal-dark); margin-bottom: 8px; }
.insight-banner p { font-size: 0.83rem; color: var(--teal-dark); line-height: 1.55; }
.demand-intro { font-size: 0.82rem; color: var(--ink-60); margin-bottom: 10px; }
.pre-match-item { padding: 10px; background: var(--surface); border-radius: var(--radius-sm); margin-bottom: 8px; }
.pre-match-title { font-size: 0.82rem; font-weight: 500; margin-bottom: 3px; }
.pre-match-sub { font-size: 0.78rem; color: var(--ink-60); }

/* ── PRICING ── */
.section-pricing { background: var(--white); }
.pricing-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 24px; max-width: 760px; margin: 52px auto 0; }
/* 3-column variant (Participant / Home Owner / Provider) */
.pricing-grid--3 { grid-template-columns: repeat(3,1fr); max-width: 1100px; }
.pricing-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; position: relative; transition: transform 0.2s, box-shadow 0.2s; }
.pricing-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.pricing-featured { background: var(--teal-dark); color: var(--white); border-color: var(--teal-dark); }
.pricing-featured .pricing-label { color: rgba(255,255,255,0.7); }
.pricing-featured .pricing-price { color: var(--white); }
.pricing-featured .pricing-sub { color: rgba(255,255,255,0.65); }
.pricing-featured .pricing-feature { color: rgba(255,255,255,0.85); border-color: rgba(255,255,255,0.12); }
.pricing-featured .pricing-feature::before { color: rgba(255,255,255,0.5); }
.pricing-badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--amber); color: white; font-size: 0.72rem; font-weight: 500; padding: 4px 14px; border-radius: 20px; white-space: nowrap; }
.pricing-badge--navy { background: #0C447C; }
.pricing-label { font-size: 0.8rem; font-weight: 500; color: var(--ink-60); margin-bottom: 10px; }
.pricing-price { font-family: 'DM Serif Display', serif; font-size: 2.6rem; color: var(--ink); line-height: 1; margin-bottom: 4px; }
.pricing-price sup { font-size: 1.2rem; vertical-align: super; }
.pricing-price-period { font-family: inherit; font-size: 1rem; font-weight: 400; color: var(--ink-60); }
/* Premium (paid) pricing card */
.pricing-premium { border: 2px solid #0C447C; background: #F0F5FB; }
.pricing-premium .pricing-label { color: #0C447C; }
.pricing-premium .pricing-price { color: #0C447C; }
.pricing-premium .pricing-price-period { color: #5A7FA8; }
.pricing-premium .pricing-feature::before { color: #0C447C; }
.pricing-sub { font-size: 0.82rem; color: var(--ink-60); margin-bottom: 24px; }
.pricing-features { list-style: none; margin-bottom: 24px; }
.pricing-feature { font-size: 0.875rem; padding: 8px 0; border-bottom: 1px solid var(--border); display: flex; align-items: center; gap: 8px; color: var(--ink); }
.pricing-feature::before { content: '✓'; color: var(--teal); font-weight: 700; }

/* ── Featured section empty state ── */
.featured-empty {
  text-align: center;
  padding: 52px 24px;
  background: var(--surface);
  border: 2px dashed var(--border);
  border-radius: var(--radius);
  max-width: 520px;
  margin: 0 auto;
}
.featured-empty-icon { font-size: 2.5rem; margin-bottom: 12px; }
.featured-empty-title {
  font-family: 'DM Serif Display', serif;
  font-size: 1.4rem; color: var(--ink);
  margin-bottom: 8px;
}
.featured-empty-sub {
  font-size: 0.92rem; color: var(--ink-60);
  line-height: 1.65; margin-bottom: 24px;
}

/* ── Provider subscription upgrade wall ── */
.sdap-upgrade-wall {
  text-align: center;
  padding: 56px 32px;
  background: var(--white);
  border: 2px solid #0C447C;
  border-radius: var(--radius);
  max-width: 560px;
  margin: 32px auto;
}
.sdap-upgrade-icon { font-size: 2.8rem; margin-bottom: 16px; }
.sdap-upgrade-wall h2 { font-family: 'DM Serif Display', serif; font-size: 1.7rem; color: var(--ink); margin-bottom: 12px; }
.sdap-upgrade-wall p { font-size: 0.95rem; color: var(--ink-60); line-height: 1.7; margin-bottom: 24px; }
.sdap-upgrade-features { list-style: none; text-align: left; display: inline-block; margin-bottom: 28px; }
.sdap-upgrade-features li { font-size: 0.88rem; color: var(--ink); padding: 5px 0; display: flex; align-items: center; gap: 8px; }
.sdap-upgrade-features li::before { content: '✓'; color: #0C447C; font-weight: 700; }
.sdap-upgrade-note { font-size: 0.78rem; color: var(--ink-60); margin-top: 14px; }
.sdap-trial-banner { background: #FEF3E2; border: 1px solid #F5C97A; border-radius: var(--radius); padding: 14px 18px; margin-bottom: 20px; display: flex; align-items: center; gap: 12px; font-size: 0.88rem; color: #7A4400; }
.sdap-trial-banner a { color: #0C447C; font-weight: 600; text-decoration: underline; }

/* ── Admin proximity search — shimmer loading state ── */
@keyframes distShimmer {
  0%   { background-position: -200px 0; }
  100% { background-position: 200px 0; }
}
.ho-dist-loading {
  background: linear-gradient(90deg, #e8f0ee 25%, #f5f9f7 50%, #e8f0ee 75%);
  background-size: 400px 100%;
  animation: distShimmer 1.4s ease-in-out infinite;
  border-radius: 4px;
  min-width: 60px;
}

/* ── WAITLIST ── */
/* ── PARTNER BLOCK ── */
.waitlist-partner { display: flex; flex-direction: column; align-items: center; gap: 18px; margin-bottom: 52px; }
.waitlist-partner-label { font-size: 0.78rem; font-weight: 500; color: rgba(255,255,255,0.45); letter-spacing: 0.1em; text-transform: uppercase; }
.waitlist-partner-logo-link { display: inline-block; transition: opacity 0.15s; }
.waitlist-partner-logo-link:hover { opacity: 0.8; }
.waitlist-partner-logo { height: 52px; width: auto; filter: brightness(0) invert(1); opacity: 0.92; display: block; }
.waitlist-partner-desc { font-size: 0.92rem; color: rgba(255,255,255,0.6); max-width: 400px; text-align: center; margin: 0; line-height: 1.6; }
.waitlist-partner-cta { display: inline-block; padding: 11px 24px; border: 1px solid rgba(255,255,255,0.25); border-radius: var(--radius); color: rgba(255,255,255,0.85); font-size: 0.88rem; font-weight: 500; text-decoration: none; transition: all 0.15s; background: rgba(255,255,255,0.07); }
.waitlist-partner-cta:hover { background: rgba(255,255,255,0.14); border-color: rgba(255,255,255,0.45); color: var(--white); }

.section-waitlist { background: var(--teal-dark); padding: 72px 2rem; text-align: center; }

/* ── FOOTER ── */
.site-footer { background: var(--ink); color: rgba(255,255,255,0.6); padding: 48px 2rem 32px; }
.footer-inner { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand { font-family: 'DM Serif Display', serif; font-size: 1.5rem; color: var(--white); margin-bottom: 12px; }
.footer-tagline { font-size: 0.875rem; line-height: 1.6; }
.footer-col h5 { font-size: 0.8rem; font-weight: 500; color: var(--white); margin-bottom: 14px; letter-spacing: 0.04em; }
.footer-col a { display: block; font-size: 0.82rem; color: rgba(255,255,255,0.5); text-decoration: none; margin-bottom: 9px; transition: color 0.15s; }
.footer-col a:hover { color: var(--white); }
.footer-bottom { max-width: 1100px; margin: 0 auto; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.1); display: flex; justify-content: space-between; align-items: center; font-size: 0.78rem; }
.ndis-badge { display: inline-flex; align-items: center; gap: 7px; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.15); border-radius: 20px; padding: 5px 12px; font-size: 0.75rem; color: rgba(255,255,255,0.6); }
.hero-ndis-badge { margin-top: 28px; }
.ndis-logo-hero { height: 64px; width: auto; display: block; }
.ndis-logo-footer { height: 52px; width: auto; display: block; opacity: 0.85; transition: opacity 0.15s; }
.ndis-logo-footer:hover { opacity: 1; }

/* ── MODAL ── */
.modal-overlay { position: fixed; inset: 0; z-index: 200; background: rgba(0,0,0,0.45); display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: opacity 0.25s; padding: 20px; }
.modal-overlay.open { opacity: 1; pointer-events: all; }
.modal { background: var(--white); border-radius: 20px; padding: 36px; width: 100%; max-width: 520px; box-shadow: var(--shadow-lg); transform: scale(0.95); transition: transform 0.25s; }
.modal-overlay.open .modal { transform: scale(1); }
.modal-close { float: right; background: none; border: none; font-size: 1.3rem; cursor: pointer; color: var(--ink-30); line-height: 1; margin-left: 16px; }
.modal-close:hover { color: var(--ink); }
.modal h3 { font-family: 'DM Serif Display', serif; font-size: 1.6rem; margin-bottom: 8px; }
.modal p { font-size: 0.9rem; color: var(--ink-60); margin-bottom: 24px; }
.modal-steps { display: flex; flex-direction: column; gap: 12px; margin-bottom: 28px; }
.modal-step { display: flex; gap: 14px; align-items: flex-start; padding: 14px; border-radius: var(--radius-sm); background: var(--surface); }
.modal-step-num { width: 26px; height: 26px; border-radius: 50%; background: var(--teal-light); color: var(--teal-dark); display: flex; align-items: center; justify-content: center; font-size: 0.78rem; font-weight: 500; flex-shrink: 0; }
.modal-step-body strong { font-size: 0.875rem; display: block; margin-bottom: 3px; }
.modal-step-body span { font-size: 0.82rem; color: var(--ink-60); }

/* ── TOAST ── */
.toast { position: fixed; bottom: 24px; right: 24px; z-index: 999; background: var(--ink); color: var(--white); padding: 14px 20px; border-radius: var(--radius); font-size: 0.875rem; box-shadow: var(--shadow-lg); transform: translateY(80px); opacity: 0; transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1); max-width: 320px; }
.toast.show { transform: translateY(0); opacity: 1; }

/* ── ANIMATIONS ── */
.fade-up { opacity: 0; transform: translateY(24px); transition: opacity 0.5s ease, transform 0.5s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }

/* ── MOBILE NAV ── */
.nav-hamburger {
  display: none;
  flex-direction: column; justify-content: center; align-items: center;
  gap: 5px; width: 40px; height: 40px;
  background: none; border: none; cursor: pointer; padding: 4px;
  border-radius: var(--radius-sm);
}
.nav-hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--ink); border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
  transform-origin: center;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile-menu {
  display: none;
  position: fixed; top: 64px; left: 0; right: 0; z-index: 99;
  background: rgba(247,250,249,0.98);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 20px 1.5rem 28px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
}
.nav-mobile-menu ul {
  list-style: none; margin: 0 0 20px; padding: 0;
  display: flex; flex-direction: column; gap: 4px;
}
.nav-mobile-menu ul li a {
  display: block; padding: 10px 4px;
  font-size: 1rem; color: var(--ink-60);
  text-decoration: none; border-bottom: 1px solid var(--border);
  transition: color 0.15s;
}
.nav-mobile-menu ul li:last-child a { border-bottom: none; }
.nav-mobile-menu ul li a:hover { color: var(--ink); }
.nav-mobile-cta { display: flex; flex-direction: column; gap: 10px; }
.nav-mobile-cta .btn { text-align: center; }
.nav-mobile-menu.open { display: block; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding: 48px 1.5rem 40px; }
  /* Show the hero card stacked below the text instead of hiding it */
  .hero-visual {
    display: flex;
    justify-content: center;
    padding: 8px 0 16px;
    /* Extra padding so absolute-positioned pills don't overflow body */
    padding-top: 28px;
  }
  /* Pull the match card to a sensible mobile width */
  .hero-visual .match-card {
    max-width: 340px;
    width: 100%;
  }
  /* Move floating pills inside the card bounds (they use negative offsets on desktop) */
  .floating-pill.pill-1 { top: 8px;  right: 8px;  }
  .floating-pill.pill-2 { bottom: 8px; left: 8px; }
  /* Platform rows: hero-visual was also being hidden — override so cards show */
  .platform-row .hero-visual {
    display: flex;
    justify-content: center;
    max-width: 100%;
    padding: 28px 0 16px;
  }
  .hero h1 { font-size: 2.4rem; }
  .steps-row { flex-direction: column; }
  .step-arrow { width: 100%; height: 32px; padding-top: 0; font-size: 1.1rem; transform: rotate(90deg); }
  .how-tabs-wrap { padding: 0 1rem; }
  .how-tabs { flex-direction: column; align-items: stretch; border-radius: 16px; width: 100%; }
  .how-tab { justify-content: center; border-radius: 12px; }
  .how-panel-cta .btn { width: 100%; text-align: center; }
  .pricing-grid { grid-template-columns: 1fr; }
  .pricing-grid--3 { grid-template-columns: 1fr; }
  .participant-layout, .developer-layout { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .site-nav { padding: 0 1.2rem; }
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-hamburger { display: flex; }
}

/* ══ PROFILE PAGE ══ */
.profile-page { min-height: 80vh; padding: 40px 2rem 80px; background: var(--surface); }
.profile-page-inner { max-width: 1100px; margin: 0 auto; }

/* Alerts */
.sda-alert { padding: 14px 18px; border-radius: var(--radius-sm); margin-bottom: 24px; font-size: 0.9rem; }
.sda-alert p { margin: 0; }
.sda-alert-error { background: #FCEBEB; color: #791F1F; border: 1px solid #F5C6C6; }
.sda-alert-success { background: var(--teal-light); color: var(--teal-dark); border: 1px solid var(--teal); }
.sda-alert-info { background: var(--amber-light); color: #633806; border: 1px solid var(--amber); }
.sda-alert-verify { background: #EBF3FC; color: #0C447C; border: 1px solid #A8C8EF; }

/* Dashboard header */
.profile-header { display: flex; align-items: center; gap: 18px; margin-bottom: 32px; padding-bottom: 28px; border-bottom: 1px solid var(--border); flex-wrap: wrap; }
.profile-avatar-lg { width: 56px; height: 56px; border-radius: 50%; background: var(--teal-light); color: var(--teal-dark); display: flex; align-items: center; justify-content: center; font-family: 'DM Serif Display', serif; font-size: 1.2rem; font-weight: 500; flex-shrink: 0; }
.profile-heading { font-family: 'DM Serif Display', serif; font-size: 1.9rem; color: var(--ink); margin: 0 0 4px; }
.profile-sub { font-size: 0.875rem; color: var(--ink-60); margin: 0; }

/* Dashboard layout */
.profile-layout { display: grid; grid-template-columns: 1fr 340px; gap: 28px; align-items: start; }

/* Form card */
.profile-form-wrap { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; }
.section-card-title { font-family: 'DM Serif Display', serif; font-size: 1.4rem; color: var(--ink); margin-bottom: 6px; }
.section-card-sub { font-size: 0.875rem; color: var(--ink-60); margin-bottom: 24px; line-height: 1.6; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-hint { font-weight: 300; color: var(--ink-30); }
.req { color: var(--teal); }
.form-textarea { min-height: 90px; resize: vertical; }
.form-actions { display: flex; align-items: center; gap: 16px; margin-top: 8px; flex-wrap: wrap; }
.form-privacy-note { font-size: 0.78rem; color: var(--ink-30); }

/* Chip label wrapper */
.chip-label { display: inline-block; }

/* Profile summary card */
.profile-summary { display: flex; flex-direction: column; gap: 16px; }
.summary-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; }
.summary-header { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; padding-bottom: 14px; border-bottom: 1px solid var(--surface); }
.summary-section { margin-bottom: 12px; }
.summary-label { font-size: 0.72rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-30); margin-bottom: 6px; }
.tag-row { display: flex; flex-wrap: wrap; gap: 6px; }
.badge-teal { background: var(--teal-light); color: var(--teal-dark); font-size: 0.8rem; padding: 4px 10px; border-radius: 20px; display: inline-block; }
.summary-incomplete { background: #FEF3E2; border: 1px solid #EF9F27; border-radius: var(--radius-sm); padding: 10px 14px; font-size: 0.82rem; color: #633806; margin-top: 8px; }
.summary-incomplete p, .summary-active p, .summary-inactive p { margin: 0; }
.summary-active { background: var(--teal-light); border: 1px solid var(--teal); border-radius: var(--radius-sm); padding: 10px 14px; font-size: 0.82rem; color: var(--teal-dark); margin-top: 8px; }
.summary-inactive { background: #F3F4F6; border: 1px solid #D1D5DB; border-radius: var(--radius-sm); padding: 10px 14px; font-size: 0.82rem; color: #6B7280; margin-top: 8px; }
.summary-pending { background: var(--amber-light); border: 1px solid var(--amber); border-radius: var(--radius-sm); padding: 10px 14px; font-size: 0.82rem; color: #7A3800; margin-top: 8px; }
.summary-pending p { margin: 0; }
.summary-rejected { background: #FCEBEB; border: 1px solid #F5C6C6; border-radius: var(--radius-sm); padding: 10px 14px; font-size: 0.82rem; color: #791F1F; margin-top: 8px; }
.summary-rejected p { margin: 0; }

/* ── Participant browser (home owner dashboard) ── */
.participants-browser {
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}

.participants-browser-header {
  display: flex; align-items: flex-start;
  justify-content: space-between; gap: 12px;
  margin-bottom: 20px;
}

.p-browser-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 14px;
}

.p-browser-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  overflow: hidden;
  transition: box-shadow 0.15s;
}

.p-browser-card:hover { box-shadow: 0 4px 12px rgba(0,0,0,0.07); }

.p-browser-card-top {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 16px;
}

.p-browser-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'DM Serif Display', serif;
  font-size: 1rem; font-weight: 500; flex-shrink: 0;
}

.p-browser-info { flex: 1; min-width: 0; }

.p-browser-id {
  font-weight: 500; font-size: 0.88rem; color: var(--ink);
}

.p-browser-loc {
  font-size: 0.78rem; color: var(--ink-60);
  margin-top: 2px; white-space: nowrap;
  overflow: hidden; text-overflow: ellipsis;
}

.p-browser-tags {
  display: flex; flex-wrap: wrap; gap: 5px;
  padding: 0 16px 12px;
}

.p-browser-footer {
  padding: 0 16px 14px;
}

.eoi-form {
  border-top: 1px solid var(--border);
  padding: 14px 16px;
  background: var(--surface);
}

.eoi-form .eoi-message-input {
  min-height: 80px; font-size: 0.875rem;
  margin-bottom: 10px;
}

.eoi-form-actions {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
}

.eoi-privacy-note {
  font-size: 0.75rem; color: var(--ink-60); line-height: 1.4;
}

.eoi-sent-msg {
  padding: 20px; text-align: center;
  font-size: 0.875rem; color: var(--teal-dark);
  background: var(--teal-light);
  border-radius: var(--radius);
  line-height: 1.5;
}

@media (max-width: 700px) {
  .p-browser-grid { grid-template-columns: 1fr; }
}

/* Privacy card */
.privacy-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; }
.profile-toggle-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; }
.profile-toggle-card h4 { font-size: 0.875rem; font-weight: 500; margin-bottom: 6px; color: var(--ink); }
.profile-toggle-card p { font-size: 0.82rem; color: var(--ink-60); margin-bottom: 14px; line-height: 1.5; }
.password-change-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; }
.password-change-card h4 { font-size: 0.875rem; font-weight: 500; margin-bottom: 14px; color: var(--ink); }
.password-change-card .form-group { margin-bottom: 10px; }
.password-change-card .form-input { font-size: 0.875rem; padding: 8px 12px; }
.privacy-card h4 { font-size: 0.875rem; font-weight: 500; margin-bottom: 10px; color: var(--ink); }
.privacy-card ul { list-style: none; display: flex; flex-direction: column; gap: 7px; }
.privacy-card li { font-size: 0.82rem; color: var(--ink-60); padding-left: 16px; position: relative; }
.privacy-card li::before { content: '✓'; position: absolute; left: 0; color: var(--teal); font-weight: 700; }

/* Auth pages */
.auth-wrap { display: flex; justify-content: center; padding: 20px 0; }
.auth-card { background: var(--white); border: 1px solid var(--border); border-radius: 20px; padding: 40px; width: 100%; max-width: 560px; box-shadow: var(--shadow-lg); }
.auth-card-sm { max-width: 440px; }
.auth-header { margin-bottom: 28px; }
.auth-heading { font-family: 'DM Serif Display', serif; font-size: 2rem; color: var(--ink); margin-bottom: 8px; }
.auth-sub { font-size: 0.95rem; color: var(--ink-60); line-height: 1.6; font-weight: 300; }
.auth-steps { display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; }
.auth-step { display: flex; align-items: center; gap: 12px; padding: 12px; background: var(--surface); border-radius: var(--radius-sm); }
.auth-step-num { width: 26px; height: 26px; border-radius: 50%; background: var(--teal-light); color: var(--teal-dark); display: flex; align-items: center; justify-content: center; font-size: 0.78rem; font-weight: 500; flex-shrink: 0; }
.auth-step strong { font-size: 0.875rem; display: block; margin-bottom: 1px; }
.auth-step span { font-size: 0.78rem; color: var(--ink-60); }
.auth-switch { text-align: center; margin-top: 20px; font-size: 0.875rem; color: var(--ink-60); }
.auth-switch a { color: var(--teal); text-decoration: none; font-weight: 500; }
.auth-switch a:hover { text-decoration: underline; }

@media (max-width: 900px) {
  .profile-layout { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .profile-header { flex-direction: column; align-items: flex-start; }
}

/* ── SC (Support Coordinator) section ── */
.sc-section {
  margin: 28px 0 20px;
  padding: 20px;
  background: var(--blue-light);
  border: 1px solid #C5DCEE;
  border-radius: var(--radius);
}
.sc-section-label {
  font-size: 0.82rem; font-weight: 500;
  color: var(--blue); text-transform: uppercase;
  letter-spacing: 0.06em; margin-bottom: 6px;
}
.sc-section-sub {
  font-size: 0.82rem; color: #3A6A90;
  margin-bottom: 16px; line-height: 1.55;
}
.sc-section .form-group { margin-bottom: 12px; }
.sc-section .form-group:last-child { margin-bottom: 0; }
.sc-section .form-input { background: var(--white); }

/* ── Demand disclaimer ── */
.demand-disclaimer {
  display: flex; gap: 10px; align-items: flex-start;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 12px 14px;
}
.demand-disclaimer-icon {
  font-size: 1rem; color: var(--ink-30); flex-shrink: 0; line-height: 1.5;
}
.demand-disclaimer p {
  font-size: 0.72rem; color: var(--ink-30);
  line-height: 1.55; margin: 0;
}
.demand-disclaimer a {
  color: var(--teal); text-decoration: none;
}
.demand-disclaimer a:hover { text-decoration: underline; }

/* ── Additional homes section ── */
.ho-additional-section {
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}

.ho-additional-header {
  display: flex; align-items: flex-start;
  justify-content: space-between; gap: 12px;
  margin-bottom: 20px;
}

.ho-additional-count {
  font-size: 0.78rem; font-weight: 500;
  background: var(--teal-light); color: var(--teal-dark);
  padding: 4px 10px; border-radius: 20px; white-space: nowrap;
  flex-shrink: 0; margin-top: 4px;
}

.ho-extra-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 12px;
}

.ho-extra-card-top {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 16px;
  background: var(--surface);
}

.ho-extra-card-icon {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--blue-light);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; flex-shrink: 0;
}

.ho-extra-card-info { flex: 1; min-width: 0; }

.ho-extra-card-title {
  font-weight: 500; font-size: 0.92rem;
  color: var(--ink); white-space: nowrap;
  overflow: hidden; text-overflow: ellipsis;
}

.ho-extra-card-meta {
  display: flex; flex-wrap: wrap; gap: 5px; margin-top: 5px;
}

.ho-extra-card-actions {
  display: flex; align-items: center; gap: 6px; flex-shrink: 0;
}

.btn-sm {
  padding: 5px 12px; font-size: 0.8rem;
}

.ho-remove-btn { color: #C0392B !important; }
.ho-remove-btn:hover { background: #FEE; }

.ho-extra-card--unavailable { opacity: 0.65; }
.ho-extra-card--unavailable .ho-extra-card-top { background: var(--surface-alt, #f7f8f7); }

.ho-unavailable-badge {
  display: inline-block; vertical-align: middle;
  margin-left: 7px; padding: 1px 7px;
  font-size: 0.7rem; font-weight: 600; letter-spacing: 0.04em;
  border-radius: 99px; text-transform: uppercase;
  background: var(--ink-10, #e8eae8); color: var(--ink-60, #5a6962);
}

.ho-btn-make-available { color: var(--teal) !important; }

.ho-extra-edit-form {
  padding: 20px 20px 16px;
  border-top: 1px solid var(--border);
  background: var(--white);
}

.ho-add-trigger { margin-top: 4px; }

.ho-add-form {
  margin-top: 16px;
}

.ho-add-form-inner {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 20px 16px;
  background: var(--white);
}

.ho-add-form-title {
  font-family: 'DM Serif Display', serif;
  font-size: 1.15rem; color: var(--ink);
  margin: 0 0 4px;
}

/* ── Home owner section dividers ── */
.ho-section-divider {
  font-size: 0.78rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.07em;
  color: var(--blue); background: var(--blue-light);
  border: 1px solid #C5DCEE; border-radius: var(--radius-sm);
  padding: 7px 12px; margin: 22px 0 16px;
}

/* ── Platform three-tab layout ── */
.tab-icon { margin-right: 4px; }

.platform-intro-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
  padding-top: 8px;
}

.platform-intro-text h3 {
  font-family: 'DM Serif Display', serif;
  font-size: 1.7rem; color: var(--ink);
  margin-bottom: 14px; line-height: 1.2;
}

.platform-intro-text p {
  font-size: 0.95rem; color: var(--ink-60);
  line-height: 1.75; margin-bottom: 20px;
  font-weight: 300;
}

.platform-feature-list {
  list-style: none;
  display: flex; flex-direction: column; gap: 9px;
}

.platform-feature-list li {
  font-size: 0.875rem; color: var(--ink);
  padding-left: 20px; position: relative; line-height: 1.5;
}

.platform-feature-list li::before {
  content: '✓'; position: absolute; left: 0;
  color: var(--teal); font-weight: 700;
}

.platform-demo-panel {
  display: flex; flex-direction: column; gap: 14px;
}

/* ── Home owner listing preview card ── */
.ho-listing-preview {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 20px;
  box-shadow: var(--shadow);
}

.ho-preview-header {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 16px; padding-bottom: 14px;
  border-bottom: 1px solid var(--surface);
}

.ho-preview-icon {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--blue-light); display: flex;
  align-items: center; justify-content: center;
  font-size: 1.2rem; flex-shrink: 0;
}

.ho-preview-title { font-weight: 500; font-size: 0.95rem; }
.ho-preview-sub { font-size: 0.78rem; color: var(--ink-60); margin-top: 2px; }

.ho-preview-grid {
  display: grid; grid-template-columns: repeat(4,1fr);
  gap: 10px; margin-bottom: 14px;
}

.ho-stat {
  background: var(--surface); border-radius: var(--radius-sm);
  padding: 10px; text-align: center;
}

.ho-stat-num {
  font-family: 'DM Serif Display', serif;
  font-size: 1.3rem; color: var(--ink); line-height: 1;
}

.ho-stat-label {
  font-size: 0.68rem; color: var(--ink-60);
  margin-top: 3px; text-transform: uppercase;
  letter-spacing: 0.04em;
}

.ho-preview-features {
  display: flex; flex-wrap: wrap; gap: 6px;
  margin-bottom: 16px; padding-bottom: 14px;
  border-bottom: 1px solid var(--surface);
}

.ho-preview-matches {}
.ho-match-label {
  font-size: 0.72rem; font-weight: 500; text-transform: uppercase;
  letter-spacing: 0.06em; color: var(--ink-30); margin-bottom: 10px;
}

.ho-match-row {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 0; border-bottom: 1px solid var(--surface);
}

.ho-match-row:last-child { border-bottom: none; }
.ho-match-info { flex: 1; }

@media (max-width: 900px) {
  .platform-intro-row { grid-template-columns: 1fr; gap: 28px; }
  .platform-demo-panel { order: -1; }
  .ho-preview-grid { grid-template-columns: repeat(2,1fr); }
}

/* ══ SCROLLING PLATFORM SECTION ══ */
.platform-block {
  padding: 48px 0;
}

.platform-block-header {
  display: flex; align-items: center; gap: 16px;
  margin-bottom: 32px; flex-wrap: wrap;
}

.platform-block-icon {
  width: 52px; height: 52px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; flex-shrink: 0;
}

.platform-block-eyebrow {
  font-size: 0.75rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.07em;
  color: var(--teal); margin-bottom: 4px;
}

.platform-block-title {
  font-family: 'DM Serif Display', serif;
  font-size: 1.6rem; color: var(--ink);
  margin: 0; line-height: 1.2;
}

.platform-block-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 52px; align-items: start;
}

.platform-block-body--reversed .platform-block-desc { order: 2; }
.platform-block-body--reversed .platform-block-visual { order: 1; }

.platform-block-desc p {
  font-size: 0.95rem; color: var(--ink-60);
  line-height: 1.75; margin-bottom: 20px;
  font-weight: 300;
}

.platform-feature-list {
  list-style: none;
  display: flex; flex-direction: column; gap: 9px;
}

.platform-feature-list li {
  font-size: 0.875rem; color: var(--ink);
  padding-left: 20px; position: relative; line-height: 1.5;
}

.platform-feature-list li::before {
  content: '✓'; position: absolute; left: 0;
  color: var(--teal); font-weight: 700;
}

/* Visual panel cards */
.platform-block-visual {
  display: flex; flex-direction: column; gap: 12px;
}

.pv-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 18px 20px;
  box-shadow: var(--shadow);
}

.pv-card-label {
  font-size: 0.72rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.07em;
  color: var(--ink-30); margin-bottom: 12px;
}

.pv-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 7px 0; border-bottom: 1px solid var(--surface);
  gap: 10px;
}

.pv-row:last-child { border-bottom: none; }

.pv-key {
  font-size: 0.78rem; color: var(--ink-60);
  flex-shrink: 0;
}

.pv-val {
  font-size: 0.82rem; font-weight: 500;
  color: var(--ink); text-align: right;
}

.pv-arrow {
  text-align: center; font-size: 0.78rem;
  color: var(--ink-30); letter-spacing: 0.04em;
  padding: 4px 0;
}

.pv-matches {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow);
}

.pv-match-card {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 16px; border-bottom: 1px solid var(--surface);
}

.pv-match-card:last-child { border-bottom: none; }

.pv-stat-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
}

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

.pv-stat-num {
  font-family: 'DM Serif Display', serif;
  font-size: 2rem; line-height: 1;
}

.pv-stat-label {
  font-size: 0.75rem; color: var(--ink-60);
  margin-top: 6px; line-height: 1.4;
}

/* Section divider between blocks */
.platform-divider {
  border: none; border-top: 1px solid var(--border);
  margin: 0;
}

@media (max-width: 900px) {
  .platform-block-body,
  .platform-block-body--reversed { grid-template-columns: 1fr; gap: 28px; }
  .platform-block-body--reversed .platform-block-desc { order: 0; }
  .platform-block-body--reversed .platform-block-visual { order: 0; }
  .platform-block-header .btn { margin-left: 0; width: 100%; justify-content: center; }
  .pv-stat-row { grid-template-columns: 1fr 1fr; }
}

/* ── Two-column pricing grid ── */
.pricing-grid-two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 52px;
}

@media (max-width: 600px) {
  .pricing-grid-two { grid-template-columns: 1fr; }
}

/* ── Platform showcase — two columns, visuals only ── */
.platform-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 40px;
  align-items: start;
}

.showcase-block {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.showcase-label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.showcase-icon {
  width: 36px; height: 36px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; flex-shrink: 0;
}

.showcase-eyebrow {
  font-size: 0.78rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.07em;
  color: var(--teal);
}

@media (max-width: 700px) {
  .platform-showcase { grid-template-columns: 1fr; }
}

/* ══ PLATFORM ALTERNATING ROWS ══ */
.section-platform { padding: 0; }

.platform-row { padding: 80px 2rem; }

.platform-row--light { background: var(--teal-light); }

.platform-row--teal {
  background: var(--teal-light);
}

.platform-row-inner {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: center;
}

/* hero-visual inside platform rows — natural card width, not stretched */
.platform-row .hero-visual {
  position: relative;
  width: 100%;
  max-width: 380px;
  padding: 36px 28px;
}
/* Reposition pill-1 so it overlaps the top of the card (accounting for 36px top padding) */
.platform-row .hero-visual .pill-1 {
  top: 16px;
  right: 18px;
}
/* Stop all card animations inside platform rows — cards are static previews */
.platform-row .match-card        { animation: none; transform: none; }
.platform-row .floating-pill     { animation: none; transform: none; }
.platform-row .pill-clone-1,
.platform-row .pill-clone-2      { animation: none; transform: none; }

.platform-row-eyebrow {
  display: flex; align-items: center; gap: 10px;
  font-size: 0.78rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.07em;
  color: var(--teal); margin-bottom: 16px;
}

.platform-row-icon {
  width: 32px; height: 32px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.95rem; flex-shrink: 0;
}

.platform-row-title {
  font-family: 'DM Serif Display', serif;
  font-size: 2rem; color: var(--ink);
  line-height: 1.15; margin-bottom: 16px;
}

.platform-row-desc {
  font-size: 1rem; color: var(--ink-60);
  line-height: 1.75; font-weight: 300;
  margin-bottom: 28px;
}

.platform-row-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

@media (max-width: 900px) {
  .platform-row { padding: 56px 1.5rem; }
  .platform-row-inner { grid-template-columns: 1fr; gap: 36px; }
  .platform-row-inner--reversed .platform-row-visual { order: 0; }
  .platform-row-inner--reversed .platform-row-text   { order: 0; }
  .platform-row-title { font-size: 1.7rem; }
}

/* ── Platform row hero-style visuals ── */
.hero-visual-clone {
  position: relative;
  padding: 28px 16px 28px 16px;
}

.floating-pill-clone {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 8px 14px;
  font-size: 0.8rem;
  box-shadow: var(--shadow);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  position: absolute;
}

.pill-clone-1 {
  top: 8px; right: 0;
  animation: floatPill1 3.5s ease-in-out infinite;
}

.pill-clone-2 {
  bottom: 8px; left: 0;
  animation: floatPill2 4.2s ease-in-out infinite;
}

/* Teal row adjustments */
.platform-row--teal .hero-visual-clone .floating-pill-clone {
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

/* ── LEGAL PAGES ── */
/* ── CONTACT PAGE ── */
.contact-hero { text-align: center; padding: 64px 2rem 48px; background: var(--surface); border-bottom: 1px solid var(--border); }
.contact-hero h1 { font-family: 'DM Serif Display', serif; font-size: 2.8rem; margin: 8px 0 16px; }
.contact-hero p { font-size: 1rem; color: var(--ink-60); max-width: 480px; margin: 0 auto; line-height: 1.65; }
.contact-inner { max-width: 1000px; margin: 0 auto; padding: 56px 2rem 80px; display: grid; grid-template-columns: 1fr 340px; gap: 56px; align-items: start; }
.contact-form-wrap { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 36px; }
.contact-form .form-group { margin-bottom: 20px; }
.contact-sidebar { display: flex; flex-direction: column; gap: 16px; }
.contact-info-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
.contact-info-icon { font-size: 1.5rem; margin-bottom: 10px; }
.contact-info-card h4 { font-size: 0.95rem; font-weight: 500; margin-bottom: 6px; }
.contact-info-card p { font-size: 0.85rem; color: var(--ink-60); line-height: 1.6; margin: 0 0 10px; }
.contact-info-link { font-size: 0.85rem; color: var(--teal); font-weight: 500; text-decoration: none; }
.contact-info-link:hover { color: var(--teal-dark); text-decoration: underline; }
.required { color: #C0392B; }

.legal-page {
  padding: 60px 2rem 80px;
}

.legal-inner {
  max-width: 760px;
  margin: 0 auto;
}

.legal-header {
  margin-bottom: 48px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border);
}

.legal-header h1 {
  font-family: 'DM Serif Display', serif;
  font-size: 2.6rem;
  color: var(--ink);
  margin: 8px 0 10px;
  line-height: 1.15;
}

.legal-meta {
  font-size: 0.85rem;
  color: var(--ink-60);
}

.legal-body {
  font-size: 1rem;
  color: var(--ink);
  line-height: 1.8;
  font-weight: 300;
}

.legal-body p { margin-bottom: 20px; }

.legal-body h2 {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--ink);
  margin: 40px 0 12px;
}

.legal-body ul {
  margin: 0 0 20px 0;
  padding-left: 24px;
}

.legal-body ul li {
  margin-bottom: 8px;
  line-height: 1.7;
}

.legal-body a {
  color: var(--teal);
  text-decoration: underline;
}

.faq-q {
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
  margin: 24px 0 8px;
  padding-left: 14px;
  border-left: 3px solid var(--teal);
}

.legal-body a:hover { color: var(--teal-dark); }

.legal-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 28px;
  font-size: 0.9rem;
}

.legal-table th {
  background: var(--surface);
  font-weight: 600;
  text-align: left;
  padding: 10px 14px;
  border: 1px solid var(--border);
  color: var(--ink);
}

.legal-table td {
  padding: 10px 14px;
  border: 1px solid var(--border);
  vertical-align: top;
  color: var(--ink);
  font-weight: 300;
}

.legal-table tr:nth-child(even) td { background: var(--surface); }

.legal-footer-nav {
  display: flex;
  gap: 12px;
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

@media (max-width: 600px) {
  .legal-header h1 { font-size: 2rem; }
  .contact-inner { grid-template-columns: 1fr; gap: 32px; }
  .contact-hero h1 { font-size: 2rem; }
  .legal-footer-nav { flex-direction: column; }
  .legal-table { font-size: 0.8rem; }
  .legal-table th, .legal-table td { padding: 8px 10px; }
}

/* ── PROFILE COMPLETENESS ── */
.completeness-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 20px;
  margin-bottom: 16px;
}
.completeness-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 10px;
}
.completeness-header h4 { margin: 0; font-size: 0.9rem; font-weight: 600; color: var(--ink); }
.completeness-pct { font-family: 'DM Serif Display', serif; font-size: 1.2rem; font-weight: 700; }
.completeness-bar-track {
  height: 6px; background: var(--surface);
  border-radius: 3px; overflow: hidden; margin-bottom: 12px;
}
.completeness-bar-fill {
  height: 100%; border-radius: 3px;
  transition: width 0.4s ease;
}
.completeness-tips {
  margin: 0; padding-left: 16px;
  font-size: 0.8rem; color: var(--ink-60);
}
.completeness-tips li { margin-bottom: 4px; }

/* ── PARTICIPANT BROWSER FILTER ── */
.p-browser-filters {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 16px; padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
.p-browser-filter-count {
  font-size: 0.82rem; color: var(--teal); font-weight: 500;
}

/* ══════════════════════════════════════════════════════════════════════════════
   WHO ARE WE
   ══════════════════════════════════════════════════════════════════════════════ */
.section-about {
  background: var(--white);
  padding: 80px 2rem;
}
.about-inner {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 72px;
  align-items: start;
}
.about-text { }
.about-body {
  font-size: 1rem; color: var(--ink-60);
  line-height: 1.8; font-weight: 300;
  margin-bottom: 18px;
}
.about-commitments {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin-top: 32px; padding-top: 32px;
  border-top: 1px solid var(--border);
}
.about-commit-label {
  font-size: 0.82rem; font-weight: 600;
  color: var(--teal-dark);
  background: var(--teal-light);
  border: 1px solid rgba(13,123,94,0.18);
  padding: 6px 16px; border-radius: 20px;
}

/* Founder card */
.about-visual { display: flex; flex-direction: column; gap: 20px; }
.about-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.about-photo {
  width: 100%; height: auto;
  object-fit: contain;
  display: block;
}
.about-photo-placeholder {
  width: 100%; height: 220px;
  background: linear-gradient(135deg, var(--teal-light) 0%, #d0ede6 100%);
  display: flex; align-items: center; justify-content: center;
  font-size: 4rem; color: var(--teal);
}
.about-card-body { padding: 24px; }
.about-card-name {
  font-family: 'DM Serif Display', serif;
  font-size: 1.25rem; color: var(--ink);
  margin-bottom: 3px;
}
.about-card-role {
  font-size: 0.8rem; font-weight: 500;
  color: var(--teal); text-transform: uppercase;
  letter-spacing: 0.06em; margin-bottom: 14px;
}
.about-card-quote {
  font-size: 0.88rem; color: var(--ink-60);
  line-height: 1.7; font-style: italic;
  font-weight: 300; margin-bottom: 16px;
}
.about-card-quote::before { content: '\201C'; }
.about-card-quote::after  { content: '\201D'; }

/* Mini stat row below card */
.about-stats-row {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.about-stat {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 14px 12px;
  text-align: center;
}
.about-stat-num {
  font-family: 'DM Serif Display', serif;
  font-size: 1.4rem; color: var(--teal-dark); line-height: 1;
}
.about-stat-label {
  font-size: 0.7rem; color: var(--ink-60);
  margin-top: 5px; line-height: 1.4;
}

@media (max-width: 900px) {
  .about-inner { grid-template-columns: 1fr; gap: 40px; }
  .about-visual { order: -1; }
  .about-photo { height: 240px; }
  .about-photo-placeholder { height: 180px; }
}
@media (max-width: 480px) {
  .section-about { padding: 52px 1.2rem; }
  .about-stats-row { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .about-stat-num { font-size: 1.15rem; }
  .about-stat-label { font-size: 0.65rem; }
}

/* ── TESTIMONIALS ── */
.section-testimonials {
  background: var(--surface);
  padding: 70px 2rem;
}
.testimonials-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px; margin-top: 40px;
}
/* 4-card 2×2 variant */
.testimonials-grid--four { grid-template-columns: repeat(2, 1fr); }

/* Trust bar above testimonials */
.testimonials-trust-bar {
  display: flex; align-items: center; justify-content: center;
  gap: 10px; flex-wrap: wrap;
  margin: 20px 0 0;
  font-size: 0.84rem; color: var(--ink-60);
}
.trust-bar-sep { color: var(--border); }
.trust-bar-item strong { color: var(--teal-dark); }

/* Star ratings */
.testimonial-stars {
  color: #F5A623;
  font-size: 1rem;
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.testimonial-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  display: flex; flex-direction: column; gap: 20px;
  box-shadow: var(--shadow);
}
.testimonial-quote {
  font-size: 0.95rem; line-height: 1.75;
  color: var(--ink); font-style: italic;
  font-weight: 300; flex: 1;
}
.testimonial-quote::before { content: '\201C'; }
.testimonial-quote::after  { content: '\201D'; }
.testimonial-author {
  display: flex; align-items: center; gap: 12px;
}
.testimonial-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.82rem; font-weight: 500; flex-shrink: 0;
}
.testimonial-name { font-weight: 500; font-size: 0.875rem; color: var(--ink); }
.testimonial-role { font-size: 0.78rem; color: var(--ink-60); margin-top: 2px; }

@media (max-width: 900px) {
  .testimonials-grid,
  .testimonials-grid--four { grid-template-columns: 1fr; }
  .p-browser-filters { flex-direction: column; align-items: flex-start; }
}

/* ── SUBURB AUTOCOMPLETE ── */
.suburb-ac-open .form-input {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  border-color: var(--teal);
  background: var(--white);
}
.suburb-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--white);
  border: 1.5px solid var(--teal);
  border-top: none;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  box-shadow: 0 8px 24px rgba(13,123,94,0.13);
  z-index: 300;
  max-height: 280px;
  overflow-y: auto;
}
.suburb-dropdown-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 14px;
  cursor: pointer;
  font-size: 0.875rem;
  border-bottom: 1px solid var(--border);
  transition: background 0.1s;
}
.suburb-dropdown-item:last-child { border-bottom: none; }
.suburb-dropdown-item:hover,
.suburb-dropdown-item--active { background: var(--teal-light); }
.suburb-name {
  font-weight: 500;
  color: var(--ink);
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.suburb-state-tag {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--teal-dark);
  background: var(--teal-light);
  border: 1px solid rgba(13,123,94,0.18);
  padding: 2px 8px;
  border-radius: 20px;
  flex-shrink: 0;
}

/* ═══════════════════════════════════════════════════════════════
   MOBILE OPTIMISATION
   ═══════════════════════════════════════════════════════════════ */

/* ── iOS auto-zoom fix + touch targets (≤ 768px) ── */
@media (max-width: 768px) {
  /* iOS zooms page when a focused input has font-size < 16px */
  .form-input,
  .form-select,
  textarea.form-input {
    font-size: 16px;
  }
  /* 44px minimum touch targets */
  .btn {
    min-height: 44px;
    padding: 10px 22px;
  }
  .nav-hamburger {
    width: 44px;
    height: 44px;
  }
  .how-tab {
    min-height: 44px;
  }
  .tab-btn {
    min-height: 44px;
  }
  .nav-mobile-menu ul li a {
    padding: 14px 4px;
    font-size: 1.05rem;
  }
  /* Prevent horizontal overflow */
  body { overflow-x: hidden; }
  img, video, iframe { max-width: 100%; }
}

/* ── Medium phones (≤ 600px) — modal bottom sheet ── */
@media (max-width: 600px) {
  /* Slide modal up from the bottom — much better UX than a centred pop-up */
  .modal-overlay {
    align-items: flex-end;
    padding: 0;
  }
  .modal {
    border-radius: 20px 20px 0 0;
    max-width: 100%;
    width: 100%;
    max-height: 88vh;
    overflow-y: auto;
    padding: 28px 20px 44px;
    transform: translateY(24px);
  }
  .modal-overlay.open .modal {
    transform: translateY(0);
  }

  /* Footer — single column */
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  /* Legal tables — horizontal scroll instead of overflow */
  .legal-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .legal-table {
    min-width: 480px;
  }
}

/* ── Small phones (≤ 480px) ── */
@media (max-width: 480px) {
  /* ── Typography ── */
  .hero h1         { font-size: 1.95rem; }
  .hero-sub        { font-size: 0.95rem; }
  .section-title   { font-size: 1.85rem; }
  .section-sub     { max-width: 100%; font-size: 0.95rem; }
  .platform-row-title { font-size: 1.45rem; }
  .auth-heading    { font-size: 1.6rem; }
  .profile-heading { font-size: 1.45rem; }
  .legal-header h1 { font-size: 1.85rem; }
  .contact-hero h1 { font-size: 1.85rem; }
  .section-card-title { font-size: 1.2rem; }

  /* ── Hero ── */
  .hero { padding: 36px 1.2rem 36px; }
  .hero-stats {
    flex-wrap: wrap;
    gap: 16px 24px;
    margin-top: 24px;
    padding-top: 20px;
  }
  /* Hide pipe dividers when stats wrap to new lines — they make no sense stacked */
  .stat-divider { display: none; }

  /* ── Section spacing ── */
  .section-how,
  .section-pricing,
  .section-testimonials { padding: 48px 1.2rem; }
  .platform-row { padding: 44px 1.2rem; }
  .section-partner { padding: 52px 1.2rem; }
  .legal-page { padding: 36px 1.2rem 60px; }
  .profile-page { padding: 20px 1rem 60px; }
  .contact-hero { padding: 40px 1.2rem 32px; }

  /* ── Cards & forms ── */
  .auth-card { padding: 24px 18px; }
  .profile-form-wrap { padding: 20px 16px; }
  .contact-form-wrap { padding: 22px 16px; }
  .pricing-card { padding: 24px 18px; }
  .testimonial-card { padding: 20px 16px; }
  .summary-card { padding: 16px; }
  .result-card { padding: 14px; gap: 12px; }

  /* ── Form actions — stack buttons vertically ── */
  .form-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .form-actions .btn {
    text-align: center;
    justify-content: center;
    width: 100%;
  }
  .form-privacy-note { text-align: center; }

  /* ── Matched homes spacing ── */
  .matched-homes-wrap { margin-top: 20px; margin-bottom: 32px; }

  /* ── How-it-works steps ── */
  .step-card { padding: 18px 14px; }

  /* ── Footer ── */
  .site-footer { padding: 40px 1.2rem 28px; }

  /* ── Toast — full-width at bottom ── */
  .toast {
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    max-width: none;
    text-align: center;
  }

  /* ── Partner section ── */
  .waitlist-partner-logo { height: 40px; }
  .waitlist-partner-desc { font-size: 0.875rem; }

  /* ── Suitability / compat bar ── */
  .compat-bar-wrap { max-width: none !important; width: 100%; }

  /* ── Profile browser ── */
  .p-browser-card { padding: 14px; }
  .p-browser-tags { display: none; } /* hide tag row on very small screens to save space */

  /* ── Suburb dropdown ── */
  .suburb-dropdown { max-height: 200px; }
}

/* ── Extra small (≤ 360px — Galaxy S, iPhone SE 1st gen) ── */
@media (max-width: 360px) {
  .hero h1      { font-size: 1.75rem; }
  .section-title { font-size: 1.65rem; }
  .auth-card { padding: 20px 14px; }
  .profile-form-wrap { padding: 16px 12px; }
}

/* ══════════════════════════════════════════════════════════════════════════════
   JOURNEY PROGRESS TRACKER
   ══════════════════════════════════════════════════════════════════════════════ */
.journey-wrap { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px 24px; margin-bottom: 24px; }
.journey-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 14px; }
.journey-title { font-size: 0.78rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.07em; color: var(--ink-50); margin-bottom: 4px; }
.journey-next { font-size: 0.85rem; color: var(--ink-60); }
.journey-fraction { font-family: 'DM Serif Display', serif; font-size: 1.6rem; color: var(--teal); line-height: 1; }
.journey-bar-track { height: 6px; background: var(--surface); border-radius: 3px; margin-bottom: 20px; overflow: hidden; }
.journey-bar-fill { height: 100%; background: var(--teal); border-radius: 3px; transition: width 0.6s ease; }
.journey-steps { display: flex; align-items: center; gap: 0; }
.journey-step { display: flex; flex-direction: column; align-items: center; gap: 8px; flex-shrink: 0; }
.journey-step-dot { width: 28px; height: 28px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.75rem; font-weight: 700; flex-shrink: 0; }
.journey-step--done .journey-step-dot { background: var(--teal); color: #fff; }
.journey-step--active .journey-step-dot { background: var(--white); border: 2px solid var(--teal); color: var(--teal); }
.journey-step--upcoming .journey-step-dot { background: var(--surface); border: 2px solid var(--border); color: var(--ink-30); }
.journey-step-label { font-size: 0.72rem; color: var(--ink-60); text-align: center; max-width: 72px; line-height: 1.3; }
.journey-step--done .journey-step-label { color: var(--teal-dark); font-weight: 500; }
.journey-step--active .journey-step-label { color: var(--ink); font-weight: 600; }
.journey-step-line { flex: 1; height: 2px; margin-bottom: 24px; }
.journey-step-line--done { background: var(--teal); }
.journey-step-line--upcoming { background: var(--border); }

/* ══════════════════════════════════════════════════════════════════════════════
   MY REQUESTS PANEL (participant)
   ══════════════════════════════════════════════════════════════════════════════ */
.my-requests-wrap { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px 24px; margin-bottom: 24px; }
.request-card { display: flex; align-items: flex-start; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--border); }
.request-card:last-child { border-bottom: none; padding-bottom: 0; }
.request-icon { width: 38px; height: 38px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1rem; flex-shrink: 0; }
.request-icon--sent { background: #EBF3FC; }
.request-icon--received { background: var(--teal-light); }
.request-body { flex: 1; min-width: 0; }
.request-title { font-size: 0.9rem; font-weight: 600; color: var(--ink); margin-bottom: 2px; }
.request-meta { font-size: 0.78rem; color: var(--ink-50); margin-bottom: 6px; }
.request-status { display: inline-flex; align-items: center; gap: 4px; font-size: 0.72rem; font-weight: 600; padding: 2px 10px; border-radius: 20px; }
.request-status--pending { background: #FEF3E2; color: #7A3800; }
.request-status--confirmed { background: var(--teal-light); color: var(--teal-dark); }
.request-status--rejected { background: #FCEBEB; color: #791F1F; }

/* ══════════════════════════════════════════════════════════════════════════════
   HOME OWNER — INTEREST MANAGEMENT PANEL
   ══════════════════════════════════════════════════════════════════════════════ */
.ho-interest-wrap { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px 24px; margin-bottom: 24px; }
.ho-interest-card { display: flex; align-items: flex-start; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--border); }
.ho-interest-card:last-child { border-bottom: none; padding-bottom: 0; }
.ho-interest-avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--surface); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 0.85rem; color: var(--teal); border: 1px solid var(--border); flex-shrink: 0; }
.ho-interest-body { flex: 1; min-width: 0; }
.ho-interest-title { font-size: 0.9rem; font-weight: 600; color: var(--ink); }
.ho-interest-meta { font-size: 0.78rem; color: var(--ink-50); margin: 2px 0 6px; }

/* ══════════════════════════════════════════════════════════════════════════════
   AVAILABILITY DATE FIELD
   ══════════════════════════════════════════════════════════════════════════════ */
.avail-from-wrap { display: flex; gap: 12px; align-items: flex-end; flex-wrap: wrap; }
.listing-filled-badge { display: inline-flex; align-items: center; gap: 6px; font-size: 0.78rem; font-weight: 600; padding: 3px 12px; border-radius: 20px; background: #FCEBEB; color: #791F1F; }

@media (max-width: 600px) {
  .journey-steps { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; }
  .journey-step-label { font-size: 0.65rem; max-width: 58px; }
  .journey-fraction { font-size: 1.3rem; }
}

/* ══════════════════════════════════════════════════════════════════════════════
   SPREAD THE WORD PAGE
   ══════════════════════════════════════════════════════════════════════════════ */
.share-page { min-height: 70vh; padding-bottom: 80px; }

.share-hero {
  text-align: center;
  padding: 72px 24px 48px;
  background: linear-gradient(160deg, var(--teal-light) 0%, var(--white) 100%);
  border-bottom: 1px solid var(--border);
}
.share-hero h1 { font-size: clamp(1.9rem, 5vw, 3rem); color: var(--ink); margin: 8px 0 14px; }
.share-hero p  { font-size: 1.05rem; color: var(--ink-60); max-width: 560px; margin: 0 auto 24px; }
.share-hero-badges { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.share-badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.82rem; font-weight: 600;
  background: var(--white); border: 1px solid var(--border);
  border-radius: 20px; padding: 5px 14px;
  color: var(--teal-dark);
}

.share-inner { max-width: 800px; margin: 0 auto; padding: 40px 20px; }

/* Tabs */
.share-tabs {
  display: flex; gap: 6px; margin-bottom: 24px;
  border-bottom: 2px solid var(--border);
  padding-bottom: 0;
}
.share-tab {
  background: none; border: none; cursor: pointer;
  font-family: inherit; font-size: 0.9rem; font-weight: 600;
  color: var(--ink-60); padding: 10px 18px;
  border-bottom: 3px solid transparent; margin-bottom: -2px;
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  transition: color 0.15s, border-color 0.15s;
  display: flex; align-items: center; gap: 6px;
}
.share-tab:hover { color: var(--ink); }
.share-tab.is-active { color: var(--tab-color, var(--teal)); border-bottom-color: var(--tab-color, var(--teal)); }

/* Panels */
.share-panel { display: none; }
.share-panel.is-active { display: block; }

/* Copy block */
.share-copy-wrap {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden; margin-bottom: 20px;
}
.share-copy-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 16px; border-bottom: 1px solid var(--border);
  background: var(--white);
}
.share-copy-label { font-size: 0.78rem; font-weight: 600; color: var(--ink-60); text-transform: uppercase; letter-spacing: 0.04em; }
.share-copy-textarea {
  display: block; width: 100%; min-height: 180px; padding: 16px;
  font-family: inherit; font-size: 0.88rem; line-height: 1.65;
  color: var(--ink); background: transparent; border: none;
  resize: vertical;
}

/* Action row */
.share-actions {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  margin-bottom: 36px;
}
.share-btn-platform {
  font-size: 0.92rem; font-weight: 600; color: var(--white) !important;
  border-radius: var(--radius-sm); padding: 10px 22px;
  text-decoration: none; border: none; cursor: pointer;
  transition: opacity 0.15s;
}
.share-btn-platform:hover { opacity: 0.88; }
.share-link-copy {
  font-size: 0.85rem; color: var(--ink-60);
  font-family: monospace; word-break: break-all;
}

/* Copy button */
.share-copy-btn {
  background: var(--teal-light); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 6px 14px;
  font-size: 0.8rem; font-weight: 600; color: var(--teal-dark);
  cursor: pointer; white-space: nowrap;
  transition: background 0.15s;
}
.share-copy-btn:hover { background: #d0ede5; }

/* SC Kit */
.share-sc-kit {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px; margin-top: 20px; margin-bottom: 28px;
}
.share-sc-kit h3 { font-size: 1.1rem; margin-bottom: 8px; }
.share-sc-kit > p { font-size: 0.88rem; color: var(--ink-60); margin-bottom: 16px; }

/* Hashtags */
.share-hashtags {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px;
}
.share-hashtags h3 { font-size: 1.1rem; margin-bottom: 8px; }
.share-hashtags > p { font-size: 0.88rem; color: var(--ink-60); margin-bottom: 16px; }
.hashtag-grid { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.hashtag-chip {
  background: var(--teal-light); border: 1px solid var(--border);
  border-radius: 20px; padding: 5px 14px;
  font-size: 0.82rem; font-weight: 600; color: var(--teal-dark);
  cursor: pointer; transition: background 0.15s, transform 0.1s;
}
.hashtag-chip:hover { background: #d0ede5; transform: scale(1.03); }
.hashtag-chip:active { transform: scale(0.97); }
.hashtag-hint { font-size: 0.75rem; color: var(--ink-60); margin-top: 4px; }

/* Copied toast */
.copy-toast {
  position: fixed; bottom: 28px; left: 50%; transform: translateX(-50%) translateY(20px);
  background: var(--ink); color: var(--white);
  font-size: 0.85rem; font-weight: 600;
  padding: 10px 22px; border-radius: 30px;
  opacity: 0; transition: opacity 0.2s, transform 0.2s;
  pointer-events: none; z-index: 9999;
}
.copy-toast.is-visible { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ══════════════════════════════════════════════════════════════════════════════
   SHARE CARD ON DASHBOARDS
   ══════════════════════════════════════════════════════════════════════════════ */
.share-dashboard-card {
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
  background: linear-gradient(135deg, var(--teal-light) 0%, #f0faf7 100%);
  border: 1px solid #b8ddd2; border-radius: var(--radius);
  padding: 22px 24px; margin-top: 28px;
}
.share-dc-icon { font-size: 2rem; flex-shrink: 0; }
.share-dc-body { flex: 1; min-width: 180px; }
.share-dc-body h4 { font-size: 0.98rem; font-weight: 700; color: var(--ink); margin-bottom: 4px; }
.share-dc-body p  { font-size: 0.84rem; color: var(--ink-60); margin: 0; }
.share-dc-actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.share-dc-btn {
  font-size: 0.82rem !important; font-weight: 600;
  padding: 8px 16px !important; border-radius: var(--radius-sm) !important;
  text-decoration: none; border: none; cursor: pointer;
  transition: opacity 0.15s;
}
.share-dc-btn--wa  { background: #25D366; color: #fff !important; }
.share-dc-btn--fb  { background: #1877F2; color: #fff !important; }
.share-dc-btn--li  { background: #0A66C2; color: #fff !important; }
.share-dc-btn--more { background: var(--white); color: var(--teal) !important; border: 1px solid var(--border) !important; }
.share-dc-btn:hover { opacity: 0.88; }

@media (max-width: 640px) {
  .share-tabs { gap: 0; }
  .share-tab  { font-size: 0.8rem; padding: 9px 12px; }
  .share-dashboard-card { flex-direction: column; align-items: flex-start; }
}

/* ══════════════════════════════════════════════════════════════════════════════
   REGISTRATION — ADDITIONAL PROPERTY BLOCKS
   ══════════════════════════════════════════════════════════════════════════════ */
.ho-extra-prop-block {
  border: 2px dashed var(--border);
  border-radius: var(--radius);
  padding: 20px 20px 8px;
  margin-bottom: 20px;
  background: var(--surface);
  animation: fadeSlideIn 0.25s ease;
}
@keyframes fadeSlideIn {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.ho-extra-prop-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.ho-extra-remove-btn {
  background: none;
  border: 1px solid #F5C6C6;
  color: #791F1F;
  border-radius: var(--radius-sm);
  padding: 4px 12px;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s;
}
.ho-extra-remove-btn:hover { background: #FCEBEB; }

/* ══════════════════════════════════════════════════════════════════════════════
   ACCESSIBILITY — WCAG 2.1 AA
   ══════════════════════════════════════════════════════════════════════════════ */

/* Visible focus ring for keyboard navigation on all interactive elements */
:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 3px;
  border-radius: 3px;
}

/* Suppress focus ring for mouse/touch users (browser handles this via :focus-visible) */
:focus:not(:focus-visible) {
  outline: none;
}

/* Chips are keyboard-interactive — show focus ring and allow Enter/Space activation */
.chip {
  cursor: pointer;
  tabindex: 0;
}
.chip-label:focus-within .chip {
  outline: 3px solid var(--teal);
  outline-offset: 2px;
}

/* Screen-reader-only utility — hides visually but keeps in accessibility tree */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* Chip checkboxes — visually hidden but accessible (replaces display:none) */
.chip-checkbox {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
.chip-checkbox:checked + .chip { background: var(--teal-light); color: var(--teal-dark); border-color: var(--teal); }
.chip-label:focus-within .chip { outline: 3px solid var(--teal); outline-offset: 2px; }

/* Ensure sufficient contrast on placeholder text (WCAG 1.4.3) */
::placeholder { color: var(--ink-60); opacity: 1; }

/* Respect user preference to reduce motion (WCAG 2.3.3) */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Ensure nav hamburger has a visible tap target (WCAG 2.5.5 — 44×44px) */
.nav-hamburger {
  min-width: 44px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Make sure all btn elements have a minimum tap target */
.btn {
  min-height: 44px;
}

/* Required field asterisk — add a screen-reader-accessible label */
.req::after,
.required::after {
  content: ' (required)';
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
}

/* ── RESET PASSWORD PAGE ── */
.auth-page-wrap {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 1.5rem;
  background: var(--surface);
}
.auth-card--centered {
  width: 100%;
  max-width: 480px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 36px;
  box-shadow: var(--shadow-lg);
}
.reset-icon {
  font-size: 2.2rem;
  margin-bottom: 12px;
  text-align: center;
}
.reset-success-wrap {
  text-align: center;
}
.auth-card--centered .auth-heading {
  text-align: center;
  margin-bottom: 8px;
}
.auth-card--centered .auth-sub {
  text-align: center;
  margin-bottom: 28px;
}

@media (max-width: 520px) {
  .auth-card--centered { padding: 28px 20px; }
}

/* ═══════════════════════════════════════════════
   SUPPORT COORDINATOR DASHBOARD
═══════════════════════════════════════════════ */

/* ── Participants section wrapper ── */
.sc-participants-section {
  margin-top: 32px;
}
.sc-participants-section h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 16px;
}

/* ── Section header row (title + count badge) ── */
.sc-participants-header,
.sdap-properties-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.sc-participants-header h3,
.sdap-properties-header h3 {
  margin-bottom: 0;
}
.sc-count-badge,
.sdap-count-badge {
  font-size: 0.78rem;
  font-weight: 700;
  background: var(--teal-light);
  color: var(--teal-dark);
  border-radius: 20px;
  padding: 3px 12px;
}

/* ── Individual participant card ── */
.sc-participant-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 20px;
  margin-bottom: 14px;
  transition: box-shadow 0.18s;
}
.sc-participant-card:hover {
  box-shadow: var(--shadow);
}

/* ── Card top row (avatar + info + status + actions) ── */
.sc-participant-top {
  display: flex;
  align-items: center;
  gap: 14px;
}

.sc-participant-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--teal-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.sc-participant-info {
  flex: 1;
  min-width: 0;
}
.sc-participant-name {
  font-weight: 700;
  font-size: 1rem;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sc-participant-meta {
  font-size: 0.82rem;
  color: var(--ink-60);
  margin-top: 2px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
}
.sc-participant-meta span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* ── Status badge ── */
.sc-participant-status {
  font-size: 0.78rem;
  font-weight: 600;
  padding: 4px 11px;
  border-radius: 20px;
  flex-shrink: 0;
  text-transform: capitalize;
}
.sc-status--seeking {
  background: var(--amber-light);
  color: #8a4e00;
}
.sc-status--waitlisted {
  background: var(--blue-light);
  color: var(--blue);
}
.sc-status--placed {
  background: var(--teal-light);
  color: var(--teal-dark);
}

/* ── Inline edit / remove buttons ── */
.sc-participant-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}
.sc-edit-btn,
.sc-remove-btn {
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 13px;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
  line-height: 1;
  min-height: 34px;
}
.sc-edit-btn {
  background: var(--teal-light);
  color: var(--teal-dark);
}
.sc-edit-btn:hover {
  background: var(--teal);
  color: var(--white);
}
.sc-remove-btn {
  background: #FEE2E2;
  color: #991B1B;
}
.sc-remove-btn:hover {
  background: #FECACA;
}

/* ── Notes snippet below top row ── */
.sc-participant-notes {
  font-size: 0.82rem;
  color: var(--ink-60);
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--border);
  font-style: italic;
}

/* ── Inline edit form (hidden by default, shown with .is-open) ── */
.sc-participant-edit {
  display: none;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.sc-participant-edit.is-open {
  display: block;
}
.sc-participant-edit .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 12px;
}
.sc-participant-edit .form-row.full {
  grid-template-columns: 1fr;
}
.sc-participant-edit .btn-sm {
  font-size: 0.85rem;
  padding: 8px 18px;
}

/* ── Add participant collapsible block ── */
.sc-add-participant-wrap {
  margin-top: 20px;
}
.sc-add-participant-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--teal);
  color: var(--white);
  border: none;
  border-radius: var(--radius-sm);
  padding: 10px 20px;
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  min-height: 44px;
  transition: background 0.15s;
}
.sc-add-participant-toggle:hover {
  background: var(--teal-dark);
}

.sc-add-participant-form {
  display: none;
  margin-top: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}
.sc-add-participant-form.is-open {
  display: block;
  animation: fadeSlideIn 0.22s ease;
}
.sc-add-participant-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
}
.sc-add-participant-form .form-row.full {
  grid-template-columns: 1fr;
}

/* ── SC states selection (chips inside profile edit) ── */
.sc-states-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 6px;
}

/* ── SC pending notice ── */
.sc-pending-notice {
  background: var(--amber-light);
  border: 1px solid #f6c97a;
  border-radius: var(--radius);
  padding: 18px 22px;
  margin-bottom: 24px;
  color: #7a4800;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.sc-pending-notice .notice-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ── SC empty state ── */
.sc-empty-state {
  text-align: center;
  padding: 36px 20px;
  color: var(--ink-60);
  border: 2px dashed var(--border);
  border-radius: var(--radius);
}
.sc-empty-state .empty-icon {
  font-size: 2.2rem;
  margin-bottom: 10px;
}

/* ── SC dashboard stat strip ── */
.sc-stat-strip {
  display: flex;
  gap: 12px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.sc-stat-chip {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 90px;
  flex: 1;
}
.sc-stat-chip .stat-num {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--teal-dark);
  line-height: 1;
}
.sc-stat-chip .stat-label {
  font-size: 0.75rem;
  color: var(--ink-60);
  margin-top: 3px;
  text-align: center;
}

/* ── SC mobile tweaks ── */
@media (max-width: 640px) {
  .sc-participant-top {
    flex-wrap: wrap;
  }
  .sc-participant-actions {
    width: 100%;
    justify-content: flex-end;
  }
  .sc-add-participant-form .form-row,
  .sc-participant-edit .form-row {
    grid-template-columns: 1fr;
  }
  .sc-stat-strip {
    gap: 8px;
  }
}


/* ═══════════════════════════════════════════════
   SDA PROVIDER DASHBOARD
═══════════════════════════════════════════════ */

/* ── Properties section wrapper ── */
.sdap-properties-section {
  margin-top: 32px;
}
.sdap-properties-section h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 16px;
}

/* ── Sidebar stat cards ── */
.sdap-sidebar-stats {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}
.sdap-stat-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.sdap-stat-card .stat-label {
  font-size: 0.82rem;
  color: var(--ink-60);
}
.sdap-stat-card .stat-num {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--teal-dark);
}
.sdap-stat-card.stat--approved .stat-num { color: var(--teal-dark); }
.sdap-stat-card.stat--pending .stat-num  { color: #c47a00; }
.sdap-stat-card.stat--rejected .stat-num { color: #b91c1c; }

/* ── Individual property card ── */
.sdap-property-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 20px;
  margin-bottom: 14px;
  transition: box-shadow 0.18s;
}
.sdap-property-card:hover {
  box-shadow: var(--shadow);
}

/* ── Top row ── */
.sdap-property-top {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.sdap-property-icon {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  background: var(--teal-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.sdap-property-info {
  flex: 1;
  min-width: 0;
}
.sdap-property-address {
  font-weight: 700;
  font-size: 1rem;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sdap-property-meta {
  font-size: 0.82rem;
  color: var(--ink-60);
  margin-top: 3px;
  display: flex;
  flex-wrap: wrap;
  gap: 5px 12px;
}
.sdap-property-meta span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* ── Status badge ── */
.sdap-status-badge {
  font-size: 0.76rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  flex-shrink: 0;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.sdap-status--pending {
  background: var(--amber-light);
  color: #8a4e00;
}
.sdap-status--approved {
  background: var(--teal-light);
  color: var(--teal-dark);
}
.sdap-status--rejected {
  background: #FEE2E2;
  color: #991B1B;
}

/* ── Property action buttons ── */
.sdap-property-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
  align-items: flex-start;
}
.sdap-edit-btn,
.sdap-remove-btn {
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 13px;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
  min-height: 34px;
  line-height: 1;
}
.sdap-edit-btn {
  background: var(--teal-light);
  color: var(--teal-dark);
}
.sdap-edit-btn:hover {
  background: var(--teal);
  color: var(--white);
}
.sdap-remove-btn {
  background: #FEE2E2;
  color: #991B1B;
}
.sdap-remove-btn:hover {
  background: #FECACA;
}

/* ── Property features chips (display inside card) ── */
.sdap-property-features {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.sdap-feature-chip {
  font-size: 0.76rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 3px 10px;
  color: var(--ink-60);
}

/* ── Inline edit form ── */
.sdap-property-edit {
  display: none;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.sdap-property-edit.is-open {
  display: block;
}
.sdap-property-edit .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 12px;
}
.sdap-property-edit .form-row.third {
  grid-template-columns: 1fr 1fr 1fr;
}
.sdap-property-edit .form-row.full {
  grid-template-columns: 1fr;
}

/* ── Add property collapsible block ── */
.sdap-add-property-wrap {
  margin-top: 20px;
}
.sdap-add-property-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--teal);
  color: var(--white);
  border: none;
  border-radius: var(--radius-sm);
  padding: 10px 20px;
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  min-height: 44px;
  transition: background 0.15s;
}
.sdap-add-property-toggle:hover {
  background: var(--teal-dark);
}

.sdap-add-property-form {
  display: none;
  margin-top: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}
.sdap-add-property-form.is-open {
  display: block;
  animation: fadeSlideIn 0.22s ease;
}
.sdap-add-property-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
}
.sdap-add-property-form .form-row.third {
  grid-template-columns: 1fr 1fr 1fr;
}
.sdap-add-property-form .form-row.full {
  grid-template-columns: 1fr;
}

/* ── Provider pending / rejected notice ── */
.sdap-pending-notice {
  background: var(--amber-light);
  border: 1px solid #f6c97a;
  border-radius: var(--radius);
  padding: 18px 22px;
  margin-bottom: 24px;
  color: #7a4800;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.sdap-pending-notice .notice-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
  margin-top: 1px;
}
.sdap-rejected-notice {
  background: #FEF2F2;
  border: 1px solid #FECACA;
  border-radius: var(--radius);
  padding: 18px 22px;
  margin-bottom: 24px;
  color: #7f1d1d;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

/* ── Property empty state ── */
.sdap-empty-state {
  text-align: center;
  padding: 36px 20px;
  color: var(--ink-60);
  border: 2px dashed var(--border);
  border-radius: var(--radius);
}
.sdap-empty-state .empty-icon {
  font-size: 2.4rem;
  margin-bottom: 10px;
}

/* ── Registration: extra property block (added dynamically) ── */
.sdap-reg-prop-block {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  margin-top: 20px;
  animation: fadeSlideIn 0.22s ease;
}
.sdap-reg-prop-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}
.sdap-reg-prop-header h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ink);
}
.sdap-reg-prop-remove {
  background: none;
  border: none;
  color: #b91c1c;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 6px;
  transition: background 0.15s;
}
.sdap-reg-prop-remove:hover {
  background: #FEE2E2;
}

/* ── Provider mobile tweaks ── */
@media (max-width: 640px) {
  .sdap-property-top {
    flex-wrap: wrap;
  }
  .sdap-property-actions {
    width: 100%;
    justify-content: flex-end;
  }
  .sdap-property-edit .form-row,
  .sdap-add-property-form .form-row,
  .sdap-property-edit .form-row.third,
  .sdap-add-property-form .form-row.third {
    grid-template-columns: 1fr;
  }
  .sdap-sidebar-stats {
    flex-direction: row;
    flex-wrap: wrap;
  }
  .sdap-stat-card {
    flex: 1;
    min-width: 100px;
  }
}


/* ═══════════════════════════════════════════════
   SHARED PROVIDER / SC NAV TABS
   (used by both coordinator and provider pages
   if a tabbed layout is needed)
═══════════════════════════════════════════════ */
.provider-tabs {
  display: flex;
  gap: 4px;
  border-bottom: 2px solid var(--border);
  margin-bottom: 28px;
}
.provider-tab-btn {
  background: none;
  border: none;
  padding: 10px 20px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink-60);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: color 0.15s, border-color 0.15s;
  min-height: 44px;
}
.provider-tab-btn:hover {
  color: var(--teal);
}
.provider-tab-btn.active {
  color: var(--teal-dark);
  border-bottom-color: var(--teal);
}
.provider-tab-panel {
  display: none;
}
.provider-tab-panel.active {
  display: block;
}


/* ═══════════════════════════════════════════════
   SHARED DASHBOARD PROFILE HEADER
   (common to SC, Provider, HO, Participant pages)
═══════════════════════════════════════════════ */
.dashboard-profile-header {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 28px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--border);
}
.dashboard-avatar-lg {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--teal-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  flex-shrink: 0;
}
.dashboard-header-info h2 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 2px;
}
.dashboard-header-info .dashboard-header-meta {
  font-size: 0.85rem;
  color: var(--ink-60);
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
}
.dashboard-header-info .dashboard-header-meta span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

@media (max-width: 480px) {
  .dashboard-profile-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}


/* ═══════════════════════════════════════════════
   GET STARTED — PROFILE PICKER MODAL
═══════════════════════════════════════════════ */

.gs-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 9000;
  background: rgba(10, 26, 20, 0.55);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease;
}
.gs-modal-overlay.is-open {
  opacity: 1;
  pointer-events: all;
}

.gs-modal {
  background: var(--white);
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  width: 100%;
  max-width: 680px;
  padding: 40px 40px 36px;
  position: relative;
  transform: translateY(18px) scale(0.97);
  transition: transform 0.25s cubic-bezier(0.34, 1.3, 0.64, 1), opacity 0.22s ease;
  opacity: 0;
}
.gs-modal-overlay.is-open .gs-modal {
  transform: translateY(0) scale(1);
  opacity: 1;
}

/* ── Close button ── */
.gs-modal-close {
  position: absolute;
  top: 16px;
  right: 18px;
  background: var(--surface);
  border: none;
  border-radius: 50%;
  width: 34px;
  height: 34px;
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
  color: var(--ink-60);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s, color 0.15s;
}
.gs-modal-close:hover {
  background: var(--border);
  color: var(--ink);
}

/* ── Modal header text ── */
.gs-modal-header {
  margin-bottom: 28px;
  text-align: center;
}
.gs-modal-eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--teal);
  margin-bottom: 8px;
}
.gs-modal-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 8px;
  font-family: 'DM Serif Display', serif;
}
.gs-modal-sub {
  font-size: 0.9rem;
  color: var(--ink-60);
}

/* ── 2×2 card grid ── */
.gs-modal-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

/* ── Individual card ── */
.gs-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--ink);
  background: var(--white);
  transition: border-color 0.18s, box-shadow 0.18s, background 0.18s, transform 0.18s;
  cursor: pointer;
}
.gs-card:hover {
  border-color: var(--teal);
  box-shadow: 0 4px 20px rgba(13, 123, 94, 0.12);
  background: var(--teal-light);
  transform: translateY(-2px);
}
.gs-card:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 2px;
}

.gs-card-icon {
  font-size: 1.8rem;
  flex-shrink: 0;
  line-height: 1;
  margin-top: 2px;
}

.gs-card-body {
  flex: 1;
  min-width: 0;
}
.gs-card-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 4px;
}
.gs-card-desc {
  font-size: 0.78rem;
  color: var(--ink-60);
  line-height: 1.45;
}

.gs-card-arrow {
  font-size: 1rem;
  color: var(--teal);
  flex-shrink: 0;
  align-self: center;
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 0.18s, transform 0.18s;
}
.gs-card:hover .gs-card-arrow {
  opacity: 1;
  transform: translateX(0);
}

/* ── Mobile: single column ── */
@media (max-width: 560px) {
  .gs-modal {
    padding: 32px 22px 28px;
  }
  .gs-modal-cards {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .gs-modal-title {
    font-size: 1.25rem;
  }
  .gs-card-icon {
    font-size: 1.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .gs-modal-overlay,
  .gs-modal {
    transition: none;
  }
}

/* ── Property photo upload grid ──────────────────────────── */
.ho-photos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 10px;
  margin-bottom: 16px;
}
.ho-photo-item {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--surface);
}
.ho-photo-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.ho-photo-delete-form {
  position: absolute;
  top: 5px;
  right: 5px;
  margin: 0;
}
.ho-photo-delete-btn {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(0,0,0,0.55);
  color: #fff;
  border: none;
  cursor: pointer;
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transition: background 0.15s;
}
.ho-photo-delete-btn:hover {
  background: #c0392b;
}

/* Drag handle */
.ho-photo-drag-handle {
  position: absolute;
  top: 5px;
  left: 5px;
  background: rgba(0,0,0,0.45);
  color: #fff;
  border-radius: 4px;
  padding: 2px 5px;
  font-size: 0.95rem;
  cursor: grab;
  line-height: 1;
  z-index: 2;
  user-select: none;
}
.ho-photo-drag-handle:active { cursor: grabbing; }

/* Cover badge */
.ho-photo-cover-badge {
  position: absolute;
  bottom: 5px;
  left: 5px;
  background: rgba(13,123,94,0.92);
  color: #fff;
  border-radius: 4px;
  padding: 2px 7px;
  font-size: 0.72rem;
  font-weight: 600;
  z-index: 2;
  pointer-events: none;
}

/* Set cover button */
.ho-photo-set-cover-btn {
  position: absolute;
  bottom: 5px;
  left: 5px;
  background: rgba(0,0,0,0.45);
  color: #fff;
  border: none;
  border-radius: 4px;
  padding: 2px 7px;
  font-size: 0.72rem;
  font-weight: 600;
  cursor: pointer;
  z-index: 2;
  transition: background 0.15s;
  white-space: nowrap;
}
.ho-photo-set-cover-btn:hover { background: rgba(13,123,94,0.9); }

/* Delete button — repositioned (no longer inside a form wrapper) */
.ho-photo-delete-btn {
  position: absolute;
  top: 5px;
  right: 5px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(0,0,0,0.55);
  color: #fff;
  border: none;
  cursor: pointer;
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transition: background 0.15s;
  z-index: 2;
}
.ho-photo-delete-btn:hover { background: #c0392b; }

/* Drag states */
.ho-photo-item.ho-photo-dragging {
  opacity: 0.4;
  transform: scale(0.96);
}
.ho-photo-item.ho-photo-drag-over {
  outline: 2px dashed var(--teal);
  outline-offset: 2px;
}

/* Save order row */
.ho-photos-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 4px;
}
.ho-photos-hint {
  font-size: 0.82rem;
  color: var(--ink-60);
}}

/* ── Featured Properties section ───────────────────────────────────────── */
.section-featured {
  background: #FFFDF5;
  border-top: 1px solid #F0E8C8;
  border-bottom: 1px solid #F0E8C8;
  padding: 72px 24px;
}
.featured-header { margin-bottom: 40px; }
.featured-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 360px));
  gap: 24px;
  justify-content: center;
}
.featured-card {
  background: #fff;
  border: 1px solid #E8E0C8;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
}
.featured-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 24px rgba(0,0,0,0.10);
}
.featured-card-img {
  height: 180px;
  background-size: cover;
  background-position: center;
  background-color: var(--teal-light);
}
.featured-card-img--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  background: var(--teal-light);
}
.featured-card-body {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.featured-card-top {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.featured-badge {
  font-size: 0.72rem;
  font-weight: 700;
  background: #E8F5F1;
  color: #085040;
  padding: 3px 10px;
  border-radius: 20px;
  letter-spacing: 0.03em;
}
.featured-type-badge {
  font-size: 0.72rem;
  font-weight: 600;
  background: var(--teal-light);
  color: var(--teal-dark);
  padding: 3px 10px;
  border-radius: 20px;
}
.featured-card-location {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink);
}
.featured-card-meta {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.featured-tag {
  font-size: 0.75rem;
  background: var(--surface);
  color: var(--ink-60);
  border: 1px solid var(--border);
  padding: 3px 10px;
  border-radius: 20px;
}
.featured-card-avail {
  font-size: 0.82rem;
  color: var(--teal-dark);
  font-weight: 500;
}
.featured-card-notes {
  font-size: 0.85rem;
  color: var(--ink-60);
  margin: 0;
  line-height: 1.5;
}
.featured-card-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}
.btn-sm {
  padding: 7px 16px;
  font-size: 0.82rem;
}

/* ── Featured property modal ────────────────────────────────────────────── */
.feat-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 9000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.feat-modal-overlay.active { display: flex; }

.feat-modal {
  background: #fff;
  border-radius: 16px;
  width: 100%;
  max-width: 900px;
  max-height: 90vh;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 60px rgba(0,0,0,0.25);
}
.feat-modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: rgba(0,0,0,0.12);
  color: #333;
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
}
.feat-modal-close:hover { background: rgba(0,0,0,0.25); }

.feat-modal-inner {
  display: flex;
  flex: 1;
  overflow: hidden;
}

/* Carousel pane */
.feat-modal-carousel-wrap {
  width: 55%;
  flex-shrink: 0;
  background: #111;
  display: flex;
  flex-direction: column;
}
.feat-modal-carousel {
  flex: 1;
  position: relative;
  overflow: hidden;
}
.feat-carousel-slides { display: block; width: 100%; height: 100%; }
.feat-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #1a1a1a;
  opacity: 0;
  transition: opacity 0.35s ease;
}
.feat-slide.active { opacity: 1; }
.feat-carousel-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  font-size: 5rem;
  background: var(--teal-light);
  color: var(--teal-dark);
}
.feat-carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.85);
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  z-index: 2;
  transition: background 0.15s;
}
.feat-carousel-btn:hover { background: #fff; }
.feat-carousel-prev { left: 12px; }
.feat-carousel-next { right: 12px; }
.feat-carousel-counter {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0,0,0,0.5);
  color: #fff;
  font-size: 0.78rem;
  padding: 3px 10px;
  border-radius: 20px;
}
.feat-carousel-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  padding: 10px 0 6px;
  background: #111;
}
.feat-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  cursor: pointer;
  transition: background 0.2s;
}
.feat-dot.active, .feat-dot:hover { background: #fff; }

/* Details pane */
.feat-modal-details {
  flex: 1;
  padding: 28px 28px 24px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.feat-modal-badges { display: flex; gap: 8px; flex-wrap: wrap; }
.feat-modal-location {
  font-family: 'DM Serif Display', serif;
  font-size: 1.4rem;
  color: var(--ink);
  margin: 0;
  line-height: 1.2;
}
.feat-modal-grid {
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
}
.feat-detail-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 0.88rem;
}
.feat-detail-label { color: var(--ink-60); }
.feat-detail-val   { font-weight: 600; color: var(--ink); text-align: right; }
.feat-modal-notes {
  font-size: 0.9rem;
  color: var(--ink-60);
  line-height: 1.6;
  margin: 0;
}
.feat-features-heading {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-60);
  margin: 0 0 8px;
}
.feat-features-tags { display: flex; flex-wrap: wrap; gap: 6px; }

/* Amenity list in modal */
.feat-modal-amenities { margin-top: 14px; }
.feat-amenities-list { display: flex; flex-direction: column; gap: 6px; margin-top: 6px; }
.feat-amenity-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--ink);
}
.feat-amenity-icon { font-size: 1rem; flex-shrink: 0; }
.feat-amenity-name { flex: 1; }
.feat-amenity-dist {
  background: var(--teal-light);
  color: var(--teal-dark);
  border-radius: 20px;
  padding: 1px 9px;
  font-size: 0.78rem;
  font-weight: 600;
  white-space: nowrap;
  flex-shrink: 0;
}

/* Map embed */
.feat-modal-map { margin-top: 4px; }

/* Amenity badges on card */
.featured-card-amenities {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}
.featured-amenity-tag {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2px 8px;
  font-size: 0.78rem;
  color: var(--ink-60);
  font-weight: 500;
}
.featured-amenity-tag span {
  color: var(--teal-dark);
  font-weight: 600;
}

/* Amenity input row on homeowner profile */
.ho-amenity-row {
  display: flex;
  gap: 10px;
  align-items: center;
}
.ho-amenity-dist { width: 100px !important; flex-shrink: 0; }
.feat-modal-actions {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}
.feat-modal-actions .btn { width: 100%; justify-content: center; }

/* Responsive: stack on small screens */
@media (max-width: 640px) {
  .feat-modal-inner { flex-direction: column; }
  .feat-modal-carousel-wrap { width: 100%; height: 240px; flex-shrink: 0; }
  .feat-modal-details { padding: 20px 18px; }
  .feat-modal-location { font-size: 1.15rem; }
}

/* ── Enquiry modal ────────────────────────────────────────────────────────── */
.enq-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 10000;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.enq-modal-overlay.active { display: flex; }

.enq-modal {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 36px 36px 32px;
  position: relative;
}

.enq-modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  background: none;
  border: none;
  font-size: 1.6rem;
  line-height: 1;
  color: var(--ink-60);
  cursor: pointer;
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  transition: background 0.15s;
}
.enq-modal-close:hover { background: var(--surface); color: var(--ink); }

.enq-modal-title {
  font-family: 'DM Serif Display', serif;
  font-size: 1.45rem;
  color: var(--ink);
  margin: 0 0 6px;
}
.enq-modal-sub {
  color: var(--ink-60);
  font-size: 0.95rem;
  margin: 0 0 12px;
}
.enq-prop-context {
  background: var(--teal-light);
  color: var(--teal-dark);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 20px;
}

.enq-field { margin-bottom: 16px; }
.enq-field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.enq-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
}
.enq-req { color: var(--amber); }
.enq-input {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--ink);
  background: var(--white);
  transition: border-color 0.15s, box-shadow 0.15s;
  appearance: none;
}
.enq-input:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(13,123,94,0.12);
}
.enq-input:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 1px;
}
.enq-textarea { resize: vertical; min-height: 90px; }

.enq-submit-btn {
  width: 100%;
  justify-content: center;
  margin-top: 4px;
  padding: 13px;
  font-size: 1rem;
}

.enq-error {
  background: #FEF0F0;
  color: #C0392B;
  border: 1px solid #F5C6C6;
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-size: 0.9rem;
  margin-bottom: 12px;
}

.enq-success {
  text-align: center;
  padding: 24px 16px 12px;
}
.enq-success-icon { font-size: 2.8rem; margin-bottom: 12px; }
.enq-success h4 {
  font-family: 'DM Serif Display', serif;
  font-size: 1.35rem;
  color: var(--ink);
  margin-bottom: 10px;
}
.enq-success p {
  color: var(--ink-60);
  font-size: 0.95rem;
  margin-bottom: 20px;
  line-height: 1.55;
}

@media (max-width: 540px) {
  .enq-modal { padding: 28px 20px 24px; }
  .enq-field-row { grid-template-columns: 1fr; gap: 0; }
}

/* ── All Properties Admin Section ───────────────────────────── */
.all-props-section {
  margin: 32px 0;
  background: #fff;
  border-radius: 14px;
  border: 1px solid #E2EAE7;
  overflow: hidden;
}
.all-props-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px 16px;
  border-bottom: 1px solid #E2EAE7;
  flex-wrap: wrap;
}
.all-props-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 14px 24px;
  background: #F7FAF9;
  border-bottom: 1px solid #E2EAE7;
}
.all-props-search-input {
  flex: 1;
  min-width: 200px;
  max-width: 280px !important;
}
.all-props-filter-select {
  min-width: 120px;
  max-width: 200px;
}
.all-props-table-wrap {
  overflow-x: auto;
}
.all-props-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}
.all-props-table thead th {
  background: #F0F5F3;
  color: #3D5C54;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 10px 16px;
  text-align: left;
  white-space: nowrap;
  border-bottom: 1px solid #E2EAE7;
}
.all-props-table tbody tr {
  border-bottom: 1px solid #EEF2F0;
  transition: background 0.12s;
}
.all-props-table tbody tr:hover { background: #F7FAF9; }
.all-props-table tbody tr:last-child { border-bottom: none; }
.all-props-table td {
  padding: 11px 16px;
  color: var(--ink);
  vertical-align: middle;
}
.all-props-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 20px;
  white-space: nowrap;
}
.all-props-badge--ho   { background: #E8F5F1; color: #085040; }
.all-props-badge--prov { background: #EBF3FC; color: #0C447C; }
.all-props-extra-tag {
  display: inline-block;
  font-size: 0.7rem;
  color: #8A9E98;
  margin-left: 4px;
}
.all-props-avail {
  font-size: 0.82rem;
  color: #5A6962;
  max-width: 160px;
}
.all-props-status {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 20px;
}
.all-props-status--approved { background: #E8F5F1; color: #085040; }
.all-props-status--pending  { background: #FEF3E2; color: #7A4400; }
.all-props-status--rejected { background: #FCE8E8; color: #791F1F; }
.all-props-no-results {
  text-align: center;
  padding: 28px 24px;
  color: #8A9E98;
  font-size: 0.9rem;
}
@media (max-width: 700px) {
  .all-props-filters { padding: 12px 16px; }
  .all-props-table thead th,
  .all-props-table td { padding: 9px 10px; }
  .all-props-search-input { max-width: 100% !important; }
}

/* ══════════════════════════════════════════════════════════════════════════════
   PARTICIPANT PROFILE STATUS STRIP (Item 13)
   ══════════════════════════════════════════════════════════════════════════════ */
.profile-status-strip {
  display: flex; align-items: center; flex-wrap: wrap;
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 16px 24px;
  gap: 0; margin-bottom: 20px;
}
.pss-item {
  display: flex; flex-direction: column; gap: 3px;
  padding: 4px 20px;
}
.pss-item:first-child { padding-left: 0; }
.pss-divider {
  width: 1px; align-self: stretch;
  background: var(--border); margin: 0 4px;
}
.pss-label {
  font-size: 0.7rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.07em;
  color: #8A9E98;
}
.pss-value {
  font-size: 0.88rem; font-weight: 500; color: var(--ink);
}
.pss-empty { color: var(--ink-30); font-weight: 400; }
.pss-pct { font-weight: 700; }
.pss-badge {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 0.8rem; font-weight: 600; padding: 2px 10px;
  border-radius: 20px;
}
.pss-badge--active  { background: var(--teal-light);  color: var(--teal-dark); }
.pss-badge--paused  { background: var(--amber-light); color: #7A4400; }
.pss-link { font-size: 0.85rem; color: var(--teal); font-weight: 500; text-decoration: none; }
.pss-link:hover { color: var(--teal-dark); text-decoration: underline; }

@media (max-width: 600px) {
  .profile-status-strip { padding: 14px 16px; gap: 8px 0; }
  .pss-item { padding: 4px 14px; }
  .pss-divider { display: none; }
}

/* ── Match cards grid (participant matches via AJAX) */
.match-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 14px;
  margin-top: 4px;
}
.match-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: 10px;
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.match-card-header {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.match-card-avatar {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--teal-light); color: var(--teal);
  display: flex; align-items: center; justify-content: center;
  font-weight: 600; font-size: 0.85rem; flex-shrink: 0;
}
.match-card-loc { flex: 1; min-width: 0; }
.match-card-suburb { font-weight: 600; font-size: 0.9rem; color: var(--ink); }
.match-card-meta   { font-size: 0.78rem; color: var(--ink-60); margin-top: 2px; }
.match-card-dist {
  font-size: 0.75rem; font-weight: 600; color: var(--teal);
  background: var(--teal-light); padding: 3px 8px; border-radius: 20px;
  white-space: nowrap; flex-shrink: 0;
}
.match-card-avail {
  font-size: 0.8rem; color: var(--ink-60);
  padding: 4px 10px; background: var(--surface-alt);
  border-radius: 4px; display: inline-block;
}
.match-card-features { display: flex; flex-wrap: wrap; gap: 5px; }
.match-feature-tag {
  font-size: 0.73rem; padding: 2px 8px;
  border: 1px solid var(--border-light);
  border-radius: 20px; color: var(--ink-60); background: var(--white);
}
.match-feature-more { color: var(--ink-30); }
.match-card-actions { margin-top: 4px; }
.match-eoi-sent { font-size: 0.82rem; color: var(--teal-dark); font-weight: 500; }

/* ── Match activity banner */
.match-activity-banner {
  background: #E8F5F1; border: 1px solid #A8D5C5;
  border-radius: 8px; padding: 10px 16px;
  font-size: 0.85rem; font-weight: 500; color: var(--teal-dark);
  margin-bottom: 12px; display: flex; align-items: center; gap: 8px;
}
.match-activity-banner::before { content: '✦'; font-size: 0.7rem; }

/* ── Match filter bar */
.match-filter-bar {
  display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px;
  padding: 12px 0 14px;
}
.match-filter-group { display: flex; flex-direction: column; gap: 4px; }
.match-filter-label { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-60); }
.match-filter-select {
  font-size: 0.84rem; padding: 6px 12px; border-radius: 6px;
  border: 1px solid var(--border-light); background: var(--white);
  color: var(--ink); cursor: pointer;
}
.match-filter-count { font-size: 0.8rem; color: var(--ink-60); align-self: flex-end; padding-bottom: 7px; }

/* ── Onboarding checklist (homeowner + provider) */
.onboarding-checklist {
  background: var(--white); border: 1px solid var(--border-light);
  border-radius: 10px; padding: 20px 22px; margin-bottom: 20px;
}
.onboarding-checklist-header {
  display: flex; justify-content: space-between; align-items: flex-start;
  margin-bottom: 12px;
}
.onboarding-checklist-title { font-weight: 600; font-size: 0.95rem; color: var(--ink); }
.onboarding-checklist-sub   { font-size: 0.8rem; color: var(--ink-60); margin-top: 2px; }
.onboarding-checklist-pct   { font-size: 1.1rem; font-weight: 700; color: var(--teal); }
.onboarding-checklist-bar-track {
  height: 4px; background: var(--border-light); border-radius: 99px; margin-bottom: 14px;
}
.onboarding-checklist-bar-fill {
  height: 4px; background: var(--teal); border-radius: 99px;
  transition: width 0.4s ease;
}
.onboarding-checklist-items { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.onboarding-checklist-item {
  display: flex; align-items: baseline; gap: 10px;
  font-size: 0.85rem; color: var(--ink);
}
.onboarding-checklist-item.is-done { color: var(--ink-60); }
.onboarding-checklist-dot {
  width: 18px; height: 18px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.65rem; font-weight: 700;
  border: 2px solid var(--border-light);
  color: var(--white); background: var(--white);
}
.onboarding-checklist-item.is-done .onboarding-checklist-dot {
  background: var(--teal); border-color: var(--teal); color: #fff;
}
.onboarding-checklist-hint {
  font-size: 0.75rem; color: var(--ink-30); margin-left: 2px;
}

/* ── Provider expired trial card */
.provider-upgrade-card {
  display: flex; gap: 18px; align-items: flex-start;
  background: #FEF0E0; border: 1px solid #F0C896;
  border-radius: 10px; padding: 20px 22px; margin-bottom: 24px;
}
.provider-upgrade-icon { font-size: 1.8rem; flex-shrink: 0; }
.provider-upgrade-title { font-weight: 700; font-size: 1rem; color: var(--ink); margin-bottom: 6px; }
.provider-upgrade-body  { font-size: 0.88rem; color: var(--ink-60); margin-bottom: 14px; line-height: 1.6; }
