:root {
  --bg: #f3f7ff;
  --surface: #ffffff;
  --surface-alt: #eef3ff;
  --line: #d7e1f5;
  --text: #14213d;
  --muted: #5d6c8c;
  --navy: #121c36;
  --navy-soft: #1d2c55;
  --blue: #285cff;
  --blue-strong: #0e36ff;
  --shadow: 0 20px 50px rgba(17, 33, 61, 0.08);
  --radius: 24px;
  --radius-sm: 16px;
  --container: min(1180px, calc(100vw - 32px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: linear-gradient(180deg, #f6f8ff 0%, #eef4ff 100%);
  color: var(--text);
}

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

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

button,
input,
select {
  font: inherit;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(215, 225, 245, 0.8);
}

.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 92px;
}

.brand-logo {
  width: 150px;
  height: 50px;
  object-fit: contain;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-item {
  position: relative;
  padding-bottom: 10px;
  margin-bottom: -10px;
}

.nav-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--navy-soft);
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.nav-item:hover .nav-trigger,
.nav-item.open .nav-trigger {
  background: rgba(40, 92, 255, 0.12);
  color: var(--blue);
  box-shadow: inset 0 0 0 1px rgba(40, 92, 255, 0.14);
}

.nav-item.is-active .nav-trigger {
  color: var(--navy);
}

.dropdown-panel {
  position: absolute;
  top: calc(100% + 2px);
  right: 0;
  min-width: 280px;
  padding: 12px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(215, 225, 245, 0.95);
  box-shadow: 0 24px 50px rgba(16, 29, 57, 0.12);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.dropdown-panel-reviews {
  width: min(580px, calc(100vw - 32px));
  min-width: 580px;
  padding: 12px;
}

.nav-item.open .dropdown-panel,
.nav-item:hover .dropdown-panel {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.dropdown-link {
  display: grid;
  grid-template-columns: 44px 1fr;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 14px;
  color: var(--navy-soft);
  font-weight: 600;
  transition: background-color 0.18s ease, color 0.18s ease;
}

.dropdown-link:hover,
.dropdown-link.active {
  background: rgba(40, 92, 255, 0.08);
  color: var(--blue);
}

.review-dropdown-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(4, minmax(0, auto));
  grid-auto-flow: column;
  gap: 8px;
}

.review-dropdown-link {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 50px;
  padding: 9px 10px;
  border-radius: 12px;
  color: var(--navy-soft);
  font-weight: 700;
  font-size: 0.92rem;
  transition: background-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

.review-dropdown-link:hover,
.review-dropdown-link.active {
  background: rgba(40, 92, 255, 0.08);
  color: var(--blue);
  box-shadow: inset 0 0 0 1px rgba(40, 92, 255, 0.12);
}

.review-dropdown-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: #fff;
  border: 1px solid rgba(215, 225, 245, 0.92);
  flex: 0 0 auto;
  overflow: hidden;
}

.review-dropdown-logo .broker-logo-image.compact {
  width: 20px;
  height: 20px;
}

.review-dropdown-logo .broker-logo-monogram.compact {
  width: 20px;
  height: 20px;
  border-radius: 7px;
  font-size: 0.74rem;
}

.review-dropdown-name {
  line-height: 1.3;
}

.review-dropdown-footer {
  display: flex;
  justify-content: center;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(215, 225, 245, 0.92);
}

.review-dropdown-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 999px;
  background: rgba(40, 92, 255, 0.08);
  color: var(--blue);
  font-weight: 800;
  box-shadow: inset 0 0 0 1px rgba(40, 92, 255, 0.14);
  transition: background-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.review-dropdown-button:hover,
.review-dropdown-button.active {
  background: rgba(40, 92, 255, 0.14);
  color: var(--blue-strong);
}

.dropdown-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(40, 92, 255, 0.12), rgba(40, 92, 255, 0.08));
  color: var(--blue);
}

.dropdown-icon svg,
.button-icon svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.menu-toggle,
.mobile-nav {
  display: none;
}

.hero-section {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(8, 14, 31, 0.94) 0%, rgba(20, 31, 69, 0.9) 56%, rgba(53, 74, 202, 0.72) 100%),
    url("/assets/images/banner.6d53d867e09fbf110a29.png") center/cover no-repeat;
  color: #fff;
}

.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 84px 84px;
  opacity: 0.28;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 48px;
  align-items: center;
  min-height: 560px;
  padding: 72px 0;
}

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

.hero-grid-single .hero-copy {
  max-width: 760px;
}

.hero-section-compact .hero-grid {
  min-height: 360px;
  padding: 56px 0;
}

.hero-copy h1 {
  margin: 0 0 18px;
  font-size: clamp(2.6rem, 6vw, 5.2rem);
  line-height: 0.95;
  letter-spacing: 0;
  max-width: 12ch;
}

.hero-section-compact .hero-copy h1 {
  max-width: 16ch;
  font-size: clamp(2.4rem, 5vw, 4.3rem);
}

.hero-copy p {
  max-width: 620px;
  margin: 0;
  font-size: clamp(1rem, 1.5vw, 1.45rem);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.86);
}

.hero-badge,
.hero-meta {
  display: inline-flex;
  align-items: center;
  margin-bottom: 18px;
  min-height: 38px;
  padding: 0 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.92rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero-actions {
  margin-top: 28px;
}

.hero-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-chip {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.88);
  font-weight: 600;
}

.hero-panel {
  display: flex;
  justify-content: flex-end;
}

.hero-panel-card,
.review-score-card {
  width: min(100%, 420px);
  padding: 28px;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.98);
  color: var(--text);
  box-shadow: 0 30px 60px rgba(10, 18, 38, 0.2);
}

.hero-panel-card h2 {
  margin: 0 0 12px;
  font-size: 1.5rem;
}

.hero-panel-card p,
.hero-panel-list {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.hero-panel-list {
  padding-left: 18px;
  margin-top: 18px;
}

.section-block {
  padding: 72px 0;
}

.section-alt {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.32), rgba(238, 244, 255, 0.7));
}

.section-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 30px;
}

.section-header.center {
  justify-content: center;
  text-align: center;
}

.section-header.split {
  align-items: center;
}

.section-header h2 {
  margin: 0 0 10px;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.05;
}

.section-header p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.broker-grid,
.learning-grid,
.spread-preview-grid,
.compare-grid,
.article-layout,
.pros-cons-grid {
  display: grid;
  gap: 24px;
}

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

.learning-grid,
.spread-preview-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.compare-grid,
.article-layout,
.pros-cons-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.broker-card,
.learning-card,
.spread-preview-card,
.table-card,
.filters-panel,
.compare-controls,
.review-article,
.sidebar-card,
.article-card,
.info-card,
.spread-row,
.empty-state {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(215, 225, 245, 0.92);
  box-shadow: var(--shadow);
}

.broker-card,
.learning-card,
.spread-preview-card,
.article-card,
.info-card,
.empty-state {
  border-radius: var(--radius);
}

.broker-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  padding: 32px 28px 26px;
  height: 100%;
}

.card-recommended {
  position: absolute;
  top: -12px;
  left: 50%;
  display: inline-flex;
  justify-content: center;
  min-height: 34px;
  align-items: center;
  width: max-content;
  max-width: calc(100% - 40px);
  padding: 0 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-strong) 100%);
  color: #fff;
  font-weight: 700;
  font-size: 0.88rem;
  white-space: nowrap;
  transform: translateX(-50%);
  box-shadow: 0 10px 20px rgba(40, 92, 255, 0.18);
}

.broker-logo-link {
  display: inline-flex;
}

.broker-logo-frame {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 96px;
  height: 96px;
  border-radius: 24px;
  background: #fff;
  border: 1px solid rgba(215, 225, 245, 0.92);
  box-shadow: 0 14px 24px rgba(17, 33, 61, 0.1);
  overflow: hidden;
}

.broker-logo-frame.large {
  width: 104px;
  height: 104px;
}

.broker-logo-frame.small {
  width: 74px;
  height: 74px;
  border-radius: 18px;
}

.broker-logo-image {
  width: 72px;
  height: 72px;
  object-fit: contain;
}

.broker-logo-image.compact {
  width: 56px;
  height: 56px;
}

.broker-logo-monogram {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 70px;
  height: 70px;
  border-radius: 20px;
  background: linear-gradient(160deg, #1a2d57 0%, #3257ff 100%);
  color: #fff;
  font-size: 2rem;
  font-weight: 800;
}

.broker-logo-monogram.compact {
  width: 54px;
  height: 54px;
  font-size: 1.45rem;
  border-radius: 16px;
}

.broker-name {
  margin: 0;
  font-size: 1.45rem;
  text-align: center;
}

.rating-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 14px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(215, 225, 245, 0.96);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.rating-stars {
  position: relative;
  display: inline-block;
  font-size: 1rem;
  letter-spacing: 0;
  line-height: 1;
}

.rating-stars-base {
  color: #d6dced;
}

.rating-stars-fill {
  position: absolute;
  top: 0;
  left: 0;
  overflow: hidden;
  color: #f2b72a;
  white-space: nowrap;
}

.rating-score {
  font-weight: 800;
  color: var(--navy);
}

.rating-scale {
  color: #97a3c2;
  font-weight: 700;
}

.broker-stats {
  width: 100%;
  display: grid;
  gap: 14px;
  margin: 0;
}

.broker-card-actions {
  width: 100%;
  margin-top: auto;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 14px;
}

.broker-stats div {
  display: grid;
  grid-template-columns: 132px 1fr;
  gap: 12px;
}

.broker-stats.compact div {
  grid-template-columns: 110px 1fr;
}

.broker-stats dt {
  color: var(--muted);
  font-weight: 700;
}

.broker-stats dd {
  margin: 0;
  font-weight: 600;
  color: var(--text);
}

.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 20px;
  border: 0;
  border-radius: 16px;
  font-weight: 800;
  font-size: 0.95rem;
  color: #fff;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-strong) 100%);
  box-shadow: 0 18px 28px rgba(40, 92, 255, 0.28);
}

.primary-button:hover,
.secondary-button:hover {
  transform: translateY(-1px);
  filter: saturate(1.05);
}

.primary-button-full,
.primary-button-wide {
  width: 100%;
}

.secondary-button {
  min-height: 52px;
  padding: 0 20px;
  color: var(--blue);
  background: rgba(40, 92, 255, 0.08);
  box-shadow: inset 0 0 0 1px rgba(40, 92, 255, 0.14);
}

.button-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.text-link {
  color: var(--navy);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-align: center;
}

.broker-risk {
  margin: 0;
  min-height: 3.2em;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  text-align: center;
  color: #7c88a4;
  font-size: 0.93rem;
  line-height: 1.6;
}

.spread-preview-card,
.learning-card {
  overflow: hidden;
}

.spread-preview-card {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.spread-preview-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}

.spread-preview-head h3,
.learning-card h3,
.review-score-main,
.review-section h2,
.review-section h3,
.article-card h2,
.info-card h3,
.empty-state h1 {
  margin: 0;
}

.spread-preview-head p,
.spread-preview-card p,
.country-hero-copy p,
.filters-note,
.sidebar-list,
.footer-copy {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.spread-preview-values {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.spread-preview-values div,
.spread-metric {
  padding: 16px;
  border-radius: 18px;
  background: var(--surface-alt);
}

.spread-preview-values span,
.spread-metric span {
  display: block;
  color: var(--muted);
  margin-bottom: 8px;
  font-size: 0.92rem;
}

.spread-preview-values strong,
.spread-metric strong {
  font-size: 1.35rem;
}

.spread-preview-note {
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.7;
}

.learning-card-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.learning-card-body {
  padding: 24px;
}

.learning-card-body p {
  color: var(--muted);
  line-height: 1.7;
}

.filters-panel,
.compare-controls {
  padding: 28px;
  border-radius: var(--radius);
}

.filters-panel {
  margin-bottom: 24px;
}

.compare-controls {
  margin-bottom: 28px;
}

.filters-grid,
.compare-filters {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.compare-filters {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.field {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.field span {
  color: var(--navy);
  font-weight: 700;
}

.field input,
.field select {
  width: 100%;
  min-height: 56px;
  padding: 0 18px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--text);
  outline: none;
}

.field input:focus,
.field select:focus {
  border-color: rgba(40, 92, 255, 0.55);
  box-shadow: 0 0 0 4px rgba(40, 92, 255, 0.08);
}

.review-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) 320px;
  gap: 24px;
}

.review-article,
.sidebar-card {
  border-radius: var(--radius);
}

.review-article {
  padding: 30px;
}

.education-article {
  padding: 34px;
}

.review-sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.review-section {
  padding: 0 0 26px;
  border-bottom: 1px solid rgba(215, 225, 245, 0.92);
  margin-bottom: 26px;
}

.review-section:last-child {
  border-bottom: 0;
  margin-bottom: 0;
  padding-bottom: 0;
}

.education-intro p + p,
.education-section p + p {
  margin-top: 14px;
}

.review-section p,
.review-section li,
.article-card p,
.info-card li,
.country-hero-copy,
.sidebar-list li {
  color: var(--muted);
  line-height: 1.8;
}

.review-score-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}

.review-score-copy {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.review-score-main {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
}

.rating-breakdown {
  display: grid;
  gap: 14px;
}

.rating-breakdown-row {
  display: grid;
  grid-template-columns: 110px 1fr 48px;
  gap: 12px;
  align-items: center;
}

.rating-breakdown-bar {
  height: 10px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(40, 92, 255, 0.12);
}

.rating-breakdown-bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--blue) 0%, var(--blue-strong) 100%);
}

.stack-list {
  margin: 14px 0 0;
  padding-left: 18px;
}

.sidebar-card {
  padding: 24px;
}

.education-side-card h3 {
  margin: 0 0 12px;
}

.education-side-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.education-side-list {
  list-style: disc;
  padding-left: 18px;
}

.education-side-list li + li,
.education-links li + li {
  margin-top: 10px;
}

.education-links {
  list-style: none;
  padding: 0;
}

.education-links a {
  color: var(--navy);
  font-weight: 700;
}

.education-links a:hover {
  color: var(--blue);
}

.sidebar-list {
  list-style: none;
  padding: 0;
}

.sidebar-list li + li {
  margin-top: 10px;
}

.compare-card {
  display: flex;
  flex-direction: column;
  padding: 26px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(215, 225, 245, 0.92);
  box-shadow: var(--shadow);
}

.compare-card-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.compare-card-button {
  min-height: 44px;
  width: fit-content;
  min-width: 172px;
  padding: 0 16px;
  margin-top: 18px;
  border-radius: 14px;
  font-size: 0.88rem;
}

.compare-table-wrap {
  margin-top: 30px;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
}

.comparison-table th,
.comparison-table td {
  padding: 16px 18px;
  text-align: left;
  border-bottom: 1px solid rgba(215, 225, 245, 0.92);
  vertical-align: top;
}

.comparison-table thead th {
  color: var(--navy);
  background: rgba(40, 92, 255, 0.04);
}

.table-card {
  border-radius: var(--radius);
  overflow: auto;
}

.spread-rows {
  display: grid;
  gap: 18px;
}

.spread-row {
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr) 220px;
  align-items: center;
  gap: 20px;
  padding: 22px 24px;
  border-radius: var(--radius);
}

.spread-row-main {
  display: grid;
  grid-template-columns: minmax(240px, 1.1fr) 160px 160px 180px;
  gap: 20px;
  align-items: center;
}

.spread-row-side {
  width: 220px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.spread-rank {
  width: 56px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(40, 92, 255, 0.12), rgba(40, 92, 255, 0.05));
  color: var(--blue);
  font-weight: 800;
  font-size: 1rem;
}

.spread-broker {
  display: flex;
  align-items: center;
  gap: 16px;
}

.spread-broker h3 {
  margin: 0 0 6px;
}

.spread-broker p {
  margin: 0;
  color: var(--muted);
}

.spread-insight-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 30px;
}

.spread-insight-card {
  padding: 22px 24px;
  border-radius: var(--radius);
}

.spread-insight-card strong {
  display: block;
  margin: 10px 0 8px;
  font-size: 2rem;
  line-height: 1;
  color: var(--navy);
}

.spread-insight-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.spread-insight-label {
  display: inline-block;
  color: var(--blue);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.country-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.country-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(215, 225, 245, 0.92);
  color: var(--navy-soft);
  font-weight: 700;
}

.country-tab.active,
.country-tab:hover {
  background: rgba(40, 92, 255, 0.08);
  color: var(--blue);
  box-shadow: inset 0 0 0 1px rgba(40, 92, 255, 0.14);
}

.country-hero-copy {
  max-width: 840px;
}

.country-regulator {
  margin-top: 16px;
  font-weight: 700;
  color: var(--navy);
}

.site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.92);
  margin-top: 64px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 24px;
  padding: 52px 0;
}

.footer-title {
  margin: 0 0 14px;
  font-size: 1.05rem;
}

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

.footer-list li + li {
  margin-top: 10px;
}

.footer-list a {
  color: rgba(255, 255, 255, 0.74);
}

.footer-list a:hover {
  color: #fff;
}

.empty-state {
  max-width: 720px;
  margin: 0 auto;
  padding: 48px;
  text-align: center;
}

@media (max-width: 1100px) {
  .hero-grid,
  .review-layout {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    justify-content: flex-start;
  }

  .broker-grid,
  .learning-grid,
  .spread-preview-grid,
  .footer-grid,
  .compare-grid,
  .article-layout,
  .pros-cons-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .spread-row {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .compare-card-button {
    width: 100%;
  }

  .spread-row-main {
    grid-template-columns: 1fr;
  }

  .spread-row-side {
    width: 100%;
  }

  .spread-insight-grid {
    grid-template-columns: 1fr;
  }

  .dropdown-panel-reviews {
    width: min(520px, calc(100vw - 32px));
    min-width: 520px;
  }

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

@media (max-width: 820px) {
  .site-header-inner {
    min-height: 82px;
  }

  .desktop-nav {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 14px;
    background: rgba(40, 92, 255, 0.08);
  }

  .menu-toggle span {
    width: 20px;
    height: 2px;
    margin: 0 auto;
    background: var(--navy);
  }

  .mobile-nav {
    display: block;
    padding: 0 16px 18px;
    border-top: 1px solid rgba(215, 225, 245, 0.92);
    background: rgba(255, 255, 255, 0.98);
  }

  .mobile-nav-section + .mobile-nav-section {
    margin-top: 10px;
  }

  .mobile-section-trigger {
    width: 100%;
    min-height: 52px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 18px;
    border-radius: 16px;
    border: 1px solid rgba(215, 225, 245, 0.92);
    background: #fff;
    color: var(--navy);
    font-weight: 700;
  }

  .mobile-section-panel {
    display: none;
    padding: 10px 0 0;
  }

  .dropdown-panel-reviews {
    width: auto;
    min-width: 0;
    padding: 0;
  }

  .review-dropdown-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .review-dropdown-link {
    min-height: 56px;
    padding: 10px 12px;
    border: 1px solid rgba(215, 225, 245, 0.92);
    background: #fff;
  }

  .review-dropdown-footer {
    margin-top: 12px;
    padding-top: 12px;
  }

  .mobile-nav-section.open .mobile-section-panel {
    display: block;
  }

  .hero-grid {
    min-height: auto;
    padding: 56px 0 42px;
  }

  .hero-copy h1,
  .hero-section-compact .hero-copy h1 {
    max-width: 100%;
    font-size: clamp(2.4rem, 12vw, 4rem);
  }

  .hero-copy p {
    max-width: 100%;
  }

  .broker-grid,
  .learning-grid,
  .spread-preview-grid,
  .footer-grid,
  .compare-grid,
  .article-layout,
  .pros-cons-grid,
  .filters-grid,
  .compare-filters {
    grid-template-columns: 1fr;
  }

  .section-block {
    padding: 56px 0;
  }

  .section-header {
    align-items: start;
    flex-direction: column;
  }

  .broker-card {
    padding-left: 22px;
    padding-right: 22px;
  }

  .broker-stats div,
  .broker-stats.compact div {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .rating-breakdown-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .learning-card-image {
    height: 200px;
  }

  .spread-preview-values {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid {
    padding: 42px 0;
  }
}
