/*
 * Termonn product landing page.
 * Imported from the "Termonn Landing" Claude Design project and adapted to run
 * as a static page under the landing distribution's strict CSP:
 *   - script-src 'self'  -> interactivity lives in landing.js (no inline script)
 *   - font-src   'self'  -> no Google Fonts; Inter degrades to the system stack
 *   - style-src  'self' 'unsafe-inline' -> the design's inline styles are kept
 * Layout/section styling stays inline on the elements (as designed); this file
 * holds the reset, the font stack and the responsive breakpoints.
 */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  background: #f3f7fb;
  font-family: "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  max-width: 100%;
}

img {
  max-width: 100%;
}

::selection {
  background: #0a2c5c;
  color: #fff;
}

a {
  color: #0a84d4;
  text-decoration: none;
}

a:hover {
  color: #084a92;
}

@media (max-width: 880px) {
  .tm-wrap {
    padding-left: 24px !important;
    padding-right: 24px !important;
  }
  .tm-grid {
    grid-template-columns: 1fr !important;
    gap: 34px !important;
  }
  .tm-cards {
    grid-template-columns: 1fr !important;
  }
  .tm-steps {
    grid-template-columns: 1fr 1fr !important;
  }
  .tm-connector {
    display: none !important;
  }
  .tm-nav-links {
    display: none !important;
  }
}

@media (max-width: 560px) {
  .tm-steps {
    grid-template-columns: 1fr !important;
  }
  .tm-hero {
    padding: 40px 24px 44px !important;
  }
  .tm-trust {
    grid-template-columns: 1fr !important;
    gap: 18px !important;
  }
  .tm-logo {
    height: 28px !important;
    width: auto !important;
    max-width: none !important;
  }
  .tm-login {
    display: none !important;
  }
  .tm-header-cta {
    padding: 10px 15px !important;
    font-size: 14px !important;
  }
  .tm-header-bar {
    gap: 10px !important;
    padding: 9px 12px !important;
  }
  .tm-eyebrow {
    font-size: 11.5px !important;
    letter-spacing: 0.1em !important;
  }
  .tm-hero h1 {
    font-size: clamp(29px, 8vw, 40px) !important;
  }
  .tm-hero-sub {
    font-size: 17px !important;
  }
  .tm-cta-row {
    width: 100%;
  }
  .tm-cta-row a {
    flex: 1;
    text-align: center;
  }
}
