:root {
  --bg: #07111a;
  --bg-top: #0d1d2b;
  --surface: rgba(10, 21, 32, 0.76);
  --surface-strong: rgba(8, 17, 27, 0.92);
  --text: #edf6ff;
  --muted: #90a6bb;
  --line: rgba(111, 210, 255, 0.16);
  --accent: #7cf7d4;
  --accent-strong: #42c8ff;
  --glow: rgba(124, 247, 212, 0.18);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  font-size: 16px;
}

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 20% 0%, rgba(66, 200, 255, 0.22), transparent 28%),
    radial-gradient(circle at 100% 20%, rgba(124, 247, 212, 0.15), transparent 26%),
    linear-gradient(180deg, var(--bg-top) 0%, var(--bg) 62%, #040b11 100%);
  font-family: "Space Grotesk", "IBM Plex Sans", "Segoe UI", sans-serif;
  line-height: 1.65;
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(circle at center, black, transparent 88%);
  pointer-events: none;
}

a {
  color: inherit;
}

.site-shell {
  min-height: 100vh;
  position: relative;
}

.site-header,
.site-main,
.site-footer__inner {
  width: min(calc(100% - 2rem), var(--max-width));
  margin: 0 auto;
}

.site-header {
  padding: 1.5rem 0 0;
}

.site-header__inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1rem 0 1.5rem;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  flex-direction: column;
  gap: 0.35rem;
  text-decoration: none;
}

.brand__title {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.brand__tagline {
  max-width: 30rem;
  color: var(--muted);
  font-size: 0.88rem;
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.85rem;
}

.main-nav__link {
  padding: 0.55rem 0.9rem;
  border: 1px solid transparent;
  border-radius: 999px;
  text-decoration: none;
  color: var(--muted);
  transition: color 180ms ease, border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.main-nav__link:hover,
.main-nav__link:focus-visible {
  color: var(--text);
  border-color: var(--line);
  background: rgba(66, 200, 255, 0.08);
  transform: translateY(-1px);
}

.site-main {
  padding: 2.8rem 0 4.5rem;
}

.hero {
  padding: 1rem 0 2rem;
}

.hero__inner,
.content-page,
.posts-preview,
.info-card {
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.hero__inner {
  padding: clamp(2rem, 5vw, 4rem);
  border-radius: 1.75rem;
  position: relative;
  overflow: hidden;
}

.hero__inner::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(124, 247, 212, 0.06), transparent 45%),
    radial-gradient(circle at top right, rgba(66, 200, 255, 0.12), transparent 28%);
  pointer-events: none;
}

.hero__meta,
.hero__facts,
.hero h1,
.hero__lead,
.hero__intro,
.hero__actions {
  position: relative;
  z-index: 1;
}

.eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}

.hero__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.hero__status {
  margin: 0 0 0.75rem;
  color: var(--muted);
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero h1,
.content-header h1 {
  margin: 0;
  font-size: clamp(2.7rem, 7vw, 5.6rem);
  line-height: 0.94;
  letter-spacing: -0.04em;
}

.hero__lead {
  max-width: 38rem;
  margin: 1.25rem 0 0;
  font-size: 1.15rem;
}

.hero__intro {
  max-width: 42rem;
  color: var(--muted);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.75rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.75rem 1.2rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease;
}

.button--primary {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-strong) 100%);
  color: #041018;
  box-shadow: 0 0 0 1px rgba(124, 247, 212, 0.12), 0 12px 30px var(--glow);
}

.button--secondary {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.hero__facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
  margin: 2rem 0 0;
}

.hero__facts div {
  padding: 0.95rem 1rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.03);
}

.hero__facts dt {
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero__facts dd {
  margin: 0.35rem 0 0;
  font-size: 1rem;
  font-weight: 600;
}

.section-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.info-card,
.posts-preview,
.content-page {
  border-radius: 1.35rem;
}

.info-card {
  padding: 1.45rem;
  position: relative;
}

.info-card::before {
  content: "";
  position: absolute;
  top: 1rem;
  left: 1rem;
  width: 1.75rem;
  height: 1px;
  background: var(--accent-strong);
  box-shadow: 0 0 18px rgba(66, 200, 255, 0.45);
}

.info-card h2,
.section-heading h2,
.archive-item h2 {
  margin-top: 0;
  margin-bottom: 0.8rem;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.posts-preview,
.content-page {
  margin-top: 1.5rem;
  padding: 1.6rem;
}

.section-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
}

.section-heading a {
  color: var(--accent-strong);
  text-decoration: none;
}

.post-list,
.archive-list {
  display: grid;
  gap: 1rem;
}

.post-card,
.archive-item {
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.post-card:first-child,
.archive-item:first-child {
  border-top: 0;
  padding-top: 0;
}

.post-card__meta,
.archive-item__meta,
.content-meta {
  margin: 0 0 0.3rem;
  color: var(--muted);
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.post-card h3,
.archive-item h2 {
  margin: 0;
}

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

.content-header {
  margin-bottom: 1.5rem;
}

.content-body {
  max-width: 46rem;
}

.content-body p:first-child {
  margin-top: 0;
}

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

.content-body strong,
.content-body b {
  color: var(--text);
}

.site-footer {
  padding: 0 0 3rem;
}

.site-footer__inner {
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

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

@media (max-width: 900px) {
  .hero__facts,
  .section-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .site-header__inner,
  .section-heading,
  .hero__meta {
    flex-direction: column;
  }

  .main-nav {
    justify-content: flex-start;
  }

  .site-main {
    padding-top: 1.5rem;
  }

  .hero h1,
  .content-header h1 {
    font-size: clamp(2rem, 12vw, 3.25rem);
  }

  .hero__status {
    margin-top: -0.25rem;
  }
}