/* Bidmoor landing page */
:root { --lp-bg: #fff; --lp-line: #dcdfe2; --lp-accent: #74492b; --lp-ink: #1c1e21; }
.lp-body { background: var(--bg); font-size: 16.5px; line-height: 1.6; overflow-x: clip; }
.wrap { width: min(1160px, 100% - 40px); margin-inline: auto; }
h1, h2 { font-family: var(--head); font-weight: 600; text-wrap: balance; }
h2 { font-size: clamp(30px, 3.6vw, 44px); line-height: 1.12; }
h3 { font: 600 21px/1.25 var(--head); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 22px; width: auto; margin: 0; padding: 12px max(20px, calc((100% - 1160px) / 2)); }
.nav nav { display: flex; gap: 8px; margin-left: auto; }
.nav nav a { padding: 8px 11px; border-radius: var(--radius); color: var(--ink-2); font-size: 15px; font-weight: 500; text-decoration: none; }
.nav nav a:hover { background: var(--accent-tint); color: var(--accent-dark); }
.lp-body .btn { min-height: 46px; padding: 0 20px; font-size: 15.5px; }
.lp-body .nav-cta { min-height: 42px; }
.hero { padding: 48px 0 56px; background: #fff; border-bottom: 1px solid var(--line); }
.hero-copy { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 18px 56px; align-items: end; }
.hero h1 { font-size: clamp(36px, 5vw, 60px); line-height: 1.06; }
.hero-copy p { color: var(--ink-2); font-size: 18px; }
.hero-act { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.hero-shot { position: relative; margin-top: 38px; padding: 0 70px 0 0; }
.win { overflow: hidden; border: 1px solid #b9bec4; border-radius: 12px; background: #fff; box-shadow: 0 40px 60px -40px rgba(20, 22, 26, .55); }
.win-bar { display: flex; gap: 6px; padding: 10px 14px; background: #e6e8ea; }
.win-bar i { width: 10px; height: 10px; border-radius: 99px; background: #b9bec4; }
.win img { display: block; width: 100%; height: auto; }
.hero-phone { position: absolute; right: 0; bottom: 22px; width: 218px; }
.hero-phone .dev { width: 100%; padding: 7px; border-radius: 40px; }
.hero-phone .dev-screen { border-radius: 33px; }
.hero-phone .dev-status { height: 28px; padding: 0 16px 0 20px; font-size: 10.5px; }
.hero-phone .dev-island { top: 6px; height: 16px; }
.hero-phone .dev-sig { transform: scale(.8); transform-origin: right; }
.hero-shot figcaption { margin-top: 28px; color: var(--ink-2); font-size: 13.5px; }

.band { padding: 80px 0; }
.band-white { background: #fff; border-block: 1px solid var(--line); }
.band-head { max-width: 1160px; }
.band-head h2 { max-width: 22ch; }
.band-head p { max-width: 64ch; margin-top: 12px; color: var(--ink-2); }

/* The two routes */
.routes { display: grid; gap: 18px; margin-top: 34px; }
.route { padding: 20px 24px 24px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg); }
.route > header { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.route header p { color: var(--ink-2); font-size: 14px; }
.route dl { display: flex; gap: 28px; }
.route dt { color: var(--ink-2); font-size: 13px; }
.route dd { margin: 0; font: 600 22px/1.2 var(--head); font-variant-numeric: lining-nums tabular-nums; }
.route ol { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin-top: 20px; }
.route li { position: relative; display: grid; justify-items: start; align-content: start; padding-right: 16px; line-height: 1.4; }
.route li > span { position: relative; z-index: 1; display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 10px; border: 2px solid var(--accent); border-radius: 99px; background: #fff; color: var(--accent); }
.route li:not(:last-child)::before, .route li:not(:last-child)::after { content: ""; position: absolute; top: 21px; left: 44px; right: 0; height: 3px; background: var(--line-2); }
.route li:not(:last-child)::after { background: var(--accent); }
.route li strong { font-size: 15.5px; }
.route li small { color: var(--ink-2); font-size: 13.5px; }
.route li.is-hold > span { border-color: #8a6400; background: var(--wait-tint); color: #5c4200; }
.route li.is-skip > span { border-style: dashed; border-color: var(--line-2); color: var(--ink-2); }
/* A quote travels its route: each stop lights up in turn and the line fills behind it. The held quote waits at the director. */
@media (prefers-reduced-motion: no-preference) {
  .lp-js .route.in li > span, .lp-js .routes.in li > span { animation: stop 9s infinite both; }
  .lp-js .routes.in li:not(:last-child)::after { transform-origin: left; animation: fill 9s infinite both; }
  .routes li:nth-child(2) > span, .routes li:nth-child(2)::after { animation-delay: .9s !important; }
  .routes li:nth-child(3) > span, .routes li:nth-child(3)::after { animation-delay: 1.8s !important; }
  .routes li:nth-child(4) > span, .routes li:nth-child(4)::after { animation-delay: 2.7s !important; }
  .routes li:nth-child(5) > span { animation-delay: 3.6s !important; }
  .routes .is-held li:nth-child(4) > span { animation-delay: 4.5s !important; }
  .routes .is-held li:nth-child(5) > span { animation-delay: 5.4s !important; }
  .routes .is-held li:nth-child(4)::after { animation-delay: 4.5s !important; }
  .lp-js .routes.in .is-held li:nth-child(3)::after { animation-name: fill-held; animation-delay: 1.8s !important; }
}
@keyframes stop { 0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(116, 73, 43, .5); } 4% { transform: scale(1.14); } 12%, 100% { transform: scale(1); box-shadow: 0 0 0 12px rgba(116, 73, 43, 0); } }
@keyframes fill { 0% { transform: scaleX(0); } 10%, 94% { transform: scaleX(1); opacity: 1; } 100% { transform: scaleX(1); opacity: 0; } }
@keyframes fill-held { 0%, 20% { transform: scaleX(0); } 30%, 94% { transform: scaleX(1); opacity: 1; } 100% { transform: scaleX(1); opacity: 0; } }
.after { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin-top: 38px; }
.after li { padding-top: 16px; border-top: 3px solid var(--accent); }
.after p { margin-top: 6px; color: var(--ink-2); font-size: 15.5px; }

.roles-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 34px; margin-top: 40px; }
.roles-grid li { display: flex; flex-direction: column; align-items: center; text-align: center; }
.roles-grid h3 { margin-top: 22px; font-size: 24px; }
.roles-grid p { max-width: 34ch; margin: 6px 0 16px; color: var(--ink-2); font-size: 15.5px; }
.roles-grid .btn { margin-top: auto; }

.graphs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 34px; }
.graph { padding: 20px 22px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.graph h3 { margin-bottom: 14px; }
.xc { --xc-bar: #74492b; --xc-bar-hi: #593620; --xc-grid: #e5e7e9; --xc-base: #a9aeb4; --xc-hover: rgba(116, 73, 43, .08); --xc-label: minmax(96px, 150px); }
.lp-qa h2 { font-size: clamp(28px, 3vw, 38px); }
.lp-qa > div > p, .lp-qa details p { color: var(--ink-2); }

.foot { padding: 64px 0 28px; background: var(--navy); color: #fff; }
.foot-call { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px 40px; padding-bottom: 40px; border-bottom: 1px solid #45484d; }
.foot-call div p { margin-top: 8px; color: #c9ccd1; }
.foot-call > p { display: flex; flex-wrap: wrap; gap: 10px; }
.foot .btn:not(.btn-primary) { background: transparent; border-color: #7b8087; color: #fff; }
.foot .btn-primary { background: #fff; border-color: #fff; color: var(--accent-dark); }
.foot-note { margin-top: 22px; color: #b9bdc3; font-size: 13.5px; }
.foot-note a { color: #fff; }

@media (max-width: 900px) {
  .nav nav { display: none; }
  .nav { gap: 10px; }
  .nav .nav-cta { margin-left: auto; }
  .hero-copy, .graphs, .after, .roles-grid { grid-template-columns: minmax(0, 1fr); }
  .roles-grid { gap: 52px; }
  .route ol { grid-template-columns: minmax(0, 1fr); }
  .route li { grid-template-columns: 44px minmax(0, 1fr); column-gap: 14px; padding: 0 0 22px; }
  .route li:last-child { padding-bottom: 0; }
  .route li > span { grid-row: 1 / span 2; margin: 0; }
  .route li[class] > span { grid-row: 1 / span 2; }
  .route li strong { align-self: end; }
  .route li:not(:last-child)::before, .route li:not(:last-child)::after { top: 44px; bottom: 0; left: 21px; right: auto; width: 3px; height: auto; }
  .route li.is-skip > span .icon { transform: rotate(90deg); }
}
@media (max-width: 900px) and (prefers-reduced-motion: no-preference) {
  .lp-js .routes.in li:not(:last-child)::after { transform-origin: top; animation-name: fill-down; }
  .lp-js .routes.in .is-held li:nth-child(3)::after { animation-name: fill-down-held; }
}
@keyframes fill-down { 0% { transform: scaleY(0); } 10%, 94% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }
@keyframes fill-down-held { 0%, 20% { transform: scaleY(0); } 30%, 94% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }
@media (max-width: 760px) {
  .band { padding: 54px 0; }
  .hero { padding: 26px 0 40px; }
  .hero-shot { padding: 0; margin-top: 30px; }
  .hero-shot .win { display: none; }
  .hero-phone { position: static; width: min(280px, 100%); margin: 0 auto; }
  .hero-phone .dev { padding: 9px; border-radius: 50px; }
  .hero-phone .dev-screen { border-radius: 42px; }
  .hero-phone .dev-status { height: 36px; padding: 2px 20px 0 27px; font-size: 12.5px; }
  .hero-phone .dev-island { top: 8px; height: 21px; }
  .hero-shot figcaption { margin-top: 18px; text-align: center; }
  .route { padding: 16px; }
  .graph { padding: 16px 12px; }
  .xc { --xc-label: minmax(76px, 104px); --xc-value: 58px; }
  .nav .brand { font-size: 21px; }
  .lp-body .nav-cta { padding: 0 12px; font-size: 14px; }
  .xc-ticks b, .xc-axisname { font-size: 12px; }
}
@media (max-width: 360px) { .nav .nav-cta { display: none; } .lp-js .lp-menu { margin-left: auto; } }
/* The phone sits beside the window, so neither picture covers the other */
@media (min-width: 761px) {
  .hero-shot { display: grid; grid-template-columns: minmax(0, 1fr) 216px; gap: 0 24px; align-items: end; padding: 0; }
  .hero-phone { position: static; }
  .hero-shot figcaption { grid-column: 1 / -1; margin-top: 18px; }
}
@media (min-width: 761px) and (max-width: 900px) { .hero-shot { grid-template-columns: minmax(0, 1fr) 168px; gap: 0 14px; } .hero-phone { width: 168px; } .hero-phone .dev-status { font-size: 9px; } .hero-phone .dev-sig { display: none; } }
.lp-body .dev-screen { background: linear-gradient(#232526 50%, #fff 50%); }
