/* Disable double-tap zoom while preserving scrolling and pinch zoom. */
html { touch-action: manipulation; }
:root {
  color-scheme: light;
  --background: radial-gradient(ellipse at 0% 0%, rgba(238,234,241,.8) 0%, transparent 65%), radial-gradient(ellipse at 100% 100%, #ebefed 0%, transparent 65%) #efeff0;
}
* { box-sizing: border-box; }
body { margin: 0; background: #fff; color: #222; font: 14px -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; }
button, input { font: inherit; }
button { cursor: pointer; touch-action: manipulation; }
button:active { transform: scale(.98); }
button:focus-visible, input:focus-visible { outline: 2px solid #777; outline-offset: 4px; }
.wordmark { position: fixed; top: 42px; left: 48px; letter-spacing: -1px; }
.wordmark small, .brand small { margin-left: 12px; font-size: 9px; letter-spacing: 3px; color: #888; }
.phone { width: 410px; height: min(880px, calc(100dvh - 40px)); min-height: 580px; margin: 20px auto; border: 1px solid #eee; border-radius: 44px; padding: 11px; box-shadow: 0 24px 80px #00000008; }
.landing { display: flex; flex-direction: column; align-items: center; height: 100%; min-height: 550px; padding: 30px 28px; background: var(--background); border-radius: 32px; }
.brand { align-self: flex-start; font-size: 16px; letter-spacing: -1px; font-weight: 400; }
.brand small { margin-left: 9px; letter-spacing: 2px; }
.xo { font-size: 128px; line-height: 1.2; letter-spacing: -17px; padding-right: 17px; font-weight: 300; margin: auto 0; }
.bottom { width: 100%; margin-bottom: 20px; text-align: center; }
p { color: #969698; font-size: 12px; line-height: 1.6; margin: 8px 0; }
.primary { width: 100%; display: flex; justify-content: center; align-items: center; gap: 12px; margin-top: 24px; padding: 17px; min-height: 50px; border: 0; border-radius: 28px; background: #262626; color: #fff; font-size: 12px; }
.primary span { font-size: 17px; line-height: 1; }
dialog { position: fixed; width: min(360px, calc(100% - 32px)); max-height: calc(100dvh - 32px); overflow-y: auto; margin: auto; border: 1px solid #fff; border-radius: 28px; padding: 32px 28px 28px; color: #222; background: var(--background); box-shadow: 0 24px 80px #00000018; }
dialog::backdrop { background: #17171d55; backdrop-filter: blur(5px); }
dialog h2 { margin: 36px 0 8px; font-size: 28px; font-weight: 450; letter-spacing: -1px; }
.close { position: absolute; right: 12px; top: 12px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: transparent; color: #777; font-size: 27px; font-weight: 300; }
form { margin-top: 24px; }
label { display: block; margin: 0 0 9px 2px; color: #777; font-size: 11px; }
input { width: 100%; min-height: 52px; padding: 15px 17px; border: 1px solid #fff; border-radius: 17px; background: #ffffffbf; color: #222; font-size: 16px; }
input::placeholder { color: #aaa; }
input + label, div:not([hidden]) + label { margin-top: 16px; }
.form-error { color: #b3261e; min-height: 0; }
.form-error:empty { display: none; }
label small { color: #aaa; }
/* change-password.html */
.password-page { justify-content: center; }
.password-page .brand { margin-bottom: auto; }
.password-page form { width: 100%; margin-bottom: auto; }
.page-title { align-self: flex-start; margin: 0 0 8px; font-size: 28px; font-weight: 450; letter-spacing: -1px; }
.password-page > p { align-self: flex-start; }
.text-link { margin-top: 16px; color: #777; font-size: 12px; }
[hidden] { display: none !important; }
@media (max-width: 600px) {
  .wordmark { display: none; }
  .phone { width: 100%; height: 100svh; min-height: 530px; margin: 0; padding: max(10px, env(safe-area-inset-top)) 10px max(10px, env(safe-area-inset-bottom)); border: 0; border-radius: 0; box-shadow: none; }
  .landing { min-height: 500px; }
}
