:root {
  --surface: #ffffff;
  --text: #050505;
  --text-muted: #313131;
  --brand-yellow: #ffc400;
  --shadow-soft: 0 4px 30px rgba(0, 0, 0, 0.1);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  background: #ffffff;
  color: var(--text);
  font-family: "Inter", sans-serif;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.page {
  min-height: 100vh;
}

.artboard {
  position: relative;
  width: 375px;
  height: 1358px;
  margin: 0 auto;
  overflow: hidden;
  background: var(--surface);
}

.risk-banner-shell {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 25px;
  padding: 0 12px;
  background: #e1e1e1;
  overflow: hidden;
}

.risk-banner-top {
  z-index: 1001;
}

.risk-banner-viewport {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.risk-banner-track {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  width: max-content;
  min-width: 100%;
  height: 100%;
}

.risk-banner-text {
  margin: 0;
  color: #111111;
  font: 400 11px/25px "Inter", "PingFang SC", "Hiragino Sans", "Noto Sans Arabic", sans-serif;
  text-align: center;
  white-space: nowrap;
  flex: 0 0 auto;
}

.risk-banner-text-duplicate {
  display: none;
}

.risk-banner-shell.is-scrolling .risk-banner-track {
  justify-content: flex-start;
  animation: risk-banner-marquee var(--risk-duration, 14s) linear infinite;
}

.risk-banner-shell.is-scrolling .risk-banner-text-duplicate {
  display: block;
}

@keyframes risk-banner-marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(calc(-1 * var(--risk-shift, 0px)));
  }
}

.topbar-shell {
  position: fixed;
  top: 30px;
  left: 50%;
  width: 339px;
  height: 52px;
  transform: translateX(-50%);
  z-index: 1000;
}

.topbar {
  position: absolute;
  top: 0;
  left: 0;
  width: 339px;
  height: 52px;
  border-radius: 10px;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.brand {
  position: absolute;
  top: 4px;
  left: 8px;
  width: 134px;
  height: 44px;
}

.brand-mark-frame {
  position: absolute;
  top: 0;
  left: 0;
  width: 44px;
  height: 44px;
  overflow: hidden;
}

.brand-mark-inner {
  position: absolute;
  inset: 0 6.82%;
}

.brand-mark-inner img {
  width: 100%;
  height: 100%;
}

.brand-wordmark-frame {
  position: absolute;
  top: 0;
  left: 50px;
  width: 90px;
  height: 44px;
  overflow: hidden;
}

.brand-wordmark-inner {
  position: absolute;
  top: 13.64%;
  right: 7.09%;
  bottom: 15.25%;
  left: 6.67%;
}

.brand-wordmark-inner img {
  width: 100%;
  height: 100%;
}

.register-pill {
  position: absolute;
  top: 14px;
  right: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 63px;
  max-width: 132px;
  height: 24px;
  padding: 0 12px;
  border-radius: 8px;
  background: var(--brand-yellow);
  font: 600 9px/1 "Montserrat", sans-serif;
  white-space: nowrap;
  overflow: hidden;
}

.language-switcher {
  position: absolute;
  top: 18px;
  right: 18px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 0;
  border: 0;
  background: transparent;
  font: 600 9px/1 "Montserrat", sans-serif;
  cursor: pointer;
}

.language-switcher img {
  width: 16px;
  height: 16px;
}

.language-switcher span {
  position: relative;
  top: 2px;
}

.language-menu {
  position: absolute;
  top: 44px;
  right: -10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 206px;
  max-height: 520px;
  padding: 14px 10px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.16);
  overflow-y: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.language-menu[hidden] {
  display: none;
}

.language-menu::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.language-option {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 44px;
  padding: 10px 16px;
  border: 0;
  border-radius: 16px;
  background: transparent;
  color: #111111;
  font: 500 18px/1.2 "Inter", "PingFang SC", "Hiragino Sans", "Noto Sans Arabic", sans-serif;
  text-align: left;
  cursor: pointer;
}

.language-option.is-active {
  background: rgba(255, 196, 0, 0.95);
  color: #111111;
}

.language-option:hover {
  background: rgba(255, 196, 0, 0.12);
}

.language-option.is-active:hover {
  background: rgba(255, 196, 0, 0.95);
}

.hero-title {
  position: absolute;
  top: 87px;
  left: 42px;
  width: 292px;
  margin: 0;
  font: 400 36px/1.5 "Odibee Sans", cursive;
  text-align: center;
}

.hero-copy {
  position: absolute;
  top: 133px;
  left: 33px;
  width: 310px;
  margin: 0;
  font: 600 18px/1.5 "Inter", sans-serif;
  text-align: center;
}

.artboard.is-compact-lang .hero-title {
  top: 94px;
  left: 24px;
  width: 327px;
  font-size: 30px;
  line-height: 1.22;
}

.artboard.is-cjk-lang .hero-title {
  left: 16px;
  width: 343px;
  font-size: 34px;
  white-space: nowrap;
}

.artboard.is-compact-lang .hero-copy {
  left: 24px;
  width: 327px;
  font-size: 15px;
  line-height: 1.4;
}

.artboard.is-compact-lang .register-pill {
  right: 62px;
  padding: 0 12px;
  font-size: 8.5px;
}

.market-row {
  position: absolute;
  top: 256px;
  left: 50%;
  width: 340.952px;
  height: 32.432px;
  transform: translateX(-50%) scale(1.08);
  transform-origin: top center;
  z-index: 2;
}

.market-pill {
  position: absolute;
  top: 0;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 6.912px;
  height: 29.952px;
  padding: 0 12.096px;
  border-radius: 6.912px;
  background: linear-gradient(
    180deg,
    rgba(255, 196, 0, 0.5) 21.154%,
    rgba(255, 250, 250, 0.09) 100%
  );
  backdrop-filter: blur(0.749px);
  box-shadow:
    0 1.152px 3.456px rgba(202, 194, 169, 0.25);
}

.market-pill-forex {
  top: 0;
  left: 0;
  width: 67.624px;
}

.market-pill-crypto {
  top: 0;
  left: 74.88px;
  width: 73.624px;
}

.market-pill-indices {
  top: 1.44px;
  left: 155.52px;
  width: 76.104px;
  height: 30.432px;
}

.market-pill-commodities {
  top: 2px;
  left: 239px;
  width: 101.952px;
  height: 30.432px;
}

.market-pill__icon {
  flex: 0 0 auto;
  width: 12px;
  height: 12px;
}

.market-pill__label {
  font: 600 9.216px/1 "Inter", sans-serif;
  color: #0c0c0c;
  white-space: nowrap;
}

.showcase {
  position: absolute;
  top: 303px;
  left: 24px;
  width: 327px;
  height: 176px;
  overflow: hidden;
  z-index: 2;
}

.showcase-composite {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.cta-shell {
  position: fixed;
  bottom: 24px;
  left: 50%;
  width: 243px;
  height: 42px;
  transform: translateX(-50%);
  z-index: 1000;
}

.cta-button {
  position: absolute;
  inset: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 20px;
  background: var(--brand-yellow);
  box-shadow:
    0 10px 24px rgba(255, 196, 0, 0.28),
    0 4px 12px rgba(0, 0, 0, 0.12);
  font: 700 18px/1 "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.curve-top {
  position: absolute;
  top: 486px;
  left: 305px;
  width: 28.455px;
  height: 97px;
  z-index: 1;
}

.curve-top-tip {
  position: absolute;
  top: 583px;
  left: 315px;
  width: 15px;
  height: 25px;
  z-index: 1;
}

.curve-mid-a {
  position: absolute;
  top: 675.5px;
  left: 201.5px;
  width: 43.5px;
  height: 25.475px;
  z-index: 1;
}

.curve-mid-b {
  position: absolute;
  top: 690.929px;
  left: 74px;
  width: 127.5px;
  height: 64.571px;
  z-index: 1;
}

.curve-lower {
  position: absolute;
  top: 830.975px;
  left: 124px;
  width: 168.582px;
  height: 90.025px;
  z-index: 1;
}

.shield-icon {
  position: absolute;
  top: 586.5px;
  left: 227px;
  width: 120px;
  height: 120px;
  transform: rotate(21.6deg);
  transform-origin: center;
  z-index: 2;
}

.bolt-icon {
  position: absolute;
  top: 744px;
  left: 29px;
  width: 120px;
  height: 120px;
  transform: rotate(-25deg);
  transform-origin: center;
  z-index: 2;
}

.globe-icon {
  position: absolute;
  top: 919.5px;
  left: 241px;
  width: 120px;
  height: 120px;
  z-index: 2;
}

.support-path {
  position: absolute;
  top: 992.925px;
  left: 81px;
  width: 163.31px;
  height: 122.401px;
  z-index: 1;
}

.support-icon {
  position: absolute;
  top: 1118px;
  left: 30px;
  width: 120px;
  height: 120px;
  z-index: 2;
}

.security-copy,
.platform-copy,
.assets-copy,
.support-copy {
  position: absolute;
  color: var(--text);
}

.security-copy h2,
.platform-copy h2,
.assets-copy h2,
.support-copy h2 {
  margin: 0;
  font: 700 18px/1.5 "Helvetica Neue", Helvetica, Arial, sans-serif;
  white-space: nowrap;
}

.security-copy p,
.platform-copy p,
.assets-copy p,
.support-copy p {
  margin: 6px 0 0;
  font: 300 18px/1.5 "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: var(--text-muted);
}

.security-copy {
  top: 511.5px;
  left: 44px;
  width: 209px;
}

.security-copy p {
  margin-top: 0;
}

.platform-copy {
  top: 718.5px;
  left: 151px;
  width: 216px;
  text-align: right;
}

.platform-copy p {
  width: 173px;
  margin-top: 3px;
  margin-left: auto;
}

.assets-copy {
  top: 866.5px;
  left: 44px;
  width: 198px;
}

.support-copy {
  top: 1038.5px;
  right: 12px;
  width: 214px;
  text-align: right;
}

.support-copy p {
  width: 190px;
  margin-top: 0;
  margin-left: auto;
}

@media (max-width: 374px) {
  .artboard {
    transform: scale(calc(100vw / 375));
    transform-origin: top center;
  }

  .page {
    height: calc(1358px * (100vw / 375));
  }
}
