/* Lucid marketing pages — standalone stylesheet (PH-59).
   No external CDN, no font import, no JavaScript. System sans-serif stack.
   Colours mirror the Lucid app palette (warm dark) used across the auth pages. */

:root {
  /* Lucid design-system tokens (matches the SPA landing palette). */
  --bg: #f6f9fd;
  --surface: #ffffff;
  --surface-2: #eef4fb;
  --border: #e3eaf2;
  --text: #0c1824;
  --text-2: #33475b;
  --muted: #5a7186;
  --accent: #3980d2;
  --accent-hover: #2d6fbe;
  --accent-ink: #ffffff;
  --gold: #f5b912;
  --radius: 14px;
  --wrap: 1080px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  font-size: 17px;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

/* Header */
.site-header {
  border-bottom: 1px solid var(--border);
  background: rgba(232, 241, 251, 0.85);
  backdrop-filter: saturate(140%) blur(8px);
  position: sticky;
  top: 0;
  z-index: 10;
}
.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 64px;
  flex-wrap: wrap;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 20px; color: var(--text); }
.brand:hover { text-decoration: none; }
.brand .mark {
  width: 30px; height: 30px; border-radius: 7px;
  background: url('logo.svg') center/contain no-repeat;
  font-size: 0; color: transparent;
}
.nav { display: flex; gap: 20px; margin-left: 8px; }
.nav a { color: var(--text-2); font-size: 15px; }
.nav a:hover { color: var(--text); text-decoration: none; }
.header-cta { margin-left: auto; display: flex; gap: 12px; align-items: center; }
.header-cta .signin { color: var(--text-2); font-size: 15px; }

/* Buttons */
.btn {
  display: inline-block;
  padding: 11px 20px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  border: 1px solid transparent;
}
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: var(--accent-hover); text-decoration: none; }
.btn-ghost { border-color: var(--border); color: var(--text); }
.btn-ghost:hover { border-color: var(--accent); text-decoration: none; }
.btn-lg { padding: 14px 28px; font-size: 17px; }

/* Sections */
section { padding: 56px 0; border-bottom: 1px solid var(--border); }
.hero { padding: 88px 0 72px; text-align: center; }
.hero h1 { font-size: 44px; line-height: 1.15; margin: 0 0 16px; letter-spacing: -0.02em; }
.hero p.lead { font-size: 20px; color: var(--text-2); max-width: 640px; margin: 0 auto 32px; }
h2 { font-size: 30px; margin: 0 0 12px; letter-spacing: -0.01em; }
.section-lead { color: var(--text-2); max-width: 680px; margin: 0 0 32px; }
h3 { font-size: 20px; margin: 0 0 8px; }

/* Card grids */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: 1fr 1fr; }
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}
.card p { color: var(--text-2); margin: 0 0 12px; }

/* Pricing */
.price { font-size: 34px; font-weight: 700; margin: 8px 0 2px; }
.price small { font-size: 15px; font-weight: 400; color: var(--text-2); }
.feature-list { list-style: none; padding: 0; margin: 18px 0 24px; }
.feature-list li { padding: 7px 0 7px 26px; position: relative; color: var(--text); }
.feature-list li::before { content: "—"; position: absolute; left: 0; color: var(--accent); }

/* FAQ / details */
details {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 4px 20px;
  margin-bottom: 12px;
  background: var(--surface);
}
details summary {
  cursor: pointer;
  font-weight: 600;
  padding: 14px 0;
  list-style: none;
}
details summary::-webkit-details-marker { display: none; }
details[open] summary { border-bottom: 1px solid var(--border); }
details p { color: var(--text-2); padding: 12px 0 4px; margin: 0; }

/* Footer */
.site-footer { padding: 40px 0; color: var(--muted); font-size: 14px; }
.site-footer .wrap { display: flex; gap: 20px; flex-wrap: wrap; align-items: center; }
.site-footer a { color: var(--text-2); }
.footer-links { margin-left: auto; display: flex; gap: 18px; }

/* Prose */
.prose p { color: var(--text-2); margin: 0 0 16px; max-width: 720px; }
.prose h2 { margin-top: 40px; }

/* Mobile */
@media (max-width: 640px) {
  body { font-size: 16px; }
  .hero { padding: 56px 0 44px; }
  .hero h1 { font-size: 32px; }
  .hero p.lead { font-size: 18px; }
  h2 { font-size: 24px; }
  .grid-2 { grid-template-columns: 1fr; }
  .nav { display: none; }
  .header-cta { margin-left: auto; }
  .site-footer .wrap { flex-direction: column; align-items: flex-start; }
  .footer-links { margin-left: 0; }
}
