/* Gate CSS — matches ktsworkshop design tokens */
:root {
  --gate-primary: #00499a;
  --gate-primary-hover: #003B7B;
  --gate-background: #F8F7F4;
  --gate-foreground: #171717;
  --gate-card: #ffffff;
  --gate-card-foreground: #171717;
  --gate-muted-foreground: #737373;
  --gate-border: #DDD9CD;
  --gate-destructive: #ef4444;
  --gate-radius: 0.75rem;
  --gate-font-sans: 'Inter', system-ui, sans-serif;
  --gate-font-display: 'Acme', system-ui, sans-serif;
}

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

body {
  background: var(--gate-background);
  color: var(--gate-foreground);
  font-family: var(--gate-font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

#gate-root {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gate-card {
  background: var(--gate-card);
  color: var(--gate-card-foreground);
  border-radius: 1rem;
  border: 1px solid var(--gate-border);
  padding: 2rem;
  max-width: 24rem;
  width: 100%;
  text-align: center;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.gate-card > * + * {
  margin-top: 1rem;
}


.gate-subtitle {
  color: var(--gate-muted-foreground);
  font-size: 0.875rem;
  line-height: 1.5;
}

.gate-btn {
  display: block;
  width: 100%;
  padding: 0.625rem 1rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  font-family: var(--gate-font-sans);
  background: var(--gate-primary);
  color: #ffffff;
  border: none;
  cursor: pointer;
  transition: background-color 0.15s;
}

.gate-btn:hover {
  background: var(--gate-primary-hover);
}

.gate-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.gate-error {
  color: var(--gate-destructive);
  font-size: 0.8125rem;
  line-height: 1.4;
}

.gate-brand {
  font-family: var(--gate-font-display);
  font-size: 1.75rem;
  color: var(--gate-primary);
  line-height: 1.3;
  letter-spacing: -0.01em;
}

@keyframes gate-fade-in {
  0% { opacity: 0; transform: translateY(10px); }
  100% { opacity: 1; transform: translateY(0); }
}

.gate-card {
  animation: gate-fade-in 0.3s ease-out;
}
