/* Product continuity, trust and lower-friction authentication. */
.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.auth-copy h1 { font-size: clamp(4rem, 7.2vw, 7.2rem); }
.auth-copy li { display: flex; align-items: center; gap: .7rem; }
.auth-copy li::before {
  width: 1.45rem;
  height: 1.45rem;
  display: grid;
  place-items: center;
  flex: none;
  margin: 0;
  border-radius: 50%;
  background: #1e1e1e;
  color: #fff;
  font-size: .65rem;
}

.auth-card {
  border-color: rgba(255, 255, 255, .94);
  background: rgba(250, 251, 251, .82);
  box-shadow: 0 24px 64px rgba(30, 30, 30, .10), inset 0 1px 0 #fff;
}

.provider-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .42rem;
  margin: .7rem 0 0;
  color: rgba(30, 30, 30, .48);
  font-size: .7rem;
}
.provider-note span {
  display: grid;
  width: 1rem;
  height: 1rem;
  place-items: center;
  border-radius: 50%;
  background: #1e1e1e;
  color: #fff;
  font-size: .55rem;
}

.password-field { position: relative; display: block; }
.password-field input { padding-right: 4.5rem; }
.password-field button {
  position: absolute;
  right: .5rem;
  top: 50%;
  min-width: 3.4rem;
  min-height: 2.2rem;
  padding: 0 .7rem;
  transform: translateY(-50%);
  border: 0;
  border-radius: 999px;
  background: rgba(30, 30, 30, .07);
  color: #1e1e1e;
  font: 600 .72rem inherit;
  cursor: pointer;
}
.password-field button:hover { background: rgba(30, 30, 30, .12); }
.password-field button:focus-visible { outline: 2px solid #1e1e1e; outline-offset: 1px; }

.privacy-choice {
  border: 1px solid rgba(30, 30, 30, .11);
  border-radius: .9rem;
  background: rgba(255, 255, 255, .48);
}
.privacy-choice summary {
  min-height: 3rem;
  padding: 0 .9rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
  font-size: .78rem;
  font-weight: 620;
  list-style: none;
}
.privacy-choice summary::-webkit-details-marker { display: none; }
.privacy-choice summary span { color: var(--muted); font-weight: 450; }
.privacy-choice[open] summary { border-bottom: 1px solid rgba(30, 30, 30, .09); }
.privacy-choice fieldset { padding: .55rem; }
.privacy-choice .choice { background: rgba(255, 255, 255, .72); }

@media (max-width: 850px) {
  .auth-copy p { margin-bottom: 0; }
  .auth-card { width: min(100%, 34rem); justify-self: center; }
  .auth-copy { text-align: center; }
  .auth-copy p { margin-inline: auto; }
}
.otp-actions{display:flex;align-items:center;gap:10px;margin-top:7px}.otp-button{border:1px solid rgba(0,0,0,.18);border-radius:999px;background:#fff;padding:7px 10px;color:#222;cursor:pointer;font-size:11px}.otp-button:disabled{opacity:.5;cursor:wait}.otp-actions small{color:#777;font-size:10px}.otp-actions small.success{color:#24733d}

/* Auth uses the same three-color system as the landing page. */
:root{--ink:#000;--muted:rgba(0,0,0,.64);--lime:#dfff57}
body{background:#fff;color:#000}
header{border:0;background:#fff;box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none}
header>a:last-child{background:#000;color:#fff}
.auth-copy h1{color:#000}.auth-copy p,.auth-card-head p,.provider-note,.switch-copy,.legal,label small,.text-button,.otp-actions small{color:rgba(0,0,0,.64)}
.auth-copy li{border-color:rgba(0,0,0,.2)}.auth-copy li::before{background:#dfff57;color:#000}
.auth-card{border:1px solid rgba(0,0,0,.25);background:#fff;box-shadow:none;backdrop-filter:none}
.app-mark,.provider-note span{background:#000;color:#fff;box-shadow:none}
.google-button{background:#fff;color:#000;border:1px solid #000;box-shadow:none}.google-button:hover{background:#dfff57}
.separator{color:rgba(0,0,0,.64)}.separator:before,.separator:after{background:rgba(0,0,0,.2)}
input{background:#fff;border:1px solid rgba(0,0,0,.25);box-shadow:none;color:#000}input:-webkit-autofill,input:-moz-autofill{ -webkit-text-fill-color:#000; color:#000; background-color:#fff!important; box-shadow:0 0 0 1000px #fff inset; border-color:rgba(0,0,0,.25)}input:focus{border-color:#000;box-shadow:0 0 0 3px #dfff57}
.password-field button{background:#fff;color:#000;border:1px solid #000}.password-field button:hover{background:#dfff57}.password-field button:focus-visible{outline:2px solid #000}
.primary{background:#dfff57;color:#000;border:1px solid #000;box-shadow:none}.primary:hover{background:#000;color:#fff}
.text-button:hover,.switch-copy a:hover,.legal a:hover{color:#000}.auth-status,.auth-status.success{color:#000}
.privacy-choice{border-color:rgba(0,0,0,.25);background:#fff}.privacy-choice[open] summary{border-color:rgba(0,0,0,.2)}.privacy-choice .choice{background:#fff;border:1px solid rgba(0,0,0,.16)}.privacy-choice .choice:has(input:checked){background:#dfff57;border-color:#000}.privacy-choice summary span{color:rgba(0,0,0,.64)}
.otp-button{border-color:#000;background:#fff;color:#000}.otp-button:hover{background:#dfff57}.otp-actions small.success{color:#000}
@media(prefers-reduced-transparency:reduce){header,.auth-card{background:#fff}}
body[data-auth-page] .auth-card [hidden]{display:none!important}
body[data-auth-page="start-free"] .auth-card{padding:1.5rem}
body[data-auth-page="start-free"] .auth-card-head{margin-bottom:1.15rem}
body[data-auth-page="start-free"] form{gap:.75rem}
