/* ============================================================
   ReMynd — blog
   Layers on styles.css. Reuses the same tokens, type scale and chrome.
   ============================================================ */

.blog-body { background: var(--bg); }

.skip { position: absolute; left: -9999px; top: 0; z-index: 100; }
.skip:focus { left: 12px; top: 12px; }

/* The landing page nav floats over a scroll-scrubbed hero and gains its border
   from scroll JS. Blog pages are plain documents with dense prose running under
   the nav, so at 72% opacity the text bled through it — these pages get a solid
   bar and a permanent hairline instead. */
.blog-body .nav {
  position: sticky; top: 0;
  background: rgba(244,245,250,.96);
  border-bottom: 1px solid var(--hair);
}
.blog-body main { padding-top: 88px; padding-bottom: 96px; }

.wrap-narrow { max-width: 760px; }

.nav-links .is-current { color: var(--cyan); font-weight: 600; }

/* ---------- index ---------- */
.blog-index h1 { font-size: clamp(30px, 4.4vw, 46px); line-height: 1.12; margin: 14px 0 12px; letter-spacing: -.02em; }
.blog-index .lede { color: var(--muted); font-size: 17px; line-height: 1.6; max-width: 58ch; margin: 0 0 40px; }

.post-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }

.post-card a {
  display: block; text-decoration: none; color: inherit;
  background: var(--panel); border: 1px solid var(--hair);
  border-radius: var(--r-lg); padding: 26px 28px;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.post-card a:hover, .post-card a:focus-visible {
  border-color: var(--hair-2); box-shadow: var(--glow-cyan); transform: translateY(-2px);
}
.post-card h2 { font-size: 21px; line-height: 1.28; margin: 0 0 9px; letter-spacing: -.01em; }
.post-card p { color: var(--muted); font-size: 15px; line-height: 1.58; margin: 0 0 14px; }
.post-card-meta { font-family: var(--mono); font-size: 11.5px; color: var(--faint); letter-spacing: .04em; text-transform: uppercase; }

/* ---------- post ---------- */
.back {
  display: inline-block; font-family: var(--mono); font-size: 12px; letter-spacing: .04em;
  color: var(--muted); text-decoration: none; margin-bottom: 22px;
}
.back:hover { color: var(--cyan); }

.post h1 { font-size: clamp(28px, 4.2vw, 44px); line-height: 1.14; margin: 0 0 14px; letter-spacing: -.022em; }
.post-meta { font-family: var(--mono); font-size: 11.5px; color: var(--faint); letter-spacing: .05em; text-transform: uppercase; margin: 0 0 34px; padding-bottom: 26px; border-bottom: 1px solid var(--hair); }

.prose { font-size: 17px; line-height: 1.72; color: #22242F; }
.prose h2 { font-size: clamp(21px, 2.6vw, 27px); line-height: 1.25; margin: 46px 0 14px; letter-spacing: -.015em; color: var(--text); }
.prose h3 { font-size: 18.5px; line-height: 1.32; margin: 34px 0 10px; color: var(--text); }
.prose p { margin: 0 0 20px; }
.prose strong { font-weight: 600; color: var(--text); }
.prose a { color: var(--cyan); text-decoration: underline; text-underline-offset: 2px; text-decoration-thickness: 1px; }
.prose a:hover { text-decoration-thickness: 2px; }
.prose code { font-family: var(--mono); font-size: .88em; background: var(--panel-2); border: 1px solid var(--hair); border-radius: var(--r-sm); padding: 1px 5px; }
.prose ul, .prose ol { margin: 0 0 22px; padding-left: 22px; }
.prose li { margin-bottom: 9px; }
.prose li::marker { color: var(--faint); }

/* wide content scrolls inside its own box — the page never scrolls sideways */
.table-scroll { overflow-x: auto; margin: 0 0 26px; border: 1px solid var(--hair); border-radius: var(--r); background: var(--panel); }
.prose table { border-collapse: collapse; width: 100%; font-size: 14.5px; }
.prose th, .prose td { text-align: left; padding: 12px 15px; border-bottom: 1px solid var(--hair); vertical-align: top; }
.prose th { font-size: 12px; font-family: var(--mono); text-transform: uppercase; letter-spacing: .04em; color: var(--muted); white-space: nowrap; }
.prose tbody tr:last-child td { border-bottom: 0; }

/* ---------- CTA ---------- */
.post-cta {
  margin: 54px 0 0; padding: 34px 32px; text-align: center;
  background: var(--panel); border: 1px solid var(--hair);
  border-radius: var(--r-lg); box-shadow: var(--glow-cyan);
}
.post-cta h3 { font-size: 23px; line-height: 1.24; margin: 0 0 9px; letter-spacing: -.015em; }
.post-cta p { color: var(--muted); font-size: 15.5px; line-height: 1.6; margin: 0 0 22px; max-width: 46ch; margin-inline: auto; }
.cta-fine { display: block; margin-top: 15px; font-family: var(--mono); font-size: 11.5px; color: var(--faint); letter-spacing: .03em; }

.post-more { margin-top: 52px; padding-top: 28px; border-top: 1px solid var(--hair); }
.post-more h4 { font-family: var(--mono); font-size: 11.5px; text-transform: uppercase; letter-spacing: .06em; color: var(--faint); margin: 0 0 14px; font-weight: 500; }
.post-more a { display: block; color: var(--text); text-decoration: none; font-weight: 500; font-size: 16.5px; line-height: 1.4; padding: 11px 0; border-bottom: 1px solid var(--hair); }
.post-more a:last-child { border-bottom: 0; }
.post-more a:hover { color: var(--cyan); }

@media (max-width: 640px) {
  .blog-body main { padding-top: 76px; padding-bottom: 64px; }
  .prose { font-size: 16.5px; }
  .post-card a { padding: 22px 20px; }
  .post-cta { padding: 28px 20px; }
}

/* post FAQ — real on-page questions, mirrored by the FAQPage schema */
.post-faq { margin-top: 52px; padding-top: 30px; border-top: 1px solid var(--hair); }
.post-faq h2 { font-size: clamp(21px, 2.6vw, 26px); margin: 0 0 18px; letter-spacing: -.015em; }
.post-faq .faq { border-bottom: 1px solid var(--hair); }
.post-faq .faq summary {
  cursor: pointer; list-style: none; padding: 15px 0; font-weight: 600; font-size: 16.5px;
  display: flex; justify-content: space-between; gap: 16px; align-items: baseline;
}
.post-faq .faq summary::-webkit-details-marker { display: none; }
.post-faq .faq .pm { color: var(--faint); font-weight: 400; flex: none; }
.post-faq .faq[open] .pm { transform: rotate(45deg); }
.post-faq .faq .a { color: var(--muted); font-size: 16px; line-height: 1.65; padding: 0 0 18px; max-width: 62ch; }

/* ---------- landing pages (/alternatives, /compare, /for) ----------
   Same shell as a post but normal sentence case and a wider measure, since
   these carry comparison tables rather than long prose. */
.wrap-mid { max-width: 860px; }

.crumbs {
  font-family: var(--mono); font-size: 11.5px; letter-spacing: .03em;
  color: var(--faint); margin-bottom: 20px; display: flex; flex-wrap: wrap; gap: 7px; align-items: center;
}
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--cyan); }
.crumbs .here { color: var(--text); }

.lander h1 { font-size: clamp(30px, 4.4vw, 46px); margin-bottom: 26px; }
/* landers open straight into prose, so the post-meta divider isn't there to
   separate the headline from the body */
.lander .prose > h2:first-child { margin-top: 34px; }
.lander .prose table { font-size: 14px; }
.lander .prose th:first-child, .lander .prose td:first-child { font-weight: 600; color: var(--text); }

@media (max-width: 640px) {
  .crumbs { font-size: 10.5px; }
}

/* ---------- legal pages (privacy policy) ----------
   A privacy policy for a product whose pitch IS privacy has to be read, not
   skimmed past. The "at a glance" cards carry the six claims that matter; the
   prose underneath is the evidence for them. */
.legal-date {
  font-family: var(--mono); font-size: 11.5px; color: var(--faint);
  letter-spacing: .05em; text-transform: uppercase; margin: 0 0 22px;
}
.legal-lede {
  font-size: 19.5px; line-height: 1.6; color: var(--muted);
  margin: 0 0 40px; padding-bottom: 34px; border-bottom: 1px solid var(--hair);
}

.glance { margin: 0 0 52px; }
.glance-title {
  font-family: var(--mono); font-size: 11.5px; color: var(--faint);
  letter-spacing: .06em; text-transform: uppercase; margin: 0 0 18px; font-weight: 600;
}
.glance-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.glance-card {
  background: var(--panel); border: 1px solid var(--hair);
  border-radius: var(--r); padding: 20px 21px;
  border-left: 3px solid var(--cyan);
}
.glance-card h3 {
  font-size: 15.5px; line-height: 1.34; margin: 0 0 8px;
  color: var(--text); letter-spacing: -.008em; font-weight: 700;
}
.glance-card p { font-size: 14.5px; line-height: 1.6; color: var(--muted); margin: 0; }
.glance-card code {
  font-family: var(--mono); font-size: .86em; word-break: break-all;
  background: var(--bg); border: 1px solid var(--hair); border-radius: var(--r-sm); padding: 1px 4px;
}

/* The thesis pull-quote: the one sentence we want people to leave with. */
.legal-prose blockquote, .prose blockquote {
  margin: 0 0 26px; padding: 20px 24px;
  background: var(--panel); border: 1px solid var(--hair);
  border-left: 3px solid var(--cyan); border-radius: var(--r);
  font-size: 18.5px; line-height: 1.55; color: var(--text);
}
.legal-prose blockquote strong { font-weight: 700; }

/* Legal prose runs long — give the section breaks more air so it stays scannable. */
.legal-prose h2 { margin-top: 54px; padding-top: 26px; border-top: 1px solid var(--hair); }
.legal-prose h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }

@media (max-width: 720px) {
  .glance-grid { grid-template-columns: 1fr; }
  .legal-lede { font-size: 17.5px; }
  .legal-prose blockquote { font-size: 17px; padding: 18px 20px; }
}

/* Founder portrait on /about/ — square source, kept modest so the note stays the
   focus. Dimensions are also on the element so nothing shifts while it loads. */
.legal-prose img {
  display: block; max-width: 260px; width: 100%; height: auto;
  border-radius: var(--r-lg); margin: 30px 0 18px;
  box-shadow: 0 18px 44px -18px rgba(22,23,45,.4);
}
