@import url("/assets/css/labor-productivity.css");

/* A phone frame around the flat screen captures. */
.fa-phone { display: block; padding: 9px; background: #121B27; border-radius: 34px; box-shadow: 0 18px 36px rgba(18, 43, 67, .26); }
.fa-phone img { display: block; width: 100%; height: auto; border-radius: 26px; }

.lp-hero-visual.fa-hero-visual { position: relative; align-self: stretch; min-height: 560px; padding: 0; }
.fa-hero-video { position: absolute; top: 50%; right: -22%; width: 136%; max-width: none; height: auto; transform: translateY(-50%); mix-blend-mode: multiply; filter: brightness(1.05); pointer-events: none; } /* The render's off-white backdrop (249,246,243) is pushed to white so multiply leaves only the phones on the page. */
.fa-hero-visual .lp-hero-note { position: absolute; left: 0; bottom: 0; margin: 0; }
.field-app-page .lp-hero { overflow: clip; overflow-clip-margin: 0; } /* Clip the spill at the section, not the page, so nothing scrolls sideways. */

.lp-visual .fa-render { position: absolute; left: 50%; top: 0; height: 100%; width: auto; max-width: none; transform: translateX(-50%); filter: drop-shadow(0 16px 28px rgba(18, 43, 67, .22)); }
/* ...and otherwise one framed flat capture, centered, as tall as the box. */
.lp-visual .fa-phone { position: absolute; left: 50%; top: 0; height: 100%; width: auto; transform: translateX(-50%); display: flex; }
.lp-visual .fa-phone img { height: 100%; width: auto; }
.lp-visual .fa-phone.is-placeholder { display: grid; place-items: center; width: calc(100% * 460 / 1000); max-width: 300px; aspect-ratio: 1197 / 2574; background: #121B27; }
.lp-visual .fa-phone.is-placeholder span { display: grid; place-items: center; width: 100%; height: 100%; padding: 24px; background: #E5E5E0; border-radius: 26px; font-size: 14px; font-weight: 600; color: var(--slate); text-align: center; }

.fa-also { position: relative; padding-block: 72px 24px; }
.fa-also::before { content: ""; position: absolute; top: 24px; left: 50%; width: min(320px, 60%); height: 1px; background: linear-gradient(90deg, transparent, #CFC9BC 25%, #CFC9BC 75%, transparent); transform: translateX(-50%); } /* The homepage hairline, between the four steps and this list. */
.fa-also h2 { max-width: 20ch; font-size: 30px; }
.fa-also-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 40px; margin-top: 24px; padding: 0; list-style: none; }
.fa-also-list li { display: flex; align-items: flex-start; gap: 12px; padding: 14px 0; border-top: 1px solid var(--line); font-size: 14px; line-height: 1.5; color: var(--body); }
/* A slight magnify on hover, like the pricing card. */
.fa-also-list li { transform-origin: left center; transition: transform .2s ease; }
@media (hover: hover) {
  .fa-also-list li:hover { transform: scale(1.03); }
}
.fa-also-list .icon { flex: none; width: 20px; height: 20px; margin-top: 1px; color: var(--teal); }
.fa-also-list strong { display: block; margin-bottom: 2px; font-size: 15px; color: var(--navy); }

/* How it connects: a sand card with four short columns. */
.fa-connects { padding-block: 48px 24px; }
.fa-connects-card { padding: 48px; background: var(--sand); border-radius: 20px; }
.fa-connects h2 { max-width: 20ch; font-size: 30px; }
.fa-connects-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; margin-top: 32px; }
.fa-connects-grid a, .fa-connects-grid div { display: flex; flex-direction: column; gap: 8px; font-size: 14.5px; line-height: 1.5; color: var(--body); }
.fa-connects-grid strong { font-size: 16px; color: var(--navy); }
.fa-connects-grid a:hover strong { color: var(--teal); }
.lp-mid { padding-block: 72px 96px; }

/* The accent underline draws left to right in one pass (see the Estimating page). */
.lp-hero .word-accent path { vector-effect: none; stroke-width: 4; }

@media (max-width: 960px) {
  .fa-also-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; }
  .fa-connects-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .lp-hero-visual.fa-hero-visual { min-height: 0; padding: 24px 0 36px; }
  .fa-hero-video { position: static; width: 118%; margin-left: -9%; transform: none; }
  .fa-hero-visual .lp-hero-note { position: static; margin-top: 8px; }
  .lp-visual .fa-phone { position: static; width: 240px; height: auto; margin: 0 auto; transform: none; }
  .lp-visual .fa-render { position: static; width: 260px; height: auto; margin: 0 auto; transform: none; display: block; }
  .lp-visual .fa-phone img { width: 100%; height: auto; }
  .lp-visual .fa-phone.is-placeholder { width: 240px; }
  .fa-also-list, .fa-connects-grid { grid-template-columns: 1fr; }
  .fa-connects-card { padding: 24px; }
  .lp-mid { padding-block: 48px 64px; }
}
