/* Family Beacon Showcase — Standalone Static Stylesheet (family-beacon.site) */
:root {
  --bg: #070b14;
  --surface: #0f172a;
  --card: #111827;
  --border: rgba(148, 163, 184, 0.18);
  --text: #f8fafc;
  --muted: #cbd5e1;
  --indigo: #6366f1;
  --teal: #14b8a6;
  --teal-light: #2dd4bf;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
}
a { color: var(--teal-light); text-decoration: none; }
a:hover { text-decoration: underline; }
.container { max-width: 1120px; margin: 0 auto; padding: 0 20px; }

/* Header */
.topbar {
  position: sticky; top: 0; z-index: 40;
  background: rgba(7, 11, 20, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.topbar-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 12px 0; flex-wrap: wrap;
}
.brand { display: flex; align-items: center; gap: 12px; color: var(--text); font-weight: 800; font-size: 1.15rem; }
.brand img { width: 40px; height: 40px; border-radius: 10px; object-fit: contain; background: rgba(255,255,255,0.05); }
.nav { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; font-size: 0.92rem; }
.nav a { color: var(--muted); font-weight: 600; }
.nav a:hover { color: var(--text); text-decoration: none; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 20px; border-radius: 12px; font-weight: 700; font-size: 0.95rem;
  background: linear-gradient(135deg, var(--indigo), #4f46e5); color: #fff;
  border: 1px solid rgba(165, 180, 252, 0.35);
}
.btn:hover { text-decoration: none; filter: brightness(1.08); }
.btn-teal { background: linear-gradient(135deg, #0d9488, var(--teal)); color: #042f2e; border-color: rgba(153,246,228,0.4); }

/* Compliance Banner */
.compliance-banner {
  background: linear-gradient(90deg, rgba(20, 184, 166, 0.16), rgba(99, 102, 241, 0.16));
  border-bottom: 1px solid rgba(45, 212, 191, 0.3);
  padding: 10px 16px; text-align: center; font-size: 0.9rem; font-weight: 700; color: #99f6e4;
}

/* Hero */
.hero {
  padding: 56px 0 44px;
  background: radial-gradient(circle at top right, rgba(99, 102, 241, 0.18), transparent 48%),
              radial-gradient(circle at top left, rgba(20, 184, 166, 0.14), transparent 44%);
}
.hero-grid { display: grid; grid-template-columns: 1.35fr 0.85fr; gap: 32px; align-items: center; }
.pill {
  display: inline-block; padding: 5px 12px; border-radius: 999px; font-size: 0.78rem;
  font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em;
  background: rgba(20, 184, 166, 0.15); color: var(--teal-light);
  border: 1px solid rgba(45, 212, 191, 0.4); margin-bottom: 14px;
}
h1 { font-size: clamp(1.85rem, 3.6vw, 2.75rem); line-height: 1.14; margin-bottom: 16px; font-weight: 800; }
.lead { font-size: 1.06rem; color: var(--muted); margin-bottom: 24px; max-width: 62ch; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.qr-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: 20px;
  padding: 24px; text-align: center;
}
.qr-wrap {
  background: #fff; padding: 12px; border-radius: 14px; display: inline-block; margin-bottom: 12px;
}
.qr-wrap img { width: 170px; height: 170px; display: block; image-rendering: pixelated; }

/* Sections & Cards */
section { padding: 48px 0; scroll-margin-top: 84px; }
h2 { font-size: 1.65rem; font-weight: 800; margin-bottom: 10px; }
.sub { color: var(--muted); margin-bottom: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.card {
  background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 20px;
}
.card h3 { font-size: 1.05rem; margin-bottom: 8px; color: #fff; }
.card p { font-size: 0.93rem; color: var(--muted); }
.tag {
  display: inline-block; font-size: 0.72rem; font-weight: 700; text-transform: uppercase;
  padding: 3px 9px; border-radius: 999px; margin-bottom: 10px;
  background: rgba(99, 102, 241, 0.2); color: #c7d2fe;
}
.price { font-size: 1.55rem; font-weight: 800; color: var(--teal-light); margin: 6px 0 8px; }
.footer {
  border-top: 1px solid var(--border); padding: 28px 0 36px; color: #94a3b8; font-size: 0.88rem;
}

@media (max-width: 860px) {
  .hero-grid, .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .topbar { position: relative; }
}
