:root {
  color-scheme: light;
  --ink: #151d2d;
  --muted: #56647a;
  --blue: #1643ed;
  --blue-hover: #1236ca;
  --blue-soft: #eef3ff;
  --white: #fff;
  --panel: #f6f8fc;
  --border: #e2e8f2;
  --radius: 20px;
  font-family: Inter, Arial, sans-serif;
  color: var(--ink);
  letter-spacing: -.02em;
}

@font-face {
  font-family: Inter;
  src: url('/images/inter.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
a { color: var(--blue); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.brand { display: inline-flex; align-items: center; min-height: 44px; }
.brand img { display: block; object-fit: contain; object-position: left; }
.home {
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 100svh;
  background: var(--white);
}
.home > main { display: grid; align-items: center; }
.topbar {
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 76px;
  width: 100%;
  max-width: 1352px;
  margin-inline: auto;
  padding-inline: 28px;
}
.navigation, .header-actions { display: flex; align-items: center; gap: 8px; }
.topbar > .brand { justify-self: start; }
.header-actions { justify-self: end; }
.navigation a, .ghost-button, .widget-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 42px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 550;
}
.navigation a { border-radius: 999px; padding-inline: 16px; color: var(--muted); }
.navigation a:hover, .navigation .nav-current { background: var(--blue-soft); color: var(--blue); }
.ghost-button {
  padding-inline: 16px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--ink);
}
.ghost-button:hover { color: var(--blue); border-color: var(--blue); }
.language { position: relative; }
.language summary {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  cursor: pointer;
  list-style: none;
}
.language summary::-webkit-details-marker { display: none; }
.language summary:hover { background: var(--blue-soft); }
.language-menu {
  position: absolute;
  z-index: 6;
  top: calc(100% + 8px);
  right: 0;
  width: 126px;
  padding: 5px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
}
.language-menu a {
  display: block;
  text-decoration: none;
  display: block;
  min-height: 40px;
  width: 100%;
  border: 0;
  border-radius: 9px;
  background: transparent;
  padding-inline: 11px;
  color: var(--ink);
  font: inherit;
  font-size: 14px;
  text-align: left;
  cursor: pointer;
}
.language-menu a:hover, .language-menu a[aria-current=page] { background: var(--blue-soft); color: var(--blue); }
.mobile-toggle, .navigation .nav-app-mobile { display: none; }

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: center;
  min-height: min(742px, calc(100svh - 158px));
  padding: 52px 20px 78px;
}
.hero-content { max-width: 730px; margin-inline: auto; text-align: center; }
.hero h1 {
  margin: 0;
  font-size: clamp(46px, 6.2vw, 80px);
  font-weight: 555;
  line-height: .96;
  letter-spacing: -.067em;
}
.hero-highlight { display: block; color: var(--blue); }
.hero-description {
  max-width: 480px;
  margin: 20px auto 28px;
  color: var(--muted);
  font-size: clamp(16px, 2vw, 18px);
  line-height: 1.5;
}
.orbit-art { position: absolute; z-index: -1; inset: 0; overflow: hidden; pointer-events: none; }
.orbit-line, .orb, .orbit-token { position: absolute; border-radius: 50%; }
.orbit-line { width: 470px; height: 470px; border: 1px solid var(--blue-soft); }
.orbit-line-left { left: calc(50% - 835px); top: 65px; }
.orbit-line-right { right: calc(50% - 815px); top: 214px; }
.orb-left {
  left: calc(50% - 638px);
  top: 145px;
  width: 216px;
  height: 216px;
  background: #3064ff;
  filter: blur(52px);
  opacity: .28;
}
.orb-right {
  right: calc(50% - 614px);
  top: 350px;
  width: 196px;
  height: 196px;
  background: #2568ff;
  filter: blur(45px);
  opacity: .31;
}
.orb-small-left {
  left: calc(50% - 500px);
  top: 515px;
  width: 82px;
  height: 82px;
  background: #86afff;
  filter: blur(20px);
  opacity: .49;
}
.orb-small-right {
  right: calc(50% - 446px);
  top: 146px;
  width: 70px;
  height: 70px;
  background: #84a8ff;
  filter: blur(16px);
  opacity: .55;
}
.orb-dot { left: calc(50% - 366px); top: 380px; width: 15px; height: 15px; background: #d1dfff; }
.orbit-token {
  --token-size: 64px;
  display: grid;
  place-items: center;
  width: var(--token-size);
  height: var(--token-size);
  border: 1px solid var(--border);
  background: var(--white);
}
.orbit-token img, .orbit-token svg { width: 64%; height: 64%; object-fit: contain; border-radius: 50%; }
.orbit-btc { --token-size: 94px; left: calc(50% - 553px); top: 20%; transform: rotate(-12deg); }
.orbit-eth { --token-size: 74px; left: calc(50% - 405px); top: 37%; transform: rotate(11deg); }
.orbit-usdc { --token-size: 62px; left: calc(50% - 515px); top: 64%; transform: rotate(10deg); }
.orbit-dot { --token-size: 46px; left: calc(50% - 355px); top: 76%; transform: rotate(-11deg); }
.orbit-sol { --token-size: 80px; right: calc(50% - 527px); top: 18%; transform: rotate(12deg); }
.orbit-usdt { --token-size: 59px; right: calc(50% - 363px); top: 38%; transform: rotate(-12deg); }
.orbit-kst { --token-size: 96px; right: calc(50% - 546px); top: 58%; transform: rotate(11deg); }
.orbit-ltc { --token-size: 44px; right: calc(50% - 369px); top: 76%; transform: rotate(-12deg); }

.swap-widget {
  width: min(100%, 436px);
  margin-inline: auto;
  padding: 13px;
  border: 1px solid var(--border);
  border-radius: 25px;
  background: var(--white);
  text-align: left;
  scroll-margin-top: 22px;
}
.widget-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 5px 6px;
}
.widget-header h2 { margin: 0; font-size: 19px; font-weight: 570; }
.widget-link { min-height: 36px; color: var(--muted); font-size: 13px; }
.widget-link:hover { color: var(--blue); }
.pair-panel {
  padding: 13px 15px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--panel);
}
.pair-label { display: block; color: var(--muted); font-size: 13px; line-height: 1.25; font-weight: 530; }
.pair-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  min-height: 49px;
  margin-top: 4px;
}
.pair-amount {
  min-width: 0;
  width: 100%;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: var(--ink);
  padding: 0;
  font: inherit;
  font-size: clamp(32px, 5vw, 43px);
  font-weight: 480;
  letter-spacing: -.05em;
  line-height: 1.04;
}
.pair-amount::placeholder, .pair-output { color: var(--muted); opacity: 1; }
.token-choice { position: relative; display: flex; align-items: center; }
.token-choice img { position: absolute; left: 10px; pointer-events: none; object-fit: contain; border-radius: 50%; }
.token-choice select {
  min-height: 42px;
  min-width: 111px;
  padding: 0 8px 0 36px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-size: 15px;
  font-weight: 580;
  cursor: pointer;
}
.token-choice select:hover { border-color: var(--blue); }
.pair-switch { position: relative; display: grid; place-items: center; height: 7px; }
.reverse-pair {
  position: absolute;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--white);
  color: var(--blue);
  cursor: pointer;
}
.reverse-pair:hover { background: var(--blue-soft); }
.swap-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 51px;
  margin-top: 10px;
  padding: 12px 16px;
  border-radius: 17px;
  background: var(--blue);
  color: var(--white);
  font-size: 16px;
  font-weight: 570;
  text-decoration: none;
}
.swap-cta:hover, .primary:hover { background: var(--blue-hover); }
.swap-availability {
  margin: 10px 6px 0;
  color: var(--muted);
  text-align: center;
  font-size: 13px;
  line-height: 1.4;
}

.below-hero {
  width: min(100% - 48px, 1120px);
  margin-inline: auto;
  padding-block: 76px;
  border-top: 1px solid var(--border);
}
.explore-section {
  display: grid;
  grid-template-columns: minmax(0, .84fr) minmax(0, 1.3fr);
  gap: clamp(26px, 6vw, 92px);
  align-items: center;
}
.section-intro h2 {
  margin: 10px 0 13px;
  font-size: clamp(36px, 4.5vw, 58px);
  font-weight: 550;
  line-height: 1;
  letter-spacing: -.057em;
}
.section-intro p { margin: 0; max-width: 36ch; color: var(--muted); font-size: 16px; line-height: 1.5; }
.section-intro .section-kicker { color: var(--blue); font-size: 13px; font-weight: 600; }
.resource-grid, .pair-presets { display: grid; gap: 12px; }
.resource-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.resource-card, .pair-preset {
  position: relative;
  min-width: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  text-decoration: none;
}
.resource-card:hover, .pair-preset:hover { border-color: var(--blue); }
.resource-card { display: grid; justify-items: start; align-content: start; gap: 5px; padding: 18px; }
.resource-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 8px;
  border-radius: 13px;
  background: var(--blue-soft);
  color: var(--blue);
}
.resource-icon svg { width: 22px; height: 22px; }
.resource-arrow { position: absolute; top: 18px; right: 18px; color: var(--blue); }
.resource-card strong { font-size: 17px; font-weight: 570; line-height: 1.25; }
.resource-description { color: var(--muted); font-size: 14px; line-height: 1.4; }
.pair-section { text-align: center; }
.pair-section .section-intro p { margin-inline: auto; }
.pair-presets { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 24px; }
.pair-preset { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding: 16px; text-align: left; }
.pair-preset strong { font-size: 16px; font-weight: 570; }
.preset-icons { display: flex; padding-left: 2px; }
.preset-icons img { display: block; border: 2px solid var(--white); border-radius: 50%; }
.preset-icons img + img { margin-left: -9px; }
.preset-divider { color: var(--muted); font-weight: 400; }
.preset-arrow { color: var(--blue); font-size: 17px; }

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 20px;
  width: min(100% - 48px, 1120px);
  min-height: 82px;
  margin-inline: auto;
  padding-block: 10px;
  border-top: 1px solid var(--border);
}
.footer-links, .footer ul { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 16px; }
.footer ul { margin: 0; padding: 0; list-style: none; }
.footer-links a, .footer li a { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; color: var(--muted); font-size: 14px; }
.footer li a { min-width: 32px; }
.footer-links a:hover { color: var(--blue); }

@media (max-width: 1100px) {
  .orbit-btc, .orbit-usdc { left: 5%; }
  .orbit-sol, .orbit-kst { right: 5%; }
  .orbit-eth, .orbit-dot { left: 12%; }
  .orbit-usdt, .orbit-ltc { right: 12%; }
}

@media (min-width: 721px) and (max-width: 890px) {
  .orbit-eth, .orbit-dot { left: 7%; }
  .orbit-usdt, .orbit-ltc { right: 7%; }
}

@media (max-width: 720px) {
  .topbar { min-height: 65px; grid-template-columns: 1fr auto auto; padding-inline: 17px; }
  .header-actions { grid-column: 2; grid-row: 1; }
  .header-actions > .ghost-button { display: none; }
  .mobile-toggle {
    display: grid;
    grid-column: 3;
    grid-row: 1;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
  }
  .mobile-toggle:hover { background: var(--blue-soft); }
  .navigation {
    display: none;
    position: absolute;
    inset-inline: 12px;
    top: 100%;
    padding: 8px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--white);
  }
  .navigation.is-open { display: grid; }
  .navigation .nav-app-mobile { display: inline-flex; }
  .hero { min-height: auto; padding: 37px 16px 55px; }
  .hero h1 { font-size: clamp(43px, 9vw, 61px); }
  .hero-description { margin: 16px auto 24px; }
  .orbit-token, .orbit-line, .orb-small-left, .orb-small-right, .orb-dot { display: none; }
  .orbit-btc, .orbit-sol, .orbit-usdc, .orbit-kst { display: grid; --token-size: 34px; }
  .orbit-btc, .orbit-sol { top: 5px; }
  .orbit-usdc, .orbit-kst { top: auto; bottom: 9px; }
  .orbit-btc, .orbit-usdc { left: 9%; }
  .orbit-sol, .orbit-kst { right: 9%; }
  .orb-left { top: 127px; left: -133px; opacity: .21; }
  .orb-right { top: 356px; right: -153px; opacity: .25; }
  .below-hero { width: calc(100% - 32px); padding-block: 46px; }
  .explore-section { grid-template-columns: 1fr; gap: 22px; }
  .resource-card { padding: 14px; }
  .resource-arrow { top: 14px; right: 14px; }
  .pair-presets { grid-template-columns: 1fr; margin-top: 18px; }
  .footer { width: calc(100% - 32px); }
}

@media (max-width: 360px) {
  .hero h1 { font-size: 39px; }
  .pair-panel { padding-inline: 12px; }
  .swap-widget { padding: 10px; }
  .token-choice select { min-width: 99px; }
}

.chain { color: var(--blue); }
.button {
  display: inline-flex;
  min-width: 152px;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 550;
}
.primary { color: var(--white); background: var(--blue); }
.archive-page { min-height: 100svh; background: #f8faff; }
.archive-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 14px clamp(16px, 4vw, 52px);
  background: white;
  border-bottom: 1px solid var(--border);
}
.archive-header nav { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.archive-header nav a { display: inline-flex; min-height: 32px; align-items: center; }
.archive-content { max-width: 880px; margin: 0 auto; padding: 48px 20px; line-height: 1.65; }
.archive-content h1 { font-size: clamp(30px, 6vw, 52px); line-height: 1.15; }
.archive-content h2 { margin-top: 32px; line-height: 1.2; }
.archive-content :where(li, p) { overflow-wrap: anywhere; }
.archive-content table { display: block; max-width: 100%; overflow-x: auto; border-collapse: collapse; }
.archive-content td, .archive-content th { border: 1px solid var(--border); padding: 8px; }
.archive-content pre { overflow-x: auto; padding: 12px; background: #edf2fb; }
.archive-content img { max-width: 100%; height: auto; }
.breadcrumbs { color: var(--muted); font-size: 14px; overflow-wrap: anywhere; }
.guide-links a { display: inline-flex; align-items: center; min-height: 32px; max-width: 100%; }
.docs-banner { display: block; border-radius: 12px; margin: 20px 0; }
.universe-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(160px, 100%), 1fr));
  gap: 14px;
  list-style: none;
  padding: 0;
}
.universe-gallery a { display: block; }
.universe-gallery img { display: block; width: 100%; border-radius: 12px; }
.note { padding: 12px 16px; border-radius: 8px; background: #eef3ff; color: #253354; }
.exchange { background: var(--white); }
.exchange .archive-content { text-align: center; }
.exchange .archive-content > p { margin-inline: auto; max-width: 62ch; }
.exchange h1 .chain { font-size: inherit; }
.app-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
  padding: 6px clamp(16px, 4vw, 52px);
  border-bottom: 1px solid var(--border);
}
.app-tabs a { display: inline-flex; align-items: center; min-height: 34px; color: var(--muted); }
.app-tabs a[aria-current] { color: var(--blue); font-weight: 650; }
.swap-card {
  margin: 32px auto 18px;
  max-width: 524px;
  border-radius: 26px;
  background: white;
  border: 1px solid var(--border);
  padding: 22px;
  text-align: left;
}
.swap-card h2 { margin: 16px 0; font-size: 20px; }
.swap-card > a { display: block; text-align: center; }
.swap-status { margin: 16px 0 0; color: var(--muted); font-size: 14px; }
.token-panel div > span { overflow-wrap: anywhere; }
.token-panel { margin: 12px 0; padding: 14px 18px; border: 1px solid #e7ebf5; border-radius: 18px; }
.token-panel div { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 8px; font-size: 22px; }
.token-panel span, .token-panel small { color: var(--muted); }
.swap-direction { display: block; text-align: center; }
.faucet-title { margin: 0; padding: 78px 20px 34px; background: #0b2ff0; color: #fff; text-align: center; font-size: clamp(25px, 4vw, 38px); }

