/* Layout, type and motion for the Xelona page. Values follow the Kin OS frame;
   the greens are Hyperliquid's #03211c ground, #50d2c1 teal and #97fce3 mint. */

html { background: var(--site); }
.no-helvetica { --font-text: "Inter", Arial, sans-serif; }
html, body { overflow-x: clip; overscroll-behavior: none; }
body {
  margin: 0;
  font: 400 var(--t-m) / var(--lh-m) var(--font-text);
  letter-spacing: var(--tr-m);
  color: var(--ink-1);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
*, *::before, *::after { box-sizing: border-box; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* Header. The bar is a dark green glass pill so it can sit on both the void and the light OS ground. */
.hd {
  --hd-inset: 4px;
  --hd-h: calc(var(--u) * 40 + var(--hd-inset) * 2);
  position: fixed;
  top: 12px;
  left: 0;
  right: 0;
  z-index: 10;
  width: max-content;
  max-width: calc(100% - 24px);
  margin: 0 auto;
  display: flex;
  align-items: center;
  font-size: var(--t-s);
  font-weight: 500;
  line-height: 1;
  letter-spacing: var(--tr-s);
  white-space: nowrap;
}
.hd__bar, .hd__clock, .hd__sec, .hd__status, .hd__nav a, .hd__rule, .hd__tile {
  transition: background-color 400ms var(--ease-out), color 400ms var(--ease-out);
}
.hd__bar {
  display: flex;
  align-items: center;
  height: var(--hd-h);
  padding: var(--hd-inset);
  border-radius: var(--r-m);
  --hd-ink: #c5d4cf;
  background: rgba(15, 57, 51, .55);
  -webkit-backdrop-filter: blur(calc(var(--u) * 24)) saturate(1.4) brightness(.72);
  backdrop-filter: blur(calc(var(--u) * 24)) saturate(1.4) brightness(.72);
}
.hd__tile {
  width: calc(var(--u) * 40);
  height: calc(var(--u) * 40);
  border-radius: calc(var(--r-m) - var(--hd-inset));
  background: #0f3933;
  display: grid;
  place-items: center;
  flex: none;
}
.mark {
  display: grid;
  grid-template-columns: repeat(3, calc(var(--u) * 4));
  gap: calc(var(--u) * 3);
}
.mark i {
  display: block;
  width: calc(var(--u) * 4);
  height: calc(var(--u) * 4);
  background: var(--ink-3);
}
.mark i:nth-child(even) { background: var(--ink-2); }
.mark i:nth-child(5) { background: var(--ink-1); }
.hd__clock {
  margin-left: var(--s12);
  font-size: var(--t-m);
  font-weight: 400;
  letter-spacing: var(--tr-m);
  font-variant-numeric: tabular-nums;
  color: var(--ink-1);
}
.hd__sec { color: var(--hd-ink); }
.hd__rule {
  display: block;
  width: 1px;
  height: calc(var(--u) * 16);
  margin: 0 var(--s16);
  background: rgba(252, 252, 252, .2);
}
.hd__status {
  display: inline-flex;
  align-items: center;
  gap: var(--s8);
  color: var(--hd-ink);
}
.hd__dot, .badge__dot, .badge__dot--live {
  display: block;
  width: calc(var(--u) * 6);
  height: calc(var(--u) * 6);
  border-radius: 50%;
  flex: none;
}
.hd__dot, .badge__dot--live {
  background: var(--cyan);
  animation: hd-pulse 1.8s ease-in-out infinite;
}
@keyframes hd-pulse { 50% { opacity: .35; } }
.hd__nav { display: flex; gap: var(--s16); }
.hd__nav a { color: var(--hd-ink); }
.hd__btn {
  display: inline-flex;
  align-items: center;
  height: calc(var(--u) * 40);
  padding: 0 var(--s16);
  border-radius: calc(var(--r-m) - var(--hd-inset));
  transition: transform var(--dur-press) var(--ease-out), background-color var(--dur-ui) var(--ease-out);
}
.hd__btn:active { transform: scale(var(--press)); }
.hd__nav + .hd__btn { margin-left: var(--s16); }
.hd__btn + .hd__btn { margin-left: 4px; }
.hd__btn--card { background: #0f3933; color: var(--ink-1); }
.hd__btn--main { background: var(--yellow); color: #03211c; }
.hd__phone { display: none; }
.hd.is-light .hd__bar { background: rgba(3, 33, 28, .78); }
.hd.is-light .hd__rule { background: rgba(248, 249, 249, .16); }
.hd.is-light .hd__tile,
.hd.is-light .hd__btn--card { background: #134038; }
.js .hd { animation: hd-in var(--dur-in) var(--ease-expo) backwards; }
@keyframes hd-in {
  from { opacity: 0; transform: translateY(calc(var(--in-y) * -1)); filter: blur(var(--in-blur)); }
}
@media (hover: hover) and (pointer: fine) {
  .hd__nav a:hover { color: var(--ink-1); }
  .hd__btn--card:hover { background: #1a564c; }
  .hd__btn--main:hover { background: #c9fff0; }
  .hd.is-light .hd__btn--card:hover { background: #1a564c; }
  .seg__btn:hover { color: var(--ink-1); }
}
@media (max-width: 1100px) {
  .hd__status, .hd__rule--status { display: none; }
}
@media (max-width: 767px) {
  .hd { top: 8px; left: 8px; right: 8px; width: auto; max-width: none; margin: 0; }
  .hd__bar { flex: 1; width: 100%; }
  .hd__clock, .hd__rule, .hd__nav, .hd__btn--card, .hd__wide { display: none; }
  .hd__phone { display: inline; }
  .hd__btn--main { margin-left: auto; }
}

/* Stage. The bust canvas sits over the title and under the framed headline. */
.stage {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  transform-origin: center center;
}
.stage.is-framed { overflow: hidden; background: var(--site); }
.stage canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}
.hero { position: relative; height: 0; }
.hero__title {
  position: absolute;
  z-index: 0;
  left: 0;
  right: 0;
  margin: 0;
  top: calc(var(--bust-top, calc(107% - min(78%, 98.4vw))) + 40px);
  transform: translateY(-50%);
  font-family: var(--font-pixel);
  font-size: calc((100vw - 48px) / var(--title-em, 7.94));
  font-weight: 400;
  line-height: var(--lh-d1);
  letter-spacing: 0;
  text-transform: uppercase;
  text-align: center;
  white-space: nowrap;
  color: var(--ink-2);
  -webkit-mask-image: radial-gradient(var(--hrx, 24vh) var(--hry, 30vh) at var(--hx, 50%) var(--hy, 130%), transparent 0%, transparent 64%, #000 100%);
  mask-image: radial-gradient(var(--hrx, 24vh) var(--hry, 30vh) at var(--hx, 50%) var(--hy, 130%), transparent 0%, transparent 64%, #000 100%);
}
.hero__note {
  position: fixed;
  left: 24px;
  bottom: 24px;
  z-index: 3;
  font-size: var(--t-l);
  line-height: var(--lh-l);
  letter-spacing: var(--tr-l);
  transition: opacity 700ms var(--ease-out), visibility 0s linear;
}
html.is-hero-out .hero__note {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 700ms var(--ease-out), visibility 0s linear 700ms;
}
.hero__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s16);
  margin-bottom: var(--s24);
  font-size: var(--t-s);
  line-height: var(--lh-s);
  color: var(--ink-3);
  white-space: nowrap;
}
.hero__lead { margin: 0; color: var(--ink-1); text-wrap: balance; }
.hero__lead span { display: block; color: var(--ink-3); }
.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--s8);
  height: calc(var(--u) * 32);
  padding: 0 var(--s12);
  border-radius: var(--r-s);
  background: rgba(252, 252, 252, .14);
  -webkit-backdrop-filter: var(--chip-blur);
  backdrop-filter: var(--chip-blur);
  font-size: var(--t-s);
  font-weight: 500;
  line-height: 1;
  color: var(--ink-1);
  white-space: nowrap;
}
.badge__dot { background: var(--lavender); }
.badge--quiet { color: #c5d4cf; }
.badge--yellow { color: var(--yellow); }

.js .hero__title { animation: title-in var(--dur-in) var(--ease-expo) backwards; }
.js .hero__meta { animation: block-in var(--dur-in) var(--ease-expo) 60ms backwards; }
.js .hero__lead { animation: block-in var(--dur-in) var(--ease-expo) 120ms backwards; }
@keyframes title-in {
  from { opacity: 0; transform: translateY(calc(-50% + var(--in-y))); filter: blur(var(--in-blur)); }
}
@keyframes block-in {
  from { opacity: 0; transform: translateY(var(--in-y)); filter: blur(var(--in-blur)); }
}
.hero__title, .hero__meta, .hero__lead {
  transition: opacity 1100ms var(--ease-expo), translate 1100ms var(--ease-expo), scale 1100ms var(--ease-expo), filter 1100ms var(--ease-expo), visibility 0s;
}
.hero__meta { transition-delay: 80ms; }
.hero__lead { transition-delay: 160ms; }
html.is-hero-out .hero__title,
html.is-hero-out .hero__meta,
html.is-hero-out .hero__lead {
  opacity: 0;
  visibility: hidden;
  transition: opacity 700ms cubic-bezier(.45, 0, .55, 1), translate 700ms var(--ease-out), scale 700ms var(--ease-out), filter 700ms var(--ease-out), visibility 0s 760ms;
}
html.is-hero-out .hero__title { translate: 0 -4vh; scale: .97; filter: blur(16px); }
html.is-hero-out .hero__meta,
html.is-hero-out .hero__lead { translate: 0 -16px; filter: blur(10px); }
html.is-hero-out .hero__lead { transition-delay: 70ms, 70ms, 70ms, 70ms, 830ms; }
@media (max-width: 767px) {
  .hero__title { left: -.038em; font-size: calc((100vw - 48px) / var(--title-em-m, 5.244)); white-space: normal; }
  .hero__title span { display: block; }
  .hero__title-mid { display: none; }
  .hero__note {
    left: 16px;
    right: 16px;
    bottom: calc(88px + env(safe-area-inset-bottom));
    padding: 0;
    background: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    font-size: var(--t-m);
  }
  .hero__meta { margin-bottom: var(--s12); color: var(--ink-2); }
  .hero__lead, .hero__lead span { color: var(--ink-2); }
}

/* OS zoom. Widgets are solid while they fly, then settle into green glass. */
.os { position: relative; z-index: 3; height: 420vh; }
.os__pin { position: sticky; top: 0; height: 100vh; overflow: clip; pointer-events: none; }
.frame-head {
  position: absolute;
  z-index: 1;
  top: 5.5%;
  left: 0;
  right: 0;
  display: grid;
  justify-items: center;
  gap: var(--s16);
  opacity: 0;
  transform-origin: 50% 0;
  text-align: center;
}
.frame-head__title {
  margin: 0;
  font-size: var(--t-l);
  line-height: var(--lh-l);
  letter-spacing: var(--tr-l);
  color: var(--ink-1);
}
.frame-head__title span { display: block; color: var(--ink-3); }
.ow {
  position: absolute;
  isolation: isolate;
  will-change: transform, opacity;
  contain: layout style;
  opacity: 0;
  border-radius: var(--r-m);
  background: rgba(7, 39, 35, calc(.8 * var(--glass, 0)));
  box-shadow: var(--l-lift);
  color: var(--ink-1);
  font-size: var(--t-s);
  line-height: 1.2;
  letter-spacing: var(--tr-s);
  --ink-2: #c5d5d0;
  --ink-3: #9db8b2;
}
.ow::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: rgb(7, 39, 35);
  opacity: var(--solid, 1);
  pointer-events: none;
}
.ow.has-glass {
  -webkit-backdrop-filter: blur(calc(var(--u) * 16 * var(--glass))) saturate(calc(1 + .4 * var(--glass)));
  backdrop-filter: blur(calc(var(--u) * 16 * var(--glass))) saturate(calc(1 + .4 * var(--glass)));
}
.ow--img-b { z-index: 4; left: 12vw; top: 25vh; width: calc(var(--u) * 200); height: calc(var(--u) * 170); }
.ow--img-c { z-index: 6; left: 15.5vw; top: 47vh; width: calc(var(--u) * 160); height: calc(var(--u) * 136); }
.ow--add { z-index: 7; left: 5vw; top: 48vh; }
.ow--tools { z-index: 3; left: 61vw; top: 25vh; }
.ow--chart { z-index: 5; left: 73vw; top: 33vh; }
.ow--composer { z-index: 8; left: 0; right: 0; margin: 0 auto; top: calc(78vh - 20px); }
.ow--toast { z-index: 9; left: 70vw; top: 68vh; }
.ow--img {
  display: grid;
  grid-template-rows: 1fr auto;
  gap: var(--s8);
  margin: 0;
  padding: calc(var(--u) * 6) calc(var(--u) * 6) var(--s8);
  border-radius: var(--r-l);
}
.ph {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: calc(var(--r-l) - calc(var(--u) * 6));
}
.ph--mark {
  display: grid;
  place-items: center;
  background:
    radial-gradient(90% 70% at 18% 0%, color-mix(in srgb, var(--b) 55%, transparent), transparent 58%),
    linear-gradient(165deg, var(--a), #03211c);
  color: var(--b);
  font-size: calc(var(--u) * 22);
  font-weight: 500;
  letter-spacing: .12em;
}
.ow--img figcaption {
  display: flex;
  justify-content: space-between;
  padding: 0 calc(var(--u) * 6);
}
.ow--img figcaption span { color: var(--ink-3); }
.ow--add {
  display: flex;
  align-items: center;
  gap: var(--s12);
  padding: calc(var(--u) * 6) calc(var(--u) * 6) calc(var(--u) * 6) var(--s12);
  font-weight: 500;
}
.ow--tools { display: flex; gap: calc(var(--u) * 6); padding: calc(var(--u) * 6); }
.ow--chart {
  display: grid;
  gap: var(--s12);
  width: calc(var(--u) * 250);
  padding: var(--s16) var(--s16) var(--s12);
  border-radius: var(--r-l);
}
.ow--composer {
  display: grid;
  gap: var(--s12);
  width: calc(var(--u) * 560);
  padding: var(--s16);
  border-radius: var(--r-l);
}
.ow--toast {
  display: flex;
  align-items: center;
  gap: var(--s12);
  height: calc(var(--u) * 48);
  padding: 0 var(--s16) 0 var(--s12);
  white-space: nowrap;
}
.ow__head { display: flex; justify-content: space-between; font-weight: 500; }
.ow__up { font-weight: 400; color: var(--ink-2); }
.lkey {
  width: calc(var(--u) * 34);
  height: calc(var(--u) * 34);
  border-radius: var(--r-s);
  background: var(--fill-1);
  display: grid;
  place-items: center;
  color: var(--ink-1);
  flex: none;
}
.lkey--send { background: var(--ink-1); color: var(--bg); }
.lchip {
  display: inline-flex;
  align-items: center;
  height: calc(var(--u) * 32);
  padding: 0 var(--s12);
  gap: var(--s8);
  border-radius: var(--r-s);
  background: var(--fill-1);
}
.lchip:has(kbd) { padding-right: calc(var(--u) * 6); }
.lchip kbd, .chip kbd {
  display: inline-flex;
  align-items: center;
  font: inherit;
}
.lchip kbd {
  height: calc(var(--u) * 20);
  padding: 0 calc(var(--u) * 6);
  border-radius: var(--r-xs);
  background: rgba(0, 0, 0, .28);
  color: var(--ink-2);
}
.minibars {
  display: flex;
  align-items: flex-end;
  gap: calc(var(--u) * 6);
  height: calc(var(--u) * 84);
}
.minibars i {
  flex: 1;
  height: calc(var(--h) * 1%);
  border-radius: calc(var(--u) * 3);
  background: var(--lavender);
  transform-origin: bottom;
  transform: scaleY(.08);
  transition: transform 300ms var(--ease-out);
}
.minibars i.now { background: var(--yellow); }
.minibars.is-grown i { transform: none; transition-duration: 900ms; transition-timing-function: var(--ease-expo); }
.minibars.is-grown i:nth-child(1) { transition-delay: 0ms; }
.minibars.is-grown i:nth-child(2) { transition-delay: 40ms; }
.minibars.is-grown i:nth-child(3) { transition-delay: 80ms; }
.minibars.is-grown i:nth-child(4) { transition-delay: 120ms; }
.minibars.is-grown i:nth-child(5) { transition-delay: 160ms; }
.minibars.is-grown i:nth-child(6) { transition-delay: 200ms; }
.minibars.is-grown i:nth-child(7) { transition-delay: 240ms; }
.minibars__axis { display: flex; justify-content: space-between; color: var(--ink-3); }
.composer__text {
  min-height: calc(var(--t-m) * var(--lh-m) * 2);
  margin: 0;
  font-size: var(--t-m);
  line-height: var(--lh-m);
  letter-spacing: var(--tr-m);
  color: var(--ink-1);
}
.ow--composer.is-empty [data-typed] { color: var(--ink-3); }
.caret-text {
  display: inline-block;
  width: 1.5px;
  height: 1.1em;
  margin-left: 1px;
  vertical-align: -.15em;
  background: var(--ink-1);
  animation: blink 1s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }
.composer__bar { display: flex; align-items: center; gap: calc(var(--u) * 6); }
.composer__end { display: flex; gap: calc(var(--u) * 6); margin-left: auto; }
.composer__glow {
  position: absolute;
  left: var(--s24);
  right: var(--s24);
  bottom: 0;
  height: calc(var(--u) * 2);
  border-radius: var(--r-pill);
  background: var(--grad-golden);
}
.plus, .mic, .arrow, .done { position: relative; display: block; }
.plus { width: calc(var(--u) * 12); height: calc(var(--u) * 12); }
.plus::before, .plus::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: calc(var(--u) * 12);
  height: 1.5px;
  background: currentColor;
  transform: translate(-50%, -50%);
}
.plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.mic { width: calc(var(--u) * 11); height: calc(var(--u) * 16); }
.mic::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: calc(var(--u) * 7);
  height: calc(var(--u) * 11);
  transform: translateX(-50%);
  border: 1.5px solid currentColor;
  border-radius: calc(var(--u) * 4);
}
.mic::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: calc(var(--u) * 11);
  height: calc(var(--u) * 5);
  transform: translateX(-50%);
  border: 1.5px solid currentColor;
  border-top: 0;
  border-radius: 0 0 calc(var(--u) * 6) calc(var(--u) * 6);
}
.arrow {
  width: calc(var(--u) * 8);
  height: calc(var(--u) * 8);
  border-left: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
}
.arrow--up { transform: translateY(calc(var(--u) * 2)) rotate(135deg); }
.done {
  width: calc(var(--u) * 20);
  height: calc(var(--u) * 20);
  border-radius: 50%;
  background: var(--lavender);
  flex: none;
}
.done::after {
  content: "";
  position: absolute;
  left: 34%;
  top: 24%;
  width: 26%;
  height: 44%;
  border-right: 1.5px solid var(--bg);
  border-bottom: 1.5px solid var(--bg);
  transform: rotate(45deg);
}

/* Memory and agents. Copy sits beside the bust, never under it. */
.screen { position: relative; z-index: 2; padding: 64vh 0 24vh; }
.screen--left { padding-bottom: 48vh; }
.screen__col { display: grid; gap: var(--s72); width: min(calc(var(--u) * 520), 38vw); }
.screen--right .screen__col { margin-left: 56vw; }
.screen--left .screen__col { margin-left: 24px; }
@media (max-width: 767px) {
  .screen { padding-top: 18vh; }
  .screen__col,
  .screen--right .screen__col,
  .screen--left .screen__col {
    width: auto;
    margin-left: 16px;
    margin-right: 16px;
    padding: 20px 16px 8px;
    border-radius: 24px;
    background: rgba(3, 33, 28, .82);
    -webkit-backdrop-filter: blur(18px) saturate(1.3);
    backdrop-filter: blur(18px) saturate(1.3);
  }
}
.screen__head { display: grid; gap: var(--s24); }
.screen__eyebrow {
  display: flex;
  align-items: center;
  gap: var(--s16);
  margin: 0;
  font-size: var(--t-s);
  line-height: var(--lh-s);
  color: var(--ink-3);
}
.screen__title {
  margin: 0;
  font-size: var(--t-l);
  font-weight: 400;
  line-height: var(--lh-l);
  letter-spacing: var(--tr-l);
  color: var(--ink-1);
}
.screen__sub { display: block; color: var(--ink-3); }
.screen__text { max-width: 40ch; margin: 0; color: var(--ink-2); }
.chips { display: flex; flex-wrap: wrap; gap: var(--s8); list-style: none; margin: 0; padding: 0; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: var(--s8);
  height: calc(var(--u) * 36);
  padding: 0 var(--s12);
  border-radius: var(--r-s);
  background: rgba(252, 252, 252, .14);
  -webkit-backdrop-filter: var(--chip-blur);
  backdrop-filter: var(--chip-blur);
  font-size: var(--t-s);
  line-height: 1;
  color: var(--ink-1);
}
.chip:has(kbd) { padding-right: var(--s8); }
.chip kbd {
  height: calc(var(--u) * 22);
  padding: 0 var(--s8);
  border-radius: var(--r-xs);
  background: var(--fill-2);
  color: #dadae0;
}
.panel {
  display: grid;
  gap: var(--s24);
  padding: var(--s24);
  border-radius: var(--r-l);
  background: rgba(15, 57, 51, .56);
  -webkit-backdrop-filter: var(--glass-filter);
  backdrop-filter: var(--glass-filter);
  --ink-3: #8eaaa3;
}
.panel__head { display: flex; justify-content: space-between; align-items: center; gap: var(--s16); }
.panel__title { margin: 0; font-size: var(--t-m); font-weight: 500; color: var(--ink-1); }
.panel__note { margin: 0; font-size: var(--t-s); color: var(--ink-3); }
.panel .chips { margin-top: calc(var(--s8) * -1); }
.seg {
  display: inline-flex;
  gap: var(--s4);
  padding: var(--s4);
  border-radius: var(--r-s);
  background: var(--fill-1);
  -webkit-backdrop-filter: var(--chip-blur);
  backdrop-filter: var(--chip-blur);
}
.seg__btn {
  height: calc(var(--u) * 28);
  padding: 0 var(--s12);
  border: 0;
  border-radius: var(--r-xs);
  background: transparent;
  font-weight: 500;
  font-size: var(--t-s);
  line-height: 1;
  color: var(--ink-2);
  cursor: pointer;
  transition: background-color var(--dur-ui) var(--ease-out), color var(--dur-ui) var(--ease-out);
}
.seg__btn.is-on { background: var(--fill-2); color: var(--ink-1); }
.bars { display: grid; gap: var(--s12); }
.bars__plot {
  display: flex;
  align-items: flex-end;
  gap: calc(var(--u) * 4);
  height: calc(var(--u) * 140);
}
.bars__plot i {
  flex: 1;
  height: calc(var(--h) * 1%);
  min-height: calc(var(--u) * 14);
  border-radius: calc(var(--u) * 2);
  background: var(--fill-1);
  transform-origin: bottom;
  transform: scaleY(0);
  transition: transform var(--rv-out) var(--ease-out);
}
.bars__plot i.on { background: var(--lavender); }
.bars__plot i.now { background: var(--yellow); }
.js .is-in .bars__plot.is-grown i {
  transform: none;
  transition: transform 900ms var(--ease-expo);
  transition-delay: calc(320ms + var(--j) * 18ms);
}
.bars__axis {
  display: flex;
  justify-content: space-between;
  font-size: var(--t-s);
  color: var(--ink-3);
}
.bars__axis .is-now {
  text-transform: uppercase;
  letter-spacing: var(--tr-caps);
  color: var(--lavender);
}
.track {
  display: flex;
  height: calc(var(--u) * 28);
  border-radius: var(--r-pill);
  background: var(--fill-1);
  overflow: hidden;
}
.track i {
  width: calc(var(--w) * 1%);
  background: var(--c);
  clip-path: inset(0 100% 0 0);
  transition: clip-path var(--rv-out) var(--ease-out);
}
.js .is-in .track i { clip-path: inset(0); transition: clip-path 1400ms var(--ease-expo) 420ms; }
.legend {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s8) var(--s24);
  margin-top: calc(var(--s12) * -1);
  font-size: var(--t-s);
  color: var(--ink-2);
}
.legend span { display: inline-flex; align-items: center; gap: var(--s8); }
.legend i {
  width: calc(var(--u) * 8);
  height: calc(var(--u) * 8);
  border-radius: 50%;
  background: var(--c);
}
.stat { display: grid; gap: var(--s4); }
.stat__value {
  margin: 0;
  font-size: var(--t-l);
  font-variant-numeric: tabular-nums;
  color: var(--ink-1);
}
.stat__value small { margin-left: calc(var(--u) * 2); font-size: var(--t-m); color: var(--ink-2); }
.stat__label { margin: 0; font-size: var(--t-s); color: var(--ink-2); }
.ticks {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  height: calc(var(--u) * 28);
}
.ticks i {
  width: calc(var(--u) * 2);
  height: 100%;
  border-radius: calc(var(--u) * 1);
  background: var(--fill-2);
  transform-origin: bottom;
  transform: scaleY(.4);
  transition: transform var(--rv-out) var(--ease-out), background-color var(--rv-out) var(--ease-out);
}
.js .is-in .ticks i {
  transform: none;
  transition-duration: 800ms;
  transition-timing-function: var(--ease-expo);
  transition-delay: calc(380ms + var(--j) * 14ms);
}
.js .is-in .ticks i.on { background: var(--lavender); }
.js .is-in .ticks i.now { background: var(--yellow); }

.js .rv {
  --rv-y: 32px;
  opacity: 0;
  transform: translateY(var(--rv-y));
  filter: blur(calc(var(--u) * 12));
  transition: opacity var(--rv-out) var(--ease-out), transform var(--rv-out) var(--ease-out), filter var(--rv-out) var(--ease-out);
}
.js [data-dir="up"]:not(.is-in) .rv,
.js .rv[data-dir="up"]:not(.is-in) { --rv-y: -24px; }
.js .rv--word { display: inline-block; --rv-y: .35em; filter: blur(calc(var(--u) * 10)); }
.js .rv--chip, .js .rv--panel { filter: none; }
.js .rv--panel { --rv-y: 48px; }
.js .is-in .rv, .js .rv.is-in {
  opacity: 1;
  transform: none;
  filter: none;
  transition: opacity var(--rv-in) var(--ease-expo), transform var(--rv-in) var(--ease-expo), filter var(--rv-in) var(--ease-expo);
  transition-delay: calc(var(--d, 0) * 1ms);
}
.js .is-in .rv--word { transition-duration: 1100ms; }

.veil {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  height: 16vh;
  z-index: 2;
  pointer-events: none;
}
.veil > div { position: absolute; inset: 0; }

@media (prefers-reduced-motion: reduce) {
  .js .hero__title, .js .hero__meta, .js .hero__lead, .js .hd { animation: none; }
  .hero__title, .hero__meta, .hero__lead,
  html.is-hero-out .hero__title,
  html.is-hero-out .hero__meta,
  html.is-hero-out .hero__lead {
    translate: none;
    scale: none;
    filter: none;
    transition: opacity 200ms ease, visibility 0s linear 200ms;
  }
  .js .rv, .js .is-in .rv, .js .rv.is-in, .js .is-in .rv--word {
    filter: none;
    transform: none;
    transition: opacity 200ms ease;
    transition-delay: 0ms;
  }
  .bars__plot i, .ticks i, .track i, .minibars i {
    transform: none;
    clip-path: none;
    transition: none;
  }
  .track i { clip-path: inset(0); }
  .caret-text, .hd__dot, .badge__dot--live { animation: none; }
  .rail { transition: none; }
}

/* Launchpad chrome. The rail is the desktop home menu; Explore and Launch
   cover the cinematic page without moving its scroll. */
:root { --rail: 0px; }
@media (min-width: 1100px) {
  :root { --rail: 104px; }
  .stage { left: var(--rail); }
  .hd { left: var(--rail); }
  .hero__note { left: calc(var(--rail) + 24px); }
  .hero__title { font-size: calc((100vw - var(--rail) - 48px) / var(--title-em, 9.348)); }
  .ow--img-b { left: max(12vw, calc(var(--rail) + 24px)); }
  .ow--img-c { left: max(15.5vw, calc(var(--rail) + 56px)); }
  .ow--add { left: calc(var(--rail) + 20px); }
  .ow--composer { left: var(--rail); }
  .screen--left .screen__col { margin-left: calc(var(--rail) + 24px); }
}

.scrim {
  position: fixed;
  inset: 0;
  z-index: 25;
  border: 0;
  padding: 0;
  background: rgba(3, 33, 28, .62);
  opacity: 0;
  pointer-events: none;
  transition: opacity 240ms var(--ease-out);
}
html.is-menu .scrim { opacity: 1; pointer-events: auto; }
@media (min-width: 1100px) { .scrim { display: none; } }

.rail {
  display: none;
  position: fixed;
  z-index: 30;
  top: 0;
  left: 0;
  bottom: 0;
  width: min(280px, 86vw);
  flex-direction: column;
  gap: 8px;
  padding: 16px 12px 18px;
  background: #072723;
  border-right: 1px solid rgba(248, 249, 249, .08);
  transform: translateX(-105%);
  transition: transform 240ms var(--ease-out);
}
html.is-menu .rail { display: flex; transform: none; }
@media (min-width: 1100px) {
  .rail {
    display: flex;
    z-index: 20;
    width: var(--rail);
    padding: 18px 10px 16px;
    transform: none;
  }
}
.rail__brand {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin: 0 auto 12px;
  border-radius: 14px;
  background: #0f3933;
}
.rail__brand:focus-visible,
.rail__nav a:focus-visible,
.dock a:focus-visible,
.ex__cta:focus-visible,
.ex__sort button:focus-visible,
.ex__view button:focus-visible,
.ex__search input:focus-visible,
.ln__field input:focus-visible,
.ln__field textarea:focus-visible,
.ln__field select:focus-visible,
.menu-btn:focus-visible {
  outline: 2px solid var(--yellow);
  outline-offset: 2px;
}
.rail__nav { display: grid; gap: 4px; }
.rail__nav a {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  padding: 10px 14px;
  border-radius: 14px;
  color: #8eaaa3;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0;
}
.rail__nav svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linejoin: round;
  stroke-linecap: round;
  flex: none;
}
.rail__nav svg .fill { fill: currentColor; stroke: none; }
.rail__nav a[aria-current="page"] {
  color: #03211c;
  background: var(--yellow);
}
@media (hover: hover) and (pointer: fine) {
  .rail__nav a:hover { color: var(--ink-1); }
  .rail__nav a[aria-current="page"]:hover { color: #03211c; background: #c9fff0; }
}
@media (min-width: 1100px) {
  .rail__nav a {
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    min-height: 72px;
    padding: 10px 4px;
    font-size: 11px;
    letter-spacing: .04em;
  }
}
.rail__chain {
  margin: auto 0 0;
  text-align: center;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #8eaaa3;
}

.dock {
  display: none;
}
@media (max-width: 1099px) {
  .dock {
    position: fixed;
    z-index: 24;
    left: 50%;
    bottom: max(12px, env(safe-area-inset-bottom));
    display: flex;
    width: min(420px, calc(100vw - 24px));
    height: 68px;
    padding: 6px;
    gap: 4px;
    transform: translateX(-50%);
    border-radius: 999px;
    border: 1px solid rgba(248, 249, 249, .12);
    background: rgba(7, 39, 35, .82);
    -webkit-backdrop-filter: blur(24px) saturate(1.4);
    backdrop-filter: blur(24px) saturate(1.4);
    box-shadow: 0 16px 40px rgba(3, 33, 28, .4);
  }
  .dock a {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    min-width: 0;
    min-height: 44px;
    border-radius: 999px;
    color: #c5d5d1;
    font-size: 12px;
    font-weight: 500;
    line-height: 1;
  }
  .dock a svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
  }
  .dock a svg .fill { fill: currentColor; stroke: none; }
  .dock a[aria-current="page"] {
    color: #03211c;
    background: var(--yellow);
  }
  .dock a:active { transform: scale(.97); }
  html[data-view="explore"] .view--explore,
  html[data-view="launch"] .view--launch {
    padding-bottom: calc(112px + env(safe-area-inset-bottom));
  }
  #stocks .screen__head, #assets .screen__head, #pair { scroll-margin-top: 88px; }
  .hero__note { bottom: calc(88px + env(safe-area-inset-bottom)); }
}
.menu-btn {
  display: none;
  width: calc(var(--u) * 40);
  height: calc(var(--u) * 40);
  place-items: center;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--ink-1);
  flex: none;
}
.menu-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }
@media (max-width: 1099px) {
  .veil { display: none; }
}

html:not([data-view="home"]) .stage,
html:not([data-view="home"]) .veil,
html:not([data-view="home"]) .hd,
html:not([data-view="home"]) main {
  visibility: hidden;
  pointer-events: none;
}
.view { display: none; }
html[data-view="explore"] .view--explore,
html[data-view="launch"] .view--launch {
  display: flex;
  flex-direction: column;
  position: fixed;
  z-index: 5;
  top: 0;
  right: 0;
  bottom: 0;
  left: var(--rail);
  overflow: auto;
  overscroll-behavior: contain;
  background:
    radial-gradient(900px 420px at 100% -10%, rgba(80, 210, 193, .08), transparent 60%),
    var(--site);
  padding: 28px 32px 72px;
  color: var(--ink-1);
}

.ex__head {
  display: flex;
  align-items: flex-end;
  gap: 16px;
  max-width: 1120px;
  width: 100%;
  margin: 0 auto 28px;
}
.ex__intro { margin-right: auto; }
.ex__intro h1 {
  margin: 0;
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 400;
  letter-spacing: -.03em;
  line-height: 1.05;
}
.ex__intro p { margin: 8px 0 0; color: var(--ink-3); font-size: 15px; }
.ex__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 16px;
  border: 0;
  border-radius: 12px;
  background: var(--yellow);
  color: #03211c;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  flex: none;
}
@media (hover: hover) and (pointer: fine) {
  .ex__cta:hover { background: #c9fff0; }
}
.ex__cta:active { transform: scale(.98); }

.view--explore, .view--launch { align-items: stretch; }
.ex__trend, .ex__tools, .ex__count, .ex__board, .ln { max-width: 1120px; width: 100%; margin-left: auto; margin-right: auto; }
.ex__trend-bar, .ex__tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.ex__trend-bar h2 { margin: 0; font-size: 15px; font-weight: 500; }
.ex__pager { display: flex; gap: 6px; }
.ex__pager button, .ex__view button, .ex__more, .ex__back {
  display: inline-grid;
  place-items: center;
  height: 32px;
  min-width: 32px;
  padding: 0 10px;
  border: 0;
  border-radius: 10px;
  background: rgba(248, 249, 249, .06);
  color: var(--ink-1);
  cursor: pointer;
}
.ex__scroller {
  display: flex;
  gap: 14px;
  margin-top: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 6px;
  scrollbar-width: none;
}
.ex__scroller::-webkit-scrollbar { display: none; }
.ex__card, .ex__tile, .ex__row {
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.ex__card {
  flex: 0 0 168px;
  scroll-snap-align: start;
  display: grid;
  gap: 8px;
}
.ex__art {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  border-radius: 18px;
  background:
    radial-gradient(50% 45% at 78% 82%, color-mix(in srgb, var(--b) 34%, transparent), transparent 70%),
    radial-gradient(80% 70% at 12% 0%, color-mix(in srgb, var(--b) 78%, transparent), transparent 52%),
    linear-gradient(165deg, color-mix(in srgb, var(--a) 70%, var(--b)), #021815 80%);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--b) 38%, transparent);
  color: var(--b);
  font-size: 32px;
  font-weight: 500;
  letter-spacing: -.04em;
  overflow: hidden;
}
.ex__art img { width: 100%; height: 100%; object-fit: cover; }
.ex__art--lg { aspect-ratio: 16 / 10; font-size: 42px; border-radius: 20px; }
.ex__card-name, .ex__card-meta { display: flex; gap: 6px; align-items: baseline; font-size: 13px; }
.ex__card-name em { font-style: normal; color: var(--ink-3); }
.ex__card-meta { color: var(--ink-2); }
.is-up { color: var(--yellow); }
.is-down { color: #e7c4a2; }
.ex__card[aria-current="true"] .ex__art,
.ex__tile[aria-current="true"],
.ex__row[aria-current="true"] { outline: 1px solid rgba(151, 252, 227, .7); }

.ex__tools { margin-top: 28px; align-items: flex-end; flex-wrap: wrap; }
.ex__sort { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.ex__sort button {
  height: 36px;
  padding: 0;
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: var(--ink-3);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
}
.ex__sort button[aria-selected="true"] { color: var(--ink-1); border-bottom-color: var(--yellow); }
.ex__tools-end { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.ex__search input {
  width: min(220px, 46vw);
  height: 36px;
  padding: 0 12px;
  border: 1px solid rgba(248, 249, 249, .1);
  border-radius: 10px;
  background: rgba(248, 249, 249, .04);
  color: var(--ink-1);
  font: inherit;
  font-size: 14px;
}
.ex__view { display: flex; gap: 4px; }
.ex__view button { width: 36px; padding: 0; color: var(--ink-2); }
.ex__view button[aria-pressed="true"] { background: rgba(151, 252, 227, .14); color: var(--yellow); }
.ex__view svg, .ex__pager svg { width: 16px; height: 16px; }
.ex__view svg { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.ex__count { margin: 14px auto 0; color: var(--ink-3); font-size: 12px; }

.ex__board { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; margin-top: 8px; }
.ex__board.is-open { grid-template-columns: minmax(0, 1fr) 320px; }
.ex__cols, .ex__row {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) 88px 96px 108px;
  gap: 12px;
  align-items: center;
}
.ex__cols {
  position: sticky;
  top: 0;
  z-index: 1;
  padding: 8px 12px;
  background: var(--site);
  color: var(--ink-3);
  font-size: 12px;
}
.ex__cols span:last-child, .ex__cap { text-align: right; }
.ex__row {
  width: 100%;
  padding: 10px 12px;
  border-radius: 14px;
}
@media (hover: hover) and (pointer: fine) {
  .ex__row:hover, .ex__tile:hover { background: rgba(151, 252, 227, .05); }
  .ex__card:hover .ex__art { filter: brightness(1.08); }
}
.ex__who { display: flex; align-items: center; gap: 12px; min-width: 0; }
.ex__who .ex__art { width: 42px; height: 42px; aspect-ratio: auto; border-radius: 12px; font-size: 14px; flex: none; }
.ex__who strong { display: block; font-weight: 500; }
.ex__who em { font-style: normal; color: var(--ink-3); font-weight: 400; margin-left: 6px; }
.ex__who small { display: block; margin-top: 2px; color: var(--ink-3); font-size: 12px; }
.ex__pair { display: inline-flex; align-items: center; gap: 6px; color: var(--ink-2); font-size: 13px; }
.ex__pair i { width: 8px; height: 8px; border-radius: 50%; background: var(--lavender); }
.ex__spark { width: 84px; height: 28px; display: block; }
.ex__spark path { fill: none; stroke-width: 1.6; }
.ex__spark--up path { stroke: var(--yellow); }
.ex__spark--down path { stroke: #e7c4a2; }
.ex__cap { display: grid; justify-items: end; gap: 2px; }
.ex__cap strong { font-weight: 500; font-variant-numeric: tabular-nums; }
.ex__cap b, .ex__tile-foot b, .ex__card-meta b { font-weight: 500; font-size: 12px; }
.ex__more { margin-top: 12px; padding: 0 14px; }
.ex__empty { margin: 28px 0; color: var(--ink-3); }

.ex__list.is-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 14px;
}
.ex__tile {
  display: grid;
  gap: 10px;
  padding: 10px;
  border-radius: 18px;
  background: rgba(7, 39, 35, .72);
}
.ex__tile-top, .ex__tile-meta, .ex__tile-foot { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.ex__tile-top em { color: var(--ink-3); font-style: normal; font-size: 12px; }
.ex__tile .ex__art { border-radius: 14px; }

.ex__detail {
  position: sticky;
  top: 12px;
  align-self: start;
  display: grid;
  gap: 14px;
  padding: 16px;
  border-radius: 20px;
  background: rgba(7, 39, 35, .9);
  border: 1px solid rgba(248, 249, 249, .06);
}
.ex__back { justify-self: start; display: none; }
.ex__id h2 { margin: 0; font-size: 28px; font-weight: 400; letter-spacing: -.03em; }
.ex__id p { display: flex; gap: 8px; align-items: center; margin: 4px 0 0; color: var(--ink-3); }
.ex__about { margin: 0; color: var(--ink-2); line-height: 1.45; }
.ex__stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; margin: 0; }
.ex__stats div { display: grid; gap: 2px; }
.ex__stats dt { color: var(--ink-3); font-size: 12px; }
.ex__stats dd { margin: 0; font-variant-numeric: tabular-nums; }
.ex__grad-top { display: flex; justify-content: space-between; font-size: 12px; color: var(--ink-3); margin-bottom: 6px; }
.ex__grad-top strong { color: var(--ink-1); font-weight: 500; }
.ex__grad-track { height: 6px; border-radius: 99px; background: rgba(248, 249, 249, .08); overflow: hidden; }
.ex__grad-track i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--lavender), var(--yellow)); }
.ex__status { margin: 0; color: var(--yellow); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }

.ln { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 380px); gap: 28px; align-items: start; }
.ln__form, .ln__preview {
  display: grid;
  gap: 14px;
  padding: 22px;
  border-radius: 22px;
  background: rgba(7, 39, 35, .78);
  border: 1px solid rgba(248, 249, 249, .06);
}
.ln__field { display: grid; gap: 6px; color: var(--ink-3); font-size: 13px; }
.ln__field input, .ln__field textarea, .ln__field select {
  width: 100%;
  border: 1px solid rgba(248, 249, 249, .1);
  border-radius: 12px;
  background: rgba(3, 33, 28, .55);
  color: var(--ink-1);
  font: inherit;
  font-size: 15px;
  padding: 12px 14px;
  color-scheme: dark;
}
.ln__pair {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 14px;
  border-radius: 12px;
  background: rgba(151, 252, 227, .08);
}
.ln__pair span { color: var(--ink-3); font-size: 13px; }
.ln__pair em { margin-left: auto; color: var(--ink-3); font-style: normal; font-size: 13px; }
.ln__error { min-height: 1.2em; margin: 0; color: #e7c4a2; font-size: 13px; }
.ln__note { margin: 0; color: var(--ink-3); font-size: 13px; line-height: 1.4; }
.ln__kicker { margin: 0; color: var(--ink-3); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.ln__preview { position: sticky; top: 12px; }

@media (max-width: 900px) {
  html[data-view="explore"] .view--explore,
  html[data-view="launch"] .view--launch { padding: 16px 16px calc(112px + env(safe-area-inset-bottom)); left: 0; }
  .ex__board.is-open { grid-template-columns: 1fr; }
  .ex__board.is-open .ex__main { display: none; }
  .ex__back { display: inline-grid; }
  .ex__detail { position: static; }
  .ex__cols, .ex__row .ex__spark, .ex__row .ex__pair { display: none; }
  .ex__row { grid-template-columns: minmax(0, 1fr) auto; }
  .view .menu-btn { align-self: center; }
  .ln { grid-template-columns: 1fr; }
  .ln__preview { position: static; }
}
@media (max-width: 1099px) {
  .view--explore .menu-btn, .view--launch .menu-btn { margin-bottom: 8px; }
}
