:root {
  color-scheme: light;
  font-family: 'Inter', sans-serif;
  line-height: 1.75;
  color: #111827;
  background: #eef2ff;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  background: linear-gradient(180deg, #f8fafc 0%, #edf2ff 100%);
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
}
.page-shell {
  min-height: 100vh;
}
.site-header,
.site-footer {
  background: white;
  width: 100%;
  border-bottom: 1px solid #e2e8f0;
}
.site-header .container,
.site-footer .container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.brand {
  font-weight: 800;
  font-size: 1.2rem;
}
nav {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
nav a {
  color: #0f172a;
  text-decoration: none;
  font-weight: 600;
}
main {
  max-width: 1120px;
  margin: 0 auto;
  padding: 2rem 1.25rem 4rem;
}
.hero {
  display: grid;
  grid-template-columns: 1.7fr 1fr;
  align-items: stretch;
  gap: 2rem;
  background: white;
  border-radius: 28px;
  padding: 2.5rem;
  box-shadow: 0 28px 60px rgba(15, 23, 42, 0.08);
}
.hero-copy {
  display: grid;
  gap: 1.5rem;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  background: #e0e7ff;
  color: #312e81;
  font-weight: 700;
  font-size: 0.9rem;
}
.hero h1 {
  margin: 0;
  font-size: clamp(2.4rem, 3vw, 3.6rem);
  line-height: 0.95;
}
.hero p {
  margin: 0;
  color: #475569;
  max-width: 720px;
  font-size: 1.05rem;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
.hero-info {
  display: grid;
  gap: 1rem;
}
.card {
  background: #fafbff;
  border: 1px solid #e2e8f0;
  border-radius: 24px;
  padding: 1.5rem;
}
.card h3 {
  margin: 0 0 0.75rem;
  font-size: 1.05rem;
}
.card p {
  margin: 0;
  color: #475569;
}
.posts-preview,
.posts,
.post,
.page-intro,
.card-small {
  background: white;
  border-radius: 24px;
  padding: 1.75rem;
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.08);
}
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.section-header h2,
.page-intro h1 {
  margin: 0;
}
.link-secondary,
.button.secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: white;
  background: #0f172a;
  border-radius: 999px;
  padding: 0.95rem 1.3rem;
  text-decoration: none;
  font-weight: 700;
}
.button,
.button.secondary {
  border: none;
  cursor: pointer;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #2563eb;
  color: white;
  padding: 0.95rem 1.35rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
}
.grid {
  display: grid;
  gap: 1.5rem;
}
.cards {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.card-small {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.card-small h3 {
  margin-top: 0;
}
.card-small p {
  margin: 1rem 0;
  color: #475569;
}
.card-footer {
  margin-top: auto;
}
.post header {
  margin-bottom: 1.75rem;
}
.post header h1 {
  margin-bottom: 0.75rem;
  font-size: clamp(2rem, 2.5vw, 3rem);
}
.post header p {
  margin: 0;
  color: #64748b;
}
.content {
  color: #334155;
}
.content h2,
.content h3,
.content h4 {
  margin-top: 2rem;
}
.content p,
.content ul,
.content ol {
  margin: 1rem 0;
}
.content ul,
.content ol {
  padding-left: 1.25rem;
}
.content li {
  margin: 0.5rem 0;
}
.content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
}
.content th,
.content td {
  border: 1px solid #e5e7eb;
  padding: 1rem;
  text-align: left;
}
.content th {
  background: #f8fafc;
}
.content a {
  color: #2563eb;
  text-decoration: underline;
}
.cta {
  margin-top: 2rem;
}
.pagination {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.75rem;
}
.site-footer {
  border-top: 1px solid #e2e8f0;
}
.site-footer p {
  margin: 0.35rem 0;
  color: #64748b;
}
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
  }
  .cards {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 640px) {
  .hero,
  .site-header .container,
  .site-footer .container,
  main {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .hero-actions {
    flex-direction: column;
  }
}
