﻿:root{
  --shell-bg:rgba(6,6,6,.96);
  --shell-line:rgba(216,173,78,.22);
  --shell-gold:#f3d77d;
  --shell-muted:#c7bfae;
  --shell-panel:#0d0d0d;
  --shell-shadow:0 24px 70px rgba(0,0,0,.48);
}
.site-header{
  position:sticky!important;
  top:0!important;
  z-index:1000!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:1rem!important;
  min-height:68px!important;
  padding:.7rem clamp(1rem,3vw,2.25rem)!important;
  background:var(--shell-bg)!important;
  border-bottom:1px solid var(--shell-line)!important;
  backdrop-filter:blur(14px)!important;
}
.site-header .brand-link{
  display:flex!important;
  align-items:center!important;
  gap:.7rem!important;
  flex:0 0 auto!important;
  color:var(--shell-gold)!important;
  font-weight:900!important;
  text-decoration:none!important;
}
.site-header .brand-logo{
  width:40px!important;
  height:40px!important;
  object-fit:contain!important;
  background:transparent!important;
}
.site-header .brand-word{
  display:inline!important;
  color:var(--shell-gold)!important;
  font-family:Georgia,serif!important;
  font-size:1.02rem!important;
  letter-spacing:.03em!important;
}
.site-nav{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:.18rem!important;
  margin:0!important;
  padding:0!important;
}
.site-nav>a,
.site-nav .nav-item-row>a{
  display:inline-flex!important;
  align-items:center!important;
  min-height:40px!important;
  padding:.5rem .68rem!important;
  border-radius:999px!important;
  color:var(--shell-muted)!important;
  font-size:.88rem!important;
  font-weight:800!important;
  line-height:1!important;
  text-decoration:none!important;
  white-space:nowrap!important;
}
.site-nav>a:hover,
.site-nav .nav-item-row>a:hover,
.site-nav>a.active,
.site-nav .nav-item-row>a.active{
  color:var(--shell-gold)!important;
  background:rgba(216,173,78,.12)!important;
}
.nav-dropdown{position:relative!important}
.nav-item-row{
  display:flex!important;
  align-items:center!important;
  gap:.05rem!important;
}
.nav-submenu-toggle{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:32px!important;
  height:32px!important;
  padding:0!important;
  border:0!important;
  border-radius:999px!important;
  background:transparent!important;
  color:var(--shell-muted)!important;
  font:inherit!important;
  font-weight:900!important;
  cursor:pointer!important;
}
.nav-submenu-toggle:hover,
.nav-submenu-toggle:focus-visible{
  color:var(--shell-gold)!important;
  background:rgba(216,173,78,.12)!important;
}
.drop-menu,
.mega-menu{
  position:absolute!important;
  top:calc(100% + .45rem)!important;
  right:0!important;
  z-index:1100!important;
  display:none!important;
  min-width:235px!important;
  padding:.65rem!important;
  border:1px solid var(--shell-line)!important;
  border-radius:18px!important;
  background:var(--shell-panel)!important;
  box-shadow:var(--shell-shadow)!important;
}
.mega-menu{
  right:-250px!important;
  width:min(960px,92vw)!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:.35rem!important;
}
.nav-dropdown:hover>.drop-menu,
.nav-dropdown:focus-within>.drop-menu,
.mega-wrap:hover>.mega-menu,
.mega-wrap:focus-within>.mega-menu,
.nav-dropdown.open>.drop-menu,
.mega-wrap.open>.mega-menu{
  display:block!important;
}
.mega-wrap:hover>.mega-menu,
.mega-wrap:focus-within>.mega-menu,
.mega-wrap.open>.mega-menu{
  display:grid!important;
}
.drop-menu a,
.mega-col a{
  display:block!important;
  padding:.58rem .7rem!important;
  border-radius:11px!important;
  color:var(--shell-muted)!important;
  font-size:.9rem!important;
  font-weight:700!important;
  text-decoration:none!important;
}
.drop-menu a:hover,
.mega-col a:hover{
  color:var(--shell-gold)!important;
  background:rgba(216,173,78,.1)!important;
}
.mega-col{padding:.65rem!important}
.mega-col strong{
  display:block!important;
  margin-bottom:.25rem!important;
  color:var(--shell-gold)!important;
}
.mega-col p{
  margin:.35rem 0!important;
  color:var(--shell-muted)!important;
  font-size:.88rem!important;
}
.mobile-menu-toggle{
  display:none!important;
  min-height:40px!important;
  padding:.55rem .82rem!important;
  border:1px solid var(--shell-line)!important;
  border-radius:999px!important;
  background:#111!important;
  color:var(--shell-gold)!important;
  font:inherit!important;
  font-weight:900!important;
  cursor:pointer!important;
}
.site-footer{
  margin-top:2rem!important;
  padding:2.2rem clamp(1rem,4vw,4rem)!important;
  border-top:1px solid var(--shell-line)!important;
  background:#050505!important;
}
.site-footer .footer-grid{
  width:100%!important;
  max-width:1240px!important;
  margin:0 auto!important;
  display:grid!important;
  grid-template-columns:2fr repeat(4,minmax(125px,1fr)) 1.25fr!important;
  gap:1.25rem!important;
}
.site-footer .footer-grid>div{min-width:0!important}
.site-footer .footer-brand-link{
  display:inline-flex!important;
  align-items:center!important;
  gap:.62rem!important;
  margin:0 0 .55rem!important;
  color:var(--shell-gold)!important;
  text-decoration:none!important;
}
.site-footer .footer-brand-logo{
  width:34px!important;
  height:34px!important;
  object-fit:contain!important;
  flex:0 0 34px!important;
}
.site-footer .footer-brand{
  display:inline!important;
  color:var(--shell-gold)!important;
  font-family:Georgia,serif!important;
  font-size:1.22rem!important;
  margin:0!important;
}
.site-footer strong{
  color:var(--shell-gold)!important;
}
.site-footer p{
  color:var(--shell-muted)!important;
  line-height:1.6!important;
}
.site-footer a{
  display:block!important;
  margin:.34rem 0!important;
  color:var(--shell-muted)!important;
  text-decoration:none!important;
  font-size:.91rem!important;
}
.site-footer a:hover{color:var(--shell-gold)!important}
.site-footer .footer-social-links{
  display:flex!important;
  flex-wrap:wrap!important;
  gap:.42rem .8rem!important;
  margin-top:.8rem!important;
}
.site-footer .footer-social-links a{
  display:inline-flex!important;
  align-items:center!important;
  gap:.38rem!important;
  margin:0!important;
  color:var(--shell-gold)!important;
  font-weight:800!important;
}
.site-footer .footer-social-links img{
  width:18px!important;
  height:18px!important;
  object-fit:contain!important;
  flex:0 0 18px!important;
}

.site-footer .footer-bottom{
  width:100%!important;
  max-width:1240px!important;
  margin:1.5rem auto 0!important;
  padding-top:1rem!important;
  border-top:1px solid rgba(216,173,78,.14)!important;
  display:grid!important;
  gap:.35rem!important;
  color:#8f8778!important;
  font-size:.83rem!important;
}
@media (max-width:1120px){
  .mobile-menu-toggle{display:inline-flex!important}
  .site-header{align-items:center!important}
  .site-nav{
    display:none!important;
    position:absolute!important;
    top:calc(100% + .45rem)!important;
    left:1rem!important;
    right:1rem!important;
    max-height:calc(100vh - 100px)!important;
    overflow:auto!important;
    padding:.8rem!important;
    border:1px solid var(--shell-line)!important;
    border-radius:20px!important;
    background:#080808!important;
    box-shadow:var(--shell-shadow)!important;
    flex-direction:column!important;
    align-items:stretch!important;
  }
  .site-nav.open{display:flex!important}
  .site-nav>a,
  .nav-item-row>a{
    width:100%!important;
    justify-content:flex-start!important;
    border-radius:14px!important;
  }
  .nav-item-row{width:100%!important}
  .nav-item-row>a{flex:1 1 auto!important}
  .nav-submenu-toggle{
    flex:0 0 40px!important;
    width:40px!important;
    height:40px!important;
  }
  .drop-menu,
  .mega-menu{
    position:static!important;
    width:auto!important;
    min-width:0!important;
    margin:.25rem 0 .5rem!important;
    box-shadow:none!important;
  }
  .nav-dropdown:hover>.drop-menu,
  .nav-dropdown:focus-within>.drop-menu,
  .mega-wrap:hover>.mega-menu,
  .mega-wrap:focus-within>.mega-menu{
    display:none!important;
  }
  .nav-dropdown.open>.drop-menu{display:block!important}
  .mega-wrap.open>.mega-menu{
    display:grid!important;
    grid-template-columns:1fr!important;
  }
}
@media (max-width:900px){
  .site-footer .footer-grid{grid-template-columns:1fr!important}
}


.drop-menu.country-menu {
  width: min(780px, calc(100vw - 2rem)) !important;
  max-height: min(74vh, 620px) !important;
  overflow-y: auto !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: .15rem .5rem !important;
}
.nav-dropdown:hover .drop-menu.country-menu,
.nav-dropdown:focus-within .drop-menu.country-menu,
.nav-dropdown.open .drop-menu.country-menu {
  display: grid !important;
}
.drop-menu.country-menu .country-menu-all {
  grid-column: 1 / -1 !important;
  color: var(--gold2) !important;
  font-weight: 900 !important;
  border-bottom: 1px solid rgba(216,173,78,.16) !important;
  margin-bottom: .25rem !important;
}
.drop-menu.country-menu .country-menu-region {
  color: var(--gold2) !important;
  font-size: .74rem !important;
  font-weight: 900 !important;
  letter-spacing: .12em !important;
  text-transform: uppercase !important;
  padding: .65rem .75rem .25rem !important;
  pointer-events: none !important;
}
.country-template-page,
.country-template-page body,
body.country-template-page {
  max-width: 100% !important;
  overflow-x: hidden !important;
}
.country-template-page .container,
.country-template-page .site-footer .footer-grid,
.country-template-page .site-footer .footer-bottom {
  width: min(1120px, calc(100% - 48px)) !important;
  max-width: 1120px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}
.country-template-page .hero-grid,
.country-template-page .source-grid,
.country-template-page .country-dual-grid,
.country-template-page .country-region-grid,
.country-template-page .country-tool-grid,
.country-template-page .footer-grid {
  min-width: 0 !important;
  justify-content: stretch !important;
}
.country-template-page .country-detail-hero .hero-grid {
  grid-template-columns: minmax(0, 1.06fr) minmax(280px, .94fr) !important;
}
.country-template-page .country-decision-section .container,
.country-template-page .country-related-tools .container {
  width: min(1120px, calc(100% - 48px)) !important;
  max-width: 1120px !important;
}
.country-template-page .country-tool-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 18px !important;
}
.country-template-page .country-tool-grid > .card,
.country-template-page .country-region-grid > .card,
.country-template-page .source-grid > .source-card {
  width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
}
.country-template-page .country-disclosure-section .container {
  width: min(1120px, calc(100% - 48px)) !important;
  max-width: 1120px !important;
}
.country-template-page .site-footer {
  max-width: 100% !important;
  overflow-x: clip !important;
}
.country-template-page .site-footer .footer-grid {
  grid-template-columns: minmax(260px, 1.45fr) repeat(5, minmax(120px, 1fr)) !important;
}
@media (max-width: 1120px) {
  .drop-menu.country-menu { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .country-template-page .site-footer .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
  .country-template-page .site-footer .footer-grid > div:first-child { grid-column: 1 / -1 !important; }
}
@media (max-width: 920px) {
  .drop-menu.country-menu { width: auto !important; max-height: 55vh !important; grid-template-columns: 1fr !important; }
  .country-template-page .country-detail-hero .hero-grid,
  .country-template-page .country-dual-grid,
  .country-template-page .country-tool-grid,
  .country-template-page .site-footer .footer-grid { grid-template-columns: 1fr !important; }
}
@media (max-width: 760px) {
  .country-template-page .container,
  .country-template-page .site-footer .footer-grid,
  .country-template-page .site-footer .footer-bottom,
  .country-template-page .country-decision-section .container,
  .country-template-page .country-related-tools .container,
  .country-template-page .country-disclosure-section .container {
    width: min(100% - 28px, 1120px) !important;
  }
}

.broker-directory-controls,
.academy-updates-capture-panel {
  border: 1px solid rgba(216,173,78,.26);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.018));
  box-shadow: var(--shadow);
}
.broker-directory-controls { padding: 1rem; margin: 1rem 0 1.2rem; }
.broker-filter-grid { display: grid; grid-template-columns: minmax(220px, 1.2fr) repeat(4, minmax(150px, .8fr)); gap: .75rem; align-items: end; }
.broker-filter-grid label { display: grid; gap: .35rem; color: var(--muted); font-weight: 800; font-size: .86rem; }
.broker-filter-grid input,
.broker-filter-grid select { min-height: 46px; border-radius: 14px; border: 1px solid rgba(216,173,78,.32); background: #080808; color: var(--text); padding: .72rem .8rem; }
.broker-result-meta { color: var(--muted); font-size: .94rem; margin: .8rem 0 0; }
.broker-card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.broker-card { display: flex; flex-direction: column; gap: .65rem; min-width: 0; }
.broker-card .meta-row { display: flex; flex-wrap: wrap; gap: .35rem; }
.broker-card .meta-row span { border: 1px solid rgba(216,173,78,.2); border-radius: 999px; padding: .25rem .5rem; color: var(--gold2); font-size: .78rem; font-weight: 850; }
.broker-card .broker-notes { color: var(--muted); }
.broker-card .broker-actions { margin-top: auto; display: flex; flex-wrap: wrap; gap: .5rem; }
.broker-card .broker-actions a { font-weight: 900; color: var(--gold2); text-decoration: none; }
.academy-updates-capture-panel { padding: clamp(1rem, 3vw, 1.5rem); display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, .9fr); gap: 1.25rem; align-items: start; }
.academy-updates-capture-embed { min-height: 160px; border: 1px solid rgba(216,173,78,.2); border-radius: 18px; padding: 1rem; background: rgba(0,0,0,.22); overflow: hidden; }
.academy-updates-capture-fallback { margin-top: .8rem; font-size: .92rem; color: var(--muted); }
@media (max-width: 1180px) { .broker-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .broker-filter-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { .broker-card-grid, .broker-filter-grid, .academy-updates-capture-panel { grid-template-columns: 1fr; } }


@media (min-width: 1121px) {
  .nav-dropdown::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    height: .75rem;
    display: block;
  }
  .drop-menu,
  .mega-menu {
    top: calc(100% + .28rem) !important;
  }
}
.product-menu { min-width: 280px !important; }
.broker-filter-actions { display: flex; align-items: end; gap: .65rem; min-height: 46px; }
.broker-filter-actions .button { width: 100%; justify-content: center; min-height: 46px; padding: .72rem .9rem; }
.broker-result-meta span { color: var(--muted); }
.broker-empty-state { margin-top: .85rem; }
.regulator-reference-section { border-top: 1px solid rgba(216,173,78,.12); }
@media (max-width: 760px) {
  .broker-filter-actions .button { width: 100%; }
}

[hidden],
.broker-card[hidden],
[data-broker-card][hidden],
.broker-empty-state[hidden] {
  display: none !important;
}
.grid-2,
.grid-3,
.grid-4 {
  display: grid;
  gap: 1rem;
}
.product-bridge .compact-hero {
  padding-bottom: 1.4rem;
}
.product-spotlight {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr);
  gap: 1rem;
  align-items: stretch;
}
.product-spotlight-copy,
.product-spotlight-visual {
  min-width: 0;
}
.product-spotlight-visual {
  border: 1px solid rgba(216,173,78,.26);
  border-radius: 22px;
  background:
    radial-gradient(circle at 20% 20%, rgba(243,215,125,.16), transparent 32%),
    linear-gradient(180deg, rgba(216,173,78,.10), rgba(255,255,255,.025));
  padding: 1rem;
  display: grid;
  align-content: center;
  gap: .75rem;
  overflow: hidden;
}
.product-visual-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  color: var(--gold2);
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
  font-size: .82rem;
}
.product-visual-logo {
  width: 46px;
  height: 46px;
  object-fit: contain;
  filter: drop-shadow(0 8px 20px rgba(0,0,0,.45));
}
.product-hotkey-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .5rem;
}
.product-hotkey-grid span {
  min-height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(216,173,78,.28);
  border-radius: 14px;
  background: rgba(0,0,0,.32);
  color: var(--ink);
  font-weight: 900;
  box-shadow: inset 0 -10px 24px rgba(0,0,0,.20);
}
.product-route-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .75rem;
  margin-top: 1rem;
}
.product-route-list .mini-card {
  border: 1px solid rgba(216,173,78,.18);
  border-radius: 18px;
  padding: .85rem;
  background: rgba(255,255,255,.025);
}
.product-roadmap-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.product-status-pill {
  display: inline-flex;
  width: max-content;
  max-width: 100%;
  border: 1px solid rgba(216,173,78,.30);
  border-radius: 999px;
  padding: .25rem .55rem;
  color: var(--gold2);
  font-size: .76rem;
  font-weight: 900;
  margin-bottom: .55rem;
}
.product-timing-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
}
@media (max-width: 920px) {
  .product-spotlight,
  .product-route-list,
  .product-roadmap-grid,
  .product-timing-panel {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 520px) {
  .product-hotkey-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.product-screenshot-card {
  align-items: center;
  justify-items: center;
  justify-content: center;
  text-align: left;
  background: #070707;
  padding: clamp(.9rem, 2vw, 1.15rem);
}
.product-screenshot {
  width: auto;
  max-width: min(100%, 299px);
  height: auto;
  margin-inline: auto;
  object-fit: contain;
  border-radius: 0;
  background: #000;
  box-shadow: 0 0 0 1px rgba(216,173,78,.20), 0 20px 55px rgba(0,0,0,.42);
}
.product-screenshot-card figcaption {
  width: 100%;
  max-width: 420px;
  margin-inline: auto;
}
.card-grid {
  display: grid;
  gap: 1rem;
}
.card-grid.compact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  align-items: start;
}
.regulator-reference-section .card-grid.compact-grid {
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
  gap: 1rem;
}
.regulator-reference-section .mini-card {
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  gap: .35rem;
  min-height: 0;
  height: auto;
  margin: 0;
  padding: 1rem;
  background: #0b0b0b;
  overflow: hidden;
  overflow-wrap: anywhere;
  word-break: normal;
  box-shadow: 0 16px 45px rgba(0,0,0,.30);
}
.regulator-reference-section .mini-card h3,
.regulator-reference-section .mini-card p {
  margin-top: 0;
}
.regulator-reference-section .mini-card a {
  display: inline-flex;
  width: max-content;
  max-width: 100%;
  align-items: center;
  margin-top: .65rem;
  overflow-wrap: anywhere;
  white-space: normal;
}
@media (max-width: 520px) {
  .card-grid.compact-grid,
  .regulator-reference-section .card-grid.compact-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .product-screenshot-card {
    padding: .8rem;
  }
}

.product-screenshot-card {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.product-screenshot-card figcaption {
  display: none !important;
}
.product-screenshot {
  display: block;
  margin: 0 auto;
}
.regulator-reference-section .section-title {
  max-width: 900px;
}
.regulator-reference-section .section-title h2 {
  font-size: clamp(2rem, 4vw, 3.05rem);
  line-height: 1.07;
}
.regulator-reference-copy {
  max-width: 860px;
  display: grid;
  gap: .8rem;
  margin: 0 0 1.25rem;
}
.regulator-reference-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.68;
}
.regulator-reference-section .card-grid.compact-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  align-items: stretch;
  gap: .9rem;
}
.regulator-reference-section .mini-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 148px;
  gap: .45rem;
  padding: .95rem;
}
.regulator-reference-section .mini-card h3 {
  font-size: .98rem;
  line-height: 1.22;
  margin: 0;
}
.regulator-reference-section .mini-card p {
  font-size: .9rem;
  line-height: 1.48;
  margin: 0;
}
.regulator-reference-section .mini-card p:first-of-type {
  min-height: 2.2em;
}
.regulator-reference-section .mini-card a {
  margin-top: auto;
  width: fit-content;
  max-width: 100%;
  white-space: normal;
}
@media (max-width: 720px) {
  .regulator-reference-section .section-title h2 {
    font-size: clamp(1.65rem, 9vw, 2.3rem);
  }
  .regulator-reference-section .mini-card {
    min-height: 0;
  }
  .regulator-reference-section .mini-card p:first-of-type {
    min-height: 0;
  }
}


/* Phase 3D-R1: Academy, country hub, favicon, and duplicate-content browser polish */
.academy-page .compact-hero{
  padding-top:clamp(2rem,4vw,3.4rem);
  padding-bottom:clamp(1.5rem,3vw,2.2rem);
}
.academy-page .compact-hero h1{
  max-width:760px;
}
.academy-updates-capture-panel{
  border:1px solid rgba(243,215,125,.26)!important;
  background:linear-gradient(135deg,rgba(243,215,125,.08),rgba(255,255,255,.025) 42%,rgba(0,0,0,.28))!important;
  box-shadow:0 28px 80px rgba(0,0,0,.44)!important;
}
.academy-updates-capture-panel h2{
  max-width:560px;
}
.academy-updates-benefits{
  display:grid;
  gap:.55rem;
  margin:1rem 0 0;
  padding:0;
  list-style:none;
}
.academy-updates-benefits li{
  position:relative;
  padding-left:1.35rem;
  color:var(--muted,#c7bfae);
  line-height:1.55;
}
.academy-updates-benefits li::before{
  content:"âœ“";
  position:absolute;
  left:0;
  top:0;
  color:var(--gold2,#f3d77d);
  font-weight:900;
}
.academy-updates-capture-embed{
  background:linear-gradient(180deg,rgba(0,0,0,.88),rgba(0,0,0,.66))!important;
  border-color:rgba(243,215,125,.34)!important;
  min-height:250px!important;
}
.academy-updates-capture-embed,
.academy-updates-capture-embed *{
  color:var(--ink,#f6f0df)!important;
}
.academy-updates-capture-embed input,
.academy-updates-capture-embed input[type="email"]{
  background:#f8f4e9!important;
  color:#0a0907!important;
  border:1px solid rgba(243,215,125,.65)!important;
  border-radius:10px!important;
}
.academy-updates-capture-embed button,
.academy-updates-capture-embed input[type="submit"]{
  background:linear-gradient(135deg,var(--gold2,#f3d77d),var(--gold,#d8ad4e))!important;
  color:#080602!important;
  border:0!important;
  border-radius:10px!important;
  font-weight:900!important;
}
.academy-page #path-heading{
  max-width:760px;
}
.country-index-page .country-index-hero{
  padding:clamp(2.1rem,4vw,3rem) 0 clamp(1.5rem,3vw,2.1rem)!important;
}
.country-index-page .country-index-hero .hero-grid{
  align-items:center!important;
  grid-template-columns:minmax(0,1fr) minmax(280px,.58fr)!important;
}
.country-index-page .country-index-hero h1{
  font-size:clamp(2.2rem,4.1vw,4.1rem)!important;
  line-height:1.02!important;
  max-width:780px!important;
}
.country-index-page .country-index-hero .lead{
  max-width:660px!important;
}
.country-index-page .country-index-hero .panel{
  align-self:center!important;
  padding:clamp(1.1rem,2.2vw,1.6rem)!important;
}
.country-index-page .country-region-grid .country-card{
  min-height:210px!important;
}
.country-index-page .country-region-grid .country-card p{
  max-width:68ch;
}
.country-tool-grid .card p{
  font-size:.98rem;
  line-height:1.62;
}
.site-footer .footer-social-links{
  gap:.45rem .55rem!important;
  align-items:center!important;
}
.site-footer .footer-social-links a{
  display:inline-flex!important;
  align-items:center!important;
  gap:.28rem!important;
  margin:.18rem .3rem .18rem 0!important;
  white-space:nowrap!important;
  line-height:1.2!important;
}
.site-footer .footer-social-links img{
  width:18px!important;
  height:18px!important;
  object-fit:contain!important;
  flex:0 0 18px!important;
}
@media (max-width:960px){
  .country-index-page .country-index-hero .hero-grid{
    grid-template-columns:1fr!important;
  }
}


/* Phase 3D-R2: Academy capture vertical alignment and country hero/card polish */
.academy-updates-capture-panel{
  align-items:center!important;
}
.academy-updates-capture-embed{
  align-self:center!important;
  width:100%!important;
  display:flex!important;
  flex-direction:column!important;
  justify-content:center!important;
}
.country-index-page .country-index-hero{
  padding:clamp(1.65rem,3.1vw,2.45rem) 0 clamp(1.2rem,2.4vw,1.75rem)!important;
}
.country-index-page .country-index-hero .hero-grid{
  grid-template-columns:minmax(0,.94fr) minmax(270px,.44fr)!important;
  gap:clamp(1.25rem,3.2vw,2.6rem)!important;
  align-items:center!important;
}
.country-index-page .country-index-hero h1{
  font-size:clamp(2rem,3.25vw,3.35rem)!important;
  line-height:1.04!important;
  max-width:650px!important;
}
.country-index-page .country-index-hero .lead{
  max-width:620px!important;
  font-size:clamp(1rem,1.2vw,1.08rem)!important;
}
.country-index-page .country-index-hero .panel{
  align-self:center!important;
  margin-top:0!important;
  max-width:360px!important;
  justify-self:center!important;
  padding:clamp(1rem,1.8vw,1.35rem)!important;
}
.country-index-page .country-index-hero .panel h2{
  font-size:clamp(2rem,3vw,3rem)!important;
  line-height:1.05!important;
}
.country-index-page .country-region-grid.country-region-grid-single{
  grid-template-columns:minmax(0, min(100%, 520px))!important;
  max-width:calc((100% - 1.5rem) / 2)!important;
}
.country-index-page .country-region-grid.country-region-grid-single .country-card{
  width:100%!important;
  min-height:210px!important;
}
@media (max-width:960px){
  .country-index-page .country-index-hero .hero-grid{
    grid-template-columns:1fr!important;
  }
  .country-index-page .country-index-hero .panel{
    justify-self:start!important;
    max-width:100%!important;
  }
  .country-index-page .country-region-grid.country-region-grid-single{
    max-width:100%!important;
    grid-template-columns:1fr!important;
  }
}


/* Phase 3D-R3: Country template alignment and country-index card sizing
   Purpose: make country index/detail hero sizing follow the approved compact page rhythm,
   and make single-country rows use the same card width as two-card rows. */
.country-index-page .country-index-hero{
  padding:clamp(1.35rem,2.4vw,2rem) 0 clamp(1rem,2vw,1.45rem)!important;
}
.country-index-page .country-index-hero .hero-grid{
  grid-template-columns:minmax(0,.9fr) minmax(260px,.42fr)!important;
  gap:clamp(1.2rem,2.6vw,2.2rem)!important;
  align-items:center!important;
}
.country-index-page .country-index-hero h1{
  font-size:clamp(1.95rem,2.75vw,3rem)!important;
  line-height:1.07!important;
  max-width:600px!important;
  letter-spacing:-.045em!important;
}
.country-index-page .country-index-hero .lead{
  max-width:600px!important;
  font-size:1rem!important;
  line-height:1.62!important;
}
.country-index-page .country-index-hero .panel{
  align-self:center!important;
  justify-self:center!important;
  max-width:360px!important;
  padding:clamp(1rem,1.6vw,1.25rem)!important;
}
.country-index-page .country-index-hero .panel h2{
  font-size:clamp(1.75rem,2.5vw,2.55rem)!important;
  line-height:1.08!important;
}
.country-index-page .country-region-grid.country-region-grid-single{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:clamp(1rem,2vw,1.5rem)!important;
  max-width:100%!important;
}
.country-index-page .country-region-grid.country-region-grid-single .country-card{
  grid-column:1!important;
  width:100%!important;
  max-width:none!important;
  min-height:210px!important;
}
.country-template-page .country-detail-hero{
  padding:clamp(1.65rem,3vw,2.35rem) 0 clamp(1.15rem,2.3vw,1.8rem)!important;
}
.country-template-page .country-detail-hero .hero-grid{
  grid-template-columns:minmax(0,.92fr) minmax(280px,.64fr)!important;
  gap:clamp(1.3rem,3vw,2.4rem)!important;
  align-items:center!important;
}
.country-template-page .country-detail-hero h1{
  font-size:clamp(2.15rem,3.45vw,3.65rem)!important;
  line-height:1.03!important;
  max-width:640px!important;
  letter-spacing:-.05em!important;
}
.country-template-page .country-detail-hero .lead{
  max-width:620px!important;
  font-size:1rem!important;
  line-height:1.65!important;
}
.country-template-page .country-detail-hero .panel{
  align-self:center!important;
}
.country-template-page .country-detail-hero .tag-grid{
  gap:.6rem!important;
}
.country-template-page .country-detail-hero .tag{
  font-size:.86rem!important;
  line-height:1.2!important;
}
@media (max-width:960px){
  .country-index-page .country-index-hero .hero-grid,
  .country-template-page .country-detail-hero .hero-grid{
    grid-template-columns:1fr!important;
  }
  .country-index-page .country-index-hero .panel,
  .country-template-page .country-detail-hero .panel{
    justify-self:start!important;
    max-width:100%!important;
  }
  .country-index-page .country-region-grid.country-region-grid-single{
    grid-template-columns:1fr!important;
  }
  .country-index-page .country-region-grid.country-region-grid-single .country-card{
    grid-column:auto!important;
  }
}

/* Phase 3D-R4: Country detail subheading rhythm mirror for shared shell builds. */
.country-template-page .country-official-sources h2,
.country-template-page .country-related-tools h2{
  font-size:clamp(1.85rem,2.75vw,2.85rem)!important;
  line-height:1.08!important;
  max-width:920px!important;
  letter-spacing:-.04em!important;
}
.country-template-page .country-decision-section h2{
  font-size:clamp(1.35rem,2.05vw,2rem)!important;
  line-height:1.14!important;
  letter-spacing:-.025em!important;
}

/* === NAV-R2C CANONICAL MENU START === */
.site-header[data-nav-system="canonical-r2c"]{isolation:isolate!important;}
.site-header[data-nav-system="canonical-r2c"] .site-nav{position:relative!important;}
.site-header[data-nav-system="canonical-r2c"] .nav-item-row>a.active,
.site-header[data-nav-system="canonical-r2c"] .site-nav>a.active{color:var(--shell-gold)!important;background:rgba(216,173,78,.12)!important;}
.site-header[data-nav-system="canonical-r2c"] .mega-menu.education-mega{width:min(1060px,calc(100vw - 56px))!important;right:-115px!important;grid-template-columns:1fr 1.35fr 1.15fr .95fr!important;gap:.8rem!important;padding:.9rem!important;}
.site-header[data-nav-system="canonical-r2c"] .mega-menu.tools-mega{width:min(980px,calc(100vw - 56px))!important;}
.site-header[data-nav-system="canonical-r2c"] .mega-menu.markets-mega{width:min(1080px,calc(100vw - 56px))!important;right:0!important;grid-template-columns:.9fr .9fr 1.2fr 1fr 1fr!important;gap:.8rem!important;padding:.9rem!important;}
.site-header[data-nav-system="canonical-r2c"] .mega-col{min-width:0!important;}
.site-header[data-nav-system="canonical-r2c"] .education-mega .mega-col,
.site-header[data-nav-system="canonical-r2c"] .markets-mega .mega-col{padding:.85rem!important;border:1px solid rgba(216,173,78,.16)!important;border-radius:16px!important;background:linear-gradient(180deg,rgba(216,173,78,.055),rgba(255,255,255,.018))!important;}
.site-header[data-nav-system="canonical-r2c"] .nav-menu-note{margin:.25rem 0 .45rem!important;color:rgba(199,191,174,.84)!important;font-size:.78rem!important;line-height:1.42!important;}
.site-header[data-nav-system="canonical-r2c"] .view-all{margin-top:.35rem!important;padding-top:.55rem!important;border-top:1px solid rgba(216,173,78,.16)!important;color:var(--shell-gold)!important;}
.site-header[data-nav-system="canonical-r2c"] .tools-mega .mini-button{background:var(--shell-gold)!important;color:#050504!important;border:1px solid var(--shell-gold)!important;font-weight:900!important;text-shadow:none!important;box-shadow:0 10px 28px rgba(216,173,78,.18)!important;}
.site-header[data-nav-system="canonical-r2c"] .tools-mega .mini-button:hover,
.site-header[data-nav-system="canonical-r2c"] .tools-mega .mini-button:focus{background:#f1d987!important;color:#050504!important;}
.site-header[data-nav-system="canonical-r2c"] .drop-menu a,
.site-header[data-nav-system="canonical-r2c"] .mega-col a{outline-offset:2px!important;}
@media (max-width:1280px){.site-header[data-nav-system="canonical-r2c"] .mega-menu.education-mega{right:0!important;}}
@media (max-width:1120px){.site-header[data-nav-system="canonical-r2c"] .mega-menu.education-mega,.site-header[data-nav-system="canonical-r2c"] .mega-menu.tools-mega,.site-header[data-nav-system="canonical-r2c"] .mega-menu.markets-mega{width:auto!important;grid-template-columns:1fr!important;}.site-header[data-nav-system="canonical-r2c"] .education-mega .mega-col,.site-header[data-nav-system="canonical-r2c"] .markets-mega .mega-col{padding:.75rem!important;}}
/* === NAV-R2C CANONICAL MENU END === */

/* === CIQ BACKGROUND R3 START ===
   Shared premium background foundation - visible depth revision.
   Scope: shell.css only.
   Purpose: keep R2 consistency but make the black/gold depth easier to see.
*/
:root {
  --ciq-bg-base: #050505;
  --ciq-bg-top: #0e0b06;
  --ciq-bg-deep: #020202;
  --ciq-bg-gold: 216, 173, 78;
  --ciq-bg-cream: 243, 215, 125;
  --ciq-panel-soft: rgba(12, 11, 8, .72);
  --ciq-panel-strong: rgba(8, 8, 6, .86);
}

html {
  background: var(--ciq-bg-base) !important;
}

body {
  background-color: var(--ciq-bg-base) !important;
  background-image:
    radial-gradient(ellipse 58rem 36rem at 16% 0%, rgba(var(--ciq-bg-gold), .22), transparent 72%),
    radial-gradient(ellipse 42rem 28rem at 88% 14%, rgba(var(--ciq-bg-cream), .065), transparent 75%),
    linear-gradient(90deg, rgba(var(--ciq-bg-gold), .052) 0%, rgba(var(--ciq-bg-gold), .022) 18%, transparent 42%),
    linear-gradient(180deg, var(--ciq-bg-top) 0%, var(--ciq-bg-base) 46%, var(--ciq-bg-deep) 100%) !important;
  background-attachment: scroll !important;
  background-repeat: no-repeat !important;
  color: var(--ink, #f6f0df);
}

main,
.page-shell,
.ciq-page-shell,
.ciq-article-shell,
.ciq-article-template {
  background-color: transparent !important;
}

.site-footer {
  background: #050505 !important;
}
/* === CIQ BACKGROUND R3 END === */

/* === COMMERCIUMIQ LAUNCH R4: BREADCRUMB FINAL VISUAL POLISH START === */
:root {
  --ciq-breadcrumb-link: rgba(255, 255, 255, 0.78);
  --ciq-breadcrumb-separator: rgba(255, 255, 255, 0.38);
  --ciq-breadcrumb-current: #d8aa3d;
}

:where(nav[aria-label="Breadcrumb"], .ciq-breadcrumb, .edu-breadcrumb, .breadcrumb, .breadcrumbs) {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  column-gap: 0.42rem !important;
  row-gap: 0.16rem !important;
  margin: 0 0 0.8rem !important;
  padding: 0 !important;
  font-size: clamp(0.72rem, 0.68rem + 0.12vw, 0.8rem) !important;
  line-height: 1.45 !important;
  letter-spacing: 0.005em !important;
  text-transform: none !important;
  color: var(--ciq-breadcrumb-separator) !important;
  font-weight: 400 !important;
}

:where(nav[aria-label="Breadcrumb"], .ciq-breadcrumb, .edu-breadcrumb, .breadcrumb, .breadcrumbs) *,
:where(nav[aria-label="Breadcrumb"], .ciq-breadcrumb, .edu-breadcrumb, .breadcrumb, .breadcrumbs) a,
:where(nav[aria-label="Breadcrumb"], .ciq-breadcrumb, .edu-breadcrumb, .breadcrumb, .breadcrumbs) span {
  font-weight: 400 !important;
  text-transform: none !important;
}

:where(nav[aria-label="Breadcrumb"], .ciq-breadcrumb, .edu-breadcrumb, .breadcrumb, .breadcrumbs) a {
  color: var(--ciq-breadcrumb-link) !important;
  text-decoration: none !important;
  text-underline-offset: 0.18em !important;
}

:where(nav[aria-label="Breadcrumb"], .ciq-breadcrumb, .edu-breadcrumb, .breadcrumb, .breadcrumbs) a:hover,
:where(nav[aria-label="Breadcrumb"], .ciq-breadcrumb, .edu-breadcrumb, .breadcrumb, .breadcrumbs) a:focus-visible {
  color: var(--ciq-breadcrumb-current) !important;
  text-decoration: underline !important;
  text-decoration-color: rgba(216, 170, 61, 0.58) !important;
}

:where(nav[aria-label="Breadcrumb"], .ciq-breadcrumb, .edu-breadcrumb, .breadcrumb, .breadcrumbs) span,
:where(nav[aria-label="Breadcrumb"], .ciq-breadcrumb, .edu-breadcrumb, .breadcrumb, .breadcrumbs) .ciq-breadcrumb-separator,
:where(nav[aria-label="Breadcrumb"], .ciq-breadcrumb, .edu-breadcrumb, .breadcrumb, .breadcrumbs) [aria-hidden="true"] {
  color: var(--ciq-breadcrumb-separator) !important;
}

:where(nav[aria-label="Breadcrumb"], .ciq-breadcrumb, .edu-breadcrumb, .breadcrumb, .breadcrumbs) [aria-current="page"],
:where(nav[aria-label="Breadcrumb"], .ciq-breadcrumb, .edu-breadcrumb, .breadcrumb, .breadcrumbs) .ciq-breadcrumb-current,
:where(nav[aria-label="Breadcrumb"], .ciq-breadcrumb, .edu-breadcrumb, .breadcrumb, .breadcrumbs) .current,
:where(nav[aria-label="Breadcrumb"], .ciq-breadcrumb, .edu-breadcrumb, .breadcrumb, .breadcrumbs) .active,
:where(nav[aria-label="Breadcrumb"], .ciq-breadcrumb, .edu-breadcrumb, .breadcrumb, .breadcrumbs) > span:last-child:not([aria-hidden="true"]) {
  color: var(--ciq-breadcrumb-current) !important;
  font-weight: 500 !important;
}

:where(.market-intro, .edu-hero, .compact-hero, .hero, .page-hero, .tool-hero, .country-hero) > :where(nav[aria-label="Breadcrumb"], .ciq-breadcrumb, .edu-breadcrumb, .breadcrumb, .breadcrumbs):first-child {
  margin-top: 0 !important;
}
/* === COMMERCIUMIQ LAUNCH R4: BREADCRUMB FINAL VISUAL POLISH END === */
/* CIQ Launch R6B Breadcrumb Standard */
.ciq-breadcrumb,
.breadcrumb,
.breadcrumbs,
.crumbline {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.42rem;
  margin: 0 0 0.85rem;
  padding: 0;
  color: rgba(255, 255, 255, 0.66);
  font-size: clamp(0.72rem, 0.7rem + 0.1vw, 0.82rem);
  line-height: 1.45;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
}

.ciq-breadcrumb a,
.breadcrumb a,
.breadcrumbs a,
.crumbline a {
  color: rgba(255, 255, 255, 0.68);
  text-decoration: none;
  font-weight: 400;
}

.ciq-breadcrumb a:hover,
.breadcrumb a:hover,
.breadcrumbs a:hover,
.crumbline a:hover {
  color: rgba(244, 209, 111, 0.96);
}

.ciq-breadcrumb__sep,
.ciq-breadcrumb .sep,
.breadcrumb .sep,
.breadcrumbs .sep,
.crumbline .sep {
  color: rgba(255, 255, 255, 0.38);
  font-weight: 400;
}

.ciq-breadcrumb__current,
.ciq-breadcrumb [aria-current="page"],
.breadcrumb [aria-current="page"],
.breadcrumbs [aria-current="page"],
.crumbline [aria-current="page"] {
  color: var(--ciq-gold, #f0c95b);
  font-weight: 400;
}

.ciq-breadcrumb strong,
.ciq-breadcrumb b,
.breadcrumb strong,
.breadcrumb b,
.breadcrumbs strong,
.breadcrumbs b,
.crumbline strong,
.crumbline b {
  font-weight: 400;
}
/* /CIQ Launch R6B Breadcrumb Standard */
/* Launch R7B breadcrumb remaining detail standardization */
.ciq-breadcrumb,
.breadcrumb,
.breadcrumbs {
  display: block;
  margin: 0 0 0.8rem;
  font-size: 0.78rem;
  line-height: 1.45;
  font-weight: 400;
  letter-spacing: 0.01em;
  color: rgba(244, 238, 220, 0.68);
}

.ciq-breadcrumb ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  padding: 0;
  margin: 0;
}

.ciq-breadcrumb li {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 400;
}

.ciq-breadcrumb li + li::before,
.breadcrumb a + span::before,
.breadcrumbs a + span::before {
  content: "/";
  color: rgba(244, 238, 220, 0.42);
  font-weight: 400;
}

.ciq-breadcrumb a,
.breadcrumb a,
.breadcrumbs a {
  color: rgba(244, 238, 220, 0.68);
  font-weight: 400;
  text-decoration: none;
}

.ciq-breadcrumb span[aria-current="page"],
.breadcrumb [aria-current="page"],
.breadcrumbs [aria-current="page"] {
  color: var(--gold, #d9b45f);
  font-weight: 400;
}

.ciq-breadcrumb a:hover,
.breadcrumb a:hover,
.breadcrumbs a:hover {
  color: var(--gold, #d9b45f);
}
