
.hx {
  --hx-well: rgba(255, 255, 255, 0.028);
  --hx-paper: #131319;
  --hx-ink-btn: #fff;
  --hx-pri-a: #9b74fb;
  --hx-pri-b: #7a49ef;
}
[data-theme="light"] .hx {
  --hx-well: #f7f7fa;
  --hx-paper: #ffffff;
}

.hx-wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.hx-first { padding-top: 92px; }
.hx-bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; }

.hx-btn {
  display: inline-flex; align-items: center; gap: 11px; height: 48px; padding: 0 20px;
  border-radius: 12px; font-weight: 700; font-size: 0.95rem; letter-spacing: -0.005em;
  text-decoration: none; white-space: nowrap; border: 0; cursor: pointer;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}
.hx-btn-pri, .hx-go {
  color: var(--hx-ink-btn);
  background: linear-gradient(180deg, var(--hx-pri-a), var(--hx-pri-b));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 10px 26px -12px rgba(139, 92, 246, 0.85);
}
.hx-btn-pri:hover, .hx-go:hover {
  transform: translateY(-1px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.26), 0 14px 32px -12px rgba(139, 92, 246, 0.95);
}
.hx-btn-sec { color: var(--text); background: var(--hover-tint); box-shadow: inset 0 0 0 1px var(--db-line-hi); }
.hx-btn-sec:hover { background: rgba(139, 92, 246, 0.10); box-shadow: inset 0 0 0 1px rgba(167, 139, 250, 0.45); }
.hx-btn:focus-visible, .hx-go:focus-visible { outline: 2px solid var(--purple); outline-offset: 3px; }
.hx-btn-sm { height: 40px; padding: 0 16px; font-size: 0.86rem; }

.hx-arr { position: relative; flex: none; width: 14px; height: 2px; border-radius: 2px; background: currentColor; transition: transform 0.16s ease; }
.hx-arr::after {
  content: ""; position: absolute; right: -1px; top: 50%; width: 7px; height: 7px;
  border-top: 2px solid currentColor; border-right: 2px solid currentColor;
  transform: translateY(-50%) rotate(45deg);
}
.hx-btn:hover .hx-arr, .hx-go:hover .hx-arr { transform: translateX(3px); }

.hx-pill {
  margin-left: auto; flex: none; white-space: nowrap;
  font-family: 'JetBrains Mono', monospace; font-size: 0.62rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 4px 9px; border-radius: 999px;
  color: var(--db-green-up); background: var(--green-dim); box-shadow: inset 0 0 0 1px rgba(16, 185, 129, 0.32);
}
.hx-pill-n { color: var(--db-soft); background: var(--hover-tint); box-shadow: inset 0 0 0 1px var(--db-line-hi); }
.hx-pill-cy { color: var(--db-cyan-up); background: var(--db-cyan-dim); box-shadow: inset 0 0 0 1px rgba(6, 182, 212, 0.32); }

.hx-top { align-items: stretch; }
.hx-hero {
  grid-column: span 7; border-radius: 22px; padding: 42px 44px 36px;
  background:
    radial-gradient(120% 150% at 0% 0%, rgba(139, 92, 246, 0.20), transparent 55%) padding-box,
    radial-gradient(110% 140% at 100% 100%, rgba(6, 182, 212, 0.12), transparent 55%) padding-box,
    linear-gradient(#0f0d1a, #0c1017) padding-box,
    linear-gradient(120deg, rgba(139, 92, 246, 0.85), rgba(139, 92, 246, 0.22) 42%, rgba(6, 182, 212, 0.65)) border-box;
}
[data-theme="light"] .hx-hero {
  background:
    radial-gradient(120% 150% at 0% 0%, rgba(139, 92, 246, 0.11), transparent 55%) padding-box,
    radial-gradient(110% 140% at 100% 100%, rgba(6, 182, 212, 0.08), transparent 55%) padding-box,
    linear-gradient(#ffffff, #fbfaff) padding-box,
    linear-gradient(120deg, rgba(124, 58, 237, 0.6), rgba(124, 58, 237, 0.18) 42%, rgba(8, 145, 178, 0.5)) border-box;
}
.hx-hero::after { box-shadow: inset 0 0 0 1px rgba(196, 181, 253, 0.45), inset 0 0 60px rgba(139, 92, 246, 0.10); }
.hx-hero-glow {
  position: absolute; width: 560px; height: 560px; right: -220px; top: -260px; border-radius: 50%;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.22), transparent 66%);
  pointer-events: none; animation: hx-drift 16s ease-in-out infinite alternate;
}
[data-theme="light"] .hx-hero-glow { background: radial-gradient(circle, rgba(139, 92, 246, 0.10), transparent 66%); }
.hx-hero-in { position: relative; }
.hx-eyebrow { display: inline-flex; align-items: center; gap: 10px; }
.hx-eyebrow::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: currentColor; opacity: 0.7; }
.hx-h1 {
  font-size: clamp(2.5rem, 4.6vw, 4rem); font-weight: 800; letter-spacing: -0.042em; line-height: 1.02;
  margin: 14px 0 18px; color: var(--text);
}
.hx-h1-alt { color: var(--purple-light); }
[data-theme="light"] .hx-h1-alt { color: var(--purple); }
.hx-lede { color: var(--db-soft); font-size: 1.06rem; line-height: 1.62; max-width: 60ch; margin: 0; }
.hx-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hx-infra {
  margin: 26px 0 0; max-width: 62ch; font-size: 0.8rem; line-height: 1.55; color: var(--db-soft);
  padding-left: 12px; border-left: 2px solid rgba(6, 182, 212, 0.45);
}

.hx-wbt {
  grid-column: span 5; border-radius: 22px; padding: 30px 28px;
  display: flex; align-items: center; justify-content: center;
  background:
    radial-gradient(circle at 1px 1px, var(--db-line-hi) 1px, transparent 1.6px) 0 0 / 18px 18px padding-box,
    radial-gradient(90% 80% at 50% 40%, rgba(6, 182, 212, 0.07), transparent 70%) padding-box,
    linear-gradient(var(--bg-card), var(--bg-card)) padding-box,
    linear-gradient(165deg, var(--db-line-hi), var(--db-line-lo) 45%, rgba(6, 182, 212, 0.30)) border-box;
}
.hx-wb {
  position: relative; width: 100%; max-width: 410px; border-radius: 14px; background: var(--hx-paper);
  box-shadow: 0 0 0 1px var(--db-line-hi), inset 0 1px 0 var(--db-inset), 0 34px 60px -34px rgba(0, 0, 0, 0.95), 0 12px 24px -16px rgba(0, 0, 0, 0.6);
  transform: rotate(-2deg); transition: transform 0.35s cubic-bezier(.2, .8, .2, 1);
}
[data-theme="light"] .hx-wb { box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.10), 0 30px 50px -30px rgba(15, 23, 42, 0.45), 0 8px 18px -12px rgba(15, 23, 42, 0.25); }
.hx-wbt:hover .hx-wb { transform: rotate(0deg) translateY(-3px); }
.hx-wb-head { display: flex; justify-content: space-between; align-items: baseline; padding: 18px 20px 12px; }
.hx-wb-brand { font-family: 'JetBrains Mono', monospace; font-weight: 700; font-size: 1rem; color: var(--text); }
.hx-wb-brand b { color: var(--purple-light); }
[data-theme="light"] .hx-wb-brand b { color: var(--purple); }
.hx-wb-doc { font-family: 'JetBrains Mono', monospace; font-size: 0.62rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--db-soft); }
.hx-wb-bars {
  position: relative; height: 54px; margin: 0 20px;
  background-image: repeating-linear-gradient(90deg, var(--text) 0 2px, transparent 2px 5px, var(--text) 5px 6px, transparent 6px 9px, var(--text) 9px 12px, transparent 12px 14px, var(--text) 14px 15px, transparent 15px 20px, var(--text) 20px 23px, transparent 23px 25px);
  opacity: 0.88;
}
.hx-wb-scan {
  position: absolute; left: -16px; right: -16px; top: 50%; height: 2px; margin-top: -1px; border-radius: 2px;
  background: linear-gradient(90deg, rgba(255, 40, 40, 0), #ff2d2d 8%, #ff6b6b 50%, #ff2d2d 92%, rgba(255, 40, 40, 0));
  box-shadow: 0 0 4px 1px rgba(255, 70, 70, 0.95), 0 0 18px 5px rgba(255, 20, 20, 0.34), 0 0 72px 26px rgba(255, 0, 0, 0.11);
  opacity: 0;
  animation: hx-trigger 3s linear infinite;
}
.hx-wb-scan::after {
  content: ""; position: absolute; left: -44px; right: -44px; top: 50%; height: 150px; margin-top: -75px; pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 40, 40, 0), rgba(255, 40, 40, 0.05) 26%, rgba(255, 45, 45, 0.12) 44%, rgba(255, 55, 55, 0.18) 50%, rgba(255, 45, 45, 0.12) 56%, rgba(255, 40, 40, 0.05) 74%, rgba(255, 40, 40, 0));
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 16%, #000 84%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 16%, #000 84%, transparent);
}
.hx-wb-scan::before {
  content: ""; position: absolute; left: -70px; right: -70px; top: 50%; height: 210px; margin-top: -105px; pointer-events: none;
  background: radial-gradient(50% 50% at 50% 50%, rgba(255, 50, 50, 0.30), rgba(255, 40, 40, 0.10) 55%, rgba(255, 40, 40, 0) 80%);
  opacity: 0;
  animation: hx-flash 3s linear infinite;
}
.hx-wb-code { font-family: 'JetBrains Mono', monospace; font-size: 0.62rem; letter-spacing: 0.26em; color: var(--db-soft); text-align: center; margin: 9px 0 2px; }
.hx-wb-f { margin: 12px 20px 0; border-top: 1px dashed var(--db-line-hi); }
.hx-wb-f > div { display: grid; grid-template-columns: 50px 1fr; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px dashed var(--db-line-hi); }
.hx-wb-f > div:last-child { border-bottom: 0; }
.hx-wb-f dt { font-family: 'JetBrains Mono', monospace; font-size: 0.64rem; letter-spacing: 0.12em; color: var(--db-soft); }
.hx-wb-f dd { margin: 0; font-family: 'JetBrains Mono', monospace; font-size: 0.8rem; color: var(--text); min-width: 0; }
.hx-wb-redact { background: var(--text); color: transparent; border-radius: 3px; padding: 0 0.5rem; user-select: none; }
.hx-wb-note { font-size: 0.66rem; letter-spacing: 0.06em; color: var(--db-soft); margin-left: 0.55rem; }
.hx-wb-coins { display: flex; flex-wrap: wrap; gap: 6px 14px; }
.hx-wb-coins span { display: inline-flex; align-items: center; gap: 6px; }
.hx-wb-coins img { border-radius: 50%; }
.hx-wb-onion {
  margin-top: 10px; padding: 14px 20px 16px; border-radius: 0 0 14px 14px;
  background: rgba(6, 182, 212, 0.07); border-top: 1px dashed rgba(6, 182, 212, 0.38);
}
.hx-wb-onion-k { display: block; font-family: 'JetBrains Mono', monospace; font-size: 0.6rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--db-cyan-up); }
.hx-wb-onion code { display: block; margin-top: 5px; font-size: 0.68rem; letter-spacing: -0.01em; color: var(--cyan); overflow-wrap: anywhere; line-height: 1.45; }
[data-theme="light"] .hx-wb-onion code { color: #0e7490; }

.hx-rq {
  position: relative; z-index: 5; overflow: visible;
  margin-top: 16px; padding: 22px 24px 24px; border-radius: 20px;
  scroll-margin-top: 88px;
  background:
    radial-gradient(70% 160% at 100% 0%, rgba(6, 182, 212, 0.08), transparent 60%) padding-box,
    linear-gradient(var(--bg-card), var(--bg-card)) padding-box,
    linear-gradient(110deg, rgba(139, 92, 246, 0.55), var(--db-line-lo) 38%, var(--db-line-lo) 62%, rgba(6, 182, 212, 0.45)) border-box;
}
.hx-rq::after { box-shadow: inset 0 0 0 1px rgba(167, 139, 250, 0.25); }
.hx-rq:focus-within::after { opacity: 1; }
.hx-rq-head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.hx-rq-t { font-size: 1.04rem; font-weight: 750; letter-spacing: -0.012em; }

.hx-rq-form {
  display: grid; gap: 12px; align-items: start;
  grid-template-columns: minmax(0, 1fr) 26px minmax(0, 1fr) 124px 214px auto;
  grid-template-areas: "from arr to w d go";
}
.hx-f-from { grid-area: from; }
.hx-swap { grid-area: arr; }
.hx-f-to { grid-area: to; }
.hx-f-w { grid-area: w; }
.hx-f-d { grid-area: d; }
.hx-go { grid-area: go; }

.hx-f { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.hx-k { font-family: 'JetBrains Mono', monospace; font-size: 0.62rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--db-soft); line-height: 14px; }
.hx-in, .hx-sel .rqp-btn {
  width: 100%; height: 46px; padding: 0 12px; border-radius: 12px;
  background: var(--hx-well); border: 1px solid var(--db-line-hi); color: var(--text);
  font: 600 0.92rem/1 Inter, system-ui, -apple-system, 'Segoe UI', sans-serif;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.hx-in:hover, .hx-sel .rqp-btn:hover { border-color: rgba(167, 139, 250, 0.35); }
.hx-in:focus, .hx-sel .rqp-btn:focus { outline: none; border-color: rgba(139, 92, 246, 0.7); box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.16); }
.hx-in::placeholder { color: var(--db-soft); opacity: 0.75; font-weight: 500; }
.hx-sel { position: relative; display: block; }
.hx-sel select { appearance: none; -webkit-appearance: none; -moz-appearance: none; padding-left: 42px; padding-right: 34px; cursor: pointer; text-overflow: ellipsis; background-color: var(--bg-card); }
.hx-sel select option { background: var(--bg-card); color: var(--text); }
.hx-sel:has(.hx-flag[hidden]) select { padding-left: 13px; }
.hx-flag { position: absolute; z-index: 1; left: 13px; top: 50%; transform: translateY(-50%); width: 20px; height: auto; border-radius: 3px; pointer-events: none; }
.hx-flag[hidden] { display: none; }
.hx-sel::after {
  content: ""; position: absolute; right: 15px; top: 50%; width: 6px; height: 6px; pointer-events: none;
  border-right: 1.5px solid var(--db-soft); border-bottom: 1.5px solid var(--db-soft); transform: translateY(-70%) rotate(45deg);
}
.hx-subw { position: relative; display: block; }
.hx-sub { height: 36px; font-size: 0.8rem; font-weight: 500; }
.hx-num { font-family: 'JetBrains Mono', monospace; font-weight: 600; }
.hx-num::-webkit-inner-spin-button, .hx-num::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.hx-num { -moz-appearance: textfield; appearance: textfield; }
.hx-unit { position: relative; display: block; }
.hx-unit .hx-in { padding-right: 34px; }
.hx-unit i { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); font: 600 0.7rem 'JetBrains Mono', monospace; font-style: normal; color: var(--db-soft); pointer-events: none; }
.hx-dims { display: flex; align-items: center; gap: 5px; }
.hx-dims .hx-in { text-align: center; padding: 0 4px; min-width: 0; }
.hx-dims i { font-style: normal; color: var(--db-soft); font-size: 0.8rem; }
.hx-swap { position: relative; height: 46px; margin-top: 20px; }
.hx-swap::before { content: ""; position: absolute; left: 4px; right: 5px; top: 50%; height: 1.5px; margin-top: -0.75px; background: var(--db-soft); opacity: 0.7; }
.hx-swap::after {
  content: ""; position: absolute; right: 5px; top: 50%; width: 7px; height: 7px; opacity: 0.7;
  border-top: 1.5px solid var(--db-soft); border-right: 1.5px solid var(--db-soft); transform: translateY(-50%) rotate(45deg);
}
.hx-go { display: inline-flex; align-items: center; justify-content: center; gap: 11px; height: 46px; margin-top: 20px; padding: 0 22px; border-radius: 12px; font: 700 0.95rem Inter, system-ui, sans-serif; white-space: nowrap; border: 0; cursor: pointer; transition: transform 0.16s ease, box-shadow 0.16s ease; }

.hx-sel .rqp { position: relative; }
.rqp-native { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.hx-sel .rqp-btn { display: flex; align-items: center; padding-left: 42px; padding-right: 34px; text-align: left; cursor: pointer; }
.hx-sel:has(.hx-flag[hidden]) .rqp-btn { padding-left: 13px; }
.rqp-btn > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rqp-ph { color: var(--db-soft); font-weight: 500; }
.rqp-panel, .rq-ac {
  display: none; position: absolute; z-index: 60; top: calc(100% + 6px); left: 0; width: max(100%, 260px);
  max-height: 302px; overflow-y: auto; padding: 5px; border-radius: 14px;
  background: var(--bg-card); box-shadow: 0 0 0 1px var(--db-line-hi), 0 24px 48px -20px rgba(0, 0, 0, 0.85);
}
[data-theme="light"] .rqp-panel, [data-theme="light"] .rq-ac { box-shadow: 0 0 0 1px var(--db-line-hi), 0 22px 40px -22px rgba(15, 23, 42, 0.45); }
.rq-ac { max-height: 240px; }
.rqp.open .rqp-panel, .rq-ac.open { display: block; }
.rqp-opt, .rq-ac-i {
  display: flex; align-items: center; gap: 0.55rem; width: 100%; background: transparent; border: 0; border-radius: 9px;
  padding: 0.45rem 0.6rem; color: var(--text); font-family: inherit; font-size: 0.86rem; text-align: left; cursor: pointer;
}
.rq-ac-i { align-items: baseline; font-size: 0.82rem; }
.rqp-opt:hover, .rqp-opt.on, .rq-ac-i:hover, .rq-ac-i.on { background: var(--hover-tint); }
.rqp-opt[aria-selected="true"] { color: var(--purple-light); }
[data-theme="light"] .rqp-opt[aria-selected="true"] { color: var(--purple); }
.rqp-opt img { width: 20px; height: auto; border-radius: 3px; flex: 0 0 auto; }
.rqp-opt b, .rq-ac-i b { font-family: 'JetBrains Mono', monospace; font-size: 0.72rem; color: var(--db-soft); font-weight: 600; }

.hx-ask { margin-top: 16px; padding: 14px 16px; border-radius: 12px; box-shadow: inset 0 0 0 1px var(--db-line-hi); }
.hx-ask-form { display: grid; gap: 8px; max-width: 420px; }
.hx-ask-help { font-size: 0.86rem; color: var(--db-soft); line-height: 1.45; margin: 0 0 4px; }
.hx-ask-msg { font-size: 0.9rem; font-weight: 600; color: var(--green); margin: 0; }
.hx-ask-msg + .hx-ask-form { margin-top: 12px; }
.hx-ask-go {
  justify-self: start; margin-top: 4px; padding: 9px 16px; border-radius: 10px; border: 1px solid var(--db-line-hi);
  background: transparent; color: var(--text); font-family: inherit; font-size: 0.86rem; font-weight: 600; cursor: pointer;
}
.hx-ask-go:hover { background: var(--hover-tint); }

.hx-err {
  margin-top: 16px; display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 12px;
  background: var(--red-dim); color: var(--db-bad); font-weight: 600; font-size: 0.88rem;
  box-shadow: inset 0 0 0 1px rgba(239, 68, 68, 0.32);
}
.hx-res { margin-top: 20px; padding-top: 18px; border-top: 1px dashed var(--db-line-hi); }
.hx-res-head { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 16px; margin-bottom: 12px; }
.hx-route { display: inline-flex; align-items: center; gap: 8px; font-size: 0.95rem; }
.hx-route img { width: 20px; height: auto; border-radius: 3px; }
.hx-route b { font-family: 'JetBrains Mono', monospace; font-weight: 700; }
.hx-route-arr { position: relative; display: inline-block; flex: none; width: 18px; height: 1.5px; background: var(--db-soft); margin: 0 4px; }
.hx-route-arr::after { content: ""; position: absolute; right: 0; top: 50%; width: 6px; height: 6px; border-top: 1.5px solid var(--db-soft); border-right: 1.5px solid var(--db-soft); transform: translateY(-50%) rotate(45deg); }
.hx-spec { font-family: 'JetBrains Mono', monospace; font-size: 0.72rem; color: var(--db-soft); }
.hx-cap { font-size: 0.8rem; color: var(--amber); margin: -4px 0 10px; }
[data-theme="light"] .hx-cap { color: #b45309; }
.hx-list { display: flex; flex-direction: column; gap: 8px; }
.hx-r {
  display: grid; grid-template-columns: 30px 96px minmax(0, 1fr) 64px auto 18px; align-items: center; gap: 14px;
  padding: 11px 16px 11px 14px; border-radius: 14px; color: inherit; text-decoration: none;
  background: var(--hx-well); box-shadow: inset 0 0 0 1px var(--db-line-hi);
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
  animation: hx-row-in 0.5s cubic-bezier(.2, .8, .2, 1) both; animation-delay: calc(var(--hx-i, 0) * 55ms);
}
.hx-r:hover, .hx-r:focus-visible { transform: translateY(-1px); outline: none; box-shadow: inset 0 0 0 1px rgba(167, 139, 250, 0.5), 0 12px 26px -18px rgba(139, 92, 246, 0.7); }
.hx-r-best {
  background: linear-gradient(90deg, rgba(16, 185, 129, 0.11), transparent 62%), var(--hx-well);
  box-shadow: inset 0 0 0 1px rgba(16, 185, 129, 0.45);
}
.hx-r-i { font-family: 'JetBrains Mono', monospace; font-size: 0.72rem; color: var(--db-soft); }
.hx-r-logo { height: 40px; border-radius: 10px; background: #fff; display: flex; align-items: center; justify-content: center; padding: 6px 10px; box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.08); }
.hx-r-logo img { max-height: 30px; max-width: 80px; width: auto; height: auto; object-fit: contain; }
.hx-r-logo b { color: #18181b; font-family: 'JetBrains Mono', monospace; }
.hx-r-who { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.hx-r-nm { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 0.95rem; }
.hx-best {
  font-style: normal; font-family: 'JetBrains Mono', monospace; font-size: 0.58rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--db-green-up); background: var(--green-dim); padding: 2px 7px; border-radius: 999px; box-shadow: inset 0 0 0 1px rgba(16, 185, 129, 0.35);
}
.hx-r-meta { display: flex; align-items: center; gap: 8px; min-width: 0; }
.hx-tag { flex: none; font-size: 0.7rem; font-weight: 600; padding: 2px 8px; border-radius: 6px; }
.hx-tag-h { color: var(--purple-light); background: var(--purple-dim); }
.hx-tag-p { color: var(--db-cyan-up); background: var(--db-cyan-dim); }
[data-theme="light"] .hx-tag-h { color: var(--purple); }
.hx-r-svc { font-size: 0.76rem; color: var(--db-soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hx-r-eta { font-family: 'JetBrains Mono', monospace; font-size: 0.8rem; color: var(--db-soft); text-align: right; }
.hx-r-price { font-family: 'JetBrains Mono', monospace; font-size: 1.12rem; font-weight: 650; text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.hx-r-best .hx-r-price { color: var(--green); }
.hx-r-go { position: relative; width: 18px; height: 18px; }
.hx-r-go::before { content: ""; position: absolute; left: 3px; top: 50%; width: 7px; height: 7px; border-top: 1.5px solid var(--db-soft); border-right: 1.5px solid var(--db-soft); transform: translateY(-50%) rotate(45deg); transition: transform 0.16s ease, border-color 0.16s ease; }
.hx-r:hover .hx-r-go::before { border-color: var(--purple-light); transform: translate(3px, -50%) rotate(45deg); }
.hx-res-cta { margin-top: 14px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 0.86rem; color: var(--db-soft); }
.hx-res-cta-b { display: flex; gap: 10px; flex-wrap: wrap; }

.hx-gate { position: fixed; inset: 0; z-index: 300; display: none; align-items: center; justify-content: center; padding: 16px; }
.hx-gate:target { display: flex; }
.hx-gate-bg { position: absolute; inset: 0; background: rgba(4, 4, 8, 0.66); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
[data-theme="light"] .hx-gate-bg { background: rgba(15, 23, 42, 0.32); }
.hx-gate-box { position: relative; width: 100%; max-width: 430px; padding: 30px 28px 28px; border-radius: 20px; animation: hx-pop 0.22s cubic-bezier(.2, .8, .2, 1) both; }
.hx-gate-h { font-size: 1.25rem; font-weight: 800; letter-spacing: -0.02em; margin: 16px 0 6px; }
.hx-gate-t { color: var(--db-soft); font-size: 0.92rem; line-height: 1.55; margin: 0; }
.hx-gate-b { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.hx-gate-x { position: absolute; top: 14px; right: 14px; width: 34px; height: 34px; border-radius: 10px; background: var(--hover-tint); box-shadow: inset 0 0 0 1px var(--db-line-hi); }
.hx-gate-x::before, .hx-gate-x::after { content: ""; position: absolute; left: 10px; right: 10px; top: 50%; height: 1.5px; margin-top: -0.75px; background: var(--db-soft); transform: rotate(45deg); }
.hx-gate-x::after { transform: rotate(-45deg); }
.hx-gate-x:hover { background: rgba(139, 92, 246, 0.12); }

.hx-marq {
  margin: 64px 0 0; overflow: hidden; padding: 6px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.hx-marq-track { display: flex; width: max-content; animation: hx-marq 42s linear infinite; }
.hx-marq:hover .hx-marq-track { animation-play-state: paused; }
.hx-marq-run { display: flex; align-items: center; gap: 72px; padding-right: 72px; }
.hx-marq img { display: block; height: 25px; width: auto; opacity: 0.72; transition: opacity 0.2s ease; }
.hx-marq img.hx-sq { height: 36px; }
.hx-marq img:hover { opacity: 1; }
[data-theme="light"] .hx-marq img { opacity: 0.85; }

.hx-sec { padding-top: 76px; }
.hx-sec-head { display: flex; align-items: flex-start; gap: 18px; margin-bottom: 24px; }
.hx-kick {
  flex: none; margin-top: 7px; font-family: 'JetBrains Mono', monospace; font-size: 0.72rem; font-weight: 600;
  color: var(--purple-light); padding: 5px 8px; border-radius: 8px; background: var(--purple-dim); box-shadow: inset 0 0 0 1px rgba(139, 92, 246, 0.3);
}
[data-theme="light"] .hx-kick { color: var(--purple); }
.hx-sec-head h2 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); font-weight: 800; letter-spacing: -0.032em; line-height: 1.14; }
.hx-sec-sub { max-width: 66ch; margin-top: 8px; font-size: 0.96rem; line-height: 1.6; }
.hx-hl-gr { color: var(--green); }

.hx-save {
  grid-column: span 4; padding: 26px; border-radius: 20px; display: flex; flex-direction: column;
  background:
    radial-gradient(140% 120% at 100% 0%, rgba(16, 185, 129, 0.14), transparent 55%) padding-box,
    linear-gradient(var(--bg-card), var(--bg-card)) padding-box,
    linear-gradient(160deg, rgba(16, 185, 129, 0.55), var(--db-line-lo) 45%, rgba(16, 185, 129, 0.22)) border-box;
}
[data-theme="light"] .hx-save {
  background:
    radial-gradient(140% 120% at 100% 0%, rgba(16, 185, 129, 0.08), transparent 55%) padding-box,
    linear-gradient(var(--bg-card), var(--bg-card)) padding-box,
    linear-gradient(160deg, rgba(5, 150, 105, 0.45), var(--db-line-lo) 45%, rgba(5, 150, 105, 0.18)) border-box;
}
.hx-save::after { box-shadow: inset 0 0 0 1px rgba(16, 185, 129, 0.4), inset 0 0 48px rgba(16, 185, 129, 0.06); }
.hx-save-num {
  font-family: 'JetBrains Mono', monospace; font-weight: 600; color: var(--green);
  font-size: clamp(56px, 6.2vw, 80px); letter-spacing: -0.05em; line-height: 1; margin: 8px 0 12px;
  text-shadow: 0 0 34px rgba(16, 185, 129, 0.35); font-variant-numeric: tabular-nums;
}
.hx-save-num small { font-size: 0.5em; margin-left: 1px; letter-spacing: 0; }
[data-theme="light"] .hx-save-num { text-shadow: none; }
.hx-vs { grid-column: span 8; display: flex; flex-direction: column; gap: 12px; }
.hx-vs-row {
  display: grid; grid-template-columns: minmax(170px, 1.15fr) minmax(90px, 1.3fr) auto auto 78px; gap: 18px; align-items: center;
  padding: 16px 20px; border-radius: 16px;
}
.hx-vs-route { display: inline-flex; align-items: center; gap: 8px; font-weight: 650; font-size: 0.92rem; white-space: nowrap; }
.hx-vs-route img { width: 20px; height: auto; border-radius: 3px; }
.hx-vs-bars { display: grid; gap: 6px; }
.hx-vs-bar { display: block; height: 6px; width: var(--w); border-radius: 99px; }
.hx-vs-bar-al { background: rgba(161, 161, 170, 0.28); }
.hx-vs-bar-ns { background: linear-gradient(90deg, var(--green), #34d399); box-shadow: 0 0 12px rgba(16, 185, 129, 0.35); }
.hx-vs-old { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; }
.hx-vs-old span { font-family: 'JetBrains Mono', monospace; font-size: 0.56rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--db-soft); }
.hx-vs-old s { font-family: 'JetBrains Mono', monospace; font-size: 0.84rem; color: var(--db-soft); }
.hx-vs-new { font-family: 'JetBrains Mono', monospace; font-size: 1.14rem; font-weight: 650; font-variant-numeric: tabular-nums; }
.hx-vs-delta {
  justify-self: end; font-family: 'JetBrains Mono', monospace; font-size: 0.76rem; font-weight: 700; color: var(--db-green-up);
  background: var(--green-dim); padding: 4px 8px; border-radius: 8px; box-shadow: inset 0 0 0 1px rgba(16, 185, 129, 0.32);
}
.hx-foot { margin: 2px 0 0 4px; font-size: 0.8rem; color: var(--db-soft); }
.hx-vs-row { grid-template-columns: minmax(214px, 1.15fr) minmax(90px, 1.3fr) auto auto 78px; }
.hx-vs-route { flex-direction: column; align-items: flex-start; gap: 3px; }
.hx-vs-cities { display: inline-flex; align-items: center; gap: 8px; }
.hx-vs-car {
  padding-left: 28px; font-family: 'JetBrains Mono', monospace; font-size: 0.66rem;
  font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--db-soft);
}
.hx-vs-plus {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin-top: 16px;
  text-decoration: none; color: inherit;
}
.hx-vs-plus-k { font-size: 0.82rem; font-weight: 650; color: var(--db-soft); margin-right: 2px; }
.hx-vs-chip {
  font-size: 0.8rem; padding: 5px 11px; border-radius: 99px; border: 1px solid var(--db-line-lo);
  background: var(--bg-card); color: var(--text); transition: border-color 0.15s;
}
.hx-vs-plus:hover .hx-vs-chip { border-color: rgba(16, 185, 129, 0.45); }

.hx-steps { list-style: none; margin: 0; padding: 0; }
.hx-step { grid-column: span 4; padding: 24px; border-radius: 20px; display: flex; flex-direction: column; min-height: 210px; }
.hx-step-gr { background: radial-gradient(120% 110% at 100% 0%, rgba(16, 185, 129, 0.10), transparent 55%) padding-box, linear-gradient(var(--bg-card), var(--bg-card)) padding-box, linear-gradient(165deg, var(--db-line-hi), var(--db-line-lo) 45%, rgba(16, 185, 129, 0.26)) border-box; }
.hx-step-cy { background: radial-gradient(120% 110% at 100% 0%, rgba(6, 182, 212, 0.10), transparent 55%) padding-box, linear-gradient(var(--bg-card), var(--bg-card)) padding-box, linear-gradient(165deg, var(--db-line-hi), var(--db-line-lo) 45%, rgba(6, 182, 212, 0.26)) border-box; }
.hx-step-pu { background: radial-gradient(120% 110% at 100% 0%, rgba(139, 92, 246, 0.11), transparent 55%) padding-box, linear-gradient(var(--bg-card), var(--bg-card)) padding-box, linear-gradient(165deg, var(--db-line-hi), var(--db-line-lo) 45%, rgba(139, 92, 246, 0.28)) border-box; }
.hx-step-n { font-family: 'JetBrains Mono', monospace; font-size: 1.9rem; font-weight: 600; letter-spacing: -0.03em; line-height: 1; color: var(--text-dim); }
.hx-step h3 { font-size: 1.04rem; font-weight: 750; letter-spacing: -0.012em; margin: 12px 0 8px; }
.hx-step p { color: var(--db-soft); font-size: 0.88rem; line-height: 1.6; margin: 0; }

.hx-zt {
  margin-top: 16px; padding: 20px 22px 22px; border-radius: 20px;
  background:
    radial-gradient(80% 160% at 0% 0%, rgba(6, 182, 212, 0.09), transparent 60%) padding-box,
    linear-gradient(var(--bg-card), var(--bg-card)) padding-box,
    linear-gradient(165deg, rgba(6, 182, 212, 0.45), var(--db-line-lo) 45%, rgba(6, 182, 212, 0.2)) border-box;
}
.hx-zt::after { box-shadow: inset 0 0 0 1px rgba(34, 211, 238, 0.3), inset 0 0 42px rgba(6, 182, 212, 0.06); }
.hx-zt-head { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 16px; margin-bottom: 18px; }
.hx-zt-k { font-family: 'JetBrains Mono', monospace; font-size: 0.66rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--db-cyan-up); }
.hx-zt-claim { font-weight: 700; font-size: 0.98rem; letter-spacing: -0.01em; }
.hx-zt-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.hx-zt-cell { display: flex; gap: 12px; align-items: flex-start; }
.hx-zt-cell h3 { font-size: 0.86rem; font-weight: 700; margin: 2px 0 3px; }
.hx-zt-cell p { font-size: 0.79rem; line-height: 1.5; color: var(--db-soft); margin: 0; }

.hx-faq { columns: 2; column-gap: 12px; }
.hx-q { border-radius: 16px; break-inside: avoid; margin-bottom: 12px; }
.hx-q summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 18px 20px; font-weight: 700; font-size: 0.97rem; letter-spacing: -0.008em;
}
.hx-q summary::-webkit-details-marker { display: none; }
.hx-q summary:focus-visible { outline: 2px solid var(--purple); outline-offset: -4px; border-radius: 14px; }
.hx-q-ic { position: relative; flex: none; width: 28px; height: 28px; border-radius: 9px; background: var(--hover-tint); box-shadow: inset 0 0 0 1px var(--db-line-hi); transition: transform 0.25s ease, background 0.2s ease; }
.hx-q-ic::before, .hx-q-ic::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 1.5px; margin: -0.75px 0 0 -5.5px; background: var(--db-soft); }
.hx-q-ic::after { transform: rotate(90deg); }
.hx-q[open] .hx-q-ic { transform: rotate(45deg); background: var(--purple-dim); }
.hx-q[open]::after { opacity: 1; }
.hx-q summary:hover .hx-q-ic { background: var(--purple-dim); }
.hx-q p { margin: 0; padding: 0 20px 20px; color: var(--db-soft); font-size: 0.9rem; line-height: 1.68; }
.hx-q p.hx-q-onion { margin-top: -8px; display: flex; flex-direction: column; gap: 4px; }
.hx-q-onion span { font-family: 'JetBrains Mono', monospace; font-size: 0.62rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--db-cyan-up); }
.hx-q-onion code { font-size: 0.78rem; line-height: 1.5; color: var(--cyan); overflow-wrap: anywhere; user-select: all; }
[data-theme="light"] .hx-q-onion code { color: #0e7490; }
.hx-wrap > .hx-sec:last-child { padding-bottom: 96px; }

@keyframes hx-rise { from { transform: translateY(18px); } }
@keyframes hx-row-in { from { transform: translateY(8px); } }
@keyframes hx-pop { from { opacity: 0; transform: translateY(8px) scale(0.98); } }
@keyframes hx-drift { from { transform: translate(0, 0); } to { transform: translate(-150px, 70px); } }
@keyframes hx-trigger {
  0%, 76%  { opacity: 0; transform: scaleX(0.6); }
  76.8%    { opacity: 1; transform: scaleX(1.02); box-shadow: 0 0 6px 2px rgba(255, 80, 80, 1), 0 0 22px 6px rgba(255, 20, 20, 0.5), 0 0 60px 20px rgba(255, 0, 0, 0.2); }
  79%      { opacity: 0.84; transform: scaleX(1); }
  81.5%    { opacity: 1; transform: translateY(1px); }
  84%      { opacity: 0.9; transform: translateY(-0.5px); }
  86.5%    { opacity: 1; transform: translateY(0); }
  87%, 100% { opacity: 0; transform: none; }
}
@keyframes hx-flash {
  0%, 76%  { opacity: 0; }
  76.8%    { opacity: 1; }
  80%      { opacity: 0.5; }
  86.5%    { opacity: 0.4; }
  87%, 100% { opacity: 0; }
}
@keyframes hx-marq { to { transform: translateX(-50%); } }
@keyframes hx-reveal { from { transform: translateY(34px) scale(0.985); } }

.hx-rise { animation: hx-rise 0.7s cubic-bezier(.2, .7, .2, 1) both; animation-delay: var(--hx-d, 0ms); }

@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .hx-reveal { animation: hx-reveal linear both; animation-timeline: view(); animation-range: entry 0% entry 60%; }
  }
}

@media (prefers-reduced-motion: reduce) {
  .hx-rise, .hx-r, .hx-gate-box, .hx-hero-glow, .hx-wb-scan { animation: none; }
  .hx-marq { -webkit-mask-image: none; mask-image: none; }
  .hx-marq-track { animation: none; width: auto; justify-content: center; }
  .hx-marq-run { flex-wrap: wrap; justify-content: center; gap: 20px 48px; padding-right: 0; }
  .hx-marq-run[aria-hidden] { display: none; }
  .hx-wb, .hx-wbt:hover .hx-wb { transform: none; }
  .hx-wb-scan { opacity: 1; }
  .hx-wb-scan::before { animation: none; }
}

.modal-open .hx-hero-glow, .modal-open .hx-wb-scan, .modal-open .hx-wb-scan::before, .modal-open .hx-marq-track { animation: none; }

@media (max-width: 1100px) {
  .hx-rq-form {
    grid-template-columns: minmax(0, 1fr) 26px minmax(0, 1fr);
    grid-template-areas: "from arr to" "w . d" "go go go";
  }
  .hx-go { margin-top: 4px; width: 100%; }
}
@media (max-width: 1000px) {
  .hx-hero, .hx-wbt { grid-column: 1 / -1; }
  .hx-wbt { padding: 34px 24px; }
  .hx-save, .hx-vs { grid-column: 1 / -1; }
  .hx-zt-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 820px) {
  .hx-step { grid-column: 1 / -1; min-height: 0; }
  .hx-faq { columns: 1; }
  .hx-vs-row { grid-template-columns: minmax(0, 1fr) auto auto auto; }
  .hx-vs-bars { grid-column: 1 / -1; grid-row: 2; }
}
@media (max-width: 640px) {
  .hx-wrap { padding: 0 16px; }
  .hx-first { padding-top: 84px; }
  .hx-bento { gap: 12px; }
  .hx-hero { padding: 30px 22px 26px; border-radius: 20px; }
  .hx-h1 { font-size: clamp(2.1rem, 10.5vw, 2.7rem); }
  .hx-lede { font-size: 0.98rem; }
  .hx-cta .hx-btn { flex: 1 1 auto; justify-content: center; }
  .hx-wbt { padding: 22px 14px; }
  .hx-wb { transform: none; }
  .hx-rq { padding: 18px 16px 18px; }
  .hx-rq-form { grid-template-columns: 1fr; grid-template-areas: "from" "to" "w" "d" "go"; }
  .hx-swap { display: none; }
  .rqp-panel, .rq-ac { width: 100%; }
  .hx-r { grid-template-columns: 74px minmax(0, 1fr) auto; gap: 12px; padding: 10px 12px; }
  .hx-r-i, .hx-r-go { display: none; }
  .hx-r-eta { grid-column: 2; grid-row: 2; text-align: left; margin-top: -4px; font-size: 0.72rem; }
  .hx-r-logo { grid-row: span 2; }
  .hx-r-logo img { max-width: 56px; }
  .hx-r-svc { display: none; }
  .hx-best { white-space: nowrap; font-size: 0.54rem; padding: 2px 6px; }
  .hx-r-nm { flex-wrap: wrap; row-gap: 4px; }
  .hx-r-price { grid-column: 3; grid-row: 1 / span 2; }
  .hx-res-cta { flex-direction: column; align-items: stretch; }
  .hx-res-cta-b .hx-btn { flex: 1; justify-content: center; }
  .hx-marq { margin-top: 48px; }
  .hx-marq-run { gap: 44px; padding-right: 44px; }
  .hx-marq img { height: 20px; } .hx-marq img.hx-sq { height: 28px; }
  .hx-sec { padding-top: 56px; }
  .hx-sec-head { flex-direction: column; gap: 10px; }
  .hx-kick { margin-top: 0; }
  .hx-vs-row { grid-template-columns: minmax(0, 1fr) auto auto; padding: 14px 16px; gap: 12px 14px; }
  .hx-vs-route { grid-column: 1 / -1; }
  .hx-vs-old { display: none; }
  .hx-vs-bars { grid-column: 1; grid-row: 2; }
  .hx-vs-new { grid-column: 2; grid-row: 2; font-size: 1.02rem; }
  .hx-vs-delta { grid-column: 3; grid-row: 2; }
  .hx-zt-grid { grid-template-columns: 1fr; gap: 14px; }
  .hx-wrap > .hx-sec:last-child { padding-bottom: 64px; }
}

.hx-marq--static { -webkit-mask-image: none; mask-image: none; }
.hx-marq--static .hx-marq-track { animation: none; width: auto; justify-content: center; }
.hx-marq--static .hx-marq-run { flex-wrap: wrap; justify-content: center; gap: 22px 52px; padding: 0 24px; }
