:root {
  --bg-0: #e7eef8;
  --bg-1: #f3f7fc;
  --ink: #0f1728;
  --ink-soft: #5b677a;
  --ink-faint: #8b95a7;
  --surface: rgba(255, 255, 255, 0.86);
  --surface-solid: #ffffff;
  --line: rgba(15, 23, 40, 0.08);
  --line-strong: rgba(15, 23, 40, 0.12);
  --accent: #0b5fff;
  --accent-deep: #0747c7;
  --accent-soft: rgba(11, 95, 255, 0.12);
  --arc: #1a6cff;
  --shadow: 0 18px 50px rgba(20, 45, 90, 0.12);
  --radius: 20px;
  --radius-sm: 14px;
  --font-display: "Newsreader", "Times New Roman", serif;
  --font-body: "Public Sans", "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: linear-gradient(165deg, var(--bg-0), var(--bg-1) 45%, #eef3f9);
  overflow-x: hidden;
}

.atmosphere {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.55;
  animation: drift 14s var(--ease) infinite alternate;
}

.glow-a {
  width: 42vw;
  height: 42vw;
  min-width: 280px;
  min-height: 280px;
  top: -12%;
  left: -8%;
  background: radial-gradient(circle, rgba(11, 95, 255, 0.28), transparent 68%);
}

.glow-b {
  width: 38vw;
  height: 38vw;
  min-width: 260px;
  min-height: 260px;
  right: -10%;
  bottom: -8%;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.22), transparent 70%);
  animation-delay: -4s;
}

.grid-fade {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(15, 23, 40, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 40, 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 35%, black, transparent);
}

@keyframes drift {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }
  to {
    transform: translate3d(24px, 18px, 0) scale(1.06);
  }
}

.topbar,
.stage {
  position: relative;
  z-index: 1;
}

.topbar {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 1.5rem;
  max-width: 1120px;
  margin: 0 auto;
  animation: rise 0.7s var(--ease) both;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--ink);
}

.brand-logo {
  display: block;
  width: 32px;
  height: 32px;
  border-radius: 9px;
  flex-shrink: 0;
  transition: transform 0.35s var(--ease);
}

.brand:hover .brand-logo {
  transform: translateY(-1px) scale(1.04);
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.2rem;
  letter-spacing: -0.015em;
  line-height: 1;
}

.topnav {
  display: none;
  gap: 1.25rem;
  margin-left: 1.5rem;
}

.topnav a {
  color: var(--ink-soft);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.topnav a:hover {
  color: var(--ink);
}

.topbar .btn-ghost {
  margin-left: auto;
}

.stage {
  max-width: 920px;
  margin: 0 auto;
  padding: 1.25rem 1.25rem 4rem;
}


.intro {
  text-align: center;
  margin-bottom: 1rem;
  animation: rise 0.8s var(--ease) 0.08s both;
}

.hero-line {
  margin: 0.1rem 0 0.35rem;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3.4vw, 1.85rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--ink);
}

.hero-line em {
  font-style: italic;
  font-weight: 600;
  color: var(--accent-deep);
}

.hero-dot {
  color: var(--accent);
}

.hero-arc {
  width: min(100%, 220px);
  margin: 0.7rem auto 0;
  color: rgba(11, 95, 255, 0.35);
  animation: draw-arc 1.2s var(--ease) 0.3s both;
}

.hero-arc svg {
  display: block;
  width: 100%;
  height: 36px;
}

.hero-arc-path {
  stroke-dasharray: 560;
  stroke-dashoffset: 560;
  animation: stroke-draw 1.4s var(--ease) 0.35s forwards;
}

@keyframes stroke-draw {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes draw-arc {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.tnum {
  font-variant-numeric: tabular-nums;
}

.seo-eyebrow {
  margin: 0 0 0.55rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-deep);
}

.premium-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 0.95rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.55);
  color: var(--ink-soft);
  font-size: 0.8rem;
  font-weight: 500;
  line-height: 1.2;
}

.premium-chip-k {
  color: var(--ink-faint);
  font-weight: 600;
  letter-spacing: 0.02em;
}

.premium-chip strong {
  font-family: var(--font-mono);
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.premium-chip-meta {
  color: var(--ink-faint);
  font-size: 0.76rem;
}

.premium-chip-meta::before {
  content: "";
  display: inline-block;
  width: 3px;
  height: 3px;
  margin: 0 0.4rem 0.1rem 0.05rem;
  border-radius: 50%;
  background: currentColor;
  vertical-align: middle;
  opacity: 0.7;
}

.hero-lockup {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 0.55rem;
}

.hero-logo {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  box-shadow: 0 8px 18px rgba(11, 95, 255, 0.16);
}

.hero-brand {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.85rem, 4.2vw, 2.45rem);
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1.12;
}

.lede {
  margin: 0 auto;
  max-width: 26rem;
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.5;
  font-weight: 400;
}

.bridge-shell {
  display: grid;
  gap: 0.75rem;
  max-width: 920px;
  margin: 0 auto;
  animation: rise 0.9s var(--ease) 0.16s both;
}

.bridge-main {
  display: grid;
  gap: 0.75rem;
  min-width: 0;
}

@media (min-width: 900px) {
  .topbar {
    max-width: 1100px;
  }

  .topbar .brand-name {
    font-size: 1.25rem;
  }

  .topnav {
    display: flex;
  }

  .bridge-shell {
    grid-template-columns: 1.15fr 0.85fr;
    align-items: start;
  }
}

.panel {
  background: var(--surface);
  backdrop-filter: blur(18px);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 10px 28px rgba(20, 45, 90, 0.07);
  padding: 0.85rem 0.9rem 0.85rem;
}

.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.7rem;
}

.panel-head h2 {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.panel-actions {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.icon-btn,
.swap-btn,
.btn-square {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--surface-solid);
  color: var(--ink-soft);
  cursor: pointer;
  transition:
    transform 0.2s var(--ease),
    border-color 0.2s ease,
    color 0.2s ease,
    background 0.2s ease;
}

.icon-btn:hover,
.swap-btn:hover,
.btn-square:hover {
  color: var(--ink);
  border-color: var(--line-strong);
  transform: translateY(-1px);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border: 0;
  background: transparent;
  color: var(--accent);
  font: inherit;
  font-weight: 600;
  font-size: 0.92rem;
  cursor: pointer;
  padding: 0.35rem 0.45rem;
  border-radius: 8px;
  transition: background 0.2s ease;
}

.text-link:hover {
  background: var(--accent-soft);
}

.route-board {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0.4rem;
  align-items: stretch;
  margin-bottom: 0.4rem;
}

.leg {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  min-width: 0;
  padding: 0.6rem 0.65rem;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #f7fafd;
}

.to-leg {
  border-color: rgba(11, 95, 255, 0.22);
  background: #eef5ff;
}

.leg-head {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.chain-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.4rem 0.5rem 0.4rem 0.4rem;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--surface-solid);
  color: inherit;
  font: inherit;
  cursor: pointer;
  text-align: left;
  transition:
    border-color 0.2s ease,
    transform 0.2s var(--ease),
    background 0.2s ease;
}

.chain-chip:hover {
  border-color: rgba(11, 95, 255, 0.35);
  background: #f3f8ff;
  transform: translateY(-1px);
}

.chain-chip.is-static {
  cursor: default;
  pointer-events: none;
}

.chain-chip.is-static:hover {
  transform: none;
  border-color: var(--line);
  background: var(--surface-solid);
}

.chain-chip-text {
  flex: 1;
  min-width: 0;
}

.chain-chip-text strong {
  display: block;
  font-size: 0.9rem;
  letter-spacing: -0.02em;
}

.chain-chip-text small {
  display: block;
  margin-top: 0.05rem;
  color: var(--ink-soft);
  font-size: 0.76rem;
}

.chain-chip .caret {
  color: var(--ink-faint);
  flex-shrink: 0;
  margin-left: auto;
}

.amount-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.15rem;
  min-width: 0;
  margin-top: auto;
}

.amount-input {
  width: 100%;
  border: 0;
  background: transparent;
  text-align: left;
  font-family: var(--font-mono);
  font-size: clamp(1.1rem, 2.2vw, 1.3rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--ink);
  outline: none;
  padding: 0;
  min-width: 0;
}

.amount-input.is-readonly {
  pointer-events: none;
  line-height: 1.2;
}

.amount-sub {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.4rem;
  font-size: 0.74rem;
  color: var(--ink-faint);
  font-weight: 500;
}

.max-btn {
  border: 0;
  background: none;
  padding: 0;
  color: var(--accent-deep);
  font: inherit;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
}

.max-btn:hover {
  color: var(--accent);
}

.crossing {
  display: grid;
  place-items: center;
  align-self: center;
}

.crossing .swap-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--surface-solid);
  box-shadow: 0 6px 16px rgba(20, 45, 90, 0.08);
}

.lock-pill {
  margin-left: auto;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--accent-deep);
  background: rgba(11, 95, 255, 0.12);
  padding: 0.18rem 0.38rem;
  border-radius: 999px;
}

.swap-btn.is-static {
  cursor: default;
  color: var(--ink-faint);
  box-shadow: 0 6px 16px rgba(20, 45, 90, 0.08);
  pointer-events: none;
}

.swap-btn.is-static:hover {
  transform: none;
  border-color: var(--line);
  color: var(--ink-faint);
}

.route-label {
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--ink-faint);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.3rem;
  margin: 0.4rem 0 0.55rem;
  padding: 0.45rem 0.3rem;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.55);
}

.fact {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
  text-align: center;
  min-width: 0;
}

.fact dt {
  margin: 0;
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.fact dd {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.btn-bridge {
  width: 100%;
  min-height: 2.55rem;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.activity {
  margin: 0;
  padding: 0.75rem 0.85rem 0.8rem;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--surface);
  backdrop-filter: blur(14px);
  box-shadow: 0 10px 28px rgba(20, 45, 90, 0.06);
  animation: rise 0.9s var(--ease) 0.22s both;
}

.section-head {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 0.55rem;
}

.section-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.section-rule {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--line-strong), transparent);
}

.tx-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.35rem;
}

.tx-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 0.65rem;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #f7fafd;
  animation: rise 0.55s var(--ease) both;
}

.tx-route {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-shrink: 0;
}

.tx-route .logo-chain {
  width: 22px;
  height: 22px;
}

.tx-arrow {
  color: var(--ink-faint);
  font-size: 0.85rem;
  line-height: 1;
}

.tx-main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.tx-title {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.tx-sub {
  margin: 0;
  font-size: 0.7rem;
  color: var(--ink-faint);
  font-weight: 500;
}

.tx-amt {
  text-align: right;
  flex-shrink: 0;
}

.tx-amt .n {
  font-family: var(--font-mono);
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.tx-state {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin-top: 0.12rem;
  font-size: 0.66rem;
  font-weight: 600;
  color: #b8860b;
}

.tx-state.done {
  color: #1a7a4c;
}

.tx-state .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.tx-empty {
  margin: 0;
  padding: 1.1rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px dashed var(--line-strong);
  background: rgba(255, 255, 255, 0.45);
  color: var(--ink-faint);
  font-size: 0.9rem;
  text-align: center;
}

@media (max-width: 640px) {
  .route-board {
    grid-template-columns: 1fr;
    gap: 0.45rem;
  }

  .crossing {
    height: 1.6rem;
  }

  .crossing .swap-btn {
    transform: rotate(90deg);
  }

  .facts {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.55rem 0.35rem;
  }
}

.logo {
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
  line-height: 0;
}

.logo svg,
.logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.logo-token {
  width: 34px;
  height: 34px;
}

.logo-token.sm {
  width: 22px;
  height: 22px;
}

.logo-chain {
  width: 28px;
  height: 28px;
}

.logo-chain.xs {
  width: 16px;
  height: 16px;
}

.logo-stack {
  position: relative;
  width: 40px;
  height: 34px;
  flex-shrink: 0;
}

.logo-stack .logo-token {
  position: absolute;
  left: 0;
  top: 0;
}

.logo-overlap {
  position: absolute;
  right: 0;
  bottom: -2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  box-shadow: 0 0 0 2px #f7fafd;
  overflow: hidden;
}

.to-leg .logo-overlap {
  box-shadow: 0 0 0 2px #eef5ff;
}

.logo-overlap .logo,
.logo-overlap .logo-chain {
  width: 18px;
  height: 18px;
}

.amount-error {
  margin: 0 0 0.35rem;
  color: #b42318;
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.35;
}

.amount-error[hidden] {
  display: none;
}

.premium-hint {
  display: block;
  margin: 0 0 0.35rem;
  color: var(--ink-faint);
  font-size: 0.78rem;
  font-weight: 500;
  line-height: 1.35;
}

.premium-hint[hidden] {
  display: none;
}

.premium-hint strong {
  color: var(--ink-soft);
  font-weight: 600;
}

.swap-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: var(--accent);
  background: var(--surface-solid);
  box-shadow: 0 6px 16px rgba(11, 95, 255, 0.12);
}

.swap-btn.is-spinning svg {
  animation: spin 0.45s var(--ease);
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(180deg);
  }
}

.field {
  display: block;
  padding: 0.85rem 0.95rem 0.75rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: #f7fafd;
  margin-bottom: 1rem;
}

.field-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.35rem;
}

.field-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink-faint);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.field .max-btn {
  background: var(--accent-soft);
  padding: 0.25rem 0.5rem;
  border-radius: 8px;
  text-transform: uppercase;
}

.field .max-btn:hover {
  background: rgba(11, 95, 255, 0.18);
}

.settings-trigger {
  position: relative;
  width: auto;
  min-width: 40px;
  padding: 0 0.55rem;
  gap: 0.35rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.settings-badge {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--accent-deep);
  font-variant-numeric: tabular-nums;
}

.field-body {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.field-body input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  font-family: var(--font-mono);
  font-size: 1.65rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
  outline: none;
  padding: 0;
}

.field-token {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
}

.field-token .logo-token.sm,
.field-token .logo.sm {
  width: 22px;
  height: 22px;
}

.field-meta {
  display: block;
  margin-top: 0.25rem;
  color: var(--ink-faint);
  font-size: 0.9rem;
}

.cta-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.55rem;
}

.btn {
  font: inherit;
  font-weight: 600;
  border-radius: 12px;
  cursor: pointer;
  letter-spacing: 0;
  transition:
    transform 0.2s var(--ease),
    background 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  height: 48px;
  border: 0;
  color: #fff;
  background: linear-gradient(180deg, #2a74ff, var(--accent));
  box-shadow: 0 10px 24px rgba(11, 95, 255, 0.28);
}

.btn-primary:hover {
  background: linear-gradient(180deg, #3b80ff, var(--accent-deep));
  transform: translateY(-1px);
}

.btn-ghost {
  height: 40px;
  padding: 0 1rem;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.7);
  color: var(--ink);
}

.btn-ghost:hover {
  border-color: rgba(11, 95, 255, 0.35);
  background: #fff;
}

.btn-square {
  width: 48px;
  height: 48px;
  color: var(--accent);
}

.seo-block {
  margin-top: 2.25rem;
  padding: 1.35rem 1.25rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
  animation: rise 0.9s var(--ease) 0.2s both;
}

.seo-block h2 {
  margin: 0 0 0.7rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.seo-block p {
  margin: 0 0 0.85rem;
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.55;
  max-width: 48rem;
}

.seo-block strong {
  color: var(--ink);
  font-weight: 600;
}

.seo-points {
  margin: 0;
  padding-left: 1.15rem;
  color: var(--ink-soft);
  font-size: 0.92rem;
  line-height: 1.5;
}

.seo-points li {
  margin-bottom: 0.4rem;
}

.faq-list {
  display: grid;
  gap: 0.55rem;
}

.faq-list details {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #f7fafd;
  padding: 0.75rem 0.9rem;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink);
  list-style-position: outside;
}

.faq-list details p {
  margin: 0.55rem 0 0;
  max-width: none;
}

.site-footer {
  position: relative;
  z-index: 1;
  max-width: 920px;
  margin: 0 auto;
  padding: 1.5rem 1.25rem 2.5rem;
  text-align: center;
  color: var(--ink-soft);
  font-size: 0.88rem;
}

.site-footer a {
  color: var(--accent-deep);
  text-decoration: none;
  font-weight: 600;
  margin-left: 0.75rem;
}

.site-footer a:hover {
  text-decoration: underline;
}

.site-footer p {
  margin: 0 0 0.35rem;
}

.footer-meta {
  font-size: 0.78rem;
  color: var(--ink-faint);
}

.receive {
  display: flex;
  flex-direction: column;
  align-self: start;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #c5ccd8;
  box-shadow: 0 0 0 4px rgba(197, 204, 216, 0.35);
}

.receive-body {
  display: block;
  text-align: left;
  padding: 0.15rem 0 0.15rem;
}

.receive-idle {
  text-align: center;
  padding: 0.5rem 0.25rem;
}

.receive-idle h3 {
  margin: 0.5rem 0 0.3rem;
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.receive-idle p {
  margin: 0 auto;
  color: var(--ink-soft);
  font-size: 0.84rem;
  line-height: 1.4;
  max-width: 16rem;
}

.receive-head {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.35rem;
}

.receive-label {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.85rem;
  font-weight: 600;
}

.receive-chain {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin: 0.15rem 0 0;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.quote-amount span {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--ink-soft);
}

.quote-row-premium {
  background: #f3f6fa !important;
  border-color: var(--line) !important;
}

.quote-row-premium strong {
  color: var(--ink);
}

.route-inline {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.86rem;
}

.route-arrow {
  color: var(--ink-faint);
  margin: 0 0.1rem;
}

.premium-note {
  margin: 0.9rem 0 0;
  font-size: 0.8rem;
  color: var(--ink-soft);
  line-height: 1.4;
}

.premium-note.muted {
  color: var(--ink-faint);
}

.pill {
  margin-left: auto;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--accent-deep);
  background: var(--accent-soft);
  padding: 0.28rem 0.45rem;
  border-radius: 999px;
  white-space: nowrap;
}

.chain-copy {
  min-width: 0;
}

.chain-list button.is-disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.field-token .logo {
  margin-right: 0.15rem;
}

.path-icon {
  color: #9aa6bb;
  animation: pathPulse 2.8s ease-in-out infinite;
}

@keyframes pathPulse {
  0%,
  100% {
    opacity: 0.55;
    transform: translateY(0);
  }
  50% {
    opacity: 1;
    transform: translateY(-3px);
  }
}

.receive-quote {
  width: 100%;
  text-align: left;
}

.quote-amount {
  font-family: var(--font-mono);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  margin: 0.1rem 0 0.05rem;
  line-height: 1.15;
}

.quote-meta {
  display: grid;
  gap: 0.55rem;
  margin-top: 1.1rem;
}

.quote-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.92rem;
  padding: 0.7rem 0.8rem;
  border-radius: 12px;
  background: #f7fafd;
  border: 1px solid var(--line);
}

.quote-row span:first-child {
  color: var(--ink-soft);
}

.quote-row strong {
  font-weight: 700;
}

.modal[hidden] {
  display: none;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(12, 20, 36, 0.38);
  backdrop-filter: blur(4px);
  animation: fade 0.2s ease both;
}

.modal-card {
  position: relative;
  width: min(100%, 420px);
  max-height: min(86vh, 640px);
  display: flex;
  flex-direction: column;
  background: var(--surface-solid);
  border-radius: 18px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 0.85rem;
  animation: pop 0.28s var(--ease) both;
}

.modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.35rem 0.35rem 0.55rem;
  flex-shrink: 0;
}

.modal-head h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
}

.modal-tools {
  display: grid;
  gap: 0.55rem;
  padding: 0 0.2rem 0.65rem;
  flex-shrink: 0;
}

.search-field {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 0.75rem;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #f7fafd;
  color: var(--ink-faint);
}

.search-field input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 0.95rem;
  color: var(--ink);
  outline: none;
}

.modal-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.78rem;
  color: var(--ink-faint);
  font-weight: 600;
}

.toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  cursor: pointer;
  color: var(--ink-soft);
  font-weight: 600;
}

.toggle input {
  accent-color: var(--accent);
}

.chain-list {
  list-style: none;
  margin: 0;
  padding: 0 0.1rem 0.2rem;
  display: grid;
  gap: 0.35rem;
  overflow-y: auto;
  min-height: 0;
  flex: 1;
}

.chain-list button {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-align: left;
  border: 1px solid transparent;
  background: #f7fafd;
  border-radius: 12px;
  padding: 0.7rem 0.8rem;
  font: inherit;
  cursor: pointer;
  transition:
    border-color 0.2s ease,
    background 0.2s ease;
}

.chain-list button:hover,
.chain-list button[aria-selected="true"] {
  border-color: rgba(11, 95, 255, 0.35);
  background: #eef5ff;
}

.empty-chains {
  padding: 1.5rem 0.75rem;
  text-align: center;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.settings-card {
  width: min(100%, 420px);
}

.settings-body {
  display: grid;
  gap: 1.1rem;
  padding: 0 0.2rem 0.35rem;
  overflow-y: auto;
}

.settings-block h4 {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
}

.settings-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.settings-hint {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent-deep);
  font-variant-numeric: tabular-nums;
}

.settings-desc {
  margin: 0.35rem 0 0.7rem;
  font-size: 0.82rem;
  color: var(--ink-soft);
  line-height: 1.4;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.chip {
  border: 1px solid var(--line);
  background: #f7fafd;
  color: var(--ink);
  font: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  padding: 0.55rem 0.75rem;
  border-radius: 10px;
  cursor: pointer;
  transition:
    border-color 0.2s ease,
    background 0.2s ease,
    color 0.2s ease;
}

.chip:hover {
  border-color: rgba(11, 95, 255, 0.35);
}

.chip.is-active {
  border-color: rgba(11, 95, 255, 0.45);
  background: #eef5ff;
  color: var(--accent-deep);
}

.chip-custom {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.35rem 0.55rem;
  cursor: text;
}

.chip-custom input {
  width: 3.4rem;
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink);
  outline: none;
}

.chip-custom span {
  color: var(--ink-faint);
  font-size: 0.85rem;
  font-weight: 600;
}

.deadline-field {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 0.75rem;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #f7fafd;
}

.deadline-field input {
  width: 5rem;
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
  outline: none;
}

.deadline-field span {
  color: var(--ink-soft);
  font-size: 0.88rem;
  font-weight: 500;
}

.switch-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
}

.switch-row:last-of-type {
  border-bottom: 0;
  padding-bottom: 0;
}

.switch-row strong {
  display: block;
  font-size: 0.92rem;
  font-weight: 600;
}

.switch-row small {
  display: block;
  margin-top: 0.2rem;
  color: var(--ink-soft);
  font-size: 0.8rem;
  line-height: 1.35;
}

.switch-row input {
  width: 18px;
  height: 18px;
  accent-color: var(--accent);
  flex-shrink: 0;
}

.settings-save {
  width: 100%;
  height: 44px;
  border: 0;
}

.pill-muted {
  color: var(--ink-soft);
  background: rgba(15, 23, 40, 0.06);
}

.chain-list strong {
  display: block;
  font-size: 0.95rem;
}

.chain-list small {
  color: var(--ink-soft);
  font-size: 0.8rem;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 1.4rem;
  transform: translateX(-50%);
  z-index: 50;
  background: var(--ink);
  color: #fff;
  padding: 0.75rem 1.1rem;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 600;
  box-shadow: 0 12px 30px rgba(15, 23, 40, 0.25);
  animation: pop 0.28s var(--ease) both;
}

.toast[hidden] {
  display: none;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes pop {
  from {
    opacity: 0;
    transform: translateY(8px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 560px) {
  .topbar {
    padding: 0.95rem 1rem;
  }

  .brand-name {
    font-size: 1.15rem;
  }

  .route-row {
    grid-template-columns: 1fr;
  }

  .swap-btn {
    justify-self: center;
  }

  .swap-btn:not(.is-static) {
    transform: rotate(90deg);
  }

  .field-body input {
    font-size: 1.55rem;
  }

  .panel {
    padding: 1rem;
  }
}
