/*
  Minimal, modern CSS for a clean, responsive one-page site.
  System fonts for performance, gentle color palette, and accessible contrast.
*/

:root {
  --bg: #0e0f12;
  --panel: #12141a;
  --text: #e8ecf1;
  --muted: #b4bdc7;
  --primary: #6aa3ff;
  --primary-strong: #3b82f6;
  --accent: #161a22;
  --ring: rgba(106, 163, 255, 0.35);
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
}

* {
  box-sizing: border-box;
}

html, body {
  height: 100%;
}

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, Apple Color Emoji, Segoe UI Emoji;
  color: var(--text);
  background: radial-gradient(1200px 600px at 10% -10%, #1b2030 0%, transparent 60%),
              radial-gradient(1000px 500px at 110% 10%, #101625 0%, transparent 60%),
              var(--bg);
  line-height: 1.6;
}

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: saturate(140%) blur(8px);
  background: rgba(18, 20, 26, 0.6);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
}

.brand {
  font-weight: 700;
  letter-spacing: 0.3px;
}

.nav a {
  color: var(--text);
  text-decoration: none;
  margin-left: 18px;
  opacity: 0.9;
}

.nav a:hover {
  opacity: 1;
}

.hero {
  padding: 96px 0 56px;
  text-align: left;
}

.hero h1 {
  margin: 0 0 12px;
  font-size: clamp(28px, 4.4vw, 44px);
  line-height: 1.15;
}

.subtitle {
  color: var(--muted);
  font-size: clamp(16px, 2.2vw, 18px);
  max-width: 800px;
}

.cta {
  margin-top: 20px;
  display: flex;
  gap: 12px;
}

.btn {
  display: inline-block;
  padding: 10px 16px;
  border-radius: 10px;
  background: linear-gradient(180deg, var(--primary) 0%, var(--primary-strong) 100%);
  color: white;
  text-decoration: none;
  box-shadow: var(--shadow);
  transition: transform 150ms ease, box-shadow 150ms ease;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 40px rgba(59, 130, 246, 0.35);
}

.btn-ghost {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--text);
  box-shadow: none;
}

.section {
  padding: 56px 0;
}

.section-accent {
  background: var(--accent);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.card-list {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat( auto-fit, minmax(240px, 1fr) );
  gap: 16px;
}

.card {
  background: var(--panel);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  padding: 18px;
  box-shadow: var(--shadow);
}

.card h3 {
  margin: 0 0 8px;
  font-size: 18px;
}

.card p {
  margin: 0;
  color: var(--muted);
}

.max-width {
  max-width: 800px;
}

.site-footer {
  padding: 40px 0 60px;
  color: var(--muted);
}

@media (max-width: 640px) {
  .nav a { margin-left: 14px; }
  .site-header .container { padding: 12px 16px; }
  .cta { flex-wrap: wrap; }
}


