:root {
  color-scheme: light;
  --bg: #0b1020;
  --card: #121936;
  --text: #e8ecff;
  --muted: #b7c0e0;
  --accent: #63a4ff;
  --accent-2: #72f4c8;
  --line: #2a355f;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  background: linear-gradient(180deg, var(--bg), #0f1630);
  color: var(--text);
  line-height: 1.6;
}

.container {
  width: min(1080px, 92vw);
  margin: 0 auto;
}

header {
  border-bottom: 1px solid var(--line);
  background: rgba(11, 16, 32, 0.9);
  backdrop-filter: blur(4px);
  position: sticky;
  top: 0;
}

.home-header {
  position: static;
  backdrop-filter: none;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
}

.brand-logo {
  width: 32px;
  height: 32px;
  object-fit: contain;
  border-radius: 0.35rem;
}

.links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

a {
  color: var(--accent-2);
}

.links a {
  color: var(--muted);
  text-decoration: none;
}

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

.hero h1 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1.15;
}

.hero p {
  color: var(--muted);
  max-width: 62ch;
  margin-top: 1rem;
}

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

.btn {
  display: inline-block;
  text-decoration: none;
  padding: 0.75rem 1rem;
  border-radius: 0.65rem;
  border: 1px solid transparent;
  font-weight: 600;
}

.btn.primary {
  background: var(--accent);
  color: #091226;
}

.btn.secondary {
  border-color: var(--line);
  color: var(--text);
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin: 2rem 0 3rem;
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  padding: 1rem;
}

main.page {
  padding: 2rem 0 4rem;
}

main.page h1 {
  margin-bottom: 0.5rem;
}

main.page h2 {
  margin-top: 2rem;
}

footer {
  border-top: 1px solid var(--line);
  padding: 1.5rem 0 2.5rem;
  color: var(--muted);
}

.home-footer {
  margin-top: 1.5rem;
}

.footer-links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.2rem;
  padding-bottom: 1rem;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.footer-col h4 {
  margin: 0 0 0.2rem;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 600;
}

.footer-col a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
}

.footer-col a:hover {
  color: var(--text);
}
