/*
 * Dragon Silk Road — UI Revamp V2
 * Cohesive public B2B shell for header, footer, buttons and global rhythm.
 * Loaded after the compatibility layers so migrated pages can evolve safely.
 */

:root {
  --v2-ink: #081323;
  --v2-ink-2: #102139;
  --v2-copy: #415169;
  --v2-muted: #6f7e91;
  --v2-line: rgba(8, 19, 35, 0.11);
  --v2-line-light: rgba(255, 255, 255, 0.12);
  --v2-paper: #ffffff;
  --v2-canvas: #f4f7fa;
  --v2-orange: #d84f18;
  --v2-orange-2: #f07834;
  --v2-blue: #1f6fa7;
  --v2-green: #1a9a68;
  --v2-radius-sm: 10px;
  --v2-radius-md: 16px;
  --v2-radius-lg: 24px;
  --v2-shadow-soft: 0 18px 55px rgba(8, 19, 35, 0.07);
  --v2-shadow-float: 0 28px 90px rgba(8, 19, 35, 0.15);
  --v2-container: 1520px;
  --v2-header-main: 76px;
  --v2-header-signal: 32px;
  --dsr-container: var(--v2-container);
  --dsr-header-height: calc(var(--v2-header-main) + var(--v2-header-signal));
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--dsr-header-height) + 24px);
}

body.site-body {
  color: var(--v2-ink);
  background: var(--v2-canvas);
  font-family: var(--dsr-font-sans);
  font-feature-settings: "kern" 1, "liga" 1, "calt" 1;
  letter-spacing: -0.005em;
}

.container {
  width: min(var(--v2-container), calc(100% - clamp(32px, 5vw, 92px)));
}

main#main {
  overflow: clip;
  background: #fff;
  /* Header 为 position:fixed 脱离文档流，main 需 padding-top
     让内容从固定 header 下方开始，避免被遮挡。 */
  padding-top: var(--dsr-header-height, 114px);
}

h1,
h2,
h3,
h4,
.site-brand__name,
.footer-v2__statement {
  font-family: var(--dsr-font-sans);
  font-weight: 780;
  text-wrap: balance;
}

.btn,
.header-cta,
.v2-search-button {
  position: relative;
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 10px 17px;
  overflow: hidden;
  border: 1px solid transparent;
  border-radius: 11px;
  font-size: 13px;
  font-weight: 760;
  line-height: 1;
  transition:
    color 180ms ease,
    background 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.btn--primary,
.header-cta {
  color: #fff;
  background: linear-gradient(135deg, var(--v2-orange), #ee6b28);
  border-color: rgba(168, 54, 12, 0.18);
  box-shadow: 0 12px 26px rgba(216, 79, 24, 0.22);
}

.btn--primary:hover,
.header-cta:hover {
  color: #fff;
  background: linear-gradient(135deg, #c84110, #e65c1f);
  box-shadow: 0 16px 34px rgba(216, 79, 24, 0.3);
  transform: translateY(-1px);
}

.btn--ghost {
  color: var(--v2-ink);
  background: rgba(255, 255, 255, 0.92);
  border-color: var(--v2-line);
  box-shadow: 0 5px 16px rgba(8, 19, 35, 0.035);
}

.btn--ghost:hover {
  color: var(--v2-orange);
  background: #fff;
  border-color: rgba(216, 79, 24, 0.26);
  box-shadow: 0 10px 24px rgba(8, 19, 35, 0.07);
  transform: translateY(-1px);
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  color: var(--v2-ink);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid transparent;
  transition: background 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.site-header.is-scrolled,
body.nav-open .site-header,
body.search-open .site-header {
  background: rgba(255, 255, 255, 0.94);
  border-bottom-color: var(--v2-line);
  box-shadow: 0 14px 42px rgba(8, 19, 35, 0.08);
  backdrop-filter: blur(18px) saturate(145%);
}

.site-header__utility {
  color: rgba(255, 255, 255, 0.78);
  background: var(--v2-ink);
  border: 0;
}

.site-header__utility-inner {
  min-height: var(--v2-header-signal);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.025em;
}

.site-header__platform-label {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: rgba(255, 255, 255, 0.9);
}

.site-header__platform-label::before {
  content: "";
  width: 6px;
  height: 6px;
  flex: 0 0 6px;
  background: var(--v2-orange-2);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(240, 120, 52, 0.1);
}

.site-header__platform-subtitle {
  color: rgba(255, 255, 255, 0.48);
  font-weight: 560;
}

.site-header__utility-links {
  display: flex;
  align-items: center;
  gap: 20px;
}

.site-header__utility-links a {
  color: rgba(255, 255, 255, 0.7);
  transition: color 160ms ease;
}

.site-header__utility-links a:hover {
  color: #fff;
}

.site-header__main {
  min-height: var(--v2-header-main);
  display: grid;
  grid-template-columns: minmax(270px, 320px) minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(20px, 2.4vw, 42px);
}

.site-brand {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 13px;
  color: var(--v2-ink);
}

.site-brand__logo-wrap {
  width: 50px;
  height: 50px;
  flex: 0 0 50px;
  display: grid;
  place-items: center;
  padding: 4px;
  background: #fff;
  border: 1px solid rgba(8, 19, 35, 0.08);
  border-radius: 14px;
  box-shadow: 0 8px 22px rgba(8, 19, 35, 0.08);
}

.site-brand__logo {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.site-brand__copy {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.site-brand__name {
  overflow: hidden;
  color: var(--v2-ink);
  font-size: 16px;
  letter-spacing: -0.02em;
  line-height: 1.1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.site-brand__tagline {
  overflow: hidden;
  color: var(--v2-muted);
  font-size: 9px;
  font-weight: 760;
  letter-spacing: 0.055em;
  line-height: 1.2;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.site-nav {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
}

.site-nav__link,
.site-nav__trigger {
  position: relative;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 9px 12px;
  color: #536278;
  background: transparent;
  border: 0;
  border-radius: 9px;
  cursor: pointer;
  font: inherit;
  font-size: 12.5px;
  font-weight: 680;
  white-space: nowrap;
  transition: color 160ms ease, background 160ms ease;
}

.site-nav__link::after,
.site-nav__trigger::after {
  content: "";
  position: absolute;
  height: 2px;
  inset-inline: 12px;
  bottom: 3px;
  background: var(--v2-orange);
  border-radius: 999px;
  opacity: 0;
  transform: scaleX(0.55);
  transition: opacity 160ms ease, transform 160ms ease;
}

.site-nav__link:hover,
.site-nav__trigger:hover,
.site-nav__link.is-active,
.site-nav__trigger.is-active {
  color: var(--v2-ink);
  background: rgba(8, 19, 35, 0.045);
}

.site-nav__link.is-active::after,
.site-nav__trigger.is-active::after {
  opacity: 1;
  transform: scaleX(1);
}

.site-nav__caret {
  width: 6px;
  height: 6px;
  border-inline-end: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-1px);
  transition: transform 160ms ease;
}

.site-nav__dropdown.is-open .site-nav__caret {
  transform: rotate(225deg) translate(-1px, -1px);
}

.site-nav__dropdown {
  position: relative;
}

.site-nav__menu {
  position: absolute;
  width: min(640px, calc(100vw - 32px));
  inset-inline-start: 50%;
  top: calc(100% + 12px);
  display: none;
  padding: 12px;
  color: var(--v2-ink);
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(8, 19, 35, 0.12);
  border-radius: 20px;
  box-shadow: 0 28px 74px rgba(8, 19, 35, 0.16);
  transform: translateX(-50%);
  backdrop-filter: blur(18px);
}

html[dir="rtl"] .site-nav__menu {
  transform: translateX(50%);
}

.site-nav__dropdown.is-open .site-nav__menu {
  display: grid;
}

.site-nav__menu-intro {
  padding: 18px;
  color: #fff;
  background:
    radial-gradient(circle at 90% 0%, rgba(240, 120, 52, 0.28), transparent 38%),
    linear-gradient(145deg, var(--v2-ink), #162a46);
  border-radius: 14px;
}

.site-nav__menu-intro span {
  color: var(--dsr-brand-400);
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.site-nav__menu-intro strong {
  display: block;
  margin-top: 9px;
  color: #fff;
  font-size: 18px;
  line-height: 1.2;
}

.site-nav__menu-intro p {
  margin: 9px 0 0;
  color: rgba(255, 255, 255, 0.63);
  font-size: 11.5px;
  line-height: 1.6;
}

.site-nav__menu-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 5px;
  padding: 5px;
}

.site-nav__menu-link {
  min-width: 0;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 11px;
  padding: 12px;
  color: var(--v2-copy);
  border-radius: 11px;
  transition: color 160ms ease, background 160ms ease;
}

.site-nav__menu-link:hover,
.site-nav__menu-link.is-active {
  color: var(--v2-ink);
  background: var(--v2-canvas);
}

.site-nav__menu-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: var(--v2-orange);
  background: #fff5ef;
  border: 1px solid rgba(216, 79, 24, 0.12);
  border-radius: 10px;
}

.site-nav__menu-icon svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.site-nav__menu-link strong,
.site-nav__menu-link small {
  display: block;
}

.site-nav__menu-link strong {
  color: inherit;
  font-size: 12px;
  line-height: 1.35;
}

.site-nav__menu-link small {
  margin-top: 4px;
  color: var(--v2-muted);
  font-size: 10px;
  line-height: 1.45;
}

.site-header__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 7px;
}

.header-icon-button,
.header-menu-button,
.v2-search-button {
  min-width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 12px;
  color: var(--v2-copy);
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid var(--v2-line);
  border-radius: 10px;
  cursor: pointer;
  font: inherit;
  font-size: 11.5px;
  font-weight: 730;
  transition: color 160ms ease, background 160ms ease, border-color 160ms ease;
}

.header-icon-button:hover,
.header-menu-button:hover,
.v2-search-button:hover {
  color: var(--v2-ink);
  background: #fff;
  border-color: rgba(8, 19, 35, 0.19);
}

.header-icon-button svg,
.header-menu-button svg,
.v2-search-button svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.v2-search-button__label {
  display: inline;
}

.header-language {
  position: relative;
}

.header-language__trigger {
  min-width: 54px;
  padding-inline: 10px;
}

.header-language__menu {
  position: absolute;
  min-width: 150px;
  inset-inline-end: 0;
  top: calc(100% + 10px);
  display: none;
  padding: 7px;
  background: #fff;
  border: 1px solid var(--v2-line);
  border-radius: 13px;
  box-shadow: 0 20px 54px rgba(8, 19, 35, 0.15);
}

.header-language.is-open .header-language__menu {
  display: grid;
}

.header-language__option {
  min-height: 38px;
  padding: 8px 10px;
  color: var(--v2-copy);
  background: transparent;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  text-align: start;
}

.header-language__option:hover,
.header-language__option.is-active {
  color: var(--v2-ink);
  background: var(--v2-canvas);
}

.header-cta {
  min-height: 42px;
  padding-inline: 15px;
  font-size: 12px;
}

.header-menu-button {
  display: none;
  padding: 0;
}

.site-search-panel {
  position: absolute;
  width: 100%;
  left: 0;
  top: 100%;
  display: none;
  background: rgba(255, 255, 255, 0.98);
  border-top: 1px solid var(--v2-line);
  border-bottom: 1px solid var(--v2-line);
  box-shadow: 0 24px 54px rgba(8, 19, 35, 0.11);
  backdrop-filter: blur(18px);
}

.site-search-panel.is-open {
  display: block;
}

.site-search-panel__inner {
  min-height: 102px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 42px;
  align-items: center;
  gap: 14px;
}

.site-search-panel__form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

.site-search-panel__input {
  width: 100%;
  min-height: 48px;
  padding: 10px 16px;
  color: var(--v2-ink);
  background: var(--v2-canvas);
  border: 1px solid var(--v2-line);
  border-radius: 11px;
  outline: 0;
  font: inherit;
  font-size: 13px;
}

.site-search-panel__input:focus {
  background: #fff;
  border-color: var(--v2-blue);
  box-shadow: 0 0 0 4px rgba(31, 111, 167, 0.1);
}

.site-header__backdrop {
  position: fixed;
  z-index: -1;
  inset: var(--dsr-header-height) 0 0;
  display: none;
  background: rgba(8, 19, 35, 0.46);
  border: 0;
  backdrop-filter: blur(2px);
}

body.nav-open .site-header__backdrop,
body.search-open .site-header__backdrop {
  display: block;
}

/* Footer */
.site-footer {
  position: relative;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.72);
  background:
    radial-gradient(circle at 90% 0%, rgba(216, 79, 24, 0.18), transparent 28%),
    linear-gradient(145deg, #07111f 0%, #0b1c31 70%, #111a2c 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.site-footer::before {
  content: "";
  position: absolute;
  width: 460px;
  height: 460px;
  inset-inline-end: -250px;
  bottom: -280px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  pointer-events: none;
}

.footer-v2__trade-desk {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(360px, 0.65fr);
  align-items: center;
  gap: 44px;
  padding-block: clamp(38px, 4vw, 56px);
  border-bottom: 1px solid var(--v2-line-light);
}

.footer-v2__trade-label {
  margin: 0;
  color: var(--dsr-brand-400);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-v2__statement {
  max-width: 860px;
  margin: 10px 0 0;
  color: #fff;
  font-size: clamp(1.65rem, 2.7vw, 2.85rem);
  letter-spacing: -0.042em;
  line-height: 1.04;
}

.footer-v2__desk-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  padding: 17px 18px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 15px;
}

.footer-v2__desk-card span,
.footer-v2__desk-card strong {
  display: block;
}

.footer-v2__desk-card span {
  color: rgba(255, 255, 255, 0.44);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-v2__desk-card strong {
  margin-top: 5px;
  color: #fff;
  font-size: 13px;
  line-height: 1.4;
}

.footer-v2__desk-card .btn {
  min-height: 40px;
  padding-inline: 13px;
  font-size: 11px;
}

.site-footer__main {
  position: relative;
  display: grid;
  grid-template-columns: minmax(300px, 1.45fr) repeat(3, minmax(150px, 0.72fr)) minmax(210px, 0.85fr);
  gap: clamp(26px, 3vw, 52px);
  padding-block: clamp(46px, 5vw, 70px);
}

.site-footer__brand {
  max-width: 430px;
}

.site-footer__brand-row {
  display: flex;
  align-items: center;
  gap: 13px;
}

.site-footer__logo-frame {
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  display: grid;
  place-items: center;
  padding: 5px;
  background: #fff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 13px;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.22);
}

.site-footer__logo {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.site-footer__brand-name {
  color: #fff;
  font-size: 16px;
  font-weight: 780;
  letter-spacing: -0.02em;
}

.site-footer__brand-tagline {
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.43);
  font-size: 9px;
  font-weight: 750;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.site-footer__description {
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.6);
  font-size: 12.5px;
  line-height: 1.75;
}

.footer-v2__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 20px;
}

.footer-v2__trust span {
  padding: 6px 8px;
  color: rgba(255, 255, 255, 0.62);
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 7px;
  font-size: 9px;
  font-weight: 720;
}

.site-footer__title {
  margin: 2px 0 16px;
  color: #fff;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.075em;
  text-transform: uppercase;
}

.site-footer__links,
.site-footer__contact-list {
  display: grid;
  gap: 10px;
}

.site-footer__link,
.site-footer__contact-value,
.site-footer__contact-value a {
  color: rgba(255, 255, 255, 0.58);
  font-size: 12px;
  line-height: 1.45;
  transition: color 160ms ease;
}

.site-footer__link:hover,
.site-footer__contact-value a:hover {
  color: #fff;
}

.site-footer__contact-item {
  display: grid;
  gap: 4px;
}

.site-footer__contact-label {
  color: rgba(255, 255, 255, 0.34);
  font-size: 8.5px;
  font-weight: 850;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.site-footer__socials {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.site-footer__social {
  padding: 6px 8px;
  color: rgba(255, 255, 255, 0.62);
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 7px;
  font-size: 9px;
}

.site-footer__social:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.16);
}

.site-footer__bottom {
  position: relative;
  min-height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding-block: 16px;
  color: rgba(255, 255, 255, 0.38);
  border-top: 1px solid var(--v2-line-light);
  font-size: 10px;
}

.site-footer__bottom-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
}

.site-footer__bottom-links a {
  color: rgba(255, 255, 255, 0.42);
}

.site-footer__bottom-links a:hover {
  color: #fff;
}

.to-top {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--v2-ink);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 11px;
  box-shadow: 0 12px 30px rgba(8, 19, 35, 0.24);
}

.to-top svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
}

html[dir="rtl"] .site-nav__menu-intro span,
html[dir="rtl"] .footer-v2__trade-label,
html[dir="rtl"] .site-footer__title,
html[dir="rtl"] .site-footer__contact-label,
html[dir="rtl"] .site-brand__tagline,
html[dir="rtl"] .site-footer__brand-tagline {
  letter-spacing: 0;
  text-transform: none;
}

@media (max-width: 1380px) {
  .site-header__main {
    grid-template-columns: minmax(220px, 260px) minmax(0, 1fr) auto;
    gap: 14px;
  }

  .site-nav__link,
  .site-nav__trigger {
    padding-inline: 9px;
    font-size: 11.5px;
  }

  .v2-search-button__label {
    display: none;
  }

  .v2-search-button {
    width: 42px;
    padding: 0;
  }

  .site-footer__main {
    grid-template-columns: minmax(280px, 1.4fr) repeat(3, minmax(140px, 0.72fr));
  }

  .site-footer__main > :last-child {
    grid-column: 2 / -1;
    display: grid;
    grid-template-columns: 140px minmax(0, 1fr);
    gap: 20px;
  }
}

@media (max-width: 1180px) {
  :root {
    --v2-header-main: 70px;
  }

  .site-header__utility-links a:nth-last-child(n + 3) {
    display: none;
  }

  .site-header__main {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .site-nav {
    position: fixed;
    z-index: 104;
    width: min(410px, calc(100vw - 28px));
    inset-inline-end: 14px;
    top: calc(var(--dsr-header-height) + 10px);
    bottom: 14px;
    display: none;
    align-content: start;
    align-items: stretch;
    justify-content: start;
    padding: 14px;
    overflow-y: auto;
    background: #fff;
    border: 1px solid var(--v2-line);
    border-radius: 18px;
    box-shadow: var(--v2-shadow-float);
  }

  .site-nav.is-open {
    display: grid;
  }

  .site-nav__link,
  .site-nav__trigger {
    min-height: 48px;
    justify-content: space-between;
    padding: 12px 13px;
    color: var(--v2-ink);
    font-size: 13px;
  }

  .site-nav__link::after,
  .site-nav__trigger::after {
    display: none;
  }

  .site-nav__menu {
    position: static;
    width: auto;
    margin: 4px 0 10px;
    inset: auto;
    padding: 8px;
    border-radius: 14px;
    box-shadow: none;
    transform: none;
  }

  html[dir="rtl"] .site-nav__menu {
    transform: none;
  }

  .site-nav__menu-intro {
    display: none;
  }

  .site-nav__menu-grid {
    grid-template-columns: 1fr;
  }

  .site-nav__menu-link {
    grid-template-columns: 34px minmax(0, 1fr);
    padding: 10px;
  }

  .site-nav__menu-icon {
    width: 34px;
    height: 34px;
  }

  .header-menu-button {
    display: inline-flex;
  }

  .header-cta {
    display: inline-flex;
  }

  .footer-v2__trade-desk {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer-v2__desk-card {
    max-width: 700px;
  }

  .site-footer__main {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .site-footer__brand {
    grid-column: 1 / -1;
    max-width: 650px;
  }

  .site-footer__main > :last-child {
    grid-column: auto;
    display: block;
  }
}

@media (max-width: 760px) {
  :root {
    --v2-header-signal: 28px;
    --v2-header-main: 66px;
  }

  .container {
    width: min(var(--v2-container), calc(100% - 28px));
  }

  .site-header__utility-inner {
    font-size: 9px;
  }

  .site-header__platform-subtitle,
  .site-header__utility-links {
    display: none;
  }

  .site-brand__logo-wrap {
    width: 44px;
    height: 44px;
    flex-basis: 44px;
  }

  .site-brand__name {
    font-size: 14px;
  }

  .site-brand__tagline {
    display: none;
  }

  .v2-search-button,
  .header-language {
    display: none;
  }

  .header-cta {
    min-height: 40px;
    padding-inline: 12px;
    font-size: 10.5px;
  }

  .site-search-panel__inner,
  .site-search-panel__form {
    grid-template-columns: 1fr;
  }

  .site-search-panel__inner {
    padding-block: 16px;
  }

  .site-search-panel__inner > .header-icon-button {
    position: absolute;
    inset-inline-end: 14px;
    top: 14px;
  }

  .footer-v2__desk-card {
    grid-template-columns: 1fr;
  }

  .footer-v2__desk-card .btn {
    justify-self: start;
  }

  .site-footer__main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 34px 24px;
  }

  .site-footer__brand {
    grid-column: 1 / -1;
  }

  .site-footer__bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-footer__bottom-links {
    justify-content: flex-start;
  }
}

@media (max-width: 480px) {
  .header-cta {
    display: none;
  }

  .site-footer__main {
    grid-template-columns: 1fr;
  }

  .site-footer__brand {
    grid-column: auto;
  }

  .footer-v2__statement {
    font-size: 1.7rem;
  }
}
