/* LeaseCloser — public marketing pages only (/, /pricing). Mirror changes in styles.css for these sections. */


:root {
  --ink: #181a1b;
  --ink-soft: #3a3d40;
  --ink-muted: #6b7075;
  --surface: #f4f3f0;
  --surface-raised: #ffffff;
  --surface-deep: #eceae5;
  --border: #e0ddd8;
  --border-strong: #c8c4bc;
  --gold: #b49a6a;
  --gold-light: #d4bc90;
  --gold-faint: #f0ead8;
  --blue-slate: #2c3e50;
  --blue-muted: #4a6278;
  --blue-faint: #e8eef4;
  --shadow-sm: 0 1px 3px rgba(24, 26, 27, 0.06), 0 1px 2px rgba(24, 26, 27, 0.04);
  --shadow-md: 0 4px 12px rgba(24, 26, 27, 0.08), 0 2px 6px rgba(24, 26, 27, 0.05);
  --shadow-lg: 0 12px 32px rgba(24, 26, 27, 0.1), 0 4px 12px rgba(24, 26, 27, 0.06);
  --shadow-xl: 0 24px 60px rgba(24, 26, 27, 0.13), 0 8px 20px rgba(24, 26, 27, 0.07);
  --r: 10px;
  --r-lg: 16px;
  /* legacy aliases used in templates */
  --bg: var(--surface);
  --text: var(--ink);
  --muted: var(--ink-muted);
  --primary: var(--ink);
  --card: var(--surface-raised);
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "DM Sans", system-ui, sans-serif;
  background: var(--surface);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: "Cormorant Garamond", Georgia, serif;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--ink);
  font-weight: 600;
}

a {
  color: var(--blue-muted);
  text-decoration: none;
  transition: color 0.15s;
}
a:hover { color: var(--ink); }

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 32px;
}

.eyebrow {
  font-family: "DM Sans", sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--ink);
  color: #fff;
  font-family: "DM Sans", sans-serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.01em;
  padding: 13px 26px;
  border-radius: var(--r);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: var(--shadow-md);
}
.btn:hover {
  background: #0f1112;
  transform: translateY(-1px);
  box-shadow: var(--shadow-lg);
  color: #fff;
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--border-strong);
  box-shadow: none;
}
.btn-ghost:hover {
  border-color: var(--ink);
  background: rgba(24, 26, 27, 0.03);
  color: var(--ink);
}
.btn-sm {
  padding: 9px 18px;
  font-size: 13px;
}
.btn-gold {
  background: var(--gold);
  color: #fff;
  border: none;
  box-shadow: 0 4px 16px rgba(180, 154, 106, 0.28);
}
.btn-gold:hover {
  background: #a38a5a;
  color: #fff;
  box-shadow: 0 6px 22px rgba(180, 154, 106, 0.38);
}

.muted { color: var(--ink-muted); }
.price { font-family: "Cormorant Garamond", serif; font-size: 1.8rem; font-weight: 700; }
.simple-list { margin: 8px 0 0; padding-left: 18px; }

/* Flash */
.flash-stack {
  position: fixed;
  right: 16px;
  top: 80px;
  z-index: 200;
  display: grid;
  gap: 8px;
  max-width: 360px;
}
.lc-app .flash-stack { top: 64px; z-index: 520; }
.flash {
  padding: 12px 14px;
  border-radius: var(--r);
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  box-shadow: var(--shadow-md);
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.flash-hide { opacity: 0; transform: translateY(-6px); }
.flash-success { background: #3d7a4a; }
.flash-error { background: #b91c1c; }

/* ---- Public nav ---- */
.lc-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(244, 243, 240, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.lc-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 64px;
}
.lc-nav-menu-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--border-strong);
  border-radius: var(--r);
  background: var(--surface-raised);
  cursor: pointer;
  flex-shrink: 0;
}
.lc-nav-menu-btn:hover {
  background: var(--surface-deep);
  border-color: var(--ink-soft);
}
.lc-nav-menu-btn .lc-hamburger {
  background: var(--ink);
  box-shadow: 0 -6px 0 0 var(--ink), 0 6px 0 0 var(--ink);
}
.lc-nav-panel {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-left: auto;
}
.lc-nav-panel .lc-nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.lc-nav-panel .lc-nav-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}
.lc-nav-backdrop {
  display: none;
  position: fixed;
  inset: 64px 0 0 0;
  background: rgba(24, 26, 27, 0.45);
  z-index: 140;
}
body.lc-public-nav-open .lc-nav-backdrop {
  display: block;
}
.lc-nav-logo {
  font-family: "Cormorant Garamond", serif;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 8px;
}
.lc-nav-logo span {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
}
.lc-nav-links a {
  font-size: 13.5px;
  font-weight: 400;
  color: var(--ink-soft);
}
.lc-nav-links a:hover { color: var(--ink); }
.lc-nav-cta .btn { padding: 9px 20px; font-size: 13px; }
.lc-nav-cta .btn-ghost { padding: 8px 18px; font-size: 13px; }

.lc-public-main {
  padding-top: 64px;
  min-height: 100vh;
}

/* ---- Public footer ---- */
.lc-footer {
  background: var(--ink);
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding: 32px 0;
  margin-top: 0;
}
.lc-footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.lc-footer-logo {
  font-family: "Cormorant Garamond", serif;
  font-size: 18px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.6);
  display: flex;
  align-items: center;
  gap: 6px;
}
.lc-footer-logo span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
}
.lc-footer-copy { font-size: 12px; color: rgba(255, 255, 255, 0.25); }
.lc-footer-links { display: flex; gap: 20px; flex-wrap: wrap; }
.lc-footer-links a {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.3);
}
.lc-footer-links a:hover { color: rgba(255, 255, 255, 0.6); }

/* Legal pages */
.lc-legal {
  padding: 96px 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
}
.lc-legal .lc-section-header {
  margin-bottom: 32px;
}
.lc-legal h1 {
  font-size: clamp(36px, 4vw, 52px);
  margin: 12px 0 0;
}
.lc-legal-card {
  max-width: 860px;
  margin: 0 auto;
  background: var(--surface-raised);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 30px;
  box-shadow: var(--shadow-sm);
}
.lc-legal-card h3 {
  margin: 22px 0 8px;
  font-size: 24px;
}
.lc-legal-card h3:first-child {
  margin-top: 0;
}
.lc-legal-card p {
  margin: 0;
  color: var(--ink-muted);
  font-size: 15px;
  line-height: 1.7;
}

/* ---- Landing: hero ---- */
.lc-hero {
  padding-top: 100px;
  padding-bottom: 80px;
  position: relative;
  overflow: hidden;
}
.lc-hero::before {
  content: "";
  position: absolute;
  top: -60px;
  right: -100px;
  width: 700px;
  height: 700px;
  background: radial-gradient(ellipse at center, rgba(180, 154, 106, 0.07) 0%, transparent 68%);
  pointer-events: none;
}
.lc-hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.lc-hero-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold-faint);
  border: 1px solid rgba(180, 154, 106, 0.25);
  border-radius: 100px;
  padding: 5px 14px;
  margin-bottom: 28px;
}
.lc-hero-label .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
}
.lc-hero-label span { font-size: 12px; color: var(--gold); font-weight: 500; }
.lc-hero h1 {
  font-size: clamp(42px, 5vw, 68px);
  font-weight: 700;
  line-height: 1.02;
  margin: 0 0 22px;
}
.lc-hero h1 em {
  font-style: italic;
  color: var(--blue-muted);
}
.lc-hero-sub {
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-muted);
  max-width: 440px;
  margin-bottom: 36px;
  font-weight: 300;
}
.lc-hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.lc-mock-card {
  background: var(--surface-raised);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 20px 22px;
  box-shadow: var(--shadow-md);
}
.lc-mock-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 16px;
}
.lc-stat-cell {
  background: var(--surface);
  border-radius: 8px;
  padding: 10px 12px;
  border: 1px solid var(--border);
}
.lc-stat-val {
  font-size: 18px;
  font-weight: 600;
  font-family: "Cormorant Garamond", serif;
  color: var(--ink);
}
.lc-stat-label {
  font-size: 10.5px;
  color: var(--ink-muted);
  margin-top: 2px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Trust strip */
.lc-trust-strip {
  background: var(--ink);
  padding: 18px 0;
}
.lc-trust-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}
.lc-trust-item {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
  font-weight: 300;
}
.lc-trust-item strong { color: rgba(255, 255, 255, 0.85); font-weight: 500; }
.lc-trust-divider { width: 1px; height: 16px; background: rgba(255, 255, 255, 0.15); }

/* How it works */
.lc-how {
  padding: 100px 0;
  background: var(--surface-raised);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.lc-section-header { text-align: center; margin-bottom: 64px; }
.lc-section-header h2 { font-size: clamp(32px, 4vw, 48px); margin-top: 12px; margin-bottom: 0; }
.lc-section-header p {
  font-size: 16px;
  color: var(--ink-muted);
  margin-top: 14px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
  font-weight: 300;
}
.lc-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.lc-step {
  padding: 40px 36px;
  background: var(--surface-raised);
  transition: background 0.2s;
}
.lc-step + .lc-step { border-left: 1px solid var(--border); }
.lc-step:hover { background: var(--surface); }
.lc-step-num {
  font-family: "Cormorant Garamond", serif;
  font-size: 56px;
  font-weight: 700;
  color: var(--border);
  line-height: 1;
  margin-bottom: 16px;
}
.lc-step h3 { font-size: 22px; margin: 0 0 10px; }
.lc-step p { font-size: 14px; color: var(--ink-muted); line-height: 1.65; font-weight: 300; margin: 0; }

/* Value / features grid */
.lc-value {
  padding: 100px 0;
  background: var(--surface);
}
.lc-features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.lc-feature-card {
  padding: 28px 30px;
  background: var(--surface-raised);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.lc-feature-card:hover {
  border-color: var(--gold-light);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.lc-feature-card h3 { font-size: 20px; margin: 0 0 10px; }
.lc-feature-card p { font-size: 14.5px; color: var(--ink-muted); font-weight: 300; margin: 0; }

/* Preview stats */
.lc-preview {
  padding: 80px 0;
  background: var(--surface-deep);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

/* Pricing teaser */
.lc-pricing-teaser {
  padding: 80px 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
}
.lc-pricing-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 780px;
  margin: 48px auto 0;
}
.lc-pricing-card {
  background: var(--surface-raised);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 36px 34px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s, box-shadow 0.2s;
}
.lc-pricing-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.lc-pricing-card.featured {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
  box-shadow: var(--shadow-xl);
}
.lc-pricing-card.featured h3,
.lc-pricing-card.featured .price { color: #fff; }
.lc-pricing-card.featured p { color: rgba(255, 255, 255, 0.55); }

/* FAQ */
.lc-faq { padding: 80px 0; background: var(--surface-raised); border-top: 1px solid var(--border); }
.lc-faq details {
  border-bottom: 1px solid var(--border);
  padding: 18px 0;
}
.lc-faq summary {
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
}
.lc-faq summary::-webkit-details-marker { display: none; }
.lc-faq details p {
  font-size: 14.5px;
  color: var(--ink-muted);
  font-weight: 300;
  margin: 12px 0 0;
  line-height: 1.7;
}

/* Final CTA */
.lc-final-cta {
  padding: 100px 0;
  background: var(--ink);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.lc-final-cta::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 700px;
  height: 500px;
  background: radial-gradient(ellipse at center, rgba(180, 154, 106, 0.08) 0%, transparent 60%);
  pointer-events: none;
}
.lc-final-cta-inner { position: relative; z-index: 1; }
.lc-final-cta .eyebrow { margin-bottom: 16px; }
.lc-final-cta h2 {
  font-size: clamp(36px, 5vw, 56px);
  color: #fff;
  margin: 0 auto 18px;
  max-width: 640px;
}
.lc-final-cta p { font-size: 16px; color: rgba(255, 255, 255, 0.45); font-weight: 300; margin-bottom: 32px; }
.lc-final-cta-actions { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }
.lc-final-cta .btn-ghost {
  border-color: rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.7);
}
.lc-final-cta .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

/* Legacy public sections */
.hero.container { padding-top: 48px; padding-bottom: 24px; }
.cta-row { display: flex; gap: 12px; margin-top: 16px; flex-wrap: wrap; }
.mock-dashboard { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.stat {
  background: var(--surface-raised);
  padding: 14px;
  border-radius: var(--r);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.stat span { font-size: 11px; color: var(--ink-muted); text-transform: uppercase; letter-spacing: 0.06em; }
.stat strong {
  font-family: "Cormorant Garamond", serif;
  font-size: 24px;
  display: block;
  margin-top: 6px;
}
.site-header, .site-footer { display: none; }

@media (max-width: 900px) {
  .lc-hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .lc-steps { grid-template-columns: 1fr; }
  .lc-step + .lc-step { border-left: none; border-top: 1px solid var(--border); }
  .lc-features-grid { grid-template-columns: 1fr; }
  .lc-pricing-cards { grid-template-columns: 1fr; max-width: 440px; }

  .lc-nav-menu-btn { display: flex; }
  .lc-nav-panel {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    bottom: 0;
    margin-left: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 24px;
    padding: 24px;
    background: var(--surface-raised);
    border-top: 1px solid var(--border);
    box-shadow: var(--shadow-xl);
    z-index: 150;
    transform: translateX(100%);
    transition: transform 0.28s ease;
    overflow-y: auto;
  }
  body.lc-public-nav-open .lc-nav-panel {
    transform: translateX(0);
  }
  .lc-nav-panel .lc-nav-links {
    flex-direction: column;
    gap: 0;
  }
  .lc-nav-panel .lc-nav-links li {
    border-bottom: 1px solid var(--border);
  }
  .lc-nav-panel .lc-nav-links a {
    display: block;
    padding: 14px 0;
    font-size: 16px;
  }
  .lc-nav-panel .lc-nav-cta {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding-top: 8px;
  }
  .lc-nav-panel .lc-nav-cta .btn,
  .lc-nav-panel .lc-nav-cta .btn-ghost {
    width: 100%;
    justify-content: center;
  }
  .mock-dashboard { grid-template-columns: repeat(2, 1fr); }
}
