:root {
  --bg: #0b1020;
  --panel: #121a2e;
  --panel-soft: #17213a;
  --text: #f5f7ff;
  --muted: #b8c0d9;
  --accent: #6ea8fe;
  --accent-strong: #8bb9ff;
  --border: rgba(255, 255, 255, 0.10);
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top right, rgba(70, 116, 255, 0.18), transparent 34rem),
    linear-gradient(180deg, #0b1020 0%, #090d18 100%);
  color: var(--text);
  line-height: 1.7;
}

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

a:hover {
  color: #b9d3ff;
}

.site-header {
  border-bottom: 1px solid var(--border);
  background: rgba(11, 16, 32, 0.86);
  backdrop-filter: blur(14px);
  position: sticky;
  top: 0;
  z-index: 10;
}

.header-inner,
main,
.footer-inner {
  width: min(960px, calc(100% - 32px));
  margin: 0 auto;
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  text-decoration: none;
  font-weight: 750;
  letter-spacing: 0.01em;
}

.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #4f7cff, #79b7ff);
  box-shadow: 0 10px 30px rgba(79, 124, 255, 0.28);
  font-weight: 900;
  color: white;
}

nav {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

nav a {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.95rem;
}

nav a:hover {
  color: var(--text);
}

main {
  padding: 64px 0 80px;
}

.hero {
  padding: 44px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(23, 33, 58, 0.94), rgba(18, 26, 46, 0.88));
  box-shadow: var(--shadow);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  text-transform: uppercase;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.13em;
}

h1,
h2,
h3 {
  line-height: 1.2;
}

h1 {
  margin: 0;
  font-size: clamp(2rem, 6vw, 3.7rem);
}

h2 {
  margin-top: 0;
  font-size: 1.55rem;
}

.lead {
  max-width: 720px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
}

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

.card,
.content-card {
  border: 1px solid var(--border);
  background: rgba(18, 26, 46, 0.9);
  border-radius: 20px;
  padding: 28px;
  box-shadow: var(--shadow);
}

.card {
  text-decoration: none;
  color: var(--text);
  transition: transform 160ms ease, border-color 160ms ease;
}

.card:hover {
  transform: translateY(-3px);
  border-color: rgba(110, 168, 254, 0.46);
  color: var(--text);
}

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

.card strong {
  display: block;
  font-size: 1.15rem;
  margin-bottom: 6px;
}

.content-card + .content-card {
  margin-top: 18px;
}

.meta {
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.95rem;
}

.callout {
  border-left: 4px solid var(--accent);
  padding: 16px 18px;
  background: rgba(110, 168, 254, 0.08);
  border-radius: 0 12px 12px 0;
  color: var(--muted);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 12px;
  background: linear-gradient(135deg, #5a84ff, #74afff);
  color: white;
  text-decoration: none;
  font-weight: 750;
  box-shadow: 0 10px 26px rgba(79, 124, 255, 0.22);
}

.button:hover {
  color: white;
  filter: brightness(1.06);
}

.site-footer {
  border-top: 1px solid var(--border);
  background: rgba(7, 10, 20, 0.75);
}

.footer-inner {
  padding: 26px 0;
  color: var(--muted);
  font-size: 0.92rem;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

ul,
ol {
  padding-left: 1.25rem;
}

code {
  background: rgba(255, 255, 255, 0.08);
  padding: 0.15rem 0.35rem;
  border-radius: 6px;
}

@media (max-width: 720px) {
  .header-inner {
    align-items: flex-start;
    flex-direction: column;
    padding: 16px 0;
  }

  main {
    padding-top: 36px;
  }

  .hero {
    padding: 28px;
  }

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

  .card,
  .content-card {
    padding: 22px;
  }
}