/* documents/css/support.css */
/* =========================================================================
   support.css
   Dark modern support page (CSP-safe: no inline styles required)
   Scoped to: body.support-page
   ========================================================================= */

/* ───────────────────────────────────────────────────────────
   Tokens + baseline
   ─────────────────────────────────────────────────────────── */

body.support-page {
  margin: 0;
  min-height: 100vh;   /* fallback */
  min-height: 100svh;  /* modern mobile viewport */
  display: flex;
  flex-direction: column;

  font-family: 'Poppins', ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto,
    Arial, 'Noto Sans', 'Liberation Sans', sans-serif;
  color: rgba(229, 237, 255, 0.96);
  color-scheme: dark;

  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;

  /* Motion */
  --sp-ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --sp-ease: cubic-bezier(0.2, 0, 0, 1);
  --sp-dur-fast: 140ms;
  --sp-dur: 200ms;
  --sp-dur-slow: 320ms;

  /* Space background tokens */
  --sp-bg-0: rgb(2, 6, 23);
  --sp-bg-1: rgb(6, 10, 28);
  --sp-bg-2: rgb(9, 13, 32);

  /* Surfaces */
  --sp-surface: rgba(10, 16, 36, 0.72);
  --sp-surface-2: rgba(10, 16, 36, 0.62);
  --sp-border: rgba(148, 163, 184, 0.38);
  --sp-border-soft: rgba(148, 163, 184, 0.22);

  /* Text */
  --sp-text: rgba(229, 237, 255, 0.96);
  --sp-muted: rgba(203, 213, 245, 0.86);

  /* Radii */
  --sp-radius-pill: 999px;
  --sp-radius-lg: 24px;
  --sp-radius-md: 16px;

  /* Shadows */
  --sp-shadow-nav: 0 18px 46px rgba(2, 6, 23, 0.78);
  --sp-shadow-lg: 0 30px 86px rgba(2, 6, 23, 0.92);

  /* Glass blur */
  --sp-blur: 14px;

  /* Accents */
  --sp-accent-gold: #facc15;
  --sp-accent-orange: #f97316;
  --sp-accent-pink: #ec4899;
  --sp-accent-cyan: #0ea5e9;
  --sp-accent-violet: #8b5cf6;
  --sp-accent-emerald: #22c55e;

  /* Page background */
  background-color: var(--sp-bg-0);
  background-image:
    radial-gradient(1200px circle at 18% 12%, rgba(56, 189, 248, 0.18), transparent 55%),
    radial-gradient(900px circle at 82% 20%, rgba(236, 72, 153, 0.14), transparent 58%),
    radial-gradient(1100px circle at 50% 92%, rgba(250, 204, 21, 0.10), transparent 60%),
    radial-gradient(900px circle at 50% 50%, rgba(255, 255, 255, 0.04), transparent 58%),
    linear-gradient(180deg, var(--sp-bg-0), var(--sp-bg-1) 55%, var(--sp-bg-0));
  background-repeat: no-repeat;
  background-attachment: scroll;
}

@media (min-width: 641px) {
  body.support-page {
    background-attachment: fixed;
  }
}

body.support-page *,
body.support-page *::before,
body.support-page *::after {
  box-sizing: border-box;
}

body.support-page :where(a, button) {
  -webkit-tap-highlight-color: transparent;
}

body.support-page :where(a, button):focus {
  outline: none;
}

body.support-page :where(a, button):focus-visible {
  outline: 3px solid rgba(250, 204, 21, 0.85);
  outline-offset: 3px;
}

body.support-page ::selection {
  background: rgba(250, 204, 21, 0.28);
}

/* Screen-reader only */
body.support-page .sp-sr {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ───────────────────────────────────────────────────────────
   Skip link
   ─────────────────────────────────────────────────────────── */

body.support-page .sp-skip {
  position: absolute;
  left: 12px;
  top: 10px;
  z-index: 1000;

  padding: 10px 12px;
  border-radius: 12px;

  background: rgba(2, 6, 23, 0.94);
  border: 1px solid rgba(148, 163, 184, 0.34);

  color: rgba(229, 237, 255, 0.96);
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0.01em;

  transform: translateY(-140%);
  transition: transform var(--sp-dur) var(--sp-ease-out);
}

body.support-page .sp-skip:focus-visible {
  transform: translateY(0);
}

/* ───────────────────────────────────────────────────────────
   Nav
   ─────────────────────────────────────────────────────────── */

body.support-page .sp-header {
  position: relative;
  z-index: 50;
}

body.support-page .sp-nav {
  position: sticky;
  top: 0;
  z-index: 50;

  width: min(1120px, calc(100% - 32px));
  margin: 16px auto 8px;
  padding: 14px 22px;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;

  border-radius: var(--sp-radius-pill);
  border: 1px solid rgba(148, 163, 184, 0.44);

  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.10), rgba(255, 255, 255, 0.04)),
    radial-gradient(circle at 0 0, rgba(56, 189, 248, 0.16), transparent 60%),
    radial-gradient(circle at 100% 100%, rgba(236, 72, 153, 0.12), transparent 60%),
    var(--sp-surface-2);

  box-shadow: var(--sp-shadow-nav);

  backdrop-filter: blur(var(--sp-blur)) saturate(1.12);
  -webkit-backdrop-filter: blur(var(--sp-blur)) saturate(1.12);
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  body.support-page .sp-nav {
    background: rgba(10, 16, 36, 0.92);
  }
}

body.support-page .sp-nav-left {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

body.support-page .sp-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;

  color: rgba(229, 237, 255, 0.96);
  text-decoration: none;
  font-weight: 900;
  letter-spacing: 0.06em;
}

body.support-page .sp-logo-mark {
  width: 34px;
  height: 34px;
  border-radius: 12px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  background:
    radial-gradient(circle at 30% 20%, rgba(56, 189, 248, 0.20), transparent 55%),
    radial-gradient(circle at 80% 80%, rgba(236, 72, 153, 0.16), transparent 58%),
    rgba(255, 255, 255, 0.06);

  border: 1px solid rgba(148, 163, 184, 0.42);
  color: rgba(229, 237, 255, 0.96);
}

body.support-page .sp-logo-text {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

body.support-page .sp-nav-title {
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.78rem;
  opacity: 0.92;
  color: rgba(229, 237, 255, 0.92);
  white-space: nowrap;
}

body.support-page .sp-nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

body.support-page .sp-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 7px 12px;
  border-radius: var(--sp-radius-pill);

  font-size: 0.92rem;
  font-weight: 650;
  color: rgba(229, 237, 255, 0.94);
  text-decoration: none;

  transition:
    background var(--sp-dur-fast) var(--sp-ease),
    color var(--sp-dur-fast) var(--sp-ease),
    box-shadow var(--sp-dur) var(--sp-ease-out),
    transform var(--sp-dur-fast) var(--sp-ease-out);
}

body.support-page .sp-link:hover {
  background: rgba(2, 6, 23, 0.45);
  transform: translateY(-1px);
}

body.support-page .sp-link:active {
  transform: translateY(0);
}

@media (max-width: 640px) {
  body.support-page .sp-nav {
    width: min(1120px, calc(100% - 20px));
    margin-top: 10px;
    padding: 10px 14px;
    border-radius: 18px;
  }

  body.support-page .sp-nav-title {
    display: none;
  }
}

/* ───────────────────────────────────────────────────────────
   Main + layout
   ─────────────────────────────────────────────────────────── */

body.support-page .sp-main {
  flex: 1;
  width: 100%;
  padding: 0 0 10px;
}

body.support-page .sp-wrap {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 14px 0 30px;
}

@media (max-width: 640px) {
  body.support-page .sp-wrap {
    width: min(1120px, calc(100% - 20px));
    padding-bottom: 26px;
  }
}

/* ───────────────────────────────────────────────────────────
   Hero
   ─────────────────────────────────────────────────────────── */

body.support-page .sp-hero {
  padding: 18px 18px 16px;
  border-radius: var(--sp-radius-lg);
  border: 1px solid rgba(148, 163, 184, 0.34);

  background:
    radial-gradient(circle at 0 0, rgba(56, 189, 248, 0.10), transparent 58%),
    radial-gradient(circle at 100% 100%, rgba(236, 72, 153, 0.10), transparent 60%),
    rgba(10, 16, 36, 0.62);

  box-shadow: 0 18px 60px rgba(2, 6, 23, 0.66);

  backdrop-filter: blur(12px) saturate(1.12);
  -webkit-backdrop-filter: blur(12px) saturate(1.12);
}

body.support-page .sp-kicker {
  margin: 0 0 8px;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(203, 213, 245, 0.88);
}

body.support-page .sp-hero h1 {
  margin: 0 0 8px;
  font-size: clamp(1.85rem, 3.4vw, 2.25rem);
  letter-spacing: -0.02em;
  color: rgba(229, 237, 255, 0.98);
}

body.support-page .sp-tagline {
  margin: 0;
  max-width: 860px;
  line-height: 1.55;
  color: rgba(203, 213, 245, 0.86);
  font-weight: 650;
}

body.support-page .sp-inline-link {
  color: rgba(229, 237, 255, 0.96);
  text-decoration: underline;
  text-underline-offset: 3px;
}

body.support-page .sp-hero-actions {
  margin-top: 14px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* ───────────────────────────────────────────────────────────
   Buttons
   ─────────────────────────────────────────────────────────── */

body.support-page .sp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  min-height: 44px;
  padding: 10px 16px;

  border-radius: 14px;
  border: 1px solid rgba(148, 163, 184, 0.42);

  background: rgba(2, 6, 23, 0.72);
  color: rgba(229, 237, 255, 0.96);

  text-decoration: none;
  font-weight: 850;
  letter-spacing: -0.01em;

  cursor: pointer;

  box-shadow: 0 12px 30px rgba(2, 6, 23, 0.62);

  transition:
    transform var(--sp-dur) var(--sp-ease-out),
    box-shadow var(--sp-dur) var(--sp-ease-out),
    background var(--sp-dur) var(--sp-ease-out),
    border-color var(--sp-dur) var(--sp-ease-out);
  will-change: transform;
}

body.support-page .sp-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 60px rgba(2, 6, 23, 0.70);
}

body.support-page .sp-btn:active {
  transform: translateY(0);
  box-shadow: 0 12px 40px rgba(2, 6, 23, 0.66);
}

body.support-page .sp-btn-primary {
  border-color: rgba(250, 204, 21, 0.36);
  background: linear-gradient(135deg, rgba(250, 204, 21, 0.92), rgba(236, 72, 153, 0.78));
  color: rgba(2, 6, 23, 0.98);
}

body.support-page .sp-btn-ghost {
  background: transparent;
  border-color: rgba(148, 163, 184, 0.60);
  box-shadow: none;
  opacity: 0.92;
}

body.support-page .sp-btn-ghost:hover {
  background: rgba(2, 6, 23, 0.58);
  box-shadow: 0 16px 44px rgba(2, 6, 23, 0.66);
}

/* ───────────────────────────────────────────────────────────
   Support Assistant (bot chat)
   ─────────────────────────────────────────────────────────── */

body.support-page .sp-bot {
  position: relative;
  overflow: hidden;
}

body.support-page .sp-bot::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.18;
  background:
    radial-gradient(780px circle at 10% 0%, rgba(56, 189, 248, 0.32), transparent 60%),
    radial-gradient(760px circle at 90% 100%, rgba(250, 204, 21, 0.20), transparent 62%);
}

body.support-page .sp-bot-tools {
  display: flex;
  align-items: center;
  gap: 10px;
}

body.support-page .sp-bot-reset {
  min-height: 40px;
  padding: 9px 14px;
  border-radius: 14px;
}

body.support-page .sp-bot-layout {
  margin-top: 12px;
  display: grid;
  grid-template-columns: minmax(0, 360px) minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  position: relative;
  z-index: 1;
}

@media (max-width: 900px) {
  body.support-page .sp-bot-layout {
    grid-template-columns: 1fr;
  }
}

body.support-page .sp-bot-topics {
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  background:
    radial-gradient(circle at 0 0, rgba(139, 92, 246, 0.08), transparent 60%),
    rgba(10, 16, 36, 0.46);
  padding: 14px;
}

body.support-page .sp-bot-kicker {
  margin: 0 0 10px;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(203, 213, 245, 0.84);
}

body.support-page .sp-bot-chipset {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

body.support-page .sp-bot-chip {
  appearance: none;
  border: 1px solid rgba(148, 163, 184, 0.34);
  background: rgba(2, 6, 23, 0.56);
  color: rgba(229, 237, 255, 0.96);

  border-radius: 999px;
  padding: 10px 12px;
  min-height: 42px;

  font-weight: 850;
  letter-spacing: -0.01em;
  cursor: pointer;

  transition:
    transform var(--sp-dur-fast) var(--sp-ease-out),
    background var(--sp-dur-fast) var(--sp-ease-out),
    border-color var(--sp-dur-fast) var(--sp-ease-out),
    box-shadow var(--sp-dur) var(--sp-ease-out);
}

body.support-page .sp-bot-chip:hover {
  transform: translateY(-1px);
  background: rgba(2, 6, 23, 0.70);
  border-color: rgba(226, 232, 240, 0.44);
  box-shadow: 0 18px 44px rgba(2, 6, 23, 0.60);
}

body.support-page .sp-bot-chip.is-active {
  border-color: rgba(250, 204, 21, 0.50);
  box-shadow: 0 0 0 3px rgba(250, 204, 21, 0.10);
}

body.support-page .sp-bot-sidecard {
  margin-top: 12px;
  border-radius: 16px;
  border: 1px dashed rgba(148, 163, 184, 0.30);
  padding: 12px 12px 10px;
  background: rgba(2, 6, 23, 0.46);
}

body.support-page .sp-bot-sidecard a {
  color: rgba(229, 237, 255, 0.96);
  text-decoration: underline;
  text-underline-offset: 3px;
}

body.support-page .sp-bot-chat {
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  background:
    radial-gradient(circle at 0 0, rgba(56, 189, 248, 0.08), transparent 62%),
    rgba(10, 16, 36, 0.44);
  overflow: hidden;
}

body.support-page .sp-bot-transcript {
  padding: 14px;
  min-height: 340px;
  max-height: 560px;
  overflow: auto;
  -webkit-overflow-scrolling: touch;

  scrollbar-width: thin;
  scrollbar-color: rgba(148, 163, 184, 0.28) transparent;
}

body.support-page .sp-bot-transcript::-webkit-scrollbar {
  height: 10px;
  width: 10px;
}
body.support-page .sp-bot-transcript::-webkit-scrollbar-thumb {
  background: rgba(148, 163, 184, 0.26);
  border-radius: 999px;
}
body.support-page .sp-bot-transcript::-webkit-scrollbar-track {
  background: transparent;
}

body.support-page .sp-chat-msg {
  display: flex;
  margin: 10px 0;
}

body.support-page .sp-chat-msg.is-bot {
  justify-content: flex-start;
}

body.support-page .sp-chat-msg.is-user {
  justify-content: flex-end;
}

body.support-page .sp-chat-bubble {
  width: fit-content;
  max-width: min(720px, 96%);
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.26);
  padding: 12px 12px 10px;

  background: rgba(2, 6, 23, 0.58);
  color: rgba(229, 237, 255, 0.96);

  box-shadow: 0 18px 52px rgba(2, 6, 23, 0.56);
}

body.support-page .sp-chat-msg.is-user .sp-chat-bubble {
  border-color: rgba(250, 204, 21, 0.34);
  background: linear-gradient(135deg, rgba(250, 204, 21, 0.90), rgba(236, 72, 153, 0.72));
  color: rgba(2, 6, 23, 0.98);
}

body.support-page .sp-chat-title {
  margin: 0 0 6px;
  font-weight: 950;
  letter-spacing: -0.02em;
  font-size: 1.0rem;
}

body.support-page .sp-chat-bubble p {
  margin: 10px 0 0;
  line-height: 1.55;
  font-weight: 650;
  color: inherit;
}

body.support-page .sp-chat-bubble p:first-child {
  margin-top: 0;
}

body.support-page .sp-chat-bubble ul {
  margin: 10px 0 0;
  padding-left: 18px;
  line-height: 1.55;
}

body.support-page .sp-chat-bubble li {
  margin: 6px 0;
}

body.support-page .sp-chat-bubble a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

body.support-page .sp-chat-actions {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

body.support-page .sp-bot-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-height: 40px;
  padding: 9px 12px;

  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.34);

  background: rgba(2, 6, 23, 0.66);
  color: rgba(229, 237, 255, 0.96);

  text-decoration: none;
  font-weight: 900;
  letter-spacing: -0.01em;
  cursor: pointer;

  transition:
    transform var(--sp-dur-fast) var(--sp-ease-out),
    background var(--sp-dur-fast) var(--sp-ease-out),
    border-color var(--sp-dur-fast) var(--sp-ease-out),
    box-shadow var(--sp-dur) var(--sp-ease-out);
}

body.support-page .sp-bot-action:hover {
  transform: translateY(-1px);
  background: rgba(2, 6, 23, 0.78);
  border-color: rgba(226, 232, 240, 0.44);
  box-shadow: 0 18px 44px rgba(2, 6, 23, 0.58);
}

body.support-page .sp-bot-action:active {
  transform: translateY(0);
}

body.support-page .sp-bot-action.is-primary {
  border-color: rgba(250, 204, 21, 0.36);
  background: rgba(250, 204, 21, 0.14);
}

body.support-page .sp-chat-replies {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

body.support-page .sp-chat-reply {
  appearance: none;
  border: 1px solid rgba(148, 163, 184, 0.28);
  background: rgba(10, 16, 36, 0.40);
  color: rgba(229, 237, 255, 0.96);

  border-radius: 999px;
  padding: 9px 12px;
  min-height: 38px;

  font-weight: 850;
  cursor: pointer;

  transition:
    background var(--sp-dur-fast) var(--sp-ease-out),
    border-color var(--sp-dur-fast) var(--sp-ease-out),
    transform var(--sp-dur-fast) var(--sp-ease-out);
}

body.support-page .sp-chat-reply:hover {
  transform: translateY(-1px);
  background: rgba(2, 6, 23, 0.58);
  border-color: rgba(226, 232, 240, 0.40);
}

/* Typing indicator */
body.support-page .sp-chat-typing {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

body.support-page .sp-typing-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: rgba(226, 232, 240, 0.85);
  opacity: 0.65;
  animation: spTyping 1000ms var(--sp-ease-out) infinite;
}

body.support-page .sp-typing-dot:nth-child(2) {
  animation-delay: 120ms;
}
body.support-page .sp-typing-dot:nth-child(3) {
  animation-delay: 240ms;
}

@keyframes spTyping {
  0% { transform: translateY(0); opacity: 0.45; }
  35% { transform: translateY(-3px); opacity: 0.95; }
  70% { transform: translateY(0); opacity: 0.55; }
  100% { transform: translateY(0); opacity: 0.45; }
}

body.support-page .sp-bot-disclaimer {
  position: relative;
  z-index: 1;
  margin-top: 12px;
}

/* ───────────────────────────────────────────────────────────
   Contact grid cards
   ─────────────────────────────────────────────────────────── */

body.support-page .sp-grid {
  margin-top: 14px;

  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

@media (max-width: 900px) {
  body.support-page .sp-grid {
    grid-template-columns: 1fr;
  }
}

body.support-page .sp-card {
  padding: 18px 18px 16px;
  border-radius: var(--sp-radius-lg);
  border: 1px solid rgba(148, 163, 184, 0.34);

  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)),
    rgba(10, 16, 36, 0.64);

  box-shadow: 0 18px 54px rgba(2, 6, 23, 0.72);

  backdrop-filter: blur(12px) saturate(1.10);
  -webkit-backdrop-filter: blur(12px) saturate(1.10);

  transition:
    transform var(--sp-dur) var(--sp-ease-out),
    box-shadow var(--sp-dur) var(--sp-ease-out),
    border-color var(--sp-dur) var(--sp-ease-out);
}

body.support-page .sp-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 26px 70px rgba(2, 6, 23, 0.84);
  border-color: rgba(226, 232, 240, 0.48);
}

body.support-page .sp-card-head h2 {
  margin: 0 0 6px;
  font-size: 1.08rem;
  color: rgba(229, 237, 255, 0.98);
  letter-spacing: -0.01em;
}

body.support-page .sp-card-head p {
  margin: 0;
  color: rgba(203, 213, 245, 0.86);
  line-height: 1.5;
  font-weight: 650;
}

body.support-page .sp-card-meta {
  margin: 12px 0 0;
  display: grid;
  gap: 10px;
}

body.support-page .sp-card-meta dt {
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(203, 213, 245, 0.84);
}

body.support-page .sp-card-meta dd {
  margin: 2px 0 0;
  font-weight: 800;
}

body.support-page .sp-card a {
  color: rgba(229, 237, 255, 0.96);
  text-decoration: underline;
  text-underline-offset: 3px;
}

body.support-page .sp-card-actions {
  margin-top: 14px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* Accent bands per card */
body.support-page .sp-card-accent {
  position: relative;
  overflow: hidden;
}

body.support-page .sp-card-accent::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.20;
}

body.support-page .sp-accent-support::before {
  background:
    radial-gradient(520px circle at 20% 0%, rgba(56, 189, 248, 0.35), transparent 60%),
    radial-gradient(520px circle at 90% 90%, rgba(34, 197, 94, 0.24), transparent 62%);
}

body.support-page .sp-accent-privacy::before {
  background:
    radial-gradient(520px circle at 20% 0%, rgba(139, 92, 246, 0.34), transparent 60%),
    radial-gradient(520px circle at 90% 90%, rgba(56, 189, 248, 0.20), transparent 62%);
}

body.support-page .sp-accent-legal::before {
  background:
    radial-gradient(520px circle at 20% 0%, rgba(250, 204, 21, 0.30), transparent 60%),
    radial-gradient(520px circle at 90% 90%, rgba(249, 115, 22, 0.22), transparent 62%);
}

body.support-page .sp-accent-ip::before {
  background:
    radial-gradient(520px circle at 20% 0%, rgba(236, 72, 153, 0.28), transparent 60%),
    radial-gradient(520px circle at 90% 90%, rgba(34, 211, 238, 0.16), transparent 62%);
}

/* ───────────────────────────────────────────────────────────
   Panels (sections)
   ─────────────────────────────────────────────────────────── */

body.support-page .sp-panel {
  margin-top: 14px;

  padding: 18px 18px 16px;
  border-radius: var(--sp-radius-lg);
  border: 1px solid rgba(148, 163, 184, 0.32);

  background:
    radial-gradient(circle at 0 0, rgba(56, 189, 248, 0.08), transparent 62%),
    rgba(2, 6, 23, 0.66);

  box-shadow: 0 18px 54px rgba(2, 6, 23, 0.74);
}

body.support-page .sp-panel-head h2 {
  margin: 0 0 6px;
  font-size: 1.22rem;
  letter-spacing: -0.02em;
  color: rgba(229, 237, 255, 0.98);
}

body.support-page .sp-panel-head p {
  margin: 0;
  color: rgba(203, 213, 245, 0.86);
  line-height: 1.5;
  font-weight: 650;
}

body.support-page .sp-panel-head-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

body.support-page .sp-panel-head-left {
  min-width: 240px;
}

body.support-page .sp-note {
  margin: 12px 0 0;
  color: rgba(226, 232, 240, 0.78);
  line-height: 1.55;
}

body.support-page .sp-checklist {
  margin: 14px 0 0;
  padding-left: 18px;
  color: rgba(229, 237, 255, 0.92);
  line-height: 1.55;
}

body.support-page .sp-checklist li {
  margin: 6px 0;
}

body.support-page .sp-checklist strong {
  color: rgba(249, 250, 251, 0.98);
}

/* ───────────────────────────────────────────────────────────
   FAQ search
   ─────────────────────────────────────────────────────────── */

body.support-page .sp-search {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: min(360px, 100%);
}

body.support-page .sp-label {
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(203, 213, 245, 0.84);
}

body.support-page .sp-input {
  width: 100%;
  min-height: 44px;

  padding: 10px 12px;
  border-radius: 14px;

  border: 1px solid rgba(148, 163, 184, 0.36);
  background:
    radial-gradient(circle at 0 0, rgba(56, 189, 248, 0.08), transparent 60%),
    rgba(10, 16, 36, 0.55);

  color: rgba(229, 237, 255, 0.96);
  font-size: 0.98rem;
  font-weight: 650;

  transition:
    border-color var(--sp-dur) var(--sp-ease-out),
    box-shadow var(--sp-dur) var(--sp-ease-out);
}

body.support-page .sp-input::placeholder {
  color: rgba(203, 213, 245, 0.64);
}

body.support-page .sp-input:focus-visible {
  border-color: rgba(250, 204, 21, 0.55);
  box-shadow: 0 0 0 3px rgba(250, 204, 21, 0.12);
}

/* ───────────────────────────────────────────────────────────
   FAQ accordion
   ─────────────────────────────────────────────────────────── */

body.support-page .sp-faq {
  margin-top: 12px;
  display: grid;
  gap: 10px;
}

body.support-page .faq-item {
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.24);
  background: rgba(10, 16, 36, 0.46);
  overflow: hidden;
}

body.support-page .faq-q-wrap {
  margin: 0;
}

body.support-page .faq-q {
  width: 100%;
  border: none;
  background: transparent;
  color: rgba(229, 237, 255, 0.96);
  text-align: left;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;

  padding: 14px 14px;

  cursor: pointer;
  font-weight: 850;
  letter-spacing: -0.01em;

  transition: background var(--sp-dur-fast) var(--sp-ease);
}

body.support-page .faq-q:hover {
  background: rgba(2, 6, 23, 0.28);
}

body.support-page .faq-q-text {
  line-height: 1.35;
}

body.support-page .faq-icon {
  width: 18px;
  height: 18px;
  position: relative;
  flex: 0 0 18px;
  opacity: 0.92;
}

body.support-page .faq-icon::before,
body.support-page .faq-icon::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 14px;
  height: 2px;
  border-radius: 999px;
  background: rgba(226, 232, 240, 0.92);
  transform: translate(-50%, -50%);
  transition: transform var(--sp-dur) var(--sp-ease-out), opacity var(--sp-dur) var(--sp-ease-out);
}

body.support-page .faq-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

body.support-page .faq-q[aria-expanded="true"] .faq-icon::after {
  opacity: 0;
  transform: translate(-50%, -50%) rotate(0deg);
}

body.support-page .faq-a {
  padding: 0 14px 14px;
  color: rgba(203, 213, 245, 0.90);
  line-height: 1.55;
  font-weight: 650;
}

body.support-page .faq-a p {
  margin: 10px 0 0;
}

body.support-page .faq-a ul {
  margin: 10px 0 0;
  padding-left: 18px;
}

body.support-page .faq-a li {
  margin: 6px 0;
}

body.support-page .faq-a a {
  color: rgba(229, 237, 255, 0.96);
  text-decoration: underline;
  text-underline-offset: 3px;
}

body.support-page .sp-faq-empty {
  margin-top: 12px;
  border-radius: 16px;
  border: 1px dashed rgba(148, 163, 184, 0.34);
  padding: 12px 14px;
  background: rgba(2, 6, 23, 0.54);
  color: rgba(203, 213, 245, 0.88);
}

/* ───────────────────────────────────────────────────────────
   Two-column mini grid
   ─────────────────────────────────────────────────────────── */

body.support-page .sp-two-col {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

@media (max-width: 900px) {
  body.support-page .sp-two-col {
    grid-template-columns: 1fr;
  }
}

body.support-page .sp-mini {
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  background:
    radial-gradient(circle at 0 0, rgba(56, 189, 248, 0.08), transparent 60%),
    rgba(10, 16, 36, 0.44);
  padding: 14px 14px 12px;
}

body.support-page .sp-mini h3 {
  margin: 0 0 6px;
  font-size: 1.0rem;
  letter-spacing: -0.01em;
  color: rgba(229, 237, 255, 0.98);
}

body.support-page .sp-mini p {
  margin: 0;
  color: rgba(203, 213, 245, 0.86);
  line-height: 1.5;
  font-weight: 650;
}

/* ───────────────────────────────────────────────────────────
   Company block
   ─────────────────────────────────────────────────────────── */

body.support-page .sp-company {
  margin-top: 12px;
  color: rgba(203, 213, 245, 0.88);
  line-height: 1.55;
}

body.support-page .sp-company p {
  margin: 8px 0 0;
}

body.support-page .sp-company-grid {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

@media (max-width: 720px) {
  body.support-page .sp-company-grid {
    grid-template-columns: 1fr;
  }
}

body.support-page .sp-company-item {
  border-radius: 16px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  background: rgba(10, 16, 36, 0.40);
  padding: 12px 12px 10px;
}

body.support-page .sp-company-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(203, 213, 245, 0.84);
}

body.support-page .sp-company-link {
  display: inline-flex;
  margin-top: 6px;
  font-weight: 850;
  color: rgba(229, 237, 255, 0.96);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ─────────────────────────────────────────────────────────────
  Footer — quiet legal bar (CSP-safe)
  Always single-row links; low visual prominence (~10%)
  Scoped to body.support-page
  ───────────────────────────────────────────────────────────── */

body.support-page .pol-footer {
  width: 100%;
  padding: 0 24px 22px;
  margin: 10px 0 0;
}

body.support-page .pol-footer-bar {
  width: min(100%, 1600px);
  margin: 0 auto;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;

  padding: 10px 12px;
  border-radius: 16px;

  background: rgba(15, 23, 42, 0.32);
  border: 1px solid rgba(148, 163, 184, 0.16);
}

body.support-page .pol-footer-copy {
  margin: 0;
  white-space: nowrap;

  font-size: 0.82rem;
  font-weight: 650;
  letter-spacing: 0.02em;

  color: rgba(226, 232, 240, 0.52);
}

body.support-page .pol-footer-nav {
  flex: 1 1 auto;
  min-width: 0;
}

body.support-page .pol-footer-links {
  list-style: none;
  margin: 0;
  padding: 0;

  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-end;

  white-space: nowrap;

  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;

  scrollbar-width: none;
}
body.support-page .pol-footer-links::-webkit-scrollbar {
  display: none;
}

body.support-page .pol-footer-links li {
  display: inline-flex;
  align-items: center;
}
body.support-page .pol-footer-links li + li::before {
  content: "·";
  margin: 0 10px;
  color: rgba(148, 163, 184, 0.28);
}

body.support-page .pol-footer-links a {
  display: inline-flex;
  align-items: center;

  padding: 6px 2px;
  border-radius: 8px;

  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 650;

  color: rgba(226, 232, 240, 0.58);

  transition: color 140ms ease, background 140ms ease, box-shadow 140ms ease;
}

body.support-page .pol-footer-links a:hover {
  color: rgba(226, 232, 240, 0.92);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}

body.support-page .pol-footer-links a:focus-visible {
  outline: none;

  background: rgba(250, 204, 21, 0.10);
  box-shadow: 0 0 0 2px rgba(250, 204, 21, 0.18);
  color: rgba(226, 232, 240, 0.95);
}

@media (max-width: 520px) {
  body.support-page .pol-footer-copy {
    display: none;
  }

  body.support-page .pol-footer-bar {
    justify-content: center;
  }

  body.support-page .pol-footer-links {
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.support-page .pol-footer-links a {
    transition: none;
  }
}

/* ───────────────────────────────────────────────────────────
   Toast + clipboard helper
   ─────────────────────────────────────────────────────────── */

body.support-page .sp-toast {
  position: fixed;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);

  z-index: 7000;

  width: min(540px, calc(100% - 28px));
  padding: 12px 14px;

  border-radius: 16px;
  border: 1px solid rgba(148, 163, 184, 0.34);

  background:
    linear-gradient(
      120deg,
      rgba(2, 6, 23, 0.96),
      rgba(10, 16, 36, 0.72) 45%,
      rgba(56, 189, 248, 0.16) 72%,
      rgba(2, 6, 23, 0.96)
    );

  box-shadow: 0 18px 60px rgba(2, 6, 23, 0.72);

  color: rgba(226, 232, 240, 0.94);
  font-weight: 750;
  letter-spacing: -0.01em;

  opacity: 0;
  visibility: hidden;
  transition:
    opacity var(--sp-dur) var(--sp-ease-out),
    transform var(--sp-dur) var(--sp-ease-out),
    visibility var(--sp-dur) var(--sp-ease-out);
}

body.support-page .sp-toast.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(-2px);
}

body.support-page .sp-clipboard {
  position: fixed;
  left: -9999px;
  top: 0;
}

/* ───────────────────────────────────────────────────────────
   Preferences: reduced motion + higher contrast
   ─────────────────────────────────────────────────────────── */

@media (prefers-reduced-motion: reduce) {
  body.support-page .sp-btn,
  body.support-page .sp-link,
  body.support-page .sp-card,
  body.support-page .faq-q,
  body.support-page .sp-skip,
  body.support-page .sp-toast,
  body.support-page .sp-bot-chip,
  body.support-page .sp-bot-action,
  body.support-page .sp-chat-reply,
  body.support-page .sp-typing-dot {
    transition: none !important;
    animation: none !important;
  }
}

@media (prefers-contrast: more) {
  body.support-page .sp-nav,
  body.support-page .sp-hero,
  body.support-page .sp-card,
  body.support-page .sp-panel,
  body.support-page .faq-item,
  body.support-page .pol-footer-bar,
  body.support-page .sp-bot-topics,
  body.support-page .sp-bot-chat {
    border-color: rgba(226, 232, 240, 0.85);
  }
}
/* ───────────────────────────────────────────────────────────
   Floating Support Assistant widget (bottom-right)
   ─────────────────────────────────────────────────────────── */

body.support-page .sp-widget {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 6500;

  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

body.support-page .sp-widget-launcher {
  width: 56px;
  height: 56px;
  border-radius: 999px;

  border: 1px solid rgba(148, 163, 184, 0.46);
  background:
    radial-gradient(circle at 30% 20%, rgba(56, 189, 248, 0.18), transparent 55%),
    radial-gradient(circle at 80% 80%, rgba(236, 72, 153, 0.16), transparent 58%),
    rgba(10, 16, 36, 0.88);

  color: rgba(229, 237, 255, 0.96);
  box-shadow: 0 18px 60px rgba(2, 6, 23, 0.78);

  cursor: pointer;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  transition:
    transform var(--sp-dur) var(--sp-ease-out),
    box-shadow var(--sp-dur) var(--sp-ease-out);
}

body.support-page .sp-widget-launcher:hover {
  transform: translateY(-1px);
  box-shadow: 0 24px 76px rgba(2, 6, 23, 0.84);
}

body.support-page .sp-widget-launcher:active {
  transform: translateY(0);
}

body.support-page .sp-widget-panel {
  width: min(390px, calc(100vw - 32px));
  height: min(600px, calc(100svh - 110px));

  border-radius: 20px;
  border: 1px solid rgba(148, 163, 184, 0.26);

  background:
    radial-gradient(circle at 0 0, rgba(56, 189, 248, 0.12), transparent 62%),
    radial-gradient(circle at 100% 100%, rgba(250, 204, 21, 0.08), transparent 62%),
    rgba(2, 6, 23, 0.92);

  box-shadow: var(--sp-shadow-lg);
  overflow: hidden;

  display: flex;
  flex-direction: column;

  /* “popup” animation state */
  opacity: 0;
  transform: translateY(12px) scale(0.98);
  visibility: hidden;
  pointer-events: none;

  transition:
    opacity var(--sp-dur) var(--sp-ease-out),
    transform var(--sp-dur) var(--sp-ease-out),
    visibility var(--sp-dur) var(--sp-ease-out);
}

body.support-page .sp-widget-panel.is-open {
  opacity: 1;
  transform: translateY(0) scale(1);
  visibility: visible;
  pointer-events: auto;
}

body.support-page .sp-widget-head {
  padding: 12px 12px 10px;

  border-bottom: 1px solid rgba(148, 163, 184, 0.20);

  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)),
    rgba(10, 16, 36, 0.56);

  backdrop-filter: blur(var(--sp-blur)) saturate(1.12);
  -webkit-backdrop-filter: blur(var(--sp-blur)) saturate(1.12);

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  body.support-page .sp-widget-head {
    background: rgba(10, 16, 36, 0.92);
  }
}

body.support-page .sp-widget-title {
  margin: 0;
  font-weight: 950;
  letter-spacing: -0.02em;
  color: rgba(229, 237, 255, 0.98);
}

body.support-page .sp-widget-subtitle {
  margin: 2px 0 0;
  color: rgba(203, 213, 245, 0.82);
  font-weight: 650;
  font-size: 0.86rem;
  line-height: 1.35;
}

body.support-page .sp-widget-head-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

body.support-page .sp-widget-icon-btn {
  width: 36px;
  height: 36px;
  border-radius: 12px;

  border: 1px solid rgba(148, 163, 184, 0.28);
  background: transparent;
  color: rgba(229, 237, 255, 0.92);

  display: inline-flex;
  align-items: center;
  justify-content: center;

  cursor: pointer;

  transition:
    background var(--sp-dur-fast) var(--sp-ease-out),
    transform var(--sp-dur-fast) var(--sp-ease-out),
    border-color var(--sp-dur-fast) var(--sp-ease-out);
}

body.support-page .sp-widget-icon-btn:hover {
  background: rgba(2, 6, 23, 0.55);
  border-color: rgba(226, 232, 240, 0.38);
  transform: translateY(-1px);
}

body.support-page .sp-widget-icon-btn:active {
  transform: translateY(0);
}

body.support-page .sp-widget-body {
  flex: 1;
  min-height: 0; /* allows transcript to actually shrink */
  overflow: hidden;
}

/* Override the old in-page transcript sizing for the widget */
body.support-page .sp-widget-panel .sp-bot-transcript {
  height: 100%;
  min-height: 0;
  max-height: none;
  padding: 12px;
}

body.support-page .sp-widget-foot {
  padding: 10px 12px 12px;
  border-top: 1px solid rgba(148, 163, 184, 0.16);
  background: rgba(10, 16, 36, 0.42);
}

body.support-page .sp-widget-footnote {
  margin: 0;
  color: rgba(203, 213, 245, 0.74);
  font-weight: 650;
  font-size: 0.78rem;
  line-height: 1.45;
}

@media (max-width: 520px) {
  body.support-page .sp-widget {
    left: 12px;
    right: 12px;
    bottom: 12px;
    align-items: flex-end;
  }

  body.support-page .sp-widget-panel {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.support-page .sp-widget-launcher,
  body.support-page .sp-widget-panel,
  body.support-page .sp-widget-icon-btn {
    transition: none !important;
  }
}
