/* BASE */
:root {
  --bg: #0a1628;
  --bg-alt: #0f1f38;
  --surface: #152544;
  --border: rgba(200,133,58,0.15);
  --fg: #f4ede0;
  --fg-muted: rgba(244,237,224,0.55);
  --accent: #c8853a;
  --accent-light: #e8a85a;
  --copper: #a06828;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* NAV */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 3rem;
  border-bottom: 1px solid var(--border);
}

.nav-brand { display: flex; align-items: center; gap: 0.75rem; }
.nav-logo {
  width: 36px; height: 36px;
  background: var(--accent);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-family: 'DM Serif Display', serif;
  font-size: 1rem; color: var(--bg);
  font-weight: 700;
}
.nav-name { font-family: 'DM Serif Display', serif; font-size: 1.1rem; letter-spacing: -0.02em; }
.nav-tagline { color: var(--fg-muted); font-size: 0.8rem; letter-spacing: 0.05em; text-transform: uppercase; }

/* HERO */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 6rem 3rem 4rem;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.12;
}
.hero-orb-1 {
  width: 600px; height: 600px;
  background: #c8853a;
  top: -200px; left: -150px;
}
.hero-orb-2 {
  width: 400px; height: 400px;
  background: #3a7cc8;
  bottom: -100px; right: 10%;
  opacity: 0.07;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(200,133,58,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200,133,58,0.04) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);
}

.hero-content {
  position: relative;
  max-width: 900px;
}

.hero-label {
  display: inline-block;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 0.35rem 0.85rem;
  margin-bottom: 2rem;
}

.hero-headline {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(3.5rem, 7vw, 6rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--fg);
  margin-bottom: 2rem;
}
.hero-headline em {
  font-style: italic;
  color: var(--accent);
}

.hero-sub {
  font-size: 1.15rem;
  color: var(--fg-muted);
  max-width: 620px;
  line-height: 1.7;
  margin-bottom: 3.5rem;
  font-weight: 300;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
}

.hero-stat {
  display: flex;
  flex-direction: column;
  padding: 0 2.5rem;
}
.hero-stat:first-child { padding-left: 0; }

.hero-stat-num {
  font-family: 'DM Serif Display', serif;
  font-size: 2.2rem;
  color: var(--accent);
  line-height: 1;
  letter-spacing: -0.02em;
}

.hero-stat-label {
  font-size: 0.72rem;
  color: var(--fg-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 0.5rem;
}

.hero-stat-divider {
  width: 1px;
  height: 48px;
  background: var(--border);
}

/* HERO SECONDARY CTA */
.hero-secondary-cta {
  margin-bottom: 2.5rem;
}
.hero-sample-link {
  color: var(--accent);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: color 0.2s;
  border-bottom: 1px solid rgba(200,133,58,0.3);
  padding-bottom: 1px;
}
.hero-sample-link:hover { color: var(--accent-light); border-color: var(--accent-light); }

/* HERO EMAIL CAPTURE */
.hero-capture {
  margin-top: 3.5rem;
  max-width: 520px;
}

.capture-tagline {
  font-size: 1rem;
  color: var(--fg-muted);
  margin-bottom: 1.25rem;
  font-weight: 300;
  line-height: 1.6;
}

.capture-form {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.capture-input {
  flex: 1;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0.85rem 1.1rem;
  color: var(--fg);
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  transition: border-color 0.2s;
  min-width: 0;
}
.capture-input::placeholder { color: var(--fg-muted); }
.capture-input:focus { outline: none; border-color: var(--accent); }

.capture-btn {
  flex-shrink: 0;
  white-space: nowrap;
}

.capture-privacy {
  font-size: 0.78rem;
  color: var(--fg-muted);
  margin-top: 0.85rem;
}

.capture-success {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--accent);
  font-size: 1rem;
  font-weight: 500;
  margin-top: 1.25rem;
}

.capture-error {
  color: #fca5a5;
  font-size: 0.85rem;
  margin-top: 0.85rem;
  display: none;
}

@media (max-width: 600px) {
  .capture-form { flex-direction: column; }
  .capture-input { width: 100%; }
  .capture-btn { width: 100%; }
}

/* PROOF / HOW IT WORKS */
.proof {
  padding: 5rem 3rem;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-alt);
}

.proof-label {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 2.5rem;
}

.proof-steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
}

.proof-step {
  display: flex;
  gap: 1.5rem;
  flex: 1;
}

.proof-step-num {
  font-family: 'DM Serif Display', serif;
  font-size: 2.5rem;
  color: var(--accent);
  opacity: 0.5;
  line-height: 1;
  flex-shrink: 0;
}

.proof-step-body h3 {
  font-family: 'DM Serif Display', serif;
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: var(--fg);
}

.proof-step-body p {
  font-size: 0.9rem;
  color: var(--fg-muted);
  line-height: 1.6;
  font-weight: 300;
}

.proof-step-arrow {
  color: var(--accent);
  opacity: 0.4;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  padding-top: 0.5rem;
  margin: 0 1.5rem;
}

/* FEATURES */
.features {
  padding: 7rem 3rem;
}

.features-header { margin-bottom: 4rem; }

.features-label {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
}

.features-heading {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.features-heading em { font-style: italic; color: var(--accent); }

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}

.feature-card {
  background: var(--bg);
  padding: 2.5rem;
}

.feature-card-main {
  grid-column: span 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.feature-card-main h3 { font-size: 1.5rem; }
.feature-card-main p { font-size: 1.05rem; }

.feature-icon {
  width: 48px; height: 48px;
  border: 1px solid var(--border);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem;
}

.feature-card h3 {
  font-family: 'DM Serif Display', serif;
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
}

.feature-card p {
  color: var(--fg-muted);
  font-size: 0.9rem;
  line-height: 1.65;
  font-weight: 300;
}

/* PRICING */
.pricing {
  padding: 7rem 3rem;
  background: var(--bg-alt);
}

.pricing-header { margin-bottom: 4rem; }

.pricing-label {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
}

.pricing-heading {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.pricing-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 2.5rem;
}

.pricing-card {
  background: var(--bg);
  padding: 3rem;
  position: relative;
}

.pricing-card-featured {
  background: var(--surface);
}

.pricing-badge {
  display: inline-block;
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(200,133,58,0.1);
  border: 1px solid rgba(200,133,58,0.3);
  border-radius: 4px;
  padding: 0.3rem 0.7rem;
  margin-bottom: 1.5rem;
}

.pricing-tier {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: 1rem;
}

.pricing-price {
  font-family: 'DM Serif Display', serif;
  font-size: 3.5rem;
  color: var(--fg);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 1.25rem;
}

.pricing-period {
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  color: var(--fg-muted);
  font-weight: 300;
}

.pricing-desc {
  color: var(--fg-muted);
  font-size: 0.9rem;
  line-height: 1.7;
  font-weight: 300;
  margin-bottom: 2rem;
}

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: var(--fg-muted);
  font-weight: 300;
}

.pricing-features li::before {
  content: '';
  width: 16px; height: 16px;
  background: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='8' cy='8' r='7' stroke='%23c8853a' stroke-width='1'/%3E%3Cpath d='M5 8L7 10L11 6' stroke='%23c8853a' stroke-width='1' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center;
  flex-shrink: 0;
  margin-top: 2px;
}

.pricing-note {
  color: var(--fg-muted);
  font-size: 0.8rem;
  font-style: italic;
  text-align: center;
}

/* TESTIMONIALS / WHO IT'S FOR */
.testimonials {
  padding: 7rem 3rem;
}

.testimonials-header { margin-bottom: 4rem; }

.testimonials-label {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
}

.testimonials-heading {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}

.testimonial-card {
  background: var(--bg-alt);
  padding: 3rem;
}

.testimonial-type {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
}

.testimonial-body {
  font-family: 'DM Serif Display', serif;
  font-size: 1.25rem;
  line-height: 1.55;
  color: var(--fg);
  font-style: italic;
  margin-bottom: 1.5rem;
}

.testimonial-detail {
  font-size: 0.75rem;
  color: var(--fg-muted);
  font-weight: 300;
  letter-spacing: 0.03em;
}

/* CLOSING */
.closing {
  padding: 8rem 3rem;
  text-align: center;
}

.closing-eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 2rem;
}

.closing-headline {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 2rem;
}

.closing-body {
  color: var(--fg-muted);
  font-size: 1.05rem;
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
  font-weight: 300;
}

/* FOOTER */
.footer {
  padding: 3rem;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-brand { display: flex; align-items: center; gap: 0.75rem; }
.footer-logo {
  width: 30px; height: 30px;
  background: var(--accent);
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  font-family: 'DM Serif Display', serif;
  font-size: 0.85rem; color: var(--bg);
}
.footer-name { font-family: 'DM Serif Display', serif; font-size: 0.95rem; }
.footer-tagline { color: var(--fg-muted); font-size: 0.8rem; font-weight: 300; }
.footer-links { display: flex; gap: 1.5rem; }
.footer-links a { color: var(--fg-muted); text-decoration: none; font-size: 0.8rem; transition: color 0.2s; }
.footer-links a:hover { color: var(--accent); }

/* RESPONSIVE */
@media (max-width: 900px) {
  .proof-steps { flex-direction: column; gap: 2rem; }
  .proof-step-arrow { transform: rotate(90deg); padding: 0; margin: 0; }
  .features-grid { grid-template-columns: 1fr; }
  .feature-card-main { grid-column: span 1; }
  .pricing-cards { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .hero-stats { flex-wrap: wrap; gap: 1.5rem; }
  .hero-stat-divider { display: none; }
  .hero-stat { padding: 0; }
  .footer { flex-direction: column; align-items: flex-start; }
  .nav { padding: 1rem 1.5rem; }
  .hero { padding: 4rem 1.5rem 3rem; }
  .proof, .features, .pricing, .testimonials { padding: 4rem 1.5rem; }
  .closing { padding: 5rem 1.5rem; }
  .footer { padding: 2rem 1.5rem; }
}

@media (max-width: 600px) {
  .hero-headline { font-size: 2.8rem; }
  .features-heading, .pricing-heading, .testimonials-heading, .closing-headline { font-size: 2rem; }
  .pricing-price { font-size: 2.8rem; }
  .testimonial-body { font-size: 1.1rem; }
}

/* SHARED BUTTON */
.btn-primary {
  display: inline-block;
  background: var(--accent);
  color: var(--bg);
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  padding: 0.85rem 1.75rem;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
  letter-spacing: 0.01em;
}
.btn-primary:hover { background: var(--accent-light); transform: translateY(-1px); }
.btn-primary:active { transform: translateY(0); }
.btn-primary:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

/* SIGNUP PAGE */
.signup-page {
  background: var(--bg);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}
.signup-container {
  width: 100%;
  max-width: 440px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 3rem 2.5rem;
}
.signup-brand { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 2rem; }
.signup-logo { font-family: 'DM Serif Display', serif; font-size: 1.5rem; color: var(--accent); }
.signup-name { font-weight: 600; font-size: 1.25rem; }
.signup-headline { font-family: 'DM Serif Display', serif; font-size: 2rem; line-height: 1.2; margin-bottom: 0.5rem; }
.signup-sub { color: var(--fg-muted); font-size: 0.95rem; margin-bottom: 2rem; }
.signup-error { background: rgba(220,38,38,0.15); border: 1px solid rgba(220,38,38,0.4); color: #fca5a5; padding: 0.75rem 1rem; border-radius: 6px; font-size: 0.9rem; margin-bottom: 1rem; }
.signup-notice { background: rgba(200,133,58,0.1); border: 1px solid var(--border); color: var(--accent-light); padding: 0.75rem 1rem; border-radius: 6px; font-size: 0.9rem; margin-bottom: 1rem; }
.signup-form { display: flex; flex-direction: column; gap: 1.25rem; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-group label { font-size: 0.85rem; font-weight: 500; color: var(--fg-muted); }
.form-group input {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0.75rem 1rem;
  color: var(--fg);
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  transition: border-color 0.2s;
}
.form-group input:focus { outline: none; border-color: var(--accent); }
.signup-btn { width: 100%; text-align: center; font-size: 1rem; }
.signup-disclaimer { font-size: 0.78rem; color: var(--fg-muted); text-align: center; margin-top: -0.5rem; }
.signup-back { display: block; text-align: center; color: var(--fg-muted); font-size: 0.85rem; margin-top: 1.5rem; text-decoration: none; transition: color 0.2s; }
.signup-back:hover { color: var(--accent); }

/* SUCCESS PAGE */
.success-page {
  background: var(--bg);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}
.success-container {
  width: 100%;
  max-width: 440px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 3rem 2.5rem;
  text-align: center;
}
.success-icon {
  font-size: 3rem;
  color: var(--accent);
  margin-bottom: 1rem;
}
.success-headline { font-family: 'DM Serif Display', serif; font-size: 2rem; margin-bottom: 0.75rem; }
.success-sub { color: var(--fg-muted); font-size: 1rem; margin-bottom: 0.75rem; }
.success-email { color: var(--fg-muted); font-size: 0.9rem; margin-bottom: 2rem; }

/* ── DASHBOARD ─────────────────────────────────── */

.nav-links { display: flex; align-items: center; gap: 1.5rem; }
.nav-link { color: var(--fg-muted); text-decoration: none; font-size: 0.9rem; transition: color 0.2s; }
.nav-link:hover { color: var(--fg); }
.nav-link-cta { color: var(--accent); font-weight: 500; }
.nav-link-cta:hover { color: var(--accent-light); }

.dashboard-layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  min-height: calc(100vh - 73px);
  gap: 0;
}

/* Sidebar */
.sidebar {
  background: var(--bg-alt);
  border-right: 1px solid var(--border);
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.sidebar-section { display: flex; flex-direction: column; gap: 1rem; }
.sidebar-heading {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-muted);
  font-weight: 600;
}

.filter-form { display: flex; flex-direction: column; gap: 0.85rem; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
.form-input {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0.6rem 0.85rem;
  color: var(--fg);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  transition: border-color 0.2s;
}
.form-input:focus { outline: none; border-color: var(--accent); }
select.form-input { cursor: pointer; }

.btn-filter {
  background: var(--accent);
  color: var(--bg);
  border: none;
  border-radius: 6px;
  padding: 0.75rem 1rem;
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  width: 100%;
  transition: background 0.2s;
}
.btn-filter:hover { background: var(--accent-light); }

.btn-clear {
  display: block;
  text-align: center;
  color: var(--fg-muted);
  font-size: 0.82rem;
  text-decoration: none;
  padding: 0.25rem;
  transition: color 0.2s;
}
.btn-clear:hover { color: var(--accent); }

.stat-block { display: flex; flex-direction: column; gap: 0.25rem; }
.stat-num { font-family: 'DM Serif Display', serif; font-size: 2rem; color: var(--fg); }
.stat-label { font-size: 0.75rem; color: var(--fg-muted); text-transform: uppercase; letter-spacing: 0.08em; }

/* Main content */
.main-content { padding: 2.5rem 3rem; }

.content-header { margin-bottom: 2rem; }
.page-title { font-family: 'DM Serif Display', serif; font-size: 2.2rem; color: var(--fg); margin-bottom: 0.4rem; }
.page-sub { color: var(--fg-muted); font-size: 0.95rem; font-weight: 300; }

/* Empty state */
.empty-state { text-align: center; padding: 5rem 2rem; }
.empty-icon { font-size: 3rem; margin-bottom: 1rem; }
.empty-state h2 { font-family: 'DM Serif Display', serif; margin-bottom: 0.75rem; }
.empty-state p { color: var(--fg-muted); }
.empty-state a { color: var(--accent); }

/* Lead list */
.lead-list { display: flex; flex-direction: column; gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }

.lead-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg);
  padding: 1.5rem 2rem;
  text-decoration: none;
  color: var(--fg);
  transition: background 0.2s;
  gap: 2rem;
}
.lead-card:hover { background: var(--surface); }

.lead-card-left { flex: 1; min-width: 0; }
.lead-address { font-weight: 600; font-size: 1.05rem; margin-bottom: 0.25rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lead-location { font-size: 0.85rem; color: var(--fg-muted); margin-bottom: 0.6rem; }

.lead-meta { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 0.5rem; }
.meta-tag { font-size: 0.75rem; color: var(--fg-muted); background: var(--surface); border: 1px solid var(--border); border-radius: 4px; padding: 0.2rem 0.6rem; }

.lead-signals { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.signal-badge { font-size: 0.75rem; color: var(--accent); background: rgba(200,133,58,0.08); border: 1px solid rgba(200,133,58,0.2); border-radius: 4px; padding: 0.2rem 0.6rem; }

.lead-card-right { text-align: right; flex-shrink: 0; display: flex; flex-direction: column; align-items: flex-end; gap: 0.4rem; }
.lead-price { font-family: 'DM Serif Display', serif; font-size: 1.5rem; color: var(--fg); }

.lead-score { display: flex; align-items: center; gap: 0.5rem; }
.score-num { font-family: 'DM Serif Display', serif; font-size: 1.3rem; }
.score-label { font-size: 0.7rem; font-weight: 600; border-radius: 4px; padding: 0.15rem 0.5rem; letter-spacing: 0.05em; text-transform: uppercase; }
.lead-contacts { font-size: 0.78rem; color: var(--fg-muted); }

/* Pagination */
.pagination { display: flex; align-items: center; justify-content: center; gap: 1.5rem; margin-top: 2rem; }
.page-btn { color: var(--accent); text-decoration: none; font-size: 0.9rem; font-weight: 500; }
.page-btn:hover { color: var(--accent-light); }
.page-info { font-size: 0.85rem; color: var(--fg-muted); }

/* ── LEAD DETAIL ─────────────────────────────────── */

.detail-layout { max-width: 1100px; margin: 0 auto; padding: 2rem 3rem; }
.detail-back { margin-bottom: 1.5rem; }
.back-link { color: var(--fg-muted); text-decoration: none; font-size: 0.85rem; transition: color 0.2s; }
.back-link:hover { color: var(--accent); }

.score-banner {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}
.score-banner-left { display: flex; align-items: center; gap: 1.25rem; }
.score-big { font-family: 'DM Serif Display', serif; font-size: 5rem; line-height: 1; }
.score-badge { font-size: 0.78rem; font-weight: 600; border-radius: 4px; padding: 0.25rem 0.65rem; letter-spacing: 0.06em; text-transform: uppercase; }
.score-banner-right { text-align: right; }
.price-big { font-family: 'DM Serif Display', serif; font-size: 2.8rem; color: var(--fg); }
.price-label { font-size: 0.78rem; color: var(--fg-muted); text-transform: uppercase; letter-spacing: 0.08em; }

.signals-row { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 2rem; }
.signal-pill { font-size: 0.82rem; color: var(--accent); background: rgba(200,133,58,0.1); border: 1px solid rgba(200,133,58,0.25); border-radius: 6px; padding: 0.4rem 0.9rem; }

.detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin-bottom: 3rem; }

.detail-section { }
.section-title { font-family: 'DM Serif Display', serif; font-size: 1.3rem; margin-bottom: 1.25rem; color: var(--fg); }
.subsection-title { font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--fg-muted); font-weight: 600; margin-bottom: 0.75rem; margin-top: 1.5rem; }

.property-address { font-size: 1.15rem; font-weight: 600; }
.property-city { color: var(--fg-muted); font-size: 0.95rem; margin-bottom: 1.5rem; }

.detail-card { background: var(--surface); border: 1px solid var(--border); border-radius: 10px; overflow: hidden; }
.detail-row { display: flex; justify-content: space-between; align-items: center; padding: 0.85rem 1.25rem; border-bottom: 1px solid var(--border); }
.detail-row:last-child { border-bottom: none; }
.detail-label { font-size: 0.85rem; color: var(--fg-muted); }
.detail-value { font-size: 0.9rem; font-weight: 500; text-transform: capitalize; }

.owner-card { background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 1.5rem; }
.owner-name { font-size: 1.1rem; font-weight: 600; margin-bottom: 1rem; }
.owner-row { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.6rem; }
.owner-icon { font-size: 0.9rem; }
.owner-value { color: var(--fg); font-size: 0.9rem; text-decoration: none; transition: color 0.2s; }
.owner-value:hover { color: var(--accent); }
.owner-empty { color: var(--fg-muted); font-size: 0.85rem; font-style: italic; }

.contact-history { margin-top: 1.5rem; }
.contact-stats { display: flex; gap: 2rem; }
.contact-stat { display: flex; flex-direction: column; gap: 0.25rem; }
.contact-num { font-family: 'DM Serif Display', serif; font-size: 1.4rem; color: var(--fg); }
.contact-label { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--fg-muted); }

/* Notes */
.notes-section { }
.note-form { margin-bottom: 2rem; }
.note-textarea {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.85rem 1rem;
  color: var(--fg);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  resize: vertical;
  min-height: 80px;
  transition: border-color 0.2s;
  margin-bottom: 0.75rem;
  box-sizing: border-box;
}
.note-textarea:focus { outline: none; border-color: var(--accent); }

.btn-note-submit {
  background: var(--accent);
  color: var(--bg);
  border: none;
  border-radius: 6px;
  padding: 0.7rem 1.5rem;
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background 0.2s;
}
.btn-note-submit:hover { background: var(--accent-light); }
.btn-note-submit:disabled { opacity: 0.6; cursor: not-allowed; }

.notes-list { display: flex; flex-direction: column; gap: 1px; }
.notes-empty { color: var(--fg-muted); font-size: 0.9rem; font-style: italic; padding: 1rem 0; }

.note-item { background: var(--surface); border: 1px solid var(--border); border-radius: 8px; padding: 1.25rem 1.5rem; margin-bottom: 0.75rem; }
.note-text { font-size: 0.95rem; line-height: 1.65; color: var(--fg); white-space: pre-wrap; }
.note-date { font-size: 0.75rem; color: var(--fg-muted); margin-top: 0.6rem; text-transform: uppercase; letter-spacing: 0.06em; }

/* Responsive */
@media (max-width: 900px) {
  .dashboard-layout { grid-template-columns: 1fr; }
  .sidebar { border-right: none; border-bottom: 1px solid var(--border); padding: 1.5rem; }
  .main-content { padding: 1.5rem; }
  .detail-grid { grid-template-columns: 1fr; }
  .detail-layout { padding: 1.5rem; }
  .score-banner { flex-direction: column; align-items: flex-start; gap: 1.5rem; }
  .score-banner-right { text-align: left; }
}