/* ============================================================
   GEE — Design System (pure CSS, no framework)
   ============================================================ */
:root {
  --ink-950: #05070a;
  --ink-900: #0a0d12;
  --ink-850: #0e1218;
  --ink-800: #131820;
  --ink-700: #1b212b;
  --ink-600: #262e3a;
  --line: #1e2530;
  --mute: #8b95a5;
  --mute-2: #626d7d;
  --paper: #eef2f7;
  --accent: #4d7cff;
  --accent-2: #8b6cff;
  --accent-3: #2fd6b4;
  --amber: #fbbf24;

  --font-display: "Space Grotesk", "Inter", ui-sans-serif, system-ui, sans-serif;
  --font-sans: "Inter", ui-sans-serif, system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 18px;
  --r-xl: 24px;
  --shadow-card: 0 18px 50px -28px rgba(0, 0, 0, 0.85);
  --maxw: 1280px;
}

* {
  box-sizing: border-box;
  border-color: var(--line);
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background-color: var(--ink-950);
  color: var(--paper);
  font-family: var(--font-sans);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}
::selection {
  background: rgba(77, 124, 255, 0.35);
}
input,
textarea,
select {
  font-family: inherit;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font-family: inherit;
  cursor: pointer;
}
img {
  max-width: 100%;
  display: block;
}

/* ---------- typography helpers ---------- */
.font-display {
  font-family: var(--font-display);
}
.font-mono {
  font-family: var(--font-mono);
}
.text-gradient {
  background: linear-gradient(100deg, #ffffff 10%, #a9bcff 55%, #7de3cf 95%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.mono-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mute-2);
}
.balance {
  text-wrap: balance;
}

/* ---------- layout ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 20px;
}
@media (min-width: 640px) {
  .container {
    padding: 0 32px;
  }
}
.section {
  position: relative;
  padding: 80px 0;
  scroll-margin-top: 72px;
}
@media (min-width: 1024px) {
  .section {
    padding: 112px 0;
  }
}
.section--tint {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(13, 18, 24, 0.35);
}

/* ---------- backgrounds ---------- */
.grid-bg {
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
}
.dot-bg {
  background-image: radial-gradient(rgba(255, 255, 255, 0.09) 1px, transparent 1px);
  background-size: 22px 22px;
}
.mask-fade {
  -webkit-mask-image: radial-gradient(ellipse 60% 60% at 50% 0%, black, transparent 72%);
  mask-image: radial-gradient(ellipse 60% 60% at 50% 0%, black, transparent 72%);
}
.glass {
  background: rgba(14, 18, 24, 0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 12px;
  font-weight: 500;
  letter-spacing: -0.01em;
  border: 1px solid transparent;
  transition: all 0.2s ease;
  white-space: nowrap;
  cursor: pointer;
  font-family: inherit;
  line-height: 1;
}
.btn:focus-visible {
  outline: 2px solid rgba(77, 124, 255, 0.6);
  outline-offset: 2px;
}
.btn:disabled {
  opacity: 0.5;
  pointer-events: none;
}
.btn:active {
  transform: scale(0.98);
}
.btn--sm {
  height: 36px;
  padding: 0 14px;
  font-size: 13px;
}
.btn--md {
  height: 44px;
  padding: 0 20px;
  font-size: 14px;
}
.btn--lg {
  height: 52px;
  padding: 0 28px;
  font-size: 15px;
}
.btn--primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 10px 30px -12px rgba(77, 124, 255, 0.9);
}
.btn--primary:hover {
  background: #3d6ef5;
  transform: translateY(-2px);
  box-shadow: 0 16px 40px -14px rgba(77, 124, 255, 1);
}
.btn--secondary {
  background: var(--ink-800);
  color: var(--paper);
  border-color: var(--line);
}
.btn--secondary:hover {
  background: var(--ink-700);
  border-color: var(--ink-600);
  transform: translateY(-2px);
}
.btn--outline {
  border-color: var(--line);
  color: var(--paper);
}
.btn--outline:hover {
  border-color: rgba(77, 124, 255, 0.6);
  background: rgba(77, 124, 255, 0.1);
  transform: translateY(-2px);
}
.btn--ghost {
  color: var(--mute);
  background: transparent;
}
.btn--ghost:hover {
  color: var(--paper);
  background: var(--ink-800);
}
.btn--danger {
  background: rgba(239, 68, 68, 0.9);
  color: #fff;
}
.btn--danger:hover {
  background: rgb(239, 68, 68);
}
.btn--icon {
  width: 36px;
  height: 36px;
  padding: 0;
}

/* ---------- badges ---------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--ink-800);
  color: var(--mute);
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}
.badge--accent {
  border-color: rgba(77, 124, 255, 0.4);
  background: rgba(77, 124, 255, 0.12);
  color: #a9bcff;
}
.badge--green {
  border-color: rgba(47, 214, 180, 0.4);
  background: rgba(47, 214, 180, 0.12);
  color: var(--accent-3);
}
.badge--amber {
  border-color: rgba(251, 191, 36, 0.3);
  background: rgba(251, 191, 36, 0.1);
  color: #fcd34d;
}
.badge--muted {
  border-color: var(--line);
  background: transparent;
  color: var(--mute-2);
}
.dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--accent-3);
}

/* ---------- cards ---------- */
.card {
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: rgba(10, 13, 18, 0.7);
  backdrop-filter: blur(6px);
}
.card--hover {
  transition: all 0.3s ease;
}
.card--hover:hover {
  border-color: var(--ink-600);
  background: var(--ink-850);
  transform: translateY(-4px);
}

/* ---------- section header ---------- */
.sec-head {
  margin-bottom: 0;
}
.sec-head__label {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}
.sec-head__label .bar {
  height: 1px;
  width: 32px;
  background: rgba(77, 124, 255, 0.7);
}
.sec-head__label span.txt {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent);
}
.sec-head__title {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.08;
  font-size: 30px;
  margin: 0;
}
@media (min-width: 640px) {
  .sec-head__title {
    font-size: 40px;
  }
}
@media (min-width: 1024px) {
  .sec-head__title {
    font-size: 44px;
  }
}
.sec-head__sub {
  margin-top: 16px;
  max-width: 640px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--mute);
}
.sec-head--center {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.sec-head--center .sec-head__label {
  justify-content: center;
}
.sec-head--center .sec-head__sub {
  margin-left: auto;
  margin-right: auto;
}

/* ---------- reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}
.reveal.in {
  opacity: 1;
  transform: none;
}

/* ---------- forms ---------- */
.field {
  display: block;
  margin-bottom: 0;
}
.field__label {
  display: block;
  margin-bottom: 6px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--mute);
}
.field__hint {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  color: var(--mute-2);
}
.input,
.textarea,
.select {
  width: 100%;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(5, 7, 10, 0.8);
  padding: 10px 14px;
  font-size: 14px;
  color: var(--paper);
  transition: border-color 0.15s, box-shadow 0.15s;
  font-family: inherit;
}
.input::placeholder,
.textarea::placeholder {
  color: var(--mute-2);
}
.input:focus,
.textarea:focus,
.select:focus {
  outline: none;
  border-color: rgba(77, 124, 255, 0.7);
  box-shadow: 0 0 0 3px rgba(77, 124, 255, 0.18);
}
.textarea {
  min-height: 96px;
  resize: vertical;
  line-height: 1.5;
}
.select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%238b95a5' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
}

/* ---------- toggle ---------- */
.toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
}
.toggle__track {
  position: relative;
  height: 24px;
  width: 44px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--ink-800);
  transition: all 0.2s;
  flex-shrink: 0;
}
.toggle__track::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  height: 18px;
  width: 18px;
  border-radius: 999px;
  background: #fff;
  transition: left 0.2s;
}
.toggle[aria-pressed="true"] .toggle__track {
  border-color: var(--accent);
  background: rgba(77, 124, 255, 0.8);
}
.toggle[aria-pressed="true"] .toggle__track::after {
  left: 22px;
}
.toggle__label {
  font-size: 14px;
  color: var(--mute);
}

/* ---------- modal ---------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
@media (min-width: 640px) {
  .modal-overlay {
    align-items: center;
  }
}
.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(4px);
  animation: fadeUp 0.3s ease both;
}
.modal {
  position: relative;
  display: flex;
  flex-direction: column;
  max-height: 92vh;
  width: 100%;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--ink-900);
  box-shadow: var(--shadow-card);
  border-radius: var(--r-xl) var(--r-xl) 0 0;
  animation: scaleIn 0.28s cubic-bezier(0.16, 1, 0.3, 1) both;
}
@media (min-width: 640px) {
  .modal {
    border-radius: var(--r-lg);
  }
}
.modal--sm {
  max-width: 448px;
}
.modal--md {
  max-width: 672px;
}
.modal--lg {
  max-width: 896px;
}
.modal--xl {
  max-width: 1152px;
}
.modal__head {
  flex-shrink: 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--line);
  padding: 20px 28px;
}
.modal__title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--paper);
  min-width: 0;
}
.modal__body {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 24px 28px;
}
.modal__foot {
  flex-shrink: 0;
  border-top: 1px solid var(--line);
  background: var(--ink-850);
  padding: 16px 28px;
}
.modal__close {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  height: 36px;
  width: 36px;
  border-radius: var(--r-sm);
  border: 1px solid var(--line);
  color: var(--mute);
  background: transparent;
  transition: all 0.15s;
}
.modal__close:hover {
  border-color: var(--ink-600);
  color: var(--paper);
}
.scroll-thin::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
.scroll-thin::-webkit-scrollbar-thumb {
  background: var(--ink-600);
  border-radius: 999px;
}

/* ---------- toast ---------- */
.toast-wrap {
  position: fixed;
  bottom: 20px;
  left: 50%;
  z-index: 200;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: calc(100% - 32px);
  max-width: 384px;
  pointer-events: none;
}
@media (min-width: 640px) {
  .toast-wrap {
    /* keep toasts centred so they never overlap the chat widget (bottom-right) */
    left: 50%;
    right: auto;
    transform: translateX(-50%);
  }
}
.toast {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 12px;
  border-radius: 12px;
  border: 1px solid;
  padding: 12px 16px;
  font-size: 14px;
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(12px);
  animation: fadeUp 0.3s ease both;
}
.toast--success {
  border-color: rgba(47, 214, 180, 0.4);
  background: rgba(13, 26, 24, 0.95);
  color: var(--accent-3);
}
.toast--error {
  border-color: rgba(239, 68, 68, 0.4);
  background: rgba(26, 13, 15, 0.95);
  color: #fca5a5;
}
.toast--info {
  border-color: var(--line);
  background: rgba(14, 18, 24, 0.95);
  color: var(--paper);
}

/* ---------- animations ---------- */
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@keyframes dash {
  to { stroke-dashoffset: -200; }
}
@keyframes pulseNode {
  0%, 100% { opacity: 0.35; r: 3; }
  50% { opacity: 1; r: 4.6; }
}
@keyframes sweep {
  0% { transform: translateX(-120%); }
  100% { transform: translateX(220%); }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}
@keyframes scaleIn {
  from { opacity: 0; transform: translateY(12px) scale(0.985); }
  to { opacity: 1; transform: none; }
}
@keyframes spinSlow {
  to { transform: rotate(360deg); }
}
@keyframes drift {
  0% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(18px, -22px, 0); }
  100% { transform: translate3d(0, 0, 0); }
}
.anim-float { animation: floaty 7s ease-in-out infinite; }
.anim-dash { stroke-dasharray: 6 10; animation: dash 9s linear infinite; }
.anim-node { animation: pulseNode 3.4s ease-in-out infinite; }
.anim-sweep { animation: sweep 3.6s ease-in-out infinite; }
.anim-fadeup { animation: fadeUp 0.4s cubic-bezier(0.16, 1, 0.3, 1) both; }
.anim-scalein { animation: scaleIn 0.28s cubic-bezier(0.16, 1, 0.3, 1) both; }
.anim-spin { animation: spinSlow 1s linear infinite; }
.anim-drift { animation: drift 18s ease-in-out infinite; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- no-scrollbar ---------- */
.no-bar::-webkit-scrollbar { display: none; }
.no-bar { scrollbar-width: none; }

/* ============================================================
   Public site specific
   ============================================================ */
/* navbar */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: 64px;
  display: flex;
  align-items: center;
  transition: all 0.3s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(14, 18, 24, 0.72);
  backdrop-filter: blur(16px);
  border-bottom-color: var(--line);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 20px;
}
@media (min-width: 640px) {
  .nav__inner { padding: 0 32px; }
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  background: none;
  border: none;
}
.brand-mark {
  position: relative;
  display: grid;
  place-items: center;
  height: 34px;
  width: 34px;
  border-radius: 10px;
  border: 1px solid rgba(77, 124, 255, 0.4);
  background: linear-gradient(135deg, rgba(77, 124, 255, 0.25), rgba(139, 108, 255, 0.1));
  flex-shrink: 0;
}
.brand-mark b {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  color: var(--paper);
  line-height: 1;
}
.brand-mark .pip {
  position: absolute;
  right: -2px;
  bottom: -2px;
  height: 6px;
  width: 6px;
  border-radius: 999px;
  background: var(--accent-3);
}
.brand-name {
  text-align: left;
}
.brand-name b {
  display: block;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--paper);
  line-height: 1;
}
.brand-name small {
  display: block;
  margin-top: 2px;
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mute-2);
}
.nav-links {
  display: none;
  align-items: center;
  gap: 2px;
}
@media (min-width: 1280px) {
  .nav-links { display: flex; }
}
.nav-link {
  border-radius: var(--r-sm);
  padding: 8px 12px;
  font-size: 13px;
  color: var(--mute);
  background: none;
  border: none;
  transition: color 0.15s, background 0.15s;
}
.nav-link:hover { color: var(--paper); }
.nav-link.active {
  background: var(--ink-800);
  color: var(--paper);
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-cta {
  display: none;
}
@media (min-width: 640px) {
  .nav-cta { display: inline-flex; }
}
.nav-burger {
  display: grid;
  place-items: center;
  height: 40px;
  width: 40px;
  border-radius: var(--r-sm);
  border: 1px solid var(--line);
  color: var(--paper);
  background: transparent;
}
@media (min-width: 1280px) {
  .nav-burger { display: none; }
}
.mobile-menu {
  position: fixed;
  inset: 64px 0 0 0;
  z-index: 40;
  overflow-y: auto;
  background: rgba(5, 7, 10, 0.98);
  backdrop-filter: blur(16px);
  padding: 24px 20px;
}
@media (min-width: 1280px) {
  .mobile-menu { display: none; }
}
.mobile-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  padding: 14px 16px;
  font-size: 15px;
  color: var(--mute);
  background: transparent;
  width: 100%;
  margin-bottom: 4px;
  transition: all 0.15s;
}
.mobile-link:hover, .mobile-link.active {
  background: var(--ink-850);
  color: var(--paper);
}

/* hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: 112px 0 64px;
}
@media (min-width: 1024px) {
  .hero { padding: 128px 0 96px; }
}
.hero__grid {
  display: grid;
  gap: 48px;
  align-items: center;
}
@media (min-width: 1024px) {
  .hero__grid {
    grid-template-columns: 1.05fr 1fr;
    gap: 40px;
  }
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(10, 13, 18, 0.8);
  padding: 6px 16px 6px 6px;
  backdrop-filter: blur(6px);
}
.pill .ico {
  display: grid;
  place-items: center;
  height: 24px;
  width: 24px;
  border-radius: 999px;
  background: rgba(77, 124, 255, 0.2);
  color: var(--accent);
}
.pill span {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--mute);
}
.hero h1 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.03;
  font-size: 34px;
  margin: 28px 0 0;
  text-wrap: balance;
}
@media (min-width: 640px) {
  .hero h1 { font-size: 52px; }
}
@media (min-width: 1024px) {
  .hero h1 { font-size: 62px; }
}
.hero p.lead {
  margin-top: 24px;
  max-width: 560px;
  font-size: 17px;
  line-height: 1.6;
  color: var(--mute);
}
@media (max-width: 639px) {
  .hero p.lead { font-size: 15px; }
}
.hero__cta {
  margin-top: 36px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.stat-grid {
  margin-top: 44px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px 24px;
  border-top: 1px solid var(--line);
  padding-top: 28px;
  max-width: 560px;
}
@media (min-width: 640px) {
  .stat-grid { grid-template-columns: repeat(4, 1fr); }
}
.stat-grid b {
  display: block;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--paper);
}
.stat-grid small {
  display: block;
  margin-top: 4px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mute-2);
}

/* platform strip */
.platform-strip {
  margin-top: 56px;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: rgba(10, 13, 18, 0.6);
  padding: 8px;
  backdrop-filter: blur(6px);
}
@media (min-width: 1024px) {
  .platform-strip { margin-top: 80px; }
}
.platform-strip__grid {
  display: grid;
  gap: 8px;
}
@media (min-width: 768px) {
  .platform-strip__grid { grid-template-columns: 1fr 1fr; }
}
.platform-item {
  display: flex;
  align-items: center;
  gap: 16px;
  border-radius: var(--r-md);
  border: 1px solid transparent;
  padding: 16px;
  transition: all 0.2s;
}
.platform-item:hover {
  border-color: var(--line);
  background: var(--ink-850);
}
.platform-item__logo {
  display: grid;
  place-items: center;
  height: 44px;
  width: 44px;
  flex-shrink: 0;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: var(--ink-800);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  color: var(--paper);
}
.live-pip {
  display: inline-block;
  height: 6px;
  width: 6px;
  border-radius: 999px;
  background: var(--accent-3);
  box-shadow: 0 0 0 3px rgba(47, 214, 180, 0.18);
}

/* hero visual (svg) */
.hero-visual {
  position: relative;
  aspect-ratio: 4 / 3.2;
  width: 100%;
  user-select: none;
}
@media (min-width: 640px) {
  .hero-visual { aspect-ratio: 4 / 3; }
}
.hv-window {
  position: absolute;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(10, 13, 18, 0.95);
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(6px);
}

/* category cards */
.cat-grid {
  display: grid;
  gap: 20px;
  margin-top: 48px;
}
@media (min-width: 768px) {
  .cat-grid { grid-template-columns: 1fr 1fr; }
}
.cat-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 0;
}
.cat-card__head {
  display: flex;
  gap: 16px;
  border-bottom: 1px solid var(--line);
  padding: 24px;
}
.cat-card__icon {
  display: grid;
  place-items: center;
  height: 48px;
  width: 48px;
  flex-shrink: 0;
  border-radius: var(--r-lg);
  border: 1px solid rgba(77, 124, 255, 0.3);
  background: rgba(77, 124, 255, 0.1);
  color: var(--accent);
}
.cat-card__title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: var(--paper);
}
.cat-card__desc {
  margin-top: 8px;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--mute);
}
.cat-card__body {
  display: grid;
  gap: 24px;
  padding: 24px;
  flex: 1;
}
@media (min-width: 640px) {
  .cat-card__body { grid-template-columns: 1fr 1fr; }
}
.cat-card__foot {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  border-top: 1px solid var(--line);
  background: rgba(5, 7, 10, 0.4);
  padding: 16px 24px;
}
.mini-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.mini-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--paper);
  margin-bottom: 8px;
}
.mini-list li:last-child { margin-bottom: 0; }
.mini-list li .b {
  height: 4px;
  width: 4px;
  border-radius: 999px;
  background: var(--accent);
  flex-shrink: 0;
}
.mini-list--mute li {
  color: var(--mute);
  align-items: flex-start;
}
.mini-list--mute li .b {
  margin-top: 6px;
  background: rgba(251, 191, 36, 0.7);
}

/* project cards */
.project-list {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-top: 48px;
}
.project-card {
  overflow: hidden;
  padding: 0;
}
.project-card__grid {
  display: grid;
}
@media (min-width: 1024px) {
  .project-card__grid { grid-template-columns: 1.15fr 1fr; }
}
.project-card__content {
  padding: 24px;
  order: 2;
}
@media (min-width: 1024px) {
  .project-card__content { order: 1; padding: 36px; }
}
.project-card__visual {
  position: relative;
  min-height: 240px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: var(--ink-950);
  order: 1;
}
@media (min-width: 1024px) {
  .project-card__visual {
    order: 2;
    border-bottom: none;
    border-left: 1px solid var(--line);
  }
}
.project-card h3 {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  margin: 20px 0 0;
  line-height: 1;
}
@media (min-width: 640px) {
  .project-card h3 { font-size: 36px; }
}
.feature-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}
.feature-chip {
  border-radius: var(--r-sm);
  border: 1px solid var(--line);
  background: var(--ink-850);
  padding: 6px 10px;
  font-size: 12.5px;
  color: var(--paper);
}

/* tech stack */
.tech-grid {
  display: grid;
  gap: 20px;
  margin-top: 48px;
}
@media (min-width: 768px) {
  .tech-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1024px) {
  .tech-grid { grid-template-columns: repeat(3, 1fr); }
}
.tech-item {
  padding: 24px;
}
.tech-item__group {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}
.tech-item__group .ico {
  display: grid;
  place-items: center;
  height: 36px;
  width: 36px;
  border-radius: var(--r-sm);
  background: rgba(77, 124, 255, 0.12);
  color: var(--accent);
}

/* process timeline */
.process {
  display: grid;
  gap: 32px;
  margin-top: 48px;
}
@media (min-width: 1024px) {
  .process { grid-template-columns: minmax(0, 340px) 1fr; gap: 48px; }
}
.process__nav {
  display: flex;
  gap: 8px;
  overflow-x: auto;
}
@media (min-width: 1024px) {
  .process__nav { flex-direction: column; overflow: visible; }
}
.process-step {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 14px;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: rgba(10, 13, 18, 0.5);
  padding: 14px 16px;
  text-align: left;
  transition: all 0.2s;
}
@media (min-width: 1024px) {
  .process-step { width: 100%; }
}
.process-step:hover {
  border-color: var(--ink-600);
  background: var(--ink-850);
}
.process-step.active {
  border-color: rgba(77, 124, 255, 0.5);
  background: rgba(77, 124, 255, 0.08);
}
.process-step__no {
  display: grid;
  place-items: center;
  height: 32px;
  width: 32px;
  flex-shrink: 0;
  border-radius: var(--r-sm);
  border: 1px solid var(--line);
  background: var(--ink-850);
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--mute-2);
}
.process-step.active .process-step__no {
  border-color: rgba(77, 124, 255, 0.6);
  background: rgba(77, 124, 255, 0.15);
  color: var(--accent);
}
.process-step__title {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--mute);
}
.process-step.active .process-step__title { color: var(--paper); }
.process-step__summary { display: none; font-size: 12px; color: var(--mute-2); margin-top: 2px; }
@media (min-width: 1024px) {
  .process-step__summary { display: block; }
}
.process-panel {
  position: relative;
  overflow: hidden;
  padding: 36px;
}

/* challenge cards */
.challenge-grid {
  display: grid;
  gap: 20px;
  margin-top: 48px;
}
@media (min-width: 768px) {
  .challenge-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1280px) {
  .challenge-grid { grid-template-columns: repeat(3, 1fr); }
}
.challenge-card {
  display: flex;
  flex-direction: column;
  padding: 24px;
}
.challenge-card__head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}
.challenge-card__head .ico {
  display: grid;
  place-items: center;
  height: 36px;
  width: 36px;
  border-radius: var(--r-sm);
  border: 1px solid var(--line);
  background: var(--ink-850);
  color: var(--accent);
}
.challenge-card__head h4 {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--paper);
  margin: 0;
}
.ch-step {
  position: relative;
  padding-left: 20px;
  margin-bottom: 16px;
}
.ch-step:last-child { margin-bottom: 0; }
.ch-step .bullet {
  position: absolute;
  top: 6px;
  left: 0;
  height: 6px;
  width: 6px;
  border-radius: 999px;
  background: currentColor;
}
.ch-step .lbl {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.ch-step p {
  font-size: 13px;
  line-height: 1.55;
  color: var(--mute);
  margin: 0;
}

/* about grid */
.about-grid {
  display: grid;
  gap: 48px;
}
@media (min-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr 1.05fr;
    gap: 64px;
  }
}

/* chain flow */
.chain {
  display: grid;
  gap: 12px;
  margin-top: 56px;
}
@media (min-width: 640px) {
  .chain { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1024px) {
  .chain { grid-template-columns: repeat(6, 1fr); }
}
.chain--compact {
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .chain--compact { grid-template-columns: repeat(5, 1fr); }
}
.chain-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  background: rgba(10, 13, 18, 0.7);
  padding: 20px 16px;
  transition: all 0.2s;
}
.chain-item:hover {
  border-color: rgba(77, 124, 255, 0.5);
  background: var(--ink-850);
}
.chain-item .no {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--mute-2);
}
.chain-item .lbl {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--paper);
}

/* defence cards */
.defence-grid {
  display: grid;
  gap: 20px;
  margin-top: 48px;
}
@media (min-width: 768px) {
  .defence-grid { grid-template-columns: 1fr 1fr; }
}
.defence-card {
  position: relative;
  overflow: hidden;
  padding: 28px;
}
.defence-card .big {
  position: absolute;
  top: -16px;
  right: -8px;
  font-family: var(--font-display);
  font-size: 92px;
  font-weight: 700;
  line-height: 1;
  color: rgba(27, 33, 43, 0.7);
  pointer-events: none;
  transition: color 0.3s;
}
.defence-card:hover .big { color: rgba(38, 46, 58, 0.7); }

/* final cta */
.final-cta {
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(10, 13, 18, 0.4);
  text-align: center;
  padding: 80px 0;
}
@media (min-width: 1024px) {
  .final-cta { padding: 112px 0; }
}
.final-cta h2 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.08;
  font-size: 30px;
  margin: 0 auto;
  max-width: 760px;
  text-wrap: balance;
}
@media (min-width: 640px) {
  .final-cta h2 { font-size: 48px; }
}

/* contact */
.contact-grid {
  display: grid;
  gap: 48px;
}
@media (min-width: 1024px) {
  .contact-grid { grid-template-columns: 1fr 1.1fr; gap: 64px; }
}
.contact-channels {
  display: grid;
  gap: 12px;
}
@media (min-width: 640px) {
  .contact-channels { grid-template-columns: 1fr 1fr; }
}
.contact-card {
  display: flex;
  align-items: center;
  gap: 14px;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: rgba(10, 13, 18, 0.7);
  padding: 20px;
  transition: all 0.2s;
}
.contact-card:hover {
  border-color: rgba(77, 124, 255, 0.5);
  background: var(--ink-850);
  transform: translateY(-4px);
}
.contact-card .ico {
  display: grid;
  place-items: center;
  height: 40px;
  width: 40px;
  flex-shrink: 0;
  border-radius: var(--r-lg);
  background: rgba(77, 124, 255, 0.12);
  color: var(--accent);
}

/* footer */
.footer {
  position: relative;
  border-top: 1px solid var(--line);
  background: var(--ink-950);
  padding: 56px 0;
}
.footer__grid {
  display: grid;
  gap: 40px;
}
@media (min-width: 1024px) {
  .footer__grid { grid-template-columns: 1.6fr 1fr 1fr; }
}
.footer__bottom {
  margin-top: 48px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-top: 1px solid var(--line);
  padding-top: 24px;
}
@media (min-width: 640px) {
  .footer__bottom { flex-direction: row; align-items: center; justify-content: space-between; }
}

/* case study modal */
.cs-tabs {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  margin-bottom: 24px;
}
.cs-tab {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  border-radius: var(--r-sm);
  border: 1px solid var(--line);
  background: var(--ink-850);
  padding: 8px 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--mute-2);
  transition: all 0.15s;
  white-space: nowrap;
}
.cs-tab:hover { color: var(--mute); }
.cs-tab.active {
  border-color: rgba(77, 124, 255, 0.6);
  background: rgba(77, 124, 255, 0.12);
  color: var(--paper);
}
.cs-tab.active .no { color: var(--accent); }
.cs-block { min-height: 280px; }
.cs-block h4 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--paper);
  margin: 0 0 16px;
}
.cs-3col {
  display: grid;
  gap: 16px;
}
@media (min-width: 768px) {
  .cs-3col { grid-template-columns: repeat(3, 1fr); }
}
.cs-car {
  border-radius: var(--r-sm);
  border: 1px solid;
  background: rgba(5, 7, 10, 0.6);
  padding: 16px;
}
.cs-car .lbl {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.cs-car p {
  font-size: 13px;
  line-height: 1.55;
  color: var(--mute);
  margin: 0;
}

/* ============================================================
   Admin dashboard
   ============================================================ */
.admin {
  min-height: 100vh;
  display: flex;
}
@media (min-width: 1024px) {
  .admin { display: flex; }
}
.admin__sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 50;
  width: 264px;
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--line);
  background: var(--ink-900);
  transform: translateX(-100%);
  transition: transform 0.3s;
}
@media (min-width: 1024px) {
  .admin__sidebar { position: static; transform: none; }
}
.admin__sidebar.open { transform: translateX(0); }
.admin__brand {
  height: 64px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid var(--line);
  padding: 0 20px;
}
.admin__nav {
  flex: 1;
  overflow-y: auto;
  padding: 12px;
}
.admin__nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  border-radius: var(--r-lg);
  border: 1px solid transparent;
  padding: 10px 14px;
  font-size: 13.5px;
  color: var(--mute);
  background: transparent;
  text-align: left;
  margin-bottom: 4px;
  transition: all 0.15s;
}
.admin__nav-item:hover { background: var(--ink-850); color: var(--paper); }
.admin__nav-item.active {
  border-color: rgba(77, 124, 255, 0.4);
  background: rgba(77, 124, 255, 0.12);
  color: var(--paper);
}
.admin__nav-item.active .ic { color: var(--accent); }
.admin__sidebar-foot {
  flex-shrink: 0;
  border-top: 1px solid var(--line);
  padding: 12px;
}
.admin__user {
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: var(--ink-850);
  padding: 12px;
  margin-top: 8px;
}
.admin__main {
  flex: 1;
  min-width: 0;
}
.admin__topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid var(--line);
  background: rgba(5, 7, 10, 0.9);
  backdrop-filter: blur(16px);
  padding: 0 28px;
}
.admin__content {
  max-width: 1180px;
  margin: 0 auto;
  padding: 28px 16px 56px;
}
@media (min-width: 640px) {
  .admin__content { padding: 36px 28px 56px; }
}

/* panel header + toolbar */
.panel-head {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
}
@media (min-width: 640px) {
  .panel-head { flex-direction: row; align-items: flex-end; justify-content: space-between; }
}
.panel-head h1 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--paper);
  margin: 0;
}
.panel-head p {
  margin: 6px 0 0;
  max-width: 640px;
  font-size: 13.5px;
  color: var(--mute);
}
.toolbar {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}
@media (min-width: 640px) {
  .toolbar { flex-direction: row; align-items: center; }
}
.toolbar .grow { flex: 1; min-width: 180px; }

/* admin cards (settings) */
.acard {
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: rgba(10, 13, 18, 0.6);
}
.acard__head {
  border-bottom: 1px solid var(--line);
  padding: 18px 24px;
}
.acard__head h2 {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  color: var(--paper);
  margin: 0;
}
.acard__head p {
  margin: 4px 0 0;
  font-size: 12.5px;
  color: var(--mute);
}
.acard__body {
  padding: 22px 24px;
}
.acard__foot {
  border-top: 1px solid var(--line);
  background: rgba(14, 18, 24, 0.6);
  padding: 16px 24px;
}

/* stat cards */
.stat-cards {
  display: grid;
  gap: 12px;
}
@media (min-width: 640px) {
  .stat-cards { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1280px) {
  .stat-cards { grid-template-columns: repeat(3, 1fr); }
}
.stat-card {
  display: block;
  text-align: left;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: rgba(10, 13, 18, 0.6);
  padding: 20px;
  transition: all 0.2s;
}
.stat-card:hover {
  border-color: rgba(77, 124, 255, 0.4);
  background: var(--ink-850);
  transform: translateY(-2px);
}
.stat-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}
.stat-card__top .ico {
  display: grid;
  place-items: center;
  height: 40px;
  width: 40px;
  border-radius: var(--r-lg);
  background: rgba(77, 124, 255, 0.12);
  color: var(--accent);
}
.stat-card b {
  display: block;
  margin-top: 20px;
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 700;
  color: var(--paper);
}
.stat-card small {
  display: block;
  margin-top: 4px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mute-2);
}

/* data rows */
.data-table {
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  overflow: hidden;
}
.data-row {
  display: grid;
  gap: 16px;
  border-bottom: 1px solid var(--line);
  background: rgba(10, 13, 18, 0.4);
  padding: 16px 20px;
  align-items: center;
}
.data-row:last-child { border-bottom: none; }
.data-row__head {
  display: none;
  background: var(--ink-850);
  border-bottom: 1px solid var(--line);
  padding: 12px 20px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mute-2);
}
.move-group {
  display: flex;
  border-radius: var(--r-sm);
  border: 1px solid var(--line);
  overflow: hidden;
}
.move-group button {
  display: grid;
  place-items: center;
  height: 36px;
  width: 36px;
  background: transparent;
  border: none;
  color: var(--mute);
}
.move-group button:hover { color: var(--paper); }
.move-group .sep { width: 1px; background: var(--line); }

/* list editor */
.le-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 8px;
}
.le-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: var(--r-sm);
  border: 1px solid var(--line);
  background: var(--ink-800);
  padding: 6px 10px;
  font-size: 13px;
  color: var(--paper);
}
.le-chip button {
  background: none;
  border: none;
  color: var(--mute-2);
  display: grid;
  place-items: center;
  padding: 0;
}
.le-chip button:hover { color: #f87171; }
.le-row {
  display: flex;
  gap: 8px;
}

/* tabs (combined panels) */
.tabs {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  border-bottom: 1px solid var(--line);
  margin-bottom: 24px;
}
.tab {
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 2px solid transparent;
  padding: 12px 16px;
  font-size: 13px;
  font-weight: 500;
  color: var(--mute);
  background: transparent;
  border-top: none;
  border-left: none;
  border-right: none;
  white-space: nowrap;
  transition: all 0.15s;
}
.tab:hover { color: var(--paper); }
.tab.active {
  border-bottom-color: var(--accent);
  color: var(--paper);
}
.tab.active .ic { color: var(--accent); }

/* auth screen */
.auth-screen {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 100vh;
  overflow: hidden;
  padding: 48px 20px;
}
.auth-card {
  position: relative;
  width: 100%;
  max-width: 448px;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: rgba(10, 13, 18, 0.8);
  padding: 28px;
  backdrop-filter: blur(16px);
}

/* icon button row */
.row-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.icon-btn {
  display: grid;
  place-items: center;
  height: 36px;
  width: 36px;
  border-radius: var(--r-sm);
  border: 1px solid var(--line);
  color: var(--mute);
  background: transparent;
  transition: all 0.15s;
}
.icon-btn:hover { color: var(--paper); }
.icon-btn.danger:hover { border-color: rgba(239, 68, 68, 0.5); color: #f87171; }

/* error text */
.err {
  font-size: 12.5px;
  color: #f87171;
}
.field-grid {
  display: grid;
  gap: 16px;
}
@media (min-width: 640px) {
  .field-grid--2 { grid-template-columns: 1fr 1fr; }
}
.muted { color: var(--mute); }
.muted-2 { color: var(--mute-2); }
.hidden { display: none !important; }

/* utility spacing */
.stack > * + * { margin-top: 16px; }
.grid-2 { display: grid; gap: 20px; }
@media (min-width: 1280px) {
  .grid-2 { grid-template-columns: 1fr 1fr; }
}
.mt0 { margin-top: 0; }
.flex { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.gap8 { gap: 8px; }
.gap12 { gap: 12px; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-end { justify-content: flex-end; }
.text-right { text-align: right; }
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ============================================================
   Direct chat widget (public site) + admin messages
   ============================================================ */
#gee-chat { position: fixed; right: 20px; bottom: 20px; z-index: 35; }
.is-admin #gee-chat { display: none !important; }

.chat-fab {
  position: relative;
  display: grid;
  place-items: center;
  height: 56px;
  width: 56px;
  border-radius: 999px;
  border: none;
  background: var(--accent);
  color: #fff;
  cursor: pointer;
  box-shadow: 0 12px 30px -8px rgba(77, 124, 255, 0.8);
  transition: transform 0.2s;
}
.chat-fab:hover { transform: translateY(-2px) scale(1.04); }
.chat-fab__badge {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--accent-3);
  color: #04130f;
  font-size: 11px;
  font-weight: 700;
  display: grid;
  place-items: center;
  border: 2px solid var(--ink-950);
}

.chat-panel {
  width: 360px;
  max-width: calc(100vw - 32px);
  height: 500px;
  max-height: calc(100vh - 110px);
  display: flex;
  flex-direction: column;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: var(--ink-900);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}
.chat-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  background: var(--ink-850);
}
.chat-avatar {
  display: grid;
  place-items: center;
  height: 34px;
  width: 34px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(77, 124, 255, 0.3), rgba(139, 108, 255, 0.15));
  color: var(--paper);
  border: 1px solid rgba(77, 124, 255, 0.4);
}
.chat-title { font-family: var(--font-display); font-size: 14px; font-weight: 600; color: var(--paper); }
.chat-sub { font-size: 11px; color: var(--mute-2); margin-top: 1px; }
.chat-x {
  display: grid;
  place-items: center;
  height: 32px;
  width: 32px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--mute);
}
.chat-x:hover { color: var(--paper); }
.chat-body {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.chat-empty { margin: auto; text-align: center; font-size: 13px; color: var(--mute-2); max-width: 240px; line-height: 1.5; }
.bubble { max-width: 82%; display: flex; flex-direction: column; }
.bubble--me { align-self: flex-end; align-items: flex-end; }
.bubble--them { align-self: flex-start; }
.bubble__name { font-size: 11px; font-weight: 600; color: var(--accent); margin-bottom: 3px; }
.bubble__text {
  padding: 9px 12px;
  border-radius: 14px;
  font-size: 13.5px;
  line-height: 1.45;
  word-break: break-word;
}
.bubble--me .bubble__text { background: var(--accent); color: #fff; border-bottom-right-radius: 4px; }
.bubble--them .bubble__text { background: var(--ink-800); color: var(--paper); border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.bubble__meta { font-size: 10px; color: var(--mute-2); margin-top: 4px; }
.chat-form { padding: 12px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; background: var(--ink-850); }
.chat-name { height: 38px; padding: 8px 12px; font-size: 13px; }
.chat-input-row { display: flex; gap: 8px; align-items: flex-end; }
.chat-text { min-height: 42px; max-height: 100px; padding: 10px 12px; font-size: 13.5px; resize: none; }

/* admin nav unread badge */
.nav-badge {
  margin-left: auto;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  display: grid;
  place-items: center;
}

/* admin messages panel */
.msg-thread {
  max-height: 56vh;
  overflow-y: auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.mbubble { max-width: 75%; display: flex; flex-direction: column; }
.mbubble--me { align-self: flex-end; align-items: flex-end; }
.mbubble--them { align-self: flex-start; }
.mbubble__head { display: flex; gap: 8px; align-items: center; font-size: 11px; color: var(--mute-2); margin-bottom: 4px; }
.mbubble__head b { color: var(--paper); font-size: 12px; }
.mbubble--them .mbubble__head b { color: var(--accent-2); }
.mbubble__text {
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 14px;
  line-height: 1.5;
  word-break: break-word;
}
.mbubble--me .mbubble__text { background: var(--accent); color: #fff; border-bottom-right-radius: 4px; }
.mbubble--them .mbubble__text { background: var(--ink-800); color: var(--paper); border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.msg-reply { margin-top: 16px; display: flex; flex-direction: column; gap: 10px; }
