/* TM_CONV_UK_V1 (28 Nov 2026): 404, brochure and legal pages on trackmatic.co.uk */
.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}
.tm-legal h1{font-size:clamp(28px,4vw,38px);line-height:1.15;margin:0 0 6px;color:#0f172a;font-weight:800}
.tm-legal h2{font-size:21px;margin:30px 0 8px;color:#0f172a;font-weight:800;scroll-margin-top:90px}
.tm-legal p,.tm-legal li{color:#334155}.tm-legal ul,.tm-legal ol{padding-left:22px}.tm-legal li{margin:6px 0}
.tm-legal a{color:#0b5ed7;text-decoration:underline}
.tm-legal-meta{color:#64748b !important;font-size:14px;margin:0 0 18px}
.tm-legal-toc{display:flex;flex-wrap:wrap;gap:8px;margin:18px 0 6px}.tm-legal-toc a{border:1px solid #dbe7f5;border-radius:999px;padding:6px 12px;font-size:14px;text-decoration:none}
.tm-legal-table{width:100%;border-collapse:collapse;font-size:15px;margin:10px 0 16px}
.tm-legal-table th,.tm-legal-table td{border:1px solid #e2e8f0;padding:10px;text-align:left;vertical-align:top}.tm-legal-table th{background:#f8fafc}
@media (max-width:600px){.tm-legal-table thead{display:none}.tm-legal-table td{display:block;border-top:0}.tm-legal-table tr{display:block;border-top:1px solid #e2e8f0;margin-bottom:10px}}
.tm-legal .tm-btn-row{display:flex;flex-wrap:wrap;gap:10px;margin:8px 0 24px}
.tm-legal .tm-btn-x{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:0 22px;border-radius:999px;font-weight:700;text-decoration:none}
.tm-legal .tm-btn-x.primary{background:#0b5ed7;color:#fff}.tm-legal .tm-btn-x.secondary{background:#fff;color:#0f172a;border:1px solid #cbd5e1}
.tm-legal .tm-links-grid{list-style:none;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:10px}
.tm-legal .tm-links-grid a{display:block;padding:14px 16px;border:1px solid #dbe7f5;border-radius:12px;text-decoration:none;color:#0f172a;font-weight:600;background:#fff}
.tm-legal form label{display:block;font-weight:600;margin:14px 0 6px;color:#0f172a}
.tm-legal form input,.tm-legal form select,.tm-legal form textarea{width:100%;min-height:48px;padding:10px 12px;border:1px solid #cbd5e1;border-radius:10px;font:inherit;box-sizing:border-box}
.tm-legal form textarea{min-height:110px}
.tm-legal form button{margin-top:18px;min-height:50px;padding:0 24px;border:0;border-radius:999px;background:#0b5ed7;color:#fff;font-weight:700;font-size:16px;cursor:pointer}
.tm-legal .tm-two{display:grid;grid-template-columns:1fr 1fr;gap:0 14px}@media (max-width:600px){.tm-legal .tm-two{grid-template-columns:1fr}}
.tm-legal .tm-hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.tm-legal .tm-privacy-note{font-size:13px;color:#475569}
.tm-footer-legal-links{display:flex;flex-wrap:wrap;gap:6px 16px;margin:8px 0 0}.tm-footer-legal-links a{color:inherit;text-decoration:underline;font-size:13px}

/* TM_CONV_UK_V1 batch 2: long sections fold into tap-to-open panels on phones (open on desktop); quote terms panel */
details.tm-fold{display:block}
details.tm-fold>summary{display:flex;justify-content:space-between;align-items:center;gap:12px;min-height:52px;margin:10px 16px;padding:12px 16px;border:1px solid #dbe7f5;border-radius:14px;background:#fff;font:700 16px/1.3 Inter,Arial,sans-serif;color:#0f172a;cursor:pointer;list-style:none}
details.tm-fold>summary::-webkit-details-marker{display:none}
details.tm-fold>summary::after{content:"+";font-size:22px;color:#0b5ed7}
details.tm-fold[open]>summary::after{content:"\2212"}
@media (min-width:992px){details.tm-fold>summary{display:none}}
.tm-quote-terms{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));border:1px solid #dbe7f5;border-radius:18px;overflow:hidden;background:#fff;margin:14px 0 0}
.tm-quote-terms div{padding:14px 18px;border-bottom:1px solid #eef2f7}
.tm-quote-terms dt{font-weight:800;color:#0f172a;margin:0 0 4px;font-size:15px}
.tm-quote-terms dd{margin:0;color:#334155;font-size:14.5px;line-height:1.55}
@media (max-width:768px){.tm-quote-terms{grid-template-columns:1fr}}
/* TM_CONV_UK_V1: pricing hero on phones - the side card repeats the terms panel and the tick list repeats the page, so the form sits higher */
@media (max-width:767px){.tm-pricing-hero .col-lg-5,.tm-pricing-hero .tm-pricing-hero-list{display:none !important}}
/* TM_CONV_UK_V1: one bottom bar only (the compact site bar); the older page bar sat underneath it. Phones: the Driver pill in the
   homepage hero gives way so the starting price is in the first screen (the Driver band follows straight after). */
html body nav.tm-mobile-actions{display:none !important}
@media (max-width:767px){html:not(#tcu1):not(#tcu2) body section.tm-hero .tmdt-hero-pill{display:none !important}}
