:root {
  --ink: #ecf3f7; --muted: #a0b2c0;
  --canvas: #101921; --card: #16212b; --line: #2e3d4b;
  --font: 'Figtree', system-ui, -apple-system, sans-serif;
}
* { box-sizing: border-box; }
html, body { height: 100%; margin: 0; }
body {
  font-family: var(--font); color: var(--ink);
  background: radial-gradient(1200px 600px at 50% -10%, #1a2b3a 0%, var(--canvas) 60%);
  display: flex; align-items: center; justify-content: center; padding: 24px;
}
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: 16px;
  padding: 40px; max-width: 420px; width: 100%; text-align: center;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.5);
}
.brand { display: inline-flex; align-items: baseline; gap: 5.5px; margin: 0; font-size: 27px; }
.brand img { height: 0.705em; width: auto; display: block; }
.brand span {
  font-family: 'Archivo', var(--font); font-stretch: 125%; font-weight: 800;
  font-size: 1em; line-height: 1; letter-spacing: -0.09em; text-transform: uppercase; color: var(--ink);
}
.underline {
  width: 72px; height: 3px; border: none; border-radius: 2px; margin: 20px auto 24px;
  background: linear-gradient(90deg, #27bd2a, #3a9fc1);
}
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 26px; border: 0; border-radius: 10px; color: #fff;
  background: linear-gradient(120deg, #178a1a 0%, #13806a 50%, #1c6f96 100%);
  background-size: 160% 160%; background-position: 0% 50%;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), inset 0 -1px 0 rgba(0, 0, 0, 0.18);
  font: inherit; font-weight: 600; font-size: 15px; line-height: 1;
  text-decoration: none; cursor: pointer;
  transition: background-position 0.45s ease, filter 0.2s;
}
.btn:hover { background-position: 100% 50%; }
.btn:active { filter: brightness(0.95); }
.btn .lead { font-weight: 500; opacity: 0.9; }
.btn img { height: 17px; width: auto; display: block; position: relative; top: -1px; }
.note { margin: 0 0 16px; color: var(--muted); font-size: 14px; }
#signing { display: none; flex-direction: column; align-items: center; gap: 18px; }
#signing svg { height: 56px; width: auto; }
#signing .beat { animation: beat 2.6s cubic-bezier(0.4, 0, 0.2, 1) infinite; }
#signing p { margin: 0; color: var(--muted); font-size: 14px; }
@keyframes beat { 0% { stroke-dashoffset: 100; opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } 100% { stroke-dashoffset: -100; opacity: 0; } }
@media (prefers-reduced-motion: reduce) { #signing .beat { animation: none; } }
