:root {
  color-scheme:light;
  --blue:#4189f8;
  --blue-ink:#2263c9;
  --ink:#111827;
  --muted:#657080;
  --canvas:#fafcfe;
  --card:#fff;
  --pale:#eaf2ff;
  --line:#e6eaf0;
  --input:#f6f9fe;
  --error:#a52c37;
  --shadow:0 22px 80px #355a9820
}
* {
  box-sizing:border-box
}
body {
  margin:0;
  min-width:280px;
  min-height:100svh;
  display:flex;
  flex-direction:column;
  background:var(--canvas);
  color:var(--ink);
  font-family:Arial,Helvetica,sans-serif;
  -webkit-font-smoothing:antialiased;
  line-height:1.5
}
button,input,select {
  font:inherit
}
button,a,input,select {
  -webkit-tap-highlight-color:transparent
}
button,a,select {
  touch-action:manipulation
}
button:disabled {
  cursor:wait;
  opacity:.62
}
[hidden] {
  display:none!important
}
::selection {
  background:#c5ddff;
  color:#102d53
}
a {
  color:var(--blue-ink)
}
button {
  cursor:pointer
}
.symbols {
  position:absolute;
  width:0;
  height:0;
  overflow:hidden
}
.water {
  position:fixed;
  width:100%;
  z-index:-1;
  pointer-events:none;
  fill:var(--pale)
}
.water-top {
  top:0;
  height:205px;
  opacity:.5
}
.water-bottom {
  bottom:0;
  height:190px;
  opacity:.58
}
.site-header,.site-footer {
  width:min(1200px,100%);
  margin:auto;
  padding:30px 44px;
  display:flex;
  justify-content:space-between;
  align-items:center
}
.brand {
  display:flex;
  gap:10px;
  align-items:center;
  color:var(--blue-ink);
  font-size:26px;
  font-weight:750;
  letter-spacing:-.7px
}
.brand svg {
  width:31px;
  height:35px;
  color:var(--blue)
}
.language select {
  color:var(--muted);
  background:transparent;
  border:1px solid var(--line);
  border-radius:30px;
  padding:9px 14px;
  min-height:44px;
  cursor:pointer
}
.sr-only {
  position:absolute;
  width:1px;
  height:1px;
  margin:-1px;
  padding:0;
  overflow:hidden;
  clip:rect(0,0,0,0);
  white-space:nowrap;
  border:0
}
main {
  width:min(1060px,100%);
  margin:auto;
  display:grid;
  grid-template-columns:1fr 440px;
  gap:88px;
  align-items:center;
  padding:35px 32px 65px;
  flex:1
}
.welcome {
  max-width:400px
}
.welcome h1 {
  font-size:clamp(30px,3.7vw,45px);
  line-height:1.19;
  letter-spacing:-1.4px;
  font-weight:750;
  margin:26px 0 16px
}
.welcome h1 span {
  color:var(--blue-ink)
}
.welcome p {
  color:var(--muted);
  max-width:310px;
  font-size:16px;
  line-height:1.7
}
.water-mark {
  width:148px;
  height:148px;
  position:relative;
  display:grid;
  place-items:center;
  margin:16px 0 38px 2px
}
.water-mark>svg {
  width:76px;
  height:88px;
  color:var(--blue);
  z-index:1
}
.ripple {
  position:absolute;
  border:1px solid #4189f838;
  border-radius:50%;
  inset:8px
}
.ripple-two {
  inset:-14px;
  border-color:#4189f818
}
.action-card {
  width:100%;
  background:var(--card);
  padding:36px;
  border-radius:28px;
  box-shadow:var(--shadow);
  animation:arrive .45s cubic-bezier(.2,.8,.2,1)
}
.mode-icon {
  width:62px;
  height:62px;
  border-radius:19px;
  background:var(--pale);
  color:var(--blue);
  display:grid;
  place-items:center;
  margin-bottom:24px
}
.mode-icon svg {
  width:31px;
  height:31px;
  fill:none;
  stroke:currentColor;
  stroke-width:2;
  stroke-linecap:round;
  stroke-linejoin:round
}
h2 {
  font-size:29px;
  line-height:1.2;
  letter-spacing:-.8px;
  margin:0 0 12px;
  font-weight:750;
  outline:none
}
.description {
  font-size:15px;
  color:var(--muted);
  line-height:1.65;
  margin:0 0 24px
}
.identity {
  padding:13px 15px;
  background:var(--input);
  border-radius:14px;
  margin:0 0 24px;
  font-size:13px
}
.identity span {
  display:block;
  color:var(--muted);
  font-size:12px;
  margin-bottom:2px
}
.identity strong {
  display:block;
  font-weight:600;
  overflow-wrap:anywhere
}
.field-label {
  display:block;
  font-size:13px;
  font-weight:600;
  margin:0 0 9px
}
.password-field {
  display:flex;
  align-items:center;
  min-height:52px;
  background:var(--input);
  border:1px solid var(--line);
  border-radius:14px;
  overflow:hidden;
  transition:border-color .18s,box-shadow .18s
}
.password-field:focus-within {
  border-color:var(--blue);
  box-shadow:0 0 0 3px #4189f818
}
.password-field:has(input[aria-invalid=true]) {
  border-color:var(--error)
}
.password-field input {
  width:100%;
  min-width:0;
  height:52px;
  border:0;
  outline:0;
  padding:12px 15px;
  background:transparent;
  color:var(--ink);
  caret-color:var(--blue)
}
.visibility {
  min-width:48px;
  min-height:48px;
  display:grid;
  place-items:center;
  border:0;
  background:transparent;
  color:var(--muted);
  border-radius:12px;
  margin-right:2px
}
.visibility:hover {
  background:var(--pale)
}
.visibility svg {
  width:20px;
  height:20px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.8
}
.visibility[aria-pressed=true] {
  color:var(--blue-ink)
}
.field-help {
  font-size:12px;
  color:var(--muted);
  margin:8px 0 20px
}
.primary {
  width:100%;
  display:flex;
  justify-content:center;
  align-items:center;
  min-height:52px;
  border:0;
  border-radius:15px;
  background:var(--blue);
  color:#fff;
  font-weight:650;
  font-size:15px;
  text-decoration:none;
  margin-top:26px;
  padding:13px 16px;
  transition:background .18s,transform .18s;
  line-height:1.4
}
.primary:hover {
  background:#3279e6
}
.primary:active {
  transform:translateY(1px)
}
:focus-visible {
  outline:3px solid var(--blue-ink);
  outline-offset:4px
}
.visibility:focus-visible {
  outline-offset:-4px
}
.form-error {
  font-size:13px;
  line-height:1.5;
  color:var(--error);
  margin:14px 0 0
}
.card-footer {
  border-top:1px solid var(--line);
  margin-top:28px;
  padding-top:18px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  color:var(--muted);
  font-size:11px
}
.card-footer svg {
  width:14px;
  height:14px;
  fill:none;
  stroke:currentColor;
  stroke-width:2
}
.loading {
  display:flex;
  align-items:center;
  gap:10px;
  font-size:13px;
  color:var(--muted);
  padding:10px 0
}
.spinner {
  width:18px;
  height:18px;
  border-radius:50%;
  border:2px solid var(--line);
  border-top-color:var(--blue);
  animation:spin .8s linear infinite
}
.completion-note {
  font-size:13px;
  color:var(--muted);
  line-height:1.7;
  margin:16px 0 0
}
.site-footer {
  font-size:12px;
  color:var(--muted);
  padding-top:20px;
  padding-bottom:26px
}
.action-card[data-state=success] .mode-icon {
  background:#e8f5ef;
  color:#28825b
}
@keyframes arrive {
  from {
    opacity:.2;
    transform:translateY(14px)
  }
  to {
    opacity:1;
    transform:none
  }
}
@keyframes spin {
  to {
    transform:rotate(360deg)
  }
}
@media(max-width:850px) {
  main {
    grid-template-columns:1fr 410px;
    gap:35px
  }
  .welcome h1 {
    font-size:34px;
    letter-spacing:-1px
  }
  .action-card {
    padding:30px
  }
  .site-header,.site-footer {
    padding-left:30px;
    padding-right:30px
  }
}
@media(max-width:700px) {
  .site-header {
    padding:23px 24px
  }
  .brand {
    font-size:24px
  }
  .welcome {
    display:none
  }
  main {
    display:flex;
    justify-content:center;
    align-items:center;
    padding:24px 20px 38px;
    max-width:490px
  }
  .action-card {
    padding:28px 24px;
    border-radius:24px
  }
  h2 {
    font-size:27px
  }
  .site-footer {
    padding:12px 24px 24px;
    font-size:11px;
    gap:20px
  }
  .site-footer span:first-child {
    max-width:230px
  }
  .water-top {
    height:160px
  }
  .water-bottom {
    height:130px
  }
  .mode-icon {
    margin-bottom:22px
  }
  .description {
    font-size:14px
  }
  .card-footer {
    margin-top:25px
  }
}
@media(prefers-color-scheme:dark) {
  :root {
    color-scheme:dark;
    --blue-ink:#8cb9ff;
    --ink:#f1f5fc;
    --muted:#afbed2;
    --canvas:#101925;
    --card:#192435;
    --pale:#243c5b;
    --line:#304156;
    --input:#142030;
    --error:#ffb0b7;
    --shadow:0 22px 80px #0003
  }
  .action-card[data-state=success] .mode-icon {
    background:#1d3d34;
    color:#91dbb7
  }
  .water-top,.water-bottom {
    opacity:.24
  }
  .ripple {
    border-color:#4189f84a
  }
  .ripple-two {
    border-color:#4189f825
  }
}
@media(prefers-reduced-motion:reduce) {
  *,*::before,*::after {
    animation:none!important;
    transition:none!important;
    scroll-behavior:auto!important
  }
  .spinner {
    border-color:var(--blue);
    opacity:.7
  }
}
:root {
  --button:#2f74dc
}
.primary {
  background:var(--button)
}
.primary:hover {
  background:#2365cc
}
