:root {
  --bg: #000;
  --panel: rgba(18, 18, 23, .86);
  --panel-2: rgba(25, 22, 33, .78);
  --line: rgba(255, 255, 255, .12);
  --violet: #b698ff;
  --violet-dim: rgba(154, 116, 255, .28);
  --orange: #ff5b08;
  --orange-2: #ff7518;
  --text: #fff;
  --muted: #a8a6b0;
  --green: #1cd822;
  --purple: #9747ff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(circle at 62% 11%, rgba(74, 38, 132, .25), transparent 32rem),
    radial-gradient(circle at 18% 45%, rgba(58, 58, 84, .12), transparent 28rem),
    var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

a { color: inherit; text-decoration: none; }
p { color: var(--muted); font-size: 20px; line-height: 1.55; margin: 0; }
h1, h2, h3 { margin: 0; line-height: .98; letter-spacing: 0; }
h1 { font-size: clamp(54px, 7vw, 98px); margin-left: auto; margin-right: auto; max-width: 880px; }
h2 { font-size: clamp(38px, 4.5vw, 70px); }
h3 { font-size: 28px; }
pre, code, .eyebrow { font-family: "Roboto Mono", "SFMono-Regular", Consolas, monospace; }

.nav {
  align-items: center;
  backdrop-filter: blur(18px);
  background: rgba(0, 0, 0, .82);
  border-bottom: 1px solid rgba(255,255,255,.08);
  display: flex;
  height: 88px;
  justify-content: space-between;
  left: 0;
  padding: 0 48px;
  position: fixed;
  right: 0;
  top: 0;
  z-index: 20;
}
.brand { align-items: center; display: flex; font-size: 28px; font-weight: 850; gap: 14px; }
.brand img { height: 52px; margin: -3px; object-fit: contain; width: 52px; }
.nav-links { display: flex; gap: 38px; font-size: 18px; font-weight: 650; }
.nav a { transition: color .25s ease, opacity .25s ease, transform .25s ease; }
.nav-links a { color: #e9e7ec; }
.nav-links a:hover { color: var(--orange-2); }
.nav-actions {
  align-items: center;
  display: flex;
  gap: 12px;
}

.wallet-connect {
  align-items: center;
  background: rgba(255, 255, 255, .045);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 999px;
  color: #f4f1f7;
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  font-size: 16px;
  font-weight: 800;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  transition: background .25s ease, border-color .25s ease, color .25s ease, transform .25s ease;
  white-space: nowrap;
}

.wallet-connect:hover {
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 117, 24, .48);
  color: white;
  transform: translateY(-1px);
}

.wallet-connect.connected {
  background: rgba(49, 228, 155, .1);
  border-color: rgba(49, 228, 155, .52);
  color: #35e49b;
}

.section {
  margin: 0 auto;
  max-width: 1450px;
  padding: 120px 56px;
}
.hero {
  align-items: center;
  display: grid;
  gap: 58px;
  grid-template-columns: 1fr;
  min-height: 900px;
  padding-top: 175px;
}
.hero-copy {
  margin: 0 auto;
  max-width: 980px;
  text-align: center;
  width: 100%;
}
.eyebrow {
  background: rgba(94, 63, 154, .42);
  border: 1px solid rgba(182, 152, 255, .44);
  border-radius: 5px;
  color: #d9caff;
  display: inline-block;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 4px;
  margin: 0 0 34px;
  padding: 10px 14px;
}
.lede { font-size: 24px; margin: 22px auto 0; max-width: 780px; }
.narrow { max-width: 820px; }
.actions { align-items: center; display: flex; flex-wrap: wrap; gap: 30px; justify-content: center; margin-top: 42px; }
.btn {
  align-items: center;
  background: var(--orange);
  border: 0;
  border-radius: 999px;
  color: white;
  display: inline-flex;
  font-size: 20px;
  font-weight: 800;
  justify-content: center;
  min-height: 64px;
  padding: 0 38px;
  transition: background .25s ease, transform .25s ease, box-shadow .25s ease;
}
.btn:hover { background: var(--orange-2); box-shadow: 0 14px 38px rgba(255, 91, 8, .28); transform: translateY(-2px); }
.btn.small { font-size: 17px; min-height: 48px; padding: 0 28px; }
.btn.wide { width: 100%; }
.btn.ghost { background: transparent; border: 1px solid var(--line); }
.link-arrow { align-items: center; display: inline-flex; font-size: 20px; font-weight: 800; gap: 10px; }
.link-arrow span { transition: transform .25s ease; }
.link-arrow:hover span { transform: translateX(6px); }

.contract,
.contract-pill {
  align-items: center;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .045), transparent 54%),
    #0d0d12;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 20px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .06),
    0 18px 60px rgba(0, 0, 0, .32);
  color: white;
  cursor: pointer;
  display: flex;
  gap: 12px;
  margin: 40px auto 44px;
  max-width: 760px;
  min-height: 74px;
  overflow: hidden;
  padding: 10px 12px 10px 14px;
  position: relative;
  text-align: left;
  transition: background .22s ease, border-color .22s ease, box-shadow .22s ease, transform .22s ease;
  width: 100%;
}

.contract-pill:before {
  background: linear-gradient(180deg, rgba(255, 117, 24, .55), rgba(255, 117, 24, 0));
  content: "";
  height: 52px;
  left: 0;
  opacity: .72;
  position: absolute;
  top: 11px;
  width: 2px;
}

.contract:hover,
.contract-pill:hover {
  border-color: rgba(255, 117, 24, .42);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .07),
    0 20px 66px rgba(0, 0, 0, .36),
    0 0 28px rgba(255, 91, 8, .08);
  transform: translateY(-1px);
}

.contract strong,
.contract-pill strong {
  color: var(--orange-2);
  font-family: "Roboto Mono", monospace;
  font-size: 17px;
  font-weight: 900;
  letter-spacing: 1px;
}

.contract-token {
  align-items: center;
  background: rgba(255, 117, 24, .08);
  border: 1px solid rgba(255, 117, 24, .18);
  border-radius: 14px;
  display: inline-flex;
  flex: 0 0 auto;
  gap: 10px;
  min-height: 48px;
  padding: 0 16px;
}

.contract-token small {
  color: rgba(255, 255, 255, .46);
  font-family: "Roboto Mono", monospace;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 2px;
}

.contract span:nth-child(2),
.contract-pill [data-contract-address],
.contract-address {
  background: rgba(255, 255, 255, .035);
  border: 1px solid rgba(255, 255, 255, .055);
  border-radius: 14px;
  color: #f1eef5;
  flex: 1;
  font-family: "Roboto Mono", monospace;
  font-size: 14px;
  font-weight: 800;
  line-height: 48px;
  min-width: 0;
  overflow: hidden;
  padding: 0 16px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.copy-icon { color: var(--muted); }

.contract-copy {
  align-items: center;
  background: rgba(5, 5, 9, .92);
  border: 1px solid rgba(255, 255, 255, .06);
  border-radius: 16px;
  color: #31e49b;
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 0;
  font-weight: 900;
  gap: 9px;
  height: 52px;
  justify-content: center;
  min-width: 58px;
  padding: 0 17px;
  transition: color .22s ease, min-width .22s ease;
}

.contract-copy:before {
  border: 2px solid #f6f4fa;
  border-radius: 3px;
  box-shadow:
    -5px -5px 0 -2px #0a0a0f,
    -5px -5px 0 0 #f6f4fa;
  content: "";
  display: block;
  height: 14px;
  width: 14px;
}

.contract-pill.copied {
  border-color: rgba(49, 228, 155, .95);
  background:
    linear-gradient(180deg, rgba(49, 228, 155, .06), transparent 58%),
    #090d0c;
  box-shadow: 0 0 30px rgba(49, 228, 155, .1);
}

.contract-pill.copied .contract-copy {
  font-size: 18px;
  min-width: 116px;
}

.contract-pill.copied .contract-copy:before {
  border: 0;
  box-shadow: none;
  color: #31e49b;
  content: "\2713";
  font-size: 20px;
  height: auto;
  width: auto;
}

.stats { border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(4, 1fr); margin: 0 auto; max-width: 720px; padding-top: 30px; }
.stats div { border-right: 1px solid rgba(255,255,255,.08); display: grid; gap: 8px; min-height: 90px; place-items: center; padding: 0 20px; }
.stats div:last-child { border-right: 0; }
.stats b { font-size: 20px; line-height: 1.05; }
.stats span { color: var(--muted); font-size: 17px; line-height: 1.22; }

.swap-card {
  background: rgba(13, 13, 18, .76);
  border: 1px solid rgba(255,255,255,.26);
  min-height: 480px;
  padding: 32px;
  position: relative;
}
.corner { border: 1px solid #a9a5b5; height: 10px; position: absolute; width: 10px; }
.tl { left: -5px; top: -5px; } .tr { right: -5px; top: -5px; } .bl { bottom: -5px; left: -5px; } .br { bottom: -5px; right: -5px; }
.swap-head { align-items: center; display: flex; justify-content: space-between; }
.swap-head .eyebrow { margin: 0; }
.live { color: #36e299; font-weight: 800; }
.swap-box {
  background: rgba(25, 24, 29, .92);
  border: 1px solid var(--line);
  border-radius: 16px;
  margin-top: 26px;
  padding: 20px 24px;
  position: relative;
}
.swap-box small { color: var(--muted); display: block; font-size: 16px; margin-bottom: 8px; }
.swap-box strong { font-size: 28px; }
.chain { font-size: 17px; font-weight: 800; position: absolute; right: 24px; top: 43px; }
.chain:before { border-radius: 999px; content: ""; display: inline-block; height: 12px; margin-right: 9px; width: 12px; }
.purple:before { background: var(--purple); } .green:before { background: var(--green); }
.down { color: var(--muted); font-size: 30px; line-height: 1; padding: 12px 0 0; text-align: center; }
.swap-card p { font-size: 17px; margin: 22px 0; }
.bridge-preview {
  margin: 0 auto;
  max-width: 590px;
  width: 100%;
}

.usage { display: grid; gap: 20px; grid-template-columns: 1fr auto; }
.usage .chart, .usage .chart-caption { grid-column: 1 / -1; }
.toggle { align-self: end; background: rgba(255,255,255,.08); border: 1px solid var(--line); border-radius: 999px; display: flex; padding: 5px; }
.toggle button { background: transparent; border: 0; border-radius: 999px; color: var(--muted); cursor: pointer; font-size: 18px; font-weight: 800; padding: 13px 30px; }
.toggle button.active { background: var(--orange); color: white; }
.chart { align-items: end; border-bottom: 1px solid var(--line); display: grid; gap: 14px; grid-template-columns: repeat(14, 1fr); height: 260px; margin-top: 24px; }
.chart div { background: linear-gradient(180deg, var(--orange), rgba(255,91,8,.18)); border-radius: 8px 8px 0 0; height: var(--h); min-height: 10px; transition: height .35s ease; }
.chart-caption { font-size: 18px; }

.trust { display: grid; gap: 24px; grid-template-columns: repeat(3, 1fr); }
.mini-card, .product-card, .panel {
  background: linear-gradient(145deg, rgba(24,23,31,.92), rgba(6,6,8,.94));
  border: 1px solid rgba(182, 152, 255, .2);
  border-radius: 24px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05);
}
.mini-card { padding: 32px; transition: border-color .25s ease, transform .25s ease; }
.mini-card:hover, .product-card:hover { border-color: rgba(255,91,8,.7); transform: translateY(-4px); }
.mini-card h3 { margin-bottom: 14px; }
.mini-card p { font-size: 17px; }
.mini-card b { color: #d9caff; display: block; font-family: "Roboto Mono", monospace; font-size: 13px; letter-spacing: 2px; margin-top: 22px; }

.section-head { align-items: end; display: flex; justify-content: space-between; gap: 30px; margin-bottom: 34px; }
.product-grid { display: grid; gap: 24px; grid-template-columns: repeat(4, 1fr); }
.product-card { min-height: 340px; overflow: hidden; padding: 30px; position: relative; transition: border-color .25s ease, transform .25s ease; }
.product-card:before { background: radial-gradient(circle, rgba(154,116,255,.24), transparent 68%); content: ""; height: 260px; position: absolute; right: -90px; top: -90px; width: 260px; }
.product-card span, .product-card b, .product-card em { color: #d9caff; font-family: "Roboto Mono", monospace; font-size: 13px; font-style: normal; font-weight: 800; letter-spacing: 2px; }
.product-card h3 { margin: 42px 0 14px; }
.product-card p { font-size: 17px; }
.product-card b { bottom: 58px; left: 30px; position: absolute; }
.product-card em { bottom: 28px; color: white; left: 30px; position: absolute; }

.panel { padding: 56px; }
.hatchery, .feature, .bridge-section { display: grid; gap: 56px; grid-template-columns: 1fr 1fr; }
.terminal, pre {
  background: rgba(0,0,0,.58);
  border: 1px solid rgba(182,152,255,.22);
  border-radius: 20px;
  color: #e9e5f1;
  font-family: "Roboto Mono", monospace;
  font-size: 15px;
  line-height: 1.7;
  overflow: auto;
  padding: 30px;
}
.terminal span { color: #35e097; display: block; margin-bottom: 8px; }
.terminal b, .terminal small { display: block; margin-bottom: 18px; }
.terminal p { border-top: 1px solid rgba(255,255,255,.08); color: white; font-size: 15px; padding-top: 14px; }
.feature-list { display: grid; gap: 18px; }
.feature-list h3 { color: white; }
.feature-list p { font-size: 17px; margin-bottom: 10px; }
.chains { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.chains span { background: rgba(255,255,255,.08); border: 1px solid var(--line); border-radius: 999px; color: white; font-weight: 800; padding: 12px 16px; }
.bridge-section small { color: var(--muted); display: block; margin-top: 22px; }
ul { color: var(--muted); font-size: 18px; line-height: 1.8; padding-left: 22px; }
.pay { text-align: center; }
.pay p { margin: 18px auto 28px; max-width: 800px; }
.roadmap { text-align: center; }
.roadmap-grid { display: grid; gap: 22px; grid-template-columns: repeat(3, 1fr); margin-top: 42px; text-align: left; }
.final-cta { text-align: center; }
.final-cta img { height: 104px; margin: -6px 0 14px; object-fit: contain; width: 104px; }
.final-cta p { margin: 20px auto 0; max-width: 760px; }
.footer { border-top: 1px solid var(--line); display: grid; gap: 48px; grid-template-columns: 2fr repeat(3, 1fr); margin: 0 auto; max-width: 1450px; padding: 62px 56px 80px; }
.footer img { height: 66px; margin: -4px; object-fit: contain; width: 66px; }
.footer a, .footer small { color: var(--muted); display: block; margin-top: 12px; }
.footer h4 { color: #d9caff; font-family: "Roboto Mono", monospace; letter-spacing: 2px; margin: 0 0 18px; }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1100px) {
  .nav { padding: 0 24px; }
  .nav-links { display: none; }
  .hero, .hatchery, .feature, .bridge-section { grid-template-columns: 1fr; }
  .hero { min-height: auto; }
  .product-grid, .roadmap-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .section { padding: 78px 20px; }
  .nav { height: 76px; }
  .brand { font-size: 22px; }
  .brand img { height: 44px; width: 44px; }
  .btn.small { display: none; }
  .hero { padding-top: 125px; gap: 46px; }
  h1 { font-size: 50px; }
  h2 { font-size: 38px; }
  p, .lede { font-size: 18px; }
  .actions, .section-head { align-items: stretch; flex-direction: column; }
  .contract,
  .contract-pill {
    gap: 10px;
    max-width: 100%;
    min-height: 0;
    padding: 10px;
  }
  .contract-token {
    gap: 7px;
    min-height: 44px;
    padding: 0 10px;
  }
  .contract-token small { font-size: 10px; letter-spacing: 1px; }
  .contract strong,
  .contract-pill strong { font-size: 14px; }
  .contract span:nth-child(2),
  .contract-pill [data-contract-address],
  .contract-address {
    font-size: 11px;
    line-height: 44px;
    padding: 0 10px;
  }
  .contract-copy {
    border-radius: 12px;
    height: 44px;
    min-width: 50px;
    padding: 0 14px;
  }
  .contract-pill.copied .contract-copy {
    font-size: 15px;
    min-width: 94px;
  }
  .stats, .trust, .product-grid, .roadmap-grid, .footer { grid-template-columns: 1fr; }
  .stats div { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.08); }
  .swap-card, .panel { padding: 24px; }
  .usage { grid-template-columns: 1fr; }
  .toggle { width: max-content; }
  .chain { display: block; margin-top: 10px; position: static; }
}

.bridge-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 34% 17%, rgba(54, 32, 91, .22), transparent 31rem),
    radial-gradient(circle at 65% 42%, rgba(45, 33, 81, .18), transparent 32rem),
    #000;
}

.bridge-page .reveal {
  opacity: 1;
  transform: none;
}

.app-nav {
  align-items: center;
  background: rgba(0, 0, 0, .9);
  border-bottom: 1px solid rgba(255,255,255,.08);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  height: 88px;
  left: 0;
  padding: 0 48px;
  position: fixed;
  right: 0;
  top: 0;
  z-index: 30;
}

.app-links {
  align-items: center;
  display: flex;
  gap: 24px;
  font-size: 19px;
  font-weight: 650;
}

.app-links a {
  border-radius: 999px;
  color: #f3f0f6;
  padding: 12px 20px;
  transition: background .2s ease, color .2s ease;
}

.app-links a:hover,
.app-links a.active {
  background: rgba(255,255,255,.12);
  color: white;
}

.home-pill {
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 999px;
  font-size: 19px;
  font-weight: 750;
  justify-self: end;
  min-width: 104px;
  padding: 12px 24px;
  text-align: center;
  transition: border-color .25s ease, color .25s ease;
}

.home-pill:hover { border-color: var(--orange); color: var(--orange-2); }

.bridge-main {
  margin: 0 auto;
  max-width: 960px;
  min-height: calc(100vh - 170px);
  padding: 150px 32px 72px;
}

.bridge-hero { text-align: center; }
.bridge-hero h1 { font-size: clamp(42px, 5vw, 58px); max-width: none; }
.bridge-hero p { font-size: 22px; margin-top: 14px; }

.bridge-widget {
  background: rgba(12, 12, 15, .86);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 8px;
  margin: 34px auto 0;
  max-width: 795px;
  min-height: 720px;
  padding: 42px 38px 56px;
  position: relative;
}

.bridge-widget .tl {
  border-bottom: 0;
  border-right: 0;
  height: 18px;
  left: -1px;
  top: -1px;
  width: 18px;
}

.bridge-widget .br {
  border-left: 0;
  border-top: 0;
  bottom: -1px;
  height: 18px;
  right: -1px;
  width: 18px;
}

.bridge-label-row,
.field-label {
  color: #aaa6b2;
  display: block;
  font-family: "Roboto Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 4px;
  margin-bottom: 18px;
}

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

.amount {
  background: rgba(27, 27, 31, .9);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 8px;
  color: white;
  cursor: pointer;
  display: grid;
  min-height: 100px;
  place-items: center;
  position: relative;
  transition: background .2s ease, border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.amount strong { font-size: 30px; line-height: 1; }
.amount span {
  color: var(--muted);
  font-family: "Roboto Mono", monospace;
  font-size: 14px;
  letter-spacing: 2px;
  margin-top: -18px;
}

.amount:hover,
.amount.active {
  transform: translateY(-1px);
}

.amount:hover {
  border-color: rgba(255,255,255,.34);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.07);
}

.amount.active {
  background:
    radial-gradient(circle at 24% 28%, rgba(255, 91, 8, .2), transparent 74%),
    rgba(54, 22, 10, .92);
  border-color: var(--orange);
  box-shadow:
    0 0 34px rgba(255, 91, 8, .2),
    inset 0 0 0 1px rgba(255, 91, 8, .28);
}

.amount.active:after {
  color: var(--orange-2);
  content: "\2713";
  font-size: 17px;
  font-weight: 900;
  position: absolute;
  right: 14px;
  top: 13px;
}

.fee-note {
  background: rgba(19,19,23,.88);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 8px;
  color: var(--muted);
  font-size: 17px;
  margin: 18px 0 32px;
  padding: 12px 18px;
  text-align: center;
}

.address-field {
  align-items: center;
  background: rgba(28,28,32,.92);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 8px;
  display: flex;
  gap: 16px;
  min-height: 64px;
  padding: 0 18px;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.address-field.valid {
  border-color: rgba(52, 228, 155, .46);
  box-shadow: 0 0 0 1px rgba(52, 228, 155, .08);
}

.address-field.invalid {
  border-color: rgba(255, 91, 8, .52);
  box-shadow: 0 0 0 1px rgba(255, 91, 8, .1);
}

.wallet-icon {
  border: 2px solid #9aa0ad;
  border-radius: 4px;
  display: inline-block;
  height: 16px;
  position: relative;
  width: 22px;
}

.wallet-icon:after {
  background: #9aa0ad;
  border-radius: 999px;
  content: "";
  height: 4px;
  position: absolute;
  right: 4px;
  top: 5px;
  width: 4px;
}

.address-field input {
  background: transparent;
  border: 0;
  color: white;
  flex: 1;
  font: inherit;
  font-size: 20px;
  min-width: 0;
  outline: 0;
}

.address-field input::placeholder { color: #9d98a4; }

.bridge-submit {
  background: linear-gradient(90deg, var(--orange), #ff742a);
  border: 0;
  border-radius: 7px;
  color: white;
  cursor: pointer;
  display: block;
  font-size: 22px;
  font-weight: 850;
  margin-top: 30px;
  min-height: 68px;
  position: relative;
  width: 100%;
  z-index: 1;
}

.bridge-submit:disabled {
  cursor: not-allowed;
  filter: grayscale(.32);
  opacity: .56;
  transform: none;
}

.bridge-glow {
  background: radial-gradient(ellipse at center, rgba(255,91,8,.44), transparent 62%);
  height: 92px;
  margin: -35px auto 18px;
  width: 92%;
}

.bridge-status {
  border-top: 1px solid rgba(255,255,255,.08);
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, 1fr);
  margin: 0 auto 52px;
  max-width: 580px;
  padding-top: 22px;
  text-align: center;
}

.bridge-status div {
  display: grid;
  gap: 6px;
}

.bridge-status span {
  color: var(--muted);
  font-size: 13px;
}

.bridge-status strong {
  color: white;
  font-size: 15px;
}

.bridge-status.flow-message {
  color: var(--muted);
  display: block;
  font-size: 16px;
  line-height: 1.55;
  padding-left: 22px;
  padding-right: 22px;
}

.bridge-status.flow-message strong {
  color: white;
  display: block;
  font-size: 17px;
  margin-bottom: 4px;
}

.assurances {
  align-items: center;
  display: flex;
  gap: 28px;
  justify-content: center;
  margin-top: 6px;
}

.assurances span {
  color: var(--muted);
  font-size: 18px;
}

.assurances span:before {
  background: #34e49b;
  border-radius: 999px;
  content: "";
  display: inline-block;
  height: 8px;
  margin-right: 9px;
  width: 8px;
}

.bridge-footer {
  border-top: 1px solid rgba(255,255,255,.1);
  color: var(--muted);
  margin-top: 0;
  padding: 36px 32px 28px;
  text-align: center;
}

.bridge-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
  margin-bottom: 18px;
}

.bridge-footer a {
  color: var(--muted);
  font-size: 18px;
}

.bridge-footer p {
  font-size: 14px;
  margin: 0 auto;
  max-width: 900px;
}

.legal-page {
  background:
    radial-gradient(circle at 30% 8%, rgba(255, 91, 8, .12), transparent 26rem),
    radial-gradient(circle at 70% 20%, rgba(154, 116, 255, .16), transparent 28rem),
    #000;
  min-height: 100vh;
}

.legal-shell {
  margin: 0 auto;
  max-width: 980px;
  padding: 150px 28px 82px;
}

.legal-card {
  background: linear-gradient(145deg, rgba(22, 22, 28, .92), rgba(7, 7, 10, .96));
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 16px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05);
  padding: 44px;
}

.legal-card h1 {
  font-size: clamp(44px, 7vw, 76px);
  margin: 0;
  max-width: none;
}

.legal-card h2 {
  color: #fff;
  font-size: 25px;
  margin: 34px 0 12px;
}

.legal-card p {
  font-size: 18px;
}

.legal-updated {
  border-bottom: 1px solid rgba(255, 255, 255, .1);
  margin: 16px 0 30px;
  padding-bottom: 26px;
}

@media (max-width: 920px) {
  .app-nav {
    grid-template-columns: 1fr auto;
    padding: 0 22px;
  }
  .app-links { display: none; }
  .bridge-main { padding: 124px 20px 56px; }
  .bridge-widget { min-height: 620px; padding: 28px 20px 42px; }
}

@media (max-width: 620px) {
  .home-pill { min-width: auto; padding: 10px 18px; }
  .amount-grid { grid-template-columns: repeat(2, 1fr); }
  .assurances { align-items: flex-start; flex-direction: column; gap: 12px; }
  .bridge-footer nav { gap: 18px; }
  .bridge-status { grid-template-columns: 1fr; }
  .legal-shell { padding: 124px 18px 56px; }
  .legal-card { padding: 28px 22px; }
  .legal-card p { font-size: 16px; }
}

.docs-page {
  background:
    radial-gradient(circle at 28% 9%, rgba(54, 32, 91, .24), transparent 34rem),
    radial-gradient(circle at 80% 34%, rgba(255, 91, 8, .08), transparent 28rem),
    #000;
}

.docs-shell {
  display: grid;
  gap: 42px;
  grid-template-columns: 230px minmax(0, 1fr);
  margin: 0 auto;
  max-width: 1320px;
  padding: 140px 42px 90px;
}

.docs-toc {
  align-self: start;
  border-left: 1px solid rgba(255,255,255,.12);
  display: grid;
  gap: 6px;
  padding-left: 18px;
  position: sticky;
  top: 120px;
}

.docs-toc a {
  color: var(--muted);
  font-size: 15px;
  font-weight: 700;
  padding: 8px 0;
}

.docs-toc a:hover { color: white; }

.docs-content {
  display: grid;
  gap: 24px;
  min-width: 0;
}

.docs-hero h1 {
  font-size: clamp(52px, 7vw, 92px);
  max-width: none;
}

.docs-hero p {
  font-size: 22px;
  max-width: 880px;
  margin-top: 22px;
}

.doc-card {
  background: linear-gradient(145deg, rgba(18,18,23,.94), rgba(6,6,8,.96));
  border: 1px solid rgba(182, 152, 255, .18);
  border-radius: 16px;
  padding: 34px;
}

.doc-card h2 {
  font-size: clamp(32px, 3.2vw, 48px);
  margin-bottom: 18px;
}

.doc-card h3 {
  font-size: 22px;
  margin: 8px 0 12px;
}

.doc-card p,
.doc-card li {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

.doc-card code {
  color: #f2eaff;
  font-size: .95em;
}

.doc-card pre {
  border-radius: 10px;
  font-size: 14px;
  margin: 18px 0 0;
  white-space: pre-wrap;
}

.doc-grid {
  display: grid;
  gap: 18px;
  margin-top: 22px;
}

.doc-grid.two { grid-template-columns: repeat(2, 1fr); }

.doc-note {
  font-size: 14px !important;
  margin-top: 10px;
}

.doc-steps {
  margin: 0 0 22px;
  padding-left: 22px;
}

.endpoint {
  align-items: center;
  border-top: 1px solid rgba(255,255,255,.08);
  display: grid;
  gap: 8px;
  grid-template-columns: auto 1fr;
  margin-top: 26px;
  padding-top: 24px;
}

.endpoint span {
  background: rgba(255,91,8,.16);
  border: 1px solid rgba(255,91,8,.44);
  border-radius: 999px;
  color: var(--orange-2);
  font-family: "Roboto Mono", monospace;
  font-size: 13px;
  font-weight: 900;
  padding: 6px 10px;
}

.endpoint strong {
  color: white;
  font-family: "Roboto Mono", monospace;
  font-size: 18px;
}

.endpoint p {
  grid-column: 1 / -1;
}

.doc-table {
  border-collapse: collapse;
  color: var(--muted);
  font-size: 15px;
  margin-top: 16px;
  width: 100%;
}

.doc-table th,
.doc-table td {
  border-bottom: 1px solid rgba(255,255,255,.08);
  padding: 12px 10px;
  text-align: left;
  vertical-align: top;
}

.doc-table th,
.doc-table td:first-child {
  color: white;
  font-family: "Roboto Mono", monospace;
}

.doc-table.compact td:first-child {
  color: #d9caff;
  white-space: nowrap;
}

@media (max-width: 980px) {
  .docs-shell {
    grid-template-columns: 1fr;
    padding: 120px 22px 70px;
  }
  .docs-toc {
    border-left: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    padding-left: 0;
    position: static;
  }
  .doc-grid.two { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .doc-card { padding: 22px; }
  .docs-hero h1 { font-size: 48px; }
  .endpoint { grid-template-columns: 1fr; }
  .doc-table { font-size: 13px; }
}
