/* v2 waitlist landing. Colors from tokens.css. Breakpoints live in css/mobile.css. */
*,
*::before,
*::after {
  box-sizing: border-box;
  border-radius: 0 !important;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body.v2-land {
  background: var(--v2-bg);
  color: var(--v2-text);
  font: var(--fs-16) / 1.55 var(--v2-mono);
  letter-spacing: var(--v2-track);
  -webkit-font-smoothing: none;
  min-width: 0;
  overflow-x: hidden;
  overflow-y: auto;
  height: auto;
}
body.v2-land::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 90;
  opacity: var(--v2-scan-opacity);
  background: repeating-linear-gradient(to bottom, var(--v2-scan) 0 1px, transparent 1px 3px);
}
a {
  color: inherit;
  text-decoration: none;
}
/* Full-width bento (anh): no max-width marketing container. */
.v2l-wrap {
  max-width: none;
  width: 100%;
  margin: 0;
  padding: 0;
}
.v2l-lbl {
  font-size: var(--fs-12);
  text-transform: uppercase;
  letter-spacing: var(--v2-track-label);
  color: var(--v2-muted);
}
.v2l-lbl b {
  color: var(--v2-rose);
  font-weight: 400;
}

.v2l-grid {
  display: grid;
  gap: 1px;
  background: var(--v2-line);
  border: 1px solid var(--v2-line);
}
.v2l-grid + .v2l-grid {
  border-top: 0;
}
.v2l-t {
  background: var(--v2-tile);
  padding: 20px;
  min-width: 0;
  position: relative;
}
.v2l-hatch {
  background: var(--hatch), var(--v2-tile);
  min-height: 60px;
}
.v2l-sec {
  margin-top: 0;
}
.v2l-sec-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 1px solid var(--v2-line);
  border-bottom: 0;
  padding: 10px 16px;
  background: var(--v2-tile);
}

.v2l-top {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--v2-bg);
  padding-top: 12px;
}
.v2l-bar {
  grid-template-columns: auto repeat(5, 1fr) auto;
}
.v2l-bar a {
  background: var(--v2-tile);
  padding: 0 18px;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fs-12);
  letter-spacing: var(--v2-track-label);
  text-transform: uppercase;
  color: var(--v2-bone);
  transition:
    background var(--t) var(--st),
    color var(--t) var(--st);
}
.v2l-bar a:hover,
.v2l-bar a:focus-visible {
  background: var(--v2-text);
  color: var(--v2-bg);
  outline: none;
}
.v2l-bar .v2l-brand {
  color: var(--v2-text);
  font-weight: 700;
  letter-spacing: var(--v2-track-logo);
  justify-content: flex-start;
}
.v2l-brand i {
  font-style: normal;
  color: var(--v2-rose);
  margin-right: 8px;
}
/* Shared .v2-nav top bar (shell.css). Landing scrolls; shell body overflow is overridden. */
body.v2-land {
  min-width: 0;
  height: auto;
  overflow: auto;
  background: var(--v2-bg);
}
body.v2-land .v2-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  flex-direction: row;
  align-items: stretch;
  height: var(--v2-nav-h);
  width: 100%;
  overflow: visible;
}
body.v2-land .v2-nav .v2-wallet {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  border-right: var(--v2-rule) solid var(--v2-line);
  flex: 0 1 auto;
  min-width: 0;
  max-width: min(28vw, 14em);
  height: 100%;
}
body.v2-land .v2-nav .v2-wallet-go {
  appearance: none;
  background: transparent;
  border: 0;
  color: var(--v2-muted);
  font: inherit;
  letter-spacing: var(--v2-track-label);
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 8px;
  height: 100%;
  padding: 0;
  cursor: pointer;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
body.v2-land .v2-nav .v2-wallet-go:hover,
body.v2-land .v2-nav .v2-wallet-go:hover b {
  color: var(--v2-rose);
}
body.v2-land .v2-nav .v2-wallet-addr {
  color: var(--v2-text);
  font-weight: 400;
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.v2l-cta {
  background: var(--v2-rose) !important;
  color: var(--v2-bg) !important;
  font-weight: 700;
}
.v2l-cta:hover,
.v2l-cta:focus-visible {
  background: var(--v2-text) !important;
  color: var(--v2-bg) !important;
}

#trade,
#swap,
#bridge,
#investigate,
#custody,
#waitlist {
  scroll-margin-top: calc(var(--v2-nav-h) + 28px);
}

.v2l-hero {
  margin-top: 0;
  grid-template-columns: 1.35fr 1fr;
  grid-template-rows: auto auto;
}
.v2l-h-main {
  grid-row: span 2;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  justify-content: space-between;
}
.v2l-giant {
  font: 800 clamp(48px, 8.4vw, 116px) / 0.92 var(--v2-mono);
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--v2-text);
  -webkit-mask-image: linear-gradient(to right, var(--v2-checker) 3px, transparent 3px), linear-gradient(to bottom, var(--v2-checker) 3px, transparent 3px);
  -webkit-mask-size: 4px 4px;
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, var(--v2-checker) 3px, transparent 3px), linear-gradient(to bottom, var(--v2-checker) 3px, transparent 3px);
  mask-size: 4px 4px;
  mask-composite: intersect;
}
.v2l-giant .v2l-accent {
  color: var(--v2-rose);
}
.v2l-sub {
  max-width: 46ch;
  color: var(--v2-bone);
  font-size: var(--fs-16);
}
.v2l-btns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--v2-line);
  border: 1px solid var(--v2-line);
  max-width: 560px;
}
.v2l-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 56px;
  padding: 0 18px;
  font-size: var(--v2-fs-side);
  font-weight: 700;
  letter-spacing: var(--v2-track-label);
  text-transform: uppercase;
  background: var(--v2-tile);
  color: var(--v2-text);
  border: 0;
  cursor: pointer;
  font-family: var(--v2-mono);
  transition:
    background var(--t) var(--st),
    color var(--t) var(--st);
}
.v2l-btn:hover,
.v2l-btn:focus-visible {
  background: var(--v2-text);
  color: var(--v2-bg);
  outline: none;
}
.v2l-btn.v2l-cta {
  justify-content: space-between;
}
.v2l-chart-t {
  padding: 0;
  display: flex;
  flex-direction: column;
}
.v2l-chart-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 14px 16px;
  border-bottom: 1px solid var(--v2-line);
}
.v2l-px {
  font-size: var(--fs-33);
  font-weight: 700;
  color: var(--v2-text);
  font-variant-numeric: tabular-nums;
}
.v2l-px small {
  font-size: var(--v2-fs);
  margin-left: 6px;
  font-weight: 400;
}
.v2l-px .v2l-up {
  color: var(--v2-buy);
}
.v2l-px .v2l-dn {
  color: var(--v2-rose);
}
canvas#v2lCandles {
  display: block;
  width: 100%;
  height: 240px;
  image-rendering: pixelated;
}
.v2l-h-side {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--v2-line);
  padding: 0;
}
.v2l-h-side > div {
  background: var(--v2-tile);
  padding: 16px;
}
.v2l-status {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
}
.v2l-status strong {
  font-size: var(--fs-16);
  letter-spacing: var(--v2-track-label);
}
.v2l-blink {
  display: inline-block;
  width: 12px;
  height: 12px;
  background: var(--v2-rose);
  margin-right: 10px;
  animation: v2l-blink 1s steps(2, start) infinite;
  vertical-align: -1px;
}
@keyframes v2l-blink {
  to {
    visibility: hidden;
  }
}
.v2l-ticker {
  grid-column: 1 / -1;
  padding: 0;
  overflow: hidden;
  white-space: nowrap;
}
.v2l-tick-track {
  display: inline-flex;
  animation: v2l-marquee 22s steps(44, end) infinite;
}
.v2l-tick-track span {
  padding: 14px 28px;
  border-right: 1px solid var(--v2-line);
  font-size: var(--v2-fs-side);
  letter-spacing: var(--v2-track-label);
  font-variant-numeric: tabular-nums;
}
.v2l-tick-track em {
  font-style: normal;
  color: var(--v2-bone);
}
.v2l-up {
  color: var(--v2-buy);
}
.v2l-dn {
  color: var(--v2-rose);
}
@keyframes v2l-marquee {
  to {
    transform: translateX(-50%);
  }
}

.v2l-feat {
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: minmax(200px, auto);
}
.v2l-f {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
}
.v2l-f h3 {
  font-size: var(--fs-22);
  letter-spacing: 0.04em;
  margin: 6px 0 8px;
}
.v2l-f p {
  color: var(--v2-bone);
  max-width: 40ch;
}
.v2l-f-trade {
  grid-column: span 2;
  grid-row: span 2;
}
.v2l-f-trade h3 {
  font-size: var(--fs-66);
}
.v2l-f-swap,
.v2l-f-bridge {
  grid-column: span 2;
}
.v2l-f-inv {
  grid-column: span 3;
}
.v2l-f-row {
  display: flex;
  gap: 24px;
  justify-content: space-between;
  align-items: flex-end;
}

.v2l-pxgrid {
  display: grid;
  grid-template-columns: repeat(var(--w), var(--s, 10px));
  grid-auto-rows: var(--s, 10px);
  flex: none;
}
.v2l-pxgrid i.r {
  background: var(--v2-rose);
}
.v2l-pxgrid i.b {
  background: var(--v2-bone);
}
.v2l-pxgrid i.m {
  background: var(--v2-line);
}
.v2l-pxgrid--l {
  --s: 16px;
}

.v2l-cust {
  grid-template-columns: 2fr 1fr;
}
.v2l-cust .v2l-t:first-child {
  padding: 32px;
}
.v2l-cust h3 {
  font-size: clamp(24px, 3vw, 48px);
  line-height: 1.2;
  margin: 10px 0 14px;
  max-width: 26ch;
}
.v2l-cust p {
  color: var(--v2-bone);
}
.v2l-key {
  display: flex;
  align-items: center;
  justify-content: center;
}

.v2l-nums {
  grid-template-columns: repeat(4, 1fr);
}
.v2l-num {
  aspect-ratio: 1 / 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.v2l-num strong {
  font: 800 clamp(48px, 6vw, 84px) / 1 var(--v2-mono);
  color: var(--v2-text);
  font-variant-numeric: tabular-nums;
}
.v2l-num:nth-child(odd) strong {
  color: var(--v2-rose);
}

.v2l-wl {
  grid-template-columns: 1fr 1fr;
}
.v2l-wl h3 {
  font-size: clamp(24px, 3.4vw, 48px);
  line-height: 1.1;
  margin-top: 10px;
}
.v2l-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1px;
  background: var(--v2-line);
  border: 1px solid var(--v2-line);
}
.v2l-form input {
  background: var(--v2-bg);
  border: 0;
  color: var(--v2-text);
  font: var(--fs-16) var(--v2-mono);
  padding: 0 16px;
  min-height: 56px;
  min-width: 0;
}
.v2l-form input:focus {
  outline: 2px solid var(--v2-rose);
  outline-offset: -2px;
}
.v2l-form button {
  border: 0;
  cursor: pointer;
  font-family: var(--v2-mono);
  min-width: 120px;
}
.v2l-wl-form {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
}
.v2l-err {
  color: var(--v2-rose);
  min-height: 1.5em;
}
.v2l-done {
  display: none;
  background: var(--v2-rose);
  color: var(--v2-bg);
  font-weight: 700;
  letter-spacing: var(--v2-track-label);
  padding: 18px;
  text-align: center;
  text-transform: uppercase;
}
.v2l-wl.is-done .v2l-form,
.v2l-wl.is-done label,
.v2l-wl.is-done .v2l-err {
  display: none;
}
.v2l-wl.is-done .v2l-done {
  display: block;
}

.v2l-foot {
  margin: 0;
  grid-template-columns: 2fr 2fr 1fr 1fr 1fr;
}
.v2l-foot > * {
  background: var(--v2-tile);
  padding: 18px;
  min-height: 56px;
  display: flex;
  align-items: center;
  font-size: var(--fs-12);
  transition:
    background var(--t) var(--st),
    color var(--t) var(--st);
}
.v2l-foot a:hover,
.v2l-foot a:focus-visible {
  background: var(--v2-text);
  color: var(--v2-bg);
  outline: none;
}
.v2l-lbl,
.v2l-bar a,
.v2l-tick-track span {
  font-size: var(--fs-12);
}
.v2l-sub,
.v2l-f p,
.v2l-cust p {
  font-size: max(12px, 1em);
}
main {
  display: flex;
  flex-direction: column;
  gap: 0;
  background: var(--v2-line);
}
@media (prefers-reduced-motion: reduce) {
  .v2l-tick-track,
  .v2l-blink {
    animation: none !important;
  }
  .v2l-bar a,
  .v2l-btn,
  .v2l-foot > * {
    transition: none;
  }
}
