/* LuxScout public site — luxury black / champagne-gold / warm-white.
   Palette mirrors the app's dark theme (constants/theme.ts). */
:root {
  --bg: #000000;
  --surface: #141619;
  --surface-2: #1f2227;
  --text: #f4f3ef;
  --text-2: #a6aab1;
  --text-3: #787d85;
  --gold: #c9a86a;
  --gold-soft: rgba(201, 168, 106, 0.14);
  --green: #6fbf98;
  --border: #24272c;
  --maxw: 1080px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, .serif { font-family: 'Playfair Display', Georgia, 'Times New Roman', serif; }
a { color: var(--gold); text-decoration: none; }
a:hover { text-decoration: underline; }
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.overline {
  text-transform: uppercase; letter-spacing: 0.18em; font-size: 12px;
  font-weight: 600; color: var(--gold);
}
.muted { color: var(--text-2); }
.small { font-size: 14px; color: var(--text-3); }

/* Header */
header.site {
  position: sticky; top: 0; z-index: 10;
  background: rgba(0, 0, 0, 0.82); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
header.site .bar { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { font-family: 'Playfair Display', serif; font-size: 22px; font-weight: 700; color: var(--text); letter-spacing: 0.02em; }
.brand .dot { color: var(--gold); }
header.site nav a { color: var(--text-2); margin-left: 22px; font-size: 14px; }
header.site nav a:hover { color: var(--text); text-decoration: none; }

/* Hero */
.hero { padding: 88px 0 64px; text-align: center; border-bottom: 1px solid var(--border); }
.hero h1 { font-size: clamp(38px, 7vw, 68px); line-height: 1.05; letter-spacing: -0.01em; }
.hero h1 .gold { color: var(--gold); }
.hero .tagline { max-width: 720px; margin: 22px auto 0; font-size: clamp(16px, 2.4vw, 20px); color: var(--text-2); }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 36px; }

/* Buttons */
.btn {
  display: inline-block; padding: 13px 22px; border-radius: 999px; font-weight: 600;
  font-size: 15px; border: 1px solid transparent; cursor: pointer; transition: opacity .15s, background .15s;
}
.btn:hover { text-decoration: none; opacity: .9; }
.btn-primary { background: var(--gold); color: #1a1407; }
.btn-outline { border-color: var(--border); color: var(--text); }
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }

/* Sections */
section { padding: 64px 0; border-bottom: 1px solid var(--border); }
section h2 { font-size: clamp(26px, 4vw, 38px); margin-bottom: 10px; }
section .lead { color: var(--text-2); max-width: 680px; margin-bottom: 36px; }

/* Feature grid */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 24px;
}
.card h3 { font-size: 19px; margin-bottom: 8px; color: var(--text); }
.card p { color: var(--text-2); font-size: 15px; }
.card .ic { color: var(--gold); font-size: 22px; margin-bottom: 12px; display: block; }

/* Category chips */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  border: 1px solid var(--border); background: var(--gold-soft); color: var(--text);
  border-radius: 999px; padding: 8px 16px; font-size: 14px;
}

/* Legal / article pages */
.legal { padding: 56px 0; }
.legal h1 { font-size: clamp(30px, 5vw, 44px); margin-bottom: 8px; }
.legal .updated { color: var(--text-3); font-size: 14px; margin-bottom: 32px; }
.legal h2 { font-size: 22px; margin: 34px 0 10px; color: var(--text); }
.legal h3 { font-size: 17px; margin: 22px 0 8px; color: var(--gold); }
.legal p, .legal li { color: var(--text-2); margin-bottom: 12px; }
.legal ul { padding-left: 22px; }
.legal a { color: var(--gold); }
.note {
  background: var(--surface); border: 1px solid var(--border); border-left: 3px solid var(--gold);
  border-radius: 10px; padding: 16px 18px; margin: 18px 0; color: var(--text-2);
}

/* Footer */
footer.site { padding: 48px 0 40px; color: var(--text-3); border-top: 1px solid var(--border); }
footer.site .links { display: flex; flex-wrap: wrap; gap: 18px; justify-content: center; margin-bottom: 14px; }
footer.site .links a { color: var(--text-2); font-size: 14px; }
footer.site .cols {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 28px; text-align: left; margin-bottom: 28px; padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
}
footer.site .col h4 {
  font-family: 'Inter', sans-serif; font-size: 12px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.14em; color: var(--text-3);
  margin-bottom: 14px;
}
footer.site .col a { display: block; color: var(--text-2); font-size: 14px; margin-bottom: 9px; }
footer.site .col a:hover { color: var(--gold); }
footer.site .legal-id { font-size: 13px; color: var(--text-3); text-align: center; }
footer.site .legal-id strong { color: var(--text-2); font-weight: 600; }

/* Homepage slide-style sections (scoped to body.home so legal pages are
   unaffected). Subtle proximity snap; each slide ≈ one viewport on desktop. */
body.home { scroll-snap-type: y proximity; scroll-padding-top: 64px; }
.slide {
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  scroll-snap-align: start;
  padding: 96px 0 64px;
  border-bottom: 1px solid var(--border);
}
.slide:last-of-type { border-bottom: none; }
.slide .inner { width: 100%; }
.slide .inner.center { text-align: center; }
.slide-hero h1 { font-size: clamp(40px, 7vw, 72px); line-height: 1.04; letter-spacing: -0.01em; }
.slide-hero h1 .gold { color: var(--gold); }
.slide-hero .tagline { max-width: 680px; margin: 20px auto 0; font-size: clamp(16px, 2.4vw, 20px); color: var(--text-2); }
.slide .inner.center .cta-row { justify-content: center; }
.slide .inner.center .lead { margin-left: auto; margin-right: auto; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); max-width: 760px; }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.chips-center { justify-content: center; }
.tag {
  font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--gold); border: 1px solid var(--border); border-radius: 999px;
  padding: 2px 8px; margin-left: 6px; vertical-align: middle;
}
.disclaimer { margin-top: 22px; }
.scroll-hint {
  display: inline-block; margin-top: 40px; font-size: 26px; line-height: 1;
  color: var(--text-3); animation: bob 1.8s ease-in-out infinite;
}
.scroll-hint:hover { color: var(--gold); text-decoration: none; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(6px); } }
@media (prefers-reduced-motion: reduce) { .scroll-hint { animation: none; } }

@media (max-width: 560px) {
  header.site nav { display: none; }
  .hero { padding: 60px 0 48px; }
  body.home { scroll-snap-type: none; }
  .slide { min-height: auto; padding: 64px 0; }
}
