:root {
  color-scheme: light;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #171816;
  background: #f5f5f3;
}

* { box-sizing: border-box; }
body { min-width: 320px; min-height: 100vh; min-height: 100svh; margin: 0; background: #f5f5f3; }
button, input { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: wait; opacity: .55; }
button:focus-visible, input:focus-visible { outline: 3px solid rgb(30 31 29 / 14%); outline-offset: 2px; }

.entry { display: grid; min-height: 100vh; min-height: 100svh; place-items: center; padding: 28px 20px; }
.entry-panel { width: min(100%, 360px); }

form { display: grid; gap: 12px; }
input:not([type="checkbox"]) {
  width: 100%; height: 48px; padding: 0 14px; color: #171816; background: #fff;
  border: 1px solid #d8d8d3; border-radius: 8px; appearance: none;
}
input:not([type="checkbox"])::placeholder { color: #96968f; }
input:not([type="checkbox"]):focus { border-color: #888982; outline: none; box-shadow: 0 0 0 3px rgb(23 24 22 / 6%); }
.phone-field { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
.code-button, .continue-button { height: 48px; border-radius: 8px; font-size: 13px; font-weight: 600; }
.code-button { min-width: 104px; padding: 0 14px; color: #3d3e39; background: #ecece8; border: 1px solid #deded8; }
.code-button:hover:not(:disabled) { background: #e5e5df; }
.continue-button { width: 100%; color: #fff; background: #191a18; border: 1px solid #191a18; }
.continue-button:hover:not(:disabled) { background: #30312e; }
.entry-message { min-height: 18px; margin: 12px 0 0; color: #8b332c; font-size: 11px; line-height: 1.55; }
.entry-message.is-neutral { color: #686962; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; padding: 0; margin: -1px; border: 0; clip: rect(0, 0, 0, 0); white-space: nowrap; }

@media (max-width: 420px) {
  .entry { align-items: start; padding-top: 18vh; }
  .phone-field { grid-template-columns: 1fr; }
  .code-button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
