*{box-sizing:border-box}
body{margin:0;color:#f3e9df;background:#070b14;font-family:system-ui,-apple-system,'Segoe UI',Roboto,sans-serif;font-size:19px;line-height:1.6;min-height:100svh;display:flex;flex-direction:column}
a{color:inherit}
button,input{font:inherit}
button{cursor:pointer}
button,a,input{-webkit-tap-highlight-color:transparent}
header{background:#04070d;border-bottom:1px solid #1d2a40;padding:16px 6%;display:flex;justify-content:center}
.brand{font-family:Georgia,serif;font-size:24px;letter-spacing:.04em;color:#f3e3c8}
main{flex:1;display:grid;place-items:center;padding:44px 20px;background:radial-gradient(ellipse at 50% 18%,#1a2740aa,transparent 60%),#070b14}
.card{max-width:560px;width:100%;padding:40px 34px;text-align:center;background:#05080fd9;border:1px solid #2a3a57;border-top:3px solid #e8943a}
.eyebrow{font-size:13px;letter-spacing:.16em;text-transform:uppercase;color:#e8943a;margin:0 0 14px}
h1{font-family:Georgia,serif;font-weight:400;font-size:clamp(34px,7vw,46px);line-height:1.15;margin:0 0 10px;color:#f7efe2}
.ornament{color:#e8943a;font-size:18px;margin:14px 0}
.step-label{font-size:15px;letter-spacing:.08em;text-transform:uppercase;color:#cdd9ea;margin:22px 0 12px}
.lang-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;margin-bottom:26px}
.lang-grid button{background:#101a2b;border:1px solid #2a3a57;color:#e8eef7;padding:12px 6px;font-size:15px;line-height:1.3;border-radius:6px}
.lang-grid button[aria-selected="true"]{background:#e8943a;color:#141015;border-color:#e8943a;font-weight:700}
form{margin-top:6px}
label{display:block;text-align:left;font-size:15px;color:#cdd9ea;margin:16px 0 7px}
input[type=text],input[type=number]{background:#fff;color:#201b23;width:100%;height:56px;border:2px solid #b5a4b6;border-radius:4px;padding:10px 14px;font-size:18px}
.field-error{color:#ffc9c9;font-size:14px;margin:8px 0 0;text-align:left}
.stepper{display:flex;gap:8px;align-items:stretch}
.stepper button{width:58px;background:#101a2b;border:1px solid #2a3a57;color:#e8943a;font-size:26px;border-radius:4px}
.stepper input{text-align:center}
.pill{display:flex;align-items:center;justify-content:center;gap:12px;width:100%;min-height:62px;border-radius:48px;border:3px solid #070b14;background:#fff;color:#141015;text-decoration:none;text-transform:uppercase;letter-spacing:.1em;font-weight:700;font-size:17px;padding:15px 24px;margin:24px 0 0;box-shadow:0 2px 0 #070b14}
.pill:hover{background:#ffe9cc}
.pill.share{background:#e8943a;border-color:#070b14}
.pill.share:hover{background:#f5a95c}
.pill.start{background:#fff}
.bar-track{height:26px;background:#101a2b;border:1px solid #2a3a57;border-radius:20px;overflow:hidden;margin:34px 0 6px}
.bar-fill{height:100%;width:0%;background:linear-gradient(90deg,#c9792a,#e8943a,#ffc57a);border-radius:20px;box-shadow:0 0 18px #e8943a88;transition:width .12s linear}
.bar-pct{font-size:30px;font-weight:700;color:#e8943a;margin:12px 0 0;font-variant-numeric:tabular-nums}
.loading-title{font-size:clamp(26px,6vw,34px);margin-top:12px}
.check{width:74px;height:74px;margin:4px auto 18px;border-radius:50%;background:#e8943a;color:#141015;font-size:44px;font-weight:700;display:grid;place-items:center;line-height:1}
.granted-line{font-size:21px;color:#f7efe2;margin:6px 0 0}
.share-prompt{font-size:17px;color:#cdd9ea;margin:20px 0 12px}
.link-box{width:100%;background:#101a2b;border:1px dashed #e8943a;color:#ffd9a8;padding:14px 12px;border-radius:6px;font-size:15px;overflow-wrap:anywhere}
.copied{color:#9fe6b0;font-size:14px;margin:10px 0 0}
footer{background:#04070d;color:#b6c4da;text-align:center;font-size:13px;padding:20px}
[dir=rtl] label{text-align:right}
[dir=rtl] .field-error{text-align:right}
@media(max-width:480px){
  body{font-size:18px}
  .card{padding:30px 20px}
  .lang-grid{grid-template-columns:repeat(2,1fr)}
  .pill{font-size:15px}
}
@media(prefers-reduced-motion:reduce){.bar-fill{transition:none}}
