/* Homepage-aligned chrome (header + footer + mobile drawer) */
:root {
  --ah-chrome-shell: 1320px;
  --ah-sticky-header-h: 4rem;
  --ah-header-logo-size: 2.75rem;
  --ah-announcement-h: 0px;
}
@media (min-width: 768px) {
  :root {
    --ah-sticky-header-h: 4.5rem;
  }
}

/* Top announcement — matches Next AnnouncementBar (#021526, 34px, desktop) */
.ah-chrome-announce {
  display: none;
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1040;
  height: 34px;
  background: #021526;
  color: #fff;
}
@media (min-width: 768px) {
  .ah-chrome-announce:not([hidden]) {
    display: flex;
    align-items: center;
  }
}
.ah-chrome-announce__inner {
  position: relative;
  display: flex;
  height: 100%;
  width: 100%;
  align-items: center;
  justify-content: center;
  padding-left: 2.5rem;
  padding-right: 2.5rem;
}
.ah-chrome-announce__text {
  margin: 0;
  display: flex;
  min-width: 0;
  max-width: 100%;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
  color: rgba(255, 255, 255, 0.9);
  white-space: nowrap;
}
.ah-chrome-announce__msg {
  overflow: hidden;
  text-overflow: ellipsis;
}
.ah-chrome-announce__dot {
  margin: 0 0.5rem;
  flex-shrink: 0;
  color: rgba(255, 255, 255, 0.35);
}
.ah-chrome-announce__cta {
  flex-shrink: 0;
  font-weight: 600;
  color: #fff !important;
  text-decoration: none !important;
}
.ah-chrome-announce__cta:hover {
  text-decoration: underline !important;
  color: #fff !important;
}
.ah-chrome-announce__close {
  position: absolute;
  right: 0.25rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1.75rem;
  height: 1.75rem;
  border: 0;
  border-radius: 0.375rem;
  background: transparent;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
}
.ah-chrome-announce__close:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

/* Sticky header sits below announcement when visible */
.ah-chrome-header.sticky-top {
  top: var(--ah-announcement-h, 0px);
}
html.ah-announce-on {
  scroll-padding-top: calc(var(--ah-announcement-h, 0px) + var(--ah-sticky-header-h));
}
/* Reserve space so page content isn't under the fixed bar */
@media (min-width: 768px) {
  body {
    padding-top: var(--ah-announcement-h, 0px);
  }
}

.ah-chrome-shell {
  width: 100%;
  max-width: var(--ah-chrome-shell);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}
@media (min-width: 576px) {
  .ah-chrome-shell { padding-left: 1.25rem; padding-right: 1.25rem; }
}
@media (min-width: 992px) {
  .ah-chrome-shell { padding-left: 1.5rem; padding-right: 1.5rem; }
}

.ah-chrome-only-mobile { display: inline-flex !important; }
.ah-chrome-only-lg { display: none !important; }
@media (min-width: 992px) {
  .ah-chrome-only-mobile { display: none !important; }
  .ah-chrome-only-lg { display: inline-flex !important; }
  .ah-chrome-nav.ah-chrome-only-lg { display: flex !important; }
}

.ah-chrome-header {
  z-index: 1030;
  background: #fff;
  border-bottom: 1px solid var(--ah-border, #E2E8F0);
}
.ah-chrome-header__bar { height: var(--ah-sticky-header-h); }
.ah-chrome-header__inner {
  height: 100%;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: .5rem;
}
@media (min-width: 992px) {
  .ah-chrome-header__inner {
    grid-template-columns: auto 1fr auto;
    gap: .75rem;
  }
}

.ah-chrome-brand {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  min-width: 0;
  max-width: 140px;
  text-decoration: none;
  color: inherit;
}
@media (min-width: 576px) {
  .ah-chrome-brand { max-width: none; }
}
.ah-chrome-brand__mark {
  width: var(--ah-header-logo-size);
  height: var(--ah-header-logo-size);
  flex-shrink: 0;
  border-radius: .5rem;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--ah-border, #E2E8F0);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.ah-chrome-brand__mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: .2rem;
}
.ah-chrome-brand__text {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.15;
}
.ah-chrome-brand__name {
  font-size: .95rem;
  font-weight: 800;
  letter-spacing: .04em;
  color: var(--ah-navy, #082F63);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ah-chrome-brand__tag {
  margin-top: .15rem;
  font-size: .7rem;
  font-weight: 500;
  color: var(--ah-muted, #64748B);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ah-chrome-nav {
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: .15rem .1rem;
}
.ah-chrome-nav__link {
  display: inline-flex;
  align-items: center;
  padding: .4rem .55rem;
  border-radius: .4rem;
  font-size: .875rem;
  font-weight: 600;
  color: var(--ah-text, #0F172A) !important;
  text-decoration: none;
  white-space: nowrap;
}
.ah-chrome-nav__link:hover,
.ah-chrome-nav__link.is-active {
  color: var(--ah-navy, #082F63) !important;
  background: rgba(8, 47, 99, .06);
}

.ah-chrome-header__actions {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: .4rem;
}
.ah-chrome-lang { margin: 0; }
.ah-chrome-lang__select {
  min-width: 3.5rem;
  height: 2.25rem;
  padding: .2rem .4rem;
  border: 1px solid var(--ah-border, #E2E8F0);
  border-radius: .4rem;
  background: #fff;
  color: var(--ah-text, #0F172A);
  font-size: .75rem;
  font-weight: 600;
}

.ah-chrome-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .35rem;
  height: 2.75rem;
  padding: 0 1rem;
  border-radius: .5rem;
  background: var(--ah-cta, #FF6B00);
  color: #fff !important;
  font-size: .8125rem;
  font-weight: 650;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(255, 107, 0, .22);
  white-space: nowrap;
}
.ah-chrome-cta:hover {
  background: var(--ah-cta-hover, #E85F00);
  color: #fff !important;
}
.ah-chrome-cta--compact {
  height: 2.75rem;
  padding: 0 .75rem;
}
.ah-chrome-cta--lg {
  height: 3.25rem;
  min-width: 12.5rem;
  padding: 0 1.25rem;
  font-size: .875rem;
}
.ah-chrome-cta--block {
  width: 100%;
  height: 3rem;
}

.ah-chrome-menu-btn {
  width: 2.75rem;
  height: 2.75rem;
  border: 0;
  border-radius: .5rem;
  background: transparent;
  color: var(--ah-navy, #082F63);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  line-height: 1;
}
.ah-chrome-menu-btn:hover,
.ah-chrome-menu-btn:focus-visible {
  background: rgba(8, 47, 99, .06);
}

/* Fixed drawer — never in document flow when closed */
.ah-chrome-drawer {
  position: fixed;
  inset: 0;
  z-index: 1045;
  pointer-events: none;
}
.ah-chrome-drawer[hidden] {
  display: none !important;
}
.ah-chrome-drawer.is-open {
  pointer-events: auto;
}
.ah-chrome-drawer__scrim {
  position: absolute;
  inset: 0;
  border: 0;
  padding: 0;
  margin: 0;
  background: rgba(15, 23, 42, .45);
  cursor: pointer;
}
.ah-chrome-drawer__panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(22rem, 92vw);
  height: 100%;
  background: #fff;
  box-shadow: -12px 0 40px rgba(15, 23, 42, .18);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform .22s ease;
}
.ah-chrome-drawer.is-open .ah-chrome-drawer__panel {
  transform: translateX(0);
}
@media (prefers-reduced-motion: reduce) {
  .ah-chrome-drawer__panel { transition: none; }
}
html.ah-chrome-drawer-open,
html.ah-chrome-drawer-open body {
  overflow: hidden;
}
.ah-chrome-drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  padding: 1rem 1.1rem;
  border-bottom: 1px solid var(--ah-border, #E2E8F0);
}
.ah-chrome-drawer__title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ah-navy, #082F63);
}
.ah-chrome-drawer__close {
  width: 2.5rem;
  height: 2.5rem;
  border: 0;
  border-radius: .5rem;
  background: transparent;
  color: var(--ah-navy, #082F63);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
}
.ah-chrome-drawer__close:hover {
  background: rgba(8, 47, 99, .06);
}
.ah-chrome-drawer__body {
  flex: 1 1 auto;
  overflow: auto;
  padding: .75rem 1rem 1.25rem;
}
.ah-chrome-mobile-nav {
  display: flex;
  flex-direction: column;
  gap: .15rem;
}
.ah-chrome-mobile-nav__link {
  display: block;
  padding: .75rem .85rem;
  border-radius: .5rem;
  color: var(--ah-text, #0F172A) !important;
  font-weight: 600;
  text-decoration: none;
}
.ah-chrome-mobile-nav__link.is-active,
.ah-chrome-mobile-nav__link:hover {
  background: rgba(8, 47, 99, .06);
  color: var(--ah-navy, #082F63) !important;
}
.ah-chrome-mobile-tools {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--ah-border, #E2E8F0);
}
.ah-chrome-mobile-tools__field {
  display: block;
  margin-bottom: .75rem;
}
.ah-chrome-mobile-tools__field > span {
  display: block;
  margin-bottom: .35rem;
  font-size: .75rem;
  color: var(--ah-muted, #64748B);
}

/* Footer */
.ah-chrome-footer {
  background: #062B5C;
  color: #fff;
  margin-top: 0;
}
.ah-chrome-footer a {
  color: #CBD5E1 !important;
  text-decoration: none;
}
.ah-chrome-footer a:hover { color: #fff !important; }
.ah-chrome-footer .ah-chrome-cta,
.ah-chrome-footer a.ah-chrome-cta,
.ah-chrome-footer a.ah-chrome-cta:hover {
  color: #fff !important;
  background: var(--ah-cta, #FF6B00);
}
.ah-chrome-footer__cta { background: #0B4DA2; }
.ah-chrome-footer__cta-inner {
  min-height: 160px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}
.ah-chrome-footer__cta-title {
  margin: 0;
  font-size: 1.375rem;
  font-weight: 700;
  letter-spacing: -.02em;
  color: #fff;
}
@media (min-width: 768px) {
  .ah-chrome-footer__cta-title { font-size: 1.625rem; }
}
.ah-chrome-footer__cta-text {
  margin: .5rem 0 0;
  max-width: 36rem;
  font-size: .9375rem;
  color: rgba(255, 255, 255, .75);
}
.ah-chrome-footer__main {
  padding-top: 2.125rem;
  padding-bottom: 2.125rem;
}
.ah-chrome-footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
}
@media (min-width: 576px) {
  .ah-chrome-footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 992px) {
  .ah-chrome-footer__grid {
    grid-template-columns: 1.35fr .85fr .95fr 1.1fr;
    gap: 1.5rem;
  }
}
.ah-chrome-footer__brand {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  color: #fff !important;
}
.ah-chrome-footer__brand-mark {
  width: 60px;
  height: 60px;
  flex-shrink: 0;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(255, 255, 255, .15);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.ah-chrome-footer__brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: .35rem;
}
.ah-chrome-footer__brand-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.ah-chrome-footer__brand-name {
  font-size: 1.0625rem;
  font-weight: 800;
  letter-spacing: .04em;
  color: #fff;
}
.ah-chrome-footer__brand-tag {
  margin-top: .25rem;
  font-size: .75rem;
  color: rgba(255, 255, 255, .55);
}
.ah-chrome-footer__desc {
  margin: .9rem 0 0;
  max-width: 280px;
  font-size: .875rem;
  line-height: 1.6;
  color: #CBD5E1;
}
.ah-chrome-footer__checks {
  list-style: none;
  margin: .75rem 0 0;
  padding: 0;
}
.ah-chrome-footer__checks li {
  display: flex;
  align-items: center;
  gap: .4rem;
  font-size: .75rem;
  color: rgba(203, 213, 225, .9);
  margin-top: .35rem;
}
.ah-chrome-footer__checks span { color: #7DD3FC; font-weight: 700; }
.ah-chrome-footer__heading {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
}
.ah-chrome-footer__links {
  list-style: none;
  margin: .75rem 0 0;
  padding: 0;
}
.ah-chrome-footer__links li + li { margin-top: .5rem; }
.ah-chrome-footer__links a { font-size: .875rem; color: #CBD5E1; }
.ah-chrome-footer__contact {
  list-style: none;
  margin: .75rem 0 0;
  padding: 0;
}
.ah-chrome-footer__contact > li {
  display: flex;
  align-items: flex-start;
  gap: .65rem;
}
.ah-chrome-footer__contact > li + li { margin-top: .75rem; }
.ah-chrome-footer__icon {
  width: 2.75rem;
  height: 2.75rem;
  flex-shrink: 0;
  border-radius: .5rem;
  background: rgba(255, 255, 255, .1);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.ah-chrome-footer__label {
  margin: .2rem 0 0;
  font-size: .75rem;
  font-weight: 650;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .7);
}
.ah-chrome-footer__value {
  margin: .15rem 0 0;
  font-size: .875rem;
  color: #CBD5E1;
}
.ah-chrome-footer__markets {
  border-top: 1px solid rgba(255, 255, 255, .1);
}
.ah-chrome-footer__markets-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .75rem 1.25rem;
  padding-top: 1rem;
  padding-bottom: 1rem;
}
.ah-chrome-footer__markets-label {
  margin: 0;
  font-size: .75rem;
  font-weight: 650;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .55);
}
.ah-chrome-footer__market-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: .5rem .85rem;
  margin: 0;
  padding: 0;
}
.ah-chrome-footer__market-list span {
  font-size: .8125rem;
  color: #CBD5E1;
}
.ah-chrome-footer__legal {
  border-top: 1px solid rgba(255, 255, 255, .1);
  background: rgba(0, 0, 0, .15);
}
.ah-chrome-footer__legal-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .75rem 1.25rem;
  padding-top: .9rem;
  padding-bottom: .9rem;
}
.ah-chrome-footer__copy {
  margin: 0;
  font-size: .8125rem;
  color: rgba(255, 255, 255, .55);
}
.ah-chrome-footer__legal-links {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: .65rem 1rem;
  margin: 0;
  padding: 0;
}
.ah-chrome-footer__legal-links a {
  font-size: .8125rem;
  color: rgba(255, 255, 255, .65);
}
@media (max-width: 767.98px) {
  .ah-chrome-footer__cta-inner {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 1rem;
    min-height: 0;
    padding-top: 1.25rem;
    padding-bottom: 1.25rem;
  }
  .ah-chrome-footer__cta-title {
    font-size: 1.25rem;
    line-height: 1.25;
  }
  .ah-chrome-footer__cta-text {
    font-size: .8125rem;
  }
  .ah-chrome-footer__cta .ah-chrome-cta {
    width: 100%;
    min-width: 0;
    align-self: stretch;
  }
  .ah-chrome-footer__main {
    padding-top: 1.75rem;
    padding-bottom: 1.75rem;
  }
  .ah-chrome-footer__legal-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Hide legacy mobile bottom tab */
.ah-mobile-bottom-nav { display: none !important; }
