/* CLVB marketing site — shared stylesheet
   Palette + type mirror apps/customer/lib/design_system (obsidian + metallic gold). */

:root {
  --black: #0b0b0e;
  --bg-top: #141219;
  --bg-bottom: #0b0b0e;
  --surface: #14131a;
  --surface-muted: #1e1c26;
  --text-primary: #ffffff;
  --text-secondary: #d4c8b8;
  --text-tertiary: #a69986;
  --border: #383227;
  --border-muted: #242018;
  --divider: #2b261d;
  --gold: #c5a059;
  --gold-light: #dfba6d;
  --gold-dark: #947435;
  --danger: #e5484d;
  --warning: #ff9f43;
  --max-width: 1080px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: radial-gradient(120% 90% at 50% -10%, #3b2e15 0%, var(--bg-bottom) 60%);
  background-color: var(--bg-bottom);
  color: var(--text-primary);
  font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}

a { color: inherit; text-decoration: none; }

img, svg { max-width: 100%; display: block; }

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

/* ---------- Header / Nav ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(11, 11, 14, 0.72);
  border-bottom: 1px solid var(--border-muted);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.logo {
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.5px;
  background: linear-gradient(135deg, #bf953f 0%, #fcf6ba 25%, #b38728 50%, #fbf5b7 75%, #aa771c 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
}

.nav-links a:hover { color: var(--gold-light); }

.nav-toggle { display: none; }
.nav-toggle-label { display: none; }

/* Mobile nav via checkbox hack — no JS required */
@media (max-width: 720px) {
  .nav-toggle-label {
    display: flex;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 6px;
  }
  .nav-toggle-label span {
    width: 22px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
  }
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--border-muted);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
  }
  .nav-links a {
    display: block;
    width: 100%;
    padding: 16px 24px;
    border-top: 1px solid var(--border-muted);
  }
  .nav-toggle:checked ~ .nav-links {
    max-height: 400px;
  }
}

/* ---------- Hero ---------- */

.hero {
  padding: 96px 0 64px;
  text-align: center;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface-muted);
  color: var(--gold-light);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  margin-bottom: 28px;
}

.pill-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 8px var(--gold);
}

.hero-logo {
  font-weight: 800;
  font-size: clamp(56px, 14vw, 104px);
  letter-spacing: -3px;
  line-height: 1;
  margin: 0 0 20px;
  background: linear-gradient(135deg, #bf953f 0%, #fcf6ba 25%, #b38728 50%, #fbf5b7 75%, #aa771c 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-tagline {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin: 0 0 18px;
}

.hero-headline {
  font-size: clamp(28px, 5vw, 42px);
  font-weight: 800;
  letter-spacing: -0.5px;
  max-width: 640px;
  margin: 0 auto 18px;
}

.hero-sub {
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 540px;
  margin: 0 auto 40px;
}

/* ---------- Store badges ---------- */

.store-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-bottom: 16px;
}

.store-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 22px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--surface);
  min-width: 200px;
  text-align: left;
  cursor: default;
  position: relative;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.store-badge:hover {
  border-color: var(--gold-dark);
  transform: translateY(-1px);
}

.store-badge svg { width: 26px; height: 26px; flex-shrink: 0; }

.store-badge .store-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.store-badge .store-eyebrow {
  font-size: 11px;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.store-badge .store-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
}

.store-badge .soon-tag {
  position: absolute;
  top: -9px;
  right: 12px;
  background: var(--gold);
  color: var(--black);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 999px;
}

.hero-note {
  font-size: 13px;
  color: var(--text-tertiary);
}

/* ---------- Feature grid ---------- */

.features {
  padding: 40px 0 96px;
}

.section-heading {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 48px;
}

.section-heading .overline {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 10px;
  display: block;
}

.section-heading h2 {
  font-size: clamp(24px, 4vw, 32px);
  font-weight: 800;
  letter-spacing: -0.5px;
  margin: 0 0 12px;
}

.section-heading p {
  color: var(--text-secondary);
  margin: 0;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border-muted);
  border-radius: 18px;
  padding: 28px 24px;
}

.feature-card .icon-badge {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--surface-muted);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: var(--gold-light);
}

.feature-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin: 0 0 8px;
}

.feature-card p {
  font-size: 14px;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.55;
}

/* ---------- Partner strip ---------- */

.partner-strip {
  border-top: 1px solid var(--border-muted);
  border-bottom: 1px solid var(--border-muted);
  padding: 48px 0;
  text-align: center;
}

.partner-strip h2 {
  font-size: 22px;
  font-weight: 800;
  margin: 0 0 10px;
}

.partner-strip p {
  color: var(--text-secondary);
  max-width: 480px;
  margin: 0 auto 20px;
}

.btn-outline {
  display: inline-block;
  padding: 12px 26px;
  border-radius: 12px;
  border: 1px solid var(--gold-dark);
  color: var(--gold-light);
  font-weight: 700;
  font-size: 14px;
}

.btn-outline:hover { border-color: var(--gold); background: var(--surface-muted); }

/* ---------- Footer ---------- */

.site-footer {
  padding: 56px 0 40px;
  border-top: 1px solid var(--border-muted);
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 32px;
}

.footer-brand .logo { display: inline-block; margin-bottom: 10px; }

.footer-brand p {
  color: var(--text-tertiary);
  font-size: 13px;
  max-width: 280px;
  margin: 0;
}

.footer-col h4 {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-tertiary);
  margin: 0 0 14px;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a {
  font-size: 14px;
  color: var(--text-secondary);
}

.footer-col a:hover { color: var(--gold-light); }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding-top: 24px;
  border-top: 1px solid var(--border-muted);
  font-size: 13px;
  color: var(--text-tertiary);
}

/* ---------- Legal / content pages ---------- */

.legal-hero {
  padding: 72px 0 32px;
  border-bottom: 1px solid var(--border-muted);
}

.legal-hero .overline {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--gold-light);
  display: block;
  margin-bottom: 12px;
}

.legal-hero h1 {
  font-size: clamp(28px, 5vw, 40px);
  font-weight: 800;
  letter-spacing: -0.5px;
  margin: 0 0 14px;
}

.legal-hero .updated {
  color: var(--text-tertiary);
  font-size: 14px;
}

.legal-content {
  padding: 48px 0 96px;
  max-width: 760px;
  margin: 0 auto;
}

.legal-content h2 {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.3px;
  margin: 40px 0 14px;
}

.legal-content h2:first-child { margin-top: 0; }

.legal-content h3 {
  font-size: 16px;
  font-weight: 700;
  margin: 24px 0 10px;
  color: var(--text-primary);
}

.legal-content p {
  color: var(--text-secondary);
  margin: 0 0 16px;
  font-size: 15px;
  line-height: 1.7;
}

.legal-content ul, .legal-content ol {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.7;
  padding-left: 22px;
  margin: 0 0 16px;
}

.legal-content li { margin-bottom: 8px; }

.legal-content a { color: var(--gold-light); text-decoration: underline; text-underline-offset: 2px; }

.legal-content strong { color: var(--text-primary); }

.callout {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px 22px;
  margin: 0 0 24px;
}

.callout p:last-child { margin-bottom: 0; }

.toc {
  background: var(--surface);
  border: 1px solid var(--border-muted);
  border-radius: 14px;
  padding: 20px 24px;
  margin-bottom: 8px;
}

.toc h4 {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-tertiary);
  margin: 0 0 12px;
}

.toc ol {
  margin: 0;
  padding-left: 18px;
  columns: 2;
  font-size: 14px;
}

.toc a { color: var(--text-secondary); }
.toc a:hover { color: var(--gold-light); }

@media (max-width: 560px) {
  .toc ol { columns: 1; }
}

/* ---------- Support / contact ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  margin: 0 0 40px;
}

.contact-card {
  background: var(--surface);
  border: 1px solid var(--border-muted);
  border-radius: 16px;
  padding: 24px;
}

.contact-card h3 {
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 8px;
}

.contact-card p {
  font-size: 14px;
  color: var(--text-secondary);
  margin: 0 0 12px;
}

.contact-card a.email {
  color: var(--gold-light);
  font-weight: 700;
  font-size: 14px;
}

/* ---------- 404 ---------- */

.notfound {
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 24px;
}

.notfound .code {
  font-size: clamp(64px, 18vw, 140px);
  font-weight: 900;
  letter-spacing: -4px;
  line-height: 1;
  background: linear-gradient(135deg, #bf953f 0%, #fcf6ba 25%, #b38728 50%, #fbf5b7 75%, #aa771c 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 12px;
}

.notfound h1 {
  font-size: 22px;
  margin: 0 0 10px;
}

.notfound p {
  color: var(--text-secondary);
  max-width: 420px;
  margin: 0 0 28px;
}

.btn-solid {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 12px;
  background: linear-gradient(135deg, #bf953f 0%, #dfba6d 50%, #aa771c 100%);
  color: var(--black);
  font-weight: 800;
  font-size: 14px;
}
