/* ============================================================
   Stevva Insights — VAT cluster article styles (8-page series)
   Mirrors the existing Insights article system (crumbs, art-head,
   art-hero, toc-inline, art-grid, takeaways, prose, callout,
   author-bio, related, cta-band) so the cluster is visually
   identical to the earlier blog posts.
   Accent: the Tax & Accounting division green (--accent-tax),
   applied via --site-accent on these pages.
   Page-specific components (stepper, timelines, zone cards,
   penalty tiers, invoice mock) inherit the same accent.
   ============================================================ */
:root { --bp-accent: var(--accent-tax); --bp-accent-soft: var(--accent-tax-soft); --bp-red: #a33d33; --bp-red-bg: #f9edeb; --bp-red-border: #ecd2cd; }

/* progress */
.progress-track { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 60; background: transparent; }
.progress-bar { height: 100%; background: var(--site-accent); transform: scaleX(0); transform-origin: left; transition: transform 80ms linear; }

/* breadcrumbs */
.crumbs { padding-top: var(--space-6); }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 0.5ch; margin: 0; padding: 0; font-size: var(--text-sm); color: var(--text-muted); }
.crumbs a { color: var(--text-secondary); text-decoration: none; }
.crumbs a:hover { color: var(--ink); }
.crumbs li::after { content: "/"; margin-left: 0.5ch; opacity: 0.4; }
.crumbs li:last-child::after { content: ""; }
.crumbs li[aria-current] { color: var(--ink); }

/* article header */
.art-head { padding-top: var(--space-5); }
.art-head h1 { font-size: clamp(2.1rem, 4.2vw, 3.4rem); font-weight: var(--fw-black); letter-spacing: var(--ls-tight); line-height: 1.08; margin-top: var(--space-4); text-wrap: balance; }
.art-dek { font-size: var(--text-lg); color: var(--text-secondary); line-height: var(--lh-relaxed); margin-top: var(--space-4); max-width: 85ch; }
.byline { display: flex; align-items: center; gap: var(--space-4); flex-wrap: wrap; margin-top: var(--space-6); padding-top: var(--space-5); border-top: 1px solid var(--border-subtle); }
.byline__id { display: flex; align-items: center; gap: var(--space-3); }
.byline .avatar-lg { width: 46px; height: 46px; flex-shrink: 0; border-radius: 999px; background: var(--ink); color: #fff; display: grid; place-items: center; font-weight: var(--fw-heavy); font-size: var(--text-sm); object-fit: cover; object-position: center top; }
.byline__name { font-weight: var(--fw-heavy); color: var(--ink-strong); font-size: var(--text-base); line-height: 1.25; }
.byline__name a { color: inherit; text-decoration: none; }
.byline__name a:hover { text-decoration: underline; text-underline-offset: 3px; }
.byline__sub { display: flex; flex-wrap: wrap; align-items: center; gap: 0.55ch; font-size: var(--text-sm); color: var(--text-muted); margin-top: 2px; }
.byline__role { font-size: var(--text-sm); color: var(--text-muted); }
.byline .meta__sep { opacity: 0.4; }
.share { display: flex; gap: var(--space-2); margin-left: auto; }
.share button, .share a { display: inline-flex; align-items: center; gap: 0.5ch; font: inherit; font-size: var(--text-sm); font-weight: var(--fw-regular); color: var(--text-secondary); cursor: pointer; white-space: nowrap; background: var(--surface-card); border: 1px solid var(--border-subtle); border-radius: var(--radius-pill); padding: 0.45em 0.9em; transition: all var(--dur-fast) var(--ease-out); }
.share button:hover, .share a:hover { border-color: var(--ink); color: var(--ink); }

/* stat chips (series requirement — sits under the byline) */
.stat-chips { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-5); }
.stat-chip { display: inline-flex; align-items: baseline; gap: 0.6ch; padding: 0.5em 0.95em; border: 1px solid var(--border-subtle); border-radius: var(--radius-pill); background: var(--surface-card); font-size: var(--text-sm); color: var(--text-secondary); white-space: nowrap; }
.stat-chip strong { color: var(--site-accent); font-weight: var(--fw-heavy); }

/* hero image */
.art-hero { margin: var(--space-7) 0 0; }
.art-hero image-slot, .art-hero .ph, .art-hero img { width: 100%; aspect-ratio: 2 / 1; height: auto; border-radius: var(--radius-xl); display: block; object-fit: contain; background: var(--grey-50); }
.art-hero figcaption { font-size: var(--text-sm); color: var(--text-muted); margin-top: var(--space-3); }

/* two-column body */
.art-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: var(--space-7); align-items: start; padding-block: var(--space-8); }
.article-body { min-width: 0; }
.art-aside--right { position: sticky; top: 96px; }

/* inline contents */
.toc-inline { margin-top: var(--space-7); padding: var(--space-5) var(--space-6); background: var(--grey-50); border: 1px solid var(--border-subtle); border-radius: var(--radius-lg); }
.toc-inline__title { font-size: var(--text-xs); font-weight: var(--fw-heavy); letter-spacing: var(--ls-eyebrow); text-transform: uppercase; color: var(--text-muted); margin: 0 0 var(--space-4); }
.toc-inline__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2px var(--space-6); counter-reset: toc; }
.toc-inline__list li { counter-increment: toc; }
.toc-inline__list a { display: flex; gap: 0.8ch; align-items: baseline; padding: 0.4em 0; color: var(--text-secondary); text-decoration: none; font-size: var(--text-sm); line-height: 1.35; transition: color var(--dur-fast); }
.toc-inline__list a::before { content: counter(toc, decimal-leading-zero); flex: none; color: var(--site-accent); font-weight: var(--fw-heavy); font-variant-numeric: tabular-nums; }
.toc-inline__list a:hover { color: var(--ink); }

/* mobile "On this page" accordion (desktop uses .toc-inline) */
.toc-mob { display: none; margin-top: var(--space-6); border: 1px solid var(--border-subtle); border-radius: var(--radius-lg); background: var(--grey-50); }
.toc-mob summary { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); padding: var(--space-4) var(--space-5); min-height: 44px; cursor: pointer; font-family: var(--site-font-head); font-weight: var(--fw-heavy); font-size: var(--text-sm); letter-spacing: var(--ls-eyebrow); text-transform: uppercase; color: var(--ink-soft); list-style: none; }
.toc-mob summary::-webkit-details-marker { display: none; }
.toc-mob summary svg { flex: none; color: var(--site-accent); transition: transform var(--dur-base) var(--ease-out); }
.toc-mob[open] summary svg { transform: rotate(180deg); }
.toc-mob ol { list-style: none; margin: 0; padding: 0 var(--space-5) var(--space-4); counter-reset: toc; }
.toc-mob li { counter-increment: toc; }
.toc-mob a { display: flex; gap: 0.8ch; align-items: baseline; padding: 0.55em 0; min-height: 40px; color: var(--text-secondary); text-decoration: none; font-size: var(--text-base); line-height: 1.35; }
.toc-mob a::before { content: counter(toc, decimal-leading-zero); flex: none; color: var(--site-accent); font-weight: var(--fw-heavy); font-variant-numeric: tabular-nums; font-size: var(--text-sm); }

/* aside CTA */
.aside-cta { margin-top: 0; padding: var(--space-6); background: var(--grey-50); border: 1px solid var(--border-subtle); border-radius: var(--radius-lg); }
.aside-cta h3 { font-size: var(--text-h4); }
.aside-cta p { font-size: var(--text-sm); color: var(--text-secondary); margin-top: var(--space-2); line-height: var(--lh-normal); }
.aside-cta .btn { margin-top: var(--space-4); width: 100%; justify-content: center; }

/* key takeaways / milestones box */
.takeaways { background: var(--grey-50); border: 1px solid var(--border-subtle); border-left: 3px solid var(--site-accent); border-radius: var(--radius-md); padding: var(--space-5) var(--space-6); margin-bottom: var(--space-7); }
.takeaways h2, .takeaways .takeaways__title { font-size: var(--text-xs); font-weight: var(--fw-heavy); letter-spacing: var(--ls-eyebrow); text-transform: uppercase; color: var(--text-muted); margin: 0 0 var(--space-3); }
.takeaways h2::after { display: none; }
.takeaways ul { margin: 0; padding-left: 1.2em; display: grid; gap: var(--space-2); }
.takeaways li { font-size: var(--text-base); color: var(--ink-soft); line-height: var(--lh-normal); }
.takeaways strong { color: var(--site-accent); }

/* prose */
.prose { font-size: 1.125rem; line-height: 1.75; color: var(--ink); }
.prose > p { margin-bottom: var(--space-5); }
.prose .lede { font-size: var(--text-lg); line-height: var(--lh-relaxed); color: var(--ink-strong); }
.prose h2 { font-size: var(--text-h2); font-weight: var(--fw-heavy); letter-spacing: var(--ls-snug); line-height: 1.18; margin-top: var(--space-8); margin-bottom: var(--space-4); scroll-margin-top: 96px; text-wrap: balance; }
.prose h3 { font-size: var(--text-h3); font-weight: var(--fw-heavy); margin-top: var(--space-6); margin-bottom: var(--space-3); scroll-margin-top: 96px; }
.prose ul, .prose ol { margin: 0 0 var(--space-5); padding-left: 1.4em; display: grid; gap: var(--space-2); }
.prose li { line-height: var(--lh-relaxed); }
.prose a { color: var(--site-accent); text-decoration: underline; text-underline-offset: 2px; text-decoration-thickness: 1px; }
.prose strong { font-weight: var(--fw-heavy); color: var(--ink-strong); }
.prose .lead-in { font-weight: var(--fw-regular); }
.prose .sources { margin-top: var(--space-7); font-size: var(--text-sm); color: var(--text-muted); line-height: var(--lh-relaxed); font-style: italic; }
.prose .sources p { margin-bottom: var(--space-3); }

/* callout (worked example / key takeaway / warning) */
.callout { display: flex; gap: var(--space-4); background: var(--accent-tax-soft); border-radius: var(--radius-md); padding: var(--space-5); margin: var(--space-6) 0; }
.callout svg { flex: none; color: var(--accent-tax); margin-top: 2px; }
.callout p { margin: 0 0 var(--space-3); font-size: var(--text-base); line-height: var(--lh-normal); color: var(--ink-soft); }
.callout p:last-child { margin-bottom: 0; }
.callout ul, .callout ol { margin: 0 0 var(--space-3); padding-left: 1.3em; display: grid; gap: var(--space-2); font-size: var(--text-base); color: var(--ink-soft); }
.callout ul:last-child, .callout ol:last-child { margin-bottom: 0; }
.callout strong { color: var(--accent-tax); }
.callout a { color: var(--accent-tax); }
.callout__label { display: block; font-size: var(--text-xs); font-weight: var(--fw-heavy); letter-spacing: var(--ls-eyebrow); text-transform: uppercase; color: var(--accent-tax); margin-bottom: var(--space-2); }
.callout--warn { background: var(--bp-red-bg); border: 1px solid var(--bp-red-border); }
.callout--warn svg, .callout--warn strong, .callout--warn .callout__label { color: var(--bp-red); }

/* pull quote */
.pullquote { margin: var(--space-7) 0; padding-left: var(--space-6); border-left: 3px solid var(--ink); }
.pullquote p { font-family: var(--site-font-head); font-size: var(--text-h3); font-weight: var(--fw-heavy); line-height: 1.3; letter-spacing: var(--ls-snug); color: var(--ink-strong); margin: 0; }

/* tables */
.tbl-wrap { overflow-x: auto; margin: var(--space-5) 0 var(--space-6); border: 1px solid var(--border-subtle); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); -webkit-overflow-scrolling: touch; }
.bp-table { width: 100%; border-collapse: collapse; font-size: var(--text-sm); background: var(--surface-card); }
.bp-table th, .bp-table td { padding: 0.8em 1em; text-align: left; vertical-align: top; border-bottom: 1px solid var(--border-subtle); min-width: 120px; }
.bp-table th:first-child, .bp-table td:first-child { min-width: 160px; }
.bp-table thead th { background: var(--site-accent); color: #fff; font-family: var(--site-font-head); font-weight: var(--fw-heavy); font-size: var(--text-xs); letter-spacing: 0.06em; text-transform: uppercase; border-bottom: 0; white-space: nowrap; }
.bp-table tbody tr:nth-child(even) { background: var(--grey-50); }
.bp-table tbody tr:last-child td { border-bottom: 0; }
.bp-table td strong { color: var(--site-accent); }
.tbl-sticky .bp-table th:first-child, .tbl-sticky .bp-table td:first-child { position: sticky; left: 0; background: var(--surface-card); box-shadow: 1px 0 0 var(--border-subtle); }
.tbl-sticky .bp-table thead th:first-child { background: var(--site-accent); }
.tbl-sticky .bp-table tbody tr:nth-child(even) td:first-child { background: var(--grey-50); }

/* 3-column rate band */
.rate-band { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-4); margin: var(--space-6) 0; }
.rate-card { border: 1px solid var(--border-subtle); border-radius: var(--radius-lg); padding: var(--space-5); background: var(--surface-card); box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: var(--space-2); transition: box-shadow var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out); }
.rate-card:hover { box-shadow: var(--shadow-md); transform: translateY(-1px); }
.rate-card__icon { width: 40px; height: 40px; border-radius: var(--radius-md); display: grid; place-items: center; margin-bottom: var(--space-2); }
.rate-card--std .rate-card__icon { background: var(--site-accent); color: #fff; }
.rate-card--zero .rate-card__icon { background: var(--accent-tax-soft); color: var(--accent-tax); }
.rate-card--ex .rate-card__icon { background: var(--grey-100); color: var(--ink-soft); }
.rate-card__rate { font-family: var(--site-font-head); font-size: var(--text-h3); font-weight: var(--fw-black); letter-spacing: var(--ls-snug); color: var(--site-accent); }
.rate-card--ex .rate-card__rate { color: var(--ink-soft); }
.rate-card h3 { font-size: var(--text-base); font-weight: var(--fw-heavy); margin: 0; }
.rate-card p { font-size: var(--text-sm); color: var(--text-secondary); line-height: var(--lh-normal); margin: 0; }

/* inline accent banner */
.inline-banner { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); flex-wrap: wrap; background: var(--accent-tax-soft); border-radius: var(--radius-md); padding: var(--space-4) var(--space-5); margin: var(--space-6) 0; }
.inline-banner p { margin: 0; font-size: var(--text-base); font-weight: var(--fw-heavy); font-family: var(--site-font-head); color: var(--accent-tax); }
.inline-banner .btn { background: var(--site-accent); color: #fff; border-color: var(--site-accent); white-space: nowrap; }
.inline-banner .btn:hover { filter: brightness(0.92); }

/* inline CTA block */
.cta-inline { background: var(--ink); color: #fff; border-radius: var(--radius-lg); padding: var(--space-6) var(--space-7); margin: var(--space-7) 0; }
.cta-inline h3 { font-size: var(--text-h4); font-weight: var(--fw-heavy); color: #fff; margin: 0 0 var(--space-2); letter-spacing: var(--ls-snug); }
.cta-inline p { margin: 0; font-size: var(--text-base); line-height: var(--lh-normal); color: rgba(255,255,255,0.78); }
.cta-inline .btn { margin-top: var(--space-4); background: #fff; color: var(--ink); border-color: #fff; }
.cta-inline .btn:hover { background: var(--grey-100); filter: none; }
.cta-inline a:not(.btn) { color: #fff; text-decoration: underline; }

/* FAQ accordions */
.faq-list { display: grid; gap: var(--space-3); margin: var(--space-5) 0 0; }
.faq { background: var(--surface-card); border: 1px solid var(--border-subtle); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); padding: var(--space-4) var(--space-5); min-height: 44px; cursor: pointer; font-family: var(--site-font-head); font-weight: var(--fw-heavy); font-size: var(--text-base); line-height: 1.35; color: var(--ink-strong); list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { flex: none; color: var(--text-muted); transition: transform var(--dur-base) var(--ease-out); }
.faq[open] summary svg { transform: rotate(45deg); }
.faq__a { padding: 0 var(--space-5) var(--space-5); }
.faq__a p { color: var(--text-secondary); line-height: var(--lh-relaxed); font-size: var(--text-base); margin: 0; }

/* author bio */
.author-bio { display: flex; gap: var(--space-5); align-items: flex-start; margin-top: var(--space-8); padding: var(--space-6); background: var(--grey-50); border: 1px solid var(--border-subtle); border-radius: var(--radius-lg); }
.author-bio .avatar-lg { width: 64px; height: 64px; border-radius: 999px; background: var(--ink); color: #fff; display: grid; place-items: center; font-weight: var(--fw-heavy); font-size: var(--text-h4); flex: none; object-fit: cover; object-position: center top; }
.author-bio__head { display: flex; align-items: center; gap: var(--space-3); flex-wrap: wrap; }
.author-bio h3 { font-size: var(--text-h4); margin: 0; }
.author-bio .linkedin { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 6px; color: var(--site-accent); border: 1px solid var(--border-subtle); background: var(--surface-card); transition: all var(--dur-fast) var(--ease-out); }
.author-bio .linkedin:hover { background: var(--site-accent); color: #fff; border-color: var(--site-accent); }
.author-bio .byline__role { margin: 2px 0 var(--space-2); }
.author-bio p { font-size: var(--text-sm); color: var(--text-secondary); line-height: var(--lh-relaxed); margin: 0; }

/* reviewed line */
.reviewed { margin-top: var(--space-6); font-size: var(--text-sm); color: var(--text-muted); }

/* related */
.related { background: var(--grey-50); border-top: 1px solid var(--border-subtle); }
.related h2 { font-size: var(--text-h3); font-weight: var(--fw-heavy); margin-bottom: var(--space-6); }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-6); }
.rel-card { padding: var(--space-6); display: flex; flex-direction: column; gap: var(--space-3); align-items: flex-start; text-decoration: none; color: inherit; }
.rel-card h3 { font-size: var(--text-h4); font-weight: var(--fw-heavy); line-height: 1.25; }
.rel-card .meta { margin-top: auto; }

/* CTA band */
.cta-band .wrap { display: grid; grid-template-columns: 1.4fr 1fr; align-items: center; gap: var(--space-7); }
.cta-band h2 { font-size: var(--text-h2); font-weight: var(--fw-black); letter-spacing: var(--ls-snug); }
.cta-band p { font-size: var(--text-lg); margin-top: var(--space-3); }
.cta-actions { display: flex; gap: var(--space-3); justify-content: flex-end; flex-wrap: wrap; }

/* ---------- page-specific components (same accent) ---------- */

/* numbered vertical stepper */
.stepper { list-style: none; margin: var(--space-5) 0 var(--space-6); padding: 0; counter-reset: step; display: grid; gap: 0; }
.stepper li { counter-increment: step; position: relative; padding: 0 0 var(--space-6) 56px; }
.stepper li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 36px; height: 36px; border-radius: 999px; background: var(--site-accent); color: #fff; font-family: var(--site-font-head); font-weight: var(--fw-black); font-size: var(--text-base); display: grid; place-items: center; }
.stepper li::after { content: ""; position: absolute; left: 17px; top: 40px; bottom: 4px; width: 2px; background: var(--accent-tax-soft); }
.stepper li:last-child { padding-bottom: 0; }
.stepper li:last-child::after { display: none; }
.stepper li { font-size: var(--text-base); line-height: var(--lh-relaxed); color: var(--ink); }
.stepper strong { color: var(--ink-strong); }

/* decision banner */
.decision-banner { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--border-subtle); border-radius: var(--radius-lg); overflow: hidden; margin: var(--space-6) 0; box-shadow: var(--shadow-sm); }
.decision-banner > div { padding: var(--space-4) var(--space-5); background: var(--surface-card); }
.decision-banner > div + div { border-left: 1px solid var(--border-subtle); }
.decision-banner .db__k { display: block; font-size: var(--text-xs); font-weight: var(--fw-heavy); letter-spacing: var(--ls-eyebrow); text-transform: uppercase; margin-bottom: 4px; }
.decision-banner .db__v { font-family: var(--site-font-head); font-weight: var(--fw-heavy); font-size: var(--text-base); color: var(--ink-strong); }
.db--must { background: var(--accent-tax-soft) !important; }
.db--must .db__k { color: var(--accent-tax); }
.db--may .db__k { color: var(--ink-soft); }
.db--not .db__k { color: var(--text-muted); }

/* documents checklist */
.doc-check { list-style: none; margin: var(--space-5) 0 var(--space-6); padding: 0; display: grid; gap: var(--space-2); }
.doc-check li { display: flex; gap: var(--space-3); align-items: flex-start; padding: var(--space-3) var(--space-4); background: var(--surface-card); border: 1px solid var(--border-subtle); border-radius: var(--radius-md); font-size: var(--text-base); line-height: var(--lh-normal); }
.doc-check li::before { content: ""; flex: none; width: 20px; height: 20px; margin-top: 1px; border-radius: 5px; background: var(--accent-tax-soft) url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="%232c706e" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"><path d="M20 6 9 17l-5-5"/></svg>') center/13px no-repeat; }

/* deadline strip */
.deadline-strip { display: flex; align-items: stretch; gap: 0; margin: var(--space-6) 0; border: 1px solid var(--border-subtle); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); }
.deadline-strip > div { flex: 1; padding: var(--space-4) var(--space-5); background: var(--surface-card); }
.deadline-strip .ds__arrow { flex: none; display: grid; place-items: center; padding: 0 var(--space-3); background: var(--grey-50); color: var(--site-accent); }
.deadline-strip .ds__k { display: block; font-size: var(--text-xs); font-weight: var(--fw-heavy); letter-spacing: var(--ls-eyebrow); text-transform: uppercase; color: var(--text-muted); margin-bottom: 4px; }
.deadline-strip .ds__v { font-family: var(--site-font-head); font-weight: var(--fw-heavy); font-size: var(--text-base); color: var(--ink-strong); }
.deadline-strip .ds__due { background: var(--site-accent); }
.deadline-strip .ds__due .ds__k { color: rgba(255,255,255,0.7); }
.deadline-strip .ds__due .ds__v { color: #fff; }

/* two-panel comparison */
.two-panel { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); margin: var(--space-6) 0; }
.two-panel > div { border-radius: var(--radius-lg); padding: var(--space-5) var(--space-6); }
.tp--yes { background: var(--site-accent); color: #fff; }
.tp--no { background: var(--ink); color: #fff; }
.two-panel .tp__badge { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 999px; background: rgba(255,255,255,0.18); margin-bottom: var(--space-3); }
.two-panel h3 { color: #fff; font-size: var(--text-h4); margin: 0 0 var(--space-2); }
.two-panel p { margin: 0; font-size: var(--text-base); line-height: var(--lh-normal); color: rgba(255,255,255,0.85); }

/* lifecycle strip */
.lifecycle { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-3); margin: var(--space-6) 0; counter-reset: lc; }
.lifecycle > div { counter-increment: lc; position: relative; border: 1px solid var(--border-subtle); border-radius: var(--radius-md); background: var(--surface-card); padding: var(--space-4) var(--space-5); box-shadow: var(--shadow-sm); }
.lifecycle > div::before { content: counter(lc); position: absolute; top: -12px; left: var(--space-4); width: 24px; height: 24px; border-radius: 999px; background: var(--site-accent); color: #fff; font-family: var(--site-font-head); font-weight: var(--fw-black); font-size: var(--text-xs); display: grid; place-items: center; }
.lifecycle .lc__k { display: block; font-size: var(--text-xs); font-weight: var(--fw-heavy); letter-spacing: var(--ls-eyebrow); text-transform: uppercase; color: var(--text-muted); margin: var(--space-2) 0 2px; }
.lifecycle .lc__v { font-family: var(--site-font-head); font-weight: var(--fw-heavy); font-size: var(--text-lg); color: var(--site-accent); }
.lifecycle .lc__d { font-size: var(--text-sm); color: var(--text-secondary); margin-top: 4px; line-height: var(--lh-normal); }

/* zone cards */
.zone-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); margin: var(--space-5) 0 var(--space-6); }
.zone-card { border: 1px solid var(--border-subtle); border-radius: var(--radius-lg); background: var(--surface-card); box-shadow: var(--shadow-sm); padding: var(--space-5); transition: box-shadow var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out); }
.zone-card:hover { box-shadow: var(--shadow-md); transform: translateY(-1px); }
.zone-card__emirate { display: inline-flex; align-items: center; padding: 0.35em 0.9em; border-radius: var(--radius-pill); background: var(--accent-tax-soft); color: var(--accent-tax); font-family: var(--site-font-head); font-size: var(--text-xs); font-weight: var(--fw-heavy); letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: var(--space-3); }
.zone-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-2); }
.zone-card li { position: relative; padding-left: 1.2em; font-size: var(--text-sm); line-height: var(--lh-normal); color: var(--ink-soft); }
.zone-card li::before { content: ""; position: absolute; left: 0; top: 0.5em; width: 6px; height: 6px; border-radius: 2px; background: var(--site-accent); }

/* decision tree */
.dtree { margin: var(--space-6) 0; display: grid; gap: 0; justify-items: center; }
.dtree__q { width: 100%; max-width: 460px; background: var(--site-accent); color: #fff; border-radius: var(--radius-md); padding: var(--space-4) var(--space-5); text-align: center; font-family: var(--site-font-head); font-weight: var(--fw-heavy); font-size: var(--text-base); }
.dtree__stem { width: 2px; height: 22px; background: var(--accent-tax-soft); }
.dtree__branch { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); width: 100%; }
.dtree__a { border: 1px solid var(--border-subtle); border-radius: var(--radius-md); background: var(--surface-card); padding: var(--space-4); box-shadow: var(--shadow-sm); }
.dtree__a .dt__k { display: block; font-size: var(--text-xs); font-weight: var(--fw-heavy); letter-spacing: var(--ls-eyebrow); text-transform: uppercase; margin-bottom: 4px; }
.dt--yes .dt__k { color: var(--accent-tax); }
.dt--no .dt__k { color: var(--bp-red); }
.dtree__a p { margin: 0; font-size: var(--text-sm); line-height: var(--lh-normal); color: var(--ink-soft); }
.dtree__a p strong { color: var(--ink-strong); }

/* horizontal milestone timeline */
.tl-h { margin: var(--space-6) 0; overflow-x: auto; padding-bottom: var(--space-2); }
.tl-h__track { display: grid; grid-template-columns: repeat(6, minmax(140px, 1fr)); gap: 0; position: relative; min-width: 860px; padding-top: 14px; }
.tl-h__track::before { content: ""; position: absolute; top: 19px; left: 4%; right: 4%; height: 2px; background: var(--accent-tax-soft); }
.tl-h__item { position: relative; padding: 0 var(--space-3); text-align: center; }
.tl-h__item::before { content: ""; position: relative; display: block; width: 12px; height: 12px; border-radius: 999px; background: var(--site-accent); margin: 0 auto var(--space-3); box-shadow: 0 0 0 3px var(--accent-tax-soft); }
.tl-h__item--done::before { background: var(--ink); }
.tl-h__date { display: block; font-family: var(--site-font-head); font-weight: var(--fw-heavy); font-size: var(--text-sm); color: var(--site-accent); }
.tl-h__label { display: block; font-size: var(--text-xs); color: var(--text-secondary); line-height: var(--lh-snug); margin-top: 4px; }
.tl-h__now { position: absolute; top: -14px; transform: translateX(-50%); background: var(--ink); color: #fff; font-size: 10px; font-weight: var(--fw-heavy); letter-spacing: 0.08em; text-transform: uppercase; padding: 2px 8px; border-radius: var(--radius-pill); white-space: nowrap; }
.tl-h__now::after { content: ""; position: absolute; left: 50%; top: 100%; transform: translateX(-50%); border: 5px solid transparent; border-top-color: var(--ink); }

/* 5-corner model diagram */
.corners { margin: var(--space-6) 0; border: 1px solid var(--border-subtle); border-radius: var(--radius-lg); background: var(--grey-50); padding: var(--space-6); }
.corners__row { display: grid; grid-template-columns: 1fr 24px 1fr 24px 1fr 24px 1fr; align-items: center; gap: var(--space-2); }
.corner { background: var(--surface-card); border: 1px solid var(--border-subtle); border-radius: var(--radius-md); padding: var(--space-3) var(--space-4); text-align: center; box-shadow: var(--shadow-sm); }
.corner .c__n { display: block; font-size: var(--text-xs); font-weight: var(--fw-heavy); letter-spacing: 0.08em; text-transform: uppercase; color: var(--site-accent); }
.corner .c__t { display: block; font-family: var(--site-font-head); font-weight: var(--fw-heavy); font-size: var(--text-sm); color: var(--ink-strong); margin-top: 2px; }
.corner .c__d { display: block; font-size: var(--text-xs); color: var(--text-muted); margin-top: 2px; line-height: var(--lh-snug); }
.corner--asp { border-color: var(--site-accent); }
.corners__arrow { color: var(--site-accent); display: grid; place-items: center; }
.corners__fta { margin-top: var(--space-5); display: grid; justify-items: center; gap: var(--space-2); }
.corners__fta .stem { width: 2px; height: 20px; background: var(--accent-tax-soft); }
.corners__fta .corner { background: var(--site-accent); border-color: var(--site-accent); min-width: 260px; }
.corners__fta .corner .c__n { color: rgba(255,255,255,0.7); }
.corners__fta .corner .c__t { color: #fff; }
.corners__fta .corner .c__d { color: rgba(255,255,255,0.7); }

/* big numbered step cards */
.step-cards { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); margin: var(--space-5) 0 var(--space-6); counter-reset: sc; list-style: none; padding: 0; }
.step-card { counter-increment: sc; position: relative; border: 1px solid var(--border-subtle); border-radius: var(--radius-lg); background: var(--surface-card); box-shadow: var(--shadow-sm); padding: var(--space-5) var(--space-5) var(--space-5) 76px; }
.step-card::before { content: counter(sc); position: absolute; left: var(--space-5); top: var(--space-5); width: 40px; height: 40px; border-radius: 999px; background: var(--site-accent); color: #fff; font-family: var(--site-font-head); font-weight: var(--fw-black); font-size: var(--text-lg); display: grid; place-items: center; }
.step-card p { margin: 0; font-size: var(--text-base); line-height: var(--lh-relaxed); color: var(--ink); }
.step-card strong { color: var(--ink-strong); }

/* sample invoice mock */
.invoice-mock { margin: var(--space-6) 0; border: 1px solid var(--border-subtle); border-radius: var(--radius-lg); background: var(--surface-card); box-shadow: var(--shadow-sm); padding: var(--space-6); font-size: var(--text-sm); }
.invoice-mock__head { display: flex; justify-content: space-between; gap: var(--space-4); flex-wrap: wrap; border-bottom: 2px solid var(--site-accent); padding-bottom: var(--space-4); margin-bottom: var(--space-4); }
.invoice-mock__title { font-family: var(--site-font-head); font-weight: var(--fw-black); font-size: var(--text-h4); color: var(--site-accent); }
.invoice-mock__meta { color: var(--text-muted); font-size: var(--text-xs); text-align: right; }
.invoice-mock__supplier { line-height: 1.6; color: var(--ink-soft); }
.invoice-mock .trn-line { display: inline-block; background: var(--accent-tax-soft); border: 1.5px dashed var(--site-accent); border-radius: 6px; padding: 2px 8px; font-weight: var(--fw-heavy); color: var(--ink-strong); margin-top: 4px; }
.invoice-mock__rows { width: 100%; border-collapse: collapse; margin-top: var(--space-2); }
.invoice-mock__rows td { padding: 0.5em 0; border-bottom: 1px solid var(--border-subtle); color: var(--text-secondary); }
.invoice-mock__rows td:last-child { text-align: right; font-variant-numeric: tabular-nums; }
.invoice-mock__rows tr:last-child td { border-bottom: 0; font-weight: var(--fw-heavy); color: var(--ink-strong); }
.invoice-mock__callout { display: flex; align-items: center; gap: 0.6ch; margin-top: var(--space-4); font-size: var(--text-xs); font-weight: var(--fw-heavy); color: var(--site-accent); text-transform: uppercase; letter-spacing: 0.08em; }

/* VD tier gradient (teal ramp) */
.tier-1 { background: #eef4f4 !important; }
.tier-2 { background: #dfebea !important; }
.tier-3 { background: #cbdedd !important; }
.tier-4 { background: #b2cdcc !important; }
.tier-5 { background: #94bbb9 !important; }
.tier-audit { background: var(--ink) !important; }
.tier-audit td { color: #fff !important; border-bottom: 0 !important; }
.tier-audit td strong { color: #fff !important; }

/* sticky bottom CTA bar (mobile) + back-to-top */
.sticky-cta { display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 55; background: var(--ink); color: #fff; padding: 10px var(--space-4) calc(10px + env(safe-area-inset-bottom)); box-shadow: 0 -6px 18px rgba(28,36,43,0.25); align-items: center; gap: var(--space-3); justify-content: space-between; }
.sticky-cta__label { font-size: var(--text-sm); font-weight: var(--fw-heavy); font-family: var(--site-font-head); line-height: 1.25; }
.sticky-cta .btn { background: #fff; color: var(--ink); border-color: #fff; min-height: 44px; white-space: nowrap; }
.to-top { display: none; position: fixed; right: var(--space-4); bottom: 84px; z-index: 54; width: 44px; height: 44px; border-radius: 999px; background: var(--surface-card); color: var(--site-accent); border: 1px solid var(--border-subtle); box-shadow: var(--shadow-md); cursor: pointer; place-items: center; opacity: 0; pointer-events: none; transition: opacity var(--dur-base) var(--ease-out); }
.to-top.is-on { opacity: 1; pointer-events: auto; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .art-grid { grid-template-columns: 1fr; gap: var(--space-6); }
  .art-aside--right { position: static; }
}
@media (max-width: 820px) {
  .related-grid { grid-template-columns: 1fr; }
  .cta-band .wrap { grid-template-columns: 1fr; }
  .cta-actions { justify-content: flex-start; }
  .share { margin-left: 0; width: 100%; }
  .share button { min-height: 44px; }
}
@media (max-width: 768px) {
  .prose { font-size: 1rem; line-height: 1.6; }
  .toc-inline { display: none; }
  .toc-mob { display: block; }
  .stat-chips { gap: var(--space-2); }
  .stat-chip { font-size: var(--text-xs); padding: 0.45em 0.8em; }
  .rate-band, .lifecycle { grid-template-columns: 1fr; }
  .lifecycle { gap: var(--space-5); }
  .decision-banner { grid-template-columns: 1fr; }
  .decision-banner > div + div { border-left: 0; border-top: 1px solid var(--border-subtle); }
  .two-panel, .zone-grid, .step-cards { grid-template-columns: 1fr; }
  .deadline-strip { flex-direction: column; }
  .deadline-strip .ds__arrow { padding: var(--space-1) 0; }
  .deadline-strip .ds__arrow svg { transform: rotate(90deg); }
  .corners__row { grid-template-columns: 1fr; gap: var(--space-2); justify-items: center; }
  .corners__row .corner { width: 100%; }
  .corners__arrow svg { transform: rotate(90deg); }
  .cta-inline { padding: var(--space-5); }
  .author-bio { flex-direction: column; }
  .sticky-cta { display: flex; }
  .to-top { display: grid; }
  body[data-page="article"] { padding-bottom: 76px; }
  .bp-table th, .bp-table td { padding: 0.7em 0.8em; }
}
@media (max-width: 720px) { .toc-inline__list { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .toc-inline__list { grid-template-columns: 1fr; } }
