/* Blog: text-first index, one readable column per post, sticky contents and app card */
.bl-index { padding: 88px 0 112px; background: linear-gradient(180deg, var(--violet-soft) 0%, #fff 420px); }
.bl-index h1 { font-size: clamp(40px, 5vw, 64px); line-height: 1.08; }
.bl-index h1 span { color: var(--violet); }
.bl-lede { margin: 14px 0 0; font-size: 19px; color: var(--ink-2); }
.bl-filters { display: grid; gap: 10px; margin: 40px 0 28px; }
.bl-filters div { display: flex; flex-wrap: wrap; gap: 8px; }
.bl-filters button { height: 36px; padding: 0 14px; border: 1px solid var(--line); border-radius: 99px; background: #fff; font: 500 14px var(--body); color: var(--ink-2); cursor: pointer; transition: background-color 150ms ease, color 150ms ease, border-color 150ms ease; }
.bl-filters button:hover { border-color: #cfc6ff; color: var(--ink); }
.bl-filters button.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.bl-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.bl-card { display: flex; flex-direction: column; padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: 18px; color: inherit; text-decoration: none; transition: transform 200ms var(--ease-out), box-shadow 200ms ease, border-color 200ms ease; }
.bl-card:hover { transform: translateY(-2px); border-color: #d9d1ff; box-shadow: 0 24px 44px -30px rgba(17, 38, 63, .45); }
.bl-card[hidden] { display: none; }
.bl-type { align-self: flex-start; font: 600 12px var(--display); color: #5b46dc; background: var(--violet-soft); border-radius: 7px; padding: 3px 9px; }
.bl-card h3 { margin: 14px 0 8px; font-size: 19px; line-height: 1.3; }
.bl-card p { flex: 1; margin: 0 0 18px; font-size: 15px; line-height: 1.55; color: var(--ink-2); }
.bl-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 13px; color: var(--ink-3); }
.bl-app { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 500; color: var(--ink); }
.bl-app img { width: 20px; height: 20px; border-radius: 6px; }
.bl-empty { color: var(--ink-2); }

.bl-post { padding: 64px 0 96px; }
.bl-post h1 { max-width: 20em; margin: 14px 0 18px; font-size: clamp(34px, 4.2vw, 52px); line-height: 1.1; }
.bl-draft { display: inline-block; margin: 14px 0 0; padding: 4px 10px; border-radius: 7px; background: #fff3d6; color: #8a5a00; font-size: 13px; font-weight: 600; }
.bl-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; font-size: 14px; color: var(--ink-3); }
.bl-grid { display: grid; grid-template-columns: minmax(0, 700px) 280px; justify-content: space-between; gap: 56px; margin-top: 40px; }
.bl-body { font-size: 18px; line-height: 1.7; color: var(--ink); }
.bl-body h2 { margin: 48px 0 12px; font-size: 26px; line-height: 1.25; scroll-margin-top: 96px; }
.bl-body p { margin: 0 0 16px; }
.bl-body ul, .bl-body ol { margin: 0 0 18px; padding-left: 22px; }
.bl-body li { margin: 6px 0; }
.bl-body a { color: #5b46dc; text-underline-offset: 3px; }
.bl-summary { padding: 20px 24px; border-radius: 16px; background: var(--violet-soft); }
.bl-summary b { font: 600 13px var(--display); color: #5b46dc; }
.bl-summary p { margin: 6px 0 0; }
.bl-faq { margin-top: 48px; }
.bl-faq details { border-bottom: 1px solid var(--line); padding: 14px 0; }
.bl-faq summary { cursor: pointer; font-weight: 600; }
.bl-faq details p { margin: 10px 0 0; color: var(--ink-2); }
.bl-contact { margin-top: 48px; padding: 22px 24px; border: 1px solid var(--line); border-radius: 16px; }
.bl-contact p { margin: 6px 0 0; color: var(--ink-2); }
.bl-side { position: sticky; top: 96px; align-self: start; display: grid; gap: 18px; }
.bl-toc b { font: 600 13px var(--display); color: var(--ink-3); }
.bl-toc ol { list-style: none; margin: 10px 0 0; padding: 0; border-left: 2px solid var(--line); }
.bl-toc li a { display: block; padding: 6px 0 6px 14px; font-size: 14px; line-height: 1.4; color: var(--ink-2); text-decoration: none; }
.bl-toc li a:hover { color: var(--ink); }
.bl-appcard { display: grid; justify-items: start; gap: 2px; padding: 20px; border: 1px solid var(--line); border-radius: 18px; background: #fff; box-shadow: 0 24px 44px -34px rgba(17, 38, 63, .45); }
.bl-appcard img { width: 44px; height: 44px; border-radius: 12px; margin-bottom: 8px; }
.bl-appcard span { font-size: 13px; color: var(--ink-3); margin-bottom: 14px; }
.bl-appcard .btn { width: 100%; height: 44px; }
.bl-more { margin-top: 10px; font-size: 14px; color: #5b46dc; }
.bl-related { padding: 72px 0 96px; background: #f8f7fc; }
.bl-related h2 { margin-bottom: 24px; font-size: 26px; }
@media (max-width: 960px) {
  .bl-cards { grid-template-columns: 1fr 1fr; }
  .bl-grid { grid-template-columns: 1fr; gap: 32px; }
  .bl-side { position: static; }
  .bl-toc { display: none; }
}
@media (max-width: 640px) {
  .bl-index { padding: 56px 0 72px; }
  .bl-cards { grid-template-columns: 1fr; }
  .bl-body { font-size: 17px; }
}
/* Comparison tables */
.bl-body .cmp { width: 100%; margin: 8px 0 24px; border-collapse: collapse; font-size: 16px; line-height: 1.5; }
.bl-body .cmp th, .bl-body .cmp td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.bl-body .cmp thead th { font: 600 14px var(--display); color: var(--ink-3); background: #f8f7fc; }
.bl-body .cmp thead th:last-child { color: #5b46dc; background: var(--violet-soft); }
.bl-body .cmp tbody th { font-weight: 600; width: 30%; }
@media (max-width: 640px) { .bl-body .cmp { font-size: 14px; } .bl-body .cmp th, .bl-body .cmp td { padding: 10px 8px; } }
/* Comparison short answer: the question, a direct answer, and a short table beside it */
.cmp-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 72px; align-items: center; margin: 28px 0 56px; padding: 56px 0 64px; border-bottom: 1px solid var(--line); }
.cmp-ans h1 { margin: 0 0 22px; font-size: clamp(34px, 3.8vw, 50px); line-height: 1.08; letter-spacing: -0.025em; }
.cmp-ans p { margin: 0 0 16px; font-size: 18px; line-height: 1.65; color: var(--ink-2); }
.cmp-ans b { color: var(--ink); }
.cmp-ans a { display: inline-block; margin-top: 8px; font-weight: 600; color: var(--ink); text-decoration: underline; text-decoration-color: #00c875; text-decoration-thickness: 2px; text-underline-offset: 6px; }
.cmp-cap { margin: 0 0 12px; font-size: 13px; color: var(--ink-3); }
.cmp-dots { width: 100%; border-collapse: separate; border-spacing: 0; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; font-size: 15px; background: #fff; box-shadow: 0 30px 60px -44px rgba(17, 38, 63, .35); }
.cmp-dots th, .cmp-dots td { padding: 18px 18px; text-align: left; vertical-align: middle; border-bottom: 1px solid var(--line); }
.cmp-dots tr:last-child th, .cmp-dots tr:last-child td { border-bottom: 0; }
.cmp-dots thead th { padding-top: 16px; padding-bottom: 16px; font: 600 13px/1.35 var(--display); color: var(--ink-2); background: #fbfbfd; }
.cmp-dots thead th:last-child { background: var(--ink); color: #fff; }
.cmp-dots tbody th { font-weight: 600; color: var(--ink); width: 42%; }
.cmp-dots td { color: var(--ink-2); white-space: nowrap; }
.cmp-dots td.y { background: #effbf5; color: var(--ink); font-weight: 600; }
.cmp-dots td i { display: inline-block; width: 7px; height: 7px; margin-right: 9px; border-radius: 50%; vertical-align: 2px; background: #c4c8d1; }
.cmp-dots td.p i { background: #fdab3d; }
.cmp-dots td.y i { background: #00c875; }
@media (max-width: 900px) { .cmp-top { grid-template-columns: 1fr; gap: 36px; padding: 32px 0 44px; } }
@media (max-width: 640px) {
  .cmp-dots { font-size: 13.5px; }
  .cmp-dots th, .cmp-dots td { padding: 12px 8px; vertical-align: top; line-height: 20px; }
  .cmp-dots tbody th { width: 34%; }
  /* the status dot hangs to the left of the text, so it never sits on a line by itself */
  .cmp-dots td { white-space: normal; position: relative; padding-left: 22px; }
  .cmp-dots td i { position: absolute; left: 9px; top: 18.5px; margin: 0; }
}
.bl-quote { margin: 8px 0 24px; padding: 22px 24px; border-radius: 16px; background: #f8f7fc; }
.bl-quote blockquote { margin: 0; font-size: 18px; line-height: 1.6; color: var(--ink); }
.bl-quote figcaption { display: flex; align-items: center; gap: 10px; margin-top: 14px; font-size: 14px; color: var(--ink-3); }
.bl-quote img { width: 36px; height: 36px; border-radius: 50%; }

.bl-scene { margin: 6px 0 22px; }
.bl-scene video { display: block; width: 100%; border-radius: 16px; background: #f8f7fc; box-shadow: 0 30px 60px -44px rgba(17, 38, 63, .35); }
.bl-scene figcaption { margin-top: 10px; font-size: 13px; color: var(--ink-3); }
@media (prefers-reduced-motion: reduce) { .bl-scene video { animation: none; } }
