:root {
  --bg: oklch(.975 .01 240); --card: #fff; --fg: oklch(.29 .08 251);
  --primary: oklch(.38 .13 253); --accent: oklch(.56 .23 25);
  --muted: oklch(.52 .032 248); --border: oklch(.9 .019 241); --success: oklch(.5 .12 160);
}
*, ::before, ::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body { overflow-x: clip; touch-action: pan-x pan-y; }
body { min-height: 100vh; min-height: 100dvh; display: flex; align-items: center; justify-content: center; padding: 24px 16px; font-family: 'Cairo', sans-serif; color: var(--fg); background: radial-gradient(circle at 85% 10%, #fff 0, transparent 40%), radial-gradient(circle at 10% 90%, #fff 0, transparent 35%), var(--bg); }
.card { width: min(420px, 100%); background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 32px 24px; box-shadow: 0 10px 40px oklch(.35 .08 250 / .08); text-align: center; animation: up .7s ease both; }
.logo { width: 110px; height: 110px; object-fit: contain; margin: 0 auto 8px; display: block; animation: pop .6s cubic-bezier(.34,1.56,.64,1) .15s both; }
h1 { font-size: 30px; font-weight: 900; line-height: 1.5; }
h1 span { color: var(--accent); }
form { margin-top: 22px; display: grid; gap: 14px; text-align: right; }
label { display: grid; gap: 6px; font-size: 13px; font-weight: 700; }
input { width: 100%; height: 52px; border: 1px solid var(--border); border-radius: 8px; background: oklch(.97 .008 240); padding: 0 14px; font: inherit; font-size: 16px; color: inherit; outline: none; transition: border-color .2s, background .2s; }
input:focus { border-color: var(--primary); background: #fff; }
input.invalid { border-color: var(--accent); }
button { height: 52px; border: 0; border-radius: 8px; background: var(--accent); color: #fff; font: inherit; font-size: 16px; font-weight: 800; cursor: pointer; transition: transform .2s, opacity .2s; }
button:hover { transform: translateY(-2px); }
button:disabled { opacity: .6; pointer-events: none; }
.error { color: var(--accent); font-size: 13px; min-height: 1em; }
.error:empty { display: none; }
.hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); opacity: 0; pointer-events: none; }
.check { width: 84px; height: 84px; margin: 4px auto 14px; border-radius: 50%; background: color-mix(in oklch, var(--success) 12%, transparent); display: flex; align-items: center; justify-content: center; animation: pop .6s cubic-bezier(.34,1.56,.64,1) .2s both; }
.check svg { width: 46px; height: 46px; color: var(--success); }
.check circle { stroke-dasharray: 64; stroke-dashoffset: 64; animation: draw .7s ease .45s forwards; }
.check path { stroke-dasharray: 12; stroke-dashoffset: 12; animation: draw .4s ease 1s forwards; }
.thanks p { font-size: 15px; color: var(--muted); margin-top: 6px; }
.back { display: inline-block; margin-top: 22px; font-size: 14px; font-weight: 700; color: var(--primary); text-decoration: none; }
@keyframes up { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes pop { from { opacity: 0; transform: scale(.5); } to { opacity: 1; transform: scale(1); } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } .check circle, .check path { stroke-dashoffset: 0; } }
