/* ===========================================================================
   bulkunfollow.com: blog, compare and stats pages (deploy/content/).
   Loaded AFTER pages.css, so it only adds what the shared shell lacks: the
   article column, the contents list, callouts, post cards, stat bars.
   Tokens come from pages.css (Brand B, docs/BRAND.md). Anton is for h1 and h2
   only; everything else is Inter.
   =========================================================================== */

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* --- hero extras ---------------------------------------------------------- */
.page-hero.post h1 { font-size: clamp(34px, 4.6vw, 58px); max-width: 24ch; }
.page-hero.post .lede { max-width: 60ch; }
.page-hero .eyebrow { margin: 14px 0 12px; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 2px 8px; font-size: .88rem; color: var(--ink-3); }
.crumbs li { display: inline-flex; align-items: center; gap: 8px; min-height: 28px; }
.crumbs li + li::before { content: "/"; color: var(--ink-3); }
.crumbs a { color: var(--ink-2); }
.crumbs [aria-current] { color: var(--ink-3); }
.byline { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 10px; }
.byline b { color: var(--ink-2); font-weight: 600; }

/* --- article column ------------------------------------------------------- */
.fig-band { padding: 4px 0 28px; }
.art-band { padding: 12px 0 64px; }
.art-col { max-width: 720px; }
.art-col.wide { max-width: 880px; }
.art { font-size: 18px; line-height: 1.7; color: var(--ink); }
.art p, .art ul, .art ol, .art table, .art figure, .art .callout, .art .table-scroll { margin: 0 0 20px; }
.art ul, .art ol { padding-left: 24px; }
.art li { margin-bottom: 8px; padding-left: 4px; }
.art li::marker { color: var(--pink-text); }
.art strong { font-weight: 700; }
.art a { overflow-wrap: anywhere; }
.art h2 {
  font-family: var(--font-display); font-weight: 400; text-transform: uppercase; letter-spacing: .005em;
  font-size: clamp(27px, 3.6vw, 36px); line-height: 1.12; margin: 56px 0 20px; scroll-margin-top: 20px;
  display: flex; align-items: flex-start; gap: 14px;
}
.art h2 .t { padding-top: 2px; min-width: 0; overflow-wrap: anywhere; }
.art h3 { font-size: 1.3rem; margin: 30px 0 10px; line-height: 1.3; }
.art code { font-size: .9em; background: var(--lavender); padding: 1px 6px; border-radius: 6px; }
.art hr { border: 0; height: 1px; background: var(--line); margin: 36px 0; }
.art blockquote:not(.callout) { margin: 0 0 20px; padding: 4px 0 4px 20px; border-left: 4px solid var(--yellow); color: var(--ink-2); }

/* yellow number badge, the same sticker circle as the steps on every other page */
.num {
  flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--yellow); color: var(--ink);
  border: 1.5px solid var(--ink); box-shadow: var(--sh-sticker);
  display: inline-grid; place-items: center; font: 700 .95rem/1 var(--font-body); letter-spacing: 0;
}
.art h2 .num { margin-top: -2px; }

/* bold pull quote: a paragraph that is one bold quotation */
.art p.pull {
  font-size: 1.3rem; line-height: 1.45; font-weight: 700; color: var(--ink);
  background: var(--blush); border-radius: var(--r-lg); padding: 22px 26px; margin: 28px 0;
  position: relative;
}
.art p.pull strong { font-weight: 700; }

/* figures */
.fig { margin: 0 0 24px; }
.fig img { width: 100%; height: auto; border-radius: var(--r); background: var(--lavender); }
.fig figcaption { margin-top: 8px; font-size: .85rem; color: var(--ink-3); line-height: 1.4; }
.fig-band .fig { margin: 0; }
.fig-band .fig img { box-shadow: var(--sh-2); border-radius: var(--r-lg); }

/* contents */
.art-col .toc { margin: 8px 0 36px; }
.toc.contents ol { columns: 1; margin-left: 0; padding-left: 0; list-style: none; }
.toc.contents li { display: flex; align-items: center; gap: 12px; padding: 0; margin: 0; }
.toc.contents li::marker { content: none; }
.toc.contents a { padding: 7px 0; font-size: 1rem; line-height: 1.35; overflow-wrap: anywhere; }
.toc.contents .num { width: 30px; height: 30px; font-size: .8rem; box-shadow: 0 2px 0 var(--ink); }
.toc.contents.plain ol { list-style: decimal; margin-left: 22px; padding-left: 0; }
.toc.contents.plain li { display: list-item; }
@media (min-width: 760px) { .toc.contents.many ol { columns: 2; column-gap: 32px; } }

/* callout: blockquote with a bold label */
.callout {
  background: var(--cream); border: 1px solid var(--line); border-left: 6px solid var(--yellow);
  border-radius: var(--r); padding: 18px 22px; font-size: 1rem; line-height: 1.6;
}
.callout .callout-h { font-weight: 800; margin: 0 0 8px; font-size: 1.02rem; }
.callout > :last-child { margin-bottom: 0; }
.callout ul, .callout ol { margin-bottom: 0; }

/* tables scroll sideways instead of breaking the column */
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); background: #fff; -webkit-overflow-scrolling: touch; }
.table-scroll:focus-visible { outline: 2px solid var(--pink); outline-offset: 2px; }
.table-scroll table { border-collapse: collapse; width: 100%; min-width: 520px; font-size: .95rem; line-height: 1.45; margin: 0; }
.table-scroll th, .table-scroll td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.table-scroll thead th { background: var(--lavender); font-weight: 700; white-space: nowrap; }
.table-scroll tbody tr:last-child td { border-bottom: 0; }
.table-scroll tbody tr:nth-child(even) td { background: #fcfaf9; }

/* in-article call to action */
.cta-card {
  margin: 44px 0; padding: 28px 28px 30px; border-radius: var(--r-lg); position: relative;
  border: 2px solid transparent;
  background: linear-gradient(var(--blush), var(--blush)) padding-box, var(--grad) border-box;
  box-shadow: var(--sh-1);
}
.cta-card .cta-h { font-size: 1.5rem; line-height: 1.2; font-weight: 800; margin: 0 0 8px; letter-spacing: -.01em; }
.cta-card p { font-size: 1.02rem; line-height: 1.55; color: var(--ink-2); margin: 0 0 18px; max-width: 52ch; }
.cta-card .btn { margin: 0; }
.cta-card .sticker { position: absolute; top: -14px; right: 22px; }

/* faq: visible question and answer blocks */
.art .faq-list { margin-top: 8px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--sh-1); padding: 18px 22px 6px; margin-bottom: 14px; }
.faq-item h3 { margin: 0 0 8px; font-size: 1.12rem; line-height: 1.35; }
.faq-item p { font-size: 1rem; line-height: 1.65; color: var(--ink-2); margin: 0 0 14px; }
.sources-list { font-size: .98rem; line-height: 1.5; }
.sources-list li { margin-bottom: 6px; }
.sources-list .host { color: var(--ink-3); font-size: .85em; }
.art-note { font-size: .92rem; color: var(--ink-3); margin: 36px 0 0; padding-top: 18px; border-top: 1px solid var(--line); }

/* --- bands used by index, hub, keep learning, closing --------------------- */
.band-h { margin-bottom: 26px; }
.band-h h2 { margin: 0; }
.close-band { text-align: center; }
.close-band .wrap { display: flex; flex-direction: column; align-items: center; }
.close-band h2 { max-width: 20ch; }
.close-band p { font-size: 1.15rem; color: var(--ink-2); max-width: 52ch; margin-bottom: 24px; }
.close-band .sticker { margin-bottom: 18px; }

/* --- post cards ----------------------------------------------------------- */
.post-grid { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 980px) { .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .post-grid { grid-template-columns: minmax(0, 1fr); } }
.post-card {
  position: relative; display: flex; flex-direction: column; height: 100%; background: #fff;
  border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--sh-1); overflow: hidden;
  transition: transform .15s, box-shadow .15s;
}
.post-card:hover { transform: translateY(-2px); box-shadow: var(--sh-2); }
.post-card:focus-within { outline: 2px solid var(--pink); outline-offset: 2px; }
.pc-img { aspect-ratio: 16 / 9; background: var(--lavender); overflow: hidden; }
.pc-img img { width: 100%; height: 100%; object-fit: cover; }
.pc-img.ph { background: var(--grad); opacity: .85; }
.pc-body { padding: 18px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.pc-meta { font-size: .78rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--pink-text); margin-bottom: 8px; }
.pc-meta time { color: var(--ink-3); letter-spacing: .02em; text-transform: none; font-weight: 500; }
.post-card h3 { font-size: 1.2rem; line-height: 1.28; margin: 0 0 8px; }
.post-card h3 a { color: var(--ink); text-decoration: none; }
.post-card h3 a:focus-visible { outline: none; }
.post-card h3 a::after { content: ""; position: absolute; inset: 0; }
.post-card:hover h3 a { color: var(--pink-text); }
.post-card p { font-size: .96rem; line-height: 1.55; color: var(--ink-2); margin: 0; }

.cat-pills { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 32px; }
.cat-pills a {
  display: inline-flex; align-items: center; min-height: 40px; padding: 8px 18px; border-radius: var(--r-pill);
  background: #fff; border: 1.5px solid var(--line); color: var(--ink); font-weight: 600; font-size: .95rem; text-decoration: none;
}
.cat-pills a:hover { border-color: var(--ink); }
.cat-pills a[aria-current] { background: var(--ink); color: #fff; border-color: var(--ink); }

/* --- stats ---------------------------------------------------------------- */
.stat-tiles { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 980px) { .stat-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .stat-tiles { grid-template-columns: minmax(0, 1fr); } }
.stat-tile { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--sh-1); padding: 24px 22px; }
.stat-v { font-size: clamp(2.2rem, 4vw, 2.9rem); font-weight: 800; letter-spacing: -.02em; line-height: 1; background: var(--grad-btn); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat-l { margin-top: 12px; font-weight: 600; line-height: 1.35; }
.stat-n { margin-top: 8px; font-size: .88rem; color: var(--ink-3); line-height: 1.45; }
.stat-sec { max-width: 760px; }
.stat-sec h2 { font-size: clamp(28px, 4vw, 42px); margin-bottom: 14px; }
.stat-sec .answer { font-size: 1.12rem; line-height: 1.65; color: var(--ink-2); margin-bottom: 24px; }
.stat-sec .cap { font-size: .9rem; color: var(--ink-3); margin-top: 14px; line-height: 1.5; }
.bar-list { list-style: none; display: grid; gap: 14px; }
.bar-list li { display: grid; grid-template-columns: minmax(0, 1fr) minmax(90px, auto); grid-template-areas: "l v" "t t"; gap: 6px 14px; align-items: baseline; }
.bl-label { grid-area: l; font-weight: 600; }
.bl-n { display: block; font-weight: 400; font-size: .82rem; color: var(--ink-3); }
.bl-val { grid-area: v; font-weight: 800; text-align: right; white-space: nowrap; }
.bl-track { grid-area: t; display: block; height: 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-pill); overflow: hidden; }
.bl-fill { display: block; height: 100%; border-radius: var(--r-pill); background: var(--grad); min-width: 0; }
.rows-table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; font-size: 1rem; }
.rows-table th, .rows-table td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.rows-table td:last-child, .rows-table th:last-child { text-align: right; font-weight: 700; }
.rows-table tr:last-child td { border-bottom: 0; }
.rows-table thead th { background: var(--lavender); }
.method { max-width: 760px; }
.method ul { margin: 0 0 0 22px; }
.method li { margin-bottom: 10px; line-height: 1.6; color: var(--ink-2); }
.months { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; }
.months a { display: inline-flex; align-items: center; min-height: 40px; padding: 8px 18px; border-radius: var(--r-pill); background: #fff; border: 1.5px solid var(--ink); box-shadow: var(--sh-sticker); color: var(--ink); font-weight: 600; text-decoration: none; }

@media (max-width: 420px) {
  .art { font-size: 17px; }
  .cta-card { padding: 24px 20px 26px; }
  .callout { padding: 16px 16px; }
  .art h2 { gap: 10px; }
  .num { width: 36px; height: 36px; }
}
@media (prefers-reduced-motion: reduce) {
  .post-card { transition: none; }
  .post-card:hover { transform: none; }
}

/* --- bar widths: .w-0 to .w-100, one class per percent (no inline styles) -- */
.w-0 { width: 0%; }
.w-1 { width: 1%; }
.w-2 { width: 2%; }
.w-3 { width: 3%; }
.w-4 { width: 4%; }
.w-5 { width: 5%; }
.w-6 { width: 6%; }
.w-7 { width: 7%; }
.w-8 { width: 8%; }
.w-9 { width: 9%; }
.w-10 { width: 10%; }
.w-11 { width: 11%; }
.w-12 { width: 12%; }
.w-13 { width: 13%; }
.w-14 { width: 14%; }
.w-15 { width: 15%; }
.w-16 { width: 16%; }
.w-17 { width: 17%; }
.w-18 { width: 18%; }
.w-19 { width: 19%; }
.w-20 { width: 20%; }
.w-21 { width: 21%; }
.w-22 { width: 22%; }
.w-23 { width: 23%; }
.w-24 { width: 24%; }
.w-25 { width: 25%; }
.w-26 { width: 26%; }
.w-27 { width: 27%; }
.w-28 { width: 28%; }
.w-29 { width: 29%; }
.w-30 { width: 30%; }
.w-31 { width: 31%; }
.w-32 { width: 32%; }
.w-33 { width: 33%; }
.w-34 { width: 34%; }
.w-35 { width: 35%; }
.w-36 { width: 36%; }
.w-37 { width: 37%; }
.w-38 { width: 38%; }
.w-39 { width: 39%; }
.w-40 { width: 40%; }
.w-41 { width: 41%; }
.w-42 { width: 42%; }
.w-43 { width: 43%; }
.w-44 { width: 44%; }
.w-45 { width: 45%; }
.w-46 { width: 46%; }
.w-47 { width: 47%; }
.w-48 { width: 48%; }
.w-49 { width: 49%; }
.w-50 { width: 50%; }
.w-51 { width: 51%; }
.w-52 { width: 52%; }
.w-53 { width: 53%; }
.w-54 { width: 54%; }
.w-55 { width: 55%; }
.w-56 { width: 56%; }
.w-57 { width: 57%; }
.w-58 { width: 58%; }
.w-59 { width: 59%; }
.w-60 { width: 60%; }
.w-61 { width: 61%; }
.w-62 { width: 62%; }
.w-63 { width: 63%; }
.w-64 { width: 64%; }
.w-65 { width: 65%; }
.w-66 { width: 66%; }
.w-67 { width: 67%; }
.w-68 { width: 68%; }
.w-69 { width: 69%; }
.w-70 { width: 70%; }
.w-71 { width: 71%; }
.w-72 { width: 72%; }
.w-73 { width: 73%; }
.w-74 { width: 74%; }
.w-75 { width: 75%; }
.w-76 { width: 76%; }
.w-77 { width: 77%; }
.w-78 { width: 78%; }
.w-79 { width: 79%; }
.w-80 { width: 80%; }
.w-81 { width: 81%; }
.w-82 { width: 82%; }
.w-83 { width: 83%; }
.w-84 { width: 84%; }
.w-85 { width: 85%; }
.w-86 { width: 86%; }
.w-87 { width: 87%; }
.w-88 { width: 88%; }
.w-89 { width: 89%; }
.w-90 { width: 90%; }
.w-91 { width: 91%; }
.w-92 { width: 92%; }
.w-93 { width: 93%; }
.w-94 { width: 94%; }
.w-95 { width: 95%; }
.w-96 { width: 96%; }
.w-97 { width: 97%; }
.w-98 { width: 98%; }
.w-99 { width: 99%; }
.w-100 { width: 100%; }

/* --- desktop side card (posts and compare pages) ---------------------------------- */
.art-side { display: none; }
@media (min-width: 1120px) {
  .art-grid { display: grid; grid-template-columns: minmax(0, 720px) 300px; gap: 72px; align-items: start; }
  .art-side { display: block; position: sticky; top: 28px; }
}
.side-card {
  background: var(--cream); border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--sh-1); padding: 22px 22px 24px; text-align: left;
}
.side-card img { width: 120px; height: 120px; display: block; margin: -6px 0 8px -6px; }
.side-card .side-h { font-size: 1.25rem; line-height: 1.2; font-weight: 800; letter-spacing: -.01em; margin: 0 0 12px; color: var(--ink); }
.side-card ul { list-style: none; margin: 0 0 14px; padding: 0; }
.side-card li { position: relative; padding: 4px 0 4px 26px; font-size: .95rem; line-height: 1.4; color: var(--ink-2); }
.side-card li::before {
  content: ""; position: absolute; left: 0; top: 8px; width: 14px; height: 14px; border-radius: 50%;
  background: var(--yellow); border: 1.5px solid var(--ink);
}
.side-card .side-price { font-size: .9rem; line-height: 1.45; color: var(--ink-3); margin: 0 0 16px; }
.side-card .btn { margin: 0; width: 100%; justify-content: center; text-align: center; }
