:root {
  font-family: Arial, Helvetica, sans-serif;
  color: #211d29;
  background: #f6f3fa;
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(ellipse at 8% 80%, #e9d9ff 0, transparent 47%),
    radial-gradient(ellipse at 95% 14%, #fff9cf 0, transparent 34%), #f6f3fa;
}
a {
  color: #513676;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button {
  font: inherit;
  cursor: pointer;
}
[hidden] {
  display: none !important;
}
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 30px 6vw;
}
.header img {
  display: block;
  width: 132px;
  height: auto;
}
.language {
  background: transparent;
  border: 1px solid #dcd3e8;
  border-radius: 25px;
  padding: 10px 17px;
  color: #513676;
  font-size: 13px;
  font-weight: 600;
}
main {
  flex: 1;
  width: 100%;
  padding: 25px 20px 48px;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
}
.brand-note {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #7651a8;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 22px;
}
.spark {
  font-size: 26px;
  line-height: 1;
}
.card {
  width: min(100%, 510px);
  background: white;
  border: 1px solid #e6e0ed;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 70px #5136760d;
}
.accent {
  height: 6px;
  background: linear-gradient(90deg, #7651a8 0 82%, #ffde00 82%);
}
.card-body {
  padding: 38px 44px 27px;
  text-align: center;
}
.icon {
  width: 88px;
  height: 88px;
  border-radius: 25px;
  background: #f5f0fb;
  margin: 0 auto 23px;
  display: grid;
  place-items: center;
  color: #7651a8;
  transform: rotate(-5deg);
}
.icon svg {
  width: 65px;
  transform: rotate(5deg);
}
.kicker {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  color: #7651a8;
  margin: 0 0 13px;
}
h1 {
  font-size: 35px;
  line-height: 1.16;
  letter-spacing: -1.2px;
  font-weight: 600;
  margin: 0 0 20px;
  white-space: pre-line;
}
.description {
  font-size: 15px;
  line-height: 1.75;
  color: #746f80;
  max-width: 340px;
  margin: 0 auto 29px;
  white-space: pre-line;
}
.primary {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  background: #7651a8;
  border: 0;
  border-radius: 11px;
  padding: 17px 20px;
  color: white;
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
  box-shadow: 0 7px 16px #51367620;
  transition:
    background 0.15s,
    transform 0.15s;
}
.primary:hover {
  background: #513676;
  transform: translateY(-1px);
}
.primary:disabled {
  opacity: 0.65;
  cursor: wait;
  transform: none;
}
.primary span {
  font-size: 21px;
  line-height: 1;
}
.hint {
  font-size: 12px;
  color: #8b8496;
  margin: 17px 0 0;
}
.card-footer {
  border-top: 1px solid #eee8f5;
  background: #fcfaff;
  padding: 19px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  color: #746f80;
  font-size: 12px;
}
.dot {
  background: #ffde00;
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.help {
  font-size: 13px;
  color: #8b8496;
  margin: 26px 0 0;
}
.help a {
  font-weight: 600;
  text-underline-offset: 3px;
}
.footer {
  display: flex;
  justify-content: space-between;
  padding: 22px 6vw;
  color: #8b8496;
  font-size: 11px;
  border-top: 1px solid #e6e0ed;
}
.footer a {
  color: inherit;
  text-decoration: none;
}
.environment {
  display: block;
  width: fit-content;
  margin: 0 auto 18px;
  background: #fff6b8;
  color: #513676;
  font-size: 10px;
  letter-spacing: 1px;
  border-radius: 20px;
  padding: 6px 11px;
}
button:focus-visible,
a:focus-visible {
  outline: 3px solid #bf9be8;
  outline-offset: 4px;
}
.success .icon {
  background: #f2ecfa;
}
.success .icon svg {
  display: none;
}
.success .icon:after {
  content: "✓";
  font-size: 45px;
  transform: rotate(5deg);
}
.error .icon {
  background: #fff7d6;
}
@media (max-width: 540px) {
  .header {
    padding: 23px 22px;
  }
  .header img {
    width: 110px;
  }
  main {
    padding: 20px 18px 35px;
  }
  .card-body {
    padding: 31px 25px 25px;
  }
  h1 {
    font-size: 30px;
  }
  .brand-note {
    font-size: 9px;
    letter-spacing: 1.3px;
  }
  .footer {
    padding: 20px 23px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
  }
}
