@font-face { font-family: "Geist"; font-weight: 300; font-display: swap; src: url(/fonts/geist-sans-latin-300-normal.woff2) format("woff2"); }
@font-face { font-family: "Geist"; font-weight: 400; font-display: swap; src: url(/fonts/geist-sans-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Geist"; font-weight: 500; font-display: swap; src: url(/fonts/geist-sans-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: "Geist Mono"; font-weight: 400; font-display: swap; src: url(/fonts/geist-mono-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Geist Mono"; font-weight: 500; font-display: swap; src: url(/fonts/geist-mono-latin-500-normal.woff2) format("woff2"); }

:root {
  --ink: #f4f6f9; --mute: #7d8796; --faint: #2a313c; --accent: #5cb8ff;
  --ease: cubic-bezier(.2, .7, .1, 1);
}
* { box-sizing: border-box; margin: 0; }
html, body { height: 100%; }
body {
  color: var(--ink); background: #000;
  font: 400 15px/1.5 "Geist", -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  display: grid; min-height: 100svh; overflow: hidden;
}
a { color: inherit; text-decoration: none; }
.meta {
  position: relative; z-index: 2; display: flex; justify-content: space-between;
  padding: 28px 36px; font: 400 11px/1 "Geist Mono", monospace; letter-spacing: .14em;
  text-transform: uppercase; color: var(--mute);
}
main { position: relative; z-index: 2; display: grid; place-items: center; padding: 0 24px; }
.stage { width: min(100%, 520px); display: grid; justify-items: center; text-align: center; }

/* entrance */
.in { opacity: 0; transform: translateY(14px); animation: in 1.1s var(--ease) forwards; }
.d1 { animation-delay: .15s } .d2 { animation-delay: .3s } .d3 { animation-delay: .45s } .d4 { animation-delay: .6s }
@keyframes in { to { opacity: 1; transform: none; } }

/* code slots */
form { position: relative; margin-top: 8px; }
#code { position: absolute; inset: 0; opacity: 0; width: 100%; font-size: 16px; z-index: 3; cursor: text; }
.slots { display: flex; align-items: center; gap: 10px; cursor: text; }
.slot { display: grid; place-items: center; font: 500 22px/1 "Geist Mono", monospace; position: relative; transition: all .25s var(--ease); }
.slot.active::after { content: ""; position: absolute; width: 1.5px; height: 40%; background: var(--accent); animation: blink 1s steps(1) infinite; }
.slot.filled.active::after { display: none; }
@keyframes blink { 50% { opacity: 0; } }
.dash { width: 10px; height: 1px; background: var(--faint); margin: 0 4px; }
.hint { margin-top: 22px; font: 400 11px/1 "Geist Mono", monospace; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); min-height: 11px; }
#err { color: #ff8f8f; }
body.error .slots { animation: shake .45s var(--ease); }
@keyframes shake { 20%, 60% { transform: translateX(-7px); } 40%, 80% { transform: translateX(7px); } }
body.busy .slot.filled { opacity: .45; }
body.ok .slot { color: var(--accent); }

/* views */
[data-view] .v-login, [data-view] .v-dl { transition: opacity .6s var(--ease), transform .6s var(--ease); }
body:not([data-view]) .v-login, body:not([data-view]) .v-dl { visibility: hidden; }
body[data-view="login"] .v-dl, body[data-view="downloads"] .v-login { display: none; }
body[data-view="downloads"] .v-dl { animation: in .9s var(--ease) both; }

.greet { color: var(--mute); margin-bottom: 26px; }
#primary { display: inline-flex; flex-direction: column; align-items: center; gap: 6px; padding: 18px 34px; border-radius: 999px; transition: all .3s var(--ease); }
.p-label { font-weight: 500; font-size: 15px; }
.p-meta { font: 400 11px/1 "Geist Mono", monospace; letter-spacing: .1em; text-transform: uppercase; opacity: .65; }
#others { display: flex; gap: 22px; justify-content: center; margin-top: 26px; font-size: 13px; color: var(--mute); }
#others a:hover, #out:hover { color: var(--ink); }
#out { display: inline-block; margin-top: 40px; font: 400 11px/1 "Geist Mono", monospace; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }

@media (max-width: 560px) {
  .meta { padding: 20px; }
  .slots { gap: 6px; }
}

/* B — Non finito: the mark is the hero; one dot is still being made. */
body { background: #05070b; }
.bg { position: fixed; inset: 0; z-index: 0; }
.halo { position: absolute; left: 50%; top: 38%; width: 900px; height: 900px; transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, rgba(92,184,255,.13), rgba(29,92,154,.05) 45%, transparent 70%); animation: breathe 8s ease-in-out infinite; }
@keyframes breathe { 50% { opacity: .65; transform: translate(-50%, -50%) scale(1.06); } }

.mark { width: 132px; height: 132px; margin-bottom: 44px; overflow: visible; }
.mark circle { filter: drop-shadow(0 0 6px rgba(92,184,255,.35)); animation: rise 1.2s var(--ease) both; transform-box: fill-box; transform-origin: center; }
.mark .w { fill: #e9eef5; }
.mark .b { fill: var(--accent); }
.mark circle:nth-child(1) { animation-delay: .1s } .mark circle:nth-child(2) { animation-delay: .18s } .mark circle:nth-child(3) { animation-delay: .26s }
.mark circle:nth-child(4) { animation-delay: .34s } .mark circle:nth-child(5) { animation-delay: .42s } .mark circle:nth-child(6) { animation-delay: .5s }
.mark circle:nth-child(7) { animation-delay: .58s } .mark circle:nth-child(8) { animation-delay: .66s } .mark circle:nth-child(9) { animation-delay: .74s }
@keyframes rise { from { opacity: 0; transform: translateY(6px) scale(.6); } to { opacity: 1; } }

.word { font: 500 clamp(44px, 7vw, 64px)/1 "Geist", sans-serif; letter-spacing: -.045em; }
.line { margin: 16px 0 52px; color: var(--mute); font-size: 15px; }

.slots { gap: 8px; }
.slot { width: 44px; height: 56px; border-radius: 12px; background: rgba(255,255,255,.025); border: 1px solid rgba(255,255,255,.08); font-size: 21px; }
.slot.filled { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.18); }
.slot.active { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(92,184,255,.12); }
body.ok .slot { border-color: var(--accent); background: rgba(92,184,255,.1); }

#primary { background: var(--accent); color: #031220; box-shadow: 0 8px 40px rgba(92,184,255,.25); }
#primary:hover { transform: translateY(-1px); box-shadow: 0 12px 50px rgba(92,184,255,.38); }
.greet { font-size: 17px; }
body.error .hint-default { display: none; }
@media (max-width: 560px) { .slot { width: 34px; height: 48px; } .mark { width: 104px; height: 104px; } }


/* Downloads view: one action, nothing else competing. */
body[data-view="downloads"] .line { opacity: 0; height: 0; margin: 0 0 44px; overflow: hidden; }
#primary { flex-direction: row; padding: 16px 40px; }
.p-label { font-size: 15px; letter-spacing: -.005em; }
.sub { margin-top: 18px; font: 400 11px/1 "Geist Mono", monospace; letter-spacing: .12em; text-transform: uppercase; color: var(--mute); }
#more { background: none; border: 0; padding: 0; font: inherit; letter-spacing: inherit; text-transform: inherit; color: var(--mute); cursor: pointer; }
#more:hover, #more.open { color: var(--ink); }
#others { margin-top: 18px; display: flex; flex-direction: column; gap: 10px; font-size: 13px; }
#others[hidden] { display: none; }
#out { position: fixed; left: 0; right: 0; bottom: 32px; width: max-content; margin: 0 auto; opacity: .55; z-index: 3; }
#out:hover { opacity: 1; }
body[data-view="login"] #out { display: none; }
