/* ═══════════════════════════════════════════════════════════════════════
   MENT PAY — BLOG / CHANGELOG
   Same obsidian surface, same blue, same type system as the landing.
   ═══════════════════════════════════════════════════════════════════════ */

:root {
  --bg:            #080C14;
  --surface:       #0F1624;
  --surface-2:     #131C2E;
  --line:          rgba(255, 255, 255, 0.08);
  --line-strong:   rgba(255, 255, 255, 0.14);
  --text:          #F8FAFC;
  --muted:         #A7B4C7;
  --muted-2:       #7B8CA6;
  --blue:          #2576E3;
  --blue-hover:    #1B63C7;
  --blue-soft:     #60A5FA;
  --green:         #34D399;
  --amber:         #F59E0B;
  --font-display:  'Unbounded', 'Onest', sans-serif;
  --font-sans:     'Onest', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono:     'JetBrains Mono', ui-monospace, monospace;
  --max:           1120px;
  --radius:        22px;
  --spring:        cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

body {
  margin: 0;
  min-height: 100dvh;
  background: var(--bg);
  overflow-x: clip;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(900px 520px at 82% -12%, rgba(37, 118, 227, 0.16), transparent 64%),
    radial-gradient(700px 440px at -8% 32%, rgba(96, 165, 250, 0.06), transparent 62%);
}

::selection {
  background: var(--blue);
  color: #fff;
}

a, button {
  touch-action: manipulation;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--blue-soft);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 16px;
  z-index: 300;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--blue);
  color: #fff;
  font-weight: 500;
  font-size: 14px;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform 160ms var(--spring);
}
.skip-link:focus { transform: translateY(0); }

.mono {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1, "zero" 1;
}

/* ─── Header ─────────────────────────────────────────────────────────── */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: 72px;
  background: rgba(8, 12, 20, 0.82);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.header-inner {
  max-width: var(--max);
  height: 100%;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  min-height: 44px;
  flex-shrink: 0;
}

.brand img {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.brand-word {
  font-weight: 700;
  font-size: 21px;
  letter-spacing: -0.045em;
  line-height: 1;
}
.brand-word .blue { color: var(--blue-soft); margin-left: 1px; }
.brand-slash {
  color: rgba(255, 255, 255, 0.2);
  font-size: 18px;
  line-height: 1;
}
.brand-section {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  min-width: 0;
}

.nav-link {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 150ms ease;
}
.nav-link:hover { color: #fff; }

.nav-cta {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 16px;
  border-radius: 11px;
  background: var(--blue);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #fff;
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 500;
  white-space: nowrap;
  transition: background 150ms ease, transform 150ms var(--spring);
}
.nav-cta:hover { background: var(--blue-hover); }
.nav-cta:active { transform: scale(0.98); }

/* ─── Shell / typography ─────────────────────────────────────────────── */

.page {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 20px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--blue-soft);
}

.eyebrow::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(52, 211, 153, 0.08);
  flex-shrink: 0;
}

.hero {
  padding: 72px 0 26px;
}

.hero h1 {
  margin: 0 0 22px;
  max-width: 920px;
  font-family: var(--font-display);
  font-size: clamp(38px, 6vw, 76px);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.045em;
}
.hero h1 .accent { color: var(--blue-soft); }

.hero-lead {
  max-width: 620px;
  margin: 0;
  font-size: clamp(16px, 1.7vw, 19px);
  line-height: 1.65;
  color: var(--muted);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 26px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted-2);
}
.hero-meta span[aria-hidden="true"] { color: rgba(255, 255, 255, 0.2); }
.hero-meta a {
  color: var(--blue-soft);
  text-decoration: none;
}
.hero-meta a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ─── Featured release ───────────────────────────────────────────────── */

.feature {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  margin-top: 38px;
  border: 1px solid var(--line);
  border-radius: 26px;
  overflow: hidden;
  background: linear-gradient(145deg, rgba(19, 28, 46, 0.92), rgba(9, 14, 25, 0.96));
  color: inherit;
  text-decoration: none;
  transition: border-color 180ms ease, transform 220ms var(--spring);
}
.feature:hover {
  border-color: rgba(96, 165, 250, 0.34);
  transform: translateY(-2px);
}

.feature-body {
  padding: clamp(26px, 4vw, 44px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.post-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted-2);
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 2px 9px;
  border: 1px solid rgba(96, 165, 250, 0.22);
  border-radius: 999px;
  background: rgba(37, 118, 227, 0.09);
  color: #BFDBFE;
  font-size: 10.5px;
  letter-spacing: 0.02em;
}

.feature h2 {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-size: clamp(25px, 3.1vw, 38px);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.035em;
  color: #fff;
}

.feature p {
  margin: 0;
  max-width: 560px;
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--muted);
}

.read-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 26px;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
}
.read-link svg {
  transition: transform 180ms var(--spring);
}
.feature:hover .read-link svg { transform: translate(3px, -3px); }

.release-panel {
  padding: 30px;
  border-left: 1px solid var(--line);
  background:
    radial-gradient(360px 280px at 100% 0%, rgba(37, 118, 227, 0.2), transparent 70%),
    rgba(255, 255, 255, 0.015);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 26px;
}

.release-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}
.release-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.release-version {
  font-family: var(--font-display);
  font-size: 31px;
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1;
  color: #fff;
}

.release-stats {
  display: grid;
  gap: 15px;
}
.release-stat {
  padding-bottom: 15px;
  border-bottom: 1px solid var(--line);
}
.release-stat:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}
.release-stat b {
  display: block;
  font-family: var(--font-display);
  font-size: 23px;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: #fff;
}
.release-stat span {
  display: block;
  margin-top: 4px;
  font-size: 11.5px;
  color: var(--muted-2);
}

.release-foot {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--muted-2);
}
.release-foot .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(52, 211, 153, 0.08);
}

/* ─── Post list ──────────────────────────────────────────────────────── */

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin: 66px 0 8px;
  padding-top: 34px;
  border-top: 1px solid var(--line);
}

.section-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 500;
  letter-spacing: -0.035em;
}
.section-head p {
  margin: 0;
  font-size: 13px;
  color: var(--muted-2);
}

.post-list {
  display: grid;
}

.post-row {
  display: grid;
  grid-template-columns: 122px 1fr 34px;
  gap: 24px;
  align-items: start;
  padding: 25px 0;
  border-bottom: 1px solid var(--line);
  color: inherit;
  text-decoration: none;
  transition: border-color 160ms ease;
}
.post-row:hover { border-color: rgba(96, 165, 250, 0.28); }

.post-row time {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--muted-2);
  padding-top: 4px;
}

.post-row h3 {
  margin: 0 0 6px;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.35;
  color: #fff;
  transition: color 150ms ease;
}
.post-row:hover h3 { color: var(--blue-soft); }

.post-row p {
  margin: 0;
  max-width: 680px;
  font-size: 14px;
  line-height: 1.65;
  color: var(--muted);
}

.post-row .arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--muted);
  transition: color 150ms ease, border-color 150ms ease, transform 180ms var(--spring);
}
.post-row:hover .arrow {
  color: #fff;
  border-color: rgba(96, 165, 250, 0.35);
  transform: translate(2px, -2px);
}

.empty-note {
  padding: 22px 0;
  font-size: 13.5px;
  color: var(--muted-2);
}

/* ─── Subscribe ──────────────────────────────────────────────────────── */

.subscribe {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin: 64px 0;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background:
    radial-gradient(360px 200px at 0% 0%, rgba(37, 118, 227, 0.14), transparent 70%),
    rgba(255, 255, 255, 0.018);
}

.subscribe h2 {
  margin: 0 0 7px;
  font-family: var(--font-display);
  font-size: clamp(21px, 2.6vw, 28px);
  font-weight: 500;
  letter-spacing: -0.035em;
}
.subscribe p {
  margin: 0;
  max-width: 520px;
  font-size: 14px;
  line-height: 1.65;
  color: var(--muted);
}

.subscribe-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  flex-shrink: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 12px 20px;
  border-radius: 13px;
  background: var(--blue);
  border: 1px solid rgba(255, 255, 255, 0.17);
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  transition: background 150ms ease, transform 150ms var(--spring);
}
.btn:hover { background: var(--blue-hover); }
.btn:active { transform: scale(0.98); }

.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--line-strong);
  color: var(--text);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.08); }

/* ─── Article ────────────────────────────────────────────────────────── */

.article-page {
  padding-top: 46px;
  padding-bottom: 20px;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 30px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted-2);
}
.breadcrumbs a {
  color: var(--blue-soft);
  text-decoration: none;
}
.breadcrumbs a:hover { text-decoration: underline; text-underline-offset: 3px; }
.breadcrumbs span[aria-hidden="true"] { color: rgba(255, 255, 255, 0.18); }

.article-head {
  max-width: 860px;
}

.article-head h1 {
  margin: 0 0 22px;
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 58px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.article-lead {
  max-width: 700px;
  margin: 0;
  font-size: clamp(16px, 1.8vw, 19px);
  line-height: 1.7;
  color: var(--muted);
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted-2);
}
.article-meta .sep { color: rgba(255, 255, 255, 0.18); }

.article-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 760px);
  gap: 56px;
  align-items: start;
  margin-top: 48px;
}

.toc {
  position: sticky;
  top: 98px;
  padding-top: 4px;
}
.toc-title {
  margin: 0 0 12px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.toc nav {
  display: grid;
  gap: 2px;
  border-left: 1px solid var(--line);
}
.toc a {
  display: block;
  padding: 5px 0 5px 14px;
  color: var(--muted-2);
  text-decoration: none;
  font-size: 12.5px;
  line-height: 1.45;
  border-left: 1px solid transparent;
  margin-left: -1px;
  transition: color 150ms ease, border-color 150ms ease;
}
.toc a:hover {
  color: var(--blue-soft);
  border-left-color: var(--blue);
}

.prose {
  min-width: 0;
  font-size: 16.5px;
  line-height: 1.75;
  color: #C7D3E2;
}

.prose > :first-child { margin-top: 0; }

.prose h2 {
  margin: 48px 0 18px;
  font-family: var(--font-display);
  font-size: clamp(23px, 2.8vw, 31px);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.035em;
  color: #fff;
}
.prose h2::before {
  content: '';
  display: block;
  width: 30px;
  height: 2px;
  margin-bottom: 14px;
  border-radius: 2px;
  background: var(--blue);
}

.prose h3 {
  margin: 32px 0 12px;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.35;
  color: #fff;
}

.prose p {
  margin: 0 0 18px;
}

.prose a {
  color: var(--blue-soft);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.prose a:hover { color: #BFDBFE; }

.prose strong { color: #fff; font-weight: 500; }

.prose ul,
.prose ol {
  margin: 0 0 20px;
  padding-left: 22px;
}
.prose li { margin: 7px 0; }
.prose li::marker { color: var(--blue-soft); }

.prose code {
  padding: 2px 6px;
  border: 1px solid rgba(96, 165, 250, 0.16);
  border-radius: 6px;
  background: rgba(96, 165, 250, 0.09);
  color: #BFDBFE;
  font-family: var(--font-mono);
  font-size: 0.84em;
  white-space: nowrap;
}

.prose pre {
  margin: 0 0 22px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #060A12;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.prose pre code {
  padding: 0;
  border: 0;
  background: none;
  color: #C7D3E2;
  font-size: 12.5px;
  line-height: 1.7;
  white-space: pre;
}

.table-wrap {
  margin: 0 0 24px;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.prose table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  font-size: 13.5px;
  line-height: 1.5;
}
.prose th {
  padding: 12px 15px;
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-align: left;
  text-transform: uppercase;
}
.prose td {
  padding: 12px 15px;
  border-top: 1px solid var(--line);
  vertical-align: top;
}
.prose td:first-child { color: #fff; }

.callout {
  margin: 0 0 22px;
  padding: 16px 18px;
  border: 1px solid rgba(96, 165, 250, 0.18);
  border-left: 2px solid var(--blue);
  border-radius: 0 14px 14px 0;
  background: rgba(37, 118, 227, 0.08);
  font-size: 14.5px;
  line-height: 1.65;
  color: #C7D3E2;
}
.callout strong { color: #fff; }

.callout.warn {
  border-color: rgba(245, 158, 11, 0.22);
  border-left-color: var(--amber);
  background: rgba(245, 158, 11, 0.07);
}

.checklist {
  list-style: none;
  padding: 0;
  margin: 0 0 22px;
}
.checklist li {
  position: relative;
  padding: 0 0 0 28px;
  margin: 10px 0;
}
.checklist li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 1px;
  color: var(--green);
  font-weight: 700;
}

.article-footer {
  margin-top: 52px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.article-footer p {
  margin: 0;
  font-size: 13.5px;
  color: var(--muted-2);
}
.article-footer .actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* ─── Footer ─────────────────────────────────────────────────────────── */

.site-footer {
  margin-top: 20px;
  border-top: 1px solid var(--line);
  background: #060910;
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 34px 24px 28px;
}

.footer-main {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 11px;
}
.footer-brand img {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.15);
}
.footer-brand b {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: #fff;
}
.footer-brand span {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  color: var(--muted-2);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
  font-size: 13px;
}
.footer-links a {
  color: var(--muted);
  text-decoration: none;
  min-height: 36px;
  display: inline-flex;
  align-items: center;
}
.footer-links a:hover { color: #fff; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--muted-2);
}
.footer-bottom a {
  color: var(--blue-soft);
  text-decoration: none;
}
.footer-bottom a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ─── Responsive ─────────────────────────────────────────────────────── */

@media (max-width: 940px) {
  .feature { grid-template-columns: 1fr; }
  .release-panel {
    border-left: 0;
    border-top: 1px solid var(--line);
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    align-items: start;
    gap: 22px;
  }
  .release-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
  }
  .release-stat {
    padding-bottom: 0;
    border-bottom: 0;
    padding-left: 12px;
    border-left: 1px solid var(--line);
  }
  .release-stat:first-child {
    padding-left: 0;
    border-left: 0;
  }
  .release-stat b { font-size: 19px; }
  .release-foot { grid-column: 1 / -1; }

  .article-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .toc {
    position: static;
    padding: 18px 20px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.018);
  }
  .toc nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-left: 0;
    gap: 0 16px;
  }
  .toc a {
    border-left: 0;
    padding-left: 0;
  }
}

@media (max-width: 720px) {
  .header-inner,
  .page {
    padding-left: 16px;
    padding-right: 16px;
  }
  .brand-section,
  .brand-slash,
  .nav-optional {
    display: none;
  }
  .nav { gap: 14px; }
  .nav-link { font-size: 13px; }
  .hero { padding-top: 52px; }
  .hero h1 { margin-bottom: 18px; }
  .feature { border-radius: 20px; }
  .release-panel {
    grid-template-columns: 1fr;
    padding: 22px;
  }
  .release-stats {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .release-stat {
    padding: 10px 0;
    border-left: 0;
    border-bottom: 1px solid var(--line);
  }
  .release-stat:first-child { padding-top: 0; }
  .release-stat:last-child { border-bottom: 0; padding-bottom: 0; }
  .release-foot { grid-column: auto; }

  .section-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
    margin-top: 52px;
  }
  .post-row {
    grid-template-columns: 1fr 30px;
    gap: 12px;
    padding: 20px 0;
  }
  .post-row time {
    grid-column: 1 / -1;
    margin-bottom: -6px;
  }
  .post-row .arrow { grid-column: 2; grid-row: 2 / span 2; align-self: center; }

  .subscribe {
    flex-direction: column;
    align-items: flex-start;
    padding: 22px;
    margin: 50px 0;
  }
  .subscribe-actions { width: 100%; }
  .subscribe-actions .btn { flex: 1 1 auto; }

  .article-page { padding-top: 32px; }
  .article-head h1 { margin-bottom: 18px; }
  .article-layout { margin-top: 34px; }
  .toc nav { grid-template-columns: 1fr; }
  .prose { font-size: 16px; }
  .prose h2 { margin-top: 40px; }
  .prose table { min-width: 520px; }

  .footer-main { flex-direction: column; gap: 20px; }
  .footer-inner { padding-left: 16px; padding-right: 16px; }
}

@media (max-width: 420px) {
  .brand-word { font-size: 19px; }
  .brand img { width: 34px; height: 34px; }
  .nav-cta { padding: 8px 12px; font-size: 12.5px; }
  .nav { gap: 10px; }
  .hero h1 { font-size: 34px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
