:root {
  --ink: #01040e;
  --blue: #2f68f5;
  --mute: #b2b3b6;
  --dim: #828386;
  --hair: rgba(255, 255, 255, 0.08);
  --glass-shadow: rgba(255, 255, 255, 0.4) 1px 1px 0.5px -0.5px inset, rgba(255, 255, 255, 0.28) -1px -1px 0.5px -0.5px inset, rgba(255, 255, 255, 0.024) -20px -5px 24px 0px inset;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--ink); color: #fff; }
body { font: 16px/24px Satoshi, ui-sans-serif, system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }

.hero { position: relative; display: flex; min-height: 100svh; align-items: center; justify-content: center; overflow: hidden; }
.fluid { pointer-events: none; position: absolute; inset: 0; overflow: hidden; background: radial-gradient(120% 90% at 50% 40%, #1d3c8f 0%, #13296b 40%, #0b1a4d 75%, #071237 100%); }
.fluid canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.center { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 0 20px; width: 100%; max-width: 100%; min-width: 0; }

.lockup { display: block; height: 64px; width: auto; }
.lockup.small { height: 72px; }
.logo { display: flex; align-items: center; gap: 14px; }
.logo .sign { height: 64px; width: auto; }
.logo .word { font-weight: 500; font-size: 58px; letter-spacing: -2.2px; line-height: 1; }
.logo.small .sign { height: 72px; }
.logo.small .word { font-size: 60px; }

h1 { margin: 32px 0 0; font-size: 20px; line-height: 28px; font-weight: 400; color: rgba(255, 255, 255, 0.7); }

.numwrap { position: relative; margin-top: 32px; }
.num { all: unset; cursor: default; display: block; padding-bottom: 6px; border-bottom: 2px dotted rgba(255, 255, 255, 0.3); transition: border-color 0.15s cubic-bezier(0.2, 0, 0, 1); }
.num:hover, .num:focus-visible { border-bottom-color: rgba(255, 255, 255, 0.6); }
.flow { --h: 1.16em; display: inline-flex; align-items: flex-start; font-weight: 500; font-size: 72px; line-height: var(--h); letter-spacing: -1.8px; font-variant-numeric: tabular-nums; }
.flow { transition: opacity 0.4s; }
.flow.wait { opacity: 0; }
.flow .ch { display: block; height: var(--h); }
.flow .dg { display: block; height: var(--h); overflow: hidden; }
.flow .dg .col { display: flex; flex-direction: column; transition: transform 0.9s cubic-bezier(0.2, 0.8, 0.2, 1); }
.flow .dg .col span { display: block; height: var(--h); line-height: var(--h); }

.tip { position: absolute; left: 50%; top: calc(100% + 10px); transform: translate(-50%, 4px); width: 300px; padding: 12px 14px; border-radius: 12px; background: rgba(1, 4, 14, 0.94); border: 1px solid rgba(255, 255, 255, 0.1); box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45); font-size: 12px; line-height: 18px; text-align: left; opacity: 0; pointer-events: none; transition: opacity 0.15s, transform 0.15s; z-index: 4; }
.numwrap:hover .tip, .num:focus-visible + .tip { opacity: 1; transform: translate(-50%, 0); }
.tip-head, .row { display: flex; justify-content: space-between; gap: 12px; }
.tip-head { color: var(--dim); margin-bottom: 6px; }
.row { padding: 2px 0; }
.row span:first-child { color: #d9dade; }
.row span:last-child { font-variant-numeric: tabular-nums; }
.row.hit span { color: var(--blue); }
.tip-foot { color: var(--dim); margin-top: 6px; }

.actions { display: flex; gap: 12px; margin-top: 32px; flex-wrap: wrap; justify-content: center; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 52px; padding: 0 24px 0 20px; border-radius: 999px; font-size: 14px; font-weight: 700; line-height: 20px; box-shadow: var(--glass-shadow); transition: color 0.15s cubic-bezier(0.2, 0, 0, 1), background-color 0.15s cubic-bezier(0.2, 0, 0, 1), scale 0.15s cubic-bezier(0.2, 0, 0, 1); }
.btn:active { scale: 0.97; }
.btn.primary { background: var(--blue); }
.btn.primary:hover { background: #4277f7; }
.btn.glass { background: rgba(255, 255, 255, 0.05); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.btn.glass:hover { background: rgba(255, 255, 255, 0.1); }
.corner { position: absolute; top: 24px; right: 32px; z-index: 3; padding: 0 20px 0 24px; flex-direction: row; }

.gutter { max-width: 1072px; margin: 0 auto; padding: 0 32px; }
.foot { margin-top: 12px; display: flex; flex-direction: column; gap: 32px; border-top: 1px solid var(--hair); padding: 72px 0 20px; min-height: 640px; }
.foot-top { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.brandcol p { margin: 24px 0 24px; }
.cols { display: grid; grid-template-columns: 1fr; gap: 40px; }
.cols h3 { margin: 0 0 24px; font-size: 18px; line-height: 28px; font-weight: 700; }
.links { display: grid; grid-template-columns: repeat(3, auto); gap: 15px 24px; justify-content: start; padding-bottom: 32px; border-bottom: 1px solid var(--hair); }
.links a { font-size: 14px; line-height: 17px; color: var(--mute); transition: color 0.15s; }
.links a:hover { color: #fff; }
.legal { margin-top: auto; display: flex; gap: 24px; font-size: 14px; color: var(--dim); }

@media (max-width: 640px) {
  .lockup { height: 46px; }
  .lockup.small { height: 52px; }
  .actions { gap: 10px; }
  .actions .btn { padding: 0 18px 0 16px; }
  .logo .sign { height: 48px; }
  .logo .word { font-size: 42px; letter-spacing: -1.6px; }
  h1 { font-size: 18px; margin-top: 24px; }
  .flow { font-size: 48px; line-height: 48px; letter-spacing: -1.2px; }
  .corner { top: 16px; right: 16px; height: 44px; }
  .actions .btn { height: 48px; }
  .gutter { padding: 0 20px; }
  .foot { padding-top: 48px; min-height: 0; }
  .foot-top { grid-template-columns: 1fr; }
  .logo.small .sign { height: 56px; }
  .logo.small .word { font-size: 44px; }
  .links { grid-template-columns: repeat(2, auto); }
  .legal { flex-direction: column; gap: 6px; padding-top: 24px; }
}
@media (max-width: 380px) { .flow { font-size: 40px; line-height: 40px; } }

.ca { display: inline-flex; align-items: center; gap: 10px; margin-top: 28px; max-width: 100%; padding: 6px 6px 6px 14px; border-radius: 999px; background: rgba(255, 255, 255, 0.05); box-shadow: var(--glass-shadow); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); font-size: 13px; }
.ca-tag { font-weight: 700; white-space: nowrap; }
.ca-addr { font: 500 13px Satoshi, sans-serif; color: rgba(255, 255, 255, 0.75); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.ca-copy { all: unset; cursor: pointer; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 999px; color: #fff; transition: background-color 0.15s; }
.ca-copy:hover { background: rgba(255, 255, 255, 0.1); }
.ca-copy.done { color: #8fb0ff; }
.ca-link { padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, 0.08); font-weight: 700; font-size: 12px; white-space: nowrap; }
.ca-link:hover { background: rgba(255, 255, 255, 0.14); }
.ca.small { margin: 18px 0 0; }
@media (max-width: 640px) { .ca { margin-top: 22px; } .ca-addr { max-width: 150px; } }
.foot-top > * { min-width: 0; }
.ca.small { display: flex; width: fit-content; max-width: 100%; }
@media (max-width: 640px) { .ca.small .ca-addr { max-width: none; flex: 1; } }
