:root {
  --surface: #11101a;
  --border-highlight: #3d3157;
  --surface-gradient: linear-gradient(155deg, #1b1628, #11111a 58%);
}

body {
  background:
    radial-gradient(ellipse 55rem 34rem at 100% 8rem, #22143463, transparent 80%),
    radial-gradient(ellipse 45rem 26rem at 2% 70%, #19132c45, transparent 80%),
    var(--bg);
}

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13, 12, 20, .62);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  backdrop-filter: blur(16px) saturate(1.2);
  border-bottom-color: #8973b032;
}
html { scroll-padding-top: calc(var(--site-header-height, 80px) + 20px); }
.section { scroll-margin-top: 0; }
@supports not (backdrop-filter: blur(1px)) {
  .header { background: rgba(13, 12, 20, .86); }
}
.nav a:hover, .nav a[aria-current="page"] { color: #d0baff; }
.header .language .globe { left: 7px; transform: scale(.62); transform-origin: left center; }
.button { transition: background .18s, border-color .18s, box-shadow .18s, transform .18s; }
.button-primary {
  background: linear-gradient(145deg, #cbb7ff, #a587f7);
  box-shadow: 0 5px 20px #9e71f929, inset 0 1px #f7eeff67;
}
.button-primary:hover { background: #d2bffd; box-shadow: 0 5px 26px #9e71f953; }
.button:hover { transform: translateY(-2px); }
.button:active { transform: translateY(0); }

.site-icon {
  display: inline-block;
  flex: none;
  width: 28px;
  height: 28px;
  background-image: url('/assets/icons.webp');
  background-repeat: no-repeat;
  background-position: var(--icon-offset, 0) center;
}
.icon-frame {
  display: inline-grid;
  flex: none;
  place-items: center;
  width: 47px;
  height: 47px;
  border: 1px solid #7454ad75;
  border-radius: 12px;
  background: linear-gradient(145deg, #33244d, #211831);
  box-shadow: inset 0 1px #c5a2ff26, 0 6px 20px #0a081433;
}

.hero h1 em {
  color: #ceb6ff;
  background: linear-gradient(100deg, #e3d4ff, #a481f9 90%);
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-art {
  border-color: #8163b06b;
  border-radius: 20px;
  box-shadow: 0 34px 64px -37px #8058d285, 0 0 0 6px #7250af18;
}
.hero-art img { animation: image-settle .85s ease-out both; }
.hero-art::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(118deg, transparent 34%, #dcc7ff1c 49%, transparent 62%);
  transform: translateX(-78%);
  animation: glass-light 2s .15s ease-out both;
}
@keyframes image-settle { from { opacity: .63; transform: scale(1.035); } }
@keyframes glass-light {
  from { transform: translateX(-78%); opacity: .28; }
  65% { opacity: .62; }
  to { transform: translateX(85%); opacity: 0; }
}

.specs { background: linear-gradient(105deg, #191423, #11111b 60%, #1a1425); border-color: #362b48; }
.specs div {
  display: grid;
  align-items: center;
  grid-template-columns: 39px minmax(0, 1fr);
  column-gap: 12px;
  padding-block: 18px;
}
.specs div .icon-frame { width: 39px; height: 39px; grid-row: 1 / 3; border-radius: 9px; }
.specs div .site-icon { transform: scale(.82); }
.specs dt { margin-bottom: 2px; }
.specs dd { grid-column: 2; }

.overview-banner {
  min-height: 290px;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  border: 1px solid var(--border-highlight);
  border-radius: 19px;
  isolation: isolate;
  overflow: hidden;
  background: linear-gradient(120deg, #211732, #12101a 55%, #1a1127);
  margin-bottom: 17px;
  position: relative;
}
.overview-banner .section-intro { margin: 0; padding: clamp(24px, 4vw, 55px); z-index: 1; }
.overview-banner img { width: 100%; height: 100%; object-fit: cover; min-height: 290px; position: absolute; inset: 0 0 0 auto; width: 56%; mask-image: linear-gradient(to right, transparent 1%, black 37%); }

.cards article, .card-list li, .roadmap li, .doc-grid > a {
  background: var(--surface-gradient);
  border-color: #332a45;
  transition: border-color .22s, box-shadow .22s, transform .22s;
}
.cards article:hover, .card-list li:hover, .roadmap li:hover, .doc-grid > a:hover {
  border-color: #8c69c6;
  box-shadow: 0 9px 22px #0906115c;
  transform: translateY(-3px);
}
.cards article > .icon-frame, .card-list li > .icon-frame, .roadmap li > .icon-frame { margin-bottom: 17px; }
.cards article > p, .card-list li > p { max-width: 48ch; }
.card-list li { position: relative; }
.card-list .step-number { position: absolute; inset: 22px 23px auto auto; margin: 0; color: #b3a0d3; }

.token-panel {
  position: relative;
  overflow: hidden;
  background: radial-gradient(ellipse at 98% -10%, #3c2461, transparent 61%), linear-gradient(145deg, #161122, #111018);
}
.token-panel h2, .overview-banner h2 { text-wrap: balance; }
.flow {
  padding: 20px;
  border: 1px solid #584370;
  border-radius: 14px;
  background: #100b1c87;
}
.flow li { grid-template-columns: 47px 1fr; align-items: center; gap: 15px; }
.flow li:not(:last-child) { padding-bottom: 21px; }
.flow li:not(:last-child)::before { left: 23px; top: 33px; bottom: -16px; background: #7659a1; }
.flow li > .icon-frame { position: relative; z-index: 1; }
.flow h3 { margin-bottom: 3px; }
.roadmap { position: relative; }
.roadmap::before {
  content: '';
  position: absolute;
  top: 47px;
  left: 23px;
  right: 23px;
  border-top: 1px dashed #9673cb;
}
.roadmap li { isolation: isolate; }
.roadmap li > .icon-frame { position: relative; z-index: 1; }

.doc-panel {
  background: linear-gradient(95deg, #161121 32%, #161121eb 56%, #13101b89),
    url('/assets/custody.webp') right 55% / min(68%, 750px) auto no-repeat, #161121;
}
.faq > div:first-child > .icon-frame { margin-bottom: 16px; }
.questions details[open] summary { color: #d4bcff; }

.subpage .page-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  box-shadow: 0 24px 50px -38px #9064cf82;
  background: radial-gradient(ellipse at 100% -50%, #3c235e, transparent 75%), linear-gradient(120deg, #201530, #14121c 64%);
}
.page-hero-art { min-height: 290px; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: center; }
.page-hero-copy { position: relative; z-index: 1; }
.page-hero-copy h1 { margin-top: 14px; }
.page-hero-copy p { max-width: 63ch; color: var(--muted); line-height: 1.65; font-size: 1.06rem; margin-top: 15px; }
.page-art {
  position: absolute;
  inset: 0 0 0 auto;
  width: 59%;
  z-index: -1;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent 1%, black 38%);
}
.page-art img { width: 100%; height: 100%; object-fit: cover; animation: image-settle .75s ease-out both; }
.page-hero-compact::after {
  content: '';
  position: absolute;
  z-index: -1;
  width: 250px;
  height: 250px;
  right: -25px;
  top: -145px;
  border: 1px solid #9473c444;
  border-radius: 28px;
  transform: rotate(37deg);
  background: linear-gradient(135deg, #7247a222, transparent);
  box-shadow: 0 0 0 20px #9b76ce15, 0 0 0 41px #9b76ce0b;
}
.doc-grid strong { display: block; margin: 2px 0 5px; }
.subpage .doc-grid > a p { font-size: .93rem; line-height: 1.48; }
.doc-source { display: flex; align-items: flex-start; gap: 15px; padding: 23px; border: 1px solid var(--border-highlight); border-radius: 14px; background: var(--surface-gradient); }
.doc-source .hero-actions { margin-top: 14px; }
.account-form { background: var(--surface-gradient); border-color: var(--border-highlight); }

@media (max-width: 750px) {
  .overview-banner, .page-hero-art { grid-template-columns: 1fr; }
  .overview-banner img, .page-art { position: relative; inset: auto; width: 100%; mask-image: linear-gradient(to bottom, transparent, black 22%); }
  .overview-banner img { min-height: 0; height: auto; max-height: 255px; margin-top: -22px; }
  .page-hero-art { padding: 0; }
  .page-hero-art .page-hero-copy { padding: 25px 25px 5px; }
  .page-art { z-index: 0; height: clamp(152px, 43vw, 255px); }
  .roadmap::before { display: none; }
  .doc-panel { background-size: auto, 100% auto, auto; }
  .subpage .section { margin-top: 30px; }
}

@media (max-width: 410px) {
  .specs div { grid-template-columns: 28px minmax(0, 1fr); column-gap: 7px; padding-inline: 9px; }
  .specs div .icon-frame { width: 28px; height: 31px; border-radius: 7px; }
  .specs div .site-icon { transform: scale(.68); }
  .flow { padding: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-art img, .hero-art::before, .page-art img { animation: none; }
  .hero-art::before { display: none; }
  .button, .cards article, .card-list li, .roadmap li, .doc-grid > a { transition: none; }
  .button:hover, .cards article:hover, .card-list li:hover, .roadmap li:hover, .doc-grid > a:hover { transform: none; }
}

.purchase-steps { gap: 19px; }
.purchase-steps .purchase-step {
  padding: 0;
  overflow: hidden;
  border-color: #493561;
  background: linear-gradient(140deg, #1d1729, #14121d 66%);
}
.purchase-visual {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  aspect-ratio: 1.58;
  border-bottom: 1px solid #69508969;
  background: radial-gradient(ellipse at 50% 72%, #432766, #171123 73%);
}
.purchase-art { width: 100%; height: 100%; }
.purchase-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform .52s cubic-bezier(.2,.65,.3,1), filter .35s ease-out;
}
.purchase-visual::before,
.purchase-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.purchase-visual::before {
  background: radial-gradient(ellipse at var(--pointer-x, 50%) var(--pointer-y, 50%), #b892ff43, transparent 63%);
  opacity: 0;
  mix-blend-mode: screen;
  transition: opacity .24s;
}
.purchase-visual::after {
  background: linear-gradient(112deg, transparent 35%, #c6adff55 48%, #e3d3ff65 50%, transparent 62%);
  transform: translateX(-110%);
  opacity: 0;
}
.purchase-steps .step-number {
  inset: 14px auto auto 14px;
  min-width: 38px;
  padding: 5px 8px;
  text-align: center;
  font-variant-numeric: tabular-nums;
  color: #e6d8ff;
  border: 1px solid #8266b299;
  border-radius: 8px;
  background: #120d20db;
  z-index: 1;
}
.purchase-copy { padding: 21px 22px 23px; }
.purchase-copy h3 { font-size: 1.23rem; }
.purchase-steps [data-delay="1"] { --motion-delay: .14s; }
.purchase-steps [data-delay="2"] { --motion-delay: .28s; }

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .purchase-step:hover .purchase-visual img { transform: scale(1.095) rotate(-2deg); filter: saturate(1.17) brightness(1.15); }
  .purchase-step:hover .purchase-visual::before { opacity: 1; }
}

@media (prefers-reduced-motion: no-preference) {
  .motion-entered { animation: section-enter .65s var(--motion-delay, 0s) cubic-bezier(.22,.66,.26,1) both; }
  .purchase-step.motion-entered .purchase-visual::after { animation: step-light 1.8s calc(.15s + var(--motion-delay, 0s)) ease-out both; }
  .purchase-step.motion-entered .purchase-art { animation: step-float 4.15s var(--motion-delay, 0s) ease-in-out; }
  .hero-art::before {
    background: linear-gradient(118deg, transparent 35%, #cfafff48 48%, #e4d3ff45 51%, transparent 62%);
    animation-duration: 3.3s;
  }
}
@keyframes section-enter {
  from { opacity: .43; translate: 0 24px; }
  to { opacity: 1; translate: 0 0; }
}
@keyframes step-light {
  0% { transform: translateX(-110%); opacity: 0; }
  30%, 70% { opacity: .82; }
  100% { transform: translateX(110%); opacity: 0; }
}
@keyframes step-float {
  0%, 100% { transform: scale(1); }
  27% { transform: scale(1.07) translateY(-5px); }
  55% { transform: scale(1.018); }
  76% { transform: scale(1.05) translateY(-3px); }
}
@media (prefers-reduced-motion: reduce) {
  .purchase-visual img, .purchase-visual::before { transition: none; }
}

.index-chart::before { display: none; }
.index-chart::after {
  pointer-events: none;
  background: linear-gradient(180deg, #0c0912a8, transparent 25%, transparent 78%, #0c0912e0);
}
.index-chart img { object-position: center; animation: none; }
@media (max-width: 750px) {
  .index-chart { aspect-ratio: auto; min-height: clamp(225px, 68vw, 430px); }
  .index-chart .art-note { font-size: .78rem; }
}

:is(.document-art, .feature-art) {
  display: block;
  flex: 0 0 auto;
  width: 116px;
  aspect-ratio: 1;
  overflow: hidden;
  border: 1px solid #64488a;
  border-radius: 13px;
  background: radial-gradient(ellipse at 50% 60%, #36204d, #171122 76%);
  box-shadow: inset 0 0 18px #9c68c444, 0 7px 19px #08061055;
}
:is(.document-art, .feature-art) img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s ease, filter .3s ease;
}
.doc-copy .document-art { width: 76px; margin-bottom: 16px; }
.doc-grid > a {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 15px;
  min-height: 152px;
  padding: 16px;
}
.doc-grid > a:hover .document-art img { transform: scale(1.075); filter: brightness(1.12); }
.doc-source { align-items: center; gap: 22px; }
.doc-source .document-art { width: 128px; }
@media (min-width: 751px) and (max-width: 1020px) {
  .doc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  .doc-grid { grid-template-columns: minmax(0,1fr); }
  .doc-grid > a { min-height: 119px; gap: 12px; padding: 13px; }
  .doc-grid .document-art { width: clamp(76px, 24vw, 105px); }
  .doc-source { flex-wrap: wrap; }
  .doc-source .document-art { width: 104px; }
}
@media (prefers-reduced-motion: reduce) {
  .document-art img { transition: none; }
  .doc-grid > a:hover .document-art img { transform: none; }
}

.page-hero-copy .feature-art { width: 65px; }
.feature-cards > article {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 15px;
  min-height: 153px;
  padding: 16px;
}
.feature-cards > article:hover .feature-art img {
  transform: scale(1.075);
  filter: brightness(1.12);
}
@media (min-width: 751px) and (max-width: 1060px) {
  .feature-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 750px) {
  .feature-cards > article { min-height: 117px; padding: 13px; gap: 12px; }
  .feature-cards .feature-art { width: clamp(78px, 23vw, 108px); }
}
@media (prefers-reduced-motion: reduce) {
  .feature-art img { transition: none; }
  .feature-cards > article:hover .feature-art img { transform: none; }
}

/* Original footer navigation, adapted to the site's purple palette. */
.footer-links { grid-template-columns: 1.15fr .85fr 1fr 1.15fr; gap: 28px; padding-block: 32px 44px; }
.footer-links h3 { margin-bottom: 15px; font-size: 1rem; }
.footer-links a { font-size: .875rem; line-height: 1.5; }
.footer-links a:focus-visible { outline: 2px solid var(--accent, #b29aff); outline-offset: 4px; border-radius: 4px; }
.footer-social { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; padding: 0; margin: 0; list-style: none; }
.footer-social li { min-width: 0; }
.footer-social li a { display: flex; align-items: center; gap: 8px; width: 100%; min-height: 42px; padding: 9px 10px; border: 1px solid var(--line); border-radius: 10px; background: rgba(157, 120, 255, .04); transition: border-color .2s, background .2s; font-size: .8rem; }
.footer-social li a:hover { border-color: #9d78ff; background: rgba(157, 120, 255, .12); }
.footer-social img { flex: 0 0 22px; object-fit: contain; filter: grayscale(1) brightness(0) invert(1); opacity: .8; }
.footer-social a:hover img { opacity: 1; }
@media (max-width: 1050px) { .footer-links { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px; }.footer-social { max-width: 300px; } }
@media (max-width: 480px) { .footer-links { grid-template-columns: minmax(0, 1fr); gap: 27px; padding-block: 26px 34px; }.footer-social { max-width: 100%; grid-template-columns: repeat(3, minmax(0, 1fr)); }.footer-social li a { flex-direction: column; gap: 6px; padding: 12px 6px; } }
@media (prefers-reduced-motion: reduce) { .footer-social li a { transition: none; } }
