/* OFFICIAL: TM360° calm homepage visual system */

body .home-hero {
  min-height: 620px !important;
  height: auto !important;
  display: flex !important;
  align-items: center !important;
  padding: 92px 0 86px !important;
  position: relative !important;
  overflow: hidden !important;
  background-position: center 42% !important;
}
body .home-hero::before {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  background: linear-gradient(90deg, rgba(4,5,6,.88) 0%, rgba(4,5,6,.73) 40%, rgba(4,5,6,.22) 72%, rgba(4,5,6,.1) 100%) !important;
  pointer-events: none !important;
}
body .home-hero .wrap {
  position: relative !important;
  z-index: 2 !important;
  width: min(1180px, calc(100% - 48px)) !important;
  max-width: 1180px !important;
  margin-inline: auto !important;
  padding: 0 !important;
  transform: none !important;
}
body .home-hero .eyebrow {
  max-width: 620px !important;
  margin: 0 0 18px !important;
  font-size: 13px !important;
  line-height: 1.3 !important;
  letter-spacing: .18em !important;
}
body .home-hero h1 {
  width: auto !important;
  max-width: 720px !important;
  margin: 0 0 24px !important;
  font-size: clamp(48px, 5vw, 76px) !important;
  line-height: 1.02 !important;
  letter-spacing: -.045em !important;
  text-transform: none !important;
  overflow-wrap: normal !important;
  word-break: normal !important;
}
body .home-hero > .wrap > p:not(.eyebrow) {
  max-width: 610px !important;
  margin: 0 0 30px !important;
  font-size: 19px !important;
  line-height: 1.55 !important;
}
body .home-hero .hero-actions { gap: 12px !important; flex-wrap: wrap !important; }
body .home-hero .btn { min-height: 48px !important; padding: 14px 22px !important; }

body .difference-strip { padding: 88px 0 !important; }
body .difference-strip .wrap {
  width: min(1180px, calc(100% - 48px)) !important;
  max-width: 1180px !important;
  margin-inline: auto !important;
}
.section-intro { max-width: 650px; margin-bottom: 36px; }
.section-intro .eyebrow { margin-bottom: 12px; }
.section-intro h2 {
  margin: 0 0 14px;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.08;
  letter-spacing: -.035em;
  text-transform: none;
}
.section-intro > p:last-child { max-width: 580px; margin: 0; line-height: 1.6; }
body .difference-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 18px !important;
}
body .difference-grid .principle-card {
  display: flex !important;
  flex-direction: column !important;
  min-height: 230px !important;
  padding: 26px !important;
  border: 1px solid rgba(255,255,255,.12) !important;
  border-radius: 18px !important;
  background: rgba(255,255,255,.035) !important;
  transform: none !important;
  transition: border-color .2s ease, background .2s ease, transform .2s ease !important;
}
body .difference-grid .principle-card:hover {
  border-color: rgba(210,255,20,.55) !important;
  background: rgba(255,255,255,.06) !important;
  transform: translateY(-3px) !important;
}
.principle-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 38px;
  border-radius: 14px;
  color: #d2ff14;
  background: rgba(210,255,20,.09);
}
.principle-icon svg { width: 25px; height: 25px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
body .difference-grid .principle-card strong { margin: 0 0 9px !important; font-size: 18px !important; line-height: 1.2 !important; }
body .difference-grid .principle-card > span:last-child { font-size: 15px !important; line-height: 1.55 !important; opacity: .78; }

body .feature-panel,
body .process-section,
body .section.alt,
body .case-study,
body .final-cta { padding-top: 94px !important; padding-bottom: 94px !important; }
body .feature-copy h2,
body .process-section h2,
body .section.alt h2,
body .case-study h2,
body .final-cta h2 {
  max-width: 760px !important;
  font-size: clamp(36px, 4vw, 58px) !important;
  line-height: 1.08 !important;
  letter-spacing: -.035em !important;
  text-transform: none !important;
}
body .feature-grid, body .case-grid { gap: clamp(48px, 7vw, 96px) !important; align-items: center !important; }
body .workflow, body .grid3 { gap: 18px !important; margin-top: 36px !important; }
body .workflow article, body .grid3 .card { padding: 28px !important; }

@media (max-width: 980px) {
  body .home-hero { min-height: 560px !important; padding: 76px 0 !important; }
  body .home-hero h1 { font-size: clamp(44px, 8vw, 66px) !important; max-width: 680px !important; }
  body .difference-grid { grid-template-columns: repeat(2, minmax(0,1fr)) !important; }
}
@media (max-width: 640px) {
  body .home-hero { min-height: auto !important; padding: 64px 0 58px !important; }
  body .home-hero::before { background: rgba(4,5,6,.72) !important; }
  body .home-hero .wrap, body .difference-strip .wrap { width: min(100% - 32px, 1180px) !important; }
  body .home-hero h1 { font-size: clamp(38px, 12vw, 52px) !important; line-height: 1.04 !important; }
  body .home-hero > .wrap > p:not(.eyebrow) { font-size: 17px !important; }
  body .home-hero .hero-actions, body .home-hero .btn { width: 100% !important; }
  body .difference-strip { padding: 64px 0 !important; }
  body .difference-grid { grid-template-columns: 1fr !important; }
  body .difference-grid .principle-card { min-height: 0 !important; }
  .principle-icon { margin-bottom: 28px; }
  body .feature-panel, body .process-section, body .section.alt, body .case-study, body .final-cta { padding-top: 70px !important; padding-bottom: 70px !important; }
}
