:root {
  --sl-bg: #ffffff;
  --sl-text: #0a0a0b;
  --sl-muted: rgba(10, 10, 11, 0.58);
  --sl-line: rgba(10, 10, 11, 0.1);
  --sl-cyan: #0891b2;
  --sl-cyan-soft: rgba(8, 145, 178, 0.12);
  --sl-error: #dc2626;
  --sl-mono: "IBM Plex Mono", "SF Mono", Menlo, monospace;
  --sl-sans: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --sl-radius: 14px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  min-height: 100%;
  background: var(--sl-bg);
  color: var(--sl-text);
  font-family: var(--sl-sans);
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

.sl-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.sl-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px clamp(20px, 4vw, 40px);
}

.sl-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: -0.03em;
  font-size: 15px;
  color: var(--sl-text);
}

.sl-brand-mark {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: linear-gradient(135deg, #0891b2, #7ff3fe);
  color: #fff;
  display: grid;
  place-items: center;
  font-family: var(--sl-mono);
  font-size: 13px;
  font-weight: 700;
}

.sl-nav-link {
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  color: var(--sl-muted);
  padding: 8px 12px;
  border-radius: 999px;
  transition: color 0.15s ease, background 0.15s ease;
}

.sl-nav-link:hover {
  color: var(--sl-text);
  background: rgba(10, 10, 11, 0.04);
}

.sl-main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 20px 48px;
}

.sl-card {
  width: min(100%, 420px);
  border: 1px solid var(--sl-line);
  border-radius: calc(var(--sl-radius) + 4px);
  padding: 32px 28px 28px;
  background: #fff;
  box-shadow: 0 24px 64px rgba(10, 10, 11, 0.06);
  animation: sl-rise 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes sl-rise {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.sl-kicker {
  font-family: var(--sl-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sl-cyan);
  margin-bottom: 10px;
}

.sl-title {
  font-size: clamp(24px, 4vw, 28px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 10px;
}

.sl-lead {
  font-size: 15px;
  line-height: 1.55;
  color: var(--sl-muted);
  margin-bottom: 24px;
}

.sl-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.sl-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sl-field label {
  font-size: 13px;
  font-weight: 600;
  color: rgba(10, 10, 11, 0.82);
}

.sl-field input {
  width: 100%;
  height: 46px;
  border-radius: 10px;
  border: 1px solid var(--sl-line);
  background: #fff;
  padding: 0 14px;
  font: inherit;
  font-size: 15px;
  color: var(--sl-text);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.sl-field input::placeholder {
  color: rgba(10, 10, 11, 0.35);
}

.sl-field input:focus {
  outline: none;
  border-color: rgba(8, 145, 178, 0.45);
  box-shadow: 0 0 0 3px var(--sl-cyan-soft);
}

.sl-submit {
  margin-top: 4px;
  height: 46px;
  border: none;
  border-radius: 999px;
  background: var(--sl-text);
  color: #fff;
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, opacity 0.15s ease;
}

.sl-submit:hover:not(:disabled) {
  transform: translateY(-1px);
  background: #1a1a1c;
}

.sl-submit:disabled {
  opacity: 0.65;
  cursor: wait;
}

.sl-error {
  min-height: 20px;
  font-size: 13px;
  color: var(--sl-error);
  line-height: 1.4;
}

.sl-fine {
  margin-top: 20px;
  font-size: 13px;
  color: var(--sl-muted);
  line-height: 1.5;
}

.sl-fine a {
  color: var(--sl-cyan);
  text-decoration: none;
  font-weight: 500;
}

.sl-fine a:hover {
  text-decoration: underline;
}

.sl-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 20px clamp(20px, 4vw, 40px) 28px;
  font-size: 13px;
  color: var(--sl-muted);
}

.sl-footer a {
  text-decoration: none;
  color: inherit;
}

.sl-footer a:hover {
  color: var(--sl-text);
}

.sl-sep {
  margin: 0 6px;
  opacity: 0.5;
}

@media (prefers-reduced-motion: reduce) {
  .sl-card {
    animation: none;
  }
}
