/* Haulstead landing page */
.lp { --lp-bg: #f1f3f2; --lp-ink: #17211d; --lp-line: #d3dbd7; --lp-accent: #1f5a43; background: var(--lp-bg); font-size: 16.5px; }
.wrap { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.lp .btn { min-height: 46px; padding: 0 20px; font-size: 15.5px; font-weight: 700; }
.lp h2 { font-size: clamp(27px, 3.2vw, 38px); font-weight: 800; line-height: 1.15; letter-spacing: -.015em; text-wrap: balance; }
.lp h3 { font-size: 18px; font-weight: 800; line-height: 1.3; }
.lp-top { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 70px; }
.lp-top > nav { display: flex; gap: 26px; margin-left: auto; }
.lp-top > nav a { color: var(--ink); font-weight: 600; text-decoration: none; }
.lp-top > nav a:hover { color: var(--accent); text-decoration: underline; text-underline-offset: 5px; }

.hero { padding-top: 40px; padding-bottom: 72px; }
.hero-copy { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 24px 56px; align-items: end; }
.hero h1 { font-size: clamp(34px, 4.4vw, 54px); font-weight: 800; line-height: 1.08; letter-spacing: -.025em; text-wrap: balance; }
.hero-copy p { color: var(--ink-2); font-size: 17.5px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.hero-shot { margin-top: 36px; padding: 8px; border-radius: 16px; background: var(--navy); box-shadow: 0 40px 70px -40px rgba(18, 39, 30, .65); }
.hero-shot img { display: block; width: 100%; height: auto; border-radius: 9px; }
.hero-phone { display: none; }

.band { padding: 72px 0; background: #fff; border-block: 1px solid var(--lp-line); }
.sec-head { display: grid; gap: 10px; }
.sec-head p { max-width: 62ch; color: var(--ink-2); }

/* The trip moving along the road. The truck only ever drives forward and faces the way it goes. */
.flow { position: relative; margin-top: 40px; }
.road { position: relative; height: 44px; }
.road-line { position: absolute; left: 10%; right: 10%; top: 50%; height: 16px; margin-top: -8px; border-radius: 8px; background: var(--navy) linear-gradient(90deg, #f3d77a 55%, transparent 55%) 0 50% / 20px 2px repeat-x; }
.road-truck { position: absolute; top: 50%; left: 70%; width: 66px; height: 36px; transform: translate(-50%, -50%); }
.road-truck svg { display: block; width: 100%; height: 100%; }
.road-truck rect, .road-truck path { fill: #f6c445; stroke: #12271e; stroke-width: 1.8; stroke-linejoin: round; }
.flow ol { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin-top: 6px; }
.flow li { display: flex; flex-direction: column; align-items: center; gap: 7px; padding: 0 10px; text-align: center; }
.flow li > i { width: 16px; height: 16px; border: 4px solid var(--accent); border-radius: 50%; background: #fff; }
.flow li p { color: var(--ink-2); font-size: 15px; line-height: 1.45; }
.flow li small { margin-top: auto; padding: 2px 9px; border-radius: 4px; background: var(--accent-tint); color: var(--accent-dark); font-size: 13px; font-weight: 700; }
@media (prefers-reduced-motion: no-preference) {
  .road-truck { animation: drive 12s ease-in-out infinite; }
  .flow li > i { animation: stop-on 12s linear infinite; animation-delay: calc(var(--i) * 2.2s); }
}
@keyframes drive {
  0% { left: 10%; opacity: 0; } 3%, 12% { left: 10%; opacity: 1; }
  18%, 30% { left: 30%; } 37%, 48% { left: 50%; } 55%, 66% { left: 70%; }
  73%, 93% { left: 90%; opacity: 1; } 97% { left: 90%; opacity: 0; } 98% { left: 10%; opacity: 0; } 100% { left: 10%; opacity: 0; }
}
@keyframes stop-on { 0%, 14% { background: #f6c445; transform: scale(1.35); } 18%, 100% { background: #fff; transform: none; } }

.checks-sec { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; align-items: center; padding-block: 80px; }
.checks-copy > p { margin-top: 12px; color: var(--ink-2); }
.checks-copy dl { margin: 22px 0; border-top: 1px solid var(--line-2); }
.checks-copy dl > div { padding: 11px 0 11px 18px; border-bottom: 1px solid var(--line-2); box-shadow: inset 4px 0 0 var(--accent); }
.checks-copy dt { font-weight: 800; }
.checks-copy dd { color: var(--ink-2); font-size: 15px; }
.shot { border: 1px solid var(--line-2); border-radius: 14px; overflow: hidden; background: #fff; box-shadow: 0 34px 60px -40px rgba(18, 39, 30, .6); }
.shot img { display: block; width: 100%; height: auto; }
@media (max-width: 600px) { .shot { width: min(380px, 100%); margin-inline: auto; padding: 10px 8px; } }

.role-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 36px; }
.role-grid article { display: flex; flex-direction: column; align-items: center; gap: 24px; padding: 24px 20px 28px; border: 1px solid var(--lp-line); border-radius: 14px; background: var(--lp-bg); }
.role-copy { display: flex; flex: 1; flex-direction: column; align-items: flex-start; gap: 8px; align-self: stretch; }
.role-copy p { flex: 1; color: var(--ink-2); font-size: 15.5px; }
.role-grid .dev { width: min(268px, 100%); }

.report-sec { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; align-items: center; padding-block: 80px; }
.report-sec p { margin-top: 12px; color: var(--ink-2); }
.report-sec .btn { margin-top: 20px; }
.chart-box { padding: 20px 22px; border: 1px solid var(--lp-line); border-radius: 14px; background: #fff; }
.chart-box figcaption { margin-bottom: 12px; font-weight: 800; }
.chart-box .xc { --xc-bar: #1f5a43; --xc-bar-hi: #12392a; --xc-tip: #12271e; --xc-hover: rgba(31, 90, 67, .07); --xc-label: 66px; --xc-value: 46px; }

.lp-qa { padding-block: 72px; border-top: 1px solid var(--lp-line); }
.lp-qa > div > p { color: var(--ink-2); }
.closing { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 22px 40px; padding: 40px 44px; border-radius: 16px; background: var(--navy); color: #fff; }
.closing p { max-width: 54ch; margin-top: 8px; color: #c3d4cb; }
.closing .hero-actions { margin: 0; }
.lp .closing .btn-primary { background: #fff; border-color: #fff; color: var(--navy); }
.closing .btn:not(.btn-primary) { background: transparent; border-color: #6e8a7d; color: #fff; }
.lp-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 30px; margin-top: 56px; padding-block: 22px 34px; border-top: 1px solid var(--lp-line); color: var(--ink-2); font-size: 14.5px; }
.lp-foot p { max-width: 70ch; }

@media (max-width: 980px) {
  .hero-copy, .checks-sec, .report-sec { grid-template-columns: minmax(0, 1fr); }
  .role-grid { grid-template-columns: minmax(0, 1fr); }
  .role-grid article { flex-direction: row; align-items: center; justify-content: space-between; }
  .role-grid .dev { margin: 0; width: min(240px, 46%); }
}
@media (max-width: 900px) {
  .lp-top > nav { display: none; margin: 0; }
  .lp-top .lp-open { margin-left: auto; }
}
@media (max-width: 760px) {
  /* The road runs down the page, so the truck turns to face down */
  .flow { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 12px; }
  .road { height: auto; }
  .road-line { left: 50%; right: auto; top: 14px; bottom: 14px; width: 16px; height: auto; margin: 0 0 0 -8px; background: var(--navy) linear-gradient(180deg, #f3d77a 55%, transparent 55%) 50% 0 / 2px 20px repeat-y; }
  .road-truck { left: 50%; top: 62%; width: 56px; height: 30px; transform: translate(-50%, -50%) rotate(90deg); }
  .flow ol { grid-template-columns: minmax(0, 1fr); grid-auto-rows: 1fr; margin: 0; }
  .flow li { position: relative; align-items: flex-start; justify-content: center; gap: 4px; padding: 12px 0; border-bottom: 1px solid var(--lp-line); text-align: left; }
  .flow li:last-child { border-bottom: 0; }
  .flow li > i { display: none; }
  .flow li small { margin-top: 2px; }
  @media (prefers-reduced-motion: no-preference) { .road-truck { animation-name: drive-down; } }
  .band, .checks-sec, .report-sec { padding-block: 52px; }
  .lp-qa { padding-block: 52px; }
  .closing { padding: 28px 22px; }
}
@keyframes drive-down {
  0% { top: 10%; opacity: 0; } 3%, 12% { top: 10%; opacity: 1; }
  18%, 30% { top: 30%; } 37%, 48% { top: 50%; } 55%, 66% { top: 70%; }
  73%, 93% { top: 90%; opacity: 1; } 97% { top: 90%; opacity: 0; } 98%, 100% { top: 10%; opacity: 0; }
}
@media (max-width: 640px) {
  .hero-shot { display: none; }
  .hero-phone { display: block; margin-top: 32px; }
  .hero { padding-top: 24px; padding-bottom: 48px; }
  .role-grid article { flex-direction: column; }
  .role-grid .dev { margin: 0 auto; width: min(260px, 100%); }
  .role-copy .btn { align-self: stretch; }
  .lp-top .lp-open { display: none; }
  .lp-top .lp-menu { margin-left: auto; }
  .hero-actions .btn { flex: 1 1 100%; }
}
