/* ============ BLOG / INSIGHTS — page-specific compositions ============ */

/* ---------- HERO ---------- */
.b-hero { position: relative; overflow: hidden; padding-top: clamp(44px,5vw,76px); padding-bottom: clamp(40px,5vw,68px); }
.b-hero .hero-bg { position:absolute; inset:0; z-index:-1;
  background: radial-gradient(54% 56% at 84% -4%, color-mix(in oklab,var(--brand) 12%, transparent), transparent 70%),
              radial-gradient(48% 50% at 4% -6%, var(--brand-50), transparent 64%); }
.b-hero-inner { max-width: min(1240px, 94vw); margin-inline: auto; text-align: center; }
.b-hero h1 { margin-top: 16px; }
.b-hero-br { display: inline; }
@media (max-width: 640px){ .b-hero-br { display: none; } }
.b-hero .lead { margin-top: 20px; margin-inline: auto; max-width: 620px; }

/* search */
.b-search { margin: 30px auto 0; max-width: 540px; display: flex; align-items: center; gap: 8px;
  background: var(--surface); border-radius: var(--r-pill);
  box-shadow: inset 0 0 0 1.5px var(--line), var(--sh-sm);
  padding: 7px 7px 7px 18px; transition: box-shadow .2s var(--ease); }
.b-search:focus-within { box-shadow: inset 0 0 0 1.5px var(--brand), var(--sh-md); }
.b-search [data-lucide="search"] { width: 19px; height: 19px; color: var(--muted); flex: none; }
.b-search input { flex: 1; border: 0; outline: 0; background: none; font: inherit; font-size: 16px; color: var(--ink); min-width: 0; }
.b-search input::placeholder { color: var(--muted); }
.b-search .btn { flex: none; }

/* hero chips + meta */
.b-hero-chips { margin-top: 22px; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.b-chip { display: inline-flex; align-items: center; gap: 7px; padding: 8px 15px; border-radius: var(--r-pill);
  font-size: 14px; font-weight: 600; color: var(--ink-2);
  background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); transition: all .16s var(--ease); }
.b-chip:hover { color: var(--brand); box-shadow: inset 0 0 0 1px color-mix(in oklab,var(--brand) 36%, transparent); transform: translateY(-1px); }
.b-chip [data-lucide] { width: 15px; height: 15px; }
@media (max-width: 560px){ .b-chip { padding: 11px 16px; } }  /* taller hit area for touch (≥44px) */
.b-hero-meta { margin-top: 24px; display: inline-flex; align-items: center; gap: 16px; flex-wrap: wrap; justify-content: center; color: var(--muted); font-size: 14px; }
.b-hero-meta b { color: var(--ink-2); font-weight: 600; }
.b-hero-meta .div { width: 1px; height: 15px; background: var(--line); }

/* ---------- SECTION HEAD w/ trailing link ---------- */
.head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.head-row .section-head { max-width: 600px; }

/* ---------- FEATURED ---------- */
.feat-grid { display: grid; grid-template-columns: 1.32fr 1fr; gap: 22px; margin-top: 40px; }

/* lead */
.feat-lead { display: flex; flex-direction: column; overflow: hidden; padding: 0; }
.feat-lead .cover { aspect-ratio: 16 / 9; border-radius: 0; }
.feat-lead .fbody { padding: 28px 30px 30px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.feat-lead .fmeta-top { display: flex; align-items: center; gap: 10px; }
.feat-lead h3 { color: var(--ink); font-size: clamp(22px,2.2vw,29px); line-height: 1.18; letter-spacing: -.02em; }
.feat-lead .excerpt { color: var(--body); font-size: 16px; line-height: 1.56; }

/* secondary stacked */
.feat-side { display: grid; grid-template-rows: 1fr 1fr; gap: 22px; }
.feat-mini { display: grid; grid-template-columns: 150px 1fr; gap: 0; overflow: hidden; padding: 0; }
.feat-mini .cover { height: 100%; min-height: 150px; border-radius: 0; }
.feat-mini .fbody { padding: 20px 22px; display: flex; flex-direction: column; gap: 11px; justify-content: center; }
.feat-mini h4 { color: var(--ink); font-size: 18px; line-height: 1.26; }
.feat-mini .excerpt { color: var(--body); font-size: 14px; line-height: 1.5; }

/* byline */
.byline { display: flex; align-items: center; gap: 10px; margin-top: auto; padding-top: 4px; }
.by-av { width: 34px; height: 34px; border-radius: 50%; flex: none; display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 700; font-size: 13px; color: #fff; }
.byline .bi b { display: block; color: var(--ink-2); font-size: 13.5px; font-weight: 600; line-height: 1.2; }
.byline .bi small { color: var(--muted); font-size: 12.5px; }
.feat-mini .byline { gap: 8px; }
.feat-mini .by-av { width: 26px; height: 26px; font-size: 11px; }

.av-tax { background: var(--brand); }
.av-gst { background: var(--green); }
.av-acc { background: color-mix(in oklab,var(--amber) 86%, #000); }
.av-startup { background: color-mix(in oklab,var(--brand) 70%, #000); }
.av-reg { background: #6A5BD6; }
.av-comp { background: var(--ink-2); }

/* ---------- EXPERTS / SUBJECT-MATTER OWNERSHIP ---------- */
.experts { display: grid; grid-template-columns: repeat(auto-fit, minmax(208px, 1fr)); gap: 18px; margin-top: 40px; }
.expert-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 26px 22px; box-shadow: var(--sh-xs); text-align: center; display: flex; flex-direction: column; align-items: center;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease); }
.expert-card:hover { transform: translateY(-3px); box-shadow: var(--sh-sm); border-color: var(--line-2); }
.expert-card .by-av { width: 60px; height: 60px; font-size: 21px; margin-bottom: 15px; }
.expert-card .ex-name { color: var(--ink); font-size: 16px; font-weight: 700; font-family: var(--font-display); letter-spacing: -.01em; }
.expert-card .ex-cred { color: var(--muted); font-size: 13px; margin-top: 5px; line-height: 1.4; }
.expert-card .ex-domains { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin-top: 16px; }
.expert-card .ex-domains .tag { font-size: 11.5px; padding: 3px 9px; }

@media (max-width: 920px){
  .feat-grid { grid-template-columns: 1fr; }
  .feat-side { grid-template-rows: none; }
}
@media (max-width: 520px){
  .feat-mini { grid-template-columns: 1fr; }
  .feat-mini .cover { aspect-ratio: 16/9; min-height: 0; height: auto; }
}

/* ---------- BROWSE BY CATEGORY ---------- */
.cat-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(232px,1fr)); gap: 18px; margin-top: 40px; }
.cat-tile { display: flex; flex-direction: column; gap: 12px; padding: 26px 24px; scroll-margin-top: 104px; }
.cat-tile .chip { transition: transform .25s var(--ease); }
.cat-tile:hover .chip { transform: scale(1.06) rotate(-3deg); }
.cat-tile .ct-name { color: var(--ink); font-family: var(--font-display); font-size: 19px; font-weight: 600; letter-spacing: -.012em; margin-top: 4px; }
.cat-tile .ct-count { color: var(--brand); font-size: 13px; font-weight: 700; letter-spacing: .02em; }
.cat-tile p { color: var(--body); font-size: 14px; line-height: 1.5; }
.cat-tile .ct-expert { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--muted); font-weight: 500; }
.cat-tile .ct-expert .by-av { width: 22px; height: 22px; font-size: 9.5px; }
.cat-tile .ct-links { margin-top: auto; padding-top: 12px; display: flex; flex-direction: column; gap: 8px; border-top: 1px solid var(--line-2); }
.cat-tile .ct-links .link-arrow { font-size: 14px; }
.cat-tile .ct-svc { font-size: 12.5px; font-weight: 600; color: var(--muted); display: inline-flex; align-items: center; gap: 5px; transition: color .15s; }
.cat-tile .ct-svc [data-lucide] { width: 14px; height: 14px; }
.cat-tile .ct-svc:hover { color: var(--brand); }
@media (max-width: 1040px){ .cat-tiles { grid-template-columns: repeat(3,1fr); } }
@media (max-width: 680px){ .cat-tiles { grid-template-columns: 1fr 1fr; } }
@media (max-width: 440px){ .cat-tiles { grid-template-columns: 1fr; } }

/* scroll offset for category jump-links */
#latest { scroll-margin-top: 88px; }

/* ---------- LATEST (main + sidebar) ---------- */
.latest-grid { display: grid; grid-template-columns: 1fr 320px; gap: clamp(32px,4vw,56px); margin-top: 40px; align-items: start; }
.latest-main { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }

.bpost { display: flex; flex-direction: column; overflow: hidden; padding: 0; }
.bpost .cover { aspect-ratio: 16 / 9; border-radius: 0; }
.bpost .pbody { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 11px; flex: 1; }
.bpost h4 { color: var(--ink); font-size: 18.5px; line-height: 1.26; }
.bpost .excerpt { color: var(--body); font-size: 14.5px; line-height: 1.5; }

/* 3-up related-guides grid (responsive — replaces inline grid override) */
.latest-main.cols3 { grid-template-columns: repeat(3,1fr); }
@media (max-width: 860px){ .latest-main.cols3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px){ .latest-main.cols3 { grid-template-columns: 1fr; } }

/* filter pills */
.filter-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.filter-pill { padding: 8px 16px; border-radius: var(--r-pill); font-size: 14px; font-weight: 600; color: var(--ink-2);
  background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); transition: all .15s var(--ease); cursor: pointer; }
.filter-pill:hover { color: var(--brand); box-shadow: inset 0 0 0 1px color-mix(in oklab,var(--brand) 32%, transparent); }
.filter-pill.is-active { background: var(--ink); color: #fff; box-shadow: none; }

.load-row { margin-top: 32px; display: flex; justify-content: center; }

/* sidebar */
.latest-side { position: sticky; top: 92px; display: grid; gap: 22px; }
.side-card { background: var(--surface); border-radius: var(--r-lg); box-shadow: inset 0 0 0 1px var(--line), var(--sh-sm); padding: 24px 24px 26px; }
.side-title { font-family: var(--font-display); font-size: 16px; font-weight: 600; color: var(--ink); letter-spacing: -.01em;
  display: flex; align-items: center; gap: 9px; margin-bottom: 6px; }
.side-title [data-lucide] { width: 17px; height: 17px; color: var(--brand); }

.read-item { display: flex; gap: 14px; padding: 15px 0; border-top: 1px solid var(--line-2); }
.read-item:first-of-type { border-top: 0; }
.read-item .r-num { font-family: var(--font-display); font-weight: 700; font-size: 17px; color: var(--brand-300); line-height: 1; flex: none; width: 22px; }
.read-item a { color: var(--ink-2); font-size: 14.5px; font-weight: 600; line-height: 1.32; transition: color .15s; }
.read-item:hover a { color: var(--brand); }
.read-item .r-meta { display: block; color: var(--muted); font-size: 12.5px; font-weight: 500; margin-top: 5px; }

.topic-cloud { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.topic-cloud .tag { transition: all .15s var(--ease); }
.topic-cloud a.tag:hover { background: var(--brand-50); color: var(--brand-700); }

/* trust / authority card */
.trust-card { background: linear-gradient(170deg, var(--brand-50), var(--surface) 84%);
  box-shadow: inset 0 0 0 1px color-mix(in oklab,var(--brand) 14%, transparent); }
.trust-card .tc-head { display: flex; align-items: center; gap: 11px; margin-bottom: 14px; }
.trust-card .tc-ic { width: 40px; height: 40px; border-radius: 11px; flex: none; display: grid; place-items: center;
  background: var(--brand); color: #fff; box-shadow: var(--sh-brand); }
.trust-card .tc-ic [data-lucide] { width: 21px; height: 21px; }
.trust-card .tc-head b { color: var(--ink); font-family: var(--font-display); font-size: 15.5px; }
.trust-list { display: grid; gap: 9px; }
.trust-list li { display: flex; align-items: flex-start; gap: 9px; color: var(--ink-2); font-size: 13.5px; line-height: 1.45; }
.trust-list [data-lucide] { width: 16px; height: 16px; color: var(--green); flex: none; margin-top: 1px; }

@media (max-width: 1040px){
  .latest-grid { grid-template-columns: 1fr; }
  .latest-side { position: static; grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px){
  .latest-main { grid-template-columns: 1fr; }
  .latest-side { grid-template-columns: 1fr; }
}

/* ---------- CLICKABLE CARDS (stretched link, no visual change) ---------- */
.bpost { position: relative; }
.bpost .card-link { position: absolute; inset: 0; z-index: 2; font-size: 0; }

/* ---------- ARTICLE (single post) ---------- */
.art-hero { position: relative; overflow: hidden; padding-top: clamp(24px,3.5vw,40px); padding-bottom: clamp(8px,2vw,20px); }
.art-hero .hero-bg { position:absolute; inset:0; z-index:-1;
  background: radial-gradient(50% 60% at 88% -10%, color-mix(in oklab,var(--brand) 10%, transparent), transparent 70%),
              radial-gradient(46% 50% at 2% -8%, var(--brand-50), transparent 64%); }
.crumb { display: flex; align-items: center; gap: 7px; font-size: 13.5px; color: var(--muted); font-weight: 500; flex-wrap: wrap; }
.crumb a { color: var(--muted); transition: color .15s; }
.crumb a:hover { color: var(--brand); }
.crumb [data-lucide] { width: 15px; height: 15px; color: var(--muted); opacity: .6; }
.crumb .here { color: var(--ink-2); }
.art-head { max-width: 768px; margin-inline: auto; }
.art-head .tag { margin-top: 22px; }
.art-head h1 { margin-top: 16px; font-size: clamp(30px,3.8vw,48px); }
.art-head .standfirst { margin-top: 18px; font-size: clamp(18px,1.6vw,21px); color: var(--body); line-height: 1.5; }
.art-byline { margin-top: 26px; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.art-byline .by-av { width: 44px; height: 44px; font-size: 15px; }
.art-byline .bi b { display: block; color: var(--ink); font-size: 15px; }
.art-byline .bi small { color: var(--muted); font-size: 13.5px; }
.art-cover { max-width: 1040px; margin: clamp(26px,4vw,42px) auto 0; aspect-ratio: 16 / 7.5; }

.prose { max-width: 768px; margin: clamp(34px,5vw,54px) auto 0; }
.prose > * + * { margin-top: 22px; }
.prose p { font-size: 18px; line-height: 1.72; color: var(--ink-2); }
.prose h2 { font-size: clamp(23px,2.3vw,30px); color: var(--ink); margin-top: 48px; letter-spacing: -.018em; }
.prose h3 { font-size: 20px; color: var(--ink); margin-top: 34px; }
.prose ul { display: grid; gap: 11px; margin-top: 18px; }
.prose li { position: relative; padding-left: 26px; font-size: 17px; line-height: 1.62; color: var(--ink-2); }
.prose li::before { content: ""; position: absolute; left: 5px; top: 10px; width: 7px; height: 7px; border-radius: 50%; background: var(--brand); }
.prose a { color: var(--brand); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; text-decoration-thickness: 1px; text-decoration-color: var(--brand-300); }
.prose strong { color: var(--ink); font-weight: 600; }
.prose .callout { margin-top: 28px; padding: 24px 26px; border-radius: var(--r-lg);
  background: linear-gradient(170deg, var(--brand-50), var(--surface) 88%);
  box-shadow: inset 0 0 0 1px color-mix(in oklab,var(--brand) 14%, transparent); }
.prose .callout p { font-size: 16.5px; line-height: 1.6; margin: 0; }
.prose .callout p + p { margin-top: 12px; }
.art-foot { max-width: 768px; margin: 44px auto 0; padding-top: 28px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.art-foot .tags { display: flex; gap: 8px; flex-wrap: wrap; }
.art-back { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; color: var(--brand); font-size: 15px; }
.art-back [data-lucide] { width: 17px; height: 17px; }

/* ---------- ARTICLE — "Need help with this?" related-service block ---------- */
.art-service { max-width: 768px; margin: 28px auto 0; display: flex; align-items: center; gap: 22px; flex-wrap: wrap;
  padding: 28px 30px; border-radius: var(--r-lg);
  background: linear-gradient(135deg, var(--brand-700), var(--brand)); color: #fff;
  box-shadow: var(--sh-brand); position: relative; overflow: hidden; }
.art-service::before { content:""; position:absolute; inset:0; background: radial-gradient(70% 120% at 100% -10%, rgba(255,255,255,.18), transparent 60%); }
.art-service > * { position: relative; }
.art-service .as-ic { width: 52px; height: 52px; border-radius: 14px; flex: none; display: grid; place-items: center;
  background: rgba(255,255,255,.16); color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.22); }
.art-service .as-ic [data-lucide] { width: 25px; height: 25px; }
.art-service .as-tx { flex: 1; min-width: 240px; }
.art-service .as-tx .as-eyebrow { font-size: 12.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.82); }
.art-service .as-tx h3 { color: #fff; font-size: 21px; margin-top: 7px; letter-spacing: -.015em; }
.art-service .as-tx p { color: rgba(255,255,255,.86); font-size: 15px; line-height: 1.5; margin-top: 8px; }
.art-service .btn { flex: none; }
@media (max-width: 560px){ .art-service .btn { width: 100%; } }

/* ---------- ARTICLE — contextual lead-magnet block ---------- */
.art-magnet { max-width: 768px; margin: 44px auto 0; display: flex; align-items: center; gap: 22px; flex-wrap: wrap;
  padding: 24px 28px; border-radius: var(--r-lg);
  background: linear-gradient(170deg, var(--brand-50), var(--surface) 92%);
  box-shadow: inset 0 0 0 1px color-mix(in oklab,var(--brand) 18%, transparent); }
.art-magnet .am-ic { width: 52px; height: 52px; border-radius: 14px; flex: none; display: grid; place-items: center;
  background: #fff; color: var(--brand); box-shadow: var(--sh-sm), inset 0 0 0 1px color-mix(in oklab,var(--brand) 14%, transparent); }
.art-magnet .am-ic [data-lucide] { width: 25px; height: 25px; }
.art-magnet .am-tx { flex: 1; min-width: 240px; }
.art-magnet .am-eyebrow { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase; color: var(--brand-700); }
.art-magnet .am-eyebrow [data-lucide] { width: 14px; height: 14px; }
.art-magnet .am-tx h3 { color: var(--ink); font-size: 20px; margin-top: 8px; letter-spacing: -.015em; }
.art-magnet .am-tx p { color: var(--body); font-size: 14.5px; line-height: 1.5; margin-top: 6px; }
.art-magnet .am-form { display: flex; gap: 8px; flex-wrap: wrap; flex: none; }
.art-magnet .am-input { height: 46px; padding: 0 16px; border-radius: var(--r-pill); border: 1px solid var(--line);
  background: #fff; font: inherit; font-size: 15px; color: var(--ink); min-width: 210px; }
.art-magnet .am-input:focus { outline: none; border-color: var(--brand-300); box-shadow: 0 0 0 4px var(--brand-50); }
@media (max-width: 600px){ .art-magnet .am-form, .art-magnet .am-input, .art-magnet .am-form .btn { width: 100%; } }

/* ---------- ARTICLE — final consultation + WhatsApp CTA ---------- */
.art-final { max-width: 768px; margin: 28px auto 0; text-align: center; padding: 38px 32px; border-radius: var(--r-lg);
  background: var(--soft); box-shadow: inset 0 0 0 1px var(--line); }
.art-final h3 { color: var(--ink); font-size: 24px; letter-spacing: -.02em; }
.art-final p { color: var(--body); font-size: 15px; line-height: 1.55; margin: 8px auto 0; max-width: 46ch; }
.art-final .af-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 22px; }
.btn-wa { background: #1FAF54; color: #fff; border: 0; }
.btn-wa:hover { background: #1a9849; color: #fff; }
@media (max-width: 460px){ .art-final .af-actions .btn { width: 100%; } }

/* ---------- TAX BREAKDOWN / COMPARISON CARDS ---------- */
.taxcard { border: 1px solid var(--line); border-radius: 7px; background: var(--surface);
  box-shadow: var(--sh-md); overflow: hidden; }
.tc-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; padding: 17px 22px;
  border-bottom: 1px solid var(--line-2); background: linear-gradient(180deg, var(--brand-50), var(--surface)); }
.tc-scenario { font-family: var(--font-display); font-weight: 700; color: var(--ink); font-size: 17.5px; letter-spacing: -.012em; }
.tc-note { color: var(--muted); font-size: 14px; }
.tc-grid { display: grid; grid-template-columns: 1fr 1fr; }
.tc-col { padding: 20px 22px 22px; border-right: 1px solid var(--line-2); display: flex; flex-direction: column; }
.tc-col:last-child { border-right: 0; }
.tc-col.is-winner { background: color-mix(in oklab, var(--green) 5%, #fff); }
.tc-col-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 24px; margin-bottom: 12px; }
.tc-reg { font-weight: 700; color: var(--ink-2); font-size: 12.5px; text-transform: uppercase; letter-spacing: .09em; }
.tc-win { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 700; color: #fff;
  background: var(--green); padding: 3px 9px 3px 7px; border-radius: 999px; letter-spacing: .03em; white-space: nowrap; flex: none; }
.tc-win [data-lucide] { width: 12px; height: 12px; }
.tc-rows { display: flex; flex-direction: column; }
.tc-row { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; padding: 7px 0; font-size: 15px; line-height: 1.4; }
.tc-row + .tc-row { border-top: 1px solid var(--line-2); }
.tc-row dt { color: var(--body); }
.tc-row dd { font-variant-numeric: tabular-nums; font-weight: 600; color: var(--ink-2); white-space: nowrap; }
.tc-row.tc-ded dt { color: var(--muted); }
.tc-row.tc-ded dd { color: var(--muted); font-weight: 600; }
.tc-row.tc-taxable { margin-top: 6px; border-top: 1.5px solid var(--line) !important; padding-top: 11px; }
.tc-row.tc-taxable dt { font-weight: 700; color: var(--ink); }
.tc-row.tc-taxable dd { font-weight: 700; color: var(--ink); }
.tc-tax { margin-top: auto; padding-top: 18px; }
.tc-tax-label { display: block; font-size: 11.5px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 3px; }
.tc-tax-val { font-family: var(--font-display); font-weight: 800; font-size: 31px; letter-spacing: -.02em;
  color: var(--ink); font-variant-numeric: tabular-nums; line-height: 1; }
.is-winner .tc-tax-val { color: var(--green); }
.tc-foot { display: flex; align-items: center; gap: 11px; padding: 15px 22px; background: var(--ink); color: #fff; }
.tc-foot [data-lucide] { width: 20px; height: 20px; color: #fff; flex: none; }
.tc-foot span { font-size: 15.5px; color: rgba(255,255,255,.78); }
.tc-foot strong { color: #fff; font-weight: 700; }
.tc-foot.is-saving { background: color-mix(in oklab, var(--green) 90%, #000); }
.tc-foot.is-saving span { color: rgba(255,255,255,.85); }
/* single-stream flow card (presumptive, per-unit calcs) */
.flowcard .fc-rows { display: flex; flex-direction: column; padding: 8px 22px 6px; }
.fc-row { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; padding: 13px 0; font-size: 16px; }
.fc-row + .fc-row { border-top: 1px solid var(--line-2); }
.fc-row dt { color: var(--body); }
.fc-row dd { font-variant-numeric: tabular-nums; font-weight: 700; color: var(--ink-2); white-space: nowrap; }
.fc-row.fc-op dt { color: var(--muted); }
.fc-row.fc-op dd { color: var(--brand); }
.fc-row.fc-result { margin: 6px -22px 0; padding: 16px 22px; background: var(--brand-50); border-top: 1.5px solid var(--brand-100); }
.fc-row.fc-result dt { font-weight: 700; color: var(--ink); display: flex; flex-direction: column; gap: 2px; }
.fc-row.fc-result dt span { font-size: 12px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.fc-row.fc-result dd { font-family: var(--font-display); font-weight: 800; font-size: 26px; color: var(--brand); letter-spacing: -.015em; }
@media (max-width: 560px) {
  .tc-grid { grid-template-columns: 1fr; }
  .tc-col { border-right: 0; }
  .tc-col + .tc-col { border-top: 1px solid var(--line-2); }
  .tc-tax { padding-top: 14px; }
  .tc-tax-val { font-size: 28px; }
  .fc-row.fc-result dd { font-size: 23px; }
}

/* ---------- RESPONSIVE DATA TABLES ---------- */
.tbl-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table.kv, table.specs { width: 100%; border-collapse: separate; border-spacing: 0; font-variant-numeric: tabular-nums;
  border: 1px solid var(--line); border-radius: 7px; background: var(--surface); box-shadow: var(--sh-sm); }
/* Round corners via the corner CELLS (not overflow:hidden on the table) so the
   <caption> is never clipped by the rounded top corners. */
.kv thead th:first-child, .specs thead th:first-child { border-top-left-radius: 7px; }
.kv thead th:last-child, .specs thead th:last-child { border-top-right-radius: 7px; }
.kv tbody tr:last-child td:first-child, .specs tbody tr:last-child td:first-child { border-bottom-left-radius: 7px; }
.kv tbody tr:last-child td:last-child, .specs tbody tr:last-child td:last-child { border-bottom-right-radius: 7px; }
table.kv caption, table.specs caption { caption-side: top; text-align: left; font-family: var(--font-display); font-weight: 700;
  color: var(--ink); font-size: 16px; padding: 0 2px 18px; letter-spacing: -.01em; line-height: 1.35; }
.kv th, .kv td, .specs th, .specs td { text-align: left; }
.specs thead th, .kv thead th { background: var(--ink); color: #fff; font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .05em; padding: 13px 18px; white-space: nowrap; }
.specs tbody td, .kv tbody td { padding: 13px 18px; font-size: 15.5px; color: var(--ink-2);
  border-top: 1px solid var(--line-2); vertical-align: top; line-height: 1.45; }
.specs tbody tr:first-child td, .kv tbody tr:first-child td { border-top: 0; }
.specs tbody td:first-child, .kv tbody td:first-child { font-weight: 700; color: var(--ink); }
/* kv = 2-column key/value, value right-aligned */
.kv tbody td:first-child { font-weight: 500; color: var(--body); }
.kv tbody td:last-child { text-align: right; font-weight: 700; color: var(--ink); white-space: nowrap; }
/* value-column header aligns RIGHT to match its right-aligned data cells */
.kv thead th:last-child { text-align: right; }
/* specs zebra */
.specs tbody tr:nth-child(even) td { background: var(--soft); }
/* highlighted row (recommended / default) */
.specs tbody tr.is-hi td, .kv tbody tr.is-hi td { background: var(--brand-50) !important; }
.specs tbody tr.is-hi td:first-child { box-shadow: inset 3px 0 0 var(--brand); }
/* in-cell emphasis */
.kv td b, .specs td b { color: var(--ink); font-weight: 700; }
.specs td .pos, .kv td .pos { color: var(--green); font-weight: 700; }
.specs td .neg, .kv td .neg { color: var(--amber); font-weight: 700; }
.specs td small, .kv td small { display: block; color: var(--muted); font-size: 13px; font-weight: 500; margin-top: 2px; }

/* ---------- D1: CONSISTENT SPACING AROUND TABLES & COMPARISON CARDS ---------- */
/* Tables and breakdown cards need more breathing room than the generic 22px
   prose rhythm so captions/headings clear the rounded container edge. */
.prose > .tbl-scroll,
.prose > table.kv,
.prose > table.specs,
.prose > .taxcard,
.prose > .flowcard { margin-top: 34px; }
/* matching gap BELOW: override the following element's generic 22px top margin
   (avoids stacking a table bottom-margin with the next block's top-margin) */
.prose > .tbl-scroll + *,
.prose > table.kv + *,
.prose > table.specs + *,
.prose > .taxcard + *,
.prose > .flowcard + * { margin-top: 34px; }
/* when a heading sits directly on top of a table/card, keep a clear but tighter gap */
.prose > h2 + .tbl-scroll,
.prose > h2 + table.kv,
.prose > h2 + table.specs,
.prose > h2 + .taxcard,
.prose > h2 + .flowcard,
.prose > h3 + .tbl-scroll,
.prose > h3 + table.kv,
.prose > h3 + table.specs,
.prose > h3 + .taxcard,
.prose > h3 + .flowcard { margin-top: 24px; }

@media (max-width: 600px) {
  table.specs { border: 0; box-shadow: none; background: transparent; border-radius: 0; display: block; }
  .specs thead { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .specs tbody, .specs tr, .specs td { display: block; }
  .specs tbody tr { border: 1px solid var(--line); border-radius: 7px; background: var(--surface);
    box-shadow: var(--sh-sm); padding: 4px 2px 6px; margin-bottom: 14px; }
  .specs tbody tr:nth-child(even) td { background: transparent; }
  .specs tbody td { display: flex; justify-content: space-between; gap: 18px; align-items: baseline; text-align: right;
    border-top: 1px solid var(--line-2); padding: 10px 16px; }
  .specs tbody td::before { content: attr(data-label); font-size: 12px; font-weight: 700; text-transform: uppercase;
    letter-spacing: .04em; color: var(--muted); text-align: left; flex: none; }
  .specs tbody tr td:first-child { border-top: 0; font-size: 16.5px; padding: 10px 16px 8px; display: block; text-align: left; }
  .specs tbody tr td:first-child::before { display: none; }
  .specs td small { text-align: right; }
  .specs tbody tr.is-hi { border-color: var(--brand); box-shadow: 0 0 0 1px var(--brand), var(--sh-sm); }
  .specs tbody tr.is-hi td:first-child { box-shadow: none; }
  .specs tbody tr.is-hi td:first-child::after { content: "Recommended"; display: inline-block; margin-left: 8px; vertical-align: middle;
    font-size: 10.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: #fff; background: var(--brand);
    padding: 2px 7px; border-radius: 999px; }
}

/* ============================================================
   ARTICLE — MANDATORY EDITORIAL COMPONENTS (v1.1 framework)
   Promoted from the Article Blueprint: Key Takeaways, Summary Box,
   Quick Decision block, mid-article WhatsApp CTA.
   ============================================================ */

/* ---------- KEY TAKEAWAYS — "the answer in 30 seconds" (below hero) ---------- */
.art-takeaways { max-width: 768px; margin: clamp(28px,4vw,40px) auto 0; border-radius: var(--r-lg);
  background: var(--surface); box-shadow: inset 0 0 0 1px var(--line), var(--sh-sm); overflow: hidden; }
.art-takeaways .at-top { display: flex; align-items: center; gap: 10px; padding: 15px 26px; background: var(--ink); color: #fff; }
.art-takeaways .at-top [data-lucide] { width: 18px; height: 18px; color: var(--brand-300); flex: none; }
.art-takeaways .at-top b { font-family: var(--font-display); font-size: 15px; font-weight: 700; letter-spacing: -.01em; }
.art-takeaways .at-top .at-time { margin-left: auto; font-size: 12.5px; color: rgba(255,255,255,.62); font-weight: 600; white-space: nowrap; }
.at-rows { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); }
.at-item { background: var(--surface); padding: 18px 24px 20px; display: flex; flex-direction: column; gap: 6px; }
.at-item .at-k { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase; color: var(--brand-700); }
.at-item .at-k [data-lucide] { width: 15px; height: 15px; flex: none; }
.at-item p { font-size: 15px; line-height: 1.5; color: var(--ink-2); margin: 0; }
.at-item.is-warn .at-k { color: color-mix(in oklab, var(--amber) 82%, #000); }
.at-item.is-warn .at-k [data-lucide] { color: var(--amber); }
.at-item.is-talk .at-k { color: color-mix(in oklab, var(--green) 72%, #000); }
.at-item.is-talk .at-k [data-lucide] { color: var(--green); }
@media (max-width: 560px){ .at-rows { grid-template-columns: 1fr; } }

/* ---------- SUMMARY BOX — "the short answer" ---------- */
.art-summary { max-width: 768px; margin: 28px auto 0; border-radius: var(--r-lg); padding: 23px 28px;
  background: var(--brand-50); box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--brand) 16%, transparent); }
.art-summary .as2-label { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700;
  letter-spacing: .09em; text-transform: uppercase; color: var(--brand-700); margin-bottom: 11px; }
.art-summary .as2-label [data-lucide] { width: 16px; height: 16px; }
.art-summary p { color: var(--ink-2); font-size: 16.5px; line-height: 1.62; margin: 0; }
.art-summary p + p { margin-top: 11px; }
.art-summary strong { color: var(--ink); font-weight: 700; }

/* ---------- QUICK DECISION — "should you read this?" ---------- */
.art-decision { max-width: 768px; margin: 34px auto 0; border-radius: var(--r-lg);
  background: var(--surface); box-shadow: inset 0 0 0 1px var(--line), var(--sh-sm); overflow: hidden; }
.art-decision .ad-top { padding: 19px 26px 17px; border-bottom: 1px solid var(--line-2); }
.art-decision .ad-eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase; color: var(--brand-700); }
.art-decision .ad-eyebrow [data-lucide] { width: 15px; height: 15px; }
.art-decision .ad-top h3 { font-family: var(--font-display); font-size: 19px; color: var(--ink); margin-top: 7px; letter-spacing: -.014em; }
.ad-row { display: grid; grid-template-columns: 1fr 1.15fr; gap: 18px; align-items: center; padding: 15px 26px; }
.ad-row + .ad-row { border-top: 1px solid var(--line-2); }
.ad-row .ad-sit { font-size: 15.5px; font-weight: 600; color: var(--ink); }
.ad-row .ad-rec { display: inline-flex; align-items: baseline; gap: 9px; font-size: 14.5px; color: var(--ink-2); line-height: 1.45; }
.ad-row .ad-rec [data-lucide] { width: 16px; height: 16px; color: var(--brand); flex: none; transform: translateY(2px); }
.ad-row .ad-rec a { color: var(--brand); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; text-decoration-color: var(--brand-300); }
.ad-row.is-cta { background: var(--brand-50); }
.ad-row.is-cta .ad-rec { font-weight: 700; color: var(--brand-700); }
.ad-row.is-cta .ad-rec a { font-weight: 700; }
@media (max-width: 560px){
  .ad-row { grid-template-columns: 1fr; gap: 6px; padding: 14px 22px; }
  .ad-row .ad-sit { font-size: 15px; }
}

/* ---------- MID-ARTICLE WHATSAPP CTA (contextual, mandatory) ---------- */
.art-wa { max-width: 768px; margin: 34px auto 0; display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
  padding: 20px 24px; border-radius: var(--r-lg); background: color-mix(in oklab, #1FAF54 7%, var(--surface));
  box-shadow: inset 0 0 0 1px color-mix(in oklab, #1FAF54 26%, transparent); }
.art-wa .awa-ic { width: 46px; height: 46px; border-radius: 13px; flex: none; display: grid; place-items: center;
  background: #1FAF54; color: #fff; box-shadow: 0 8px 18px -8px rgba(31,175,84,.65); }
.art-wa .awa-ic [data-lucide] { width: 23px; height: 23px; }
.art-wa .awa-tx { flex: 1; min-width: 220px; }
.art-wa .awa-tx b { display: block; color: var(--ink); font-family: var(--font-display); font-size: 16.5px; letter-spacing: -.012em; }
.art-wa .awa-tx span { display: block; color: var(--body); font-size: 14.5px; line-height: 1.45; margin-top: 3px; }
.art-wa .btn { flex: none; }
@media (max-width: 520px){ .art-wa .btn { width: 100%; } }

/* ---------- ARTICLE — INTERACTIVE CALCULATOR ---------- */
.art-calc { max-width: 768px; margin: 34px auto 0; border-radius: var(--r-lg); overflow: hidden;
  background: var(--surface); box-shadow: inset 0 0 0 1px var(--line), var(--sh-md); }
.art-calc .ac-top { padding: 20px 26px 18px; border-bottom: 1px solid var(--line-2);
  background: linear-gradient(180deg, var(--brand-50), var(--surface)); }
.art-calc .ac-eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase; color: var(--brand-700); }
.art-calc .ac-eyebrow [data-lucide] { width: 15px; height: 15px; }
.art-calc .ac-top h3 { font-family: var(--font-display); font-size: 21px; color: var(--ink); margin-top: 7px; letter-spacing: -.016em; }
.art-calc .ac-top p { color: var(--body); font-size: 14.5px; line-height: 1.5; margin-top: 6px; }
.ac-body { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.ac-inputs { padding: 22px 26px; display: grid; gap: 15px; align-content: start; border-right: 1px solid var(--line-2); }
.ac-field { display: grid; gap: 7px; }
.ac-field label { font-size: 13.5px; font-weight: 600; color: var(--ink-2); display: flex; justify-content: space-between; gap: 10px; }
.ac-field label small { color: var(--muted); font-weight: 500; }
.ac-input-wrap { position: relative; display: flex; align-items: center; }
.ac-input-wrap .ac-rs { position: absolute; left: 14px; font-size: 15px; color: var(--muted); font-weight: 600; pointer-events: none; }
.ac-input-wrap input { width: 100%; height: 46px; padding: 0 14px 0 32px; border-radius: 10px; border: 1px solid var(--line);
  background: #fff; font: inherit; font-size: 15.5px; font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }
.ac-input-wrap input:focus { outline: none; border-color: var(--brand-300); box-shadow: 0 0 0 4px var(--brand-50); }
.ac-result { padding: 22px 26px; background: var(--soft); display: flex; flex-direction: column; }
.ac-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ac-col { background: #fff; border-radius: 10px; padding: 14px 15px; box-shadow: inset 0 0 0 1px var(--line-2); display: flex; flex-direction: column; gap: 4px; }
.ac-col.is-win { box-shadow: inset 0 0 0 1.5px var(--green); background: color-mix(in oklab, var(--green) 5%, #fff); }
.ac-col .ac-reg { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); }
.ac-col .ac-val { font-family: var(--font-display); font-weight: 800; font-size: 25px; letter-spacing: -.02em; color: var(--ink); font-variant-numeric: tabular-nums; line-height: 1.05; }
.ac-col.is-win .ac-val { color: var(--green); }
.ac-col .ac-badge { display: inline-flex; align-items: center; gap: 4px; font-size: 10.5px; font-weight: 700; color: var(--green); margin-top: 2px; }
.ac-col .ac-badge [data-lucide] { width: 12px; height: 12px; }
.ac-single { background: #fff; border-radius: 10px; padding: 16px 18px; box-shadow: inset 0 0 0 1px var(--line-2); }
.ac-single .ac-srow { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 7px 0; font-size: 15px; }
.ac-single .ac-srow + .ac-srow { border-top: 1px solid var(--line-2); }
.ac-single .ac-srow dt { color: var(--body); }
.ac-single .ac-srow dd { font-weight: 700; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.ac-single .ac-srow.is-result { margin-top: 4px; border-top: 1.5px solid var(--line) !important; padding-top: 11px; }
.ac-single .ac-srow.is-result dt { font-weight: 700; color: var(--ink); }
.ac-single .ac-srow.is-result dd { font-family: var(--font-display); font-weight: 800; font-size: 22px; color: var(--brand); }
.ac-verdict { margin-top: 14px; padding: 13px 16px; border-radius: 10px; background: var(--ink); color: #fff;
  display: flex; align-items: center; gap: 10px; font-size: 14.5px; line-height: 1.4; }
.ac-verdict [data-lucide] { width: 19px; height: 19px; color: var(--brand-300); flex: none; }
.ac-verdict b { color: #fff; }
.ac-verdict.is-win { background: color-mix(in oklab, var(--green) 90%, #000); }
.ac-verdict.is-win [data-lucide] { color: #fff; }
.ac-verdict.is-warn { background: color-mix(in oklab, var(--amber) 88%, #000); }
.ac-verdict.is-warn [data-lucide] { color: #fff; }
.ac-foot { padding: 13px 26px; font-size: 12.5px; color: var(--muted); line-height: 1.45; background: var(--surface); border-top: 1px solid var(--line-2); }
@media (max-width: 600px){
  .ac-body { grid-template-columns: 1fr; }
  .ac-inputs { border-right: 0; border-bottom: 1px solid var(--line-2); }
}

/* ---------- NEWSLETTER ---------- */
.news-form { margin-top: 30px; display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; max-width: 480px; margin-inline: auto; }
.news-form .news-input { flex: 1; min-width: 220px; border: 0; outline: 0; border-radius: var(--r-pill);
  padding: 16px 22px; font: inherit; font-size: 16px; color: var(--ink); background: #fff;
  box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.4); }
.news-form .news-input::placeholder { color: var(--muted); }
.news-form .btn { flex: none; }
@media (max-width: 480px){ .news-form .btn { width: 100%; } }
