:root {
  --bg: #0d1117;
  --panel: #131922;
  --panel-soft: #171f2a;
  --line: #253040;
  --text: #eef2f7;
  --muted: #8c98aa;
  --accent: #63c58b;
  --accent-dark: #1f7f53;
  --danger: #e66a6a;
  --mono: "JetBrains Mono", "SFMono-Regular", Consolas, monospace;
  --sans: "Geist", "Satoshi", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  min-height: 100dvh;
  font-family: var(--sans);
  color: var(--text);
  background:
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255,255,255,.035) 1px, transparent 1px),
    radial-gradient(circle at 18% 8%, rgba(99,197,139,.13), transparent 32rem),
    var(--bg);
  background-size: 46px 46px, 46px 46px, auto, auto;
}

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

button,
input {
  font: inherit;
}

.shell {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  padding: 54px 0 42px;
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(360px, 1.1fr);
  gap: 24px;
}

.hero {
  min-height: 560px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding-right: 4vw;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--accent);
  border: 1px solid rgba(99,197,139,.24);
  background: rgba(99,197,139,.06);
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 650;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--accent);
  animation: breathe 1.8s ease-in-out infinite;
}

.hero h1 {
  margin: 18px 0 0;
  max-width: 8ch;
  font-size: clamp(52px, 8vw, 98px);
  line-height: .88;
  letter-spacing: 0;
}

.lead {
  max-width: 520px;
  margin: 22px 0 0;
  color: #b8c1ce;
  font-size: 18px;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--text);
  background: rgba(19,25,34,.75);
  transition: transform .18s cubic-bezier(.16,1,.3,1), border-color .18s, background .18s;
}

.button.primary {
  color: #06120c;
  border-color: rgba(99,197,139,.72);
  background: var(--accent);
  font-weight: 750;
}

.button:hover,
.copy:hover,
.route-tabs button:hover {
  transform: translateY(-1px);
}

.button:active,
.copy:active,
.route-tabs button:active {
  transform: scale(.98);
}

.tool {
  align-self: center;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(19,25,34,.82);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 24px 80px rgba(0,0,0,.32);
  border-radius: 18px;
  padding: 16px;
  backdrop-filter: blur(18px);
}

.route-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 14px;
}

.route-tabs button {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--muted);
  background: rgba(13,17,23,.62);
  cursor: pointer;
  transition: transform .18s cubic-bezier(.16,1,.3,1), color .18s, border-color .18s, background .18s;
}

.route-tabs button.active {
  color: var(--text);
  border-color: rgba(99,197,139,.5);
  background: rgba(99,197,139,.09);
}

.route-panel {
  padding: 18px;
  border-radius: 14px;
  background: var(--panel);
  border: 1px solid rgba(255,255,255,.06);
}

.route-line {
  display: grid;
  grid-template-columns: 1fr 52px 1fr;
  align-items: stretch;
  gap: 10px;
}

.chain-box {
  display: grid;
  gap: 5px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel-soft);
}

.chain-box strong {
  font-size: 22px;
}

.chain-box small,
.label,
.facts span {
  color: var(--muted);
}

.label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}

.route-arrow {
  position: relative;
  min-height: 82px;
}

.route-arrow::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 8px;
  right: 8px;
  height: 2px;
  background: var(--accent);
  transform: translateY(-50%);
}

.route-arrow::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 5px;
  width: 10px;
  height: 10px;
  border-top: 2px solid var(--accent);
  border-right: 2px solid var(--accent);
  transform: translateY(-50%) rotate(45deg);
}

.facts {
  display: grid;
  grid-template-columns: 1.2fr .8fr .8fr;
  gap: 10px;
  margin-top: 12px;
}

.facts div {
  display: grid;
  gap: 5px;
  min-height: 68px;
  padding: 13px;
  border-radius: 11px;
  background: rgba(255,255,255,.035);
  border: 1px solid rgba(255,255,255,.055);
}

.address-list {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.address-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(13,17,23,.62);
}

code {
  display: block;
  margin-top: 6px;
  font-family: var(--mono);
  color: #d8dee9;
  word-break: break-all;
  font-size: 13px;
}

.copy {
  min-width: 70px;
  height: 36px;
  border: 1px solid rgba(99,197,139,.34);
  border-radius: 9px;
  background: rgba(99,197,139,.08);
  color: var(--accent);
  cursor: pointer;
  transition: transform .18s cubic-bezier(.16,1,.3,1), background .18s;
}

.note {
  margin: 14px 0 0;
  color: #b8c1ce;
  line-height: 1.5;
}

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

.link-grid a {
  display: flex;
  align-items: center;
  min-height: 40px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: #cfd7e6;
  background: rgba(255,255,255,.025);
}

.link-grid a:hover {
  border-color: rgba(99,197,139,.42);
}

.handoff {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 16px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

.handoff p {
  margin: 8px 0 0;
  color: #c1cad8;
  line-height: 1.55;
}

.mini-list {
  display: grid;
  gap: 8px;
}

.mini-list span {
  min-height: 38px;
  display: flex;
  align-items: center;
  padding: 8px 12px;
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 10px;
  background: rgba(19,25,34,.62);
  color: #cbd3df;
  font-family: var(--mono);
  font-size: 12px;
  word-break: break-all;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 22px;
  min-width: 180px;
  padding: 11px 14px;
  border-radius: 999px;
  color: #06120c;
  background: var(--accent);
  text-align: center;
  font-weight: 750;
  opacity: 0;
  transform: translate(-50%, 14px);
  pointer-events: none;
  transition: opacity .2s, transform .2s;
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

@keyframes breathe {
  0%, 100% { transform: scale(1); opacity: .75; }
  50% { transform: scale(1.55); opacity: 1; }
}

@media (max-width: 900px) {
  .shell {
    width: min(100% - 24px, 680px);
    grid-template-columns: 1fr;
    padding-top: 28px;
  }

  .hero {
    min-height: auto;
    padding: 22px 0 6px;
  }

  .hero h1 {
    max-width: 10ch;
    font-size: clamp(48px, 16vw, 76px);
  }

  .route-line,
  .facts,
  .handoff {
    grid-template-columns: 1fr;
  }

  .route-arrow {
    min-height: 34px;
    transform: rotate(90deg);
  }

  .route-tabs,
  .link-grid {
    grid-template-columns: 1fr;
  }
}

