/* ==========================================================================
   Count On Sheep — Hub Page Template (best-practice, GEO-optimized)
   Reusable stylesheet for /crypto-exchange-tax/* and /crypto-tax-by-coin/*
   Design tokens mirror countonsheep.com: teal #02454E, lime #B1E358.
   Self-contained. No external framework. System font stack.
   ========================================================================== */

:root {
  --teal: #02454E;
  --teal-mid: #0F5A63;
  --teal-soft: #E6F0EF;
  --lime: #B1E358;
  --lime-deep: #6F9B23;
  --lime-tint: #F2F9E6;
  --ink: #102A2C;
  --ink-soft: #3F595B;
  --ink-mute: #6B8385;
  --surface: #FFFFFF;
  --surface-alt: #F7FAFA;
  --line: #E2ECEB;
  --warn-bg: #FFF6E8;
  --warn-line: #F2C879;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(2,69,78,.05), 0 8px 28px rgba(2,69,78,.07);
  --shadow-lg: 0 24px 60px rgba(2,69,78,.14);
  --maxw: 1180px;
  --content: 720px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--surface);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: var(--teal-mid); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ---------- Reading progress bar ---------- */
.progress-track {
  position: fixed; top: 0; left: 0; right: 0; height: 3px;
  background: transparent; z-index: 200;
}
.progress-bar {
  height: 100%; width: 0%;
  background: linear-gradient(90deg, var(--lime), var(--lime-deep));
  transition: width .08s linear;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 150;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  max-width: var(--maxw); margin: 0 auto; padding: 14px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.brand { font-size: 20px; font-weight: 800; color: var(--teal); letter-spacing: -.01em; display:inline-flex; align-items:center; }
.brand span { color: var(--lime-deep); }
.brand img.cos-logo { height: 30px; width: auto; display: block; }
@media (max-width: 640px){ .brand img.cos-logo { height: 26px; } }
.header-cta {
  background: var(--teal); color: #fff !important; font-weight: 700; font-size: 14px;
  padding: 10px 18px; border-radius: 999px; white-space: nowrap;
}
.header-cta:hover { background: var(--teal-mid); text-decoration: none; }
@media (max-width: 640px){ .header-cta{ display:none; } }

/* ---------- Layout ---------- */
.shell { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.layout {
  display: grid; grid-template-columns: minmax(0,1fr) 280px; gap: 56px;
  max-width: var(--maxw); margin: 0 auto; padding: 0 24px;
  align-items: start;
}
@media (max-width: 980px){ .layout{ grid-template-columns: minmax(0,1fr); gap: 0; } .content{ min-width: 0; } }

/* ---------- Breadcrumbs ---------- */
.crumbs { font-size: 13.5px; color: var(--ink-mute); padding: 22px 0 6px; }
.crumbs a { color: var(--ink-mute); }
.crumbs a:hover { color: var(--teal-mid); }
.crumbs span.sep { padding: 0 8px; color: #B9CBCA; }

/* ---------- Hero ---------- */
.hero { padding: 8px 0 22px; }
.eyebrow {
  display: inline-block; font-size: 12.5px; font-weight: 800; letter-spacing: .08em;
  text-transform: uppercase; color: var(--lime-deep);
  background: var(--lime-tint); border: 1px solid #DDEFC0;
  padding: 5px 12px; border-radius: 999px; margin-bottom: 16px;
}
h1 {
  font-size: clamp(30px, 4.4vw, 44px); line-height: 1.12; letter-spacing: -.02em;
  margin: 0 0 18px; color: var(--teal); font-weight: 800;
}
.answer-block {
  font-size: 18.5px; line-height: 1.6; color: var(--ink);
  background: linear-gradient(180deg, var(--surface-alt), #fff);
  border: 1px solid var(--line); border-left: 4px solid var(--lime);
  border-radius: var(--radius); padding: 20px 24px; margin: 0 0 14px;
}
.answer-block strong { color: var(--teal); }
.meta-row {
  display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center;
  font-size: 13.5px; color: var(--ink-mute); margin: 6px 0 8px;
}
.meta-row .dot { color: #C2D3D2; }
.badge-reviewed { color: var(--lime-deep); font-weight: 700; }

/* ---------- Content typography ---------- */
.content { padding-bottom: 40px; }
.content h2 {
  font-size: clamp(23px, 3vw, 29px); line-height: 1.2; letter-spacing: -.015em;
  color: var(--teal); margin: 48px 0 14px; scroll-margin-top: 90px; font-weight: 800;
}
.content h3 {
  font-size: 20px; color: var(--teal); margin: 30px 0 10px; font-weight: 700;
  scroll-margin-top: 90px;
}
.content p { margin: 0 0 16px; }
.content ul, .content ol { margin: 0 0 18px; padding-left: 22px; }
.content li { margin: 0 0 8px; }
.content strong { color: var(--ink); }

/* ---------- Key takeaways ---------- */
.takeaways {
  background: var(--teal); color: #EAF6F4; border-radius: var(--radius);
  padding: 26px 28px; margin: 26px 0; box-shadow: var(--shadow);
}
.takeaways h2 {
  color: #fff; font-size: 15px; letter-spacing: .06em; text-transform: uppercase;
  margin: 0 0 14px;
}
.takeaways ul { list-style: none; margin: 0; padding: 0; }
.takeaways li {
  position: relative; padding-left: 30px; margin-bottom: 12px;
  font-size: 16px; line-height: 1.55; color: #DCEFEC;
}
.takeaways li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 18px; height: 18px;
  border-radius: 50%; background: rgba(177,227,88,.18); border: 1px solid rgba(177,227,88,.6);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path d='M4 8.2L7 11L12 5.5' stroke='%23B1E358' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' fill='none'/></svg>");
  background-repeat: no-repeat; background-position: center; background-size: 12px;
}
.takeaways strong { color: #fff; }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; margin: 22px 0; border: 1px solid var(--line); border-radius: var(--radius); }
table { width: 100%; border-collapse: collapse; font-size: 15.5px; min-width: 520px; }
thead th {
  background: var(--surface-alt); color: var(--teal); text-align: left;
  font-weight: 700; padding: 13px 16px; border-bottom: 2px solid var(--line); font-size: 14px;
  letter-spacing: .01em;
}
tbody td { padding: 13px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
tbody tr:last-child td { border-bottom: none; }
tbody tr:nth-child(even) { background: #FBFDFC; }
td .tag {
  display: inline-block; font-size: 12px; font-weight: 700; padding: 2px 9px; border-radius: 999px;
}
.tag.income { background: #FCE9D6; color: #9A5616; }
.tag.gains { background: var(--lime-tint); color: var(--lime-deep); }
.tag.none { background: #E7F0EF; color: var(--teal-mid); }

/* ---------- Callouts ---------- */
.callout { border-radius: var(--radius); padding: 18px 22px; margin: 24px 0; font-size: 15.5px; line-height: 1.6; }
.callout .label { display:block; font-weight: 800; font-size: 12.5px; letter-spacing:.06em; text-transform: uppercase; margin-bottom: 6px; }
.callout.tip { background: var(--lime-tint); border: 1px solid #DDEFC0; }
.callout.tip .label { color: var(--lime-deep); }
.callout.warn { background: var(--warn-bg); border: 1px solid var(--warn-line); }
.callout.warn .label { color: #B7791F; }
.callout.note { background: var(--surface-alt); border: 1px solid var(--line); }
.callout.note .label { color: var(--teal-mid); }

/* ---------- Worked example / scenario ---------- */
.scenario {
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin: 24px 0;
  box-shadow: var(--shadow);
}
.scenario .head { background: var(--teal); color: #fff; font-weight: 700; padding: 12px 20px; font-size: 14.5px; letter-spacing:.02em; }
.scenario .body { padding: 18px 20px; background: #fff; }
.scenario .calc { display: grid; grid-template-columns: 1fr auto; gap: 6px 16px; font-size: 15px; }
.scenario .calc .lbl { color: var(--ink-soft); }
.scenario .calc .val { font-variant-numeric: tabular-nums; font-weight: 600; text-align: right; }
.scenario .calc .total { border-top: 1px solid var(--line); padding-top: 8px; margin-top: 6px; font-weight: 800; color: var(--teal); }

/* ---------- Inline CTA ---------- */
.inline-cta {
  background: linear-gradient(120deg, var(--teal), var(--teal-mid));
  color: #EAF6F4; border-radius: var(--radius); padding: 26px 28px; margin: 34px 0;
  box-shadow: var(--shadow);
}
.inline-cta h3 { color: #fff; margin: 0 0 8px; font-size: 21px; }
.inline-cta p { margin: 0 0 16px; color: #CFE6E3; font-size: 15.5px; }
.btn {
  display: inline-block; background: var(--lime); color: var(--teal) !important; font-weight: 800;
  padding: 12px 24px; border-radius: 999px; font-size: 15px;
}
.btn:hover { background: #C2EE6E; text-decoration: none; }
.btn-ghost { background: transparent; border: 1.5px solid rgba(255,255,255,.5); color: #fff !important; }
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); }

/* ---------- Lead magnet ---------- */
/* Lead-magnet promo — ported from home page cos-guide-promo, contained variant */
.leadmagnet {
  display: grid; grid-template-columns: minmax(150px, 220px) 1fr; gap: 44px; align-items: center;
  background: var(--lime-tint); color: var(--ink);
  border: 1px solid #DDEFC0; border-radius: 16px; padding: 40px 44px; margin: 40px 0;
}
.leadmagnet .pic {
  position: relative; display: block; width: 100%; border-radius: 0; overflow: visible;
  box-shadow: none; border: none; line-height: 0; transition: transform .3s ease;
}
.leadmagnet .pic:hover { transform: translateY(-4px); box-shadow: none; }
.leadmagnet .pic img { display: block; width: 100%; height: auto; border-radius: 12px; box-shadow: 0 20px 50px rgba(0,0,0,.4); }
.leadmagnet .lead-badge {
  position: absolute; top: 14px; left: 14px; z-index: 2; background: var(--lime); color: #0C2124;
  padding: 6px 14px; border-radius: 999px; font-size: 11px; font-weight: 800;
  text-transform: uppercase; letter-spacing: .05em;
}
.leadmagnet .lead-eyebrow {
  display: inline-block; font-size: 11px; font-weight: 800; text-transform: uppercase;
  letter-spacing: .1em; color: var(--lime-deep); margin-bottom: 14px;
}
.leadmagnet h3 { margin: 0 0 16px; color: var(--teal); font-size: clamp(22px, 2.4vw, 30px); line-height: 1.18; font-weight: 800; }
.leadmagnet h3 em { font-style: normal; color: var(--lime-deep); }
.leadmagnet p { margin: 0 0 20px; font-size: 16px; line-height: 1.6; color: var(--ink-soft); }
.leadmagnet .lead-list { list-style: none; padding: 0; margin: 0 0 26px; }
.leadmagnet .lead-list li {
  padding-left: 28px; margin-bottom: 11px; position: relative;
  color: var(--ink); font-size: 15px; line-height: 1.5;
}
.leadmagnet .lead-list li::before { content: "\2713"; position: absolute; left: 0; top: 0; color: var(--lime-deep); font-weight: 800; font-size: 17px; }
.leadmagnet .lead-cta {
  display: inline-flex; align-items: center; gap: 8px; background: var(--teal); color: #fff;
  padding: 14px 28px; border-radius: 999px; text-decoration: none; font-weight: 700; font-size: 15px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.leadmagnet .lead-cta:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(2,69,78,.28); }
.leadmagnet .lead-cta svg { width: 18px; height: 18px; }
.leadmagnet .lead-meta { display: block; margin-top: 16px; font-size: 13px; color: var(--ink-mute); }
@media (max-width: 720px){
  .leadmagnet { grid-template-columns: 1fr; gap: 30px; padding: 34px 26px; }
  .leadmagnet .pic { max-width: 260px; margin: 0 auto; }
  .leadmagnet .lead-copy { text-align: center; }
  .leadmagnet .lead-list { display: inline-block; text-align: left; }
}

/* ---------- Hub index pages ---------- */
.hub-intro { max-width: 760px; }
.hub-intro h1 { font-size: clamp(30px, 4.5vw, 46px); line-height: 1.08; letter-spacing: -0.02em; color: var(--teal); margin: 10px 0 16px; }
.hub-intro .answer-block { margin-top: 0; }
.hub-section-title { font-size: 14px; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; color: var(--teal); margin: 40px 0 4px; }
.hub-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; margin: 22px 0 8px; }
.hub-card { display: block; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease; }
.hub-card:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(2,69,78,.12); border-color: var(--lime); text-decoration: none; }
.hub-card .ic { width: 44px; height: 44px; border-radius: 11px; background: var(--surface-alt); display: flex; align-items: center; justify-content: center; font-size: 22px; margin-bottom: 14px; }
.hub-card h3 { font-size: 19px; color: var(--teal); margin: 0 0 6px; }
.hub-card p { font-size: 14.5px; color: var(--ink-mute); margin: 0; line-height: 1.5; }
.hub-card .go { display: inline-block; margin-top: 12px; font-size: 13.5px; font-weight: 700; color: var(--teal); }
.hub-card.soon { opacity: .72; }
.hub-card.soon .go { color: var(--ink-mute); }
.hub-badge { display: inline-block; font-size: 10.5px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: var(--teal); background: var(--lime); border-radius: 999px; padding: 2px 9px; margin-left: 8px; vertical-align: middle; }

/* ---------- Logo grid cards (mockup style) ---------- */
.logo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; margin: 22px 0 8px; }
.logo-card {
  display: flex; flex-direction: column; align-items: flex-start;
  padding: 20px; border: 1px solid var(--line); border-radius: var(--radius);
  background: #fff; box-shadow: var(--shadow);
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.logo-card:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(2,69,78,.12); border-color: var(--lime); text-decoration: none; }
.logo-card .lg {
  width: 46px; height: 46px; border-radius: 12px; margin-bottom: 14px;
  background: var(--surface-alt); display: flex; align-items: center; justify-content: center; overflow: hidden;
  border: 1px solid var(--line);
}
.logo-card .lg img { width: 46px; height: 46px; display: block; object-fit: contain; border-radius: 12px; }
.logo-card h3 { font-size: 16.5px; color: var(--teal); margin: 0 0 3px; font-weight: 800; line-height: 1.2; }
.logo-card .sub { font-size: 12.5px; color: var(--ink-mute); margin: 0; line-height: 1.45; }
.logo-card.soon { opacity: .68; }
.logo-card.soon .sub { font-style: italic; }
.logo-card .live { display: inline-block; margin-top: 10px; font-size: 11px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--lime-deep); }
.hub-foot-note { font-size: 13.5px; color: var(--ink-mute); margin: 16px 0 0; font-style: italic; }
@media (max-width: 600px){ .logo-grid { grid-template-columns: 1fr 1fr; gap: 12px; } .logo-card { padding: 16px; } .logo-card h3 { font-size: 15px; } }
@media (max-width: 380px){ .logo-grid { grid-template-columns: 1fr; } }

/* ---------- Figures / images ---------- */
.hero-figure { margin: 4px 0 20px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); }
.hero-figure img { width: 100%; height: auto; display: block; }
figure.fig { margin: 26px 0; }
figure.fig img { width: 100%; height: auto; border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow); display: block; }
figure.fig figcaption { font-size: 13.5px; color: var(--ink-mute); margin-top: 10px; text-align: center; line-height: 1.5; padding: 0 10px; }
figure.fig figcaption b { color: var(--teal); font-weight: 700; }

/* ---------- FAQ ---------- */
.faq { margin: 30px 0; }
.faq details {
  border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface-alt);
  margin-bottom: 12px; overflow: hidden;
}
.faq summary {
  cursor: pointer; list-style: none; padding: 16px 52px 16px 20px; font-weight: 700;
  color: var(--teal); position: relative; font-size: 16.5px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%);
  font-size: 22px; font-weight: 400; color: var(--lime-deep); transition: transform .2s;
}
.faq details[open] summary::after { content: "−"; }
.faq .a { padding: 0 20px 16px; color: var(--ink-soft); font-size: 15.5px; line-height: 1.6; }

/* ---------- Sticky TOC ---------- */
.toc-rail { position: sticky; top: 86px; align-self: start; }
@media (max-width: 980px){ .toc-rail{ display: none; } }
.toc {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; background: var(--surface-alt);
}
.toc .t { font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-mute); margin: 0 0 12px; }
.toc ul { list-style: none; margin: 0; padding: 0; }
.toc li { margin: 0; }
.toc a {
  display: block; padding: 6px 0 6px 14px; font-size: 14px; color: var(--ink-soft);
  border-left: 2px solid var(--line); line-height: 1.4;
}
.toc a:hover { color: var(--teal); text-decoration: none; }
.toc a.active { color: var(--teal); font-weight: 700; border-left-color: var(--lime); }
.toc .mini-cta {
  margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line);
}
.toc .mini-cta a { border: none; padding: 0; }
.toc-cta-btn {
  display: block; text-align: center; background: var(--teal); color: #fff !important;
  font-weight: 700; padding: 11px; border-radius: 999px; font-size: 14px;
}
.toc-cta-btn:hover { background: var(--teal-mid); text-decoration: none; }

/* ---------- Related ---------- */
.related { background: var(--surface-alt); border-top: 1px solid var(--line); padding: 48px 0; margin-top: 30px; }
.related h2 { color: var(--teal); font-size: 24px; margin: 0 0 22px; }
.related-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.rcard {
  display: block; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px; transition: transform .15s, box-shadow .15s;
}
.rcard:hover { transform: translateY(-2px); box-shadow: var(--shadow); text-decoration: none; }
.rcard .k { font-size: 12px; font-weight: 800; letter-spacing:.05em; text-transform: uppercase; color: var(--lime-deep); }
.rcard .h { font-size: 16.5px; font-weight: 700; color: var(--teal); margin: 6px 0 4px; }
.rcard .d { font-size: 14px; color: var(--ink-mute); }

/* ---------- Author / trust ---------- */
.author-box {
  display: flex; gap: 16px; align-items: center; background: var(--surface-alt);
  border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; margin: 34px 0 0;
}
.author-box .av {
  width: 52px; height: 52px; border-radius: 50%; background: var(--teal); color: var(--lime);
  display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 18px; flex: 0 0 auto;
}
.author-box .n { font-weight: 700; color: var(--teal); font-size: 15px; }
.author-box .r { font-size: 13.5px; color: var(--ink-mute); }

/* ---------- Big bottom CTA ---------- */
.cta-band { background: var(--teal); color: #fff; padding: 56px 24px; text-align: center; }
.cta-band h2 { color: #fff; font-size: clamp(24px,3.5vw,32px); margin: 0 0 12px; }
.cta-band p { color: #CFE6E3; max-width: 560px; margin: 0 auto 24px; font-size: 16.5px; }
.cta-band .btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- Disclaimer ---------- */
.disclaimer { max-width: var(--content); margin: 0 auto; padding: 24px; font-size: 13px; color: var(--ink-mute); line-height: 1.6; text-align: center; }

/* ---------- Footer ---------- */
.site-footer { background: var(--teal); color: #F7FAFA; }
.site-footer .wrap { max-width: var(--maxw); margin: 0 auto; padding: 56px 24px 28px; }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 40px; }
.foot-grid h4 { font-size: 12px; text-transform: uppercase; letter-spacing: 1.4px; font-weight: 700; color: var(--lime); margin: 0 0 16px; }
.foot-grid ul { list-style: none; padding: 0; margin: 0; }
.foot-grid li { margin-bottom: 10px; }
.foot-grid a { font-size: 14px; color: #F7FAFA; opacity: .9; }
.foot-brand .name { font-size: 21px; font-weight: 800; color: #fff; }
.foot-brand .name span { color: var(--lime); }
.foot-brand p { color: #9FC4C2; font-size: 13px; max-width: 240px; margin: 12px 0 0; }
.foot-bottom { border-top: 1px solid rgba(247,250,250,.18); padding-top: 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px; font-size: 12.5px; color: rgba(247,250,250,.7); }
.hub-pill { display:inline-block; font-size: 9px; font-weight: 800; background: var(--lime); color: var(--teal); border-radius: 4px; padding: 1px 5px; margin-left: 4px; vertical-align: middle; }
@media (max-width: 760px){ .foot-grid{ grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px){ .foot-grid{ grid-template-columns: 1fr; } }

/* ---------- Mobile layout fixes ---------- */
@media (max-width: 600px){
  html, body { overflow-x: hidden; max-width: 100%; }
  body { font-size: 16px; }
  /* tighten horizontal gutters so content isn't pushed right */
  .topbar .bar, .shell, .layout, .site-footer .wrap { padding-left: 16px; padding-right: 16px; }
  .layout { gap: 0; }
  .content { padding-bottom: 28px; }
  .content ul, .content ol { padding-left: 20px; }
  /* cards/callouts/takeaways edge-to-edge with small inner padding */
  .takeaways { padding: 20px 18px; }
  .takeaways li { padding-left: 26px; font-size: 15px; }
  .scenario { margin-left: 0; margin-right: 0; }
  .scenario .calc { grid-template-columns: 1fr auto; font-size: 14px; }
  /* tables: stacked-card pattern so multi-column tables read top-to-bottom on phones */
  .table-wrap { width: 100%; max-width: 100%; overflow-x: visible; border: 0; border-radius: 0; }
  table { min-width: 0; width: 100%; display: block; font-size: 15px; }
  table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; } /* visually hide header row */
  table tbody { display: block; }
  table tr {
    display: block; background: #fff; border: 1px solid var(--line);
    border-radius: var(--radius); padding: 6px 14px 12px; margin: 0 0 14px; box-shadow: var(--shadow);
  }
  table td {
    display: flex; flex-direction: column; gap: 2px; padding: 9px 0;
    border: 0; border-bottom: 1px solid var(--line); width: auto !important;
    overflow-wrap: anywhere; line-height: 1.5;
  }
  table tr td:last-child { border-bottom: 0; padding-bottom: 2px; }
  table td::before {
    content: attr(data-label); display: block;
    font-size: 11px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase;
    color: var(--teal-mid); margin-bottom: 1px;
  }
  table td:empty { display: none; }
  /* color tag chips inline, not squeezed */
  td .tag { white-space: nowrap; align-self: flex-start; }
  /* full-width bands: keep band edge-to-edge, reduce inner padding */
  .cta-band { padding: 40px 16px; }
  .disclaimer { padding: 20px 16px; }
  .site-footer .wrap { padding: 40px 16px 24px; }
  .foot-bottom { flex-direction: column; gap: 8px; }
  /* hero + figures full bleed to the gutters */
  .hero-figure, figure.fig { margin-left: 0; margin-right: 0; }
  .leadmagnet { padding: 30px 22px; }
}

.foot-brand .name img.cos-logo-foot { height: 34px; width: auto; display: block; }
