:root {
  color-scheme: light;
  --ink: #20222a;
  --dim: #565b68;
  --blue: #2855c7;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: #f5f2ea;
  color: var(--ink);
  font:
    16px/1.55 ui-sans-serif,
    system-ui,
    sans-serif;
}
.backdrop {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
main {
  position: relative;
  width: min(100% - 32px, 480px);
  margin: 24px auto;
}
.brand {
  display: block;
  width: 180px;
  margin: 0 auto 18px;
}
.brand img {
  display: block;
  width: 100%;
  height: auto;
}
.signup {
  background: #fffdf8;
  border: 1px solid #dedbd3;
  border-radius: 24px;
  padding: 28px;
  box-shadow: 0 12px 36px #302a1c12;
}
.eyebrow {
  color: var(--dim);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0 0 8px;
}
h1 {
  font-size: clamp(26px, 6vw, 34px);
  line-height: 1.1;
  letter-spacing: -0.045em;
  margin: 0 0 14px;
}
h2 {
  font-size: 23px;
  line-height: 1.2;
}
.intro {
  margin: 0 0 14px;
}
.reassurance {
  color: var(--dim);
  font-size: 12px;
  margin-bottom: 26px;
}
label {
  display: block;
  font-size: 14px;
  font-weight: 650;
}
input[type='text'] {
  width: 100%;
  min-width: 0;
  margin-top: 8px;
  padding: 13px;
  border: 1.5px solid #babdc7;
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  font:
    16px/1.3 ui-monospace,
    monospace;
}
.hint,
.fine,
details {
  font-size: 12px;
  color: var(--dim);
}
.hint {
  margin: 8px 0 20px;
}
.consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  font-weight: 400;
  cursor: pointer;
  margin-bottom: 20px;
  min-height: 44px;
}
.consent input {
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  margin: 2px 0 0;
  accent-color: var(--blue);
}
.primary {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  width: 100%;
  min-height: 50px;
  border: 2px solid #2146a5;
  border-radius: 14px;
  background: var(--blue);
  color: white;
  box-shadow: inset 0 -3px 0 #0002;
  font:
    700 16px/1.2 ui-sans-serif,
    system-ui,
    sans-serif;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 150ms ease,
    background 150ms ease;
}
.primary:hover {
  background: #2146a5;
}
.primary:active {
  transform: scale(0.975);
}
.primary:disabled {
  background: #5d6475;
  border-color: #5d6475;
  cursor: default;
}
:focus-visible {
  outline: 3px solid #2855c7;
  outline-offset: 3px;
}
#status {
  min-height: 2.8em;
  font-size: 13px;
  margin: 12px 0;
}
#status[data-error='true'] {
  color: #a62736;
}
.fine {
  margin: 18px 0;
}
details {
  border-top: 1px solid #e1ded6;
  padding-top: 14px;
}
summary {
  cursor: pointer;
  min-height: 44px;
  display: list-item;
  padding-top: 10px;
}
details a,
.back {
  color: #234cb3;
}
.back {
  display: block;
  width: fit-content;
  margin: 16px auto;
  padding: 12px;
  font-size: 13px;
}
.trap {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.success-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #e6edff;
  color: var(--blue);
  font-size: 28px;
}
[hidden] {
  display: none !important;
}
@media (max-width: 380px) {
  .signup {
    padding: 22px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before {
    transition: none !important;
    animation: none !important;
  }
}
