@font-face { font-family: "Geist"; src: url("../fonts/Geist.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("../fonts/GeistMono.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root { --accent: #8FC8FF; --uv: #8FC8FF; }
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; background: var(--ink); color: var(--bone); overflow-x: clip; }
html { scrollbar-width: none; }
html::-webkit-scrollbar { display: none; }
body { font: 400 15px/1.45 var(--font); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
h1, h2, p, ul { margin: 0; padding: 0; }
ul { list-style: none; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

#gl { position: fixed; inset: 0; width: 100vw; height: 100vh; display: block; z-index: 0; opacity: 0; transition: opacity .9s ease; }
#gl.is-on { opacity: 1; }
#words { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: 4; pointer-events: none; }

/* the real app, revealed flat at the end */
.app { position: fixed; inset: 0; z-index: 1; visibility: hidden; background: var(--ink); }
.app iframe { display: block; width: 100%; height: 100%; border: 0; pointer-events: none; background: var(--ink); }
.app.is-live iframe { pointer-events: auto; }
#fluid { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: 2; pointer-events: none; opacity: 0; visibility: hidden; }

/* header: full bar at rest, glass pill once the page moves */
.bar { position: fixed; top: 0; left: 0; right: 0; z-index: 6; display: flex; justify-content: center; padding: 14px clamp(10px, 2vw, 28px) 0; pointer-events: none; transition: transform .5s var(--ease-glide), opacity .4s var(--ease-glide); }
.bar__in { position: relative; pointer-events: auto; display: flex; align-items: center; justify-content: space-between; gap: 28px; width: 100%; max-width: 100%; height: 50px; padding: 0 clamp(6px, 1.2vw, 16px); border-radius: 26px; transition: max-width .7s var(--ease-glide), padding .7s var(--ease-glide); }
.bar__glass { position: absolute; inset: 0; border-radius: inherit; opacity: 0; pointer-events: none; transition: opacity .5s var(--ease-glide);
  background: rgba(237,234,227,.035); box-shadow: inset 0 1px 0 rgba(237,234,227,.16), inset 0 0 0 1px rgba(237,234,227,.10), 0 10px 30px rgba(0,0,0,.25); }
html:not(.lg-on) .bar__glass { background: rgba(10,14,20,.45); -webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%); }
.bar.is-pill .bar__in { max-width: 340px; padding: 0 6px 0 18px; }
.bar.is-pill .bar__glass { opacity: 1; }
.bar.is-gone { transform: translateY(-120%); opacity: 0; }
.bar.is-gone .bar__in { pointer-events: none; }
.brand { position: relative; display: flex; align-items: center; gap: 10px; color: var(--bone); }
.brand__logo { width: 24px; height: 24px; }
.brand__word { font-weight: 700; letter-spacing: .08em; font-size: 15px; }

.btn { position: relative; display: inline-flex; align-items: center; height: 40px; padding: 0 18px; border-radius: 4px; font: 500 14px/1 var(--font); letter-spacing: -.005em; transition: background-color .25s var(--ease-glide), border-color .25s var(--ease-glide), transform .25s var(--ease-glide); }
.btn:active { transform: scale(.97); }
.btn--line { border: 1px solid rgba(237,234,227,.22); color: var(--bone); }
.btn--line:hover { border-color: rgba(237,234,227,.5); }
.bar.is-pill .btn--line { height: 38px; border-radius: 20px; }
.bar__nav { position: relative; display: flex; align-items: center; gap: 22px; }
.bar__link { font: 500 14px/1 var(--font); color: var(--bone); opacity: .78; transition: opacity .25s var(--ease-glide); }
.bar__link:hover { opacity: 1; }
.btn--accent { background: var(--accent); color: var(--ink); height: 48px; padding: 0 22px; font-size: 15px; font-weight: 600; }
.btn--accent:hover { background: #A9D5FF; }
.btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.story { position: relative; z-index: 5; pointer-events: none; }
.story a { pointer-events: auto; }
.hero { position: relative; height: 100vh; min-height: 560px; padding: 0 clamp(16px, 5.6vw, 88px); display: flex; flex-direction: column; justify-content: flex-start; padding-top: clamp(120px, 21vh, 210px); }
.hero__t { font-weight: 600; font-size: clamp(42px, 6.6vw, 108px); line-height: .96; letter-spacing: -.045em; max-width: 12ch; }
.hero__t span { display: block; }
.hero__l1 { color: var(--bone); }
.hero__l2 { color: var(--ash); }
.hero__sub { margin-top: clamp(20px, 3.2vh, 32px); font-weight: 500; font-size: clamp(17px, 1.45vw, 23px); line-height: 1.35; letter-spacing: -.01em; color: var(--bone); }
.hero__sub span { display: block; }
.hero__cta { margin-top: clamp(28px, 4.4vh, 44px); align-self: flex-start; }
.hero__hint { position: absolute; left: clamp(16px, 5.6vw, 88px); bottom: 32px; font: 400 12px/1 var(--mono); letter-spacing: .04em; color: var(--ash); text-transform: uppercase; }
.journey { position: relative; height: 1785vh; }

/* beats: fixed over the scene, driven by the scroll */
.bt { position: fixed; z-index: 5; opacity: 0; visibility: hidden; pointer-events: none; will-change: opacity, transform; }
.hero__t, .bt__h, .ribbon, .flip, .tape { text-shadow: 0 0 28px rgba(7,16,28,.75), 0 0 6px rgba(7,16,28,.5); }
.bt__h { font-weight: 600; font-size: clamp(36px, 4.7vw, 76px); line-height: 1; letter-spacing: -.042em; }
.bt__h .ln { display: block; will-change: opacity, transform; }
.ln--dim { color: #BDB8AE; text-shadow: 0 0 22px rgba(7, 16, 28, .55), 0 1px 2px rgba(7, 16, 28, .45); }
.bt--fresh { left: clamp(16px, 6.4vw, 100px); top: 21vh; }
.bt--fresh .ln { white-space: nowrap; }
.bt--ribbon { left: 0; right: 0; top: 57vh; text-align: center; }
/* cut from the walk: the camera rushes over these two */
.bt--ribbon, .bt--flip { display: none !important; }
.ribbon { display: flex; justify-content: center; gap: clamp(18px, 2.6vw, 44px); font-weight: 600; font-size: clamp(34px, 5.2vw, 112px); line-height: 1; letter-spacing: -.045em; }
.ribbon__meta { margin-top: clamp(22px, 2vw, 36px); font: 400 clamp(14px, .85vw, 17px)/1.3 var(--mono); letter-spacing: .02em; color: var(--bone); opacity: 0; will-change: opacity; }
.rw { display: inline-block; opacity: .16; will-change: opacity, transform; }
.bt--flip { left: clamp(16px, 6.4vw, 100px); top: 21vh; }
/* the pairs build up: what they see at the left, what stays hidden at the right */
.flip { display: grid; grid-template-columns: max-content max-content; column-gap: clamp(48px, 7vw, 140px); row-gap: .3em; font-size: clamp(34px, 3.7vw, 64px); }
.flip__lab, .flip__row { display: contents; }
.fl { margin-bottom: 14px; font: 500 13px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ash); will-change: opacity; }
.fl--c { color: var(--accent); }
.fs, .fc { font-weight: 600; line-height: 1.02; letter-spacing: -.042em; white-space: nowrap; will-change: opacity, transform, filter; }
.fs { color: #F4EFE4; text-shadow: 0 0 calc(var(--l, 1) * 34px) rgba(255, 228, 182, calc(var(--l, 1) * .42)), 0 0 6px rgba(7,16,28,.5); }
.fc { color: var(--accent); text-shadow: 0 0 calc(var(--g, .5) * 44px) rgba(120, 190, 255, calc(var(--g, .5) * .5)), 0 0 6px rgba(7,16,28,.5); }
/* the card on the water is drawn in the scene; this twin is for readers and for the page without the scene */
.bt--water { width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.wl__lab { margin: 0 0 12px; font: 500 13px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ash); }
.wl__lab--c { margin-top: 36px; color: var(--accent); }
.wl { margin: 0; max-width: 520px; }
.wl div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-top: 1px solid rgba(237,234,227,.14); }
.wl dt { color: var(--ash); }
.wl dd { margin: 0; font-weight: 500; }
.wl--c dd { color: var(--accent); }
/* one line on the waterline: the letters stand on their own reflection, then go under */
.bt--under { left: 0; right: 0; top: 0; text-align: center; }
.under { position: relative; margin: 0; font-weight: 600; font-size: clamp(56px, 9.4vw, 156px); line-height: 1; letter-spacing: -.05em; }
.under__up, .under__dn { display: block; overflow: hidden; white-space: nowrap; }
.under__up { height: .8em; color: #F4EFE4; text-shadow: 0 0 40px rgba(170, 205, 255, .22); }
.under__dn { height: .9em; color: #9DB8D6; opacity: .5; -webkit-mask-image: linear-gradient(#000 0, rgba(0,0,0,.55) 40%, transparent 90%), repeating-linear-gradient(#000 0 .045em, rgba(0,0,0,.35) .06em .085em); -webkit-mask-composite: source-in; mask-image: linear-gradient(#000 0, rgba(0,0,0,.55) 40%, transparent 90%), repeating-linear-gradient(#000 0 .045em, rgba(0,0,0,.35) .06em .085em); mask-composite: intersect; filter: url(#rip) blur(.8px); }
.under i { display: inline-block; font-style: normal; will-change: transform; }
.under__up i { transform-origin: 50% 100%; }
.under__dn i { transform-origin: 50% 0; transform: scaleY(-1); }
/* the private buy: a launchpad's public trades, and one of them has no wallet */
.bt--buy { left: clamp(16px, 6.4vw, 100px); top: 17vh; width: min(640px, calc(100vw - 32px)); }
.bt--buy .ln { white-space: nowrap; }
.tape { position: relative; margin-top: clamp(28px, 6vh, 64px); }
.tape::before { content: ""; position: absolute; inset: -40px -60px; z-index: -1; pointer-events: none; background: radial-gradient(closest-side, rgba(6, 12, 22, .55), rgba(6, 12, 22, 0)); }
.tape__r { display: grid; grid-template-columns: 4.2em 1fr auto; align-items: baseline; gap: 16px; padding: 13px 0 13px 14px; border-top: 1px solid rgba(237,234,227,.14); font: 500 clamp(17px, 1.35vw, 22px)/1.2 var(--font); letter-spacing: -.01em; color: #F4EFE4; font-variant-numeric: tabular-nums; will-change: opacity, transform; }
.tape__r span:nth-child(2) { color: #CFCAC0; }
.tape__r span:nth-child(3) { font: 400 .86em/1.2 var(--mono); letter-spacing: 0; color: var(--ash); text-align: right; min-width: 11.5ch; }
.tape__r--h { padding-top: 0; border-top: 0; font: 500 13px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ash); }
.tape__r--h span:nth-child(n) { font: inherit; color: inherit; }
.tape__r--you { box-shadow: inset 2px 0 0 rgba(143, 200, 255, var(--y, 0)); background: linear-gradient(90deg, rgba(143, 200, 255, calc(var(--y, 0) * .10)), rgba(143, 200, 255, 0) 70%); }
.tape__r--you span.tape__who { color: var(--accent); font-weight: 500; }
.tape__land { margin-top: 20px; padding-left: 14px; font: 500 clamp(14px, .95vw, 16px)/1.3 var(--mono); letter-spacing: .02em; color: var(--accent); will-change: opacity, transform; }
.bt--edge { left: clamp(16px, 6.4vw, 100px); top: 22vh; }
.bt--edge .bt__h { font-size: clamp(32px, 3.9vw, 64px); line-height: 1.04; }
.bt--edge .ln { white-space: nowrap; }
.bt--edge .bt__note span { display: block; }
.bt--edge .bt__note span + span { margin-top: 6px; color: var(--bone); }
.bt--token { left: clamp(16px, 6.4vw, 100px); top: 22vh; }
.bt--token .bt__h { font-size: clamp(30px, 2.9vw, 56px); }
.bt--token .ln { white-space: nowrap; }
.bt--token .ln--big { font-size: clamp(44px, 5.8vw, 112px); line-height: .96; letter-spacing: -.05em; }
.bt--token .ln + .ln { margin-top: .5em; }
.tk { font-weight: 600; color: var(--accent); }
.bt--token .bt__note { font-size: 14px; margin-top: 24px; }
.bt__note { margin-top: 28px; font: 400 13px/1.3 var(--mono); letter-spacing: .02em; color: var(--ash); }

/* footer: one line of liquid glass over the live app */
.foot { position: relative; z-index: 7; padding: 0 clamp(10px, 2vw, 28px) 16px; pointer-events: none; }
.foot__in { position: relative; pointer-events: auto; display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 56px; padding: 0 22px; border-radius: 6px; font: 400 12px/1.4 var(--mono); color: var(--bone); }
.foot__glass { position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: rgba(237,234,227,.03); box-shadow: inset 0 1px 0 rgba(237,234,227,.16), inset 0 0 0 1px rgba(237,234,227,.10), 0 12px 32px rgba(0,0,0,.3); }
html:not(.lg-on) .foot__glass { background: rgba(10,14,20,.55); -webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%); }
.foot__t, .foot__nav { position: relative; }
.foot__nav { display: flex; gap: 22px; }
.foot a:hover { color: var(--accent); }

/* no WebGL: a plain, readable column */
.still { display: none; }
.no-gl #gl, .no-gl #words, .no-gl #fluid { display: none; }
.no-gl .still { display: grid; place-items: center; position: fixed; inset: 0; z-index: 0; color: var(--line); }
.no-gl .still svg { width: 40vmin; height: 40vmin; }
.no-gl body { display: flex; flex-direction: column; }
.no-gl .bar { order: 0; position: relative; padding-bottom: 8px; }
.no-gl .story { order: 1; }
.no-gl .app { order: 2; position: relative; inset: auto; visibility: visible; width: min(1200px, 94vw); height: 820px; margin: 0 auto 8vh; outline: 1px solid var(--line); }
.no-gl .app iframe { pointer-events: auto; }
.no-gl .foot { order: 3; }
.no-gl .journey { height: auto; }
.no-gl .bt { position: relative; inset: auto; opacity: 1; visibility: visible; padding: 16vh clamp(16px, 5.6vw, 88px); max-width: none; width: auto; text-align: left; }
.no-gl .bt--ribbon .ribbon { justify-content: flex-start; flex-wrap: wrap; }
.no-gl .rw { opacity: 1; }
.no-gl .bt--buy { width: auto; max-width: 720px; }
.no-gl .under__dn { display: none; }
.no-gl .bt--water { width: auto; height: auto; overflow: visible; clip-path: none; }
.no-gl .bt--under { text-align: left; }
.no-gl .ribbon__meta { opacity: 1; }
.no-gl .thesis { position: static; width: auto; height: auto; clip: auto; white-space: normal; padding: 20vh clamp(16px, 5.6vw, 88px); font: 600 clamp(36px, 6vw, 88px)/1.05 var(--font); letter-spacing: -.04em; }
.no-gl .hero__hint { display: none; }
.no-gl .bar__glass { opacity: 1; }

@media (max-width: 760px) {
  .bar { padding-top: 10px; }
  .bar__in { height: 46px; }
  .bar.is-pill .bar__in { max-width: 290px; padding-left: 14px; }
  .btn--line { height: 36px; padding: 0 14px; font-size: 13px; }
  .hero { padding-top: 0; justify-content: flex-end; padding-bottom: 76px; }
  .hero__t { font-size: clamp(40px, 11.6vw, 60px); }
  .hero__hint { bottom: 24px; }
  .bt__h { font-size: clamp(34px, 10.4vw, 48px); }
  .bt--fresh { top: auto; bottom: 16vh; right: 16px; }
  .bt--fresh .ln { white-space: normal; }
  .bt--ribbon { top: auto; bottom: 22vh; }
  .ribbon { display: grid; grid-template-columns: auto auto; justify-content: center; gap: 10px 22px; font-size: clamp(34px, 10.4vw, 46px); }
  .hero__sub { font-size: 16px; }
  .ribbon__meta { margin-top: 18px; font-size: 13px; }
  .bt--flip { top: auto; bottom: 9vh; right: 16px; }
  .flip { grid-template-columns: 1fr; row-gap: 0; font-size: clamp(26px, 7.4vw, 34px); }
  .flip__lab { display: flex; gap: 16px; margin-bottom: 14px; }
  .fl { margin-bottom: 0; }
  .fc { margin-bottom: .5em; font-size: .78em; }
  .bt--buy { top: auto; bottom: 6vh; left: 16px; right: 16px; width: auto; }
  .bt--buy .bt__h { font-size: clamp(30px, 8.6vw, 40px); }
  .bt--buy .ln { white-space: normal; }
  .tape { margin-top: 22px; }
  .tape__r { grid-template-columns: 3.4em 1fr auto; gap: 10px; padding: 10px 0 10px 10px; font-size: 15px; }
  .tape__r--h { font-size: 11px; }
  .tape__land { margin-top: 14px; padding-left: 10px; font-size: 13px; }
  .bt--edge { top: auto; bottom: 6vh; left: 16px; right: 16px; }
  .bt--edge .bt__h { font-size: clamp(28px, 8.2vw, 38px); }
  .bt--edge .ln { white-space: normal; }
  .bt--edge .bt__note { font-size: 12px; letter-spacing: 0; }
  .bt--token { top: auto; bottom: 6vh; left: 16px; right: 16px; }
  .bt--token .bt__h { font-size: clamp(22px, 6.4vw, 30px); }
  .bt--token .ln--big { font-size: clamp(36px, 11vw, 52px); }
  .bt--token .ln { white-space: normal; }
  .bt--token .bt__note { font-size: 12px; letter-spacing: 0; }
  .bar__nav { gap: 16px; }
  .bar__link { font-size: 13px; }
  .foot__in { flex-direction: column; align-items: flex-start; justify-content: center; gap: 6px; padding: 12px 18px; }
  .no-gl .app { height: 800px; }
}

/* the live app owns the screen: the footer slides away, every landing layer stops painting */
.foot { transition: transform .3s var(--ease-glide), opacity .3s var(--ease-glide); }
.foot.is-gone { transform: translateY(100%); opacity: 0; visibility: hidden; pointer-events: none; transition: transform .3s var(--ease-glide), opacity .3s var(--ease-glide), visibility 0s linear .3s; }
.bar.is-gone { visibility: hidden; transition: transform .5s var(--ease-glide), opacity .4s var(--ease-glide), visibility 0s linear .5s; }
html.app-full #gl, html.app-full #words, html.app-full #fluid, html.app-full .story, html.app-full .bar, html.app-full .foot { visibility: hidden !important; }
html.app-full [data-lg] { -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }

/* launch: one accent button in the bar, the token link beside it */
.btn--bar { height: 40px; padding: 0 18px; font-size: 14px; }
.bar.is-pill .btn--bar { height: 38px; border-radius: 20px; }
.bar.is-pill .bar__link { display: none; }
.bar__link { display: inline-flex; align-items: center; min-height: 44px; }
.bar__link:focus-visible, .foot a:focus-visible, .hero__eyebrow:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.hero__eyebrow { align-self: flex-start; display: inline-flex; align-items: center; gap: 10px; min-height: 44px; margin-bottom: clamp(10px, 2vh, 20px); font: 500 13px/1 var(--mono); letter-spacing: .02em; color: var(--bone); opacity: .86; transition: opacity .25s var(--ease-glide); }
.hero__eyebrow:hover { opacity: 1; }
.hero__eyebrow i { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(143,200,255,.16); }
.hero__eyebrow svg { width: 13px; height: 13px; }
@media (min-width: 761px) { .hero__t { max-width: none; } .hero__t span { white-space: nowrap; } }
@media (max-width: 760px) {
  .bar__link--wide { display: none; }
  .btn--bar { height: 38px; padding: 0 14px; font-size: 13px; }
  .hero__eyebrow { font-size: 12px; }
}
