.submit-page { padding: 26px 0 30px; }
.form-shell, .success { width: min(680px, 100%); margin: 0 auto; padding: clamp(20px, 5vw, 36px); border: 1px solid var(--line); border-radius: 20px; background: var(--card); overflow: clip; }
.form-head { text-align: center; margin: calc(clamp(20px, 5vw, 36px) * -1) calc(clamp(20px, 5vw, 36px) * -1) 24px; padding: 30px 20px 26px; color: #fff; background: radial-gradient(circle at 85% 10%, #58bf8855, transparent 50%), linear-gradient(135deg, #2d7566, #1f5a4d); }
.form-head .kicker { color: #a6ecc7; font-size: 13px; font-weight: 600; }
.form-head h1 { margin: 4px 0; font-size: clamp(26px, 5vw, 34px); line-height: 1.3; }
.form-head p { margin: 0; color: #dcefe6; }
fieldset { margin: 0 0 22px; padding: 0; border: 0; display: grid; gap: 16px; }
legend { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; padding: 0; font-weight: bold; font-size: 16px; }
legend span { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: var(--green-soft); color: var(--green); font-size: 13px; }
.field .note { margin-top: 2px; font-size: 13px; }
.submit-btn { width: 100%; min-height: 54px; font-size: 16px; }
.submit-btn .send-icon { display: inline-flex; }
.submit-btn.loading .send-icon { display: none; }
.progress-text { text-align: center; color: var(--muted); font-size: 13px; margin: 10px 0 0; }
.closed-box { text-align: center; padding: 16px 0 6px; }
.closed-icon { display: inline-grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: var(--danger-soft); color: var(--danger); font-size: 26px; margin-bottom: 8px; }
.closed-box h2 { margin: 0 0 6px; }
.closed-box p { color: var(--muted); margin: 0 0 16px; }

.success { text-align: center; }
.check-ring { width: 84px; height: 84px; margin: 4px auto 12px; }
.check-ring svg { width: 100%; height: 100%; fill: var(--green-soft); stroke: var(--green); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.check-ring circle { stroke-dasharray: 151; stroke-dashoffset: 151; animation: draw .7s ease-out forwards; }
.check-ring path { fill: none; stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw .4s .6s ease-out forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.ticket { display: inline-block; padding: 4px 12px; border-radius: 100px; background: var(--soft); color: var(--muted); font-size: 12px; }
.success h1 { margin: 12px 0 14px; font-size: clamp(24px, 5vw, 32px); line-height: 1.4; color: var(--green); }
.success-lines { display: flex; flex-direction: column; gap: 2px; margin: 0 0 16px; font-size: clamp(16px, 2.4vw, 18px); }
.success-lines.highlight { padding: 12px 14px; border-radius: 12px; background: var(--green-soft); color: var(--green-dark); font-size: 15px; }
.proud { margin: 0 0 20px; font-weight: bold; color: var(--green); font-size: 17px; }
.signature { display: flex; flex-direction: column; gap: 2px; padding-top: 16px; margin-bottom: 20px; border-top: 1px solid var(--line); }
.signature strong { font-size: 16px; }
.signature span { font-size: 13px; color: var(--muted); }
.success-actions { display: flex; flex-direction: column; gap: 8px; align-items: center; }
.success-actions .btn { width: min(100%, 320px); }
.progress-bar { position: sticky; top: 80px; z-index: 5; margin: 0 0 22px; padding: 12px 14px; border-radius: 14px; background: #fffdf8f2; border: 1px solid var(--line); backdrop-filter: blur(8px); box-shadow: 0 8px 20px #3a2f1a12; }
.progress-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; font-size: 13px; color: var(--muted); }
.progress-top strong { color: var(--green); font-size: 14px; }
.progress-track { height: 8px; border-radius: 8px; background: var(--soft); overflow: hidden; }
.progress-track span { display: block; width: 0; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #3fd69a, var(--green)); transition: width .45s cubic-bezier(.2, .8, .2, 1); }
legend span { position: relative; transition: background .3s, color .3s; }
.legend-check { display: none; width: 16px !important; height: 16px !important; }
fieldset.done legend span { font-size: 0; background: var(--green); color: #fff; }
fieldset.done legend span .legend-check { display: block; animation: pop .35s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes pop { from { transform: scale(0); } }
.choices label { gap: 8px; transition: border-color .2s, background .2s, transform .1s; }
.choices label:active { transform: scale(.97); }
.choices .tick { display: none; width: 18px; height: 18px; }
.choices label:has(input:checked) .tick { display: block; animation: pop .3s cubic-bezier(.3, 1.6, .5, 1); }
@media (max-width: 760px) {
  .progress-bar { top: 74px; }
}
