/* ═══ Aristos Brand System v2.0 — buttons (ch. 9.2) for the guest path ═══
   One kit across landing, pricing, login and the guest chat:
   · radius 8 px — never a pill, never 4/6/10/12 (radius law)
   · Primary  = gold gradient face, INK label (never white on gold)
   · Secondary = Jacarta outline, gold ignition on hover
   · Ghost    = tertiary
   · states: rest · hover (lift 1 px + gold shadow) · focus-visible (2 px Lavender ring, 3 px offset)
             · active · disabled (45%, colours kept)
   Loaded last by includes/guest-nav.php, so `html body` selectors win over page rules. */

:root {
  --bb-ink: #14102E; --bb-jacarta: #2D2769; --bb-lav: #9889C0; --bb-lav-light: #B9A9F2;
  --bb-gold: #C5A572; --bb-gold-deep: #A88550; --bb-gold-ink: #7A5F30; --bb-mute: #6A6880;
}

/* ── shared anatomy ── */
html body :is(.gnav-cta, .hero-cta, .cta, .ent-btn, .closing-primary, .closing-quiet, .invite-banner button, .glow-pack .buy, .ghost, .guest-limit-btn) {
  border-radius: 8px;
  font-family: inherit;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  text-decoration: none;
  line-height: 1.2;
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  cursor: pointer;
  transition: transform .2s cubic-bezier(.4,0,.2,1), box-shadow .2s ease, background .2s ease, border-color .2s ease, color .2s ease;
}
html body :is(.gnav-cta, .hero-cta, .cta, .ent-btn, .closing-primary, .closing-quiet, .invite-banner button, .glow-pack .buy, .ghost, .guest-limit-btn):focus-visible {
  outline: 2px solid var(--bb-lav); outline-offset: 3px;
}
html body :is(.gnav-cta, .hero-cta, .cta, .ent-btn, .closing-primary, .closing-quiet, .invite-banner button, .glow-pack .buy, .ghost, .guest-limit-btn):disabled,
html body :is(.cta, .ghost, .guest-limit-btn)[aria-disabled="true"] {
  opacity: .45; cursor: not-allowed; transform: none; box-shadow: none;
}

/* ── sizes: sm 12 / md 10 / lg 13 vertical padding — one size per region ── */
html body :is(.gnav-cta, .invite-banner button, .glow-pack .buy, .guest-limit-btn) { padding: 9px 18px; font-size: .85rem; min-height: 38px; }
html body :is(.cta, .ent-btn, .closing-primary, .closing-quiet, .hero-cta, .ghost) { padding: 13px 26px; font-size: 1.05rem; min-height: 50px; }
html body :is(.cta, .ghost) { width: 100%; }

/* ── PRIMARY — gold face, Ink label ── */
html body :is(.gnav-cta, .hero-cta, .cta.warm, .ent-btn, .closing-primary, .invite-banner button, .guest-limit-btn--primary) {
  background: linear-gradient(135deg, var(--bb-gold), var(--bb-gold-deep));
  color: var(--bb-ink);
  border: 1px solid transparent;
  box-shadow: 0 1px 2px rgba(20,16,46,.12);
}
html body .cta:not(.warm):not(.quiet):not(.current) {
  background: linear-gradient(135deg, var(--bb-gold), var(--bb-gold-deep)); color: var(--bb-ink); border: 1px solid transparent;
}
html body :is(.gnav-cta, .hero-cta, .cta.warm, .cta:not(.quiet):not(.current), .ent-btn, .closing-primary, .invite-banner button, .guest-limit-btn--primary):hover:not(:disabled) {
  background: linear-gradient(135deg, var(--bb-gold), var(--bb-gold-deep));
  color: var(--bb-ink);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(197,165,114,.38);
}
html body :is(.gnav-cta, .hero-cta, .cta.warm, .cta:not(.quiet):not(.current), .ent-btn, .closing-primary, .invite-banner button, .guest-limit-btn--primary):active:not(:disabled) {
  transform: translateY(0); box-shadow: 0 1px 2px rgba(20,16,46,.12);
}
html body .hero-cta svg, html body .ent-btn svg, html body .closing-primary svg { width: 1em; height: 1em; }

/* ── SECONDARY — Jacarta outline, gold ignition on hover ── */
html body :is(.cta.quiet, .closing-quiet, .ghost, .ghost.sso, .glow-pack .buy, .guest-limit-btn--secondary) {
  background: transparent;
  color: var(--bb-jacarta);
  border: 1.5px solid var(--bb-jacarta);
  box-shadow: none;
}
html body :is(.cta.quiet, .closing-quiet, .ghost, .ghost.sso, .glow-pack .buy, .guest-limit-btn--secondary):hover:not(:disabled) {
  background: rgba(197,165,114,.14);
  border-color: var(--bb-gold);
  color: var(--bb-jacarta);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(197,165,114,.28);
}
html body :is(.cta.quiet, .closing-quiet, .ghost, .ghost.sso, .glow-pack .buy, .guest-limit-btn--secondary):active:not(:disabled) { transform: translateY(0); box-shadow: none; }
html body .glow-pack .buy:hover:not(:disabled) { background: linear-gradient(135deg, var(--bb-gold), var(--bb-gold-deep)); color: var(--bb-ink); border-color: transparent; }

/* current plan — a quiet, non-interactive state (green is reserved for "live") */
html body .cta.current {
  background: transparent; color: var(--bb-mute); border: 1.5px solid rgba(106,104,128,.35);
  cursor: default; transform: none; box-shadow: none;
}

/* ── dark grounds: Jacarta is too dark to read, use Lavender Light ── */
html[data-theme="dark"] body :is(.cta.quiet, .closing-quiet, .ghost, .ghost.sso, .glow-pack .buy, .guest-limit-btn--secondary) {
  color: var(--bb-lav-light); border-color: rgba(185,169,242,.55);
}
html[data-theme="dark"] body :is(.cta.quiet, .closing-quiet, .ghost, .ghost.sso, .glow-pack .buy, .guest-limit-btn--secondary):hover:not(:disabled) {
  color: var(--bb-gold-light, #E3C88F); border-color: var(--bb-gold); background: rgba(197,165,114,.12);
}
html[data-theme="dark"] body .glow-pack .buy:hover:not(:disabled) { color: var(--bb-ink); }
html[data-theme="dark"] body .cta.current { color: #9D94A8; border-color: rgba(157,148,168,.35); }

/* ── nav sign-in is the small primary ── */
html body .gnav-cta { padding: 9px 20px; }
