:root {
  --ink: #171c28;
  --slate: #34415a;
  --sans: Geist, Arial, sans-serif;
  --mono: "Geist Mono", ui-monospace, monospace;
  --ease: cubic-bezier(.25, 1, .5, 1);
  --gutter: clamp(20px, 5vw, 76px);
}

* { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; }
body {
  font: 400 14px/1.5 var(--sans);
  color: var(--ink);
  background:
    radial-gradient(at 5% 20%, #e2e8fa 0, transparent 45%),
    radial-gradient(at 95% 80%, #e8ddf4 0, transparent 45%),
    #f3f5fb;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
img { display: block; max-width: 100%; }
.ic {
  display: block;
  flex: none;
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* liquid glass button: .glass > .gb > span, plus an <i> that carries the shadow */
.glass {
  position: relative;
  display: inline-grid;
  isolation: isolate;
  border-radius: 999px;
  font-size: 14px;
}
.glass > i {
  position: absolute;
  inset: -1em;
  z-index: -1;
  filter: blur(2px);
  pointer-events: none;
  transition: filter .4s var(--ease);
}
/* a hollow ring sitting a few px low and right of the button, not a filled blob */
.glass > i::after {
  content: "";
  position: absolute;
  inset: 1.5em .875em .25em 1.125em;
  padding: .125em;
  border-radius: 999px;
  background: linear-gradient(rgba(0, 0, 0, .2), rgba(0, 0, 0, .1));
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  transition: inset .4s var(--ease);
}
.gb {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 550;
  white-space: nowrap;
  color: var(--slate);
  cursor: pointer;
  background: linear-gradient(-75deg, rgba(255, 255, 255, .094), rgba(255, 255, 255, .533), rgba(255, 255, 255, .145));
  box-shadow:
    inset 0 .125em .125em rgba(0, 0, 0, .05),
    inset 0 -.125em .125em rgba(255, 255, 255, .5),
    0 .25em .125em -.125em rgba(0, 0, 0, .2),
    inset 0 0 .1em .25em rgba(255, 255, 255, .2);
  backdrop-filter: blur(2px);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.gb::after {
  content: "";
  position: absolute;
  inset: -.5px;
  padding: 1px;
  border-radius: inherit;
  background:
    conic-gradient(from -75deg, rgba(0, 0, 0, .4), transparent 5% 40%, rgba(0, 0, 0, .4) 50%, transparent 60% 95%, rgba(0, 0, 0, .4)),
    linear-gradient(rgba(255, 255, 255, .5), rgba(255, 255, 255, .5));
  box-shadow: inset 0 0 0 .5px rgba(255, 255, 255, .5);
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  pointer-events: none;
}
.gb > span {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  height: 100%;
  padding: 0 24px;
  letter-spacing: -.015em;
}
.gb > span::after {
  content: "";
  position: absolute;
  inset: .5px;
  border-radius: 999px;
  background: linear-gradient(-45deg, transparent 0%, rgba(255, 255, 255, .5) 40% 50%, transparent 55%) 0% 50% / 200% 200% no-repeat;
  mix-blend-mode: screen;
  pointer-events: none;
  transition: background-position .5s var(--ease);
}
.gb:hover {
  transform: scale(.975);
  box-shadow:
    inset 0 .125em .125em rgba(0, 0, 0, .05),
    inset 0 -.125em .125em rgba(255, 255, 255, .5),
    0 .15em .05em -.1em rgba(0, 0, 0, .25),
    inset 0 0 .05em .1em rgba(255, 255, 255, .5);
}
.gb:hover > span::after { background-position: 25% 50%; }
.gb:active { transform: scale(.95); }
.gb:active > span::after { background-position: 50% 15%; }
.glass:has(.gb:hover) > i { filter: blur(1px); }
.glass:has(.gb:hover) > i::after { inset: 1.125em .875em .625em 1.125em; }
.gb:focus-visible { outline: 2px solid #53688c; outline-offset: 3px; }
.gb-dark, .gb.is-on {
  color: #fff;
  background: linear-gradient(-75deg, rgba(32, 40, 56, .96), rgba(82, 96, 120, .92), rgba(32, 40, 56, .96));
}
.gb-dark > span::after, .gb.is-on > span::after { opacity: .42; }
.gb-lg { height: 61px; }
.gb-md { height: 49px; }
.gb-md .ic { width: 23px; height: 23px; }
.gb-sm { height: 40px; }
.gb-sm > span { padding: 0 14px; font-size: 12px; }

/* header */
header {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  max-width: 1440px;
  margin: 0 auto;
  padding: 22px var(--gutter);
}
.logo img { height: 50px; width: auto; }
header nav { display: flex; align-items: center; gap: 46px; color: #535b6d; }
header nav .x .ic { width: 17px; height: 17px; }
header nav a, .foot a { transition: color .2s; }
header nav a:hover, .foot a:hover { color: var(--ink); }
header > .glass { justify-self: end; }

/* shared type */
.eyebrow {
  font: 500 11px/1.5 var(--mono);
  letter-spacing: 4px;
  text-transform: uppercase;
  color: #687084;
}
section { position: relative; text-align: center; }
section + section, footer { border-top: 1px solid #fff; }

/* hero */
.hero {
  padding: 68px 24px 28px;
  overflow: clip;
  background: radial-gradient(at 28% 100%, rgba(212, 240, 234, .6), transparent 34%);
}
.hero > :not(.tiles) { position: relative; z-index: 1; }
h1 {
  margin: 35px 0 30px;
  font-size: clamp(2.75rem, 5.95vw, 5.625rem);
  font-weight: 550;
  line-height: .99;
  letter-spacing: -.045em;
  color: #171d29;
}
h1 .line { display: block; }
h1 .w { display: inline-block; white-space: pre; }
h1 .l {
  display: inline-block;
  animation: letter .8s var(--ease) both;
  animation-delay: calc(var(--i) * 30ms + 150ms);
}
@keyframes letter {
  from { opacity: 0; filter: blur(10px); transform: translateY(.18em); }
}
/* sized so the glass x-height matches the Geist x-height beside it; this phrase has no descenders, so it sits on the baseline */
.chrome {
  display: inline-block;
  height: .8em;
  width: auto;
  margin-left: .04em;
  vertical-align: -.01em;
  filter: drop-shadow(0 .03em .04em rgba(40, 60, 140, .28));
  animation: letter 1s var(--ease) .65s both;
}
.intro { font-size: clamp(1.05rem, 1.46vw, 1.375rem); line-height: 1.5; letter-spacing: -.03em; color: #6d7484; }

.lookup {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  max-width: 710px;
  margin: 32px auto 0;
}
.lookup label {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 15px;
  min-width: 0;
  height: 61px;
  padding: 0 22px;
  border: 1px solid #d8deec;
  border-radius: 100px;
  background: rgba(255, 255, 255, .79);
  color: #7b8294;
  transition: border-color .2s, box-shadow .2s;
}
.lookup label:focus-within { border-color: #aab6d0; box-shadow: 0 0 0 4px rgba(120, 140, 200, .14); }
.lookup input, .search input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; color: #222a3a; }
.lookup input::placeholder, .search input::placeholder { color: #8b93a5; }
.lookup-msg { flex: 1 0 100%; font-size: 13px; color: #34445e; }
.lookup-msg:empty { display: none; }
.lookup-msg.is-error { color: #b3403a; }
.lookup .dollar { margin-right: -6px; color: #8b93a5; }
.lookup-msg.fee { text-align: center; color: #5f687c; }
.lookup-msg.fee b { font-weight: 600; color: #171c28; }
.or {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  margin: 22px 0 20px;
  font-size: 13px;
  color: #737b8c;
}
.or::before, .or::after { content: ""; width: 76px; height: 1px; background: linear-gradient(90deg, transparent, rgba(180, 190, 209, .6)); }
.or::after { transform: scaleX(-1); }

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 930px;
  margin: 44px auto 0;
  scroll-margin-top: 40px;
}
.steps article { position: relative; padding: 0 30px; }
.steps article + article::before {
  content: "";
  position: absolute;
  left: 0;
  top: 91px;
  width: 1px;
  height: 64px;
  background: rgba(180, 190, 209, .31);
}
.step-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border: 1px solid #d3daea;
  border-radius: 50%;
  background: rgba(236, 240, 246, .28);
  box-shadow: inset 0 1px 2px #fff;
  color: #495367;
}
.step-icon .ic { width: 27px; height: 27px; stroke-width: 1.6; }
.steps h2 { margin: 14px 0 5px; font-size: 17px; font-weight: 560; line-height: 1.5; letter-spacing: -.4px; }
.steps p { max-width: 245px; margin: 0 auto; font-size: 13px; color: #737b8c; }
.guide { display: inline-flex; align-items: center; gap: 8px; margin-top: 24px; font-size: 13px; color: #53688c; }
.guide .ic { width: 15px; height: 15px; transition: transform .3s var(--ease); }
.guide:hover .ic { transform: translateX(4px); }
.cue {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  width: max-content;
  margin: 43px auto 0;
  font: 400 9px/12px var(--mono);
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #5f687c;
}
.cue .ic { width: 18px; height: 18px; animation: nudge 2s ease-in-out infinite; }
@keyframes nudge { 50% { transform: translateY(4px); } }

/* brand tiles, placed by their centre. --k shrinks the whole set on narrower screens */
.tiles { --k: 1; position: absolute; inset: 0; pointer-events: none; }
.tile {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: calc(var(--s) * var(--k));
  height: calc(var(--s) * var(--k));
  translate: -50% -50%;
  rotate: var(--r);
  animation: pop 1.4s var(--ease) both;
  animation-delay: calc(var(--i) * 90ms + 300ms);
}
@keyframes pop { from { opacity: 0; scale: .36; } }
.face {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  border-radius: 28%;
  background: linear-gradient(152deg, rgba(255, 255, 255, .82) 0%, rgba(255, 255, 255, .34) 44%, rgba(214, 226, 248, .5) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .95),
    inset 0 -20px 30px -24px rgba(108, 130, 176, .65),
    0 26px 44px -28px rgba(80, 98, 138, .5);
}
.face::before, .face::after { content: ""; position: absolute; inset: 1px; border-radius: inherit; }
.face::before {
  background: linear-gradient(118deg, transparent 14%, rgba(255, 146, 206, .5) 28%, rgba(255, 224, 150, .42) 38%, rgba(126, 206, 255, .5) 50%, rgba(178, 150, 255, .4) 60%, transparent 74%);
  mix-blend-mode: overlay;
  opacity: .85;
}
.face::after { background: linear-gradient(140deg, rgba(255, 255, 255, .95) 0%, transparent 34%); opacity: .7; }
.face .ic { position: relative; z-index: 1; width: 46%; height: 46%; stroke-width: 1.7; filter: drop-shadow(0 2px 5px rgba(70, 86, 122, .28)); }
.tiles .face { animation: float 7s ease-in-out infinite; animation-delay: calc(var(--i) * -1.1s); }
@keyframes float { 50% { translate: 0 -5%; rotate: 2.5deg; } }
@media (max-width: 1400px) { .tiles { --k: .8; } }

/* bands */
.band { padding: 95px var(--gutter); }
.display {
  margin: 15px 0 12px;
  font-size: clamp(2.3rem, 3.85vw, 3.625rem);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -.043em;
  color: #c4c9d6;
  transition: color 1.1s var(--ease);
}
.display strong { font-weight: 700; }
.display.in { color: var(--ink); }
.band-intro { font-size: clamp(1rem, 1.2vw, 1.125rem); letter-spacing: -.5px; color: #767e90; }

.brands {
  background:
    radial-gradient(at 4% 90%, rgba(203, 222, 243, .67), transparent 40%),
    radial-gradient(at 95% 15%, rgba(220, 224, 255, .65), transparent 40%),
    linear-gradient(#f5f7fc, #eaf0fa);
}
.region {
  display: inline-flex;
  margin: 25px 0 28px;
  padding: 11px 18px;
  border: 1px solid rgba(255, 255, 255, .85);
  border-radius: 999px;
  background: rgba(255, 255, 255, .56);
  box-shadow: inset 0 1px 2px #fff, 0 5px 16px rgba(83, 106, 148, .07);
  font-size: 13px;
  font-weight: 600;
  color: #34445e;
}
.wheel {
  --R: 2900px;
  --w: 190px;
  position: relative;
  height: 400px;
  margin: 0 calc(var(--gutter) * -1);
  overflow: clip;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.card {
  position: absolute;
  left: 50%;
  top: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: var(--w);
  height: 295px;
  margin-left: calc(var(--w) / -2);
  border: 1px solid rgba(255, 255, 255, .79);
  border-radius: 27px;
  background: linear-gradient(130deg, rgba(255, 255, 255, .69), rgba(236, 242, 250, .467));
  box-shadow: inset 1px 2px 3px #fff, 4px 7px 14px rgba(120, 140, 186, .125);
  will-change: transform;
}
.mark {
  display: flex;
  width: 66px;
  height: 66px;
  margin: 22px 0 6px;
  padding: 13px;
  border: 1px solid rgba(255, 255, 255, .93);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(255, 255, 255, .87), rgba(218, 229, 244, .35) 65%, rgba(255, 255, 255, .64));
  box-shadow: inset 1px 2px 3px #fff, inset -1px -1px 4px rgba(178, 195, 224, .267), 0 4px 10px rgba(83, 106, 148, .063);
}
.card h3 { margin: 10px 0; padding: 0 16px; font-size: 17px; font-weight: 600; line-height: 1.25; letter-spacing: -.5px; }
.card p { padding: 0 16px; font-size: 13px; color: #63718a; }
.from {
  margin-top: auto;
  margin-bottom: 22px;
  padding: 9px 14px;
  border-radius: 30px;
  background: linear-gradient(120deg, #fff, rgba(220, 229, 244, .64));
  box-shadow: inset 0 2px 3px #fff;
  font-size: 12px;
  color: #34445e;
}
/* sample clip in a phone */
.sample { padding-block: 80px; background: linear-gradient(#f3f5fb, #eef2fb); }
.sample-wrap { display: grid; grid-template-columns: 300px minmax(0, 520px); justify-content: center; align-items: center; gap: 64px; text-align: left; }
.phone {
  position: relative;
  aspect-ratio: 9 / 16;
  border-radius: 38px;
  padding: 10px;
  background: linear-gradient(160deg, #fff, #dfe4f0);
  box-shadow: inset 0 1px 0 #fff, inset 0 -3px 6px rgba(120, 130, 200, .16), 0 30px 50px -24px rgba(70, 80, 140, .5);
}
.phone video { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 30px; background: #000; }
.phone-ui { position: absolute; inset: auto 22px 26px; display: flex; flex-direction: column; gap: 10px; }
.phone-tag { align-self: flex-start; padding: 6px 10px; border-radius: 999px; background: rgba(23, 28, 40, .55); backdrop-filter: blur(6px); font: 400 10.5px var(--mono); letter-spacing: .04em; color: #fff; }
.phone-buy { padding: 12px; border-radius: 999px; background: #fff; box-shadow: 0 6px 16px -8px rgba(0, 0, 0, .5); font-size: 13px; font-weight: 600; color: var(--ink); text-align: center; }
.sample-copy .display { font-size: clamp(1.9rem, 3vw, 2.8rem); }
.sample-copy .band-intro { margin-top: 16px; }
.fine { max-width: 850px; margin: 30px auto 0; font-size: 11px; line-height: 1.7; color: #758096; }

/* explore */
.explore {
  padding-bottom: 110px;
  background: radial-gradient(at 90% 70%, rgba(220, 232, 255, .59), transparent 55%), #eef3fb;
}
.tools {
  display: flex;
  align-items: center;
  gap: 20px;
  max-width: 1360px;
  margin: 38px auto 25px;
}
.tabs { display: flex; gap: 8px; margin-right: auto; padding: 5px; }
.search {
  flex: 0 1 400px;
  display: flex;
  align-items: center;
  gap: 12px;
  height: 49px;
  padding: 0 18px;
  border-radius: 50px;
  background: rgba(255, 255, 255, .314);
  color: #79859b;
  transition: background .2s;
}
.search:focus-within { background: rgba(255, 255, 255, .7); }
.search .ic { width: 18px; height: 18px; }
.coins {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  max-width: 1360px;
  margin: 0 auto;
  text-align: left;
}
.coin {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, .725);
  border-radius: 22px;
  background: rgba(255, 255, 255, .48);
  box-shadow: inset 1px 1px 3px #fff, 0 5px 20px rgba(129, 151, 189, .05);
}
.avatar {
  flex: none;
  display: grid;
  place-items: center;
  width: 76px;
  height: 86px;
  border-radius: 16px;
  background: linear-gradient(152deg, #fff, #e6ecf8);
  box-shadow: inset 0 1px 0 #fff, inset 0 -10px 16px -12px rgba(108, 130, 176, .5);
}
.avatar { overflow: hidden; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
a.coin { color: inherit; text-decoration: none; transition: background .2s, box-shadow .2s; }
a.coin:hover { background: rgba(255, 255, 255, .72); box-shadow: inset 1px 1px 3px #fff, 0 12px 28px -14px rgba(70, 86, 122, .35); }
.coin-info { flex: 1; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.coin-info strong { font-size: 16px; font-weight: 700; }
.coin-info small { font-size: 12px; color: #7a8496; }
.pair { display: flex; align-items: center; gap: 5px; padding: 5px 0; font-size: 11px; }
.pair-logo {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border: 1px solid #fff;
  border-radius: 8px;
  background: rgba(255, 255, 255, .81);
  box-shadow: 0 7px 14px -11px #263a62;
}
.pair-logo .ic { width: 14px; height: 14px; color: #34445e; }
.mark-icon { align-items: center; justify-content: center; }
.mark-icon .ic { width: 28px; height: 28px; stroke-width: 1.6; }
.stats { display: flex; gap: 22px; }
.stats span { display: flex; flex-direction: column; gap: 2px; }
.stats b { font-size: 13px; font-weight: 550; }
.empty { margin-top: 40px; color: #767e90; }
.total { margin-top: 28px; font-size: 13px; color: #63718a; }

/* footer physics pit */
.pit {
  position: relative;
  height: 460px;
  overflow: clip;
  touch-action: pan-y;
  background: linear-gradient(172deg, rgba(238, 243, 255, .7), rgba(223, 231, 250, .55));
}
.big {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(660px, 72vw);
  height: auto;
  translate: -50% -50%;
  opacity: .92;
  filter: drop-shadow(0 12px 16px rgba(60, 80, 160, .2));
}
.body { position: absolute; left: 0; top: 0; width: 104px; height: 104px; will-change: transform; cursor: grab; }
.body .face {
  border: 1px solid rgba(255, 255, 255, .9);
  background: linear-gradient(152deg, rgba(255, 255, 255, .86) 0%, rgba(255, 255, 255, .4) 44%, rgba(214, 226, 248, .55) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .95), inset 0 -20px 30px -24px rgba(108, 130, 176, .65), 0 16px 26px -16px rgba(80, 98, 138, .5);
  backdrop-filter: blur(3px);
}
.body .face::before { display: none; }
.foot {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 20px var(--gutter) 26px;
  border-top: 1px solid rgba(255, 255, 255, .8);
  font-size: 12px;
  color: #758096;
}
.foot nav { display: flex; gap: 28px; }

@media (max-width: 1100px) {
  .tiles { --k: .6; }
  .tile:nth-child(n+7) { display: none; }
  .coins { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 820px) {
  header { grid-template-columns: 1fr auto; padding-block: 16px; }
  /* the landing keeps only the X link; the app header styles its own nav */
  header:not(.app-head) { grid-template-columns: 1fr auto auto; column-gap: 18px; }
  header:not(.app-head) nav a:not(.x) { display: none; }
  .logo img { height: 40px; }
  .hero { padding: 40px 20px 28px; }
  .eyebrow { font-size: 10px; letter-spacing: 3px; }
  .intro br { display: none; }
  /* beside the eyebrow, the only free space at this width */
  .tiles { --k: .32; }
  .tile { top: 52px; }
  .tile:nth-child(n+3) { display: none; }
  .tile:nth-child(1) { left: 9%; }
  .tile:nth-child(2) { left: 91%; }
  .lookup { flex-direction: column; gap: 14px; }
  .lookup label { flex: none; }
  .lookup .glass { align-self: center; }
  .steps { grid-template-columns: minmax(0, 340px); justify-content: center; gap: 36px; }
  .steps article + article::before { display: none; }
  .band { padding-block: 72px; }
  .wheel { --R: 1500px; --w: 172px; height: 360px; }
  .tools { flex-wrap: wrap; }
  .tabs { width: 100%; margin: 0; overflow-x: auto; }
  .search { flex: 1 1 100%; order: 3; }
  .coins { grid-template-columns: 1fr; }
  .sample-wrap { grid-template-columns: minmax(0, 300px); text-align: center; }
  .pit { height: 380px; }
  .big { top: 36%; }
  .body { width: 72px; height: 72px; }
  .foot { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
