/* TM_CONV_V1 (28 Nov 2026): trackmatic.ie conversion pass - header, menus, phone first screen, hero actions, form notes.
   Loaded last in <head> on every page that uses include/header.php. Selectors carry html:not(#tcv) because
   trackmatic-redesign-v2.css is loaded again at the end of <body> and tm-kit.css / tm-home-top.css use !important. */

/* ---------- skip link, focus, motion ---------- */
html:not(#tcv) body .tm-skip{position:absolute;left:-9999px;top:8px;z-index:3000;background:#0f172a;color:#fff;padding:10px 16px;border-radius:8px;font-weight:700;text-decoration:none}
html:not(#tcv) body .tm-skip:focus{left:8px}
html:not(#tcv) body #tm-main{outline:none}
html:not(#tcv) body :is(a,button,summary,input,select,textarea):focus-visible{outline:3px solid #0b5ed7 !important;outline-offset:2px !important}
@media (prefers-reduced-motion:reduce){html:not(#tcv) *,html:not(#tcv) *::before,html:not(#tcv) *::after{animation-duration:.01ms !important;animation-iteration-count:1 !important;transition-duration:.01ms !important;scroll-behavior:auto !important}}

/* ---------- desktop menu ---------- */
html:not(#tcv) body .tm-ie-nav{flex-wrap:nowrap;gap:6px}
html:not(#tcv) body .tm-nav-item{position:relative;display:inline-flex}
html:not(#tcv) body .tm-nav-btn{display:inline-flex;align-items:center;gap:6px;background:none;border:0;padding:10px 9px;margin:0;font:500 14px/1.2 'Inter',Arial,sans-serif;color:#0f172a;cursor:pointer;border-radius:8px;white-space:nowrap}
html:not(#tcv) body .tm-nav-btn:hover,html:not(#tcv) body .tm-nav-item.is-open .tm-nav-btn{background:#eff6ff}
html:not(#tcv) body .tm-nav-btn.is-active{color:#0b5ed7}
html:not(#tcv) body .tm-caret{width:7px;height:7px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg) translateY(-2px)}
html:not(#tcv) body .tm-nav-menu{display:none;position:absolute;top:calc(100% + 6px);left:0;z-index:1200;background:#fff;border:1px solid #dbe7f5;border-radius:14px;box-shadow:0 18px 40px rgba(15,23,42,.14);padding:14px;min-width:250px}
html:not(#tcv) body .tm-nav-menu-wide{display:none;min-width:560px;grid-template-columns:1fr 1fr;gap:6px 18px}
html:not(#tcv) body .tm-nav-item.is-open > .tm-nav-menu,html:not(#tcv) body .tm-nav-item:focus-within > .tm-nav-menu{display:block}
html:not(#tcv) body .tm-nav-item.is-open > .tm-nav-menu-wide,html:not(#tcv) body .tm-nav-item:focus-within > .tm-nav-menu-wide{display:grid}
@media (hover:hover) and (min-width:981px){
  html:not(#tcv) body .tm-nav-item:hover > .tm-nav-menu{display:block}
  html:not(#tcv) body .tm-nav-item:hover > .tm-nav-menu-wide{display:grid}
  html:not(#tcv) body .tm-nav-item:hover::after{content:"";position:absolute;left:0;right:0;top:100%;height:10px}
}
html:not(#tcv) body .tm-nav-col{display:flex;flex-direction:column}
html:not(#tcv) body .tm-nav-head{font-size:11px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:#64748b;padding:4px 10px 6px}
html:not(#tcv) body .tm-ie-nav .tm-nav-menu a{display:block !important;padding:9px 10px !important;font-size:14px !important;font-weight:500 !important;border-radius:8px;white-space:nowrap;color:#0f172a !important}
html:not(#tcv) body .tm-ie-nav .tm-nav-menu a:hover,html:not(#tcv) body .tm-ie-nav .tm-nav-menu a:focus{background:#eff6ff;color:#0b5ed7 !important}
html:not(#tcv) body .tm-ie-nav .tm-nav-menu a::after{display:none !important}
html:not(#tcv) body .tm-ie-nav > a[href$="our-customers.php"]{display:inline-flex !important}
html:not(#tcv) body .tm-ie-header .tm-ie-nav .tm-cta{display:inline-flex !important;align-items:center;justify-content:center;min-height:44px;padding:0 20px !important;font-size:14px !important;background:#0b5ed7 !important;color:#fff !important;-webkit-text-fill-color:#fff !important;border-radius:999px}
html:not(#tcv) body .tm-ie-mobile-actions{display:none;align-items:center;gap:8px}
html:not(#tcv) body .tm-ie-logo img{height:auto}

/* ---------- phones and small tablets: compact header, no top bar ---------- */
@media (max-width:980px){
  html:not(#tcv) body .tm-ie-topbar{display:none !important}
  html:not(#tcv) body .tm-ie-header .tm-wrap{min-height:60px !important;gap:10px !important}
  html:not(#tcv) body .tm-ie-logo img{max-height:34px !important;width:auto !important}
  html:not(#tcv) body .tm-ie-mobile-actions{display:flex}
  html:not(#tcv) body .tm-ie-call{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:12px;background:#0b5ed7;color:#fff}
  html:not(#tcv) body .tm-ie-call svg{width:20px;height:20px;fill:currentColor}
  html:not(#tcv) body .tm-ie-mobile-menu{max-height:calc(100vh - 60px);overflow-y:auto}
  html:not(#tcv) body .tm-ie-mobile-menu .tm-wrap{padding-top:6px;padding-bottom:16px}
  html:not(#tcv) body .tm-mm-group{border-bottom:1px solid #eef2f7}
  html:not(#tcv) body .tm-mm-group > summary{list-style:none;cursor:pointer;padding:13px 0;font-size:15px;font-weight:700;color:#0f172a;display:flex;justify-content:space-between;align-items:center}
  html:not(#tcv) body .tm-mm-group > summary::-webkit-details-marker{display:none}
  html:not(#tcv) body .tm-mm-group > summary::after{content:"";width:8px;height:8px;border-right:2px solid #475569;border-bottom:2px solid #475569;transform:rotate(45deg);margin-right:6px}
  html:not(#tcv) body .tm-mm-group[open] > summary::after{transform:rotate(-135deg)}
  html:not(#tcv) body .tm-mm-group > a{display:block;padding:10px 0 10px 14px !important;font-weight:500 !important;font-size:15px !important;border-bottom:0 !important}
  html:not(#tcv) body .tm-ie-mobile-menu a.tm-cta{background:#0b5ed7 !important;color:#fff !important;-webkit-text-fill-color:#fff !important;min-height:48px;display:flex;align-items:center;justify-content:center}
  html:not(#tcv) body .tm-ie-mobile-menu a.tm-mm-secondary{text-align:center;border:1px solid #cbd5e1 !important;border-radius:999px;margin-top:8px;padding:12px 16px}
}

/* ---------- one bottom bar only: the page-level bars of pricing.php / contact-us.php give way to the site bar ---------- */
html:not(#tcv) body .tm-mobilebar{display:none !important}

/* ---------- homepage hero: headline, one line of explanation, price basis, Get Pricing and a trust line in the first phone screen ---------- */
html:not(#tcv):not(#tcv2) body section.tm-hero > .tm-hero-main .tm-hero-anchor{margin:14px auto 0;max-width:640px;font-size:15px;font-weight:600;line-height:1.45}
html:not(#tcv):not(#tcv2) body section.tm-hero > .tm-hero-main .tm-hero-actions{display:flex;flex-wrap:wrap;gap:10px;justify-content:center;margin:18px 0 6px}
html:not(#tcv):not(#tcv2) body section.tm-hero > .tm-hero-main .tm-hero-actions .tm-btn{margin:0 !important;min-height:52px}
html:not(#tcv):not(#tcv2) body section.tm-hero > .tm-hero-main .tm-hero-actions .tm-btn.primary{background:#0b5ed7 !important;color:#fff !important;-webkit-text-fill-color:#fff !important;border-color:#0b5ed7 !important}
html:not(#tcv):not(#tcv2) body section.tm-hero > .tm-hero-main .tm-hero-actions .tm-btn.secondary{background:#fff !important;color:#0f172a !important;-webkit-text-fill-color:#0f172a !important;border:1px solid #cbd5e1 !important}
@media (max-width:768px){
  html:not(#tcv) body .tm-home{padding-top:8px !important}
  html:not(#tcv):not(#tcv2) body section.tm-hero > .tm-hero-main{padding:18px 4px 0 !important}
  html:not(#tcv):not(#tcv2) body section.tm-hero > .tm-hero-main .tm-kicker{font-size:11px !important;padding:4px 10px !important;margin-bottom:8px !important}
  html:not(#tcv):not(#tcv2) body section.tm-hero > .tm-hero-main h1{font-size:30px !important;line-height:1.12 !important;margin:6px auto 8px !important}
  html:not(#tcv):not(#tcv2) body section.tm-hero > .tm-hero-main .tm-hero-lead{font-size:15.5px !important;line-height:1.5 !important;margin:0 auto !important}
  html:not(#tcv):not(#tcv2) body section.tm-hero > .tm-hero-main .tm-hero-anchor{font-size:14px;margin-top:10px}
  html:not(#tcv):not(#tcv2) body section.tm-hero > .tm-hero-main .tm-hero-actions{margin:14px 0 4px;gap:8px}
  html:not(#tcv):not(#tcv2) body section.tm-hero > .tm-hero-main .tm-hero-actions{flex-wrap:nowrap}
  html:not(#tcv):not(#tcv2) body section.tm-hero > .tm-hero-main .tm-hero-actions .tm-btn{flex:1 1 0;width:auto !important;min-width:0;min-height:48px;font-size:16px !important;padding:0 12px !important}
  html:not(#tcv):not(#tcv2) body section.tm-hero > .tm-hero-main .tm-hero-actions .tm-btn.primary{flex-grow:1.6}
  html:not(#tcv):not(#tcv2) body section.tm-hero > .tm-hero-main .tm-rating-wrap{margin:8px 0 0 !important}
  html:not(#tcv):not(#tcv2) body section.tm-hero > .tm-hero-main .tm-rating{font-size:13px !important;padding:5px 10px !important}
  html:not(#tcv):not(#tcv2) body section.tm-hero > .tm-hero-side{display:none !important}
  html:not(#tcv):not(#tcv2) body section.tm-hero:has(> .tm-hero-main){padding-bottom:calc(min(1200px,100vw - 24px) * .2167 + 12px) !important;gap:0 !important}
}

/* ---------- forms: privacy line, optional extras ---------- */
html:not(#tcv) body .tm-privacy-note{font-size:13px;line-height:1.5;color:#475569;margin:10px 0 0}
html:not(#tcv) body .tm-privacy-note a{color:#0b5ed7;text-decoration:underline}
html:not(#tcv) body .tm-form-more{margin:6px 0 10px;border:1px dashed #cbd5e1;border-radius:10px;padding:0 12px}
html:not(#tcv) body .tm-form-more > summary{cursor:pointer;padding:10px 0;font-weight:600;font-size:14px;color:#0f172a}
html:not(#tcv) body input[name="website"],html:not(#tcv) body .tm-hp{position:absolute !important;left:-9999px !important;width:1px !important;height:1px !important;overflow:hidden !important}

/* ---------- footer legal links ---------- */
html:not(#tcv) body .footer_legal_links{display:flex;flex-wrap:wrap;gap:6px 16px;margin:0 0 10px}
html:not(#tcv) body .footer_legal_links a{color:#cbd5e1 !important;font-size:13px;text-decoration:underline}

/* ---------- small helpers ---------- */
html:not(#tcv) body .tm-hide-xs{margin-left:.3em}
@media (max-width:420px){html:not(#tcv) body .tm-hide-xs{display:none !important}}

/* ---------- legal pages ---------- */
html:not(#tcv) body .tm-legal{max-width:820px;margin:0 auto;padding:40px 20px 64px;font-family:'Inter',Arial,sans-serif;color:#1e293b;font-size:16.5px;line-height:1.65}
html:not(#tcv) body .tm-legal h1{font-size:clamp(28px,4vw,38px);line-height:1.15;margin:0 0 6px;color:#0f172a;font-weight:800}
html:not(#tcv) body .tm-legal h2{font-size:21px;margin:30px 0 8px;color:#0f172a;font-weight:800;scroll-margin-top:90px}
html:not(#tcv) body .tm-legal p,html:not(#tcv) body .tm-legal li{color:#334155}
html:not(#tcv) body .tm-legal ul,html:not(#tcv) body .tm-legal ol{padding-left:22px}
html:not(#tcv) body .tm-legal li{margin:6px 0}
html:not(#tcv) body .tm-legal a{color:#0b5ed7;text-decoration:underline}
html:not(#tcv) body .tm-legal-meta{color:#64748b !important;font-size:14px;margin:0 0 18px}
html:not(#tcv) body .tm-legal-toc{display:flex;flex-wrap:wrap;gap:8px;margin:18px 0 6px}
html:not(#tcv) body .tm-legal-toc a{border:1px solid #dbe7f5;border-radius:999px;padding:6px 12px;font-size:14px;text-decoration:none}
html:not(#tcv) body .tm-legal-table{width:100%;border-collapse:collapse;font-size:15px;margin:10px 0 16px}
html:not(#tcv) body .tm-legal-table th,html:not(#tcv) body .tm-legal-table td{border:1px solid #e2e8f0;padding:10px;text-align:left;vertical-align:top}
html:not(#tcv) body .tm-legal-table th{background:#f8fafc}
html:not(#tcv) body .tm-legal-links{margin-top:30px;font-size:15px}
@media (max-width:600px){html:not(#tcv) body .tm-legal-table thead{display:none}html:not(#tcv) body .tm-legal-table td{display:block;border-top:0}html:not(#tcv) body .tm-legal-table tr{display:block;border-top:1px solid #e2e8f0;margin-bottom:10px}}

/* ---------- homepage (TM_CONV_V1 batch 4) ---------- */
html:not(#tcv) body .tm-proof-strip{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
html:not(#tcv) body .tm-proof-item{background:#fff;border:1px solid #dbe7f5;border-radius:16px;padding:16px 18px;text-decoration:none !important;color:inherit;display:flex;flex-direction:column;gap:4px}
html:not(#tcv) body .tm-proof-item strong{font-size:17px;color:#0f172a;-webkit-text-fill-color:#0f172a}
html:not(#tcv) body .tm-proof-item span{font-size:14px;color:#475569;-webkit-text-fill-color:#475569;line-height:1.45}
html:not(#tcv) body a.tm-proof-item:hover{border-color:#0b5ed7}
html:not(#tcv) body .tm-benefits.tm-outcomes{grid-template-columns:repeat(5,minmax(0,1fr))}
html:not(#tcv) body .tm-usecase a{display:inline-block;margin-top:6px}
html:not(#tcv) body .tm-price-explain{display:grid;grid-template-columns:1.6fr 1fr;gap:24px;align-items:center;background:#fff;border:1px solid #dbe7f5;border-radius:24px;padding:28px}
html:not(#tcv) body .tm-price-explain h2{font-size:30px;line-height:1.1;margin:0 0 10px;color:#0f172a;font-weight:800}
html:not(#tcv) body .tm-price-explain ul{margin:8px 0 10px;padding-left:20px;color:#334155}
html:not(#tcv) body .tm-price-explain p{color:#334155}
html:not(#tcv) body .tm-price-explain-cta{display:flex;flex-direction:column;gap:10px}
html:not(#tcv) body .tm-price-explain-cta .tm-btn{min-height:50px;display:inline-flex;align-items:center;justify-content:center}
html:not(#tcv) body .tm-price-explain-cta .tm-btn.primary{background:#0b5ed7 !important;color:#fff !important;-webkit-text-fill-color:#fff !important}
html:not(#tcv) body .tm-faq-solo .tm-faq-stack{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
@media (max-width:1100px){html:not(#tcv) body .tm-benefits.tm-outcomes{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (max-width:900px){html:not(#tcv) body .tm-proof-strip{grid-template-columns:repeat(2,minmax(0,1fr))}html:not(#tcv) body .tm-faq-solo .tm-faq-stack{grid-template-columns:1fr}}
@media (max-width:768px){
  html:not(#tcv) body .tm-benefits.tm-outcomes{grid-template-columns:1fr}
  html:not(#tcv) body .tm-price-explain{grid-template-columns:1fr;padding:20px}
  html:not(#tcv) body .tm-price-explain h2{font-size:26px}
  html:not(#tcv) body .tm-proof-item{padding:12px 14px}
  html:not(#tcv) body .tm-proof-item strong{font-size:15.5px}
  html:not(#tcv) body .tm-proof-item span{font-size:13px}
}

/* ---------- pricing page quote panel ---------- */
html:not(#tcv) body .tm-quote-terms{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0;border:1px solid #dbe7f5;border-radius:18px;overflow:hidden;background:#fff;margin-top:14px}
html:not(#tcv) body .tm-quote-terms div{padding:14px 18px;border-bottom:1px solid #eef2f7}
html:not(#tcv) body .tm-quote-terms dt{font-weight:800;color:#0f172a;margin:0 0 4px;font-size:15px}
html:not(#tcv) body .tm-quote-terms dd{margin:0;color:#334155;font-size:14.5px;line-height:1.55}
html:not(#tcv) body .tm-option .tm-option-price{font-weight:800;color:#0f172a;margin:6px 0 10px}
@media (max-width:768px){html:not(#tcv) body .tm-quote-terms{grid-template-columns:1fr}}
