body {
  background: #101114;
  font-family: var(--font-serif);
}

.post-hero {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(28px, 5vw, 78px);
  padding: calc(var(--header-height) + clamp(48px, 7vw, 100px)) max(24px, calc((100vw - 1210px) / 2)) clamp(60px, 8vw, 110px);
  text-align: left;
  background: radial-gradient(ellipse at 85% 50%, color-mix(in srgb, var(--page-theme) 14%, #101114), #101114 72%);
  border-color: #383b43;
}

.post-hero .container {
  width: 100%;
  max-width: none;
  padding: 0;
  margin: 0;
}

.post-hero .container > div:first-child {
  justify-content: flex-start !important;
}

.post-hero-title {
  margin: 0;
  max-width: 17ch;
  font-size: clamp(2.3rem, 4vw, 3.8rem);
  line-height: 1.04;
  letter-spacing: -.04em;
  text-wrap: balance;
}

.post-hero-subtitle {
  max-width: 45ch;
  margin: 22px 0 0;
  color: #bfc2ca;
  font-size: clamp(1.05rem, 1.5vw, 1.22rem);
}

.post-hero-app-mention {
  height: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  font-size: .95rem;
}

.post-hero-badge {
  height: auto;
  padding: 0;
  border: 0;
  background: none;
  color: var(--page-theme);
  font-size: .82rem;
  text-transform: none;
  letter-spacing: 0;
}

.post-hero .post-media {
  margin: 0;
  overflow: visible;
  border: 0;
  background: none;
  box-shadow: none;
}

.post-hero .post-media img {
  border-radius: 10px;
  box-shadow: none;
}

.post-hero .post-media p {
  color: #bfc2ca !important;
  font-size: .85rem !important;
  line-height: 1.5;
  padding: 14px 0 0 !important;
  text-align: left !important;
}

.post-content {
  max-width: 820px;
  padding: clamp(48px, 7vw, 96px) 24px;
  color: #eff0f3;
  font-size: 1.08rem;
  line-height: 1.8;
}

.post-content p, .post-content li { color: #c4c7cf; }
.post-content h2 {
  margin-top: clamp(50px, 6vw, 80px);
  padding: 0;
  border: 0;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1.15;
  letter-spacing: -.03em;
}
.post-content > h2:first-child { margin-top: 0; }
.post-content h3 { font-family: var(--font-serif); line-height: 1.3; }
.post-content a:not(.btn) { color: var(--page-theme); text-decoration: underline; text-underline-offset: .15em; }
.post-content :is(ul, ol) { padding-left: 1.5em; }
.post-content li { padding-left: .25em; margin-bottom: .6em; }
.post-content li::marker { color: var(--page-theme); }
.post-content code { overflow-wrap: anywhere; }
.mermaid-container, .post-table { border-color: #3b3e45; border-radius: 10px; background: #191b20; }
.faq-question { font-family: var(--font-serif); font-weight: 700; }
.faq-question:focus-visible, .post-content a:focus-visible { outline: 2px solid var(--page-theme); outline-offset: 4px; }

.cta-section {
  background: color-mix(in srgb, var(--page-theme) 14%, #101114);
  border-color: #383b43;
  padding: clamp(64px, 8vw, 112px) 0;
}

.cta-section h2 {
  max-width: 16ch;
  margin-inline: auto;
  line-height: 1.08;
  letter-spacing: -.035em;
}

@media (max-width: 800px) {
  .post-hero {
    grid-template-columns: minmax(0, 1fr);
    padding-inline: 24px;
  }
  .post-hero-title { max-width: 18ch; }
  .post-hero .post-media { max-width: 680px; }
  .post-content { font-size: 1rem; }
}
