/* Atlas global market profile v1
   Exchange-qualified identity page for the verified global expansion. */
:root {
  --agp-bg: #03111b;
  --agp-panel: rgba(5, 25, 39, .94);
  --agp-panel-strong: rgba(2, 15, 25, .98);
  --agp-line: rgba(76, 214, 233, .25);
  --agp-cyan: #45d7e8;
  --agp-green: #28d49b;
  --agp-gold: #f1c451;
  --agp-text: #f4fbff;
  --agp-muted: #a9c1d1;
  --agp-grid: rgba(76, 214, 233, .055);
}

html[data-theme="light"] {
  --agp-bg: #edf6f9;
  --agp-panel: rgba(249, 253, 254, .96);
  --agp-panel-strong: rgba(255, 255, 255, .98);
  --agp-line: rgba(12, 111, 137, .24);
  --agp-cyan: #087d9a;
  --agp-green: #078765;
  --agp-gold: #9b6f00;
  --agp-text: #071827;
  --agp-muted: #526879;
  --agp-grid: rgba(12, 111, 137, .055);
}

body[data-atlas-public-discovery="profile"] {
  min-height: 100vh;
  margin: 0;
  color: var(--agp-text);
  background:
    linear-gradient(var(--agp-grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--agp-grid) 1px, transparent 1px),
    radial-gradient(circle at 82% 12%, rgba(69, 215, 232, .1), transparent 30%),
    var(--agp-bg);
  background-size: 58px 58px, 58px 58px, auto, auto;
}

body[data-atlas-public-discovery="profile"] .top {
  min-height: 72px;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 0 max(24px, calc((100vw - 1480px) / 2));
  border-bottom: 1px solid var(--agp-line);
  background: color-mix(in srgb, var(--agp-bg) 88%, transparent);
  backdrop-filter: blur(18px);
}

body[data-atlas-public-discovery="profile"] .top a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--agp-muted);
  text-decoration: none;
  font: 800 12px/1 "JetBrains Mono", ui-monospace, monospace;
  letter-spacing: .08em;
  text-transform: uppercase;
}

body[data-atlas-public-discovery="profile"] .top a:first-child {
  margin-right: auto;
  color: var(--agp-cyan);
  font-size: 18px;
}

body[data-atlas-public-discovery="profile"] .top a.current,
body[data-atlas-public-discovery="profile"] .top a:hover,
body[data-atlas-public-discovery="profile"] .top a:focus-visible {
  color: var(--agp-text);
}

.atlas-global-profile {
  width: min(1480px, calc(100vw - 48px));
  margin: 0 auto;
  padding: 28px 0 156px;
}

.atlas-global-profile__crumbs {
  display: flex;
  gap: 10px;
  align-items: center;
  min-height: 48px;
  overflow-x: auto;
  color: var(--agp-muted);
  font: 750 11px/1 "JetBrains Mono", ui-monospace, monospace;
  letter-spacing: .06em;
  white-space: nowrap;
  text-transform: uppercase;
  scrollbar-width: thin;
}

.atlas-global-profile__crumbs a {
  color: var(--agp-cyan);
  text-decoration: none;
}

.atlas-global-profile__hero {
  position: relative;
  isolation: isolate;
  min-height: clamp(480px, 55vw, 720px);
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, .75fr);
  gap: clamp(30px, 5vw, 84px);
  align-items: center;
  padding: clamp(36px, 6vw, 86px);
  border: 1px solid var(--agp-line);
  border-radius: 8px;
  overflow: hidden;
  background:
    linear-gradient(var(--agp-grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--agp-grid) 1px, transparent 1px),
    radial-gradient(circle at 82% 42%, rgba(69, 215, 232, .13), transparent 26%),
    var(--agp-panel-strong);
  background-size: 56px 56px, 56px 56px, auto, auto;
  box-shadow: 0 34px 90px rgba(0, 0, 0, .23);
}

.atlas-global-profile__hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(180deg, var(--agp-cyan), var(--agp-green) 62%, transparent);
}

.atlas-global-profile__eyebrow {
  margin: 0 0 14px;
  color: var(--agp-cyan);
  font: 900 11px/1.3 "JetBrains Mono", ui-monospace, monospace;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.atlas-global-profile__hero h1 {
  max-width: 900px;
  margin: 0;
  color: var(--agp-text);
  font: 900 clamp(46px, 7vw, 104px)/.96 Inter, system-ui, sans-serif;
  letter-spacing: 0;
  overflow-wrap: anywhere;
  text-wrap: balance;
}

.atlas-global-profile__hero h1 span {
  display: block;
  margin-top: 16px;
  color: var(--agp-cyan);
  font: 850 .36em/1.1 "JetBrains Mono", ui-monospace, monospace;
  letter-spacing: .05em;
}

.atlas-global-profile__hero > div:first-child > p:last-child {
  max-width: 780px;
  margin: 26px 0 0;
  color: var(--agp-muted);
  font-size: clamp(16px, 1.45vw, 21px);
  line-height: 1.6;
}

.atlas-global-profile__mark {
  --ring-size: min(31vw, 430px);
  position: relative;
  width: var(--ring-size);
  max-width: 100%;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  justify-self: center;
}

.atlas-global-profile__mark::before,
.atlas-global-profile__mark::after {
  content: "";
  position: absolute;
  inset: 6%;
  border: 1px solid var(--agp-cyan);
  border-radius: 50%;
  transform: rotate(34deg) scaleY(.54);
  opacity: .62;
}

.atlas-global-profile__mark::after {
  inset: 16%;
  border-color: var(--agp-gold);
  transform: rotate(-44deg) scaleY(.62);
  opacity: .45;
}

.atlas-global-profile__mark img {
  width: 46%;
  aspect-ratio: 1;
  object-fit: contain;
  border-radius: 8px;
  filter: drop-shadow(0 16px 28px rgba(0, 0, 0, .34));
}

.atlas-global-profile__mark span {
  position: absolute;
  inset: auto auto 8% 50%;
  transform: translateX(-50%);
  min-width: 92px;
  padding: 10px 16px;
  border: 1px solid var(--agp-cyan);
  border-radius: 5px;
  color: var(--agp-cyan);
  text-align: center;
  font: 900 14px/1 "JetBrains Mono", ui-monospace, monospace;
  background: color-mix(in srgb, var(--agp-bg) 88%, transparent);
}

.atlas-global-profile__facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 18px 0;
  border: 1px solid var(--agp-line);
  border-radius: 7px;
  overflow: hidden;
  background: var(--agp-panel);
}

.atlas-global-profile__facts div {
  min-width: 0;
  min-height: 116px;
  display: grid;
  align-content: center;
  gap: 9px;
  padding: 20px;
  border-right: 1px solid var(--agp-line);
}

.atlas-global-profile__facts div:last-child {
  border-right: 0;
}

.atlas-global-profile__facts dt {
  color: var(--agp-muted);
  font: 850 10px/1 "JetBrains Mono", ui-monospace, monospace;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.atlas-global-profile__facts dd {
  margin: 0;
  color: var(--agp-text);
  font: 800 16px/1.3 Inter, system-ui, sans-serif;
  overflow-wrap: anywhere;
}

.atlas-global-profile__quote {
  margin: 18px 0;
  padding: clamp(24px, 3vw, 40px);
  border: 1px solid var(--agp-line);
  border-radius: 8px;
  background:
    linear-gradient(var(--agp-grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--agp-grid) 1px, transparent 1px),
    var(--agp-panel-strong);
  background-size: 42px 42px;
}

.atlas-global-profile__quote dl {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  border: 1px solid var(--agp-line);
  border-radius: 6px;
  overflow: hidden;
}

.atlas-global-profile__quote dl > div {
  min-width: 0;
  display: grid;
  gap: 10px;
  align-content: center;
  min-height: 118px;
  padding: 20px;
  border-right: 1px solid var(--agp-line);
}

.atlas-global-profile__quote dl > div:last-child {
  border-right: 0;
}

.atlas-global-profile__quote dt {
  color: var(--agp-muted);
  font: 850 10px/1.2 "JetBrains Mono", ui-monospace, monospace;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.atlas-global-profile__quote dd {
  margin: 0;
  color: var(--agp-cyan);
  font: 850 clamp(18px, 2.1vw, 30px)/1.1 Inter, system-ui, sans-serif;
  overflow-wrap: anywhere;
}

.atlas-global-profile__quote dd small {
  color: var(--agp-muted);
  font: 750 11px/1 "JetBrains Mono", ui-monospace, monospace;
}

.atlas-global-profile__quote > p:last-child {
  margin: 18px 0 0;
  color: var(--agp-muted);
  font-size: 13px;
  line-height: 1.5;
}

.atlas-global-profile__state,
.atlas-global-profile__proof {
  position: relative;
  margin-top: 18px;
  padding: clamp(30px, 4vw, 56px);
  border: 1px solid var(--agp-line);
  border-radius: 8px;
  background: var(--agp-panel);
}

.atlas-global-profile__state {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, auto);
  column-gap: 40px;
  align-items: end;
}

.atlas-global-profile__state h2 {
  margin: 0;
  color: var(--agp-text);
  font: 900 clamp(30px, 4vw, 56px)/1.02 Inter, system-ui, sans-serif;
  letter-spacing: 0;
}

.atlas-global-profile__state > p:not(.atlas-global-profile__eyebrow) {
  max-width: 800px;
  margin: 16px 0 0;
  color: var(--agp-muted);
  font-size: 16px;
  line-height: 1.58;
}

.atlas-global-profile__state > a {
  min-height: 64px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  grid-column: 2;
  grid-row: 1 / span 3;
  padding: 0 26px;
  border-radius: 6px;
  color: #021017;
  text-decoration: none;
  font: 900 12px/1.2 "JetBrains Mono", ui-monospace, monospace;
  letter-spacing: .08em;
  text-transform: uppercase;
  background: var(--agp-cyan);
  transition: transform 180ms cubic-bezier(.16, 1, .3, 1), box-shadow 180ms ease;
}

.atlas-global-profile__state > a:hover,
.atlas-global-profile__state > a:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px color-mix(in srgb, var(--agp-cyan) 22%, transparent);
}

.atlas-global-profile__proof ol {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
  border: 1px solid var(--agp-line);
  border-radius: 6px;
  overflow: hidden;
}

.atlas-global-profile__proof li {
  min-height: 130px;
  display: grid;
  align-content: center;
  gap: 9px;
  padding: 22px;
  border-right: 1px solid var(--agp-line);
}

.atlas-global-profile__proof li:last-child {
  border-right: 0;
}

.atlas-global-profile__proof strong {
  color: var(--agp-text);
  font-size: 17px;
}

.atlas-global-profile__proof span {
  color: var(--agp-muted);
  font-size: 13px;
  line-height: 1.45;
}

@media (max-width: 900px) {
  body[data-atlas-public-discovery="profile"] .top {
    display: none;
  }

  .atlas-global-profile__hero {
    grid-template-columns: minmax(0, 1fr);
  }

  .atlas-global-profile__mark {
    --ring-size: min(70vw, 390px);
  }

  .atlas-global-profile__facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .atlas-global-profile__quote dl {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .atlas-global-profile__quote dl > div:nth-child(2) {
    border-right: 0;
  }

  .atlas-global-profile__quote dl > div:nth-child(-n+2) {
    border-bottom: 1px solid var(--agp-line);
  }

  .atlas-global-profile__facts div:nth-child(2) {
    border-right: 0;
  }

  .atlas-global-profile__facts div:nth-child(-n+2) {
    border-bottom: 1px solid var(--agp-line);
  }

  .atlas-global-profile__state {
    grid-template-columns: minmax(0, 1fr);
  }

  .atlas-global-profile__state > a {
    grid-column: 1;
    grid-row: auto;
    margin-top: 26px;
  }
}

@media (max-width: 620px) {
  body[data-atlas-public-discovery="profile"] {
    background-size: 38px 38px, 38px 38px, auto, auto;
  }

  .atlas-global-profile {
    width: min(100%, calc(100vw - 24px));
    padding: 12px 0 132px;
  }

  .atlas-global-profile__crumbs {
    min-height: 42px;
    font-size: 9px;
  }

  .atlas-global-profile__hero {
    min-height: auto;
    gap: 24px;
    padding: 30px 20px;
    background-size: 38px 38px, 38px 38px, auto, auto;
  }

  .atlas-global-profile__hero h1 {
    font-size: clamp(42px, 12vw, 58px);
  }

  .atlas-global-profile__hero > div:first-child > p:last-child {
    font-size: 16px;
  }

  .atlas-global-profile__mark {
    --ring-size: min(76vw, 330px);
  }

  .atlas-global-profile__facts {
    grid-template-columns: minmax(0, 1fr);
  }

  .atlas-global-profile__quote {
    padding: 22px 16px;
  }

  .atlas-global-profile__quote dl {
    grid-template-columns: minmax(0, 1fr);
  }

  .atlas-global-profile__quote dl > div,
  .atlas-global-profile__quote dl > div:nth-child(2) {
    min-height: 84px;
    border-right: 0;
    border-bottom: 1px solid var(--agp-line);
  }

  .atlas-global-profile__quote dl > div:last-child {
    border-bottom: 0;
  }

  .atlas-global-profile__facts div,
  .atlas-global-profile__facts div:nth-child(2) {
    min-height: 90px;
    border-right: 0;
    border-bottom: 1px solid var(--agp-line);
  }

  .atlas-global-profile__facts div:last-child {
    border-bottom: 0;
  }

  .atlas-global-profile__state,
  .atlas-global-profile__proof {
    padding: 26px 18px;
  }

  .atlas-global-profile__proof ol {
    grid-template-columns: minmax(0, 1fr);
  }

  .atlas-global-profile__proof li {
    min-height: 102px;
    border-right: 0;
    border-bottom: 1px solid var(--agp-line);
  }

  .atlas-global-profile__proof li:last-child {
    border-bottom: 0;
  }
}

@media (min-width: 1800px) {
  .atlas-global-profile {
    width: min(2320px, calc(100vw - 160px));
    max-width: 2320px;
  }

  .atlas-global-profile__hero {
    min-height: 820px;
    padding: 110px;
  }

  .atlas-global-profile__hero h1 {
    font-size: clamp(100px, 6.2vw, 150px);
  }

  .atlas-global-profile__hero > div:first-child > p:last-child,
  .atlas-global-profile__state > p:not(.atlas-global-profile__eyebrow) {
    font-size: 22px;
  }

  .atlas-global-profile__facts div,
  .atlas-global-profile__proof li {
    min-height: 160px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .atlas-global-profile__state > a {
    transition: none;
  }
}
