:root {
  font-family:Inter,"Segoe UI","PingFang SC","Microsoft YaHei",system-ui,sans-serif;
  color:#14294f;
  background:#edf4fe;
  font-synthesis:none;
  font-weight:400;
  line-height:1.5;
  color-scheme:light;
}

* {
  box-sizing:border-box;
}

body {
  margin:0;
  min-width:320px;
  min-height:100vh;
  background:radial-gradient(ellipse at 15% 12%,#fff9,transparent 45%),radial-gradient(ellipse at 85% 70%,#c9dfff88,transparent 50%),#edf4fe;
}

body::before,body::after {
  content:"";
  position:fixed;
  z-index:-1;
  pointer-events:none;
  width:100%;
  height:50%;
  border-radius:50%;
  background:#dbeafe80;
  transform:rotate(-25deg);
}

body::before {
  left:-48%;
  bottom:-10%;
}

body::after {
  right:-52%;
  top:15%;
}

button,input {
  font:inherit;
}

button {
  cursor:pointer;
  -webkit-tap-highlight-color:transparent;
}

button:disabled {
  cursor:default;
}

button:focus-visible,input:focus-visible {
  outline:3px solid #144fa9;
  outline-offset:4px;
}

button {
  touch-action:manipulation;
}

svg {
  fill:none;
  stroke:currentColor;
  stroke-width:1.7;
  stroke-linecap:round;
  stroke-linejoin:round;
  flex-shrink:0;
}

.icon-definitions {
  position:absolute;
  width:0;
  height:0;
  overflow:hidden;
}

[hidden] {
  display:none!important;
}

.sr-only {
  position:absolute;
  width:1px;
  height:1px;
  padding:0;
  margin:-1px;
  overflow:hidden;
  clip-path:inset(50%);
  white-space:nowrap;
  border:0;
}

.page-shell {
  width:min(100% - 40px,460px);
  margin:0 auto;
  padding:22px 0 24px;
}

.topbar {
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-bottom:12px;
  color:#62738d;
  font-size:.75rem;
  min-height:48px;
}

.preview-label {
  display:flex;
  align-items:center;
  gap:7px;
  letter-spacing:.04em;
}

.status-dot {
  width:6px;
  height:6px;
  border-radius:50%;
  background:#7492b9;
}

.language-switch {
  display:flex;
  align-items:center;
  gap:2px;
}

.language-switch button {
  border:0;
  background:transparent;
  color:#687991;
  min-width:48px;
  min-height:48px;
  font-size:.8125rem;
}

.language-switch button[aria-pressed=true] {
  color:#075dcb;
  font-weight:700;
}

.language-switch>span {
  color:#bac8da;
}

.registration-card {
  background:white;
  border-radius:24px;
  overflow:hidden;
  box-shadow:0 16px 64px #1f4e9012,0 2px 8px #1f4e9006;
  border:1px solid #fff;
}

.hero {
  position:relative;
  isolation:isolate;
  overflow:hidden;
  padding:28px 24px 40px;
  color:#fff;
  text-align:center;
  background:linear-gradient(120deg,#279bfa 0%,#0876e4 45%,#0855c4 100%);
}

.hero::before {
  content:"";
  position:absolute;
  width:330px;
  height:330px;
  top:-230px;
  left:-85px;
  background:#8ad8ff26;
  border-radius:50%;
  z-index:-1;
}

.hero::after {
  content:"";
  position:absolute;
  width:400px;
  height:170px;
  right:-200px;
  bottom:-50px;
  background:#66baff2e;
  border-radius:50%;
  transform:rotate(-38deg);
  z-index:-1;
}

.hero-glow {
  position:absolute;
  inset:0;
  background:radial-gradient(ellipse at 10% 80%,#6ccaff66,transparent 70%);
  z-index:-1;
}

.brand-row {
  display:flex;
  justify-content:center;
  align-items:center;
  gap:19px;
}

.brand {
  display:flex;
  align-items:center;
  gap:10px;
  font-size:1.4rem;
  font-weight:800;
  letter-spacing:-.055em;
}

.brand img {
  width:33px;
  height:36px;
  filter:drop-shadow(0 2px 3px #024b9c33);
}

.brand-ai {
  color:#bce9ff;
}

.brand-divider {
  height:27px;
  width:1px;
  background:#ffffff70;
}

.scan-icon {
  width:32px;
  height:32px;
  stroke-width:1.8;
}

.eyebrow {
  margin:24px 0 7px;
  font-size:.5625rem;
  letter-spacing:.23em;
  font-weight:600;
  color:#e0f0ff;
}

h1 {
  font-size:1.875rem;
  letter-spacing:.035em;
  line-height:1.3;
  margin:0;
  font-weight:750;
}

.hero-subtitle {
  font-size:.875rem;
  letter-spacing:.05em;
  margin:10px 0 8px;
  color:#eff8ff;
}

.hero-wave {
  position:absolute;
  left:0;
  bottom:-1px;
  width:100%;
  height:30px;
  stroke:none;
}

.form-view {
  padding:20px 32px 26px;
}

.section-heading {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  margin-bottom:23px;
}

.section-heading h2 {
  margin:0;
  font-size:1rem;
  letter-spacing:.025em;
  font-weight:650;
}

.section-heading>span {
  font-size:.6875rem;
  color:#728199;
}

fieldset {
  padding:0;
  margin:0;
  border:0;
  min-width:0;
}

.field {
  margin-bottom:17px;
}

.field label {
  display:block;
  font-size:.8125rem;
  font-weight:650;
  margin-bottom:7px;
  letter-spacing:.03em;
}

.input-wrap {
  position:relative;
  min-width:0;
}

.input-wrap>svg {
  position:absolute;
  top:50%;
  left:15px;
  transform:translateY(-50%);
  width:19px;
  height:19px;
  color:#7a8aa2;
  pointer-events:none;
}

.input-wrap input {
  width:100%;
  height:49px;
  min-width:0;
  padding:12px 12px 12px 44px;
  border:1px solid #899bb6;
  border-radius:9px;
  background:#fcfdff;
  color:#152b50;
  font-size:1rem;
  transition:border-color .15s,box-shadow .15s;
  scroll-margin-block:32px;
}

.input-wrap input::placeholder {
  color:#78869b;
  font-size:.8125rem;
}

.input-wrap input:hover {
  border-color:#5b83b8;
}

.input-wrap input:focus {
  border-color:#1579e6;
  box-shadow:0 0 0 3px #1684ed12;
  outline:2px solid #1678df;
  outline-offset:1px;
}

.input-wrap input[aria-invalid=true] {
  border-color:#c84141;
  background:#fffafa;
}

.field-error {
  font-size:.75rem;
  line-height:1.5;
  color:#b42e37;
  margin:6px 0 0;
}

.code-row {
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:10px;
}

.code-button {
  padding:0 14px;
  min-width:110px;
  min-height:49px;
  border:1px solid #2984ed;
  border-radius:9px;
  background:#f0f7ff;
  color:#0762cf;
  font-size:.8125rem;
  font-weight:600;
  white-space:nowrap;
}

.code-button:hover {
  background:#e3f0ff;
}

.code-button:disabled {
  color:#647893;
  background:#f1f5fa;
  border-color:#c1cede;
}

.code-field {
  margin-bottom:24px;
}

.code-status {
  padding:10px 12px;
  border:1px solid #cfe2fb;
  background:#f3f8ff;
  border-radius:7px;
  font-size:.75rem;
  color:#335e94;
  margin:-10px 0 18px;
}

.primary-button {
  display:flex;
  align-items:center;
  justify-content:center;
  gap:12px;
  min-height:52px;
  width:100%;
  border:0;
  border-radius:10px;
  background:linear-gradient(110deg,#168dff,#0058d2);
  box-shadow:0 5px 14px #0873e326;
  color:#fff;
  font-size:1.0625rem;
  letter-spacing:.06em;
  font-weight:650;
  transition:filter .15s,transform .15s;
}

.primary-button>svg {
  width:18px;
  height:18px;
}

.primary-button:hover {
  filter:brightness(1.06);
  transform:translateY(-1px);
}

.primary-button:active {
  transform:translateY(0);
}

.collection-note {
  display:flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  font-size:.75rem;
  color:#687a94;
  margin:20px 0 0;
}

.collection-note svg {
  width:15px;
  height:15px;
}

.demo-note {
  font-size:.625rem;
  color:#728199;
  text-align:center;
  line-height:1.7;
  margin:9px 0 0;
}

.page-footer {
  display:flex;
  align-items:center;
  justify-content:center;
  gap:12px;
  font-size:.625rem;
  color:#7486a0;
  padding-top:22px;
  letter-spacing:.04em;
}

.page-footer>span:first-child {
  font-weight:650;
}

.footer-divider {
  height:10px;
  width:1px;
  background:#b7c8de;
}

.success-view {
  padding:37px 32px 32px;
  text-align:center;
  min-height:565px;
}

.success-halo {
  width:132px;
  height:132px;
  display:grid;
  place-items:center;
  margin:0 auto 25px;
  border-radius:50%;
  background:#effbf5;
  box-shadow:inset 0 0 0 16px #f5fcf8;
}

.success-check {
  display:grid;
  place-items:center;
  width:82px;
  height:82px;
  border-radius:50%;
  background:linear-gradient(140deg,#53d971,#19b846);
  box-shadow:0 0 0 12px #ddf7e7;
}

.success-check svg {
  width:48px;
  height:48px;
  stroke:white;
  stroke-width:5;
}

.success-kicker {
  font-size:.5625rem;
  letter-spacing:.17em;
  color:#77908a;
  margin:0 0 8px;
}

.success-view h2 {
  font-size:2rem;
  margin:0 0 26px;
  font-weight:750;
  letter-spacing:.04em;
  line-height:1.3;
}

.success-message {
  text-align:left;
  background:#f0faf5;
  border:1px solid #e4f3eb;
  border-radius:14px;
  padding:22px;
  color:#254d41;
  font-size:.9375rem;
  line-height:1.9;
}

.success-message p {
  margin:0;
}

.delivery-note {
  display:flex;
  align-items:center;
  gap:8px;
  border-top:1px solid #d9ece2;
  margin-top:16px;
  padding-top:14px;
  font-size:.75rem;
  color:#527264;
}

.delivery-note svg {
  width:16px;
  height:16px;
}

.success-demo-note {
  font-size:.6875rem;
  color:#758299;
  margin:18px 0 28px;
  line-height:1.7;
}

.done-button {
  width:100%;
  min-height:51px;
  border:1px solid #d0e3fc;
  border-radius:10px;
  background:#e6f1ff;
  color:#085fcc;
  font-size:1.0625rem;
  font-weight:650;
}

.done-button:hover {
  background:#d9eaff;
}

:lang(en) h1 {
  font-size:1.75rem;
  letter-spacing:-.025em;
}

:lang(en) .hero-subtitle {
  letter-spacing:0;
}

:lang(en) .success-view h2 {
  font-size:1.7rem;
  letter-spacing:-.03em;
}

:lang(en) .section-heading>span {
  font-size:.625rem;
}

:lang(en) .code-button {
  min-width:100px;
}

@media(max-width:520px) {
  body {
    background:#fff;
  }
  .page-shell {
    width:100%;
    padding:0 0 max(16px,env(safe-area-inset-bottom));
  }
  .topbar {
    margin:0;
    padding:0 20px;
    background:#f5f9ff;
    min-height:44px;
  }
  .language-switch button {
    min-height:48px;
  }
  .registration-card {
    border:0;
    border-radius:0;
    box-shadow:none;
  }
  .hero {
    padding-top:25px;
    padding-bottom:35px;
  }
  .form-view {
    padding:20px 25px 22px;
  }
  .page-footer {
    padding-top:12px;
  }
  .success-view {
    min-height:560px;
    padding:32px 25px;
  }
  .eyebrow {
    margin-top:23px;
  }
  .section-heading {
    margin-bottom:21px;
  }
}

@media(max-width:360px) {
  .form-view,.success-view {
    padding-inline:20px;
  }
  .brand {
    font-size:1.25rem;
  }
  .brand-row {
    gap:14px;
  }
  .code-button {
    padding-inline:10px;
    min-width:96px;
  }
  .code-row {
    gap:8px;
  }
  .input-wrap input {
    padding-left:38px;
  }
  .input-wrap>svg {
    left:12px;
  }
  .input-wrap input::placeholder {
    font-size:.75rem;
  }
  :lang(en) .section-heading {
    align-items:flex-start;
    flex-direction:column;
    gap:2px;
  }
}

@media(prefers-reduced-motion:reduce) {
  *,*::before,*::after {
    transition:none!important;
    animation:none!important;
  }
}

