* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  min-height: 100svh;
  font-family: var(--font-body);
  font-size: 14px;
  background: var(--background);
  color: var(--foreground);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.bg-grid {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.25;
  background: radial-gradient(ellipse 60% 50% at 20% 20%, oklch(0.72 0.18 250 / 80%) 0%, transparent 70%),
    radial-gradient(ellipse 50% 40% at 80% 15%, oklch(0.65 0.15 200 / 60%) 0%, transparent 70%);
}

.wrap {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  max-width: 920px;
  width: 100%;
  align-items: center;
}

@media (max-width: 768px) {
  .wrap {
    grid-template-columns: 1fr;
  }
  .brand {
    text-align: center;
  }
}

.brand .logo {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, oklch(0.72 0.18 250), oklch(0.65 0.15 280));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.25rem;
  margin-bottom: 16px;
}

.brand h1 {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.brand p {
  margin-top: 8px;
  color: var(--muted-foreground);
  font-size: 0.9375rem;
}

.brand .features {
  margin-top: 24px;
  list-style: none;
  color: var(--muted-foreground);
  font-size: 0.875rem;
  line-height: 1.8;
}

.card {
  border: 1px solid color-mix(in oklch, var(--border) 50%, transparent);
  border-radius: var(--radius);
  padding: 28px;
  background: var(--card);
  box-shadow: 0 2px 16px -6px rgba(0, 0, 0, 0.08);
}

.card h2 {
  font-size: 1.125rem;
  font-weight: 600;
}

.card .sub {
  margin-top: 6px;
  margin-bottom: 20px;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.card label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 500;
  margin-bottom: 6px;
}

.card input {
  width: 100%;
  height: 2.5rem;
  border-radius: 0.5rem;
  border: 1px solid var(--border);
  background: var(--background);
  color: var(--foreground);
  padding: 0 12px;
  font-size: 0.875rem;
  margin-bottom: 14px;
}

.card button {
  width: 100%;
  height: 2.75rem;
  border: none;
  border-radius: 0.5rem;
  background: var(--primary);
  color: var(--primary-foreground);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
}

.card button:hover {
  filter: brightness(1.05);
}

.err {
  color: var(--destructive);
  font-size: 0.8125rem;
  margin-bottom: 12px;
}
