:root {
  --bg-dark: #1f1d25;
  --bg-darker: #16141b;
  --bg-panel: #24222c;
  --bg-light: #ffffff;
  --bg-soft: #ffffff;
  --bg-grey: #424244;
  --text-light: #f8f7fa;
  --text-dark: #15131a;
  --text-muted: #b9b4bf;
  --line-dark: rgba(255, 255, 255, 0.08);
  --line-light: rgba(24, 20, 30, 0.1);
  --accent: #1370d4;
  --accent-strong: #1a85ff;
  --accent-soft: #c5e4ff;
  --gold: #d6a139;
  --violet: #7169d8;
  --green: #79d88b;
  --shadow-soft: 0 22px 50px rgba(11, 10, 15, 0.12);
  --shadow-deep: 0 28px 60px rgba(0, 0, 0, 0.35);
  --radius-large: 38px;
  --radius-medium: 24px;
  --radius-pill: 999px;
  --container: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--bg-light);
  color: var(--text-dark);
  font-family: Aptos, "Segoe UI", "Trebuchet MS", sans-serif;
  line-height: 1.55;
}

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

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

button,
a.button {
  cursor: pointer;
}

.page-shell {
  overflow: hidden;
}

.container {
  width: min(var(--container), calc(100% - 48px));
  margin: 0 auto;
}

.section-dark {
  background:
    radial-gradient(
      circle at top right,
      rgba(52, 71, 104, 0.18),
      transparent 30%
    ),
    linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-darker) 100%);
  color: var(--text-light);
}

.section-light {
  background: #fff;
}

.site-header {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 10;
  width: min(var(--container), calc(100% - 48px));
  margin: 24px auto 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  font-family: Bahnschrift, Aptos, sans-serif;
  font-size: 1.96rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #ffffff;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  outline: none;
  -webkit-tap-highlight-color: transparent;
}

.brand::before,
.brand::after {
  content: none;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.site-nav a:not(.button) {
  color: rgba(255, 255, 255, 0.85);
}

.nav-toggle {
  display: none;
  width: 50px;
  height: 50px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  color: #ffffff;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition:
    transform 0.25s ease,
    opacity 0.25s ease;
}

.site-header.nav-open .nav-toggle span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.site-header.nav-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

.site-header.nav-open .nav-toggle span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.hero {
  position: relative;
  padding: 112px 0 120px;
}

.hero-layout,
.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  align-items: center;
  gap: 48px;
}

.hero-copy {
  max-width: 460px;
  padding-top: 44px;
}

.eyebrow {
  margin: 0 0 18px;
  font-size: 0.76rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.62);
}

.eyebrow-accent {
  color: rgba(14, 55, 110, 0.65);
}

h1,
h2,
h3 {
  margin: 0;
  font-family: Bahnschrift, Aptos, "Segoe UI", sans-serif;
  font-weight: 400;
  letter-spacing: -0.03em;
}

h1 {
  font-size: clamp(2.7rem, 5vw, 4.3rem);
  line-height: 0.97;
  max-width: 440px;
}

h2 {
  font-size: clamp(2rem, 3.5vw, 3rem);
  line-height: 1.04;
}

h3 {
  font-size: 1.22rem;
  line-height: 1.12;
}

p {
  margin: 0;
}

.hero-text,
.copy-panel p,
.feature-card p,
.info-card p,
.step-card p,
.dappbay p {
  font-size: 0.98rem;
}

.hero-text {
  margin-top: 22px;
  max-width: 395px;
  color: var(--text-muted);
}

.hero-art {
  position: relative;
  min-height: 420px;
}

.hero-art span {
  display: block;
  transform-origin: center;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.hero-art img {
  width: 100%;
  height: auto;
}

.hero-art::before {
  content: "";
  position: absolute;
  inset: 18% 14% 10% 18%;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(91, 216, 255, 0.16),
    transparent 70%
  );
  filter: blur(26px);
}

@media (hover: hover) and (pointer: fine) {
  .hero-art:hover span {
    transform: scale(1.08);
  }
}

.featured-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 2rem;
  padding-bottom: 24px;
}

.featured-row .our-partners {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin: 3rem auto;
}

.featured-row .our-partners h3 {
  font-size: 1rem;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.62);
}

.featured-row .our-partners span {
  width: 25rem;
  height: 1px;
  background: rgba(255, 255, 255, 0.62);
}

.featured-partners {
  display: flex;
  align-items: center;
  gap: 8rem;
}

.hero-wave {
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 120px;
}

.wallet,
.currency,
.connect {
  padding: 96px 0;
}

.wallet {
  position: relative;
}

.wallet-intro {
  margin-bottom: 52px;
}

.illustration-panel {
  display: flex;
  align-items: center;
  justify-content: center;
}

.coin-illustration {
  width: min(100%, 340px);
}

.copy-panel {
  max-width: 500px;
}

.copy-panel h2 + p {
  margin-top: 18px;
  color: rgba(21, 19, 26, 0.72);
}

.section-dark .copy-panel h2 + p,
.section-dark .copy-panel p:not(.eyebrow) {
  color: var(--text-muted);
}

.section-dark .copy-panel .eyebrow {
  color: rgba(255, 255, 255, 0.62);
}

.copy-panel-wide {
  max-width: 620px;
}

.card-grid {
  display: grid;
  gap: 26px;
}

.wallet-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.info-card {
  padding: 8px 0 0;
}

.icon-circle {
  width: 16px;
  height: 16px;
  margin-bottom: 18px;
  border-radius: 50%;
  position: relative;
  box-shadow: inset 0 0 0 3px rgba(17, 20, 27, 0.12);
}

.icon-circle::after {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  background: currentColor;
}

.icon-blue {
  color: #4b7eff;
  background: rgba(75, 126, 255, 0.24);
}

.icon-gold {
  color: #c89100;
  background: rgba(200, 145, 0, 0.22);
}

.icon-violet {
  color: #7875e4;
  background: rgba(120, 117, 228, 0.2);
}

.info-card h3,
.feature-card h3,
.step-card h3 {
  margin: 4rem 0 1rem 0;
}

.info-card p {
  color: rgba(21, 19, 26, 0.68);
  min-height: 102px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 28px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition:
    transform 0.25s ease,
    background-color 0.25s ease,
    border-color 0.25s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: linear-gradient(
    135deg,
    var(--accent) 0%,
    var(--accent-strong) 100%
  );
  color: #ffffff;
  box-shadow: 0 16px 28px rgba(19, 112, 212, 0.28);
  margin-top: 2rem;
}

.button-small {
  min-height: 38px;
  padding: 0 18px;
  font-size: 0.68rem;
}

.button-ghost {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
}

.button-inline {
  min-height: 34px;
  padding: 0 18px;
  margin-top: 20px;
  background: linear-gradient(135deg, #106aca 0%, #1a85ff 100%);
  color: #ffffff;
  font-size: 0.66rem;
}

.button-outline,
.button-outline-light {
  background: transparent;
  border-color: rgba(20, 24, 37, 0.2);
  color: var(--text-dark);
}

.button-outline-light {
  border-color: rgba(255, 255, 255, 0.22);
  color: #ffffff;
  margin-top: 2rem;
}

.highlights {
  padding: 82px 0;
}

.feature-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.feature-card {
  padding: 10px 10px 10px 0;
}

.feature-card p {
  color: rgba(255, 255, 255, 0.66);
}

.feature-icon,
.step-icon {
  width: 38px;
  height: 38px;
  margin-bottom: 18px;
  position: relative;
}

.feature-icon::before,
.feature-icon::after,
.step-icon::before,
.step-icon::after {
  content: "";
  position: absolute;
}

.feature-icon-bulb::before,
.step-icon-wallet::before {
  inset: 5px 10px 12px;
  border: 2px solid #2f8eff;
  border-radius: 50%;
}

.feature-icon-bulb::after,
.step-icon-wallet::after {
  width: 10px;
  height: 8px;
  left: 14px;
  bottom: 4px;
  border: 2px solid #2f8eff;
  border-top: 0;
  border-radius: 0 0 8px 8px;
}

.feature-icon-target::before {
  inset: 6px;
  border: 2px solid #2f8eff;
  border-radius: 50%;
}

.feature-icon-target::after {
  inset: 14px;
  border: 2px solid #2f8eff;
  border-radius: 50%;
}

.feature-icon-layers::before {
  inset: 11px 4px 11px 4px;
  border-top: 2px solid #2f8eff;
  border-bottom: 2px solid #2f8eff;
}

.feature-icon-layers::after {
  inset: 6px 10px 6px 10px;
  border-top: 2px solid #2f8eff;
  border-bottom: 2px solid #2f8eff;
}

.feature-icon-network::before {
  width: 6px;
  height: 6px;
  top: 6px;
  left: 16px;
  border-radius: 50%;
  background: #2f8eff;
  box-shadow:
    -12px 22px 0 #2f8eff,
    12px 22px 0 #2f8eff,
    0 22px 0 #2f8eff;
}

.feature-icon-network::after {
  inset: 10px 7px;
  border-left: 2px solid #2f8eff;
  border-right: 2px solid #2f8eff;
  transform: rotate(35deg);
}

.currency .split-layout {
  align-items: center;
}

.currency h2 {
  max-width: 580px;
}

.currency p {
  margin-top: 20px;
  max-width: 490px;
  color: rgba(21, 19, 26, 0.72);
}

.currency .button {
  margin-top: 26px;
}

.token-cloud {
  position: relative;
  min-height: 340px;
}

.token {
  position: absolute;
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  color: #ffffff;
  font-family: Bahnschrift, Aptos, sans-serif;
  font-size: 0.95rem;
  box-shadow: var(--shadow-soft);
}

.token-1 {
  top: 52px;
  left: 62px;
  background: #2a5df4;
}
.token-2 {
  top: 14px;
  left: 188px;
  background: #ef4455;
}
.token-3 {
  top: 58px;
  right: 42px;
  background: #59c764;
  color: #143018;
}
.token-4 {
  top: 122px;
  left: 130px;
  width: 86px;
  height: 86px;
  background: #25242c;
}
.token-5 {
  top: 146px;
  right: 8px;
  background: #6fd6dd;
  color: #0f2f32;
}
.token-6 {
  bottom: 78px;
  left: 80px;
  background: #d99a39;
}
.token-7 {
  bottom: 56px;
  left: 198px;
  background: #7bd461;
  color: #163019;
}
.token-8 {
  bottom: 24px;
  right: 42px;
  width: 76px;
  height: 76px;
  background: #4f79ff;
}
.token-9 {
  bottom: 12px;
  left: 24px;
  background: #3ec2a6;
  color: #103128;
}
.token-10 {
  top: 198px;
  left: 246px;
  background: #7d63db;
}

.builder {
  padding: 88px 0 96px;
}

.builder-top {
  align-items: start;
  margin-bottom: 58px;
}

/* .code-card {
    background: linear-gradient(180deg, #181820 0%, #0f1016 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 28px;
    padding: 26px 28px;
    box-shadow: var(--shadow-deep);
    overflow: auto;
} */

.code-card pre {
  margin: 0;
  color: #d9dde6;
  font-size: 0.96rem;
  line-height: 1.8;
  font-family: Consolas, "Courier New", monospace;
}

.code-accent {
  color: #d6a23d;
}
.code-blue {
  color: #7fc0ff;
}
.code-yellow {
  color: #ffd86c;
}
.code-dim {
  color: #7a7b85;
}

.builder-bottom {
  gap: 56px;
}

.orb-panel,
.stone-panel {
  position: relative;
}

.orb-panel::before,
.stone-panel::before {
  content: "";
  position: absolute;
  inset: auto 12% -8% 12%;
  height: 58px;
  background: radial-gradient(
    circle,
    rgba(255, 233, 106, 0.22),
    transparent 70%
  );
  filter: blur(14px);
}

.connect-header {
  text-align: center;
  max-width: 720px;
  margin-bottom: 56px;
}

.connect-header h2 {
  max-width: 640px;
  margin: 0 auto;
}

.connect-header p:not(.eyebrow) {
  margin: 18px auto 0;
  max-width: 420px;
  color: rgba(21, 19, 26, 0.68);
}

.connect-header .button {
  margin-top: 28px;
}

.steps-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.step-card {
  text-align: left;
  padding: 10px 0;
}

.step-card p {
  color: rgba(21, 19, 26, 0.68);
}

.step-icon-idea::before {
  inset: 5px 10px 10px;
  border: 2px solid #1c6ed2;
  border-radius: 50%;
}

.step-icon-idea::after {
  left: 17px;
  top: 2px;
  width: 4px;
  height: 10px;
  background: #1c6ed2;
  border-radius: 999px;
  box-shadow:
    -10px 8px 0 -1px #1c6ed2,
    10px 8px 0 -1px #1c6ed2;
}

.step-icon-link::before {
  inset: 9px 3px;
  border: 2px dashed #1c6ed2;
  border-radius: 999px;
}

.step-icon-link::after {
  inset: 14px 12px;
  border: 2px solid #1c6ed2;
  border-radius: 999px;
}

.sidechain {
  padding: 82px 0;
}

.sidechain .split-layout {
  align-items: center;
}

.sidechain h2 + p {
  margin-top: 18px;
}

.sidechain .button {
  margin-top: 28px;
}

.dappbay {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0)),
    var(--bg-grey);
  color: #ffffff;
  padding: 76px 0 82px;
}

.dappbay-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.58fr) minmax(0, 0.42fr);
}

.dappbay p {
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.78);
  max-width: 430px;
}

.site-footer {
  background: #ffffff;
  color: #0d1320;
  padding: 26px 0 34px;
  font-size: 0.78rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 1fr;
  gap: 18px;
  align-items: center;
}

.footer-grid p {
  color: rgba(13, 19, 32, 0.82);
}

@media (max-width: 1080px) {
  .site-header {
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
  }

  .nav-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .site-nav {
    display: flex;
    width: 100%;
    order: 3;
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    max-height: 0;
    margin-top: 0;
    padding: 0 18px;
    background: linear-gradient(
      180deg,
      rgba(29, 28, 36, 0.98),
      rgba(18, 18, 24, 0.98)
    );
    border: 1px solid transparent;
    border-radius: 24px;
    box-shadow: var(--shadow-deep);
    position: relative;
    z-index: 12;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateX(-36px);
    transition:
      transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
      opacity 0.25s ease,
      max-height 0.35s ease,
      margin-top 0.35s ease,
      padding 0.35s ease,
      border-color 0.25s ease,
      visibility 0s linear 0.35s;
  }

  .site-nav a:not(.button) {
    width: 100%;
  }

  .site-nav .button {
    width: 100%;
    max-width: none;
  }

  .site-header.nav-open .site-nav {
    max-height: 220px;
    margin-top: 8px;
    padding: 18px;
    border-color: rgba(255, 255, 255, 0.08);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(0);
    transition:
      transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
      opacity 0.25s ease,
      max-height 0.35s ease,
      margin-top 0.35s ease,
      padding 0.35s ease,
      border-color 0.25s ease,
      visibility 0s linear 0s;
  }

  .hero-layout,
  .split-layout,
  .wallet-grid,
  .feature-grid,
  .steps-grid,
  .footer-grid,
  .dappbay-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 102px;
  }

  .hero-copy {
    max-width: 100%;
    padding-top: 24px;
  }

  .hero-art {
    min-height: auto;
  }

  .featured-row {
    flex-wrap: wrap;
    gap: 18px 28px;
  }

  .featured-row .our-partners span {
    width: 18rem;
  }

  .copy-panel,
  .copy-panel-wide {
    max-width: 100%;
  }

  .info-card p {
    min-height: 0;
  }

  .token-cloud {
    min-height: 260px;
    margin-top: 12px;
  }

  .dappbay {
    padding-bottom: 72px;
  }

  .footer-grid {
    gap: 10px;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(var(--container), calc(100% - 28px));
  }

  .site-header {
    width: min(var(--container), calc(100% - 28px));
    align-items: center;
    gap: 14px;
  }

  .site-nav {
    gap: 10px;
  }

  .hero,
  .wallet,
  .currency,
  .builder,
  .connect,
  .sidechain,
  .dappbay {
    padding-top: 74px;
    padding-bottom: 74px;
  }

  h1 {
    font-size: clamp(2.4rem, 12vw, 3.3rem);
  }

  h2 {
    font-size: clamp(1.9rem, 9vw, 2.6rem);
  }

  .hero-wave {
    height: 88px;
  }

  .button {
    width: 100%;
    max-width: 280px;
  }

  .button-inline,
  .button-small {
    width: auto;
  }

  .featured-row {
    padding-bottom: 8px;
    align-items: center;
  }

  .featured-row .our-partners {
       margin-left: 0;

  }
  .featured-row .our-partners span {
    width: 30%;
  }

  .token-cloud {
    transform: scale(0.9);
    transform-origin: center;
    min-height: 220px;
  }
}
