:root {
  --bg1: #050816;
  --bg2: #0b1026;
  --card: rgba(255,255,255,0.06);
  --card-strong: rgba(255,255,255,0.08);
  --text: #f5f7ff;
  --muted: #b8c2ff;
  --line: rgba(255,255,255,0.12);
  --accent: #8ea0ff;
  --accent2: #6ee7ff;
  --shadow: 0 12px 40px rgba(0, 0, 0, 0.28);
  --radius: 18px;
  --max: 1100px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(110,231,255,0.08), transparent 28%),
    radial-gradient(circle at top right, rgba(142,160,255,0.10), transparent 25%),
    linear-gradient(180deg, var(--bg1), var(--bg2));
  min-height: 100vh;
  line-height: 1.6;
}

a {
  color: var(--accent2);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  backdrop-filter: blur(12px);
  background: rgba(5, 8, 22, 0.72);
  border-bottom: 1px solid var(--line);
  z-index: 10;
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  gap: 20px;
}

.brand {
  color: var(--text);
  font-weight: 800;
  letter-spacing: 0.02em;
  font-size: 1.1rem;
}

.nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.nav a {
  color: var(--muted);
}

.nav a.active,
.nav a:hover {
  color: var(--text);
  text-decoration: none;
}

.hero {
  padding: 72px 0 32px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 24px;
  align-items: stretch;
}

.eyebrow {
  color: var(--accent2);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0 0 10px;
}

h1, h2, h3 {
  line-height: 1.15;
  margin-top: 0;
}

h1 {
  font-size: clamp(2rem, 4vw, 3.6rem);
  margin-bottom: 16px;
}

h2 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  margin-bottom: 14px;
}

h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.lead {
  font-size: 1.08rem;
  color: var(--muted);
  max-width: 60ch;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #04101f;
  font-weight: 700;
  box-shadow: var(--shadow);
}

.button:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.button.secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line);
  box-shadow: none;
}

.section {
  padding: 28px 0 48px;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.grid {
  display: grid;
  gap: 20px;
}

.cards-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.cards-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
}

.card:hover {
  background: var(--card-strong);
}

.tag {
  display: inline-block;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(142,160,255,0.12);
  border: 1px solid rgba(142,160,255,0.25);
  color: var(--accent2);
  font-size: 0.82rem;
  margin-bottom: 12px;
}

.list {
  padding-left: 18px;
  margin-bottom: 0;
}

.list li + li {
  margin-top: 8px;
}

.muted {
  color: var(--muted);
}

.article-list {
  display: grid;
  gap: 18px;
}

.article-card p:last-child {
  margin-bottom: 0;
}

.narrow {
  max-width: 760px;
}

.contact-box {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.center {
  text-align: center;
}

.site-footer {
  border-top: 1px solid var(--line);
  margin-top: 24px;
  background: rgba(5, 8, 22, 0.45);
}

.footer-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 72px;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

@media (max-width: 900px) {
  .hero-grid,
  .cards-2,
  .cards-3 {
    grid-template-columns: 1fr;
  }

  .nav-wrap {
    align-items: flex-start;
    padding: 12px 0;
    flex-direction: column;
  }
}
