:root {
  --canvas: #f3f7fb;
  --paper: #ffffff;
  --paper-blue: #edf3ff;
  --ink: #0c1930;
  --muted: #637187;
  --line: #d9e2ee;
  --line-strong: #bfccdc;
  --blue: #3158f5;
  --blue-deep: #1737b8;
  --aqua: #0eb8a1;
  --acid: #d8ff57;
  --navy: #09172f;
  --shadow-sm: 0 8px 22px rgba(28, 49, 82, .07);
  --shadow-lg: 0 34px 90px rgba(31, 55, 92, .14);
  --sans: "Manrope", ui-sans-serif, system-ui, sans-serif;
  --mono: "DM Mono", ui-monospace, monospace;
  --ease: cubic-bezier(.2, .75, .2, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--canvas); }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 88% 2%, rgba(49, 88, 245, .11), transparent 24rem),
    linear-gradient(rgba(25, 58, 104, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(25, 58, 104, .035) 1px, transparent 1px),
    var(--canvas);
  background-size: auto, 64px 64px, 64px 64px, auto;
  font: 400 16px/1.55 var(--sans);
  overflow-x: hidden;
}
button, input { font: inherit; }
a { color: inherit; }
::selection { color: white; background: var(--blue); }

.scroll-progress {
  position: fixed;
  inset: 0 0 auto;
  height: 3px;
  z-index: 100;
  background: rgba(49, 88, 245, .08);
}
.scroll-progress span {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--blue), var(--aqua), var(--acid));
  box-shadow: 0 0 16px rgba(49, 88, 245, .28);
  transition: width .1s linear;
}
.skip-link { position: fixed; top: -60px; left: 20px; z-index: 110; padding: 11px 16px; color: white; background: var(--navy); border-radius: 8px; }
.skip-link:focus { top: 16px; }
.ambient { position: fixed; width: 42vw; height: 42vw; border-radius: 50%; filter: blur(130px); opacity: .13; pointer-events: none; z-index: -1; }
.ambient-a { top: -28vw; right: -14vw; background: #4d72ff; }
.ambient-b { bottom: -34vw; left: -18vw; background: #56e4cf; }

.brand-stage {
  position: relative;
  height: 340px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 32px 4vw;
  overflow: hidden;
}
.brand-stage::before, .brand-stage::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.brand-stage::before {
  width: 420px;
  height: 420px;
  left: calc(50% - 210px);
  top: -250px;
  border: 1px solid rgba(49, 88, 245, .18);
  box-shadow: 0 0 0 58px rgba(49, 88, 245, .025), 0 0 0 116px rgba(49, 88, 245, .018);
  animation: stagePulse 5s ease-in-out infinite;
}
.brand-stage::after {
  width: 9px;
  height: 9px;
  left: 13%;
  top: 24%;
  background: var(--blue);
  box-shadow: 70vw 110px 0 var(--aqua), 24vw 210px 0 var(--acid), 61vw 14px 0 #ff8c6b;
  animation: drift 6s ease-in-out infinite alternate;
}
.wordmark-lockup { position: relative; text-align: center; z-index: 1; animation: heroIn .9s var(--ease) both; }
.wordmark-lockup h1 {
  margin: 0;
  font: 500 clamp(5rem, 12vw, 11rem)/.75 var(--sans);
  letter-spacing: -.09em;
  color: var(--ink);
  filter: drop-shadow(0 18px 25px rgba(49, 88, 245, .08));
}
.wordmark-lockup p { margin: 36px 0 0; color: var(--muted); font: 400 .72rem var(--mono); letter-spacing: .54em; text-transform: uppercase; }
.brand-sigil { display: none; }
.stage-note { display: flex; flex-direction: column; color: var(--muted); font: 400 .64rem/2 var(--mono); letter-spacing: .24em; text-transform: uppercase; animation: heroIn .8s .14s var(--ease) both; }
.stage-note::after { content: ""; width: 42px; height: 2px; margin-top: 13px; background: linear-gradient(90deg, var(--blue), transparent); }
.stage-note-right { align-items: flex-end; text-align: right; }
.stage-note-right::after { background: linear-gradient(90deg, transparent, var(--aqua)); }

.shell {
  width: min(1500px, 94vw);
  min-height: 900px;
  margin: 0 auto 70px;
  display: grid;
  grid-template-columns: 238px minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid rgba(156, 173, 197, .55);
  border-radius: 24px;
  background: rgba(255, 255, 255, .84);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(22px);
  animation: shellIn 1s .08s var(--ease) both;
}
.rail {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 24px 18px;
  background: rgba(250, 252, 255, .92);
  border-right: 1px solid var(--line);
}
.rail-brand { display: flex; align-items: center; gap: 10px; padding: 3px 4px 50px; color: var(--ink); text-decoration: none; font-weight: 800; }
.mini-sigil { display: grid; place-items: center; width: 34px; height: 34px; color: white; background: linear-gradient(145deg, var(--blue), var(--aqua)); border-radius: 10px; font-family: var(--mono); box-shadow: 0 8px 18px rgba(49, 88, 245, .22); }
.rail-brand small { margin-left: auto; padding: 4px 8px; color: var(--blue); border: 1px solid #c9d4ff; border-radius: 20px; background: #f0f3ff; font: 500 .53rem var(--mono); letter-spacing: .12em; }
.rail nav { display: flex; flex-direction: column; gap: 6px; }
.nav-link { position: relative; display: flex; align-items: center; gap: 13px; padding: 13px 14px; color: var(--muted); border-radius: 10px; text-decoration: none; font-size: .88rem; transition: color .25s, background .25s, transform .25s var(--ease), box-shadow .25s; }
.nav-link span { font: 500 1rem var(--mono); }
.nav-link:hover { color: var(--blue); background: var(--paper-blue); transform: translateX(4px); }
.nav-link.active { color: white; background: linear-gradient(115deg, var(--blue), var(--blue-deep)); box-shadow: 0 12px 24px rgba(49, 88, 245, .2); }
.nav-link.active::after { content: ""; width: 6px; height: 6px; margin-left: auto; background: var(--acid); border-radius: 50%; box-shadow: 0 0 0 4px rgba(216, 255, 87, .16); animation: dotPulse 1.8s ease-in-out infinite; }
.rail-foot { margin-top: auto; padding: 0 12px; color: var(--muted); font: 400 .66rem/1.8 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.rail-foot small { color: #8b99ad; }
.live-dot { display: inline-block; width: 7px; height: 7px; margin-right: 6px; background: var(--aqua); border-radius: 50%; box-shadow: 0 0 0 4px rgba(14, 184, 161, .12); animation: dotPulse 1.8s ease-in-out infinite; }

main { min-width: 0; }
.command-bar {
  position: sticky;
  top: 0;
  z-index: 12;
  height: 88px;
  display: grid;
  grid-template-columns: minmax(240px, 1fr) auto auto;
  align-items: center;
  gap: 14px;
  padding: 0 30px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, .87);
  backdrop-filter: blur(18px) saturate(1.3);
}
.search-trigger { height: 48px; display: flex; align-items: center; gap: 12px; padding: 0 15px; color: var(--muted); background: #f7f9fc; border: 1px solid var(--line); border-radius: 10px; text-align: left; cursor: pointer; transition: border-color .25s, background .25s, box-shadow .25s, transform .25s var(--ease); }
.search-trigger:hover { background: white; border-color: #aebeff; box-shadow: var(--shadow-sm); transform: translateY(-1px); }
.search-trigger span:nth-child(2) { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.search-icon { color: var(--blue); font-size: 1.2rem; }
kbd { margin-left: auto; padding: 3px 8px; color: var(--muted); background: white; border: 1px solid var(--line); border-bottom-width: 2px; border-radius: 5px; font: 400 .66rem var(--mono); }
.live-pill { height: 48px; display: flex; align-items: center; gap: 7px; padding: 0 16px; color: var(--muted); background: white; border: 1px solid var(--line); border-radius: 999px; font: 400 .68rem var(--mono); box-shadow: 0 4px 12px rgba(31, 55, 92, .04); }
.live-pill strong { color: var(--ink); font-weight: 500; }
.live-pill.offline .live-dot { background: #f18d50; box-shadow: 0 0 0 4px rgba(241, 141, 80, .13); }
.wallet-button { height: 48px; display: flex; align-items: center; gap: 11px; padding: 0 17px; color: white; background: var(--navy); border: 0; border-radius: 10px; font-weight: 700; cursor: pointer; box-shadow: 0 10px 22px rgba(9, 23, 47, .18); transition: transform .25s var(--ease), box-shadow .25s, background .25s; }
.wallet-button:hover { background: var(--blue); transform: translateY(-2px); box-shadow: 0 14px 28px rgba(49, 88, 245, .25); }
.wallet-button > span:first-child { color: var(--acid); font-size: 1.25rem; }
.wallet-button span:last-child { display: flex; flex-direction: column; line-height: 1.05; text-align: left; }
.wallet-button small { margin-bottom: 4px; color: #a8b5ca; font: 500 .53rem var(--mono); letter-spacing: .08em; text-transform: uppercase; }

.section { position: relative; min-width: 0; padding: 84px 42px; }
.split-section, .bridge-section, .developer-section, .consensus-section { border-top: 1px solid var(--line); scroll-margin-top: 86px; }
.eyebrow { display: flex; flex-wrap: wrap; gap: 10px; color: var(--blue); font: 500 .64rem var(--mono); letter-spacing: .18em; text-transform: uppercase; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 44px; align-items: center; padding: 52px 0 70px; }
.hero-grid h2, .section-intro h2 { margin: 0; font-weight: 550; letter-spacing: -.065em; }
.hero-grid h2 { font-size: clamp(3.6rem, 6.5vw, 7.3rem); line-height: .88; }
.hero-grid h2 em { font-style: normal; color: var(--blue); }
.lede { max-width: 650px; margin: 33px 0; color: var(--muted); font-size: 1.04rem; line-height: 1.78; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button { position: relative; min-width: 195px; display: inline-flex; align-items: center; justify-content: space-between; gap: 28px; overflow: hidden; padding: 15px 18px; border-radius: 10px; text-decoration: none; font-size: .86rem; font-weight: 750; transition: transform .28s var(--ease), box-shadow .28s, border-color .28s; }
.button::before { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 25%, rgba(255, 255, 255, .35), transparent 70%); transform: translateX(-120%); transition: transform .55s var(--ease); }
.button:hover::before { transform: translateX(120%); }
.button:hover { transform: translateY(-3px); }
.button-primary { color: white; background: linear-gradient(115deg, var(--blue), var(--blue-deep)); box-shadow: 0 14px 30px rgba(49, 88, 245, .2); }
.button-primary:hover { box-shadow: 0 18px 34px rgba(49, 88, 245, .28); }
.button-ghost { color: var(--ink); background: white; border: 1px solid var(--line-strong); box-shadow: var(--shadow-sm); }
.button-ghost:hover { border-color: #91a5f8; }

.orbital-display { position: relative; width: 100%; max-width: 445px; aspect-ratio: 1; display: grid; place-items: center; margin-left: auto; border-radius: 50%; background: radial-gradient(circle, rgba(49, 88, 245, .14), rgba(14, 184, 161, .04) 48%, transparent 70%); filter: drop-shadow(0 30px 40px rgba(49, 88, 245, .1)); animation: float 5s ease-in-out infinite; }
.orbital-display::before { content: ""; position: absolute; inset: 4%; border-radius: 50%; background: conic-gradient(from 90deg, transparent, rgba(49, 88, 245, .08), transparent 36%, rgba(14, 184, 161, .12), transparent 70%); animation: spin 18s linear infinite; }
.orbit { position: absolute; border: 1px solid rgba(49, 88, 245, .24); border-radius: 50%; animation: spin 13s linear infinite; }
.orbit::before { content: ""; position: absolute; width: 8px; height: 8px; top: 11%; left: 18%; background: var(--blue); border: 3px solid white; border-radius: 50%; box-shadow: 0 0 0 5px rgba(49, 88, 245, .12), 0 6px 12px rgba(49, 88, 245, .2); }
.orbit-a { inset: 12%; }
.orbit-b { inset: 26%; animation-direction: reverse; animation-duration: 9s; }
.orbit-c { inset: 40%; animation-duration: 6s; }
.core-mark { z-index: 1; width: 25%; aspect-ratio: 1; display: grid; place-items: center; color: white; background: linear-gradient(145deg, var(--blue), var(--aqua)); border: 8px solid rgba(255, 255, 255, .82); border-radius: 28%; font: 500 clamp(2rem, 4vw, 4rem) var(--mono); box-shadow: 0 22px 50px rgba(49, 88, 245, .27); }
.orbit-label { position: absolute; padding: 5px 8px; color: var(--muted); background: rgba(255, 255, 255, .82); border: 1px solid var(--line); border-radius: 999px; font: 500 .56rem var(--mono); letter-spacing: .12em; backdrop-filter: blur(8px); }
.label-a { left: 0; top: 45%; }
.label-b { right: 4%; bottom: 18%; color: var(--aqua); }

.metrics { display: grid; grid-template-columns: repeat(4, 1fr); overflow: hidden; background: white; border: 1px solid var(--line); border-radius: 15px; box-shadow: var(--shadow-sm); }
.metrics article { display: flex; gap: 15px; padding: 23px; border-right: 1px solid var(--line); transition: background .25s, transform .25s var(--ease); }
.metrics article:last-child { border: 0; }
.metrics article:hover { background: var(--paper-blue); transform: translateY(-2px); }
.metric-icon { width: 36px; height: 36px; flex: none; display: grid; place-items: center; color: var(--blue); background: #edf1ff; border-radius: 9px; }
.metrics small { display: block; margin-bottom: 5px; color: var(--muted); font-size: .69rem; }
.metrics strong { font: 500 1.35rem var(--mono); letter-spacing: -.04em; }
.metric-updated { animation: valueTick .5s var(--ease) both; }
.metrics p { margin: 6px 0 0; color: var(--muted); font: 400 .57rem var(--mono); }
.overview-panels { display: grid; grid-template-columns: 1.4fr .6fr; gap: 16px; margin-top: 16px; }
.panel { padding: 25px; background: white; border: 1px solid var(--line); border-radius: 15px; box-shadow: var(--shadow-sm); transition: transform .35s var(--ease), box-shadow .35s, border-color .35s; }
.panel:hover { transform: translateY(-4px); border-color: #c5d0e0; box-shadow: 0 18px 40px rgba(31, 55, 92, .11); }
.panel h3 { margin: 7px 0; font-size: 1.22rem; }
.panel-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 15px; }
.panel-meta { color: var(--muted); font: 400 .6rem var(--mono); }
.signal-panel { overflow: hidden; }
.pulse-chart { height: 155px; display: flex; align-items: flex-end; gap: 8px; padding-top: 26px; }
.pulse-chart span { flex: 1; height: var(--h); border-radius: 4px 4px 0 0; background: linear-gradient(to top, rgba(49, 88, 245, .22), var(--blue)); transform-origin: bottom; animation: rise .9s var(--ease) both, barPulse 4s 1.2s ease-in-out infinite; }
.pulse-chart span:nth-child(2n) { background: linear-gradient(to top, rgba(14, 184, 161, .18), var(--aqua)); animation-delay: .08s, 1.4s; }
.briefing-panel { color: white; background: linear-gradient(145deg, var(--blue), var(--blue-deep)); border-color: transparent; box-shadow: 0 20px 45px rgba(49, 88, 245, .2); }
.briefing-panel .eyebrow { color: #b8fff4; }
.briefing-panel p { color: #cfdaff; font-size: .82rem; line-height: 1.7; }
.progress { height: 5px; margin: 28px 0 10px; overflow: hidden; background: rgba(255, 255, 255, .17); border-radius: 4px; }
.progress span { display: block; width: 68%; height: 100%; background: var(--acid); box-shadow: 0 0 16px rgba(216, 255, 87, .45); animation: progressGlow 2.2s ease-in-out infinite; }
.briefing-panel > small { color: #aebdf4; font: 400 .59rem var(--mono); }

.section-intro { margin-bottom: 48px; }
.section-intro h2 { margin-top: 23px; font-size: clamp(3rem, 5vw, 5.9rem); line-height: .94; }
.section-intro h2 em { color: var(--blue); font-style: normal; }
.section-intro > p, .horizontal-intro > p { max-width: 570px; margin: 0; color: var(--muted); line-height: 1.8; }
.horizontal-intro { min-width: 0; display: grid; grid-template-columns: 1.25fr .75fr; gap: 60px; align-items: end; }
.network-section { background: linear-gradient(180deg, rgba(237, 243, 255, .8), rgba(255, 255, 255, .4)); }
.network-layout { display: grid; grid-template-columns: 1.3fr .7fr; gap: 16px; }
.status-tag { padding: 7px 10px; color: var(--muted); background: #f7f9fc; border: 1px solid var(--line); border-radius: 999px; font: 400 .59rem var(--mono); white-space: nowrap; }
.spec-list { margin: 28px 0 0; }
.spec-list > div { min-height: 58px; display: grid; grid-template-columns: 150px minmax(0, 1fr) 34px; align-items: center; gap: 12px; border-top: 1px solid var(--line); transition: background .2s, padding .2s; }
.spec-list > div:hover { padding: 0 8px; background: #f7f9ff; }
.spec-list dt { color: var(--muted); font-size: .7rem; }
.spec-list dd { overflow: hidden; margin: 0; font: 400 .73rem var(--mono); text-overflow: ellipsis; }
.copy-button, .icon-button { min-width: 32px; min-height: 32px; color: var(--muted); background: transparent; border: 0; border-radius: 7px; cursor: pointer; transition: color .2s, background .2s, transform .2s; }
.copy-button:hover, .icon-button:hover { color: var(--blue); background: #edf1ff; transform: scale(1.08); }
.protocol-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 10px; padding-top: 21px; border-top: 1px solid var(--line); }
.protocol-strip span { font: 500 .7rem var(--mono); }
.protocol-strip small { display: block; margin-bottom: 6px; color: var(--muted); font-size: .52rem; letter-spacing: .08em; }
.connect-panel { display: flex; flex-direction: column; color: white; background: linear-gradient(160deg, #0d1d38, #1737b8); border-color: transparent; box-shadow: 0 20px 46px rgba(17, 46, 125, .2); }
.connect-panel .eyebrow { color: #94f0e2; }
.connect-sigil { width: 64px; height: 64px; display: grid; place-items: center; margin-bottom: auto; color: var(--navy); background: var(--acid); border-radius: 17px; font: 500 2rem var(--mono); box-shadow: 0 15px 28px rgba(216, 255, 87, .2); animation: float 4s ease-in-out infinite; }
.connect-panel h3 { margin: 13px 0; font-size: 1.65rem; }
.connect-panel p { color: #c2ccec; font-size: .82rem; line-height: 1.7; }
.connect-panel .button-primary { color: var(--navy); background: var(--acid); box-shadow: none; }
.full-button { width: 100%; margin-top: 16px; border: 0; cursor: pointer; }
.text-button { padding: 15px; color: #dce4ff; background: transparent; border: 0; cursor: pointer; }
.setup-steps { margin: 8px 0 0; padding: 0; list-style: none; border-top: 1px solid rgba(255, 255, 255, .15); }
.setup-steps li { padding: 11px 0; color: #b7c3e5; border-bottom: 1px solid rgba(255, 255, 255, .12); font-size: .69rem; }
.setup-steps li span { width: 20px; height: 20px; display: inline-grid; place-items: center; margin-right: 8px; color: var(--acid); border: 1px solid rgba(255, 255, 255, .22); border-radius: 50%; font: 400 .56rem var(--mono); }

.bridge-section { background: white; }
.bridge-grid { min-width: 0; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 16px; }
.bridge-card, .bridge-aside { min-width: 0; }
.bridge-card { padding: 31px; }
.route-switch { display: grid; grid-template-columns: 1fr 1fr; margin: 28px 0; padding: 4px; background: #edf2f8; border: 1px solid var(--line); border-radius: 10px; }
.route-option { padding: 12px; color: var(--muted); background: transparent; border: 0; border-radius: 7px; font: 500 .71rem var(--mono); cursor: pointer; transition: color .25s, background .25s, box-shadow .25s, transform .25s; }
.route-option:hover { color: var(--blue); }
.route-option.active { color: white; background: var(--blue); box-shadow: 0 8px 18px rgba(49, 88, 245, .2); }
.asset-route { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; margin-bottom: 26px; padding: 22px; background: linear-gradient(130deg, #f6f8fc, #edf3ff); border: 1px solid var(--line); border-radius: 12px; transition: transform .35s var(--ease); }
.asset-route.reversed { transform: scaleX(-1); }
.asset-route.reversed > * { transform: scaleX(-1); }
.asset-route > div { display: grid; grid-template-columns: auto 1fr; column-gap: 10px; align-items: center; }
.chain-icon { grid-row: 1/4; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 10px; font-style: normal; }
.eth-icon { color: white; background: linear-gradient(145deg, #586ce8, #7d8af0); }
.vyra-icon { color: white; background: linear-gradient(145deg, var(--blue), var(--aqua)); font-family: var(--mono); }
.asset-route small { color: var(--muted); font-size: .57rem; }
.asset-route strong { font-size: .82rem; }
.asset-route em { color: var(--muted); font: 400 .55rem var(--mono); font-style: normal; }
.route-line { display: flex; align-items: center; color: var(--blue); }
.route-line i { width: 40px; height: 1px; background: linear-gradient(90deg, var(--line), var(--blue)); }
#bridgeForm > label, .track-panel label { display: flex; justify-content: space-between; margin: 16px 0 8px; color: var(--ink); font-size: .73rem; }
#bridgeForm label span { color: var(--muted); font-size: .62rem; }
.amount-field { display: flex; align-items: center; padding: 0 14px; background: #f8fafc; border: 1px solid var(--line); border-radius: 10px; transition: border-color .2s, box-shadow .2s; }
.amount-field:focus-within, .inline-field:focus-within { border-color: #91a5f8; box-shadow: 0 0 0 4px rgba(49, 88, 245, .08); }
.amount-field input, .address-field, .inline-field input { min-width: 0; height: 58px; flex: 1; color: var(--ink); background: transparent; border: 0; outline: 0; font: 400 1.5rem var(--mono); }
.amount-field input::placeholder, .inline-field input::placeholder { color: #a4b0c2; }
.amount-field button { padding: 7px 9px; color: var(--blue); background: #e9eeff; border: 0; border-radius: 6px; font: 500 .56rem var(--mono); cursor: pointer; }
.amount-field strong { margin-left: 12px; font: 500 .69rem var(--mono); }
.bridge-quote { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 13px 0 2px; }
.bridge-quote span { color: var(--muted); font-size: .55rem; }
.bridge-quote strong { display: block; margin-top: 3px; color: var(--ink); font: 400 .61rem var(--mono); }
.bridge-safety-note { display: flex; align-items: flex-start; gap: 10px; margin-top: 15px; padding: 12px 14px; color: var(--muted); background: #f3f7ff; border: 1px solid #dce4f7; border-radius: 9px; }
.bridge-safety-note span { color: var(--blue); }
.bridge-safety-note p { margin: 0; font-size: .64rem; line-height: 1.55; }
.bridge-submit { height: 54px; }
.bridge-aside { display: grid; gap: 16px; }
.balance-panel, .track-panel { padding: 27px; }
.balance-row { display: flex; align-items: center; justify-content: space-between; padding: 18px 0; border-top: 1px solid var(--line); }
.balance-row > span { display: flex; align-items: center; gap: 10px; font-size: .72rem; }
.chain-icon.mini { width: 27px; height: 27px; display: inline-grid; border-radius: 7px; font-size: .65rem; }
.balance-row strong { font: 400 1rem var(--mono); }
.balance-row strong small { color: var(--muted); font-size: .53rem; }
.track-panel h3 { margin-bottom: 18px; }
.inline-field { display: flex; overflow: hidden; border: 1px solid var(--line); border-radius: 9px; transition: border-color .2s, box-shadow .2s; }
.inline-field input { height: 48px; padding: 0 13px; font-size: .67rem; }
.inline-field button { padding: 0 18px; color: white; background: var(--blue); border: 0; font-weight: 700; cursor: pointer; }
.track-result { min-height: 125px; display: flex; align-items: center; justify-content: center; gap: 13px; margin-top: 17px; padding: 18px; color: var(--muted); border: 1px dashed var(--line-strong); border-radius: 9px; font-size: .69rem; }
.empty-orbit { position: relative; width: 34px; height: 34px; border: 1px solid var(--line-strong); border-radius: 50%; animation: spin 4s linear infinite; }
.empty-orbit::after { content: ""; position: absolute; width: 6px; height: 6px; top: 2px; left: 5px; background: var(--blue); border-radius: 50%; }
.track-result.success { justify-content: flex-start; background: #f3fbf9; border-color: #bee8df; border-style: solid; }
.trace-steps { width: 100%; display: flex; flex-direction: column; gap: 8px; }
.trace-steps span { display: flex; justify-content: space-between; }
.trace-steps b { color: var(--aqua); font: 500 .58rem var(--mono); }
.trace-steps a, .search-result a { display: inline-block; margin-top: 9px; color: var(--blue); font: 500 .58rem var(--mono); text-decoration: none; }

.developer-section { background: linear-gradient(180deg, #edf3ff, #f8fbff); }
.code-workbench { overflow: hidden; background: var(--navy); border: 1px solid #152848; border-radius: 16px; box-shadow: 0 26px 58px rgba(9, 23, 47, .2); }
.tool-tabs { display: flex; overflow-x: auto; padding: 10px 12px 0; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.tool-tabs button { padding: 13px 18px; color: #8fa0bc; background: transparent; border: 0; border-bottom: 2px solid transparent; font: 500 .71rem var(--mono); cursor: pointer; transition: color .2s, border-color .2s, background .2s; }
.tool-tabs button:hover { color: white; }
.tool-tabs button[aria-selected="true"] { color: var(--acid); border-color: var(--acid); background: rgba(255, 255, 255, .035); }
.code-layout { display: grid; grid-template-columns: 1.35fr .65fr; }
.code-editor { min-width: 0; border-right: 1px solid rgba(255, 255, 255, .1); }
.editor-bar { height: 52px; display: flex; align-items: center; justify-content: space-between; padding: 0 20px; color: #91a2bd; border-bottom: 1px solid rgba(255, 255, 255, .08); font: 400 .64rem var(--mono); }
.copy-button.labeled { padding: 6px 10px; color: #aebbd0; font: 400 .61rem var(--mono); }
.copy-button.labeled:hover { color: var(--acid); background: rgba(255, 255, 255, .07); }
pre { min-height: 330px; overflow: auto; margin: 0; padding: 27px; color: #d7e4f5; font: 400 .75rem/1.9 var(--mono); tab-size: 2; }
code .token-key { color: #73e7d5; }
code .token-value { color: #d8ff57; }
code .token-comment { color: #718199; }
.build-notes { padding: 12px 27px; }
.build-notes article { display: grid; grid-template-columns: 34px 1fr; gap: 13px; padding: 23px 0; border-bottom: 1px solid rgba(255, 255, 255, .1); transition: transform .25s; }
.build-notes article:hover { transform: translateX(4px); }
.build-notes article:last-child { border: 0; }
.build-notes article > span { width: 30px; height: 30px; display: grid; place-items: center; color: #72e5d4; border: 1px solid rgba(255, 255, 255, .16); border-radius: 50%; font: 400 .52rem var(--mono); }
.build-notes h3 { margin: 1px 0 5px; color: white; font-size: .82rem; }
.build-notes p { margin: 0; color: #91a2bd; font-size: .68rem; line-height: 1.6; }

.consensus-section { background: white; }
.consensus-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 16px; }
.consensus-visual { min-height: 450px; display: grid; place-items: center; overflow: hidden; color: white; background: radial-gradient(circle at 50% 45%, #3f69ff, #1737b8 58%, #0d245b); border-color: transparent; }
.consensus-visual:hover { border-color: transparent; }
.consensus-rings { position: relative; width: min(340px, 85%); aspect-ratio: 1; display: grid; place-items: center; }
.consensus-rings > span { position: absolute; border: 1px solid rgba(255, 255, 255, .28); border-radius: 50%; animation: spin 17s linear infinite; }
.consensus-rings > span::after { content: ""; position: absolute; width: 8px; height: 8px; top: 8%; left: 25%; background: var(--acid); border: 2px solid white; border-radius: 50%; box-shadow: 0 0 20px rgba(216, 255, 87, .65); }
.consensus-rings > span:nth-child(1) { inset: 0; }
.consensus-rings > span:nth-child(2) { inset: 15%; animation-direction: reverse; animation-duration: 12s; }
.consensus-rings > span:nth-child(3) { inset: 30%; animation-duration: 8s; }
.consensus-rings > div { font: 500 3.4rem var(--mono); text-align: center; }
.consensus-rings small { display: block; color: #bdc9ed; font-size: .52rem; letter-spacing: .16em; }
.consensus-caption { display: flex; flex-wrap: wrap; justify-content: center; gap: 22px; color: #d1daf4; font: 400 .55rem var(--mono); }
.consensus-caption i { display: inline-block; width: 6px; height: 6px; margin-right: 6px; background: var(--acid); border-radius: 50%; }
.consensus-caption span:nth-child(2) i { background: #79e6d5; }
.round-steps { padding: 31px; }
.round-steps ol { margin: 24px 0 0; padding: 0; list-style: none; }
.round-steps li { display: grid; grid-template-columns: 34px 1fr auto; gap: 18px; align-items: center; padding: 22px 0; border-top: 1px solid var(--line); opacity: .48; transition: opacity .25s, background .25s, transform .25s; }
.round-steps li:hover { opacity: 1; transform: translateX(4px); }
.round-steps li.complete, .round-steps li.current { opacity: 1; }
.round-steps li > span { color: var(--muted); font: 400 .64rem var(--mono); }
.round-steps strong { display: block; font-size: .88rem; }
.round-steps small { display: block; margin-top: 4px; color: var(--muted); font-size: .67rem; }
.round-steps b { color: var(--muted); font: 500 .58rem var(--mono); }
.round-steps .complete b { color: var(--aqua); }
.round-steps .current { margin: 0 -15px; padding-right: 15px; padding-left: 15px; background: #f1f5ff; border-radius: 9px; }
.round-steps .current b { color: var(--blue); }
.validator-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); overflow: hidden; margin-top: 16px; background: white; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-sm); }
.validator-strip div { display: grid; grid-template-columns: auto 1fr auto; gap: 5px 10px; padding: 18px; border-right: 1px solid var(--line); transition: background .2s; }
.validator-strip div:hover { background: var(--paper-blue); }
.validator-strip div:last-child { border: 0; }
.validator-strip span { grid-row: 1/3; color: var(--blue); font: 500 .55rem var(--mono); }
.validator-strip strong { font-size: .72rem; }
.validator-strip small { color: var(--muted); font: 400 .52rem var(--mono); }
.validator-strip i { grid-column: 3; grid-row: 1/3; align-self: center; color: var(--aqua); font: 500 .54rem var(--mono); font-style: normal; }

footer { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; padding: 48px 42px 25px; color: white; background: var(--navy); border-top: 1px solid #172a4b; }
.footer-brand { display: grid; grid-template-columns: auto 1fr; align-content: start; align-items: center; gap: 10px; }
.footer-brand p { grid-column: 1/3; color: #8fa0bc; font: 400 .62rem var(--mono); letter-spacing: .12em; }
.footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; }
.footer-links div { display: flex; flex-direction: column; gap: 9px; }
.footer-links span { margin-bottom: 5px; color: #74dfcf; font: 400 .53rem var(--mono); letter-spacing: .12em; text-transform: uppercase; }
.footer-links a { color: #9fadc2; font-size: .68rem; text-decoration: none; transition: color .2s, transform .2s; }
.footer-links a:hover { color: white; transform: translateX(3px); }
.footer-bottom { grid-column: 1/3; display: flex; justify-content: space-between; padding-top: 21px; color: #75859f; border-top: 1px solid rgba(255, 255, 255, .1); font: 400 .52rem var(--mono); letter-spacing: .08em; }

.search-dialog { width: min(650px, 92vw); padding: 0; color: var(--ink); background: rgba(255, 255, 255, .96); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 40px 100px rgba(20, 39, 72, .28); }
.search-dialog[open] { animation: dialogIn .35s var(--ease) both; }
.search-dialog::backdrop { background: rgba(15, 28, 50, .34); backdrop-filter: blur(10px); animation: fadeIn .25s both; }
.dialog-shell { padding: 25px; }
.dialog-top { display: flex; justify-content: space-between; }
.dialog-top button { color: var(--muted); background: transparent; border: 0; font-size: 1.5rem; cursor: pointer; transition: color .2s, transform .2s; }
.dialog-top button:hover { color: var(--blue); transform: rotate(90deg); }
.dialog-shell > label { display: block; margin: 22px 0 12px; font-size: 1.35rem; font-weight: 700; }
.global-search { display: flex; align-items: center; padding: 0 14px; background: #f7f9fc; border: 1px solid var(--line); border-radius: 10px; }
.global-search:focus-within { border-color: #91a5f8; box-shadow: 0 0 0 4px rgba(49, 88, 245, .08); }
.global-search input { height: 56px; flex: 1; padding: 0 12px; color: var(--ink); background: transparent; border: 0; outline: 0; font: 400 .74rem var(--mono); }
.search-result { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
.search-result > div { padding: 14px; background: white; border: 1px solid var(--line); border-radius: 9px; transition: border-color .2s, transform .2s; }
.search-result > div:hover { border-color: #9cb0f8; transform: translateY(-2px); }
.search-result span { display: block; color: var(--blue); font: 500 .5rem var(--mono); }
.search-result strong { display: block; margin: 7px 0; font: 500 .72rem var(--mono); }
.search-result small { display: block; color: var(--muted); font-size: .62rem; }
.toast { position: fixed; right: 24px; bottom: 24px; z-index: 40; display: flex; align-items: center; gap: 11px; padding: 12px 17px; color: white; background: var(--navy); border-radius: 9px; box-shadow: var(--shadow-lg); opacity: 0; transform: translateY(120px) scale(.96); transition: opacity .35s, transform .35s var(--ease); }
.toast.show { opacity: 1; transform: none; }
.toast span { color: var(--acid); font-weight: 800; }
.toast p { margin: 0; font-size: .74rem; font-weight: 700; }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity .75s var(--ease), transform .75s var(--ease); }
.reveal.revealed { opacity: 1; transform: none; }
.stagger > * { opacity: 0; transform: translateY(18px); }
.stagger.revealed > * { animation: childIn .55s var(--ease) both; }
.stagger.revealed > *:nth-child(2) { animation-delay: .08s; }
.stagger.revealed > *:nth-child(3) { animation-delay: .16s; }
.stagger.revealed > *:nth-child(4) { animation-delay: .24s; }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
@keyframes rise { from { transform: scaleY(0); } }
@keyframes barPulse { 0%, 100% { filter: saturate(1); } 50% { filter: saturate(1.35) brightness(1.08); } }
@keyframes progressGlow { 0%, 100% { opacity: .8; } 50% { opacity: 1; filter: brightness(1.2); } }
@keyframes dotPulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(.72); } }
@keyframes heroIn { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes shellIn { from { opacity: 0; transform: translateY(32px) scale(.985); } to { opacity: 1; transform: none; } }
@keyframes childIn { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes dialogIn { from { opacity: 0; transform: translateY(18px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes stagePulse { 0%, 100% { transform: scale(1); opacity: .9; } 50% { transform: scale(1.06); opacity: .6; } }
@keyframes drift { to { transform: translate(10px, 14px); } }
@keyframes valueTick { 0% { color: var(--blue); transform: translateY(5px); opacity: .25; } 100% { color: var(--ink); transform: none; opacity: 1; } }

@media (max-width: 1000px) {
  .brand-stage { height: 250px; }
  .shell { width: 96vw; grid-template-columns: minmax(0, 1fr); }
  .rail { min-width: 0; position: sticky; top: 0; z-index: 14; padding: 14px 18px; border-right: 0; border-bottom: 1px solid var(--line); }
  .rail-brand { padding: 0; }
  .rail nav { min-width: 0; flex-direction: row; overflow-x: auto; margin-top: 12px; scrollbar-width: none; }
  .nav-link { white-space: nowrap; padding: 9px 12px; }
  .nav-link:hover { transform: none; }
  .rail-foot { display: none; }
  .command-bar { top: 100px; }
  .hero-grid { grid-template-columns: 1fr; }
  .orbital-display { width: min(430px, 90%); margin: 0 auto; }
  .metrics { grid-template-columns: repeat(2, 1fr); }
  .metrics article:nth-child(2) { border-right: 0; }
  .metrics article:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .network-layout, .bridge-grid, .consensus-grid { grid-template-columns: 1fr; }
  .horizontal-intro { grid-template-columns: 1fr; gap: 12px; }
  .code-layout { grid-template-columns: 1fr; }
  .code-editor { border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, .1); }
  .validator-strip { grid-template-columns: 1fr 1fr; }
  .validator-strip div:nth-child(2) { border-right: 0; }
  .validator-strip div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}

@media (max-width: 640px) {
  .brand-stage { height: 200px; }
  .stage-note { display: none; }
  .wordmark-lockup h1 { font-size: 24vw; }
  .wordmark-lockup p { font-size: .49rem; letter-spacing: .3em; }
  .shell { width: 100%; margin: 0; border-right: 0; border-left: 0; border-radius: 0; }
  .rail nav { margin-right: -8px; margin-left: -8px; }
  .nav-link span { display: none; }
  .command-bar { top: 94px; height: 72px; grid-template-columns: 1fr auto; padding: 0 14px; }
  .live-pill { display: none; }
  .wallet-button { width: 48px; padding: 0; justify-content: center; }
  .wallet-button span:last-child { display: none; }
  .section { padding: 58px 18px; }
  .hero-grid { padding: 38px 0 50px; }
  .hero-grid h2 { font-size: 16.5vw; }
  .lede { font-size: .92rem; }
  .hero-actions .button { width: 100%; }
  .metrics { grid-template-columns: 1fr 1fr; }
  .metrics article { padding: 15px 12px; }
  .metrics strong { font-size: .96rem; }
  .metrics small { font-size: .6rem; }
  .metric-icon { display: none; }
  .overview-panels { grid-template-columns: 1fr; }
  .pulse-chart { height: 115px; }
  .search-trigger span:nth-child(2) { max-width: 150px; }
  .rail-brand small { margin-left: 4px; }
  .section-intro { margin-bottom: 32px; }
  .section-intro h2 { font-size: 2.35rem; letter-spacing: -.055em; }
  .horizontal-intro, .horizontal-intro > div, .bridge-grid, .bridge-card, .bridge-aside { min-width: 0; max-width: 100%; }
  .network-layout, .bridge-grid, .consensus-grid { gap: 12px; }
  .spec-panel, .connect-panel, .bridge-card, .balance-panel, .track-panel, .round-steps { padding: 19px; }
  .spec-list > div { grid-template-columns: 100px 1fr 28px; }
  .spec-list dd { font-size: .63rem; }
  .protocol-strip { grid-template-columns: 1fr 1fr; row-gap: 18px; }
  .connect-sigil { margin-bottom: 28px; }
  .asset-route { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 6px; padding: 13px; }
  .asset-route > div { min-width: 0; grid-template-columns: 34px minmax(0, 1fr); column-gap: 7px; }
  .asset-route .chain-icon { width: 34px; height: 34px; }
  .asset-route small, .asset-route strong, .asset-route em { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .route-line i { width: 13px; }
  .asset-route strong { font-size: .69rem; }
  .asset-route em { font-size: .48rem; }
  .route-option { min-width: 0; padding: 10px 4px; font-size: .56rem; }
  .route-switch { width: 100%; }
  .route-option { white-space: normal; overflow-wrap: anywhere; }
  .bridge-quote { grid-template-columns: 1fr 1fr; }
  .bridge-quote span:last-child { grid-column: 1/3; }
  .tool-tabs button { padding: 11px 13px; }
  .editor-bar { padding: 0 13px; }
  pre { min-height: 290px; padding: 18px; font-size: .65rem; }
  .build-notes { padding: 8px 18px; }
  .consensus-visual { min-height: 360px; }
  .consensus-caption { gap: 10px; }
  .validator-strip { grid-template-columns: 1fr; }
  .validator-strip div, .validator-strip div:nth-child(2) { border-right: 0; border-bottom: 1px solid var(--line); }
  footer { grid-template-columns: 1fr; padding: 38px 18px 20px; }
  .footer-links, .footer-bottom { grid-column: 1; }
  .footer-bottom { flex-direction: column; gap: 10px; }
  .search-result { grid-template-columns: 1fr; }
  .toast { right: 14px; bottom: 14px; left: 14px; }
  .dialog-shell > label { font-size: 1.08rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal, .stagger > * { opacity: 1; transform: none; }
}
