/* Shared design system for door.lease company/legal pages (about, support,
   trust, privacy, terms, accessibility). Matches the marketing site, and hides
   marketing chrome when the page is embedded in the app via ?app=1. */

:root {
  --bg: #080d18;
  --bg-soft: #0c1220;
  --ink: #edf2fa;
  --muted: #a8b7cf;
  --subtle: #74839c;
  --line: rgba(255, 255, 255, 0.09);
  --line-soft: rgba(255, 255, 255, 0.06);
  --gold: #f0a500;
  --mint: #33f06d;
  --sky: #60a8fa;
  --card: rgba(255, 255, 255, 0.045);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
.container { width: min(1080px, calc(100% - 40px)); margin: 0 auto; }

/* Header */
header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(8, 13, 24, 0.9);
  border-bottom: 1px solid var(--line);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}
.nav { min-height: 66px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { font-size: 19px; font-weight: 900; letter-spacing: -0.02em; color: var(--ink); }
.brand .gold { color: var(--gold); }
.navlinks { display: flex; gap: 18px; color: var(--muted); font-size: 13px; font-weight: 750; }
.navlinks a:hover { color: var(--gold); }
.cta {
  display: inline-flex; min-height: 42px; align-items: center; justify-content: center;
  padding: 0 18px; border-radius: 7px; background: var(--gold); color: #111;
  font-weight: 900; white-space: nowrap;
}

/* Hero */
.hero {
  padding: 84px 0 46px;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 82% 18%, rgba(51, 240, 109, 0.12), transparent 34%),
    linear-gradient(180deg, #0c1220 0%, #080d18 100%);
}
.kicker { color: var(--mint); font-size: 12px; font-weight: 900; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 16px; }
.hero h1 { max-width: 820px; font-size: clamp(38px, 6vw, 60px); line-height: 1.02; letter-spacing: -0.03em; color: var(--ink); margin-bottom: 18px; }
.hero .lede { max-width: 700px; color: var(--muted); font-size: clamp(17px, 2vw, 20px); line-height: 1.55; }
.hero-meta { margin-top: 14px; color: var(--subtle); font-size: 13px; font-weight: 700; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.btn-primary {
  display: inline-flex; min-height: 46px; align-items: center; justify-content: center;
  padding: 0 20px; border-radius: 8px; background: var(--gold); color: #111; font-weight: 900; white-space: nowrap;
}
.btn-secondary {
  display: inline-flex; min-height: 46px; align-items: center; justify-content: center;
  padding: 0 20px; border-radius: 8px; border: 1px solid var(--line); background: var(--card); color: var(--ink); font-weight: 850; white-space: nowrap;
}

/* Sections */
section.block { padding: 60px 0; border-bottom: 1px solid var(--line); }
.section-head { max-width: 720px; margin-bottom: 28px; }
.section-head h2 { font-size: clamp(26px, 3.4vw, 38px); line-height: 1.1; letter-spacing: -0.02em; color: var(--ink); margin-bottom: 12px; }
.section-head p { color: var(--muted); }

/* Long-form prose (privacy, terms) */
.prose { max-width: 760px; }
.prose h2 { font-size: 22px; color: var(--ink); margin: 34px 0 12px; padding-bottom: 8px; border-bottom: 1px solid var(--line); letter-spacing: -0.01em; }
.prose h3 { font-size: 16px; color: var(--ink); margin: 22px 0 8px; }
.prose p, .prose li { color: var(--muted); font-size: 15.5px; line-height: 1.75; margin-bottom: 12px; }
.prose ul, .prose ol { padding-left: 20px; margin-bottom: 14px; }
.prose a { color: var(--gold); }
.prose a:hover { text-decoration: underline; }

/* Cards */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card { border: 1px solid var(--line); border-radius: 12px; background: var(--card); padding: 22px; }
.card h3 { color: var(--ink); font-size: 16px; font-weight: 750; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 14px; line-height: 1.6; }
.card .ic { width: 40px; height: 40px; border-radius: 10px; background: rgba(240, 165, 0, 0.12); color: var(--gold); display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.card .ic svg { width: 22px; height: 22px; }

/* Numbered steps */
.steps { counter-reset: step; list-style: none; }
.steps li { counter-increment: step; position: relative; padding: 16px 0 16px 56px; border-bottom: 1px solid var(--line); }
.steps li:last-child { border-bottom: none; }
.steps li::before {
  content: counter(step); position: absolute; left: 0; top: 16px;
  width: 36px; height: 36px; border-radius: 10px; background: rgba(240, 165, 0, 0.1); color: var(--gold);
  font-size: 14px; font-weight: 800; display: flex; align-items: center; justify-content: center;
}
.steps li strong { display: block; color: var(--ink); font-size: 15px; margin-bottom: 4px; }
.steps li span { color: var(--muted); font-size: 14px; }

/* Highlight / contact card */
.highlight {
  border: 1px solid rgba(240, 165, 0, 0.32); border-radius: 12px; padding: 26px;
  background: linear-gradient(135deg, rgba(240, 165, 0, 0.12), rgba(96, 168, 250, 0.05));
}
.highlight .big { font-size: 22px; font-weight: 800; color: var(--gold); display: inline-block; }
.highlight .sub { color: var(--muted); font-size: 14px; margin-top: 6px; }

/* FAQ list (support, trust) */
.faq-list { display: grid; gap: 12px; }
.faq-item { border: 1px solid var(--line); border-radius: 12px; background: var(--card); padding: 18px 20px; }
.faq-item h3 { color: var(--ink); font-size: 15px; font-weight: 750; margin-bottom: 6px; }
.faq-item p { color: var(--muted); font-size: 14px; line-height: 1.65; }
.faq-item p + p { margin-top: 8px; }

/* Bulleted rule list (trust "what it does not claim", accessibility notes) */
.rule-list { list-style: none; display: grid; gap: 10px; }
.rule-list li { position: relative; padding-left: 26px; color: var(--muted); font-size: 15px; line-height: 1.6; }
.rule-list li strong { color: var(--ink); font-weight: 750; }
.rule-list li::before { content: ''; position: absolute; left: 0; top: 9px; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }

/* App mode: hide marketing chrome when embedded in the app (?app=1). The app
   provides its own native title bar, so header/footer/CTAs are noise there. */
html.app-mode header,
html.app-mode footer,
html.app-mode .dl-footer,
html.app-mode .hero-actions,
html.app-mode .app-hide { display: none !important; }
html.app-mode .hero { padding-top: 30px; border-bottom: 1px solid var(--line); }

@media (max-width: 820px) {
  .grid, .grid-2 { grid-template-columns: 1fr; }
  .hero { padding-top: 60px; }
}
