:root {
  --bg: #070b14;
  --bg-soft: #0d1320;
  --panel: rgba(18, 27, 44, 0.78);
  --text: #f5f7fb;
  --muted: #9aa8bd;
  --line: rgba(255, 255, 255, 0.1);
  --accent: #7c5cff;
  --accent-2: #29d3c2;
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at 15% 10%, rgba(124, 92, 255, 0.2), transparent 30%),
    radial-gradient(circle at 85% 20%, rgba(41, 211, 194, 0.12), transparent 26%),
    var(--bg);
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  line-height: 1.7;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--line);
  background: rgba(7, 11, 20, 0.82);
  backdrop-filter: blur(18px);
}

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

.logo {
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.logo span {
  color: var(--accent-2);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  color: var(--muted);
  font-size: 0.95rem;
}

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

.hero {
  padding: 110px 0 90px;
}

.eyebrow {
  margin-bottom: 18px;
  color: var(--accent-2);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 900px;
  margin-bottom: 24px;
  font-size: clamp(3rem, 8vw, 6.7rem);
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.hero-copy {
  max-width: 720px;
  margin-bottom: 36px;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.2rem);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-weight: 700;
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.28);
}

.button-primary {
  border-color: transparent;
  background: linear-gradient(135deg, var(--accent), #5d8cff);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.04);
}

.section {
  padding: 72px 0;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 28px;
}

.section-heading h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 5vw, 3.5rem);
  letter-spacing: -0.04em;
}

.section-heading p {
  max-width: 520px;
  margin-bottom: 4px;
  color: var(--muted);
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.card {
  min-height: 250px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.07),
      rgba(255, 255, 255, 0.02)
    ),
    var(--panel);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.22);
  transition:
    transform 0.25s ease,
    border-color 0.25s ease;
}

.card:hover {
  transform: translateY(-5px);
  border-color: rgba(124, 92, 255, 0.55);
}

.card-number {
  display: block;
  margin-bottom: 54px;
  color: var(--accent-2);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.card h3 {
  margin-bottom: 10px;
  font-size: 1.35rem;
}

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

.page-hero {
  padding: 84px 0 50px;
}

.page-hero h1 {
  font-size: clamp(2.8rem, 7vw, 5.5rem);
}

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

.article-item {
  display: grid;
  grid-template-columns: 120px 1fr auto;
  align-items: center;
  gap: 20px;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.035);
}

.article-item:hover {
  border-color: rgba(124, 92, 255, 0.48);
}

.article-date,
.article-arrow {
  color: var(--muted);
  font-size: 0.9rem;
}

.article-item h2 {
  margin: 0;
  font-size: 1.1rem;
}

.content {
  max-width: 780px;
  padding-bottom: 90px;
}

.content h2 {
  margin-top: 46px;
  font-size: 1.8rem;
}

.content p,
.content li {
  color: var(--muted);
}

.site-footer {
  margin-top: 60px;
  border-top: 1px solid var(--line);
}

.footer-inner {
  min-height: 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
  font-size: 0.9rem;
}

@media (max-width: 820px) {
  .nav {
    min-height: auto;
    padding: 18px 0;
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    width: 100%;
    gap: 16px;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .hero {
    padding: 80px 0 64px;
  }

  .grid {
    grid-template-columns: 1fr;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .article-item {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .article-arrow {
    display: none;
  }

  .footer-inner {
    padding: 28px 0;
    align-items: flex-start;
    flex-direction: column;
  }
}
