/* =========================================================================
   Landlord Property Manager — Equity Forest palette
   ------------------------------------------------------------------------
   Primary    #1F4D3A  forest green
   Accent     #C97B4E  burnished copper
   Surface    #F4EDE2  warm cream
   Text       #1A1A1A  charcoal
   Sage       #8A9A5B  micro-accent
   ========================================================================= */

:root {
  --forest: #1F4D3A;
  --forest-deep: #163829;
  --forest-soft: #2B6B52;
  --copper: #C97B4E;
  --copper-soft: #E0A37A;
  --cream: #F4EDE2;
  --cream-deep: #EBE2D2;
  --bone: #FBF7EE;
  --charcoal: #1A1A1A;
  --ink: #2A2A2A;
  --muted: #6B6B66;
  --sage: #8A9A5B;
  --line: rgba(26, 26, 26, 0.08);
  --line-strong: rgba(26, 26, 26, 0.18);
  --shadow-sm: 0 1px 2px rgba(22, 56, 41, 0.06);
  --shadow-md: 0 4px 16px rgba(22, 56, 41, 0.08);
  --shadow-lg: 0 12px 36px rgba(22, 56, 41, 0.12);
  --radius: 10px;
  --radius-lg: 16px;
  --max-w: 1080px;
  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--charcoal);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Subtle paper texture — extremely faint repeating gradient */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 20% 10%, rgba(31, 77, 58, 0.04), transparent 60%),
    radial-gradient(circle at 80% 90%, rgba(201, 123, 78, 0.05), transparent 50%);
  pointer-events: none;
  z-index: -1;
}

a { color: var(--forest); text-decoration: none; }
a:hover { color: var(--copper); }
abbr { text-decoration: underline dotted; cursor: help; }

/* ---------- Header ------------------------------------------------------- */

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px clamp(20px, 5vw, 48px);
  max-width: var(--max-w);
  margin: 0 auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--charcoal);
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
}

.status-pill {
  display: inline-block;
  padding: 5px 12px;
  background: var(--forest);
  color: var(--cream);
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ---------- Hero --------------------------------------------------------- */

.hero {
  padding: 32px clamp(20px, 5vw, 48px) 64px;
}

.hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: start;
}

@media (max-width: 880px) {
  .hero-inner { grid-template-columns: 1fr; }
}

.eyebrow {
  margin: 0 0 12px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--forest);
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.1rem, 4.8vw, 3.6rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 24px;
  color: var(--charcoal);
}

.hero-title-accent {
  color: var(--copper);
  font-style: italic;
}

.hero-lede {
  font-size: 1.1rem;
  color: var(--ink);
  margin: 0 0 32px;
  max-width: 36ch;
}

.hero-features {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: grid;
  gap: 10px;
}

.hero-features li {
  display: flex;
  gap: 12px;
  align-items: baseline;
  font-size: 1rem;
  color: var(--ink);
}

.bullet {
  color: var(--copper);
  font-size: 0.7rem;
  line-height: 1;
  margin-top: 2px;
}

/* ---------- Waitlist form ----------------------------------------------- */

.waitlist {
  background: var(--bone);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 36px);
  box-shadow: var(--shadow-md);
  position: relative;
}

.waitlist::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  pointer-events: none;
  background: linear-gradient(135deg, rgba(201, 123, 78, 0.06), transparent 40%);
}

.waitlist-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.5rem;
  letter-spacing: -0.01em;
  margin: 0 0 6px;
}

.waitlist-sub {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

.waitlist-form { display: grid; gap: 16px; position: relative; }

.field { display: grid; gap: 6px; }

.field label,
.field legend {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0.01em;
}

.field input[type='email'],
.field input[type='number'],
.field input[type='text'],
.field select,
.field textarea {
  width: 100%;
  padding: 11px 14px;
  font: inherit;
  font-size: 1rem;
  color: var(--charcoal);
  background: var(--cream);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  transition: border-color 120ms ease, box-shadow 120ms ease, background 120ms ease;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--forest);
  box-shadow: 0 0 0 3px rgba(31, 77, 58, 0.18);
  background: var(--bone);
}

.field textarea { resize: vertical; min-height: 80px; }

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

@media (max-width: 480px) {
  .field-row { grid-template-columns: 1fr; }
}

/* Radio-pill row for role selection */
.field-role { border: none; padding: 0; margin: 0; }
.field-role legend { margin-bottom: 6px; }

.radio-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.radio-pill {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: var(--cream);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  cursor: pointer;
  font-size: 0.9rem;
  transition: all 120ms ease;
}

.radio-pill input[type='radio'] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.radio-pill:hover { border-color: var(--forest); }

.radio-pill:has(input:checked) {
  background: var(--forest);
  color: var(--cream);
  border-color: var(--forest);
  font-weight: 600;
}

/* Honeypot — invisible but reachable for bots, not focusable for humans */
.hp {
  position: absolute;
  left: -9999px;
  top: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Buttons */
.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.01em;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 80ms ease, box-shadow 120ms ease, background 120ms ease;
  text-decoration: none;
}

.btn-primary {
  background: var(--forest);
  color: var(--cream);
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  background: var(--forest-deep);
  color: var(--cream);
  transform: translateY(-1px);
  box-shadow: var(--shadow-lg);
}

.btn-secondary {
  background: transparent;
  color: var(--forest);
  border-color: var(--forest);
}

.btn-secondary:hover {
  background: var(--forest);
  color: var(--cream);
}

.fineprint {
  margin: 4px 0 0;
  font-size: 0.8rem;
  color: var(--muted);
  text-align: center;
}

.muted { color: var(--muted); font-weight: 400; }

.error {
  margin: 4px 0 0;
  font-size: 0.85rem;
  color: #b3261e;
}

/* ---------- Why section ------------------------------------------------- */

.why {
  background: linear-gradient(180deg, transparent, var(--cream-deep));
  padding: 80px clamp(20px, 5vw, 48px);
  border-top: 1px solid var(--line);
}

.why-inner { max-width: var(--max-w); margin: 0 auto; }

.section-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  letter-spacing: -0.01em;
  margin: 0 0 32px;
  text-align: center;
  color: var(--forest);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.why-card {
  background: var(--bone);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.why-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.why-card h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.2rem;
  margin: 0 0 10px;
  color: var(--forest);
}

.why-card p { margin: 0; color: var(--ink); font-size: 0.97rem; line-height: 1.6; }

/* ---------- Thanks page ------------------------------------------------- */

.thanks {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 64px clamp(20px, 5vw, 48px);
  min-height: 60vh;
}

.thanks-inner { max-width: 560px; width: 100%; }

.thanks-card {
  background: var(--bone);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 48px clamp(28px, 5vw, 56px);
  text-align: center;
  box-shadow: var(--shadow-md);
}

.thanks-check { display: block; margin: 0 auto 20px; }

.thanks h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.8rem;
  letter-spacing: -0.01em;
  margin: 0 0 16px;
  color: var(--charcoal);
}

.thanks p {
  margin: 0 0 16px;
  color: var(--ink);
  line-height: 1.65;
}

.thanks .btn-secondary { margin-top: 16px; }

/* ---------- Footer ------------------------------------------------------ */

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--cream-deep);
  padding: 32px clamp(20px, 5vw, 48px);
  margin-top: 32px;
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-inner p { margin: 0; }

.footer-meta { font-style: italic; }
