/* AirTypes blog.
   Loads after the homepage system (landing/home/home.css): same tokens, Kanit headings, steel gradient,
   amber only on CTAs and live signals. Adds the index and long-form reading in Geist for comfort. */

:root {
  --read: 'Geist', ui-sans-serif, system-ui, sans-serif;
  --col: 760px;
  --wide: 1180px;
  /* Aliases for the inline styles some posts carry from the previous design. */
  --text: var(--ink);
  --text2: var(--ink-2);
  --text3: var(--ink-3);
  --muted: var(--ink-3);
  --border: var(--line);
  --orange: var(--amber);
  --radius: 18px;
}

/* ---------- Chrome ---------- */

.read-progress { position: fixed; z-index: 41; top: 0; left: 0; right: 0; height: 2px; pointer-events: none; }
.read-progress span {
  display: block; height: 100%; background: var(--amber);
  transform: scaleX(0); transform-origin: 0 50%;
}

.crumbs, .breadcrumb {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3);
}
.crumbs a, .breadcrumb a { color: var(--ink-2); transition: color .2s; }
.crumbs a:hover, .breadcrumb a:hover { color: var(--ink); }

.btn-primary {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 44px; padding: 14px 40px; border-radius: 999px;
  font-family: var(--font); font-weight: 500; font-size: .875rem; line-height: 1;
  letter-spacing: .1em; text-transform: uppercase; white-space: nowrap;
  color: var(--amber-ink);
  background: linear-gradient(123deg, #C67A06 0%, #E2920A 28%, #FFB224 62%, #FFD58A 100%);
  box-shadow: 0 4px 4px rgba(226, 146, 10, .25), inset 4px 4px 12px rgba(255, 228, 176, .9);
  outline: 2px solid rgba(255, 247, 232, .92); outline-offset: -3px;
  transition: transform .25s var(--ease-out), filter .25s var(--ease-out);
}
.btn-primary:hover { filter: brightness(1.06); transform: translateY(-1px); }
.btn-primary:active { transform: scale(.97); }
@media (max-width: 520px) {
  /* Long CTA labels wrap on phones instead of running past the screen edge. */
  .btn-primary { white-space: normal; text-align: center; line-height: 1.3; padding: 14px 28px; max-width: 100%; }
}
/* Long inline commands and paths break rather than widen the page. */
.blog-post-body :not(pre) > code { overflow-wrap: anywhere; }

/* ---------- Index ---------- */
.bx { max-width: 1440px; margin: 0 auto; padding: 116px var(--gutter) 0; }
.bx-h1 {
  margin-top: 20px;
  font-weight: 900; text-transform: uppercase; text-align: center; white-space: nowrap;
  font-size: 30vw; line-height: .8; letter-spacing: -.03em;
  padding: .03em 0 .1em;
}
.bx-intro {
  display: grid; gap: 28px;
  margin-top: 28px; padding-top: 28px; border-top: 1px solid var(--line);
}
@media (min-width: 900px) { .bx-intro { grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 64px; } }
.bx-intro .lead { max-width: 46rem; }
.bx-intro .lead a { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: rgba(255, 178, 36, .55); }
.bx-intro .lead a:hover { text-decoration-color: var(--amber); }
.bx-facts { display: flex; gap: 48px; }
.bx-facts dt { font-family: var(--mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.bx-facts dd { margin-top: 8px; font-weight: 600; font-size: clamp(1.4rem, 2.6vw, 2.2rem); line-height: 1; white-space: nowrap; }

.bx-feature {
  display: grid; gap: 20px;
  margin-top: clamp(56px, 8vw, 96px);
  padding: clamp(24px, 4.5vw, 56px);
  border: 2px solid var(--ink); border-radius: clamp(28px, 4vw, 60px);
  transition: background-color .35s var(--ease-out), transform .35s var(--ease-out);
}
.bx-feature:hover { background-color: rgba(215, 226, 234, .04); }
.bx-feature:active { transform: scale(.995); }
.bx-feature-label {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2);
}
.bx-feature-label::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 12px rgba(255, 178, 36, .7); }
.bx-feature-title { max-width: 24ch; font-weight: 600; font-size: clamp(1.8rem, 4.4vw, 3.8rem); line-height: 1.02; letter-spacing: -.02em; }
.bx-feature-x { max-width: 46rem; font-family: var(--read); font-size: clamp(1rem, 1.4vw, 1.15rem); line-height: 1.65; color: var(--ink-2); }
.bx-feature-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 8px; }
.bx-meta-line { font-family: var(--mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }

.bx-section { margin-top: clamp(96px, 12vw, 168px); }
.bx-section-head { display: grid; gap: 18px; margin-bottom: 36px; }
@media (min-width: 1024px) { .bx-section-head { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: end; gap: 56px; } }
.bx-h2 {
  font-weight: 900; text-transform: uppercase;
  font-size: clamp(2rem, 4.8vw, 4.4rem); line-height: .92; letter-spacing: -.02em;
  padding-bottom: .06em;
}
.bx-section-intro { max-width: 36rem; font-weight: 300; font-size: clamp(1rem, 1.4vw, 1.15rem); line-height: 1.6; color: var(--ink-2); }

.bx-list { border-top: 1px solid var(--line); }
.bx-row {
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px 18px;
  padding: 24px 4px; border-bottom: 1px solid var(--line);
  transition: background-color .3s var(--ease-out);
}
@media (min-width: 900px) {
  .bx-row { grid-template-columns: 56px minmax(0, 1fr) 200px 44px; gap: 32px; padding: 34px 12px; align-items: start; }
}
.bx-n { padding-top: .45em; font-family: var(--mono); font-size: .78rem; color: var(--ink-3); }
.bx-title { display: block; font-weight: 500; font-size: clamp(1.15rem, 2.1vw, 1.8rem); line-height: 1.18; letter-spacing: -.01em; transition: color .2s; }
.bx-excerpt { display: block; max-width: 44rem; margin-top: 10px; font-family: var(--read); font-size: .98rem; line-height: 1.6; color: var(--ink-3); }
.bx-meta {
  grid-column: 2; display: flex; flex-wrap: wrap; gap: 6px 14px;
  font-family: var(--mono); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3);
}
.bx-meta .is-new { color: var(--ink); }
@media (min-width: 900px) { .bx-meta { grid-column: auto; flex-direction: column; padding-top: .7em; } }
.bx-go { display: none; }
@media (min-width: 900px) {
  .bx-go {
    display: grid; place-items: center; width: 44px; height: 44px;
    border: 1px solid var(--line-strong); border-radius: 50%; color: var(--ink-2);
    transition: transform .35s var(--ease-out), border-color .25s, color .25s;
  }
}
.bx-row:hover { background-color: rgba(215, 226, 234, .035); }
.bx-row:hover .bx-title { color: #FFFFFF; }
.bx-row:hover .bx-go { transform: translateX(4px); border-color: var(--amber); color: var(--amber); }

.bx-links { display: grid; column-gap: 48px; border-top: 1px solid var(--line); }
@media (min-width: 768px) { .bx-links { grid-template-columns: 1fr 1fr; } }
.bx-link {
  display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
  min-height: 44px; padding: 18px 4px; border-bottom: 1px solid var(--line);
  font-size: 1.05rem; line-height: 1.3; transition: color .2s;
}
.bx-link:hover { color: #FFFFFF; }
.bx-link-k { flex: none; font-family: var(--mono); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }

.bx-cta {
  display: grid; justify-items: center; gap: 28px; text-align: center;
  margin-top: clamp(120px, 14vw, 200px); padding-bottom: clamp(96px, 10vw, 150px);
}
.bx-cta-title {
  font-weight: 900; text-transform: uppercase;
  font-size: clamp(2.8rem, 10vw, 150px); line-height: .88; letter-spacing: -.02em;
  padding-bottom: .06em;
}
.bx-cta .lead { max-width: 34rem; }

/* ---------- Article ---------- */
.blog-article-wrap { max-width: var(--col); margin: 0 auto; padding: 116px var(--gutter) 0; }
/* The breadcrumb and header break out of the reading column so the headline can be big. */
.blog-article-wrap > .breadcrumb, .blog-post-header {
  width: min(var(--wide), calc(100vw - 2 * var(--gutter)));
  margin-left: 50%;
  transform: translateX(-50%);
}
.blog-post-header { margin-top: 28px; margin-bottom: clamp(48px, 6vw, 80px); }
.blog-tag, .blog-hero-kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2);
}
.blog-tag::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--ink-3); }
.blog-tag-new::before { background: var(--amber); box-shadow: 0 0 12px rgba(255, 178, 36, .7); }
.blog-post-header-tags { display: flex; flex-wrap: wrap; gap: 20px; }
.blog-post-h1 {
  margin-top: 22px; max-width: 22ch;
  font-weight: 800; text-transform: uppercase;
  font-size: clamp(2.2rem, 5.4vw, 5rem); line-height: .96; letter-spacing: -.02em;
  padding-bottom: .06em;
  background: linear-gradient(180deg, var(--steel-a) 0%, var(--steel-b) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.blog-post-lead {
  max-width: 46rem; margin-top: 28px;
  font-family: var(--read); font-size: clamp(1.1rem, 1.6vw, 1.32rem); line-height: 1.6; color: var(--ink-2);
}
.blog-post-meta {
  display: flex; flex-wrap: wrap; gap: 10px 14px;
  margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--line);
  font-family: var(--mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3);
}

/* Body: Geist for long reading, Kanit for headings. */
.blog-post-body { font-family: var(--read); font-size: 1.075rem; line-height: 1.78; color: rgba(215, 226, 234, .84); }
.blog-post-body p { margin: 0 0 1.3em; }
.blog-post-body h2 {
  margin: 2.4em 0 .7em; scroll-margin-top: 96px;
  font-family: var(--font); font-weight: 700; font-size: clamp(1.6rem, 3vw, 2.3rem); line-height: 1.1; letter-spacing: -.015em; color: var(--ink);
}
.blog-post-body h3 {
  margin: 2em 0 .6em; scroll-margin-top: 96px;
  font-family: var(--font); font-weight: 500; font-size: clamp(1.15rem, 1.8vw, 1.4rem); line-height: 1.25; color: var(--ink);
}
.blog-post-body h4 { margin: 1.6em 0 .5em; font-family: var(--font); font-weight: 500; font-size: 1.1rem; color: var(--ink); }
.blog-post-body ul, .blog-post-body ol { margin: 0 0 1.4em; padding-left: 1.3em; }
.blog-post-body ul { list-style: disc; }
.blog-post-body ol { list-style: decimal; }
.blog-post-body li { margin: .45em 0; }
.blog-post-body li::marker { color: var(--ink-3); }
.blog-post-body ol > li::marker { font-family: var(--mono); font-size: .85em; }
.blog-post-body a {
  color: var(--ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px;
  text-decoration-color: rgba(255, 178, 36, .55); transition: color .2s, text-decoration-color .2s;
}
.blog-post-body a:hover { color: #FFFFFF; text-decoration-color: var(--amber); }
.blog-post-body strong { font-weight: 600; color: var(--ink); }
.blog-post-body em { color: var(--ink); }
.blog-post-body hr { margin: 3em 0; border: 0; border-top: 1px solid var(--line); }
.blog-post-body img { display: block; max-width: 100%; height: auto; border-radius: 18px; border: 1px solid var(--line); }
.blog-post-body figure { margin: 2em 0; }
.blog-post-body figcaption { margin-top: 10px; font-family: var(--mono); font-size: .72rem; line-height: 1.5; letter-spacing: .04em; color: var(--ink-3); }
.blog-post-body code {
  padding: .1em .4em; border-radius: 6px;
  font-family: var(--mono); font-size: .86em; color: var(--ink);
  background: rgba(215, 226, 234, .07); border: 1px solid var(--line);
}
.blog-post-body pre {
  margin: 0 0 1.6em; padding: 20px 22px; overflow-x: auto;
  border-radius: 18px; background: #111214; border: 1px solid var(--line);
  font-size: .9rem; line-height: 1.6;
}
.blog-post-body pre code { padding: 0; border: 0; background: none; font-size: inherit; color: #CFD8DE; }
.blog-post-body blockquote {
  margin: 2em 0; padding: 4px 0 4px 24px; border-left: 2px solid var(--amber);
  font-family: var(--font); font-weight: 300; font-size: clamp(1.2rem, 2vw, 1.5rem); line-height: 1.45; color: var(--ink);
}
.blog-post-body blockquote p:last-child { margin-bottom: 0; }
.blog-post-body table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.blog-post-body th { font-family: var(--mono); font-size: .7rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; }

/* Tables */
.blog-table-wrap { margin: 0 0 2em; overflow-x: auto; border: 1px solid var(--line); border-radius: 18px; }
.blog-table { width: 100%; border-collapse: collapse; font-size: .92rem; line-height: 1.5; }
.blog-table th {
  padding: 14px 16px; text-align: left; white-space: nowrap;
  font-family: var(--mono); font-size: .7rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink-2); background: rgba(215, 226, 234, .04); border-bottom: 1px solid var(--line);
}
.blog-table td { padding: 12px 16px; vertical-align: top; color: var(--ink-2); border-bottom: 1px solid var(--line); }
.blog-table tr:last-child td { border-bottom: 0; }
.blog-td-yes { color: #34D58A !important; }
.blog-td-no { color: var(--ink-3) !important; }
.blog-td-soon { color: var(--amber) !important; }

/* Table of contents: an index, numbered in mono. blog.js marks the section in view. */
.blog-toc { margin: 0 0 3em; padding: 22px 26px; border: 1px solid var(--line); border-radius: 24px; background: rgba(215, 226, 234, .025); }
.blog-toc strong { display: block; margin-bottom: 8px; font-family: var(--mono); font-size: .72rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.blog-toc ol { margin: 0; padding: 0; list-style: none; counter-reset: toc; }
.blog-toc li { margin: 0; counter-increment: toc; border-top: 1px solid var(--line); }
.blog-toc li:first-child { border-top: 0; }
.blog-post-body .blog-toc a, .blog-toc a {
  display: flex; gap: 14px; padding: 11px 0;
  font-family: var(--font); font-size: 1rem; line-height: 1.35; color: var(--ink-2); text-decoration: none;
  transition: color .2s;
}
.blog-toc a::before { content: counter(toc, decimal-leading-zero); padding-top: .22em; font-family: var(--mono); font-size: .72rem; color: var(--ink-3); transition: color .2s; }
.blog-toc a:hover, .blog-toc a.is-current { color: var(--ink); }
.blog-toc a.is-current::before { color: var(--amber); }

/* Callouts */
.blog-callout { margin: 0 0 2.6em; padding: 24px 26px; border: 1px solid var(--line-strong); border-radius: 24px; background: rgba(215, 226, 234, .03); }
.blog-callout-title { margin: 0 0 12px; font-family: var(--mono); font-size: .72rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--amber); }
.blog-callout ul { margin: 0; }
.blog-callout li { margin: .5em 0; }

/* Numbered flow */
.blog-post-body ol.blog-flow-steps { margin: 0 0 2em; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.blog-flow-step { display: flex; gap: 22px; margin: 0; padding: 24px 0; border-bottom: 1px solid var(--line); }
.blog-flow-step-num {
  flex: none; min-width: 1.25em;
  font-family: var(--font); font-weight: 900; font-size: 2.6rem; line-height: .85; letter-spacing: -.04em;
  background: linear-gradient(180deg, var(--steel-a) 0%, var(--steel-b) 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent;
}
.blog-flow-step-body { min-width: 0; }
.blog-flow-step-body strong { display: block; margin-bottom: 6px; font-family: var(--font); font-weight: 500; font-size: 1.15rem; line-height: 1.3; }
.blog-flow-step-desc { margin: 0; color: var(--ink-2); }

/* Say this, get that */
.blog-example { display: grid; gap: 14px; margin: 0 0 1.4em; padding: 22px; border: 1px solid var(--line); border-radius: 24px; }
@media (min-width: 640px) { .blog-example { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 20px; } }
.blog-example-col { min-width: 0; }
.blog-example-label { margin-bottom: 8px; font-family: var(--mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.blog-example-text { margin: 0 !important; font-size: .98rem; line-height: 1.6; color: var(--ink-2); }
.blog-example-col:last-child .blog-example-text { color: var(--ink); }
.blog-example-arrow { text-align: center; font-family: var(--mono); color: var(--amber); }
@media (max-width: 639px) { .blog-example-arrow { transform: rotate(90deg); } }

/* Splits: image beside a summary, and screenshots beside steps */
.blog-post-hero-split { display: grid; gap: 24px; margin: 0 0 3em; }
@media (min-width: 760px) { .blog-post-hero-split { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: start; } }
.blog-post-hero-split__figure { margin: 0; }
.blog-post-hero-split__figure img { width: 100%; height: auto; border-radius: 24px; border: 1px solid var(--line); }
.blog-post-hero-split__aside { padding: 24px; border: 1px solid var(--line-strong); border-radius: 24px; }
.blog-post-hero-split__eyebrow { margin: 0 0 8px; font-family: var(--mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--amber); }
.blog-post-hero-split__summary-title { margin: 0 0 10px; font-family: var(--font); font-weight: 600; font-size: 1.3rem; line-height: 1.2; color: var(--ink); }
.blog-post-hero-split__summary-lede { margin: 0 0 14px; font-size: .95rem; line-height: 1.6; color: var(--ink-2); }
.blog-post-hero-split__list { margin: 0; padding-left: 1.1em; list-style: disc; font-size: .95rem; line-height: 1.6; color: var(--ink-2); }
.blog-post-hero-split__list li { margin: .5em 0; }

.blog-section-split { display: grid; gap: 24px; margin: 1.4em 0 0; }
@media (min-width: 760px) { .blog-section-split { grid-template-columns: minmax(220px, 280px) minmax(0, 1fr); gap: 36px; align-items: start; } }
.blog-section-split__media { margin: 0; max-width: 360px; }
@media (min-width: 760px) { .blog-section-split__media { position: sticky; top: 96px; } }
.blog-section-split__media img { width: 100%; height: auto; }
.blog-section-split__body { min-width: 0; }
.blog-section-split__body > p:first-child { margin-top: 0; }
.blog-section-split__table-scroll { margin: 16px 0; overflow-x: auto; }

/* In-article calls to action */
.blog-post-cta, .blog-cta-inline {
  margin: 4em 0; padding: clamp(28px, 5vw, 56px); text-align: center;
  border: 2px solid var(--ink); border-radius: clamp(28px, 4vw, 48px);
}
.blog-cta-inline--mid { margin: 3em 0; padding: clamp(24px, 4vw, 40px); }
.blog-post-cta h2, .blog-cta-inline h2, .blog-cta-inline h3 {
  margin: 0 0 14px !important;
  font-family: var(--font); font-weight: 900; text-transform: uppercase;
  font-size: clamp(1.7rem, 4vw, 2.9rem); line-height: .95; letter-spacing: -.015em;
  background: linear-gradient(180deg, var(--steel-a) 0%, var(--steel-b) 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent;
}
.blog-cta-inline--mid h3 { font-size: clamp(1.35rem, 3vw, 2.1rem); }
.blog-post-cta p, .blog-cta-inline p { max-width: 34rem; margin: 0 auto 26px !important; color: var(--ink-2); }
.blog-post-body .btn-primary { color: var(--amber-ink); text-decoration: none; }

/* FAQ inside posts */
.blog-post-body .faq-item { border-bottom: 1px solid var(--line); }
.blog-post-body .faq-item:first-of-type { border-top: 1px solid var(--line); }
.faq-q {
  display: flex; justify-content: space-between; align-items: flex-start; gap: 20px;
  padding: 20px 0; list-style: none; cursor: pointer;
  font-family: var(--font); font-weight: 500; font-size: 1.12rem; line-height: 1.35; color: var(--ink);
  transition: color .2s;
}
.faq-q::-webkit-details-marker { display: none; }
.faq-q::after { content: '+'; flex: none; font-family: var(--mono); font-size: 1.3rem; line-height: 1; color: var(--ink-2); transition: transform .35s var(--ease-out); }
.faq-q:hover { color: #FFFFFF; }
.faq-item[open] .faq-q::after { transform: rotate(45deg); }
.faq-a { padding: 0 0 20px; color: var(--ink-2); }
.faq-a p:last-child { margin-bottom: 0; }

/* ---------- Read next ---------- */
.blog-read-next { max-width: 1440px; margin: clamp(96px, 12vw, 168px) auto 0; padding: 0 var(--gutter) clamp(80px, 10vw, 128px); }
.rn-title {
  margin-bottom: 36px;
  font-weight: 900; text-transform: uppercase;
  font-size: clamp(2.6rem, 8vw, 7rem); line-height: .9; letter-spacing: -.02em;
  padding-bottom: .06em;
}
.rn-list { display: grid; gap: 16px; }
@media (min-width: 900px) { .rn-list { grid-template-columns: repeat(3, 1fr); } }
.rn-list > li { display: flex; }
.rn-card {
  display: flex; flex-direction: column; gap: 14px; width: 100%;
  padding: 28px; border: 2px solid var(--line-strong); border-radius: 36px;
  transition: border-color .3s var(--ease-out), background-color .3s var(--ease-out), transform .3s var(--ease-out);
}
.rn-card:hover { border-color: var(--ink); background-color: rgba(215, 226, 234, .03); transform: translateY(-3px); }
.rn-n { font-weight: 900; font-size: 3.2rem; line-height: .8; letter-spacing: -.04em; padding-bottom: .06em; }
.rn-meta { font-family: var(--mono); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.rn-t { font-weight: 500; font-size: 1.35rem; line-height: 1.2; }
.rn-x { flex: 1; font-family: var(--read); font-size: .95rem; line-height: 1.6; color: var(--ink-3); }
.rn-card .ghost { align-self: flex-start; }

/* ---------- Sticky download pill (posts only) ---------- */
.blog-sticky {
  position: fixed; z-index: 39; left: 50%; bottom: 16px;
  display: flex; align-items: center; gap: 10px;
  padding: 6px 6px 6px 22px; border-radius: 999px;
  background: rgba(12, 12, 12, .86);
  -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2);
  border: 1px solid var(--line);
  transform: translate(-50%, 180%);
  transition: transform .5s var(--ease-out);
}
.blog-sticky--visible { transform: translate(-50%, 0); }
.blog-sticky--visible.is-tucked { transform: translate(-50%, 180%); }
.blog-sticky[hidden], .blog-sticky__btn[hidden] { display: none; }
.blog-sticky__text { margin: 0; font-size: .9rem; white-space: nowrap; color: var(--ink-2); }
.blog-sticky__text strong { font-weight: 600; color: var(--ink); }
.blog-sticky__close {
  flex: none; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--line); background: transparent; color: var(--ink-2);
  font-size: 1.25rem; line-height: 1; cursor: pointer; transition: color .2s, border-color .2s;
}
.blog-sticky__close:hover { color: var(--ink); border-color: var(--line-strong); }
@media (max-width: 760px) {
  /* Phones: span the width, leaving room on the right for the chat bubble. */
  .blog-sticky { left: 12px; right: 84px; padding-left: 6px; transform: translateY(180%); }
  .blog-sticky--visible { transform: none; }
  .blog-sticky--visible.is-tucked { transform: translateY(180%); }
  .blog-sticky__text { display: none; }
  .blog-sticky__btn { flex: 1; }
}

/* ---------- Phones: one centred axis ----------
   Headers, lists, cards and CTAs sit on the centre line. Article body copy stays left-aligned
   because centred paragraphs are hard to read at length. */
@media (max-width: 767px) {
  .crumbs, .breadcrumb { justify-content: center; }

  .bx-intro { text-align: center; }
  .bx-intro .lead { margin-inline: auto; }
  .bx-facts { justify-content: center; }
  .bx-feature { justify-items: center; text-align: center; }
  .bx-feature-foot { flex-direction: column; justify-content: center; }
  .bx-section-head { justify-items: center; text-align: center; }
  .bx-section-intro { margin-inline: auto; }
  .bx-row { grid-template-columns: 1fr; justify-items: center; gap: 8px; text-align: center; }
  .bx-n { padding-top: 0; }
  .bx-meta { grid-column: auto; justify-content: center; }
  .bx-excerpt { margin-inline: auto; }
  .bx-link { flex-direction: column; align-items: center; gap: 4px; text-align: center; }

  .blog-post-header { text-align: center; }
  .blog-post-header-tags { justify-content: center; }
  .blog-post-h1, .blog-post-lead { margin-inline: auto; }
  .blog-post-meta { justify-content: center; }

  .rn-title { text-align: center; }
  .rn-card { align-items: center; text-align: center; }
  .rn-card .ghost { align-self: center; }
}
