:root {
  --bg: #01050f;
  --panel: rgba(5, 11, 25, 0.9);
  --panel-soft: rgba(255, 255, 255, 0.04);
  --accent: #6bd4ff;
  --accent-strong: #ffcb45;
}

body {
  margin: 0;
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  background: var(--bg);
  color: #f5f7ff;
}

.page-shell {
  min-height: 100vh;
  background: var(--bg);
}

.site-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.brand-stack .brand-name {
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  margin: 0;
}

.brand-stack .brand-tagline {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.75);
  margin: 0;
}

.logo-img {
  width: 56px;
  height: 56px;
}

.nav-links .nav-link {
  color: rgba(255, 255, 255, 0.8);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  font-weight: 500;
}

.nav-links .nav-link:hover, .nav-links .nav-link.active {
  color: #fff;
  text-decoration: none;
}

.hero-section {
  position: relative;
  margin-top: 1rem;
}

.hero-media {
  position: relative;
  overflow: hidden;
}

.hero-image {
  width: 100%;
  height: auto;
  display: block;
  filter: saturate(1.05);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(1, 2, 7, 0.98), rgba(5, 13, 30, 0.7) 45%, rgba(5, 10, 22, 0.2) 70%, transparent 100%);
  padding: 3rem;
  display: flex;
  align-items: flex-end;
}

.hero-copy {
  max-width: 540px;
}

.hero-copy h1 {
  font-size: clamp(2.4rem, 3vw, 3.8rem);
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero-lead {
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.6;
}

.hero-actions .btn {
  min-width: 220px;
}

.hero-actions .btn-outline-light {
  border-color: rgba(255, 255, 255, 0.6);
}

.stories-section {
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
}

.stories-preview-section {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(5, 11, 25, 0.7);
  margin-top: 2rem;
  margin-bottom: 2rem;
}

.blog-loop-section {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 4rem;
  position: relative;
}

.blog-loop-section .section-header {
  gap: 1.5rem;
}

.blog-controls {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin-top: 1.25rem;
  padding-top: 1.25rem;
}

.blog-tag-nav {
  gap: 0.5rem;
}

.blog-tag-btn {
  border-radius: 999px;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
  text-transform: uppercase;
  padding: 0.35rem 0.9rem;
}

.blog-loop-card .card-body {
  min-height: 230px;
  gap: 0.75rem;
}

.blog-loop-card .post-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.post-tags .blog-tag-badge {
  border-radius: 999px;
  letter-spacing: 0.1em;
  font-size: 0.65rem;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.04);
}

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

.section-header h2 {
  margin-bottom: 0.5rem;
  font-size: clamp(1.8rem, 2.4vw, 2.6rem);
}

.section-subtitle {
  color: rgba(255, 255, 255, 0.65);
  max-width: 46ch;
}

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

.article-card {
  background: var(--panel);
}

.article-img {
  height: 220px;
  object-fit: cover;
}

.article-visual {
  height: 220px;
  border-radius: 0.75rem 0.75rem 0 0;
  margin: -1px -1px 0;
  background: var(--panel-soft);
}

.nebula-sm {
  background: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.4), transparent 45%), radial-gradient(circle at 80% 40%, rgba(255, 105, 180, 0.5), transparent 40%), linear-gradient(180deg, rgba(10, 20, 35, 0.95), rgba(3, 7, 17, 0.9));
}

.observatory-sm {
  background: linear-gradient(135deg, rgba(107, 212, 255, 0.25), rgba(255, 255, 255, 0.05)), linear-gradient(45deg, rgba(255, 255, 255, 0.2), rgba(3, 12, 24, 0.9));
}

.features-section {
  background: var(--panel);
  margin-top: -0.5rem;
  padding-top: 3rem;
  padding-bottom: 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.bg-darker {
  background: #050917;
}

.blog-support-section {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.extension-card {
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.02);
  padding: 1.75rem;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.extension-card h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.extension-card code {
  background: rgba(255, 255, 255, 0.08);
  padding: 0.15rem 0.4rem;
  border-radius: 0.35rem;
}

.feature-card {
  padding: 2rem;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  font-size: 1.35rem;
  color: var(--accent);
}

.cta-strip {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(135deg, rgba(107, 212, 255, 0.18), rgba(0, 0, 0, 0.95));
  margin-top: 1rem;
}

.cta-strip h3 {
  margin-bottom: 0;
  font-size: 2rem;
}

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  margin-top: 1rem;
}

.site-footer .text-light {
  color: rgba(255, 255, 255, 0.8) !important;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.6);
}

.site-footer a:hover {
  color: var(--accent);
}

@media (max-width: 767px) {
  .hero-overlay {
    padding: 2rem;
    align-items: flex-start;
  }
}

@media (max-width: 767px) {
  .hero-actions {
    width: 100%;
  }
}

@media (max-width: 767px) {
  .hero-actions .btn {
    width: 100%;
  }
}

@media (max-width: 767px) {
  .nav-links {
    justify-content: space-between;
  }
}

@media (max-width: 767px) {
  .section-header {
    flex-direction: column;
    align-items: flex-start;
  }
}

.stories-hero {
  padding-top: 3rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.article-hero {
  background: var(--panel);
  border-radius: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 2rem;
  box-shadow: 0 35px 60px rgba(0, 0, 0, 0.3);
}

.article-hero img {
  border-radius: 1rem;
  width: 100%;
  height: auto;
  display: block;
  margin-bottom: 1.25rem;
}

.article-body {
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.92);
}

.article-body p + p {
  margin-top: 1rem;
}

