@font-face {
  font-family: Geist;
  src: url('/fonts/geist-latin.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
:root {
  font-family:
    Geist,
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    sans-serif;
  color: #222;
  background: #fff;
  font-synthesis: none;
  --muted: #737373;
  --line: #e7e7e7;
  --soft: #f5f5f5;
  --error: #b42318;
}
* {
  box-sizing: border-box;
}
[hidden] {
  display: none !important;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  min-height: 0;
  padding: 0;
  border: 0;
  overflow: hidden;
  clip-path: inset(50%);
}
body {
  margin: 0;
  font-size: 14px;
  -webkit-font-smoothing: antialiased;
}
button,
input,
select {
  font: inherit;
}
button,
a,
input,
select {
  -webkit-tap-highlight-color: transparent;
}
button,
a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  color: inherit;
}
button:disabled {
  cursor: default;
}
a:focus-visible,
button:focus-visible,
select:focus-visible {
  outline: 2px solid #222;
  outline-offset: 4px;
}
input:focus-visible {
  outline: none;
  border-color: #444;
  box-shadow: 0 0 0 3px #2222220a;
}
.auth-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 30px 40px;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
}
.brand img {
  width: 146px;
  height: auto;
  display: block;
}
.back-link {
  font-size: 12px;
  color: var(--muted);
  display: flex;
  gap: 8px;
  align-items: center;
}
.back-link:hover {
  color: #222;
}
.availability {
  margin: 0 auto;
  width: fit-content;
  max-width: calc(100% - 40px);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 9px 16px;
  background: #f7f7f7;
  border-radius: 12px;
  color: #666;
  font-size: 12px;
  line-height: 1.5;
  flex-wrap: wrap;
  text-align: center;
}
.availability a {
  text-decoration: underline;
  text-underline-offset: 3px;
  color: #333;
}
.availability select {
  font-size: 12px;
  max-width: 200px;
  border: 1px solid #dedede;
  border-radius: 8px;
  background: white;
  padding: 5px 7px;
}
.availability.demo {
  background: #f2f3f1;
}
.auth-main {
  display: grid;
  place-items: center;
  min-height: calc(100svh - 198px);
  padding: 56px 24px 72px;
}
.auth-panel {
  width: 100%;
  max-width: 360px;
  animation: enter 0.24s ease-out;
}
.auth-panel h1 {
  font-size: 30px;
  font-weight: 560;
  line-height: 1.2;
  letter-spacing: -1px;
  margin: 0 0 12px;
  text-align: center;
}
.intro {
  margin: 0 0 30px;
  color: var(--muted);
  line-height: 1.65;
  text-align: center;
  font-size: 14px;
}
.intro strong {
  font-weight: 500;
  color: #444;
  overflow-wrap: anywhere;
}
.google {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  min-height: 46px;
  font-weight: 500;
  transition:
    background 0.15s,
    border-color 0.15s,
    transform 0.15s;
}
.google:hover {
  background: #fafafa;
  border-color: #c8c8c8;
}
.google svg {
  width: 18px;
  height: 18px;
}
.divider {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 23px 0;
  color: #8c8c8c;
  font-size: 12px;
}
.divider:before,
.divider:after {
  content: '';
  height: 1px;
  background: #eee;
  flex: 1;
}
.field {
  margin-bottom: 18px;
}
.label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}
.label-row label {
  font-size: 13px;
  font-weight: 500;
}
.text-link {
  color: #666;
  font-size: 12px;
  text-decoration: underline;
  text-decoration-color: #ccc;
  text-underline-offset: 3px;
}
.text-link:hover {
  color: #222;
  text-decoration-color: #222;
}
input {
  width: 100%;
  min-height: 50px;
  padding: 14px 16px;
  border: 1px solid #ddd;
  border-radius: 16px;
  background: #fff;
  transition:
    border-color 0.15s,
    box-shadow 0.15s;
  color: #222;
  font-size: 14px;
}
input::placeholder {
  color: #a0a0a0;
}
input[aria-invalid='true'] {
  border-color: var(--error);
}
.password-input {
  position: relative;
}
.password-input input {
  padding-right: 50px;
}
.eye {
  position: absolute;
  right: 7px;
  top: 5px;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 0;
  background: transparent;
  border-radius: 50%;
  color: #777;
}
.eye:hover {
  background: var(--soft);
  color: #222;
}
.eye svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.field-help {
  font-size: 12px;
  color: var(--muted);
  margin: 8px 0 0;
  line-height: 1.5;
}
.field-error {
  font-size: 12px;
  color: var(--error);
  line-height: 1.5;
  margin: 7px 0 0;
}
.field-error:empty {
  display: none;
}
.primary {
  border: 1px solid #222;
  background: #222;
  color: #fff;
  border-radius: 999px;
  min-height: 50px;
  width: 100%;
  font-weight: 500;
  padding: 12px 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  transition:
    background 0.15s,
    transform 0.15s,
    opacity 0.15s;
}
.primary:hover {
  background: #383838;
}
.primary:active,
.google:active {
  transform: scale(0.99);
}
.primary:disabled {
  opacity: 0.55;
}
.secondary {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 46px;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  padding: 12px 20px;
  font-weight: 500;
  transition: background 0.15s;
}
.secondary:hover {
  background: #fafafa;
}
.secondary:disabled {
  color: #999;
  background: #fafafa;
}
.account-switch {
  font-size: 13px;
  color: #777;
  text-align: center;
  line-height: 1.6;
  margin: 25px 0 0;
}
.account-switch a {
  color: #333;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: #bbb;
}
.back-step {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  color: #666;
  font-size: 13px;
  min-height: 40px;
  margin-top: 14px;
}
.error {
  background: #fff5f3;
  color: var(--error);
  border-radius: 12px;
  font-size: 13px;
  line-height: 1.6;
  padding: 12px 14px;
  margin: 0 0 16px;
}
.error:empty,
.message:empty {
  display: none;
}
.message {
  font-size: 12px;
  line-height: 1.6;
  color: #666;
  margin: 12px 0;
  text-align: center;
}
.address {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  margin: 0 0 25px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px;
}
.address span {
  overflow-wrap: anywhere;
  min-width: 0;
}
.address a {
  flex-shrink: 0;
}
.state-icon {
  width: 58px;
  height: 58px;
  background: #f5f5f5;
  border-radius: 19px;
  display: grid;
  place-items: center;
  margin: 0 auto 25px;
}
.state-icon svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: #444;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.email-details {
  border-top: 1px solid var(--line);
  margin-top: 28px;
  padding-top: 20px;
  color: #737373;
  font-size: 12px;
  line-height: 1.7;
}
.email-details summary {
  cursor: pointer;
  color: #555;
  font-weight: 500;
}
.email-details p {
  margin: 10px 0 0;
}
.auth-footer {
  text-align: center;
  font-size: 12px;
  color: #999;
  padding: 0 24px 28px;
}
.spinner {
  width: 15px;
  height: 15px;
  border: 1.5px solid #ffffff60;
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
.demo-next {
  border: 0;
  border-radius: 8px;
  display: block;
  font-size: 12px;
  background: #f2f3f1;
  color: #535a4d;
  padding: 10px 14px;
  margin: 20px auto 0;
  text-align: center;
  line-height: 1.4;
}
.demo-next:hover {
  background: #e8ebe5;
}
.demo-help {
  text-align: center;
  font-size: 12px;
  line-height: 1.6;
  color: #888;
  margin-top: 18px;
}
@keyframes enter {
  from {
    opacity: 0;
    transform: translateY(5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
@media (max-width: 600px) {
  .auth-header {
    padding: 25px 23px;
  }
  .brand img {
    width: 130px;
  }
  .back-link {
    font-size: 11px;
  }
  .availability {
    font-size: 11px;
    gap: 6px 12px;
    padding: 9px 12px;
  }
  .auth-main {
    padding: 44px 25px 50px;
    min-height: calc(100svh - 220px);
  }
  .auth-panel h1 {
    font-size: 27px;
  }
  .auth-footer {
    font-size: 11px;
  }
  input {
    font-size: 16px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

.auth-panel h1:focus {
  outline: none;
}

.error-action {
  display: block;
  text-decoration: underline;
  text-underline-offset: 3px;
  margin-top: 8px;
  font-weight: 500;
}
