/* BrokerRating public site: one cached stylesheet for every page. Mobile first, RTL/LTR aware (logical properties). */

/* IBM Plex Sans Arabic (SIL Open Font License), self-hosted: Arabic + Latin subsets only. */
@font-face { font-family: 'IBM Plex Sans Arabic'; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/plex-arabic-400-arabic.woff2) format('woff2'); unicode-range: U+0600-06FF, U+0750-077F, U+0870-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC7, U+10EC9-10EEE, U+10EF0-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1; }
@font-face { font-family: 'IBM Plex Sans Arabic'; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/plex-arabic-400-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'IBM Plex Sans Arabic'; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/plex-arabic-400-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'IBM Plex Sans Arabic'; font-style: normal; font-weight: 600; font-display: swap; src: url(../fonts/plex-arabic-600-arabic.woff2) format('woff2'); unicode-range: U+0600-06FF, U+0750-077F, U+0870-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC7, U+10EC9-10EEE, U+10EF0-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1; }
@font-face { font-family: 'IBM Plex Sans Arabic'; font-style: normal; font-weight: 600; font-display: swap; src: url(../fonts/plex-arabic-600-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'IBM Plex Sans Arabic'; font-style: normal; font-weight: 600; font-display: swap; src: url(../fonts/plex-arabic-600-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'IBM Plex Sans Arabic'; font-style: normal; font-weight: 700; font-display: swap; src: url(../fonts/plex-arabic-700-arabic.woff2) format('woff2'); unicode-range: U+0600-06FF, U+0750-077F, U+0870-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC7, U+10EC9-10EEE, U+10EF0-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1; }
@font-face { font-family: 'IBM Plex Sans Arabic'; font-style: normal; font-weight: 700; font-display: swap; src: url(../fonts/plex-arabic-700-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'IBM Plex Sans Arabic'; font-style: normal; font-weight: 700; font-display: swap; src: url(../fonts/plex-arabic-700-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* ---------- tokens ---------- */
:root {
    --brand: #0f766e; --brand-dark: #115e59; --brand-soft: #f0fdfa; --brand-line: #ccfbf1;
    --ink: #0f172a; --text: #1e293b; --muted: #64748b; --line: #e2e8f0; --bg: #f6f8fb; --card: #fff;
    --warn-bg: #fffbeb; --warn-line: #fde68a; --danger: #b91c1c; --gold: #b45309; --good: #15803d;
    --radius: 14px; --radius-sm: 10px;
    --shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 4px 18px rgba(15, 23, 42, .05);
    --shadow-hover: 0 10px 30px rgba(15, 118, 110, .14);
    --font: 'IBM Plex Sans Arabic', system-ui, -apple-system, 'Segoe UI', 'Noto Sans Arabic', Tahoma, sans-serif;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }
body { margin: 0; font-family: var(--font); font-size: 16px; color: var(--text); background: var(--bg); line-height: 1.8; text-rendering: optimizeLegibility; }
a { color: var(--brand); text-underline-offset: 3px; }
a:hover { color: var(--brand-dark); }
img { max-width: 100%; height: auto; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.4; }
h1 { font-size: clamp(1.55rem, 1.2rem + 1.6vw, 2.1rem); margin: 0 0 10px; }
h2 { font-size: clamp(1.15rem, 1.05rem + .5vw, 1.4rem); margin: 36px 0 14px; }
h3 { font-size: 1.08rem; margin: 22px 0 8px; }
p { margin: 0 0 14px; }
table { width: 100%; border-collapse: collapse; }
th, td { text-align: start; padding: 10px 8px; border-bottom: 1px solid var(--line); }
code { font-family: ui-monospace, Consolas, monospace; font-size: .9em; }
:focus-visible { outline: 3px solid rgba(15, 118, 110, .45); outline-offset: 2px; border-radius: 6px; }
.muted { color: var(--muted); }
.ltr { direction: ltr; unicode-bidi: isolate; }
.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0; inset-inline-start: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 100; padding: 8px 14px; background: var(--ink); color: #fff; border-radius: 8px; }
.skip-link:focus { top: 12px; color: #fff; }
/* Text not translated yet falls back to Arabic: let each block take the direction of its own language. */
main :is(h1, h2, h3, p, li, td, th, aside, .badge) { unicode-bidi: plaintext; }

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 16px; }
main.wrap { padding-top: 28px; padding-bottom: 56px; min-height: 60vh; }
main.wrap-medium { max-width: 980px; }
main.wrap-narrow { max-width: 800px; }
.section { margin: 44px 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin: 0 0 16px; }
.section-head h2 { margin: 0; }
.section-head p { margin: 4px 0 0; color: var(--muted); font-size: .92rem; }
.section-head a { flex: none; font-weight: 600; text-decoration: none; white-space: nowrap; }
.section-head a::after { content: ' ←'; }
[dir="ltr"] .section-head a::after { content: ' →'; }
.grid { display: grid; gap: 14px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }

/* ---------- header ---------- */
header.site { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .96); border-bottom: 1px solid var(--line); backdrop-filter: saturate(180%) blur(8px); }
header.site .wrap { display: flex; align-items: center; gap: 16px; min-height: 64px; }
header.site a { color: var(--ink); text-decoration: none; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.15rem; white-space: nowrap; }
.brand-mark { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: linear-gradient(135deg, var(--brand), #14b8a6); color: #fff; font-size: 1.1rem; box-shadow: 0 4px 12px rgba(15, 118, 110, .3); }
.site-nav { display: flex; align-items: center; gap: 4px; margin-inline-start: auto; font-weight: 500; font-size: .95rem; white-space: nowrap; }
.site-nav > a, .nav-menu summary { padding: 8px 12px; border-radius: 10px; }
.site-nav > a:hover, .nav-menu summary:hover, .nav-menu[open] summary { background: var(--brand-soft); color: var(--brand); }
.nav-menu { position: relative; }
.nav-menu summary { cursor: pointer; list-style: none; display: flex; align-items: center; gap: 6px; }
.nav-menu summary::-webkit-details-marker { display: none; }
.nav-menu summary::after { content: ''; width: 6px; height: 6px; border: solid currentColor; border-width: 0 2px 2px 0; transform: rotate(45deg) translateY(-2px); transition: transform .15s; }
.nav-menu[open] summary::after { transform: rotate(-135deg) translateY(-2px); }
.nav-panel { position: absolute; inset-inline-end: 0; top: calc(100% + 10px); z-index: 60; display: grid; min-width: 270px; padding: 8px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 18px 44px rgba(15, 23, 42, .16); }
.nav-panel a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 9px 12px; border-radius: 9px; font-weight: 500; }
.nav-panel a:hover { background: var(--bg); color: var(--brand); }
.nav-panel .nav-all { margin-top: 4px; border-top: 1px solid var(--line); border-radius: 0 0 9px 9px; color: var(--brand); font-weight: 700; }
.nav-new { padding: 1px 8px; border-radius: 999px; background: #dc2626; color: #fff; font-size: .7rem; font-weight: 700; }
.lang-switch { position: relative; font-weight: 500; font-size: .88rem; }
.lang-switch summary { cursor: pointer; list-style: none; padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; background: #fff; }
.lang-switch summary::-webkit-details-marker { display: none; }
.lang-switch ul { position: absolute; inset-inline-end: 0; top: calc(100% + 8px); margin: 0; padding: 6px; list-style: none; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 12px 30px rgba(15, 23, 42, .14); min-width: 170px; z-index: 60; }
.lang-switch li a { display: block; padding: 6px 10px; border-radius: 8px; }
.lang-switch li a:hover, .lang-switch li a[aria-current] { background: var(--bg); color: var(--brand); }
.nav-toggle { display: none; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 10px; background: #fff; cursor: pointer; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { display: block; width: 18px; height: 2px; margin: auto; background: var(--ink); border-radius: 2px; position: relative; transition: transform .2s; }
.nav-toggle span::before, .nav-toggle span::after { content: ''; position: absolute; inset-inline-start: 0; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }
/* Desktop: brand at the start, the menus centred, the language switch at the end. */
@media (min-width: 981px) {
    header.site .wrap { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); }
    .site-nav { margin: 0; justify-content: center; grid-column: 2; }
    .lang-switch { grid-column: 3; justify-self: end; }
    .nav-menu .nav-panel { inset-inline-end: auto; inset-inline-start: 50%; transform: translateX(50%); }
    [dir="ltr"] .nav-menu .nav-panel { transform: translateX(-50%); }
}
@media (max-width: 980px) {
    /* No blur behind the sticky header on phones: it repaints on every scroll frame. */
    header.site { background: #fff; backdrop-filter: none; }
    header.site .wrap { flex-wrap: wrap; padding-block: 8px; row-gap: 8px; min-height: 58px; }
    .nav-toggle { display: block; order: 2; margin-inline-start: auto; width: 44px; height: 44px; }
    .lang-switch { order: 1; margin-inline-start: auto; }
    .lang-switch summary { min-height: 40px; display: flex; align-items: center; }
    .site-nav { display: none; order: 3; width: 100%; flex-direction: column; align-items: stretch; gap: 0; margin: 0; padding: 6px 0 4px; border-top: 1px solid var(--line); white-space: normal; max-height: calc(100vh - 80px); overflow-y: auto; }
    .site-nav.open { display: flex; }
    .site-nav > a, .nav-menu summary { padding: 12px 6px; border-radius: 0; border-bottom: 1px solid var(--line); justify-content: space-between; }
    .site-nav > a:hover, .nav-menu summary:hover, .nav-menu[open] summary { background: none; }
    .nav-panel { position: static; min-width: 0; box-shadow: none; border: 0; padding: 4px 0 8px; background: var(--bg); border-radius: 10px; margin: 6px 0; }
}
.ticker { background: #fff; border-bottom: 1px solid var(--line); min-height: 46px; }
.ticker .tradingview-widget-copyright { display: none; }

/* ---------- buttons, badges, cards ---------- */
.cta { display: inline-flex; align-items: center; justify-content: center; gap: 6px; margin-top: 16px; padding: 10px 22px; border: 0; border-radius: var(--radius-sm); background: var(--brand); color: #fff; font: inherit; font-weight: 600; text-decoration: none; cursor: pointer; transition: background .15s, transform .15s; }
.cta:hover { background: var(--brand-dark); color: #fff; }
.cta:active { transform: translateY(1px); }
.cta-block { display: flex; width: 100%; }
.btn-ghost { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 9px 20px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; color: var(--ink); font-weight: 600; text-decoration: none; }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn-light { background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .35); color: #fff; }
.btn-light:hover { background: rgba(255, 255, 255, .24); color: #fff; }
.badge { display: inline-block; padding: 2px 10px; border-radius: 999px; background: #ecfdf5; color: var(--brand); font-size: .82rem; font-weight: 600; text-decoration: none; }
.badge-danger { background: #fef2f2; color: var(--danger); }
.badge-warn { background: var(--warn-bg); color: var(--gold); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; box-shadow: var(--shadow); }
.notice { margin: 0 0 16px; padding: 10px 14px; border-radius: var(--radius-sm); background: #f1f5f9; color: var(--muted); font-size: .88rem; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.chips a, .chips li { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--ink); font-size: .9rem; font-weight: 500; text-decoration: none; }
.chips a:hover { border-color: var(--brand); color: var(--brand); }
.type-links { display: flex; flex-wrap: wrap; gap: 8px; }
.type-links .badge { text-decoration: none; }
.store-links { display: flex; flex-wrap: wrap; gap: 8px; }
.store-link { display: inline-block; padding: 8px 16px; border-radius: 10px; background: var(--ink); color: #fff; font-weight: 600; text-decoration: none; font-size: .9rem; }
.store-link:hover { color: #fff; opacity: .9; }

/* ---------- home ---------- */
.hero { position: relative; overflow: hidden; margin: 0 0 28px; padding: 40px 28px; border-radius: 22px; background: radial-gradient(circle at 15% 20%, rgba(45, 212, 191, .35), transparent 45%), linear-gradient(135deg, #0f766e 0%, #115e59 55%, #134e4a 100%); color: #e6fffa; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; align-items: center; }
@media (min-width: 980px) { .hero-grid { grid-template-columns: minmax(0, 1.35fr) minmax(300px, .9fr); } }
.hero-top { padding: 18px; background: rgba(255, 255, 255, .97); border-radius: 18px; color: var(--text); box-shadow: 0 18px 40px rgba(0, 0, 0, .18); }
.hero-top h2, .hero-top-title { margin: 0 0 10px; font-size: 1rem; font-weight: 700; color: var(--ink); }
.hero-top ol { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.hero-top li a { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 12px; color: var(--ink); text-decoration: none; font-weight: 600; }
.hero-top li a:hover { border-color: var(--brand); color: var(--brand); }
.hero-top img { width: 36px; height: 36px; object-fit: contain; border-radius: 8px; }
.hero-top .rank { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--brand-soft); color: var(--brand); font-size: .8rem; }
.hero-top small { margin-inline-start: auto; color: var(--muted); font-weight: 500; font-size: .78rem; text-align: end; }
.hero-top .more { display: block; margin-top: 10px; text-align: center; font-weight: 600; text-decoration: none; }
.hero h1 { color: #fff; font-size: clamp(1.7rem, 1.2rem + 2.4vw, 2.6rem); max-width: 760px; }
.hero > p { max-width: 640px; font-size: 1.05rem; color: #ccfbf1; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.hero-actions .cta { margin: 0; background: #fff; color: var(--brand-dark); }
.hero-actions .cta:hover { background: #ecfeff; color: var(--brand-dark); }
.hero-search { display: flex; gap: 8px; max-width: 560px; margin-top: 22px; padding: 6px; background: #fff; border-radius: 14px; box-shadow: 0 10px 30px rgba(0, 0, 0, .15); }
.hero-search input { flex: 1; min-width: 0; border: 0; padding: 10px 12px; font: inherit; color: var(--ink); background: transparent; }
.hero-search input:focus { outline: none; }
.hero-search button { flex: none; padding: 10px 18px; border: 0; border-radius: 10px; background: var(--brand); color: #fff; font: inherit; font-weight: 600; cursor: pointer; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 10px 28px; margin: 26px 0 0; padding: 0; list-style: none; }
.hero-stats li { display: grid; line-height: 1.3; }
.hero-stats strong { color: #fff; font-size: 1.5rem; }
.hero-stats span { font-size: .85rem; color: #99f6e4; }
.explore-tile { display: flex; align-items: center; gap: 14px; padding: 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); text-decoration: none; box-shadow: var(--shadow); transition: border-color .15s, box-shadow .15s, transform .15s; }
.explore-tile:hover { border-color: var(--brand); box-shadow: var(--shadow-hover); transform: translateY(-2px); color: var(--ink); }
.explore-tile strong { display: block; font-size: 1rem; }
.explore-tile small { display: block; color: var(--muted); font-size: .84rem; line-height: 1.5; }
.ico { flex: none; display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--brand-soft); font-size: 1.35rem; }
.ico-amber { background: #fffbeb; } .ico-blue { background: #eff6ff; } .ico-rose { background: #fff1f2; } .ico-violet { background: #f5f3ff; } .ico-slate { background: #f1f5f9; }
.logo-wall { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 150px), 1fr)); gap: 10px; }
.logo-wall a { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 14px 10px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); text-decoration: none; font-weight: 600; font-size: .9rem; text-align: center; }
.logo-wall a:hover { border-color: var(--brand); color: var(--brand); }
.logo-wall img { width: 48px; height: 48px; object-fit: contain; border-radius: 10px; }
.post-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; color: var(--ink); text-decoration: none; box-shadow: var(--shadow); transition: box-shadow .2s, transform .2s; }
.post-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-2px); color: var(--ink); }
.post-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: var(--bg); }
.post-card div { display: grid; gap: 6px; padding: 14px 16px 16px; }
.post-card strong { font-size: 1.02rem; line-height: 1.5; }
.post-card small { color: var(--muted); }
.panel { padding: 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.panel h2, .panel h3 { margin-top: 0; }
.panel-accent { background: linear-gradient(135deg, #fff7ed, #fff); border-color: #fed7aa; }
.panel .panel-link { margin-top: 16px; margin-inline-start: 6px; }
.panel-brand { background: linear-gradient(135deg, var(--brand-soft), #fff); border-color: var(--brand-line); }
.link-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; }
.link-list a { display: block; padding: 8px 0; border-bottom: 1px dashed var(--line); text-decoration: none; color: var(--ink); }
.link-list a:hover { color: var(--brand); }
/* Link tiles (calculators, best-broker lists); shared by the home page, so they live here and not in calculators.css. */
.calc-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.calc-tile { display: flex; flex-direction: column; gap: 6px; padding: 16px; background: #fff; border: 1px solid #dbe3ec; border-radius: 14px; color: var(--ink); text-decoration: none; transition: border-color .15s, box-shadow .15s, transform .15s; }
.calc-tile:hover { border-color: var(--brand); box-shadow: 0 8px 24px rgba(15, 118, 110, .12); transform: translateY(-1px); }
.calc-tile strong { font-size: 1.02rem; }
.calc-tile span { color: var(--muted); font-size: .9rem; }
.calc-tile em { font-style: normal; font-size: .85rem; background: var(--bg); border-radius: 8px; padding: 6px 10px; }
.calc-tile em b { color: var(--brand); }
.calc-tile .calc-tile-cta { margin-top: auto; color: var(--brand); font-weight: 700; }
.calc-tile .calc-tile-cta::after { content: ' ←'; }
[dir="ltr"] .calc-tile .calc-tile-cta::after { content: ' →'; }
.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.steps li { position: relative; padding: 18px 18px 18px; padding-inline-start: 64px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.steps li::before { counter-increment: step; content: counter(step); position: absolute; inset-inline-start: 18px; top: 18px; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 700; }
.steps strong { display: block; color: var(--ink); }
.steps span { color: var(--muted); font-size: .9rem; }

/* ---------- breadcrumbs & page header ---------- */
.crumbs, .calc-crumbs { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 12px; font-size: .85rem; color: var(--muted); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--brand); }
.crumbs span[aria-hidden] { opacity: .6; }
.page-head { margin-bottom: 20px; }
.page-head p { color: var(--muted); max-width: 720px; }

/* ---------- inner page header ---------- */
.page-hero, .calc-hub-hero, .course-hero { margin: 0 0 26px; padding: 22px 24px; border-radius: 18px; background: linear-gradient(135deg, #ecfeff 0%, #f0fdfa 45%, #fff 100%); border: 1px solid var(--brand-line); }
.page-hero .crumbs { margin-bottom: 10px; }
.page-hero-row { display: flex; gap: 16px; align-items: flex-start; }
.page-hero h1 { margin: 0 0 6px; unicode-bidi: normal; }
.page-hero p, .course-hero p { margin: 0; max-width: 760px; color: #475569; }
.page-hero-extra { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.page-hero-extra .cta { margin: 0; }
.ico-lg { width: 58px; height: 58px; border-radius: 16px; font-size: 1.7rem; background: #fff; box-shadow: var(--shadow); }
@media (max-width: 640px) { .page-hero { padding: 18px 16px; } .ico-lg { width: 46px; height: 46px; font-size: 1.3rem; } }

.market-tile .ico { font-size: 1.4rem; }
/* ---------- review (entity) page ---------- */
.review-hero { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 18px 20px; align-items: center; margin-bottom: 22px; padding: 22px; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); }
.review-logo { width: 88px; height: 88px; border-radius: 18px; border: 1px solid var(--line); object-fit: contain; background: #fff; padding: 6px; }
.review-logo-fallback { display: grid; place-items: center; width: 88px; height: 88px; border-radius: 18px; background: var(--brand-soft); color: var(--brand); font-size: 2rem; font-weight: 700; }
.review-hero h1 { margin: 4px 0 6px; unicode-bidi: normal; }
.review-hero p { margin: 0; }
.review-scores { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.score { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 999px; background: var(--bg); font-size: .88rem; font-weight: 600; }
.score b { color: var(--brand); font-size: 1rem; }
.review-actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.review-actions .cta { margin: 0; }
.review-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 28px; align-items: start; }
.review-main > h2:first-child { margin-top: 0; }
.review-side { position: sticky; top: 84px; display: grid; gap: 14px; }
.fact-list { margin: 0; display: grid; gap: 0; }
.fact-list div { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: .92rem; }
.fact-list div:last-child { border-bottom: 0; }
.fact-list dt { color: var(--muted); }
.fact-list dd { margin: 0; font-weight: 600; text-align: end; }
.side-title { margin: 0 0 8px; font-size: 1rem; }
.toc { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; font-size: .92rem; }
.toc a { display: block; padding: 6px 10px; border-radius: 8px; text-decoration: none; color: var(--text); }
.toc a:hover { background: var(--bg); color: var(--brand); }
@media (max-width: 980px) {
    .review-layout { grid-template-columns: minmax(0, 1fr); }
    /* Phones: quick facts first, then the review itself, then the comparison links and the finder. */
    .review-side { display: contents; }
    .review-side > * { order: 2; }
    .review-side > .facts-card { order: -1; }
    .review-main { order: 1; }
    .review-side .toc-card { display: none; }
}
@media (max-width: 560px) {
    .review-hero { grid-template-columns: minmax(0, 1fr); text-align: center; justify-items: center; }
    .review-scores, .review-actions { justify-content: center; }
}

.verify-link { display: inline-block; margin-inline-start: 8px; font-size: .8rem; font-weight: 600; }
.sources { margin: 28px 0; }
.sources h2 { margin: 0 0 4px; font-size: 1.05rem; }
.sources ul { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 6px; }
.sources li { font-size: .92rem; }
.sources .more { display: inline-block; margin-top: 10px; font-size: .9rem; font-weight: 600; }
/* /sources page */
.source-grid { list-style: none; margin: 10px 0 24px; padding: 0; display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); }
.source-card { display: grid; gap: 2px; align-content: start; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: #fff; font-size: .92rem; }
.source-card strong { font-size: 1rem; }
.source-links { display: flex; flex-wrap: wrap; gap: 4px 12px; margin-top: 6px; font-size: .88rem; font-weight: 600; }
.source-list { display: grid; gap: 8px; padding-inline-start: 20px; }
.related-tools { margin: 28px 0; }
.related-tools h2 { font-size: 1.05rem; margin: 0 0 10px; }
.answers { margin-top: 8px; }
.answer { padding: 14px 18px; margin-bottom: 10px; background: #fff; border: 1px solid var(--line); border-inline-start: 4px solid var(--brand); border-radius: 12px; }
.answer h3 { margin: 0 0 4px; font-size: 1.02rem; }
.answer p { margin: 0; }
.pros-cons-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.pc-box { padding: 14px 18px; background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--good); border-radius: 12px; }
.pc-cons { border-top-color: var(--danger); }
.pc-box h3 { margin: 0 0 8px; font-size: 1.02rem; color: var(--good); }
.pc-cons h3 { color: var(--danger); }
.pc-box ul { list-style: none; margin: 0; padding: 0; }
.pc-box li { position: relative; padding-inline-start: 24px; margin-bottom: 6px; }
.pc-box li::before { content: '✓'; position: absolute; inset-inline-start: 0; font-weight: 700; color: var(--good); }
.pc-cons li::before { content: '✗'; color: var(--danger); }
/* ---------- article prose ---------- */
.article-head { margin-bottom: 18px; }
.article-meta { display: flex; flex-wrap: wrap; gap: 4px 14px; color: var(--muted); font-size: .9rem; }
.lead { font-size: 1.12rem; color: #334155; }
.featured { margin: 18px 0; }
.featured img { width: 100%; height: auto; border-radius: var(--radius); display: block; }
.body { font-size: 1.04rem; }
.body img { max-width: 100%; height: auto; border-radius: 12px; }
.body h2 { padding-top: 6px; }
.body ul, .body ol { padding-inline-start: 1.4em; }
.body li { margin: 4px 0; }
.body blockquote { margin: 18px 0; padding: 12px 18px; border-inline-start: 4px solid var(--brand); background: var(--brand-soft); border-radius: 8px; }
.body table { display: block; overflow-x: auto; margin: 16px 0; background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.body th { background: var(--bg); }
.body a { font-weight: 500; }

/* ---------- shared components (existing pages) ---------- */
.disclosures { display: grid; gap: 8px; margin-top: 16px; }
.disclosure { padding: 10px 14px; border: 1px solid var(--warn-line); background: var(--warn-bg); border-radius: var(--radius-sm); font-size: .88rem; }
.disclosure p { margin: 4px 0 0; }
.tool-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: 12px; margin-top: 16px; }
.tool-card { display: flex; flex-direction: column; gap: 4px; text-decoration: none; color: var(--ink); transition: border-color .15s, box-shadow .15s; }
.tool-card:hover { border-color: var(--brand); box-shadow: var(--shadow-hover); color: var(--ink); }
.tv-box { margin: 8px 0 16px; }
.tv-box .tradingview-widget-copyright { font-size: 11px; color: var(--muted); text-align: end; }
.calc-fields { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.calc-fields label { display: flex; flex-direction: column; gap: 4px; font-size: .9rem; font-weight: 600; }
.calc-fields input, .calc-fields select { font: inherit; padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.calc-results { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; margin: 0; }
.calc-results dt { color: var(--muted); }
.calc-results dd { margin: 0; font-weight: 700; font-variant-numeric: tabular-nums; text-align: end; }
.faq { margin-top: 36px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px 18px; margin-bottom: 8px; }
.faq-item summary { cursor: pointer; font-weight: 600; color: var(--ink); }
.faq-item[open] summary { color: var(--brand); }
.faq-item p { margin: 8px 0 0; }
.trust-box { margin-top: 32px; background: #fff; border: 1px solid var(--line); border-inline-start: 4px solid var(--brand); border-radius: var(--radius); padding: 18px 20px; }
.trust-box h2 { margin-top: 0; font-size: 1.05rem; }
.trust-person { display: flex; gap: 12px; align-items: center; }
.trust-person img { border-radius: 50%; object-fit: cover; }
.trust-person p { margin: 0; }
.trust-reviewed-by { font-size: .85rem; color: var(--muted); }
/* Author bylines and profiles (/authors) */
.byline { display: flex; gap: 10px; align-items: center; margin: 10px 0 0; font-size: .92rem; }
.byline img { border-radius: 50%; object-fit: cover; flex: none; }
.byline a { color: var(--ink); }
.author-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.author-card { display: flex; gap: 14px; align-items: flex-start; color: var(--text); text-decoration: none; transition: box-shadow .2s; }
.author-card:hover { box-shadow: var(--shadow-hover); }
.author-card img { border-radius: 50%; object-fit: cover; flex: none; }
.author-card div { display: flex; flex-direction: column; gap: 4px; }
.author-card strong { color: var(--ink); }
.author-initial { display: inline-grid; place-items: center; flex: none; width: 72px; height: 72px; border-radius: 50%; background: var(--brand-soft); color: var(--brand); font-weight: 700; font-size: 1.6rem; }
.author-initial-lg { width: 120px; height: 120px; font-size: 2.6rem; }
.author-head { display: flex; gap: 20px; align-items: flex-start; margin: 8px 0 12px; }
.author-head img { border-radius: 50%; object-fit: cover; flex: none; }
@media (max-width: 560px) { .author-head { flex-direction: column; } }
.trust-box dl { margin: 12px 0 0; }
.trust-box dt { font-weight: 600; margin-top: 8px; }
.trust-box dd { margin: 2px 0 0; }
.trust-links { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 12px 0 0; font-size: .9rem; }
.compare-form { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 10px; align-items: center; }
.compare-form select { width: 100%; font: inherit; padding: 9px 10px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.compare-form .cta { margin: 0; }
.compare-wrap { position: relative; overflow-x: auto; margin: 12px 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.compare-table { min-width: 560px; }
.compare-table th, .compare-table td { padding: 10px 12px; vertical-align: top; }
.compare-table thead th { text-align: center; }
.compare-table thead th img { display: block; margin: 0 auto 6px; border-radius: 10px; object-fit: contain; }
.compare-table thead th a, .compare-table thead th .muted { display: block; }
.compare-table tbody th { color: var(--muted); font-weight: 600; width: 22%; position: sticky; inset-inline-start: 0; background: #fff; }
.compare-table td { text-align: center; }
.compare-table td.best { background: #ecfdf5; font-weight: 700; }
.best-badge { display: block; font-size: .7rem; color: var(--brand); }
.compare-actions .cta { display: flex; margin: 0 0 6px; font-size: .9rem; padding: 8px 12px; }
.compare-note { font-size: .82rem; }
.top-table { min-width: 600px; }
.top-table th, .top-table td { padding: 12px; vertical-align: middle; }
.top-table thead th { background: var(--bg); font-size: .85rem; color: var(--muted); }
.top-rank { font-weight: 700; color: var(--brand); width: 40px; }
.top-name { display: flex; align-items: center; gap: 10px; }
.top-name a { color: var(--ink); font-weight: 700; text-decoration: none; }
.top-name a:hover { color: var(--brand); }
.top-name img { border-radius: 8px; object-fit: contain; border: 1px solid var(--line); background: #fff; }
.top-cta { margin: 0; padding: 7px 14px; font-size: .85rem; white-space: nowrap; }
.best-list { list-style: none; padding: 0; margin: 16px 0; display: grid; gap: 14px; }
.best-item { transition: box-shadow .15s; }
.best-item:hover { box-shadow: var(--shadow-hover); }
.best-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.best-head h2, .best-head h3 { margin: 0; font-size: 1.15rem; flex: 1; }
.best-head h2 a, .best-head h3 a { color: var(--ink); text-decoration: none; }
.best-head img { border-radius: 10px; object-fit: contain; border: 1px solid var(--line); background: #fff; }
.best-rank { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 700; }
.best-local { margin: 8px 0 0; color: var(--brand); font-weight: 600; font-size: .9rem; }
.best-facts { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 12px 0; padding: 10px 14px; background: var(--bg); border-radius: 10px; font-size: .9rem; }
.best-facts div { display: grid; line-height: 1.5; }
.best-facts dt { color: var(--muted); font-size: .8rem; }
.best-facts dd { margin: 0; font-weight: 700; }
.best-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin: 0; }
.best-actions .cta { margin: 0; }
.best-risk { margin: 8px 0 0; font-size: .78rem; color: var(--muted); }
.criteria-heading { margin: 8px 0 0; font-size: 1rem; }
.best-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin: 16px 0; }
.best-chips { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 0; }
.best-chips li { padding: 4px 12px; border-radius: 999px; background: #ecfeff; color: var(--brand); border: 1px solid #a5f3fc; font-size: .82rem; font-weight: 600; }
.best-country { display: flex; align-items: center; gap: 8px; font-size: .9rem; }
.best-country select { padding: 7px 10px; border-radius: 10px; border: 1px solid var(--line); background: #fff; font: inherit; }
.top-filters { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin: 12px 0; }
.top-filters .country-filter { display: flex; align-items: center; gap: 8px; font-size: .92rem; font-weight: 600; }
.top-filters select { padding: 8px 12px; border-radius: 10px; border: 1px solid var(--line); background: #fff; font: inherit; font-weight: 400; min-width: 200px; }
.best-country-link { font-weight: 600; }
.local-badge { margin-inline-start: 6px; font-size: .72rem; background: #eff6ff; color: #1d4ed8; }
.best-method { margin: 24px 0; }
.best-method h2 { margin-top: 0; font-size: 1.1rem; }
.best-ad { list-style: none; }
.best-search input { width: 100%; max-width: 520px; padding: 12px 16px; border-radius: 12px; border: 1px solid #cbd5e1; font: inherit; background: #fff; }
.best-logos { display: flex; gap: 4px; margin: 4px 0; min-height: 34px; }
.best-logos img { border-radius: 8px; background: #fff; border: 1px solid #e5e7eb; object-fit: contain; }
.best-tile small { font-size: .78rem; }
.finder-reasons { list-style: none; padding: 0; margin: 8px 0; display: grid; gap: 2px; font-size: .9rem; color: var(--brand); }
.finder-form { display: grid; gap: 14px; }
.finder-form label > span, .finder-form legend { display: block; font-weight: 600; margin-bottom: 4px; }
.finder-form fieldset { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px 16px; }
.finder-form fieldset legend { width: 100%; }
.finder-form select { width: 100%; font: inherit; padding: 9px 10px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.finder-form .choice { display: inline-flex; align-items: center; gap: 6px; }
.finder-form .cta { justify-self: start; margin: 0; }
.finder-cta { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin: 28px 0; background: linear-gradient(135deg, var(--brand-soft), #fff); border-color: var(--brand-line); }
.finder-cta p { margin: 0; }
.finder-cta .cta { margin: 0; }
.bonus-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 14px; margin: 16px 0; }
.bonus-card { display: flex; flex-direction: column; gap: 4px; }
.bonus-card h2 { margin: 8px 0 0; font-size: 1.05rem; }
.bonus-card p { margin: 4px 0; }
.bonus-card .cta { margin-top: auto; }
.bonus-head { display: flex; align-items: center; gap: 10px; }
.bonus-head img { border-radius: 10px; object-fit: contain; border: 1px solid var(--line); }
.bonus-value { margin-inline-start: auto; padding: 4px 10px; border-radius: 999px; background: #fef3c7; color: #92400e; font-weight: 700; font-size: .85rem; }
.bonus-code code { padding: 2px 8px; border: 1px dashed var(--brand); border-radius: 6px; background: var(--brand-soft); }
.stock-tabs { display: flex; gap: 6px; overflow-x: auto; padding: 4px 0 10px; scrollbar-width: thin; }
.stock-tabs button { flex: none; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font: inherit; font-size: .9rem; cursor: pointer; }
.stock-tabs button[aria-selected="true"] { background: var(--brand); border-color: var(--brand); color: #fff; font-weight: 600; }
.cmp-filters { display: flex; flex-wrap: wrap; align-items: end; gap: 10px 14px; margin: 16px 0 8px; padding: 14px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.cmp-filters label { display: flex; flex-direction: column; gap: 4px; font-size: .85rem; font-weight: 600; }
.cmp-filters input[type="search"], .cmp-filters select { font: inherit; font-weight: 400; padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.cmp-filters .cmp-search { flex: 1 1 220px; }
.cmp-filters .cmp-check { flex-direction: row; align-items: center; gap: 6px; font-weight: 500; padding-bottom: 8px; }
.cmp-reset { padding: 8px 12px; border: 0; background: none; color: var(--brand); font: inherit; font-weight: 600; cursor: pointer; }
.cmp-table { min-width: 980px; background: #fff; font-size: .9rem; }
.cmp-table th, .cmp-table td { padding: 10px 8px; vertical-align: middle; }
.cmp-table thead th { position: sticky; top: 0; background: #f8fafc; font-size: .82rem; white-space: nowrap; }
.cmp-table thead button { all: unset; cursor: pointer; font-weight: 700; }
.cmp-table thead button::after { content: ' ↕'; color: var(--muted); font-weight: 400; }
.cmp-table [aria-sort="ascending"] button::after { content: ' ↑'; color: var(--brand); }
.cmp-table [aria-sort="descending"] button::after { content: ' ↓'; color: var(--brand); }
.cmp-name { white-space: nowrap; }
.cmp-name img { vertical-align: middle; margin-inline-end: 6px; border-radius: 6px; object-fit: contain; }
.cmp-reg { display: inline-block; margin: 1px; padding: 1px 6px; border-radius: 6px; background: #f1f5f9; font-size: .78rem; }
.cmp-reg-top { background: #dcfce7; color: #166534; font-weight: 700; }
.cmp-small { font-size: .8rem; min-width: 150px; }
.cmp-small .badge { font-size: .72rem; margin: 1px; }
.cmp-visit { white-space: nowrap; font-weight: 600; color: var(--brand); }
.cmp-bar { position: sticky; bottom: 12px; z-index: 30; display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 12px 0; padding: 10px 16px; background: var(--ink); color: #fff; border-radius: var(--radius); box-shadow: 0 10px 30px rgba(15, 23, 42, .25); }
.cmp-bar .cta { margin: 0; }
.video-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 16px; }
.video-card { margin: 0; display: flex; flex-direction: column; gap: 8px; }
.video-card figcaption { display: grid; gap: 2px; font-size: .92rem; }
.video-box { position: relative; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; background: #0f172a; }
.video-box iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-play { all: unset; position: absolute; inset: 0; cursor: pointer; display: block; }
.video-play img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .25s; }
.video-play:hover img, .video-play:focus-visible img { transform: scale(1.03); }
.video-play:focus-visible { outline: 3px solid var(--brand); outline-offset: -3px; }
.video-icon { position: absolute; inset: 0; margin: auto; width: 64px; height: 44px; border-radius: 12px; background: rgba(220, 38, 38, .92); box-shadow: 0 6px 18px rgba(0, 0, 0, .3); }
.video-icon::after { content: ''; position: absolute; inset: 0; margin: auto; width: 0; height: 0; border-style: solid; border-width: 9px 0 9px 15px; border-color: transparent transparent transparent #fff; transform: translateX(2px); }
.video-duration { position: absolute; bottom: 8px; inset-inline-end: 8px; padding: 2px 8px; border-radius: 6px; background: rgba(15, 23, 42, .85); color: #fff; font-size: .75rem; }
.course-hero { padding: 28px 24px; margin: 0 0 20px; border-radius: 18px; background: linear-gradient(135deg, #ecfeff 0%, #f0fdfa 45%, #fff 100%); border: 1px solid var(--brand-line); }
.course-hero p { margin: 0; max-width: 680px; }
.course-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr)); gap: 16px; margin: 12px 0 24px; }
.course-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; text-decoration: none; color: var(--ink); transition: box-shadow .2s, transform .2s, border-color .2s; }
.course-card:hover { border-color: var(--brand); box-shadow: var(--shadow-hover); transform: translateY(-2px); color: var(--ink); }
.course-media { position: relative; aspect-ratio: 16 / 9; background: linear-gradient(135deg, #0f766e, #115e59); display: grid; place-items: center; }
.course-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.course-placeholder { font-size: 3rem; }
.course-price { position: absolute; top: 10px; inset-inline-start: 10px; padding: 4px 12px; border-radius: 999px; background: #fef3c7; color: #92400e; font-weight: 700; font-size: .85rem; }
.course-price.is-free { background: #dcfce7; color: #166534; }
.course-body { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px 16px; flex: 1; }
.course-body strong { font-size: 1.05rem; }
.course-body .muted { font-size: .88rem; }
.course-meta { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: .8rem; color: var(--muted); }
.course-body .calc-tile-cta { margin-top: auto; color: var(--brand); font-weight: 700; }
.course-top { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: center; }
.course-cover { width: 320px; max-width: 100%; height: auto; border-radius: 14px; }
.course-lead { font-size: 1.05rem; color: #334155; }
.course-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 28px; align-items: start; }
.course-access { position: sticky; top: 84px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; text-align: center; margin-top: 24px; }
.course-access .cta { margin: 0; }
.course-access .muted { font-size: .82rem; margin: 0; }
.course-price-big { margin: 0; font-size: 1.8rem; font-weight: 800; color: var(--ink); }
.course-price-big.is-free { color: var(--good); }
.course-unlocked { margin: 0; color: var(--good); font-weight: 700; }
.course-code { display: grid; gap: 6px; text-align: start; padding-top: 10px; border-top: 1px solid var(--line); font-size: .9rem; font-weight: 600; }
.course-code span { display: flex; gap: 6px; }
.course-code input { flex: 1; min-width: 0; width: 100%; padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; font: inherit; letter-spacing: .05em; }
.course-code button { padding: 8px 14px; border: 0; border-radius: 8px; background: var(--ink); color: #fff; font: inherit; font-weight: 600; cursor: pointer; }
.course-status { margin: 0; padding: 8px 12px; border-radius: 8px; background: #fef2f2; color: var(--danger); font-size: .88rem; }
.course-status.is-ok { background: #f0fdf4; color: var(--good); }
.lesson-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.lesson-list a { display: flex; align-items: center; gap: 12px; padding: 12px 14px; background: #fff; border: 1px solid var(--line); border-radius: 12px; text-decoration: none; color: var(--ink); }
.lesson-list a:hover { border-color: var(--brand); }
.lesson-list a.is-locked { color: var(--muted); }
.lesson-n { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--bg); font-weight: 700; font-size: .85rem; }
.lesson-title { flex: 1; display: grid; gap: 2px; font-weight: 600; }
.lesson-title small { font-weight: 400; font-size: .82rem; }
.lesson-video { margin: 12px 0 18px; }
.lesson-nav { display: flex; justify-content: space-between; gap: 12px; margin: 28px 0; padding-top: 16px; border-top: 1px solid var(--line); font-weight: 600; }
.course-locked { text-align: center; padding: 28px 20px; background: #fff; border: 1px dashed #cbd5e1; border-radius: 16px; }
.course-locked-icon { font-size: 2.4rem; margin: 0; }
.course-locked .course-access { position: static; max-width: 360px; margin: 16px auto 0; }
@media (max-width: 860px) { .course-layout, .course-top { grid-template-columns: minmax(0, 1fr); } .course-access { position: static; } .course-cover { width: 100%; } }
.warning-search { width: 100%; font: inherit; padding: 11px 14px; border: 1px solid var(--line); border-radius: 10px; margin: 8px 0; background: #fff; }
.warning-table { min-width: 640px; }
.warning-table th, .warning-table td { padding: 10px 12px; vertical-align: top; }
.warning-table td .badge { margin-inline-start: 6px; font-size: .75rem; }
.ask { margin-top: 28px; }
.ask h2 { margin-top: 0; font-size: 1.1rem; }
.ask-form { display: grid; gap: 8px; }
.ask-form textarea, .ask-form input { width: 100%; font: inherit; padding: 9px 12px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.ask-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
@media (max-width: 640px) { .ask-row { grid-template-columns: 1fr; } }
.ask-form .cta { justify-self: start; margin: 0; }
.contact-topic { width: 100%; font: inherit; padding: 9px 12px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.qa-list { list-style: none; padding: 0; display: grid; gap: 10px; }
.qa-list p { margin: 4px 0 0; font-size: .9rem; }

/* ---------- ads ---------- */
.ad { margin: 20px 0; text-align: center; min-height: 100px; }
.ad-label { display: block; font-size: .7rem; color: var(--muted); letter-spacing: .05em; margin-bottom: 4px; }
.wrap > .ad { margin: 16px auto; }

/* ---------- footer ---------- */
footer.site { margin-top: 24px; background: #0b1220; color: #cbd5e1; font-size: .92rem; }
footer.site a { color: #e2e8f0; text-decoration: none; }
footer.site a:hover { color: #5eead4; }
.footer-news { padding: 28px 0; background: linear-gradient(135deg, #0f766e, #115e59); color: #ccfbf1; }
.newsletter { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 1.1fr); gap: 8px 28px; align-items: center; }
.newsletter h2, .newsletter-title { margin: 0; font-size: 1.2rem; font-weight: 700; color: #fff; }
.newsletter p { margin: 0; }
.newsletter .muted { color: #99f6e4; }
.newsletter-form { display: flex; flex-wrap: wrap; gap: 8px; }
/* Cloudflare Turnstile on its own line. "always": space kept for the box (65px) so nothing jumps when it loads;
   "interaction-only": takes no space unless a visitor has to tick it. */
.cf-turnstile { flex-basis: 100%; max-width: 100%; }
.cf-turnstile[data-appearance="always"] { min-height: 65px; }
.cf-turnstile[data-appearance="interaction-only"]:empty { display: none; }
.newsletter > * { min-width: 0; }
.newsletter-form input[type=email] { flex: 1; min-width: 0; width: 100%; font: inherit; padding: 10px 14px; border: 0; border-radius: 10px; }
.newsletter-form .cta { margin: 0; background: #0b1220; }
.newsletter-form .cta:hover { background: #1e293b; }
.newsletter-note { grid-column: 2; font-size: .8rem; }
.newsletter-done { color: #fff; font-weight: 600; }
.newsletter-error { grid-column: 2; color: #fecaca; font-size: .85rem; }
@media (max-width: 680px) { .newsletter { grid-template-columns: minmax(0, 1fr); } .newsletter-note, .newsletter-error { grid-column: 1; } }
.footer-main { padding: 36px 0 20px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr repeat(4, 1fr); gap: 28px; }
.footer-grid h2, .footer-title { margin: 0 0 12px; font-size: .95rem; font-weight: 700; color: #fff; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.footer-about p { color: #94a3b8; font-size: .88rem; margin: 10px 0 0; }
.footer-about .brand { color: #fff; }
.footer-langs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.footer-langs a { padding: 3px 10px; border: 1px solid #334155; border-radius: 999px; font-size: .8rem; }
.footer-bottom { padding: 18px 0 26px; border-top: 1px solid #1e293b; }
.footer-bottom .disclosures { margin: 0 0 12px; }
.footer-bottom .disclosure { background: #111a2e; border-color: #334155; color: #cbd5e1; }
.footer-bottom p { margin: 0; color: #64748b; font-size: .85rem; }
@media (max-width: 980px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .footer-about { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- chatbot widget ---------- */
#qt-chat { --qtc-brand: #0f766e; --qtc-ink: #14212b; --qtc-muted: #64748b; --qtc-line: #e2e8f0; --qtc-bg: #fff; --qtc-soft: #f1f5f9; font-family: 'IBM Plex Sans Arabic', system-ui, sans-serif; }
    #qt-chat svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
    #qt-chat .qtc-fab { position: fixed; inset-inline-start: 20px; bottom: 20px; z-index: 9998; width: 56px; height: 56px; border-radius: 50%; border: 0; background: var(--qtc-brand); color: #fff; display: grid; place-items: center; cursor: pointer; box-shadow: 0 8px 24px rgba(15, 118, 110, .35); }
    #qt-chat .qtc-panel { position: fixed; inset-inline-start: 20px; bottom: 88px; z-index: 9999; width: min(380px, calc(100vw - 32px)); height: min(600px, calc(100dvh - 120px)); background: var(--qtc-bg); color: var(--qtc-ink); border: 1px solid var(--qtc-line); border-radius: 16px; box-shadow: 0 20px 50px rgba(15, 23, 42, .18); display: flex; flex-direction: column; overflow: hidden; }
    #qt-chat .qtc-panel[hidden] { display: none; }
    #qt-chat .qtc-head { display: flex; align-items: center; justify-content: space-between; padding: 12px 14px; background: var(--qtc-brand); color: #fff; }
    #qt-chat .qtc-head b { display: block; font-size: 15px; }
    #qt-chat .qtc-head small { opacity: .8; font-size: 12px; }
    #qt-chat .qtc-head-actions { display: flex; gap: 4px; }
    #qt-chat .qtc-icon { background: transparent; border: 0; color: #fff; width: 34px; height: 34px; border-radius: 8px; cursor: pointer; display: grid; place-items: center; }
    #qt-chat .qtc-icon:hover { background: rgba(255, 255, 255, .15); }
    #qt-chat .qtc-icon svg { width: 18px; height: 18px; }
    #qt-chat .qtc-log { flex: 1; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 10px; font-size: 14.5px; line-height: 1.75; }
    #qt-chat .qtc-msg { max-width: 88%; padding: 9px 13px; border-radius: 14px; overflow-wrap: anywhere; }
    #qt-chat .qtc-msg.user { align-self: flex-start; background: var(--qtc-brand); color: #fff; border-start-start-radius: 4px; white-space: pre-wrap; }
    #qt-chat .qtc-msg.bot { align-self: flex-end; background: var(--qtc-soft); border-start-end-radius: 4px; }
    #qt-chat .qtc-msg.bot a { color: var(--qtc-brand); font-weight: 600; }
    #qt-chat .qtc-msg.bot ul { margin: 4px 0; padding-inline-start: 20px; }
    #qt-chat .qtc-msg.bot p { margin: 0 0 6px; }
    #qt-chat .qtc-msg.bot p:last-child { margin-bottom: 0; }
    #qt-chat .qtc-msg.error { background: #fde1de; color: #b42318; }
    #qt-chat .qtc-status { align-self: flex-end; color: var(--qtc-muted); font-size: 12.5px; }
    #qt-chat .qtc-form { display: flex; gap: 8px; padding: 10px; border-top: 1px solid var(--qtc-line); }
    #qt-chat .qtc-form textarea { flex: 1; resize: none; border: 1px solid var(--qtc-line); border-radius: 12px; padding: 9px 12px; font: inherit; font-size: 14.5px; max-height: 120px; outline: none; }
    #qt-chat .qtc-form textarea:focus { border-color: var(--qtc-brand); }
    #qt-chat .qtc-send { width: 42px; border: 0; border-radius: 12px; background: var(--qtc-brand); color: #fff; cursor: pointer; display: grid; place-items: center; }
    [dir="rtl"] #qt-chat .qtc-send svg { transform: scaleX(-1); }
    #qt-chat .qtc-send:disabled { opacity: .5; cursor: default; }
    #qt-chat .qtc-note { margin: 0; padding: 0 12px 10px; font-size: 11.5px; color: var(--qtc-muted); text-align: center; }
    @media (max-width: 480px) { #qt-chat .qtc-panel { inset-inline-start: 8px; bottom: 80px; width: calc(100vw - 16px); height: calc(100dvh - 100px); } }

/* ---------- small screens ---------- */
@media (max-width: 640px) {
    main.wrap { padding-top: 18px; }
    .hero { padding: 28px 18px; border-radius: 18px; }
    .hero-stats strong { font-size: 1.25rem; }
    .section { margin: 34px 0; }
    .card, .panel { padding: 16px; }
    .explore-tile { padding: 12px; gap: 10px; }
    .ico { width: 40px; height: 40px; font-size: 1.15rem; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; } }

/* ---------- ranked tables become cards on phones (kept last so it wins) ---------- */
@media (max-width: 640px) {
    .compare-wrap .top-table { min-width: 0; }
    .compare-wrap .top-table thead { display: none; }
    .compare-wrap .top-table tbody, .compare-wrap .top-table tr { display: block; width: 100%; }
    .compare-wrap .top-table tr { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 4px 12px; padding: 14px 16px; border-bottom: 1px solid var(--line); }
    .compare-wrap .top-table td, .compare-wrap .top-table th { display: block; padding: 0; border: 0; }
    .compare-wrap .top-table .top-rank { position: absolute; top: 16px; inset-inline-end: 16px; }
    .compare-wrap .top-table .top-name { grid-column: 1 / -1; display: flex; padding-inline-end: 34px; margin-bottom: 6px; }
    .compare-wrap .top-table td[data-label] { font-weight: 600; font-size: .92rem; }
    .compare-wrap .top-table td[data-label]::before { content: attr(data-label); display: block; color: var(--muted); font-weight: 400; font-size: .78rem; }
    .compare-wrap .top-table td:last-child { grid-column: 1 / -1; margin-top: 8px; }
    .compare-wrap .top-table .top-cta { display: flex; width: 100%; }
}
/* Filtered-out cards (category and course tabs). */
[hidden] { display: none !important; }

/* Visitor reviews on company pages. */
.user-reviews .review-summary { font-weight: 600; }
.stars { color: #f5a623; letter-spacing: 1px; }
.review-list { list-style: none; padding: 0; margin: 16px 0; display: grid; gap: 12px; }
.review-list li { border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 14px; }
.review-list h3 { font-size: 1rem; margin: 6px 0 4px; }
.review-list p { margin: 4px 0; }
.review-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.review-head time { color: var(--muted); font-size: .85rem; }
.review-form { margin-top: 12px; }
.review-form > summary { display: inline-block; cursor: pointer; list-style: none; }
.review-form > summary::-webkit-details-marker { display: none; }
.review-form[open] > summary { margin-bottom: 12px; }
.rating-input { display: flex; flex-direction: row-reverse; justify-content: flex-end; gap: 2px; border: 0; padding: 0; margin: 0 0 8px; }
.rating-input legend { font-weight: 600; margin-bottom: 4px; }
.rating-input input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.rating-input label { font-size: 30px; line-height: 1; color: #cfd6dd; cursor: pointer; padding: 2px; }
.rating-input input:checked ~ label, .rating-input label:hover, .rating-input label:hover ~ label { color: #f5a623; }
.rating-input input:focus-visible + label { outline: 2px solid var(--brand); border-radius: 4px; }
.ask-form .review-agree { display: flex; gap: 8px; align-items: flex-start; font-size: .9rem; }
.ask-form .review-agree input { width: auto; flex: 0 0 auto; margin: 4px 0 0; }
.review-note { font-size: .85rem; margin-top: 12px; }

/* Cookie consent banner. */
.cookie-banner { position: fixed; inset-inline: 16px; bottom: 16px; z-index: 60; max-width: 720px; margin-inline: auto; background: var(--card); color: var(--text); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 10px 30px rgba(15, 23, 42, .18); padding: 16px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.cookie-banner p { margin: 0; flex: 1 1 320px; font-size: .92rem; }
.cookie-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.cookie-actions button { min-height: 44px; padding: 8px 18px; border-radius: 10px; border: 1px solid var(--brand); background: var(--brand); color: #fff; font: inherit; font-weight: 600; cursor: pointer; }
.link-button { background: none; border: 0; padding: 0; color: inherit; font: inherit; text-decoration: underline; cursor: pointer; }

/* Alternatives pages. */
.alt-list { list-style: none; padding: 0; margin: 16px 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
.alt-card h2 { font-size: 1.1rem; margin: 0; flex: 1; }
.alt-head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.alt-head img { border-radius: 10px; object-fit: contain; }
.alt-facts { display: grid; gap: 6px; margin: 0 0 8px; font-size: .92rem; }
.alt-facts div { display: flex; justify-content: space-between; gap: 10px; border-bottom: 1px dashed var(--line); padding-bottom: 4px; }
.alt-facts dt { color: var(--muted); }
.alt-facts dd { margin: 0; font-weight: 600; text-align: end; }
.alt-card ul { font-size: .9rem; padding-inline-start: 18px; }
.alt-links { display: flex; flex-wrap: wrap; gap: 14px; font-weight: 600; margin-bottom: 0; }

/* Trading glossary. */
.glossary-letters { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0 20px; }
.glossary-letters a { min-width: 40px; min-height: 40px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 10px; background: var(--card); font-weight: 700; text-decoration: none; }
.glossary-group { scroll-margin-top: 80px; }
.glossary-list { display: grid; gap: 10px; margin: 0 0 20px; }
.glossary-list > div { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 14px; }
.glossary-list dt { font-weight: 700; margin-bottom: 4px; }
.glossary-list dd { margin: 0; color: var(--text); }
.glossary-definition { font-size: 1.1rem; }

/* High-risk products (binary options): warning box, regulator warnings, listing badges. */
.risk-warning { margin: 0 0 20px; padding: 14px 18px; border-radius: var(--radius-sm); background: #fef2f2; border: 1px solid #fecaca; border-inline-start: 4px solid #dc2626; color: #7f1d1d; }
.risk-warning strong { display: block; margin-bottom: 4px; font-size: 1rem; }
.risk-warning p { margin: 0 0 6px; font-size: .9rem; line-height: 1.7; }
.risk-warning a { color: #b91c1c; font-weight: 600; font-size: .88rem; }
.badge-risk { background: #fee2e2; color: #b91c1c; }
.warn-count { color: #b91c1c; font-weight: 600; }
.licence-regulated { background: #dcfce7; color: #166534; }
.licence-offshore { background: #fef3c7; color: #92400e; }
.licence-unlicensed { background: #fee2e2; color: #b91c1c; }

/* ---------- performance: skip rendering off-screen sections until they are near ---------- */
main > .section, footer.site { content-visibility: auto; contain-intrinsic-size: auto 600px; }

/* ---------- phones (kept last so it wins) ---------- */
@media (max-width: 767px) {
    /* The live ticker is a heavy third-party widget: desktop only (the script is not loaded either). */
    .ticker { display: none; }
}
@media (max-width: 640px) {
    /* 16px stops iOS from zooming the page when a field gets focus. */
    input, select, textarea { font-size: 16px !important; }
    h2 { margin-top: 28px; }
    .section-head { flex-wrap: wrap; align-items: baseline; }
    .section-head p { font-size: .88rem; }

    /* Home: hero buttons side by side, compact two-column shortcuts, swipeable rows instead of long stacks. */
    .hero { padding: 24px 16px; }
    .hero > .hero-grid p, .hero-grid > div > p { font-size: .98rem; }
    .hero-actions { display: grid; grid-template-columns: 1fr 1fr; }
    .hero-actions > * { padding-inline: 10px; text-align: center; }
    .hero-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
    .explore-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
    .explore-tile { flex-direction: column; align-items: flex-start; gap: 8px; padding: 12px; }
    .explore-tile strong { font-size: .92rem; line-height: 1.45; }
    .explore-tile small { display: none; }
    .scroller { display: grid; grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 82%; gap: 12px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; padding-bottom: 8px; margin-inline: -16px; padding-inline: 16px; scroll-padding-inline: 16px; scrollbar-width: none; }
    .scroller::-webkit-scrollbar { display: none; }
    .scroller > * { scroll-snap-align: start; }
    .home-top .top-table tbody tr:nth-child(n+6) { display: none; }
    .logo-wall { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
    .logo-wall a { padding: 10px 6px; font-size: .78rem; line-height: 1.4; }
    .logo-wall img { width: 40px; height: 40px; }
    .chips a, .chips li { padding: 6px 12px; font-size: .86rem; }

    /* Review pages: tighter header card, full-width actions. */
    .review-hero { padding: 18px 14px; gap: 12px; }
    .review-logo, .review-logo-fallback { width: 72px; height: 72px; }
    .review-actions > .cta, .review-actions > .btn-ghost { flex: 1 1 100%; }
    .answer, .pc-box, .faq-item { padding: 12px 14px; }

    /* All-brokers table: filters in a tidy two-column grid. */
    .cmp-filters { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 12px; }
    .cmp-filters .cmp-search { grid-column: 1 / -1; }
    .cmp-filters label { min-width: 0; }
    .cmp-filters select, .cmp-filters input[type="search"] { width: 100%; }
    .cmp-filters .cmp-check { padding: 6px 0; }
    .cmp-reset { grid-column: 1 / -1; justify-self: start; padding-inline: 0; }

    /* Tap targets: at least ~44px high. */
    .link-list a { padding: 11px 0; }
    .toc a, .nav-panel a { padding-block: 11px; }
    .footer-grid ul { gap: 2px; }
    .footer-grid ul a { display: inline-block; padding: 7px 0; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 22px 16px; }
    .footer-about { grid-column: 1 / -1; }

    /* Keep the chat button small and out of the way of the last links. */
    #qt-chat .qtc-fab { width: 48px; height: 48px; inset-inline-start: 12px; bottom: 12px; }
    .footer-bottom { padding-bottom: 76px; }
}
