body.subpage {
  min-height: 100svh;
}

.about-ref {
  display: grid;
  gap: 24px;
}

.about-ref-hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: center;
}

.about-ref-hero-copy {
  display: grid;
  gap: 12px;
}

.about-ref-hero-copy h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(44px, 5vw, 74px);
  line-height: 1.06;
  letter-spacing: -0.03em;
  font-weight: 500;
}

.about-ref-hero-copy p {
  margin: 0;
  color: #9a9a9a;
  font-size: 16px;
  line-height: 1.55;
}

.about-ref-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #8f8f98;
  font-size: 14px;
  line-height: 1.4;
}

.about-ref-breadcrumb a:hover,
.about-ref-breadcrumb a:focus-visible {
  color: #fff;
}

.about-ref-orbit {
  min-height: 320px;
  border-radius: 20px;
  border: 1px solid rgba(79, 90, 124, 0.35);
  background: #121212;
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
  padding: 20px;
}

.about-ref-orbit img {
  width: min(280px, 82%);
  height: auto;
  display: block;
  filter: brightness(1.08);
}

.about-ref-orbit-ring {
  position: absolute;
  inset: 12%;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.22);
  pointer-events: none;
}

.about-ref-story {
  border-radius: 22px;
  border: 1px solid rgba(79, 90, 124, 0.35);
  background: #121212;
  padding: 20px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 20px;
  align-items: stretch;
}

.about-ref-story-media {
  min-height: 430px;
  border-radius: 16px;
  overflow: hidden;
  display: block;
}

.about-ref-story-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 12px;
}

.about-ref-story-copy {
  border-radius: 16px;
  background: #191b21;
  padding: 26px;
  display: grid;
  align-content: center;
  gap: 12px;
}

.about-ref-story-copy h2 {
  margin: 0;
  color: #f2f2f4;
  font-size: clamp(36px, 4vw, 54px);
  line-height: 1.1;
  letter-spacing: -0.03em;
  font-weight: 500;
}

.about-ref-story-copy p {
  margin: 0;
  color: #9a9aa2;
  font-size: 16px;
  line-height: 1.55;
}

.about-ref-story-copy ul {
  margin: 0;
  padding-left: 20px;
  display: grid;
  gap: 6px;
  color: #b0b0b8;
  font-size: 15px;
  line-height: 1.45;
}

.about-ref-impact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 560px);
  gap: 20px;
  align-items: start;
}

.about-ref-impact-copy {
  display: grid;
  gap: 12px;
}

.about-ref-impact-copy h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(38px, 4vw, 60px);
  line-height: 1.08;
  letter-spacing: -0.03em;
  font-weight: 500;
}

.about-ref-impact-copy p {
  margin: 0;
  color: #9a9a9a;
  font-size: 16px;
  line-height: 1.55;
}

.about-ref-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.about-ref-metric {
  border-radius: 16px;
  border: 1px solid rgba(79, 90, 124, 0.35);
  background: #121212;
  min-height: 160px;
  padding: 18px;
  display: grid;
  align-content: center;
  gap: 6px;
}

.about-ref-metric-value {
  margin: 0;
  color: #fff;
  font-size: clamp(42px, 4vw, 62px);
  line-height: 1;
  letter-spacing: -0.03em;
  font-weight: 500;
}

.about-ref-metric-label {
  margin: 0;
  color: #898996;
  font-size: 14px;
  line-height: 1.45;
}

.about-team {
  display: grid;
  gap: 14px;
}

.about-team-head {
  width: min(900px, 100%);
  display: grid;
  gap: 10px;
}

.about-team-head h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(38px, 4vw, 58px);
  line-height: 1.08;
  letter-spacing: -0.03em;
  font-weight: 500;
}

.about-team-head p {
  margin: 0;
  color: #9a9a9a;
  font-size: 16px;
  line-height: 1.55;
}

.about-team-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.team-card {
  border-radius: 16px;
  border: 1px solid rgba(79, 90, 124, 0.35);
  background:
    radial-gradient(95% 70% at 85% 0%, rgba(191, 209, 255, 0.08), rgba(0, 0, 0, 0) 75%),
    #121212;
  padding: 20px;
  display: grid;
  align-content: start;
  gap: 12px;
  min-height: 420px;
}

.team-card-head {
  display: flex;
  align-items: center;
  gap: 14px;
}

.team-card-head img {
  width: 112px;
  height: 112px;
  border-radius: 50%;
  border: 1px solid rgba(79, 90, 124, 0.4);
  background: #0f1117;
  object-fit: cover;
  display: block;
  flex-shrink: 0;
}

.team-card-title {
  display: grid;
  gap: 4px;
}

.team-card-title h3 {
  margin: 0;
  color: #f2f2f4;
  font-size: clamp(20px, 1.8vw, 28px);
  line-height: 1.15;
  letter-spacing: -0.015em;
  font-weight: 500;
}

.team-card-title p {
  margin: 0;
  color: #b9bac2;
  font-size: 18px;
  line-height: 1.25;
}

.team-card > p {
  margin: 0;
  color: #a6a7af;
  font-size: 15px;
  line-height: 1.52;
}

.team-card > p strong {
  color: #e5e6eb;
  font-weight: 500;
}

.about-ref-banner {
  border-radius: 22px;
  border: 1px solid rgba(79, 90, 124, 0.35);
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(10, 10, 10, 0.45) 0%, rgba(10, 10, 10, 0.75) 100%),
    url("assets/Images and cards/Hero section mobile.svg") center / cover no-repeat;
}

.about-ref-banner-inner {
  min-height: 300px;
  display: grid;
  align-content: center;
  justify-items: center;
  text-align: center;
  gap: 12px;
  padding: 36px 22px;
}

.about-ref-banner-inner h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.03em;
  font-weight: 500;
}

.about-ref-banner-inner p {
  margin: 0;
  max-width: 760px;
  color: #dbdbe2;
  font-size: 16px;
  line-height: 1.55;
}

.roadmap-main {
  display: grid;
  gap: 20px;
}

.roadmap-header {
  width: min(920px, 100%);
  display: grid;
  gap: 12px;
}

.roadmap-header h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(42px, 5vw, 72px);
  line-height: 1.06;
  letter-spacing: -0.03em;
  font-weight: 500;
}

.roadmap-header p {
  margin: 0;
  color: #9a9a9a;
  font-size: 16px;
  line-height: 1.55;
}

.roadmap-board {
  border-radius: 20px;
  border: 1px solid rgba(79, 90, 124, 0.38);
  background: #101114;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(300px, 440px) minmax(260px, 1fr);
  grid-template-rows: repeat(3, minmax(180px, 1fr));
}

.roadmap-slot {
  padding: 20px;
}

.roadmap-slot--left {
  grid-column: 1;
  border-right: 1px solid rgba(79, 90, 124, 0.3);
}

.roadmap-slot--right {
  grid-column: 3;
  border-left: 1px solid rgba(79, 90, 124, 0.3);
}

.roadmap-slot--l1,
.roadmap-slot--r1 {
  grid-row: 1;
  border-bottom: 1px solid rgba(79, 90, 124, 0.3);
}

.roadmap-slot--l2,
.roadmap-slot--r2 {
  grid-row: 2;
  border-bottom: 1px solid rgba(79, 90, 124, 0.3);
}

.roadmap-slot--l3,
.roadmap-slot--r3 {
  grid-row: 3;
}

.roadmap-side-card {
  height: 100%;
  border-radius: 14px;
  border: 1px solid rgba(79, 90, 124, 0.35);
  background: rgba(15, 16, 21, 0.9);
  padding: 18px;
  display: grid;
  align-content: center;
  gap: 8px;
}

.roadmap-side-card h2 {
  margin: 0;
  color: #dadade;
  font-size: 32px;
  line-height: 1.12;
  letter-spacing: 0.01em;
  font-weight: 500;
}

.roadmap-side-card p {
  margin: 0;
  color: #7e7f8a;
  font-size: 15px;
  line-height: 1.45;
}

.roadmap-side-card--muted {
  opacity: 0.82;
}

.roadmap-core {
  grid-column: 2;
  grid-row: 1 / span 3;
  border-left: 1px solid rgba(79, 90, 124, 0.3);
  border-right: 1px solid rgba(79, 90, 124, 0.3);
  padding: 24px 20px;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 18px;
  position: relative;
}

.roadmap-core-line {
  position: absolute;
  top: 24px;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  background: repeating-linear-gradient(
    to bottom,
    rgba(137, 146, 179, 0.35) 0 8px,
    rgba(137, 146, 179, 0) 8px 16px
  );
}

.roadmap-node {
  width: min(220px, 100%);
  aspect-ratio: 1 / 1;
  border-radius: 28px;
  border: 1px solid rgba(123, 136, 176, 0.45);
  background:
    radial-gradient(85% 80% at 80% 0%, rgba(197, 217, 255, 0.18), rgba(0, 0, 0, 0) 70%),
    linear-gradient(160deg, #1a1d24 0%, #111217 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 16px 34px rgba(0, 0, 0, 0.35);
  display: grid;
  justify-items: center;
  align-content: center;
  text-align: center;
  gap: 9px;
  position: relative;
  z-index: 1;
}

.roadmap-node::after {
  content: "";
  position: absolute;
  left: 16%;
  right: 16%;
  bottom: -14px;
  height: 16px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.42);
  filter: blur(1.5px);
  z-index: -1;
}

.roadmap-node-icon {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: #11141b;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.roadmap-node-icon img {
  width: 26px;
  height: 26px;
  display: block;
  opacity: 0.88;
}

.roadmap-node p {
  margin: 0;
  color: #d8d8de;
  font-size: 13px;
  line-height: 1.35;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.roadmap-cta {
  border-radius: 20px;
  border: 1px solid rgba(79, 90, 124, 0.35);
  background: #121212;
  padding: 24px;
  display: grid;
  gap: 10px;
  justify-items: start;
}

.roadmap-cta h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(30px, 3vw, 42px);
  line-height: 1.12;
  letter-spacing: -0.03em;
  font-weight: 500;
}

.roadmap-cta p {
  margin: 0;
  color: #9a9a9a;
  font-size: 16px;
  line-height: 1.5;
}

@media (max-width: 1200px) {
  .about-ref-hero {
    grid-template-columns: 1fr;
  }

  .about-ref-story {
    grid-template-columns: 1fr;
  }

  .about-ref-impact {
    grid-template-columns: 1fr;
  }

  .about-team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .roadmap-board {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .roadmap-core {
    grid-column: 1;
    grid-row: auto;
    border-left: 0;
    border-right: 0;
    border-top: 1px solid rgba(79, 90, 124, 0.3);
    border-bottom: 1px solid rgba(79, 90, 124, 0.3);
    padding: 26px 16px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .roadmap-core-line {
    display: none;
  }

  .roadmap-node {
    width: 100%;
    max-width: 100%;
  }

  .roadmap-slot--left,
  .roadmap-slot--right {
    grid-column: 1;
    border-left: 0;
    border-right: 0;
  }

  .roadmap-slot--l1,
  .roadmap-slot--r1,
  .roadmap-slot--l2,
  .roadmap-slot--r2 {
    border-bottom: 1px solid rgba(79, 90, 124, 0.3);
  }

  .roadmap-slot--l1,
  .roadmap-slot--r1,
  .roadmap-slot--l2,
  .roadmap-slot--r2,
  .roadmap-slot--l3,
  .roadmap-slot--r3 {
    grid-row: auto;
  }
}

@media (max-width: 980px) {
  .about-ref {
    gap: 14px;
  }

  .about-ref-hero-copy h1,
  .roadmap-header h1 {
    font-size: clamp(36px, 11vw, 52px);
  }

  .about-ref-hero-copy p,
  .about-ref-story-copy p,
  .about-ref-impact-copy p,
  .about-team-head p,
  .roadmap-header p,
  .roadmap-cta p {
    font-size: 14px;
  }

  .about-ref-story {
    padding: 12px;
    border-radius: 16px;
  }

  .about-ref-story-media {
    min-height: 260px;
  }

  .about-ref-story-copy {
    padding: 18px;
  }

  .about-ref-story-copy h2 {
    font-size: clamp(30px, 9vw, 38px);
  }

  .about-ref-story-copy ul {
    font-size: 14px;
  }

  .about-ref-metrics {
    grid-template-columns: 1fr;
  }

  .about-ref-metric {
    min-height: 0;
  }

  .about-ref-metric-value {
    font-size: clamp(34px, 12vw, 48px);
  }

  .about-team-head h2 {
    font-size: clamp(30px, 9vw, 42px);
  }

  .about-team-grid {
    grid-template-columns: 1fr;
  }

  .team-card {
    min-height: 0;
    gap: 12px;
  }

  .team-card-head img {
    width: 88px;
    height: 88px;
  }

  .team-card-title h3 {
    font-size: clamp(22px, 7vw, 30px);
  }

  .team-card-title p,
  .team-card > p {
    font-size: 14px;
  }

  .about-ref-banner-inner {
    min-height: 250px;
    padding: 24px 14px;
  }

  .about-ref-banner-inner h2 {
    font-size: clamp(30px, 10vw, 42px);
  }

  .roadmap-board {
    border-radius: 16px;
  }

  .roadmap-slot {
    padding: 12px;
  }

  .roadmap-side-card {
    border-radius: 12px;
    padding: 14px;
  }

  .roadmap-side-card h2 {
    font-size: 24px;
  }

  .roadmap-side-card p {
    font-size: 14px;
  }

  .roadmap-core {
    grid-template-columns: 1fr;
  }

  .roadmap-node {
    aspect-ratio: 1.25 / 1;
  }

  .roadmap-cta {
    border-radius: 16px;
    padding: 18px;
  }
}

body.with-square-pattern::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background-image:
    linear-gradient(to right, rgba(76, 86, 108, 0.13) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(76, 86, 108, 0.13) 1px, transparent 1px);
  background-size: 24px 24px;
  opacity: 0.42;
}

body.product-grid-pattern.with-square-pattern::before {
  display: none;
}

body.with-square-pattern::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background:
    radial-gradient(65% 45% at 50% 0%, rgba(174, 196, 255, 0.12), rgba(0, 0, 0, 0) 72%),
    radial-gradient(55% 40% at 85% 30%, rgba(174, 196, 255, 0.08), rgba(0, 0, 0, 0) 72%),
    radial-gradient(50% 40% at 15% 70%, rgba(174, 196, 255, 0.06), rgba(0, 0, 0, 0) 72%);
}

body.product-grid-pattern.with-square-pattern::after {
  z-index: 0;
  opacity: 0.78;
}

.subpage-main {
  width: min(1600px, calc(100% - 40px));
  margin: 0 auto;
  padding-top: 170px;
  padding-bottom: 80px;
  position: relative;
  z-index: 1;
}

.bridge-main {
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(320px, 420px) minmax(520px, 1fr);
  align-items: start;
  gap: 32px;
}

.bridge-wrap {
  width: min(760px, 100%);
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
}

.bridge-intro {
  position: sticky;
  top: 156px;
  display: grid;
  gap: 14px;
}

.bridge-kicker {
  margin: 0;
  color: #8b8b8b;
  font-size: 12px;
  line-height: 18px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.bridge-intro h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(32px, 4vw, 54px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-weight: 500;
}

.bridge-intro p {
  margin: 0;
  color: #9a9a9a;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: -0.01em;
}

.bridge-contract {
  margin: 0;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(88, 104, 145, 0.36);
  background: rgba(12, 13, 18, 0.7);
  color: #c8c9d3;
  font-size: 13px;
  line-height: 1.45;
  letter-spacing: 0.01em;
  overflow-wrap: anywhere;
}

.bridge-contract strong {
  color: #f1f2f7;
  font-weight: 500;
}

.bridge-contract span {
  color: #d4d6e2;
}

.swap-card {
  width: min(600px, 100%);
  border-radius: 22px;
  border: 1px solid rgba(88, 104, 145, 0.34);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.42);
  background: #121212;
  padding: 22px;
  display: grid;
  gap: 14px;
}

.swap-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
}

.swap-card-header img {
  width: 26px;
  height: 20px;
  display: block;
}

.swap-card-header h2 {
  margin: 0;
  color: #fff;
  font-size: 30px;
  line-height: 1.2;
  font-weight: 600;
}

.swap-card-subtitle {
  color: #7f7f88;
  font-size: 15px;
  line-height: 1.4;
}

.swap-form {
  display: grid;
  gap: 12px;
}

.swap-box {
  background: #0a0a0d;
  border: 1px solid rgba(84, 95, 131, 0.36);
  border-radius: 14px;
  padding: 12px;
  display: grid;
  gap: 12px;
}

.swap-row-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.swap-label {
  color: #6f6f7c;
  font-size: 12px;
  line-height: 1.4;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.swap-status {
  color: #868697;
  font-size: 12px;
  line-height: 1.4;
}

.swap-form.is-connected #walletState {
  color: #80d9a8;
}

.swap-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.swap-control {
  display: grid;
  gap: 6px;
}

.swap-control span {
  color: #7e7e88;
  font-size: 12px;
  line-height: 1.4;
}

.swap-select-shell {
  position: relative;
  display: block;
}

.swap-select-icon {
  width: 20px;
  height: 20px;
  border-radius: 999px;
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  object-fit: contain;
  pointer-events: none;
}

.swap-control select {
  width: 100%;
  height: 44px;
  border: 1px solid #434354;
  border-radius: 30px;
  background: #0f0f13;
  color: #f5f5f8;
  padding: 0 14px 0 42px;
  font-size: 15px;
  line-height: 1.3;
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, #b8b8c5 50%),
    linear-gradient(135deg, #b8b8c5 50%, transparent 50%);
  background-position:
    calc(100% - 17px) calc(50% - 2px),
    calc(100% - 12px) calc(50% - 2px);
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}

.swap-control select:focus-visible {
  outline: 1px solid rgba(255, 255, 255, 0.5);
  outline-offset: 1px;
}

.swap-amount-field {
  display: grid;
  gap: 6px;
}

.swap-amount-field span {
  color: #7e7e88;
  font-size: 12px;
  line-height: 1.4;
}

.swap-amount-field input {
  width: 100%;
  height: 52px;
  border: 1px solid #434354;
  border-radius: 30px;
  background: #0f0f13;
  color: #fff;
  padding: 0 16px;
  font-variant-numeric: tabular-nums;
  font-size: 28px;
  line-height: 1;
}

.swap-amount-field input::placeholder {
  color: rgba(255, 255, 255, 0.28);
}

.swap-presets {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.swap-preset {
  height: 30px;
  min-width: 64px;
  border-radius: 999px;
  border: 1px solid #3a3a44;
  background: #15151d;
  color: #f0f0f4;
  padding: 0 12px;
  font-size: 13px;
  cursor: pointer;
}

.swap-preset:hover,
.swap-preset:focus-visible {
  background: #1e1e29;
}

.swap-switch {
  margin: -2px auto;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  border: 1px solid rgba(97, 111, 154, 0.5);
  background: #13131b;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.swap-switch img {
  width: 20px;
  height: 20px;
}

.swap-quote-value {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}

.swap-quote-value span {
  color: #7e7e88;
  font-size: 16px;
  line-height: 1.3;
}

.swap-quote-value strong {
  margin: 0;
  color: #fff;
  font-size: 40px;
  line-height: 1;
  font-weight: 500;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

.swap-quote {
  border: 1px solid rgba(83, 95, 133, 0.26);
  border-radius: 14px;
  background: #101015;
  padding: 12px;
  display: grid;
  gap: 8px;
}

.swap-quote p {
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.swap-quote span {
  color: #878796;
  font-size: 13px;
}

.swap-quote strong {
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}

.swap-connect {
  height: 48px;
  border: 0;
  border-radius: 48px;
  background: #e2e2e2;
  color: #000;
  font-size: 16px;
  line-height: 1.5;
  font-weight: 600;
  cursor: pointer;
}

.swap-connect:hover,
.swap-connect:focus-visible {
  filter: brightness(1.04);
}

body.wallet-modal-open {
  overflow: hidden;
}

.wallet-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 400;
  background: rgba(8, 9, 14, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  pointer-events: none;
  display: grid;
  place-items: center;
  padding: 18px;
  transition: opacity 0.22s ease;
}

.wallet-modal-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

.wallet-modal {
  width: min(560px, 100%);
  max-height: calc(100svh - 36px);
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid rgba(88, 100, 138, 0.5);
  background: linear-gradient(180deg, #1a1b26 0%, #171820 100%);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.6);
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
}

.wallet-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 20px 22px 14px;
}

.wallet-modal-head h2 {
  margin: 0;
  color: #f6f7ff;
  font-size: 38px;
  line-height: 1.1;
  letter-spacing: -0.03em;
  font-weight: 500;
}

.wallet-modal-close {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(120, 135, 180, 0.55);
  background: #12141c;
  color: #e8ebff;
  font-size: 23px;
  line-height: 1;
  cursor: pointer;
}

.wallet-modal-list {
  margin: 0;
  padding: 0;
  list-style: none;
  overflow-y: auto;
}

.wallet-option {
  width: 100%;
  border: 0;
  background: transparent;
  color: #f1f2f7;
  padding: 12px 22px;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  text-align: left;
  cursor: pointer;
}

.wallet-option:hover,
.wallet-option:focus-visible {
  background: rgba(140, 150, 188, 0.16);
}

.wallet-option-main {
  display: grid;
  gap: 2px;
}

.wallet-option-name {
  color: #eceff8;
  font-size: 18px;
  line-height: 1.2;
  font-weight: 500;
}

.wallet-option-sub {
  color: #8f91a2;
  font-size: 13px;
  line-height: 1.35;
}

.wallet-option-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 0;
  overflow: visible;
  flex: none;
}

.wallet-option-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.wallet-option.is-loading {
  opacity: 0.72;
  pointer-events: none;
}

.wallet-option.is-loading .wallet-option-name::after {
  content: " · connecting...";
  color: #9ca0b5;
  font-size: 14px;
  font-weight: 400;
}

.wallet-modal-status {
  margin: 0;
  padding: 14px 22px 16px;
  border-top: 1px solid rgba(130, 145, 188, 0.25);
  color: #8c90a2;
  font-size: 14px;
  line-height: 1.45;
  min-height: 54px;
}

.wallet-modal-status.is-loading {
  color: #d8ddff;
}

.wallet-connect-toast {
  position: fixed;
  top: 14px;
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  z-index: 450;
  width: min(760px, calc(100% - 20px));
  border-radius: 12px;
  border: 1px solid rgba(182, 74, 74, 0.55);
  background: rgba(36, 13, 13, 0.95);
  color: #ffd1d1;
  padding: 12px 16px;
  font-size: 14px;
  line-height: 1.45;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.wallet-connect-toast.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.ecosystem-main {
  display: grid;
  gap: 40px;
}

.ecosystem-header {
  width: min(670px, 100%);
  display: grid;
  gap: 12px;
}

.ecosystem-kicker {
  margin: 0;
  color: #747373;
  font-size: 14px;
  line-height: 20px;
  letter-spacing: 1.3px;
  text-transform: uppercase;
}

.ecosystem-title {
  margin: 0;
  color: #fff;
  font-size: clamp(36px, 4vw, 56px);
  line-height: 1.2;
  letter-spacing: -1.5px;
  font-weight: 500;
}

.ecosystem-copy {
  margin: 0;
  color: #a0a0a0;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: -0.3px;
}

.ecosystem-ctas {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}

.ecosystem-ctas .pill {
  min-height: 44px;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: -0.3px;
  font-weight: 500;
  padding: 10px 20px;
}

.pill--tertiary {
  padding: 10px 20px;
  min-height: 44px;
  background: #242424;
  color: #e2e2e2;
  font-size: 21px;
  line-height: 24px;
  letter-spacing: -0.3px;
  font-weight: 500;
}

.ecosystem-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.ecosystem-metric {
  border-radius: 18px;
  border: 1px solid rgba(79, 90, 124, 0.35);
  background: #121212;
  padding: 18px 20px;
  display: grid;
  gap: 4px;
}

.ecosystem-metric-value {
  margin: 0;
  color: #fff;
  font-size: clamp(30px, 3vw, 42px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-weight: 500;
}

.ecosystem-metric-label {
  margin: 0;
  color: #878792;
  font-size: 14px;
  line-height: 1.42;
}

.ecosystem-tracks {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.ecosystem-track {
  border-radius: 20px;
  border: 1px solid rgba(79, 90, 124, 0.35);
  background: #121212;
  padding: 24px;
  display: grid;
  align-content: start;
  gap: 10px;
}

.ecosystem-track h2 {
  margin: 0;
  color: #f2f2f4;
  font-size: 28px;
  line-height: 1.2;
  letter-spacing: -0.02em;
  font-weight: 500;
}

.ecosystem-track p {
  margin: 0;
  color: #8f8f98;
  font-size: 16px;
  line-height: 1.5;
}

.ecosystem-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px 19px;
}

.ecosystem-card {
  min-height: 445px;
  background: #121212;
  border: 1px solid rgba(28, 28, 28, 0.1);
  border-radius: 20px;
  padding: 33px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  text-align: center;
  gap: 24px;
}

.ecosystem-logo {
  width: 100%;
  min-height: 96px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 36px;
  line-height: 1;
  letter-spacing: 0.02em;
  font-weight: 700;
  text-transform: uppercase;
}

.ecosystem-logo img {
  max-width: 220px;
  max-height: 70px;
  width: auto;
  height: auto;
  display: block;
}

.ecosystem-logo--word {
  font-size: clamp(28px, 2vw, 34px);
  font-weight: 600;
}

.ecosystem-logo--small {
  font-size: 31px;
}

.ecosystem-desc {
  margin: 0;
  color: #787878;
  font-size: 16px;
  line-height: 1.5;
}

.ecosystem-tags {
  margin: 0;
  color: #787878;
  font-size: 16px;
  line-height: 1.5;
}

.ecosystem-use {
  min-height: 42px;
  padding: 8px 16px;
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
}

.ecosystem-use--static {
  border: 0;
  font-family: inherit;
  cursor: default;
  pointer-events: none;
}

.ecosystem-process {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.ecosystem-process-card {
  border-radius: 20px;
  border: 1px solid rgba(79, 90, 124, 0.35);
  background: #121212;
  padding: 24px;
  display: grid;
  gap: 12px;
}

.ecosystem-process-card h2 {
  margin: 0;
  color: #f2f2f4;
  font-size: 30px;
  line-height: 1.2;
  letter-spacing: -0.02em;
  font-weight: 500;
}

.ecosystem-process-card ol,
.ecosystem-process-card ul {
  margin: 0;
  padding-left: 21px;
  display: grid;
  gap: 6px;
  color: #8f8f98;
  font-size: 16px;
  line-height: 1.45;
}

.support-main {
  display: grid;
  gap: 20px;
  min-height: 100svh;
  padding-bottom: 70px;
}

.support-faq {
  display: grid;
  gap: 14px;
}

.support-faq-header {
  width: min(860px, 100%);
  display: grid;
  gap: 10px;
}

.support-faq-kicker {
  margin: 0;
  color: #7f7f8c;
  font-size: 13px;
  line-height: 20px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.support-faq-header h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1.12;
  letter-spacing: -0.03em;
  font-weight: 500;
}

.support-faq-header p {
  margin: 0;
  color: #9a9a9a;
  font-size: 16px;
  line-height: 1.5;
}

.support-faq-list {
  display: grid;
  gap: 10px;
}

.support-faq-item {
  border-radius: 16px;
  border: 1px solid rgba(79, 90, 124, 0.35);
  background: #121212;
  overflow: hidden;
}

.support-faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 16px 20px;
  color: #f2f2f4;
  font-size: 18px;
  line-height: 1.4;
  font-weight: 500;
  position: relative;
}

.support-faq-item summary::-webkit-details-marker {
  display: none;
}

.support-faq-item summary::after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: #9fa2b4;
  font-size: 24px;
  line-height: 1;
}

.support-faq-item[open] summary::after {
  content: "-";
}

.support-faq-item p {
  margin: 0;
  padding: 0 20px 16px;
  color: #8f8f98;
  font-size: 15px;
  line-height: 1.5;
}

.support-layout {
  width: 100%;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: stretch;
}

.support-copy {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 30px;
}

.support-copy h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1.2;
  letter-spacing: -1.5px;
  font-weight: 500;
}

.support-copy h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(30px, 3vw, 42px);
  line-height: 1.2;
  letter-spacing: -0.03em;
  font-weight: 500;
}

.support-bullets {
  margin: 0;
  padding-left: 24px;
  color: #7f7f7f;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: -0.3px;
}

.support-socials {
  display: flex;
  align-items: center;
  gap: 24px;
}

.support-socials img {
  width: 24px;
  height: 24px;
  display: block;
}

.support-form {
  border-radius: 24px;
  background: #121212;
  padding: 32px;
  display: grid;
  gap: 20px;
}

.support-field {
  display: grid;
  gap: 8px;
}

.support-field label {
  color: #a0a0a0;
  font-size: 14px;
  line-height: 20px;
  letter-spacing: -0.2px;
  font-weight: 500;
}

.support-field input,
.support-field textarea {
  border: 0;
  border-radius: 12px;
  background: #1c1c1c;
  color: #e2e2e2;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: -0.3px;
  font-family: inherit;
  padding: 8px 12px;
}

.support-field textarea {
  min-height: 144px;
  resize: vertical;
}

.support-field input::placeholder,
.support-field textarea::placeholder {
  color: rgba(226, 226, 226, 0.3);
}

.support-submit {
  width: 100%;
  border: 0;
  cursor: pointer;
  min-height: 44px;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: -0.3px;
  font-weight: 500;
}

.blog-main {
  display: grid;
  gap: 26px;
}

.blog-header {
  width: min(760px, 100%);
  display: grid;
  gap: 12px;
}

.blog-kicker {
  margin: 0;
  color: #7f7f8c;
  font-size: 13px;
  line-height: 20px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.blog-header h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(36px, 4vw, 56px);
  line-height: 1.12;
  letter-spacing: -0.03em;
  font-weight: 500;
}

.blog-header p {
  margin: 0;
  color: #9a9a9a;
  font-size: 16px;
  line-height: 1.5;
}

.blog-backlink {
  width: fit-content;
  color: #d2d2d8;
  font-size: 14px;
  line-height: 1.4;
  border-bottom: 1px solid rgba(210, 210, 216, 0.5);
  padding-bottom: 2px;
}

.blog-backlink:hover,
.blog-backlink:focus-visible {
  color: #fff;
  border-bottom-color: rgba(255, 255, 255, 0.8);
}

.blog-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}

.blog-filters {
  position: sticky;
  top: 158px;
  display: grid;
  gap: 8px;
}

.blog-filter {
  height: 40px;
  border-radius: 999px;
  border: 1px solid #33343f;
  background: #101015;
  color: #d2d2d8;
  text-align: left;
  padding: 0 14px;
  font-size: 14px;
  cursor: pointer;
}

.blog-filter.is-active,
.blog-filter:hover,
.blog-filter:focus-visible {
  border-color: #5a658d;
  background: #1a1c27;
  color: #fff;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.blog-card {
  border-radius: 20px;
  border: 1px solid rgba(79, 90, 124, 0.35);
  background: #121212;
  overflow: hidden;
  transition: opacity 0.28s ease, transform 0.28s ease;
}

.blog-card.is-hidden {
  opacity: 0;
  transform: scale(0.98);
  pointer-events: none;
  display: none;
}

.blog-card-media {
  height: 176px;
  position: relative;
  overflow: hidden;
  background-color: #11121a;
}

.blog-card-media::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(40% 70% at 88% 0%, rgba(210, 225, 255, 0.6), rgba(210, 225, 255, 0) 75%),
    radial-gradient(75% 110% at 18% 100%, rgba(133, 157, 220, 0.3), rgba(133, 157, 220, 0) 75%);
}

.blog-card-media--chart {
  background-image: linear-gradient(120deg, #111, #1d2434);
}

.blog-card-media--shield {
  background-image: linear-gradient(120deg, #111, #232530);
}

.blog-card-media--ecosystem {
  background-image: linear-gradient(120deg, #111822, #202b44);
}

.blog-card-media--dev {
  background-image: linear-gradient(120deg, #0f1218, #242a38);
}

.blog-card-media--flow {
  background-image: linear-gradient(120deg, #111, #182035);
}

.blog-card-media--ops {
  background-image: linear-gradient(120deg, #131313, #272734);
}

.blog-card-media--launch {
  background-image: linear-gradient(120deg, #0f1422, #26314f);
}

.blog-card-content {
  padding: 18px 18px 20px;
  display: grid;
  gap: 10px;
}

.blog-card-meta {
  color: #8b8b97;
  font-size: 13px;
}

.blog-card-content h2 {
  margin: 0;
  color: #f2f2f4;
  font-size: 25px;
  line-height: 1.2;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.blog-card-content p {
  margin: 0;
  color: #8a8a90;
  font-size: 15px;
  line-height: 1.45;
}

.blog-card-link {
  width: fit-content;
  color: #fff;
  font-size: 14px;
  line-height: 1.4;
  padding-bottom: 1px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.45);
}

.blog-articles {
  margin-top: 6px;
  display: grid;
  gap: 12px;
}

.blog-article {
  border-radius: 20px;
  border: 1px solid rgba(79, 90, 124, 0.35);
  background: #121212;
  padding: 26px;
  display: grid;
  gap: 10px;
}

.blog-article-meta {
  margin: 0;
  color: #8b8b97;
  font-size: 13px;
}

.blog-article h2 {
  margin: 0;
  color: #f2f2f4;
  font-size: clamp(28px, 3vw, 36px);
  line-height: 1.15;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.blog-article p {
  margin: 0;
  color: #9a9aa2;
  font-size: 16px;
  line-height: 1.55;
}

.blog-article--page {
  max-width: 920px;
}

.about-main {
  display: grid;
  gap: 20px;
}

.about-hero {
  width: min(820px, 100%);
  display: grid;
  gap: 12px;
}

.about-kicker {
  margin: 0;
  color: #7f7f8c;
  font-size: 13px;
  line-height: 20px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.about-hero h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(36px, 4vw, 56px);
  line-height: 1.12;
  letter-spacing: -0.03em;
  font-weight: 500;
}

.about-hero p {
  margin: 0;
  color: #9a9a9a;
  font-size: 16px;
  line-height: 1.5;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.about-card {
  border-radius: 20px;
  border: 1px solid rgba(79, 90, 124, 0.35);
  background: #121212;
  padding: 24px;
  display: grid;
  align-content: start;
  gap: 10px;
}

.about-card h2 {
  margin: 0;
  color: #f2f2f4;
  font-size: 28px;
  line-height: 1.2;
  letter-spacing: -0.02em;
  font-weight: 500;
}

.about-card p,
.about-card li {
  margin: 0;
  color: #8f8f98;
  font-size: 16px;
  line-height: 1.5;
}

.about-card ul {
  margin: 0;
  padding-left: 20px;
  display: grid;
  gap: 4px;
}

.legal-main {
  display: grid;
  gap: 56px;
}

.legal-hero {
  display: grid;
}

.legal-hero-card {
  border-radius: 18px;
  border: 1px solid rgba(79, 90, 124, 0.35);
  background: #121212;
  min-height: 260px;
  padding: 36px 28px;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 10px;
  text-align: center;
}

.legal-updated {
  margin: 0;
  color: #72727d;
  font-size: 12px;
  line-height: 1.45;
}

.legal-title {
  margin: 0;
  color: #f4f4f6;
  font-size: clamp(36px, 4vw, 56px);
  line-height: 1.08;
  letter-spacing: -0.03em;
  font-weight: 500;
}

.legal-subtitle {
  margin: 0;
  width: min(720px, 100%);
  color: #8e8e95;
  font-size: 15px;
  line-height: 1.5;
}

.legal-content {
  width: min(840px, 100%);
  margin: 0 auto;
  display: grid;
  gap: 34px;
}

.legal-section {
  display: grid;
  gap: 12px;
}

.legal-section h2 {
  margin: 0;
  color: #f0f0f3;
  font-size: clamp(20px, 2.4vw, 30px);
  line-height: 1.2;
  letter-spacing: -0.01em;
  font-weight: 500;
}

.legal-section p {
  margin: 0;
  color: #86868f;
  font-size: 14px;
  line-height: 1.65;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.about-stat {
  border-radius: 18px;
  border: 1px solid rgba(79, 90, 124, 0.35);
  background: #121212;
  padding: 18px 20px;
  display: grid;
  gap: 4px;
}

.about-stat-value {
  margin: 0;
  color: #fff;
  font-size: clamp(30px, 3vw, 42px);
  line-height: 1.05;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.about-stat-label {
  margin: 0;
  color: #81818a;
  font-size: 14px;
  line-height: 1.4;
}

.about-timeline {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.about-timeline-item {
  border-radius: 20px;
  border: 1px solid rgba(79, 90, 124, 0.35);
  background: #121212;
  padding: 24px;
  display: grid;
  gap: 10px;
}

.about-timeline-date {
  margin: 0;
  color: #8f8f98;
  font-size: 13px;
  line-height: 1.4;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.about-timeline-item h3 {
  margin: 0;
  color: #f2f2f4;
  font-size: 30px;
  line-height: 1.2;
  letter-spacing: -0.02em;
  font-weight: 500;
}

.about-timeline-item p {
  margin: 0;
  color: #8f8f98;
  font-size: 16px;
  line-height: 1.5;
}

.about-ops {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.about-ops-card {
  border-radius: 20px;
  border: 1px solid rgba(79, 90, 124, 0.35);
  background: #121212;
  padding: 24px;
  display: grid;
  align-content: start;
  gap: 10px;
}

.about-ops-card h2 {
  margin: 0;
  color: #f2f2f4;
  font-size: 28px;
  line-height: 1.2;
  letter-spacing: -0.02em;
  font-weight: 500;
}

.about-ops-card p {
  margin: 0;
  color: #8f8f98;
  font-size: 16px;
  line-height: 1.5;
}

.about-cta {
  border-radius: 20px;
  border: 1px solid rgba(79, 90, 124, 0.35);
  background: #121212;
  padding: 24px;
  display: grid;
  gap: 12px;
}

.about-cta h2 {
  margin: 0;
  color: #f2f2f4;
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 500;
}

.about-cta p {
  margin: 0;
  color: #8f8f98;
  font-size: 16px;
  line-height: 1.5;
}

.about-cta-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.stats-main {
  display: grid;
  gap: 18px;
}

.stats-hero {
  width: min(820px, 100%);
  display: grid;
  gap: 12px;
}

.stats-kicker {
  margin: 0;
  color: #7f7f8c;
  font-size: 13px;
  line-height: 20px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.stats-hero h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(36px, 4vw, 56px);
  line-height: 1.12;
  letter-spacing: -0.03em;
  font-weight: 500;
}

.stats-hero p {
  margin: 0;
  color: #9a9a9a;
  font-size: 16px;
  line-height: 1.5;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.stats-card {
  border-radius: 18px;
  border: 1px solid rgba(79, 90, 124, 0.35);
  background: #121212;
  padding: 18px 20px;
  display: grid;
  gap: 4px;
}

.stats-card-value {
  margin: 0;
  color: #fff;
  font-size: clamp(30px, 3vw, 44px);
  line-height: 1.05;
  font-weight: 500;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

.stats-card-label {
  margin: 0;
  color: #81818a;
  font-size: 14px;
  line-height: 1.35;
}

.stats-table-wrap {
  border-radius: 20px;
  border: 1px solid rgba(79, 90, 124, 0.35);
  background: #121212;
  overflow-x: auto;
}

.stats-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 780px;
}

.stats-table th,
.stats-table td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.stats-table th {
  color: #9f9fab;
  font-size: 13px;
  line-height: 1.4;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.stats-table td {
  color: #efeff2;
  font-size: 15px;
  line-height: 1.35;
}

.stats-table tbody tr:last-child td {
  border-bottom: 0;
}

.liquidity-main {
  display: grid;
  gap: 22px;
}

.liquidity-header {
  width: min(860px, 100%);
  display: grid;
  gap: 12px;
}

.liquidity-kicker {
  margin: 0;
  color: #7f7f8c;
  font-size: 13px;
  line-height: 20px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.liquidity-header h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(36px, 4vw, 56px);
  line-height: 1.1;
  letter-spacing: -0.03em;
  font-weight: 500;
}

.liquidity-header p {
  margin: 0;
  color: #9a9a9a;
  font-size: 16px;
  line-height: 1.5;
}

.liquidity-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.liquidity-actions .pill {
  min-height: 42px;
  padding: 10px 20px;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: -0.3px;
  font-weight: 500;
}

.liquidity-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.liquidity-stat {
  border-radius: 18px;
  border: 1px solid rgba(79, 90, 124, 0.35);
  background: #121212;
  padding: 18px 20px;
  display: grid;
  gap: 4px;
}

.liquidity-stat-value {
  margin: 0;
  color: #fff;
  font-size: clamp(30px, 3vw, 44px);
  line-height: 1.05;
  font-weight: 500;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

.liquidity-stat-label {
  margin: 0;
  color: #81818a;
  font-size: 14px;
  line-height: 1.35;
}

.liquidity-table-wrap {
  overflow-x: auto;
  overflow-y: hidden;
}

.liquidity-market {
  border-radius: 20px;
  border: 1px solid rgba(79, 90, 124, 0.35);
  background: #121212;
  overflow: hidden;
}

.liquidity-market-top {
  padding: 16px;
  border-bottom: 1px solid rgba(79, 90, 124, 0.35);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.liquidity-pool-tabs {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.liquidity-pool-tab {
  border: 1px solid rgba(120, 132, 170, 0.42);
  border-radius: 12px 12px 0 0;
  background: rgba(41, 43, 50, 0.75);
  color: #9a9aab;
  min-height: 44px;
  padding: 8px 14px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
}

.liquidity-pool-tab.is-active {
  background: linear-gradient(180deg, rgba(117, 127, 165, 0.34) 0%, rgba(66, 70, 85, 0.84) 100%);
  color: #f5f7ff;
}

.liquidity-market-actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.liquidity-btn {
  min-height: 44px;
  border-radius: 14px;
  padding: 9px 18px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.liquidity-btn--ghost {
  border: 1px solid rgba(142, 154, 198, 0.55);
  color: #dce4ff;
  background: rgba(16, 18, 24, 0.8);
}

.liquidity-btn--solid {
  border: 1px solid rgba(140, 151, 190, 0.62);
  background: linear-gradient(180deg, rgba(146, 163, 220, 0.3) 0%, rgba(72, 79, 104, 0.92) 100%);
  color: #fff;
}

.liquidity-market-filters {
  padding: 16px;
  border-bottom: 1px solid rgba(79, 90, 124, 0.35);
  display: grid;
  grid-template-columns: minmax(240px, 1.2fr) minmax(220px, 1fr) minmax(340px, 1.4fr);
  gap: 10px;
}

.liquidity-filter-network {
  width: 100%;
  min-height: 52px;
  border-radius: 14px;
  border: 1px solid rgba(126, 136, 175, 0.5);
  background: #161920;
  color: #f0f2ff;
  padding: 9px 14px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.2;
  cursor: pointer;
}

.network-badges {
  display: inline-flex;
  align-items: center;
  margin-right: auto;
}

.network-badge {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: #11131b;
  margin-left: -8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.network-badge:first-child {
  margin-left: 0;
}

.network-badge img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.network-badge--more {
  background: #8388ff;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
}

.liquidity-caret {
  width: 9px;
  height: 9px;
  border-right: 2px solid #9ba0bb;
  border-bottom: 2px solid #9ba0bb;
  transform: rotate(45deg) translateY(-2px);
}

.liquidity-search {
  width: 100%;
  min-height: 52px;
  border-radius: 14px;
  border: 1px solid rgba(126, 136, 175, 0.5);
  background: #161920;
  color: #f0f2ff;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.liquidity-search-icon {
  width: 14px;
  height: 14px;
  border: 2px solid #8f95b4;
  border-radius: 50%;
  position: relative;
  flex: none;
}

.liquidity-search-icon::after {
  content: "";
  position: absolute;
  width: 7px;
  height: 2px;
  background: #8f95b4;
  right: -6px;
  bottom: -1px;
  transform: rotate(45deg);
  border-radius: 999px;
}

.liquidity-search input {
  flex: 1;
  border: 0;
  outline: none;
  background: transparent;
  color: #eef0f7;
  font-size: 16px;
  line-height: 1.2;
}

.liquidity-search input::placeholder {
  color: #8e92a7;
}

.liquidity-type-tabs {
  min-height: 52px;
  border-radius: 14px;
  border: 1px solid rgba(126, 136, 175, 0.5);
  background: #161920;
  padding: 4px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.liquidity-type-tab {
  border: 0;
  background: transparent;
  color: #8f95b4;
  height: 42px;
  border-radius: 11px;
  padding: 0 15px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.1;
  cursor: pointer;
}

.liquidity-type-tab.is-active {
  background: rgba(128, 141, 191, 0.45);
  color: #f4f6ff;
}

.liquidity-table-desktop {
  display: block;
  overflow-x: auto;
}

.liquidity-table {
  width: 100%;
  min-width: 1020px;
  border-collapse: collapse;
}

.liquidity-table th,
.liquidity-table td {
  padding: 16px 18px;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.liquidity-table th {
  color: #8d93ad;
  font-size: 13px;
  line-height: 1.4;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 600;
}

.liquidity-table td {
  color: #eceef5;
  font-size: 15px;
  line-height: 1.25;
  white-space: nowrap;
}

.liquidity-table tbody tr:last-child td {
  border-bottom: 0;
}

.liquidity-table tbody tr.is-hidden {
  display: none;
}

.liquidity-pair {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.liquidity-token-stack {
  width: 56px;
  min-width: 56px;
  height: 34px;
  position: relative;
}

.liq-token {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 2px solid #121212;
  background: #0f1119;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 0;
  overflow: hidden;
}

.liq-token:first-child {
  left: 0;
}

.liq-token:nth-child(2) {
  left: 22px;
}

.liq-token img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.liquidity-pair-meta {
  display: grid;
  gap: 2px;
}

.liquidity-pair-meta strong {
  font-size: 17px;
  line-height: 1.2;
  color: #f4f6ff;
  font-weight: 500;
}

.liquidity-pair-meta span {
  font-size: 13px;
  line-height: 1.2;
  color: #8f95af;
}

.liquidity-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  border-radius: 999px;
  border: 1px solid rgba(124, 136, 179, 0.45);
  background: rgba(88, 98, 128, 0.22);
  color: #d6dcf7;
  font-size: 14px;
  font-weight: 600;
  padding: 4px 12px;
}

.liquidity-positive {
  color: #9af6c2;
  font-weight: 600;
}

.liquidity-version {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 46px;
  min-height: 30px;
  border-radius: 999px;
  border: 1px solid rgba(124, 136, 179, 0.35);
  background: rgba(52, 57, 76, 0.7);
  color: #d6dcf7;
  font-size: 14px;
  line-height: 1;
  font-weight: 600;
}

.liquidity-more {
  border: 0;
  background: transparent;
  color: #a7acc5;
  min-width: 36px;
  height: 36px;
  padding: 0;
  border-radius: 50%;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.liquidity-cards-mobile {
  display: none;
}

.liquidity-card {
  border-top: 1px solid rgba(79, 90, 124, 0.35);
  padding: 14px;
  display: grid;
  gap: 10px;
}

.liquidity-card.is-hidden {
  display: none;
}

.liquidity-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.liq-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 124px;
  min-height: 36px;
  border-radius: 999px;
  background: #e2e2e2;
  color: #111;
  padding: 6px 14px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
}

.liquidity-card-apr {
  font-size: 24px;
  line-height: 1.2;
}

.liquidity-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.liquidity-empty {
  margin: 0;
  padding: 16px;
  border-top: 1px solid rgba(79, 90, 124, 0.35);
  color: #9094a8;
  font-size: 14px;
  line-height: 1.4;
  text-align: center;
}

.liquidity-empty[hidden] {
  display: none;
}

@media (max-width: 1200px) {
  .bridge-main {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .bridge-intro {
    position: static;
  }

  .bridge-wrap {
    width: 100%;
    justify-content: flex-start;
  }

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

  .ecosystem-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ecosystem-tracks,
  .about-ops {
    grid-template-columns: 1fr;
  }

  .ecosystem-process,
  .about-timeline {
    grid-template-columns: 1fr;
  }

  .blog-layout {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .blog-filters {
    position: static;
    grid-template-columns: repeat(5, minmax(110px, 1fr));
  }

  .liquidity-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .liquidity-market-top {
    flex-wrap: wrap;
  }

  .liquidity-market-filters {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .liquidity-type-tabs {
    grid-column: 1 / -1;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .about-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .support-layout {
    gap: 34px;
  }
}

@media (max-width: 980px) {
  .subpage-main {
    width: calc(100% - 10px);
    padding-top: 120px;
    padding-bottom: 60px;
  }

  .bridge-main {
    gap: 14px;
  }

  .bridge-intro h1 {
    font-size: clamp(34px, 10vw, 44px);
  }

  .bridge-intro p {
    font-size: 14px;
  }

  .bridge-contract {
    font-size: 12px;
    padding: 9px 10px;
  }

  .bridge-wrap {
    padding-top: 0;
  }

  .swap-card {
    width: 100%;
    padding: 14px;
    gap: 12px;
    border-radius: 18px;
  }

  .swap-card-header h2 {
    font-size: 24px;
  }

  .swap-grid {
    grid-template-columns: 1fr;
  }

  .swap-amount-field input {
    font-size: 24px;
  }

  .swap-quote-value {
    align-items: center;
  }

  .swap-quote-value strong {
    font-size: clamp(28px, 9vw, 38px);
  }

  .wallet-modal {
    width: min(460px, 100%);
  }

  .wallet-modal-head h2 {
    font-size: clamp(31px, 8vw, 38px);
  }

  .wallet-option {
    padding: 11px 16px;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 10px;
  }

  .wallet-option-icon {
    width: 36px;
    height: 36px;
    border-radius: 9px;
  }

  .wallet-connect-toast {
    top: 10px;
    font-size: 13px;
  }

  .ecosystem-main {
    gap: 24px;
  }

  .ecosystem-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .ecosystem-metrics,
  .about-stats {
    grid-template-columns: 1fr;
  }

  .ecosystem-card {
    min-height: 0;
    padding: 24px;
    gap: 20px;
  }

  .ecosystem-logo {
    min-height: 70px;
  }

  .ecosystem-desc,
  .ecosystem-tags {
    font-size: 14px;
  }

  .ecosystem-track h2,
  .about-ops-card h2 {
    font-size: 23px;
  }

  .ecosystem-track p,
  .ecosystem-process-card ol,
  .ecosystem-process-card ul,
  .about-timeline-item p,
  .about-ops-card p,
  .about-cta p {
    font-size: 14px;
  }

  .ecosystem-process-card h2,
  .about-timeline-item h3 {
    font-size: 24px;
  }

  .blog-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .blog-filters {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .blog-card-media {
    height: 156px;
  }

  .blog-card-content h2 {
    font-size: 21px;
  }

  .support-faq-item summary {
    font-size: 16px;
    padding: 14px 16px;
    padding-right: 42px;
  }

  .support-faq-item summary::after {
    right: 16px;
  }

  .support-faq-item p {
    padding: 0 16px 14px;
    font-size: 14px;
  }

  .blog-article {
    padding: 18px;
  }

  .blog-article h2 {
    font-size: 24px;
  }

  .blog-article p {
    font-size: 14px;
  }

  .liquidity-main {
    gap: 16px;
  }

  .liquidity-actions .pill {
    font-size: 14px;
  }

  .liquidity-stats {
    grid-template-columns: 1fr;
  }

  .liquidity-market-top {
    padding: 12px;
    display: grid;
    grid-template-columns: 1fr;
  }

  .liquidity-market-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .liquidity-btn {
    min-height: 42px;
    font-size: 14px;
    padding: 8px 12px;
  }

  .liquidity-market-filters {
    padding: 12px;
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .liquidity-filter-network,
  .liquidity-search {
    min-height: 48px;
  }

  .liquidity-filter-network {
    font-size: 15px;
  }

  .liquidity-search input {
    font-size: 15px;
  }

  .liquidity-type-tabs {
    grid-column: auto;
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    padding-bottom: 6px;
  }

  .liquidity-type-tab {
    flex: none;
    font-size: 14px;
  }

  .liquidity-table-desktop {
    display: none;
  }

  .liquidity-cards-mobile {
    display: grid;
  }

  .liquidity-card {
    padding: 12px;
  }

  .liquidity-card-head .liquidity-pair-meta strong {
    font-size: 16px;
  }

  .liquidity-card-head .liquidity-pair-meta span {
    font-size: 12px;
  }

  .liquidity-card-apr {
    font-size: 32px;
  }

  .liq-action {
    min-width: 115px;
    min-height: 34px;
    padding: 6px 10px;
    font-size: 13px;
  }

  .about-main,
  .stats-main {
    gap: 14px;
  }

  .about-card h2 {
    font-size: 23px;
  }

  .about-card p,
  .about-card li {
    font-size: 14px;
  }

  .legal-main {
    gap: 34px;
  }

  .legal-hero-card {
    min-height: 220px;
    padding: 28px 18px;
    border-radius: 16px;
  }

  .legal-title {
    font-size: clamp(30px, 10vw, 42px);
  }

  .legal-subtitle {
    font-size: 14px;
  }

  .legal-content {
    width: 100%;
    gap: 28px;
  }

  .legal-section {
    gap: 10px;
  }

  .legal-section h2 {
    font-size: 20px;
  }

  .legal-section p {
    font-size: 13px;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .stats-table {
    min-width: 0;
  }

  .stats-table thead {
    display: none;
  }

  .stats-table tbody,
  .stats-table tr,
  .stats-table td {
    display: block;
    width: 100%;
  }

  .stats-table tr {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 8px 0;
  }

  .stats-table tbody tr:last-child {
    border-bottom: 0;
  }

  .stats-table td {
    padding: 6px 14px;
    white-space: normal;
    border-bottom: 0;
  }

  .stats-table td::before {
    content: attr(data-label);
    display: block;
    color: #888896;
    font-size: 11px;
    line-height: 1.3;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 2px;
  }

  .support-main {
    min-height: auto;
  }

  .support-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .support-copy {
    gap: 20px;
  }

  .support-form {
    padding: 20px;
    border-radius: 20px;
  }
}
