:root {
  --accent: #16d9ff;
  --accent-strong: #08bfe6;
  --ink: #edf6ff;
  --muted: #93a9c3;
  --line: rgba(44, 86, 126, 0.72);
  --bg: #06101d;
  --panel: #0a1627;
  --soft: rgba(12, 28, 48, 0.92);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(22, 217, 255, 0.15), transparent 24%),
    radial-gradient(circle at top right, rgba(16, 72, 145, 0.18), transparent 30%),
    linear-gradient(180deg, #050c18 0%, var(--bg) 100%);
  line-height: 1.68;
}

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

.wrap {
  max-width: 860px;
  margin: 0 auto;
  padding: 34px 22px 72px;
}

.home-wrap { max-width: 1180px; }

.top {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 18px;
}

.top img, .home-brand img {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  box-shadow: 0 10px 28px rgba(15, 118, 110, .18);
}

.top b { font-size: 18px; }

.nav {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin: 8px 0 32px;
  font-size: 14px;
  font-weight: 700;
}

.nav a { text-decoration: none; }

article, .hero-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 34px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.28);
}

.eyebrow {
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

h1 {
  font-size: clamp(34px, 5vw, 54px);
  line-height: 1.05;
  margin: 10px 0 16px;
}

.intro {
  color: #c8dbef;
  font-size: 18px;
  margin-bottom: 26px;
}

h2 {
  font-size: 25px;
  line-height: 1.2;
  margin: 34px 0 10px;
}

h3 {
  font-size: 18px;
  margin: 24px 0 6px;
}

p, li, span { color: #c8dbef; }

ol, ul { padding-left: 22px; }

li { margin: 8px 0; }

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 20px 0 26px;
}

.tag-row a {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 5px 10px;
  border: 1px solid rgba(22, 217, 255, .24);
  border-radius: 999px;
  background: rgba(9, 29, 49, 0.94);
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.cta {
  margin: 36px 0 8px;
  padding: 24px;
  border-radius: 18px;
  background: var(--soft);
  border: 1px solid rgba(22, 217, 255, 0.18);
}

.cta h2 { margin-top: 0; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  margin-top: 8px;
  padding: 12px 18px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-strong) 100%);
  color: #03111f;
  text-decoration: none;
  font-weight: 800;
  box-shadow: 0 10px 28px rgba(22, 217, 255, 0.24);
}

.related, .article-list {
  display: grid;
  gap: 12px;
}

.related a, .article-list a {
  display: block;
  padding: 14px 16px;
  background: rgba(10, 22, 39, 0.98);
  border: 1px solid var(--line);
  border-radius: 14px;
  text-decoration: none;
  color: #f2f8ff;
  font-weight: 700;
}

.related a:hover, .article-list a:hover {
  border-color: rgba(22, 217, 255, 0.46);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.22);
}

.article-list span {
  display: block;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  margin-top: 3px;
}

.home-nav {
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.home-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #f2f8ff;
  text-decoration: none;
  font-weight: 900;
}

.home-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hero-card {
  padding: 0;
  overflow: hidden;
}

.hero-media {
  margin: 0;
  border-radius: 18px;
}

.hero-media picture,
.hero-media img,
.blog-figure picture,
.blog-figure img {
  display: block;
  width: 100%;
  height: auto;
}

.blog-figure {
  margin: 28px 0;
}

.blog-figure img {
  border-radius: 16px;
  border: 1px solid var(--line);
  background: #06111f;
}

.home-links {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 16px 0 24px;
}

.home-footer, footer {
  color: var(--muted);
  font-size: 13px;
  margin-top: 34px;
  text-align: center;
}

@media (max-width: 820px) {
  .home-links {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .wrap { padding: 24px 16px 56px; }
  article { padding: 24px 18px; }
  .hero-card { padding: 0; }
}

