/* A0018090 — Unified public content, editorial entry and footer theme.
   This is the required shared theme for public posts, guides, tools and case studies.
   Public pages must not create a separate footer colour system or page-only footer CSS. */
:root{
  --yitm-public-ink:#10233f;
  --yitm-public-copy:#40536a;
  --yitm-public-green:#176b4c;
  --yitm-public-green-dark:#07563b;
  --yitm-public-gold:#f5b83f;
  --yitm-public-canvas:#f7f4ec;
  --yitm-public-soft:#f1f8f4;
  --yitm-public-line:#d9e3e7;
  --yitm-public-footer:#071929;
  --yitm-public-light:#eef5fb;
  --yitm-public-radius:24px;
  --yitm-public-shadow:0 16px 42px rgba(16,35,63,.09);
}

/* Shared action contrast. Page-level link colours must never override dark actions. */
body :is(.btn-primary,a.btn-primary,button.btn-primary,.yitm-choice-actions a:first-child,.yitm-crm-next-step-actions a:first-child,.yitm-editorial-entry__primary){
  background:var(--yitm-public-ink)!important;
  border-color:var(--yitm-public-ink)!important;
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
  text-decoration:none!important;
  opacity:1!important;
  text-shadow:none!important;
}
body :is(.btn-primary,a.btn-primary,button.btn-primary,.yitm-choice-actions a:first-child,.yitm-crm-next-step-actions a:first-child,.yitm-editorial-entry__primary):is(:hover,:focus-visible){
  background:#0b1a31!important;
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
}
body :is(.yitm-choice-actions a:not(:first-child),.yitm-crm-next-step-actions a:not(:first-child),.yitm-editorial-entry__secondary){
  background:#fff!important;
  border:2px solid var(--yitm-public-ink)!important;
  color:var(--yitm-public-ink)!important;
  -webkit-text-fill-color:var(--yitm-public-ink)!important;
  text-decoration:none!important;
}
body :is(.yitm-choice-actions a,.yitm-crm-next-step-actions a,.yitm-editorial-entry a){
  min-height:50px;
  padding:11px 20px;
  border-radius:999px!important;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  box-sizing:border-box;
  font-weight:900!important;
  line-height:1.2;
  text-align:center;
}
body :is(a,button,summary):focus-visible{
  outline:3px solid var(--yitm-public-gold)!important;
  outline-offset:3px!important;
}

/* Editorial help/referral block used by articles and guides. */
.yitm-editorial-entry{
  width:min(1160px,calc(100% - 40px));
  margin:30px auto 0!important;
  padding:clamp(20px,3vw,30px)!important;
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:18px!important;
  box-sizing:border-box;
  border:1px solid var(--yitm-public-line)!important;
  border-radius:28px!important;
  background:#fff!important;
  box-shadow:var(--yitm-public-shadow)!important;
  color:var(--yitm-public-ink)!important;
}
.yitm-editorial-entry>div{
  min-width:0;
  padding:22px!important;
  border:1px solid var(--yitm-public-line)!important;
  border-radius:20px!important;
  background:linear-gradient(180deg,#fff,var(--yitm-public-soft))!important;
}
.yitm-editorial-entry h2{
  margin:0 0 10px!important;
  color:var(--yitm-public-ink)!important;
  font-size:clamp(1.45rem,2.4vw,2rem)!important;
  line-height:1.12!important;
  letter-spacing:-.02em;
  text-wrap:balance;
}
.yitm-editorial-entry p{
  margin:0 0 18px!important;
  max-width:62ch;
  color:var(--yitm-public-copy)!important;
  font-size:1rem!important;
  line-height:1.65!important;
  text-wrap:pretty;
}

/* Dark-surface readability. Only text containers are targeted so white buttons keep dark labels. */
body :is(
  .pricing-action-strip,.pricing-kicker-strip,.dark-panel,.dark-card,.navy-panel,.cta-dark,
  .feature-band-dark,.yitm-card-dark,.yitm-card-cta,.yitm-card-black,.site-footer,
  .case-global-footer,.footer.yitm-unified-footer,.yitm-unified-footer
){color:var(--yitm-public-light)!important;}
body :is(
  .pricing-action-strip,.pricing-kicker-strip,.dark-panel,.dark-card,.navy-panel,.cta-dark,
  .feature-band-dark,.yitm-card-dark,.yitm-card-cta,.yitm-card-black,.site-footer,
  .case-global-footer,.footer.yitm-unified-footer,.yitm-unified-footer
) :is(h1,h2,h3,h4,h5,h6,p,li,small,label,strong){
  color:var(--yitm-public-light)!important;
  -webkit-text-fill-color:var(--yitm-public-light)!important;
  opacity:1!important;
  text-shadow:none!important;
}
body :is(
  .pricing-action-strip,.pricing-kicker-strip,.dark-panel,.dark-card,.navy-panel,.cta-dark,
  .feature-band-dark,.yitm-card-dark,.yitm-card-cta,.yitm-card-black,.site-footer,
  .case-global-footer,.footer.yitm-unified-footer,.yitm-unified-footer
) a:not(.btn):not([class*="btn"]){
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
}
body :is(
  .pricing-action-strip,.pricing-kicker-strip,.dark-panel,.dark-card,.navy-panel,.cta-dark,
  .feature-band-dark,.yitm-card-dark,.yitm-card-cta,.yitm-card-black,.site-footer,
  .case-global-footer,.footer.yitm-unified-footer,.yitm-unified-footer
) a:not(.btn):not([class*="btn"]):is(:hover,:focus-visible){
  color:#ffe27a!important;
  -webkit-text-fill-color:#ffe27a!important;
}

/* Exact shared public footer baseline. */
.footer.yitm-unified-footer,
.yitm-unified-footer{
  width:100%!important;
  max-width:none!important;
  margin:24px 0 0!important;
  padding:34px 0 28px!important;
  box-sizing:border-box!important;
  border:0!important;
  border-top:4px solid var(--yitm-public-gold)!important;
  border-radius:0!important;
  background:var(--yitm-public-footer)!important;
  box-shadow:none!important;
  color:#fff!important;
  overflow:visible!important;
  font-family:inherit;
}
.footer.yitm-unified-footer *,
.yitm-unified-footer *{box-sizing:border-box;}
.footer.yitm-unified-footer>.wrap,
.yitm-unified-footer>.wrap{
  width:min(1180px,calc(100% - 44px))!important;
  max-width:1180px!important;
  margin-inline:auto!important;
  padding-inline:0!important;
}
.footer.yitm-unified-footer .footer-main,
.footer.yitm-unified-footer .footer-grid,
.yitm-unified-footer .footer-main,
.yitm-unified-footer .footer-grid{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  align-items:start!important;
  gap:28px!important;
}
.footer.yitm-unified-footer strong,
.yitm-unified-footer strong{
  display:block!important;
  margin:0 0 8px!important;
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
  font-size:1rem!important;
  font-weight:900!important;
}
.footer.yitm-unified-footer p,
.yitm-unified-footer p{
  margin:0!important;
  max-width:520px!important;
  color:#d9e6ee!important;
  -webkit-text-fill-color:#d9e6ee!important;
  line-height:1.55!important;
}
.footer.yitm-unified-footer .footer-links,
.footer.yitm-unified-footer .footer-terms-links,
.yitm-unified-footer .footer-links,
.yitm-unified-footer .footer-terms-links{
  display:flex!important;
  flex-wrap:wrap!important;
  gap:10px!important;
  justify-content:flex-end!important;
}
.footer.yitm-unified-footer .footer-links a,
.footer.yitm-unified-footer .footer-terms-links a,
.yitm-unified-footer .footer-links a,
.yitm-unified-footer .footer-terms-links a{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:36px!important;
  padding:8px 13px!important;
  border:1px solid rgba(255,255,255,.22)!important;
  border-radius:999px!important;
  background:transparent!important;
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
  text-decoration:none!important;
  font-size:.92rem!important;
  font-weight:850!important;
  line-height:1!important;
}
.footer.yitm-unified-footer .footer-links a[href*="referrals"],
.yitm-unified-footer .footer-links a[href*="referrals"]{
  border-color:rgba(245,184,63,.55)!important;
  background:rgba(245,184,63,.08)!important;
}
.footer.yitm-unified-footer .footer-links a:is(:hover,:focus-visible),
.footer.yitm-unified-footer .footer-terms-links a:is(:hover,:focus-visible),
.yitm-unified-footer .footer-links a:is(:hover,:focus-visible),
.yitm-unified-footer .footer-terms-links a:is(:hover,:focus-visible){
  border-color:#ffe27a!important;
  color:#ffe27a!important;
  -webkit-text-fill-color:#ffe27a!important;
}
.footer.yitm-unified-footer .footer-referral-note,
.yitm-unified-footer .footer-referral-note{
  margin:20px auto 0!important;
  padding:11px 18px!important;
  border:0!important;
  border-radius:999px!important;
  background:#f7fbf9!important;
  color:var(--yitm-public-ink)!important;
  -webkit-text-fill-color:var(--yitm-public-ink)!important;
  box-shadow:none!important;
  text-align:center!important;
  font-size:.92rem!important;
  font-weight:850!important;
  line-height:1.35!important;
}
.footer.yitm-unified-footer .footer-referral-note a,
.yitm-unified-footer .footer-referral-note a{
  color:var(--yitm-public-green-dark)!important;
  -webkit-text-fill-color:var(--yitm-public-green-dark)!important;
  text-decoration:underline!important;
  text-underline-offset:3px!important;
  font-weight:950!important;
}
.footer.yitm-unified-footer .footer-terms,
.yitm-unified-footer .footer-terms{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:18px!important;
  margin-top:14px!important;
  padding-top:12px!important;
  border-top:1px solid rgba(255,255,255,.14)!important;
  color:#eef5fb!important;
  -webkit-text-fill-color:#eef5fb!important;
}
.footer.yitm-unified-footer .footer-terms>span,
.yitm-unified-footer .footer-terms>span{
  color:#eef5fb!important;
  -webkit-text-fill-color:#eef5fb!important;
}

/* Case studies must use the same footer and must not inherit the old category footer treatment. */
.case-global-footer{display:none!important;}
body:has(footer.yitm-unified-footer) .case-global-footer{display:none!important;}

/* Public content rhythm: avoid naked text bands immediately before the footer. */
.yitm-editorial-entry+footer.yitm-unified-footer{margin-top:24px!important;}
main+footer.yitm-unified-footer{margin-top:24px!important;}

@media(max-width:820px){
  .yitm-editorial-entry{grid-template-columns:1fr;width:min(100% - 28px,1160px);padding:18px!important;border-radius:22px!important;}
  .yitm-editorial-entry>div{padding:18px!important;}
  .footer.yitm-unified-footer>.wrap,.yitm-unified-footer>.wrap{width:min(100% - 28px,1180px)!important;}
  .footer.yitm-unified-footer .footer-main,.footer.yitm-unified-footer .footer-grid,
  .yitm-unified-footer .footer-main,.yitm-unified-footer .footer-grid{grid-template-columns:1fr!important;gap:20px!important;}
  .footer.yitm-unified-footer .footer-links,.footer.yitm-unified-footer .footer-terms-links,
  .yitm-unified-footer .footer-links,.yitm-unified-footer .footer-terms-links{justify-content:flex-start!important;}
  .footer.yitm-unified-footer .footer-referral-note,.yitm-unified-footer .footer-referral-note{border-radius:18px!important;padding:12px 15px!important;}
  .footer.yitm-unified-footer .footer-terms,.yitm-unified-footer .footer-terms{display:block!important;}
  .footer.yitm-unified-footer .footer-terms-links,.yitm-unified-footer .footer-terms-links{margin-top:12px!important;}
}
@media(max-width:520px){
  .yitm-editorial-entry a{width:100%;}
  .footer.yitm-unified-footer,.yitm-unified-footer{padding:28px 0 26px!important;}
  .footer.yitm-unified-footer .footer-links,.footer.yitm-unified-footer .footer-terms-links,
  .yitm-unified-footer .footer-links,.yitm-unified-footer .footer-terms-links{display:grid!important;grid-template-columns:1fr 1fr!important;}
  .footer.yitm-unified-footer .footer-links a,.footer.yitm-unified-footer .footer-terms-links a,
  .yitm-unified-footer .footer-links a,.yitm-unified-footer .footer-terms-links a{width:100%!important;}
}


/* A0018090 — Exact public header baseline from /services/tools.html. */
.site-header.yitm-unified-header{
  position:sticky!important;top:0!important;z-index:10050!important;width:100%!important;
  margin:0!important;padding:0!important;background:rgba(255,255,255,.96)!important;
  color:#10233f!important;border:0!important;border-bottom:1px solid rgba(16,35,63,.09)!important;
  border-radius:0!important;box-shadow:0 10px 30px rgba(16,35,63,.06)!important;
  backdrop-filter:saturate(1.08) blur(14px)!important;
}
.site-header.yitm-unified-header,.site-header.yitm-unified-header *{box-sizing:border-box}
.site-header.yitm-unified-header .wrap.header-inner{
  width:min(1160px,calc(100% - 40px))!important;min-height:78px!important;margin:0 auto!important;
  padding:0!important;display:flex!important;align-items:center!important;justify-content:space-between!important;
  gap:22px!important;position:relative!important;
}
.site-header.yitm-unified-header .brand{
  min-width:250px!important;display:flex!important;align-items:center!important;gap:12px!important;
  margin:0!important;padding:0!important;color:#10233f!important;text-decoration:none!important;
  background:transparent!important;border:0!important;box-shadow:none!important;
}
.site-header.yitm-unified-header .brand-mark{
  width:48px!important;height:48px!important;flex:0 0 48px!important;display:grid!important;place-items:center!important;
  overflow:hidden!important;border-radius:16px!important;background:#fff!important;
  box-shadow:0 10px 26px rgba(9,29,46,.12)!important;
}
.site-header.yitm-unified-header .brand-mark img{display:block!important;width:100%!important;height:100%!important;object-fit:contain!important;margin:0!important}
.site-header.yitm-unified-header .brand-text{
  display:block!important;font-family:"Barlow Condensed",Barlow,Arial,sans-serif!important;font-size:1.45rem!important;
  line-height:1!important;letter-spacing:-.02em!important;font-weight:900!important;color:#10233f!important;
  white-space:nowrap!important;
}
.site-header.yitm-unified-header .brand-text em{font-style:normal!important;color:#486f37!important}
.site-header.yitm-unified-header .brand-text small{
  display:block!important;margin-top:4px!important;font-family:Barlow,Arial,sans-serif!important;font-size:.72rem!important;
  line-height:1.2!important;letter-spacing:.02em!important;font-weight:700!important;color:#536475!important;
}
.site-header.yitm-unified-header .nav{
  display:flex!important;align-items:center!important;justify-content:flex-end!important;flex-wrap:wrap!important;
  gap:5px!important;margin:0!important;padding:0!important;background:transparent!important;border:0!important;
  box-shadow:none!important;position:static!important;width:auto!important;
}
.site-header.yitm-unified-header .nav a,
.site-header.yitm-unified-header .nav a:visited{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:42px!important;
  padding:10px 11px!important;border:0!important;border-radius:999px!important;background:transparent!important;
  color:#21364c!important;-webkit-text-fill-color:#21364c!important;text-decoration:none!important;
  font-family:Barlow,Arial,sans-serif!important;font-size:.94rem!important;line-height:1.15!important;font-weight:800!important;
  white-space:nowrap!important;box-shadow:none!important;
}
.site-header.yitm-unified-header .nav a:hover,
.site-header.yitm-unified-header .nav a:focus-visible{background:#f1f5f8!important;color:#07563b!important;-webkit-text-fill-color:#07563b!important}
.site-header.yitm-unified-header .nav .nav-cta,
.site-header.yitm-unified-header .nav .nav-cta:visited{
  padding-inline:18px!important;background:#10233f!important;color:#fff!important;-webkit-text-fill-color:#fff!important;
  box-shadow:0 10px 22px rgba(16,35,63,.18)!important;
}
.site-header.yitm-unified-header .nav .nav-cta:hover,
.site-header.yitm-unified-header .nav .nav-cta:focus-visible{background:#071929!important;color:#fff!important;-webkit-text-fill-color:#fff!important}
.site-header.yitm-unified-header .mobile-menu-btn{
  display:none!important;align-items:center!important;justify-content:center!important;min-width:92px!important;min-height:44px!important;
  padding:10px 16px!important;border:1px solid rgba(16,35,63,.14)!important;border-radius:999px!important;
  background:#fff!important;color:#10233f!important;font:900 .95rem/1 Barlow,Arial,sans-serif!important;cursor:pointer!important;
}
.site-header.yitm-unified-header :is(a,button):focus-visible{outline:3px solid #f5b83f!important;outline-offset:3px!important}
body.has-yitm-unified-shell>.skip-link,
body.has-yitm-unified-shell>a.skip-link{
  position:absolute!important;left:-9999px!important;top:8px!important;z-index:10100!important;padding:10px 14px!important;
  border-radius:10px!important;background:#071929!important;color:#fff!important;text-decoration:none!important;font-weight:900!important;
}
body.has-yitm-unified-shell>.skip-link:focus,
body.has-yitm-unified-shell>a.skip-link:focus{left:10px!important}
@media(max-width:980px){
  .site-header.yitm-unified-header .wrap.header-inner{width:min(100% - 28px,1160px)!important;min-height:70px!important;gap:12px!important}
  .site-header.yitm-unified-header .brand{min-width:0!important}
  .site-header.yitm-unified-header .mobile-menu-btn{display:inline-flex!important}
  .site-header.yitm-unified-header .nav{
    display:none!important;position:absolute!important;left:0!important;right:0!important;top:calc(100% + 10px)!important;
    z-index:10060!important;max-height:calc(100vh - 100px)!important;overflow-y:auto!important;
    padding:12px!important;border:1px solid rgba(16,35,63,.14)!important;border-radius:22px!important;
    background:#fff!important;box-shadow:0 18px 54px rgba(16,35,63,.24)!important;
    flex-direction:column!important;align-items:stretch!important;gap:8px!important;
  }
  .site-header.yitm-unified-header .nav.is-open{display:flex!important}
  .site-header.yitm-unified-header .nav a{width:100%!important;min-height:46px!important;border-radius:14px!important;text-align:center!important}
}
@media(max-width:620px){
  .site-header.yitm-unified-header .wrap.header-inner{width:min(100% - 20px,1160px)!important;min-height:66px!important}
  .site-header.yitm-unified-header .brand-mark{width:42px!important;height:42px!important;flex-basis:42px!important;border-radius:14px!important}
  .site-header.yitm-unified-header .brand-text{font-size:1.18rem!important;white-space:normal!important}
  .site-header.yitm-unified-header .brand-text small{display:none!important}
  .site-header.yitm-unified-header .mobile-menu-btn{min-width:78px!important;padding-inline:13px!important}
}

/* A0018090 — Software & AI article hero: title and image share the same grid. */
.theme-software-ai-for-business .yitm-hero{padding:clamp(22px,3vw,34px)!important;overflow:hidden!important}
.theme-software-ai-for-business .yitm-hero-grid{
  display:grid!important;grid-template-columns:minmax(0,1.12fr) minmax(320px,.88fr)!important;
  gap:clamp(24px,4vw,48px)!important;align-items:center!important;
}
.theme-software-ai-for-business .yitm-hero-grid>div:first-child{min-width:0!important}
.theme-software-ai-for-business .yitm-title{
  max-width:18ch!important;margin:14px 0 16px!important;font-size:clamp(2.55rem,4.25vw,4.45rem)!important;
  line-height:.98!important;letter-spacing:-.045em!important;text-wrap:balance!important;overflow-wrap:normal!important;word-break:normal!important;
}
.theme-software-ai-for-business .yitm-subtitle{max-width:62ch!important;font-size:clamp(1.02rem,1.35vw,1.18rem)!important;line-height:1.62!important;text-wrap:pretty!important}
.theme-software-ai-for-business .yitm-hero-image{
  min-width:0!important;margin:0!important;padding:0!important;align-self:center!important;
  border-radius:28px!important;overflow:hidden!important;background:#eef4f1!important;
  border:1px solid rgba(16,35,63,.12)!important;box-shadow:0 22px 58px rgba(16,35,63,.14)!important;
}
.theme-software-ai-for-business .yitm-hero-image img{
  display:block!important;width:100%!important;height:auto!important;max-height:560px!important;aspect-ratio:1/1!important;
  object-fit:contain!important;object-position:center!important;border:0!important;border-radius:0!important;box-shadow:none!important;
}
@media(max-width:900px){
  .theme-software-ai-for-business .yitm-hero-grid{grid-template-columns:1fr!important}
  .theme-software-ai-for-business .yitm-title{max-width:22ch!important;font-size:clamp(2.45rem,7vw,4rem)!important}
  .theme-software-ai-for-business .yitm-hero-image{max-width:720px!important;width:100%!important;margin-inline:auto!important}
  .theme-software-ai-for-business .yitm-hero-image img{max-height:none!important}
}
@media(max-width:620px){
  .theme-software-ai-for-business .yitm-hero{padding:18px!important}
  .theme-software-ai-for-business .yitm-hero-grid{gap:20px!important}
  .theme-software-ai-for-business .yitm-title{max-width:none!important;font-size:clamp(2.2rem,10.5vw,3.15rem)!important;line-height:1!important}
  .theme-software-ai-for-business .yitm-hero-image{border-radius:20px!important}
}

/* A0018090 — Additional known dark surfaces across public tools, guides and posts. */
body :is(.start-card.primary-start,.quoteme-start,.tool-cta-card,.vm-bottom-cta,.review-proof,.scam-post-hero,.scam-safety-hero){
  color:var(--yitm-public-light)!important;
}
body :is(.start-card.primary-start,.quoteme-start,.tool-cta-card,.vm-bottom-cta,.review-proof,.scam-post-hero,.scam-safety-hero)
:is(h1,h2,h3,h4,h5,h6,p,li,small,label,strong,span){
  color:var(--yitm-public-light)!important;
  -webkit-text-fill-color:var(--yitm-public-light)!important;
  opacity:1!important;
}
