.qa-page {
  --qa-panel: #0e0e1f;
  --qa-panel-soft: #12122a;
  --qa-line: rgba(255, 255, 255, 0.08);
  --qa-purple: #818cf8;
  --qa-green: #34d399;
  background: #06060f;
}

.qa-page .nav-links-list a[aria-current="page"] {
  color: #fff;
  background: rgba(99, 102, 241, 0.14);
}

.qa-guide {
  position: relative;
  overflow: visible;
  min-height: 100vh;
  padding: 34px 24px 100px;
}

.qa-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(1px);
  pointer-events: none;
}

.qa-glow-one {
  width: 520px;
  height: 520px;
  top: -260px;
  right: -180px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.14), transparent 68%);
}

.qa-glow-two {
  width: 420px;
  height: 420px;
  top: 900px;
  left: -250px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.08), transparent 68%);
}

.qa-shell {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
}

.qa-breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
  margin: 4px 0 28px;
  color: #656583;
  font-size: 12px;
  font-weight: 500;
}

.qa-breadcrumbs a {
  color: #a5b4fc;
  text-decoration: none;
}

.qa-breadcrumbs i {
  font-size: 8px;
}

.qa-layout {
  display: grid;
  grid-template-columns: 294px minmax(0, 1fr);
  gap: 44px;
  align-items: start;
}

.qa-sidebar {
  position: sticky;
  top: 96px;
}

.qa-sidebar-card {
  max-height: calc(100vh - 116px);
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(129, 140, 248, 0.35) transparent;
  padding: 20px;
  border: 1px solid var(--qa-line);
  border-radius: 18px;
  background: rgba(14, 14, 31, 0.86);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(16px);
}

.qa-sidebar-heading {
  display: flex;
  gap: 12px;
  align-items: center;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--qa-line);
}

.qa-sidebar-icon {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  display: grid;
  place-items: center;
  color: #a5b4fc;
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(99, 102, 241, 0.25);
  border-radius: 11px;
}

.qa-eyebrow {
  display: block;
  color: #656583;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.qa-sidebar-heading h2 {
  margin: 3px 0 0;
  color: #f1f1ff;
  font-size: 15px;
  line-height: 1.3;
}

.qa-search {
  height: 42px;
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 16px;
  padding: 0 11px;
  color: #696985;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--qa-line);
  border-radius: 10px;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}

.qa-search:focus-within {
  color: #a5b4fc;
  background: rgba(99, 102, 241, 0.06);
  border-color: rgba(129, 140, 248, 0.42);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.08);
}

.qa-search > i {
  font-size: 11px;
}

.qa-search input {
  min-width: 0;
  width: 100%;
  color: #e4e4f4;
  background: transparent;
  border: 0;
  outline: 0;
  font-family: inherit;
  font-size: 11px;
}

.qa-search input::placeholder {
  color: #696985;
}

.qa-search kbd {
  min-width: 20px;
  padding: 2px 6px;
  color: #5f5f7b;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 5px;
  font-family: inherit;
  font-size: 9px;
  text-align: center;
}

.qa-search-status {
  width: 1px;
  height: 1px;
  position: absolute;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.qa-search-empty {
  padding: 24px 10px 10px;
  color: #6f6f8b;
  text-align: center;
}

.qa-search-empty i,
.qa-search-empty strong,
.qa-search-empty span {
  display: block;
}

.qa-search-empty i {
  margin-bottom: 8px;
  color: #818cf8;
  font-size: 18px;
}

.qa-search-empty strong {
  color: #b7b7cf;
  font-size: 11px;
}

.qa-search-empty span {
  margin-top: 3px;
  font-size: 9px;
}

.qa-search-hidden {
  display: none !important;
}

.qa-sidebar-group {
  margin-top: 20px;
}

.qa-sidebar-group > p {
  margin: 0 0 8px 4px;
  color: #656583;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.qa-question-link {
  min-height: 58px;
  display: grid;
  grid-template-columns: 26px 1fr auto;
  gap: 8px;
  align-items: center;
  padding: 11px;
  color: #8b8baa;
  border: 1px solid transparent;
  border-radius: 11px;
  text-decoration: none;
}

.qa-question-link > span {
  color: #5f5f7c;
  font-size: 10px;
  font-weight: 700;
}

.qa-question-link strong {
  font-size: 12px;
  font-weight: 500;
  line-height: 1.5;
}

.qa-question-link i {
  font-size: 10px;
}

.qa-question-link.active {
  color: #e6e6ff;
  background: rgba(99, 102, 241, 0.11);
  border-color: rgba(99, 102, 241, 0.22);
}

.qa-question-link.active > span,
.qa-question-link.active i {
  color: var(--qa-purple);
}

.qa-question-link.muted {
  opacity: 0.58;
}

.qa-question-link small {
  padding: 3px 5px;
  border-radius: 5px;
  color: #767695;
  background: rgba(255, 255, 255, 0.04);
  font-size: 7px;
  white-space: nowrap;
  text-transform: uppercase;
}

.qa-home-button {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  padding: 11px;
  color: #c7c7df;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--qa-line);
  border-radius: 10px;
  font-size: 11px;
  font-weight: 600;
  text-decoration: none;
  transition: 0.2s ease;
}

.qa-home-button:hover {
  color: #fff;
  border-color: rgba(99, 102, 241, 0.35);
  transform: translateY(-1px);
}

.qa-article {
  min-width: 0;
  /* Keep the article top visible below the sticky nav when scrolled into view. */
  scroll-margin-top: 76px;
}

.qa-article-header {
  padding: 28px 0 34px;
  border-bottom: 1px solid var(--qa-line);
}

.qa-kicker {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  color: #a5b4fc;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.7px;
  text-transform: uppercase;
}

.qa-kicker > span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #818cf8;
  box-shadow: 0 0 13px #818cf8;
}

.qa-article-header h1 {
  max-width: 780px;
  margin: 0;
  color: #f4f4ff;
  font-size: clamp(34px, 5vw, 54px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -2px;
}

.qa-article-header h1 em {
  color: #818cf8;
  font-style: normal;
}

.qa-lead {
  max-width: 750px;
  margin: 22px 0 0;
  color: #a1a1bd;
  font-size: 16px;
  line-height: 1.8;
}

.qa-article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 24px;
  color: #6d6d8d;
  font-size: 11px;
}

.qa-article-meta span {
  display: flex;
  align-items: center;
  gap: 7px;
}

.qa-article-meta i {
  color: #818cf8;
}

.qa-answer-box {
  display: flex;
  gap: 16px;
  margin: 34px 0 26px;
  padding: 23px;
  border: 1px solid rgba(99, 102, 241, 0.23);
  border-radius: 15px;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.12), rgba(14, 14, 31, 0.7));
}

.qa-answer-icon {
  width: 37px;
  height: 37px;
  flex: 0 0 37px;
  display: grid;
  place-items: center;
  color: #fff;
  border-radius: 10px;
  background: #4f46e5;
  box-shadow: 0 8px 28px rgba(79, 70, 229, 0.35);
}

.qa-answer-box h2 {
  margin: 0 0 7px;
  color: #fff;
  font-size: 14px;
}

.qa-answer-box p {
  margin: 0;
  color: #b5b5cf;
  font-size: 14px;
  line-height: 1.75;
}

.qa-answer-box strong {
  color: #e2e2f5;
}

.qa-on-this-page {
  padding: 21px 23px;
  background: rgba(14, 14, 31, 0.65);
  border: 1px solid var(--qa-line);
  border-radius: 14px;
}

.qa-on-this-page > strong {
  display: block;
  margin-bottom: 12px;
  color: #e4e4f4;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.qa-on-this-page > div {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 17px;
}

.qa-on-this-page a {
  color: #8f8fab;
  font-size: 11px;
  text-decoration: none;
}

.qa-on-this-page a::before {
  content: "#";
  margin-right: 4px;
  color: #6366f1;
}

.qa-on-this-page a:hover {
  color: #c7c7dd;
}

.qa-section {
  position: relative;
  padding: 68px 0 8px;
  scroll-margin-top: 90px;
}

.qa-section-number {
  display: inline-block;
  margin-bottom: 10px;
  color: #6366f1;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.5px;
}

.qa-section > h2,
.qa-faq > h2 {
  margin: 0 0 17px;
  color: #f1f1ff;
  font-size: clamp(25px, 3vw, 34px);
  line-height: 1.25;
  letter-spacing: -0.8px;
}

.qa-section > p,
.qa-walkthrough > p {
  margin: 0 0 16px;
  color: #9898b5;
  font-size: 15px;
  line-height: 1.85;
}

.qa-info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 26px;
}

.qa-info-card {
  padding: 19px;
  background: var(--qa-panel);
  border: 1px solid var(--qa-line);
  border-radius: 14px;
}

.qa-info-card > i {
  color: #818cf8;
  font-size: 16px;
}

.qa-info-card h3 {
  margin: 13px 0 6px;
  color: #dedeee;
  font-size: 14px;
}

.qa-info-card p {
  margin: 0;
  color: #777795;
  font-size: 12px;
  line-height: 1.65;
}

.qa-calculation {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1.15fr;
  gap: 15px;
  align-items: center;
  margin: 28px 0;
  padding: 21px;
  background: var(--qa-panel);
  border: 1px solid var(--qa-line);
  border-radius: 15px;
}

.qa-calculation > div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.qa-calculation span {
  color: #73738e;
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.7px;
}

.qa-calculation strong {
  color: #f1f1ff;
  font-size: 25px;
}

.qa-calculation strong.positive {
  color: #34d399;
}

.qa-calculation strong.negative {
  color: #fb7185;
}

.qa-calculation > i {
  color: #4e4e68;
  font-size: 11px;
}

.qa-calculation-result {
  padding: 12px 15px;
  background: rgba(52, 211, 153, 0.08);
  border: 1px solid rgba(52, 211, 153, 0.18);
  border-radius: 10px;
}

.qa-step {
  margin-top: 42px;
  padding-top: 36px;
  border-top: 1px solid var(--qa-line);
}

.qa-step-copy {
  max-width: 700px;
  margin-bottom: 21px;
}

.qa-step-copy > span {
  display: inline-block;
  margin-bottom: 7px;
  color: #818cf8;
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.3px;
}

.qa-step-copy h3,
.qa-mode-choice > h3,
.qa-benefits h3 {
  margin: 0 0 9px;
  color: #ededfa;
  font-size: 19px;
}

.qa-step-copy p {
  margin: 0;
  color: #9191ad;
  font-size: 14px;
  line-height: 1.8;
}

.qa-product-shot {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: #0a0a17;
  border: 1px solid rgba(129, 140, 248, 0.19);
  border-radius: 16px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.32);
}

.mock-browser-bar {
  height: 31px;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 0 12px;
  color: #5f5f78;
  background: #111124;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 8px;
}

.mock-browser-bar > i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #37374d;
}

.mock-browser-bar > i:first-child { background: #fb7185; }
.mock-browser-bar > i:nth-child(2) { background: #fbbf24; }
.mock-browser-bar > i:nth-child(3) { background: #34d399; }
.mock-browser-bar > span { margin-left: 8px; }

.mock-app-topbar {
  height: 59px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 22px;
  background: #f8fafc;
}

.mock-menu,
.mock-setting-focus,
.mock-theme,
.mock-avatar {
  display: grid;
  place-items: center;
}

.mock-menu {
  color: #64748b;
  font-size: 13px;
}

.mock-topbar-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mock-setting-focus,
.mock-theme,
.mock-avatar {
  width: 30px;
  height: 30px;
  color: #475569;
  background: #e2e8f0;
  border-radius: 50%;
  font-size: 11px;
}

.mock-setting-focus {
  position: relative;
  color: #fff;
  background: #4f46e5;
  box-shadow: 0 0 0 5px rgba(79, 70, 229, 0.2), 0 0 24px rgba(79, 70, 229, 0.5);
}

.mock-avatar {
  color: #fff;
  background: #6366f1;
  font-size: 10px;
  font-weight: 700;
}

.mock-dashboard-body {
  height: 255px;
  display: grid;
  grid-template-columns: 86px 1fr;
  background: #eef2f7;
}

.mock-side-rail {
  background: #10101f;
  border-right: 1px solid #29293b;
}

.mock-dashboard-content {
  padding: 24px;
}

.mock-heading-row {
  display: flex;
  justify-content: space-between;
  color: #334155;
  font-size: 10px;
}

.mock-heading-row span {
  padding: 6px 10px;
  color: #fff;
  background: #4f46e5;
  border-radius: 6px;
  font-size: 7px;
}

.mock-stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 16px;
}

.mock-stat-row i {
  height: 55px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
}

.mock-chart {
  height: 92px;
  margin-top: 12px;
  background: linear-gradient(180deg, rgba(99, 102, 241, 0.07), transparent), #fff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
}

.qa-pin {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-size: 9px;
}

.qa-pin > span {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #ef4444;
  box-shadow: 0 0 0 5px rgba(239, 68, 68, 0.2);
  font-weight: 800;
}

.qa-pin > b {
  padding: 6px 9px;
  border-radius: 6px;
  background: rgba(7, 7, 18, 0.88);
}

.qa-pin::after {
  content: "";
  position: absolute;
  height: 2px;
  background: #ef4444;
  transform-origin: right center;
}

.qa-pin-settings {
  top: 101px;
  right: 91px;
  flex-direction: row-reverse;
}

.qa-pin-settings::after {
  width: 43px;
  right: 13px;
  top: 29px;
  transform: rotate(-58deg);
}

.qa-product-shot figcaption {
  min-height: 42px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 15px;
  color: #7f7f9b;
  background: #0e0e1f;
  border-top: 1px solid var(--qa-line);
  font-size: 9px;
}

.qa-product-shot figcaption i {
  color: #818cf8;
}

.qa-settings-shot {
  min-height: 514px;
  background: radial-gradient(circle at center, #25253a, #0a0a17 70%);
}

.mock-modal {
  width: min(390px, calc(100% - 40px));
  margin: 27px auto;
  padding: 17px;
  background: #fff;
  border-radius: 13px;
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.45);
}

.mock-modal-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 13px;
  color: #1e293b;
  border-bottom: 1px solid #e2e8f0;
  font-size: 12px;
}

.mock-modal-title i { color: #94a3b8; }

.mock-option {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-top: 11px;
  padding: 14px;
  border: 1px solid #e2e8f0;
  border-radius: 9px;
}

.mock-option.active {
  padding-bottom: 59px;
  border-color: #a5b4fc;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.08);
}

.mock-option > span {
  display: grid;
  grid-template-columns: 18px 1fr;
  align-items: center;
  color: #334155;
  font-size: 9px;
}

.mock-option > span > i {
  grid-row: 1 / 3;
  color: #6366f1;
  font-size: 11px;
}

.mock-option small {
  grid-column: 2;
  margin-top: 3px;
  color: #94a3b8;
  font-size: 7px;
}

.mock-switch {
  position: relative;
  width: 29px;
  height: 16px;
  flex: 0 0 29px;
  background: #cbd5e1;
  border-radius: 10px;
}

.mock-switch::after {
  content: "";
  position: absolute;
  width: 12px;
  height: 12px;
  top: 2px;
  left: 2px;
  border-radius: 50%;
  background: #fff;
}

.mock-switch.on { background: #4f46e5; }
.mock-switch.on::after { left: 15px; }

.mock-select {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 13px;
  display: flex;
  justify-content: space-between;
  padding: 8px 9px;
  color: #475569;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  font-size: 8px;
}

.mock-modal button {
  display: block;
  margin: 14px 0 0 auto;
  padding: 8px 12px;
  color: #fff;
  background: #2563eb;
  border: 0;
  border-radius: 6px;
  font-family: inherit;
  font-size: 8px;
}

.qa-pin-toggle {
  top: 240px;
  right: 6%;
}

.qa-pin-toggle::after {
  width: 61px;
  right: 100%;
  top: 12px;
}

.qa-mode-choice {
  margin-top: 34px;
  scroll-margin-top: 90px;
}

.qa-mode-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 15px;
}

.qa-mode-card {
  position: relative;
  display: flex;
  gap: 13px;
  padding: 19px;
  background: var(--qa-panel);
  border: 1px solid var(--qa-line);
  border-radius: 14px;
}

.qa-mode-card.recommended {
  border-color: rgba(52, 211, 153, 0.23);
  background: linear-gradient(135deg, rgba(52, 211, 153, 0.06), var(--qa-panel));
}

.qa-recommended {
  position: absolute;
  top: -8px;
  right: 13px;
  padding: 3px 7px;
  color: #9ff2d0;
  background: #123a32;
  border: 1px solid rgba(52, 211, 153, 0.25);
  border-radius: 20px;
  font-size: 7px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

.qa-mode-icon {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  display: grid;
  place-items: center;
  color: #a5b4fc;
  background: rgba(99, 102, 241, 0.12);
  border-radius: 9px;
}

.qa-mode-icon.auto {
  color: #6ee7b7;
  background: rgba(52, 211, 153, 0.1);
}

.qa-mode-card h4 {
  margin: 1px 0 6px;
  color: #e8e8f6;
  font-size: 14px;
}

.qa-mode-card p {
  margin: 0;
  color: #81819d;
  font-size: 12px;
  line-height: 1.7;
}

.qa-note {
  display: flex;
  gap: 9px;
  margin-top: 12px;
  padding: 12px 14px;
  color: #d7b86e;
  background: rgba(245, 158, 11, 0.07);
  border: 1px solid rgba(245, 158, 11, 0.16);
  border-radius: 10px;
}

.qa-note p {
  margin: 0;
  color: #a79366;
  font-size: 12px;
  line-height: 1.6;
}

.qa-step-compact {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.qa-step-compact .qa-step-copy { margin-bottom: 0; }

.qa-inline-cta {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 15px;
  color: #fff;
  background: #4f46e5;
  border-radius: 9px;
  font-size: 10px;
  font-weight: 600;
  text-decoration: none;
}

.qa-trade-shot {
  margin-top: 28px;
  min-height: 475px;
  background: radial-gradient(circle at center, #202038, #090914 72%);
}

.mock-trade-modal {
  width: min(600px, calc(100% - 48px));
  margin: 27px auto;
  padding: 22px;
  color: #334155;
  background: #f8fafc;
  border-radius: 13px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.42);
}

.mock-trade-title {
  display: flex;
  gap: 10px;
  align-items: center;
  padding-bottom: 14px;
  border-bottom: 1px solid #e2e8f0;
}

.mock-trade-title > span {
  width: 29px;
  height: 29px;
  display: grid;
  place-items: center;
  color: #fff;
  background: #4f46e5;
  border-radius: 8px;
  font-size: 9px;
}

.mock-trade-title div {
  display: flex;
  flex-direction: column;
}

.mock-trade-title b { font-size: 11px; }
.mock-trade-title small { color: #94a3b8; font-size: 7px; }

.mock-fields {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 17px;
}

.mock-fields label {
  display: flex;
  flex-direction: column;
  gap: 5px;
  color: #64748b;
  font-size: 7px;
}

.mock-fields label i {
  padding: 9px;
  color: #475569;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  font-size: 8px;
  font-style: normal;
}

.mock-fields .pnl-field i {
  color: #059669;
  background: #ecfdf5;
  border-color: #a7f3d0;
  font-weight: 700;
}

.mock-fields .fee-field i {
  color: #dc2626;
  background: #fff7f7;
  border-color: #fecaca;
  font-weight: 700;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.07);
}

.mock-net-summary {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  margin-top: 18px;
  padding: 11px;
  color: #64748b;
  background: #eef2ff;
  border-radius: 8px;
  font-size: 8px;
}

.mock-net-summary b { color: #334155; }
.mock-net-summary span:last-child b { color: #059669; }

.qa-pin-fees {
  right: 7%;
  bottom: 127px;
}

.qa-pin-fees::after {
  width: 75px;
  right: 100%;
  top: 11px;
}

.qa-benefits {
  margin-top: 24px;
  padding: 23px;
  background: var(--qa-panel);
  border: 1px solid var(--qa-line);
  border-radius: 14px;
}

.qa-benefits ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 13px 20px;
  margin: 17px 0 0;
  padding: 0;
  list-style: none;
}

.qa-benefits li {
  display: flex;
  gap: 9px;
  color: #8989a5;
  font-size: 13px;
  line-height: 1.65;
}

.qa-benefits li i {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  display: grid;
  place-items: center;
  color: #34d399;
  background: rgba(52, 211, 153, 0.1);
  border-radius: 50%;
  font-size: 7px;
}

.qa-benefits strong { color: #d4d4e5; }

.qa-tips {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 25px;
}

.qa-tips > div {
  display: flex;
  gap: 12px;
  padding: 18px;
  background: var(--qa-panel);
  border: 1px solid var(--qa-line);
  border-radius: 12px;
}

.qa-tips span {
  color: #818cf8;
  font-size: 11px;
  font-weight: 800;
}

.qa-tips p {
  margin: 0;
  color: #8585a0;
  font-size: 13px;
  line-height: 1.7;
}

.qa-tips strong { color: #d0d0e2; }

.qa-faq details {
  border-top: 1px solid var(--qa-line);
}

.qa-faq details:last-child {
  border-bottom: 1px solid var(--qa-line);
}

.qa-faq summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 18px 2px;
  color: #d8d8e9;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

.qa-faq summary::-webkit-details-marker { display: none; }
.qa-faq summary i { color: #818cf8; transition: transform 0.2s; }
.qa-faq details[open] summary i { transform: rotate(45deg); }

.qa-faq details p {
  max-width: 720px;
  margin: -2px 0 18px;
  color: #8585a1;
  font-size: 13px;
  line-height: 1.75;
}

.qa-final-cta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  margin-top: 72px;
  padding: 34px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(79, 70, 229, 0.25), rgba(14, 14, 31, 0.95));
  border: 1px solid rgba(129, 140, 248, 0.25);
  border-radius: 18px;
}

.qa-final-cta .qa-kicker { margin-bottom: 9px; }

.qa-final-cta h2 {
  margin: 0;
  color: #f4f4ff;
  font-size: 23px;
}

.qa-final-cta p {
  margin: 8px 0 0;
  color: #9696b4;
  font-size: 12px;
}

.qa-final-cta > a {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 17px;
  color: #fff;
  background: #4f46e5;
  border-radius: 10px;
  font-size: 10px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(79, 70, 229, 0.28);
}

@media (max-width: 1050px) {
  .qa-layout { grid-template-columns: 250px minmax(0, 1fr); gap: 28px; }
  .qa-sidebar-card { padding: 15px; }
  .qa-pin-fees { right: 3%; }
}

@media (max-width: 850px) {
  .qa-guide { padding: 24px 18px 80px; }
  .qa-layout { display: block; }
  .qa-sidebar { position: static; margin-bottom: 25px; }
  .qa-sidebar-card { padding: 16px; }
  .qa-sidebar-heading { padding-bottom: 13px; }
  .qa-sidebar-group { margin-top: 13px; }
  .qa-home-button { display: none; }
  .qa-article-header { padding-top: 18px; }
}

@media (max-width: 620px) {
  .qa-guide { padding-inline: 14px; }
  .qa-breadcrumbs { margin-bottom: 16px; }
  .qa-article-header h1 { font-size: 34px; letter-spacing: -1.2px; }
  .qa-lead { font-size: 14px; }
  .qa-answer-box { padding: 18px; }
  .qa-on-this-page > div { display: grid; grid-template-columns: 1fr 1fr; }
  .qa-section { padding-top: 54px; }
  .qa-info-grid,
  .qa-mode-grid,
  .qa-benefits ul,
  .qa-tips { grid-template-columns: 1fr; }
  .qa-calculation { grid-template-columns: 1fr auto 1fr; }
  .qa-calculation > div:last-child { grid-column: 1 / -1; }
  .qa-calculation > i:nth-of-type(2) { display: none; }
  .qa-calculation strong { font-size: 21px; }
  .qa-step-compact,
  .qa-final-cta { align-items: flex-start; flex-direction: column; }
  .mock-dashboard-body { grid-template-columns: 48px 1fr; height: 220px; }
  .mock-dashboard-content { padding: 16px 12px; }
  .mock-stat-row { gap: 5px; }
  .qa-pin-settings { right: 70px; }
  .qa-settings-shot { min-height: 470px; }
  .qa-pin-toggle { top: 226px; right: 3%; }
  .qa-pin-toggle > b { display: none; }
  .mock-trade-modal { width: calc(100% - 24px); padding: 16px; }
  .mock-fields { gap: 8px; }
  .qa-pin-fees { right: 5%; bottom: 124px; }
  .qa-pin-fees > b { display: none; }
  .qa-trade-shot { min-height: 442px; }
  .qa-final-cta { padding: 26px; }
}

@media (prefers-reduced-motion: reduce) {
  .qa-guide * { scroll-behavior: auto !important; transition: none !important; }
}

/* Trading checklist article */
.qa-checklist-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 26px;
}

.qa-checklist-example {
  padding: 22px;
  background: var(--qa-panel);
  border: 1px solid var(--qa-line);
  border-radius: 15px;
}

.qa-checklist-example.pre {
  border-color: rgba(59, 130, 246, 0.2);
  background: linear-gradient(145deg, rgba(59, 130, 246, 0.06), var(--qa-panel) 45%);
}

.qa-checklist-example.post {
  border-color: rgba(52, 211, 153, 0.2);
  background: linear-gradient(145deg, rgba(52, 211, 153, 0.055), var(--qa-panel) 45%);
}

.qa-checklist-example-title {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--qa-line);
}

.qa-checklist-example-title > i {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  display: grid;
  place-items: center;
  color: #fbbf24;
  background: rgba(251, 191, 36, 0.09);
  border-radius: 10px;
}

.qa-checklist-example.post .qa-checklist-example-title > i {
  color: #a5b4fc;
  background: rgba(99, 102, 241, 0.11);
}

.qa-checklist-example-title span {
  color: #70708c;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.qa-checklist-example-title h3 {
  margin: 2px 0 0;
  color: #e8e8f7;
  font-size: 14px;
}

.qa-mini-list {
  display: grid;
  gap: 10px;
  margin: 17px 0 0;
  padding: 0;
  list-style: none;
}

.qa-mini-list li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: #9292ad;
  font-size: 11px;
  line-height: 1.55;
}

.qa-mini-list i {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  display: grid;
  place-items: center;
  margin-top: 1px;
  color: #60a5fa;
  background: rgba(59, 130, 246, 0.1);
  border-radius: 50%;
  font-size: 6px;
}

.qa-checklist-example.post .qa-mini-list i {
  color: #34d399;
  background: rgba(52, 211, 153, 0.09);
}

.qa-readonly-callout {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-top: 25px;
  padding: 22px;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.08), var(--qa-panel));
  border: 1px solid rgba(129, 140, 248, 0.2);
  border-radius: 14px;
}

.qa-readonly-callout > i {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  display: grid;
  place-items: center;
  color: #a5b4fc;
  background: rgba(99, 102, 241, 0.12);
  border-radius: 10px;
}

.qa-readonly-callout h3 {
  margin: 1px 0 6px;
  color: #e4e4f3;
  font-size: 14px;
}

.qa-readonly-callout p {
  margin: 0;
  color: #8c8ca7;
  font-size: 12px;
  line-height: 1.7;
}

/* Strategy assignment article */
.qa-strategy-blueprint {
  margin-top: 25px;
  padding: 23px;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), var(--qa-panel) 52%);
  border: 1px solid rgba(129, 140, 248, 0.22);
  border-radius: 15px;
}

.qa-strategy-blueprint-head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.qa-strategy-blueprint-head > span {
  width: 39px;
  height: 39px;
  flex: 0 0 39px;
  display: grid;
  place-items: center;
  color: #a5b4fc;
  background: rgba(99, 102, 241, 0.13);
  border-radius: 11px;
}

.qa-strategy-blueprint-head small {
  color: #747490;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.9px;
  text-transform: uppercase;
}

.qa-strategy-blueprint-head h3 {
  margin: 2px 0 0;
  color: #ededfa;
  font-size: 15px;
}

.qa-strategy-blueprint > p {
  margin: 16px 0 0;
  color: #9898b3;
  font-size: 13px;
  line-height: 1.75;
}

.qa-strategy-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 15px;
}

.qa-strategy-tags span {
  padding: 5px 8px;
  color: #a5b4fc;
  background: rgba(99, 102, 241, 0.08);
  border: 1px solid rgba(129, 140, 248, 0.16);
  border-radius: 7px;
  font-size: 9px;
}

.qa-strategy-writing-grid .post .qa-checklist-example-title > i,
.qa-strategy-writing-grid .post .qa-mini-list i {
  color: #fb7185;
  background: rgba(251, 113, 133, 0.09);
}

.qa-assignment-flow {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 12px;
  align-items: center;
  margin-top: 27px;
  padding: 20px;
  background: var(--qa-panel);
  border: 1px solid var(--qa-line);
  border-radius: 15px;
}

.qa-assignment-flow > div {
  position: relative;
  min-height: 115px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 16px 10px;
  text-align: center;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--qa-line);
  border-radius: 11px;
}

.qa-assignment-flow > div > span {
  position: absolute;
  top: 8px;
  left: 9px;
  color: #5f5f7d;
  font-size: 8px;
  font-weight: 800;
}

.qa-assignment-flow > div > i {
  margin-bottom: 9px;
  color: #818cf8;
  font-size: 16px;
}

.qa-assignment-flow strong {
  color: #dddded;
  font-size: 11px;
}

.qa-assignment-flow small {
  margin-top: 4px;
  color: #72728d;
  font-size: 8px;
}

.qa-assignment-flow > i {
  color: #4f4f69;
  font-size: 10px;
}

.qa-info-grid.qa-strategy-metrics {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

/* Screenshot slots: replace the named PNG files and the placeholder disappears automatically. */
.qa-dashboard-shot,
.qa-settings-shot,
.qa-trade-shot {
  min-height: 0;
  background: #0a0a17;
}

.qa-screenshot-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background:
    linear-gradient(rgba(129, 140, 248, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(129, 140, 248, 0.045) 1px, transparent 1px),
    radial-gradient(circle at 50% 45%, rgba(99, 102, 241, 0.13), transparent 52%),
    #0a0a17;
  background-size: 28px 28px, 28px 28px, auto, auto;
}

.qa-screenshot-media > img {
  position: absolute;
  z-index: 2;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  color: transparent;
  background: #080812;
}

.qa-screenshot-placeholder {
  position: absolute;
  z-index: 3;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
  color: #777795;
  text-align: center;
  transition: opacity 0.2s, visibility 0.2s;
}

.qa-screenshot-media.has-image .qa-screenshot-placeholder {
  visibility: hidden;
  opacity: 0;
}

.qa-screenshot-placeholder > span {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin-bottom: 13px;
  color: #a5b4fc;
  background: rgba(99, 102, 241, 0.11);
  border: 1px solid rgba(129, 140, 248, 0.24);
  border-radius: 13px;
  font-size: 18px;
}

.qa-screenshot-placeholder strong {
  color: #d7d7e9;
  font-size: 14px;
}

.qa-screenshot-placeholder p {
  max-width: 430px;
  margin: 7px 0 12px;
  color: #7d7d99;
  font-size: 11px;
  line-height: 1.6;
}

.qa-screenshot-placeholder code {
  padding: 6px 9px;
  color: #a5b4fc;
  background: rgba(99, 102, 241, 0.08);
  border: 1px dashed rgba(129, 140, 248, 0.28);
  border-radius: 7px;
  font-family: Consolas, monospace;
  font-size: 10px;
}

@media (max-width: 850px) {
  .qa-sidebar-card {
    max-height: none;
    overflow-y: visible;
  }

  .qa-info-grid.qa-strategy-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .qa-checklist-columns {
    grid-template-columns: 1fr;
  }

  .qa-checklist-example {
    padding: 18px;
  }

  .qa-assignment-flow {
    grid-template-columns: 1fr;
  }

  .qa-assignment-flow > i {
    transform: rotate(90deg);
    justify-self: center;
  }

  .qa-info-grid.qa-strategy-metrics {
    grid-template-columns: 1fr;
  }

  .qa-settings-shot,
  .qa-trade-shot {
    min-height: 0;
  }

  .qa-screenshot-placeholder > span {
    width: 40px;
    height: 40px;
    margin-bottom: 9px;
  }

  .qa-screenshot-placeholder p {
    margin: 4px 0 8px;
    font-size: 9px;
  }
}
