.ibkr-page {
  --ibkr-navy: #071a33;
  --ibkr-blue: #0969da;
  --ibkr-blue-dark: #064eaa;
  --ibkr-sky: #eaf4ff;
  --ibkr-green: #067647;
  --ibkr-green-soft: #ecfdf3;
  --ibkr-amber: #a15c07;
  --ibkr-amber-soft: #fff7e8;
  --ibkr-red: #b42318;
  --ibkr-red-soft: #fff1f0;
  --ibkr-line: #dce7f4;
}

.ibkr-page .ibkr-hero {
  grid-template-columns: minmax(0, 1.12fr) minmax(340px, 0.72fr);
  padding-top: 56px;
}

.ibkr-page .ibkr-hero h1 {
  max-width: 860px;
  font-size: clamp(40px, 5.2vw, 64px);
  line-height: 1.02;
}

.ibkr-page .article-lead strong {
  color: var(--ibkr-navy);
}

.ibkr-page .article-meta a {
  color: inherit;
  text-decoration: none;
}

.ibkr-page .article-meta a:hover,
.ibkr-page .article-meta a:focus-visible {
  color: var(--ibkr-blue);
}

.ibkr-hero-note {
  max-width: 720px;
  margin: 16px 0 0;
  color: #66768c;
  font-size: 13px;
  line-height: 1.5;
}

.ibkr-hero-card .score-ring {
  --score-percent: 92%;
  font-size: 20px;
  letter-spacing: -.04em;
}

.ibkr-affiliate-disclosure {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  margin-bottom: 30px;
  padding: 16px 20px;
  color: #304861;
  background: linear-gradient(135deg, #eff7ff, #ffffff);
  border: 1px solid #cfe2f7;
  border-radius: 16px;
  box-shadow: 0 10px 28px rgba(7, 40, 78, 0.06);
}

.ibkr-affiliate-disclosure p {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
}

.ibkr-affiliate-disclosure a {
  color: var(--ibkr-blue);
  font-weight: 900;
}

.ibkr-affiliate-icon {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  color: #ffffff;
  background: var(--ibkr-blue);
  border-radius: 50%;
  font-weight: 900;
}

.ibkr-page .toc-card ol {
  gap: 6px;
}

.ibkr-page .toc-card a {
  padding: 3px 0;
  font-size: 13px;
}

.ibkr-page .article-card-box,
.ibkr-page .faq-block {
  scroll-margin-top: 104px;
}

.ibkr-page .article-card-box > .eyebrow,
.ibkr-page .faq-block > .eyebrow {
  margin: 0 0 8px;
  color: var(--ibkr-blue);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.ibkr-scorecard {
  display: grid;
  grid-template-columns: minmax(190px, .72fr) minmax(0, 1.8fr);
  gap: 24px;
  margin: 26px 0;
  padding: 24px;
  color: #ffffff;
  background:
    radial-gradient(circle at 0 0, rgba(40, 146, 255, .3), transparent 34%),
    linear-gradient(135deg, #06182f, #0b315f);
  border-radius: 20px;
  box-shadow: 0 20px 45px rgba(5, 34, 69, .16);
}

.ibkr-scorecard-head {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-right: 18px;
  border-right: 1px solid rgba(255, 255, 255, .18);
}

.ibkr-scorecard-head > div {
  display: flex;
  gap: 8px;
  align-items: baseline;
}

.ibkr-scorecard-head strong {
  font-size: clamp(48px, 7vw, 74px);
  line-height: 1;
}

.ibkr-scorecard-head span {
  color: #b7d8ff;
  font-weight: 900;
}

.ibkr-scorecard-head p {
  margin: 14px 0 0;
  color: #d9eaff;
  font-size: 14px;
  line-height: 1.55;
}

.ibkr-score-metrics {
  display: grid;
  gap: 14px;
}

.ibkr-score-metrics > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 6px 14px;
  align-items: center;
}

.ibkr-score-metrics span,
.ibkr-score-metrics b {
  color: #ffffff;
  font-size: 14px;
}

.ibkr-score-metrics b {
  font-size: 13px;
}

.ibkr-score-metrics i {
  grid-column: 1 / -1;
  display: block;
  overflow: hidden;
  height: 8px;
  background: rgba(255, 255, 255, .15);
  border-radius: 999px;
}

.ibkr-score-metrics i::before {
  content: "";
  display: block;
  width: var(--value, 0%);
  height: 100%;
  background: linear-gradient(90deg, #38a4ff, #7bd7ff);
  border-radius: inherit;
}

.ibkr-page .pros-cons h3 {
  margin: 0 0 16px;
  color: var(--ibkr-navy);
  font-size: 24px;
}

.ibkr-page .pros-cons > div:first-child h3::before {
  content: "✓";
  display: inline-grid;
  place-items: center;
  width: 31px;
  height: 31px;
  margin-right: 9px;
  color: #ffffff;
  background: var(--ibkr-green);
  border-radius: 50%;
  font-size: 16px;
}

.ibkr-page .pros-cons > div:last-child h3::before {
  content: "!";
  display: inline-grid;
  place-items: center;
  width: 31px;
  height: 31px;
  margin-right: 9px;
  color: #ffffff;
  background: var(--ibkr-red);
  border-radius: 50%;
  font-size: 16px;
}

.ibkr-decision-note,
.ibkr-tip-box,
.ibkr-source-note {
  margin: 22px 0 0;
  padding: 18px 20px;
  color: #314861;
  background: #f4f9ff;
  border: 1px solid #d3e5f8;
  border-left: 5px solid var(--ibkr-blue);
  border-radius: 14px;
}

.ibkr-decision-note strong,
.ibkr-tip-box strong {
  display: block;
  margin-bottom: 6px;
  color: var(--ibkr-navy);
}

.ibkr-decision-note p,
.ibkr-tip-box p,
.ibkr-source-note {
  margin-bottom: 0 !important;
  font-size: 15px !important;
  line-height: 1.65 !important;
}

.ibkr-update-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 22px 0;
}

.ibkr-update-grid article {
  position: relative;
  overflow: hidden;
  padding: 20px;
  background: linear-gradient(180deg, #ffffff, #f5faff);
  border: 1px solid var(--ibkr-line);
  border-radius: 16px;
}

.ibkr-update-grid article::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(180deg, var(--ibkr-blue), #38a4ff);
}

.ibkr-update-grid span,
.ibkr-choice-grid span,
.ibkr-alternative-grid span {
  color: var(--ibkr-blue);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.ibkr-update-grid h3 {
  margin: 10px 0 8px;
  color: var(--ibkr-navy);
  font-size: 20px;
}

.ibkr-update-grid p {
  margin: 0;
  font-size: 15px;
  line-height: 1.62;
}

.ibkr-choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 20px 0;
}

.ibkr-choice-grid article {
  padding: 22px;
  background: #f7fbff;
  border: 1px solid var(--ibkr-line);
  border-radius: 16px;
}

.ibkr-choice-grid article:first-child {
  border-top: 5px solid var(--ibkr-blue);
}

.ibkr-choice-grid article:last-child {
  border-top: 5px solid #1d8b67;
}

.ibkr-choice-grid h4 {
  margin: 9px 0 8px;
  color: var(--ibkr-navy);
  font-size: 20px;
}

.ibkr-choice-grid p {
  margin: 0;
  font-size: 15px;
  line-height: 1.64;
}

.ibkr-check-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px !important;
  padding: 0 !important;
  list-style: none;
}

.ibkr-check-list li {
  position: relative;
  margin: 0;
  padding: 15px 16px 15px 44px;
  background: #f8fbff;
  border: 1px solid var(--ibkr-line);
  border-radius: 14px;
  font-size: 15px;
  line-height: 1.58;
}

.ibkr-check-list li::before {
  content: "✓";
  position: absolute;
  top: 17px;
  left: 16px;
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  color: #ffffff;
  background: var(--ibkr-green);
  border-radius: 50%;
  font-size: 11px;
  font-weight: 900;
}

.ibkr-tool-section {
  border-color: #bcd8f6;
  box-shadow: 0 24px 58px rgba(6, 64, 125, .12);
}

.ibkr-calculator {
  margin: 24px 0 0;
  padding: 24px;
  background:
    radial-gradient(circle at 100% 0, rgba(31, 139, 239, .1), transparent 30%),
    #f7fbff;
  border: 1px solid #cfe2f6;
  border-radius: 20px;
}

.ibkr-calculator-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.ibkr-field {
  min-width: 0;
}

.ibkr-field label {
  display: block;
  margin-bottom: 7px;
  color: var(--ibkr-navy);
  font-size: 14px;
  font-weight: 900;
}

.ibkr-field input,
.ibkr-field select {
  width: 100%;
  min-height: 48px;
  box-sizing: border-box;
  padding: 10px 12px;
  color: var(--ibkr-navy);
  background: #ffffff;
  border: 1px solid #bfcfe1;
  border-radius: 10px;
  font: inherit;
  font-size: 15px;
}

.ibkr-field input:focus,
.ibkr-field select:focus {
  border-color: var(--ibkr-blue);
  outline: 3px solid rgba(9, 105, 218, .14);
}

.ibkr-field small {
  display: block;
  margin-top: 6px;
  color: #66768c;
  font-size: 12px;
  line-height: 1.45;
}

.ibkr-rate-settings {
  margin-top: 16px;
  padding: 14px 16px;
  background: #ffffff;
  border: 1px solid var(--ibkr-line);
  border-radius: 12px;
}

.ibkr-rate-settings summary {
  color: var(--ibkr-blue);
  cursor: pointer;
  font-size: 14px;
  font-weight: 900;
}

.ibkr-rate-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 14px;
}

.ibkr-calc-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.ibkr-calc-actions .button {
  min-height: 44px;
  padding: 11px 16px;
}

.ibkr-results {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 20px;
}

.ibkr-results > div {
  padding: 18px;
  background: #ffffff;
  border: 1px solid var(--ibkr-line);
  border-radius: 14px;
}

.ibkr-results span {
  display: block;
  color: #63758c;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.ibkr-results strong {
  display: block;
  margin-top: 6px;
  color: var(--ibkr-navy);
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.12;
}

.ibkr-results small {
  display: block;
  margin-top: 7px;
  color: #66768c;
  font-size: 12px;
  line-height: 1.48;
}

.ibkr-result-insight {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, #082543, #0c3f74) !important;
  border-color: transparent !important;
}

.ibkr-result-insight span,
.ibkr-result-insight small {
  color: #cfe7ff;
}

.ibkr-result-insight strong {
  color: #ffffff;
  font-size: clamp(19px, 2.5vw, 26px);
}

.ibkr-calc-note {
  margin: 16px 0 0 !important;
  color: #66768c !important;
  font-size: 12px !important;
  line-height: 1.55 !important;
}

.ibkr-fx-breakpoint {
  display: grid;
  grid-template-columns: minmax(130px, .55fr) minmax(0, 2fr);
  gap: 22px;
  align-items: center;
  margin: 18px 0 0;
  padding: 20px;
  background: var(--ibkr-amber-soft);
  border: 1px solid #f3d49d;
  border-radius: 16px;
}

.ibkr-fx-breakpoint strong,
.ibkr-fx-breakpoint span {
  display: block;
}

.ibkr-fx-breakpoint strong {
  color: var(--ibkr-amber);
  font-size: 28px;
  line-height: 1.05;
}

.ibkr-fx-breakpoint span {
  margin-top: 5px;
  color: #7b5b29;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.ibkr-fx-breakpoint p {
  margin: 0;
  color: #5f4b2b;
  font-size: 14px;
  line-height: 1.62;
}

.ibkr-offer-box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
}

.ibkr-offer-box h3 {
  margin: 0 0 10px;
}

.ibkr-offer-box p:not(.eyebrow) {
  margin-bottom: 0;
}

.ibkr-offer-box .eyebrow {
  margin: 0 0 6px;
  color: rgba(255, 255, 255, .82);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.ibkr-safety-layers {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 22px 0;
}

.ibkr-safety-layers article {
  position: relative;
  padding: 22px 20px 20px 64px;
  background: #f8fbff;
  border: 1px solid var(--ibkr-line);
  border-radius: 16px;
}

.ibkr-safety-layers article > span,
.ibkr-steps > li > span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: #ffffff;
  background: var(--ibkr-blue);
  border-radius: 11px;
  font-weight: 900;
}

.ibkr-safety-layers article > span {
  position: absolute;
  top: 22px;
  left: 18px;
}

.ibkr-safety-layers h3 {
  margin: 0 0 8px;
  color: var(--ibkr-navy);
  font-size: 20px;
}

.ibkr-safety-layers p {
  margin: 0;
  font-size: 15px;
  line-height: 1.64;
}

.ibkr-warning-box {
  margin: 22px 0;
  padding: 20px 22px;
  color: #64332e;
  background: var(--ibkr-red-soft);
  border: 1px solid #f0c8c4;
  border-left: 5px solid var(--ibkr-red);
  border-radius: 15px;
}

.ibkr-warning-box h3 {
  margin: 0 0 10px;
  color: var(--ibkr-red);
  font-size: 21px;
}

.ibkr-warning-box ul,
.ibkr-warning-box ol {
  margin-bottom: 0;
}

.ibkr-warning-box li {
  color: #64332e;
  font-size: 15px;
}

.ibkr-product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 22px 0;
}

.ibkr-product-grid article {
  padding: 17px 18px;
  background: #f8fbff;
  border: 1px solid var(--ibkr-line);
  border-radius: 14px;
}

.ibkr-product-grid strong,
.ibkr-product-grid span {
  display: block;
}

.ibkr-product-grid strong {
  color: var(--ibkr-navy);
  font-size: 18px;
}

.ibkr-product-grid span {
  margin-top: 5px;
  color: #5e7087;
  font-size: 14px;
  line-height: 1.52;
}

.ibkr-numbered-list {
  counter-reset: ibkr-limit;
  gap: 12px !important;
  padding: 0 !important;
  list-style: none;
}

.ibkr-numbered-list li {
  counter-increment: ibkr-limit;
  position: relative;
  min-height: 38px;
  padding: 15px 16px 15px 58px;
  background: #ffffff;
  border: 1px solid var(--ibkr-line);
  border-radius: 14px;
}

.ibkr-numbered-list li::before {
  content: counter(ibkr-limit);
  position: absolute;
  top: 16px;
  left: 16px;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  color: var(--ibkr-blue);
  background: var(--ibkr-sky);
  border-radius: 9px;
  font-size: 13px;
  font-weight: 900;
}

.ibkr-platform-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 22px 0;
}

.ibkr-platform-gallery figure {
  overflow: hidden;
  margin: 0;
  background: #f8fbff;
  border: 1px solid var(--ibkr-line);
  border-radius: 14px;
}

.ibkr-platform-gallery img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  box-sizing: border-box;
  padding: 8px;
  background: #ffffff;
  object-fit: contain;
}

.ibkr-platform-gallery figcaption {
  padding: 11px 12px;
  color: #607189;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.45;
}

.ibkr-steps {
  gap: 12px !important;
  margin: 22px 0 !important;
  padding: 0 !important;
  list-style: none;
}

.ibkr-steps > li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 16px;
  padding: 18px;
  background: #f8fbff;
  border: 1px solid var(--ibkr-line);
  border-radius: 15px;
}

.ibkr-steps h3 {
  margin: 0 0 5px;
  color: var(--ibkr-navy);
  font-size: 19px;
}

.ibkr-steps p {
  margin: 0;
  font-size: 15px;
  line-height: 1.62;
}

.ibkr-account-checklist {
  display: grid;
  gap: 10px;
  margin: 24px 0;
  padding: 22px;
  background: var(--ibkr-green-soft);
  border: 1px solid #b7e6cf;
  border-radius: 16px;
}

.ibkr-account-checklist h3 {
  margin: 0 0 5px;
  color: var(--ibkr-green);
  font-size: 21px;
}

.ibkr-account-checklist label {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: #24513f;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
}

.ibkr-account-checklist input,
.ibkr-fit-test input {
  flex: 0 0 auto;
  width: 19px;
  height: 19px;
  margin-top: 2px;
  accent-color: var(--ibkr-blue);
}

.ibkr-tax-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 22px 0;
}

.ibkr-tax-grid article {
  padding: 20px;
  background: #f8fbff;
  border: 1px solid var(--ibkr-line);
  border-radius: 15px;
}

.ibkr-tax-grid h3 {
  margin: 0 0 8px;
  color: var(--ibkr-navy);
  font-size: 20px;
}

.ibkr-tax-grid p {
  margin: 0;
  font-size: 15px;
  line-height: 1.62;
}

.ibkr-report-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 11px !important;
  padding: 0 !important;
  list-style: none;
}

.ibkr-report-list li {
  padding: 15px 16px;
  background: #ffffff;
  border: 1px solid var(--ibkr-line);
  border-radius: 13px;
  font-size: 15px;
  line-height: 1.58;
}

.ibkr-fit-test {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(250px, .75fr);
  gap: 18px;
  margin: 24px 0;
}

.ibkr-fit-test fieldset {
  display: grid;
  gap: 10px;
  min-width: 0;
  margin: 0;
  padding: 20px;
  background: #f8fbff;
  border: 1px solid var(--ibkr-line);
  border-radius: 16px;
}

.ibkr-fit-test legend {
  padding: 0 8px;
  color: var(--ibkr-navy);
  font-weight: 900;
}

.ibkr-fit-test label {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 12px 13px;
  color: #314861;
  background: #ffffff;
  border: 1px solid var(--ibkr-line);
  border-radius: 11px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.48;
}

.ibkr-fit-test label:hover {
  border-color: #9fc7ef;
}

.ibkr-fit-test label:has(input:checked) {
  color: #083f75;
  background: #eef7ff;
  border-color: #8fc1f2;
}

.ibkr-fit-test .ibkr-fit-negative:has(input:checked) {
  color: #6a362f;
  background: var(--ibkr-red-soft);
  border-color: #e9bdb8;
}

.ibkr-fit-result {
  align-self: start;
  position: sticky;
  top: 100px;
  padding: 22px;
  color: #ffffff;
  background: linear-gradient(145deg, #06192f, #0b3a6a);
  border-radius: 16px;
  box-shadow: 0 18px 38px rgba(5, 39, 77, .18);
}

.ibkr-fit-gauge {
  overflow: hidden;
  height: 10px;
  margin-bottom: 18px;
  background: rgba(255, 255, 255, .16);
  border-radius: 999px;
}

.ibkr-fit-gauge i {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, #41a7ff, #7ef0c4);
  border-radius: inherit;
  transition: width .25s ease;
}

.ibkr-fit-result > strong {
  display: block;
  color: #ffffff;
  font-size: 23px;
  line-height: 1.2;
}

.ibkr-fit-result > p {
  margin: 10px 0 0;
  color: #d4e8ff;
  font-size: 14px;
  line-height: 1.6;
}

.ibkr-fit-actions {
  display: grid;
  gap: 9px;
  margin-top: 17px;
}

.ibkr-fit-actions[hidden] {
  display: none;
}

.ibkr-fit-actions .button {
  width: 100%;
  box-sizing: border-box;
}

.ibkr-alternative-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 18px 0 0;
}

.ibkr-page .ibkr-alternative-grid a {
  display: block;
  padding: 18px;
  color: inherit;
  background: #f8fbff;
  border: 1px solid var(--ibkr-line);
  border-radius: 14px;
  text-decoration: none;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.ibkr-page .ibkr-alternative-grid a:hover,
.ibkr-page .ibkr-alternative-grid a:focus-visible {
  border-color: #9fc9f2;
  box-shadow: 0 14px 28px rgba(6, 62, 119, .09);
  transform: translateY(-2px);
}

.ibkr-alternative-grid strong {
  display: block;
  margin-top: 7px;
  color: var(--ibkr-navy);
  font-size: 19px;
}

.ibkr-alternative-grid p {
  margin: 6px 0 0;
  color: #607189;
  font-size: 14px;
  line-height: 1.5;
}

.ibkr-page .faq-block {
  margin-bottom: 24px;
  padding: 28px;
}

.ibkr-page .faq-block > h2 {
  margin: 0 0 16px;
  font-size: clamp(28px, 3vw, 40px);
}

.ibkr-page details.faq-item {
  overflow: hidden;
  margin: 10px 0 0;
  padding: 0;
  background: #ffffff;
  border: 1px solid var(--ibkr-line);
  border-radius: 13px;
}

.ibkr-page details.faq-item summary {
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  padding: 17px 18px;
  cursor: pointer;
  list-style: none;
}

.ibkr-page details.faq-item summary::-webkit-details-marker {
  display: none;
}

.ibkr-page details.faq-item summary::after {
  content: "+";
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  color: var(--ibkr-blue);
  background: var(--ibkr-sky);
  border-radius: 9px;
  font-size: 20px;
  font-weight: 900;
}

.ibkr-page details.faq-item[open] summary::after {
  content: "−";
}

.ibkr-page details.faq-item h3 {
  margin: 0;
  color: var(--ibkr-navy);
  font-size: 18px;
  line-height: 1.35;
}

.ibkr-page details.faq-item > p {
  margin: 0;
  padding: 0 18px 18px;
  color: #46586f;
  font-size: 15px;
  line-height: 1.68;
}

.ibkr-sources {
  gap: 10px !important;
  padding-left: 24px !important;
}

.ibkr-sources li {
  padding-left: 4px;
  font-size: 15px;
  line-height: 1.62;
}

.ibkr-author-box {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 24px;
  align-items: center;
}

.ibkr-author-box > img {
  width: 150px;
  height: 150px;
  object-fit: cover;
  border: 5px solid #eef6ff;
  border-radius: 50%;
  box-shadow: 0 12px 28px rgba(6, 49, 96, .13);
}

.ibkr-author-box h2 {
  margin-bottom: 8px;
}

.ibkr-author-box p:not(.eyebrow) {
  margin-bottom: 10px;
  font-size: 15px;
}

.ibkr-author-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 15px;
}

.ibkr-author-links a {
  font-size: 14px;
}

.ibkr-final-cta {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(240px, .55fr);
  gap: 24px;
  align-items: center;
  color: #ffffff;
  background:
    radial-gradient(circle at 100% 0, rgba(44, 153, 255, .25), transparent 35%),
    linear-gradient(135deg, #071a33, #0b3d70);
  border-color: transparent;
}

.ibkr-final-cta h2,
.ibkr-final-cta h3 {
  color: #ffffff;
}

.ibkr-final-cta p,
.ibkr-final-cta li,
.ibkr-final-cta .eyebrow {
  color: #d9eaff !important;
}

.ibkr-final-cta ul {
  margin-bottom: 0;
}

.ibkr-final-actions {
  display: grid;
  gap: 10px;
}

.ibkr-final-actions .button {
  width: 100%;
  box-sizing: border-box;
}

.ibkr-final-actions .button-secondary {
  color: #ffffff;
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .35);
}

.ibkr-final-actions small {
  color: #bdd7f2;
  font-size: 11px;
  line-height: 1.45;
  text-align: center;
}

.ibkr-mobile-cta {
  display: none;
}

.ibkr-page .related-card img {
  aspect-ratio: 16 / 9;
  background: #f5f9ff;
  object-fit: cover;
}

.ibkr-page .related-card[href*="xtb-vs"] img {
  padding: 12px;
  object-fit: contain;
}

.ibkr-page :focus-visible {
  outline: 3px solid rgba(9, 105, 218, .35);
  outline-offset: 3px;
}

@media (max-width: 1080px) {
  .ibkr-page .ibkr-hero {
    grid-template-columns: minmax(0, 1fr) minmax(320px, .72fr);
    gap: 28px;
  }

  .ibkr-page .ibkr-hero h1 {
    font-size: clamp(38px, 5.6vw, 56px);
  }

  .ibkr-alternative-grid {
    grid-template-columns: 1fr;
  }
}

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

  .ibkr-page .ibkr-hero-card {
    max-width: 680px;
  }

  .ibkr-scorecard,
  .ibkr-fit-test,
  .ibkr-final-cta {
    grid-template-columns: 1fr;
  }

  .ibkr-scorecard-head {
    padding: 0 0 18px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, .18);
  }

  .ibkr-fit-result {
    position: static;
  }

  .ibkr-platform-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ibkr-offer-box {
    grid-template-columns: 1fr;
  }

  .ibkr-offer-box .button {
    justify-self: start;
  }
}

@media (max-width: 760px) {
  .ibkr-page {
    padding-bottom: 78px;
  }

  .ibkr-page .ibkr-hero {
    padding-top: 34px;
  }

  .ibkr-page .ibkr-hero h1 {
    font-size: clamp(34px, 10.5vw, 46px);
    line-height: 1.04;
  }

  .ibkr-page .article-lead {
    font-size: 18px;
  }

  .ibkr-affiliate-disclosure {
    margin: 0 16px 24px;
  }

  .ibkr-update-grid,
  .ibkr-choice-grid,
  .ibkr-check-list,
  .ibkr-calculator-grid,
  .ibkr-results,
  .ibkr-safety-layers,
  .ibkr-product-grid,
  .ibkr-tax-grid,
  .ibkr-report-list {
    grid-template-columns: 1fr;
  }

  .ibkr-result-insight {
    grid-column: auto;
  }

  .ibkr-platform-gallery {
    grid-template-columns: 1fr;
  }

  .ibkr-platform-gallery img {
    aspect-ratio: 16 / 10;
  }

  .ibkr-fx-breakpoint {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .ibkr-author-box {
    grid-template-columns: 1fr;
  }

  .ibkr-author-box > img {
    width: 118px;
    height: 118px;
  }

  .ibkr-mobile-cta {
    position: fixed;
    z-index: 70;
    right: max(10px, env(safe-area-inset-right));
    bottom: max(10px, env(safe-area-inset-bottom));
    left: max(10px, env(safe-area-inset-left));
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: space-between;
    min-height: 58px;
    box-sizing: border-box;
    padding: 10px 12px 10px 16px;
    color: #ffffff;
    background: rgba(5, 30, 58, .97);
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 16px;
    box-shadow: 0 18px 38px rgba(0, 0, 0, .26);
    text-decoration: none;
    backdrop-filter: blur(14px);
  }

  .ibkr-mobile-cta span,
  .ibkr-mobile-cta strong,
  .ibkr-mobile-cta small {
    display: block;
  }

  .ibkr-mobile-cta strong {
    color: #ffffff;
    font-size: 14px;
  }

  .ibkr-mobile-cta small {
    margin-top: 2px;
    color: #bdd8f3;
    font-size: 10px;
  }

  .ibkr-mobile-cta b {
    flex: 0 0 auto;
    padding: 10px 12px;
    color: #07213e;
    background: #ffffff;
    border-radius: 10px;
    font-size: 13px;
  }
}

@media (max-width: 520px) {
  .ibkr-page .article-card-box,
  .ibkr-page .faq-block {
    padding: 20px 17px;
  }

  .ibkr-affiliate-disclosure {
    grid-template-columns: 1fr;
    padding: 15px 16px;
  }

  .ibkr-affiliate-icon {
    width: 28px;
    height: 28px;
  }

  .ibkr-scorecard,
  .ibkr-calculator {
    padding: 18px;
  }

  .ibkr-calc-actions {
    display: grid;
  }

  .ibkr-calc-actions .button {
    width: 100%;
    box-sizing: border-box;
  }

  .ibkr-rate-grid {
    grid-template-columns: 1fr;
  }

  .ibkr-safety-layers article {
    padding: 18px;
  }

  .ibkr-safety-layers article > span {
    position: static;
    margin-bottom: 12px;
  }

  .ibkr-steps > li {
    grid-template-columns: 1fr;
  }

  .ibkr-fit-test fieldset,
  .ibkr-fit-result {
    padding: 17px;
  }

  .ibkr-page details.faq-item summary {
    padding: 15px;
  }

  .ibkr-page details.faq-item > p {
    padding: 0 15px 15px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ibkr-fit-gauge i,
  .ibkr-page .ibkr-alternative-grid a {
    transition: none;
  }
}
