* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Helvetica Neue", Arial, sans-serif;
  color: #0f172a;
  background: linear-gradient(180deg, #f8fafc 0%, #eef2ff 40%, #f8fafc 100%);
}

a {
  color: #1b4fd1;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

a.button,
.hero-actions a {
  text-decoration: none;
}

.site-header {
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
}

.site-main {
  padding: 24px 0 56px;
}

.grid-container {
  width: min(1200px, 92%);
  margin: 0 auto;
}

.grid-x {
  display: flex;
  flex-wrap: wrap;
  margin-left: -0.75rem;
  margin-right: -0.75rem;
}

.grid-padding-x > .cell {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
}

.cell {
  flex: 1 1 0;
  min-width: 0;
}

.align-middle {
  align-items: center;
}

.medium-7 {
  flex: 0 0 58.333%;
  max-width: 58.333%;
}

.medium-5 {
  flex: 0 0 41.667%;
  max-width: 41.667%;
}

.medium-4 {
  flex: 0 0 33.333%;
  max-width: 33.333%;
}

.small-up-1 > .cell {
  flex: 0 0 100%;
  max-width: 100%;
}

@media (min-width: 640px) {
  .medium-up-2 > .cell {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

@media (min-width: 1024px) {
  .large-up-3 > .cell {
    flex: 0 0 33.333%;
    max-width: 33.333%;
  }
}

@media (max-width: 900px) {
  .medium-7,
  .medium-5,
  .medium-4 {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
}

.site-nav .brand {
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.02em;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: inherit;
}

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

.site-nav ul,
.category-nav ul,
.contact ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.category-nav {
  margin: 16px 0;
}

.category-nav a {
  padding: 6px 12px;
  border-radius: 999px;
  background: #eef1ff;
  color: #2c3b6b;
  font-weight: 600;
  font-size: 0.9rem;
}

.hero,
.category-hero,
.about {
  background: #ffffff;
  padding: 32px;
  border-radius: 24px;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
  margin-bottom: 32px;
}

.section {
  margin: 36px 0;
}

.section-alt {
  background: #0f172a;
  color: #f8fafc;
  padding: 36px;
  border-radius: 24px;
  margin: 36px 0;
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.25);
}

.section-alt h2,
.section-alt h3 {
  color: #f8fafc;
}

.hero-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
  font-size: 0.75rem;
  color: #6366f1;
}

.hero h1 {
  margin-top: 8px;
  font-size: clamp(2.5rem, 4vw, 3.5rem);
}

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

.hero-graphic {
  padding: 12px;
}

.hero-graphic svg {
  width: 100%;
  height: auto;
  border-radius: 18px;
  box-shadow: 0 18px 32px rgba(15, 23, 42, 0.24);
}

.pillars {
  margin: 32px 0;
}

.section-header {
  margin-bottom: 20px;
}

.feature-card {
  background: rgba(255, 255, 255, 0.12);
  padding: 18px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  min-height: 130px;
}

.feature-card h3 {
  margin-top: 0;
}

.pillar-card {
  background: #0f172a;
  color: #f8fafc;
  padding: 24px;
  border-radius: 20px;
  min-height: 180px;
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.2);
}

.pillar-card a {
  color: #bae6fd;
  font-weight: 600;
}

.section-title {
  margin-bottom: 16px;
}

.post-list {
  display: grid;
  gap: 20px;
}

.post-grid .cell {
  margin-bottom: 20px;
}

.post-card,
.post {
  background: #ffffff;
  padding: 24px;
  border-radius: 20px;
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08);
}

.post-card h2,
.post h1 {
  margin-top: 0;
}

.post-meta,
.post-category {
  color: #4b5563;
  font-size: 0.9rem;
}

.post-category {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}

.post-body {
  line-height: 1.7;
}

.post-body h2 {
  margin-top: 1.5rem;
}

.faq {
  margin-top: 32px;
  background: #ffffff;
  padding: 24px;
  border-radius: 20px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

.faq-item h3 {
  margin-bottom: 6px;
}

.faq-item + .faq-item {
  margin-top: 16px;
}

.key-takeaways {
  background: #0f172a;
  color: #f8f9ff;
  padding: 24px;
  border-radius: 20px;
  margin-bottom: 20px;
}

.ai-summary {
  background: #eef2ff;
  padding: 20px 24px;
  border-radius: 18px;
  margin-bottom: 20px;
  border: 1px solid #e0e7ff;
}

.ai-summary h2 {
  margin-top: 0;
}

.key-takeaways h2 {
  margin-top: 0;
}

.key-takeaways ul {
  margin: 0;
  padding-left: 20px;
}

.about-highlights {
  display: grid;
  gap: 12px;
  margin-top: 20px;
}

.about-card {
  background: #f8fafc;
  padding: 24px;
  border-radius: 18px;
  border: 1px solid #e2e8f0;
}

.about-card ul {
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
  display: grid;
  gap: 8px;
}

.site-footer {
  padding: 32px 0 40px;
  color: #6b7280;
  font-size: 0.9rem;
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
}

.footer-contact h2 {
  margin: 0 0 8px;
  font-size: 1rem;
  color: #1f2937;
}

.footer-contact ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 6px;
}

.button.primary {
  background: #4f46e5;
  color: #ffffff;
  border: 1px solid #4f46e5;
}

.button.hollow {
  border: 1px solid #4f46e5;
  color: #4f46e5;
  background: transparent;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 600;
  line-height: 1;
}
