@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@600;700;800&display=swap');

/* Trackmatic 2026 visual system. Presentation only: no content, route or form changes. */
:root {
  --tm2-ink: #0b1d33;
  --tm2-deep: #071526;
  --tm2-navy: #102a4b;
  --tm2-blue: #1769d2;
  --tm2-red: #e43f45;
  --tm2-red-dark: #be2832;
  --tm2-muted: #5f6f82;
  --tm2-soft: #f3f6fa;
  --tm2-soft-blue: #eaf2fb;
  --tm2-line: #dbe3ed;
  --tm2-white: #fff;
  --tm2-radius: 22px;
  --tm2-radius-lg: 32px;
  --tm2-shadow: 0 22px 65px rgba(7, 21, 38, .12);
  --tm2-shadow-soft: 0 12px 35px rgba(7, 21, 38, .075);
}

/* Retire the older green accent tokens site-wide so every component (icons, labels,
   links, stat numbers, testimonial marks, etc.) resolves to the one disciplined
   navy + red system above, without having to hunt down each individual rule. */
:root {
  --tm-green: var(--tm2-red);
  --tm-green-dark: var(--tm2-red-dark);
  --tm-green-soft: var(--tm2-soft);
  --tm-mint: var(--tm2-soft);
}

/* Shared design-system bridge: the older --tm-* token names (from index.php's own
   :root, historically page-local) resolved by any page — Trackmatic IE, UK, or a
   future port — that reuses "tm-" component classes without its own copy of them. */
:root {
  --tm-bg: var(--tm2-soft);
  --tm-card: var(--tm2-white);
  --tm-line: var(--tm2-line);
  --tm-text: var(--tm2-ink);
  --tm-muted: var(--tm2-muted);
  --tm-soft: var(--tm2-muted);
  --tm-deep: var(--tm2-deep);
  --tm-shadow: var(--tm2-shadow);
  --tm-shadow-soft: var(--tm2-shadow-soft);
}

/* newstyle.css (restored as the legacy pages' real stylesheet, see fix log) sets a
   global h1,h2{text-transform:uppercase}. Legacy pages want that; the redesigned
   "tm-" pages do not and never did — scope the reset to only their own headings so
   legacy pages keep their intended look. */
[class*="tm-"] :is(h1, h2, h3, h4, h5, h6) { text-transform: none !important; }

/* newstyle.css also sets a global a{text-decoration:underline;color:#004274} — fine for
   the legacy pages it's meant for, but it leaks old-web blue-underline links onto any
   plain, unclassed <a> (e.g. an inline phone/email link) inside the redesigned pages.
   Give those a deliberate, on-brand treatment instead; any component that already
   styles its own links (nav, footer, buttons, cards) uses !important and is unaffected. */
[class*="tm-"] a:not([class]) { color: var(--tm2-red-dark); text-decoration: underline; text-underline-offset: 2px; }
[class*="tm-"] a:not([class]):hover { color: var(--tm2-red); }

* { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: clip;
  color: var(--tm2-ink) !important;
  background: var(--tm2-white) !important;
  font-family: "DM Sans", Inter, Arial, sans-serif !important;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body :is(h1, h2, h3, h4, h5, h6) {
  color: var(--tm2-ink);
  font-family: Manrope, "DM Sans", Inter, Arial, sans-serif !important;
  font-weight: 800;
  letter-spacing: -.035em;
  text-wrap: balance;
}
body :is(p, li) { text-wrap: pretty; }
body img { max-width: 100%; height: auto; }
body :is(.container, .tm-wrap) {
  width: min(100% - 48px, 1220px) !important;
  max-width: 1220px !important;
  margin-inline: auto !important;
}
::selection { color: #fff; background: var(--tm2-red); }

/* Header and navigation */
.tm-ie-header,
.tm-header {
  position: sticky !important;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(11, 29, 51, .08) !important;
  background: rgba(255, 255, 255, .96) !important;
  box-shadow: 0 12px 40px rgba(7, 21, 38, .08) !important;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.tm-ie-topbar,
.tm-topbar {
  min-height: 34px !important;
  border: 0 !important;
  background: var(--tm2-deep) !important;
  color: #dce6f2 !important;
  font-size: 12px !important;
  letter-spacing: .02em;
}
.tm-ie-topbar a,
.tm-topbar a { color: #fff !important; }
.tm-ie-logo img,
.tm-logo { filter: drop-shadow(0 5px 12px rgba(7, 21, 38, .08)); }
.tm-ie-nav,
.tm-main-nav .navbar-nav { gap: 6px !important; }
.tm-ie-nav a,
.tm-main-nav .nav-link {
  position: relative;
  padding: 12px 13px !important;
  border-radius: 10px;
  color: #233b58 !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  letter-spacing: -.01em;
  transition: color .18s ease, background-color .18s ease, transform .18s ease;
}
.tm-ie-nav a:hover,
.tm-ie-nav .is-active,
.tm-main-nav .nav-link:hover,
.tm-main-nav .nav-item.active > .nav-link {
  color: var(--tm2-red-dark) !important;
  background: #fff1f2 !important;
  text-decoration: none !important;
}
.tm-ie-nav a.is-active:after { background: var(--tm2-red) !important; }
.tm-ie-mobile-menu a:hover,
.tm-ie-mobile-menu a:focus,
.tm-ie-mobile-menu a.is-active { color: var(--tm2-red-dark) !important; }
.tm-ie-mobile-menu a.tm-cta,
.tm-ie-nav .tm-cta {
  background: linear-gradient(135deg, var(--tm2-red), var(--tm2-red-dark)) !important;
}
.tm-ie-mobile-menu a.tm-cta:hover,
.tm-ie-mobile-menu a.tm-cta:focus,
.tm-ie-nav .tm-cta:hover,
.tm-ie-nav .tm-cta:focus { background: var(--tm2-deep) !important; }
.tm-ie-mobile-toggle { background: var(--tm2-soft) !important; color: var(--tm2-ink) !important; }
.tm-ie-mobile-toggle:hover,
.tm-ie-mobile-toggle:focus { background: var(--tm2-line) !important; }
.tm-main-nav {
  min-height: 72px !important;
  border: 0 !important;
  background: rgba(255, 255, 255, .97) !important;
}
.tm-main-nav .dropdown-menu,
.tm-ie-mobile-menu {
  padding: 12px !important;
  border: 1px solid var(--tm2-line) !important;
  border-radius: 16px !important;
  background: #fff !important;
  box-shadow: var(--tm2-shadow) !important;
}
.tm-main-nav .dropdown-item {
  padding: 10px 12px !important;
  border-radius: 9px;
  color: #29415c !important;
  font-weight: 650 !important;
}
.tm-main-nav .dropdown-item:hover { color: var(--tm2-red-dark) !important; background: #fff1f2 !important; }
.tm-ie-header .tm-cta,
.tm-header-quote,
.tm-login-btn,
.tm-nav-mobile-quote {
  min-height: 44px !important;
  padding: 0 18px !important;
  border: 0 !important;
  border-radius: 11px !important;
  background: linear-gradient(135deg, var(--tm2-red), var(--tm2-red-dark)) !important;
  color: #fff !important;
  box-shadow: 0 10px 25px rgba(228, 63, 69, .23) !important;
}

/* Shared buttons */
body :is(.tm-btn, .tm-pricing-action, .tm-fleet-action, .tm-plan-button, .tm-submit, .tm-submit-button, .tm-quote-submit, .btn, input[type="submit"]) {
  min-height: 48px;
  padding: 12px 21px;
  border-radius: 11px !important;
  font-family: "DM Sans", sans-serif !important;
  font-weight: 800 !important;
  letter-spacing: -.015em;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease;
}
body :is(.tm-btn.primary, .tm-btn.dark, .tm-pricing-action-primary, .tm-fleet-action-primary, .tm-plan-button, .tm-submit, .tm-submit-button, .tm-quote-submit, .btn-primary) {
  border-color: var(--tm2-red) !important;
  background: linear-gradient(135deg, var(--tm2-red), var(--tm2-red-dark)) !important;
  color: #fff !important;
  box-shadow: 0 12px 28px rgba(228, 63, 69, .24) !important;
}
body :is(.tm-btn.secondary, .tm-btn.light, .tm-btn.ghost, .tm-pricing-action-secondary, .tm-fleet-action-secondary, .btn-outline-primary, .btn-outline-light) {
  border: 1px solid #bdc9d8 !important;
  background: #fff !important;
  color: var(--tm2-ink) !important;
  box-shadow: 0 7px 18px rgba(7, 21, 38, .06) !important;
}
body :is(.btn-success, .tm-footer-button-whatsapp, .tm-nav-mobile-whatsapp) {
  border-color: #19a957 !important;
  background: #19a957 !important;
  color: #fff !important;
}
@media (hover: hover) {
  body :is(.tm-btn, .tm-pricing-action, .tm-fleet-action, .tm-plan-button, .tm-submit, .tm-submit-button, .tm-quote-submit, .btn, input[type="submit"]):hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 34px rgba(7, 21, 38, .16) !important;
    text-decoration: none !important;
  }
}

/* Shared hero price/CTA, product-mock and feature-strip components. Originally
   built for the Irish homepage; kept here (not page-local) specifically so
   trackmatic.co.uk and future ports can reuse them as one design system. */

.tm-hero-lead{
  margin:0 0 28px;
  max-width:520px;
  font-size:17px;
  line-height:1.7;
  color:#406256;
}

.tm-hero-price{
  display:inline-flex;
  flex-direction:column;
  gap:4px;
  margin-bottom:28px;
  padding:16px 22px;
  background:rgba(255,255,255,0.08);
  border:1px solid rgba(255,255,255,0.16);
  border-radius:18px;
}

.tm-hero-price-amount{
  font-family:Manrope,"DM Sans",Arial,sans-serif;
  font-size:34px;
  font-weight:800;
  letter-spacing:-0.03em;
  color:var(--tm-deep);
}

.tm-hero-price-from{
  margin-right:6px;
  font-size:14px;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:.06em;
  vertical-align:2px;
}

.tm-hero-price-amount small{
  margin-left:4px;
  font-size:14px;
  font-weight:600;
  letter-spacing:0;
}

.tm-hero-price-note{
  font-size:12.5px;
  font-weight:600;
  color:#527067;
}

.tm-hero-price-fleet{
  display:inline-block;
  margin-top:10px;
  padding-top:10px;
  border-top:1px solid rgba(255,255,255,.14);
  font-size:12.5px;
  font-weight:700;
  text-decoration:none;
}

.tm-btn.lg{
  min-height:54px;
  padding:0 30px;
  font-size:15px;
}

.tm-hero-call{
  display:inline-block;
  margin-top:16px;
  font-size:14px;
  font-weight:700;
  text-decoration:none;
  color:#4f6d62;
}

.tm-hero-call:hover{
  text-decoration:underline;
}

/* Product UI mockup — a composed illustration of the real Trackmatic feature set
   (Live Map / Vehicles / Trip Replay / Geofences / Alerts / Reports are the site's
   own real navigation, not invented), not a literal screenshot. */
.tm-app-mock{
  height:100%;
  min-height:460px;
  display:flex;
  flex-direction:column;
  background:#0f2743;
  border:1px solid rgba(255,255,255,0.1);
  border-radius:20px;
  overflow:hidden;
  box-shadow:0 30px 70px rgba(7,21,38,0.35);
}

.tm-app-mock-bar{
  display:flex;
  align-items:center;
  gap:6px;
  padding:12px 16px;
  background:rgba(255,255,255,0.04);
  border-bottom:1px solid rgba(255,255,255,0.08);
}

.tm-app-mock-dot{
  width:8px;
  height:8px;
  border-radius:50%;
  background:rgba(255,255,255,0.22);
}

.tm-app-mock-title{
  margin-left:8px;
  font-size:12px;
  font-weight:700;
  color:rgba(255,255,255,0.55);
}

.tm-app-mock-body{
  display:flex;
  flex:1;
  min-height:0;
}

.tm-app-mock-nav{
  display:flex;
  flex-direction:column;
  gap:2px;
  width:128px;
  flex:0 0 auto;
  padding:14px 10px;
  background:rgba(255,255,255,0.03);
  border-right:1px solid rgba(255,255,255,0.07);
}

.tm-app-mock-nav-item{
  padding:9px 10px;
  border-radius:8px;
  font-size:12px;
  font-weight:700;
  color:rgba(255,255,255,0.42);
}

.tm-app-mock-nav-item.is-active{
  background:rgba(228,63,69,0.16);
  color:#ffb7ba;
}

.tm-app-mock-map{
  position:relative;
  flex:1;
  min-height:320px;
}

.tm-app-mock-map img{
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
}

.tm-app-mock-panel{
  position:absolute;
  right:14px;
  bottom:14px;
  display:grid;
  gap:1px;
  padding:6px;
  background:rgba(15,39,67,0.92);
  border:1px solid rgba(255,255,255,0.12);
  border-radius:12px;
  backdrop-filter:blur(6px);
  overflow:hidden;
}

.tm-app-mock-row{
  display:flex;
  align-items:center;
  gap:8px;
  padding:7px 10px;
  font-size:11.5px;
  font-weight:700;
  color:#dce6f2;
  white-space:nowrap;
}

.tm-app-mock-row b{
  margin-left:auto;
  padding-left:14px;
  font-weight:800;
  color:#fff;
}

.tm-app-mock-status{
  width:7px;
  height:7px;
  border-radius:50%;
  background:rgba(255,255,255,0.3);
}

.tm-app-mock-status.is-live{
  background:#e43f45;
  box-shadow:0 0 0 3px rgba(228,63,69,0.25);
}

/* Feature strip below the hero */
.tm-feature-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:2px;
  background:var(--tm-line);
  border:1px solid var(--tm-line);
  border-radius:24px;
  overflow:hidden;
}

.tm-feature{
  position:relative;
  padding:34px 32px;
  background:#fff;
}

.tm-feature-lead{
  background:var(--tm-deep);
}

.tm-feature-num{
  display:block;
  margin-bottom:14px;
  font-family:Manrope,"DM Sans",Arial,sans-serif;
  font-size:13px;
  font-weight:800;
  letter-spacing:.08em;
  color:var(--tm-green-dark);
}

.tm-feature-lead .tm-feature-num{
  color:rgba(255,255,255,0.5);
}

.tm-feature strong{
  display:block;
  margin-bottom:10px;
  font-size:20px;
  font-weight:800;
  letter-spacing:-0.02em;
  color:var(--tm-text);
}

.tm-feature-lead strong{
  font-size:24px;
  color:#fff;
}

.tm-feature span{
  display:block;
  max-width:46ch;
  font-size:14.5px;
  line-height:1.75;
  color:var(--tm-muted);
}

.tm-feature-lead span{
  color:#c2d6cd;
}


/* Ireland homepage: unmistakable product-led hero */
.tm-home {
  padding: 1px 0 0 !important;
  background: linear-gradient(180deg, #f5f8fc 0, #fff 38%, #f3f6fa 100%) !important;
}
.tm-home > .tm-wrap { padding: 0 !important; }
/* Broadened from an earlier .tm-home-only scope: every inner tracking page (tm-software-page,
   tm-car-page, tm-van-page, tm-hgv-page, tm-asset-page, tm-recovery-page, tm-customers-page...)
   uses this exact same singleton .tm-hero-main/.tm-screen-card component with its own unique
   page-wrapper class, so scoping to .tm-home alone left every inner page showing the old pale
   mint hero while only the homepage got the premium navy treatment. */
.tm-hero {
  align-items: center !important;
  gap: 46px !important;
  margin: 52px auto 82px !important;
}
.tm-hero-main {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 72px 60px !important;
  border: 0 !important;
  border-radius: var(--tm2-radius-lg) !important;
  background:
    linear-gradient(135deg, rgba(7, 21, 38, .98), rgba(16, 52, 91, .96)),
    url('/images/trackmatic-tech-grid.svg') center/680px !important;
  color: #fff !important;
  box-shadow: 0 34px 90px rgba(7, 21, 38, .24) !important;
}
/* Broadening .tm-kicker (below) to every page also meant its pale-pink-for-dark-navy
   treatment was applying to kickers that actually sit on light/white backgrounds
   elsewhere on the page (e.g. contact-us.php's "Talk to us" / "Send an enquiry"
   labels) — legible, but low-contrast, and often masking that page's OWN hardcoded
   green. Give light-background kickers a proper high-contrast red instead, and keep
   the pale pink only where a kicker is actually inside the navy hero. */
.tm-kicker {
  padding: 8px 13px !important;
  border: 1px solid #f1b9bc !important;
  background: #fff1f2 !important;
  color: var(--tm2-red-dark) !important;
  letter-spacing: .11em !important;
}
.tm-hero-main .tm-kicker,
.tm-quote-band .tm-kicker,
.tm-cta .tm-kicker,
.tm-pricing-page .tm-hero .tm-kicker,
.tm-pricing-hero .tm-kicker,
.tm-fleet-hero .tm-kicker,
.tm-vehicle-page .tm-hero-main .tm-kicker,
:is(.tm-pricing-page .tm-hero, .tm-pricing-hero, .tm-fleet-hero) .eyebrow {
  border-color: rgba(255, 255, 255, .2) !important;
  background: rgba(255, 255, 255, .1) !important;
  color: #ffb7ba !important;
}
.tm-hero-main h1 {
  max-width: 760px !important;
  margin-bottom: 24px !important;
  color: #fff !important;
  font-size: clamp(3.2rem, 5.2vw, 5.4rem) !important;
  line-height: .98 !important;
  letter-spacing: -.06em !important;
}
.tm-hero-main > p { max-width: 650px !important; color: #cbd8e7 !important; font-size: 18px !important; line-height: 1.72 !important; }
.tm-hero-points { gap: 12px !important; margin: 31px 0 !important; }
.tm-hero-point {
  padding: 17px !important;
  border: 1px solid rgba(255, 255, 255, .13) !important;
  border-radius: 15px !important;
  background: rgba(255, 255, 255, .075) !important;
  box-shadow: none !important;
}
.tm-hero-point strong { color: #fff !important; }
.tm-hero-point span { color: #b8c9db !important; }
.tm-hero-meta { color: #aebed0 !important; }
.tm-hero-price-amount { color: #fff !important; }
.tm-hero-price-note { color: #b8c9db !important; }
.tm-hero-price-fleet { color: #fff !important; }
.tm-hero-price-fleet:hover { color: #ffb7ba !important; }
.tm-hero-call { color: #b8c9db !important; }
.tm-hero-call:hover { color: #fff !important; }
.tm-screen-card {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .12) !important;
  border-radius: 20px !important;
  background: var(--tm2-deep) !important;
  box-shadow: 0 34px 80px rgba(7, 21, 38, .28) !important;
}
.tm-proof-card {
  padding: 30px !important;
  border: 1px solid var(--tm2-line) !important;
  border-radius: var(--tm2-radius) !important;
  background: #fff !important;
  box-shadow: var(--tm2-shadow-soft) !important;
}
.tm-proof-card h3 { font-size: 27px !important; }
.tm-proof-item { padding: 16px !important; border: 0 !important; border-left: 4px solid var(--tm2-red) !important; border-radius: 8px 14px 14px 8px !important; background: var(--tm2-soft) !important; }
.tm-home .tm-section:not(.tm-hero) {
  margin: 0 0 28px !important;
  padding: 76px 56px !important;
  border: 1px solid var(--tm2-line);
  border-radius: 28px;
  background: #fff;
  box-shadow: var(--tm2-shadow-soft);
}
.tm-home .tm-section:nth-of-type(odd):not(.tm-hero) { background: linear-gradient(135deg, #f8fafc, #edf3f9); }
.tm-home .tm-section-head { max-width: 800px !important; margin-bottom: 38px !important; }
.tm-home .tm-section-head h2 { font-size: clamp(2.3rem, 4vw, 3.7rem) !important; line-height: 1.04 !important; }
.tm-home .tm-section-head p { font-size: 17px !important; }
.tm-home :is(.tm-stat, .tm-benefit, .tm-step, .tm-usecase, .tm-tool, .tm-testimonial, .tm-link-card) {
  position: relative;
  overflow: hidden;
  padding: 28px !important;
  border: 1px solid var(--tm2-line) !important;
  border-radius: 19px !important;
  background: #fff !important;
  box-shadow: 0 10px 27px rgba(7, 21, 38, .065) !important;
}
.tm-home :is(.tm-benefit, .tm-step, .tm-usecase, .tm-tool, .tm-link-card)::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(var(--tm2-red), #ff8185);
}
.tm-home .tm-stat-num,
.tm-home .tm-benefit-num,
.tm-home .tm-step-num,
.tm-home .tm-testimonial-mark { color: var(--tm2-red) !important; }

/* footer.php's .footer_quote_btn hardcodes the old green hex directly (not via the
   --tm-green variable), so the sitewide token remap above can't reach it. */
/* .tm-sticky-call (floating mobile call button on car/van/hgv/asset/insurance/
   stolen-vehicle/vehicle-tracking pages) uses var(--tm-green-dark) directly — on
   these specific pages a second, page-local :root block sits AFTER this stylesheet's
   own <link> in the HTML source and re-asserts the old green value, so the earlier
   site-wide --tm-green-dark remap doesn't reach it. Direct !important is immune to
   that variable-cascade ordering issue. */
.tm-sticky-call a { background: var(--tm2-red-dark) !important; }
/* Same pages' quote-form submit button and stat labels — also unprotected by the
   variable remap for the reason above. */
.tm-button { background: var(--tm2-red-dark) !important; }
.tm-button:hover { background: var(--tm2-red) !important; }
.tm-stat-label { color: var(--tm2-red-dark) !important; }
.footer_quote_btn { background: var(--tm2-red) !important; }
.footer_quote_btn:hover,
.footer_quote_btn:focus { background: var(--tm2-red-dark) !important; }

/* our-products.php's kicker hardcodes its own independent green (not the --tm-green
   tokens), same issue as footer_quote_btn. */
.tm-products-kicker,
.tm-contact-kicker {
  background: #fff1f2 !important;
  border-color: #f1b9bc !important;
  color: var(--tm2-red-dark) !important;
}
/* Sales/support/email icon circles on contact-us.php (not the trust-list checkmarks,
   which stay a conventional green — that's a legitimate semantic "included" use). */
.tm-contact-icon {
  background: #fff1f2 !important;
  color: var(--tm2-red-dark) !important;
}
.tm-home .tm-quote-band,
.tm-home .tm-cta {
  padding: 58px !important;
  border: 0 !important;
  border-radius: 28px !important;
  background:
    linear-gradient(125deg, rgba(7, 21, 38, .98), rgba(16, 52, 91, .95)),
    url('/images/trackmatic-tech-grid.svg') center/700px !important;
  color: #fff !important;
  box-shadow: 0 28px 70px rgba(7, 21, 38, .2) !important;
}
.tm-home :is(.tm-quote-band, .tm-cta) :is(h2, h3) { color: #fff !important; }
.tm-home :is(.tm-quote-band, .tm-cta) p,
.tm-home .tm-quote-copy li { color: #cbd8e7 !important; }
.tm-home .tm-form-card { padding: 31px !important; border: 0 !important; border-radius: 20px !important; background: #fff !important; box-shadow: var(--tm2-shadow) !important; }
.tm-home .tm-clients { margin-top: 64px !important; padding: 82px 0 !important; background: var(--tm2-deep) !important; }
.tm-home .tm-clients h2 { color: #fff !important; font-size: clamp(2rem, 4vw, 3.3rem) !important; }
.tm-home .tm-clients p { color: #b8c8d9 !important; }

/* UK homepage hero: retired the old page-local .tm-eyebrow/.tm-price-line/.tm-hero-img
   rules (2026-09-20) — the UK hero now uses the same shared .tm-hero-main/.tm-kicker/
   .tm-hero-price/.tm-app-mock components as the Irish homepage (see the shared
   components block above), on purpose, per the "one design system" brief. The old
   body > main > .tm-hero h1 rule specifically must not come back: it outranks the
   shared .tm-hero-main h1 rule on specificity and would repaint the H1 dark-on-navy. */
.tm-hero-small a { color: inherit; }
body > main > .tm-badges {
  padding: 31px 0 18px !important;
  border: 0 !important;
  background: var(--tm2-deep) !important;
}
body > main > .tm-badges :is(.tm-badge-item, .tm-badge-label) { color: #d7e1ec !important; }
body > main > .tm-badges .tm-badge-label { color: #fff !important; }
body > main > .tm-section { padding: 94px 0 !important; }
body > main > .tm-alt-section { background: linear-gradient(180deg, #f5f8fc, #edf2f8) !important; }
body > main > .tm-section h2 { margin-bottom: 21px !important; font-size: clamp(2.35rem, 4vw, 3.65rem) !important; line-height: 1.06 !important; }
body > main > .tm-section .tm-subtitle-center { margin-bottom: 48px !important; font-size: 17px !important; }
body > main :is(.tm-feature-box, .tm-install-box, .tm-ecosystem-box, .tm-testimonial, .tm-faq-item) {
  position: relative;
  overflow: hidden;
  height: 100%;
  padding: 31px !important;
  border: 1px solid var(--tm2-line) !important;
  border-radius: 21px !important;
  background: #fff !important;
  box-shadow: var(--tm2-shadow-soft) !important;
}
body > main .tm-feature-box::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: linear-gradient(90deg, var(--tm2-red), #ff8a8d);
}
body > main .tm-inline-cta,
body > main .tm-partner-strip,
body > main .tm-cta-final {
  padding: 48px !important;
  border: 0 !important;
  border-radius: 27px !important;
  background:
    linear-gradient(125deg, rgba(7, 21, 38, .99), rgba(16, 52, 91, .96)),
    url('/images/trackmatic-tech-grid.svg') center/700px !important;
  color: #fff !important;
  box-shadow: 0 26px 65px rgba(7, 21, 38, .18) !important;
}
body > main :is(.tm-inline-cta, .tm-partner-strip, .tm-cta-final) :is(h2, h3, strong) { color: #fff !important; }
body > main :is(.tm-inline-cta, .tm-partner-strip, .tm-cta-final) p { color: #cbd8e7 !important; }
body > main .tm-testimonial { border-left: 6px solid var(--tm2-red) !important; }

/* Pricing, fleet and vehicle landing pages */
:is(.tm-pricing-page, .tm-fleet-page, .tm-vehicle-page) { background: #fff !important; }
.tm-pricing-page .tm-hero,
.tm-pricing-hero,
.tm-fleet-hero,
.tm-vehicle-page .tm-hero-main {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(125deg, rgba(7, 21, 38, .99), rgba(16, 52, 91, .96)),
    url('/images/trackmatic-tech-grid.svg') center/720px !important;
  color: #fff !important;
}
.tm-pricing-page .tm-hero { padding: 78px 0 !important; }
.tm-pricing-hero,
.tm-fleet-hero { padding: 88px 0 !important; }
:is(.tm-pricing-page .tm-hero, .tm-pricing-hero, .tm-fleet-hero, .tm-vehicle-page .tm-hero-main) :is(h1, h2, .lead, .tm-p, p) { color: #fff !important; }
:is(.tm-pricing-page .tm-hero, .tm-pricing-hero, .tm-fleet-hero) :is(.tm-kicker, .eyebrow) { color: #ffb7ba !important; }
.tm-pricing-page .tm-price-panel,
.tm-pricing-hero-card,
.tm-fleet-hero-proof {
  padding: 31px !important;
  border: 1px solid rgba(255, 255, 255, .16) !important;
  border-radius: 22px !important;
  background: #fff !important;
  color: var(--tm2-ink) !important;
  box-shadow: 0 28px 70px rgba(0, 0, 0, .22) !important;
}
:is(.tm-price-panel, .tm-pricing-hero-card, .tm-fleet-hero-proof) :is(h2, h3, p, li, span) { color: inherit !important; }
:is(.tm-pricing-section, .tm-fleet-section, .tm-vehicle-page .tm-section) { padding-block: 88px !important; }
:is(.tm-pricing-section-alt, .tm-fleet-section-alt) { background: var(--tm2-soft) !important; }
:is(.tm-pricing-heading, .tm-fleet-heading, .tm-h2) { font-size: clamp(2.25rem, 4vw, 3.45rem) !important; line-height: 1.08 !important; }
:is(.tm-plan-card, .tm-included-card, .tm-pricing-trust-item, .tm-pricing-option, .tm-fleet-feature, .tm-fleet-use, .tm-fleet-trust-item, .tm-card, .tm-panel, .tm-stat) {
  overflow: hidden;
  border: 1px solid var(--tm2-line) !important;
  border-radius: 20px !important;
  background: #fff !important;
  box-shadow: var(--tm2-shadow-soft) !important;
}
:is(.tm-plan-card, .tm-fleet-feature, .tm-card) { position: relative; padding: 30px !important; }
:is(.tm-plan-card, .tm-fleet-feature, .tm-card)::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: linear-gradient(90deg, var(--tm2-red), #ff8a8d);
}
.tm-plan-card-featured { border-color: var(--tm2-red) !important; transform: translateY(-9px); }
.tm-plan-badge { background: var(--tm2-red) !important; color: #fff !important; }
.tm-plan-price .amount,
.tm-price { color: var(--tm2-red-dark) !important; }
:is(.tm-pricing-final, .tm-fleet-final, .tm-vehicle-page .tm-cta) {
  padding: 54px !important;
  border-radius: 27px !important;
  background: var(--tm2-deep) !important;
  color: #fff !important;
  box-shadow: var(--tm2-shadow) !important;
}
:is(.tm-pricing-final, .tm-fleet-final, .tm-vehicle-page .tm-cta) :is(h2, h3, p) { color: #fff !important; }

/* Forms and FAQ */
:is(.tm-form-card, .tm-quote-panel, .tm-install-panel, .getQuoteFormArea, .con_form) {
  padding: 32px !important;
  border: 1px solid var(--tm2-line) !important;
  border-radius: 22px !important;
  background: #fff !important;
  box-shadow: var(--tm2-shadow) !important;
}
body :is(input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]), select, textarea, .tm-input, .tm-textarea) {
  min-height: 50px !important;
  padding: 12px 14px !important;
  border: 1px solid #c5d1df !important;
  border-radius: 10px !important;
  background: #fff !important;
  color: var(--tm2-ink) !important;
  font: 500 15px/1.4 "DM Sans", sans-serif !important;
  box-shadow: inset 0 1px 2px rgba(7, 21, 38, .025) !important;
}
body textarea { min-height: 130px !important; }
body :is(input, select, textarea):focus {
  border-color: var(--tm2-red) !important;
  outline: 4px solid rgba(228, 63, 69, .12) !important;
  outline-offset: 1px;
  box-shadow: none !important;
}
:is(.tm-faq-item, details) {
  margin-bottom: 13px !important;
  overflow: clip;
  border: 1px solid var(--tm2-line) !important;
  border-radius: 15px !important;
  background: #fff !important;
  box-shadow: 0 8px 22px rgba(7, 21, 38, .055) !important;
}
:is(.tm-faq-q, details > summary) { padding: 18px 20px !important; font-family: Manrope, sans-serif !important; font-weight: 750 !important; }
:is(.tm-faq-a, details > :not(summary)) { padding-inline: 20px !important; }

/* Standalone campaign, guide and legacy SEO pages that do not load shared templates. */
body.tm-standalone {
  min-height: 100vh;
  padding: 0 0 80px;
  background:
    linear-gradient(180deg, var(--tm2-deep) 0 300px, var(--tm2-soft) 300px 100%) !important;
}
body.tm-standalone::before {
  content: "";
  display: block;
  height: 4px;
  background: var(--tm2-red);
}
body.tm-standalone > header {
  width: 100%;
  border-bottom: 1px solid rgba(255,255,255,.12);
  background: var(--tm2-deep) !important;
  color: #fff !important;
}
body.tm-standalone > header .bar,
body.tm-standalone > header > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(100% - 48px, 1220px);
  max-width: 1220px;
  min-height: 76px;
  margin-inline: auto;
}
body.tm-standalone > header :is(a, .brand) { color: #fff !important; font-weight: 750; }
body.tm-standalone > header nav { display: flex; gap: 24px; }
body.tm-standalone > main {
  width: min(100% - 48px, 1050px) !important;
  max-width: 1050px !important;
  margin: 70px auto 0 !important;
  padding: clamp(38px, 6vw, 76px) !important;
  border: 1px solid var(--tm2-line) !important;
  border-radius: var(--tm2-radius-lg) !important;
  background: #fff !important;
  box-shadow: 0 35px 90px rgba(7,21,38,.2) !important;
}
body.tm-standalone > main > :first-child { margin-top: 0 !important; }
body.tm-standalone > main h1 {
  max-width: 850px;
  margin: 0 0 30px !important;
  color: var(--tm2-ink) !important;
  font-size: clamp(2.8rem, 6vw, 5.15rem) !important;
  line-height: 1 !important;
  letter-spacing: -.06em !important;
}
body.tm-standalone > main h1::before {
  content: "";
  display: block;
  width: 58px;
  height: 5px;
  margin-bottom: 18px;
  border-radius: 999px;
  background: var(--tm2-red);
}
body.tm-standalone > main h2 {
  margin: 48px 0 18px !important;
  font-size: clamp(1.8rem, 4vw, 2.65rem) !important;
  line-height: 1.1 !important;
}
body.tm-standalone > main h3 { margin-top: 34px !important; font-size: 1.3rem !important; }
body.tm-standalone > main :is(p, li) { color: var(--tm2-muted) !important; font-size: 17px; }
body.tm-standalone > main a { color: var(--tm2-red-dark) !important; font-weight: 750; }
body.tm-standalone > main .card {
  margin: 32px 0 !important;
  padding: 30px !important;
  border: 1px solid var(--tm2-line) !important;
  border-left: 5px solid var(--tm2-red) !important;
  border-radius: 18px !important;
  background: var(--tm2-soft) !important;
  box-shadow: var(--tm2-shadow-soft) !important;
}

/* Footer */
:is(.tm-footer, .footer_wrapper) {
  position: relative;
  padding-top: 78px !important;
  border-top: 5px solid var(--tm2-red) !important;
  background: var(--tm2-deep) !important;
  color: #bac8d7 !important;
}
:is(.tm-footer, .footer_wrapper) :is(h2, h3, h4, strong) { color: #fff !important; }
:is(.tm-footer, .footer_wrapper) a { color: #dce5ef !important; }
:is(.tm-footer, .footer_wrapper) a:hover { color: #ff9a9e !important; }
:is(.tm-footer-cta, .footer_reason, .footer_contact, .tm-footer-badge) {
  border: 1px solid rgba(255, 255, 255, .1) !important;
  border-radius: 17px !important;
  background: rgba(255, 255, 255, .045) !important;
}
.tm-ai-launcher {
  min-height: 48px !important;
  border: 0 !important;
  border-radius: 12px !important;
  background: linear-gradient(135deg, var(--tm2-navy), var(--tm2-deep)) !important;
  font-family: "DM Sans", sans-serif !important;
  box-shadow: 0 12px 28px rgba(7, 21, 38, .2) !important;
}

@media (hover: hover) {
  :is(.tm-home .tm-benefit, .tm-home .tm-step, .tm-home .tm-usecase, .tm-home .tm-tool, body > main .tm-feature-box, .tm-plan-card, .tm-fleet-feature, .tm-card) {
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
  }
  :is(.tm-home .tm-benefit, .tm-home .tm-step, .tm-home .tm-usecase, .tm-home .tm-tool, body > main .tm-feature-box, .tm-plan-card, .tm-fleet-feature, .tm-card):hover {
    transform: translateY(-5px);
    border-color: #f0b9bc !important;
    box-shadow: var(--tm2-shadow) !important;
  }
}

/* Tablet and mobile */
@media (max-width: 991.98px) {
  body :is(.container, .tm-wrap) { width: min(100% - 32px, 1220px) !important; }
  .tm-ie-header,
  .tm-header { position: relative !important; }
  .tm-main-nav { min-height: 62px !important; }
  .tm-main-nav .dropdown-menu { padding: 0 !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important; }
  .tm-hero { grid-template-columns: 1fr !important; gap: 28px !important; margin: 30px auto 50px !important; }
  .tm-hero-main { padding: 54px 42px !important; }
  .tm-screen-card { transform: none; }
  .tm-app-mock { min-height: 380px !important; }
  .tm-plan-card-featured { transform: none; }
}

@media (max-width: 767.98px) {
  body :is(.container, .tm-wrap) { width: min(100% - 28px, 1220px) !important; padding-inline: 0 !important; }
  body :is(h1, .tm-hero-main h1, body > main > .tm-hero h1, .tm-pricing-hero h1, .tm-fleet-hero h1) {
    font-size: clamp(2.1rem, 9.5vw, 2.85rem) !important;
    line-height: 1.06 !important;
    letter-spacing: -.045em !important;
  }
  body :is(h2, .tm-home .tm-section-head h2, body > main > .tm-section h2, .tm-pricing-heading, .tm-fleet-heading, .tm-h2) {
    font-size: clamp(1.85rem, 8.7vw, 2.55rem) !important;
    line-height: 1.08 !important;
  }
  .tm-hero-main { padding: 38px 25px !important; border-radius: 23px !important; }
  .tm-hero-main > p { font-size: 16px !important; }
  .tm-hero-points { grid-template-columns: 1fr !important; }
  .tm-hero-price { padding: 13px 18px !important; }
  .tm-hero-price-amount { font-size: 27px !important; }
  .tm-hero-break { display: none; }
  .tm-app-mock { min-height: 260px !important; }
  .tm-app-mock-nav { display: none !important; }
  .tm-app-mock-panel { left: 8px !important; bottom: 8px !important; right: 8px !important; padding: 4px !important; }
  .tm-app-mock-row { padding: 6px 8px !important; font-size: 10.5px !important; }
  .tm-feature-grid { grid-template-columns: 1fr !important; border-radius: 21px !important; }
  .tm-feature { padding: 26px 22px !important; }
  .tm-feature-lead strong { font-size: 21px !important; }
  .tm-home .tm-section:not(.tm-hero) { padding: 48px 22px !important; border-radius: 21px !important; }
  .tm-home .tm-quote-band,
  .tm-home .tm-cta,
  body > main .tm-inline-cta,
  body > main .tm-partner-strip,
  body > main .tm-cta-final,
  :is(.tm-pricing-final, .tm-fleet-final, .tm-vehicle-page .tm-cta) { padding: 38px 23px !important; border-radius: 21px !important; }
  :is(.tm-hero-actions, .tm-btnrow, .tm-pricing-actions, .tm-fleet-actions, .tm-cta-actions) { display: grid !important; grid-template-columns: 1fr !important; gap: 10px !important; }
  :is(.tm-hero-actions, .tm-btnrow, .tm-pricing-actions, .tm-fleet-actions, .tm-cta-actions) > * { width: 100% !important; justify-content: center !important; text-align: center !important; }
  body > main > .tm-badges { padding: 23px 0 10px !important; }
  body > main > .tm-section,
  :is(.tm-pricing-section, .tm-fleet-section, .tm-vehicle-page .tm-section) { padding-block: 64px !important; }
  :is(.tm-form-card, .tm-quote-panel, .tm-install-panel, .getQuoteFormArea, .con_form) { padding: 24px 19px !important; border-radius: 18px !important; }
  .tm-ai-panel { max-height: calc(100dvh - 96px) !important; }
  .tm-ai-launcher { right: 12px !important; max-width: calc(100vw - 24px) !important; white-space: nowrap; }
  .tm-mobile-actions { z-index: 900 !important; }
  .tm-footer-whatsapp-float { bottom: calc(76px + env(safe-area-inset-bottom)) !important; }
  body.tm-standalone { padding-bottom: 28px; background: linear-gradient(180deg, var(--tm2-deep) 0 180px, var(--tm2-soft) 180px 100%) !important; }
  body.tm-standalone > header .bar,
  body.tm-standalone > header > div { width: min(100% - 28px, 1220px); min-height: 66px; }
  body.tm-standalone > header nav { display: none; }
  body.tm-standalone > main { width: min(100% - 24px, 1050px) !important; margin-top: 28px !important; padding: 34px 22px !important; border-radius: 21px !important; }
  body.tm-standalone > main h1 { font-size: clamp(2.25rem, 11vw, 3.25rem) !important; }
  body.tm-standalone > main :is(p, li) { font-size: 16px; }
}

@media (max-width: 380px) {
  body :is(.container, .tm-wrap) { width: min(100% - 22px, 1220px) !important; }
  .tm-home .tm-section:not(.tm-hero) { padding-inline: 18px !important; }
  .tm-home :is(.tm-stat, .tm-benefit, .tm-step, .tm-usecase, .tm-tool, .tm-testimonial, .tm-link-card) { padding: 23px 20px !important; }
  .tm-ai-launcher { padding-inline: 13px !important; font-size: 13px !important; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
