/* KnownBy Landing — Trust through connection */

:root {
  --cornflower: #6495ED;
  --cornflower-dark: #4a7ad9;
  --cornflower-light: #8eb3f5;
  --bg: #f7f9fc;
  --surface: #ffffff;
  --text: #1e293b;
  --text-muted: #64748b;
  --border: #e2e8f0;
  --radius: 12px;
  --shadow: 0 4px 24px rgba(100, 149, 237, 0.12);
}

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

html, body {
  height: 100%;
}

body {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: linear-gradient(160deg, #f7f9fc 0%, #eef3fb 100%);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.25rem;
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.header {
  margin-bottom: 2.5rem;
}

.logo {
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--cornflower);
}

.hero h1 {
  font-size: clamp(2.25rem, 5vw, 3.25rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
  color: var(--text);
}

.tagline {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 540px;
  margin: 0 auto 2.5rem;
}

.waitlist-form {
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  background: var(--surface);
  padding: 0.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

@media (min-width: 640px) {
  .form-group {
    flex-direction: row;
    align-items: stretch;
  }
}

input[type="email"] {
  flex: 1;
  padding: 0.875rem 1.125rem;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  background: transparent;
  color: var(--text);
  outline: none;
}

input[type="email"]::placeholder {
  color: #94a3b8;
}

input[type="email"]:focus {
  box-shadow: inset 0 0 0 2px var(--cornflower-light);
}

.btn {
  background: var(--cornflower);
  color: white;
  border: none;
  padding: 0.875rem 1.5rem;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.1s ease;
  white-space: nowrap;
}

.btn:hover {
  background: var(--cornflower-dark);
}

.btn:active {
  transform: translateY(1px);
}

.btn:disabled {
  background: #94a3b8;
  cursor: not-allowed;
}

.form-note {
  margin-top: 0.875rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.form-success {
  margin-top: 1rem;
  color: #059669;
  font-weight: 500;
}

.form-error {
  margin-top: 1rem;
  color: #dc2626;
  font-weight: 500;
}

.footer {
  margin-top: 4rem;
  font-size: 0.875rem;
  color: #94a3b8;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Desktop refinements */
@media (min-width: 768px) {
  .container {
    padding: 3rem 2rem;
  }

  .hero h1 {
    margin-bottom: 1.25rem;
  }

  .tagline {
    font-size: 1.2rem;
    margin-bottom: 3rem;
  }
}
