.blog-hero { padding-bottom: clamp(2rem, 4vw, 3rem); }
.blog-hero h1 { max-width: 15ch; font-size: clamp(2.8rem, 6.8vw, 5.6rem); letter-spacing: -0.055em; line-height: 0.96; }
.blog-hero h1 .hand { display: inline-block; font-weight: 650; letter-spacing: -0.02em; color: var(--blue); transform: rotate(-2deg); }
.blog-lead { max-width: 38rem; margin-top: 1.4rem; font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: var(--muted); text-wrap: pretty; }
.blog-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.4rem; padding-bottom: clamp(3rem, 7vw, 5rem); }
.blog-card { min-width: 0; }
.blog-card.is-first { grid-column: 1 / -1; }
.blog-card-link {
  display: flex; flex-direction: column; height: 100%; overflow: hidden; border: 1px solid var(--line); border-radius: 1.6rem;
  background: var(--card); box-shadow: var(--sh-1); transition: transform 0.45s var(--ease), border-color 0.25s, box-shadow 0.45s var(--ease);
}
.blog-card-link:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--blue) 40%, var(--line)); box-shadow: var(--sh-2); }
.blog-card-link:focus-visible { outline-offset: 4px; border-radius: 1.6rem; }
.blog-card-media { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--paper-2); border-bottom: 1px solid var(--line); }
.blog-card-media img { width: 100%; height: 100%; object-fit: cover; object-position: left top; transition: transform 0.9s var(--ease); }
.blog-card-link:hover .blog-card-media img { transform: scale(1.025); }
.blog-card-body { display: flex; flex-direction: column; gap: 0.7rem; padding: clamp(1.3rem, 2.4vw, 1.9rem); }
.blog-card-meta { font-size: 0.88rem; color: var(--muted); }
.blog-card-title { font-size: clamp(1.45rem, 2.6vw, 2.1rem); letter-spacing: -0.04em; line-height: 1.08; text-wrap: balance; }
.blog-card-text { color: var(--muted); font-size: 1.02rem; text-wrap: pretty; }
.blog-card-more { display: inline-flex; align-items: center; gap: 0.45rem; margin-top: auto; padding-top: 0.3rem; font-weight: 650; color: var(--blue-text); }
.blog-card-more svg { transition: transform 0.35s var(--ease); }
.blog-card-link:hover .blog-card-more svg { transform: translateX(4px); }
@media (min-width: 861px) {
  .blog-card.is-first .blog-card-link { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
  .blog-card.is-first .blog-card-media { aspect-ratio: auto; min-height: 100%; border-bottom: 0; border-right: 1px solid var(--line); }
  .blog-card.is-first .blog-card-body { justify-content: center; padding: clamp(2rem, 3.5vw, 3rem); }
  .blog-card.is-first .blog-card-title { font-size: clamp(1.9rem, 3vw, 2.6rem); }
}
.blog-end { padding-bottom: clamp(4rem, 8vw, 6rem); }
.post-hero { padding-bottom: 0; }
.post-head { max-width: 58rem; margin-inline: auto; }
.post-head h1 { font-size: clamp(2.4rem, 5.6vw, 4.6rem); letter-spacing: -0.05em; line-height: 1; text-wrap: balance; }
.post-byline { display: flex; flex-wrap: wrap; align-items: center; gap: 0.8rem 1.4rem; margin-top: 1.6rem; font-size: 0.95rem; color: var(--muted); }
.post-avatar {
  display: block; width: 46px; height: 46px; flex-shrink: 0; border-radius: 15px; object-fit: cover; background: var(--paper-2);
  box-shadow: 0 0 0 1px var(--line), 0 10px 22px -12px rgba(15, 18, 23, 0.55);
}
.post-byline .post-avatar { margin-right: -0.6rem; }
.post-by { display: grid; line-height: 1.3; }
.post-by strong { color: var(--ink); font-weight: 650; }
.post-when { display: inline-flex; flex-wrap: wrap; align-items: center; }
.post-when time { color: var(--ink); font-weight: 600; }
.post-cover { max-width: 64rem; margin: clamp(2rem, 4vw, 3rem) auto 0; }
.post-cover img { width: 100%; height: auto; border: 1px solid var(--line); border-radius: clamp(14px, 2vw, 24px); background: var(--card); box-shadow: var(--sh-2); }
.post-grid { margin-top: clamp(2.5rem, 5vw, 4rem); }
.toc-fold .toc-fold-list { padding: 0 1rem 1rem; }
.post-main { min-width: 0; }
.post-body .post-lead { font-size: clamp(1.12rem, 1.7vw, 1.3rem); line-height: 1.6; color: var(--ink); }
.post-body h3 { margin-top: 2.2rem; font-size: clamp(1.18rem, 1.8vw, 1.35rem); letter-spacing: -0.025em; line-height: 1.2; }
.post-body h3 + * { margin-top: 0.7rem; }
.post-body em { font-style: italic; }
.post-body ol.post-steps { display: grid; gap: 1rem; counter-reset: step; }
.post-body ol.post-steps li { counter-increment: step; padding: 1.1rem 1.2rem 1.1rem 4rem; border: 1px solid var(--line); border-radius: 1.2rem; background: color-mix(in srgb, var(--card) 75%, transparent); }
.post-body ol.post-steps li::before {
  content: counter(step); left: 1.1rem; top: 1.05rem; display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%;
  font-weight: 750; font-size: 0.95rem; color: #fff; background: var(--blue);
}
.post-body ul.post-sources { gap: 0.5rem; font-size: 0.92rem; line-height: 1.55; color: var(--muted); }
.post-body ul.post-sources li::before { background: var(--faint); }
.post-body figure { margin: 2rem 0 0; }
.post-body figure + * { margin-top: 2rem; }
.post-body figure img { width: 100%; height: auto; border: 1px solid var(--line); border-radius: 16px; background: var(--card); box-shadow: var(--sh-1); }
.post-body figcaption { margin-top: 0.75rem; text-align: center; font-size: 0.9rem; line-height: 1.45; color: var(--muted); text-wrap: balance; }
.post-body .shots-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-top: 2rem; }
.post-body .shots-pair figure { margin: 0; }
.post-body .shots-pair figcaption { display: flex; justify-content: center; }
.post-body .shots-pair figcaption::before { content: ""; width: 0.55rem; height: 0.55rem; margin: 0.42rem 0.5rem 0 0; border-radius: 50%; background: var(--faint); }
.post-body .shots-pair figure:last-child figcaption { color: var(--purple-ink); font-weight: 650; }
html.dark .post-body .shots-pair figure:last-child figcaption { color: var(--purple-ink); }
.post-body .shots-pair figure:last-child figcaption::before { background: var(--purple); }
.post-body .shots-phone { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: 2rem; counter-reset: shot; }
.post-body .shots-phone figure { margin: 0; counter-increment: shot; }
.post-body .shots-phone img { border-radius: clamp(18px, 2.4vw, 26px); }
.post-body .shots-phone figcaption { display: flex; gap: 0.5rem; align-items: flex-start; justify-content: center; text-align: left; }
.post-body .shots-phone figcaption::before {
  content: counter(shot); flex-shrink: 0; display: grid; place-items: center; width: 1.45rem; height: 1.45rem; border-radius: 50%;
  font-size: 0.78rem; font-weight: 750; color: #fff; background: var(--blue);
}
.post-body .post-cta {
  position: relative; isolation: isolate; overflow: hidden; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 1.6rem;
  margin-top: 2.6rem; padding: clamp(1.4rem, 3vw, 2rem) clamp(1.4rem, 3vw, 2.2rem); border-radius: 1.5rem; color: #fff;
  background: linear-gradient(140deg, #5856d6 0%, #3d4bf0 55%, #2b5cff 100%); box-shadow: 0 30px 60px -34px rgba(88, 86, 214, 0.85);
}
.post-body .post-cta::after { content: ""; position: absolute; z-index: -1; right: -60px; top: -90px; width: 240px; height: 240px; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 255, 255, 0.22), transparent); }
.post-body .post-cta + * { margin-top: 2.6rem; }
.post-body .post-cta-copy { flex: 1 1 20rem; }
.post-body .post-cta-copy p { margin: 0; color: rgba(255, 255, 255, 0.88); }
.post-body .post-cta-copy .post-cta-title { margin-bottom: 0.35rem; font-size: clamp(1.25rem, 2.2vw, 1.5rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.15; color: #fff; }
.post-body .post-cta .btn { text-decoration: none; color: var(--blue); font-weight: 650; }
.post-body .post-cta .btn:hover { text-decoration: none; }
.post-end { display: grid; gap: 1.4rem; margin-top: clamp(3rem, 6vw, 4.5rem); padding-bottom: clamp(4rem, 8vw, 6rem); }
.post-end .legal-more { margin-top: 0; }
.post-end-cta {
  position: relative; isolation: isolate; overflow: hidden; padding: clamp(2rem, 5vw, 3.2rem); border-radius: 1.8rem; text-align: center; color: #fff;
  background: linear-gradient(140deg, #0a6dff 0%, #2b5cff 55%, #3d4bf0 100%); box-shadow: 0 30px 60px -34px rgba(5, 109, 255, 0.8);
}
.post-end-cta::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(rgba(255, 255, 255, 0.17) 1px, transparent 1.6px); background-size: 24px 24px;
  -webkit-mask-image: radial-gradient(75% 75% at 50% 50%, #000, transparent); mask-image: radial-gradient(75% 75% at 50% 50%, #000, transparent);
}
.post-end-cta h2 { max-width: 18ch; margin: 0 auto; color: #fff; font-size: clamp(2rem, 4.4vw, 3.2rem); letter-spacing: -0.05em; line-height: 1; }
.post-end-cta h2 .hand { display: inline-block; font-weight: 650; letter-spacing: -0.02em; color: #fff; transform: rotate(-2deg); }
.post-end-cta p { max-width: 32rem; margin: 1rem auto 1.8rem; color: rgba(255, 255, 255, 0.88); }
.post-author { display: flex; gap: 1rem; align-items: flex-start; padding: 1.4rem 1.5rem; border: 1px solid var(--line); border-radius: 1.4rem; background: color-mix(in srgb, var(--card) 70%, transparent); }
.post-author p { margin: 0; }
.post-author-label { font-family: var(--f-hand); font-weight: 650; font-size: 0.98rem; color: var(--blue-text); }
.post-author-name { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.2rem 0.6rem; margin-top: 0.2rem !important; font-weight: 750; font-size: 1.12rem; color: var(--ink); }
.post-author-name span { font-weight: 500; font-size: 0.95rem; color: var(--muted); }
.post-author-bio { margin-top: 0.35rem !important; color: var(--text); }
@media (max-width: 860px) {
  .blog-list { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .post-byline { gap: 0.7rem 1rem; }
  .post-when { flex-basis: 100%; flex-direction: column; align-items: flex-start; gap: 0.1rem; }
  .post-when .dot { display: none; }
  .post-body .shots-pair { grid-template-columns: minmax(0, 1fr); }
  .post-body .shots-phone {
    grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 72%; overflow-x: auto; scroll-snap-type: x mandatory;
    margin-inline: -1.25rem; padding: 0.2rem 1.25rem 0.6rem; scrollbar-width: none;
  }
  .post-body .shots-phone::-webkit-scrollbar { display: none; }
  .post-body .shots-phone figure { scroll-snap-align: center; }
  .post-author { flex-direction: column; }
}
