:root {
  color-scheme: dark;
  --bg: #020617;
  --panel: rgba(15, 23, 42, 0.92);
  --text: #f8fafc;
  --muted: #94a3b8;
  --accent: #2563eb;
  --accent-2: #4f46e5;
  --border: rgba(148, 163, 184, 0.35);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: radial-gradient(circle at top, #0f172a 0, #020617 55%, #000 100%);
  color: var(--text);
  min-height: 100vh;
}

a {
  color: inherit;
}

.header,
.hero,
.features,
.footer {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
}

.logo {
  font-weight: 700;
  letter-spacing: 0.02em;
}

.logo-sub {
  font-weight: 500;
  color: var(--muted);
}

.hero {
  padding-top: 3rem;
  padding-bottom: 4rem;
}

.eyebrow {
  color: #60a5fa;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
  margin: 0 0 0.75rem;
}

h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.1;
  margin: 0 0 1rem;
}

.lead {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.6;
  max-width: 42rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.25rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  border: 1px solid transparent;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #eff6ff;
  box-shadow: 0 16px 40px rgba(37, 99, 235, 0.45);
}

.btn-ghost {
  border-color: var(--border);
  color: var(--text);
  background: rgba(15, 23, 42, 0.5);
}

.env-note {
  margin-top: 1.25rem;
  color: var(--muted);
  font-size: 0.85rem;
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  padding-bottom: 4rem;
}

.features article {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1.25rem;
}

.features h2 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
}

.features p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 2rem 1.5rem 3rem;
  color: var(--muted);
  font-size: 0.85rem;
  border-top: 1px solid rgba(148, 163, 184, 0.15);
}
