/*
 * QClose HR - public site design system.
 *
 * Everything is scoped under `.qs` so this sheet can also load on the legacy
 * pages that still carry Bootstrap/MDB (they mount only the header and footer
 * from here) without restyling their bodies.
 */

.qs {
  --qs-font: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --qs-primary: #673ab7;
  --qs-primary-600: #5a2fa3;
  --qs-primary-700: #4a2689;
  --qs-violet: #8b5cf6;
  --qs-indigo: #4f46e5;
  --qs-pink: #e879f9;
  --qs-tint: #f3eefd;
  --qs-tint-2: #ebe3fb;

  --qs-ink: #0b1437;
  --qs-ink-2: #3a4560;
  --qs-muted: #69748c;
  --qs-faint: #97a0b5;
  --qs-line: #e8e9f2;
  --qs-bg: #ffffff;
  --qs-bg-soft: #f8f6fe;

  --qs-dark: #0a0920;
  --qs-dark-2: #141238;
  --qs-dark-line: rgba(255, 255, 255, 0.09);
  --qs-dark-text: #c9c6e6;

  --qs-success: #10b981;
  --qs-danger: #e5484d;

  --qs-radius-sm: 10px;
  --qs-radius: 16px;
  --qs-radius-lg: 24px;

  --qs-shadow-sm: 0 1px 2px rgba(11, 20, 55, 0.06), 0 1px 3px rgba(11, 20, 55, 0.04);
  --qs-shadow: 0 10px 30px -12px rgba(11, 20, 55, 0.18), 0 2px 6px rgba(11, 20, 55, 0.05);
  --qs-shadow-lg: 0 30px 60px -20px rgba(40, 20, 100, 0.35), 0 8px 20px -8px rgba(11, 20, 55, 0.12);
  --qs-glow: 0 10px 40px -8px rgba(124, 77, 255, 0.55);

  --qs-grad: linear-gradient(135deg, #7c4dff 0%, #673ab7 48%, #4f46e5 100%);
  --qs-grad-text: linear-gradient(92deg, #c4b5fd 0%, #f0abfc 45%, #a5b4fc 100%);
  --qs-grad-text-dark: linear-gradient(92deg, #673ab7 0%, #8b5cf6 50%, #4f46e5 100%);

  --qs-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --qs-header-h: 76px;

  font-family: var(--qs-font);
  color: var(--qs-ink-2);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
}

.qs *,
.qs *::before,
.qs *::after {
  box-sizing: border-box;
}

.qs a {
  color: inherit;
  text-decoration: none;
}

.qs a:hover {
  text-decoration: none;
}

.qs img {
  max-width: 100%;
  display: block;
}

.qs h1,
.qs h2,
.qs h3,
.qs h4,
.qs h5,
.qs p {
  margin: 0;
  font-family: var(--qs-font);
}

.qs button {
  font-family: inherit;
}

.qs :focus-visible {
  outline: 2px solid var(--qs-violet);
  outline-offset: 3px;
  border-radius: 6px;
}

/* Full-page body when the whole page is the React site. Dark, like the hero
   and footer at either end, so overscroll never flashes white; the content
   between them sits on white. */
body.qs-body {
  margin: 0;
  background: #0a0920;
  overflow-x: hidden;
}

.qs #qs-main {
  display: block;
  background: #fff;
}

.qs-sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.qs-skip {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 200;
  padding: 10px 16px;
  border-radius: 10px;
  background: #fff;
  color: var(--qs-ink);
  font-weight: 600;
  box-shadow: var(--qs-shadow);
  transition: top 0.2s;
}

.qs-skip:focus {
  top: 12px;
}

/* ------------------------------------------------------------------ layout */

.qs-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.qs-container--narrow {
  max-width: 880px;
}

.qs-section {
  position: relative;
  padding: 112px 0;
}

.qs-section--soft {
  background: var(--qs-bg-soft);
}

.qs-section--tight {
  padding: 80px 0;
}

.qs-section-head {
  max-width: 720px;
  margin: 0 auto 56px;
  text-align: center;
}

.qs-section-head--left {
  margin-left: 0;
  text-align: left;
}

/* -------------------------------------------------------------- typography */

.qs-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 10px;
  border-radius: 999px;
  background: var(--qs-tint);
  color: var(--qs-primary);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 18px;
}

.qs-eyebrow__dot {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
}

.qs-eyebrow__dot::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.35;
  animation: qs-ping 2.2s var(--qs-ease) infinite;
}

.qs-eyebrow--dark {
  background: rgba(255, 255, 255, 0.08);
  color: #d8ccff;
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
}

.qs-h1 {
  font-size: clamp(2.5rem, 5.6vw, 4.4rem);
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: -0.035em;
  color: var(--qs-ink);
}

.qs-h2 {
  font-size: clamp(1.9rem, 3.6vw, 2.9rem);
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--qs-ink);
}

.qs-h3 {
  font-size: 1.25rem;
  line-height: 1.3;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--qs-ink);
}

.qs-lead {
  font-size: clamp(1.02rem, 1.4vw, 1.18rem);
  line-height: 1.7;
  color: var(--qs-muted);
}

.qs-section-head .qs-lead {
  margin-top: 18px;
}

.qs-gradient-text {
  background: var(--qs-grad-text-dark);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.qs-on-dark .qs-gradient-text,
.qs-gradient-text--light {
  background-image: var(--qs-grad-text);
  background-size: 200% auto;
  animation: qs-shimmer-text 6s linear infinite;
}

/* ----------------------------------------------------------------- buttons */

.qs-btn {
  --qs-btn-h: 46px;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: var(--qs-btn-h);
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-family: var(--qs-font);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.25s var(--qs-ease), box-shadow 0.25s var(--qs-ease),
    background-color 0.2s, color 0.2s, border-color 0.2s;
}

.qs-btn:hover {
  transform: translateY(-2px);
}

.qs-btn:active {
  transform: translateY(0);
}

.qs-btn:disabled {
  cursor: not-allowed;
  opacity: 0.65;
  transform: none;
}

.qs-btn .anticon {
  font-size: 0.95em;
  transition: transform 0.25s var(--qs-ease);
}

.qs-btn:hover .qs-btn__arrow {
  transform: translateX(3px);
}

.qs-btn--primary {
  background: var(--qs-grad);
  background-size: 160% 160%;
  color: #fff;
  box-shadow: 0 8px 24px -8px rgba(103, 58, 183, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.qs-btn--primary:hover {
  color: #fff;
  background-position: 100% 50%;
  box-shadow: var(--qs-glow), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

/* A light sweep across primary buttons on hover. */
.qs-btn--primary::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.35) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.7s var(--qs-ease);
}

.qs-btn--primary:hover::after {
  transform: translateX(120%);
}

.qs-btn--light {
  background: #fff;
  color: var(--qs-ink);
  box-shadow: var(--qs-shadow-sm);
}

.qs-btn--light:hover {
  color: var(--qs-primary);
  box-shadow: var(--qs-shadow);
}

.qs-btn--outline {
  background: transparent;
  color: var(--qs-primary);
  border-color: rgba(103, 58, 183, 0.35);
}

.qs-btn--outline:hover {
  color: var(--qs-primary);
  background: var(--qs-tint);
  border-color: var(--qs-primary);
}

.qs-btn--ghost {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
}

.qs-btn--ghost:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.35);
}

.qs-btn--text {
  height: auto;
  padding: 0;
  background: none;
  color: var(--qs-primary);
  overflow: visible;
}

.qs-btn--text:hover {
  transform: none;
  color: var(--qs-primary-700);
}

.qs-btn--sm {
  --qs-btn-h: 38px;
  padding: 0 16px;
  font-size: 0.875rem;
  border-radius: 10px;
}

.qs-btn--lg {
  --qs-btn-h: 54px;
  padding: 0 28px;
  font-size: 1rem;
  border-radius: 14px;
}

.qs-btn--block {
  width: 100%;
}

.qs-btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ------------------------------------------------------------------- cards */

.qs-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--qs-line);
  border-radius: var(--qs-radius);
  padding: 28px;
  transition: transform 0.35s var(--qs-ease), box-shadow 0.35s var(--qs-ease),
    border-color 0.35s;
}

/* Cursor spotlight: the card's --mx/--my are set on pointermove. */
.qs-spotlight {
  overflow: hidden;
}

.qs-spotlight::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%),
      rgba(124, 77, 255, 0.1), transparent 45%);
  opacity: 0;
  transition: opacity 0.35s;
  pointer-events: none;
}

.qs-spotlight:hover::before {
  opacity: 1;
}

.qs-card--hover:hover {
  transform: translateY(-4px);
  border-color: rgba(124, 77, 255, 0.35);
  box-shadow: var(--qs-shadow-lg);
}

.qs-icon-tile {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(145deg, var(--qs-tint), #fff);
  border: 1px solid var(--qs-tint-2);
  color: var(--qs-primary);
  font-size: 1.3rem;
  transition: transform 0.35s var(--qs-ease), background 0.35s, color 0.35s;
}

.qs-card--hover:hover .qs-icon-tile {
  transform: scale(1.06) rotate(-4deg);
  background: var(--qs-grad);
  border-color: transparent;
  color: #fff;
}

/* ------------------------------------------------------------ backgrounds */

.qs-on-dark {
  position: relative;
  background: radial-gradient(1200px 600px at 80% -10%, #3b1d8f 0%, transparent 60%),
    radial-gradient(900px 500px at -10% 20%, #2a1470 0%, transparent 55%),
    linear-gradient(180deg, var(--qs-dark) 0%, var(--qs-dark-2) 100%);
  color: var(--qs-dark-text);
  overflow: hidden;
  isolation: isolate;
}

.qs-on-dark .qs-h1,
.qs-on-dark .qs-h2,
.qs-on-dark .qs-h3 {
  color: #fff;
}

.qs-on-dark .qs-lead {
  color: var(--qs-dark-text);
}

.qs-aurora {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.qs-aurora span {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.55;
  will-change: transform;
}

.qs-aurora span:nth-child(1) {
  width: 520px;
  height: 520px;
  left: -140px;
  top: -120px;
  background: #7c4dff;
  animation: qs-float-a 18s ease-in-out infinite;
}

.qs-aurora span:nth-child(2) {
  width: 460px;
  height: 460px;
  right: -120px;
  top: 10%;
  background: #4f46e5;
  animation: qs-float-b 22s ease-in-out infinite;
}

.qs-aurora span:nth-child(3) {
  width: 380px;
  height: 380px;
  left: 40%;
  bottom: -200px;
  background: #c026d3;
  opacity: 0.35;
  animation: qs-float-c 26s ease-in-out infinite;
}

.qs-grid-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%);
}

.qs-grid-bg--light {
  background-image: linear-gradient(rgba(103, 58, 183, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(103, 58, 183, 0.07) 1px, transparent 1px);
}

/* ------------------------------------------------------------------ header */

.qs-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--qs-header-h);
  display: flex;
  align-items: center;
  transition: background-color 0.35s var(--qs-ease), box-shadow 0.35s, border-color 0.35s,
    height 0.35s var(--qs-ease);
  border-bottom: 1px solid transparent;
}

.qs-header.is-scrolled {
  --qs-header-h: 66px;
  background: rgba(255, 255, 255, 0.78);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  backdrop-filter: saturate(180%) blur(18px);
  border-bottom-color: rgba(11, 20, 55, 0.07);
  box-shadow: 0 8px 30px -18px rgba(11, 20, 55, 0.25);
}

.qs-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
}

.qs-header__brand {
  position: relative;
  display: flex;
  align-items: center;
  flex-shrink: 0;
  height: 40px;
}

.qs-header__brand img {
  height: 36px;
  width: auto;
  transition: opacity 0.3s;
}

.qs-header__brand .qs-logo-dark {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0;
}

.qs-header.is-scrolled .qs-logo-light,
.qs-header--light .qs-logo-light {
  opacity: 0;
}

.qs-header.is-scrolled .qs-logo-dark,
.qs-header--light .qs-logo-dark {
  opacity: 1;
}

.qs-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  margin: 0;
  padding: 4px;
  list-style: none;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: background 0.35s, border-color 0.35s;
}

.qs-header.is-scrolled .qs-nav,
.qs-header--light .qs-nav {
  background: rgba(103, 58, 183, 0.05);
  border-color: rgba(103, 58, 183, 0.08);
}

.qs-nav__link {
  position: relative;
  display: block;
  padding: 8px 15px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.82);
  transition: color 0.2s;
}

.qs-nav__link:hover,
.qs-nav__link.is-active {
  color: #fff;
}

.qs-header.is-scrolled .qs-nav__link,
.qs-header--light .qs-nav__link {
  color: var(--qs-ink-2);
}

.qs-header.is-scrolled .qs-nav__link:hover,
.qs-header.is-scrolled .qs-nav__link.is-active,
.qs-header--light .qs-nav__link:hover,
.qs-header--light .qs-nav__link.is-active {
  color: var(--qs-primary);
}

.qs-nav__pill {
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
}

.qs-header.is-scrolled .qs-nav__pill,
.qs-header--light .qs-nav__pill {
  background: #fff;
  box-shadow: var(--qs-shadow-sm);
}

.qs-header__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.qs-header__whatsapp {
  position: relative;
  top: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 50%;
  color: #25d366;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  text-decoration: none;
  line-height: 1;
  flex-shrink: 0;
  transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease,
    transform 0.2s ease, box-shadow 0.2s ease;
}

.qs-header__whatsapp:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.28);
  box-shadow: 0 0 16px rgba(255, 255, 255, 0.35);
  transform: scale(1.06);
}

.qs-header.is-scrolled .qs-header__whatsapp,
.qs-header--light .qs-header__whatsapp {
  color: #25d366;
  background: rgba(103, 58, 183, 0.05);
  border-color: rgba(103, 58, 183, 0.12);
}

.qs-header.is-scrolled .qs-header__whatsapp:hover,
.qs-header--light .qs-header__whatsapp:hover {
  color: var(--qs-primary);
  background: #ffffff;
  border-color: var(--qs-line);
  box-shadow: var(--qs-shadow-sm);
}

.qs-drawer__whatsapp {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  width: 100%;
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 600;
  color: #fff;
  background: #25d366;
  text-decoration: none;
  box-shadow: 0 4px 14px -3px rgba(37, 211, 102, 0.4);
  transition: transform 0.2s ease, background-color 0.2s;
}

.qs-drawer__whatsapp:hover {
  color: #fff;
  background: #20ba59;
}

.qs-header__login {
  padding: 8px 12px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #fff;
  transition: color 0.2s;
}

.qs-header__login:hover {
  color: #d8ccff;
}

.qs-header.is-scrolled .qs-header__login,
.qs-header--light .qs-header__login {
  color: var(--qs-ink);
}

.qs-header.is-scrolled .qs-header__login:hover,
.qs-header--light .qs-header__login:hover {
  color: var(--qs-primary);
}

.qs-header .qs-btn--ghost {
  transition: all 0.3s;
}

.qs-header.is-scrolled .qs-btn--ghost,
.qs-header--light .qs-btn--ghost {
  color: var(--qs-ink);
  background: #fff;
  border-color: var(--qs-line);
}

.qs-burger {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-size: 1.15rem;
  cursor: pointer;
}

.qs-header.is-scrolled .qs-burger,
.qs-header--light .qs-burger {
  color: var(--qs-ink);
  border-color: var(--qs-line);
  background: #fff;
}

/* Mobile drawer */
.qs-drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 110;
  background: rgba(10, 9, 32, 0.45);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}

.qs-drawer {
  position: fixed;
  top: 10px;
  right: 10px;
  bottom: 10px;
  z-index: 120;
  width: min(380px, calc(100vw - 20px));
  display: flex;
  flex-direction: column;
  padding: 18px;
  border-radius: 22px;
  background: #fff;
  box-shadow: var(--qs-shadow-lg);
  overflow-y: auto;
}

.qs-drawer__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.qs-drawer__top img {
  height: 32px;
  width: auto;
}

.qs-drawer__close {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  border: 1px solid var(--qs-line);
  background: #fff;
  color: var(--qs-ink);
  cursor: pointer;
}

.qs-drawer__links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.qs-drawer__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 12px;
  border-radius: 12px;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--qs-ink);
  transition: background 0.2s, color 0.2s;
}

.qs-drawer__link:hover,
.qs-drawer__link.is-active {
  background: var(--qs-tint);
  color: var(--qs-primary);
}

.qs-drawer__link .anticon {
  font-size: 0.8rem;
  color: var(--qs-faint);
}

.qs-drawer__actions {
  display: grid;
  gap: 10px;
  margin-top: auto;
  padding-top: 20px;
}

/* ------------------------------------------------------------------ footer */

.qs-footer {
  position: relative;
  background: var(--qs-dark);
  color: var(--qs-dark-text);
  overflow: hidden;
  isolation: isolate;
}

.qs-footer::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: min(900px, 90%);
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, rgba(167, 139, 250, 0.7), transparent);
}

.qs-footer__glow {
  position: absolute;
  left: 50%;
  top: -260px;
  z-index: -1;
  width: 800px;
  height: 400px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(124, 77, 255, 0.28), transparent);
  pointer-events: none;
}

.qs-footer__top {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 48px;
  padding: 80px 0 56px;
}

.qs-footer__brand img {
  height: 38px;
  width: auto;
  margin-bottom: 18px;
}

.qs-footer__brand p {
  max-width: 320px;
  font-size: 0.92rem;
  line-height: 1.7;
  color: #a9a5cf;
}

.qs-footer__stores {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.qs-store {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px 8px 12px;
  border-radius: 12px;
  border: 1px solid var(--qs-dark-line);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  transition: background 0.25s, border-color 0.25s, transform 0.25s var(--qs-ease);
}

.qs-store:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.qs-store .anticon {
  font-size: 1.35rem;
}

.qs-store small {
  display: block;
  font-size: 0.64rem;
  line-height: 1.1;
  color: #a9a5cf;
}

.qs-store strong {
  display: block;
  font-size: 0.86rem;
  line-height: 1.2;
  font-weight: 600;
}

.qs-store--light {
  border-color: var(--qs-line);
  background: #fff;
  color: var(--qs-ink);
  box-shadow: var(--qs-shadow-sm);
}

.qs-store--light:hover {
  color: var(--qs-ink);
  background: #fff;
  border-color: rgba(103, 58, 183, 0.3);
  box-shadow: var(--qs-shadow);
}

.qs-store--light small {
  color: var(--qs-muted);
}

.qs-footer__col h4 {
  margin-bottom: 18px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
}

.qs-footer__col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.qs-footer__col a {
  position: relative;
  font-size: 0.92rem;
  color: #a9a5cf;
  transition: color 0.2s;
}

.qs-footer__col a:hover {
  color: #fff;
}

.qs-footer__col a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s var(--qs-ease);
}

.qs-footer__col a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.qs-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
  padding: 26px 0 32px;
  border-top: 1px solid var(--qs-dark-line);
  font-size: 0.85rem;
  color: #8e89b8;
}

.qs-socials {
  display: flex;
  gap: 8px;
}

.qs-social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  border: 1px solid var(--qs-dark-line);
  background: rgba(255, 255, 255, 0.03);
  color: #c9c6e6;
  font-size: 1rem;
  transition: all 0.25s var(--qs-ease);
}

.qs-social:hover {
  color: #fff;
  background: var(--qs-primary);
  border-color: var(--qs-primary);
  transform: translateY(-3px);
}

.qs-footer__wordmark {
  display: block;
  padding-top: 8px;
  font-size: clamp(3.5rem, 13vw, 11rem);
  font-weight: 800;
  line-height: 0.8;
  letter-spacing: -0.06em;
  text-align: center;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  user-select: none;
  pointer-events: none;
}

/* ---------------------------------------------------------------- CTA band */

.qs-cta {
  position: relative;
  padding: 72px 56px;
  border-radius: 28px;
  background: var(--qs-grad);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
  text-align: center;
  box-shadow: var(--qs-shadow-lg);
}

.qs-cta .qs-h2 {
  color: #fff;
}

.qs-cta .qs-lead {
  color: rgba(255, 255, 255, 0.82);
  max-width: 560px;
  margin: 16px auto 32px;
}

.qs-cta .qs-btn-row {
  justify-content: center;
}

.qs-cta__orb {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  filter: blur(2px);
}

.qs-cta__orb--1 {
  width: 320px;
  height: 320px;
  right: -90px;
  top: -140px;
  animation: qs-float-b 16s ease-in-out infinite;
}

.qs-cta__orb--2 {
  width: 220px;
  height: 220px;
  left: -70px;
  bottom: -110px;
  background: rgba(255, 255, 255, 0.1);
  animation: qs-float-a 14s ease-in-out infinite;
}

.qs-cta .qs-grid-bg {
  -webkit-mask-image: radial-gradient(ellipse 60% 80% at 50% 50%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 60% 80% at 50% 50%, #000 20%, transparent 75%);
}

/* ---------------------------------------------------------------- marquee */

.qs-marquee {
  position: relative;
  display: flex;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

.qs-marquee__track {
  display: flex;
  flex-shrink: 0;
  gap: 14px;
  padding-right: 14px;
  animation: qs-marquee 42s linear infinite;
}

.qs-marquee--reverse .qs-marquee__track {
  animation-direction: reverse;
  animation-duration: 48s;
}

.qs-marquee:hover .qs-marquee__track {
  animation-play-state: paused;
}

.qs-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 18px;
  border-radius: 999px;
  border: 1px solid var(--qs-line);
  background: #fff;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--qs-ink);
  white-space: nowrap;
  box-shadow: var(--qs-shadow-sm);
}

.qs-chip .anticon {
  color: var(--qs-primary);
}

.qs-on-dark .qs-chip {
  border-color: var(--qs-dark-line);
  background: rgba(255, 255, 255, 0.04);
  color: #e7e4ff;
  box-shadow: none;
}

.qs-on-dark .qs-chip .anticon {
  color: #b9a3ff;
}

/* ------------------------------------------------------------------- forms */

.qs-field {
  display: grid;
  gap: 7px;
}

.qs-label {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--qs-ink);
}

.qs-label small {
  font-weight: 400;
  color: var(--qs-faint);
}

.qs-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.qs-input-wrap > .anticon {
  position: absolute;
  left: 15px;
  z-index: 1;
  font-size: 1rem;
  color: var(--qs-faint);
  pointer-events: none;
  transition: color 0.2s;
}

.qs-input,
.qs-select,
.qs-textarea {
  width: 100%;
  height: 50px;
  padding: 0 16px;
  border: 1px solid var(--qs-line);
  border-radius: 12px;
  background: #fff;
  font-family: var(--qs-font);
  font-size: 0.95rem;
  color: var(--qs-ink);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
  -webkit-appearance: none;
  appearance: none;
}

.qs-input-wrap > .anticon ~ .qs-input,
.qs-input-wrap > .anticon ~ .qs-select {
  padding-left: 44px;
}

.qs-input::placeholder,
.qs-textarea::placeholder {
  color: #a8afc2;
}

.qs-input:hover,
.qs-select:hover,
.qs-textarea:hover {
  border-color: #cfd2e3;
}

.qs-input:focus,
.qs-select:focus,
.qs-textarea:focus {
  border-color: var(--qs-violet);
  box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.15);
}

.qs-input-wrap:focus-within > .anticon {
  color: var(--qs-primary);
}

.qs-select {
  padding-right: 42px;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1.5 6 6.5l5-5' stroke='%2369748c' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}

.qs-textarea {
  height: auto;
  min-height: 140px;
  padding: 14px 16px;
  line-height: 1.6;
  resize: vertical;
}

.qs-input.has-error,
.qs-select.has-error,
.qs-textarea.has-error {
  border-color: var(--qs-danger);
  background: #fffafa;
}

.qs-input.has-error:focus,
.qs-select.has-error:focus,
.qs-textarea.has-error:focus {
  box-shadow: 0 0 0 4px rgba(229, 72, 77, 0.13);
}

.qs-input-action {
  position: absolute;
  right: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--qs-faint);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.qs-input-action:hover {
  background: var(--qs-tint);
  color: var(--qs-primary);
}

.qs-input--action {
  padding-right: 50px !important;
}

.qs-error {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  font-size: 0.82rem;
  line-height: 1.45;
  color: var(--qs-danger);
}

.qs-error .anticon {
  margin-top: 3px;
}

.qs-hint {
  font-size: 0.8rem;
  color: var(--qs-faint);
}

.qs-check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  font-size: 0.9rem;
  color: var(--qs-ink-2);
  user-select: none;
}

.qs-check input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.qs-check__box {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  margin-top: 1px;
  border: 1.5px solid #c7cbdb;
  border-radius: 6px;
  background: #fff;
  color: #fff;
  font-size: 0.7rem;
  transition: all 0.2s var(--qs-ease);
}

.qs-check input:checked + .qs-check__box {
  border-color: var(--qs-primary);
  background: var(--qs-primary);
  box-shadow: 0 4px 12px -4px rgba(103, 58, 183, 0.6);
}

.qs-check input:focus-visible + .qs-check__box {
  box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.2);
}

.qs-check__box .anticon {
  transform: scale(0);
  transition: transform 0.2s var(--qs-ease);
}

.qs-check input:checked + .qs-check__box .anticon {
  transform: scale(1);
}

.qs-check a {
  color: var(--qs-primary);
  font-weight: 600;
}

.qs-alert {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 12px;
  font-size: 0.9rem;
  line-height: 1.5;
}

.qs-alert .anticon {
  margin-top: 3px;
  font-size: 1rem;
}

.qs-alert--success {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
}

.qs-alert--error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
}

.qs-alert--info {
  background: var(--qs-tint);
  border: 1px solid var(--qs-tint-2);
  color: var(--qs-primary-700);
}

.qs-form-grid {
  display: grid;
  gap: 20px;
}

.qs-form-grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

/* ---------------------------------------------------------- page heroes */

.qs-page-hero {
  padding: calc(var(--qs-header-h) + 88px) 0 104px;
  text-align: center;
}

.qs-page-hero .qs-lead {
  max-width: 640px;
  margin: 20px auto 0;
}

.qs-page-hero--overlap {
  padding-bottom: 180px;
}

.qs-overlap {
  position: relative;
  z-index: 2;
  margin-top: -130px;
}

/* --------------------------------------------------- legacy page banner */

/*
 * Pages still on layouts/index.blade.php render their title into this band.
 * Deliberately NOT scoped under .qs: those pages' own markup sits inside it
 * and must keep its Bootstrap/MDB styling. The dark background is what their
 * white-on-purple headings were written against; pages with their own hero
 * (the blog) simply paint over it.
 */
.qs-legacy-band {
  position: relative;
  padding-top: 76px;
  background: radial-gradient(900px 400px at 75% -20%, #3b1d8f 0%, transparent 60%),
    linear-gradient(180deg, #0a0920 0%, #141238 100%);
  color: #fff;
}

.qs-legacy-band a {
  color: #c4b5fd;
}

/* For legacy pages with neither a band nor their own hero. */
.qs-legacy-offset {
  height: 76px;
  background: #0a0920;
}

@media (max-width: 767px) {
  .qs-legacy-band {
    padding-top: 68px;
  }
}

/* ------------------------------------------------------------ cookie toast */

.qs-cookie {
  position: fixed;
  left: 20px;
  bottom: 20px;
  z-index: 90;
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 460px;
  padding: 16px 16px 16px 18px;
  border-radius: 18px;
  background: rgba(15, 13, 42, 0.92);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 50px -12px rgba(10, 9, 32, 0.5);
  color: #d9d6f3;
  font-family: var(--qs-font);
  font-size: 0.86rem;
  line-height: 1.55;
}

.qs-cookie__icon {
  flex-shrink: 0;
  font-size: 1.4rem;
}

.qs-cookie a {
  color: #c4b5fd;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* --------------------------------------------------------------- motion */

@keyframes qs-ping {
  0% {
    transform: scale(0.6);
    opacity: 0.55;
  }
  80%,
  100% {
    transform: scale(1.9);
    opacity: 0;
  }
}

@keyframes qs-float-a {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(80px, 60px) scale(1.12);
  }
}

@keyframes qs-float-b {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(-70px, 50px) scale(0.92);
  }
}

@keyframes qs-float-c {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(-60px, -70px);
  }
}

@keyframes qs-shimmer-text {
  to {
    background-position: 200% center;
  }
}

@keyframes qs-marquee {
  to {
    transform: translateX(-100%);
  }
}

@keyframes qs-spin {
  to {
    transform: rotate(360deg);
  }
}

/* ------------------------------------------------------------- responsive */

@media (max-width: 1080px) {
  .qs-nav,
  .qs-header__actions .qs-hide-md {
    display: none;
  }

  .qs-burger {
    display: inline-flex;
  }

  .qs-footer__top {
    grid-template-columns: repeat(3, 1fr);
  }

  .qs-footer__brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 767px) {
  .qs {
    --qs-header-h: 68px;
  }

  .qs-container {
    padding: 0 18px;
  }

  .qs-section {
    padding: 80px 0;
  }

  .qs-section-head {
    margin-bottom: 40px;
  }

  .qs-header__actions .qs-hide-sm {
    display: none;
  }

  .qs-page-hero {
    padding: calc(var(--qs-header-h) + 56px) 0 72px;
  }

  .qs-page-hero--overlap {
    padding-bottom: 150px;
  }

  .qs-cta {
    padding: 52px 24px;
    border-radius: 22px;
  }

  .qs-form-grid--2 {
    grid-template-columns: 1fr;
  }

  .qs-footer__top {
    grid-template-columns: repeat(2, 1fr);
    gap: 36px;
    padding: 60px 0 40px;
  }

  .qs-footer__bottom {
    flex-direction: column-reverse;
    align-items: flex-start;
  }

  .qs-cookie {
    left: 12px;
    right: 12px;
    bottom: 12px;
    max-width: none;
    flex-wrap: wrap;
  }
}

@media (prefers-reduced-motion: reduce) {
  .qs *,
  .qs *::before,
  .qs *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

  .qs-marquee__track {
    animation: none !important;
  }
}

/*
 * Long-form pages: privacy policy, terms, user guide and the blog.
 *
 * These stay server-rendered in Blade (their content is text, and search
 * engines should get it without running JavaScript); only the design comes
 * from here. Loaded by SiteChrome, which those pages already mount for the
 * header and footer.
 *
 * Scoped under .qs-doc so the Bootstrap/MDB still loaded on these pages
 * cannot reach in, and so this sheet cannot reach out.
 */

.qs-doc {
  --doc-gutter: 56px;
  font-family: var(--qs-font, "Poppins", system-ui, sans-serif);
  color: #3a4560;
  background: #fff;
}

.qs-doc *,
.qs-doc *::before,
.qs-doc *::after {
  box-sizing: border-box;
}

/* ------------------------------------------------------------------- hero */

.qs-doc-hero {
  position: relative;
  padding: calc(76px + 72px) 0 84px;
  text-align: center;
  background: radial-gradient(900px 420px at 78% -20%, #3b1d8f 0%, transparent 60%),
    radial-gradient(700px 400px at 10% 10%, #2a1470 0%, transparent 55%),
    linear-gradient(180deg, #0a0920 0%, #141238 100%);
  color: #c9c6e6;
  overflow: hidden;
  isolation: isolate;
}

.qs-doc-hero__grid {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%);
}

.qs-doc-hero__inner {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 24px;
}

.qs-doc-hero h1 {
  margin: 0;
  font-size: clamp(2.1rem, 4.4vw, 3.4rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.035em;
  color: #fff;
}

.qs-doc-hero p {
  margin: 18px auto 0;
  max-width: 620px;
  font-size: 1.05rem;
  line-height: 1.7;
  color: #b9b5dd;
}

.qs-doc-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  padding: 7px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #d8ccff;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.qs-doc-eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #a78bfa;
}

.qs-doc-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 20px;
  margin-top: 22px;
  font-size: 0.85rem;
  color: #a9a5cf;
}

.qs-doc-meta span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

/* Search box in the user guide hero */
.qs-doc-search {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 520px;
  margin: 30px auto 0;
  padding: 0 18px;
  height: 56px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.qs-doc-search:focus-within {
  border-color: #a78bfa;
  box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.18);
}

.qs-doc-search i {
  color: #a9a5cf;
}

.qs-doc-search input {
  flex: 1;
  height: 100%;
  border: 0;
  background: none;
  outline: none;
  color: #fff;
  font-family: inherit;
  font-size: 0.98rem;
}

.qs-doc-search input::placeholder {
  color: #8e89b8;
}

/* ----------------------------------------------------------------- layout */

.qs-doc-body {
  max-width: 1180px;
  margin: 0 auto;
  padding: 72px 24px 96px;
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: var(--doc-gutter);
  align-items: start;
}

.qs-doc-body--single {
  grid-template-columns: minmax(0, 1fr);
  max-width: 860px;
}

/* -------------------------------------------------------------------- toc */

.qs-doc-toc {
  position: sticky;
  top: 100px;
}

.qs-doc-toc__label {
  margin: 0 0 14px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #97a0b5;
}

.qs-doc-toc ul {
  margin: 0;
  padding: 0;
  list-style: none;
  border-left: 2px solid #eceef5;
}

.qs-doc-toc li {
  margin: 0;
}

.qs-doc-toc a {
  display: block;
  padding: 9px 0 9px 16px;
  margin-left: -2px;
  border-left: 2px solid transparent;
  font-size: 0.9rem;
  line-height: 1.45;
  color: #69748c;
  text-decoration: none;
  transition: color 0.2s, border-color 0.2s;
}

.qs-doc-toc a:hover {
  color: #673ab7;
  text-decoration: none;
}

.qs-doc-toc a.active {
  color: #673ab7;
  font-weight: 600;
  border-left-color: #673ab7;
}

/* ------------------------------------------------------------------ prose */

.qs-prose {
  max-width: 760px;
  font-size: 1rem;
  line-height: 1.8;
  color: #3a4560;
}

.qs-prose > * + * {
  margin-top: 1.1em;
}

/* Post bodies come from the editor, so cover every heading level. */
.qs-prose h1 {
  margin: 2.2em 0 0.7em;
  font-size: clamp(1.7rem, 3vw, 2.1rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: #0b1437;
}

.qs-prose h1:first-child {
  margin-top: 0;
}

.qs-prose h5,
.qs-prose h6 {
  margin: 1.6em 0 0.5em;
  font-size: 0.95rem;
  font-weight: 600;
  color: #0b1437;
}

.qs-prose strong,
.qs-prose b {
  font-weight: 600;
  color: #0b1437;
}

.qs-prose figure {
  margin: 1.6em 0;
}

.qs-prose figcaption {
  margin-top: 8px;
  font-size: 0.85rem;
  color: #97a0b5;
  text-align: center;
}

.qs-prose h2 {
  margin: 2.4em 0 0.7em;
  font-size: clamp(1.4rem, 2.4vw, 1.8rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: #0b1437;
  scroll-margin-top: 110px;
}

.qs-prose h2:first-child {
  margin-top: 0;
}

.qs-prose h3 {
  margin: 2em 0 0.6em;
  font-size: 1.18rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #0b1437;
  scroll-margin-top: 110px;
}

.qs-prose h4 {
  margin: 1.6em 0 0.5em;
  font-size: 1.02rem;
  font-weight: 600;
  color: #0b1437;
}

.qs-prose p {
  margin: 0 0 1.1em;
}

.qs-prose a {
  color: #673ab7;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}

.qs-prose a:hover {
  color: #4a2689;
}

/* Set the markers explicitly: MDB, still loaded on these pages, strips list
   styling, which left ordered steps with no numbers. */
.qs-prose ul,
.qs-prose ol {
  margin: 0 0 1.2em;
  padding-left: 1.4em;
  list-style-position: outside;
}

/* The marker goes on the item, not the list: style.css sets a global
   `li { list-style: none }`, and a rule on the element beats the value the
   item would otherwise inherit from its ol/ul. */
.qs-prose ul > li {
  list-style-type: disc;
}

.qs-prose ol > li {
  list-style-type: decimal;
}

.qs-prose ul ul > li {
  list-style-type: circle;
}

.qs-prose li {
  margin-bottom: 0.6em;
  padding-left: 0.2em;
}

.qs-prose li::marker {
  color: #8b5cf6;
  font-weight: 600;
}

.qs-prose img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 1.6em 0;
  border-radius: 14px;
  border: 1px solid #e8e9f2;
  box-shadow: 0 10px 30px -14px rgba(11, 20, 55, 0.25);
}

.qs-prose iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  margin: 1.6em 0;
  border: 0;
  border-radius: 14px;
  box-shadow: 0 10px 30px -14px rgba(11, 20, 55, 0.3);
}

.qs-prose blockquote {
  margin: 1.6em 0;
  padding: 4px 0 4px 22px;
  border-left: 3px solid #8b5cf6;
  font-size: 1.05rem;
  color: #0b1437;
}

.qs-prose code {
  padding: 2px 6px;
  border-radius: 6px;
  background: #f3eefd;
  color: #4a2689;
  font-size: 0.9em;
}

.qs-prose pre {
  margin: 1.6em 0;
  padding: 18px;
  border-radius: 12px;
  background: #0f0c2e;
  color: #e5e3f7;
  overflow-x: auto;
}

.qs-prose pre code {
  background: none;
  color: inherit;
  padding: 0;
}

.qs-prose hr {
  margin: 2.6em 0;
  border: 0;
  border-top: 1px solid #e8e9f2;
}

.qs-prose table {
  width: 100%;
  margin: 1.6em 0;
  border-collapse: collapse;
  font-size: 0.94rem;
}

.qs-prose th,
.qs-prose td {
  padding: 12px 14px;
  border: 1px solid #e8e9f2;
  text-align: left;
}

.qs-prose th {
  background: #f8f6fe;
  font-weight: 600;
  color: #0b1437;
}

/* A block of the guide / policy, as a card. */
.qs-doc-section {
  padding: 32px 34px;
  margin-bottom: 20px;
  border-radius: 18px;
  border: 1px solid #e8e9f2;
  background: #fff;
  box-shadow: 0 1px 2px rgba(11, 20, 55, 0.04);
  scroll-margin-top: 110px;
  transition: box-shadow 0.3s, border-color 0.3s;
}

.qs-doc-section:hover {
  border-color: rgba(124, 77, 255, 0.28);
  box-shadow: 0 16px 40px -22px rgba(11, 20, 55, 0.3);
}

.qs-doc-section > h2:first-child,
.qs-doc-section > h3:first-child {
  margin-top: 0;
}

.qs-doc-section[hidden] {
  display: none;
}

.qs-doc-empty {
  padding: 40px 0;
  text-align: center;
  color: #69748c;
}

/* --------------------------------------------------------------- video */

.qs-video-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.qs-video {
  padding: 16px;
  border-radius: 18px;
  border: 1px solid #e8e9f2;
  background: #fff;
  box-shadow: 0 1px 2px rgba(11, 20, 55, 0.04);
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}

.qs-video:hover {
  transform: translateY(-3px);
  border-color: rgba(124, 77, 255, 0.28);
  box-shadow: 0 18px 40px -20px rgba(11, 20, 55, 0.35);
}

.qs-video h3 {
  margin: 0 0 12px;
  font-size: 1rem;
  font-weight: 600;
  color: #0b1437;
}

.qs-video iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  border: 0;
  border-radius: 12px;
}

/* --------------------------------------------------------------- callout */

.qs-callout {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 20px 22px;
  border-radius: 16px;
  background: #f8f6fe;
  border: 1px solid #ebe3fb;
  color: #3a4560;
  font-size: 0.94rem;
  line-height: 1.65;
}

.qs-callout i {
  margin-top: 3px;
  color: #673ab7;
}

.qs-callout a {
  color: #673ab7;
  font-weight: 600;
}

/* -------------------------------------------------------------- doc CTA */

.qs-doc-cta {
  padding: 0 24px 96px;
}

.qs-doc-cta__inner {
  position: relative;
  max-width: 1130px;
  margin: 0 auto;
  padding: 56px 40px;
  border-radius: 26px;
  background: linear-gradient(135deg, #7c4dff 0%, #673ab7 48%, #4f46e5 100%);
  color: #fff;
  text-align: center;
  overflow: hidden;
  box-shadow: 0 30px 60px -20px rgba(40, 20, 100, 0.45);
}

.qs-doc-cta h2 {
  margin: 0 0 10px;
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
}

.qs-doc-cta p {
  margin: 0 0 26px;
  color: rgba(255, 255, 255, 0.85);
}

.qs-doc-cta a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 50px;
  padding: 0 26px;
  border-radius: 13px;
  background: #fff;
  color: #4a2689;
  font-size: 0.97rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 10px 24px -10px rgba(10, 5, 40, 0.5);
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.25s;
}

.qs-doc-cta a:hover {
  transform: translateY(-2px);
  color: #4a2689;
  text-decoration: none;
  box-shadow: 0 16px 30px -12px rgba(10, 5, 40, 0.6);
}

@media (max-width: 600px) {
  .qs-doc-cta {
    padding: 0 18px 64px;
  }

  .qs-doc-cta__inner {
    padding: 40px 22px;
  }
}

/* ------------------------------------------------------------------ blog */

.qs-post-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}

.qs-post {
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: 20px;
  border: 1px solid #e8e9f2;
  background: #fff;
  overflow: hidden;
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.32s,
    border-color 0.32s;
}

.qs-post:hover {
  transform: translateY(-5px);
  border-color: rgba(124, 77, 255, 0.35);
  box-shadow: 0 26px 50px -24px rgba(40, 20, 100, 0.45);
}

.qs-post__cover {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: linear-gradient(135deg, #7c4dff 0%, #673ab7 48%, #4f46e5 100%);
}

.qs-post__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.qs-post:hover .qs-post__cover img {
  transform: scale(1.05);
}

.qs-post__cover--empty {
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.85);
  font-size: 2rem;
}

.qs-post__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 24px;
}

.qs-post__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 0.78rem;
  color: #97a0b5;
}

.qs-post__tag {
  padding: 4px 10px;
  border-radius: 999px;
  background: #f3eefd;
  color: #673ab7;
  font-weight: 600;
}

.qs-post__title {
  margin: 0 0 10px;
  font-size: 1.12rem;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -0.01em;
}

.qs-post__title a {
  color: #0b1437;
  text-decoration: none;
  transition: color 0.2s;
}

.qs-post__title a:hover {
  color: #673ab7;
  text-decoration: none;
}

.qs-post__excerpt {
  margin: 0 0 20px;
  font-size: 0.92rem;
  line-height: 1.7;
  color: #69748c;
}

.qs-post__more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid #eef0f6;
  color: #673ab7;
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  transition: gap 0.25s;
}

.qs-post__more:hover {
  gap: 12px;
  color: #4a2689;
  text-decoration: none;
}

.qs-doc-pagination {
  margin-top: 48px;
  display: flex;
  justify-content: center;
}

.qs-doc-pagination .pagination {
  gap: 6px;
}

.qs-doc-pagination .page-link {
  border-radius: 10px !important;
  border-color: #e8e9f2;
  color: #3a4560;
}

.qs-doc-pagination .page-item.active .page-link {
  background: #673ab7;
  border-color: #673ab7;
  color: #fff;
}

/* Article page */
.qs-article {
  max-width: 800px;
  margin: 0 auto;
}

.qs-article__cover {
  margin: -140px auto 44px;
  max-width: 980px;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 34px 70px -30px rgba(20, 10, 70, 0.6);
  background: #fff;
  position: relative;
  z-index: 2;
}

.qs-article__cover img {
  display: block;
  width: 100%;
  height: auto;
}

.qs-article__lead {
  margin: 0 0 32px;
  padding: 20px 24px;
  border-radius: 16px;
  border-left: 3px solid #8b5cf6;
  background: #f8f6fe;
  font-size: 1.06rem;
  line-height: 1.7;
  color: #3a4560;
}

.qs-article__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 48px;
  padding-top: 26px;
  border-top: 1px solid #e8e9f2;
}

.qs-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #673ab7;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: gap 0.25s;
}

.qs-back:hover {
  gap: 12px;
  color: #4a2689;
  text-decoration: none;
}

/* ------------------------------------------------------------- responsive */

@media (max-width: 960px) {
  .qs-doc-body {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
    padding-top: 48px;
  }

  .qs-doc-toc {
    position: static;
    padding-bottom: 8px;
  }

  .qs-doc-toc ul {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    border-left: 0;
  }

  .qs-doc-toc a {
    padding: 8px 14px;
    margin: 0;
    border: 1px solid #e8e9f2;
    border-radius: 999px;
    font-size: 0.84rem;
  }

  .qs-doc-toc a.active {
    border-color: #673ab7;
    background: #f3eefd;
  }

  .qs-video-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .qs-article__cover {
    margin-top: -90px;
  }
}

@media (max-width: 600px) {
  .qs-doc-hero {
    padding: calc(68px + 48px) 0 60px;
  }

  .qs-doc-body {
    padding: 36px 18px 64px;
  }

  .qs-doc-section {
    padding: 24px 20px;
  }

  .qs-post-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
