:root{
  --ink:#04060A; --yellow:#F8F088; --blue:#3FA9F5;
  --line:rgba(255,255,255,.10); --line-2:rgba(255,255,255,.18);
  --head:'Outfit',-apple-system,'Segoe UI',sans-serif;
  --ui:'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;
}
*{ box-sizing:border-box; }
html,body{ margin:0; padding:0; min-height:100%; }
body{ background:var(--ink); color:#EDF1F6; font-family:var(--ui); font-size:15px;
      line-height:1.55; -webkit-font-smoothing:antialiased; display:grid;
      place-items:center; min-height:100svh; padding:28px 20px; }
button{ font:inherit; color:inherit; background:none; border:0; cursor:pointer; }
[hidden]{ display:none !important; }

.bg{ position:fixed; inset:0; z-index:-1; overflow:hidden;
  background:radial-gradient(120% 90% at 50% -20%,#0B1F36 0%,#06101C 45%,#04060A 100%); }
.bg i{ position:absolute; display:block; border-radius:50%; filter:blur(100px); }
.g1{ width:760px; height:620px; left:-180px; top:-200px;
     background:radial-gradient(circle,rgba(31,90,150,.36),transparent 70%); }
.g2{ width:620px; height:520px; right:-160px; bottom:-180px;
     background:radial-gradient(circle,rgba(248,240,136,.12),transparent 70%); }
.grain{ inset:0; width:100%; height:100%; border-radius:0; filter:none; opacity:.04;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E"); }

.shell{ width:100%; max-width:420px; text-align:center; }
.mark{ width:66px; height:66px; object-fit:contain; margin:0 auto 6px;
       filter:drop-shadow(0 10px 30px rgba(248,240,136,.22)); }
h1{ font-family:var(--head); font-weight:700; font-size:clamp(30px,6vw,40px);
    letter-spacing:-.03em; line-height:1.1; margin:0 0 10px; }
h1 em{ font-style:normal;
  background:linear-gradient(100deg,#F8F088 10%,#8FD3FF 90%);
  -webkit-background-clip:text; background-clip:text; color:transparent; }
.sub{ color:rgba(255,255,255,.6); margin:0 0 30px; font-size:14.5px; }

.card{ text-align:left; padding:26px; border-radius:20px;
  border:1px solid rgba(120,175,230,.22);
  background:linear-gradient(165deg,rgba(22,52,86,.44),rgba(7,15,26,.72));
  box-shadow:0 30px 70px -32px rgba(0,0,0,.9); }
.pane{ display:grid; gap:14px; }
label{ display:grid; gap:7px; font-size:10.5px; font-weight:700; letter-spacing:.16em;
       text-transform:uppercase; color:rgba(255,255,255,.62); }
input{ width:100%; padding:13px 15px; border-radius:12px; font:inherit; font-size:15px;
  letter-spacing:0; text-transform:none; color:#fff; outline:none;
  border:1px solid var(--line); background:rgba(255,255,255,.04); transition:border-color .16s; }
input::placeholder{ color:rgba(255,255,255,.28); }
input:focus{ border-color:rgba(248,240,136,.55); background:rgba(255,255,255,.06); }

.go{ margin-top:6px; padding:14px 22px; border-radius:12px; font-weight:700; font-size:12.5px;
  letter-spacing:.12em; text-transform:uppercase; color:#0A0C10;
  background:linear-gradient(120deg,#F8F088,#E4D96B);
  box-shadow:0 12px 34px -14px rgba(248,240,136,.9);
  display:flex; align-items:center; justify-content:center; gap:9px;
  transition:transform .15s, filter .15s; }
.go:hover{ transform:translateY(-1px); filter:brightness(1.07); }
.go[disabled]{ opacity:.55; cursor:default; transform:none; }
.go.ghost{ background:none; color:#fff; border:1px solid var(--line-2); box-shadow:none; }
.go.ghost:hover{ border-color:var(--yellow); color:var(--yellow); }

/* The terms tick at sign-up: plain sentence case, not the uppercase field label. */
label.agree{ display:flex; align-items:flex-start; gap:10px; font-size:13px; font-weight:400;
             letter-spacing:0; text-transform:none; line-height:1.5; color:rgba(255,255,255,.72); }
label.agree input{ width:17px; height:17px; padding:0; margin:2px 0 0; flex:0 0 auto; accent-color:var(--yellow); }
label.agree a{ color:var(--yellow); text-decoration:underline; }
.msg{ margin:2px 0 0; font-size:13px; color:#FF9C9C; }
.msg.ok{ color:#7EE0A8; }
.swap{ margin:4px 0 0; font-size:13px; color:rgba(255,255,255,.55); text-align:center; }
.swap button{ color:var(--yellow); font-weight:600; }
.swap button:hover{ text-decoration:underline; }

.done{ text-align:center; gap:10px; }
.tick{ width:52px; height:52px; margin:4px auto 6px; border-radius:50%; display:grid;
  place-items:center; font-size:22px; color:#0A0C10;
  background:linear-gradient(140deg,#F8F088,#D9CE5F); }
.done h2{ font-family:var(--head); font-weight:600; font-size:21px; margin:0; }
.done p{ margin:0 0 8px; color:rgba(255,255,255,.7); font-size:14px; }

.foot{ margin:26px 0 0; font-size:12px; color:rgba(255,255,255,.34); }
@media (max-width:480px){ .card{ padding:22px 18px; } }
