/* /checkin: email, the questions, "Is this you?" and "Help people find you". */
main { position: relative; z-index: 1; max-width: 520px; margin: 0 auto; padding: 28px 16px calc(28px + env(safe-area-inset-bottom)); }
@media (min-width: 700px) {
  main { padding-top: 9vh; }
  .screen { padding: 34px 32px 30px; background: var(--espresso); border-radius: 18px; box-shadow: 0 30px 60px rgba(0, 0, 0, .45); }
}
.brandrow { margin-bottom: 26px; }
.eyebrow { margin: 0 0 14px; }
h1 { font-size: 44px; }
h2 { font-size: 36px; }
.lead { margin-bottom: 28px; }
.screen[hidden] { display: none; }
.screen { animation: rise var(--t-move) var(--ease-out) both; }
.btn { min-height: 60px; margin-top: 16px; font-size: 15px; }
.btn.sec { margin-top: 12px; }
.err { min-height: 24px; margin: 10px 0 0; font-size: 17px; font-weight: 400; color: var(--cream); }
.err:not(:empty) { padding-left: 12px; border-left: 3px solid var(--red); }
.fine { margin-top: 22px; }
.dots { display: flex; gap: 8px; margin: 0 0 20px; }
.dots i { width: 28px; height: 3px; border-radius: 2px; background: rgba(243, 234, 223, .2); }
.dots i.on { background: var(--beige); }

/* Is this you? */
.idcard { padding: 18px 18px 6px; background: var(--beige); color: var(--espresso); border-radius: 14px; box-shadow: 0 14px 30px rgba(0, 0, 0, .35); }
.idcard .nm { margin: 0 0 14px; font-weight: 600; font-size: 30px; line-height: 1; letter-spacing: -0.04em; overflow-wrap: anywhere; }
.row { margin: 0 0 14px; }
.row .label { display: block; margin-bottom: 3px; font-size: 11px; color: var(--ink-soft); }
.row .v { margin: 0; font-size: 18px; font-weight: 400; line-height: 1.35; overflow-wrap: anywhere; }
.row .v.none { color: var(--ink-soft); }
.idcard input { display: none; width: 100%; min-height: 52px; padding: 10px 14px; font: 400 18px var(--sans); color: var(--ink); background: var(--paper); border: 1px solid rgba(43, 29, 21, .3); border-radius: 12px; -webkit-appearance: none; appearance: none; }
.idcard.editing input { display: block; }
.idcard.editing .row .v { display: none; }
.idcard.editing .row.pair { display: none; }
.idcard:not(.editing) .row.edit-only { display: none; }

/* Help people find you */
.selfie { display: grid; place-items: center; margin: 0 0 18px; }
.circle { position: relative; display: grid; place-items: center; width: 168px; height: 168px; border-radius: 50%; border: 2px dashed rgba(243, 234, 223, .35); cursor: pointer; overflow: hidden; color: rgba(243, 234, 223, .75); text-align: center; transition: transform var(--t-tap) var(--ease-out); }
.circle:active { transform: scale(.97); }
.circle svg { width: 44px; height: 44px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.circle .cap { display: block; margin-top: 6px; font-size: 11px; }
.circle img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.circle.has { border-style: solid; border-color: var(--beige); }
.circle:focus-within { outline: 2px solid var(--beige); outline-offset: 3px; }
.circle input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.selfie-acts { display: flex; gap: 8px; justify-content: center; margin-top: 8px; }
.safe { display: flex; gap: 10px; align-items: flex-start; margin: 0 0 18px; padding: 12px 14px; border-radius: 14px; background: rgba(243, 234, 223, .06); font-size: 15px; font-weight: 400; color: rgba(243, 234, 223, .85); }
.safe svg { flex: none; width: 20px; height: 20px; margin-top: 1px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.switchrow { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; min-height: 64px; margin: 0 0 18px; padding: 10px 16px; border: 1px solid rgba(243, 234, 223, .25); border-radius: 14px; background: none; color: var(--cream); font: 400 17px/1.25 var(--sans); text-align: left; cursor: pointer; }
.switch { position: relative; flex: none; width: 58px; height: 34px; border-radius: 999px; background: rgba(243, 234, 223, .16); }
.switch::before { content: ""; position: absolute; inset: 0; border-radius: 999px; background: var(--beige); opacity: 0; transition: opacity var(--t-quick) var(--ease-out); }
.switch::after { content: ""; position: absolute; left: 4px; top: 4px; width: 26px; height: 26px; border-radius: 50%; background: var(--cream); transition: transform var(--t-quick) var(--ease-out); }
.switchrow[aria-checked="true"] .switch::before { opacity: 1; }
.switchrow[aria-checked="true"] .switch::after { transform: translateX(24px); background: var(--espresso); }
.spotlab { display: flex; justify-content: space-between; margin: 0 0 8px; color: rgba(243, 234, 223, .75); }
.field.short { min-height: 56px; font-size: 18px; }
.sticky-cta { margin-top: 8px; }

@media (prefers-reduced-motion: reduce) {
  .screen { animation: fade var(--t-quick) linear both; }
  .circle, .btn { transition: none; }
  .switch::after { transition: none; }
}
