body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  margin: 0;
  color: #1b1b1f;
  background: #f9fafb;
  line-height: 1.6;
}

a {
  color: #0f766e;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 1.5rem 1rem;
}

.site-header {
  background: #0f172a;
  color: white;
}

.site-header a {
  color: white;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.site-header .brand {
  font-weight: 600;
  font-size: 1.35rem;
}

.site-nav {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.site-nav a {
  font-weight: 500;
}

.site-lang {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.85rem;
}

.site-lang__link {
  color: #e2e8f0;
  opacity: 0.8;
}

.site-lang__link:hover {
  opacity: 1;
}

.site-lang__link--active {
  font-weight: 600;
  opacity: 1;
  cursor: default;
}

.site-footer {
  background: #0f172a;
  color: #e2e8f0;
}

.site-footer a {
  color: #e2e8f0;
}

main.container {
  padding-bottom: 4rem;
}

.content h1 {
  margin-bottom: 0.5rem;
  font-size: 2rem;
}

.meta {
  color: #475569;
  font-size: 0.9rem;
  margin-bottom: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.meta-item {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.markdown p {
  margin-bottom: 1rem;
}

.markdown blockquote {
  border-left: 4px solid #94a3b8;
  margin: 1.5rem 0;
  padding-left: 1rem;
  color: #475569;
  background: #f1f5f9;
}

.markdown h2 {
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.markdown h3 {
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

.markdown ul,
.markdown ol {
  padding-left: 1.5rem;
  margin-bottom: 1.25rem;
}

.card-list {
  display: grid;
  gap: 1.5rem;
}

.card {
  background: white;
  padding: 1.5rem;
  border-radius: 0.75rem;
  box-shadow: 0 10px 25px -15px rgba(15, 23, 42, 0.6);
}

.card h2 {
  margin-top: 0;
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
}

.tldr,
.tldr-inline {
  background: #ecfdf5;
  border-left: 4px solid #0f766e;
  padding: 1rem;
  border-radius: 0.5rem;
  margin-bottom: 1.5rem;
}

.tag {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: #e0f2fe;
  color: #0369a1;
  border-radius: 9999px;
  margin-right: 0.5rem;
}

.home-hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2.5rem;
  align-items: center;
  margin-bottom: 3rem;
  padding: clamp(2rem, 4vw, 3.25rem);
  border-radius: 1.5rem;
  background: linear-gradient(135deg, #f8fafc 0%, #e0f2fe 100%);
  position: relative;
  overflow: hidden;
  color: #0f172a;
  border: 1px solid rgba(148, 163, 184, 0.25);
  box-shadow: 0 38px 60px -45px rgba(15, 23, 42, 0.45);
}

.home-hero::after {
  content: "";
  position: absolute;
  inset: auto -140px -160px auto;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(14, 116, 144, 0.16) 0%, rgba(15, 118, 110, 0) 70%);
  transform: rotate(-12deg);
}

.home-hero__text {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 1rem;
}

.home-hero__text h1 {
  margin: 0;
  font-size: clamp(2.25rem, 4vw, 3rem);
  line-height: 1.1;
}

.home-hero__text p {
  margin: 0;
  max-width: 32rem;
  color: #334155;
}

.home-hero__cta {
  justify-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.85rem 1.75rem;
  border-radius: 999px;
  background: #0f766e;
  color: #f8fafc;
  font-weight: 600;
  font-size: 0.95rem;
  box-shadow: 0 20px 40px -18px rgba(15, 118, 110, 0.45);
}

.home-hero__cta:hover {
  text-decoration: none;
  background: #0d9488;
}

.home-hero__visual {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
}

.home-hero__visual img {
  width: clamp(240px, 48vw, 400px);
  height: auto;
  display: block;
}

.home-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(240px, 1fr);
  gap: 2.5rem;
}

.home-panel {
  background: white;
  border-radius: 1rem;
  box-shadow: 0 25px 50px -25px rgba(15, 23, 42, 0.35);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

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

.home-panel__header h2 {
  margin: 0;
  font-size: 1.35rem;
}

.home-panel__cta {
  font-size: 0.9rem;
  color: #0f766e;
  font-weight: 600;
}

.home-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1rem;
}

.home-list--stacked {
  gap: 1.5rem;
}

.home-list__item {
  display: grid;
  gap: 0.5rem;
}

.home-list__title {
  font-weight: 600;
  font-size: 1.1rem;
}

.home-list__meta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: #475569;
}

.home-list__topic a {
  font-weight: 600;
}

.home-list__excerpt {
  margin: 0;
  color: #1f2937;
}

.topic-grid {
  display: grid;
  gap: 1.5rem;
}

.topic-card {
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
  padding: 1rem 1.25rem;
  background: #f8fafc;
}

.topic-card header h3 {
  margin: 0 0 0.35rem 0;
  font-size: 1.1rem;
}

.topic-card__summary {
  margin: 0;
  color: #475569;
  font-size: 0.95rem;
}

.topic-card__list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0 0;
  display: grid;
  gap: 0.5rem;
}

.topic-card__list a {
  font-weight: 500;
}

.topic-card__empty,
.topic__empty {
  color: #64748b;
  font-style: italic;
}

.topic--hub {
  gap: 2.5rem;
}

.topic-grid--hub {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.topic-card--hub {
  display: grid;
  gap: 0.75rem;
  align-content: start;
}

.topic-card__count {
  font-size: 0.9rem;
  color: #0f766e;
  font-weight: 600;
}

.topic-card__cta {
  justify-self: flex-start;
  font-size: 0.85rem;
  font-weight: 600;
  color: #0f172a;
  background: #f1f5f9;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  box-shadow: 0 10px 20px -15px rgba(15, 23, 42, 0.45);
}

.topic-card__cta:hover {
  text-decoration: none;
  background: #e2e8f0;
}

.pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  padding: 0;
  margin: 2.5rem 0 0;
  list-style: none;
}

.pagination .page-item {
  display: inline-flex;
}

.pagination .page-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.25rem;
  height: 2.25rem;
  padding: 0 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: #fff;
  color: #0f172a;
  font-size: 0.95rem;
  font-weight: 500;
  box-shadow: 0 12px 28px -20px rgba(15, 23, 42, 0.4);
}

.pagination .page-item.active .page-link {
  background: #0f766e;
  color: #f8fafc;
  border-color: #0f766e;
}

.pagination .page-item.disabled .page-link {
  opacity: 0.45;
  box-shadow: none;
}

.related {
  margin-top: 3rem;
  padding: 2rem;
  border-radius: 1rem;
  background: #f1f5f9;
  border: 1px solid rgba(148, 163, 184, 0.25);
  box-shadow: 0 22px 44px -38px rgba(15, 23, 42, 0.45);
}

.related h2 {
  margin: 0 0 1.25rem 0;
  font-size: 1.35rem;
  color: #0f172a;
}

.related__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1rem;
}

.related__list a {
  font-weight: 600;
  color: #0f172a;
}

.related__meta {
  display: inline-flex;
  gap: 0.4rem;
  margin-left: 0.35rem;
  font-size: 0.85rem;
  color: #475569;
}

.topic {
  display: grid;
  gap: 2rem;
}

.topic__header {
  display: grid;
  gap: 0.75rem;
}

.topic__kicker {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.75rem;
  color: #0f766e;
  font-weight: 600;
}

.card-list--topic {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.card--compact {
  padding: 1.25rem;
}

@media (max-width: 600px) {
  .site-nav {
    flex-direction: column;
  }

  .home-hero {
    padding: 1.75rem 1.5rem;
  }

  .home-grid {
    grid-template-columns: 1fr;
  }

  .home-panel {
    padding: 1.25rem;
  }

  .card-list--topic {
    grid-template-columns: 1fr;
  }
}
