:root {
  --font-family-web: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  --font-family-primary: "Plus Jakarta Sans", var(--font-family-web);
  --typography-caption-11-size: 11px;
  --typography-caption-11-line-height: 14px;
  --typography-caption-11-weight: 400;
  --bg-page: #ffffff;
  --bg-surface: #ffffff;
  --bg-surface-soft: #ffffff;
  --bg-surface-muted: #f9f9f9;
  --bg-surface-strong: #f5f5f5;
  --bg-note: #f2f2f2;
  --text-primary: rgba(0, 0, 0, 1);
  --text-secondary: rgba(0, 0, 0, 0.6);
  --text-tertiary: rgba(0, 0, 0, 0.45);
  --text-quaternary: rgba(0, 0, 0, 0.35);
  --brand: #165dff;
  --brand-hover: #1454e5;
  --success: #009b67;
  --warning: #ffb800;
  --border-subtle: rgba(0, 0, 0, 0.08);
  --border-strong: rgba(0, 0, 0, 0.12);
  --shadow-card: 0 2px 8px rgba(0, 0, 0, 0.08);
  --radius-card: 16px;
  --radius-pill: 999px;
  --content-width: 1560px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: linear-gradient(135deg, rgba(22, 93, 255, 0.03) 0%, #ffffff 100%);
  color: var(--text-primary);
  font-family: var(--font-family-primary);
}

html {
  scroll-behavior: smooth;
}

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

button {
  font: inherit;
}

.content-wrap {
  width: min(calc(100% - 64px), var(--content-width));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(14px);
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid var(--border-subtle);
}

.nav-row,
.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0;
}

.brand {
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 0.02em;
  color: rgba(0, 0, 0, 1);
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.brand-logo img {
  display: block;
  width: 112px;
  height: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--text-secondary);
  font-size: 14px;
}

.main-nav a {
  position: relative;
}

.mega-menu {
  position: relative;
}

.mega-menu::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 24px;
}

.mega-menu-trigger {
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  padding: 0;
  cursor: pointer;
  position: relative;
}


.mega-menu-panel {
  position: absolute;
  top: calc(100% + 22px);
  left: 50%;
  width: min(980px, calc(100vw - 72px));
  transform: translate(-50%, 10px);
  border: 1px solid var(--border-subtle);
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  backdrop-filter: blur(10px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  padding: 22px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  z-index: 20;
}

.mega-menu-panel::before {
  content: "";
  position: absolute;
  top: -8px;
  left: 50%;
  width: 14px;
  height: 14px;
  border-top: 1px solid var(--border-subtle);
  border-left: 1px solid var(--border-subtle);
  background: #ffffff;
  transform: translateX(-50%) rotate(45deg);
}

.mega-menu-group {
  position: relative;
  min-width: 0;
  padding: 14px;
  border-radius: 12px;
  background: transparent;
  border: 1px solid var(--border-subtle);
}

.mega-menu-group h3 {
  margin: 0 0 12px;
  font-size: 13px;
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: rgba(0, 0, 0, 1);
}

.mega-menu-group ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.mega-menu-group a {
  color: #165dff;
  font-size: 13px;
  line-height: 1.4;
}

.mega-menu-group a:hover,
.mega-menu-group a:focus-visible {
  color: #1454e5;
}

.mega-menu:hover .mega-menu-panel,
.mega-menu:focus-within .mega-menu-panel {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.mega-menu:hover .mega-menu-trigger,
.mega-menu:focus-within .mega-menu-trigger {
  color: var(--text-primary);
}


.main-nav a:hover,
.main-nav a.is-active,
.mega-menu-trigger:hover,
.mega-menu-trigger:focus-visible,
.main-nav a:focus-visible {
  color: var(--text-primary);
}

.main-nav a.is-active {
  position: relative;
}

.main-nav a.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -22px;
  height: 0;
  background: transparent;
}

#brokerages,
#best-for,
#education,
#faq {
  scroll-margin-top: 96px;
}

/* ── Supported Brokers dropdown ─────────────────────────── */
.supported-brokers-dropdown {
  position: relative;
}

.supported-brokers-dropdown::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 24px;
}

.dropdown-trigger {
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: 14px;
  padding: 0;
  cursor: pointer;
}

.dropdown-panel {
  position: absolute;
  top: calc(100% + 22px);
  left: 50%;
  width: min(700px, calc(100vw - 72px));
  transform: translate(-50%, 10px);
  border: 1px solid rgba(22, 93, 255, 0.1);
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  backdrop-filter: blur(10px);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  z-index: 20;
}

.supported-brokers-dropdown:hover .dropdown-panel,
.supported-brokers-dropdown:focus-within .dropdown-panel {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.supported-brokers-dropdown:hover .dropdown-trigger,
.supported-brokers-dropdown:focus-within .dropdown-trigger {
  color: var(--text-primary);
}

.dropdown-group {
  position: relative;
  min-width: 0;
  padding: 16px;
  border-radius: 16px;
  border: 1px solid rgba(22, 93, 255, 0.1);
  display: grid;
  gap: 8px;
  align-content: start;
}

.dropdown-group--two-col {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.dropdown-group--two-col .dropdown-label {
  grid-column: 1 / -1;
}

.dropdown-label {
  margin: 0 0 4px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.3;
  color: var(--text-primary);
}

.dropdown-group a {
  font-size: 12px;
  color: var(--brand);
  line-height: 1.4;
}

.dropdown-group a:hover {
  color: var(--brand-hover);
}

.header-cta,
.cta-secondary,
.action-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: var(--radius-pill);
  padding: 0 20px;
  background: var(--brand);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  box-shadow: none;
  transition: background 0.2s ease, transform 0.2s ease;
}

.header-cta:hover,
.cta-secondary:hover,
.action-button:hover {
  background: var(--brand-hover);
  transform: translateY(-1px);
}

.hero-section {
  padding: 24px 0;
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 420px);
  align-items: center;
  gap: 48px;
}

.hero-copy-block {
  position: relative;
  z-index: 1;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--brand);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1 {
  max-width: 780px;
  font-size: 32px;
  line-height: 1.02;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.hero-copy {
  max-width: 840px;
  margin-top: 20px;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.75;
}

.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 220px;
  pointer-events: none;
  overflow: hidden;
}

.hero-visual-glow {
  position: absolute;
  width: 92%;
  height: 92%;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(22, 93, 255, 0.08) 0%, rgba(22, 93, 255, 0.03) 40%, rgba(22, 93, 255, 0) 74%);
  filter: blur(28px);
  opacity: 0.6;
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: none;
  mix-blend-mode: normal;
}

.hero-visual img {
  position: relative;
  z-index: 1;
  width: auto;
  height: 200px;
  max-width: none;
  object-fit: contain;
  opacity: 1;
  transform: translateX(-42px) scale(0.92);
  filter: saturate(0.98) brightness(1) drop-shadow(0 4px 12px rgba(0, 0, 0, 0.1));
  mix-blend-mode: normal;
}

.compare-section,
.fit-section,
.cta-section,
.faq-section {
  padding: 48px 0;
}

.compare-section {
  padding-top: 24px;
}

.compare-heading {
  margin-bottom: 18px;
}

.how-it-works {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}

.how-step {
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  background: #ffffff;
  padding: 16px;
}

.how-step-index {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: rgba(22, 93, 255, 0.08);
  color: var(--brand);
  font-size: 12px;
  font-weight: 700;
}

.how-step h3 {
  margin-top: 10px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
}

.how-step p {
  margin-top: 8px;
  color: var(--text-secondary);
  font-size: 13px;
  line-height: 1.55;
}

.fit-section {
  padding-bottom: 24px;
}

.cta-section {
  padding-top: 24px;
}

.compare-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-card);
  background: #ffffff;
  box-shadow: var(--shadow-card);
}

.compare-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: none;
}

.compare-grid {
  display: grid;
  grid-template-columns: 180px repeat(6, minmax(0, 1fr));
}

.compare-row {
  display: contents;
}

.compare-grid > .row-label:nth-child(14n + 8),
.compare-grid > .cell:nth-child(14n + 9),
.compare-grid > .cell:nth-child(14n + 10),
.compare-grid > .cell:nth-child(14n + 11),
.compare-grid > .cell:nth-child(14n + 12),
.compare-grid > .cell:nth-child(14n + 13),
.compare-grid > .cell:nth-child(14n + 14) {
  background: rgba(0, 0, 0, 0.02);
}

.compare-grid.compare-grid--fit > .row-label:nth-child(14n + 8),
.compare-grid.compare-grid--fit > .cell:nth-child(14n + 9),
.compare-grid.compare-grid--fit > .cell:nth-child(14n + 10),
.compare-grid.compare-grid--fit > .cell:nth-child(14n + 11),
.compare-grid.compare-grid--fit > .cell:nth-child(14n + 12),
.compare-grid.compare-grid--fit > .cell:nth-child(14n + 13),
.compare-grid.compare-grid--fit > .cell:nth-child(14n + 14) {
  background: rgba(0, 0, 0, 0.01);
}

.cell,
.row-label {
  min-width: 0;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  transition:
    background 0.22s ease,
    color 0.22s ease,
    box-shadow 0.22s ease;
}

.cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 24px 16px;
  text-align: center;
}

.cell.top {
  border-top: 0;
  position: relative;
  justify-content: flex-start;
  gap: 8px;
  padding: 24px 16px;
}

/* ── Featured column glow ────────────────────────────────────── */
.cell--featured {
  background: rgba(22, 93, 255, 0.05) !important;
  box-shadow:
    inset 2px 0 0 rgba(22, 93, 255, 0.15),
    inset -2px 0 0 rgba(22, 93, 255, 0.15),
    inset 0 0 0 1px rgba(22, 93, 255, 0.1);
}

.cell--featured.top {
  box-shadow:
    inset 2px 0 0 rgba(22, 93, 255, 0.15),
    inset -2px 0 0 rgba(22, 93, 255, 0.15),
    inset 0 3px 0 rgba(22, 93, 255, 0.12),
    inset 0 0 24px rgba(22, 93, 255, 0.06);
}

.cell--featured.actions {
  box-shadow:
    inset 2px 0 0 rgba(22, 93, 255, 0.15),
    inset -2px 0 0 rgba(22, 93, 255, 0.15),
    inset 0 -3px 0 rgba(22, 93, 255, 0.1),
    inset 0 0 24px rgba(22, 93, 255, 0.04);
}

.compare-grid--top .compare-row.row--promotion > .row-label,
.compare-grid--top .compare-row.row--promotion > .cell {
  background: rgba(22, 93, 255, 0.05) !important;
  border-top: 1px solid rgba(22, 93, 255, 0.1);
  border-bottom: 1px solid rgba(22, 93, 255, 0.1);
}

.compare-grid--top .compare-row.row--promotion > .row-label {
  border-left: 1px solid rgba(22, 93, 255, 0.15);
}

.compare-grid--top .compare-row.row--promotion > .cell:last-child {
  border-right: 1px solid rgba(22, 93, 255, 0.15);
}

.compare-grid--top .compare-row.row--promotion:hover > .row-label,
.compare-grid--top .compare-row.row--promotion:hover > .cell {
  background: rgba(22, 93, 255, 0.05) !important;
}

.compare-grid--top .compare-row.row--promotion > .row-label {
  color: rgba(0, 0, 0, 0.82);
  font-weight: 500;
}

.row-label {
  display: flex;
  align-items: center;
  padding: 24px 18px;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.35;
  letter-spacing: 0.01em;
  font-weight: 400;
}

.row-label-note {
  display: block;
  margin-top: 4px;
  font-size: 11px;
  font-weight: 500;
  color: rgba(0, 0, 0, 0.48);
}

.compare-row:hover > .cell,
.compare-row:hover > .row-label {
  background: rgba(0, 0, 0, 0.03);
}

.compare-row:hover > .row-label {
  color: rgba(0, 0, 0, 0.8);
}

.compare-row:hover > .cell .subvalue {
  color: rgba(0, 0, 0, 0.5);
}

.compare-row:hover > .cell.top .broker-logo {
  box-shadow:
    inset 0 1px 0 rgba(0, 0, 0, 0.1),
    0 4px 12px rgba(0, 0, 0, 0.1),
    0 0 0 1px rgba(0, 0, 0, 0.08);
}

.top .broker-name {
  font-size: 16px;
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.broker-link {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: inherit;
  transition: transform 0.2s ease;
}

.broker-link:hover {
  transform: translateY(-1px);
}

.broker-logo {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  color: white;
  overflow: hidden;
  box-shadow:
    inset 0 1px 0 rgba(0, 0, 0, 0.08),
    0 2px 8px rgba(0, 0, 0, 0.08);
}

.broker-logo svg {
  display: block;
  width: 48px;
  height: 48px;
}

.broker-logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rating-row {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 16px;
}

.stars {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.star {
  width: 18px;
  height: 18px;
  display: block;
  color: #ffc400;
  fill: currentColor;
  filter: drop-shadow(0 1px 0 rgba(0, 0, 0, 0.1));
}

.star.empty {
  color: rgba(0, 0, 0, 0.15);
}

.score {
  color: var(--text-tertiary);
  font-size: 11px;
  line-height: 1;
  font-weight: 500;
}

.value {
  font-size: 15px;
  line-height: 1.5;
  font-weight: 400;
  letter-spacing: 0.01em;
}

.value.success {
  color: var(--success);
  font-weight: 700;
}

.subvalue {
  color: var(--text-tertiary);
  font-size: 12px;
  line-height: 1.35;
  font-weight: 500;
}

.promo-learn-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
  color: #165dff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
}

.promo-offer {
  font-weight: 700;
  letter-spacing: 0.01em;
  color: rgba(0, 0, 0, 1);
}

.bonus-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 2px 7px;
  border-radius: 4px;
  vertical-align: middle;
  margin-bottom: 5px;
}

.bonus-badge--month {
  background: rgba(22, 93, 255, 0.1);
  border: 1px solid rgba(22, 93, 255, 0.2);
  color: #165dff;
}

.bonus-badge--new {
  background: rgba(0, 155, 103, 0.1);
  border: 1px solid rgba(0, 155, 103, 0.2);
  color: #009b67;
}

.bonus-list {
  list-style: none;
  margin: 2px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.bonus-list li {
  font-size: 12px;
  line-height: 1.45;
  color: var(--text-secondary, rgba(0, 0, 0, 0.6));
}

.bonus-list li.bonus-highlight {
  color: rgba(0, 0, 0, 1);
  font-weight: 500;
}

.bonus-list li.bonus-muted {
  color: var(--text-tertiary, rgba(0, 0, 0, 0.45));
  font-size: 11px;
  font-style: italic;
}

.bonus-extra {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.32s ease;
  width: 100%;
  text-align: left;
}

.bonus-extra.is-open {
  max-height: 240px;
}

.bonus-expander {
  background: none;
  border: none;
  color: #165dff;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  padding: 4px 0 0;
  letter-spacing: 0.01em;
  transition: color 0.2s ease;
  font-family: inherit;
}

.bonus-expander:hover {
  color: #1454e5;
}

.bonus-expander:focus-visible {
  outline: 2px solid rgba(22, 93, 255, 0.3);
  outline-offset: 2px;
  border-radius: 4px;
}

.bonus-countdown {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #ffb800;
  background: rgba(255, 184, 0, 0.1);
  border: 1px solid rgba(255, 184, 0, 0.25);
  border-radius: 4px;
  padding: 2px 7px;
  margin-left: 4px;
  vertical-align: middle;
  font-variant-numeric: tabular-nums;
}

.promo-learn-more::after {
  content: "->";
  font-size: 11px;
  transform: translateY(0);
  transition: transform 0.2s ease;
}

.promo-learn-more:hover,
.promo-learn-more:focus-visible {
  color: #1454e5;
  transform: translateX(1px);
}

.promo-learn-more:hover::after,
.promo-learn-more:focus-visible::after {
  transform: translate(1px, -1px);
}

.promo-learn-more:focus-visible {
  outline: 2px solid rgba(22, 93, 255, 0.3);
  outline-offset: 2px;
  border-radius: 4px;
}

.compare-grid--top .top .broker-name {
  font-size: 15px;
}

.compare-grid--top .value {
  font-size: 14px;
  line-height: 1.45;
}

.compare-grid--top .row-label {
  color: rgba(0, 0, 0, 0.6);
}

.compare-grid--fit .row-label {
  color: rgba(0, 0, 0, 0.6);
}

.compare-grid--fit .value {
  max-width: 200px;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: 0.01em;
  color: rgba(0, 0, 0, 0.6);
}

.compare-grid--fit .cell.fit-row-useCase .value {
  font-weight: 400;
}

.compare-grid--fit .cell.top {
  padding: 24px 16px;
}

.compare-grid--fit .top .broker-name {
  font-size: 13px;
  line-height: 1.3;
  font-weight: 600;
}

.compare-grid--fit .value.success {
  font-weight: 600;
}

.cell.actions {
  padding-top: 20px;
  padding-bottom: 20px;
}

.action-button {
  min-height: 40px;
  padding: 0 16px;
  font-size: 13px;
}

.action-helper {
  margin-top: 8px;
  font-size: var(--typography-caption-11-size);
  font-weight: var(--typography-caption-11-weight);
  color: rgba(0, 0, 0, 0.52);
  line-height: var(--typography-caption-11-line-height);
}

.broker-article-links {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.broker-article-link {
  color: #165dff;
  font-size: 11px;
  line-height: 1.35;
  text-decoration: underline;
  text-decoration-color: rgba(22, 93, 255, 0.45);
  text-underline-offset: 2px;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.broker-article-link:hover,
.broker-article-link:focus-visible {
  color: #1454e5;
  text-decoration-color: rgba(20, 84, 229, 0.9);
}

.pro-tip {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-top: 24px;
  padding: 0;
  border: 0 !important;
  border-radius: 0;
  background: transparent !important;
  box-shadow: none;
}

.tip-icon {
  width: 18px;
  height: 18px;
  margin-top: 1px;
  border-radius: 999px;
  flex: 0 0 auto;
  position: relative;
  border: 2px solid rgba(0, 0, 0, 0.3);
  background: transparent;
}

.tip-icon::before {
  content: "i";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: rgba(0, 0, 0, 0.6);
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
}

.tip-title {
  color: rgba(0, 0, 0, 0.8);
  font-weight: 500;
}

.pro-tip p {
  color: rgba(0, 0, 0, 0.6);
  font-size: 14px;
  line-height: 1.6;
}

.section-heading {
  margin-bottom: 24px;
}

.section-heading h2 {
  font-size: 24px;
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.section-heading p {
  margin-top: 10px;
  color: var(--text-secondary);
  font-size: 14px;
}

.cta-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px;
  border-radius: 16px;
  background: linear-gradient(135deg, #5a9eff 0%, #3d7fff 50%, #165dff 100%);
  box-shadow: 0 4px 16px rgba(22, 93, 255, 0.15);
}

.cta-banner h3 {
  font-size: 30px;
  font-weight: 700;
  color: #ffffff;
}

.cta-banner p {
  max-width: 720px;
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  line-height: 1.6;
}

.cta-secondary {
  flex: 0 0 auto;
  background: #fff;
  color: var(--brand);
}

.cta-secondary:hover {
  background: rgba(255, 255, 255, 0.92);
  color: var(--brand);
}

.connect-details {
  margin-top: 40px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 16px;
  background: #ffffff;
  box-shadow: var(--shadow-card);
  padding: 26px;
}

.connect-details-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.connect-eyebrow {
  margin: 0 0 10px;
  color: var(--brand);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.connect-details-header h3 {
  font-size: 30px;
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.connect-details-header p {
  margin-top: 10px;
  max-width: 820px;
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.6;
}

.connect-how {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 16px;
}

.connect-how-step {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.55;
}

.connect-how-label {
  flex: 0 0 46px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  padding-top: 2px;
}

.connect-how-step a {
  color: var(--brand);
  text-decoration: none;
}

.connect-how-step a:hover {
  text-decoration: underline;
}

.connect-details-cta {
  flex: 0 0 auto;
  min-width: 156px;
  background: var(--brand);
  color: #ffffff;
}

.connect-details-cta:hover {
  background: var(--brand-hover);
  color: #ffffff;
}

.broker-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
}

.broker-card-logo {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
}

.broker-card-name {
  font-size: 18px;
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text-primary);
  text-decoration: none;
}

a.broker-card-name:hover {
  color: var(--brand);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.broker-region-badge {
  display: inline-flex;
  align-items: center;
  margin-top: 6px;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(22, 93, 255, 0.07);
  color: var(--brand);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.broker-details-grid {
  position: relative;
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.broker-detail-card {
  position: relative;
  border: 1px solid rgba(0, 0, 0, 0.09);
  border-radius: 14px;
  background: #ffffff;
  padding: 16px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.broker-detail-card:hover {
  transform: translateY(-2px);
  border-color: rgba(22, 93, 255, 0.35);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.09);
}

.broker-card-top-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.broker-card-cta-group {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  align-self: flex-end;
}

/* ── Script-injected logo link ───────────────────────────── */
.broker-card-logo-link {
  display: inline-flex;
  flex-shrink: 0;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.15s, box-shadow 0.15s;
}

.broker-card-logo-link:hover {
  transform: scale(1.1);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.12);
}

/* ── Learn More — deprioritized ghost style ───────────────── */
.broker-learn-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 30px;
  padding: 0 14px;
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--text-tertiary);
  border: 1px solid var(--border-subtle);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
  white-space: nowrap;
}

.broker-learn-more:hover {
  background: rgba(22, 93, 255, 0.05);
  color: var(--brand);
  border-color: rgba(22, 93, 255, 0.25);
}

.broker-card-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 30px;
  padding: 0 14px;
  border-radius: var(--radius-pill);
  background: var(--brand);
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-decoration: none;
  transition: background 0.18s ease;
  white-space: nowrap;
}

.broker-card-cta:hover {
  background: var(--brand-hover);
  color: #ffffff;
}

.broker-detail-card h4 {
  margin: 0;
  font-size: 18px;
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.broker-detail-updated {
  margin-top: 6px;
  color: rgba(0, 0, 0, 0.52);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.broker-detail-list {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  display: grid;
  gap: 6px;
}

.broker-detail-list li {
  display: grid;
  grid-template-columns: minmax(120px, 132px) 1fr;
  align-items: baseline;
  gap: 8px;
  border-bottom: 1px dashed rgba(0, 0, 0, 0.08);
  padding-bottom: 6px;
}

.broker-detail-list li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.broker-detail-list span {
  color: var(--text-tertiary);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.broker-detail-list strong {
  color: var(--text-primary);
  font-size: 13px;
  line-height: 1.42;
  font-weight: 600;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.broker-search-wrap {
  position: relative;
  margin: 20px 0 0;
}

.broker-search-wrap svg {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: rgba(0, 0, 0, 0.35);
}

.broker-search {
  width: 100%;
  height: 44px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: var(--radius-pill);
  padding: 0 16px 0 44px;
  background: #f7f8fa;
  color: var(--text-primary);
  font-family: inherit;
  font-size: 14px;
  line-height: 1;
  outline: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.broker-search::placeholder {
  color: rgba(0, 0, 0, 0.38);
}

.broker-search:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(22, 93, 255, 0.1);
  background: #ffffff;
}

.broker-details-grid.is-truncated {
  overflow: hidden;
}

.broker-details-grid.is-truncated::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 140px;
  background: linear-gradient(to bottom, transparent, #ffffff 75%);
  pointer-events: none;
  z-index: 1;
}

.broker-grid-expand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  margin-top: 12px;
  height: 44px;
  border: 1px solid rgba(22, 93, 255, 0.3);
  border-radius: var(--radius-pill);
  background: rgba(22, 93, 255, 0.05);
  color: var(--brand);
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.broker-grid-expand:hover {
  background: rgba(22, 93, 255, 0.1);
  border-color: var(--brand);
  transform: translateY(-1px);
}

.connect-note {
  margin: 16px 0 0;
  padding-top: 14px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  color: rgba(0, 0, 0, 0.52);
  font-size: 12px;
  line-height: 1.5;
}

.faq-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  align-items: start;
}

.faq-column {
  display: grid;
  gap: 18px;
  align-content: start;
}

.faq-card {
  border: 1px solid var(--border-subtle);
  border-radius: 18px;
  background: #ffffff;
  overflow: hidden;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.faq-card:hover {
  border-color: var(--border-strong);
  background: #f9f9f9;
}

.faq-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 64px;
  padding: 20px 20px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--text-primary);
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
  font-size: 14px;
  font-weight: 500;
  text-align: left;
}

.faq-item:hover {
  background: transparent;
}

.faq-plus {
  color: #165dff;
  font-size: 32px;
  line-height: 1;
  font-weight: 400;
  transform: translateY(-2px);
  transition: color 0.2s ease;
}

.faq-panel {
  display: none;
  padding: 0 20px 18px;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.7;
}

.faq-item.is-open + .faq-panel {
  display: block;
}

.faq-item.is-open .faq-plus {
  color: #1454e5;
}

.site-footer {
  margin-top: 36px;
  border-top: 1px solid var(--border-subtle);
  background: #ffffff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 220px 1fr;
  column-gap: 8%;
  row-gap: 48px;
  padding: 72px 0 44px;
}

.footer-brand-block {
  padding-top: 6px;
}

.footer-logo {
  display: block;
  width: 132px;
  height: auto;
}

.footer-links {
  display: grid;
  grid-template-columns: 0.85fr 1fr 1.05fr;
  gap: 48px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-title {
  margin-bottom: 10px;
  color: rgba(0, 0, 0, 0.5);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
}

.footer-col a,
.footer-col p {
  margin: 0;
  color: rgba(0, 0, 0, 0.6);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.45;
}

.footer-col a:hover {
  color: var(--brand);
}

.footer-inline-link {
  color: #165dff !important;
}

.footer-socials {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 14px;
}

.footer-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.08);
  color: rgba(0, 0, 0, 0.6);
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  overflow: hidden;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.footer-socials a:hover {
  transform: translateY(-1px);
  background: rgba(0, 0, 0, 0.12);
  color: var(--brand);
}

.footer-socials img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.footer-divider {
  grid-column: 1 / -1;
  height: 1px;
  background: var(--border-subtle);
}

.footer-copyright {
  grid-column: 1 / -1;
  color: rgba(0, 0, 0, 0.4);
  font-size: 12px;
  text-align: center;
}

.footer-legal {
  grid-column: 1 / -1;
  justify-self: center;
  color: rgba(0, 0, 0, 0.35);
  font-size: 11px;
  line-height: 1.6;
  text-align: center;
  max-width: 780px;
}

.tip-disclaimer {
  display: block;
  margin-top: 4px;
  color: rgba(0, 0, 0, 0.45);
  font-size: 11px;
  font-style: italic;
  line-height: 1.5;
}

@media (max-width: 1200px) {
  .mega-menu-panel {
    width: min(900px, calc(100vw - 56px));
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-layout {
    grid-template-columns: minmax(0, 1.4fr) minmax(200px, 280px);
    gap: 32px;
  }

  .hero-visual {
    min-height: 180px;
  }

  .compare-card {
    overflow-x: auto;
  }

  .compare-grid {
    min-width: 1120px;
  }

  .how-it-works {
    grid-template-columns: 1fr;
  }

  .cta-banner {
    align-items: flex-start;
    flex-direction: column;
  }

  .connect-details-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .connect-details-header h3 {
    font-size: 27px;
  }

  .broker-details-table-wrap {
    display: none;
  }

  .broker-details-grid {
    display: grid;
  }

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

  .footer-grid {
    grid-template-columns: 1fr;
    column-gap: 0;
    row-gap: 36px;
  }

  .footer-brand-block {
    padding-top: 0;
  }

  .footer-links {
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .content-wrap {
    width: min(calc(100% - 32px), var(--content-width));
  }

  .nav-row {
    flex-wrap: wrap;
    row-gap: 12px;
    align-items: center;
  }

  .main-nav {
    display: flex;
    order: 3;
    width: 100%;
    gap: 14px;
    overflow-x: auto;
    white-space: nowrap;
    padding-bottom: 2px;
  }

  .header-cta {
    display: inline-flex;
    margin-left: auto;
    min-height: 36px;
    padding: 0 14px;
    font-size: 13px;
  }

  .mega-menu-panel {
    left: 0;
    right: auto;
    transform: translate(0, 10px);
    width: min(680px, calc(100vw - 32px));
    max-height: 70vh;
    overflow-y: auto;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mega-menu:hover .mega-menu-panel,
  .mega-menu:focus-within .mega-menu-panel {
    transform: translate(0, 0);
  }

  .dropdown-panel {
    width: min(calc(100vw - 32px), 700px);
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 16px;
    max-height: 70vh;
    overflow-y: auto;
  }

  .dropdown-group--two-col {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .supported-brokers-dropdown:hover .dropdown-panel,
  .supported-brokers-dropdown:focus-within .dropdown-panel {
    transform: translateY(0);
  }

  .hero-section {
    padding-top: 32px;
  }

  .hero-layout {
    grid-template-columns: minmax(0, 1fr) minmax(140px, 180px);
    gap: 24px;
  }

  h1 {
    font-size: 32px;
  }

  .hero-visual {
    min-height: 120px;
  }

  .hero-visual img {
    height: 140px;
  }

  .section-heading h2 {
    font-size: 28px;
  }

  .connect-details {
    padding: 18px;
  }

  .connect-details-header h3 {
    font-size: 22px;
  }

  .connect-details-header p {
    font-size: 14px;
  }

  .broker-details-table-wrap {
    display: none;
  }

  .broker-details-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .broker-detail-list li {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .broker-detail-list strong {
    font-size: 13px;
  }

  .broker-detail-toggle {
    width: 100%;
  }

  .connect-details-cta {
    width: 100%;
  }

  .how-step {
    padding: 14px;
  }

  .footer-links {
    grid-template-columns: 1fr;
  }

  .faq-list {
    display: grid;
    grid-template-columns: 1fr;
  }

  .faq-column {
    gap: 18px;
  }
}

@media (max-width: 500px) {
  .hero-layout {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .hero-visual {
    display: none;
  }

  h1 {
    font-size: 32px;
  }
}

@media (min-width: 1201px) {
  .broker-details-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
