.reg-hero { padding-top: clamp(40px, 6vw, 80px); overflow: hidden; }
.reg-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.reg-copy h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); }
.reg-h { font-size: 1.35rem; margin: 36px 0 14px; letter-spacing: -.02em; }
.ticks, .steps, .assure { list-style: none; padding: 0; margin: 0; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; padding: 7px 0; color: var(--ink-2); opacity: 0; transform: translateX(-10px); }
.ticks.go li { animation: tickIn .5s var(--ease) forwards; animation-delay: calc(var(--i) * .22s); }
.ticks svg { flex: none; width: 26px; height: 26px; fill: none; stroke: var(--brand); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; margin-top: 1px; }
.ticks svg circle { fill: color-mix(in srgb, var(--brand) 12%, transparent); stroke: none; }
.ticks svg path { stroke-dasharray: 22; stroke-dashoffset: 22; }
.ticks.go svg path { animation: draw .45s ease forwards; animation-delay: calc(var(--i) * .22s + .2s); }
@keyframes tickIn { to { opacity: 1; transform: none; } }

.steps { position: relative; display: grid; gap: 18px; }
.steps::before { content: ""; position: absolute; left: 17px; top: 18px; bottom: 18px; width: 2px; background: var(--line); }
.steps li { position: relative; display: flex; gap: 16px; align-items: flex-start; }
.steps .num { flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--grad); color: #fff; font-weight: 750; display: grid; place-items: center; position: relative; z-index: 1; }
.steps strong { display: block; color: var(--ink); }
.steps p { margin: 2px 0 0; font-size: .97rem; }
.next { scroll-margin-top: 90px; border-radius: var(--radius); }
.next.flash { animation: flash 2.4s ease; }
@keyframes flash { 0%, 100% { box-shadow: 0 0 0 0 transparent; } 20%, 60% { box-shadow: 0 0 0 10px color-mix(in srgb, var(--brand) 22%, transparent); } }

.reg-side { position: sticky; top: 88px; }
.form-card { padding: clamp(22px, 3vw, 34px); position: relative; overflow: hidden; animation: floaty 7s ease-in-out infinite; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
.form-card:focus-within { animation-play-state: paused; }
.form-title { font-size: 1.6rem; margin-bottom: 4px; }
.form-sub { font-size: .95rem; color: var(--ink-3); margin-bottom: 18px; }
.field { margin-bottom: 14px; }
.field label { display: block; font-weight: 650; font-size: .95rem; margin-bottom: 6px; color: var(--ink); }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: var(--bg); border: 1.5px solid var(--line); border-radius: var(--radius-sm); padding: 12px 14px; transition: border-color .2s, box-shadow .2s; }
.field textarea { resize: vertical; min-height: 84px; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--ink-3); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--brand); outline: none; box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 22%, transparent); }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--bad); }
.err { color: var(--bad); font-size: .9rem; margin: 5px 0 0; min-height: 0; font-weight: 550; }
.err:empty { display: none; }
:root[data-theme="dark"] .err { color: #fca5a5; } :root[data-theme="dark"] .field.invalid :is(input, select, textarea) { border-color: #fca5a5; }
.err.general { background: color-mix(in srgb, var(--bad) 10%, transparent); border-radius: var(--radius-sm); padding: 10px 14px; margin: 0 0 14px; }
.check { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); margin-bottom: 16px; cursor: pointer; font-weight: 600; transition: border-color .2s, background .2s; }
.check input { width: 22px; height: 22px; accent-color: var(--brand); flex: none; margin: 0; }
.check:hover { border-color: var(--brand); }
.check.flash { animation: flash 2.4s ease; border-color: var(--brand); background: color-mix(in srgb, var(--brand) 8%, transparent); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.submit { width: 100%; font-size: 1.05rem; padding: 15px 24px; }
.submit .spin { display: none; width: 18px; height: 18px; border: 2.5px solid rgba(255,255,255,.4); border-top-color: #fff; border-radius: 50%; animation: spin .7s linear infinite; }
.submit.loading .spin { display: inline-block; }
.submit:disabled { opacity: .75; cursor: not-allowed; transform: none; }
@keyframes spin { to { transform: rotate(360deg); } }
.privacy { font-size: .88rem; color: var(--ink-3); margin: 14px 0 0; text-align: center; }

.success { text-align: center; padding: 18px 0 6px; position: relative; animation: fadeIn .5s ease; }
.success[hidden] { display: none; }
.success h2 { font-size: 1.6rem; }
.success p { max-width: 38ch; margin-inline: auto; }
.big-tick { width: 96px; height: 96px; margin: 0 auto 18px; fill: none; stroke: var(--good); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.big-tick circle { stroke-dasharray: 152; stroke-dashoffset: 152; animation: draw .7s ease forwards; }
.big-tick path { stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw .45s ease .55s forwards; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.burst { position: absolute; left: 50%; top: 60px; width: 0; height: 0; pointer-events: none; }
.burst i { position: absolute; width: 9px; height: 14px; border-radius: 2px; animation: confetti 1.1s cubic-bezier(.15,.7,.3,1) forwards; }
@keyframes confetti { from { transform: translate(0,0) rotate(0); opacity: 1; } to { transform: translate(var(--x), var(--y)) rotate(var(--r)); opacity: 0; } }

.assure { display: flex; flex-wrap: wrap; gap: 10px 18px; margin-top: 22px; justify-content: center; }
.assure li { display: flex; align-items: center; gap: 8px; font-size: .9rem; color: var(--ink-2); font-weight: 550; }
.assure svg { width: 20px; height: 20px; fill: none; stroke: var(--brand); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }

@media (max-width: 900px) {
  .reg-grid { grid-template-columns: 1fr; }
  .reg-side { position: static; order: -1; }
  .reg-copy { order: 2; }
}
@media (max-width: 420px) { .wrap { width: calc(100% - 32px); } .form-card { padding: 20px 16px; } }
@media (prefers-reduced-motion: reduce) {
  .form-card, .next.flash, .check.flash { animation: none; }
  .ticks li { opacity: 1; transform: none; animation: none !important; }
  .ticks svg path, .big-tick circle, .big-tick path { stroke-dashoffset: 0; animation: none !important; }
  .burst { display: none; }
  .submit .spin { animation-duration: 1.6s; }
}
