:root {
  --bg: #08111f;
  --card: #101b2f;
  --card-2: #13233d;
  --line: rgba(255, 255, 255, 0.1);
  --text: #edf5ff;
  --muted: #a7b8d2;
  --blue: #5ad7ff;
  --yellow: #ffd166;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(90, 215, 255, 0.18), transparent 34%),
    radial-gradient(circle at top right, rgba(255, 209, 102, 0.13), transparent 28%),
    var(--bg);
  color: var(--text);
}

a {
  color: inherit;
}

.site-header,
.site-footer,
.page {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 900;
}

.brand img {
  width: 46px;
  height: 46px;
  object-fit: contain;
}

.site-header nav,
.site-footer div {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.site-header nav a,
.site-footer a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
}

.page {
  display: grid;
  gap: 22px;
  padding: 20px 0 54px;
}

.hero,
.article-card,
.cta-box,
.article-group {
  border: 1px solid var(--line);
  border-radius: 30px;
  background: rgba(16, 27, 47, 0.86);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.22);
  padding: clamp(22px, 4vw, 42px);
}

.hero h1,
.article-card h1 {
  max-width: 900px;
  margin: 10px 0 14px;
  font-size: clamp(34px, 6vw, 64px);
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.article-card h1 {
  font-size: clamp(32px, 5vw, 56px);
}

.hero p,
.lead {
  max-width: 780px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
}

.eyebrow {
  color: var(--yellow);
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin-top: 12px;
  padding: 0 18px;
  border-radius: 16px;
  background: linear-gradient(90deg, var(--blue), #9be9ff);
  color: #062235;
  text-decoration: none;
  font-weight: 900;
}

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

.article-link {
  display: grid;
  gap: 10px;
  min-height: 184px;
  padding: 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.07);
  text-decoration: none;
}

.article-link span {
  color: var(--yellow);
  font-size: 12px;
  font-weight: 900;
}

.article-link strong {
  font-size: 18px;
}

.article-link p,
.article-card p,
.article-card li,
.cta-box p,
.site-footer {
  color: var(--muted);
  line-height: 1.75;
}

.article-card section + section {
  margin-top: 30px;
}

.article-card h2,
.article-group h2,
.cta-box h2 {
  margin: 0 0 12px;
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.1;
}

.article-card code,
.tag-cloud code {
  display: inline-flex;
  margin: 4px 4px 4px 0;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(90, 215, 255, 0.09);
  border: 1px solid rgba(90, 215, 255, 0.18);
  color: #dff8ff;
}

.dense-list {
  columns: 2;
  column-gap: 34px;
}

.dense-list li {
  break-inside: avoid;
  margin-bottom: 6px;
}

.cta-box {
  background:
    linear-gradient(135deg, rgba(90, 215, 255, 0.14), transparent),
    rgba(19, 35, 61, 0.92);
}

.cta-box span {
  color: var(--yellow);
  font-weight: 900;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px 0 38px;
  border-top: 1px solid var(--line);
}

@media (max-width: 820px) {
  .site-header,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .dense-list {
    columns: 1;
  }
}
