/* Hero shipment-journey mock */
.tms-svc .jr { background:#F6F8FB; padding:18px; display:flex; flex-direction:column; gap:12px; }
.tms-svc .jr__top { display:flex; justify-content:space-between; align-items:center; gap:10px; }
.tms-svc .jr__top strong { font-size:17px; }
.tms-svc .jr__top small { display:block; font-size:11.5px; color:#0B1A3D; font-weight:600; }
.tms-svc .jr__route { background:#0B1A3D; color:#fff; border-radius:12px; padding:14px 16px; }
.tms-svc .jr__ends { display:flex; justify-content:space-between; font-size:13px; font-weight:700; }
.tms-svc .jr__ends span small { display:block; font-size:10.5px; font-weight:600; color:#A9B6CE; }
.tms-svc .jr__ends span:last-child { text-align:right; }
.tms-svc .jr__line { position:relative; height:6px; border-radius:99px; background:#24376A; margin:16px 4px 6px; }
.tms-svc .jr__line i { position:absolute; left:0; top:0; height:100%; width:62%; border-radius:99px; background:var(--orange); }
.tms-svc .jr__line b { position:absolute; left:62%; top:50%; transform:translate(-50%,-50%); width:30px; height:30px; border-radius:50%; background:var(--orange); border:3px solid #0B1A3D; display:grid; place-items:center; }
.tms-svc .jr__meta { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px; }
.tms-svc .jr__meta div { background:#fff; border:1px solid #E6EBF3; border-radius:10px; padding:9px 11px; min-width:0; }
.tms-svc .jr__meta small { display:block; font-size:10.5px; font-weight:700; color:#0B1A3D; }
.tms-svc .jr__meta b { font-size:13px; white-space:nowrap; }
.tms-svc .jr__steps { list-style:none; margin:0; padding:6px 14px; background:#fff; border:1px solid #E6EBF3; border-radius:12px; }
.tms-svc .jr__steps li { display:flex; align-items:center; gap:10px; padding:8px 0; font-size:12.5px; font-weight:600; color:#0B1A3D; border-top:1px solid #EEF1F6; }
.tms-svc .jr__steps li:first-child { border-top:0; }
.tms-svc .jr__steps li::before { content:""; flex:none; width:16px; height:16px; border-radius:50%; border:2px solid #CBD3DF; background:#fff; box-sizing:border-box; }
.tms-svc .jr__steps li.done::before { border-color:#1B7F5A; background:#1B7F5A url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/10px no-repeat; }
.tms-svc .jr__steps li.now::before { border-color:var(--orange); box-shadow:0 0 0 3px #FDEEE3; }
.tms-svc .jr__steps li.todo { color:#8492AB; }
.tms-svc .jr__steps li span { margin-left:auto; font-size:11px; font-weight:600; color:#0B1A3D; white-space:nowrap; }
@media (min-width:1200px) { .tms-svc .jr { padding:24px; gap:14px; } .tms-svc .jr__top strong { font-size:20px; } .tms-svc .jr__ends { font-size:15px; } .tms-svc .jr__meta b { font-size:14.5px; } .tms-svc .jr__steps li { font-size:14px; padding:10px 0; } .tms-svc .jr__steps li span { font-size:12px; } }

/* Responsive fixes */
.integration { min-width:0; overflow-wrap:anywhere; }
@media (max-width:359px) { .integrations { grid-template-columns:minmax(0,1fr) !important; } }
.tms-svc .jr__ends span small, .tms-svc .jr__meta small { font-size:11.5px; }
.jr .pill { font-size:11.5px; }
@media (max-width:419px) { .tms-svc .jr__meta { grid-template-columns:minmax(0,1.5fr) minmax(0,1fr) minmax(0,1fr); } .tms-svc .jr__meta b { font-size:12px; } }

/* Even spacing around CTA banners */
/* midcta section padding owned by tms-service-page.css */

.why--4 { grid-template-columns:repeat(2,minmax(0,1fr)); }
@media (min-width:1200px) { .why--4 { grid-template-columns:repeat(4,minmax(0,1fr)); } }
@media (max-width:599px) { .why--4 { grid-template-columns:minmax(0,1fr); } }

/* Client quotes */
.proof__card.quote { margin:0; gap:18px; justify-content:space-between; }
.proof__card.quote blockquote { margin:0; font-size:17px; line-height:1.5; font-weight:600; color:#fff; }
.proof__card.quote figcaption { display:flex; flex-direction:column; gap:2px; padding-top:14px; border-top:1px solid rgba(255,255,255,.12); }
.proof__card.quote figcaption strong { font-size:15px; color:#FDBA74; }

.proof__more a { text-decoration:none; }
.proof__more a:hover { text-decoration:underline; }

/* No orphan cards in 2-column layouts */
@media (max-width:1024px) { .proof .quote:last-child { grid-column:1 / -1; } }


.proof__more { margin-top:32px; }
.proof__more a.btn { display:inline-flex; color:#fff; padding:0 26px; text-decoration:none; }
.proof__more a.btn:hover { text-decoration:none; background:rgba(255,255,255,.08); }
@media (max-width:767px) { .proof__more a.btn { width:100%; } }

/* Headings that keep the look of their former labels */
.whatis__list h3, .integration h3 { margin:0; font:inherit; font-weight:700; color:inherit; letter-spacing:inherit; line-height:inherit; }
.whatis__list h3 { display:block; font-size:16px; }

@media (min-width:1025px) { .integrations { grid-template-columns:repeat(5,minmax(0,1fr)); } .integration { flex-direction:column; align-items:flex-start; gap:12px; font-size:14.5px; } }

/* Integration cards with descriptions */
.integration { align-items:flex-start; }
.integration__txt { min-width:0; }
.integration__txt p { margin:4px 0 0; font-size:13.5px; font-weight:400; line-height:1.45; color:var(--text); }
@media (max-width:599px) { .integrations { grid-template-columns:minmax(0,1fr) !important; } .integration { font-size:15px; padding:14px 16px; } }

/* CTA banners placed inside a section */
.midcta--in { padding:0; margin-top:clamp(28px,4vw,40px); background:none; }

/* Hero headline: two clean lines on desktop/tablet */
@media (min-width:600px) { .tms-svc .hero h1 .h1-hl { white-space:nowrap; } }
@media (min-width:1025px) {
  .tms-svc .hero .wrap { grid-template-columns:minmax(0,1.25fr) minmax(0,1fr); }
  .tms-svc .hero h1 { font-size:clamp(28px,2.85vw,42px); line-height:1.15; }
}
@media (max-width:599px) { .tms-svc .hero h1 { font-size:clamp(25px,7.2vw,32px); } }
.tms-svc .m-br { display:none; }
@media (max-width:599px) { .tms-svc .m-br { display:inline; } .tms-svc .hero h1 .h1-top { text-wrap:wrap; } }
@media (min-width:768px) and (max-width:1024px) { #demo .box { grid-template-columns:1fr; } }

/* Keep TMS brand fonts (Inter body / Plus Jakarta headings) — do not force Nunito */


/* Brand text colour for all content, light and dark mode alike */
:root, :root[data-theme="dark"] { --ink:#0B1A3D; --text:#0B1A3D; --muted:#0B1A3D; }
.lead, .head p, .whatis p, .problem p, .timeline li p, .benefit p, .solution p, .feat p, .industry p, .why__item p, .integration__txt p, .faq p, .whatis__list span, .swipe, .compare td { color:#0B1A3D; }

/* Hero fleet dashboard mock */
.tms-svc .fd { background:#F6F8FB; padding:18px; display:flex; flex-direction:column; gap:12px; }
.tms-svc .fd__top { display:flex; justify-content:space-between; align-items:center; }
.tms-svc .fd__top strong { font-size:17px; }
.tms-svc .fd__tiles { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:6px; }
.tms-svc .fd__tiles > div { background:#fff; border:1px solid #E6EBF3; border-radius:10px; padding:10px 8px; min-width:0; }
.tms-svc .fd__tiles small { display:block; font-size:10px; letter-spacing:-0.01em; font-weight:700; color:#0B1A3D; opacity:.7; line-height:1.25; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.tms-svc .fd__tiles b { display:block; font-size:19px; line-height:1.2; margin-top:2px; }
.tms-svc .fd__tiles b em { font-style:normal; font-size:12px; font-weight:600; opacity:.6; }
.tms-svc .fd__warn { color:#C2560A; }
.tms-svc .fd__list { background:#fff; border:1px solid #E6EBF3; border-radius:12px; overflow:hidden; }
.tms-svc .fd__row { display:grid; grid-template-columns:minmax(0,1.1fr) minmax(0,1.4fr) 126px; gap:12px; align-items:center; padding:9px 14px; border-top:1px solid #EEF1F6; font-size:12.5px; }
.tms-svc .fd__row:first-child { border-top:0; }
.tms-svc .fd__head { background:#FAFBFD; font-size:11px; font-weight:700; opacity:.7; }
.tms-svc .fd__row b { display:block; font-size:12.5px; }
.tms-svc .fd__row small { display:block; font-size:11px; opacity:.65; }
.tms-svc .fd__row > span:nth-child(2) { min-width:0; }
.pill.r { color:#B42318; background:#FDE8E6; }
.pill.n { color:#0B1A3D; background:#E6EBF3; }
.tms-svc .fd__row .pill { justify-self:start; white-space:nowrap; text-align:center; }
.tms-svc .fd__row > span:nth-child(2) { text-align:left; }
.fd .pill { font-size:11.5px; padding:4px 10px; }
@media (min-width:1200px) { .tms-svc .fd { padding:22px; gap:14px; } .tms-svc .fd__top strong { font-size:19px; } .tms-svc .fd__tiles b { font-size:22px; } .tms-svc .fd__row { font-size:13.5px; padding:11px 16px; } .tms-svc .fd__row b { font-size:13.5px; } }
@media (max-width:419px) { .tms-svc .fd__tiles { grid-template-columns:repeat(2,minmax(0,1fr)); } .tms-svc .fd__row { grid-template-columns:minmax(0,1fr) auto; row-gap:4px; } .tms-svc .fd__row > span:nth-child(2) { grid-column:1 / -1; font-size:12px; opacity:.85; } .tms-svc .fd__row .pill { justify-self:end; } .tms-svc .fd__head > span:nth-child(2) { display:none; } }

@media (max-width:419px) { .tms-svc .fd__row .pill { grid-column:2; grid-row:1; justify-self:end; } .tms-svc .fd__row > span:nth-child(2) { grid-row:2; } }

@media (max-width:599px) { .tms-svc .fd__tiles { grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; } .tms-svc .fd__tiles small { font-size:11px; } .tms-svc .fd__tiles > div { padding:10px 11px; } }
@media (min-width:1025px) and (max-width:1199px) { .tms-svc .fd__tiles { gap:5px; } .tms-svc .fd__tiles > div { padding:9px 5px; } .tms-svc .fd__tiles small { font-size:9px; letter-spacing:-0.03em; } .tms-svc .fd__row { grid-template-columns:minmax(0,1fr) minmax(0,1.45fr) 104px; gap:8px; padding-left:12px; padding-right:12px; font-size:12px; } .tms-svc .fd__row b { font-size:12px; } .tms-svc .fd__row small, .tms-svc .fd__row > span:nth-child(2) { white-space:nowrap; } .fd .pill { font-size:10.5px; padding:4px 8px; } }

@media (min-width:420px) and (max-width:499px) { .tms-svc .fd__row { grid-template-columns:minmax(0,1fr) auto; row-gap:4px; } .tms-svc .fd__row > span:nth-child(2) { grid-column:1 / -1; grid-row:2; font-size:12px; opacity:.85; } .tms-svc .fd__row .pill { grid-column:2; grid-row:1; justify-self:end; } .tms-svc .fd__head > span:nth-child(2) { display:none; } .tms-svc .fd__head > span:nth-child(3) { grid-column:2; justify-self:end; } }

/* Sub-titles styled like h3 but not headings */
.problem .h3-like { margin:0 0 8px; font-size:17px; font-weight:700; line-height:1.3; }
.whatis__list .h3-like { margin:0; font-size:16px; font-weight:700; display:block; }
.benefit .h3-like { margin:0 0 6px; font-size:17px; font-weight:700; line-height:1.3; }

/* ===== Tighter spacing between sections ===== */
section { padding:clamp(20px,2.2vw,30px) 0; }
.head { margin-bottom:clamp(14px,1.8vw,20px); }
.midcta--in { margin-top:clamp(20px,2.6vw,28px); }
.bridge { margin-top:20px; }
.eyebrow { margin-bottom:8px; }
h2 { margin-bottom:10px; }
@media (max-width:767px) { section { padding:18px 0; } .head { margin-bottom:14px; } }
.integration__txt .t { display:block; margin:0; font:inherit; font-weight:700; }
.updated { max-width:1200px; margin:0 auto; padding:0 clamp(20px,5vw,40px) 24px; font-size:13px; color:#0B1A3D; opacity:.7; }
@media (max-width:599px) {
  .integrations { grid-template-columns:repeat(2,minmax(0,1fr)) !important; gap:10px; }
  .integration { flex-direction:column; align-items:flex-start; gap:8px; padding:12px; font-size:14px; }
  .integration__txt p { font-size:13px; }
}
@media (max-width:359px) { .integrations { grid-template-columns:minmax(0,1fr) !important; } }

/* Compare mobile cards: column labels (standard TMS stack, not horizontal swipe) */
@media (max-width:1024px) {
  .tms-svc:not(.tms-svc--compare-export) .compare td:nth-child(2)::before { content:"Calls & Spreadsheets"; }
  .tms-svc:not(.tms-svc--compare-export) .compare td:nth-child(3)::before { content:"Basic Tracking Apps"; }
  .tms-svc:not(.tms-svc--compare-export) .compare td:nth-child(4)::before { content:"LogiBrisk"; color:var(--orange-dark); }
}
