/* A visual market directory and a consistent, readable text scale. */
:root {
  --muted: #bcc7d3;
  --copy-size: 18px;
  --control-size: 16px;
  --note-size: 15px;
}
html[lang] body { font-size: var(--copy-size); }

.market-doorways {
  padding: 38px 0;
  background: linear-gradient(180deg, #060e17, #0a1622);
  border-top: 1px solid #d4b37b28;
  border-bottom: 1px solid #d4b37b28;
}
.market-doorway-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.market-doorway {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-width: 0;
  min-height: 264px;
  padding: 31px 33px;
  overflow: hidden;
  background: #081320;
  border: 1px solid #cdb17d45;
  transition: border-color .25s, box-shadow .25s;
}
.market-doorway > img {
  position: absolute;
  z-index: -2;
  top: 0;
  right: 0;
  width: 84%;
  height: 100%;
  object-fit: cover;
  object-position: 70% 48%;
  transition: transform .7s ease;
}
.market-doorway::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, #07111dfc 0%, #07111de6 23%, #07111d85 47%, #07111d14 78%), linear-gradient(0deg, #07111d55, transparent 65%);
}
.market-doorway::after { content: ''; position: absolute; top: 0; left: 0; width: 72px; height: 2px; background: #dbba83; transition: width .35s; }
.market-card-content { display: flex; flex-direction: column; align-items: flex-start; width: 74%; min-width: 0; }
.market-card-category { display: block; font: 13px/1.5 Arial,sans-serif; letter-spacing: .13em; color: #e1c38f; margin-bottom: 12px; }
html[lang] .market-doorway strong { font-size: 28px; font-weight: 700; line-height: 1.4; letter-spacing: .015em; color: #fbf7ec; text-wrap: balance; }
.market-card-description { display: block; font-size: 17px; line-height: 1.7; color: #d1d9e2; margin-top: 10px; text-wrap: pretty; }
.market-card-link { display: inline-flex; align-items: center; gap: 23px; margin-top: 23px; color: #f0d3a0; font-size: 16px; line-height: 1.5; }
.market-card-link .icon { width: 20px; height: 20px; transition: transform .25s; }
.market-doorway:hover, .market-doorway:focus-visible { border-color: #e2c18ac4; box-shadow: 0 10px 30px #0003; }
.market-doorway:hover > img { transform: scale(1.035); }
.market-doorway:hover::after, .market-doorway:focus-visible::after { width: 120px; }
.market-doorway:hover .market-card-link .icon { transform: translateX(5px); }
.markets-section { padding-top: 88px; }

/* Main reading copy. Explicit selectors override earlier image-card rules. */
html[lang] .hero-description,
html[lang] .section-intro,
html[lang] .advantage-intro > p,
html[lang] .feature-description,
html[lang] .trust-heading > p:not(.eyebrow),
html[lang] .trust-items p:not(.mini-label),
html[lang] .steps .step-copy > p:not(.mini-label),
html[lang] .faq-intro,
html[lang] .faq-answer p,
html[lang] .closing-content > p:not(.eyebrow) {
  font-size: var(--copy-size);
  line-height: 1.9;
  color: #bcc7d3;
  letter-spacing: .01em;
  text-wrap: pretty;
}
html[lang] .section-intro { max-width: 510px; }
html[lang] .advantage-intro { max-width: 460px; }
html[lang] .instrument-detail p { font-size: 17px; line-height: 1.9; color: #c0cad5; }
html[lang] .instrument-detail h3 { font-size: 18px; line-height: 1.6; margin-bottom: 10px; }
.instrument-detail { padding: 23px 25px; }

/* Controls and navigation remain comfortably legible. */
html[lang] .button { font-size: 17px; min-height: 56px; }
html[lang] .header-cta { font-size: 15px; min-height: 44px; padding: 9px 16px; gap: 17px; }
html[lang] .desktop-nav a,
html[lang] .login-link { font-size: 15px; }
html[lang] .desktop-nav { gap: 25px; }
html[lang] .language-switch { font-size: 14px; }
.language-switch button { min-width: 27px; }
html[lang] .mobile-menu a { font-size: 18px; }
html[lang] .market-tabs button { font-size: 17px; padding: 15px 8px 21px; }
html[lang] .feature-copy > a,
html[lang] .text-link,
html[lang] .faq-answer .text-link,
html[lang] .steps-action .text-link,
html[lang] .footer-top nav { font-size: var(--control-size); line-height: 1.8; }
.feature-copy > a { padding-top: 25px; }
html[lang] .faq-list summary { font-size: 18px; line-height: 1.8; padding-block: 27px; }

/* Supporting information is readable without competing with the headings. */
html[lang] .hero-risk,
html[lang] .market-note,
html[lang] .steps-note,
html[lang] .risk-disclosure p,
html[lang] .steps-action > span { font-size: var(--note-size); line-height: 1.85; letter-spacing: .01em; color: #aab8c8; }
html[lang] .risk-disclosure h3 { font-size: 15px; line-height: 1.8; margin-bottom: 12px; }
.market-note { margin-top: 21px; }
.steps-note { margin-top: 26px; }
html[lang] .step-focus > span { font-size: 14px; line-height: 1.7; }
html[lang] .step-focus strong { font-size: 16px; line-height: 1.8; color: #cbd4df; }
html[lang] .step-overview strong { font-size: 16px; line-height: 1.7; min-width: 0; }
.step-overview a { min-height: 54px; }
html[lang] .step-visual figcaption { font-size: 18px; line-height: 1.7; }
.step-number small { font-size: 10px; }
.visual-number { font-size: 15px; width: 34px; height: 34px; }

html[lang] .market-list-label { font-size: 14px; line-height: 1.6; letter-spacing: .04em; }
.instrument { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto 18px; gap: 17px; padding-block: 22px; }
.instrument-name { min-width: 0; }
html[lang] .instrument-name strong { font-size: 23px; line-height: 1.35; }
html[lang] .instrument-name small { font-size: 15px; line-height: 1.7; color: #b4c1d0; }
.instrument-code { font-size: 14px; letter-spacing: .04em; color: #afbed0; }
.instrument > .icon { margin-left: 0; }

html[lang] .section-heading > div > .eyebrow,
html[lang] .trust-heading > .eyebrow,
html[lang] .faq-layout > div > .eyebrow { font-size: 13px; line-height: 1.65; letter-spacing: .12em; }
html[lang] .mini-label,
html[lang] .trust-items .mini-label,
html[lang] .steps .mini-label { font-size: 13px; line-height: 1.6; letter-spacing: .1em; }
.hero-eyebrow { font-size: 12px; line-height: 1.65; letter-spacing: .12em; }
.market-visual figcaption > .eyebrow { font-size: 12px; line-height: 1.6; letter-spacing: .12em; }
.closing-content > .eyebrow { font-size: 13px; letter-spacing: .14em; line-height: 1.6; }
.support-visual figcaption { font-size: 13px; line-height: 1.6; letter-spacing: .1em; padding: 15px 18px; }
.scroll-cue { font-size: 11px; letter-spacing: .12em; line-height: 1.6; }
.hero-signature { font-size: 11px; letter-spacing: .15em; line-height: 1.6; }
.trust-brand > span { font-size: 14px; }
.trust-brand small { font-size: 9px; letter-spacing: .12em; }
.footer-bottom { font-size: 13px; line-height: 1.8; color: #a4b2c3; }
.footer-bottom > span:last-child { font-size: 12px; letter-spacing: .1em; }

@media (max-width: 1200px) {
  .desktop-nav { display: none; }
  .menu-toggle { display: block; }
  .header-actions { gap: 23px; }
}
@media (min-width: 761px) and (max-width: 1050px) {
  .advantage-grid { grid-template-columns: 1fr; gap: 26px; }
  .advantage-grid article,
  .advantage-grid article:first-child,
  .advantage-grid article:last-child { display: grid; grid-template-columns: .9fr 1.1fr; }
  .feature-visual { aspect-ratio: auto; min-height: 330px; height: 100%; }
  .feature-copy { padding: 27px; }
  html[lang] .feature-copy h3 { min-height: 0; }
  .market-explorer { grid-template-columns: 1fr; }
  .market-visual { min-height: 400px; }
  .market-visual img { object-position: 50% 39%; }
  .market-doorway { min-height: 256px; padding: 26px; }
  html[lang] .market-doorway strong { font-size: 26px; }
  .market-card-content { width: 86%; }
  .market-card-description { max-width: 235px; }
  .market-card-category { letter-spacing: .08em; font-size: 12px; }
  .market-doorway::before { background: linear-gradient(90deg, #07111dfc, #07111dba 40%, #07111d32 85%); }
}
@media (max-width: 760px) {
  :root { --copy-size: 17px; --control-size: 16px; --note-size: 14px; }
  .market-doorways { padding: 25px 0 29px; }
  .market-doorway-grid { grid-template-columns: 1fr; gap: 17px; }
  .market-doorway { min-height: 246px; padding: 27px 23px; }
  .market-doorway > img { width: 100%; object-position: 74% 50%; }
  .market-card-content { width: 90%; }
  html[lang] .market-doorway strong { font-size: 27px; }
  .market-card-category { font-size: 12px; letter-spacing: .09em; }
  .market-card-description { font-size: 16px; max-width: 240px; }
  .market-card-link { font-size: 16px; margin-top: 20px; gap: 17px; }
  .market-doorway::before { background: linear-gradient(90deg, #07111df5, #07111db3 40%, #07111d30 90%), linear-gradient(0deg, #07111d66, transparent); }
  .markets-section { padding-top: 65px; }
  html[lang] .section-intro,
  html[lang] .advantage-intro { max-width: none; }
  .header-actions { gap: 12px; }
  .language-switch button { min-width: 24px; }
  html[lang] .language-switch { font-size: 13px; }
  html[lang] .button { font-size: 16px; min-height: 54px; }
  .hero-buttons { display: flex; flex-direction: column; align-items: stretch; max-width: 360px; gap: 13px; }
  html[lang] .hero-buttons .button { font-size: 16px; gap: 22px; padding-inline: 21px; }
  html[lang] .hero-risk { display: inline-block; max-width: 360px; padding: 8px 11px; background: #06111ce8; color: #c5d0dc; }
  .hero-eyebrow { font-size: 11px; letter-spacing: .09em; }
  .hero-eyebrow > span { flex-shrink: 0; }
  .hero-bottom { gap: 15px; }
  .scroll-cue { font-size: 10px; letter-spacing: .09em; }
  .hero-signature { font-size: 10px; letter-spacing: .09em; }
  html[lang] .market-tabs { gap: 5px; }
  html[lang] .market-tabs button { font-size: 16px; padding-inline: 0; }
  html[lang] .market-list-label { font-size: 13px; letter-spacing: 0; }
  .instrument { grid-template-columns: 38px minmax(0, 1fr) 18px; gap: 3px 14px; padding: 20px 8px 20px 0; }
  .instrument-icon { grid-column: 1; grid-row: 1 / span 2; align-self: center; }
  .instrument-name { grid-column: 2; grid-row: 1; }
  .instrument-code { grid-column: 2; grid-row: 2; margin: 0; font-size: 13px; }
  .instrument > .icon { grid-column: 3; grid-row: 1 / span 2; }
  html[lang] .instrument-name strong { font-size: 23px; }
  html[lang] .instrument-name small { font-size: 14px; }
  .instrument-detail { padding: 20px; }
  html[lang] .instrument-detail p { font-size: 17px; }
  html[lang] .faq-list summary { font-size: 17px; padding-block: 24px; }
  .step-overview a,
  .step-overview a:first-child,
  .step-overview a:last-child { min-height: 84px; padding-inline: 11px; gap: 10px; }
  html[lang] .step-overview strong { font-size: 15px; line-height: 1.6; }
  html[lang] .step-visual figcaption { font-size: 17px; }
  html[lang] .step-focus strong { font-size: 15px; }
  .step-number small { font-size: 9px; }
  .steps-action { gap: 17px 10px; }
  html[lang] .section-heading > div > .eyebrow,
  html[lang] .trust-heading > .eyebrow,
  html[lang] .faq-layout > div > .eyebrow { font-size: 12px; letter-spacing: .08em; }
  .footer-bottom { font-size: 12px; }
  .footer-bottom > span:last-child { font-size: 11px; }
  .risk-disclosure { padding-block: 28px; }
}
@media (max-width: 360px) {
  .header-actions { gap: 7px; }
  .market-doorway { padding: 24px 19px; }
  .market-card-category { font-size: 11px; }
  html[lang] .market-doorway strong { font-size: 25px; }
  .market-card-description { max-width: 215px; }
  .step-overview a,
  .step-overview a:first-child,
  .step-overview a:last-child { padding-inline: 8px; gap: 8px; }
  html[lang] .market-tabs button { font-size: 15px; }
  .hero-signature { font-size: 9px; }
  .scroll-cue { font-size: 9px; }
}
@media (prefers-reduced-motion: reduce) {
  .market-doorway,
  .market-doorway > img,
  .market-doorway::after,
  .market-card-link .icon { transition: none; }
}
