:root {
  color-scheme: dark;
  --bg: #0a0f1a;
  --surface: #0f1929;
  --surface-alt: #162849;
  --surface-hover: #1a3a5c;
  --text: #e8eef7;
  --text-secondary: #b0bfd4;
  --muted: #7a8fa0;
  --accent: #3b82f6;
  --accent-dark: #1e3a8a;
  --accent-light: #60a5fa;
  --accent-soft: rgba(59, 130, 246, 0.12);
  --accent-soft-hover: rgba(59, 130, 246, 0.2);
  --border: rgba(59, 130, 246, 0.15);
  --border-hover: rgba(59, 130, 246, 0.3);
  --shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
  --shadow-hover: 0 8px 24px rgba(59, 130, 246, 0.15);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Inter", "Segoe UI", -apple-system, sans-serif;
  background: linear-gradient(135deg, #0a0f1a 0%, #0f172a 50%, #081634 100%);
  color: var(--text);
  line-height: 1.6;
  font-weight: 400;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--accent-light);
  text-decoration: underline;
}

a:active {
  color: var(--accent-dark);
}

.page {
  min-height: 100vh;
}

.site-shell {
  max-width: 1080px;
  margin: 0 auto;
  padding: 2rem 1.2rem 3rem;
}

header {
  margin-bottom: 2rem;
}

.eyebrow {
  margin: 0 0 0.75rem;
  color: var(--accent-light);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.8rem;
  font-weight: 600;
  opacity: 0.9;
}

.site-brand {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.site-title {
  margin: 0;
  font-size: clamp(2rem, 4vw, 2.9rem);
  letter-spacing: -0.03em;
  font-weight: 700;
  background: linear-gradient(135deg, #e8eef7, #60a5fa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.site-subtitle {
  margin: 0.5rem 0 0;
  color: var(--text-secondary);
  max-width: 42rem;
  font-size: 0.95rem;
}

.site-nav {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.65rem;
  justify-content: flex-start;
  overflow-x: auto;
  padding-bottom: 0.35rem;
  -webkit-overflow-scrolling: touch;
}

.site-nav::-webkit-scrollbar {
  height: 8px;
}

.site-nav::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.14);
  border-radius: 999px;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.1rem;
  background: rgba(59, 130, 246, 0.08);
  border: 1px solid var(--border);
  border-radius: 999px;
  transition: all 0.25s ease;
  font-size: 0.9rem;
  font-weight: 500;
  white-space: nowrap;
  flex: 0 0 auto;
  color: var(--text);
}

.site-nav a:hover {
  background: var(--accent-soft-hover);
  border-color: var(--border-hover);
  color: var(--accent-light);
  transform: translateY(-2px);
}

.site-nav a:active {
  transform: translateY(0);
}

main {
  display: grid;
  gap: 1.5rem;
}

.hero,
.card {
  background: linear-gradient(135deg, rgba(15, 25, 41, 0.8) 0%, rgba(22, 40, 73, 0.4) 100%);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 1.8rem;
  backdrop-filter: blur(8px);
  transition: all 0.3s ease;
  box-shadow: var(--shadow);
}

.hero:hover,
.card:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}

.grid-2 {
  display: grid;
  gap: 1.8rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card h2,
.hero h2 {
  margin-top: 0;
  margin-bottom: 0.8rem;
  color: var(--text);
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.card h3 {
  margin: 0 0 0.5rem;
  color: var(--accent-light);
  font-size: 1.1rem;
  font-weight: 600;
  transition: color 0.2s ease;
}

.card a h3:hover {
  color: #ffffff;
}

.section-title {
  margin-bottom: 1rem;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text);
}

.card p,
.hero p,
.card li {
  color: var(--text-secondary);
  margin: 0.5rem 0;
}

.card ul {
  padding-left: 1.2rem;
  margin: 0.85rem 0 0;
}

.card li {
  margin-bottom: 0.7rem;
}

footer {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  color: var(--muted);
  text-align: center;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
}

@media (max-width: 880px) {
  .grid-2 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .site-shell {
    padding: 1.4rem 1rem 2.2rem;
  }

  .site-nav {
    width: 100%;
    justify-content: flex-start;
  }

  .site-nav a {
    font-size: 0.85rem;
    padding: 0.65rem 0.85rem;
  }

  .site-title {
    font-size: 2.2rem;
  }
}
