/* Create account + free download. Tokens, type, .btn keycaps, nav and footer come from /assets/site.css. */

.su-body { background: var(--bg); }
.su-page { position: relative; padding: clamp(28px, 5vw, 64px) 0 clamp(64px, 8vw, 110px); }
.su-page::before {
  content: ''; position: absolute; inset: 0 0 auto; height: 620px; z-index: -1; pointer-events: none;
  background: radial-gradient(520px 300px at 30% 30%, rgba(57, 255, 20, .13), transparent 70%),
              radial-gradient(circle at 1px 1px, #D6D6E6 1.2px, transparent 0) 0 0 / 26px 26px;
  mask-image: radial-gradient(ellipse 70% 80% at 40% 30%, #000 30%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 40% 30%, #000 30%, transparent 78%);
}
.su-wrap { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: clamp(22px, 4vw, 52px); align-items: start; max-width: 1120px; }

/* head */
.su-head { display: grid; gap: 14px; justify-items: start; margin-bottom: 22px; }
.su-h { font-size: clamp(36px, 5vw, 60px); font-weight: 800; letter-spacing: -.05em; line-height: 1; text-wrap: balance; font-variation-settings: 'opsz' 32; }
.su-lead { font-size: clamp(16px, 1.4vw, 18px); line-height: 1.5; color: var(--body); }

/* card */
.su-card { position: relative; display: grid; gap: 14px; scroll-margin-top: 104px; padding: clamp(22px, 3.4vw, 36px); background: #fff; border: 2px solid var(--ink); border-radius: 22px; box-shadow: var(--sh-xl); }
.su-top { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.su-kicker { font-family: var(--mono); font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.su-prog { display: flex; gap: 6px; }
.su-prog i { width: 34px; height: 9px; border: 2px solid var(--ink); border-radius: 99px; background: var(--elevated); transition: background-color .3s var(--ease); }
.su-prog i.on { background: var(--lime-a); }
.su-prog i.now { background: var(--lime); }
.su-card.is-end .su-prog i { background: var(--lime); }
.su-recap { display: flex; flex-wrap: wrap; gap: 6px; }
.su-chip { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding: 4px 10px 4px 9px; cursor: pointer;
  font: 600 12.5px var(--mono); color: var(--ink); background: var(--bg); border: 1.5px solid var(--ink); border-radius: 8px; }
.su-chip::after { content: ' ✎'; color: var(--muted); }
.su-chip:hover { background: var(--lime); }
.su-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }

/* steps */
.su-step { display: none; gap: 12px; }
.su-step.on { display: grid; animation: suIn .38s var(--ease) both; }
@keyframes suIn { from { opacity: 0; transform: translateX(18px); } to { opacity: 1; transform: none; } }
.su-q { display: block; font-size: clamp(24px, 3vw, 32px); font-weight: 800; letter-spacing: -.04em; line-height: 1.08; color: var(--ink); text-wrap: balance; font-variation-settings: 'opsz' 32; }
.su-help { font-size: 15px; line-height: 1.5; color: var(--body); }
.su-field { position: relative; }
.su-field input {
  width: 100%; height: 60px; padding: 0 18px; font: 600 19px var(--font); letter-spacing: -.01em; color: var(--ink);
  background: #fff; border: 2px solid var(--ink); border-radius: 14px; box-shadow: var(--sh-sm); outline: none;
  transition: box-shadow .15s var(--ease), transform .15s var(--ease);
}
.su-field input::placeholder { color: #A5A5C0; font-weight: 500; }
.su-field input:focus { box-shadow: 4px 4px 0 var(--lime-a); transform: translate(-1px, -1px); }
.su-field input[aria-invalid="true"] { box-shadow: 4px 4px 0 var(--red); }
.su-field input.shake { animation: suShake .35s ease; }
@keyframes suShake { 20% { transform: translateX(-6px); } 45% { transform: translateX(5px); } 70% { transform: translateX(-3px); } }
.su-phone input { font-family: var(--mono); letter-spacing: .02em; }
.su-pw input { padding-right: 86px; }
.su-eye { position: absolute; top: 50%; right: 10px; transform: translateY(-50%); height: 38px; padding: 0 12px; cursor: pointer;
  font: 700 13px var(--font); color: var(--ink); background: var(--bg); border: 2px solid var(--ink); border-radius: 10px; }
.su-eye:hover { background: var(--elevated); }
.su-meter { display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; }
.su-meter i { height: 6px; border-radius: 99px; background: var(--elevated); transition: background-color .2s; }
.su-meter i.on.s1 { background: var(--red); }
.su-meter i.on.s2 { background: #FFB020; }
.su-meter i.on.s3, .su-meter i.on.s4 { background: var(--lime-a); }
.su-strength { min-height: 16px; margin-top: -6px; font: 600 12px var(--mono); letter-spacing: .06em; color: var(--muted); }
.su-err { min-height: 18px; margin-top: -4px; font-size: 13.5px; font-weight: 600; line-height: 1.4; color: var(--red); }
.su-err:empty { min-height: 0; margin: 0; }
.su-actions { display: flex; align-items: center; gap: 12px; margin-top: 2px; }
.su-actions .btn { margin-left: auto; }
.su-back { padding: 10px 4px; cursor: pointer; font: 700 14px var(--font); color: var(--muted); background: none; border: 0; }
.su-back:hover { color: var(--ink); }
.su-create.is-busy { opacity: .8; cursor: progress; }
.su-fine { font-size: 12.5px; line-height: 1.5; color: var(--muted); }
.su-fine a { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }

/* end states */
.su-end { justify-items: start; }
.su-ok { display: grid; place-items: center; width: 52px; height: 52px; font: 800 22px var(--mono); color: var(--ink); background: var(--lime); border: 2px solid var(--ink); border-radius: 15px; box-shadow: var(--sh); }
.su-ok svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.su-ok.info { background: var(--elevated); }
.su-confirm { width: 100%; padding: 13px 16px; font-size: 14.5px; line-height: 1.5; color: var(--ink); background: #F1FFE9; border: 2px solid var(--ink); border-radius: 14px; box-shadow: 3px 3px 0 var(--lime-a); }
.su-confirm b { display: block; }
.su-dl { width: 100%; margin-top: 4px; }
.su-dl svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.su-ver { margin-top: -4px; font: 600 11.5px var(--mono); letter-spacing: .05em; color: var(--muted); }
.su-activate { position: relative; overflow: hidden; display: grid; gap: 8px; justify-items: start; width: 100%; margin-top: 6px; padding: 18px 20px; color: var(--panel-text);
  background: radial-gradient(360px 160px at 90% 0%, rgba(57, 255, 20, .2), transparent 70%), var(--panel); border: 2px solid var(--ink); border-radius: 16px; box-shadow: 5px 5px 0 var(--lime-a); }
.su-activate b { font-size: 17px; letter-spacing: -.02em; }
.su-activate p { font-size: 14.5px; line-height: 1.5; color: var(--panel-muted); }
.su-activate .btn { --bsh: var(--panel-text); margin-top: 4px; }
.su-link { font-size: 14.5px; font-weight: 700; color: var(--ink); text-decoration: underline; text-decoration-color: var(--lime-a); text-decoration-thickness: 2px; text-underline-offset: 3px; }

/* aside */
.su-aside { position: sticky; top: 100px; display: grid; gap: 16px; }
.su-how { display: grid; gap: 16px; padding: clamp(22px, 3vw, 30px); color: var(--panel-text);
  background: radial-gradient(420px 220px at 85% 0%, rgba(57, 255, 20, .16), transparent 70%), var(--panel);
  border: 2px solid var(--ink); border-radius: 22px; box-shadow: 6px 6px 0 var(--lime-a); }
.su-how .eyebrow { color: var(--panel-muted); }
.su-flow { counter-reset: flow; display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.su-flow li { counter-increment: flow; display: grid; grid-template-columns: 30px 1fr; column-gap: 12px; row-gap: 2px; }
.su-flow li::before { content: counter(flow); grid-row: span 2; display: grid; place-items: center; width: 28px; height: 28px; font: 700 12px var(--mono);
  color: var(--ink); background: var(--lime); border: 2px solid var(--ink); border-radius: 8px; }
.su-flow b { font-size: 15.5px; letter-spacing: -.02em; }
.su-flow span { font-size: 13.5px; line-height: 1.45; color: var(--panel-muted); }
.su-note { padding-top: 14px; border-top: 1.5px solid var(--panel-line); font-size: 13.5px; line-height: 1.5; color: var(--panel-muted); }
.su-note a { color: var(--lime); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.su-trust { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.su-trust li { display: inline-flex; align-items: center; gap: 7px; padding: 6px 11px; font-size: 13px; font-weight: 650; background: #fff; border: 1.5px solid var(--ink); border-radius: 9px; }
.su-trust li::before { content: ''; width: 7px; height: 7px; border-radius: 2px; background: var(--lime); border: 1.5px solid var(--ink); }

@media (max-width: 900px) {
  .su-wrap { grid-template-columns: 1fr; }
  .su-aside { position: static; }
}
@media (max-width: 760px) {
  .su-head { margin-bottom: 16px; }
  .su-card { border-radius: 18px; box-shadow: var(--sh-lg); }
  .su-prog i { width: 24px; }
  .su-field input { height: 56px; font-size: 18px; }
  .su-actions .btn { flex: 1; }
  .su-how { box-shadow: 4px 4px 0 var(--lime-a); }
}
@media (prefers-reduced-motion: reduce) {
  .su-step.on, .su-field input.shake { animation: none; }
}
