/* Hold Forever. Black and white like Pair (trypair.app) and Hold (hold.diamonds): Geist, frosted top bar,
   black hero, white band, black band. */
:root {
  --ink: #1d1d1f; --dim: #6e6e73; --card: #f5f5f7; --line: rgba(0, 0, 0, .08);
  --sans: 'Geist', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'Geist Mono', ui-monospace, Menlo, monospace;
  --ease: cubic-bezier(.16, 1, .3, 1);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { background: #000; -webkit-text-size-adjust: 100%; scrollbar-color: #3a3a3e #000; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: #000; }
::-webkit-scrollbar-thumb { background: #3a3a3e; border-radius: 99px; border: 2px solid #000; }
::selection { background: #1d1d1f; color: #fff; }
.hero ::selection, .dark ::selection { background: #fff; color: #000; }
body { margin: 0; background: #000; color: var(--ink); font: 16px/1.5 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
b { font-weight: 650; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; border-radius: 8px; }

/* top bar */
.tn { position: fixed; inset: 0 0 auto; z-index: 50; height: 60px; display: flex; align-items: center; gap: 20px; padding: 0 28px; color: #fff; border-bottom: 1px solid transparent; transition: background .4s, color .4s, border-color .4s; }
.tn.solid { background: rgba(0, 0, 0, .72); backdrop-filter: saturate(1.6) blur(20px); -webkit-backdrop-filter: saturate(1.6) blur(20px); border-color: rgba(255, 255, 255, .08); }
.tn.light { background: rgba(255, 255, 255, .78); color: var(--ink); border-color: var(--line); }
.brand { display: flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 650; letter-spacing: -.03em; white-space: nowrap; }
.brand img { width: 30px; height: 30px; object-fit: contain; }
.tnav { position: absolute; left: 50%; transform: translateX(-50%); display: flex; gap: 30px; font-size: 14px; }
.tnav a { opacity: .62; transition: opacity .2s; }
.tnav a:hover { opacity: 1; }
.act { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.ca { display: inline-flex; align-items: center; gap: 10px; height: 36px; padding: 0 5px 0 14px; border-radius: 99px; border: 1px solid; border-color: color-mix(in srgb, currentColor 18%, transparent); background: none; font-size: 13px; }
.ca .k { opacity: .55; font-weight: 600; font-size: 12px; }
.ca .v { font-family: var(--mono); font-size: 12.5px; }
.ca em { font-style: normal; font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 99px; background: color-mix(in srgb, currentColor 12%, transparent); }
.ca.ok em { background: #1f8a4c; color: #fff; }
.ib { width: 36px; height: 36px; display: grid; place-items: center; }
.ib svg { width: 15px; height: 15px; fill: currentColor; }
.pill { display: inline-flex; align-items: center; height: 36px; padding: 0 18px; border-radius: 99px; background: #fff; color: #000; font-size: 14px; font-weight: 500; }
.tn.light .pill { background: var(--ink); color: #fff; }

/* hero */
.hero { position: relative; min-height: 100svh; display: grid; place-items: center; text-align: center; padding: 84px 20px 76px; color: #fff; overflow: hidden; }
.hero .in { position: relative; width: 100%; }
.hero .c3d { position: absolute; z-index: 1; inset: 0; width: 100%; height: 100%; display: block; pointer-events: none; }
.hero .slot { width: min(230px, 50vw, 27svh); aspect-ratio: 1; margin: 0 auto 30px; }
.hero .slot img { display: block; width: 100%; height: 100%; opacity: 0; }
.hero.flat .slot img { opacity: 1; transition: opacity .8s; }
.hero.flat .c3d { display: none; }
.hero h1 { font-size: clamp(44px, min(6.4vw, 11svh), 96px); line-height: .98; letter-spacing: -.052em; font-weight: 700; margin: 0; }
.hero h1 .l2 { color: rgba(255, 255, 255, .5); }
.hero p { font-size: clamp(17px, 1.5vw, 21px); line-height: 1.45; color: rgba(255, 255, 255, .62); margin: 24px auto 0; max-width: 560px; text-wrap: balance; }
.count { margin-top: clamp(26px, 4.6vh, 56px); }
.count .n { display: inline-flex; align-items: baseline; font-size: clamp(44px, 4.8vw, 72px); line-height: 1; font-weight: 600; letter-spacing: -.045em; font-variant-numeric: tabular-nums; }
.count .n b { font-weight: 600; }
.count .n i, .count .n s { font-style: normal; text-decoration: none; }
.count .n i { color: rgba(255, 255, 255, .34); }
.count .n s { margin-left: .04em; }
.count > span { display: block; margin-top: 14px; font-size: 14.5px; color: rgba(255, 255, 255, .55); }
.count > span b { color: #fff; font-weight: 500; font-variant-numeric: tabular-nums; }
.ti { opacity: 0; transform: translateY(18px); filter: blur(6px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease), filter 1.1s var(--ease); }
.go .ti { opacity: 1; transform: none; filter: none; }
.go p.ti { transition-delay: .12s; }
.go .count.ti { transition-delay: .26s; }
.cue { position: absolute; bottom: 24px; left: 50%; width: 1px; height: 40px; background: linear-gradient(rgba(255, 255, 255, .5), transparent); transform-origin: top; animation: cue 2.4s var(--ease) 3s infinite both; }
@keyframes cue { 0% { transform: scaleY(0); opacity: 1; } 60% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }

/* bands */
.band { background: #fff; padding: clamp(88px, 10vw, 150px) clamp(16px, 4vw, 40px); }
.band.dark { background: #000; color: #fff; }
.band > .in { max-width: 1120px; margin: 0 auto; }
.band h2 { font-size: clamp(38px, 5.2vw, 72px); line-height: 1.02; letter-spacing: -.045em; font-weight: 700; margin: 0; text-align: center; text-wrap: balance; }
.sub { text-align: center; color: var(--dim); font-size: clamp(17px, 1.5vw, 20px); line-height: 1.5; margin: 18px auto 0; max-width: 620px; text-wrap: pretty; }
.dark .sub { color: rgba(255, 255, 255, .58); }
.up { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.up.in { opacity: 1; transform: none; }

/* chart */
.chart { margin-top: 56px; border-radius: 28px; background: var(--card); padding: clamp(16px, 2.6vw, 32px); }
.toggle { position: relative; display: flex; gap: 2px; width: max-content; max-width: 100%; margin: 0 auto 18px; padding: 4px; border-radius: 99px; background: #e9e9ec; overflow-x: auto; scrollbar-width: none; }
.toggle::-webkit-scrollbar { display: none; }
.toggle button { position: relative; z-index: 1; border: 0; background: none; height: 36px; padding: 0 18px; border-radius: 99px; font-size: 14.5px; font-weight: 500; color: var(--dim); white-space: nowrap; transition: color .3s; }
.toggle button.on { color: var(--ink); }
.toggle .knob { position: absolute; top: 4px; bottom: 4px; left: 0; border-radius: 99px; background: #fff; box-shadow: 0 1px 4px rgba(0, 0, 0, .12); transition: transform .5s var(--ease), width .5s var(--ease); }
.chart svg { display: block; width: 100%; height: clamp(300px, 36vw, 430px); overflow: visible; touch-action: pan-y; }
.chart .ax { stroke: rgba(0, 0, 0, .07); }
.chart .lb { font: 12.5px var(--sans); fill: #6e6e73; font-variant-numeric: tabular-nums; }
.chart .ln { fill: none; stroke: var(--ink); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.chart .ar { fill: url(#cg); }
.chart .dot { fill: var(--ink); stroke: var(--card); stroke-width: 3; }
.chart .cur { stroke: rgba(0, 0, 0, .3); stroke-dasharray: 3 4; }
.chart .tip rect { fill: var(--ink); }
.chart .tip .m { font: 650 17px var(--sans); fill: #fff; letter-spacing: -.02em; }
.chart .tip .t { font: 12.5px var(--sans); fill: rgba(255, 255, 255, .66); }

/* ladder */
.ladder { max-width: 820px; margin: 72px auto 0; }
.lhd { display: flex; justify-content: space-between; padding: 0 4px 12px; font-size: 14px; color: var(--dim); }
.lrow { position: relative; display: flex; align-items: baseline; justify-content: space-between; gap: 20px; padding: 15px 4px; border-top: 1px solid var(--line); }
.lrow b { font-size: clamp(28px, 3.4vw, 42px); line-height: 1.1; font-weight: 700; letter-spacing: -.045em; font-variant-numeric: tabular-nums; transition: transform .5s var(--ease); }
.lrow span { font-size: clamp(16px, 1.6vw, 20px); text-align: right; font-variant-numeric: tabular-nums; }
.lrow:hover b { transform: translateX(8px); }
.lrow.new { animation: rowin .7s var(--ease) both; animation-delay: var(--d); }
@keyframes rowin { from { opacity: 0; transform: translateY(14px); } }
.lrow.inf { border-bottom: 1px solid var(--line); }
.moreb { display: block; margin: 18px auto; height: 44px; padding: 0 24px; border-radius: 99px; border: 1px solid rgba(0, 0, 0, .16); background: none; font-size: 15px; font-weight: 500; transition: background .25s, color .25s, transform .15s; }
.moreb:hover { background: var(--ink); color: #fff; }
.moreb:active { transform: scale(.97); }

/* selling */
.sell { display: grid; grid-template-columns: 1fr 1.25fr; margin-top: 60px; border-radius: 28px; background: #111113; overflow: hidden; }
.ctl { padding: clamp(24px, 3.4vw, 44px); display: flex; flex-direction: column; justify-content: center; gap: 44px; border-right: 1px solid rgba(255, 255, 255, .08); }
.ctl label { display: block; }
.sell span, .sell dt { font-size: 15px; color: rgba(255, 255, 255, .58); }
.ctl b { display: block; font-size: clamp(24px, 2.4vw, 30px); letter-spacing: -.035em; line-height: 1.2; margin: 2px 0 16px; font-variant-numeric: tabular-nums; min-height: 1.2em; }
input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 28px; margin: 0; background: none; cursor: grab; --v: 50%; }
input[type=range]:active { cursor: grabbing; }
input[type=range]::-webkit-slider-runnable-track { height: 6px; border-radius: 9px; background: linear-gradient(#fff, #fff) 0 / var(--v) 100% no-repeat, rgba(255, 255, 255, .16); }
input[type=range]::-moz-range-track { height: 6px; border-radius: 9px; background: linear-gradient(#fff, #fff) 0 / var(--v) 100% no-repeat, rgba(255, 255, 255, .16); }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; margin-top: -10px; border-radius: 50%; background: #fff; box-shadow: 0 2px 12px rgba(0, 0, 0, .5); transition: transform .2s var(--ease); }
input[type=range]::-moz-range-thumb { width: 26px; height: 26px; border: 0; border-radius: 50%; background: #fff; }
input[type=range]:active::-webkit-slider-thumb { transform: scale(1.12); }
.res { padding: clamp(24px, 3.4vw, 44px); }
.ba { display: grid; grid-template-columns: 1fr auto 1fr; align-items: end; gap: 18px; }
.ba > svg { width: 40px; margin-bottom: 28px; color: rgba(255, 255, 255, .4); }
.ba div:last-child { text-align: right; }
.ba b { display: block; font-size: clamp(42px, 5.4vw, 76px); line-height: 1.05; font-weight: 700; letter-spacing: -.05em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.ba div:first-child b { color: rgba(255, 255, 255, .42); }
.bar { height: 10px; border-radius: 99px; margin: 26px 0 30px; background: #ff453a; overflow: hidden; }
.bar i { display: block; height: 100%; background: #fff; transform-origin: left; }
.res dl { margin: 0; }
.res dl div { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; padding: 13px 0; border-top: 1px solid rgba(255, 255, 255, .09); }
.res dd { margin: 0; font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; }
.notes { display: grid; grid-template-columns: 1fr 1.25fr; margin-top: 26px; font-size: 17px; line-height: 1.5; color: rgba(255, 255, 255, .58); }
.notes p { margin: 0; padding: 0 clamp(24px, 3.4vw, 44px); }
.notes b { color: #fff; }

.foot { background: #000; color: #fff; padding: 0 clamp(16px, 4vw, 40px); }
.foot .in { max-width: 1120px; margin: 0 auto; padding: 30px 0 38px; border-top: 1px solid rgba(255, 255, 255, .1); display: flex; align-items: center; flex-wrap: wrap; gap: 16px; }
.foot .act { gap: 18px; font-size: 14px; }

@media (max-width: 860px) {
  .tn { padding: 0 16px; }
  .tnav { display: none; }
  .tn .ca .v { display: none; }
  .sell, .notes { grid-template-columns: 1fr; }
  .ctl { border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, .08); gap: 30px; }
  .notes { gap: 16px; }
  .notes p { padding: 0 4px; }
  .chart { border-radius: 22px; margin-left: -4px; margin-right: -4px; }
  .toggle button { padding: 0 11px; font-size: 13.5px; }
  .ladder { margin-top: 52px; }
  .count > span { max-width: 300px; margin-left: auto; margin-right: auto; }
}
@media (max-width: 420px) {
  .toggle button { padding: 0 9px; font-size: 13px; }
  .ba { gap: 10px; }
  .ba > svg { width: 26px; margin-bottom: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .ti, .up { opacity: 1; transform: none; filter: none; transition: none; }
  .lrow.new, .cue { animation: none; }
}
