/* CrosshairGG — main stylesheet
   Built on the design system tokens in tokens.css. */

@import url("tokens.css");

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: #0a0a0a;
  color: var(--fg-1);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  /* Make sure no purple/native cursor crosshair shows */
  cursor: default;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font-family: inherit; }
.hidden { display: none !important; }

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

/* ============================================================
   NAV — adaptive: full-width bar at top, floating pill on scroll
   ============================================================ */
.site-nav {
  position: fixed;
  top: 0;
  left: 50%;
  z-index: 50;
  width: 100%;
  transform: translate3d(-50%, 0, 0);
  /* full-width translucent bar at the top of the page */
  background: rgba(10, 10, 10, 0.55);
  -webkit-backdrop-filter: blur(12px) saturate(135%);
  backdrop-filter: blur(12px) saturate(135%);
  border-bottom: 0.5px solid rgba(31, 31, 31, 0.85);
  /* premium easing — cubic-bezier(.22,1,.36,1) is iOS-style */
  transition:
    top 600ms cubic-bezier(0.22, 1, 0.36, 1),
    width 600ms cubic-bezier(0.22, 1, 0.36, 1),
    background 500ms cubic-bezier(0.22, 1, 0.36, 1),
    border-color 500ms cubic-bezier(0.22, 1, 0.36, 1),
    backdrop-filter 500ms cubic-bezier(0.22, 1, 0.36, 1),
    -webkit-backdrop-filter 500ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: width, top;
}
.site-nav.is-scrolled {
  top: 14px;
  width: min(940px, calc(100% - 28px));
  /* the bar background moves onto the pill (inner) when scrolled */
  background: transparent;
  border-bottom-color: transparent;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
.site-nav__inner {
  display: flex;
  align-items: center;
  gap: 18px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 32px;
  background: transparent;
  border: 0.5px solid transparent;
  border-radius: 0;
  box-shadow: 0 0 0 rgba(0, 0, 0, 0);
  transition:
    padding 600ms cubic-bezier(0.22, 1, 0.36, 1),
    background 500ms cubic-bezier(0.22, 1, 0.36, 1),
    border-color 500ms cubic-bezier(0.22, 1, 0.36, 1),
    border-radius 600ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 500ms cubic-bezier(0.22, 1, 0.36, 1),
    backdrop-filter 500ms cubic-bezier(0.22, 1, 0.36, 1),
    -webkit-backdrop-filter 500ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: padding, border-radius, background;
}
.site-nav.is-scrolled .site-nav__inner {
  padding: 8px 8px 8px 18px;
  background: rgba(10, 10, 10, 0.78);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  backdrop-filter: blur(20px) saturate(160%);
  border-color: rgba(31, 31, 31, 1);
  border-radius: 999px;
  box-shadow:
    0 12px 36px rgba(0, 0, 0, 0.5),
    0 1px 0 rgba(255, 255, 255, 0.04) inset;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: none;
}
.brand img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(220, 38, 38, 0.45));
}
.brand__wordmark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  white-space: nowrap;
}
.brand__wordmark em { font-style: normal; color: var(--red-500); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0 auto;
}
.nav-links a {
  position: relative;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 13.5px;
  letter-spacing: 0.01em;
  color: rgba(255, 255, 255, 0.72);
  padding: 8px 14px;
  border-radius: 999px;
  transition: color 180ms var(--ease-out);
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 14px; right: 14px;
  bottom: 4px;
  height: 1.5px;
  background: var(--red-500);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 220ms var(--ease-out);
}
.nav-links a:hover,
.nav-links a.is-active { color: #fff; }
.nav-links a:hover::after,
.nav-links a.is-active::after { transform: scaleX(1); }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px 9px 14px;
  background: linear-gradient(180deg, #ef4444 0%, #dc2626 100%);
  color: #fff;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.01em;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  box-shadow: 0 0 22px rgba(220, 38, 38, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.16);
  transition: transform 200ms var(--ease-out), box-shadow 200ms var(--ease-out);
  flex: none;
}
.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 32px rgba(220, 38, 38, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}
.nav-cta svg { flex: none; }

.mobile-nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  padding: 4px 8px;
}

/* nav "More" dropdown */
.nav-more { position: relative; display: inline-block; }
.nav-more__btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 13.5px;
  letter-spacing: 0.01em;
  color: rgba(255, 255, 255, 0.72);
  background: transparent;
  border: 0;
  padding: 8px 12px;
  border-radius: 999px;
  cursor: pointer;
  transition: color 180ms var(--ease-out);
}
.nav-more__btn svg { transition: transform 240ms var(--ease-out); color: rgba(255,255,255,0.5); }
.nav-more.is-open .nav-more__btn { color: #fff; }
.nav-more.is-open .nav-more__btn svg { transform: rotate(180deg); }
.nav-more__menu {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  min-width: 168px;
  padding: 6px;
  background: rgba(13, 13, 16, 0.92);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  backdrop-filter: blur(20px) saturate(160%);
  border: 0.5px solid #1f1f1f;
  border-radius: 14px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  display: flex;
  flex-direction: column;
  gap: 2px;
  opacity: 0;
  transform: translateY(-8px) scale(0.98);
  transform-origin: top right;
  pointer-events: none;
  transition: opacity 200ms var(--ease-out), transform 200ms cubic-bezier(0.22, 1, 0.36, 1);
}
.nav-more.is-open .nav-more__menu { opacity: 1; transform: none; pointer-events: auto; }
.nav-more__menu a {
  display: block;
  padding: 9px 14px;
  border-radius: 9px;
  font-size: 13.5px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.72);
  transition: color 150ms var(--ease-out), background 150ms var(--ease-out);
}
.nav-more__menu a::after { display: none; }
.nav-more__menu a:hover { color: #fff; background: rgba(255, 255, 255, 0.05); }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  cursor: pointer;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.01em;
  padding: 14px 22px;
  border-radius: 999px;
  transition: transform 200ms var(--ease-out), background 200ms var(--ease-out), box-shadow 200ms var(--ease-out), border-color 200ms var(--ease-out);
  white-space: nowrap;
  text-align: center;
}
.btn--lg { padding: 16px 26px; font-size: 14.5px; }
.btn--primary {
  background: linear-gradient(180deg, #ef4444 0%, #dc2626 100%);
  color: #fff;
  box-shadow: 0 0 24px rgba(220, 38, 38, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 36px rgba(220, 38, 38, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}
.btn--outline {
  background: #111;
  color: #fff;
  border: 0.5px solid #1f1f1f;
}
.btn--outline:hover {
  background: #161616;
  border-color: #2a2a2a;
  transform: translateY(-2px);
}
.btn--block { width: 100%; }
.btn--danger {
  background: rgba(220, 38, 38, 0.12);
  color: var(--red-500);
  border: 0.5px solid rgba(220, 38, 38, 0.35);
}
.btn--danger:hover {
  background: rgba(220, 38, 38, 0.2);
  border-color: rgba(220, 38, 38, 0.5);
  transform: translateY(-2px);
}
.btn--danger:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
}

/* ============================================================
   DASHBOARD — profile dropdown (nav)
   ============================================================ */
.nav-profile { position: relative; z-index: 120; }
.nav-profile__btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 6px 14px 6px 6px;
  background: #111;
  border: 0.5px solid #1f1f1f;
  border-radius: 999px;
  color: #fff;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  transition: border-color 180ms var(--ease-out), background 180ms var(--ease-out), box-shadow 180ms var(--ease-out);
}
.nav-profile--live .nav-profile__btn {
  box-shadow: 0 0 0 1px rgba(239, 68, 68, 0.12);
}
.nav-profile__mark {
  position: absolute;
  width: 11px;
  height: 11px;
  pointer-events: none;
  opacity: 0.95;
  filter: drop-shadow(0 0 4px rgba(239, 68, 68, 0.85));
}
.nav-profile__mark::before,
.nav-profile__mark::after {
  content: "";
  position: absolute;
  background: #ef4444;
  border-radius: 1px;
}
.nav-profile__mark::before {
  left: 50%; top: 0; bottom: 0;
  width: 2px;
  transform: translateX(-50%);
}
.nav-profile__mark::after {
  top: 50%; left: 0; right: 0;
  height: 2px;
  transform: translateY(-50%);
}
.nav-profile__mark--tl { left: -3px; top: -5px; }
.nav-profile__mark--br { right: 18px; bottom: -4px; width: 9px; height: 9px; opacity: 0.75; }
.nav-profile__btn:hover { border-color: #2a2a2a; background: #161616; }
.nav-profile__btn > svg { color: rgba(255,255,255,0.5); transition: transform 240ms var(--ease-out); }
.nav-profile.is-open .nav-profile__btn > svg { transform: rotate(180deg); }
.nav-profile__avatar {
  width: 28px; height: 28px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ef4444, #b91c1c);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 12px;
  color: #fff;
  flex: none;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.nav-profile__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.nav-profile__menu {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  z-index: 200;
  min-width: 190px;
  padding: 6px;
  background: rgba(13, 13, 16, 0.92);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  backdrop-filter: blur(20px) saturate(160%);
  border: 0.5px solid #1f1f1f;
  border-radius: 14px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  display: flex;
  flex-direction: column;
  gap: 2px;
  opacity: 0;
  transform: translateY(-8px) scale(0.98);
  transform-origin: top right;
  pointer-events: none;
  transition: opacity 200ms var(--ease-out), transform 200ms cubic-bezier(0.22, 1, 0.36, 1);
}
.nav-profile.is-open .nav-profile__menu,
.nav-profile:hover .nav-profile__menu,
.nav-profile:focus-within .nav-profile__menu {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
@media (hover: hover) {
  .nav-profile:hover .nav-profile__btn > svg,
  .nav-profile.is-open .nav-profile__btn > svg,
  .nav-profile:focus-within .nav-profile__btn > svg {
    transform: rotate(180deg);
  }
}
.nav-profile__menu a,
.nav-profile__menu button {
  display: flex;
  align-items: center;
  gap: 11px;
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  padding: 10px 13px;
  border-radius: 9px;
  font-family: var(--font-body);
  font-size: 13.5px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.72);
  cursor: pointer;
  text-decoration: none;
  transition: color 150ms var(--ease-out), background 150ms var(--ease-out);
}
.nav-profile__menu a svg,
.nav-profile__menu button svg { color: rgba(255,255,255,0.45); transition: color 150ms var(--ease-out); }
.nav-profile__menu a:hover,
.nav-profile__menu button:hover { color: #fff; background: rgba(255, 255, 255, 0.05); }
.nav-profile__menu a:hover svg,
.nav-profile__menu button:hover svg { color: var(--red-500); }
.nav-profile__menu button.is-logout:hover { color: var(--red-500); background: rgba(220,38,38,0.1); }
.nav-profile__menu button.is-logout:hover svg { color: var(--red-500); }
.nav-profile__sep { height: 0.5px; background: #1f1f1f; margin: 4px 6px; }

/* danger zone card + delete modal */
.dash-card--danger { border-color: rgba(220, 38, 38, 0.28); }
.dash-card--danger h3 { color: var(--red-500); }
.delete-list {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.delete-list li {
  position: relative;
  padding-left: 24px;
  font-size: 14px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.72);
}
.delete-list li::before {
  content: "";
  position: absolute;
  left: 4px; top: 7px;
  width: 6px; height: 6px;
  border-radius: 999px;
  background: var(--red-500);
}
.delete-ack {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 14px;
  background: rgba(220, 38, 38, 0.05);
  border: 0.5px solid rgba(220, 38, 38, 0.2);
  border-radius: 12px;
  cursor: pointer;
  font-size: 13px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.78);
}
.delete-ack input {
  width: 17px; height: 17px;
  flex: none;
  margin-top: 1px;
  accent-color: var(--red-500);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 130px 0 80px;
  background: #0a0a0a;
  overflow: hidden;
}

/* Animated hero background — orbs, grid, particles, scanline */
.hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}
.hero > .container { position: relative; z-index: 1; }

.hero__grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 56px 56px;
  background-position: -1px -1px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, #000 0%, #000 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, #000 0%, #000 40%, transparent 100%);
  opacity: 0.6;
}

.hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  will-change: transform;
  opacity: 0.55;
}
.hero__orb--a {
  width: 520px; height: 520px;
  left: -120px; top: -120px;
  background: radial-gradient(circle, rgba(239, 68, 68, 0.45) 0%, rgba(239, 68, 68, 0) 60%);
  animation: orbDrift1 22s ease-in-out infinite;
}
.hero__orb--b {
  width: 460px; height: 460px;
  right: -80px; top: 20%;
  background: radial-gradient(circle, rgba(220, 38, 38, 0.32) 0%, rgba(220, 38, 38, 0) 65%);
  animation: orbDrift2 26s ease-in-out infinite;
  opacity: 0.45;
}
.hero__orb--c {
  width: 380px; height: 380px;
  left: 35%; bottom: -160px;
  background: radial-gradient(circle, rgba(120, 24, 24, 0.4) 0%, rgba(120, 24, 24, 0) 60%);
  animation: orbDrift3 30s ease-in-out infinite;
  opacity: 0.5;
}
@keyframes orbDrift1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%      { transform: translate(80px, 40px) scale(1.08); }
}
@keyframes orbDrift2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%      { transform: translate(-60px, 30px) scale(1.05); }
}
@keyframes orbDrift3 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%      { transform: translate(40px, -50px) scale(1.12); }
}

.hero__scanline {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 0%, rgba(239, 68, 68, 0.04) 50%, transparent 100%);
  background-size: 100% 280px;
  background-repeat: no-repeat;
  background-position: 0 -280px;
  animation: scanlineMove 11s linear infinite;
  mix-blend-mode: screen;
  opacity: 0.6;
}
@keyframes scanlineMove {
  0%   { background-position: 0 -280px; }
  100% { background-position: 0 calc(100% + 280px); }
}

.hero__particles { position: absolute; inset: 0; }
.hero__particles span {
  position: absolute;
  width: 3px; height: 3px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  box-shadow: 0 0 6px rgba(239, 68, 68, 0.6);
  opacity: 0;
  animation: particleFloat 14s linear infinite;
}
.hero__particles span:nth-child(1)  { left: 8%;  top: 92%; animation-delay: 0s;   animation-duration: 16s; }
.hero__particles span:nth-child(2)  { left: 18%; top: 88%; animation-delay: -3s;  animation-duration: 13s; }
.hero__particles span:nth-child(3)  { left: 28%; top: 95%; animation-delay: -6s;  animation-duration: 18s; }
.hero__particles span:nth-child(4)  { left: 38%; top: 90%; animation-delay: -9s;  animation-duration: 15s; }
.hero__particles span:nth-child(5)  { left: 48%; top: 96%; animation-delay: -12s; animation-duration: 14s; }
.hero__particles span:nth-child(6)  { left: 58%; top: 89%; animation-delay: -2s;  animation-duration: 17s; }
.hero__particles span:nth-child(7)  { left: 68%; top: 93%; animation-delay: -5s;  animation-duration: 12s; }
.hero__particles span:nth-child(8)  { left: 78%; top: 87%; animation-delay: -8s;  animation-duration: 19s; }
.hero__particles span:nth-child(9)  { left: 88%; top: 94%; animation-delay: -11s; animation-duration: 15s; }
.hero__particles span:nth-child(10) { left: 14%; top: 84%; animation-delay: -4s;  animation-duration: 16s; }
.hero__particles span:nth-child(11) { left: 74%; top: 86%; animation-delay: -7s;  animation-duration: 14s; }
.hero__particles span:nth-child(12) { left: 92%; top: 90%; animation-delay: -10s; animation-duration: 18s; }
@keyframes particleFloat {
  0%   { transform: translateY(0)     scale(0.6); opacity: 0;    }
  10%  {                               opacity: 0.8;  }
  90%  {                               opacity: 0.6;  }
  100% { transform: translateY(-90vh) scale(1.2);   opacity: 0;    }
}
@media (prefers-reduced-motion: reduce) {
  .hero__orb, .hero__particles span, .hero__scanline { animation: none !important; }
}
.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 64px;
  align-items: center;
}
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 8px;
  background: #111;
  border: 0.5px solid #1f1f1f;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 28px;
}
.hero__eyebrow .dot {
  width: 6px; height: 6px;
  border-radius: 999px;
  background: var(--green-500);
  box-shadow: 0 0 8px var(--green-500);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.45; }
}

.hero__title {
  position: relative;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.75rem, 5.6vw, 4.75rem);
  line-height: 0.98;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  margin: 0;
  color: #fff;
  /* Subtle red glow ONLY behind headline text */
  text-shadow:
    0 0 40px rgba(239, 68, 68, 0.28),
    0 0 80px rgba(239, 68, 68, 0.15);
  background: linear-gradient(180deg, #fff 0%, #e9e9ee 60%, #c8c8d0 100%);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero__title em {
  font-style: normal;
  color: var(--red-500);
  -webkit-text-fill-color: var(--red-500);
  background: none;
  text-shadow: 0 0 30px rgba(239, 68, 68, 0.55);
}

.hero__sub {
  margin: 24px 0 0;
  max-width: 480px;
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.6);
}

.hero__cta {
  margin-top: 36px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero__meta {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45);
  font-family: var(--font-mono);
}
.hero__meta span { display: inline-flex; align-items: center; gap: 6px; }

/* App screenshot mockup */
.app-mock {
  position: relative;
  width: 100%;
  border-radius: 16px;
  background: linear-gradient(180deg, #0e0e12 0%, #0a0a0d 100%);
  border: 0.5px solid #1f1f1f;
  padding: 0;
  overflow: hidden;
  box-shadow:
    0 50px 110px rgba(0, 0, 0, 0.7),
    0 12px 30px rgba(0, 0, 0, 0.5),
    0 0 90px rgba(220, 38, 38, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  animation: mockFloat 9s ease-in-out infinite;
  will-change: transform;
}
.app-mock::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 17px;
  padding: 1px;
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.3) 0%, transparent 30%, transparent 70%, rgba(239, 68, 68, 0.15) 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
  opacity: 0.7;
}
@keyframes mockFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}
@media (prefers-reduced-motion: reduce) {
  .app-mock { animation: none; }
}
.app-mock__bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: #0a0a0a;
  border-bottom: 0.5px solid #1f1f1f;
}
.app-mock__bar .lights {
  display: inline-flex;
  gap: 6px;
}
.app-mock__bar .lights span {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: #1f1f1f;
}
.app-mock__bar .lights span:nth-child(3) { background: #2a1010; }
.app-mock__bar .label {
  margin-left: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: rgba(255, 255, 255, 0.4);
}
.app-mock img {
  width: 100%;
  display: block;
}
.app-mock--promo {
  background: transparent;
  border: none;
  box-shadow: none;
  overflow: visible;
}
.app-mock--promo::before {
  display: none;
}
.app-mock--promo img {
  border-radius: 16px;
  box-shadow:
    0 50px 110px rgba(0, 0, 0, 0.7),
    0 12px 30px rgba(0, 0, 0, 0.5),
    0 0 90px rgba(220, 38, 38, 0.12);
}
@media (max-width: 900px) {
  .hero__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* ============================================================
   SECTIONS
   ============================================================ */
.section {
  padding: 120px 0;
  position: relative;
}
.section--alt {
  background: #0d0d10;
  position: relative;
}
.section--alt::before,
.section--alt::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(239, 68, 68, 0.25) 50%, transparent 100%);
}
.section--alt::before { top: 0; }
.section--alt::after  { bottom: 0; }
.section__head {
  text-align: center;
  margin-bottom: 64px;
}
.section__eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 11.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red-500);
  margin: 0 0 14px;
}
.section__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.9rem, 3.6vw, 2.75rem);
  line-height: 1.1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #fff;
  margin: 0 0 14px;
}
.section__sub {
  max-width: 580px;
  margin: 0 auto;
  font-size: 15px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.6);
}

/* ============================================================
   FEATURES
   ============================================================ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  counter-reset: feature;
}
.feature-card {
  position: relative;
  padding: 28px 26px 26px;
  background:
    radial-gradient(120% 80% at 100% 0%, rgba(239, 68, 68, 0.06) 0%, rgba(239, 68, 68, 0) 55%),
    linear-gradient(180deg, #131318 0%, #0e0e12 100%);
  border: 0.5px solid #1f1f1f;
  border-radius: 16px;
  overflow: hidden;
  isolation: isolate;
  transition:
    transform 280ms var(--ease-out),
    border-color 280ms var(--ease-out),
    box-shadow 280ms var(--ease-out);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.04) inset,
    0 18px 36px rgba(0, 0, 0, 0.25);
  counter-increment: feature;
}
/* hairline red accent at top edge */
.feature-card::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  height: 1px;
  width: 38%;
  background: linear-gradient(90deg, rgba(239, 68, 68, 0.55), rgba(239, 68, 68, 0));
  opacity: 0.7;
  transition: width 320ms var(--ease-out), opacity 280ms var(--ease-out);
}
/* index number watermark in corner */
.feature-card::after {
  content: "0" counter(feature);
  position: absolute;
  top: 18px;
  right: 22px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.22);
  transition: color 280ms var(--ease-out);
}
.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(239, 68, 68, 0.35);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.06) inset,
    0 22px 48px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(239, 68, 68, 0.08),
    0 0 38px rgba(239, 68, 68, 0.18);
}
.feature-card:hover::before {
  width: 70%;
  opacity: 1;
}
.feature-card:hover::after {
  color: var(--red-500);
}
.feature-card:hover .feature-card__icon {
  transform: translateY(-2px);
  background: rgba(220, 38, 38, 0.18);
  box-shadow: 0 0 24px rgba(220, 38, 38, 0.35), inset 0 0 0 1px rgba(239, 68, 68, 0.45);
}
.feature-card:hover .feature-card__arrow {
  opacity: 1;
  transform: translateX(0);
  color: var(--red-500);
}

.feature-card__icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: rgba(220, 38, 38, 0.12);
  color: var(--red-500);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  box-shadow: inset 0 0 0 1px rgba(239, 68, 68, 0.18);
  transition:
    transform 260ms var(--ease-out),
    background 260ms var(--ease-out),
    box-shadow 260ms var(--ease-out);
}
.feature-card__icon svg { width: 22px; height: 22px; }

.feature-card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  line-height: 1.15;
  letter-spacing: 0.02em;
  text-transform: none;
  color: #fff;
  margin: 0 0 12px;
}
.feature-card p {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
}

.feature-card__arrow {
  position: absolute;
  bottom: 22px;
  right: 22px;
  width: 28px; height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.3);
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 220ms var(--ease-out), transform 220ms var(--ease-out), color 220ms var(--ease-out);
}

/* ============================================================
   SAFETY — accordion (separated cards, smooth grid reveal)
   ============================================================ */
.safety-wrap {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.safety-row {
  background: linear-gradient(180deg, #131318 0%, #0e0e12 100%);
  border: 0.5px solid #1f1f1f;
  border-radius: 14px;
  overflow: hidden;
  transition: border-color 220ms var(--ease-out), background 220ms var(--ease-out), box-shadow 220ms var(--ease-out);
}
.safety-row:hover { border-color: #2a2a2a; }
.safety-row.is-open {
  border-color: rgba(220, 38, 38, 0.4);
  background:
    radial-gradient(120% 100% at 0% 0%, rgba(239, 68, 68, 0.06) 0%, rgba(239, 68, 68, 0) 55%),
    linear-gradient(180deg, #15151b 0%, #0e0e12 100%);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}
.safety-row__head {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  background: transparent;
  border: 0;
  cursor: pointer;
  color: #fff;
  text-align: left;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 15px;
  transition: color 180ms var(--ease-out);
}
.safety-row__icon {
  width: 30px; height: 30px;
  border-radius: 8px;
  background: rgba(220, 38, 38, 0.12);
  color: var(--red-500);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  box-shadow: inset 0 0 0 1px rgba(239, 68, 68, 0.18);
  transition: background 220ms var(--ease-out), box-shadow 220ms var(--ease-out), transform 220ms var(--ease-out);
}
.safety-row__icon img { width: 16px; height: 16px; }
.safety-row.is-open .safety-row__icon {
  background: rgba(220, 38, 38, 0.2);
  box-shadow: inset 0 0 0 1px rgba(239, 68, 68, 0.5), 0 0 20px rgba(220, 38, 38, 0.3);
  transform: scale(1.04);
}
.safety-row__title { flex: 1; letter-spacing: 0.005em; }
.safety-row.is-open .safety-row__title { color: #fff; }
.safety-row__chev {
  width: 28px; height: 28px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 0.5px solid #1f1f1f;
  color: rgba(255, 255, 255, 0.5);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 320ms cubic-bezier(0.22, 1, 0.36, 1), color 220ms var(--ease-out), background 220ms var(--ease-out), border-color 220ms var(--ease-out);
  flex: none;
}
.safety-row__head:hover .safety-row__chev { color: #fff; background: rgba(255, 255, 255, 0.07); }
.safety-row.is-open .safety-row__chev {
  transform: rotate(180deg);
  color: var(--red-500);
  background: rgba(220, 38, 38, 0.12);
  border-color: rgba(220, 38, 38, 0.35);
}
.safety-row__body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 360ms cubic-bezier(0.22, 1, 0.36, 1);
}
.safety-row.is-open .safety-row__body { grid-template-rows: 1fr; }
.safety-row__body p {
  margin: 0;
  overflow: hidden;
  min-height: 0;
  padding: 0 22px 0 64px;
  font-size: 14px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.62);
  opacity: 0;
  transition: opacity 280ms var(--ease-out) 80ms, padding-bottom 360ms var(--ease-out);
}
.safety-row.is-open .safety-row__body p { opacity: 1; padding-bottom: 20px; }

.fivem-card {
  max-width: 760px;
  margin: 0 auto 18px;
  padding: 20px 22px;
  background: #0d0d10;
  border: 0.5px solid #1f1f1f;
  border-radius: 14px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.fivem-card__icon {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: rgba(220, 38, 38, 0.12);
  color: var(--red-500);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
}
.fivem-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.7);
}
.fivem-card strong { color: #fff; font-weight: 600; }

/* ============================================================
   PRICING
   ============================================================ */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  max-width: 900px;
  margin: 0 auto;
}
.pricing-card {
  position: relative;
  padding: 32px 28px;
  background: #111;
  border: 0.5px solid #1f1f1f;
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.pricing-card--featured {
  background: linear-gradient(180deg, #131318 0%, #0e0e12 100%);
  border-color: rgba(220, 38, 38, 0.45);
  box-shadow: 0 0 0 1px rgba(220, 38, 38, 0.1), 0 30px 80px rgba(0, 0, 0, 0.45);
}
.pricing-card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  margin: 0 0 18px;
}
.pricing-card--featured h3 { color: var(--red-500); }

.price-block { margin-bottom: 18px; }
.price-original {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.35);
  text-decoration: line-through;
  margin-right: 8px;
  font-weight: 500;
}
.price-now {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 48px;
  line-height: 1;
  color: #fff;
  letter-spacing: 0.01em;
}
.price-now.is-sale { color: var(--red-500); }
.price-suffix {
  margin-left: 6px;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0;
  text-transform: none;
}
.price-savings {
  margin-top: 8px;
  font-size: 13px;
  color: var(--green-500);
  font-weight: 500;
}
.pricing-card__sub {
  margin: 0 0 18px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}
.pricing-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 26px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.pricing-card li {
  position: relative;
  padding-left: 24px;
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.75);
}
.pricing-card li::before {
  content: "";
  position: absolute;
  left: 0; top: 7px;
  width: 14px; height: 8px;
  border-left: 1.8px solid var(--red-500);
  border-bottom: 1.8px solid var(--red-500);
  transform: rotate(-45deg);
}
.pricing-card .btn { margin-top: auto; }

.payment-badges {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.4);
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
}

.pay-wallets {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 4px;
  width: 100%;
}

.pay-wallet-slot {
  min-height: 48px;
  width: 100%;
  display: flex;
  justify-content: stretch;
  align-items: stretch;
}

.pay-wallet-slot:empty {
  display: none;
  min-height: 0;
}

.pay-wallet-slot > div,
.pay-wallet-slot button {
  width: 100% !important;
  max-width: 100% !important;
}

#square-apple-pay-mount {
  order: 1;
}

#square-google-pay-mount {
  order: 2;
}

.pay-tos {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 14px;
  cursor: pointer;
  user-select: none;
}

.pay-tos__input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

.pay-tos__ring {
  flex: none;
  width: 22px;
  height: 22px;
  margin-top: 2px;
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.28);
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.pay-tos__input:checked + .pay-tos__ring {
  border-color: var(--red-500);
  background: radial-gradient(circle at center, var(--red-500) 0 5px, transparent 6px);
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.2);
}

.pay-tos__text {
  font-size: 11px;
  line-height: 1.55;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.pay-tos__text a {
  color: #f472b6;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.pay-tos__text a:hover {
  color: #fb7185;
}

.pay-tos.is-invalid .pay-tos__ring {
  border-color: var(--red-500);
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.35);
}

.pay-or {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 14px 0;
  color: rgba(255, 255, 255, 0.35);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.pay-or::before,
.pay-or::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.12);
}

.pay-card-field {
  min-height: 56px;
  border: 0.5px solid var(--border);
  border-radius: 10px;
  padding: 4px;
  background: #0a0a0a;
}

.pay-placeholder {
  padding: 14px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.5;
}

/* Sale ribbon */
.sale-ribbon {
  position: absolute;
  top: 18px; right: -52px;
  width: 200px;
  padding: 6px 0;
  background: linear-gradient(180deg, #ef4444 0%, #b91c1c 100%);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-align: center;
  transform: rotate(35deg);
  box-shadow: 0 8px 20px rgba(220, 38, 38, 0.4);
  z-index: 2;
  text-transform: uppercase;
  pointer-events: none;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  border-top: 0.5px solid #1f1f1f;
  background: #0a0a0a;
  padding: 48px 0 36px;
  margin-top: 32px;
}
.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}
.footer__brand { display: flex; align-items: center; gap: 12px; }
.footer__brand img {
  width: 32px; height: 32px;
  filter: drop-shadow(0 0 10px rgba(220, 38, 38, 0.4));
}
.footer__brand-text { display: flex; flex-direction: column; gap: 2px; }
.footer__brand-text strong {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.footer__brand-text em {
  font-style: normal;
  color: var(--red-500);
}
.footer__brand-text span {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
}
.footer__center {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: #111;
  border: 0.5px solid #1f1f1f;
  border-radius: 999px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.75);
}
.footer__center .live-dot {
  width: 7px; height: 7px;
  border-radius: 999px;
  background: var(--green-500);
  box-shadow: 0 0 8px var(--green-500);
  animation: pulse 2.4s ease-in-out infinite;
}
.footer__center b {
  font-weight: 600;
  color: #fff;
  font-variant-numeric: tabular-nums;
}
.footer__links {
  display: flex;
  gap: 22px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
}
.footer__links a { transition: color 180ms var(--ease-out); }
.footer__links a:hover { color: #fff; }
.footer__copy { font-size: 12px; color: rgba(255, 255, 255, 0.35); }

/* ============================================================
   MODAL (kept from original for purchase flow)
   ============================================================ */
.modal-backdrop {
  position: fixed; inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal-backdrop.is-open { display: flex; }
.modal {
  width: min(440px, 100%);
  padding: 28px;
  background: #111;
  border: 0.5px solid #1f1f1f;
  border-radius: 14px;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.6);
}
.modal h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0 0 12px;
}
.modal p { font-size: 14px; line-height: 1.6; color: rgba(255, 255, 255, 0.7); margin: 0 0 20px; }
.modal__actions { display: flex; gap: 10px; justify-content: flex-end; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 880px) {
  .nav-links { display: none; }
  .mobile-nav-toggle { display: inline-flex; }
  .site-nav.is-scrolled { top: 10px; width: calc(100% - 20px); }
  .site-nav__inner { padding: 12px 18px; gap: 10px; }
  .site-nav.is-scrolled .site-nav__inner { padding: 6px 6px 6px 14px; gap: 10px; }
  .hero { padding: 110px 0 60px; min-height: auto; }
  .hero__grid { grid-template-columns: 1fr; gap: 40px; }
  .hero__title { font-size: clamp(2.25rem, 9vw, 3.25rem); }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  .section__head { margin-bottom: 36px; }
  .footer__inner { flex-direction: column; text-align: center; }
}
@media (max-width: 540px) {
  .features-grid { grid-template-columns: 1fr; }
  .container { padding: 0 20px; }
  .fivem-card { flex-direction: column; align-items: flex-start; text-align: left; }
}

/* ============================================================
   ANIMATIONS — quiet fade-up on entry
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 900ms cubic-bezier(0.22, 1, 0.36, 1), transform 900ms cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.is-in { opacity: 1; transform: none; }

/* staggered children inside any .reveal-stagger */
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 700ms cubic-bezier(0.22, 1, 0.36, 1), transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal-stagger.is-in > *:nth-child(1) { transition-delay: 60ms;  opacity: 1; transform: none; }
.reveal-stagger.is-in > *:nth-child(2) { transition-delay: 140ms; opacity: 1; transform: none; }
.reveal-stagger.is-in > *:nth-child(3) { transition-delay: 220ms; opacity: 1; transform: none; }
.reveal-stagger.is-in > *:nth-child(4) { transition-delay: 300ms; opacity: 1; transform: none; }
.reveal-stagger.is-in > *:nth-child(5) { transition-delay: 380ms; opacity: 1; transform: none; }
.reveal-stagger.is-in > *:nth-child(6) { transition-delay: 460ms; opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-stagger > * { transition: none; opacity: 1; transform: none; }
}

/* ============================================================
   ANNOUNCEMENT BAR (editable from admin → settings)
   ============================================================ */
.announce-bar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 60;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 44px 0 16px;
  background:
    linear-gradient(90deg, rgba(220, 38, 38, 0.16) 0%, rgba(10, 10, 10, 0.9) 22%, rgba(10, 10, 10, 0.9) 78%, rgba(220, 38, 38, 0.16) 100%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 0.5px solid rgba(220, 38, 38, 0.35);
  transition: transform 360ms cubic-bezier(0.22, 1, 0.36, 1), opacity 300ms ease;
  will-change: transform;
}
.announce-bar.is-leaving { transform: translateY(-100%); opacity: 0; }
body.nav-scrolled .announce-bar { transform: translateY(-100%); }
.announce-bar__inner {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.85);
  max-width: 100%;
  overflow: hidden;
}
.announce-bar__pulse {
  width: 7px; height: 7px;
  border-radius: 999px;
  background: var(--red-500);
  box-shadow: 0 0 10px var(--red-500);
  flex: none;
  animation: pulse 2.2s ease-in-out infinite;
}
.announce-bar__text {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.announce-bar__cta {
  flex: none;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  padding: 4px 12px;
  border-radius: 999px;
  background: linear-gradient(180deg, #ef4444 0%, #dc2626 100%);
  box-shadow: 0 0 16px rgba(220, 38, 38, 0.4);
  transition: transform 160ms var(--ease-out), box-shadow 160ms var(--ease-out);
}
.announce-bar__cta:hover { transform: translateY(-1px); box-shadow: 0 0 24px rgba(220, 38, 38, 0.6); }
.announce-bar__close {
  position: absolute;
  right: 12px; top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: 0;
  color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  padding: 6px;
  display: inline-flex;
  border-radius: 8px;
  transition: color 160ms var(--ease-out), background 160ms var(--ease-out);
}
.announce-bar__close:hover { color: #fff; background: rgba(255, 255, 255, 0.06); }

/* push the floating nav down while the bar is showing */
body.has-announce .site-nav { top: 40px; }
body.has-announce .site-nav.is-scrolled { top: 14px; }

@media (max-width: 600px) {
  .announce-bar { height: auto; min-height: 40px; padding: 7px 40px 7px 14px; }
  .announce-bar__inner { font-size: 12px; gap: 8px; }
  .announce-bar__text { white-space: normal; }
  .announce-bar__cta { display: none; }
}

/* ============================================================
   MAINTENANCE BANNER
   ============================================================ */
.maint-banner {
  position: relative;
  z-index: 61;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 16px;
  background: rgba(245, 158, 11, 0.12);
  border-bottom: 0.5px solid rgba(245, 158, 11, 0.4);
  color: var(--amber-500);
  font-size: 13px;
  font-weight: 500;
  text-align: center;
}
.maint-banner svg { flex: none; }

/* ============================================================
   TRANSLATE / LANGUAGE SWITCHER (bottom-left)
   ============================================================ */
.lang-switch {
  position: fixed;
  left: 20px; bottom: 20px;
  z-index: 55;
  font-family: var(--font-body);
}
.lang-switch__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  background: rgba(13, 13, 16, 0.75);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  backdrop-filter: blur(16px) saturate(150%);
  border: 0.5px solid #1f1f1f;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transition: transform 200ms var(--ease-out), border-color 200ms var(--ease-out), box-shadow 200ms var(--ease-out);
}
.lang-switch__btn:hover {
  transform: translateY(-2px);
  border-color: rgba(220, 38, 38, 0.4);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.5), 0 0 24px rgba(220, 38, 38, 0.18);
}
.lang-switch__btn svg:first-child { color: var(--red-500); }
.lang-switch__chev { transition: transform 240ms var(--ease-out); color: rgba(255,255,255,0.45); }
.lang-switch.is-open .lang-switch__chev { transform: rotate(180deg); }

.lang-switch__menu {
  position: absolute;
  left: 0; bottom: calc(100% + 10px);
  width: 200px;
  max-height: 320px;
  overflow-y: auto;
  padding: 6px;
  background: rgba(13, 13, 16, 0.92);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  backdrop-filter: blur(20px) saturate(160%);
  border: 0.5px solid #1f1f1f;
  border-radius: 14px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  opacity: 0;
  transform: translateY(8px) scale(0.98);
  transform-origin: bottom left;
  pointer-events: none;
  transition: opacity 220ms var(--ease-out), transform 220ms cubic-bezier(0.22, 1, 0.36, 1);
}
.lang-switch.is-open .lang-switch__menu {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
.lang-switch__opt {
  text-align: left;
  background: transparent;
  border: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 12.5px;
  padding: 9px 10px;
  border-radius: 9px;
  cursor: pointer;
  transition: color 150ms var(--ease-out), background 150ms var(--ease-out);
}
.lang-switch__opt:hover { background: rgba(255, 255, 255, 0.05); color: #fff; }
.lang-switch__opt.is-active { color: var(--red-500); background: rgba(220, 38, 38, 0.1); }

@media (max-width: 600px) {
  .lang-switch { left: 14px; bottom: 14px; }
  .lang-switch__menu { width: 240px; }
}

/* Neutralize Google Translate's injected chrome */
.goog-te-banner-frame, .skiptranslate { display: none !important; }
body { top: 0 !important; }
#goog-gt-tt, .goog-te-balloon-frame { display: none !important; }
.goog-text-highlight { background: none !important; box-shadow: none !important; }
font { background: transparent !important; box-shadow: none !important; }

/* ============================================================
   SUBPAGE HERO (about / terms)
   ============================================================ */
.page-hero {
  position: relative;
  padding: 180px 0 64px;
  background: #0a0a0a;
  overflow: hidden;
}
.page-hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.page-hero__bg .hero__orb--a { left: -140px; top: -80px; opacity: 0.4; }
.page-hero__bg .hero__orb--b { right: -100px; top: 30%; opacity: 0.32; }
.page-hero > .container { position: relative; z-index: 1; }
.page-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 11.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red-500);
  margin: 0 0 16px;
}
.page-hero h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  line-height: 1.02;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: #fff;
  margin: 0;
  max-width: 16ch;
  text-shadow: 0 0 40px rgba(239, 68, 68, 0.2);
}
.page-hero h1 em { font-style: normal; color: var(--red-500); }
.page-hero__lead {
  margin: 22px 0 0;
  max-width: 620px;
  font-size: 17px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.62);
}

/* ============================================================
   STORY BLOCKS (about)
   ============================================================ */
.story-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 8px;
}
.story-card {
  position: relative;
  padding: 28px 26px;
  background:
    radial-gradient(120% 80% at 100% 0%, rgba(239, 68, 68, 0.06) 0%, rgba(239, 68, 68, 0) 55%),
    linear-gradient(180deg, #131318 0%, #0e0e12 100%);
  border: 0.5px solid #1f1f1f;
  border-radius: 16px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 18px 36px rgba(0, 0, 0, 0.25);
}
.story-card__icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: rgba(220, 38, 38, 0.12);
  color: var(--red-500);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  box-shadow: inset 0 0 0 1px rgba(239, 68, 68, 0.18);
}
.story-card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.02em;
  color: #fff;
  margin: 0 0 10px;
}
.story-card p {
  font-size: 14px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
}

.story-prose {
  max-width: 760px;
  margin: 0 auto;
}
.story-prose p {
  font-size: 16.5px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.72);
  margin: 0 0 20px;
}
.story-prose p:last-child { margin-bottom: 0; }
.story-prose strong { color: #fff; font-weight: 600; }
.story-prose .accent { color: var(--red-500); font-weight: 600; }

/* ============================================================
   MEET THE TEAM
   ============================================================ */
.team-grid {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}
.team-card {
  width: 340px;
  max-width: 100%;
  padding: 32px 26px 24px;
  text-align: center;
  background: linear-gradient(180deg, #131318 0%, #0e0e12 100%);
  border: 0.5px solid #1f1f1f;
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 24px 60px rgba(0, 0, 0, 0.4);
  transition: transform 260ms var(--ease-out), border-color 260ms var(--ease-out);
}
.team-card:hover { transform: translateY(-4px); border-color: rgba(239, 68, 68, 0.35); }
.team-card__avatar {
  width: 124px; height: 124px;
  border-radius: 50%;
  padding: 4px;
  background: linear-gradient(140deg, rgba(239, 68, 68, 0.6), rgba(220, 38, 38, 0.15) 55%, #1f1f1f);
  box-shadow: 0 0 28px rgba(220, 38, 38, 0.28);
  margin-bottom: 18px;
}
.team-card__avatar image-slot {
  width: 100%; height: 100%;
  display: block;
  border-radius: 50%;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 35%, rgba(220, 38, 38, 0.2) 0%, rgba(220, 38, 38, 0) 60%),
    #0d0d10;
}
.team-card__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #fff;
  margin: 0 0 6px;
}
.team-card__role {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red-500);
  margin: 0 0 18px;
}
.team-card__socials {
  display: flex;
  gap: 10px;
  margin-bottom: 16px;
}
.social-btn {
  width: 42px; height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.04);
  border: 0.5px solid #1f1f1f;
  color: rgba(255, 255, 255, 0.7);
  transition: transform 180ms var(--ease-out), background 180ms var(--ease-out), border-color 180ms var(--ease-out), color 180ms var(--ease-out), box-shadow 180ms var(--ease-out);
}
.social-btn:hover {
  transform: translateY(-2px);
  color: #fff;
  background: rgba(220, 38, 38, 0.14);
  border-color: rgba(220, 38, 38, 0.4);
  box-shadow: 0 0 18px rgba(220, 38, 38, 0.25);
}
.team-more {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 0.5px solid #1f1f1f;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.75);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: background 180ms var(--ease-out), border-color 180ms var(--ease-out), color 180ms var(--ease-out);
}
.team-more:hover { background: rgba(255, 255, 255, 0.06); color: #fff; border-color: #2a2a2a; }
.team-more svg { transition: transform 300ms cubic-bezier(0.22, 1, 0.36, 1); }
.team-more[aria-expanded="true"] svg { transform: rotate(180deg); }
.team-more[aria-expanded="true"] { color: var(--red-500); border-color: rgba(220, 38, 38, 0.35); background: rgba(220, 38, 38, 0.08); }
.team-more__panel {
  display: grid;
  grid-template-rows: 0fr;
  width: 100%;
  transition: grid-template-rows 360ms cubic-bezier(0.22, 1, 0.36, 1);
}
.team-more__panel.is-open { grid-template-rows: 1fr; }
.team-more__inner {
  overflow: hidden;
  min-height: 0;
  opacity: 0;
  transition: opacity 280ms var(--ease-out) 60ms;
}
.team-more__panel.is-open .team-more__inner { opacity: 1; }
.team-card__bio {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.62);
  margin: 18px 0 16px;
}
.team-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  padding-bottom: 4px;
}
.team-card__tags span {
  font-size: 11.5px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  padding: 5px 11px;
  background: rgba(255, 255, 255, 0.04);
  border: 0.5px solid #1f1f1f;
  border-radius: 999px;
}

/* ============================================================
   TERMS / LEGAL PROSE
   ============================================================ */
.legal {
  max-width: 820px;
  margin: 0 auto;
}
.legal__updated {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.4);
  margin: 0 0 36px;
}
.legal-block {
  padding: 26px 28px;
  background: linear-gradient(180deg, #131318 0%, #0e0e12 100%);
  border: 0.5px solid #1f1f1f;
  border-radius: 16px;
  margin-bottom: 16px;
}
.legal-block h2 {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  margin: 0 0 14px;
}
.legal-block h2 .num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--red-500);
  background: rgba(220, 38, 38, 0.1);
  border: 0.5px solid rgba(220, 38, 38, 0.3);
  border-radius: 8px;
  padding: 3px 8px;
  letter-spacing: 0.04em;
}
.legal-block p {
  font-size: 14.5px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.66);
  margin: 0 0 12px;
}
.legal-block p:last-child { margin-bottom: 0; }
.legal-block strong { color: #fff; font-weight: 600; }
.legal-block.is-warning { border-color: rgba(245, 158, 11, 0.3); background: rgba(245, 158, 11, 0.04); }
.legal-block.is-warning h2 .num { color: var(--amber-500); background: rgba(245,158,11,0.1); border-color: rgba(245,158,11,0.3); }
.legal__contact {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}
.legal__contact a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 18px;
  background: #111;
  border: 0.5px solid #1f1f1f;
  border-radius: 999px;
  font-size: 13.5px;
  color: #fff;
  transition: border-color 180ms var(--ease-out), transform 180ms var(--ease-out);
}
.legal__contact a:hover { border-color: rgba(220, 38, 38, 0.4); transform: translateY(-2px); }
.legal__contact a svg { color: var(--red-500); }

@media (max-width: 880px) {
  .story-grid { grid-template-columns: 1fr; }
  .page-hero { padding: 150px 0 48px; }
}

/* ============================================================
   JOBS BOARD
   ============================================================ */
.jobs-list {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.job-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px 26px;
  background: linear-gradient(180deg, #131318 0%, #0e0e12 100%);
  border: 0.5px solid #1f1f1f;
  border-radius: 16px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  transition: transform 240ms var(--ease-out), border-color 240ms var(--ease-out), box-shadow 240ms var(--ease-out);
}
.job-card:hover {
  transform: translateY(-3px);
  border-color: rgba(239, 68, 68, 0.35);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.4), 0 0 30px rgba(239, 68, 68, 0.12);
}
.job-card__main { flex: 1; min-width: 0; }
.job-card__top {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}
.job-card__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: 0.02em;
  color: #fff;
  margin: 0;
}
.job-pill {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  border: 0.5px solid;
}
.job-pill--type { color: var(--red-500); background: rgba(220, 38, 38, 0.1); border-color: rgba(220, 38, 38, 0.3); }
.job-pill--loc  { color: rgba(255,255,255,0.7); background: rgba(255,255,255,0.04); border-color: #1f1f1f; }
.job-card__desc {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
}
.job-card__cta { flex: none; }

.jobs-empty {
  max-width: 860px;
  margin: 0 auto;
  padding: 48px 32px;
  text-align: center;
  border: 0.5px dashed #1f1f1f;
  border-radius: 16px;
  background: #0d0d10;
  color: rgba(255, 255, 255, 0.5);
}
.jobs-empty h3 { font-family: var(--font-display); color: #fff; font-size: 18px; margin: 0 0 8px; letter-spacing: 0.02em; }

/* application modal form */
.apply-modal { width: min(520px, 100%); max-height: 88vh; overflow-y: auto; }
.apply-modal h3 { margin-bottom: 4px; }
.apply-modal__role { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.08em; color: var(--red-500); text-transform: uppercase; margin: 0 0 20px; }
.apply-field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 16px; }
.apply-field label { font-size: 12.5px; font-weight: 600; color: rgba(255, 255, 255, 0.75); letter-spacing: 0.01em; }
.apply-field label .req { color: var(--red-500); }
.apply-field input,
.apply-field textarea {
  background: #0a0a0a;
  border: 0.5px solid #1f1f1f;
  border-radius: 10px;
  padding: 12px 14px;
  color: #fff;
  font-size: 14px;
  font-family: var(--font-body);
  width: 100%;
  transition: border-color 180ms var(--ease-out), box-shadow 180ms var(--ease-out);
}
.apply-field textarea { resize: vertical; min-height: 96px; line-height: 1.5; }
.apply-field input:focus,
.apply-field textarea:focus { outline: 0; border-color: rgba(239, 68, 68, 0.55); box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.12); }
.apply-field input.invalid,
.apply-field textarea.invalid { border-color: rgba(239, 68, 68, 0.8); }
.apply-success {
  text-align: center;
  padding: 16px 0 4px;
}
.apply-success__icon {
  width: 56px; height: 56px;
  border-radius: 999px;
  background: rgba(34, 197, 94, 0.12);
  border: 0.5px solid rgba(34, 197, 94, 0.4);
  color: var(--green-500);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

@media (max-width: 600px) {
  .job-card { flex-direction: column; align-items: flex-start; gap: 14px; }
  .job-card__cta { width: 100%; }
  .job-card__cta .btn { width: 100%; }
}

/* ============================================================
   LOGIN / AUTH
   ============================================================ */
.auth {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 20px 60px;
  position: relative;
  overflow: hidden;
}
.auth__bg { position: absolute; inset: 0; pointer-events: none; }
.auth__bg .hero__orb--a { left: 50%; top: 10%; margin-left: -260px; opacity: 0.4; }
.auth__bg .hero__orb--b { right: 50%; bottom: 0; margin-right: -260px; opacity: 0.3; }
.auth-card {
  position: relative;
  z-index: 1;
  width: min(420px, 100%);
  padding: 36px 32px 30px;
  text-align: center;
  background: linear-gradient(180deg, #131318 0%, #0e0e12 100%);
  border: 0.5px solid #1f1f1f;
  border-radius: 20px;
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
.auth-card__logo {
  width: 56px; height: 56px;
  margin: 0 auto 20px;
  filter: drop-shadow(0 0 14px rgba(220, 38, 38, 0.5));
}
.auth-card h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 24px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #fff;
  margin: 0 0 8px;
}
.auth-card__sub { font-size: 14px; line-height: 1.6; color: rgba(255, 255, 255, 0.55); margin: 0 0 26px; }
.auth-discord {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 14px 20px;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(180deg, #5865f2 0%, #4752c4 100%);
  color: #fff;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  box-shadow: 0 0 24px rgba(88, 101, 242, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.18);
  transition: transform 200ms var(--ease-out), box-shadow 200ms var(--ease-out);
}
.auth-discord:hover { transform: translateY(-2px); box-shadow: 0 0 36px rgba(88, 101, 242, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.22); }

.auth-disclose {
  margin-top: 18px;
  border: 0.5px solid #1f1f1f;
  border-radius: 12px;
  background: #0a0a0a;
  overflow: hidden;
  text-align: left;
}
.auth-disclose__btn {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 16px;
  background: transparent;
  border: 0;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.8);
  font-size: 13px;
  font-weight: 500;
  font-family: var(--font-body);
}
.auth-disclose__btn svg.lock { color: var(--green-500); flex: none; }
.auth-disclose__btn .chev { margin-left: auto; color: rgba(255,255,255,0.4); transition: transform 280ms cubic-bezier(0.22,1,0.36,1); flex: none; }
.auth-disclose.is-open .auth-disclose__btn .chev { transform: rotate(180deg); }
.auth-disclose__body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 320ms cubic-bezier(0.22,1,0.36,1); }
.auth-disclose.is-open .auth-disclose__body { grid-template-rows: 1fr; }
.auth-disclose__inner { overflow: hidden; min-height: 0; }
.auth-disclose__body p {
  margin: 0;
  padding: 0 16px 14px 16px;
  font-size: 13px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.6);
}
.auth-disclose__body strong { color: #fff; font-weight: 600; }
.auth-card__terms { margin: 18px 0 0; font-size: 12px; color: rgba(255,255,255,0.4); }
.auth-card__terms a { color: rgba(255,255,255,0.6); text-decoration: underline; text-underline-offset: 2px; }
.auth-card__terms a:hover { color: #fff; }

/* ============================================================
   SOCIAL PROOF — live activity notifications (bottom-right)
   ============================================================ */
#cgg-proof {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 45;
  display: flex;
  flex-direction: column-reverse;
  gap: 10px;
  width: 340px;
  max-width: calc(100vw - 40px);
  pointer-events: none;
}
.proof-card {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 13px 14px;
  background: rgba(13, 13, 16, 0.82);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  backdrop-filter: blur(18px) saturate(150%);
  border: 0.5px solid #1f1f1f;
  border-radius: 14px;
  box-shadow:
    0 16px 40px rgba(0, 0, 0, 0.5),
    0 0 26px rgba(220, 38, 38, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  opacity: 0;
  transform: translateX(24px) scale(0.98);
  transition: opacity 420ms cubic-bezier(0.22, 1, 0.36, 1), transform 420ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform, opacity;
}
.proof-card.is-in { opacity: 1; transform: none; }
.proof-card.is-out { opacity: 0; transform: translateX(24px) scale(0.98); }

.proof-card__icon {
  flex: none;
  width: 42px; height: 42px;
  border-radius: 11px;
  background:
    radial-gradient(circle at 50% 35%, rgba(220, 38, 38, 0.22) 0%, rgba(220, 38, 38, 0) 65%),
    #0d0d10;
  border: 0.5px solid #1f1f1f;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 0 0 1px rgba(239, 68, 68, 0.12);
}
.proof-card__icon img { width: 28px; height: 28px; object-fit: contain; filter: drop-shadow(0 0 6px rgba(220, 38, 38, 0.4)); }

.proof-card__body { flex: 1; min-width: 0; }
.proof-card__top {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 3px;
}
.proof-card__eyebrow {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red-500);
}
.proof-card__live {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green-500);
}
.proof-card__live::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 999px;
  background: var(--green-500);
  box-shadow: 0 0 8px var(--green-500);
  animation: pulse 2s ease-in-out infinite;
}
.proof-card__text {
  font-size: 13.5px;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.88);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.proof-card__text b { font-weight: 600; color: #fff; }
.proof-card__time {
  display: block;
  margin-top: 3px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.4);
}

@media (max-width: 600px) {
  #cgg-proof { right: 12px; bottom: 12px; left: 12px; width: auto; }
  .proof-card { padding: 11px 12px; gap: 11px; }
  .proof-card__icon { width: 38px; height: 38px; }
}
@media (prefers-reduced-motion: reduce) {
  .proof-card { transition: opacity 200ms ease; transform: none; }
  .proof-card.is-out { transform: none; }
}

/* ============================================================
   CUSTOMER DASHBOARD
   ============================================================ */
.dash {
  max-width: 1080px;
  margin: 0 auto;
  padding: 150px 32px 80px;
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 28px;
  align-items: start;
}
.dash-rail {
  position: sticky;
  top: 110px;
  background: linear-gradient(180deg, #131318 0%, #0e0e12 100%);
  border: 0.5px solid #1f1f1f;
  border-radius: 16px;
  padding: 20px 16px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}
.dash-rail__who {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 4px 16px;
  margin-bottom: 12px;
  border-bottom: 0.5px solid #1f1f1f;
}
.dash-rail__avatar {
  width: 40px; height: 40px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ef4444, #b91c1c);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  color: #fff;
  flex: none;
  box-shadow: 0 0 16px rgba(220, 38, 38, 0.35);
}
.dash-rail__who b { font-size: 14px; color: #fff; display: block; }
.dash-rail__who span { font-size: 11px; color: rgba(255,255,255,0.45); font-family: var(--font-mono); letter-spacing: 0.08em; }
.dash-rail nav { display: flex; flex-direction: column; gap: 2px; }
.dash-rail__link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 12px;
  border: 0;
  background: transparent;
  border-radius: 10px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  text-align: left;
  position: relative;
  transition: color 160ms var(--ease-out), background 160ms var(--ease-out);
}
.dash-rail__link svg { width: 17px; height: 17px; color: rgba(255,255,255,0.4); flex: none; transition: color 160ms var(--ease-out); }
.dash-rail__link:hover { background: rgba(255, 255, 255, 0.03); color: #fff; }
.dash-rail__link.is-active { background: rgba(239, 68, 68, 0.08); color: #fff; }
.dash-rail__link.is-active svg { color: var(--red-500); }
.dash-rail__link.is-active::before {
  content: ""; position: absolute; left: 0; top: 9px; bottom: 9px; width: 2px;
  background: var(--red-500); border-radius: 2px; box-shadow: 0 0 8px rgba(220,38,38,0.55);
}
.dash-rail__logout { margin-top: 12px; padding-top: 12px; border-top: 0.5px solid #1f1f1f; }

.dash-panel { display: none; animation: fadeIn 260ms var(--ease-out); }
.dash-panel.is-active { display: block; }
.dash-panel__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 24px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #fff;
  margin: 0 0 6px;
}
.dash-panel__sub { font-size: 14px; color: rgba(255,255,255,0.55); margin: 0 0 24px; }

.dash-card {
  background: linear-gradient(180deg, #131318 0%, #0e0e12 100%);
  border: 0.5px solid #1f1f1f;
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 16px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}
.dash-card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  margin: 0 0 16px;
}
.dash-id-row { display: flex; align-items: center; gap: 16px; }
.dash-id-row .dash-rail__avatar { width: 56px; height: 56px; font-size: 22px; }
.dash-id-row b { font-family: var(--font-display); font-size: 20px; letter-spacing: 0.02em; color: #fff; display: block; }
.dash-id-row .meta { font-family: var(--font-mono); font-size: 12px; color: rgba(255,255,255,0.45); letter-spacing: 0.06em; margin-top: 2px; }

.dash-plan-pill {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 5px 12px; border-radius: 999px;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
}
.dash-plan-pill.free { color: rgba(255,255,255,0.7); background: rgba(255,255,255,0.05); border: 0.5px solid #1f1f1f; }
.dash-plan-pill.premium { color: var(--red-500); background: rgba(220,38,38,0.1); border: 0.5px solid rgba(220,38,38,0.35); }

.dash-stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 16px; }
.dash-mini {
  background: linear-gradient(180deg, #131318 0%, #0e0e12 100%);
  border: 0.5px solid #1f1f1f; border-radius: 14px; padding: 18px 20px;
}
.dash-mini span { font-family: var(--font-display); font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255,255,255,0.5); }
.dash-mini b { display: block; margin-top: 8px; font-family: var(--font-display); font-size: 26px; color: #fff; }

.dash-share {
  display: flex; gap: 8px; margin-top: 6px;
}
.dash-share input {
  flex: 1; background: #0a0a0a; border: 0.5px solid #1f1f1f; border-radius: 10px;
  padding: 12px 14px; color: #fff; font-family: var(--font-mono); font-size: 13px;
}
.dash-progress { margin-top: 18px; }
.dash-progress__bar { height: 10px; background: #0a0a0a; border: 0.5px solid #1f1f1f; border-radius: 999px; overflow: hidden; }
.dash-progress__fill { height: 100%; width: 40%; background: linear-gradient(90deg, #ef4444, #dc2626); box-shadow: 0 0 12px rgba(220,38,38,0.5); border-radius: 999px; transition: width 600ms cubic-bezier(0.22,1,0.36,1); }
.dash-progress__label { display: flex; justify-content: space-between; font-size: 12.5px; color: rgba(255,255,255,0.55); margin-top: 10px; }
.dash-progress__label b { color: #fff; }

.copied-toast {
  position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(20px);
  background: #131318; border: 0.5px solid rgba(34,197,94,0.4); color: var(--green-500);
  padding: 10px 18px; border-radius: 999px; font-size: 13px; font-weight: 500;
  opacity: 0; pointer-events: none; transition: opacity 220ms var(--ease-out), transform 220ms var(--ease-out); z-index: 80;
}
.copied-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

@media (max-width: 760px) {
  .dash { grid-template-columns: 1fr; padding: 130px 20px 60px; }
  .dash-rail { position: relative; top: 0; }
  .dash-rail nav { flex-direction: row; flex-wrap: wrap; }
  .dash-stat-row { grid-template-columns: 1fr; }
}
