/* Search landing pages (/lead-retrieval-app, /pharma): built by landing-demo/build.py.
   The hero comes from hero.css + ps.css. This file styles the bands below it, in the /consulting page's palette
   (Jeff's .erx-sys tokens) so the pages read as one site. Everything is scoped under .erl. */
.erl, .erl * { box-sizing: border-box; }
html, body { overflow-x: clip; } /* stops the 100vw breakout from scrolling sideways; clip (not hidden) keeps the table's sticky header working */
.erl {
  --ink: #1A2535; --grey: #5B6472; --line: #DADFE6; --bg: #FFFFFF; --bg-alt: #F3F6FA;
  --blue: #146FA3; --blue-pale: #EAF1FC; --navy: #0B1B2E;
  width: 100vw; position: relative; left: 50%; margin-left: -50vw; /* full bleed out of Squarespace's column */
  font-family: 'Nunito Sans', sans-serif; color: var(--ink); -webkit-font-smoothing: antialiased;
}
.erl-band:not(.erl-dark) h2, .erl-band:not(.erl-dark) h3 { font-family: 'Manrope', sans-serif; color: var(--ink); letter-spacing: -.01em; }
/* .erl-dark holds the /pitchscore comparison block: it styles its own headings (light on dark), so these rules stay off it */
.erl a { color: var(--blue); }
.erl .er-cta { font-family: 'Manrope', sans-serif; }

/* Bands: one centred column each, alternating white and pale blue-grey */
.erl-band { padding: clamp(56px, 8vw, 96px) max(16px, calc((100vw - 1100px) / 2)); background: var(--bg); }
.erl-alt { background: var(--bg-alt); }
.erl-dark { background: #090D14; padding: 0 max(16px, calc((100vw - 1240px) / 2)); } /* the comparison block brings its own vertical padding */
.erl-head { max-width: 680px; margin: 0 auto 40px; text-align: center; }
.erl-eyebrow { font: 700 12px/1 'Manrope', sans-serif; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); margin: 0 0 14px; }
.erl-head h2 { font-size: clamp(26px, 3.4vw, 38px); line-height: 1.15; font-weight: 800; margin: 0 0 14px; }
.erl-lede { font-size: 17px; line-height: 1.6; color: var(--grey); margin: 0; }
.erl h2 .hl { font-style: normal; color: var(--blue); }

/* Cards: a short PITCH meter accent on top (no numbers: How it works right below is numbered) */
.erl-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.erl-card { position: relative; background: var(--bg); border: 1px solid var(--line); border-radius: 18px; padding: 28px 24px 26px;
  box-shadow: 0 18px 40px -30px rgba(11,27,46,.35); transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease; }
.erl-card:hover { transform: translateY(-3px); border-color: rgba(20,111,163,.4); box-shadow: 0 24px 48px -28px rgba(20,111,163,.45); }
.erl-card::before { content: ""; display: block; width: 56px; height: 6px; border-radius: 3px; margin: 0 0 20px;
  background: linear-gradient(90deg, #2A9FD8 0 30%, transparent 30% 35%, #6FC7EE 35% 65%, transparent 65% 70%, rgba(20,111,163,.18) 70%); }
.erl-alt .erl-card { background: #fff; }
.erl .erl-card h3 { font-size: 18px; font-weight: 800; margin: 0 0 10px; line-height: 1.3; }
.erl-card p { font-size: 15px; line-height: 1.6; color: var(--grey); margin: 0; }
.erl-links { text-align: center; margin: 32px 0 0; font-size: 15px; color: var(--grey); }
.erl-links a { font-weight: 700; text-decoration: none; }
.erl-links a:hover { text-decoration: underline; }

/* PITCH panels: the PITCH framework card's look (/pitchscore, pitch-def.html): navy grid panel, glowing numbers,
   segmented score meters. Used by the stats timeline, How it works, and the pharma scorecard. */
.erl-panel { --hi: #6FC7EE; --lo: #2A9FD8; --glow: rgba(111,199,238,.4); --soft: #B9C9D8;
  position: relative; overflow: hidden; border-radius: clamp(20px, 2.4vw, 28px); padding: clamp(24px, 3.4vw, 40px); color: #fff;
  background: radial-gradient(70% 90% at 88% -10%, rgba(42,159,216,.34), transparent 60%), radial-gradient(50% 70% at 0% 110%, rgba(20,111,163,.28), transparent 60%), linear-gradient(160deg, #10243A, #0b1420 70%);
  border: 1px solid rgba(111,199,238,.22); box-shadow: 0 40px 80px -40px rgba(11,20,32,.7); }
.erl-challenge { --hi: #F7C766; --lo: #E39A1E; --glow: rgba(244,181,60,.38);
  background: radial-gradient(70% 90% at 88% -10%, rgba(227,154,30,.26), transparent 60%), radial-gradient(50% 70% at 0% 110%, rgba(20,111,163,.22), transparent 60%), linear-gradient(160deg, #1C2333, #0b1420 70%);
  border-color: rgba(244,181,60,.24); }
.erl-panel::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(rgba(111,199,238,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(111,199,238,.07) 1px, transparent 1px);
  background-size: 44px 44px; -webkit-mask-image: linear-gradient(180deg, #000, transparent 85%); mask-image: linear-gradient(180deg, #000, transparent 85%); }
.erl-panel > * { position: relative; }
.erl-panel ul, .erl-panel ol { list-style: none; margin: 0; padding: 0; }
.erl .erl-panel li { padding: 0; margin: 0; } /* Squarespace's list styles otherwise eat the left padding */
.erl-band .erl-panel h3, .erl-panel strong { font-family: 'Manrope', sans-serif; color: #fff; }
.erl-panel-eyebrow { font: 800 12px/1.3 'Manrope', sans-serif; letter-spacing: .12em; text-transform: uppercase; color: var(--hi); margin: 0 0 24px; }
.erl-stat-n, .erl-stat-num, .erl-step-n, .erl-sc-l { font-family: 'Manrope', sans-serif; font-weight: 800; letter-spacing: -.04em; width: max-content;
  background: linear-gradient(115deg, #fff 0%, #fff 30%, var(--hi) 50%, #fff 70%, #fff 100%) 100% 0 / 300% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 0 18px var(--glow)); }
.erl-m { display: grid; grid-template-columns: repeat(var(--n, 10), 1fr); gap: 3px; margin: 14px 0 12px; }
.erl-m5 { --n: 5; } .erl-m4 { --n: 4; }
.erl-m i { height: 6px; border-radius: 3px; background: rgba(255,255,255,.12); }
.erl-m i.f { background: linear-gradient(90deg, var(--lo), var(--hi)); box-shadow: 0 0 8px var(--glow); }
.erl-stat-t, .erl-stat-line { font-size: 15px; line-height: 1.5; font-weight: 600; color: var(--soft); margin: 0; }
.erl a.erl-stat-src { display: inline-block; margin-top: 12px; font-size: 12px; color: #8FA6BC; text-decoration: underline; text-underline-offset: 2px; }
.erl a.erl-stat-src:hover { color: #fff; }
.erl-stat-closer { text-align: center; font: 700 clamp(18px, 2vw, 22px)/1.4 'Manrope', sans-serif; margin: 36px auto 0; max-width: 680px; }
.erl-stat-closer .hl { color: var(--blue); }

/* Stats (timeline): one story from the show floor to after the show, on a rail that turns blue to amber */
.erl-tl { max-width: 980px; margin: 0 auto; padding-left: clamp(52px, 6vw, 76px); }
.erl-tl::after { content: ""; position: absolute; left: clamp(26px, 3vw, 38px); top: 48px; bottom: 48px; width: 3px; border-radius: 2px;
  background: linear-gradient(180deg, #6FC7EE 0%, #2A9FD8 44%, #F7C766 56%, #E39A1E 100%); box-shadow: 0 0 14px rgba(111,199,238,.35); }
.erl-tl-g .erl-panel-eyebrow { margin-bottom: 18px; }
.erl-tl-g ol { display: grid; gap: 26px; grid-template-columns: repeat(3, 1fr); }
.erl-tl-g li { position: relative; }
.erl-tl-g > .erl-panel-eyebrow::before { content: ""; position: absolute; left: calc(clamp(26px, 3vw, 38px) - clamp(52px, 6vw, 76px) - 6px); top: -1px; width: 15px; height: 15px; border-radius: 50%;
  background: var(--hi); box-shadow: 0 0 0 5px rgba(255,255,255,.08), 0 0 16px var(--glow); }
.erl-tl-h { font: 800 17px/1.3 'Manrope', sans-serif; color: #fff; margin: 0 0 10px; }
.erl-tl .erl-stat-line { font-size: clamp(16px, 1.5vw, 18px); color: #E3ECF5; }
.erl-tl .erl-stat-num { display: block; font-size: clamp(48px, 5vw, 66px); line-height: .95; margin: 0 0 6px; }
.erl-tl-g.erl-challenge { background: none; border: 0; }
.erl-tl-end { margin: 30px 0; display: flex; align-items: center; gap: 14px; font: 800 12px/1 'Manrope', sans-serif; letter-spacing: .14em; text-transform: uppercase; color: #8FA6BC; }
.erl-tl-end::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, rgba(247,199,102,.5), transparent); }

/* How it works: one panel, step numbers that glow, a meter that fills step by step */
.erl-flow { max-width: 1100px; margin: 0 auto; }
.erl-steps { display: grid; gap: clamp(20px, 2.6vw, 32px); grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.erl-step-n { display: block; font-size: clamp(52px, 5vw, 72px); line-height: .85; }
.erl-flow .erl-m { margin: 16px 0 16px; }
.erl-band .erl-flow h3 { font-size: 19px; font-weight: 800; margin: 0 0 8px; }
.erl-flow p { font-size: 15px; line-height: 1.55; font-weight: 600; color: var(--soft); margin: 0; }

/* Pharma scorecard: the five PITCH slots with a team's swaps, beside the app's library of 25 */
.erl-sc { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); }
.erl-sc-l { font-size: 30px; line-height: 1; }
.erl-sc-own { padding-left: clamp(0px, 3vw, 40px); border-left: 1px solid rgba(111,199,238,.16); }
.erl-note { font-size: 13px; color: var(--grey); margin: 20px 0 0; }
.erl-panel .erl-note { color: #8FA6BC; }
.erl-center { text-align: center; }
.erl-slots { display: grid; gap: 10px; }
.erl .erl-slots > li { display: grid; grid-template-columns: 40px 1fr auto; align-items: center; gap: 14px; padding: 12px 16px !important; border-radius: 14px;
  background: rgba(255,255,255,.03); border: 1px solid rgba(111,199,238,.12); }
.erl .erl-slots > li.erl-swapped { background: rgba(111,199,238,.10); border-color: rgba(111,199,238,.4); box-shadow: 0 0 22px -8px rgba(111,199,238,.5); }
.erl-slots strong { display: block; font: 800 16px/1.2 'Manrope', sans-serif; }
.erl-slots div span { display: block; font-size: 13.5px; line-height: 1.4; color: var(--soft); font-weight: 600; margin-top: 3px; }
.erl-slots em { font: 700 11px/1.2 'Manrope', sans-serif; font-style: normal; letter-spacing: .06em; text-transform: uppercase; color: #8FA6BC; text-align: right; }
.erl-swapped em { color: var(--hi); }
.erl-lib { display: flex; flex-wrap: wrap; gap: 8px; }
.erl .erl-lib li { padding: 7px 12px !important; /* Squarespace's list padding outranks ours */ border-radius: 999px; font: 700 12.5px/1.2 'Manrope', sans-serif; color: #7F95AA; border: 1px solid rgba(111,199,238,.16); }
.erl .erl-lib li.on { color: #0b1420; background: linear-gradient(135deg, #6FC7EE, #2A9FD8); border-color: transparent; box-shadow: 0 0 16px rgba(111,199,238,.45); }
/* Reveal (with JS): items rise in turn, numbers sweep, meters fill like a live score */
.erl-js li > * { opacity: 0; transform: translateY(14px); transition: opacity .8s ease, transform 1s cubic-bezier(.2,.7,.2,1); }
.erl-js .erl-m i.f { transform: scaleX(0); transform-origin: left; transition: transform .45s cubic-bezier(.2,.7,.2,1) .5s; }
.erl-js.on li > *, .erl-js.on .erl-m i.f { opacity: 1; transform: none; }
.erl-js.on :is(.erl-stat-n, .erl-stat-num, .erl-step-n, .erl-sc-l) { animation: erl-sweep 1.6s ease forwards; }
@keyframes erl-sweep { from { background-position: 100% 0; } to { background-position: 0 0; } }
.erl-js.on li:nth-child(2) > * { transition-delay: .15s; } .erl-js.on li:nth-child(3) > * { transition-delay: .3s; }
.erl-js.on li:nth-child(4) > * { transition-delay: .45s; } .erl-js.on li:nth-child(5) > * { transition-delay: .6s; }
.erl-js.on .erl-challenge li > * { transition-delay: .35s; } .erl-js.on .erl-challenge li:nth-child(2) > * { transition-delay: .5s; } .erl-js.on .erl-challenge li:nth-child(3) > * { transition-delay: .65s; }
@media (prefers-reduced-motion: reduce) { .erl-js li > *, .erl-js .erl-m i.f { opacity: 1; transform: none; transition: none; }
  .erl-js.on :is(.erl-stat-n, .erl-stat-num, .erl-step-n, .erl-sc-l) { animation: none; background-position: 0 0; } }

/* Tablets and phones */
@media (max-width: 1100px) {
  .erl-tl-g ol { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .erl-sc { grid-template-columns: 1fr; }
  .erl-sc-own { padding-left: 0; border-left: 0; border-top: 1px solid rgba(111,199,238,.16); padding-top: 24px; }
  .erl .erl-slots > li { grid-template-columns: 34px 1fr; } .erl-slots em { grid-column: 2; text-align: left; }
}

/* Rental vs app */
.erl-vs { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); max-width: 900px; margin: 0 auto; }
.erl-vs-col { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 28px; }
.erl-vs-us { border: 2px solid var(--blue); }
.erl-vs-col h3 { font-size: 20px; margin: 0 0 8px; }
.erl-vs-col > p { color: var(--grey); font-size: 15px; line-height: 1.6; margin: 0 0 16px; }
.erl-vs-col ul { margin: 0; padding-left: 20px; list-style: disc; }
.erl-vs-col li { font-size: 15px; line-height: 1.6; margin: 6px 0; }

/* FAQ */
.erl-faq { max-width: 780px; margin: 0 auto; }
.erl-faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.erl-faq summary { cursor: pointer; list-style: none; font: 700 17px/1.4 'Manrope', sans-serif; display: flex; justify-content: space-between; gap: 16px; }
.erl-faq summary::-webkit-details-marker { display: none; }
.erl-faq summary::after { content: '+'; color: var(--blue); font-size: 22px; line-height: 1; }
.erl-faq details[open] summary::after { content: '\2212'; }
.erl-faq details p { font-size: 16px; line-height: 1.65; color: var(--grey); margin: 12px 0 0; }

/* Closing CTA */
.erl-cta { background: var(--navy); text-align: center;
  /* hero.css button tokens, which otherwise live only on .er-hero */
  --display: 'Manrope', sans-serif; --brand: #146FA3; --brand-light: #6FC7EE; --brand-ink: #17324A; --cta-h: 48px; }
.erl-band.erl-cta h2 { color: #fff; font-size: clamp(26px, 3.4vw, 38px); font-weight: 800; margin: 0 0 12px; }
.erl-cta h2 .hl { color: #7CC4F0; }
.erl-cta p { color: #C9D4E2; font-size: 17px; margin: 0 0 28px; }
.erl-cta .er-ctas { justify-content: center; align-items: center; gap: 12px; }
