*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  --bg-page: #0b0f17;
  --bg-elevated: #151b26;
  --bg-nav: #080b12;
  --text: #f3f4f6;
  --text-muted: #9ca3af;
  --accent: #60a5fa;
  --accent-strong: #3b82f6;
  --border: #243044;
  --shadow: 0 10px 25px -8px rgba(0, 0, 0, 0.55);
  --radius: 0.5rem;
  --radius-full: 9999px;
  --container: 1140px;
}

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg-page);
  color: var(--text);
  line-height: 1.5;
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}

.navbar {
  background: var(--bg-nav);
  border-bottom: 1px solid var(--border);
  padding: 1rem 0;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.brand-mark {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #93c5fd, #2563eb 55%, #0f172a);
  flex-shrink: 0;
}

.brand-name {
  color: var(--text);
  font-size: 1.25rem;
  font-weight: 700;
}

.btn {
  display: inline-block;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-outline:hover,
.btn-outline:focus-visible {
  background: var(--accent-strong);
  border-color: var(--accent-strong);
  color: #fff;
}

.btn-primary {
  background: var(--accent-strong);
  color: #fff;
  padding: 0.75rem 1.5rem;
  border: 1px solid transparent;
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--accent);
  color: #0b0f17;
}

.hero {
  padding: 5rem 0;
  text-align: center;
  color: var(--text);
  background:
    radial-gradient(ellipse at top, rgba(59, 130, 246, 0.22), transparent 55%),
    linear-gradient(180deg, #101826 0%, var(--bg-page) 100%);
  border-bottom: 1px solid var(--border);
}

.hero-inner h1 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 5vw, 3.75rem);
  font-weight: 700;
  line-height: 1.15;
}

.hero-inner p {
  margin: 0 0 2rem;
  font-size: clamp(1.125rem, 2.5vw, 1.25rem);
  color: var(--text-muted);
}

.features {
  padding: 4rem 0;
}

.features h2 {
  margin: 0 0 2rem;
  text-align: center;
  font-size: clamp(1.875rem, 4vw, 2.25rem);
  font-weight: 700;
}

.feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.feature-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.5rem;
  text-align: center;
}

.feature-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.25rem;
  font-weight: 700;
}

.feature-card p {
  margin: 0;
  color: var(--text-muted);
}

.footer {
  background: var(--bg-nav);
  color: var(--text-muted);
  border-top: 1px solid var(--border);
  padding: 2rem 0;
  text-align: center;
}

.footer p {
  margin: 0;
}

.footer p + p {
  margin-top: 0.5rem;
}

.footer-mail {
  color: var(--accent);
  font-weight: 600;
}

.footer-mail:hover,
.footer-mail:focus-visible {
  color: #93c5fd;
}

@media (min-width: 768px) {
  .feature-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
