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

:root {
  --bg: #0f1117;
  --surface: #181c27;
  --border: #252b3b;
  --text: #e2e8f0;
  --muted: #8892a4;
  --accent: #6366f1;
  --accent-hover: #4f46e5;
  font-size: 16px;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'DM Sans', system-ui, sans-serif;
  line-height: 1.6;
  min-height: 100vh;
}

main {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

header {
  padding: 2rem 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.login-btn {
  display: inline-block;
  padding: 0.5rem 1.25rem;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 500;
  font-size: 0.875rem;
  transition: background 0.15s;
}

.login-btn:hover { background: var(--accent-hover); }

.wordmark {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.02em;
}

.hero {
  padding: 5rem 0 4rem;
}

.hero h1 {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.03em;
  max-width: 600px;
  margin-bottom: 1.25rem;
}

.subtitle {
  font-size: 1.125rem;
  color: var(--muted);
  max-width: 480px;
  margin-bottom: 2.5rem;
}

.cta {
  display: inline-block;
  padding: 0.75rem 1.75rem;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 500;
  font-size: 0.9375rem;
  transition: background 0.15s;
}

.cta:hover { background: var(--accent-hover); }

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  padding: 4rem 0 6rem;
  border-top: 1px solid var(--border);
}

.feature {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.5rem;
}

.feature-icon {
  display: block;
  font-size: 1.25rem;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.feature h3 {
  font-size: 0.9375rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.feature p {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.55;
}
