/* Home page. Loaded after vahansense.css, which supplies the .vs type, list, button and CTA styles. */

.section-title { padding: 0 10px; }

/* Product sections */
.hm-product { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: center; }
.hm-product h2 { margin-bottom: 1rem; }
.hm-lead { color: var(--muted); font-size: 1.1rem; }
.hm-points { list-style: none; margin: 0 0 28px; padding: 0; border-top: 1px solid var(--line); }
.hm-points li { display: flex; gap: 14px; align-items: center; padding: 11px 0; border-bottom: 1px solid var(--line); }
.hm-points i { font-size: 24px; }

.hm-screen { display: block; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: #fff; box-shadow: 0 24px 48px rgba(5, 5, 45, .14); }
.hm-screen img { display: block; width: 100%; height: auto; }

.hm-night { background: #05054d; color: #fff; }
.vs .hm-night h2, .hm-night i.uil, .hm-night .vs-link { color: #fff; }
.hm-night .hm-lead { color: #d6d8f0; }
.hm-night .hm-points, .hm-night .hm-points li { border-color: rgba(255, 255, 255, .22); }
.vs .hm-night a:focus-visible { outline-color: #fff; }
.hm-night .hm-product { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.hm-duo { position: relative; display: block; padding: 0 0 48px 64px; }
.hm-duo .hm-screen { border: 0; box-shadow: none; }
.hm-phone { position: absolute; left: 0; bottom: 0; width: 27%; border: 6px solid #111; border-radius: 22px; overflow: hidden; background: #111; box-shadow: 0 20px 40px rgba(0, 0, 0, .45); }
.hm-phone img { display: block; width: 100%; height: auto; }

/* Platform and existing solutions */
.hm-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px; align-items: center; padding: 24px 0; }
.hm-row h3 { font-size: 1.5rem; margin-bottom: .75rem; }
.hm-row p { color: var(--muted); }
.hm-crop { aspect-ratio: 5 / 4; width: 100%; object-fit: cover; object-position: center 55%; }
.hm-gateway { display: block; width: 100%; max-width: 440px; height: auto; margin: 0 auto; }
.hm-protocols { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0 0 20px; padding: 0; }
.hm-protocols li { padding: 5px 12px; border: 1px solid var(--line); border-radius: 4px; font-weight: 600; font-size: .9rem; color: var(--navy); }

.hm-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 48px; list-style: none; margin: 40px 0 0; padding: 0; border-top: 2px solid var(--navy); }
.hm-links li { border-bottom: 1px solid var(--line); }
.hm-links a { display: flex; gap: 18px; align-items: flex-start; padding: 22px 0; height: 100%; color: var(--ink); }
.hm-links i { font-size: 30px; }
.hm-links strong { display: block; color: var(--navy); font-size: 1.1rem; }
.hm-links span { display: block; color: var(--muted); }
.hm-links a:hover strong { text-decoration: underline; text-underline-offset: 4px; }

.hm-tools img { width: 56px; height: 56px; margin-bottom: 16px; }

.hm-quotes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 56px; }
.hm-quotes figure { margin: 0; padding-top: 24px; border-top: 2px solid var(--navy); }
.hm-quotes blockquote { margin: 0 0 18px; font-size: 1.05rem; }
.hm-quotes figcaption { display: flex; gap: 14px; align-items: center; font-weight: 800; color: var(--navy); }
.hm-quotes figcaption img { width: 76px; height: 76px; object-fit: contain; }

/* Industries */
.hm-intro { margin: -.75rem 0 32px; }
.hm-industries { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 24px; }
.hm-industry { display: flex; flex-direction: column; }
.hm-industry > img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; margin-bottom: 18px; }
.vs .hm-industry h3 { font-size: 1.3rem; margin-bottom: 12px; }
.hm-focus, .hm-related { list-style: none; margin: 0; padding: 0; }
.hm-focus { flex: 1; margin-bottom: 18px; }
.hm-focus li { display: flex; gap: 10px; padding: 4px 0; color: var(--muted); }
.hm-focus i { font-size: 18px; margin-top: 3px; }
.hm-related { border-top: 2px solid var(--navy); }
.hm-related li { border-bottom: 1px solid var(--line); }
.hm-related a { display: flex; justify-content: space-between; align-items: center; gap: 8px; min-height: 46px; color: var(--navy); font-weight: 700; }
.hm-related a:hover { text-decoration: underline; text-underline-offset: 4px; }

@media (max-width: 991px) {
   .hm-industries { grid-template-columns: repeat(2, minmax(0, 1fr)); }
   .hm-product, .hm-night .hm-product, .hm-row { grid-template-columns: minmax(0, 1fr); gap: 32px; }
   .hm-row-flip > :first-child { order: 2; }
   .hm-night .hm-product > :first-child { order: 2; }
}

@media (max-width: 575px) {
   .hm-industries { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 767px) {
   .hm-duo { padding: 0 0 56px 28px; }
   .hm-phone { width: 32%; border-width: 4px; border-radius: 16px; }
}
