/* Shared public design system; existing brand tokens remain canonical. */
.public-header {
  position: sticky;
  top: 0;
  z-index: 1100;
  max-width: none;
  padding: 14px max(24px, calc((100vw - 1200px) / 2));
  background: #fff;
  border-bottom: 1px solid #e1e7ef;
  box-shadow: none;
  backdrop-filter: none;
  gap: 24px;
}
.public-header .brand {
  flex-shrink: 0;
}
.public-header .public-navigation {
  gap: 24px;
}
.public-header .button,
.public-main .button {
  border-radius: 10px;
  min-height: 44px;
  padding: 12px 22px;
  box-shadow: none;
  clip-path: none;
  transition:
    background-color 0.18s,
    transform 0.18s;
}
.public-header .button:hover,
.public-main .button:hover {
  transform: translateY(-1px);
}
.public-header .language-switcher {
  gap: 4px;
}
.public-header .language-switcher button {
  border-radius: 8px;
}
.public-main:has(.telematics-home) {
  max-width: none;
  padding: 0;
}
.telematics-home {
  background: #fff;
  color: var(--color-text-primary);
  font-size: 16px;
  line-height: 1.65;
}
.telematics-home * {
  box-sizing: border-box;
}
.telematics-home h1,
.telematics-home h2,
.telematics-home h3 {
  color: inherit;
  letter-spacing: -0.045em;
  line-height: 1.13;
  margin: 0 0 20px;
}
.telematics-home h1 {
  font-size: clamp(2.5rem, 4.3vw, 4.25rem);
  max-width: 690px;
}
.telematics-home h2 {
  font-size: clamp(1.9rem, 3vw, 2.7rem);
  max-width: 750px;
}
.telematics-home h3 {
  font-size: 1.18rem;
  letter-spacing: -0.025em;
  line-height: 1.35;
}
.telematics-home p {
  margin: 0 0 20px;
}
.telematics-home a:not(.button) {
  text-underline-offset: 5px;
}
.tm-container {
  max-width: 1256px;
  margin: auto;
  padding-inline: 28px;
}
.tm-section {
  padding-block: 72px;
}
.tm-eyebrow {
  color: #00736e;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.tm-hero {
  background: #0b241c;
  color: white;
  padding: 72px 0 64px;
  overflow: hidden;
}
.tm-hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
  gap: 64px;
}
.tm-hero .tm-eyebrow {
  color: #78ded4;
}
.tm-hero-copy > p {
  color: #c4ddd5;
  max-width: 530px;
}
.tm-hero .tm-lead {
  font-size: 1.22rem;
  line-height: 1.6;
}
.tm-hero .button.secondary {
  color: white;
  background: transparent;
  border-color: #7ea196;
}
.tm-hero .button.secondary:hover {
  background: #23483c;
}
.tm-hero .category-selector {
  margin: 28px 0 12px;
}
.tm-hero .category-selector a {
  color: #d5efe7;
  font-size: 0.85rem;
}
.tm-hero .category-selector a[aria-current] {
  color: #8ee9df;
}
.tm-caption {
  font-size: 0.8rem !important;
  line-height: 1.5 !important;
  color: #537a6e;
}
.tm-hero .tm-caption {
  color: #aacdc2;
}
.tm-preview {
  border: 1px solid #42675b;
  border-radius: 12px;
  background: #14372c;
  box-shadow: 0 24px 60px #0003;
  overflow: hidden;
}
.tm-preview-top {
  padding: 18px 20px;
  border-bottom: 1px solid #42675b;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.8rem;
}
.tm-pill {
  border: 1px solid #bdd9d7;
  background: #e5f4f2;
  color: #145d58;
  border-radius: 9999px;
  font-size: 0.75rem;
  padding: 5px 10px;
  white-space: nowrap;
  font-weight: 700;
}
.tm-preview-row {
  margin: 0 20px;
  padding: 15px 0;
  border-top: 1px solid #42675b;
  display: flex;
  gap: 14px;
  align-items: center;
}
.tm-preview-row strong {
  display: block;
  font-size: 0.9rem;
}
.tm-preview-row small {
  display: block;
  color: #bedcd2;
  font-size: 0.75rem;
  margin-top: 3px;
}
.tm-source {
  margin-left: auto;
  font-size: 0.75rem;
  color: #89e1d8;
}
.tm-symbol {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  background: #e7f3f3;
  color: #00746e;
  border-radius: 10px;
  display: inline-grid;
  place-items: center;
}
.tm-symbol svg {
  width: 23px;
  height: 23px;
}
.tm-preview-link {
  display: block;
  padding: 15px 20px;
  background: #234e40;
  color: #fff;
  font-size: 0.85rem;
}
.tm-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 32px;
}
.tm-card {
  border: 1px solid #dfe6ee;
  border-radius: 12px;
  padding: 28px;
  background: #fff;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.tm-card h3 {
  margin-top: 22px;
  margin-bottom: 12px;
}
.tm-card p {
  color: #537a6e;
  font-size: 0.95rem;
}
.tm-card a {
  margin-top: auto;
  font-weight: 700;
  font-size: 0.85rem;
  color: #22bb8a;
}
.tm-card > svg {
  width: 30px;
  height: 30px;
  color: #00746e;
}
.tm-showcase {
  background: #f2f5f9;
}
.tm-section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 28px;
}
.tm-section-heading > p {
  max-width: 370px;
  color: #537a6e;
  font-size: 0.95rem;
}
.tm-map-shell {
  background: #fff;
  border: 1px solid #d9e2ed;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 15px 35px #123e3009;
}
.tm-map-toolbar {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid #d9e2ed;
}
.tm-map-toolbar .button {
  margin-left: auto;
  font-size: 0.8rem;
  padding: 8px 14px;
}
.tm-map-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
}
.tm-map {
  height: 440px;
  min-width: 0;
  background: #e8eef3;
  isolation: isolate;
  z-index: 0;
  font-variant-numeric: tabular-nums;
}
.tm-map-intro {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
}
.tm-map-intro h3 {
  margin: 18px 0 12px;
}
.tm-map-intro p {
  max-width: 370px;
}
.tm-map-intro .tm-caption {
  margin-top: 16px;
  max-width: 290px;
}
.tm-feed {
  padding: 24px;
  border-left: 1px solid #d9e2ed;
}
.tm-feed h3 {
  font-size: 1.35rem;
}
.tm-feed-item {
  display: flex;
  gap: 12px;
  align-items: center;
  text-align: left;
  width: 100%;
  background: #fff;
  color: #172522;
  border: 0;
  border-bottom: 1px solid #e1e7ef;
  border-radius: 0;
  padding: 18px 0;
  cursor: pointer;
}
.tm-feed-item:hover {
  background: #f5f8fc;
}
.tm-feed-item strong {
  font-size: 0.85rem;
  display: block;
}
.tm-feed-item small {
  display: block;
  color: #537a6e;
  font-size: 0.75rem;
  margin-top: 5px;
}
.tm-feed > a {
  font-size: 0.85rem;
}
.tm-feed [role="status"] {
  margin-top: 16px;
}
.tm-map .leaflet-control-attribution {
  font-size: 11px;
}
.tm-map .leaflet-control a {
  color: #172522;
}
.tm-map .leaflet-popup-content {
  font-family: inherit;
  font-size: 14px;
}
.tm-map .leaflet-container {
  font-family: inherit;
}
.tm-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
  list-style: none;
  padding: 0;
  margin: 32px 0 0;
  counter-reset: steps;
}
.tm-steps li {
  border-top: 2px solid #009c94;
  padding-top: 24px;
  counter-increment: steps;
}
.tm-steps li:before {
  content: "0" counter(steps);
  font-variant-numeric: tabular-nums;
  color: #00746e;
  font-size: 0.9rem;
  font-weight: 800;
  display: block;
  margin-bottom: 20px;
}
.tm-steps p {
  color: #537a6e;
  font-size: 0.95rem;
}
.tm-usecases {
  background: #0b241c;
  color: white;
}
.tm-usecases .tm-eyebrow {
  color: #78ded4;
}
.tm-usecases .tm-card {
  background: #14372c;
  border-color: #345c4f;
}
.tm-usecases .tm-card p {
  color: #bddcd2;
}
.tm-usecases .tm-card a,
.tm-usecases .tm-card > svg {
  color: #8ce4dc;
}
.tm-final {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
}
.tm-final p {
  max-width: 550px;
  color: #537a6e;
}
.tm-final .tm-eyebrow {
  color: #00736e;
}
.public-footer {
  max-width: none;
  background: #f2f5f9;
  color: #172522;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  padding: 48px max(28px, calc((100vw - 1200px) / 2)) 24px;
  gap: 32px;
}
.public-footer h2 {
  color: #172522;
  font-size: 0.85rem;
  margin-bottom: 16px;
}
.public-footer a {
  color: #426c5f;
  font-size: 0.8rem;
}
.public-footer p,
.public-footer small {
  color: #537a6e;
  font-size: 0.8rem;
}
.tm-footer-bottom {
  grid-column: 1/-1;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid #d5dee9;
  padding-top: 20px;
}
.tm-footer-bottom p {
  margin: 0;
}
.public-footer .brand {
  background: transparent;
  padding: 0;
}
@media (min-width: 1024px) {
  .public-header .brand {
    max-width: 190px;
  }
  .public-header .public-navigation a {
    font-size: 0.8rem;
  }
}
@media (max-width: 1100px) {
  .tm-hero-grid {
    gap: 32px;
  }
  .tm-map-grid {
    grid-template-columns: minmax(0, 1fr) 260px;
  }
  .public-header {
    gap: 12px;
  }
  .public-header .public-navigation {
    gap: 12px;
  }
}
@media (max-width: 767px) {
  .tm-container {
    padding-inline: 20px;
  }
  .tm-section {
    padding-block: 48px;
  }
  .tm-hero {
    padding: 44px 0;
  }
  .tm-hero-grid,
  .tm-cards,
  .tm-steps,
  .tm-map-grid {
    grid-template-columns: 1fr;
  }
  .tm-hero-grid {
    gap: 28px;
  }
  .tm-hero h1 {
    font-size: 2.6rem;
  }
  .tm-section-heading,
  .tm-final {
    display: block;
  }
  .tm-section-heading > p {
    max-width: none;
  }
  .tm-card {
    padding: 24px;
  }
  .tm-map {
    height: 350px;
  }
  .tm-feed {
    border-left: 0;
    border-top: 1px solid #d9e2ed;
  }
  .tm-map-toolbar {
    flex-wrap: wrap;
    gap: 10px;
  }
  .tm-map-toolbar .button {
    margin-left: 0;
  }
  .tm-steps {
    gap: 20px;
  }
  .public-footer {
    grid-template-columns: 1fr 1fr;
    padding: 36px 20px 24px;
  }
  .public-footer > div:first-child {
    grid-column: 1/-1;
  }
  .tm-footer-bottom {
    flex-direction: column;
    gap: 8px;
  }
  .public-header {
    padding: 12px 20px;
  }
  .tm-preview-top {
    flex-wrap: wrap;
  }
  .tm-final .actions {
    margin-bottom: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .public-main .button,
  .public-header .button {
    transition: none;
    transform: none;
  }
}
.tm-hero .category-selector a,
.tm-hero .category-selector a[aria-current] {
  background: transparent;
  border-color: #5b8b7c;
}
.tm-hero .category-selector a[aria-current] {
  border-bottom-color: #8ee9df;
}
.tm-hero-map {
  position: relative;
  height: 325px;
  background: #14372c;
  isolation: isolate;
  z-index: 0;
  color: #172522;
}
.tm-hero-map .tm-navigation-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 43%;
  display: block;
}
.tm-hero-map-action {
  position: absolute;
  inset: auto 0 0;
  text-align: center;
  padding: 40px 16px 18px;
  background: linear-gradient(transparent, rgb(8 16 28 / 95%));
}
.tm-hero-map-action .button {
  padding: 8px 16px;
  font-size: 0.8rem;
}
.tm-hero-map-action .tm-caption {
  color: #fff;
  margin: 10px auto 0;
  font-size: 0.7rem !important;
  max-width: 300px;
}
.tm-hero-map-controls {
  padding: 0 20px;
  font-size: 0.75rem;
}
.tm-hero-map-controls .button {
  padding: 8px 14px;
  margin-block: 12px;
  font-size: 0.8rem;
}
.tm-hero-map .leaflet-control-attribution {
  font-size: 11px;
}
.tm-hero-map .leaflet-control-attribution a {
  color: #179c72;
}
.tm-map-marker {
  display: grid;
  place-items: center;
  border: 3px solid white;
  border-radius: 12px;
  background: #136e61;
  color: white;
  box-shadow: 0 3px 12px #123e3040;
}
.tm-map-device {
  background: #00746e;
}
.tm-map-marker span {
  display: flex;
}
.tm-map-marker svg {
  width: 23px;
  height: 23px;
}
.tm-map-marker:focus-visible {
  outline: 3px solid #172522;
  outline-offset: 3px;
}
