/* Shared blog index/article styling; non-blog SEO pages keep their own layout. */
.blog-surface {
  --paper: #fff9ed;
  --paper-muted: #f9f1e1;
  --coffee-900: #3a3333;
  --coffee-600: #70615e;
  --coffee-500: #84746f;
  --coffee-100: #e3e1de;
  --merlot: #51121a;
  --merlot-hover: #651d26;
  --display: "EB Garamond", Georgia, serif;
  --body: -apple-system, BlinkMacSystemFont, "SF Pro", "SF Pro Text", "Segoe UI", sans-serif;
  margin: 0;
  font-family: var(--body);
  background: var(--paper);
  color: var(--coffee-600);
  -webkit-font-smoothing: antialiased;
}
.blog-surface *, .blog-surface *::before, .blog-surface *::after { box-sizing: border-box; }
.blog-surface :where(h1, h2, h3, p, blockquote, figure) { margin: 0; }
.blog-page, .seo-page { min-height: 100svh; }
.download-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  padding: 0 20px;
  border: 0;
  border-radius: 999px;
  background: var(--merlot);
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
}
.download-button-icon { width: 24px; height: 24px; flex: 0 0 24px; }
.download-button-label-mobile { display: none; }
.download-button-label-desktop { display: inline; }
.blog-surface a:focus-visible, .blog-surface summary:focus-visible {
  outline: 2px solid var(--merlot);
  outline-offset: 5px;
}
.blog-index { width: min(960px, calc(100% - 48px)); margin: 96px auto 0; padding-bottom: 200px; }
.blog-index h1, .seo-article h1 {
  font: 500 64px/1.1 var(--display);
  letter-spacing: -0.025em;
  color: var(--coffee-900);
  text-wrap: balance;
}
.blog-index h1 { margin-bottom: 56px; }
.blog-post-list { display: flex; flex-direction: column; }
.blog-post-link {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  align-items: center;
  gap: 24px;
  padding-block: 24px;
  border-bottom: 1px solid var(--coffee-100);
  text-decoration: none;
  color: var(--coffee-900);
}
.blog-post-link:first-child { padding-top: 0; }
.blog-post-link time { color: var(--coffee-500); font: 400 16px/21px var(--body); letter-spacing: -0.32px; white-space: nowrap; }
.blog-post-title { font: 500 20px/28px var(--body); letter-spacing: -0.46px; }
.seo-article { --article-body: 400 18px/29px var(--body); --article-meta: 400 16px/21px var(--body); color: var(--coffee-900); width: min(800px, calc(100% - 48px)); margin: 96px auto 0; padding-bottom: 200px; overflow-wrap: break-word; }
.seo-article > :is(h1, .seo-byline, p, section, .seo-related) { width: 100%; min-width: 0; }
.seo-article > :is(p, section, .seo-related) { max-width: 680px; margin-inline: auto; }
.seo-article > h1 { margin: 0 auto 24px; text-align: center; text-wrap: balance; }
.seo-article > h1 + p { margin-top: 80px; }
.seo-byline { color: var(--coffee-500); display: flex; justify-content: center; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 80px; font: var(--article-meta); letter-spacing: -0.32px; }
.seo-byline-avatar { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; margin-right: 4px; }
.seo-byline time, .seo-byline-separator { color: var(--coffee-500); }
.seo-article p { font: var(--article-body); }
.seo-article .seo-intro { margin-bottom: 64px; }
.seo-article section { margin-top: 64px; }
.seo-article h2, .seo-article h3 { margin-bottom: 20px; color: var(--coffee-900); font: 500 36px/1.15 var(--display); letter-spacing: -0.025em; text-wrap: pretty; }
.seo-article h3 { margin-top: 28px; }
.seo-article p + p { margin-top: 24px; }
.seo-article strong { color: var(--coffee-900); font-weight: 600; }
.seo-article p a { color: inherit; font-weight: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.seo-article ul, .seo-article ol { padding-left: 24px; font: var(--article-body); }
.seo-article li + li { margin-top: 8px; }
.seo-product-figure { margin-block: 32px; }
.seo-product-figure img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 24px; }
.seo-product-figure figcaption { margin-top: 16px; color: inherit; font: var(--article-meta); letter-spacing: -0.32px; }
.seo-article blockquote { margin-block: 32px; padding-left: 24px; border-left: 2px solid var(--coffee-100); }
.seo-article hr { margin-block: 48px; height: 1px; border: 0; background: var(--coffee-100); }
.seo-article .seo-faqs, .seo-related { margin-top: 64px; }
.seo-article .seo-faqs h2 { margin-bottom: 32px; }
.seo-faqs details:first-of-type { border-top: 0; padding-top: 0; }
.seo-faqs details { border-top: 1px solid var(--coffee-100); padding-block: 20px; }
.seo-faqs details:last-child { border-bottom: 1px solid var(--coffee-100); }
.seo-faqs summary { cursor: pointer; color: var(--coffee-900); font: var(--article-body); }
.seo-faqs details p { margin-top: 16px; }
.seo-related-links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.seo-related a { display: inline-flex; align-items: center; min-height: 40px; max-width: 100%; padding: 9px 16px; border: 1px solid var(--coffee-100); border-radius: 24px; color: inherit; font: var(--article-body); text-decoration: none; }
.seo-primary-cta { height: 56px; margin-top: 40px; }
.seo-primary-cta::before { content: ""; width: 24px; height: 24px; background: currentColor; mask: url("/landing/apple.svg") center / contain no-repeat; -webkit-mask: url("/landing/apple.svg") center / contain no-repeat; }
@media (hover: hover) and (pointer: fine) {
  .seo-related a:hover { text-decoration: underline; text-underline-offset: 4px; }
  .download-button { transition: background-color 200ms ease; }
  .download-button:hover { background: var(--merlot-hover); }
  .blog-post-link:hover .blog-post-title { color: var(--merlot); text-decoration: underline; text-underline-offset: 4px; }
}
@media (max-width: 1023px) {
  .blog-index, .seo-article { padding-bottom: 150px; }
  .download-button { height: 40px; }
  .download-button-label-mobile { display: inline; }
  .download-button-label-desktop { display: none; }
  .blog-index { margin-block: 72px 0; }
  .blog-index h1 { font-size: 48px; }
  .blog-post-link { grid-template-columns: 72px minmax(0, 1fr); gap: 16px; }
  .blog-post-title { font-size: 18px; line-height: 25px; }
  .seo-article { margin-top: 72px; }
  .seo-article h1 { font-size: 48px; }
  .seo-primary-cta { height: 48px; }
}
@media (max-width: 520px) {
  .seo-article h1 { font-size: 40px; }
  .seo-article h2, .seo-article h3 { font-size: 30px; }
  .seo-article { --article-body: 400 17px/27px var(--body); --article-meta: 400 15px/20px var(--body); }
  .blog-post-link { grid-template-columns: minmax(0, 1fr); gap: 8px 16px; }
  .blog-post-link time { grid-column: 1; }
  .blog-post-title { grid-column: 1; grid-row: 2; }
}
@media (prefers-reduced-motion: reduce) {
  .download-button { transition: none; }
}
