
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-normal);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: var(--fw-semi);
  line-height: var(--lh-tight);
  letter-spacing: var(--ls-tight);
  color: var(--color-primary);
  margin: 0 0 var(--sp-4);
}
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); line-height: var(--lh-snug); }
p  { margin: 0 0 var(--sp-4); }
img, svg { max-width: 100%; height: auto; display: block; }

a { color: var(--color-accent-text); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }

:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
  outline: 3px solid var(--brand-action);
  outline-offset: 3px;
  border-radius: var(--r-sm);
}
.site-header :focus-visible, .drawer :focus-visible, .site-footer :focus-visible,
.topbar :focus-visible, .page-head :focus-visible, .hero :focus-visible,
.section--dark :focus-visible, .cta-band :focus-visible, .scrollnav :focus-visible {
  outline-color: var(--brand-accent-on-dark);
}

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container--content { max-width: var(--container-content); }
.container--read    { max-width: var(--container-read); }
.narrow             { max-width: var(--container-content); }

body > main, .site-main { background: var(--color-bg); color: var(--color-text); }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--color-accent); color: var(--color-on-accent);
  padding: var(--sp-3) var(--sp-5); font-weight: var(--fw-semi);
  border-radius: 0 0 var(--r-md) 0;
}
.skip-link:focus { left: 0; }

.topbar {
  background: var(--chrome-bg-deep);
  color: var(--wash-white-82);
  font-size: var(--fs-xs);
  border-bottom: 1px solid var(--wash-white-08);
}
.topbar__inner {
  min-height: var(--topbar-h);
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--sp-4); flex-wrap: wrap;
}
.topbar__group { display: flex; align-items: center; gap: var(--sp-5); flex-wrap: wrap; }
.topbar a { color: inherit; display: inline-flex; align-items: center; gap: var(--sp-2); }
.topbar a:hover { color: var(--color-accent); text-decoration: none; }
.topbar svg { width: 14px; height: 14px; flex: none; }

.topbar__socials { display: flex; align-items: center; gap: var(--sp-3); }
.topbar__socials a {
  width: 26px; height: 26px; justify-content: center;
  border: 1px solid var(--wash-white-18); border-radius: var(--r-pill);
}
.topbar__socials a:hover { border-color: var(--color-accent); }

.market-status {
  display: inline-flex; align-items: center; gap: var(--sp-2);
  padding: 3px var(--sp-3); border-radius: var(--r-pill);
  background: var(--wash-white-08); font-variant-numeric: tabular-nums;
}
.market-status__dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--color-text-subtle); flex: none;
}
.market-status[data-state="open"]   .market-status__dot { background: var(--color-success); }
.market-status[data-state="closed"] .market-status__dot { background: var(--color-text-subtle); }

@media (max-width: 900px) { .topbar { display: none; } }

.site-header {
  position: sticky; top: 0; z-index: var(--z-header);
  background: var(--chrome-bg-blur);
  backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--chrome-border);
  transition: box-shadow var(--dur) var(--ease), background var(--dur) var(--ease);
}
.site-header[data-stuck="true"] { box-shadow: var(--shadow-sm); }

.site-header .container { max-width: 1440px; }

.header__inner {
  min-height: var(--header-h);
    display: flex; align-items: center; gap: var(--sp-4);
  transition: min-height var(--dur) var(--ease);
}
.site-header[data-stuck="true"] .header__inner { min-height: var(--header-h-compact); }

.brand { display: inline-flex; align-items: center; gap: var(--sp-3); flex: none; }

.logo {
  position: relative; display: inline-flex; align-items: center; flex: none;
  height: 46px; width: 46px;
  transition: height var(--dur) var(--ease), width var(--dur) var(--ease);
}
.logo__mark { display: block; height: 100%; width: 100%; }

.site-header[data-stuck="true"] .logo { height: 40px; width: 40px; }

.logo__mark { opacity: 1; }

.logo[data-logo="play"] .logo__mark {
  animation: logo-reveal 2.2s var(--ease) both;
}
@keyframes logo-reveal {
  0%   { opacity: 0; transform: scale(.55) rotate(-6deg); }
  45%  { opacity: 1; transform: scale(1.06) rotate(0deg); }
  70%  { opacity: 1; transform: scale(.98); }
  100% { opacity: 1; transform: scale(1); }
}

.logo[data-logo="pulse"]::after {
  content: ""; position: absolute; inset: -7px;
  border-radius: 50%;
  border: 1px solid var(--brand-accent);
  animation: logo-pulse 1.6s var(--ease) both;
  pointer-events: none;
}
@keyframes logo-pulse {
  0%   { opacity: 0;   transform: scale(.72); }
  35%  { opacity: .5;  transform: scale(1); }
  100% { opacity: 0;   transform: scale(1.3); }
}

@media (max-width: 700px) {
  .logo { height: 40px; width: 40px; }
}

@media (prefers-reduced-motion: reduce) {
  .logo { transition: none; }
  .logo[data-logo] .logo__mark { animation: none !important; }
  .logo[data-logo]::after { display: none; }
}

.footer__brand .logo-img { height: 58px; width: auto; }
.brand__text  { display: flex; flex-direction: column; justify-content: center; gap: 2px; }
.brand__name  { display: block; font-family: var(--font-display); font-size: 1.05rem; color: var(--chrome-ink); line-height: 1.1; }
.brand__sub   { display: block; font-size: 0.64rem; line-height: 1.1; letter-spacing: .1em; text-transform: uppercase; color: var(--chrome-ink-subtle); }
@media (max-width: 420px) { .brand__text { display: none; } }

.primary-nav { margin-inline: auto; }
.primary-nav ul { display: flex; align-items: center; gap: clamp(.375rem, .05rem + .7vw, 1.125rem); list-style: none; margin: 0; padding: 0; }
.primary-nav a {
  display: inline-block; padding: var(--sp-2) var(--sp-1);
  font-size: var(--fs-sm); font-weight: var(--fw-medium);
  color: var(--chrome-ink-muted); letter-spacing: .02em; white-space: nowrap;
  position: relative;
}
.primary-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px;
  background: var(--color-accent); transform: scaleX(0); transform-origin: left;
  transition: transform var(--dur) var(--ease);
}
.primary-nav a:hover { color: var(--chrome-ink); text-decoration: none; }
.primary-nav a:hover::after,
.primary-nav a[aria-current="page"]::after { transform: scaleX(1); }
.primary-nav a[aria-current="page"] { color: var(--chrome-ink); font-weight: var(--fw-semi); }
@media (max-width: 1439px) { .primary-nav { display: none; } }

.header__actions { display: flex; align-items: center; gap: var(--sp-3); flex: none; margin-left: auto; flex-wrap: wrap; }
@media (min-width: 1440px) { .header__actions { margin-left: 0; } }

.icon-btn {
  width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--chrome-border); border-radius: var(--r-pill);
  background: transparent; color: var(--chrome-ink); cursor: pointer;
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.icon-btn:hover { border-color: var(--chrome-ink); background: var(--chrome-surface); }
.icon-btn svg { width: 18px; height: 18px; }

.link-quiet { font-size: var(--fs-sm); font-weight: var(--fw-medium); color: var(--chrome-ink); white-space: nowrap; }
@media (max-width: 620px) { .link-quiet { display: none; } }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--sp-2);
  padding: .72rem 1.4rem; min-height: 44px;     border-radius: var(--r-btn); border: 1px solid transparent;
  font-family: var(--font-nav); font-size: var(--fs-sm); font-weight: var(--fw-semi);
  cursor: pointer; white-space: nowrap; line-height: 1;
  transition: transform var(--dur-fast) var(--ease), box-shadow var(--dur) var(--ease),
              background var(--dur) var(--ease), color var(--dur) var(--ease);
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--accent  { background: var(--brand-action); color: var(--color-on-accent); box-shadow: var(--shadow-xs); }
.btn--accent:hover { filter: brightness(1.04); box-shadow: var(--shadow-md); }

.btn--primary { background: var(--brand-action); color: var(--chrome-ink); border-color: transparent; box-shadow: var(--shadow-xs); }
.btn--primary:hover { background: var(--brand-action); box-shadow: var(--shadow-md); }

.btn--ghost   { background: var(--surface-white, var(--color-bg-tint)); color: var(--color-primary); border-color: var(--color-border-strong); }
.btn--ghost:hover { border-color: var(--color-primary); background: var(--color-bg-alt); }
.hero .btn--ghost, .page-head .btn--ghost, .section--dark .btn--ghost, .cta-band .btn--ghost {
  background: transparent; color: var(--chrome-ink); border-color: var(--chrome-border-strong);
}
.hero .btn--ghost:hover, .page-head .btn--ghost:hover,
.section--dark .btn--ghost:hover, .cta-band .btn--ghost:hover {
  border-color: var(--color-accent); background: var(--wash-gold-08);
}

.btn--text { background: transparent; border-color: transparent; color: var(--color-primary); padding-inline: 0; }
.btn--text:hover { text-decoration: underline; text-decoration-color: var(--color-accent-text); text-underline-offset: 4px; }
.btn--lg { padding: .95rem 1.9rem; font-size: 1rem; }
@media (max-width: 480px) { .btn--header-cta { padding: .68rem 1rem; } }

.search-panel {
  display: none; border-top: 1px solid var(--chrome-border);
  background: var(--chrome-bg); padding-block: var(--sp-4);
}
.search-panel[data-open="true"] { display: block; }
.search-form { display: flex; gap: var(--sp-3); }
.search-form input {
  flex: 1; min-width: 0; padding: .8rem 1.1rem; font: inherit;
  border: 1px solid var(--chrome-border-strong); border-radius: var(--r-pill);
  background: var(--chrome-surface); color: var(--chrome-ink);
}
.search-form input::placeholder { color: var(--chrome-ink-subtle); }

.nav-toggle { display: none; }
@media (max-width: 1439px) { .nav-toggle { display: inline-flex; } }

.drawer-overlay {
  position: fixed; inset: 0; background: var(--wash-brand-42);
  opacity: 0; pointer-events: none; z-index: var(--z-overlay);
  transition: opacity var(--dur) var(--ease);
}
.drawer-overlay[data-open="true"] { opacity: 1; pointer-events: auto; }

.drawer {
  position: fixed; inset-block: 0; right: 0; width: min(360px, 88vw);
  background: var(--chrome-bg); z-index: var(--z-drawer);
  transform: translateX(100%); transition: transform var(--dur-slow) var(--ease);
  display: flex; flex-direction: column; box-shadow: var(--shadow-lg);
}
.drawer[data-open="true"] { transform: none; }
.drawer__head {
  display: flex; align-items: center; justify-content: space-between;
  padding: var(--sp-4) var(--sp-5); border-bottom: 1px solid var(--chrome-border);
}
.drawer__body { padding: var(--sp-4) var(--sp-5) var(--sp-8); overflow-y: auto; flex: 1; }
.drawer__body ul { list-style: none; margin: 0 0 var(--sp-6); padding: 0; }
.drawer__body li + li { border-top: 1px solid var(--chrome-border); }
.drawer__body a {
  display: block; padding: var(--sp-4) 0; font-size: 1.05rem;
  font-weight: var(--fw-medium); color: var(--chrome-ink);
}
.drawer__cta { display: grid; gap: var(--sp-3); }
.drawer__meta { margin-top: var(--sp-6); font-size: var(--fs-sm); color: var(--chrome-ink-muted); }
.drawer__meta a { color: var(--color-accent); }

.hero { position: relative; overflow: hidden; background: var(--chrome-bg); color: var(--chrome-ink); }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(55% 65% at 80% 14%, var(--wash-gold-10), transparent 70%),
    radial-gradient(70% 80% at 12% 90%, var(--wash-brand-55), transparent 72%),
    linear-gradient(180deg, var(--brand-primary-soft), var(--chrome-bg) 62%);
  pointer-events: none;
}
.hero h1, .hero h2, .hero h3 { color: var(--chrome-ink); }
.hero .eyebrow { color: var(--color-accent); background: var(--wash-gold-10); }
.hero__visual svg { box-shadow: var(--shadow-dark); }
.hero__inner {
  position: relative; display: grid; gap: var(--sp-8);
  padding-block: clamp(3rem, 1.5rem + 6vw, 6rem) clamp(3rem, 1.5rem + 5vw, 5.5rem);
  align-items: center;
}
@media (min-width: 960px) { .hero__inner { grid-template-columns: 1.05fr .95fr; gap: var(--sp-9); } }

.eyebrow {
  display: inline-flex; align-items: center; gap: var(--sp-2);
  font-size: var(--fs-xs); font-weight: var(--fw-semi);
  letter-spacing: var(--ls-wide); text-transform: uppercase;
    color: var(--color-accent-text);
  background: var(--color-warning-bg); border: 1px solid var(--wash-gold-35);
  border-radius: var(--r-pill);
  padding: .38rem .85rem; margin-bottom: var(--sp-5);
}
.eyebrow__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--color-accent); }

.hero h1 { font-size: var(--fs-display); margin-bottom: var(--sp-5); }
.hero h1 .accent { color: var(--color-secondary); font-style: italic; }
.hero__lead { font-size: var(--fs-lead); color: var(--chrome-ink-muted); max-width: 54ch; margin-bottom: var(--sp-6); }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--sp-3); }

.hero__trust {
  display: flex; flex-wrap: wrap; gap: var(--sp-5) var(--sp-7);
  margin-top: var(--sp-8); padding-top: var(--sp-6);
  border-top: 1px solid var(--color-border);
}
.trust-item__value {
  font-family: var(--font-display); font-size: 1.15rem; color: var(--color-primary);
}
.trust-item__label {
  font-size: var(--fs-xs); letter-spacing: var(--ls-wide);
  text-transform: uppercase; color: var(--color-text-muted);   }
.hero .hero__trust, .section--dark .hero__trust { border-top-color: var(--chrome-border); }
.hero .trust-item__value, .section--dark .trust-item__value { color: var(--chrome-ink); }
.hero .trust-item__label, .section--dark .trust-item__label { color: var(--chrome-ink-muted); }

.hero__visual { position: relative; }
.hero__visual svg { width: 100%; height: auto; border-radius: var(--r-xl); box-shadow: var(--shadow-lg); }

.section { padding-block: var(--section-y); }
.section--alt  { background: var(--color-bg-alt); }
.section--tint { background: var(--color-bg-tint); }
.section--dark {
  background: var(--color-bg-inverse); color: var(--chrome-ink-muted);
}
.section--dark h1, .section--dark h2, .section--dark h3 { color: var(--chrome-ink); }
.section--dark p, .section--dark li { color: var(--chrome-ink-muted); }
.section--dark .section-head p { color: var(--chrome-ink-muted); }
.section--dark a { color: var(--color-accent); }
.section--dark .eyebrow { color: var(--color-accent); background: var(--wash-gold-10); border-color: var(--wash-gold-28); }

.section-head { max-width: 62ch; margin-bottom: var(--sp-7); }
.section-head .eyebrow { margin-bottom: var(--sp-4); }
.section-head p { color: var(--color-text-muted); font-size: var(--fs-lead); margin: 0; }
.section-head--center { margin-inline: auto; text-align: center; }

.grid { display: grid; gap: var(--sp-5); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(215px, 1fr)); }

.card {
  background: var(--color-bg-tint); border: 1px solid var(--color-border);
  border-radius: var(--r-lg); padding: var(--sp-6);
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease),
              transform var(--dur) var(--ease);
}
.card:hover { border-color: var(--color-border-strong); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.card h3 { margin-bottom: var(--sp-2); }
.card p  { color: var(--color-text-muted); font-size: var(--fs-sm); margin: 0; }

.placeholder {
  border: 1px dashed var(--color-border-strong); border-radius: var(--r-lg);
  background:
    repeating-linear-gradient(135deg, transparent 0 12px, var(--color-bg-alt) 12px 24px);
  padding: var(--sp-8) var(--sp-6); text-align: center;
}
.placeholder__tag {
  display: inline-block; font-size: var(--fs-xs); font-weight: var(--fw-semi);
  letter-spacing: var(--ls-wide); text-transform: uppercase;
  color: var(--color-text-subtle); border: 1px solid var(--color-border-strong);
  background: var(--color-bg); border-radius: var(--r-pill);
  padding: .25rem .8rem; margin-bottom: var(--sp-3);
}
.placeholder p { color: var(--color-text-muted); margin: 0; font-size: var(--fs-sm); }
.section--dark .placeholder { border-color: var(--wash-white-22); background: var(--wash-white-04); }
.section--dark .placeholder__tag { background: transparent; border-color: var(--wash-white-28); color: var(--wash-white-70); }
.section--dark .placeholder p { color: var(--wash-white-65); }

.cta-band {
  background: var(--chrome-bg); color: var(--chrome-ink-muted);
  border: 1px solid var(--chrome-border);
  border-radius: var(--r-xl); padding: clamp(2rem, 1rem + 4vw, 3.5rem);
}
.cta-band h2 { color: var(--chrome-ink); }
.cta-band p  { color: var(--chrome-ink-muted); max-width: 56ch; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: var(--sp-3); margin-top: var(--sp-6); }
.cta-band__more {
  margin: var(--sp-6) 0 0; padding-top: var(--sp-5);
  border-top: 1px solid var(--wash-white-12);
  font-size: var(--fs-sm); color: var(--wash-white-70);
}
.cta-band__more a { color: var(--color-accent); }

.site-footer { background: var(--chrome-bg-deep); color: var(--wash-white-70); padding-block: var(--sp-9) var(--sp-6); }
.footer__grid { display: grid; gap: 34px; grid-template-columns: 1fr; align-items: start; }
.footer__brand { grid-column: 1 / -1; max-width: 34ch; }
.footer__grid > * { min-width: 0; }

@media (min-width: 620px) and (max-width: 999px) {
  .footer__grid  { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px var(--sp-6); }
  .footer__brand { grid-column: 1 / -1; }
  .footer__reach { grid-column: 1 / -1; }
}

@media (min-width: 1000px) {
  .footer__grid {
        grid-template-columns: 1.3fr 0.85fr 0.9fr 1.35fr;
    gap: var(--sp-6) var(--sp-6);
  }
  .footer__brand { grid-column: 1; grid-row: 1; max-width: none; }
}
.footer__brand img { height: 58px; width: auto; margin-bottom: var(--sp-4); }
.footer__brand p { font-size: var(--fs-sm); color: var(--wash-white-65); }

.site-footer h3 {
  font-family: var(--font-body); font-size: var(--fs-xs); font-weight: var(--fw-semi);
  letter-spacing: var(--ls-wide); text-transform: uppercase;
  color: var(--color-accent); margin-bottom: var(--sp-4);
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer nav li { font-size: var(--fs-sm); margin-bottom: 0; }
.site-footer nav li + li { margin-top: 2px; }
.site-footer nav a { display: inline-block; padding-block: 8px; }
.site-footer li { margin-bottom: var(--sp-3); font-size: var(--fs-sm); }
.site-footer a { color: var(--wash-white-70); text-decoration: none; }

.site-footer a:hover {
  color: var(--color-accent);
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px;
}
.site-footer a:focus-visible {
  outline: 3px solid var(--color-accent); outline-offset: 3px;
  border-radius: var(--r-sm); color: var(--color-accent);
}

.footer__contact { margin: 0; }
.footer__row {
  display: grid; grid-template-columns: 18px minmax(0, 1fr);
  gap: var(--sp-2); align-items: start;
}
.footer__row + .footer__row { margin-top: 24px; }
.footer__row dt { margin: 0; }
.footer__row dd {
  margin: 0; font-size: var(--fs-sm); line-height: 1.55;
  color: var(--wash-white-70);
    overflow-wrap: anywhere;
}
.footer__ico { color: var(--brand-accent-on-dark); display: block; margin-top: 3px; }
.footer__ico svg { width: 16px; height: 16px; display: block; }
.footer__row:first-child dd a { line-height: 1.5; }

.footer__partners {
  margin-top: var(--sp-7); padding-top: var(--sp-6);
  border-top: 1px solid var(--wash-white-08);
}
.footer__partners-label {
  margin: 0 0 var(--sp-4);
  font-size: var(--fs-xs); font-weight: var(--fw-semi);
  letter-spacing: var(--ls-wide); text-transform: uppercase;
  color: var(--color-accent);
}
.footer__partners-row {
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
}
.footer__partners-row a {
  display: inline-flex; align-items: center;
  border-radius: var(--r-sm);
    background: var(--color-bg-tint);
  padding: 5px 7px;
  transition: box-shadow var(--dur) var(--ease);
}
.footer__partners-row a:hover { box-shadow: 0 0 0 2px var(--color-accent); }
.footer__partners-row img { display: block; height: auto; }
@media (prefers-reduced-motion: reduce) { .footer__partners-row a { transition: none; } }


.footer__socials { display: flex; gap: var(--sp-3); margin-top: var(--sp-4); }
.footer__socials a {
  width: 34px; height: 34px; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--wash-white-22); border-radius: var(--r-pill);
}
.footer__socials a:hover { border-color: var(--color-accent); }
.footer__socials svg { width: 16px; height: 16px; }

.footer__legal {
  margin-top: var(--sp-8); padding-top: var(--sp-5);
  border-top: 1px solid var(--wash-white-12);
  font-size: var(--fs-xs); color: var(--wash-white-55);
}
.footer__legal p { margin-bottom: var(--sp-3); max-width: 100ch; }
.footer__base { display: flex; flex-wrap: wrap; gap: var(--sp-3) var(--sp-6); justify-content: space-between; }
.footer__base ul { display: flex; flex-wrap: wrap; gap: var(--sp-4); }
.footer__base li { margin: 0; }


.panel {
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--r-lg);
  padding: clamp(1.25rem, 0.9rem + 1.2vw, 2rem);
  margin-block: var(--sp-6);
}
.panel > :first-child { margin-top: 0; }
.panel > :last-child  { margin-bottom: 0; }
.panel h2, .panel h3 { color: var(--color-primary); }
.panel--white { background: var(--color-bg-tint); }

.field { display: grid; gap: var(--sp-2); margin-bottom: var(--sp-5); }
.field > label {
  font-size: var(--fs-sm); font-weight: var(--fw-semi); color: var(--color-primary);
}
.field__hint { font-size: var(--fs-xs); color: var(--color-text-muted); }
.field__error { font-size: var(--fs-sm); color: var(--color-error); font-weight: var(--fw-medium); }

input[type="text"], input[type="email"], input[type="tel"], input[type="number"],
input[type="search"], input[type="password"], input[type="date"], select, textarea {
  width: 100%; min-height: 48px;
  padding: .7rem .9rem;
  font: inherit; font-size: var(--fs-body);
  color: var(--color-text);
  background: var(--color-bg-tint);
  border: 1px solid var(--color-border-strong);
  border-radius: var(--r-md);
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
textarea { min-height: 8rem; resize: vertical; line-height: 1.6; }
input::placeholder, textarea::placeholder { color: var(--color-text-subtle); }
input:hover, select:hover, textarea:hover { border-color: var(--color-primary); }
input:focus-visible, select:focus-visible, textarea:focus-visible {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px var(--wash-gold-35);
}
input[aria-invalid="true"], textarea[aria-invalid="true"], select[aria-invalid="true"] {
  border-color: var(--color-error); background: var(--color-error-bg);
}
fieldset { border: 1px solid var(--color-border); border-radius: var(--r-lg); padding: var(--sp-5); margin: 0 0 var(--sp-6); }
legend { padding-inline: var(--sp-3); font-weight: var(--fw-semi); color: var(--color-primary); }

.accordion { border: 1px solid var(--color-border); border-radius: var(--r-lg); background: var(--color-bg-tint); overflow: hidden; }
.accordion + .accordion { margin-top: var(--sp-3); }
.accordion > summary {
  display: flex; align-items: center; justify-content: space-between; gap: var(--sp-4);
  padding: var(--sp-4) var(--sp-5); min-height: 56px;
  font-weight: var(--fw-semi); color: var(--color-primary);
  cursor: pointer; list-style: none;
}
.accordion > summary::-webkit-details-marker { display: none; }
.accordion > summary::after {
  content: ""; flex: none; width: 10px; height: 10px;
  border-right: 2px solid var(--color-accent-text); border-bottom: 2px solid var(--color-accent-text);
  transform: rotate(45deg) translateY(-2px);
  transition: transform var(--dur) var(--ease);
}
.accordion[open] > summary::after { transform: rotate(-135deg) translateY(-2px); }
.accordion > summary:hover { background: var(--color-bg-alt); }
.accordion__body { padding: 0 var(--sp-5) var(--sp-5); }
.accordion__body > :last-child { margin-bottom: 0; }

.card, .svc-card, .lh-card, .channel, .fact, .rc {
  background: var(--color-bg-tint);
  box-shadow: var(--shadow-xs);
}
.card:hover, .svc-card:hover, .lh-card:hover, .channel:hover {
  box-shadow: var(--shadow-md);
}

.gloss-jump {
  display: flex; flex-wrap: wrap; gap: 6px;
  margin-bottom: var(--sp-6); padding-bottom: var(--sp-5);
  border-bottom: 1px solid var(--color-border);
}
.gloss-jump a {
  display: inline-flex; align-items: center; justify-content: center;
    min-width: 44px; min-height: 44px; padding: 0 8px;
  border: 1px solid var(--color-border); border-radius: var(--r-sm);
  font-size: var(--fs-sm); font-weight: var(--fw-semi);
  text-decoration: none;
}
.gloss-jump a:hover, .gloss-jump a:focus-visible {
  border-color: var(--color-accent-text); color: var(--color-accent-text, var(--color-accent));
}
.gloss { margin: 0 0 var(--sp-6); }
.gloss dt {
  font-weight: var(--fw-semi); color: var(--color-heading);
  margin-top: var(--sp-4);
}
.gloss dd { margin: 4px 0 0; padding-left: 0; }
.prose h2[id^="letter-"] { scroll-margin-top: calc(var(--header-h) + 1rem); }

body.is-locked { overflow: hidden; }


.primary-nav li.has-menu { position: static; display: flex; align-items: center; gap: 2px; }

.menu-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 20px; height: 20px; padding: 0; border: 0; border-radius: var(--r-sm);
  background: transparent; color: var(--chrome-ink-muted); cursor: pointer;
  transition: transform var(--dur) var(--ease), color var(--dur) var(--ease);
}
.menu-toggle svg { width: 11px; height: 11px; }
.menu-toggle[aria-expanded="true"] { transform: rotate(180deg); color: var(--color-accent); }
.has-menu:hover .menu-toggle { color: var(--chrome-ink); }

.mega {
  display: none;
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--chrome-surface);
  border-top: 1px solid var(--chrome-border);
  border-bottom: 1px solid var(--chrome-border);
  box-shadow: var(--shadow-lg);
  z-index: var(--z-header);
}
.mega[data-open="true"] { display: block; }

.mega::before {
  content: ""; position: absolute; left: 0; right: 0; top: -34px; height: 34px;
}
@media (hover: hover) {
  .has-menu:hover .mega, .has-menu:focus-within .mega, .mega:hover { display: block; }
}

.mega__inner {
  display: grid; gap: var(--sp-6) var(--sp-7);
  grid-template-columns: 1fr;
  padding-block: var(--sp-6) var(--sp-7);
}
.mega__inner { grid-template-columns: 1fr; }
.mega__links {
  display: grid;
  gap: var(--sp-3) var(--sp-5);          grid-template-columns: repeat(auto-fit, minmax(235px, 1fr));
  align-content: start;
}
.mega__links > * { min-width: 0; }
.mega__title {
  font-family: var(--font-display); font-weight: var(--fw-semi);
  font-size: 1.15rem; line-height: var(--lh-tight); letter-spacing: var(--ls-tight);
  color: var(--chrome-ink); margin: 0 0 var(--sp-2);
}
.mega__lead p { font-size: var(--fs-sm); color: var(--chrome-ink-muted); margin-bottom: var(--sp-4); }
.mega__lead .btn { font-size: var(--fs-xs); padding: .55rem 1.1rem; }

.mega__item {
  display: block; padding: var(--sp-3) var(--sp-4);
  border: 1px solid transparent; border-radius: var(--r-md);
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease);
    white-space: normal;
}
.mega__item:hover { background: var(--chrome-bg); border-color: var(--chrome-border); text-decoration: none; }
.mega__item strong {
  display: block; font-family: var(--font-body); font-size: var(--fs-sm);
  font-weight: var(--fw-semi); color: var(--chrome-ink); margin-bottom: 3px;
  white-space: normal; overflow-wrap: break-word;
}
.mega__item > span:not(.mega__ico) {
  display: block; font-size: var(--fs-xs); color: var(--chrome-ink-muted);
  line-height: 1.5; white-space: normal; overflow-wrap: break-word;
    display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2;
  overflow: hidden;
}

.mega__links--grouped {
  display: grid; gap: var(--sp-5) var(--sp-7);
  grid-template-columns: 1fr;
}
@media (min-width: 900px) {
    .mega__links--grouped { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.mega__links--grouped > * { min-width: 0; }
.mega__coltitle {
  margin: 0 0 var(--sp-2); padding: 0 var(--sp-4) var(--sp-2);
  font-size: var(--fs-xs); font-weight: var(--fw-semi);
  letter-spacing: .13em; text-transform: uppercase;
  color: var(--color-accent);
  border-bottom: 1px solid var(--chrome-border);
  white-space: normal;
}
.mega__col { min-width: 0; }

.mega__item.mega__item--icon {
  display: grid; align-items: start;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: var(--sp-3);
}
.mega__item--icon > strong,
.mega__item--icon > span:not(.mega__ico) { grid-column: 2; }
.mega__item--icon > span:not(.mega__ico) { -webkit-line-clamp: 3; }
.mega__item--icon > .mega__ico {
  grid-column: 1; grid-row: 1 / span 2;
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; margin-top: 1px;
  border: 1px solid var(--chrome-border); border-radius: var(--r-md);
  color: var(--color-accent);
  background: var(--chrome-bg);
  transition: border-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.mega__ico svg { width: 17px; height: 17px; display: block; }
.mega__item--icon:hover .mega__ico { border-color: var(--color-accent); }

@keyframes mega-in {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: none; }
}
@media (min-width: 1440px) {
  .mega[data-open="true"],
  .has-menu:hover .mega,
  .has-menu:focus-within .mega,
  .mega:hover {
    animation: mega-in 200ms cubic-bezier(.16, .84, .44, 1) both;
  }
}
@media (prefers-reduced-motion: reduce) {
  .mega[data-open="true"],
  .has-menu:hover .mega,
  .has-menu:focus-within .mega,
  .mega:hover { animation: none; }
  .menu-toggle { transition: none; }
}

.drawer__body .has-menu { display: block; }
.drawer__body .menu-row { display: flex; align-items: center; justify-content: space-between; }
.drawer__body .menu-row > a { flex: 1; }
.drawer__body .menu-toggle {
  width: 40px; height: 40px; border: 1px solid var(--chrome-border); border-radius: var(--r-pill);
}
.drawer__body .menu-toggle svg { width: 13px; height: 13px; }
.drawer__body .mega {
  position: static; display: none; box-shadow: none; border: 0;
  background: transparent; padding-bottom: var(--sp-3);
}
.drawer__body .mega[data-open="true"] { display: block; }
.drawer__body .mega__inner { display: block; padding: 0 0 var(--sp-2); }
.drawer__body .mega__links { display: block; }
.drawer__body .mega__lead { display: none; }
.drawer__body .mega__links--grouped { display: block; }
.drawer__body .mega__coltitle {
  margin: var(--sp-4) 0 var(--sp-2); padding: 0 0 var(--sp-2);
}
.drawer__body .mega__col + .mega__col .mega__coltitle { margin-top: var(--sp-5); }
.drawer__body .mega__item {
  padding: var(--sp-3) var(--sp-4); background: var(--chrome-surface);
  margin-bottom: var(--sp-2);
    min-height: 44px; display: flex; flex-direction: column; justify-content: center;
}
.drawer__body .mega__item > span:not(.mega__ico) { display: none; }
.drawer__body .mega__item.mega__item--icon {
  display: grid; grid-template-columns: auto minmax(0, 1fr);
  align-items: center; column-gap: var(--sp-3);
}
.drawer__body .mega__item--icon > span:not(.mega__ico) {
  display: block; -webkit-line-clamp: 3;
}

.theme-switch {
  display: flex; align-items: center; justify-content: center;
  flex-wrap: wrap; gap: 4px;
  padding: 6px var(--gutter);
  background: var(--brand-primary-soft);
  border-bottom: 1px solid var(--chrome-border-strong);
}
.theme-switch__tag {
  font-size: .58rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--brand-accent); padding: 0 5px; white-space: nowrap;
}
.theme-switch__b, .theme-switch__off {
  border: 0; border-radius: var(--r-pill); cursor: pointer;
  padding: 5px 10px; font: inherit; font-size: .68rem; font-weight: var(--fw-medium);
  background: transparent; color: var(--chrome-ink-muted); white-space: nowrap;
}
.theme-switch__b:hover, .theme-switch__off:hover { color: var(--chrome-ink); background: var(--wash-white-08); }
.theme-switch__b.on { background: var(--brand-accent); color: var(--color-on-accent); font-weight: var(--fw-semi); }
.theme-switch__off { color: var(--chrome-ink-subtle); border-left: 1px solid var(--chrome-border-strong); border-radius: 0; margin-left: 2px; }
.theme-switch__note {
  font-size: .58rem; color: var(--chrome-ink-subtle); padding: 0 6px; white-space: nowrap;
}
.theme-switch__b, .theme-switch__off { min-height: 30px; }
.header__actions { flex-wrap: nowrap; }

.tp-grid {
  display: grid; gap: var(--sp-6);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
}
.tp-card {
  min-width: 0; background: var(--color-bg-tint);
  border: 1px solid var(--color-border); border-radius: var(--r-lg); padding: var(--sp-5);
}
.tp-card h2 { font-size: 1.15rem; margin: var(--sp-4) 0 var(--sp-2); }
.tp-swatch { border: 1px solid; border-radius: var(--r-md); padding: var(--sp-4); }
.tp-inner { border: 1px solid; border-radius: var(--r-sm); padding: var(--sp-4); }
.tp-h { margin: 0 0 var(--sp-2); font-family: var(--font-display); font-size: 1.15rem; }
.tp-b { margin: 0 0 var(--sp-3); font-size: var(--fs-sm); line-height: 1.6; }
.tp-btn {
  display: inline-block; background: var(--brand-accent); color: var(--color-on-accent);
  border-radius: var(--r-pill); padding: .45rem 1rem;
  font-size: var(--fs-xs); font-weight: var(--fw-semi);
}
.tp-why { font-size: var(--fs-sm); color: var(--color-text-muted); margin: 0 0 var(--sp-4); }
.tp-vals { display: grid; gap: var(--sp-2) var(--sp-4); grid-template-columns: repeat(2, 1fr); margin: 0 0 var(--sp-4); }
.tp-vals dt { font-size: var(--fs-xs); color: var(--color-text-subtle); }
.tp-vals dd { margin: 0; font-size: var(--fs-xs); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--color-primary); }
.tp-open { font-size: var(--fs-sm); margin: 0 0 var(--sp-2); }
.tp-card ul { margin: 0; padding-left: 1.1rem; }
.tp-card li { font-size: var(--fs-sm); margin-bottom: var(--sp-2); }

.mega__safety {
  margin: var(--sp-4) 0 0; padding-top: var(--sp-4);
  border-top: 1px solid var(--chrome-border);
  font-size: var(--fs-xs); line-height: 1.6; color: var(--chrome-ink-subtle);
  white-space: normal;
}

.steps { list-style: none; counter-reset: step; margin: 0 0 var(--sp-6); padding: 0; }
.steps li {
  counter-increment: step;
  position: relative; padding: 0 0 var(--sp-5) var(--sp-8);
  border-left: 1px solid var(--color-border); margin-left: 15px;
}
.steps li:last-child { border-left-color: transparent; padding-bottom: 0; }
.steps li::before {
  content: counter(step);
  position: absolute; left: -16px; top: -2px;
  width: 31px; height: 31px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--color-bg); border: 1px solid var(--color-accent);
  color: var(--color-accent-text); font-size: var(--fs-xs); font-weight: var(--fw-semi);
}
.steps strong { display: block; color: var(--color-primary); margin-bottom: 3px; }
.steps span { display: block; font-size: var(--fs-sm); color: var(--color-text-muted); }

.riskbox {
  background: var(--color-warning-bg);
  border: 1px solid var(--wash-gold-55);
  border-left: 4px solid var(--color-accent);
  border-radius: var(--r-md);
  padding: var(--sp-5); margin: var(--sp-6) 0;
}
.riskbox p, .riskbox li { margin: 0 0 var(--sp-3); font-size: var(--fs-sm); color: var(--color-text); }
.riskbox p:last-child, .riskbox li:last-child { margin-bottom: 0; }
.riskbox strong { color: var(--color-primary); }
.riskbox ul { margin: 0 0 var(--sp-3); padding-left: 1.2rem; }

.fee-tbc { font-size: var(--fs-xs); color: var(--color-text-subtle); }
.esc-role {
  display: inline-block; margin-left: var(--sp-2);
  font-size: .62rem; letter-spacing: .1em; text-transform: uppercase;
  font-weight: var(--fw-medium); color: var(--color-text-subtle);
  border: 1px solid var(--color-border); border-radius: var(--r-pill); padding: 1px 8px;
}

.rc-list { display: grid; gap: var(--sp-4); }
.rc {
  background: var(--color-bg-tint); border: 1px solid var(--color-border);
  border-radius: var(--r-lg); padding: var(--sp-5); min-width: 0;
}
.rc__cat {
  display: flex; align-items: center; gap: var(--sp-3); margin: 0 0 var(--sp-2);
  font-size: var(--fs-xs); font-weight: var(--fw-semi);
  letter-spacing: .12em; text-transform: uppercase; color: var(--color-accent-text);
}
.rc__flag {
  font-size: .62rem; letter-spacing: .1em; color: var(--color-text-subtle);
  border: 1px solid var(--color-border); border-radius: var(--r-pill); padding: 1px 8px;
}
.rc h3 { margin: 0 0 var(--sp-2); font-size: 1.1rem; }
.rc h3 a { color: var(--color-primary); }
.rc h3 a:hover { color: var(--color-accent-text); }
.rc__sum { margin: 0 0 var(--sp-3); font-size: var(--fs-sm); color: var(--color-text-muted); }
.rc__meta {
  display: flex; flex-wrap: wrap; gap: var(--sp-2) var(--sp-4); margin: 0 0 var(--sp-4);
  font-size: var(--fs-xs); color: var(--color-text-subtle);
}
.rc__rev { color: var(--color-accent-text); }
.rc__act { display: flex; flex-wrap: wrap; gap: var(--sp-3); margin: 0; }
.btn--sm { font-size: var(--fs-xs); padding: .5rem 1rem; }

.rfilter {
  background: var(--color-bg-tint); border: 1px solid var(--color-border);
  border-radius: var(--r-lg); padding: var(--sp-4); margin-bottom: var(--sp-5);
}
.rfilter__row {
  display: grid; gap: var(--sp-3);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr));
  align-items: end;
}
.rfilter__f { display: block; min-width: 0; }
.rfilter__f > span {
  display: block; margin-bottom: 5px;
  font-size: var(--fs-xs); letter-spacing: .08em; text-transform: uppercase;
  color: var(--color-text-subtle);
}
.rfilter input, .rfilter select {
  width: 100%; padding: .6rem .75rem; border-radius: var(--r-md);
  border: 1px solid var(--color-border); background: var(--color-bg);
  color: var(--color-primary); font: inherit; font-size: var(--fs-sm);
    min-height: 44px;
}
.rfilter button { min-height: 44px; }
.rfilter__count { margin: var(--sp-3) 0 0; font-size: var(--fs-xs); color: var(--color-text-subtle); }

.search-page-form {
  display: flex; gap: var(--sp-3); flex-wrap: wrap; margin-bottom: var(--sp-6);
}
.search-page-form input {
  flex: 1 1 300px; min-width: 0; min-height: 48px;
  padding: .75rem 1rem; border-radius: var(--r-md);
  border: 1px solid var(--color-border-strong);
  background: var(--color-bg-tint); color: var(--color-primary);
  font: inherit;
}
.search-page-form button { min-height: 48px; }
#search-results .rc h2 { margin: 0 0 var(--sp-2); font-size: 1.1rem; }
#search-results .rc h2 a { color: var(--color-primary); }
#search-results .rc h2 a:hover { color: var(--color-accent-text); }

.scrollnav {
  position: fixed; right: 24px; bottom: 24px;
  z-index: var(--z-float);
  display: flex; flex-direction: column; gap: 12px;
}
.scrollnav[data-show="false"] { opacity: 0; visibility: hidden; }
.scrollnav__btn[hidden] { display: none; }

.scrollnav__btn {
  position: relative;
  width: 48px; height: 48px;                display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--chrome-bg);
  border: 1px solid var(--wash-gold-35);
  color: var(--chrome-ink);
  box-shadow: 0 6px 20px var(--wash-black-45);
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease),
              color var(--dur) var(--ease);
}
.scrollnav__btn:hover {
  background: var(--brand-primary);
  border-color: var(--brand-accent);
  color: var(--brand-accent);
  text-decoration: none;
}
.scrollnav__btn:focus-visible {
  outline: 3px solid var(--brand-accent); outline-offset: 3px;
}
.scrollnav__btn svg { width: 20px; height: 20px; display: block; }

.scrollnav__tip {
  position: absolute; right: calc(100% + 10px); top: 50%;
  transform: translateY(-50%);
  padding: 5px 10px; border-radius: var(--r-sm);
  background: var(--chrome-bg-deep); color: var(--chrome-ink);
  border: 1px solid var(--chrome-border-strong);
  font-size: var(--fs-xs); line-height: 1; white-space: nowrap;
  opacity: 0; pointer-events: none;
  transition: opacity var(--dur-fast) var(--ease);
}
.scrollnav__btn:hover .scrollnav__tip,
.scrollnav__btn:focus-visible .scrollnav__tip { opacity: 1; }

@media (max-width: 700px) {
  .scrollnav { right: 15px; bottom: 19px; gap: 10px; }
  .scrollnav__btn { width: 44px; height: 44px; }
  .scrollnav__btn svg { width: 18px; height: 18px; }
    .scrollnav__tip { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .scrollnav, .scrollnav__btn, .scrollnav__tip { transition: none; }
}

.channels {
  display: grid; gap: var(--sp-4); margin-bottom: var(--sp-4);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
}
.channel {
  display: block; min-width: 0; padding: var(--sp-5);
  background: var(--color-bg-tint); border: 1px solid var(--color-border);
  border-radius: var(--r-lg);
  transition: border-color var(--dur) var(--ease);
    min-height: 88px;
}
.channel:hover { border-color: var(--color-accent-text); text-decoration: none; }
.channel__k {
  display: block; margin-bottom: var(--sp-2);
  font-size: var(--fs-xs); font-weight: var(--fw-semi);
  letter-spacing: .12em; text-transform: uppercase; color: var(--color-accent-text);
}
.channel__v {
  display: block; font-size: 1.05rem; color: var(--color-primary);
  overflow-wrap: anywhere;
}
.channels--compact .channel { padding: var(--sp-4); min-height: 0; }
@media (prefers-reduced-motion: reduce) { .channel { transition: none; } }

.mega__contact {
  margin: var(--sp-4) 0 0; padding-top: var(--sp-4);
  border-top: 1px solid var(--chrome-border);
  display: grid; gap: var(--sp-2);
}
.mega__contact div { display: flex; gap: var(--sp-3); align-items: baseline; }
.mega__contact dt {
  flex: 0 0 74px; font-size: .62rem; letter-spacing: .1em;
  text-transform: uppercase; color: var(--chrome-ink-subtle);
}
.mega__contact dd {
  margin: 0; font-size: var(--fs-xs); color: var(--chrome-ink);
  overflow-wrap: anywhere; white-space: normal;
}
.mega__contact a { color: var(--color-accent); }

.cred {
  background: var(--color-bg-tint); border: 1px solid var(--color-border);
  border-radius: var(--r-lg); padding: var(--sp-5); min-width: 0;
}
.cred__value {
  margin: 0 0 var(--sp-1); font-family: var(--font-display);
  font-size: 1.25rem; line-height: var(--lh-tight); color: var(--color-primary);
}
.cred__body {
  margin: 0 0 var(--sp-3); font-size: var(--fs-xs);
  letter-spacing: .06em; text-transform: uppercase; color: var(--color-accent-text);
}
.cred__what {
  margin: 0 0 var(--sp-4); font-size: var(--fs-sm);
  line-height: var(--lh-normal); color: var(--color-text-muted);
}
.cred .lh-card__more { font-size: var(--fs-xs); }

.home-market { display: grid; gap: var(--sp-6); grid-template-columns: 1fr; }
.home-market > * { min-width: 0; }
@media (min-width: 900px) { .home-market { grid-template-columns: 1fr 1fr; align-items: start; } }
.home-market .kse { margin-bottom: 0; }

@media (min-width: 800px) {
  .steps--home {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-5);
  }
  .steps--home li {
    border-left: 0; border-top: 1px solid var(--color-border);
    margin-left: 0; padding: var(--sp-7) 0 0;
  }
  .steps--home li::before { left: 0; top: -16px; }
}

.kse {
  background: var(--color-bg-tint); border: 1px solid var(--color-border);
  border-radius: var(--r-lg); padding: var(--sp-5); margin-bottom: var(--sp-6);
}
.kse__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--sp-2) var(--sp-4); }
.kse__name {
  margin: 0; font-size: var(--fs-xs); font-weight: var(--fw-semi);
  letter-spacing: .13em; text-transform: uppercase; color: var(--color-accent-text);
  flex-basis: 100%;
}
.kse__value {
  margin: 0; font-family: var(--font-display);
  font-size: clamp(1.9rem, 1.2rem + 2.4vw, 2.9rem); line-height: 1.05;
  letter-spacing: var(--ls-tight); color: var(--color-primary);
  font-variant-numeric: tabular-nums;
}
.kse__delta {
  margin: 0; font-size: var(--fs-sm); font-weight: var(--fw-semi);
  font-variant-numeric: tabular-nums;
}
.kse__delta[data-dir="up"]   { color: var(--color-success-on-dark); }
.kse__delta[data-dir="down"] { color: var(--color-error-on-dark); }
.kse__stats {
  display: grid; gap: var(--sp-3) var(--sp-5); margin: var(--sp-5) 0 0;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr));
}
.kse__stats > div { min-width: 0; }
.kse__stats dt {
  font-size: var(--fs-xs); letter-spacing: .07em; text-transform: uppercase;
  color: var(--color-text-subtle); margin-bottom: 2px;
}
.kse__stats dd {
  margin: 0; font-size: var(--fs-sm); color: var(--color-primary);
  font-variant-numeric: tabular-nums;
}
.kse__src {
  margin: var(--sp-4) 0 0; font-size: var(--fs-xs); color: var(--color-text-subtle);
}
.kse--compact .kse__value { font-size: clamp(1.6rem, 1.1rem + 1.6vw, 2.2rem); }

.ann-list { list-style: none; margin: 0 0 var(--sp-5); padding: 0; }
.ann {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--sp-2) var(--sp-3);
  padding: var(--sp-3) 0; border-bottom: 1px solid var(--color-border);
}
.ann:last-child { border-bottom: 0; }
.ann__sym {
  flex: 0 0 auto; min-width: 72px;
  font-size: var(--fs-xs); font-weight: var(--fw-semi); letter-spacing: .08em;
  color: var(--color-accent-text);
}
.ann a { flex: 1 1 260px; font-size: var(--fs-sm); color: var(--color-primary); }
.ann a:hover { color: var(--color-accent-text); }
.ann__type {
  font-size: .62rem; letter-spacing: .1em; color: var(--color-text-subtle);
  border: 1px solid var(--color-border); border-radius: var(--r-sm); padding: 1px 5px;
}

.mega__status { display: inline-flex; margin-top: var(--sp-4); }

.svc-grouphead {
  margin: var(--sp-7) 0 var(--sp-4);
  font-size: var(--fs-xs); font-weight: var(--fw-semi);
  letter-spacing: .13em; text-transform: uppercase;
  color: var(--color-accent-text);
}
.svc-grouphead:first-child { margin-top: 0; }
.svc-grid {
  display: grid; gap: var(--sp-4);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 270px), 1fr));
}
.svc-grid > * { min-width: 0; }
.svc-card {
  display: block; padding: var(--sp-5);
  background: var(--color-bg-tint);
  border: 1px solid var(--color-border); border-radius: var(--r-lg);
  transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.svc-card:hover { border-color: var(--color-accent-text); text-decoration: none; }
.svc-card__ico {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; margin-bottom: var(--sp-3);
  border: 1px solid var(--color-border); border-radius: var(--r-md);
  color: var(--color-accent-text); background: var(--color-bg);
}
.svc-card__ico svg { width: 21px; height: 21px; display: block; }
.svc-card h3 { margin: 0 0 var(--sp-2); font-size: 1.05rem; color: var(--color-primary); }
.svc-card p { margin: 0 0 var(--sp-3); font-size: var(--fs-sm); color: var(--color-text-muted); }
@media (prefers-reduced-motion: reduce) { .svc-card { transition: none; } }


.page-head {
  position: relative; overflow: hidden;
  padding-block: clamp(2.25rem, 1.4rem + 3.2vw, 3.75rem) clamp(1.9rem, 1.2rem + 2.6vw, 3rem);
  background:
    radial-gradient(62% 72% at 86% 8%, var(--wash-gold-10), transparent 70%),
    linear-gradient(180deg, var(--brand-primary) 0%, var(--chrome-bg) 100%);
  color: var(--chrome-ink);
  border-bottom: 1px solid var(--chrome-border);
}
.page-head h1 { max-width: 20ch; margin-bottom: var(--sp-4); color: var(--chrome-ink); }
.page-head .lead {
  font-size: var(--fs-lead); color: var(--chrome-ink-muted);
  max-width: 62ch; margin: 0; line-height: 1.6;
}
.page-head::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: linear-gradient(90deg, var(--color-accent), var(--wash-gold-00) 62%);
}
.page-head--compact { padding-block: clamp(1.75rem, 1.2rem + 2vw, 2.5rem) clamp(1.5rem, 1rem + 1.6vw, 2rem); }

.crumbs { font-size: var(--fs-xs); color: var(--color-text-subtle); margin-bottom: var(--sp-5); }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: var(--sp-2); margin: 0; padding: 0; }
.crumbs li::after { content: "/"; margin-left: var(--sp-2); color: var(--color-border-strong); }
.crumbs li:last-child::after { content: ""; }
.crumbs a { color: var(--color-accent-text); }
.crumbs a:hover { color: var(--color-primary); }
.page-head .crumbs { color: var(--chrome-ink-subtle); }
.page-head .crumbs a { color: var(--brand-accent-on-dark); }
.page-head .crumbs a:hover { color: var(--chrome-ink); }
.page-head .crumbs li::after { color: var(--chrome-border-strong); }

.prose { max-width: 68ch; }
.prose h2 { margin-top: var(--sp-8); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: var(--sp-6); }

.prose h2 {
  color: var(--color-heading);
  line-height: 1.2;
}

.prose h2::before {
  content: "";
  display: block;
  width: 44px;
  height: 3px;
  border-radius: 2px;
  background: var(--color-heading-rule);
  margin-bottom: var(--sp-3);
}

.section--dark .prose h2,
.hero .prose h2 { color: var(--chrome-ink); }
.section--dark .prose h2::before,
.hero .prose h2::before { background: var(--brand-accent); }

.prose h2 + p { margin-top: 0; }

.values {
  list-style: none; padding: 0; margin-block: var(--sp-6);
  display: grid; gap: var(--sp-5); grid-template-columns: 1fr;
}
@media (min-width: 640px)  { .values { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .values { grid-template-columns: repeat(3, 1fr); } }

.value {
  background: var(--color-bg-tint);
  border: 1px solid var(--color-border);
  border-radius: var(--r-lg);
  padding: var(--sp-6);
  box-shadow: var(--shadow-xs);
}
.value__icon { width: 88px; height: 88px; margin-bottom: var(--sp-4); }
.value h3 { margin: 0 0 var(--sp-2); color: var(--color-heading); }
.value p  { margin: 0; color: var(--color-text-muted); line-height: 1.7; font-size: var(--fs-sm); }
.value a  { color: var(--color-accent-text); text-decoration: underline; text-underline-offset: 3px; }
.prose p, .prose li { color: var(--color-text); }
.prose p { margin-bottom: 1.25rem; }          .prose strong { color: var(--color-primary); font-weight: var(--fw-semi); }
.prose ul, .prose ol { padding-left: 1.25rem; margin-bottom: var(--sp-5); }
.prose li { margin-bottom: var(--sp-2); }
.prose a { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.prose a:hover { color: var(--color-primary); }

.fact-list { display: grid; gap: var(--sp-4); grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); margin-block: var(--sp-6); }
.fact { border: 1px solid var(--color-border); border-radius: var(--r-lg); padding: var(--sp-5); background: var(--color-bg-tint); }
.fact dt { font-size: var(--fs-xs); letter-spacing: var(--ls-wide); text-transform: uppercase; color: var(--color-accent-text); margin-bottom: var(--sp-2); }
.fact dd { margin: 0; font-size: var(--fs-sm); color: var(--color-text); }

.fact-list--licence .fact {
  position: relative;
  background: var(--fact-tint);
  border: 1px solid var(--fact-line);
  border-radius: var(--r-lg);
  padding: calc(var(--sp-5) + 3px) var(--sp-5) var(--sp-5);
  box-shadow: var(--shadow-xs);
  overflow: hidden;
  transition: box-shadow var(--dur) var(--ease),
              border-color var(--dur) var(--ease);
}

.fact-list--licence .fact::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: var(--fact-accent);
}

.fact-list--licence .fact dt {
  color: var(--color-text);
  font-weight: 600;
  font-size: var(--fs-xs);
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  margin-bottom: var(--sp-2);
}

.fact-list--licence .fact dd {
  color: var(--color-text-muted);
  font-size: var(--fs-sm);
  line-height: 1.6;
  margin: 0;
}

.fact-list--licence .fact:hover {
  box-shadow: var(--shadow-sm);
  border-color: var(--fact-line-hover);
}

.fact-list--licence .fact--trec {
  --fact-tint: var(--color-bg-alt); --fact-accent: var(--brand-primary);
  --fact-line: var(--wash-brand-22); --fact-line-hover: var(--wash-brand-45);
}
.fact-list--licence .fact--regulator {
  --fact-tint: var(--color-bg-alt); --fact-accent: var(--brand-primary);
  --fact-line: var(--wash-ink-22); --fact-line-hover: var(--wash-ink-45);
}
.fact-list--licence .fact--clearing {
  --fact-tint: var(--color-bg-alt); --fact-accent: var(--brand-primary);
  --fact-line: var(--wash-brand-22); --fact-line-hover: var(--wash-brand-45);
}
.fact-list--licence .fact--custody {
  --fact-tint: var(--color-bg-alt); --fact-accent: var(--color-accent-text);
  --fact-line: var(--wash-gold-28); --fact-line-hover: var(--wash-gold-45);
}

.fact-list--licence { grid-template-columns: 1fr; gap: var(--sp-4); }
@media (min-width: 600px) {
  .fact-list--licence { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .fact-list--licence { grid-template-columns: repeat(4, 1fr); }
}

.people { display: grid; gap: var(--sp-6); margin-top: var(--sp-6); }
.person {
  display: grid; gap: var(--sp-5); align-items: start;
  border: 1px solid var(--color-border); border-radius: var(--r-lg);
  background: var(--color-bg-tint); padding: var(--sp-6);
}
@media (min-width: 720px) { .person { grid-template-columns: 148px 1fr; } }
.person__photo {
  width: 148px; height: 148px; border-radius: 50%; object-fit: cover;
  border: 2px solid var(--wash-gold-55);
}
.person__name { font-size: 1.3rem; margin-bottom: var(--sp-1); }
.person__role {
  font-size: var(--fs-xs); font-weight: var(--fw-semi); letter-spacing: var(--ls-wide);
  text-transform: uppercase; color: var(--color-accent-text); margin-bottom: var(--sp-4);
}
.person p { font-size: var(--fs-sm); color: var(--color-text-muted); }
.person p:last-child { margin-bottom: 0; }

.nav-soon {
  display: inline-block; padding: var(--sp-2) var(--sp-1);
  font-size: var(--fs-sm); font-weight: var(--fw-medium);
  color: var(--chrome-ink-subtle); letter-spacing: .02em; white-space: nowrap;
  cursor: default; opacity: .62;
}
.drawer__body .nav-soon { display: block; padding: var(--sp-4) 0; font-size: 1.05rem; }


.hero-carousel { --hero-pad: 1.25rem; --emerald:var(--brand-primary); --rich:var(--brand-primary); --gold:var(--brand-accent); --softgold:var(--brand-accent); --ivory:var(--brand-ink); --char:var(--chrome-border); }

.carousel {
  position: relative; width: 100%;
  aspect-ratio: 13 / 6;
  min-height: 460px; max-height: 78vh;
  overflow: hidden; outline: none;
  background: var(--emerald);
}
@media (max-width: 780px) { .carousel { aspect-ratio: 4 / 5; max-height: none; min-height: 560px; } }
@media (min-width: 900px)  { .hero-carousel { --hero-pad: 5.5rem; } }
@media (min-width: 1500px) { .hero-carousel { --hero-pad: 6.5rem; } }
.carousel:focus-visible { box-shadow: inset 0 0 0 3px var(--wash-gold-70); }

.cslide {
  position: absolute; inset: 0; opacity: 0; transform: scale(1.035);
  transition: opacity .8s ease, transform 1.4s ease; pointer-events: none;
}
.cslide.active { opacity: 1; transform: scale(1); pointer-events: auto; }

.hero-carousel .slide {
  position: relative; width: 100%; height: 100%; overflow: hidden;
  background: linear-gradient(135deg,var(--brand-primary) 0%,var(--brand-primary) 55%,var(--brand-primary) 100%);
}
.hero-carousel .grid-bg {
  position: absolute; inset: 0;
  background-image: linear-gradient(var(--wash-ink-04) 1px,transparent 1px),
                    linear-gradient(90deg,var(--wash-ink-04) 1px,transparent 1px);
  background-size: 64px 64px;
}
.hero-carousel .amb { position: absolute; inset: 0; transform-origin: 62% 62%; }
.carousel.live .cslide.active .amb { animation: amZoom 14s ease-in-out infinite alternate; }

.hero-carousel .scrim-d {
  position: absolute; inset: 0;
  background: linear-gradient(90deg,var(--wash-brand-94) 0%,var(--wash-brand-62) 44%,var(--wash-brand-00) 78%);
}
@media (max-width: 780px) {
  .hero-carousel .scrim-d {
    background: linear-gradient(180deg,var(--wash-brand-94) 0%,var(--wash-brand-70) 46%,var(--wash-brand-35) 100%);
  }
}

.hero-carousel .logo-d {
  position: absolute; left: var(--hero-pad); top: clamp(1.5rem,1rem + 1.6vw,2.75rem);
  display: flex; align-items: center; gap: 16px; z-index: 3;
}
.hero-carousel .logo-d img { width: clamp(40px,3.4vw,54px); height: auto; object-fit: contain; }
.hero-carousel .wm1 { font-family: Inter,Arial,sans-serif; font-weight: 800; font-size: clamp(16px,1.4vw,21px); letter-spacing: 3px; color: var(--ivory); line-height: 1.1; }
.hero-carousel .wm2 { font-weight: 500; font-size: clamp(9px,.75vw,11px); letter-spacing: 5.5px; color: var(--gold); line-height: 1.3; }
.hero-carousel .slogan-d {
  position: absolute; right: var(--hero-pad); top: clamp(1.9rem,1.2rem + 2vw,3.7rem);
  font-style: italic; font-size: 14px; letter-spacing: 1px; color: var(--wash-gold-82); z-index: 3;
}
@media (max-width: 980px) { .hero-carousel .slogan-d { display: none; } }

.hero-carousel .copy-d {
  position: absolute; left: var(--hero-pad); right: var(--hero-pad);
  top: 47%; transform: translateY(-50%);
  max-width: 600px; display: flex; flex-direction: column; align-items: flex-start;
  gap: clamp(.7rem,.4rem + .9vw,1.125rem); z-index: 3;
}
@media (max-width: 780px) {
  .hero-carousel .copy-d { top: auto; bottom: clamp(4.5rem,3rem + 8vw,7rem); transform: none; max-width: none; align-items: center; text-align: center; }
  .hero-carousel .chips { justify-content: center; }
}

.hero-carousel .eyebrow {
    display: block; background: none; border: 0; border-radius: 0; padding: 0; margin: 0;
  font-size: clamp(11px,.35rem + .55vw,13px); font-weight: 600; letter-spacing: 4px;
  color: var(--softgold); text-transform: uppercase;
}
.hero-carousel .head {
  margin: 0; font-family: Inter,Arial,sans-serif; font-weight: 700;
  font-size: clamp(1.85rem,1.1rem + 2.9vw,3.125rem); line-height: 1.12;
  color: var(--color-bg-tint); letter-spacing: -0.01em; text-wrap: pretty;
}
.hero-carousel .support {
  margin: 0; font-size: clamp(.95rem,.85rem + .35vw,1.125rem); line-height: 1.55;
  color: var(--wash-ink-82); max-width: 470px; text-wrap: pretty;
}
.hero-carousel .chips { display: flex; gap: 10px; flex-wrap: wrap; }
.hero-carousel .chip {
  display: flex; align-items: center; gap: 8px; padding: 8px 14px;
  border: 1px solid var(--wash-gold-35); border-radius: 999px;
  background: var(--wash-brand-35); font-size: clamp(11px,.35rem + .5vw,13px); color: var(--wash-ink-90);
}
.hero-carousel .chip i { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); flex: none; }
@media (max-width: 560px) { .hero-carousel .chip:nth-child(n+3) { display: none; } }

.hero-carousel .cta {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 4px;
  padding: clamp(.75rem,.5rem + .7vw,.94rem) clamp(1.3rem,.8rem + 1.6vw,2rem);
  background: var(--gold); color: var(--char); font-weight: 600;
  font-size: clamp(.9rem,.8rem + .3vw,1rem); text-decoration: none; border-radius: 3px;
  box-shadow: 0 4px 18px var(--wash-gold-28);
  transition: background var(--dur) var(--ease), transform var(--dur-fast) var(--ease);
}
.hero-carousel .cta:hover { background: var(--softgold); color: var(--char); text-decoration: none; transform: translateY(-1px); }

.hero-carousel .m-bars { position: absolute; display: flex; align-items: flex-end; transform-origin: bottom; }
.hero-carousel .m-bars > div { flex: 1; }
.hero-carousel .horizon {
  position: absolute; left: 0; right: 0; bottom: 24%; height: 1px;
  background: linear-gradient(90deg,transparent 30%,var(--wash-gold-42) 70%,var(--wash-gold-62) 100%);
}
.hero-carousel .beam {
  position: absolute; right: -10%; bottom: -30%; width: 70%; height: 160%;
  background: linear-gradient(65deg,var(--wash-brand-00) 30%,var(--wash-brand-45) 60%,var(--wash-brand-00) 90%);
  transform: skewX(-12deg);
}
.hero-carousel .ring { position: absolute; top: 50%; border-radius: 50%; }

@keyframes amZoom   { from { transform: scale(1); }   to { transform: scale(1.055); } }
@keyframes fadeUp   { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }
@keyframes fadeIn   { from { opacity: 0; } to { opacity: 1; } }
@keyframes growUp   { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes drawLine { from { stroke-dashoffset: 1600; } to { stroke-dashoffset: 0; } }
@keyframes drawShort{ from { stroke-dashoffset: 600; }  to { stroke-dashoffset: 0; } }
@keyframes ringIn   { from { opacity: 0; transform: scale(.8); } to { opacity: 1; transform: scale(1); } }
@keyframes sweepIn  { from { opacity: 0; transform: skewX(-12deg) translateX(14%); } to { opacity: 1; transform: skewX(-12deg) translateX(0); } }

.cslide.active .logo-d, .cslide.active .slogan-d { animation: fadeIn 1s cubic-bezier(.22,1,.36,1) .1s both; }
.cslide.active .st1 { animation: fadeUp .8s cubic-bezier(.22,1,.36,1) .15s both; }
.cslide.active .st2 { animation: fadeUp .9s cubic-bezier(.22,1,.36,1) .3s both; }
.cslide.active .st3 { animation: fadeUp .9s cubic-bezier(.22,1,.36,1) .5s both; }
.cslide.active .st4 { animation: fadeUp .9s cubic-bezier(.22,1,.36,1) .7s both; }
.cslide.active .st5 { animation: fadeUp .9s cubic-bezier(.22,1,.36,1) .9s both; }
.cslide.active .m-bars      { animation: growUp 1.2s cubic-bezier(.22,1,.36,1) .25s both; }
.cslide.active .m-soft      { animation: fadeIn 1.4s cubic-bezier(.22,1,.36,1) .8s both; }
.cslide.active .m-draw      { animation: drawLine 1.8s cubic-bezier(.22,1,.36,1) .35s both; }
.cslide.active .m-draw2     { animation: drawLine 2.2s cubic-bezier(.22,1,.36,1) .6s both; }
.cslide.active .m-drawshort { animation: drawShort 1.4s cubic-bezier(.22,1,.36,1) .4s both; }
.cslide.active .m-dots      { animation: fadeIn .6s ease 1.6s both; }
.cslide.active .m-beam      { animation: sweepIn 1.4s cubic-bezier(.22,1,.36,1) .2s both; }
.cslide.active .m-r1        { animation: ringIn 1s cubic-bezier(.22,1,.36,1) .25s both; }
.cslide.active .m-r2        { animation: ringIn 1.1s cubic-bezier(.22,1,.36,1) .4s both; }
.cslide.active .m-r3        { animation: ringIn 1.2s cubic-bezier(.22,1,.36,1) .55s both; }

.hero-carousel .arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--wash-ink-35); background: var(--wash-brand-45);
  color: var(--ivory); font-size: 18px; cursor: pointer;
  display: flex; align-items: center; justify-content: center; z-index: 5;
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.hero-carousel .arrow--prev { left: 20px; }
.hero-carousel .arrow--next { right: 20px; }
.hero-carousel .arrow:hover { background: var(--wash-brand-75); border-color: var(--wash-gold-70); }
.hero-carousel .arrow:focus-visible { outline: 2px solid var(--softgold); outline-offset: 2px; }
@media (max-width: 899px) { .hero-carousel .arrow { display: none; } }

.hero-carousel .dots { position: absolute; left: 0; right: 0; bottom: 22px; display: flex; justify-content: center; gap: 10px; z-index: 5; }
.hero-carousel .dot {
  width: 10px; height: 10px; border-radius: 5px; border: none; padding: 0;
  background: var(--wash-ink-42); cursor: pointer;
  transition: width .3s ease, background .3s ease;
}
.hero-carousel .dot.on { width: 30px; background: var(--gold); }
.hero-carousel .dot:focus-visible { outline: 2px solid var(--softgold); outline-offset: 3px; }

.trust-band { background: var(--color-bg-alt); border-bottom: 1px solid var(--color-border); }
.trust-band .hero__trust { margin: 0; padding-block: var(--sp-6); border-top: 0; justify-content: space-between; }

@media (prefers-reduced-motion: reduce) {
  .cslide { transition: none; transform: none; }
  .cslide.active *, .carousel.live .cslide.active .amb { animation: none !important; }
}

.table-wrap {
  overflow-x: auto; margin-block: var(--sp-6); -webkit-overflow-scrolling: touch;
  border: 1px solid var(--color-border); border-radius: var(--r-md);
  background: var(--color-bg-tint);
}
.reg-table { width: 100%; border-collapse: collapse; min-width: 520px; font-size: var(--fs-sm); }
.reg-table th, .reg-table td { text-align: left; padding: var(--sp-4); border-bottom: 1px solid var(--color-border); vertical-align: top; }
.reg-table thead th {
  font-family: var(--font-body); font-size: var(--fs-xs); font-weight: var(--fw-semi);
  letter-spacing: var(--ls-wide); text-transform: uppercase;
    color: var(--chrome-ink); background: var(--brand-primary);
  border-bottom-color: var(--color-border-strong);
}
.reg-table tbody tr:nth-child(even) { background: var(--wash-brand-03); }
.reg-table tbody tr:hover { background: var(--color-bg-alt); }
.reg-table th[scope="row"] { color: var(--color-primary); font-weight: var(--fw-semi); }
.reg-table tbody th { font-family: var(--font-body); font-weight: var(--fw-semi); color: var(--color-text); width: 38%; }
.reg-table tbody td { color: var(--color-text-muted); }
.reg-table tbody tr:last-child th, .reg-table tbody tr:last-child td { border-bottom: 0; }

.cta-row { display: flex; flex-wrap: wrap; gap: var(--sp-3); margin-block: var(--sp-6); }

.lh-grid { display: grid; gap: var(--sp-5); grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); margin-top: var(--sp-6); }
.lh-card {
  display: block; padding: var(--sp-6); border-radius: var(--r-lg);
  border: 1px solid var(--color-border); background: var(--color-bg-tint);
  transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.lh-card:hover { border-color: var(--color-accent-text); transform: translateY(-2px); box-shadow: var(--shadow-md); text-decoration: none; }
.lh-card h2, .lh-card h3 { font-size: 1.2rem; margin-bottom: var(--sp-2); }
.lh-card p { font-size: var(--fs-sm); color: var(--color-text-muted); margin: 0; }
.lh-card__more {
  display: inline-block; margin-top: var(--sp-4);
  font-size: var(--fs-xs); font-weight: var(--fw-semi);
  letter-spacing: var(--ls-wide); text-transform: uppercase;
  background: var(--chrome-bg-deep); color: var(--color-text-inverse);
  border-radius: var(--r-pill); padding: .45rem .95rem;
}

.article-wrap { display: grid; gap: var(--sp-7); }
@media (min-width: 1040px) { .article-wrap { grid-template-columns: 250px 1fr; } }
.toc { align-self: start; }
@media (min-width: 1040px) { .toc { position: sticky; top: calc(var(--header-h) + 1rem); } }
.toc h2 { font-family: var(--font-body); font-size: var(--fs-xs); font-weight: var(--fw-semi); letter-spacing: var(--ls-wide); text-transform: uppercase; color: var(--color-accent-text); margin-bottom: var(--sp-3); }
.toc ol { list-style: none; margin: 0; padding: 0; counter-reset: toc; }
.toc li { counter-increment: toc; margin-bottom: var(--sp-2); font-size: var(--fs-sm); }
.toc a { color: var(--color-text-muted); }
.toc a:hover { color: var(--color-accent-text); }
.toc a::before { content: counter(toc) ". "; color: var(--color-text-subtle); }

.article-meta { display: flex; flex-wrap: wrap; gap: var(--sp-2) var(--sp-5); font-size: var(--fs-xs); color: var(--color-text-subtle); margin-bottom: var(--sp-5); }
.article-meta strong { color: var(--color-text-muted); font-weight: var(--fw-medium); }
.lead-para { font-size: var(--fs-lead); color: var(--color-text); }

.prose h2[id] { scroll-margin-top: calc(var(--header-h) + 1rem); }
.prose ol.steps { padding-left: 1.3rem; margin-bottom: var(--sp-5); }
.prose ol.steps li { margin-bottom: var(--sp-3); color: var(--color-text-muted); }

.note {
  border-left: 4px solid var(--brand-primary);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  background: var(--color-bg-alt);
  padding: var(--sp-4) var(--sp-5); margin-block: var(--sp-5);
}
.note p { margin: 0 0 var(--sp-3); font-size: var(--fs-sm); color: var(--color-text); }
.note p:last-child { margin-bottom: 0; }
.note strong { color: var(--color-primary); }
.callout {
  border: 1px solid var(--wash-gold-55); border-left: 4px solid var(--color-accent);
  border-radius: var(--r-lg);
  background: var(--color-warning-bg); padding: var(--sp-5); margin-block: var(--sp-6);
}
.callout p { margin: 0; color: var(--color-text); font-weight: var(--fw-medium); }

.takeaways { border: 1px solid var(--color-border-strong); border-radius: var(--r-lg); background: var(--color-bg-tint); padding: var(--sp-6); margin-block: var(--sp-7); }
.takeaways h2 { margin-top: 0; }
.takeaways ul { padding-left: 1.15rem; margin: 0; }
.takeaways li { margin-bottom: var(--sp-2); color: var(--color-text-muted); }

.faq-item { border-bottom: 1px solid var(--color-border); padding-block: var(--sp-4); }
.faq-item:last-child { border-bottom: 0; }
.faq-item h3 { font-family: var(--font-body); font-size: 1rem; font-weight: var(--fw-semi); color: var(--color-text); margin-bottom: var(--sp-2); }
.faq-item p { margin: 0; font-size: var(--fs-sm); color: var(--color-text-muted); }

.disclaimer { border-top: 1px solid var(--color-border); margin-top: var(--sp-8); padding-top: var(--sp-5); font-size: var(--fs-xs); color: var(--color-text-subtle); }
.pager { display: flex; flex-wrap: wrap; gap: var(--sp-3); justify-content: space-between; margin-top: var(--sp-7); }


.acard {
  display: flex; flex-direction: column;
  background: var(--art-white);
  border: 1px solid var(--art-border);
  border-radius: 14px;
  overflow: hidden;
    box-shadow: 0 1px 2px var(--wash-brand-04);
  transition: border-color var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease),
              transform var(--dur) var(--ease);
  text-decoration: none;
  min-width: 0;
}
.acard:hover {
  border-color: var(--art-gold);
  box-shadow: 0 10px 28px var(--wash-brand-10);
  transform: translateY(-2px);
  text-decoration: none;
}
.acard:focus-visible {
  outline: 3px solid var(--art-green);
  outline-offset: 3px;
  border-color: var(--art-gold);
}

.acard__cover {
  aspect-ratio: 16 / 10;
  background: var(--art-green);
  position: relative;
  flex: none;
}
.acard__cover svg { width: 100%; height: 100%; display: block; }

.acard__body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }

.acard__meta {
  font-family: var(--font-article);
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--art-gold-text);
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  margin-bottom: 10px;
}
.acard__meta .sep { color: var(--art-border); }

.acard__title {
  font-family: var(--font-article);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.45;
  color: var(--art-green);
  margin: 0 0 8px;
  letter-spacing: 0;
}
.acard__desc {
  font-family: var(--font-article);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.65;
  color: var(--art-text-2);
  margin: 0 0 16px;
}
.acard__more {
  margin-top: auto;
  font-family: var(--font-article);
  font-size: 13px; font-weight: 600;
  color: var(--art-gold-text);
  display: inline-flex; align-items: center; gap: 6px;
}
.acard:hover .acard__more { color: var(--art-green); }
.acard__more::after { content: "\2192"; transition: transform var(--dur) var(--ease); }
.acard:hover .acard__more::after { transform: translateX(3px); }

.agrid {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;                margin-top: var(--sp-6);
}
@media (min-width: 640px)  { .agrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .agrid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.agrid > * { min-width: 0; }

.afilter { display: flex; flex-wrap: wrap; gap: 8px; margin-top: var(--sp-5); }
.afilter a, .afilter button {
  font-family: var(--font-article);
  font-size: 13px; font-weight: 500;
  padding: 8px 14px; min-height: 44px;
  display: inline-flex; align-items: center;
  border: 1px solid var(--art-border); border-radius: 999px;
  background: var(--art-white); color: var(--art-text);
  cursor: pointer; text-decoration: none;
}
.afilter a:hover, .afilter button:hover { border-color: var(--art-green); }
.afilter [aria-current="true"], .afilter .is-on {
  background: var(--art-green); color: var(--color-bg-tint); border-color: var(--art-green);
}

.adetail { font-family: var(--font-article); }
.adetail .prose,
.adetail__head { max-width: var(--art-measure); }

.adetail__title {
  font-family: var(--font-article);
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 600;
  line-height: 1.15;
  color: var(--art-green);
  letter-spacing: -0.01em;
  margin: 0 0 var(--sp-4);
  max-width: 20ch;
}
.adetail__summary {
  font-family: var(--font-article);
  font-size: 19px; line-height: 1.65; font-weight: 400;
  color: var(--art-text-2);
  max-width: 62ch; margin: 0;
}
.adetail__meta {
  font-family: var(--font-article);
  font-size: 12px; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--art-gold-text);
  display: flex; flex-wrap: wrap; gap: 8px 16px;
  margin-bottom: var(--sp-4);
}

.adetail .prose,
.adetail .prose p,
.adetail .prose li {
  font-family: var(--font-article);
  font-size: 17px;
  line-height: 1.8;
  color: var(--art-text);
}
.adetail .prose h2 {
  font-family: var(--font-article);
  font-size: clamp(22px, 2.6vw, 28px); font-weight: 600; line-height: 1.3;
  color: var(--art-green);
  letter-spacing: -0.005em;
  margin-top: 2.5rem; margin-bottom: 1rem;
}
.adetail .prose h3 {
  font-family: var(--font-article);
  font-size: 19px; font-weight: 600; line-height: 1.4;
  color: var(--art-green);
  margin-top: 2rem; margin-bottom: .6rem;
}
.adetail .prose p  { margin-bottom: 1.5rem; }
.adetail .prose ul, .adetail .prose ol { margin-bottom: 1.75rem; padding-left: 1.35rem; }
.adetail .prose li { margin-bottom: .6rem; }
.adetail .prose strong { font-weight: 600; color: var(--art-green); }
.adetail .prose a { color: var(--art-gold-text); text-decoration: underline; text-underline-offset: 3px; }
.adetail .prose a:hover { color: var(--art-green); }

.adetail .prose blockquote {
  margin: 2rem 0; padding: 4px 0 4px 20px;
  border-left: 3px solid var(--art-gold);
  font-size: 18px; line-height: 1.7; color: var(--art-text);
}
.adetail figure { margin: 2.25rem 0; }
.adetail figcaption {
  font-size: 13px; color: var(--art-text-2); margin-top: 8px;
  font-family: var(--font-article);
}
.adetail .table-wrap { margin-block: 2rem; }

.adetail .disclaimer,
.adetail .riskbox {
  font-family: var(--font-article);
  max-width: var(--art-measure);
}
.adetail .disclaimer p {
  font-size: 14px; line-height: 1.7; color: var(--art-text);
}

.adetail__cover {
  max-width: var(--art-measure);
  aspect-ratio: 16 / 10;
  border-radius: 14px; overflow: hidden;
  background: var(--art-green);
  margin-block: var(--sp-6);
}
.adetail__cover svg { width: 100%; height: 100%; display: block; }


.prose h2::before,.prose h3::before,.prose h4::before,
.section-heading::before,.content-heading::before,.page-content h2::before,.page-content h3::before,
main article h2::before,main article h3::before{content:none!important;display:none!important;width:0!important;height:0!important;margin:0!important}


/* ===================== PRESERVED FROM PRODUCTION (v55) =====================
   Found live on the server, prepended by an earlier working session: page-lead
   hiding, full-width prose, the Investor Hub card system, footer partner
   alignment, and a type scale dated 2026-08-13. Structure and scale kept;
   fonts follow the rebrand (Inter -> Archivo) and every colour resolves to
   the KTrade palette. Untouched original: main-v55-backup.css. */


/* Global information pages: direct article panels use the complete content width */
main .section>.container>.prose{width:100%;max-width:none!important;box-sizing:border-box}
main .section>.container>.prose>h2,main .section>.container>.prose>h3,main .section>.container>.prose>h4,main .section>.container>.prose>p,main .section>.container>.prose>ul,main .section>.container>.prose>ol,main .section>.container>.prose>blockquote,main .section>.container>.prose>table,main .section>.container>.prose>.table-wrap{width:100%;max-width:none!important}


/* Global internal-page headers: show the main H1 only */
.page-head .lead{display:none!important}


/* Global article detail layout: one primary heading, then article content */
main:has(.adetail) .page-head .lead{display:none!important}
main .adetail .adetail__head{display:none!important}


/* All article templates: remove the hero summary beneath the single H1 */
main:has(.article-wrap) .page-head .lead{display:none!important}


/* Investor Hub: article panels match the full card-grid width */
html:has(link[rel="canonical"][href*="/investor-hub/"]) main .section>.container>.prose{width:100%;max-width:none!important;box-sizing:border-box}
html:has(link[rel="canonical"][href*="/investor-hub/"]) main .section>.container>.prose>p,html:has(link[rel="canonical"][href*="/investor-hub/"]) main .section>.container>.prose>ul,html:has(link[rel="canonical"][href*="/investor-hub/"]) main .section>.container>.prose>ol{max-width:94ch}


/* Investor Hub premium card system — globally scoped to /investor-hub/ canonical pages */
html:has(link[rel="canonical"][href*="/investor-hub/"]) main .svc-grid{align-items:stretch;gap:20px}
html:has(link[rel="canonical"][href*="/investor-hub/"]) main .svc-card{position:relative;min-height:100%;overflow:hidden;border:1px solid rgba(16,16,16,.10);border-radius:18px;background:linear-gradient(145deg,#ffffff 0%,#F4F8F5 100%);box-shadow:0 10px 28px rgba(16,16,16,.08);transition:transform .28s ease,box-shadow .28s ease,border-color .28s ease}
html:has(link[rel="canonical"][href*="/investor-hub/"]) main .svc-card:nth-child(3n+2){background:linear-gradient(145deg,#F7FCF8 0%,#E8F6EC 100%);border-color:rgba(0,122,54,.20)}
html:has(link[rel="canonical"][href*="/investor-hub/"]) main .svc-card:nth-child(3n){background:linear-gradient(145deg,#F6FBF7 0%,#E8F6EC 100%)}
html:has(link[rel="canonical"][href*="/investor-hub/"]) main .svc-card:hover,html:has(link[rel="canonical"][href*="/investor-hub/"]) main .svc-card:focus-visible{transform:translateY(-7px);box-shadow:0 20px 42px rgba(16,16,16,.15);border-color:var(--brand-primary)}
html:has(link[rel="canonical"][href*="/investor-hub/"]) main .svc-card__ico{display:grid;place-items:center;width:52px;height:52px;border-radius:14px;color:#fff;background:linear-gradient(135deg,var(--brand-action),var(--brand-primary));box-shadow:0 8px 18px rgba(16,16,16,.15);transition:transform .28s ease,background .28s ease}
html:has(link[rel="canonical"][href*="/investor-hub/"]) main .svc-card:nth-child(3n+2) .svc-card__ico{color:var(--chrome-bg-deep);background:linear-gradient(135deg,var(--brand-accent-soft),#5ABC67)}
html:has(link[rel="canonical"][href*="/investor-hub/"]) main .svc-card:hover .svc-card__ico{transform:translateY(-2px) rotate(-4deg) scale(1.04)}
html:has(link[rel="canonical"][href*="/investor-hub/"]) main .svc-card h3{color:var(--color-heading)}
html:has(link[rel="canonical"][href*="/investor-hub/"]) main .svc-card .lh-card__more{color:var(--color-text-inverse);font-weight:700}
html:has(link[rel="canonical"][href*="/investor-hub/"]) main .fact-list{gap:16px}
html:has(link[rel="canonical"][href*="/investor-hub/"]) main .fact{position:relative;border:1px solid rgba(16,16,16,.10);border-left:4px solid var(--brand-action);border-radius:15px;background:linear-gradient(135deg,#fff,#F4FAF5);box-shadow:0 8px 22px rgba(16,16,16,.06);transition:transform .24s ease,box-shadow .24s ease,border-color .24s ease}
html:has(link[rel="canonical"][href*="/investor-hub/"]) main .fact:nth-child(3n+2){border-left-color:var(--color-secondary);background:linear-gradient(135deg,#F7FCF8,#E8F6EC)}
html:has(link[rel="canonical"][href*="/investor-hub/"]) main .fact:nth-child(3n){border-left-color:var(--color-secondary);background:linear-gradient(135deg,#fff,#EAF7EE)}
html:has(link[rel="canonical"][href*="/investor-hub/"]) main .fact:hover{transform:translateY(-4px);box-shadow:0 15px 30px rgba(16,16,16,.12);border-color:rgba(23,160,19,.4)}
html:has(link[rel="canonical"][href*="/investor-hub/"]) main .fact dt{color:var(--color-heading);font-weight:700}
html:has(link[rel="canonical"][href*="/investor-hub/"]) main .steps li{border:1px solid rgba(16,16,16,.10);border-radius:16px;background:linear-gradient(135deg,#fff,#F4FAF5);box-shadow:0 8px 22px rgba(16,16,16,.06);transition:transform .24s ease,box-shadow .24s ease,border-color .24s ease}
html:has(link[rel="canonical"][href*="/investor-hub/"]) main .steps li:nth-child(even){background:linear-gradient(135deg,#F7FCF8,#E8F6EC);border-color:rgba(0,122,54,.18)}
html:has(link[rel="canonical"][href*="/investor-hub/"]) main .steps li:hover{transform:translateY(-4px);box-shadow:0 15px 30px rgba(16,16,16,.12);border-color:var(--brand-primary)}
html:has(link[rel="canonical"][href*="/investor-hub/"]) main .riskbox{border:1px solid rgba(90,188,103,.45);border-radius:20px;background:linear-gradient(135deg,#211D1A,#007A36);color:#fff;box-shadow:0 16px 36px rgba(16,16,16,.16)}
html:has(link[rel="canonical"][href*="/investor-hub/"]) main .riskbox h2,html:has(link[rel="canonical"][href*="/investor-hub/"]) main .riskbox h3,html:has(link[rel="canonical"][href*="/investor-hub/"]) main .riskbox strong{color:var(--brand-accent-on-dark)}
html:has(link[rel="canonical"][href*="/investor-hub/"]) main .riskbox p,html:has(link[rel="canonical"][href*="/investor-hub/"]) main .riskbox li{color:rgba(255,255,255,.9)}
html:has(link[rel="canonical"][href*="/investor-hub/"]) main .note,html:has(link[rel="canonical"][href*="/investor-hub/"]) main .esc-role{border:1px solid rgba(0,122,54,.20);border-radius:14px;background:linear-gradient(135deg,#F8FDF9,#E8F6EC);box-shadow:0 8px 20px rgba(16,16,16,.07)}
html:has(link[rel="canonical"][href*="/investor-hub/"]) main details{border:1px solid rgba(16,16,16,.10);border-radius:14px;background:#fff;box-shadow:0 7px 18px rgba(16,16,16,.05);transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease}
html:has(link[rel="canonical"][href*="/investor-hub/"]) main details:hover,html:has(link[rel="canonical"][href*="/investor-hub/"]) main details[open]{border-color:rgba(23,160,19,.45);box-shadow:0 12px 24px rgba(16,16,16,.09);transform:translateY(-2px)}
@media(max-width:720px){html:has(link[rel="canonical"][href*="/investor-hub/"]) main .svc-grid,html:has(link[rel="canonical"][href*="/investor-hub/"]) main .fact-list{grid-template-columns:1fr;gap:14px}html:has(link[rel="canonical"][href*="/investor-hub/"]) main .svc-card:hover,html:has(link[rel="canonical"][href*="/investor-hub/"]) main .fact:hover,html:has(link[rel="canonical"][href*="/investor-hub/"]) main .steps li:hover{transform:translateY(-3px)}}
@media(prefers-reduced-motion:reduce){html:has(link[rel="canonical"][href*="/investor-hub/"]) main .svc-card,html:has(link[rel="canonical"][href*="/investor-hub/"]) main .svc-card__ico,html:has(link[rel="canonical"][href*="/investor-hub/"]) main .fact,html:has(link[rel="canonical"][href*="/investor-hub/"]) main .steps li,html:has(link[rel="canonical"][href*="/investor-hub/"]) main details{transition:none!important;transform:none!important}}


/* Investor Hub article/content panels: restrained colour, readable and interactive */
html:has(link[rel="canonical"][href*="/investor-hub/"]) main .section>.container>.prose{border:1px solid rgba(16,16,16,.09);border-radius:18px;background:linear-gradient(145deg,#fff 0%,#F6FAF7 100%);padding:clamp(18px,2.4vw,28px);box-shadow:0 9px 24px rgba(16,16,16,.06);transition:transform .24s ease,box-shadow .24s ease,border-color .24s ease}
html:has(link[rel="canonical"][href*="/investor-hub/"]) main .section>.container>.prose:hover{transform:translateY(-3px);box-shadow:0 15px 32px rgba(16,16,16,.10);border-color:rgba(23,160,19,.35)}
html:has(link[rel="canonical"][href*="/investor-hub/"]) main .section>.container>.prose h2,html:has(link[rel="canonical"][href*="/investor-hub/"]) main .section>.container>.prose h3{color:var(--color-heading)}
@media(prefers-reduced-motion:reduce){html:has(link[rel="canonical"][href*="/investor-hub/"]) main .section>.container>.prose{transition:none!important;transform:none!important}}


/* Keep awareness banners visible; hide only their heading */
.footer__partners-label{display:none!important}


/* Footer investor-awareness banners: right alignment only; dimensions and links unchanged */
.footer__partners{display:flex;flex-direction:column;align-items:flex-end;text-align:right}
.footer__partners-row{justify-content:flex-end}


/* ==========================================================================
   ALMEER GLOBAL TYPOGRAPHY SYSTEM — 2026-08-13
   Central Inter-based type scale and brand-consistent financial UI.
   ========================================================================== */
:root{
  --font-display:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;
  --font-body:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;
  --font-article:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;
  --fs-body:clamp(1rem,.955rem + .18vw,1.125rem);
  --fs-display:clamp(2rem,1.36rem + 2.5vw,3.25rem);
  --fs-h1:clamp(2rem,1.46rem + 2vw,3.25rem);
  --fs-h2:clamp(1.625rem,1.34rem + 1vw,2.25rem);
  --fs-h3:clamp(1.25rem,1.12rem + .45vw,1.5rem);
  --fs-lead:clamp(1.0625rem,1.01rem + .28vw,1.25rem);
  --fs-sm:.875rem;
  --fs-xs:.8125rem;
  --lh-normal:1.68;
  --lh-snug:1.38;
  --lh-tight:1.14;
  --ls-tight:-.025em;
  
}
html{font-family:var(--font-body);-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
body,input,select,textarea,button{font-family:var(--font-body)!important}
body{font-size:var(--fs-body);font-weight:400;line-height:var(--lh-normal);color:var(--color-text)}
h1,h2,h3,h4,h5,h6,.hero__title,.page-hero__title,.section-title,.card__title,.article-title{
  font-family:var(--font-display)!important;
  color:var(--color-heading);
  font-style:normal;
  text-wrap:balance;
}
h1,.hero__title,.page-hero__title{font-size:var(--fs-h1);font-weight:700!important;line-height:1.1;letter-spacing:-.035em}
h2,.section-title{font-size:var(--fs-h2);font-weight:700!important;line-height:1.18;letter-spacing:-.025em}
h3,.card__title{font-size:var(--fs-h3);font-weight:650!important;line-height:1.28;letter-spacing:-.015em}
h4{font-size:clamp(1.125rem,1.04rem + .3vw,1.25rem);font-weight:600!important;line-height:1.34}
h5,h6{font-weight:600!important;line-height:1.38}
.hero h1,.hero h2,.page-hero h1,.page-hero h2,[class*="hero--dark"] h1,[class*="hero--dark"] h2,.section--inverse h1,.section--inverse h2,.section--dark h1,.section--dark h2,footer h1,footer h2,footer h3,footer h4{color:var(--color-text-inverse)}
p,li,dd,blockquote,input,select,textarea{font-weight:400}
strong,b{font-weight:600}
nav a,.nav a,.site-nav a,.menu a,.drawer a,.btn,button,[type="button"],[type="submit"]{font-family:var(--font-body)!important;font-size:clamp(.9375rem,.91rem + .08vw,1rem);font-weight:600;letter-spacing:-.005em}
.eyebrow,.kicker,.overline,.meta,.caption,small,.small{font-family:var(--font-body)!important;font-size:clamp(.8125rem,.79rem + .08vw,.875rem);font-weight:500}
.lead,.intro,.section-head>p{font-size:var(--fs-lead);line-height:1.62}
:is(article,.article,.article-content,.prose,.cms-content,.post-content){
  font-family:var(--font-article)!important;
  background:#fff;
  color:var(--color-text);
}
:is(article,.article,.article-content,.prose,.cms-content,.post-content) :is(h1,h2,h3,h4,h5,h6){color:var(--color-heading);font-family:var(--font-body)!important}
:is(article,.article,.article-content,.prose,.cms-content,.post-content) p,
:is(article,.article,.article-content,.prose,.cms-content,.post-content) li{color:var(--color-text);line-height:1.78}
:is(article,.article,.article-content,.prose,.cms-content,.post-content) :is(.meta,.byline,time,figcaption){color:var(--color-text-muted)}
:is(article,.article,.article-content,.prose,.cms-content,.post-content) a{color:var(--color-accent-text);font-weight:500;text-decoration-thickness:1px;text-underline-offset:3px}
table{font-variant-numeric:tabular-nums lining-nums}
table th{font-family:var(--font-body);font-weight:600}
table td{font-weight:400}
.price,.stock-price,.market-price,.index-value,.financial-value,.stat__value,.metric__value,.ticker__price,[data-price],[data-value],td[data-label*="Price"],td[data-label*="Change"]{
  font-family:var(--font-body)!important;
  font-size:clamp(1.25rem,1.11rem + .42vw,1.625rem);
  font-weight:600!important;
  font-variant-numeric:tabular-nums lining-nums;
  letter-spacing:-.02em;
}
input,select,textarea{font-size:1rem;line-height:1.5}
label,.form-label{font-weight:600}
.alert,.notice,.toast,.modal{font-family:var(--font-body)}
a{transition:color var(--dur-fast) var(--ease)}
@media(max-width:767px){
  :root{
    --fs-body:clamp(.9375rem,.91rem + .12vw,1rem);
    --fs-display:clamp(1.75rem,1.54rem + 1.05vw,2rem);
    --fs-h1:clamp(1.75rem,1.54rem + 1.05vw,2rem);
    --fs-h2:clamp(1.375rem,1.16rem + 1.05vw,1.625rem);
    --fs-h3:clamp(1.125rem,1.02rem + .52vw,1.25rem);
    --fs-lead:1rem;
    --fs-sm:.875rem;
    --fs-xs:.8125rem;
    --lh-normal:1.64;
  }
  h1,.hero__title,.page-hero__title{font-size:var(--fs-h1)!important;line-height:1.14}
  h2,.section-title{font-size:var(--fs-h2)!important}
  h3,.card__title{font-size:var(--fs-h3)!important}
  h4{font-size:1.125rem!important}
  nav a,.nav a,.site-nav a,.menu a,.drawer a{font-size:.9375rem}
  .btn,button,[type="button"],[type="submit"]{font-size:.9375rem}
  .price,.stock-price,.market-price,.index-value,.financial-value,.stat__value,.metric__value,.ticker__price,[data-price],[data-value]{font-size:clamp(1.125rem,1.02rem + .52vw,1.375rem)}
}


/* =========================== ALMEER LOGO KIT ===========================
   Supplied as aal.zip. Animated intro in the header (replay on hover, idle
   shimmer), static mark in the footer. Reduced-motion turns it all off. */
/* Almeer Securities — animated logo
   Usage: inline the SVG (see header-snippet.html), wrap it in an element
   with class "almeer-logo". Add class "play" to run the intro animation.
   Without "play" the mark renders static (footer use).
   Optional: set --k on the wrapper to scale intro speed (default 1). */

@keyframes omDraw{to{stroke-dashoffset:0}}
@keyframes omRise{from{opacity:0;transform:translateY(26px)}to{opacity:1;transform:none}}
@keyframes omGrow{from{transform:scaleY(0)}}
@keyframes omPop{from{transform:scale(0)}to{transform:scale(1)}}
@keyframes omNudge{0%,80%,100%{transform:none}90%{transform:translate(3px,-3px)}}
@keyframes omShim{0%{stroke-dashoffset:1080;opacity:0}8%{opacity:.9}45%{opacity:.9}60%{stroke-dashoffset:80;opacity:0}100%{stroke-dashoffset:80;opacity:0}}

.almeer-logo .fArrow{transform-box:fill-box;transform-origin:25% 75%}
.almeer-logo .fBar1,.almeer-logo .fBar2{transform-box:fill-box;transform-origin:50% 100%}
.almeer-logo .fShim{opacity:0}

.almeer-logo.play .fFrame{stroke-dasharray:1000;stroke-dashoffset:1000;animation:omDraw calc(.6s*var(--k,1)) cubic-bezier(.5,0,.3,1) calc(.05s*var(--k,1)) both}
.almeer-logo.play .fA{animation:omRise calc(.5s*var(--k,1)) cubic-bezier(.2,.9,.25,1) calc(.35s*var(--k,1)) both}
.almeer-logo.play .fSwoosh{stroke-dasharray:1000;stroke-dashoffset:1000;animation:omDraw calc(.9s*var(--k,1)) cubic-bezier(.55,.05,.35,1) calc(.6s*var(--k,1)) both}
.almeer-logo.play .fArrow{animation:omPop calc(.35s*var(--k,1)) cubic-bezier(.3,1.7,.45,1) calc(1.42s*var(--k,1)) both,omNudge 3s ease-in-out calc(2.4s*var(--k,1)) infinite}
.almeer-logo.play .fBar1{animation:omGrow calc(.45s*var(--k,1)) cubic-bezier(.25,1.2,.35,1) calc(1.1s*var(--k,1)) both}
.almeer-logo.play .fBar2{animation:omGrow calc(.45s*var(--k,1)) cubic-bezier(.25,1.2,.35,1) calc(1.25s*var(--k,1)) both}
.almeer-logo.play .fShim{stroke-dasharray:80 920;stroke-dashoffset:1080;animation:omShim 3s linear calc(2.4s*var(--k,1)) infinite}

@media (prefers-reduced-motion:reduce){
  .almeer-logo.play .fFrame,.almeer-logo.play .fA,.almeer-logo.play .fSwoosh,
  .almeer-logo.play .fArrow,.almeer-logo.play .fBar1,.almeer-logo.play .fBar2,
  .almeer-logo.play .fShim{animation:none}
  .almeer-logo.play .fFrame,.almeer-logo.play .fSwoosh{stroke-dasharray:none;stroke-dashoffset:0}
  .almeer-logo .fShim{opacity:0 !important}
}


/* ===================== GOLD+GREEN HEADER/FOOTER OVERRIDE (2026-08-16) =====================
   Scope: .site-header .btn--header-cta, .site-footer, .drawer .btn--accent only.
   No other selectors touched; --chrome-* token values updated in tokens.css. */
.site-footer{
  background: var(--chrome-bg-deep);
  border-top: 3px solid transparent;
  border-image: linear-gradient(90deg, transparent, #C9A227, #E0C568, #C9A227, transparent) 1;
}
.site-header .btn--header-cta{
  background-image: linear-gradient(135deg, #C9A227, #E0C568) !important;
  background-color: transparent !important;
  color: #082418 !important;
  border-color: transparent !important;
}
.site-header .btn--header-cta:hover,
.site-header .btn--header-cta:focus-visible{
  background-image: linear-gradient(135deg, #E0C568, #F3D98A) !important;
  color: #082418 !important;
}
.drawer .btn--accent{
  background-image: linear-gradient(135deg, #C9A227, #E0C568) !important;
  background-color: transparent !important;
  color: #082418 !important;
  border-color: transparent !important;
}
.drawer .btn--accent:hover,
.drawer .btn--accent:focus-visible{
  background-image: linear-gradient(135deg, #E0C568, #F3D98A) !important;
}
.site-footer h3{
  color: #C9A227;
  position: relative;
  padding-bottom: 10px;
}
.site-footer h3::after{
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 28px; height: 2px;
  background: #C9A227;
}
.site-footer nav a{
  color: #F7F3E8;
}
.site-footer nav a:hover,
.site-footer nav a:focus-visible{
  color: #E0C568;
}
.site-footer .footer__ico{
  color: #C9A227;
}
.site-footer .footer__socials a{
  border-color: rgba(201, 162, 39, .45);
}
.site-footer .footer__socials a:hover{
  border-color: #E0C568;
}


/* ARTICLE-ONLY BLUE HEADING SYSTEM 2026-08-17 */
:root{
  --almeer-article-heading-blue: #0A4F88;
}
.article-wrap .prose :is(h1, h2, h3, h4, h5, h6),
.article-wrap .toc :is(h1, h2, h3, h4, h5, h6){
  color: var(--almeer-article-heading-blue) !important;
}


/* ============================================================
   ALMEER — online login/signup temporarily off
   Hides every link to the client portal (Log In / Client Portal).
   Done in CSS so nothing flashes on screen before JS runs.
   TO REVERT: delete this block.  Backup: main.performance.BACKUP-before-hide-login.css
   ============================================================ */
a[href*="client-portal"],
a[href$="/client-portal.html"],
li:has(> a[href*="client-portal"]) { display: none !important; }
