.login { display: flex; justify-content: center; padding-block: 64px 24px; }
.login-card { --gap: 24px; width: 100%; max-width: 520px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 40px; }
.login-card .h1 { font-size: 40px; }
.login-card .h1:focus { outline: none; }   /* focused by script on each step, not by the keyboard */
/* .btn is a one-line 44px pill; a role button holds a title and a sentence, so it grows with its text. */
.role-btn { display: block; width: 100%; height: auto; padding: 16px 20px; border-radius: 20px; text-align: start; line-height: 1.4; white-space: normal; }
.role-btn strong { display: block; margin-bottom: 4px; font: 400 24px/1.2 var(--font-display); }
.role-btn span { font-weight: 400; }
@media (max-width: 720px) { .login { padding-block: 24px; } .login-card { padding: 24px; border-radius: 20px; }
  .login-card .h1 { font-size: 32px; text-wrap: balance; } .login-card .lede { font-size: 17px; line-height: 1.55; } }
.switch-link { display: inline-flex; align-items: center; min-height: 44px; color: var(--green); text-decoration: underline; white-space: normal; }
.area-add { flex-wrap: nowrap; }
.area-add .input { flex: 1; min-width: 0; }
.q-photo-preview { width: 160px; height: 160px; object-fit: cover; object-position: 50% 30%; border-radius: 50%; border: 1px solid var(--line); }
/* /harshama/ for caregivers: three reasons above the form, the next steps below it */
.pitch { margin: 0; padding: 14px 18px; list-style: none; display: grid; gap: 6px; }
.pitch li::before { content: "✓"; margin-inline-end: 8px; }
.after { --gap: 12px; padding: 24px; }
.after .h3 { font-size: 22px; }
.after p { margin: 0; }
.after-steps { margin: 0; padding-inline-start: 22px; display: grid; gap: 10px; }
@media (max-width: 720px) { .after { padding: 18px; } }
.after-why { display: block; margin-top: 4px; color: var(--muted); font-size: 15px; }
/* /harshama/ while the form loads: placeholders so the page below it keeps its place (only #box's children, never #box itself). */
.skel { display: grid; gap: 14px; align-content: start; min-height: 520px; }
.skel span { height: 56px; border-radius: 14px; background: var(--sand); }
.skel .skel-btn { border-radius: 999px; background: var(--sage); }
@media (scripting: none) { .skel { display: none; } }
/* thank-you screen: a quiet success mark above the title */
.ok-disc { width: 56px; height: 56px; border-radius: 50%; background: var(--mint); color: var(--green); display: grid; place-items: center; }
/* caregiver questionnaire: 7 questions (join.css draws its own 4-step bar) */
.steps--9 { grid-template-columns: repeat(9, minmax(0, 1fr)); }
/* /harshama/: the WhatsApp confirmation button. WhatsApp green with dark text (7.7:1); white on it fails AA. */
.btn--wa { background: #25D366; border-color: #25D366; color: #0B2B1F; }
.btn--wa:hover { background: #1EBE5A; border-color: #1EBE5A; color: #0B2B1F; }
.confirm-details { --gap: 6px; padding: 14px 18px; }
.confirm-details p { margin: 0; }
/* the WhatsApp step: three arrows dropping toward the button (the arrow icon points left; turned to point down) and a bobbing,
   pulsing button. The arrows keep a slower drop even under reduced motion: Dan wants the step impossible to miss. */
.wa-arrows { display: flex; justify-content: center; gap: 28px; color: #1EBE5A; margin-bottom: -4px; }
.wa-arrows svg { display: block; transform: rotate(-90deg); }
.wa-arrows span { display: block; animation: wa-drop .9s ease-in-out infinite; }
.wa-arrows span:nth-child(2) { animation-delay: .15s; }
.wa-arrows span:nth-child(3) { animation-delay: .3s; }
.wa-cta { height: 68px; font-size: 20px; box-shadow: 0 0 0 0 rgba(37, 211, 102, .6); animation: wa-bob 1.6s ease-in-out infinite, wa-pulse 1.6s ease-out infinite; }
@keyframes wa-drop { 0%, 100% { transform: translateY(-6px); opacity: .45; } 50% { transform: translateY(10px); opacity: 1; } }
@keyframes wa-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
@keyframes wa-pulse { 0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, .6); } 70%, 100% { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); } }
@media (prefers-reduced-motion: reduce) { .wa-arrows span { animation-duration: 1.8s; } .wa-cta { animation: none; box-shadow: 0 0 0 4px rgba(37, 211, 102, .35); } }
.q-km { font-size: 13px; font-weight: 400; opacity: .85; }
.q-fine { display: block; margin-top: 4px; font-size: 14px; color: var(--muted); }
/* The police-clearance commitment: a red button that cannot be missed. */
.btn--danger, .btn--danger:hover { background: var(--danger); border-color: var(--danger); color: var(--white); }
.btn--danger { height: auto; min-height: 52px; padding-block: 12px; line-height: 1.35; text-align: center; }   /* the commitment wraps on a phone */
.q-police { background: var(--danger-bg); color: var(--danger); border: 1px solid var(--danger); font-size: 17px; line-height: 1.6; }
.q-why { font-size: 17px; line-height: 1.7; margin: 0; }
