/*
 * QRBoomi Brand Design System
 * Single source of truth for tokens, typography, nav, and buttons.
 * All pages must link to this file.
 */

/* ── TOKENS ─────────────────────────────────────────────────────────────── */
:root {
  /* Brand palette */
  --accent:        #f5d96b;
  --accent-hover:  #e8c84a;
  --accent-ink:    #0a1a3a;
  --ink:           #0a1a3a;
  --ink-soft:      #4a4e6b;
  --ink-muted:     #8a8fa8;
  --bg:            #f6f1e6;
  --bg-alt:        #f0f4f9;
  --white:         #ffffff;
  --white-70:      rgba(255,255,255,.78);
  --white-50:      rgba(255,255,255,.55);

  /* Hero gradient */
  --grad-hero: linear-gradient(135deg, #002b6b 0%, #0050b8 50%, #00a0d8 100%);

  /* Hero heading accent gradient (on dark bg) */
  --grad-accent-dark: linear-gradient(180deg, #f5d96b 0%, #c9a800 100%);

  /* Section heading accent gradient (on light bg) */
  --grad-accent-light: linear-gradient(135deg, #0050b8 0%, #00a0d8 100%);

  /* Layout */
  --container:     72rem;   /* 1152px — single canonical max-width */
  --pad-x:         3.5rem;  /* 56px side padding at desktop */
  --pad-x-md:      1.5rem;  /* 24px at mobile */
  --section-py:    6rem;    /* 96px vertical section padding */

  /* Typography — HERO */
  --hero-size:     clamp(34px, 4.8vw, 64px);
  --hero-lh:       1.10;
  --hero-ls:       -.024em;
  --hero-weight:   700;
  --hero-font:     "IBM Plex Sans", sans-serif;

  /* Typography — SECTION HEADINGS */
  --title-size:    clamp(30px, 3.8vw, 52px);
  --title-lh:      1.08;
  --title-ls:      -.022em;
  --title-weight:  700;
  --title-font:    "IBM Plex Sans", sans-serif;

  /* Typography — BODY */
  --body-font:     "Lato", system-ui, sans-serif;
}

/* ── BASE ────────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--body-font);
  background: var(--bg);
  color: var(--ink);
  overflow-x: hidden;
}

/* ── CONTAINER ───────────────────────────────────────────────────────────── */
.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--pad-x);
}
@media (max-width: 720px) {
  .container { padding-inline: var(--pad-x-md); }
}

/* ── TYPOGRAPHY UTILITIES ────────────────────────────────────────────────── */

/* Hero heading — used on every hero / above-fold section */
.hero-heading {
  font-family: var(--hero-font);
  font-weight: var(--hero-weight);
  font-size: var(--hero-size);
  line-height: var(--hero-lh);
  letter-spacing: var(--hero-ls);
  text-wrap: balance;
  margin: 0;
}
/* Accent on dark background (hero gradient) */
.hero-heading .accent,
.hero-heading .accent-dark {
  background: var(--grad-accent-dark);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-bottom: 0.06em;
}
/* Accent on light background */
.hero-heading .accent-light {
  background: var(--grad-accent-light);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Section heading — used in all content sections */
.section-heading {
  font-family: var(--title-font);
  font-weight: var(--title-weight);
  font-size: var(--title-size);
  line-height: var(--title-lh);
  letter-spacing: var(--title-ls);
  text-wrap: balance;
  margin: 0 0 16px;
}

/* Section eyebrow */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font: 600 11px/1 var(--body-font);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 16px;
}
.eyebrow::before {
  content: "";
  display: block;
  width: 20px; height: 2px;
  background: var(--accent);
  border-radius: 2px;
}
/* Eyebrow pill variant — for dark/hero backgrounds */
.eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 16px 7px 13px;
  border-radius: 999px;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.18);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
  font: 600 11px/1 var(--body-font);
  letter-spacing: .16em;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.eyebrow-pill .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(245,217,107,.22);
  flex: 0 0 7px;
}

/* ── BUTTONS ─────────────────────────────────────────────────────────────── */
.btn {
  font-family: var(--body-font);
  font-weight: 700;
  font-size: 15.5px;
  padding: 13px 26px;
  border-radius: 0.5rem;
  border: 0;
  cursor: pointer;
  transition: transform .12s ease, background .15s ease, border-color .15s ease, color .15s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  text-decoration: none;
  line-height: 1;
}
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--accent);
  color: var(--accent-ink);
}
.btn-primary:hover { background: var(--accent-hover); }

.btn-secondary {
  background: #000;
  color: #fff;
}
.btn-secondary:hover { background: #1a1a1a; }

/* Ghost on dark backgrounds */
.btn-ghost-dark {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,.32);
}
.btn-ghost-dark:hover {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.55);
}

/* Ghost on light backgrounds */
.btn-ghost-light {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid rgba(10,26,58,.22);
}
.btn-ghost-light:hover {
  background: rgba(10,26,58,.04);
  border-color: rgba(10,26,58,.40);
}

.btn-lg { padding: 15px 32px; font-size: 16px; }

/* ── NAV ─────────────────────────────────────────────────────────────────── */
.site-nav {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 20px var(--pad-x);
  color: #fff;
  position: relative;
  z-index: 10;
}
.site-nav .nav-left  { justify-self: start; }
.site-nav .nav-center { justify-self: center; }
.site-nav .nav-right  { justify-self: end; }

.site-nav .nav-logo {
  display: inline-flex;
  align-items: center;
  height: 44px;
  text-decoration: none;
}
.site-nav .nav-logo img {
  display: block;
  height: 100%;
  width: auto;
}

.site-nav .nav-links {
  display: inline-flex;
  align-items: center;
  gap: 32px;
  list-style: none;
  margin: 0; padding: 0;
}
.site-nav .nav-links a {
  font: 500 15px var(--body-font);
  color: rgba(255,255,255,.85);
  text-decoration: none;
  transition: color .15s;
}
.site-nav .nav-links a:hover { color: #fff; }

.site-nav .nav-actions {
  display: inline-flex;
  align-items: center;
  gap: 16px;
}
.site-nav .nav-login {
  font: 500 15px var(--body-font);
  color: rgba(255,255,255,.85);
  text-decoration: none;
  transition: color .15s;
}
.site-nav .nav-login:hover { color: #fff; }
.site-nav .nav-cta {
  font: 700 15px var(--body-font);
  background: var(--accent);
  color: var(--accent-ink);
  border: 0;
  border-radius: 0.5rem;
  padding: 11px 20px;
  cursor: pointer;
  transition: background .15s, transform .12s;
  white-space: nowrap;
  text-decoration: none;
  display: inline-flex; align-items: center;
}
.site-nav .nav-cta:hover  { background: var(--accent-hover); }
.site-nav .nav-cta:active { transform: translateY(1px); }

@media (max-width: 900px) {
  .site-nav .nav-center { display: none; }
  .site-nav { padding: 16px var(--pad-x-md); }
}

/* Section eyebrow — matches homepage section tags */
.section-eyebrow {
  display: inline-block;
  padding: 8px 20px;
  border-radius: 999px;
  border: 1px solid #e2e8f0;
  background: #fff;
  color: #64748b;
  font-family: var(--body-font);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 24px;
}
