@font-face { font-family: 'Amiko'; src: url('/signin/amiko-regular.woff') format('woff'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Amiko'; src: url('/signin/amiko-semibold.woff') format('woff'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Amiko'; src: url('/signin/amiko-bold.woff') format('woff'); font-weight: 700; font-display: swap; }
:root {
  --background: oklch(1 0 0);
  --foreground: oklch(0.3424 0.0755 238.74);
  --muted: oklch(0.9594 0.0042 236.5);
  --muted-foreground: oklch(0.4032 0.0833 238.15);
  --primary: oklch(0.4917 0.1272 246.29);
  --primary-hover: oklch(0.4032 0.0833 238.15);
  --primary-foreground: oklch(0.9594 0.0042 236.5);
  --destructive: oklch(0.577 0.245 27.325);
  --border: oklch(0.9109 0.0102 228.9);
  --card: oklch(1 0 0);
  --radius-lg: 15px;
  --radius-md: 5px;
  --shadow-card: 0 4px 4px 0 rgba(0, 0, 0, .05);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
::selection { background: var(--primary); color: var(--background); }
body {
  background: var(--background);
  color: var(--foreground);
  font-family: 'Amiko', ui-sans-serif, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  min-height: 100svh;
  display: flex; align-items: center; justify-content: center;
  padding: 1.5rem;
}
.card {
  width: 100%; max-width: 24rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--card);
  box-shadow: var(--shadow-card);
  padding: 2rem;
  display: flex; flex-direction: column; gap: 2rem;
}
.head { display: flex; flex-direction: column; align-items: center; gap: 1rem; }
.head img { width: 6rem; height: 6rem; display: block; margin: .75rem; }
h1 { font-size: 1.5rem; line-height: 2rem; font-weight: 700; text-align: center; }
form.step { display: flex; flex-direction: column; gap: 1rem; }
label { font-size: .875rem; font-weight: 600; line-height: 1; display: block; margin-bottom: .5rem; }
input {
  width: 100%; height: 3rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--background);
  padding: 0 .75rem;
  font: inherit; font-size: 1rem; color: var(--foreground);
  font-variant-numeric: tabular-nums;
  box-shadow: 0 1px 2px rgba(0,0,0,.05);
  caret-color: var(--primary);
}
input:focus-visible { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px color-mix(in oklch, var(--primary) 50%, transparent); }
input[aria-invalid="true"] { border-color: var(--destructive); }
#code { letter-spacing: .4em; text-align: center; font-size: 1.25rem; }
.err { color: var(--destructive); font-size: .875rem; line-height: 1.25rem; margin-top: .5rem; }
button { font: inherit; cursor: pointer; border: 0; }
.primary {
  height: 3rem; width: 100%;
  border-radius: 9999px;
  background: var(--primary); color: var(--primary-foreground);
  font-size: 1rem; font-weight: 700;
  transition: background-color .15s ease-in-out;
}
.primary:hover { background: var(--primary-hover); }
.ghost {
  align-self: center;
  height: 2rem; padding: 0 .75rem;
  border-radius: 9999px;
  background: none; color: var(--muted-foreground);
  font-size: .875rem; font-weight: 700;
  transition: background-color .15s ease-in-out;
}
.ghost:hover { background: var(--muted); }
button:focus-visible { outline: none; box-shadow: 0 0 0 3px color-mix(in oklch, var(--primary) 50%, transparent); }
