@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.7.2/css/all.min.css");

:root {
  --bg: #050812;
  --bg-soft: #0a0e1e;
  --surface: rgba(14, 19, 42, 0.72);
  --surface-strong: #11172f;
  --line: rgba(151, 167, 215, 0.14);
  --text: #f7f8ff;
  --muted: #a4acc4;
  --blue: #5068ff;
  --cyan: #0bd2ed;
  --violet: #8f5cff;
  --green: #22d7a3;
  --red: #ff7185;
  --gold: #f4c55f;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background:
    radial-gradient(circle at 16% 8%, rgba(91, 45, 174, 0.22), transparent 27rem),
    radial-gradient(circle at 88% 17%, rgba(0, 157, 175, 0.15), transparent 29rem),
    var(--bg);
  font-family: "DM Sans", sans-serif;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
.page-glow {
  position: fixed;
  width: 26rem;
  height: 26rem;
  border-radius: 50%;
  filter: blur(130px);
  pointer-events: none;
  z-index: -1;
  opacity: 0.25;
}
.page-glow--violet { background: var(--violet); left: -14rem; top: 28rem; }
.page-glow--cyan { background: var(--cyan); right: -16rem; top: 58rem; }

/* Trading psychology showcase — adapted from the supplied responsive template. */
.trading-psychology-showcase {
  position: relative;
  width: 100%;
  padding: clamp(44px, 7vw, 88px) 24px clamp(62px, 8vw, 104px);
  background: transparent;
  font-family: inherit;
}

.trading-psychology-showcase__inner {
  position: relative;
  width: min(100%, 1148px);
  margin: 0 auto;
  padding-bottom: 82px;
}

.trading-psychology-hero {
  position: relative;
  height: 448px;
  overflow: hidden;
  border-radius: 19px;
  background: #050505;
}

.trading-psychology-hero::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(5, 8, 18, 0.08));
  pointer-events: none;
}

.trading-psychology-hero__image {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.trading-psychology-hero__copy {
  position: absolute;
  z-index: 2;
  top: 96px;
  left: 50%;
  width: min(92%, 850px);
  transform: translateX(-50%);
  text-align: center;
}

.trading-psychology-eyebrow {
  margin: 0 0 8px;
  color: #000;
  font-size: 15px;
  font-weight: 700;
}

.trading-psychology-episode-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 175px;
  min-height: 40px;
  margin-top: 24px;
  padding: 10px 20px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 9px;
  color: #fff;
  background: rgba(9, 10, 15, 0.23);
  backdrop-filter: blur(6px);
  font-size: 14px;
  font-weight: 700;
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.trading-psychology-episode-button:hover,
.trading-psychology-episode-button:focus-visible {
  border-color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-2px);
}

.trading-psychology-episode-button:focus-visible {
  outline: 3px solid rgba(90, 110, 255, 0.8);
  outline-offset: 3px;
}

.trading-psychology-hero__copy h2 {
  margin: 0;
  color: #000;
  font-family: "Manrope", sans-serif;
  font-size: clamp(28px, 2.65vw, 36px);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.12;
}

.trading-psychology-payout {
  margin: 1em 0 0;
  color: #000;
  font-size: 1.17em;
  font-weight: 700;
}

.trading-psychology-carousel {
  position: absolute;
  z-index: 3;
  bottom: 0;
  left: 50%;
  display: flex;
  align-items: center;
  width: min(calc(100% - 20px), 920px);
  transform: translateX(-50%);
}

.trading-psychology-carousel__viewport {
  width: 100%;
  overflow: hidden;
  border-radius: 20px;
}

.trading-psychology-carousel__track {
  display: flex;
  gap: 10px;
  transition: transform 400ms cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
}

.trading-psychology-card {
  position: relative;
  flex: 0 0 calc((100% - 20px) / 3);
  height: 152px;
  overflow: hidden;
  border-radius: 20px;
  background: #071743;
}

.trading-psychology-card > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.trading-psychology-card__copy {
  position: absolute;
  z-index: 2;
  right: 10px;
  bottom: 10px;
  left: 10px;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.88), rgba(30, 58, 138, 0.82));
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
}

.trading-psychology-card__copy h3 {
  margin: 0 0 3px;
  color: #fff;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.025em;
  line-height: 1.25;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.trading-psychology-card__copy p {
  margin: 0;
  color: #60a5fa;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.2;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}

.trading-psychology-carousel__button {
  position: absolute;
  z-index: 10;
  top: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: #3556ff;
  box-shadow: 0 4px 14px rgba(53, 86, 255, 0.4);
  cursor: pointer;
  transform: translateY(-50%);
  transition: background 180ms ease, opacity 180ms ease, transform 180ms ease;
}

.trading-psychology-carousel__button:hover:not(:disabled),
.trading-psychology-carousel__button:focus-visible:not(:disabled) {
  background: #2544d6;
  transform: translateY(-50%) scale(1.08);
}

.trading-psychology-carousel__button:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.8);
  outline-offset: 3px;
}

.trading-psychology-carousel__button:disabled {
  opacity: 0.38;
  cursor: default;
}

.trading-psychology-carousel__button--previous { left: -22px; }
.trading-psychology-carousel__button--next { right: -22px; }

@media (max-width: 1024px) {
  .trading-psychology-card { flex-basis: calc((100% - 10px) / 2); }
}

@media (max-width: 760px) {
  .trading-psychology-showcase { padding: 36px 14px 52px; }
  .trading-psychology-showcase__inner { padding-bottom: 0; }
  .trading-psychology-hero { height: 480px; border-radius: 17px; }
  .trading-psychology-hero__image { object-position: center; }
  .trading-psychology-hero__copy { top: 96px; width: calc(100% - 32px); }
  .trading-psychology-hero__copy h2 {
    max-width: 540px;
    margin-inline: auto;
    font-size: clamp(29px, 8vw, 40px);
  }
  .trading-psychology-carousel {
    position: relative;
    bottom: auto;
    left: auto;
    width: calc(100% - 26px);
    margin: -72px auto 0;
    transform: none;
  }
  .trading-psychology-card { flex-basis: 100%; height: 164px; }
  .trading-psychology-card__copy { bottom: 19px; }
}

@media (max-width: 420px) {
  .trading-psychology-hero { height: 470px; }
  .trading-psychology-hero__copy { top: 82px; }
  .trading-psychology-eyebrow { margin-bottom: 10px; }
  .trading-psychology-hero__copy h2 { font-size: 30px; line-height: 1.08; }
  .trading-psychology-episode-button { margin-top: 12px; margin-bottom: 20px; }
  .trading-psychology-carousel { width: calc(100% - 18px); }
  .trading-psychology-carousel__button--previous { left: -12px; }
  .trading-psychology-carousel__button--next { right: -12px; }
}

@media (prefers-reduced-motion: reduce) {
  .trading-psychology-episode-button,
  .trading-psychology-carousel__track { transition: none; }
}

/* Funded trader showcase — adapted from the supplied funded-trader-static design. */
.funded-trader-showcase {
  position: relative;
  min-height: 700px;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 17% 8%, rgba(76, 86, 105, 0.23), transparent 28%),
    radial-gradient(circle at 78% 60%, rgba(0, 25, 135, 0.08), transparent 27%),
    #02030a;
}

.funded-trader-showcase__inner {
  position: relative;
  width: min(100% - 56px, 1236px);
  min-height: 700px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(410px, 0.8fr);
  align-items: center;
  gap: clamp(34px, 5vw, 76px);
  padding: 86px 0;
}

.funded-trader-stars {
  position: absolute;
  z-index: -1;
  top: 0;
  left: 5%;
  width: 31%;
  height: 34%;
  opacity: 0.58;
  background-image: radial-gradient(#fff 1px, transparent 1px);
  background-size: 57px 48px;
  -webkit-mask-image: linear-gradient(to right, #000, transparent);
  mask-image: linear-gradient(to right, #000, transparent);
}

.funded-trader-copy {
  position: relative;
  z-index: 2;
  max-width: 720px;
}

.funded-trader-rating { margin-bottom: clamp(21px, 2.55vw, 35px); }
.funded-trader-rating__stars { display: flex; gap: 3px; margin-bottom: 5px; }
.funded-trader-rating__stars span {
  width: clamp(22px, 2.12vw, 29px);
  height: clamp(22px, 2.12vw, 29px);
  display: grid;
  place-items: center;
  color: #fff;
  background: #07965f;
  font-size: clamp(15px, 1.4vw, 19px);
  line-height: 1;
}
.funded-trader-rating__copy { color: #eee; font-size: clamp(10px, 0.95vw, 13px); }

.funded-trader-copy h2 {
  margin: 0 0 26px;
  color: #999ca8;
  font: 400 clamp(45px, 5.3vw, 72px)/1.04 "DM Sans", sans-serif;
  letter-spacing: -0.055em;
}
.funded-trader-copy h2 strong { color: #f7f7f8; font-weight: 600; }
.funded-trader-copy > p {
  max-width: 650px;
  margin: 0 0 clamp(27px, 2.78vw, 38px);
  color: #b7b7bd;
  font-size: clamp(14px, 1.32vw, 18px);
  line-height: 1.5;
}
.funded-trader-cta {
  width: 128px;
  height: 29px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(90deg, #0b27c8 0%, #0738e3 58%, #0645f1 100%);
  box-shadow: 0 7px 18px rgba(0, 43, 221, 0.2);
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
  transition: transform 0.25s ease, filter 0.25s ease;
}
.funded-trader-cta:hover { filter: brightness(1.14); transform: translateY(-2px); }

.funded-trader-certificate-stack {
  position: relative;
  z-index: 3;
  width: min(100%, 461px);
  height: 426px;
  justify-self: end;
}
.funded-trader-certificate {
  position: absolute;
  width: 279px;
  height: 157px;
  overflow: hidden;
  border: 1px solid rgba(21, 49, 145, 0.78);
  border-radius: 16px;
  color: #f7f7fa;
  background:
    radial-gradient(circle at 9% 0%, rgba(14, 39, 122, 0.28), transparent 42%),
    radial-gradient(circle at 50% 105%, rgba(0, 0, 20, 0.24), transparent 48%),
    linear-gradient(108deg, rgba(1, 10, 65, 0.88), rgba(1, 4, 96, 0.88));
  box-shadow: inset 0 1px 0 rgba(83, 113, 255, 0.09), 0 8px 20px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(0.7px);
}
.funded-trader-certificate::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, rgba(255, 255, 255, 0.026), transparent 36%, rgba(24, 19, 184, 0.07));
  pointer-events: none;
}
.funded-trader-certificate--top { z-index: 3; top: 0; right: 0; }
.funded-trader-certificate--middle { z-index: 2; top: 131px; left: 0; }
.funded-trader-certificate--bottom { z-index: 1; right: 29px; bottom: 0; }
.funded-trader-person {
  position: absolute;
  z-index: 2;
  top: 16px;
  left: 19px;
  display: flex;
  align-items: center;
  gap: 11px;
}
.funded-trader-person img {
  width: 50px;
  height: 50px;
  display: block;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #07103a;
  box-shadow: 0 2px 7px rgba(0, 0, 0, 0.28);
  object-fit: cover;
}
.funded-trader-person__name { font-size: 14.5px; font-weight: 600; line-height: 1.15; white-space: nowrap; }
.funded-trader-person__country { margin-top: 6px; font-size: 10.8px; line-height: 1; white-space: nowrap; }
.funded-trader-person__country span { margin-right: 6px; }
.funded-trader-mark {
  position: absolute;
  z-index: 2;
  top: 17px;
  right: 17px;
  color: rgba(87, 105, 188, 0.48);
  font-size: 6.4px;
  font-weight: 700;
  letter-spacing: 0.6px;
}
.funded-trader-certificate__label { position: absolute; z-index: 2; top: 56px; right: 16px; font-size: 12.8px; font-weight: 500; }
.funded-trader-stats {
  position: absolute;
  z-index: 2;
  right: 16px;
  bottom: 16px;
  left: 16px;
  height: 59px;
  padding: 8px 5px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
  border-radius: 11px;
  background: rgba(0, 3, 39, 0.72);
  box-shadow: inset 0 1px 6px rgba(0, 0, 20, 0.35);
  text-align: center;
}
.funded-trader-stats span,
.funded-trader-stats strong { display: block; white-space: nowrap; }
.funded-trader-stats span { color: #7f86aa; font-size: 8.2px; font-weight: 400; line-height: 1; }
.funded-trader-stats strong { margin-top: 9px; color: #f3f4ff; font-size: 10.4px; font-weight: 500; line-height: 1; }

@media (max-width: 1000px) {
  .funded-trader-showcase__inner { grid-template-columns: minmax(0, 1fr) 380px; }
  .funded-trader-certificate-stack { transform: scale(0.86); transform-origin: right center; }
}

@media (max-width: 760px) {
  .funded-trader-showcase { min-height: auto; }
  .funded-trader-showcase__inner {
    width: min(100% - 40px, 620px);
    min-height: auto;
    padding: 72px 0 64px;
    display: block;
  }
  .funded-trader-copy h2 { font-size: clamp(39px, 12.4vw, 62px); letter-spacing: -0.045em; }
  .funded-trader-copy > p { font-size: 15px; }
  .funded-trader-certificate-stack {
    width: 100%;
    height: 500px;
    margin: 65px auto 0;
    transform: none;
  }
  .funded-trader-certificate { width: min(285px, 82vw); height: 160px; }
  .funded-trader-certificate--top { top: 0; right: 0; }
  .funded-trader-certificate--middle { top: 158px; left: 0; }
  .funded-trader-certificate--bottom { right: 0; bottom: 24px; }
  .funded-trader-stars { width: 80%; height: 20%; }
}

@media (max-width: 380px) {
  .funded-trader-showcase__inner { width: min(100% - 32px, 620px); }
  .funded-trader-certificate { width: min(265px, 84vw); }
  .funded-trader-certificate__label { font-size: 10px; }
  .funded-trader-certificate-stack { height: 490px; }
}

@media (prefers-reduced-motion: reduce) {
  .funded-trader-cta { transition: none; }
}

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 20;
  padding: 18px 28px;
}
.site-header--sticky-home {
  position: fixed;
}
.nav-shell {
  position: relative;
  max-width: 1210px;
  min-height: 72px;
  margin: 0 auto;
  padding: 10px 14px 10px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(6, 9, 28, 0.78);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.28), inset 0 1px rgba(255, 255, 255, 0.04);
}
.brand { display: flex; align-items: center; gap: 11px; font: 800 19px "Manrope", sans-serif; white-space: nowrap; }
.brand > span:last-child > span { color: #7788ff; }
.brand--image { flex: 0 0 auto; gap: 0; }
.brand-logo {
  display: block;
  width: 220px;
  height: auto;
  max-width: 100%;
  object-fit: contain;
}
.brand-mark {
  width: 38px;
  height: 38px;
  position: relative;
  display: inline-flex;
  align-items: end;
  justify-content: center;
  gap: 3px;
  padding: 9px;
  overflow: hidden;
  border-radius: 11px;
  background: linear-gradient(145deg, #3c4cff, #0ed5ed);
  box-shadow: 0 8px 24px rgba(32, 136, 255, 0.3);
}
.brand-mark::after { content: ""; position: absolute; inset: 1px; border: 1px solid rgba(255, 255, 255, 0.23); border-radius: 10px; }
.brand-mark i { width: 4px; position: relative; z-index: 1; border-radius: 3px; background: #06102a; }
.brand-mark i:nth-child(1) { height: 9px; }
.brand-mark i:nth-child(2) { height: 17px; }
.brand-mark i:nth-child(3) { height: 13px; }
.nav-links { display: flex; align-items: center; gap: 8px; }
.nav-links a {
  padding: 10px 14px;
  border-radius: 12px;
  color: #b5bdd1;
  font-size: 14px;
  font-weight: 600;
  transition: 0.2s ease;
}
.nav-links a:hover, .nav-links a.active { color: white; background: rgba(255, 255, 255, 0.055); }
.home-account-menu { position: relative; padding: 10px 0; margin: -10px 0; }
.home-account-menu__trigger { display: inline-flex; align-items: center; gap: 6px; }
.home-account-menu__arrow {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.22s ease;
}
.account-dropdown {
  position: absolute;
  top: calc(100% - 2px);
  left: 0;
  width: 236px;
  padding: 0;
  visibility: hidden;
  opacity: 0;
  transform: translateY(10px) scale(0.98);
  transform-origin: top left;
  overflow: hidden;
  border: 1px solid rgba(133, 151, 221, 0.28);
  border-radius: 2px;
  background: #1A2042;
  box-shadow: 0 9px 24px rgba(25, 34, 55, 0.19);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}
.account-dropdown::before {
  content: "";
  position: absolute;
  right: 0;
  bottom: 100%;
  left: 0;
  height: 12px;
}
.home-account-menu:hover .account-dropdown,
.home-account-menu:focus-within .account-dropdown {
  visibility: visible;
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
.home-account-menu:hover .home-account-menu__arrow,
.home-account-menu:focus-within .home-account-menu__arrow { transform: rotate(180deg); }
.nav-links .account-dropdown__item {
  position: relative;
  min-height: 60px;
  padding: 7px 14px;
  display: flex;
  align-items: center;
  overflow: hidden;
  border: 0;
  border-right: 3px solid #3157ff;
  border-radius: 0;
  color: #fff;
  background: #1A2042;
  font-family: "DM Sans", sans-serif;
  font-size: 14px;
  font-weight: 600;
  transition: background 0.16s ease, padding-left 0.16s ease;
}
.nav-links .account-dropdown__item + .account-dropdown__item { margin-top: 0; border-top: 1px solid rgba(133, 151, 221, 0.2); }
.nav-links .account-dropdown__item--profile { border-right-color: #009900; }
.nav-links .account-dropdown__item--history { border-right-color: #28d75d; }
.nav-links .account-dropdown__item--withdraw { border-right-color: #009999; }
.nav-links .account-dropdown__item--inactive { border-right-color: #993333; }
.nav-links .account-dropdown__item--support { border-right-color: #ff46ba; }
.nav-links .account-dropdown__item:hover,
.nav-links .account-dropdown__item:focus-visible {
  color: #fff;
  background: #232b58;
  padding-left: 17px;
}
.header-signout-link {
  padding: 10px 14px;
  border: 0;
  border-radius: 12px;
  color: #b5bdd1;
  background: transparent;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.2s ease;
}
.header-signout-link:hover {
  color: white;
  background: rgba(255, 255, 255, 0.055);
}
.header-signout-link:disabled {
  opacity: 0.65;
  cursor: wait;
}
.nav-actions { display: flex; align-items: center; gap: 10px; }
.button {
  min-height: 44px;
  padding: 0 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 14px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.button:hover { transform: translateY(-2px); }
.button--primary {
  color: white;
  background: linear-gradient(120deg, #4052f4, #09c9e7);
  box-shadow: 0 12px 34px rgba(28, 135, 255, 0.3);
}
.button--primary:hover { box-shadow: 0 15px 40px rgba(28, 135, 255, 0.42); }
.button--ghost { color: white; border-color: rgba(158, 172, 216, 0.2); background: rgba(255, 255, 255, 0.025); }
.button--ghost:hover { border-color: rgba(111, 135, 255, 0.52); }
.button--large { min-height: 58px; padding: 0 27px; border-radius: 18px; font-size: 16px; }
.menu-button { display: none; width: 44px; height: 44px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.04); border-radius: 13px; }
.menu-button span { display: block; width: 18px; height: 2px; margin: 4px auto; background: white; border-radius: 2px; transition: 0.2s; }
.mobile-menu { display: none; }
.auth-hidden { display: none !important; }
.mobile-auth-button {
  width: 100%;
  padding: 12px 15px;
  border: 0;
  color: #b8c0d4;
  background: transparent;
  text-align: left;
  cursor: pointer;
  font-size: 14px;
}
.mobile-account-menu {
  max-height: 0;
  margin: 0;
  overflow: hidden;
  visibility: hidden;
  opacity: 0;
  border: 1px solid transparent;
  border-radius: 10px;
  background: #1A2042;
  pointer-events: none;
  transform: translateY(-7px);
  transition: max-height 0.3s ease, margin 0.3s ease, opacity 0.22s ease, transform 0.3s ease, visibility 0.3s ease, border-color 0.3s ease;
}
.mobile-account-menu.is-open {
  max-height: 340px;
  margin: 3px 0;
  visibility: visible;
  opacity: 1;
  border-color: rgba(133, 151, 221, 0.28);
  pointer-events: auto;
  transform: translateY(0);
}
.mobile-menu .mobile-account-menu__item { min-height: 46px; padding: 5px 13px; display: flex; align-items: center; border-radius: 0; border-right: 3px solid #3157ff; color: #fff; background: #1A2042; font-family: "DM Sans", sans-serif; font-size: 13px; font-weight: 600; }
.mobile-menu .mobile-account-menu__item + .mobile-account-menu__item { border-top: 1px solid rgba(133, 151, 221, 0.2); }
.mobile-menu .mobile-account-menu__item--profile { border-right-color: #009900; }
.mobile-menu .mobile-account-menu__item--withdraw { border-right-color: #009999; }
.mobile-menu .mobile-account-menu__item--history { border-right-color: #28d75d; }
.mobile-menu .mobile-account-menu__item--inactive { border-right-color: #993333; }
.mobile-menu .mobile-account-menu__item--support { border-right-color: #ff46ba; }
.mobile-menu .mobile-account-menu__item:hover { color: #fff; background: #232b58; }
.mobile-home-account-toggle {
  width: 100%;
  padding: 10px 15px;
  display: flex;
  align-items: center;
  gap: 9px;
  border: 0;
  border-radius: 9px;
  color: #b8c0d4;
  background: transparent;
  font: 600 15px "DM Sans", sans-serif;
  text-align: left;
  cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease;
}
.mobile-home-account-toggle:hover,
.mobile-home-account-toggle:focus-visible,
.mobile-home-account-toggle.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
}
.mobile-home-account-toggle__arrow {
  width: 25px;
  height: 25px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 25px;
  border: 1px solid #fff;
  border-radius: 50%;
  color: #070a1c;
  background: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: color 0.25s ease, background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.mobile-home-account-toggle__arrow svg {
  width: 13px;
  height: 13px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}
.mobile-home-account-toggle[aria-expanded="true"] .mobile-home-account-toggle__arrow {
  color: #070a1c;
  border-color: #fff;
  background: #fff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.26);
}
.mobile-home-account-toggle[aria-expanded="true"] .mobile-home-account-toggle__arrow svg {
  transform: rotate(180deg);
}

.section-grid { position: relative; overflow: hidden; }
.section-grid::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(rgba(117, 135, 181, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(117, 135, 181, 0.045) 1px, transparent 1px);
  background-size: 74px 74px;
  mask-image: linear-gradient(to bottom, black, transparent 88%);
}
.hero { min-height: 900px; padding: 155px 28px 0; }
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -3;
  background:
    radial-gradient(circle at 24% 23%, rgba(95, 48, 187, 0.26), transparent 30%),
    radial-gradient(circle at 75% 26%, rgba(0, 143, 163, 0.18), transparent 29%),
    linear-gradient(140deg, #0b061e 0%, #071023 45%, #02161d 100%);
}
.stars {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.65;
  background-image:
    radial-gradient(circle, var(--gold) 0 1px, transparent 1.5px),
    radial-gradient(circle, #7d64ff 0 1.3px, transparent 1.8px),
    radial-gradient(circle, #26d3ec 0 1px, transparent 1.5px);
  background-position: 8% 18%, 19% 42%, 73% 16%;
  background-size: 241px 267px, 337px 313px, 391px 359px;
  animation: star-drift 18s linear infinite;
}
@keyframes star-drift { to { background-position: 249px 285px, 356px 355px, 464px 375px; } }
.hero-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(430px, 0.95fr);
  align-items: center;
  gap: 72px;
}
.hero-copy { position: relative; z-index: 2; }
.eyebrow {
  width: fit-content;
  max-width: 100%;
  padding: 11px 16px;
  display: flex;
  align-items: center;
  gap: 9px;
  color: #8ca1ff;
  border: 1px solid rgba(91, 115, 255, 0.25);
  background: rgba(54, 68, 153, 0.1);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
}
.eyebrow span { width: 8px; height: 8px; border-radius: 50%; background: #3c7dff; box-shadow: 0 0 15px #3c7dff; }
.eyebrow b { color: #4e5e89; }
h1, h2, h3 { margin-top: 0; font-family: "Manrope", sans-serif; }
h1 {
  margin: 30px 0 24px;
  max-width: 680px;
  font-size: clamp(52px, 5.7vw, 78px);
  line-height: 1.04;
  letter-spacing: -4px;
}
h1 span {
  color: transparent;
  background: linear-gradient(100deg, #5d70ff 10%, #11d3e7 75%);
  background-clip: text;
  -webkit-background-clip: text;
}
.hero-copy > p { max-width: 615px; color: #aeb6cb; font-size: 18px; line-height: 1.75; }
.hero-actions { margin-top: 35px; display: flex; flex-wrap: wrap; gap: 13px; }
.play-dot { width: 7px; height: 7px; border-radius: 50%; background: white; box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.06); }
.trust-row { margin-top: 34px; display: flex; align-items: center; gap: 14px; }
.avatar-stack { display: flex; }
.avatar-stack span {
  width: 34px;
  height: 34px;
  margin-left: -7px;
  display: grid;
  place-items: center;
  border: 2px solid #0c1021;
  border-radius: 50%;
  color: #dce0ff;
  background: linear-gradient(145deg, #262f66, #0e99b2);
  font-size: 9px;
  font-weight: 700;
}
.avatar-stack span:first-child { margin-left: 0; }
.stars-rating { color: #f6bd46; font-size: 11px; letter-spacing: 2px; }
.trust-row p { margin: 3px 0 0; color: #7f8aa8; font-size: 11px; }

.terminal-wrap { position: relative; min-height: 535px; display: flex; align-items: center; }
.terminal-card {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 21px;
  overflow: hidden;
  border: 1px solid rgba(118, 144, 215, 0.22);
  border-radius: 26px;
  background: linear-gradient(145deg, rgba(17, 24, 51, 0.97), rgba(7, 13, 30, 0.97));
  box-shadow: 0 35px 90px rgba(0, 0, 0, 0.45), 0 0 60px rgba(58, 77, 232, 0.12), inset 0 1px rgba(255, 255, 255, 0.05);
  transform: perspective(1100px) rotateY(-5deg) rotateX(2deg);
}
.terminal-card::after { content: ""; position: absolute; width: 200px; height: 200px; right: -80px; top: -80px; background: #0bcbe4; filter: blur(95px); opacity: 0.08; }
.terminal-topbar, .terminal-topbar > div, .terminal-price, .terminal-price > div, .position-row { display: flex; align-items: center; justify-content: space-between; }
.terminal-topbar > div { justify-content: flex-start; gap: 10px; }
.asset-icon { width: 37px; height: 37px; display: grid; place-items: center; border-radius: 11px; background: linear-gradient(145deg, #4862ff, #17bad2); font-weight: 800; }
.terminal-topbar div div { display: flex; flex-direction: column; }
.terminal-topbar strong { font-size: 13px; }
.terminal-topbar small, .position-row span { color: #6f7b9b; font-size: 9px; margin-top: 3px; }
.live-pill { padding: 6px 9px; color: #54dcb7; background: rgba(34, 215, 163, 0.08); border-radius: 999px; font-size: 9px; }
.live-pill i { display: inline-block; width: 6px; height: 6px; margin-right: 4px; border-radius: 50%; background: var(--green); box-shadow: 0 0 10px var(--green); }
.terminal-price { margin: 22px 0 8px; }
.terminal-price > div:first-child { gap: 9px; }
.terminal-price strong { font: 700 27px "Manrope", sans-serif; }
.terminal-price span { color: var(--green); font-size: 10px; }
.timeframes { gap: 3px; padding: 3px; border-radius: 8px; background: rgba(255, 255, 255, 0.035); }
.timeframes button { padding: 5px 7px; color: #7984a1; border: 0; border-radius: 5px; background: transparent; font-size: 8px; }
.timeframes button.active { color: white; background: #4055de; }
.chart-wrap { height: 225px; position: relative; margin: 8px -4px 12px; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 100% 45px, 62px 100%; }
#hero-chart { width: 100%; height: 100%; }
.chart-label { position: absolute; right: 2px; color: #66718e; font-size: 8px; }
.chart-label--high { top: 5px; }
.chart-label--low { bottom: 5px; }
.quote-row { display: grid; grid-template-columns: 1fr 35px 1fr; gap: 7px; align-items: center; }
.quote-row button { min-height: 50px; display: flex; align-items: center; justify-content: space-between; padding: 0 15px; border-radius: 11px; font-size: 9px; font-weight: 700; }
.quote-row button strong { font-size: 13px; }
.sell-quote { color: #ff8b9b; border: 1px solid rgba(255, 113, 133, 0.22); background: rgba(255, 113, 133, 0.07); }
.buy-quote { color: #50dfba; border: 1px solid rgba(34, 215, 163, 0.22); background: rgba(34, 215, 163, 0.07); }
.spread { color: #7b86a0; text-align: center; font-size: 8px; }
.spread small { font-size: 7px; }
.position-row { margin-top: 14px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 11px; background: rgba(255, 255, 255, 0.02); }
.position-row > div { display: flex; flex-direction: column; }
.position-row > div:last-child { text-align: right; }
.position-row strong { margin-top: 3px; font-size: 11px; }
.position-row > div:last-child strong { color: var(--green); }
.orbit { position: absolute; border: 1px solid rgba(99, 117, 255, 0.1); border-radius: 50%; }
.orbit--one { width: 560px; height: 560px; right: -95px; animation: spin 22s linear infinite; }
.orbit--two { width: 410px; height: 410px; right: -20px; border-color: rgba(14, 204, 229, 0.08); animation: spin 16s linear reverse infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.float-chip { position: absolute; z-index: 3; min-width: 148px; padding: 11px 13px; display: flex; align-items: center; gap: 9px; border: 1px solid var(--line); border-radius: 13px; background: rgba(12, 18, 39, 0.92); box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3); backdrop-filter: blur(14px); animation: float 4s ease-in-out infinite; }
.float-chip > span { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 9px; font-size: 13px; }
.float-chip div { display: flex; flex-direction: column; }
.float-chip small { color: #7985a2; font-size: 8px; }
.float-chip strong { margin-top: 2px; font-size: 11px; }
.float-chip--profit { right: -38px; top: 65px; }
.float-chip--profit > span { color: var(--green); background: rgba(34, 215, 163, 0.1); }
.float-chip--profit strong { color: var(--green); }
.float-chip--verified { left: -28px; bottom: 38px; animation-delay: -2s; }
.float-chip--verified > span { color: #b09bff; background: rgba(143, 92, 255, 0.12); }
@keyframes float { 50% { transform: translateY(-8px); } }

.stats-bar {
  max-width: 1180px;
  margin: 55px auto 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
}
.stats-bar div { min-height: 118px; display: flex; flex-direction: column; justify-content: center; padding-left: 35px; border-right: 1px solid var(--line); }
.stats-bar div:first-child { padding-left: 0; }
.stats-bar div:last-child { border-right: 0; }
.stats-bar strong { color: transparent; background: linear-gradient(120deg, #7b85ff, #10c9df); background-clip: text; -webkit-background-clip: text; font: 700 28px "Manrope", sans-serif; }
.stats-bar span { margin-top: 5px; color: #77829d; font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; }
.ticker { height: 58px; display: flex; align-items: center; overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #080b19; }
.ticker-track { width: max-content; display: flex; align-items: center; gap: 30px; animation: ticker 27s linear infinite; white-space: nowrap; }
.ticker span { color: #8b94ab; font-size: 10px; font-weight: 700; letter-spacing: 0.14em; }
.ticker i { width: 5px; height: 5px; border-radius: 50%; background: linear-gradient(145deg, var(--violet), var(--cyan)); box-shadow: 0 0 10px #5c73ff; }
@keyframes ticker { to { transform: translateX(-50%); } }

.content-section, .accounts-section, .cta-section { padding: 120px 28px; }
.content-section { max-width: 1236px; margin: 0 auto; }
.section-heading { max-width: 720px; margin: 0 auto 52px; text-align: center; }
.section-kicker { color: #8294ff; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.18em; }
.section-heading h2, .cta-card h2 { margin: 15px 0 15px; font-size: clamp(34px, 4vw, 52px); line-height: 1.1; letter-spacing: -2px; }
.section-heading p, .cta-card > p { margin: 0 auto; color: var(--muted); font-size: 16px; line-height: 1.7; }
.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; perspective: 1200px; }
.feature-card, .account-card, .step-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  background: linear-gradient(145deg, rgba(18, 24, 50, 0.78), rgba(7, 11, 25, 0.85));
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.035);
}
.feature-card { min-height: 360px; padding: 32px; border-radius: 23px; isolation: isolate; }
.feature-card::before, .account-card::before, .step-card::before { content: ""; position: absolute; width: 180px; height: 180px; right: -100px; top: -100px; background: var(--blue); filter: blur(75px); opacity: 0.11; }
.feature-card--interactive.reveal {
  opacity: 0;
  filter: saturate(0.82) brightness(0.9);
  transform: translate3d(0, 36px, 0) scale(0.975);
  transform-origin: 50% 70%;
  transition:
    opacity 0.72s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.72s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.72s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.35s ease,
    background 0.35s ease,
    box-shadow 0.35s ease;
}
.feature-card--interactive.reveal.visible {
  opacity: 1;
  filter: none;
  transform: translate3d(0, 0, 0) scale(1);
}
.feature-card--interactive::before {
  z-index: -1;
  transition: opacity 0.5s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.feature-card--interactive::after {
  content: "";
  position: absolute;
  inset: -35% auto -35% -45%;
  z-index: 0;
  width: 34%;
  pointer-events: none;
  opacity: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.09), transparent);
  filter: blur(1px);
  transform: translate3d(-150%, 0, 0) skewX(-16deg);
  transition: opacity 0.28s ease, transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}
.feature-card--interactive > * { position: relative; z-index: 1; }
.feature-card--interactive .feature-icon,
.feature-card--interactive h3,
.feature-card--interactive .check-list li,
.feature-card--interactive .progress-card,
.feature-card--interactive .security-badge {
  transition:
    color 0.3s ease,
    border-color 0.3s ease,
    background 0.3s ease,
    box-shadow 0.3s ease,
    transform 0.42s cubic-bezier(0.22, 1, 0.36, 1);
}
@media (hover: hover) and (pointer: fine) {
  .feature-card--interactive.reveal.visible:hover {
    border-color: rgba(109, 132, 255, 0.42);
    background: linear-gradient(145deg, rgba(24, 31, 65, 0.94), rgba(8, 13, 30, 0.94));
    box-shadow:
      0 28px 65px rgba(2, 7, 22, 0.48),
      0 12px 35px rgba(75, 79, 222, 0.14),
      inset 0 1px rgba(255, 255, 255, 0.075);
    transform: translate3d(0, -9px, 18px) rotateX(0.6deg) scale(1.012);
  }
  .feature-card--interactive:hover::before {
    opacity: 0.2;
    transform: translate3d(-18px, 20px, 0) scale(1.35);
  }
  .feature-card--interactive:hover::after {
    opacity: 1;
    transform: translate3d(540%, 0, 0) skewX(-16deg);
  }
  .feature-card--interactive:hover .feature-icon {
    border-color: rgba(112, 145, 255, 0.38);
    box-shadow: 0 12px 30px rgba(55, 99, 255, 0.2), 0 0 22px rgba(11, 210, 237, 0.1);
    transform: translate3d(0, -3px, 0) rotate(-4deg) scale(1.08);
  }
  .feature-card--interactive:hover h3 { color: #fff; transform: translateX(3px); }
  .feature-card--interactive:hover .check-list li { color: #e0e5f4; transform: translateX(2px); }
  .feature-card--interactive:hover .progress-card,
  .feature-card--interactive:hover .security-badge {
    border-color: rgba(102, 126, 255, 0.25);
    transform: translateY(-2px);
  }
}
.feature-icon { width: 48px; height: 48px; display: grid; place-items: center; align-self: start; border-radius: 14px; color: #80ecff; background: linear-gradient(145deg, rgba(73, 87, 255, 0.2), rgba(10, 207, 229, 0.13)); border: 1px solid rgba(88, 111, 255, 0.17); font-size: 22px; }
.feature-icon--violet { color: #c1a8ff; }
.feature-icon--gold { color: var(--gold); }
.card-kicker { color: #7687ef; font-size: 9px; text-transform: uppercase; letter-spacing: 0.14em; font-weight: 700; }
.feature-card h3 { margin: 11px 0 12px; font-size: 25px; letter-spacing: -0.8px; }
.feature-card p { color: #929bb2; line-height: 1.7; font-size: 14px; }
.check-list { margin: 24px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 9px 18px; list-style: none; }
.check-list li { color: #bdc4d6; font-size: 11px; }
.check-list li::before { content: "✓"; margin-right: 7px; color: var(--green); }
.progress-card { margin-top: 35px; padding: 18px; border: 1px solid var(--line); border-radius: 14px; background: rgba(2, 6, 17, 0.45); }
.progress-card > div:first-child { display: flex; justify-content: space-between; color: #aab2c6; font-size: 11px; }
.progress-card strong { color: white; }
.progress-track { height: 7px; margin: 12px 0 10px; overflow: hidden; border-radius: 10px; background: #171d36; }
.progress-track i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--violet), var(--cyan)); box-shadow: 0 0 15px var(--blue); transition: width 320ms ease; }
.progress-card small { color: var(--green); font-size: 9px; }
.security-badge { margin-top: 40px; padding: 17px; display: flex; align-items: center; gap: 13px; border: 1px solid rgba(34, 215, 163, 0.13); border-radius: 14px; background: rgba(34, 215, 163, 0.05); }
.security-badge > span { width: 37px; height: 37px; display: grid; place-items: center; color: #061b16; background: var(--green); border-radius: 50%; font-weight: 900; }
.security-badge div { display: flex; flex-direction: column; }
.security-badge strong { font-size: 12px; }
.security-badge small { margin-top: 3px; color: #6f8f88; font-size: 9px; }

.accounts-section { background: linear-gradient(180deg, transparent, rgba(24, 16, 56, 0.25), transparent); }
.accounts-section::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(circle at 50% 50%, rgba(86, 57, 189, 0.13), transparent 40%); }
.account-grid { max-width: 1120px; margin: auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.account-card { min-height: 430px; padding: 30px; display: flex; flex-direction: column; border-radius: 24px; }
.account-card--featured { border-color: rgba(86, 111, 255, 0.45); transform: translateY(-13px); box-shadow: 0 25px 70px rgba(51, 48, 176, 0.17), inset 0 1px rgba(255, 255, 255, 0.05); }
.popular-badge { position: absolute; top: 0; right: 28px; padding: 7px 10px; border-radius: 0 0 8px 8px; background: linear-gradient(100deg, var(--blue), var(--cyan)); font-size: 8px; font-weight: 800; letter-spacing: 0.1em; }
.account-top { display: flex; flex-direction: column; }
.account-top span { font: 700 20px "Manrope", sans-serif; }
.account-top small, .account-label { margin-top: 4px; color: #78839f; font-size: 10px; }
.account-balance { margin-top: 38px; font: 800 39px "Manrope", sans-serif; letter-spacing: -1.5px; }
.account-card ul { margin: 30px 0; padding: 22px 0 0; border-top: 1px solid var(--line); list-style: none; }
.account-card li { margin: 15px 0; color: #aab2c5; font-size: 12px; }
.account-card li::before { content: "✓"; color: var(--green); margin-right: 9px; }
.account-card .button { width: 100%; margin-top: auto; }

/* Seven-tier account showcase */
.account-grid {
  width: min(100%, 1120px);
  max-width: none;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 24px;
  perspective: 2000px;
}
.account-card {
  min-height: 305px;
  padding: 32px 28px;
  overflow: hidden;
  border-color: rgba(151, 167, 215, 0.15);
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012)),
    rgba(7, 11, 25, 0.76);
  backdrop-filter: blur(20px);
  cursor: pointer;
  transform: none;
  transform-style: preserve-3d;
  transition:
    transform 0.32s ease,
    border-color 0.32s ease,
    box-shadow 0.32s ease,
    background 0.32s ease;
}
.account-card::before {
  width: 210px;
  height: 210px;
  right: -115px;
  top: -115px;
  background: linear-gradient(145deg, var(--cyan), var(--blue));
  filter: blur(78px);
  opacity: 0.08;
  transition: opacity 0.32s ease;
}
.account-card:hover {
  transform: translateY(-12px);
  border-color: rgba(86, 145, 255, 0.68);
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.015)),
    rgba(7, 11, 25, 0.82);
  box-shadow:
    0 0 42px rgba(60, 130, 255, 0.24),
    0 22px 52px rgba(0, 0, 0, 0.42),
    inset 0 1px rgba(255, 255, 255, 0.055);
}
.account-card:hover::before { opacity: 0.2; }
.account-card--featured {
  border-color: rgba(86, 145, 255, 0.72);
  box-shadow:
    0 0 40px rgba(60, 130, 255, 0.24),
    inset 0 1px rgba(255, 255, 255, 0.055);
}
.popular-badge {
  top: 16px;
  right: 16px;
  z-index: 2;
  padding: 6px 12px;
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(120deg, var(--blue), var(--cyan));
  box-shadow: 0 7px 22px rgba(60, 130, 255, 0.25);
  font-size: 10px;
  letter-spacing: 0.06em;
}
.account-icon {
  position: relative;
  z-index: 1;
  width: 64px;
  height: 64px;
  margin-bottom: 20px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  color: white;
  background: linear-gradient(145deg, #6f55e8, #5068ff);
  box-shadow: 0 0 28px rgba(97, 81, 236, 0.28);
  font: 800 25px "Manrope", sans-serif;
  transform: translateZ(30px);
}
.account-card--featured .account-icon {
  color: #ffffff;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  box-shadow: 0 0 30px rgba(60, 130, 255, 0.3);
}
.account-icon--quantum {
  background: linear-gradient(145deg, #b452ff, #5b61ff);
}
.account-name {
  position: relative;
  z-index: 1;
  color: #f3f5ff;
  font: 800 22px "Manrope", sans-serif;
}
.account-description {
  position: relative;
  z-index: 1;
  margin-top: 5px;
  color: #7e89a5;
  font-size: 14px;
}
.account-balance {
  position: relative;
  z-index: 1;
  margin-top: 18px;
  color: white;
  font: 800 38px "Manrope", sans-serif;
  letter-spacing: -1.5px;
}
.account-price {
  position: relative;
  z-index: 1;
  margin-top: auto;
  padding-top: 18px;
  display: flex;
  align-items: baseline;
  gap: 7px;
  border-top: 1px dashed rgba(151, 167, 215, 0.18);
}
.account-price strong {
  color: #d8b4ff;
  font: 800 25px "Manrope", sans-serif;
}
.account-price span {
  color: #737f9b;
  font-size: 13px;
}

/* Homepage challenge selector: deposit layout with the homepage blue glow treatment. */
.homepage-challenge-picker {
  width: min(100%, 1120px);
  margin: 0 auto;
}
.homepage-challenge-picker .challenge-tabs {
  margin: 0 auto 28px;
  padding: 5px;
  display: flex;
  width: fit-content;
  gap: 5px;
  border: 1px solid rgba(151, 167, 215, 0.16);
  border-radius: 15px;
  background: rgba(5, 9, 22, 0.62);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.035);
}
.homepage-challenge-picker .challenge-tab {
  padding: 11px 22px;
  border: 1px solid transparent;
  border-radius: 11px;
  color: #8c96b5;
  background: transparent;
  font: 700 13px "Manrope", sans-serif;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.22s ease, background 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}
.homepage-challenge-picker .challenge-tab:hover:not(.challenge-tab--active) {
  color: #dbe1f5;
  background: rgba(80, 104, 255, 0.09);
}
.homepage-challenge-picker .challenge-tab--active {
  border-color: rgba(80, 126, 255, 0.42);
  color: #ffffff;
  background: linear-gradient(135deg, rgba(74, 93, 241, 0.34), rgba(35, 155, 241, 0.2));
  box-shadow: 0 5px 20px rgba(60, 130, 255, 0.18);
}
.homepage-challenge-picker .challenge-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.homepage-challenge-picker .challenge-card {
  position: relative;
  min-height: 150px;
  padding: 25px 26px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 7px;
  overflow: hidden;
  border: 1px solid rgba(151, 167, 215, 0.15);
  border-radius: 20px;
  color: inherit;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012)),
    rgba(7, 11, 25, 0.76);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.035);
  cursor: pointer;
  text-align: left;
  transition: transform 0.32s ease, border-color 0.32s ease, box-shadow 0.32s ease, background 0.32s ease;
  animation: homepage-challenge-card-enter 0.42s cubic-bezier(0.22, 0.8, 0.26, 1) backwards;
}
.homepage-challenge-picker .challenge-card:nth-child(2) { animation-delay: 45ms; }
.homepage-challenge-picker .challenge-card:nth-child(3) { animation-delay: 90ms; }
.homepage-challenge-picker .challenge-card:nth-child(4) { animation-delay: 135ms; }
.homepage-challenge-picker .challenge-card:nth-child(5) { animation-delay: 180ms; }
.homepage-challenge-picker .challenge-card:nth-child(6) { animation-delay: 225ms; }
.homepage-challenge-picker .challenge-card:nth-child(7) { animation-delay: 270ms; }
@keyframes homepage-challenge-card-enter {
  from {
    opacity: 0;
    transform: translateY(-30px) scale(0.975);
    filter: blur(3px);
  }
  to {
    opacity: 1;
    transform: translateX(0) translateY(0) scale(1);
    filter: blur(0);
  }
}
.homepage-challenge-picker .challenge-card::before {
  content: "";
  position: absolute;
  width: 190px;
  height: 190px;
  top: -110px;
  right: -105px;
  background: linear-gradient(145deg, var(--cyan), var(--blue));
  filter: blur(72px);
  opacity: 0.08;
  pointer-events: none;
  transition: opacity 0.32s ease;
}
.homepage-challenge-picker .challenge-card:hover {
  transform: translateY(-10px);
  border-color: rgba(86, 145, 255, 0.68);
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.015)),
    rgba(7, 11, 25, 0.82);
  box-shadow:
    0 0 14px rgba(79, 126, 255, 0.72),
    0 0 34px rgba(38, 88, 255, 0.56),
    0 0 72px 8px rgba(25, 59, 224, 0.38),
    0 0 110px 18px rgba(10, 31, 151, 0.2),
    0 22px 52px rgba(0, 0, 0, 0.42),
    inset 0 1px rgba(255, 255, 255, 0.055);
}
.homepage-challenge-picker .challenge-card:hover::before,
.homepage-challenge-picker .challenge-card--selected::before {
  opacity: 0.2;
}
.homepage-challenge-picker .challenge-card--selected {
  border-color: rgba(86, 145, 255, 0.72);
  background:
    linear-gradient(160deg, rgba(86, 145, 255, 0.09), rgba(255, 255, 255, 0.018)),
    rgba(7, 11, 25, 0.84);
  box-shadow:
    0 0 14px rgba(79, 126, 255, 0.72),
    0 0 34px rgba(38, 88, 255, 0.56),
    0 0 72px 8px rgba(25, 59, 224, 0.38),
    0 0 110px 18px rgba(10, 31, 151, 0.2),
    inset 0 1px rgba(255, 255, 255, 0.055);
}
.homepage-challenge-picker .challenge-card:active {
  box-shadow:
    0 0 18px rgba(105, 149, 255, 0.82),
    0 0 42px rgba(42, 94, 255, 0.64),
    0 0 82px 10px rgba(25, 59, 224, 0.44),
    0 0 118px 20px rgba(10, 31, 151, 0.24),
    inset 0 1px rgba(255, 255, 255, 0.055);
}
.homepage-challenge-picker .challenge-card__label,
.homepage-challenge-picker .challenge-card__amount,
.homepage-challenge-picker .challenge-card__price {
  position: relative;
  z-index: 1;
}
.homepage-challenge-picker .challenge-card__label {
  color: #78839f;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.homepage-challenge-picker .challenge-card__amount {
  color: #f7f8ff;
  font: 800 clamp(25px, 3vw, 34px)/1.15 "Manrope", sans-serif;
  letter-spacing: -0.04em;
}
.homepage-challenge-picker .challenge-card__price {
  color: var(--green);
  font: 800 15px "Manrope", sans-serif;
}
.homepage-challenge-picker .challenge-status {
  grid-column: 1 / -1;
  margin: 0;
  padding: 28px;
  border: 1px solid rgba(151, 167, 215, 0.14);
  border-radius: 18px;
  color: #8f9ab6;
  background: rgba(8, 12, 27, 0.62);
  text-align: center;
}
.homepage-challenge-picker .challenge-status--error {
  border-color: rgba(255, 113, 133, 0.24);
  color: #ff8da0;
}
.challenge-summary {
  width: min(100%, 1180px);
  margin: 34px auto 0;
  padding: 24px;
  overflow: hidden;
  border: 1px solid rgba(112, 128, 214, 0.28);
  border-radius: 22px;
  background:
    radial-gradient(circle at 0 0, rgba(76, 66, 214, 0.33), transparent 42%),
    linear-gradient(135deg, rgba(21, 21, 76, 0.97), rgba(8, 11, 28, 0.97) 62%);
  box-shadow:
    0 26px 70px rgba(0, 0, 0, 0.3),
    inset 0 1px rgba(255, 255, 255, 0.045);
}
.challenge-summary__content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(250px, 0.76fr);
  grid-template-areas:
    "average average checkout"
    "challenge funded checkout";
  gap: 18px;
  animation: challenge-summary-refresh 0.32s ease-out both;
}
@keyframes challenge-summary-refresh {
  from { opacity: 0.55; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.challenge-summary__panel {
  min-width: 0;
  padding: 26px 24px;
  border: 1px solid rgba(151, 167, 215, 0.12);
  border-radius: 17px;
  background: rgba(6, 9, 25, 0.58);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.025);
}
.challenge-summary__average {
  grid-area: average;
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  color: #00dc7d;
  text-align: center;
}
.challenge-summary__average strong {
  color: #00dc7d;
  font: 800 15px "Manrope", sans-serif;
}
.challenge-summary__average-value {
  color: #ffffff;
  font: 800 15px "Manrope", sans-serif;
}
.challenge-summary__average .challenge-summary__info {
  border-color: #00dc7d;
  color: #00dc7d;
}
.challenge-summary__average .challenge-summary__info--tooltip::before {
  top: calc(100% + 4px);
  bottom: auto;
  border-top-color: transparent;
  border-bottom-color: #03040a;
  transform: translateY(-5px);
}
.challenge-summary__average .challenge-summary__info--tooltip::after {
  top: calc(100% + 16px);
  bottom: auto;
  transform: translateY(-7px);
}
.challenge-summary__average .challenge-summary__info--tooltip:hover::before,
.challenge-summary__average .challenge-summary__info--tooltip:hover::after,
.challenge-summary__average .challenge-summary__info--tooltip:focus-visible::before,
.challenge-summary__average .challenge-summary__info--tooltip:focus-visible::after {
  transform: translateY(0);
}
.challenge-summary__panel:nth-of-type(1) { grid-area: challenge; }
.challenge-summary__panel:nth-of-type(2) { grid-area: funded; }
.challenge-summary__panel h3 {
  margin: 0 0 21px;
  color: #8f99b4;
  font: 700 14px "Manrope", sans-serif;
}
.challenge-summary__rules {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 16px;
  list-style: none;
}
.challenge-summary__rules li {
  min-width: 0;
  display: grid;
  grid-template-columns: 17px minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
  color: #a3abc1;
  font-size: 14px;
}
.challenge-summary__rules strong {
  color: #e7eaf4;
  font-size: 14px;
}
.challenge-summary__info {
  position: relative;
  width: 15px;
  height: 15px;
  display: grid;
  place-items: center;
  border: 1px solid #8e97ad;
  border-radius: 50%;
  color: #aeb6ca;
  font: 700 9px/1 "Manrope", sans-serif;
}
.challenge-summary__info-spacer {
  width: 15px;
  height: 15px;
}
.challenge-summary__info--tooltip {
  z-index: 5;
  cursor: help;
  outline: none;
}
.challenge-summary__info--tooltip::before,
.challenge-summary__info--tooltip::after {
  position: absolute;
  left: -8px;
  z-index: 30;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
}
.challenge-summary__info--tooltip::before {
  content: "";
  bottom: calc(100% + 4px);
  width: 0;
  height: 0;
  border: 6px solid transparent;
  border-top-color: #03040a;
  transform: translateY(5px);
}
.challenge-summary__info--tooltip::after {
  content: attr(data-tooltip);
  bottom: calc(100% + 16px);
  width: min(300px, calc(100vw - 90px));
  padding: 11px 13px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 9px;
  color: #ffffff;
  background: #03040a;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.48);
  font: 600 12px/1.5 "Manrope", sans-serif;
  letter-spacing: 0;
  text-align: left;
  text-transform: none;
  transform: translateY(7px);
}
.challenge-summary__info--tooltip:hover::before,
.challenge-summary__info--tooltip:hover::after,
.challenge-summary__info--tooltip:focus-visible::before,
.challenge-summary__info--tooltip:focus-visible::after {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.challenge-summary__checkout {
  grid-area: checkout;
  min-width: 0;
  padding: 28px 22px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-radius: 17px;
  background: transparent;
}
.challenge-summary__eyebrow {
  margin-bottom: 9px;
  color: #7885a6;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.challenge-summary__checkout h3 {
  margin: 0;
  color: #f8f9ff;
  font: 800 clamp(18px, 2vw, 22px)/1.35 "Manrope", sans-serif;
  letter-spacing: -0.035em;
}
.challenge-summary__price {
  margin: 9px 0 20px;
  color: #00dc7d;
  font: 800 clamp(28px, 3vw, 36px)/1.1 "Manrope", sans-serif;
  letter-spacing: -0.045em;
}
.challenge-summary__button {
  width: 100%;
  min-height: 50px;
  padding: 0 18px;
  border: 1px solid rgba(137, 127, 255, 0.42);
  border-radius: 13px;
  color: #ffffff;
  background: linear-gradient(115deg, #5a56f4, #765cff);
  box-shadow: 0 13px 30px rgba(82, 74, 231, 0.25), inset 0 1px rgba(255, 255, 255, 0.18);
  font: 800 15px "Manrope", sans-serif;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}
.challenge-summary__button:hover:not(:disabled) {
  transform: translateY(-2px);
  filter: brightness(1.08);
  box-shadow: 0 17px 36px rgba(82, 74, 231, 0.34), inset 0 1px rgba(255, 255, 255, 0.2);
}
.challenge-summary__button:active:not(:disabled) { transform: translateY(0); }
.challenge-summary__button:focus-visible {
  outline: 3px solid rgba(100, 182, 255, 0.38);
  outline-offset: 3px;
}
.challenge-summary__button:disabled {
  opacity: 0.48;
  cursor: not-allowed;
}
.steps-section { padding-top: 80px; }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.step-card { min-height: 275px; padding: 28px; border-radius: 20px; }
.step-card > span { color: #4e5b7e; font: 700 12px "Manrope", sans-serif; }
.step-icon { width: 48px; height: 48px; margin: 35px 0 23px; display: grid; place-items: center; color: #a5b2ff; border: 1px solid rgba(87, 107, 255, 0.18); border-radius: 14px; background: rgba(76, 91, 227, 0.1); font-size: 22px; }
.step-card h3 { margin-bottom: 10px; font-size: 18px; }
.step-card p { margin: 0; color: #8d97af; font-size: 13px; line-height: 1.65; }
.workflow-motion { --workflow-slide-distance: clamp(64px, 12vw, 150px); }
.workflow-heading-motion h2,
.workflow-card-motion {
  transition:
    opacity 0.82s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.92s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}
.workflow-heading-motion h2 {
  opacity: 0;
  transform: translate3d(calc(var(--workflow-slide-distance) * -1), 0, 0);
}
.workflow-card-motion:first-child {
  transform: translate3d(calc(var(--workflow-slide-distance) * -1), 0, 0);
}
.workflow-card-motion:nth-child(3) {
  transform: translate3d(var(--workflow-slide-distance), 0, 0);
}
.workflow-card-motion:first-child > *,
.workflow-card-motion:nth-child(3) > * {
  opacity: 0;
  transform: translate3d(0, 10px, 0);
  transition:
    opacity 0.62s ease,
    transform 0.72s cubic-bezier(0.22, 1, 0.36, 1);
}
.workflow-motion--active .workflow-heading-motion h2,
.workflow-motion--active .workflow-card-motion {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}
.workflow-motion--active .workflow-card-motion:first-child > *,
.workflow-motion--active .workflow-card-motion:nth-child(3) > * {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  transition-delay: 0.14s;
}
.workflow-motion--reversing .workflow-card-motion:nth-child(2) {
  opacity: 0;
  transform: translate3d(0, -76px, 0);
}
.workflow-motion--reversing .workflow-card-motion:first-child > *,
.workflow-motion--reversing .workflow-card-motion:nth-child(3) > * { transition-delay: 0s; }
.homepage-testimonials {
  position: relative;
  width: 100%;
  min-height: 510px;
  overflow: hidden;
  color: #111;
  background: linear-gradient(to bottom, rgba(245, 247, 252, 0.58), rgba(255, 255, 255, 0) 55%), #fff;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
.homepage-testimonials::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(90deg, transparent 0, transparent 81px, rgba(0, 0, 0, 0.026) 82px, transparent 83px);
  pointer-events: none;
}
.homepage-testimonials__portraits {
  position: absolute;
  top: 0;
  left: 50%;
  width: min(898px, 100vw);
  height: 308px;
  transform: translateX(-50%);
  pointer-events: none;
}
.homepage-testimonial-portrait {
  position: absolute;
  width: 84px;
  height: 104px;
  object-fit: cover;
  border-radius: 9px;
  box-shadow: 0 9px 24px rgba(0, 0, 0, 0.08);
}
.homepage-testimonial-portrait--1 { left: 4.6%; top: 82px; }
.homepage-testimonial-portrait--2 { left: 14.6%; top: 43px; }
.homepage-testimonial-portrait--3 { left: 24.6%; top: 89px; }
.homepage-testimonial-portrait--4 { left: 34.9%; top: 49px; }
.homepage-testimonial-portrait--5 { left: 45%; top: 73px; }
.homepage-testimonial-portrait--6 { left: 55.2%; top: 47px; }
.homepage-testimonial-portrait--7 { left: 65.3%; top: 90px; }
.homepage-testimonial-portrait--8 { left: 75.4%; top: 42px; }
.homepage-testimonial-portrait--9 { left: 85.4%; top: 82px; }
.homepage-testimonial-portrait--10 { left: 4.6%; top: 193px; }
.homepage-testimonial-portrait--11 { left: 14.6%; top: 157px; }
.homepage-testimonial-portrait--12 { left: 75.4%; top: 157px; }
.homepage-testimonial-portrait--13 { left: 85.4%; top: 193px; }
.homepage-testimonials__trail {
  position: absolute;
  width: 1px;
  height: 118px;
  opacity: 0.55;
  background: linear-gradient(to bottom, rgba(165, 136, 99, 0.3), rgba(165, 136, 99, 0));
}
.homepage-testimonials__trail--one { left: 19.25%; top: 253px; }
.homepage-testimonials__trail--two { left: 80%; top: 286px; }
.homepage-testimonials__fade {
  position: absolute;
  z-index: 1;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 70%;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.95) 0%,
    rgba(0, 0, 0, 0.78) 28%,
    rgba(0, 0, 0, 0.42) 62%,
    rgba(0, 0, 0, 0) 100%
  );
  pointer-events: none;
}
.homepage-testimonials__copy {
  position: relative;
  z-index: 2;
  width: min(620px, calc(100% - 40px));
  margin: 0 auto;
  padding-top: 221px;
  text-align: center;
}
.homepage-testimonials__eyebrow {
  min-height: 22px;
  margin-bottom: 17px;
  padding: 4px 10px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  color: #111;
  background: #f4f4f4;
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
}
.homepage-testimonials__copy h2 {
  margin: 0 0 19px;
  color: #111;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: clamp(34px, 4.15vw, 42px);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -1.9px;
}
.homepage-testimonials__copy h2 span { display: block; color: #111111; font-weight: 600; }
.homepage-testimonials__copy p { max-width: 360px; margin: 0 auto 29px; color: #050505; font-size: 14px; line-height: 1.42; }
.homepage-testimonials__button {
  min-height: 30px;
  padding: 0 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: #000;
  font-size: 11px;
  font-weight: 500;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.homepage-testimonials__button:hover { transform: translateY(-1px); box-shadow: 0 7px 18px rgba(0, 0, 0, 0.2); }
.homepage-testimonials__button:focus-visible { outline: 3px solid rgba(80, 104, 255, 0.4); outline-offset: 3px; }
.homepage-testimonials__button span { font-size: 15px; line-height: 1; transform: translateY(-0.5px); }

@media (max-width: 640px) {
  .homepage-testimonials { min-height: 522px; }
  .homepage-testimonials::before {
    background-image: repeating-linear-gradient(90deg, transparent 0, transparent 66px, rgba(0, 0, 0, 0.024) 67px, transparent 68px);
  }
  .homepage-testimonials__portraits { width: 350px; height: 238px; }
  .homepage-testimonial-portrait { width: 68px; height: 91px; border-radius: 7px; box-shadow: 0 8px 20px rgba(0, 0, 0, 0.07); }
  .homepage-testimonial-portrait--3 { left: -10px; top: 133px; }
  .homepage-testimonial-portrait--4 { left: 66px; top: 98px; }
  .homepage-testimonial-portrait--5 { left: 142px; top: 133px; }
  .homepage-testimonial-portrait--12 { left: 217px; top: 91px; }
  .homepage-testimonial-portrait--7 { left: 292px; top: 132px; }
  .homepage-testimonial-portrait--1,
  .homepage-testimonial-portrait--2,
  .homepage-testimonial-portrait--6,
  .homepage-testimonial-portrait--8,
  .homepage-testimonial-portrait--9,
  .homepage-testimonial-portrait--10,
  .homepage-testimonial-portrait--11,
  .homepage-testimonial-portrait--13 { display: none; }
  .homepage-testimonials__portraits::before,
  .homepage-testimonials__portraits::after {
    content: "";
    position: absolute;
    top: 0;
    width: 69px;
    height: 92px;
    border-radius: 8px;
    background: linear-gradient(to bottom, rgba(248, 248, 248, 0.92), rgba(250, 250, 250, 0.35));
  }
  .homepage-testimonials__portraits::before { left: 66px; }
  .homepage-testimonials__portraits::after { left: 217px; }
  .homepage-testimonials__trail { display: none; }
  .homepage-testimonials__copy { width: calc(100% - 30px); padding-top: 246px; }
  .homepage-testimonials__eyebrow { min-height: 26px; margin-bottom: 15px; padding: 5px 11px; font-size: 12px; }
  .homepage-testimonials__copy h2 { margin-bottom: 17px; font-size: 30px; line-height: 1.06; letter-spacing: -1.35px; }
  .homepage-testimonials__copy h2 span { white-space: nowrap; }
  .homepage-testimonials__copy p { max-width: 302px; margin-bottom: 25px; font-size: 13px; line-height: 1.45; }
  .homepage-testimonials__button { min-height: 36px; padding: 0 19px; font-size: 12px; }
}

@media (max-width: 370px) {
  .homepage-testimonials__copy h2 { font-size: 28px; }
  .homepage-testimonials__portraits { transform: translateX(-50%) scale(0.96); transform-origin: top center; }
}
.faq-section { padding-top: 80px; }
.faq-list { max-width: 850px; margin: auto; }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { min-height: 75px; display: flex; align-items: center; justify-content: space-between; cursor: pointer; font: 600 16px "Manrope", sans-serif; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary span { color: #6d7ef2; font-size: 24px; transition: 0.2s; }
.faq-list details[open] summary span { transform: rotate(45deg); }
.faq-list p { margin: -4px 0 24px; max-width: 700px; color: #9099ae; line-height: 1.7; white-space: pre-line; }
.cta-section { padding-top: 60px; }
.cta-card {
  position: relative;
  max-width: 1180px;
  min-height: 430px;
  margin: auto;
  padding: 75px 35px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-align: center;
  border: 1px solid rgba(107, 130, 255, 0.2);
  border-radius: 30px;
  background:
    linear-gradient(rgba(104, 124, 188, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(104, 124, 188, 0.055) 1px, transparent 1px),
    radial-gradient(circle at 50% 35%, rgba(66, 78, 227, 0.28), transparent 40%),
    linear-gradient(145deg, #100b2b, #061821);
  background-size: 60px 60px, 60px 60px, auto, auto;
}
.cta-card h2 { font-size: clamp(36px, 5vw, 58px); }
.cta-card > p { max-width: 600px; }
.cta-card > div:last-child { margin-top: 32px; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.cta-orb { position: absolute; width: 360px; height: 360px; border: 1px solid rgba(100, 121, 255, 0.1); border-radius: 50%; box-shadow: 0 0 80px rgba(88, 72, 242, 0.08); pointer-events: none; }

.site-footer { padding: 30px 28px 0; border-top: 1px solid var(--line); background: #040610; }
.footer-grid { max-width: 1180px; margin: auto; padding: 55px 0 34px; display: grid; grid-template-columns: 2fr repeat(3, 1fr); gap: 45px; }
.footer-brand p { max-width: 310px; color: #747f9a; font-size: 13px; line-height: 1.7; }
.footer-brand .brand-logo { width: 250px; height: auto; }
.footer-social-links {
  max-width: 310px;
  margin-top: 18px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 10px;
}
.footer-grid .footer-social-links a {
  width: 40px;
  height: 40px;
  padding: 4px;
  display: grid;
  place-items: center;
  flex: 0 0 40px;
  border: 1px solid rgba(126, 144, 210, 0.14);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.035);
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.footer-grid .footer-social-links a:hover {
  border-color: rgba(126, 144, 255, 0.34);
  background: rgba(255, 255, 255, 0.07);
  transform: translateY(-2px);
}
.footer-social-links i {
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 21px;
  line-height: 1;
  transition: transform 0.2s ease, filter 0.2s ease;
}
.footer-grid .footer-social-links a:hover i {
  color: #fff;
  filter: drop-shadow(0 0 7px rgba(111, 139, 255, 0.72));
  transform: scale(1.1);
}
.footer-grid > div:not(:first-child) { display: flex; flex-direction: column; gap: 13px; }
.footer-grid strong { margin-bottom: 5px; color: #d8dcea; font-size: 12px; }
.footer-grid a:not(.brand) { color: #7e88a0; font-size: 12px; }
.footer-grid a:hover { color: white; }
.footer-disclosures {
  max-width: 1180px;
  margin: 0 auto;
  padding: 12px 0 34px;
  color: #68738d;
  font-size: 12px;
  line-height: 1.7;
}
.footer-disclosures p { margin: 0; }
.footer-disclosures p + p { margin-top: 14px; }
.footer-disclosures strong {
  color: #929db5;
  font-size: 12px;
  font-weight: 700;
}
.footer-bottom { max-width: 1180px; min-height: 70px; margin: auto; display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--line); color: #59637c; font-size: 10px; }

/* Legal pages */
.legal-page { min-height: 100vh; }
.legal-header { padding: 18px 28px; }
.legal-nav {
  max-width: 1210px;
  min-height: 72px;
  margin: 0 auto;
  padding: 10px 14px 10px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(6, 9, 28, 0.78);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.28), inset 0 1px rgba(255, 255, 255, 0.04);
}
.legal-home-link {
  padding: 11px 15px;
  border: 1px solid rgba(151, 167, 215, 0.16);
  border-radius: 12px;
  color: #c4cada;
  font-size: 13px;
  font-weight: 700;
  transition: 0.2s ease;
}
.legal-home-link:hover { color: white; border-color: rgba(151, 167, 215, 0.3); background: rgba(255, 255, 255, 0.05); }
.legal-main { width: min(100% - 40px, 940px); margin: 0 auto; padding: 92px 0 120px; }
.legal-hero { max-width: 760px; margin-bottom: 74px; }
.legal-kicker {
  display: inline-flex;
  margin-bottom: 20px;
  padding: 7px 11px;
  border: 1px solid rgba(11, 210, 237, 0.22);
  border-radius: 999px;
  color: #62e7f8;
  background: rgba(11, 210, 237, 0.07);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.legal-hero h1 { margin: 0; font: 800 clamp(44px, 8vw, 78px)/1.02 "Manrope", sans-serif; letter-spacing: -0.055em; }
.legal-effective-date { margin: 22px 0 0; color: #77829d; font-size: 13px; font-weight: 600; }
.legal-intro { max-width: 720px; margin: 30px 0 0; color: #b0b8cc; font-size: clamp(17px, 2vw, 20px); line-height: 1.75; }
.legal-content { border-top: 1px solid var(--line); }
.legal-content > section { padding: 48px 0; display: grid; grid-template-columns: 60px 1fr; gap: 24px; border-bottom: 1px solid var(--line); }
.legal-section-number { padding-top: 5px; color: #63708f; font: 700 11px "Manrope", sans-serif; letter-spacing: 0.12em; }
.legal-page--terms .legal-content > section { grid-template-columns: minmax(0, 1fr); gap: 0; }
.legal-content h2 { margin: 0 0 20px; color: #eef0f8; font: 700 clamp(22px, 3vw, 28px)/1.25 "Manrope", sans-serif; letter-spacing: -0.025em; }
.legal-content p { margin: 0 0 16px; color: #959eb6; font-size: 15px; line-height: 1.85; }
.legal-content p:last-child { margin-bottom: 0; }
.legal-content ul,
.legal-content ol { margin: 18px 0 22px; padding-left: 22px; color: #959eb6; }
.legal-content li { margin: 9px 0; padding-left: 5px; font-size: 15px; line-height: 1.75; }
.legal-content strong { color: #dfe4f2; font-weight: 700; }
.terms-of-service-page .legal-intro,
.terms-of-service-page .legal-content p,
.terms-of-service-page .legal-content li,
.risk-disclosure-page .legal-intro,
.risk-disclosure-page .legal-content p,
.risk-disclosure-page .legal-content li { font-size: 13px; }
.legal-contact-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; color: #78dff0; font-size: 14px; font-weight: 700; }
.legal-contact-link:hover { color: white; }

@media (max-width: 640px) {
  .legal-header { padding: 10px; }
  .legal-nav { min-height: 62px; padding: 8px 10px 8px 14px; border-radius: 18px; }
  .legal-nav .brand-logo { width: 166px; }
  .legal-home-link { padding: 9px 11px; font-size: 0; }
  .legal-home-link span { font-size: 18px; }
  .legal-main { width: min(100% - 32px, 940px); padding: 64px 0 90px; }
  .legal-hero { margin-bottom: 54px; }
  .legal-content > section { padding: 38px 0; grid-template-columns: 1fr; gap: 12px; }
  .legal-section-number { padding: 0; }
}

/* Contact page */
.contact-page-shell { min-height: 100vh; display: flex; flex-direction: column; }
.contact-page-main {
  width: min(100% - 40px, 940px);
  min-height: 540px;
  margin: 0 auto;
  padding: 90px 0 120px;
  display: grid;
  place-items: center;
  flex: 1;
}
.contact-glass-card {
  width: min(100%, 868px);
  min-height: 248px;
  padding: 30px;
  display: grid;
  grid-template-columns: 172px minmax(0, 1fr);
  align-items: center;
  gap: clamp(34px, 8vw, 77px);
  border: 1px solid rgba(125, 143, 255, 0.24);
  border-radius: 20px;
  color: var(--text);
  background:
    radial-gradient(circle at 10% 12%, rgba(80, 104, 255, 0.24), transparent 40%),
    linear-gradient(135deg, rgba(20, 28, 65, 0.98), rgba(9, 14, 36, 0.98));
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  text-align: center;
}
.contact-card-avatar {
  width: 172px;
  height: 172px;
  overflow: hidden;
  border: 8px solid rgba(174, 187, 255, 0.22);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.28);
}
.contact-card-avatar img { width: 100%; height: 100%; display: block; object-fit: cover; }
.contact-card-content { min-width: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.contact-card-content h1 {
  margin: 0;
  color: #f7f8ff;
  font: 700 clamp(26px, 3.2vw, 38px)/1.2 "DM Sans", sans-serif;
  letter-spacing: 0.01em;
}
.contact-card-content a {
  max-width: 100%;
  margin-top: 24px;
  padding: 13px 24px;
  border: 0;
  border-radius: 10px;
  color: #fff;
  background: linear-gradient(135deg, #7668d8, #5068ff);
  box-shadow: 0 10px 24px rgba(80, 104, 255, 0.24);
  font-size: 16px;
  font-weight: 700;
  overflow-wrap: anywhere;
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}
.contact-card-content a:hover {
  color: #fff;
  box-shadow: 0 14px 30px rgba(80, 104, 255, 0.32);
  filter: brightness(1.08);
  transform: translateY(-2px);
}

@media (max-width: 640px) {
  .contact-page-main { width: min(100% - 28px, 940px); min-height: 440px; padding: 54px 0 78px; }
  .contact-glass-card {
    min-height: 0;
    padding: 28px 20px 32px;
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 22px;
  }
  .contact-card-avatar { width: 124px; height: 124px; border-width: 6px; }
  .contact-card-content a { margin-top: 18px; padding: 12px 16px; font-size: 15px; }
}

.social-follow-modal-open { overflow: hidden; }
.social-follow-modal {
  position: fixed;
  inset: 0;
  z-index: 180;
  display: grid;
  place-items: center;
  padding: 24px;
}
.social-follow-modal__backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 30%, rgba(80, 104, 255, 0.2), transparent 34rem),
    rgba(2, 4, 14, 0.9);
  backdrop-filter: blur(15px);
  animation: signup-fade-in 0.25s ease both;
}
.social-follow-dialog {
  position: relative;
  width: min(100%, 650px);
  max-height: calc(100dvh - 48px);
  padding: clamp(26px, 4vw, 38px);
  overflow: auto;
  border: 1px solid rgba(121, 143, 255, 0.28);
  border-radius: 28px;
  color: #f7f8ff;
  background:
    radial-gradient(circle at 94% 2%, rgba(11, 210, 237, 0.12), transparent 17rem),
    radial-gradient(circle at 0% 12%, rgba(143, 92, 255, 0.17), transparent 20rem),
    linear-gradient(145deg, rgba(16, 22, 51, 0.99), rgba(6, 10, 27, 0.99));
  box-shadow:
    0 38px 110px rgba(0, 0, 0, 0.62),
    0 0 45px rgba(80, 104, 255, 0.1),
    inset 0 1px rgba(255, 255, 255, 0.06);
  animation: signup-dialog-in 0.35s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
.social-follow-dialog::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background-image:
    linear-gradient(rgba(119, 135, 181, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(119, 135, 181, 0.035) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, black, transparent 82%);
  content: "";
}
.social-follow-dialog__glow {
  position: absolute;
  top: -90px;
  left: 50%;
  width: 260px;
  height: 150px;
  border-radius: 50%;
  background: rgba(80, 104, 255, 0.23);
  filter: blur(65px);
  pointer-events: none;
  transform: translateX(-50%);
}
.social-follow-dialog__brand {
  position: relative;
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 18px;
  color: #dce3fa;
  font: 700 12px "Manrope", sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.social-follow-dialog__brand strong { color: #7c8cff; }
.social-follow-dialog__brand-icon {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(119, 140, 255, 0.34);
  border-radius: 9px;
  color: #fff;
  background: linear-gradient(135deg, #5068ff, #8f5cff);
  box-shadow: 0 7px 18px rgba(80, 104, 255, 0.3);
}
.social-follow-dialog h2 {
  margin: 0;
  font: 800 clamp(27px, 5vw, 39px)/1.12 "Manrope", sans-serif;
  letter-spacing: -0.035em;
}
.social-follow-dialog > p {
  max-width: 570px;
  margin: 12px 0 24px;
  color: #9da8c5;
  font-size: 13.5px;
  line-height: 1.7;
}
.social-follow-dialog h3 {
  margin: 0 0 12px;
  color: #dce3f9;
  font-size: 13px;
  letter-spacing: 0.04em;
}
.social-follow-platforms { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.social-follow-platform {
  min-width: 0;
  min-height: 65px;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  border: 1px solid rgba(151, 167, 215, 0.14);
  border-radius: 15px;
  background: rgba(5, 9, 24, 0.62);
  transition: border-color 0.22s ease, background 0.22s ease, transform 0.22s ease;
}
.social-follow-platform:hover {
  border-color: rgba(111, 135, 255, 0.38);
  background: rgba(16, 24, 56, 0.78);
  transform: translateY(-1px);
}
.social-follow-platform__identity { min-width: 0; display: flex; align-items: center; gap: 9px; }
.social-follow-platform__identity strong {
  overflow: hidden;
  color: #f5f7ff;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.social-follow-platform__icon {
  width: 39px;
  height: 39px;
  flex: 0 0 39px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: #fff;
  font-size: 20px;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.2), 0 6px 14px rgba(0, 0, 0, 0.2);
}
.social-follow-platform--x .social-follow-platform__icon { background: linear-gradient(145deg, #313746, #080a0f); }
.social-follow-platform--telegram .social-follow-platform__icon { background: linear-gradient(145deg, #36b8ed, #168dcc); }
.social-follow-platform--whatsapp .social-follow-platform__icon { background: linear-gradient(145deg, #35dc75, #16a952); }
.social-follow-platform--instagram .social-follow-platform__icon { background: linear-gradient(145deg, #8a3cce, #e42d76 55%, #f6a43a); }
.social-follow-platform--discord .social-follow-platform__icon { background: linear-gradient(145deg, #7289da, #5865f2); }
.social-follow-platform__button {
  min-height: 32px;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex: 0 0 auto;
  border: 1px solid rgba(111, 135, 255, 0.28);
  border-radius: 9px;
  color: #dce3ff;
  background: rgba(80, 104, 255, 0.11);
  font-size: 10.5px;
  font-weight: 800;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.social-follow-platform__button:hover,
.social-follow-platform__button:focus-visible {
  border-color: rgba(111, 135, 255, 0.65);
  color: #fff;
  background: rgba(80, 104, 255, 0.24);
}
.social-follow-platform__button i { font-size: 8px; }
.social-follow-primary,
.social-follow-secondary {
  min-height: 48px;
  padding: 0 22px;
  border-radius: 12px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}
.social-follow-dialog > .social-follow-primary { width: 100%; margin-top: 22px; }
.social-follow-primary {
  border: 1px solid rgba(121, 143, 255, 0.55);
  color: #fff;
  background: linear-gradient(115deg, #3f5cf7, #7658ef);
  box-shadow: 0 12px 28px rgba(72, 83, 229, 0.28);
}
.social-follow-primary:hover:not(:disabled),
.social-follow-primary:focus-visible:not(:disabled) {
  filter: brightness(1.09);
  transform: translateY(-1px);
  box-shadow: 0 15px 34px rgba(72, 83, 229, 0.38);
}
.social-follow-primary:disabled { opacity: 0.65; cursor: wait; }
.social-follow-confirmation-layer {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: grid;
  place-items: center;
  padding: 24px;
}
.social-follow-confirmation-backdrop {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: rgba(1, 3, 12, 0.74);
  backdrop-filter: blur(9px);
  animation: signup-fade-in 0.2s ease both;
}
.social-follow-confirmation {
  position: relative;
  width: min(100%, 465px);
  padding: clamp(26px, 4vw, 36px);
  border: 1px solid rgba(131, 147, 229, 0.27);
  border-radius: 24px;
  color: #f7f8ff;
  background:
    radial-gradient(circle at 50% 0%, rgba(143, 92, 255, 0.16), transparent 15rem),
    linear-gradient(145deg, #111733, #080c20);
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.68), inset 0 1px rgba(255, 255, 255, 0.06);
  text-align: center;
  animation: signup-dialog-in 0.28s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
.social-follow-confirmation__icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 17px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(240, 93, 145, 0.3);
  border-radius: 18px;
  color: #ff88b4;
  background: rgba(226, 54, 119, 0.12);
  box-shadow: 0 10px 24px rgba(226, 54, 119, 0.15);
  font-size: 22px;
}
.social-follow-confirmation h2 {
  margin: 0;
  font: 800 clamp(23px, 5vw, 30px)/1.2 "Manrope", sans-serif;
  letter-spacing: -0.03em;
}
.social-follow-confirmation > p {
  margin: 12px 0 0;
  color: #9da8c5;
  font-size: 13px;
  line-height: 1.65;
}
.social-follow-confirmation .social-follow-confirmation__error { color: #ff8291; font-weight: 700; }
.social-follow-confirmation__actions { margin-top: 23px; display: grid; grid-template-columns: 1.65fr 0.75fr; gap: 10px; }
.social-follow-secondary {
  border: 1px solid rgba(151, 167, 215, 0.2);
  color: #c0c8dc;
  background: rgba(255, 255, 255, 0.04);
}
.social-follow-secondary:hover:not(:disabled),
.social-follow-secondary:focus-visible:not(:disabled) { color: #fff; border-color: rgba(151, 167, 215, 0.42); background: rgba(255, 255, 255, 0.08); }

@media (max-width: 640px) {
  .social-follow-modal { padding: 10px; align-items: end; }
  .social-follow-dialog { max-height: calc(100dvh - 20px); padding: 24px 17px 20px; border-radius: 23px; }
  .social-follow-dialog__brand { margin-bottom: 14px; }
  .social-follow-dialog h2 { font-size: clamp(25px, 8vw, 33px); }
  .social-follow-dialog > p { margin-bottom: 18px; font-size: 12.5px; line-height: 1.6; }
  .social-follow-platforms { grid-template-columns: 1fr; gap: 8px; }
  .social-follow-platform { min-height: 57px; padding: 8px; }
  .social-follow-platform__icon { width: 37px; height: 37px; flex-basis: 37px; font-size: 19px; }
  .social-follow-platform__identity strong { font-size: 11.5px; }
  .social-follow-dialog > .social-follow-primary { margin-top: 16px; }
  .social-follow-confirmation-layer { padding: 14px; }
  .social-follow-confirmation { padding: 27px 18px 20px; border-radius: 21px; }
  .social-follow-confirmation__actions { grid-template-columns: 1fr; }
  .social-follow-confirmation__actions .social-follow-secondary { min-height: 43px; }
}

.modal-open { overflow: hidden; }
.signup-modal[hidden], .welcome-celebration[hidden] { display: none; }
.signup-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  padding: 24px;
  display: grid;
  place-items: center;
}
.signup-backdrop {
  position: absolute;
  inset: 0;
  padding: 0;
  border: 0;
  background:
    radial-gradient(circle at 50% 35%, rgba(72, 88, 232, 0.2), transparent 35rem),
    rgba(2, 4, 14, 0.86);
  backdrop-filter: blur(14px);
  animation: signup-fade-in 0.25s ease both;
}
.signup-dialog {
  position: relative;
  width: min(100%, 570px);
  max-height: calc(100vh - 48px);
  padding: 34px;
  overflow-y: auto;
  border: 1px solid rgba(126, 143, 216, 0.2);
  border-radius: 27px;
  background:
    radial-gradient(circle at 90% 0%, rgba(12, 210, 237, 0.1), transparent 18rem),
    radial-gradient(circle at 0% 20%, rgba(143, 92, 255, 0.14), transparent 18rem),
    linear-gradient(145deg, rgba(15, 20, 45, 0.99), rgba(7, 11, 28, 0.99));
  box-shadow: 0 35px 100px rgba(0, 0, 0, 0.55), inset 0 1px rgba(255, 255, 255, 0.045);
  animation: signup-dialog-in 0.35s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
.signin-dialog { width: min(100%, 500px); }
.signup-dialog::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background-image:
    linear-gradient(rgba(119, 135, 181, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(119, 135, 181, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, black, transparent 75%);
}
.signup-close {
  position: absolute;
  top: 17px;
  right: 17px;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 11px;
  color: #9ca6c0;
  background: rgba(255, 255, 255, 0.035);
  cursor: pointer;
  font-size: 23px;
  line-height: 1;
}
.signup-close:hover { color: white; border-color: rgba(111, 135, 255, 0.45); }
.signup-brand {
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 11px;
  color: #dfe4f8;
  font: 700 13px "Manrope", sans-serif;
}
.signup-brand .brand-mark { width: 33px; height: 33px; }
.signup-brand > span:last-child > span { color: #7788ff; }
.signup-dialog h2 {
  margin: 9px 0 8px;
  font: 800 clamp(28px, 5vw, 38px) "Manrope", sans-serif;
  letter-spacing: -1.4px;
}
.signup-intro { margin: 0 0 25px; color: #8c96b1; font-size: 13px; line-height: 1.6; }
.signup-name-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.signup-field { margin-bottom: 13px; display: block; }
.signup-field > span,
.signup-field > .signup-field__label {
  margin: 0 0 7px 2px;
  display: block;
  color: #bdc5da;
  font-size: 10px;
  font-weight: 700;
}
.signup-password-input { position: relative; }
.signup-field .signup-password-input input { padding-right: 50px; }
.signup-password-toggle {
  position: absolute;
  top: 50%;
  right: 8px;
  width: 34px;
  height: 34px;
  padding: 0;
  display: grid;
  place-items: center;
  transform: translateY(-50%);
  border: 0;
  border-radius: 10px;
  color: #8794b5;
  background: transparent;
  cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease;
}
.signup-password-toggle:hover,
.signup-password-toggle:focus-visible {
  color: #ffffff;
  background: rgba(70, 139, 255, 0.13);
  outline: none;
}
.signup-password-toggle svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.signup-password-eye-slash { stroke-width: 2; }
.signup-field input {
  width: 100%;
  height: 49px;
  padding: 0 14px;
  border: 1px solid rgba(151, 167, 215, 0.14);
  border-radius: 12px;
  outline: 0;
  color: white;
  background: rgba(5, 9, 24, 0.62);
  font: 500 13px "DM Sans", sans-serif;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.signup-field input::placeholder { color: #4f5a74; }
.signup-field input:focus {
  border-color: rgba(58, 164, 255, 0.72);
  background: rgba(7, 12, 31, 0.9);
  box-shadow: 0 0 0 3px rgba(47, 132, 255, 0.1);
}
.signup-field input[aria-invalid="true"] {
  border-color: rgba(255, 113, 133, 0.7);
  box-shadow: 0 0 0 3px rgba(255, 113, 133, 0.08);
}
.signup-phone-field {
  min-width: 0;
  margin: 0 0 13px;
  padding: 0;
  border: 0;
}
.signup-phone-field legend {
  margin: 0 0 7px 2px;
  padding: 0;
  color: #bdc5da;
  font-size: 10px;
  font-weight: 700;
}
.signup-phone-grid {
  display: grid;
  grid-template-columns: minmax(150px, 0.9fr) minmax(0, 1.1fr);
  gap: 10px;
}
.signup-phone-grid > div { min-width: 0; }
.signup-phone-grid select,
.signup-phone-grid input {
  width: 100%;
  height: 49px;
  padding: 0 14px;
  border: 1px solid rgba(151, 167, 215, 0.14);
  border-radius: 12px;
  outline: 0;
  color: white;
  background: rgba(5, 9, 24, 0.62);
  font: 500 13px "DM Sans", sans-serif;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.signup-phone-grid select {
  padding-right: 34px;
  color-scheme: dark;
  cursor: pointer;
}
.signup-phone-grid input::placeholder { color: #4f5a74; }
.signup-phone-grid select:focus,
.signup-phone-grid input:focus {
  border-color: rgba(58, 164, 255, 0.72);
  background: rgba(7, 12, 31, 0.9);
  box-shadow: 0 0 0 3px rgba(47, 132, 255, 0.1);
}
.signup-phone-grid select[aria-invalid="true"],
.signup-phone-grid input[aria-invalid="true"] {
  border-color: rgba(255, 113, 133, 0.7);
  box-shadow: 0 0 0 3px rgba(255, 113, 133, 0.08);
}
.signup-otp-intro {
  max-width: 465px;
  padding: 14px 16px;
  border: 1px solid rgba(66, 190, 255, 0.18);
  border-radius: 14px;
  color: #aebad4;
  background: linear-gradient(135deg, rgba(35, 84, 186, 0.13), rgba(42, 210, 221, 0.055));
}
.signup-otp-stage {
  position: relative;
  margin: 4px 0 12px;
  padding: 24px;
  overflow: hidden;
  border: 1px solid rgba(93, 126, 255, 0.2);
  border-radius: 18px;
  background:
    radial-gradient(circle at 100% 0, rgba(32, 211, 220, 0.12), transparent 13rem),
    rgba(5, 9, 25, 0.56);
}
.signup-otp-stage::before {
  content: "";
  position: absolute;
  top: -55px;
  right: -40px;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: rgba(91, 94, 255, 0.13);
  filter: blur(2px);
  pointer-events: none;
}
.signup-otp-field { position: relative; z-index: 1; margin: 0; }
.signup-otp-field input {
  height: 58px;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.42em;
  font: 800 18px "Manrope", sans-serif;
}
.signup-otp-back {
  display: block;
  margin: 13px auto 0;
  padding: 5px 8px;
  border: 0;
  color: #8fa4cc;
  background: transparent;
  font: 700 11px "Manrope", sans-serif;
  cursor: pointer;
  transition: color 0.2s ease;
}
.signup-otp-back:hover { color: #ffffff; }
.signup-otp-back:disabled { cursor: wait; opacity: 0.55; }
.password-hint { margin: 7px 2px 0; display: block; color: #5e6a84; font-size: 8px; line-height: 1.4; }
.field-error {
  min-height: 13px;
  margin: 5px 2px 0;
  display: block;
  color: #ff8fa0;
  font-size: 9px;
  line-height: 1.35;
}
.signup-form-error {
  min-height: 18px;
  margin: 0 0 6px;
  color: #ff8fa0;
  font-size: 10px;
  text-align: center;
}
.signup-dialog .field-error,
.signup-dialog .signup-form-error {
  font-size: 13px;
}
.signup-submit { width: 100%; min-height: 53px; margin-top: 2px; border: 0; }
.signup-submit i {
  width: 15px;
  height: 15px;
  display: none;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: white;
  border-radius: 50%;
  animation: signup-spin 0.7s linear infinite;
}
.signup-submit.is-loading i { display: block; }
.signup-submit.is-loading { pointer-events: none; opacity: 0.78; }
.signup-login-copy { margin: 18px 0 0; color: #717c98; font-size: 10px; text-align: center; }
.signup-login-copy a { color: #8ba5ff; font-weight: 700; }

.welcome-celebration {
  position: fixed;
  inset: 0;
  z-index: 130;
  display: grid;
  place-items: center;
  overflow: hidden;
  pointer-events: none;
  background: radial-gradient(circle at center, rgba(26, 37, 94, 0.55), rgba(3, 6, 18, 0.18) 45%, transparent 70%);
  animation: welcome-overlay 5s ease both;
}
.welcome-particles { position: absolute; inset: 0; overflow: hidden; }
.welcome-particle {
  position: absolute;
  top: -12vh;
  left: var(--left);
  width: var(--size);
  height: calc(var(--size) * 1.7);
  border-radius: var(--radius);
  opacity: 0;
  background: var(--color);
  box-shadow: 0 0 14px color-mix(in srgb, var(--color), transparent 35%);
  animation: particle-fall var(--duration) var(--delay) cubic-bezier(0.2, 0.55, 0.55, 1) forwards;
}
.welcome-message {
  position: relative;
  z-index: 2;
  width: min(calc(100% - 36px), 480px);
  padding: 36px 25px;
  border: 1px solid rgba(114, 139, 255, 0.3);
  border-radius: 27px;
  text-align: center;
  background:
    radial-gradient(circle at 50% 0%, rgba(16, 210, 229, 0.18), transparent 55%),
    rgba(8, 13, 33, 0.94);
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.5), 0 0 70px rgba(58, 97, 255, 0.15);
  backdrop-filter: blur(18px);
  animation: welcome-card-in 0.7s 0.2s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
.welcome-check {
  width: 54px;
  height: 54px;
  margin: 0 auto 17px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #022118;
  background: linear-gradient(145deg, #22d7a3, #0bd2ed);
  box-shadow: 0 0 35px rgba(34, 215, 163, 0.35);
  font-size: 25px;
  font-weight: 900;
}
.welcome-message small { display: block; color: #70d8c0; font-size: 9px; font-weight: 800; letter-spacing: 1.1px; text-transform: uppercase; }
.welcome-message strong { margin-top: 9px; display: block; font: 800 clamp(28px, 6vw, 42px) "Manrope", sans-serif; letter-spacing: -1.3px; }
.welcome-message p { margin: 9px 0 0; color: #8e99b5; font-size: 13px; }

@keyframes signup-fade-in { from { opacity: 0; } }
@keyframes signup-dialog-in { from { opacity: 0; transform: translateY(24px) scale(0.97); } }
@keyframes signup-spin { to { transform: rotate(360deg); } }
@keyframes welcome-overlay { 0%, 86% { opacity: 1; } 100% { opacity: 0; } }
@keyframes welcome-card-in { from { opacity: 0; transform: translateY(20px) scale(0.94); } }
@keyframes particle-fall {
  0% { opacity: 0; transform: translate3d(0, -8vh, 0) rotate(0deg); }
  8% { opacity: 1; }
  100% { opacity: 0.95; transform: translate3d(var(--drift), 118vh, 0) rotate(var(--rotation)); }
}

.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal--delay { transition-delay: 0.12s; }
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1000px) {
  .nav-links { display: none; }
  .menu-button { display: block; }
  .mobile-menu {
    position: absolute;
    inset: calc(100% + 10px) 0 auto;
    padding: 12px;
    flex-direction: column;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(7, 10, 28, 0.97);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.35);
  }
  .mobile-menu.open { display: flex; }
  .mobile-menu a { padding: 12px 15px; color: #b8c0d4; border-radius: 9px; font-size: 14px; }
  .mobile-menu a:hover, .mobile-auth-button:hover { color: white; background: rgba(255, 255, 255, 0.05); border-radius: 9px; }
  .hero-inner { grid-template-columns: 1fr; gap: 45px; }
  .hero-copy { text-align: center; }
  .eyebrow, .hero-copy > p { margin-left: auto; margin-right: auto; }
  .hero-actions, .trust-row { justify-content: center; }
  .terminal-wrap { max-width: 570px; width: 100%; margin: auto; }
  .stats-bar { margin-top: 15px; }
  .account-grid {
    max-width: 760px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .homepage-challenge-picker .challenge-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .challenge-summary__content {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-areas:
      "average average"
      "challenge funded"
      "checkout checkout";
  }
  .challenge-summary__checkout {
    grid-column: auto;
  }
  .account-card--featured { transform: none; }
}

@media (max-width: 700px) {
  html,
  body {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow-x: clip;
  }
  .steps-section,
  .steps-grid {
    max-width: 100%;
    overflow-x: clip;
  }
  .site-header { padding: 9px; }
  .nav-shell { min-height: 61px; padding: 7px 8px 7px 13px; border-radius: 20px; }
  .brand { font-size: 17px; }
  .site-header .brand-logo { width: 170px; height: auto; }
  .footer-brand .brand-logo { width: 220px; height: auto; }
  .brand-mark { width: 34px; height: 34px; border-radius: 10px; }
  .login-button { display: none; }
  .nav-actions .button--primary { min-height: 42px; padding: 0 16px; font-size: 12px; }
  .hero { min-height: auto; padding: 120px 20px 0; }
  .hero-inner { gap: 34px; }
  .hero-copy { text-align: left; }
  .eyebrow { width: 100%; justify-content: flex-start; padding: 11px 13px; border-radius: 20px; font-size: 11px; line-height: 1.4; }
  h1 { margin: 26px 0 20px; font-size: clamp(39px, 12vw, 54px); line-height: 1.08; letter-spacing: -2.4px; }
  .hero-copy > p { font-size: 16px; line-height: 1.65; }
  .hero-actions { display: grid; grid-template-columns: 1fr; }
  .button--large { width: 100%; }
  .trust-row { justify-content: flex-start; }
  .terminal-wrap { min-height: 440px; margin-top: 10px; }
  .terminal-card { padding: 14px; border-radius: 20px; transform: none; }
  .terminal-price strong { font-size: 22px; }
  .chart-wrap { height: 175px; }
  .float-chip--profit { right: -3px; top: 20px; }
  .float-chip--verified { left: -3px; bottom: 6px; }
  .position-row { margin-bottom: 40px; }
  .orbit { display: none; }
  .stats-bar { grid-template-columns: repeat(2, 1fr); }
  .stats-bar div { min-height: 95px; padding-left: 18px; border-bottom: 1px solid var(--line); }
  .stats-bar div:first-child { padding-left: 18px; }
  .stats-bar div:nth-child(2) { border-right: 0; }
  .stats-bar strong { font-size: 23px; }
  .content-section, .accounts-section, .cta-section { padding: 85px 20px; }
  .section-heading { margin-bottom: 36px; text-align: left; }
  .section-heading h2 { font-size: 34px; letter-spacing: -1.5px; }
  .section-heading p { font-size: 14px; }
  .account-grid {
    max-width: 520px;
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .account-card { min-height: 285px; padding: 26px 23px; }
  .homepage-challenge-picker .challenge-tabs {
    width: 100%;
  }
  .homepage-challenge-picker .challenge-tab {
    flex: 1 1 50%;
    padding-inline: 12px;
  }
  .homepage-challenge-picker .challenge-card {
    min-height: 138px;
    padding: 22px;
  }
  .challenge-summary {
    margin-top: 25px;
    padding: 16px;
    border-radius: 19px;
  }
  .challenge-summary__content {
    grid-template-columns: 1fr;
    grid-template-areas:
      "average"
      "challenge"
      "funded"
      "checkout";
    gap: 13px;
  }
  .challenge-summary__checkout { grid-column: auto; }
  .challenge-summary__panel,
  .challenge-summary__checkout { padding: 23px 20px; }
  .feature-grid, .steps-grid { grid-template-columns: 1fr; }
  .feature-card { min-height: auto; padding: 25px; }
  .feature-icon { margin-bottom: 4px; }
  .steps-section, .faq-section { padding-top: 40px; }
  .cta-card { min-height: 470px; padding: 55px 22px; }
  .cta-card > div:last-child { width: 100%; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { padding: 20px 0; align-items: flex-start; flex-direction: column; gap: 8px; }
  .signup-modal { padding: 10px; align-items: end; }
  .signup-dialog { width: 100%; max-height: calc(100vh - 20px); padding: 28px 19px 22px; border-radius: 24px; }
  .signup-brand { margin-bottom: 19px; }
  .signup-name-grid { grid-template-columns: 1fr; gap: 0; }
  .signup-field { margin-bottom: 9px; }
  .signup-phone-field { margin-bottom: 9px; }
}

@media (max-width: 430px) {
  .footer-grid .footer-social-links a { width: 38px; height: 38px; flex-basis: 38px; }
  .signup-phone-grid { grid-template-columns: 1fr; gap: 0; }
  .nav-actions .button--primary { padding: 0 13px; }
  .menu-button { width: 42px; }
  .hero { padding-left: 16px; padding-right: 16px; }
  .eyebrow b, .eyebrow b + * { display: none; }
  .terminal-topbar .live-pill { display: none; }
  .timeframes button:nth-child(-n + 2) { display: none; }
  .float-chip { min-width: 136px; }
  .homepage-challenge-picker .challenge-grid { grid-template-columns: 1fr; }
  .homepage-challenge-picker .challenge-tab { font-size: 12px; }
  .challenge-summary { padding: 12px; }
  .challenge-summary__panel,
  .challenge-summary__checkout { padding: 21px 17px; }
  .challenge-summary__rules li { font-size: 13px; }
  .footer-grid { gap: 35px 25px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .feature-card--interactive.reveal,
  .feature-card--interactive.reveal.visible,
  .feature-card--interactive.reveal.visible:hover {
    opacity: 1;
    filter: none;
    transform: none;
  }
  .feature-card--interactive::after { display: none; }
  .feature-card--interactive:hover .feature-icon,
  .feature-card--interactive:hover h3,
  .feature-card--interactive:hover .check-list li,
  .feature-card--interactive:hover .progress-card,
  .feature-card--interactive:hover .security-badge { transform: none; }
  .workflow-heading-motion h2,
  .workflow-card-motion,
  .workflow-card-motion:first-child > *,
  .workflow-card-motion:nth-child(3) > * {
    opacity: 1;
    transform: none;
  }
}

/* Readability pass: supporting copy is larger while heading sizes stay intact. */
.nav-links a,
.mobile-menu a,
.button {
  font-size: 15px;
}

.hero-copy > p {
  font-size: 19px;
}

.trust-row p,
.stats-bar span,
.ticker span,
.section-kicker,
.check-list li,
.account-card li,
.footer-grid strong,
.footer-grid a:not(.brand) {
  font-size: 13px;
}

.terminal-topbar strong,
.quote-row button strong,
.float-chip > span,
.security-badge strong {
  font-size: 14px;
}

.terminal-topbar small,
.position-row span,
.live-pill,
.terminal-price span,
.timeframes button,
.chart-label,
.quote-row button,
.spread,
.spread small,
.float-chip small,
.card-kicker,
.progress-card small,
.security-badge small,
.popular-badge,
.account-top small,
.account-label {
  font-size: 11px;
}

.position-row strong,
.float-chip strong,
.progress-card > div:first-child {
  font-size: 12px;
}

.section-heading p,
.cta-card > p {
  font-size: 17px;
}

.feature-card p {
  font-size: 16px;
}

.step-card p,
.footer-brand p,
.signup-intro,
.welcome-message p {
  font-size: 15px;
}

.footer-bottom,
.signup-form label,
.password-hint,
.form-message,
.signup-login-copy,
.welcome-message small {
  font-size: 12px;
}

@media (max-width: 760px) {
  .nav-actions .button--primary {
    font-size: 14px;
  }

  .eyebrow {
    font-size: 13px;
  }

  .hero-copy > p,
  .section-heading p {
    font-size: 16px;
  }
}
