body {
  margin: 0;
  font-family: 'Space Grotesk', 'Poppins', 'Segoe UI', sans-serif;
  background-color: var(--sand);
  color: var(--ink);
}

a {
  color: inherit;
  text-decoration: none;
}

.ambient {
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(249, 115, 22, 0.12), transparent 45%),
    radial-gradient(circle at 20% 60%, rgba(14, 165, 233, 0.12), transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(168, 85, 247, 0.08), transparent 55%);
  z-index: -1;
}

.site-header {
  padding: 24px 0;
  position: sticky;
  top: 0;
  backdrop-filter: blur(14px);
  background: rgba(248, 245, 241, 0.9);
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  z-index: 10;
}

.brand {
  display: flex;
  gap: 16px;
  align-items: center;
}

.brand-logo {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  object-fit: cover;
}

.brand-mark {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: linear-gradient(135deg, #0f172a, #f97316);
  display: inline-block;
}

.brand-name {
  font-size: 20px;
  font-weight: 700;
}

.brand-tagline {
  color: var(--slate-500);
  font-size: 13px;
}

.nav {
  display: flex;
  gap: 18px;
  align-items: center;
  font-size: 14px;
}

.nav a {
  padding: 8px 12px;
  border-radius: 999px;
  transition: all 0.2s ease;
}

.nav a:hover {
  background: rgba(15, 23, 42, 0.08);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-primary {
  background: linear-gradient(135deg, #0f172a, #f97316);
  color: white;
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.2);
}

.btn-ghost {
  background: rgba(15, 23, 42, 0.05);
}

.btn-ghost:hover {
  background: rgba(15, 23, 42, 0.1);
}

.btn-outline {
  border-color: rgba(15, 23, 42, 0.2);
  background: transparent;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.08);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero {
  padding: 70px 0 40px;
}

.hero-title {
  font-size: 48px;
  line-height: 1.05;
  margin: 16px 0;
}

.hero-text {
  font-size: 18px;
  color: var(--slate-500);
  max-width: 520px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-top: 24px;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 32px;
}

.metric-value {
  font-size: 22px;
  font-weight: 700;
}

.metric-label {
  font-size: 12px;
  color: var(--slate-500);
}

.hero-card {
  background: white;
  padding: 24px;
  border-radius: 24px;
  box-shadow: 0 30px 70px rgba(15, 23, 42, 0.2);
  border: 1px solid rgba(15, 23, 42, 0.08);
}

.hero-card-top {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 14px;
  color: var(--slate-500);
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #22c55e;
}

.hero-card-content h3 {
  font-size: 22px;
  margin: 16px 0 8px;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.hero-badges span {
  background: rgba(15, 23, 42, 0.08);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
}

.section {
  padding: 50px 0;
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 32px;
}

.filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.chip {
  padding: 8px 14px;
  background: white;
  border: 1px solid var(--slate-200);
  border-radius: 999px;
  font-size: 13px;
}

.card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.06);
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.4s ease;
}

.card.reveal {
  opacity: 1;
  transform: translateY(0);
}

.card-image {
  display: block;
  padding-top: 58%;
  background-size: cover;
  background-position: center;
}

.card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.card-body h3 {
  font-size: 18px;
  margin: 0;
}

.card-body p {
  color: var(--slate-500);
  margin: 0;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  font-size: 12px;
  border-radius: 999px;
  background: rgba(249, 115, 22, 0.12);
  color: #9a3412;
}

.card-meta {
  display: flex;
  gap: 6px;
  font-size: 12px;
  color: var(--slate-500);
}

.pagination {
  margin-top: 32px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.spotlight {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 32px;
  background: white;
  padding: 40px;
  border-radius: 28px;
  border: 1px solid rgba(15, 23, 42, 0.1);
}

.spotlight-panel {
  background: #0f172a;
  color: white;
  border-radius: 20px;
  padding: 24px;
}

.spotlight-panel ul {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
}

.spotlight-panel li {
  margin-bottom: 12px;
}

.spotlight-tag {
  display: inline-flex;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(249, 115, 22, 0.2);
  font-size: 12px;
}

.article-hero {
  padding: 60px 0 0;
}

.article-hero h1 {
  font-size: 40px;
  margin: 16px 0 10px;
}

.article-excerpt {
  color: var(--slate-500);
  font-size: 18px;
}

.article-meta {
  display: flex;
  gap: 10px;
  font-size: 13px;
  color: var(--slate-500);
}

.article-cover {
  margin-top: 30px;
  height: 360px;
  border-radius: 24px;
  background-size: cover;
  background-position: center;
  box-shadow: 0 30px 80px rgba(15, 23, 42, 0.25);
}

.article-content {
  display: grid;
  grid-template-columns: 1fr;
}

.article-body {
  background: white;
  padding: 32px;
  border-radius: 24px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  line-height: 1.8;
  font-size: 17px;
}

.article-body h2 {
  margin-top: 28px;
  font-size: 24px;
}

.article-body h3 {
  margin-top: 22px;
  font-size: 20px;
}

.article-body ul {
  padding-left: 20px;
}

.article-cta {
  margin-top: 32px;
  padding: 24px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.9), rgba(249, 115, 22, 0.9));
  color: white;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
}

.article-cta.outline {
  background: white;
  color: var(--ink);
  border: 1px solid rgba(15, 23, 42, 0.12);
}

.article-cta.outline .btn-primary {
  background: #0f172a;
}

.cta-inline {
  display: inline-flex;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(249, 115, 22, 0.15);
  color: #9a3412;
  font-weight: 600;
}

.article-share {
  margin-top: 24px;
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 13px;
  color: var(--slate-500);
}

.category-hero,
.page-hero {
  padding: 60px 0 30px;
}

.notfound {
  background: white;
  padding: 60px;
  border-radius: 24px;
  text-align: center;
  border: 1px solid rgba(15, 23, 42, 0.08);
}

.site-footer {
  padding: 50px 0 30px;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  background: white;
}

.footer-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
}

.footer-text {
  color: var(--slate-500);
  margin-bottom: 18px;
}

.footer-cta {
  display: flex;
  gap: 12px;
}

.footer-links {
  display: grid;
  gap: 10px;
  justify-items: start;
}

.footer-bottom {
  margin-top: 28px;
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--slate-500);
}

@media (max-width: 900px) {
  .nav {
    display: none;
  }
  .hero {
    padding-top: 40px;
  }
  .hero-title {
    font-size: 36px;
  }
  .hero-metrics {
    grid-template-columns: 1fr;
  }
  .spotlight {
    grid-template-columns: 1fr;
  }
  .article-cover {
    height: 220px;
  }
}

@media (max-width: 600px) {
  .hero-actions,
  .footer-cta {
    flex-direction: column;
    align-items: flex-start;
  }
  .article-cta {
    flex-direction: column;
    align-items: flex-start;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 10px;
  }
}
