/* ==========================================================================
   Trackmatic Driver Tools - shared component styles (IE + UK), 2026-09-26.
   Built on the site's own "tm2" design tokens (trackmatic-redesign-v2.css):
   navy + red, Manrope headings, DM Sans body. Everything is namespaced
   .tmdt-* and self-contained, because the two sites sit on different legacy
   base stylesheets (newstyle.css on IE, bootstrap + trackmatic-styles.css on UK).
   Presentation only: no routes, forms or handlers live in this file.
   ========================================================================== */

:root {
  --tmdt-ink: var(--tm2-ink, #0b1d33);
  --tmdt-deep: var(--tm2-deep, #071526);
  --tmdt-navy: var(--tm2-navy, #102a4b);
  --tmdt-blue: var(--tm2-blue, #1769d2);
  --tmdt-red: var(--tm2-red, #e43f45);
  --tmdt-red-d: var(--tm2-red-dark, #be2832);
  --tmdt-muted: var(--tm2-muted, #5f6f82);
  --tmdt-soft: var(--tm2-soft, #f3f6fa);
  --tmdt-soft-blue: var(--tm2-soft-blue, #eaf2fb);
  --tmdt-line: var(--tm2-line, #dbe3ed);
  --tmdt-ok: #12844a;
  --tmdt-shadow: var(--tm2-shadow, 0 22px 65px rgba(7, 21, 38, .12));
  --tmdt-shadow-s: var(--tm2-shadow-soft, 0 12px 35px rgba(7, 21, 38, .075));
}

/* ---------- Scoped reset (the legacy sheets style bare p / ul / li / a / h1-h4) ----------
   :where() keeps the reset at the lowest specificity, so every .tmdt-* component rule below wins over it,
   while it still beats the legacy element selectors (ul li, h1, h2, p ...). */
.tmdt, .tmdt *, .tmdt *::before, .tmdt *::after { box-sizing: border-box; }
.tmdt {
  font-family: "DM Sans", Inter, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--tmdt-ink);
  text-align: left;
  text-transform: none;
  letter-spacing: 0;
}
.tmdt :where(p, ul, ol, li, dl, dt, dd, h1, h2, h3, h4, figure, blockquote, table, caption, form) { margin: 0; padding: 0; text-transform: none; }
.tmdt :where(ul, ol) { list-style: none; }
.tmdt :where(p, li, dd, dt, td, th, strong, b, span) { font-size: inherit; line-height: inherit; }
.tmdt :where(p, li, dd, dt, td, th) { color: inherit; }
.tmdt :where(h1, h2, h3, h4) {
  font-family: Manrope, "DM Sans", Inter, Arial, sans-serif !important;
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -.035em;
  color: var(--tmdt-ink);
  text-wrap: balance;
}
.tmdt :where(a) { text-decoration: none; }
.tmdt :where(img, svg) { max-width: 100%; }
.tmdt :where(svg) { display: block; flex: 0 0 auto; }
.tmdt [id] { scroll-margin-top: 112px; }
.tmdt-wrap { width: min(100% - 48px, 1220px); margin-inline: auto; }

/* ---------- Buttons ---------- */
.tmdt-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 52px; padding: 0 26px;
  border: 1px solid transparent; border-radius: 11px;
  font: 800 15px/1.2 "DM Sans", Inter, Arial, sans-serif; letter-spacing: -.015em;
  text-align: center; text-decoration: none !important; cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease;
}
.tmdt-btn--primary { border-color: var(--tmdt-red); background: linear-gradient(135deg, var(--tmdt-red), var(--tmdt-red-d)); color: #fff !important; box-shadow: 0 12px 28px rgba(228, 63, 69, .24); }
.tmdt-btn--ghost { border-color: #bdc9d8; background: #fff; color: var(--tmdt-ink) !important; box-shadow: 0 7px 18px rgba(7, 21, 38, .06); }
.tmdt-btn--onDark { border-color: rgba(255, 255, 255, .38); background: rgba(255, 255, 255, .08); color: #fff !important; box-shadow: none; }
.tmdt-btn--sm { min-height: 44px; padding: 0 20px; font-size: 14px; }
@media (hover: hover) {
  .tmdt-btn:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(7, 21, 38, .16); }
  .tmdt-btn--onDark:hover { background: rgba(255, 255, 255, .16); }
}
.tmdt-btn:focus-visible, .tmdt a:focus-visible { outline: 3px solid rgba(23, 105, 210, .5); outline-offset: 2px; }
.tmdt-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Eyebrow, NEW chip, offer ---------- */
.tmdt-eyebrow {
  display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px;
  border: 1px solid #f1b9bc; border-radius: 999px; background: #fff1f2; color: var(--tmdt-red-d);
  font: 800 12px/1 "DM Sans", Inter, Arial, sans-serif; letter-spacing: .09em; text-transform: uppercase;
}
.tmdt-eyebrow--dark { border-color: rgba(255, 255, 255, .22); background: rgba(255, 255, 255, .1); color: #ffd3d5; }
.tmdt-new {
  display: inline-block; padding: 5px 9px; border-radius: 999px;
  background: linear-gradient(135deg, var(--tmdt-red), var(--tmdt-red-d)); color: #fff;
  font: 800 10.5px/1 "DM Sans", Inter, Arial, sans-serif; letter-spacing: .09em; text-transform: uppercase;
}
.tmdt-offer {
  display: flex; align-items: center; gap: 16px; max-width: 580px;
  padding: 16px 20px; border: 1px solid #f1b9bc; border-left: 5px solid var(--tmdt-red);
  border-radius: 6px 16px 16px 6px; background: #fff; box-shadow: var(--tmdt-shadow-s);
}
.tmdt-offer-tag {
  flex: 0 0 auto; padding: 10px 14px; border-radius: 10px;
  background: linear-gradient(135deg, var(--tmdt-red), var(--tmdt-red-d)); color: #fff;
  font: 800 1.02rem/1.1 Manrope, "DM Sans", Arial, sans-serif; letter-spacing: -.02em; text-transform: uppercase; white-space: nowrap;
}
.tmdt-offer p { font-size: .98rem; line-height: 1.5; font-weight: 600; color: var(--tmdt-ink); }
.tmdt-offer--dark { border-color: rgba(255, 255, 255, .18); border-left-color: var(--tmdt-red); background: rgba(255, 255, 255, .08); box-shadow: none; }
.tmdt-offer--dark p { color: #eaf1f9; }
.tmdt-fine { font-size: .84rem; line-height: 1.55; color: var(--tmdt-muted); max-width: 62ch; }
.tmdt-fine--dark { color: #aebed0; }
.tmdt-lede { font-size: clamp(1rem, 1.5vw, 1.14rem); line-height: 1.75; color: var(--tmdt-muted); max-width: 58ch; }

/* ---------- Homepage band ---------- */
.tmdt-home {
  position: relative; margin: 0 0 28px; padding: clamp(26px, 5vw, 66px);
  border: 1px solid var(--tmdt-line); border-radius: 28px; overflow: hidden;
  background: linear-gradient(135deg, #fff 0%, #eef4fb 100%); box-shadow: var(--tmdt-shadow-s);
}
.tmdt-home::before { content: ""; position: absolute; inset: 0 0 auto; height: 5px; background: linear-gradient(90deg, var(--tmdt-red), #ff8a8d); }
.tmdt-home-grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.tmdt-home h2 { margin: 18px 0 18px; font-size: clamp(2.1rem, 4.1vw, 3.65rem); line-height: 1.02; letter-spacing: -.05em; }
.tmdt-home h2 span { display: block; color: var(--tmdt-red-d); }
.tmdt-home .tmdt-offer { margin: 26px 0; }
.tmdt-home .tmdt-fine { margin-top: 16px; }
.tmdt-home-visual { display: flex; justify-content: center; }

.tmdt-tools { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: clamp(28px, 4vw, 52px); }
.tmdt-tool {
  position: relative; display: flex; flex-direction: column; padding: 28px 26px 24px;
  border: 1px solid var(--tmdt-line); border-radius: 20px; background: #fff; overflow: hidden;
  box-shadow: 0 10px 27px rgba(7, 21, 38, .065);
}
.tmdt-tool::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 4px; background: linear-gradient(var(--tmdt-red), #ff8185); }
.tmdt-tool-icon { display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 16px; border-radius: 13px; background: #fff1f2; color: var(--tmdt-red-d); }
.tmdt-tool-icon svg { width: 24px; height: 24px; }
.tmdt-tool-label { margin-bottom: 8px; font: 800 12px/1.2 "DM Sans", Inter, Arial, sans-serif; letter-spacing: .1em; text-transform: uppercase; color: var(--tmdt-muted); }
.tmdt-tool h3 { margin-bottom: 10px; font-size: 1.4rem; }
.tmdt-tool p { font-size: .98rem; line-height: 1.7; color: var(--tmdt-muted); }
.tmdt-tool .tmdt-tool-short { display: none; }
.tmdt-more { margin-top: auto; padding-top: 18px; font-size: .92rem; font-weight: 800; color: var(--tmdt-red-d) !important; }
.tmdt-more:hover { text-decoration: underline !important; }
.tmdt-points { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 28px; font-size: .95rem; font-weight: 700; }
.tmdt-points li { display: inline-flex; align-items: center; gap: 9px; }
.tmdt-points svg { width: 18px; height: 18px; color: var(--tmdt-ok); }

/* ---------- Phone illustration (HTML/CSS, no images beyond the shared map svg) ---------- */
.tmdt-phone { position: relative; width: min(100%, 300px); margin-inline: auto; }
.tmdt-phone-shell { padding: 11px; border-radius: 40px; background: linear-gradient(160deg, #1a3757, #071526); box-shadow: 0 32px 70px rgba(7, 21, 38, .36), inset 0 0 0 1px rgba(255, 255, 255, .09); }
.tmdt-phone-screen { display: flex; flex-direction: column; gap: 12px; min-height: 508px; padding: 14px 15px 16px; overflow: hidden; border-radius: 30px; background: #0f2743; color: #fff; }
.tmdt-phone-status { display: flex; justify-content: space-between; padding: 0 6px; font: 700 11px/1 "DM Sans", Arial, sans-serif; color: rgba(255, 255, 255, .62); }
.tmdt-app-head { display: flex; align-items: center; gap: 10px; font: 800 14px/1 Manrope, "DM Sans", Arial, sans-serif; letter-spacing: -.01em; color: #fff; }
.tmdt-app-logo { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; background: linear-gradient(135deg, var(--tmdt-red), var(--tmdt-red-d)); font: 800 13px/1 Manrope, Arial, sans-serif; color: #fff; }
.tmdt-live { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; padding: 7px 12px; border-radius: 999px; background: rgba(228, 63, 69, .16); color: #ffb7ba; font: 800 12px/1 "DM Sans", Arial, sans-serif; letter-spacing: .03em; }
.tmdt-pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--tmdt-red); box-shadow: 0 0 0 3px rgba(228, 63, 69, .28); animation: tmdt-pulse 1.8s ease-in-out infinite; }
@keyframes tmdt-pulse { 0%, 100% { box-shadow: 0 0 0 3px rgba(228, 63, 69, .28); } 50% { box-shadow: 0 0 0 7px rgba(228, 63, 69, 0); } }
.tmdt-app-rows { display: grid; gap: 1px; overflow: hidden; border-radius: 14px; background: rgba(255, 255, 255, .08); }
.tmdt-app-rows > div { display: flex; justify-content: space-between; gap: 10px; padding: 10px 13px; background: rgba(15, 39, 67, .96); font-size: 12.5px; line-height: 1.3; }
.tmdt-app-rows dt { font-weight: 700; letter-spacing: .04em; text-transform: uppercase; font-size: 10.5px; color: rgba(255, 255, 255, .5); align-self: center; }
.tmdt-app-rows dd { font-weight: 700; color: #fff; text-align: right; }
.tmdt-app-map { position: relative; flex: 1 1 auto; min-height: 120px; overflow: hidden; border-radius: 14px; background: #0b2038; }
.tmdt-app-map img { display: block; width: 100%; height: 100%; min-height: 120px; object-fit: cover; }
.tmdt-app-end { padding: 13px; border: 1px solid rgba(255, 183, 186, .5); border-radius: 12px; text-align: center; font: 800 13px/1 "DM Sans", Arial, sans-serif; letter-spacing: .08em; text-transform: uppercase; color: #ffb7ba; }
.tmdt-app-cta { padding: 14px; border-radius: 12px; text-align: center; background: linear-gradient(135deg, var(--tmdt-red), var(--tmdt-red-d)); font: 800 13px/1 "DM Sans", Arial, sans-serif; letter-spacing: .08em; text-transform: uppercase; color: #fff; }
.tmdt-chip {
  position: absolute; display: flex; align-items: center; gap: 10px; padding: 10px 14px 10px 10px;
  border: 1px solid var(--tmdt-line); border-radius: 15px; background: #fff; box-shadow: 0 18px 40px rgba(7, 21, 38, .2);
  font-size: 12.5px; line-height: 1.3; color: var(--tmdt-ink); white-space: nowrap;
}
.tmdt-chip b { display: block; font-size: 13px; font-weight: 800; }
.tmdt-chip small { display: block; font-size: 11.5px; color: var(--tmdt-muted); }
.tmdt-chip-icon { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: #fff1f2; color: var(--tmdt-red-d); }
.tmdt-chip-icon svg { width: 19px; height: 19px; }
.tmdt-chip-icon--ok { background: #e7f6ee; color: var(--tmdt-ok); }
.tmdt-chip--id { left: -62px; bottom: 84px; }
.tmdt-chip--check { right: -44px; top: -16px; }
.tmdt-mini { display: none; align-items: center; flex-wrap: wrap; gap: 8px 14px; margin-top: 22px; padding: 14px 16px; border-radius: 16px; background: var(--tmdt-deep); color: #fff; font-size: .86rem; font-weight: 700; }
.tmdt-mini .tmdt-live { padding: 0; background: none; }
.tmdt-mini span { display: inline-flex; align-items: center; gap: 7px; }

/* ---------- Hero teaser (sits under the lead paragraph inside the existing dark hero cards) ---------- */
.tmdt-hero-pill {
  display: flex; align-items: center; gap: 14px; max-width: 470px; margin: 0 0 24px; padding: 13px 18px 13px 14px;
  border: 1px solid rgba(255, 255, 255, .22); border-radius: 16px; background: rgba(255, 255, 255, .09);
  color: #fff !important; text-decoration: none !important;
  transition: background-color .18s ease, transform .18s ease;
}
.tmdt-hero-pill .tmdt-new { flex: 0 0 auto; }
.tmdt-hero-pill-text { display: block; min-width: 0; font: 700 14px/1.35 "DM Sans", Inter, Arial, sans-serif; color: #fff; }
.tmdt-hero-pill-text b { display: block; font-weight: 800; color: #fff; }
.tmdt-hero-pill-text small { display: block; margin-top: 2px; font-size: 12.5px; font-weight: 500; color: #c3d2e4; }
.tmdt-hero-pill i { flex: 0 0 auto; margin-left: auto; font-style: normal; font-weight: 800; color: #ffb7ba; }
.tmdt-hero-pill:hover, .tmdt-hero-pill:focus { background: rgba(255, 255, 255, .16); color: #fff !important; }

/* UK homepage: the band sits in its own full-width section between the trust bar and the first section */
.tmdt-uk-band { padding: clamp(40px, 6vw, 76px) 0 clamp(6px, 1.5vw, 18px); background: #fff; }
.tmdt-uk-band .tmdt-home { margin-bottom: 0; }

/* ---------- Header hooks: nav chip + topbar link ---------- */
.tmdt-nav-new {
  display: inline-block; margin-left: 6px; padding: 3px 7px; border-radius: 999px; vertical-align: 2px;
  background: linear-gradient(135deg, var(--tmdt-red), var(--tmdt-red-d)); color: #fff !important;
  font: 800 9.5px/1.2 "DM Sans", Inter, Arial, sans-serif; letter-spacing: .08em; text-transform: uppercase;
}
.tmdt-topbar-link { font-weight: 800 !important; }
.tmdt-topbar-link .tmdt-nav-new { margin: 0 6px 0 0; }
.tmdt-topbar-uk { display: inline-flex; align-items: center; gap: 4px; color: #fff !important; font-size: 12.5px; font-weight: 800; text-decoration: none !important; }
.tmdt-topbar-uk:hover, .tmdt-topbar-uk:focus { text-decoration: underline !important; }

/* ---------- Compact strip used on secondary pages ---------- */
.tmdt-strip-wrap { padding: 8px 0 30px; }
.tmdt-wrap--pad20 { padding-inline: 20px; }
.tmdt-wrap--pad15 { padding-inline: 15px; }
.tmdt-strip {
  position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 22px 26px; align-items: center;
  padding: 24px 28px; overflow: hidden; border: 1px solid var(--tmdt-line); border-radius: 22px;
  background: linear-gradient(135deg, #fff, #eef4fb); box-shadow: var(--tmdt-shadow-s);
}
.tmdt-strip::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 5px; background: linear-gradient(var(--tmdt-red), #ff8185); }
.tmdt-strip-icon { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 16px; background: linear-gradient(135deg, var(--tmdt-deep), var(--tmdt-navy)); color: #fff; }
.tmdt-strip-icon svg { width: 27px; height: 27px; }
.tmdt-strip-tag { display: inline-block; margin-bottom: 6px; padding: 4px 10px; border-radius: 999px; background: linear-gradient(135deg, var(--tmdt-red), var(--tmdt-red-d)); color: #fff; font: 800 11px/1.2 "DM Sans", Arial, sans-serif; letter-spacing: .07em; text-transform: uppercase; }
.tmdt-strip .tmdt-strip-title { margin: 0 0 6px; font: 800 clamp(1.15rem, 2vw, 1.5rem)/1.18 Manrope, "DM Sans", Arial, sans-serif; letter-spacing: -.03em; color: var(--tmdt-ink); }
.tmdt-strip p { font-size: .96rem; line-height: 1.6; color: var(--tmdt-muted); max-width: 70ch; }
.tmdt-strip-actions { display: flex; flex-direction: column; align-items: stretch; gap: 8px; min-width: 240px; }
.tmdt-strip-actions .tmdt-more { padding-top: 0; text-align: center; margin-top: 0; }

/* ==========================================================================
   Trackmatic Driver page
   ========================================================================== */
.tmdt-page { background: #fff; }
.tmdt-band { padding: clamp(56px, 8vw, 96px) 0; }
.tmdt-band--alt { background: linear-gradient(180deg, #f5f8fc, #edf2f8); }
.tmdt-band--tight { padding: clamp(40px, 6vw, 68px) 0; }
.tmdt-crumbs { margin: 0 0 22px; font-size: .86rem; color: #aebed0; }
.tmdt-crumbs a { color: #d8e3f0 !important; }
.tmdt-crumbs a:hover { text-decoration: underline !important; }
.tmdt-crumbs span { margin: 0 7px; opacity: .6; }

.tmdt-hero {
  position: relative; overflow: hidden; color: #fff;
  background: linear-gradient(125deg, rgba(7, 21, 38, .99), rgba(16, 52, 91, .96)), url('/images/trackmatic-tech-grid.svg') center / 700px;
}
.tmdt-hero-grid { display: grid; grid-template-columns: minmax(0, 1.18fr) minmax(0, .82fr); gap: clamp(30px, 5vw, 70px); align-items: center; padding: clamp(46px, 7vw, 92px) 0; }
.tmdt-hero h1 { margin: 20px 0 18px; font-size: clamp(2.25rem, 4.6vw, 4.1rem); line-height: 1.02; letter-spacing: -.055em; color: #fff; }
.tmdt-hero .tmdt-tagline { margin: 0 0 18px; font: 800 clamp(1.15rem, 2vw, 1.5rem)/1.25 Manrope, "DM Sans", Arial, sans-serif; letter-spacing: -.03em; color: #ffb7ba; }
.tmdt-hero .tmdt-lede { color: #cbd8e7; }
.tmdt-hero .tmdt-offer { margin: 26px 0; }
.tmdt-hero-visual { display: flex; justify-content: center; }
.tmdt-hero-facts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.tmdt-hero-facts li { padding: 8px 14px; border: 1px solid rgba(255, 255, 255, .18); border-radius: 999px; background: rgba(255, 255, 255, .07); font-size: .9rem; font-weight: 700; color: #e6eef8; }

.tmdt-h2 { margin: 0 0 16px; font-size: clamp(1.9rem, 3.5vw, 3.05rem); line-height: 1.06; letter-spacing: -.045em; }
.tmdt-kicker { margin: 0 0 12px; font: 800 12px/1.2 "DM Sans", Inter, Arial, sans-serif; letter-spacing: .12em; text-transform: uppercase; color: var(--tmdt-red-d); }
.tmdt-head { max-width: 780px; margin: 0 0 clamp(28px, 4vw, 46px); }
.tmdt-head .tmdt-lede { margin-top: 6px; }

.tmdt-overview { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }

.tmdt-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(30px, 5vw, 72px); align-items: center; }
.tmdt-split--flip > :first-child { order: 2; }
.tmdt-split p + p { margin-top: 14px; }
.tmdt-split .tmdt-lede { max-width: 54ch; }
.tmdt-list { display: grid; gap: 12px; margin: 22px 0 0; }
.tmdt-list li { position: relative; padding-left: 32px; font-size: 1rem; line-height: 1.6; }
.tmdt-list li::before { content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%; background: #e7f6ee url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2312844a' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 12px no-repeat; }
.tmdt-list--dark li { color: #dbe6f3; }
.tmdt-callout {
  display: flex; gap: 14px; align-items: flex-start; margin-top: 26px; padding: 18px 20px;
  border: 1px solid #cfe0f3; border-left: 5px solid var(--tmdt-blue); border-radius: 6px 14px 14px 6px; background: var(--tmdt-soft-blue);
  font-size: .96rem; line-height: 1.65; color: #23415f;
}
.tmdt-callout svg { width: 22px; height: 22px; margin-top: 2px; color: var(--tmdt-blue); }
.tmdt-callout b { color: var(--tmdt-ink); }

/* UI cards (illustrative product views, drawn in HTML/CSS) */
.tmdt-ui { border: 1px solid var(--tmdt-line); border-radius: 22px; background: #fff; box-shadow: var(--tmdt-shadow); overflow: hidden; }
.tmdt-ui-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--tmdt-line); background: var(--tmdt-soft); }
.tmdt-ui-head b { display: block; font: 800 1rem/1.2 Manrope, "DM Sans", Arial, sans-serif; letter-spacing: -.02em; }
.tmdt-ui-head small { display: block; font-size: .82rem; color: var(--tmdt-muted); }
.tmdt-tag { display: inline-block; padding: 5px 10px; border-radius: 999px; font: 800 11.5px/1 "DM Sans", Arial, sans-serif; letter-spacing: .03em; white-space: nowrap; }
.tmdt-tag--ok { background: #e7f6ee; color: var(--tmdt-ok); }
.tmdt-tag--bad { background: #fde8e9; color: var(--tmdt-red-d); }
.tmdt-tag--info { background: var(--tmdt-soft-blue); color: #1b4f8f; }
.tmdt-ui-body { padding: 20px; }
.tmdt-caption { margin-top: 12px; font-size: .8rem; color: var(--tmdt-muted); text-align: center; }
.tmdt-timeline { position: relative; margin: 8px 0 22px; padding-top: 30px; }
.tmdt-timeline-bar { position: relative; height: 8px; border-radius: 999px; background: linear-gradient(90deg, var(--tmdt-red), #ff8a8d); }
.tmdt-timeline-bar::before, .tmdt-timeline-bar::after { content: ""; position: absolute; top: 50%; width: 16px; height: 16px; margin-top: -8px; border: 3px solid #fff; border-radius: 50%; background: var(--tmdt-red-d); box-shadow: 0 2px 8px rgba(7, 21, 38, .3); }
.tmdt-timeline-bar::before { left: -2px; }
.tmdt-timeline-bar::after { right: -2px; }
.tmdt-timeline-times { display: flex; justify-content: space-between; margin-top: 12px; font-size: .84rem; font-weight: 700; color: var(--tmdt-muted); }
.tmdt-timeline-flag { position: absolute; left: 0; top: 0; font-size: .82rem; font-weight: 800; color: var(--tmdt-ink); }
.tmdt-timeline-flag--end { left: auto; right: 0; }
.tmdt-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.tmdt-stat { padding: 14px 10px; border-radius: 14px; background: var(--tmdt-soft); text-align: center; }
.tmdt-stat b { display: block; font: 800 1.35rem/1.1 Manrope, "DM Sans", Arial, sans-serif; letter-spacing: -.03em; }
.tmdt-stat span { display: block; margin-top: 4px; font-size: .78rem; font-weight: 700; color: var(--tmdt-muted); }
.tmdt-report { display: grid; gap: 8px; }
.tmdt-report-row { display: grid; grid-template-columns: 1.25fr 1fr 1.2fr; gap: 10px; align-items: center; padding: 11px 14px; border: 1px solid var(--tmdt-line); border-radius: 12px; font-size: .88rem; }
.tmdt-report-row b { font-weight: 800; }
.tmdt-report-row span { color: var(--tmdt-muted); }
.tmdt-report-row--head { padding: 0 14px; border: 0; font-size: .74rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--tmdt-muted); }
.tmdt-ui--gap { margin-top: 18px; }

/* Comparison (RFID vs phone) */
.tmdt-compare { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.tmdt-compare-col { padding: 24px 22px; border: 1px solid var(--tmdt-line); border-radius: 20px; background: #fff; box-shadow: var(--tmdt-shadow-s); }
.tmdt-compare-col--us { border-color: #f1b9bc; background: linear-gradient(180deg, #fff, #fff6f6); box-shadow: 0 18px 44px rgba(228, 63, 69, .12); }
.tmdt-compare-col h3 { margin-bottom: 14px; font-size: 1.08rem; letter-spacing: -.02em; }
.tmdt-compare-col ul { display: grid; gap: 11px; }
.tmdt-compare-col li { position: relative; padding-left: 26px; font-size: .94rem; line-height: 1.5; color: var(--tmdt-muted); }
.tmdt-compare-col li::before { content: ""; position: absolute; left: 0; top: 6px; width: 12px; height: 12px; border-radius: 4px; background: #c5d1df; }
.tmdt-compare-col--us li { color: var(--tmdt-ink); font-weight: 600; }
.tmdt-compare-col--us li::before { background: linear-gradient(135deg, var(--tmdt-red), var(--tmdt-red-d)); }

/* Phone: vehicle check screen */
.tmdt-check-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 9px 12px; border-radius: 11px; background: rgba(255, 255, 255, .07); font-size: 12.5px; font-weight: 700; }
.tmdt-check-row i { font-style: normal; padding: 4px 9px; border-radius: 999px; font-size: 10.5px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.tmdt-check-row i.ok { background: rgba(60, 200, 130, .2); color: #8be0b5; }
.tmdt-check-row i.bad { background: rgba(228, 63, 69, .25); color: #ffb7ba; }
.tmdt-check-mile { display: flex; justify-content: space-between; padding: 10px 12px; border-radius: 11px; border: 1px solid rgba(255, 255, 255, .16); font-size: 12.5px; font-weight: 700; }
.tmdt-check-mile span { color: rgba(255, 255, 255, .6); font-weight: 600; }
.tmdt-check-photo { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 11px; border: 1px dashed rgba(255, 255, 255, .28); font-size: 12px; color: #d3deec; }
.tmdt-check-photo svg { width: 30px; height: 30px; padding: 6px; border-radius: 8px; background: rgba(255, 255, 255, .1); }

/* Portal illustration (fleet-manager view) */
.tmdt-portal { border: 1px solid rgba(255, 255, 255, .1); border-radius: 20px; background: #0f2743; color: #dce6f2; box-shadow: 0 30px 70px rgba(7, 21, 38, .35); overflow: hidden; }
.tmdt-portal-bar { display: flex; align-items: center; gap: 6px; padding: 12px 16px; background: rgba(255, 255, 255, .04); border-bottom: 1px solid rgba(255, 255, 255, .08); font-size: 12px; font-weight: 700; color: rgba(255, 255, 255, .55); }
.tmdt-portal-bar i { width: 8px; height: 8px; border-radius: 50%; background: rgba(255, 255, 255, .22); }
.tmdt-portal-bar span { margin-left: 8px; }
.tmdt-portal-body { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; padding: 18px; }
.tmdt-portal h4 { margin: 0 0 8px; font: 800 12px/1.2 "DM Sans", Arial, sans-serif !important; letter-spacing: .1em; text-transform: uppercase; color: #ffb7ba; }
.tmdt-table { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.tmdt-table th { padding: 8px 10px; text-align: left; font-size: 10.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: rgba(255, 255, 255, .45); border-bottom: 1px solid rgba(255, 255, 255, .1); }
.tmdt-table td { padding: 10px; border-bottom: 1px solid rgba(255, 255, 255, .06); color: #eaf1f9; white-space: nowrap; }
.tmdt-table td:first-child { font-weight: 700; }
.tmdt-table .tmdt-tag { font-size: 10.5px; padding: 4px 8px; }
.tmdt-portal .tmdt-tag--ok { background: rgba(60, 200, 130, .18); color: #8be0b5; }
.tmdt-portal .tmdt-tag--bad { background: rgba(228, 63, 69, .24); color: #ffb7ba; }
.tmdt-portal .tmdt-tag--info { background: rgba(23, 105, 210, .28); color: #bcd8fb; }
.tmdt-scroll { overflow-x: auto; }

/* How it works: six steps */
.tmdt-steps { text-decoration: none; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; counter-reset: tmdt; }
.tmdt-step { text-decoration: none; position: relative; padding: 24px 18px 22px; border: 1px solid var(--tmdt-line); border-radius: 18px; background: #fff; box-shadow: 0 10px 27px rgba(7, 21, 38, .06); counter-increment: tmdt; }
.tmdt-step::before { content: counter(tmdt); display: grid; place-items: center; width: 34px; height: 34px; margin-bottom: 14px; border-radius: 50%; background: linear-gradient(135deg, var(--tmdt-red), var(--tmdt-red-d)); color: #fff; font: 800 15px/1 Manrope, Arial, sans-serif; }
.tmdt-step h3 { margin-bottom: 8px; font-size: 1.02rem; line-height: 1.2; letter-spacing: -.02em; }
.tmdt-step p { font-size: .88rem; line-height: 1.55; color: var(--tmdt-muted); }
.tmdt-step em { display: inline-block; margin-top: 8px; padding: 3px 9px; border-radius: 999px; background: var(--tmdt-soft-blue); color: #1b4f8f; font: 800 11px/1.3 "DM Sans", Arial, sans-serif; font-style: normal; letter-spacing: .03em; }

/* Use one or all */
.tmdt-combos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.tmdt-combo { padding: 26px 24px; border: 1px solid var(--tmdt-line); border-radius: 20px; background: #fff; box-shadow: var(--tmdt-shadow-s); }
.tmdt-combo--all { border-color: var(--tmdt-red); box-shadow: 0 18px 44px rgba(228, 63, 69, .14); }
.tmdt-combo h3 { margin: 12px 0 8px; font-size: 1.2rem; }
.tmdt-combo p { font-size: .95rem; line-height: 1.65; color: var(--tmdt-muted); }
.tmdt-combo .tmdt-tag { background: var(--tmdt-soft-blue); color: #1b4f8f; }
.tmdt-combo--all .tmdt-tag { background: #fff1f2; color: var(--tmdt-red-d); }

/* Offer band */
.tmdt-offerband { position: relative; overflow: hidden; color: #fff; background: linear-gradient(125deg, rgba(7, 21, 38, .99), rgba(16, 52, 91, .96)), url('/images/trackmatic-tech-grid.svg') center / 700px; }
.tmdt-offerband-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(28px, 5vw, 64px); align-items: center; padding: clamp(46px, 7vw, 84px) 0; }
.tmdt-offerband h2 { margin: 16px 0 14px; font-size: clamp(2.1rem, 4.2vw, 3.6rem); line-height: 1.02; letter-spacing: -.05em; color: #fff; }
.tmdt-offerband .tmdt-lede { color: #cbd8e7; }
.tmdt-bigfree { padding: 30px 28px; border: 1px solid rgba(255, 255, 255, .16); border-radius: 24px; background: rgba(255, 255, 255, .07); text-align: center; }
.tmdt-bigfree b { display: block; font: 800 clamp(3.4rem, 8vw, 5.6rem)/.95 Manrope, Arial, sans-serif; letter-spacing: -.06em; color: #fff; }
.tmdt-bigfree span { display: block; margin-top: 6px; font: 800 1.25rem/1.2 Manrope, Arial, sans-serif; letter-spacing: -.02em; color: #ffb7ba; text-transform: uppercase; }
.tmdt-bigfree p { margin-top: 14px; font-size: .92rem; line-height: 1.55; color: #c2d0e1; }

/* Suits */
.tmdt-suits { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px; }
.tmdt-suit { padding: 22px 20px; border: 1px solid var(--tmdt-line); border-radius: 18px; background: #fff; box-shadow: 0 8px 22px rgba(7, 21, 38, .055); font-size: .96rem; line-height: 1.55; }
.tmdt-suit b { display: block; margin-bottom: 6px; font: 800 1.05rem/1.25 Manrope, Arial, sans-serif; letter-spacing: -.02em; }
.tmdt-suit span { color: var(--tmdt-muted); }

/* FAQ (details/summary are already card-styled site-wide by the v2 sheet) */
.tmdt-faqgrid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(28px, 4vw, 56px); align-items: start; }
.tmdt-faq { max-width: 900px; }
.tmdt-ask { position: sticky; top: 118px; padding: 28px 26px; border: 1px solid var(--tmdt-line); border-radius: 20px; background: #fff; box-shadow: var(--tmdt-shadow-s); }
.tmdt-ask::before { content: ""; position: absolute; inset: 0 0 auto; height: 5px; border-radius: 20px 20px 0 0; background: linear-gradient(90deg, var(--tmdt-red), #ff8a8d); }
.tmdt-ask h3 { margin: 6px 0 10px; font-size: 1.35rem; }
.tmdt-ask p { font-size: .95rem; line-height: 1.65; color: var(--tmdt-muted); }
.tmdt-ask .tmdt-actions { margin-top: 18px; }
.tmdt-ask .tmdt-btn { width: 100%; }
.tmdt-faq details p { padding: 0 20px 18px; font-size: .98rem; line-height: 1.7; color: var(--tmdt-muted); }
.tmdt-faq summary { cursor: pointer; }

/* Enquiry form (markup, names and handler are unchanged from the live form) */
.tmdt-formband { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.tmdt-form { padding: clamp(22px, 3vw, 34px); border: 1px solid var(--tmdt-line); border-radius: 22px; background: #fff; box-shadow: var(--tmdt-shadow); }
.tmdt-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.tmdt-field { margin: 0 0 15px; }
.tmdt-field label { display: block; margin: 0 0 6px; font-size: .88rem; font-weight: 800; color: var(--tmdt-ink); }
.tmdt-field input, .tmdt-field select, .tmdt-field textarea { display: block; width: 100%; }
.tmdt-req { color: var(--tmdt-red-d); }
.tmdt-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.tmdt-alert { margin: 0 0 18px; padding: 14px 18px; border-radius: 12px; font-weight: 700; line-height: 1.5; }
.tmdt-alert--ok { border: 1px solid #9ed7b8; background: #e8f6ee; color: #14532d; }
.tmdt-alert--bad { border: 1px solid #f5b8b2; background: #fdecea; color: #8a1c13; }
.tmdt-form .tmdt-btn { width: 100%; }
.tmdt-contact-alt { display: grid; gap: 12px; margin-top: 24px; }
.tmdt-contact-alt a { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border: 1px solid var(--tmdt-line); border-radius: 14px; background: #fff; font-weight: 800; color: var(--tmdt-ink) !important; box-shadow: 0 8px 22px rgba(7, 21, 38, .05); }
.tmdt-contact-alt a, .tmdt-contact-alt a * { text-decoration: none !important; }
.tmdt-contact-alt a small { display: block; font-size: .8rem; font-weight: 600; color: var(--tmdt-muted); }
.tmdt-contact-alt svg { width: 22px; height: 22px; color: var(--tmdt-red-d); }
.tmdt-contact-alt a.wa svg { color: #128c7e; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1199.98px) {
  .tmdt-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 991.98px) {
  .tmdt-topbar-uk { display: none !important; }
  .tmdt-home-grid, .tmdt-hero-grid, .tmdt-split, .tmdt-offerband-grid, .tmdt-formband, .tmdt-faqgrid { grid-template-columns: minmax(0, 1fr); }
  .tmdt-ask { position: static; }
  .tmdt-split--flip > :first-child { order: 0; }
  .tmdt-tools, .tmdt-overview, .tmdt-combos { grid-template-columns: minmax(0, 1fr); }
  .tmdt-tool { display: grid; grid-template-columns: 52px minmax(0, 1fr); column-gap: 18px; padding: 22px 24px 20px 28px; }
  .tmdt-tool-icon { grid-row: 1 / span 5; width: 48px; height: 48px; margin: 0; }
  .tmdt-tool-label { margin-bottom: 4px; }
  .tmdt-tool h3 { margin-bottom: 6px; }
  .tmdt-more { padding-top: 10px; }
  .tmdt-home-visual, .tmdt-hero-visual { display: none; }
  .tmdt-mini { display: flex; }
  .tmdt-strip { grid-template-columns: auto minmax(0, 1fr); }
  .tmdt-strip-actions { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; align-items: center; min-width: 0; }
  .tmdt-strip-actions .tmdt-btn { flex: 1 1 240px; }
}
@media (max-width: 767.98px) {
  .tmdt-wrap { width: min(100% - 28px, 1220px); }
  .tmdt-wrap--pad20 { padding-inline: 0; }
  .tmdt-portal, .tmdt-portal + .tmdt-caption, .tmdt-ui--gap { display: none; }
  .tmdt-band { padding: 44px 0; }
  .tmdt-head { margin-bottom: 24px; }
  .tmdt-hero-grid { padding: 34px 0 40px; }
  .tmdt-phone { width: min(100%, 268px); }
  .tmdt-phone-screen { min-height: 452px; }
  .tmdt-callout { padding: 14px 16px; font-size: .92rem; }
  .tmdt-compare-col { padding: 18px 18px; }
  .tmdt-suit { padding: 16px 18px; }
  .tmdt-combo { padding: 20px 20px; }
  .tmdt-bigfree { padding: 22px 20px; }
  .tmdt-ask { padding: 22px 20px; }
  .tmdt-home { border-radius: 21px; padding: 26px 20px; }
  .tmdt-actions { display: grid; grid-template-columns: 1fr; }
  .tmdt-actions .tmdt-btn { width: 100%; }
  .tmdt-offer { gap: 12px; padding: 14px 14px 14px 16px; }
  .tmdt-offer-tag { padding: 9px 11px; font-size: .92rem; }
  .tmdt-offer p { font-size: .9rem; }
  .tmdt-tools { gap: 12px; margin-top: 22px; }
  .tmdt-tool { grid-template-columns: 44px minmax(0, 1fr); column-gap: 14px; padding: 18px 16px 16px 20px; }
  .tmdt-tool-icon { width: 42px; height: 42px; border-radius: 12px; }
  .tmdt-tool h3 { font-size: 1.12rem; }
  .tmdt-tool .tmdt-tool-long { display: none; }
  .tmdt-tool .tmdt-tool-short { display: block; font-size: .92rem; line-height: 1.55; }
  .tmdt-points { gap: 8px 18px; margin-top: 20px; font-size: .88rem; }
  .tmdt-compare { grid-template-columns: minmax(0, 1fr); }
  .tmdt-steps { grid-template-columns: minmax(0, 1fr); }
  .tmdt-step { display: grid; grid-template-columns: 34px minmax(0, 1fr); column-gap: 14px; padding: 18px 16px; }
  .tmdt-step::before { grid-row: 1 / span 3; margin-bottom: 0; }
  .tmdt-form-row { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .tmdt-strip { grid-template-columns: minmax(0, 1fr); padding: 20px 18px 20px 24px; gap: 14px; }
  .tmdt-strip-icon { display: none; }
  .tmdt-strip p { font-size: .92rem; }
  .tmdt-strip-actions { flex-direction: column; align-items: stretch; }
  .tmdt-strip-actions .tmdt-btn { flex: 0 0 auto; }
  .tmdt-report-row { grid-template-columns: 1.3fr 1fr 1.2fr; padding: 10px 12px; font-size: .84rem; }
  .tmdt-hero-pill { font-size: 13px; }
}
@media (max-width: 380px) {
  .tmdt-offer { flex-direction: column; align-items: flex-start; gap: 10px; }
  .tmdt-wrap { width: min(100% - 22px, 1220px); }
  .tmdt-tool { padding: 24px 20px 20px; }
  .tmdt-stats { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .tmdt-pulse { animation: none; }
  .tmdt-btn { transition: none; }
}
