/* Pages and blog, in the landing page's look (variables from landing.css) */
.st-page { padding: 64px 24px 96px; }
.st-narrow { max-width: 720px; margin-left: auto; margin-right: auto; }
.st-wide { max-width: 1160px; margin: 0 auto; }
.st-page-title { margin: 0 0 16px; font-size: clamp(2rem, 4.5vw, 3rem); font-weight: 900; letter-spacing: -1px; line-height: 1.15; color: var(--gray-900); }

/* Long-form text */
.st-prose { font-size: 1.075rem; line-height: 1.8; color: var(--gray-700); }
.st-prose h2 { margin: 2.2em 0 .6em; font-size: 1.6rem; font-weight: 800; letter-spacing: -.4px; line-height: 1.3; color: var(--gray-900); }
.st-prose h3 { margin: 1.8em 0 .5em; font-size: 1.25rem; font-weight: 700; color: var(--gray-900); }
.st-prose p, .st-prose ul, .st-prose ol { margin: 0 0 1.25em; }
.st-prose a { color: var(--purple); text-decoration: underline; text-underline-offset: 3px; }
.st-prose img { max-width: 100%; height: auto; border-radius: var(--radius); }
.st-prose figure { margin: 2em 0; }
.st-prose figcaption { margin-top: 8px; font-size: .875rem; color: var(--gray-500); text-align: center; }
.st-prose blockquote { margin: 2em 0; padding: 4px 0 4px 22px; border-left: 4px solid var(--purple); font-size: 1.2rem; font-weight: 600; color: var(--gray-900); }
.st-prose blockquote footer { margin-top: 8px; font-size: .9rem; font-weight: 500; color: var(--gray-500); }
.st-prose pre { margin: 1.6em 0; padding: 18px 20px; border-radius: var(--radius); background: #0f0a1f; color: #e9e3ff; font-size: .9rem; line-height: 1.6; overflow-x: auto; }
.st-prose code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .92em; }
.st-prose :not(pre) > code { padding: 2px 6px; border-radius: 6px; background: var(--purple-50); color: var(--purple-dark); }
.st-prose hr { margin: 3em 0; border: none; border-top: 1px solid var(--gray-200); }
.st-prose iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; border-radius: var(--radius); }

/* Blog overview */
.st-blog-head { max-width: 760px; margin: 0 auto 48px; text-align: center; }
.st-blog-intro { margin: 0 auto; font-size: 1.15rem; color: var(--gray-500); }
.st-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 28px; }
.st-tags a {
  padding: 6px 14px; border: 1px solid var(--gray-200); border-radius: 999px; background: #fff;
  color: var(--gray-600); font-size: .875rem; font-weight: 600; text-decoration: none; transition: all .15s;
}
.st-tags a:hover { border-color: var(--purple); color: var(--purple); }
.st-tags a[aria-current] { background: var(--purple); border-color: var(--purple); color: #fff; }

.st-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.st-card {
  display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--gray-200); border-radius: var(--radius-lg);
  background: #fff; color: inherit; text-decoration: none; transition: transform .2s, box-shadow .2s, border-color .2s;
}
.st-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: var(--purple-100); }
.st-card-media { aspect-ratio: 16 / 9; background: linear-gradient(135deg, var(--purple-50), var(--purple-100)); overflow: hidden; }
.st-card-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s; }
.st-card:hover .st-card-media img { transform: scale(1.03); }
.st-card-placeholder { display: flex; align-items: center; justify-content: center; height: 100%; font-size: 3rem; font-weight: 900; color: var(--purple-light); }
.st-card-body { display: flex; flex-direction: column; gap: 8px; padding: 20px 22px 22px; flex: 1; }
.st-card-tag { align-self: flex-start; padding: 2px 10px; border-radius: 999px; background: var(--purple-50); color: var(--purple); font-size: .75rem; font-weight: 700; }
.st-card-title { margin: 0; font-size: 1.15rem; font-weight: 800; line-height: 1.35; color: var(--gray-900); }
.st-card-excerpt { margin: 0; font-size: .925rem; line-height: 1.6; color: var(--gray-500); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.st-card-meta { margin-top: auto; padding-top: 6px; font-size: .8rem; color: var(--gray-400); }

.st-card--feature { display: grid; grid-template-columns: 1.3fr 1fr; margin-bottom: 32px; }
.st-card--feature .st-card-media { aspect-ratio: auto; min-height: 320px; }
.st-card--feature .st-card-body { justify-content: center; padding: 36px; gap: 12px; }
.st-card--feature .st-card-title { font-size: 1.75rem; letter-spacing: -.5px; }
.st-card--feature .st-card-excerpt { font-size: 1rem; -webkit-line-clamp: 4; }
.st-card--feature .st-card-meta { margin-top: 8px; }

.st-pagination { display: flex; justify-content: space-between; align-items: center; margin-top: 40px; font-size: .9rem; color: var(--gray-500); }
.st-pagination a { padding: 10px 18px; border: 1px solid var(--gray-200); border-radius: 10px; color: var(--gray-700); font-weight: 600; text-decoration: none; }
.st-pagination a:hover { border-color: var(--purple); color: var(--purple); }
.st-empty { padding: 64px 24px; border: 2px dashed var(--gray-200); border-radius: var(--radius-lg); text-align: center; color: var(--gray-500); }

/* Article */
.st-article-head { margin-bottom: 36px; }
.st-back { display: inline-block; margin-bottom: 20px; color: var(--gray-500); font-size: .9rem; font-weight: 600; text-decoration: none; }
.st-back:hover { color: var(--purple); }
.st-article-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.st-article-tags a { padding: 3px 11px; border-radius: 999px; background: var(--purple-50); color: var(--purple); font-size: .8rem; font-weight: 700; text-decoration: none; }
.st-article-lede { margin: 0 0 20px; font-size: 1.25rem; line-height: 1.6; color: var(--gray-500); }
.st-article-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; font-size: .9rem; color: var(--gray-500); }
.st-avatar { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; background: var(--purple); color: #fff; font-size: .8rem; font-weight: 800; }
.st-article-cover { max-width: 1040px; margin: 0 auto 48px; }
.st-article-cover img { width: 100%; height: auto; display: block; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.st-related { margin-top: 80px; }
.st-related h2 { margin: 0 0 24px; font-size: 1.5rem; font-weight: 800; }

/* Waitlist box */
.st-wl-box {
  margin: 56px 0 0; padding: 36px; border-radius: var(--radius-lg); text-align: center;
  background: linear-gradient(135deg, var(--purple-50), #fff); border: 1px solid var(--purple-100);
}
.st-wl-box-badge { display: inline-block; padding: 3px 12px; border-radius: 999px; background: #fff; color: var(--purple); font-size: .8rem; font-weight: 700; box-shadow: 0 1px 3px rgba(136,0,255,.12); }
.st-wl-box h2 { margin: 14px 0 8px; font-size: 1.5rem; font-weight: 800; color: var(--gray-900); }
.st-wl-box p { margin: 0 0 22px; color: var(--gray-600); }
.st-wl-box .lp-hero-form { margin-bottom: 0; }

.lp-nav-links a[aria-current] { color: var(--purple); font-weight: 700; }

@media (max-width: 820px) {
  .st-card--feature { grid-template-columns: 1fr; }
  .st-card--feature .st-card-media { min-height: 0; aspect-ratio: 16 / 9; }
  .st-card--feature .st-card-body { padding: 24px; }
  .st-card--feature .st-card-title { font-size: 1.35rem; }
  .st-page { padding-top: 40px; }
  .st-wl-box { padding: 28px 20px; }
}

/* Photo credit under covers */
.st-credit { margin-top: 10px; text-align: center; font-size: .8rem; color: var(--gray-400); }
.st-credit a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.st-credit a:hover { color: var(--purple); }

/* ─── Language switcher ───────────────────────────────── */
.lp-lang { display: inline-flex; gap: 2px; font-size: 0.8rem; font-weight: 600; }
.lp-lang a { padding: 4px 6px; border-radius: 6px; color: var(--gray-500, #6b7280); text-decoration: none; }
.lp-lang a:hover { color: var(--purple); }
.lp-lang a[aria-current] { color: var(--purple); background: var(--purple-50, #f5edff); }
.lp-lang--footer a { color: rgba(255,255,255,0.5); }
.lp-lang--footer a:hover { color: #fff; }
.lp-lang--footer a[aria-current] { color: #fff; background: rgba(255,255,255,0.1); }
.lp-mobile-nav .lp-lang { font-size: 1rem; }
@media (max-width: 480px) {
  /* The menu has the switcher here, which leaves room for the button on one line */
  .lp-nav-cta .lp-lang { display: none; }
  .lp-nav-cta .lp-btn-primary { white-space: nowrap; }
}
