/* MOTION · the gate. One token sheet; Geist + Geist Mono; the logo's gradient is the only colour (#3f77fd → #815ffc → #dc58cd → #fd5c96). */
@font-face { font-family: 'Geist'; src: url(/hx/fonts/geist.woff2) format('woff2'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: 'Geist Mono'; src: url(/hx/fonts/geist-mono.woff2) format('woff2'); font-weight: 100 900; font-display: swap; }
:root {
  --bg: #05050a; --card: #0b0b11; --card2: rgba(255, 255, 255, .035); --field: rgba(255, 255, 255, .04);
  --line: rgba(255, 255, 255, .08); --line2: rgba(255, 255, 255, .14); --line3: rgba(255, 255, 255, .24);
  --ink: #f2f2f6; --ink2: #a6a6b6; --ink3: #6c6c7d;
  --g: linear-gradient(100deg, #3f77fd, #815ffc 50%, #dc58cd 74%, #fd5c96);
  --r: 12px; --sans: 'Geist', system-ui, sans-serif; --mono: 'Geist Mono', ui-monospace, monospace; --ease: cubic-bezier(.2, .7, .2, 1);
}
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; overflow-x: hidden; background: var(--bg); color: var(--ink); font: 400 14px/1.5 var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
#field { position: fixed; inset: 0; width: 100%; height: 100%; display: block; }
.glow { position: fixed; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 26% 40% at 50% 50%, rgba(5, 5, 10, .72), rgba(5, 5, 10, .3) 62%, rgba(5, 5, 10, 0) 100%); }

/* the top: the mark on the left, the coin address and X on the right */
.top { position: fixed; top: 0; left: 0; right: 0; z-index: 3; display: flex; align-items: center; justify-content: space-between; padding: 22px 28px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 650; font-size: 17px; letter-spacing: -.02em; }
.brand img { border-radius: 7px; }
.top-r { display: flex; align-items: center; gap: 8px; }
.xbtn { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 10px; border: 1px solid var(--line2); background: rgba(10, 10, 16, .7); color: var(--ink); transition: border-color .15s, background .15s; }
.xbtn:hover { border-color: var(--line3); background: rgba(20, 20, 28, .8); }
.ca { display: inline-flex; align-items: center; gap: 2px; height: 36px; padding: 3px; border-radius: 10px; border: 1px solid var(--line2); background: rgba(10, 10, 16, .7); }
.ca[hidden] { display: none; }
.ca-addr { height: 28px; display: inline-flex; align-items: center; gap: 8px; padding: 0 10px; border: 0; border-radius: 7px; background: none; color: var(--ink); font: 600 12.5px var(--sans); cursor: pointer; }
.ca-addr b { background: var(--g); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ca-addr span { font: 500 12.5px var(--mono); color: var(--ink2); }
.ca-addr i { font-style: normal; font-size: 11.5px; color: var(--ink3); }
.ca-addr:hover { background: var(--card2); } .ca-addr.done i { color: #4ade80; }
.ca-link { height: 28px; display: inline-flex; align-items: center; padding: 0 9px; border-radius: 7px; font-size: 12px; font-weight: 600; color: var(--ink3); text-decoration: none; }
.ca-link:hover { color: var(--ink); background: var(--card2); }

/* the card */
.stage { position: relative; z-index: 2; min-height: 100vh; display: grid; place-items: center; padding: 96px 20px 120px; }
.card { width: 100%; max-width: 420px; border-radius: 18px; border: 1px solid var(--line2); background: var(--card);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 40px 120px rgba(0, 0, 0, .7), 0 0 0 1px rgba(0, 0, 0, .4);
  animation: rise .8s var(--ease) both; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); filter: blur(4px); } to { opacity: 1; transform: none; filter: none; } }
.card-head { display: flex; align-items: center; gap: 13px; padding: 22px 26px 18px; border-bottom: 1px solid var(--line); }
.tile { border-radius: 11px; display: block; }
.card-head b { display: block; font-size: 19px; font-weight: 650; letter-spacing: -.025em; }
.card-head span { display: block; font-size: 13px; color: var(--ink3); margin-top: 1px; }
.card-body { padding: 24px 26px 22px; }
h1 { margin: 0; font-size: 25px; line-height: 1.15; font-weight: 620; letter-spacing: -.03em; }
.lead { margin: 6px 0 0; color: var(--ink2); font-size: 14px; }
.small { margin: 14px 0 0; color: var(--ink3); font-size: 12.5px; }
.small a { color: var(--ink2); }

.ways { display: grid; gap: 9px; margin-top: 22px; }
.way { position: relative; height: 46px; display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; border-radius: var(--r);
  border: 1px solid var(--line2); background: var(--card2); color: var(--ink); font: 560 14px var(--sans); cursor: pointer; transition: border-color .15s, background .15s, transform .12s; }
.way[hidden] { display: none; }
.way:hover { border-color: var(--line3); background: rgba(255, 255, 255, .06); }
.way:active { transform: translateY(1px); }
.way .ic { display: grid; place-items: center; width: 20px; }
.way em { position: absolute; right: 14px; font: 500 10.5px var(--mono); font-style: normal; letter-spacing: .08em; text-transform: uppercase; color: var(--ink3); }
.way.busy { opacity: .6; pointer-events: none; }
.more { display: flex; justify-content: center; gap: 14px; font-size: 12.5px; color: var(--ink3); }
.more[hidden] { display: none; }
.more button { border: 0; background: none; color: var(--ink2); font: 500 12.5px var(--sans); cursor: pointer; padding: 2px 0; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line3); }
.more button:hover { color: var(--ink); }

.or { display: flex; align-items: center; gap: 12px; margin: 20px 0 16px; color: var(--ink3); font: 500 11px var(--mono); letter-spacing: .14em; }
.or i { flex: 1; height: 1px; background: var(--line); }
label[for=email] { display: block; font: 500 11px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink3); margin-bottom: 8px; }
#email { width: 100%; height: 46px; padding: 0 14px; border-radius: var(--r); border: 1px solid var(--line2); background: var(--field); color: var(--ink); font: 400 15px var(--sans); outline: none; transition: border-color .15s, box-shadow .15s; }
#email::placeholder { color: #5a5a6a; }
#email:focus { border-color: rgba(129, 95, 252, .7); box-shadow: 0 0 0 3px rgba(129, 95, 252, .18); }
.agree { display: flex; gap: 10px; align-items: flex-start; margin: 14px 0 16px; color: var(--ink2); font-size: 13px; line-height: 1.45; cursor: pointer; border-radius: 8px; transition: background .2s; }
.agree input { appearance: none; flex: 0 0 auto; width: 18px; height: 18px; margin: 1px 0 0; border-radius: 5px; border: 1.5px solid var(--line3); background: transparent; display: grid; place-items: center; cursor: pointer; transition: background .15s, border-color .15s; }
.agree input:checked { background: #f2f2f6; border-color: #f2f2f6; }
.agree input:checked::after { content: ''; width: 9px; height: 5px; border: 2px solid #05050a; border-top: 0; border-right: 0; transform: rotate(-45deg) translate(1px, -1px); }
.agree a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line3); }
.agree.need { animation: nudge .45s var(--ease); }
.agree.need input { border-color: #fd5c96; box-shadow: 0 0 0 3px rgba(253, 92, 150, .2); }
@keyframes nudge { 0%, 100% { transform: none; } 25% { transform: translateX(-5px); } 60% { transform: translateX(4px); } }
.primary, .secondary { height: 46px; display: flex; align-items: center; justify-content: center; width: 100%; border-radius: var(--r); font: 620 14.5px var(--sans); cursor: pointer; text-decoration: none; transition: filter .15s, background .15s, transform .12s; }
.primary { border: 0; background: #f2f2f6; color: #08080d; }
.primary:hover { filter: brightness(.94); } .primary:active { transform: translateY(1px); }
.primary.busy { opacity: .6; pointer-events: none; }
.secondary { border: 1px solid var(--line2); background: var(--card2); color: var(--ink); }
.secondary:hover { background: rgba(255, 255, 255, .06); }
.msg { min-height: 18px; margin: 12px 0 0; font-size: 12.5px; color: #fd8fb7; text-align: center; }
.msg:empty { margin: 0; min-height: 0; }

.done { text-align: center; }
.check { width: 48px; height: 48px; margin: 4px auto 16px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: var(--g); box-shadow: 0 10px 30px rgba(129, 95, 252, .35); }
.place { margin: 20px auto 6px; padding: 16px; border-radius: 14px; border: 1px solid var(--line); background: var(--card2); }
.place span { display: block; font: 500 11px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ink3); }
.place b { display: block; margin-top: 4px; font-size: 44px; line-height: 1.1; font-weight: 700; letter-spacing: -.04em; background: var(--g); -webkit-background-clip: text; background-clip: text; color: transparent; }
.done-acts { display: grid; gap: 9px; margin-top: 20px; }

.card-foot { padding: 14px 26px 16px; border-top: 1px solid var(--line); display: grid; gap: 6px; justify-items: center; text-align: center; font-size: 12px; color: var(--ink3); }
.card-foot nav { display: flex; gap: 16px; }
.card-foot nav a { color: var(--ink2); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line2); }

/* the note (bottom right) and the legal line (bottom left) */
.note { position: fixed; right: 30px; bottom: 30px; z-index: 2; width: 340px; padding-top: 14px; border-top: 1px solid var(--line2); font-size: 12.5px; color: var(--ink3); }
.note b { display: block; font: 500 11px var(--mono); letter-spacing: .16em; color: var(--ink2); margin-bottom: 6px; }
.note p { margin: 0 0 10px; line-height: 1.55; }
.note a { color: var(--ink2); text-decoration: none; border-bottom: 1px solid var(--line3); }
.legal { position: fixed; left: 30px; bottom: 30px; z-index: 2; display: flex; gap: 16px; font-size: 12px; color: var(--ink3); }
.legal a { color: var(--ink3); text-decoration: none; } .legal a:hover { color: var(--ink2); }

@media (max-width: 1100px) { .note { display: none; } }
@media (max-width: 640px) {
  .top { padding: 16px 16px; } .brand span { display: none; } .ca-link { display: none; }
  .stage { padding: 80px 14px 70px; } .card-body { padding: 22px 20px 20px; } .card-head { padding: 18px 20px 16px; } .card-foot { padding: 12px 20px 14px; }
  .legal { position: relative; left: auto; bottom: auto; justify-content: center; padding: 0 0 24px; z-index: 2; }
}
@media (prefers-reduced-motion: reduce) { .card { animation: none; } }

/* the legal pages */
.doc { position: relative; z-index: 2; max-width: 720px; margin: 0 auto; padding: 110px 24px 80px; }
.doc h1 { font-size: 34px; margin-bottom: 6px; } .doc .when { color: var(--ink3); font: 500 12px var(--mono); letter-spacing: .08em; }
.doc h2 { font-size: 17px; margin: 30px 0 8px; letter-spacing: -.01em; } .doc p, .doc li { color: var(--ink2); font-size: 14.5px; line-height: 1.65; }
.doc a { color: var(--ink); }
