/* ──────────────────────────────────────────────────────────────────────────
   lr-pages.css — shared components for /full-service and /budget.

   The design for these two pages came out of Claude Design as one file with
   351 inline style attributes and no classes. This is that design expressed
   as a stylesheet, so the markup stays readable and the two pages share one
   source of truth. Every value resolves against a token already defined in
   site.css; nothing new is introduced here.

   Prefix: .lrp-  (letsreach pages)
   ────────────────────────────────────────────────────────────────────────── */

/* ─── Shared scaffolding ─────────────────────────────────────────────── */
.lrp-wrap { max-width: var(--lr-max); margin: 0 auto; padding: 0 var(--lr-gutter); }
/* --lr-section-y is 144px a side, which doubles to a 288px gap between
   sections. That reads as a hole on a page with seven of them, so these
   pages run a touch tighter: ~208px, matching the homepage's rhythm. */
.lrp-sec { padding-block: clamp(56px, 7.2vw, 104px); }
.lrp-sec--top { border-top: 1px solid var(--lr-line); }
.lrp-sec--sunk { background: var(--lr-black-2); }
.lrp-sec--tight { padding-block: clamp(40px, 5vw, 72px) clamp(56px, 7.2vw, 104px); }

.lrp-eyebrow {
  display: block;
  font-size: 13px; font-weight: 600; letter-spacing: 0.05em;
  text-transform: uppercase; color: var(--lr-blue-soft);
  margin-bottom: 20px;
}
.lrp-eyebrow--rule {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 700; margin-bottom: 32px;
}
.lrp-eyebrow--rule::before { content: ""; width: 40px; height: 1px; background: var(--lr-blue); }
.lrp-eyebrow--mute { color: var(--lr-fg-2); margin-bottom: 0; }

.lrp-h2 {
  font-family: var(--lr-font-display); font-weight: 700;
  font-size: var(--lr-display-lg); line-height: 1.05;
  letter-spacing: -0.025em; margin: 0; text-wrap: balance;
}
.lrp-lead {
  font-size: var(--lr-lead); line-height: 1.55;
  color: var(--lr-fg-2); max-width: 44ch; margin: 0;
}
/* Section header: title left, supporting line right, stacking on narrow. */
.lrp-head {
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 24px 32px; flex-wrap: wrap; margin-bottom: 56px;
}
/* Was --lr-fg-3, which measured 3.45:1 on the dark canvas and failed AA.
   Blue reads as a deliberate index rather than washed-out grey. */
.lrp-num {
  font-family: var(--lr-font-mono); font-size: 12px;
  letter-spacing: 0.08em; color: var(--lr-blue-soft);
  font-feature-settings: 'tnum';
}

/* ─── Buttons ────────────────────────────────────────────────────────── */
.lrp-btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--lr-font-text); font-size: 15px; font-weight: 600;
  padding: 16px 28px; border-radius: 9999px;
  border: 1px solid transparent; cursor: pointer;
  text-decoration: none; white-space: nowrap;
  transition: background 200ms ease, border-color 200ms ease, transform 200ms ease;
}
.lrp-btn--sm { padding: 12px 22px; }
.lrp-btn--primary {
  background: var(--lr-blue); color: #FFFFFF;
  box-shadow: 0 1px 0 rgba(255,255,255,0.18) inset, 0 10px 30px -10px var(--lr-blue-glow);
}
.lrp-btn--primary:hover { background: var(--lr-blue-dark); color: #FFFFFF; transform: translateY(-1px); }
.lrp-btn--ghost { border-color: var(--lr-line); color: var(--lr-fg-1); background: transparent; }
.lrp-btn--ghost:hover { background: var(--lr-card-tint); border-color: var(--lr-fg-3); color: var(--lr-fg-1); }
/* Page-level primary. Deliberately not blue: the nav CTA is already blue
   and two of them on one screen compete instead of ranking. --lr-fg-1 on
   --lr-bg flips with the theme, so it stays the highest-contrast thing in
   the hero in both. */
.lrp-btn--invert { background: var(--lr-fg-1); color: var(--lr-bg); }
.lrp-btn--invert:hover { background: var(--lr-fg-2); color: var(--lr-bg); transform: translateY(-1px); }
/* Secondary beside it, outlined a step darker so the pair reads as a pair. */
.lrp-btn--ghost-strong { border-color: var(--lr-fg-3); color: var(--lr-fg-1); background: transparent; }
.lrp-btn--ghost-strong:hover { background: var(--lr-card-tint); border-color: var(--lr-fg-1); color: var(--lr-fg-1); }
.lrp-btn--light { background: #FFFFFF; color: #050507; }
.lrp-btn--light:hover { background: #E8EAF3; color: #050507; transform: translateY(-1px); }
.lrp-btn--back {
  background: none; border: 0; padding: 0; margin-bottom: 28px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.05em;
  text-transform: uppercase; color: var(--lr-blue-soft);
}
.lrp-btn--back:hover { color: var(--lr-fg-1); }
.lrp-btn svg { flex: none; }
.lrp-btn--back svg { transform: rotate(180deg); }
@media (prefers-reduced-motion: reduce) { .lrp-btn { transition: none; } .lrp-btn:hover { transform: none; } }

/* ─── Hero ───────────────────────────────────────────────────────────── */
.lrp-hero {
  position: relative; overflow: hidden;
  border-bottom: 1px solid var(--lr-line);
  padding: clamp(56px, 7vw, 112px) 0 clamp(48px, 6vw, 88px);
}
.lrp-hero--est { padding: clamp(64px, 8vw, 120px) 0 clamp(40px, 5vw, 72px); }
.lrp-hero::before, .lrp-hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; }
/* Faint graph paper, faded out at the edges. */
.lrp-hero::before {
  background-image:
    linear-gradient(to right, var(--lr-grid-line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--lr-grid-line) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(circle at 50% 30%, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(circle at 50% 30%, black 20%, transparent 70%);
}
.lrp-hero::after {
  background:
    radial-gradient(circle at 15% 0%, var(--lr-hero-scrim-a), transparent 55%),
    radial-gradient(circle at 90% 100%, var(--lr-hero-scrim-b), transparent 50%);
}
.lrp-hero--est::before { display: none; }
.lrp-hero-inner { position: relative; }

.lrp-h1 {
  font-family: var(--lr-font-display); font-weight: 800;
  font-size: clamp(40px, 7.4vw, 116px); letter-spacing: -0.028em;
  line-height: 0.98; margin: 0 0 40px; color: var(--lr-fg-1);
  text-transform: uppercase; text-wrap: balance; max-width: 14ch;
}
.lrp-h1--plain {
  font-weight: 700; font-size: var(--lr-display-xl);
  line-height: var(--lr-lh-display); letter-spacing: -0.03em;
  text-transform: none; margin: 0 0 24px; max-width: 16ch;
}
.lrp-h1 .lrp-accent, .lrp-h1--plain .lrp-accent { color: var(--lr-blue); }
/* The showreel still sitting inside the headline. */
.lrp-h1-chip {
  display: inline-block; vertical-align: middle; position: relative; top: -0.08em;
  margin: 0 0.15em; width: clamp(110px, 11vw, 180px); aspect-ratio: 16/10;
  border-radius: 12px; overflow: hidden; border: 1px solid var(--lr-line);
  box-shadow: var(--lr-shadow-chip); transform: rotate(3deg);
}
.lrp-h1-chip img,
.lrp-h1-chip video { width: 100%; height: 100%; object-fit: cover; display: block; }
.lrp-hero-sub {
  font-size: clamp(16px, 1.4vw, 19px); color: var(--lr-fg-2);
  max-width: 54ch; margin: 0 0 40px; line-height: 1.55;
}
.lrp-hero-sub--est { font-size: var(--lr-lead); max-width: 56ch; margin: 0; }
.lrp-hero-cta { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }

/* ─── Logo marquee ───────────────────────────────────────────────────
   site.css carries the per-logo sizing, the theme filter and the Hungry
   Minds dual asset, but the TRACK layout and the animation live in the
   homepage's own inline <style>. Without these the two duplicated sets
   stack into two rows instead of scrolling as one line, so they are
   repeated here verbatim for the pages that reuse the markup. */
.marquee-section {
  padding: clamp(64px, 7vw, 96px) 0;
  border-bottom: 1px solid var(--lr-line);
  background: var(--lr-bg);
  overflow: hidden;
}
.marquee-label {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-bottom: 32px;
  color: var(--lr-fg-2);
  font-family: var(--lr-font-text);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.marquee-track {
  display: flex;
  align-items: center;
  width: max-content;
  white-space: nowrap;
  /* Pace is PER LOGO, not per loop. The loop always travels exactly one full
     set, so a hardcoded duration speeds the whole reel up every time a brand
     is added: 12 logos at the original 32s ran 34% faster than the 9-logo
     design it was tuned for. Bump --logo-count when you add a logo and the
     pace stays where it was. 3.55s x 9 = the original 32s. */
  --logo-count: 13;
  animation: marquee calc(var(--logo-count) * 3.55s) linear infinite;
}
.marquee-logos .marquee-item {
  margin-right: clamp(40px, 5vw, 72px);
  flex-shrink: 0;
}
.marquee-item {
  margin-right: clamp(40px, 5vw, 72px);
  flex-shrink: 0;
}
@keyframes marquee { to { transform: translateX(-50%); } }
/* The reel is the one motion we keep under reduce-motion: it carries no
   information, and a frozen strip reads as a broken image. */
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: marquee calc(var(--logo-count) * 3.55s) linear infinite !important; }
}

/* ─── Four steps ─────────────────────────────────────────────────────── */
.lrp-steps {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  border-top: 1px solid var(--lr-line); border-left: 1px solid var(--lr-line);
}
.lrp-step {
  padding: 40px 32px 44px; min-height: 300px;
  border-right: 1px solid var(--lr-line); border-bottom: 1px solid var(--lr-line);
  display: flex; flex-direction: column; gap: 16px;
  transition: background 200ms ease;
}
.lrp-step:hover { background: var(--lr-cell-hover); }
.lrp-step-top { display: flex; justify-content: space-between; align-items: center; height: 28px; }
.lrp-tag {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px; border-radius: 9999px;
  background: var(--lr-card-tint); border: 1px solid var(--lr-line);
  font-size: 12px; font-weight: 600; letter-spacing: 0.04em;
  text-transform: uppercase; color: var(--lr-fg-2);
}
.lrp-tag::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--lr-blue); }
.lrp-step h3 {
  font-family: var(--lr-font-display); font-weight: 600; font-size: 22px;
  line-height: 1.15; letter-spacing: -0.015em; margin: 24px 0 0;
}
.lrp-step p { font-size: 15px; line-height: 1.6; color: var(--lr-fg-2); margin: 0; }

/* ─── Case studies ───────────────────────────────────────────────────── */
.lrp-cs-nav { display: flex; align-items: center; gap: 12px; }
.lrp-cs-nav .lrp-num { margin-right: 8px; }
.lrp-round {
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--lr-line); background: transparent;
  color: var(--lr-fg-1); display: grid; place-items: center;
  cursor: pointer; padding: 0; transition: background 200ms ease, border-color 200ms ease;
}
.lrp-round:hover { border-color: var(--lr-fg-3); background: var(--lr-card-tint); }
.lrp-round--prev svg { transform: rotate(180deg); }
.lrp-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.lrp-cs-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: clamp(32px, 5vw, 80px); align-items: center;
}
.lrp-cs-media {
  position: relative; aspect-ratio: 4/3; border-radius: 16px;
  overflow: hidden; border: 1px solid var(--lr-line); background: var(--lr-black-3);
}
.lrp-cs-media img.lrp-cs-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.lrp-cs-media .lrp-cs-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(5,5,7,0) 40%, rgba(5,5,7,0.55) 75%, rgba(5,5,7,0.92) 100%);
}
.lrp-cs-pill {
  position: absolute; left: 24px; bottom: 24px;
  display: inline-flex; padding: 6px 14px; border-radius: 9999px;
  background: rgba(5,5,7,0.55); border: 1px solid rgba(255,255,255,0.2);
  font-size: 12px; font-weight: 600; letter-spacing: 0.04em;
  text-transform: uppercase; color: #FFFFFF;
}
.lrp-cs-title {
  font-family: var(--lr-font-display); font-weight: 700;
  font-size: var(--lr-display-md); line-height: 1.1;
  letter-spacing: -0.02em; margin: 0 0 20px; text-wrap: balance;
}
/* Reserved height stops the layout jumping as you page through. */
.lrp-cs-desc { font-size: 17px; line-height: 1.6; color: var(--lr-fg-2); margin: 0 0 36px; max-width: 48ch; min-height: 4.8em; }
.lrp-cs-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--lr-line); }
.lrp-cs-stat { padding: 24px 16px 0 0; border-right: 1px solid var(--lr-line); }
.lrp-cs-stat + .lrp-cs-stat { padding: 24px 0 0 24px; border-right: 0; }
.lrp-cs-stat b {
  display: block; font-family: var(--lr-font-display); font-weight: 700;
  font-size: clamp(26px, 3vw, 40px); letter-spacing: -0.03em; font-feature-settings: 'tnum';
}
.lrp-cs-stat span {
  display: block; margin-top: 8px; font-size: 13px; font-weight: 500;
  letter-spacing: 0.04em; text-transform: uppercase; color: var(--lr-fg-2);
}
.lrp-cs-link { margin-top: 40px; }

/* ─── Pills (shared by case tabs and estimator controls) ─────────────── */
.lrp-pill {
  padding: 12px 20px; border-radius: 9999px;
  border: 1px solid var(--lr-line); background: transparent; color: var(--lr-fg-1);
  font-family: var(--lr-font-text); font-size: 15px; font-weight: 500;
  cursor: pointer; transition: background 200ms ease, border-color 200ms ease, color 200ms ease;
}
.lrp-pill--sm { padding: 10px 18px; font-size: 14px; }
.lrp-pill:hover { border-color: var(--lr-fg-3); }
.lrp-pill[aria-pressed="true"] { background: var(--lr-fg-1); color: var(--lr-bg); border-color: var(--lr-fg-1); }
@media (prefers-reduced-motion: reduce) { .lrp-pill, .lrp-step, .lrp-round { transition: none; } }

/* ─── Cost: the sentence that rewrites itself ────────────────────────── */
/* Deep blue rather than near-black, so the money section reads as one
   surface with the result card on /budget and holds in both themes. */
.lrp-cost {
  border: 1px solid var(--lr-line); border-radius: 24px;
  background: var(--lr-blue-ink); overflow: hidden;
}
.lrp-cost .lrp-sentence { color: rgba(255,255,255,0.68); }
.lrp-cost .lrp-sentence b { color: #FFFFFF; border-bottom-color: rgba(255,255,255,0.22); }
.lrp-cost .lrp-stepper { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.18); }
.lrp-cost .lrp-stepper button { color: #FFFFFF; border-color: rgba(255,255,255,0.22); }
.lrp-cost .lrp-stepper button:hover:not(:disabled) { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.4); }
.lrp-cost .lrp-stepper output { color: #FFFFFF; }
.lrp-cost .lrp-cost-foot { background: rgba(255,255,255,0.05); border-top-color: rgba(255,255,255,0.14); }
.lrp-cost .lrp-cost-foot p { color: rgba(255,255,255,0.72); }
.lrp-cost .lrp-cost-foot .lrp-btn--ghost { color: #FFFFFF; border-color: rgba(255,255,255,0.3); }
.lrp-cost .lrp-cost-foot .lrp-btn--ghost:hover { background: rgba(255,255,255,0.1); border-color: #FFFFFF; color: #FFFFFF; }
.lrp-cost-body { padding: clamp(28px, 4.4vw, 72px); }
.lrp-sentence {
  margin: 0; font-family: var(--lr-font-display); font-weight: 700;
  font-size: clamp(26px, 3.4vw, 50px); line-height: 1.32;
  letter-spacing: -0.03em; color: var(--lr-fg-2);
  text-wrap: pretty; max-width: 26ch;
}
.lrp-sentence b {
  font-weight: inherit; color: var(--lr-fg-1);
  border-bottom: 2px solid var(--lr-line); font-feature-settings: 'tnum';
  /* A value is one unit. Without this, "2 to 9" breaks across lines. */
  white-space: nowrap;
}
/* At display sizes the tight tracking welds the underlined values to the
   words either side. Loosened from 768px up, which is where the sentence
   actually runs long. Below that the type is small enough that the default
   reads fine, and loosening there only costs a line of height.
   Margin not padding on the values: padding would stretch the underline. */
@media (min-width: 768px) {
  .lrp-sentence { letter-spacing: -0.012em; }
  .lrp-sentence b { margin: 0 0.06em; }
}
.lrp-stepper {
  display: inline-flex; align-items: center; gap: 4px; vertical-align: middle;
  padding: 4px; border: 1px solid var(--lr-line); border-radius: 9999px;
  background: var(--lr-bg); position: relative; top: -0.06em;
}
.lrp-stepper button {
  width: 44px; height: 44px; flex: none; border-radius: 50%;
  border: 1px solid var(--lr-line); background: transparent;
  color: var(--lr-fg-1); display: grid; place-items: center;
  cursor: pointer; padding: 0; transition: background 200ms ease, border-color 200ms ease;
}
.lrp-stepper button:hover:not(:disabled) { border-color: var(--lr-blue-soft); background: var(--lr-card-tint); }
.lrp-stepper button:disabled { opacity: 0.35; cursor: default; }
.lrp-stepper output {
  color: var(--lr-fg-1); padding: 0 10px; font-size: 0.86em;
  font-feature-settings: 'tnum'; min-width: 5.2ch; text-align: center;
}
.lrp-cost-foot {
  padding: 24px clamp(24px, 3.4vw, 48px); border-top: 1px solid var(--lr-line);
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center;
  gap: 16px 32px; background: var(--lr-card-tint);
}
.lrp-cost-foot p { margin: 0; font-size: 14px; line-height: 1.6; color: var(--lr-fg-2); max-width: 72ch; }
.lrp-cost-split {
  margin: 28px 0 0; font-size: 16px; line-height: 1.6;
  color: rgba(255,255,255,0.72); max-width: none; text-wrap: nowrap;
}
.lrp-cost-split b { color: #FFFFFF; font-weight: 600; font-feature-settings: 'tnum'; }

/* ─── FAQ ────────────────────────────────────────────────────────────── */
.lrp-faq-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
  gap: 48px clamp(40px, 6vw, 96px); align-items: start;
}
.lrp-faq { border-top: 1px solid var(--lr-line); }
.lrp-faq-item { border-bottom: 1px solid var(--lr-line); }
.lrp-faq-q {
  width: 100%; display: flex; justify-content: space-between; align-items: center;
  gap: 24px; padding: 28px 0; background: transparent; border: 0; cursor: pointer;
  text-align: left; font-family: var(--lr-font-display); font-weight: 600;
  font-size: clamp(18px, 1.8vw, 22px); letter-spacing: -0.02em;
  line-height: 1.25; color: var(--lr-fg-1);
}
.lrp-faq-icon {
  flex: none; width: 32px; height: 32px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid var(--lr-line); background: transparent; color: var(--lr-fg-2);
  transition: transform 240ms cubic-bezier(0.22, 1, 0.36, 1), background 240ms ease, border-color 240ms ease, color 240ms ease;
}
.lrp-faq-q[aria-expanded="true"] .lrp-faq-icon {
  transform: rotate(45deg); background: var(--lr-blue);
  border-color: var(--lr-blue); color: #FFFFFF;
}
.lrp-faq-a { margin: 0 0 28px; font-size: 16px; line-height: 1.65; color: var(--lr-fg-2); max-width: 64ch; }
.lrp-faq-a[hidden] { display: none; }
@media (prefers-reduced-motion: reduce) { .lrp-faq-icon { transition: none; } }

/* ─── Estimator ──────────────────────────────────────────────────────── */
.lrp-est {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 420px);
  grid-template-areas: "budget out" "rest out";
  grid-template-rows: auto 1fr;
  column-gap: clamp(28px, 4vw, 72px); row-gap: 0;
  align-items: start;
}
.lrp-est-budget { grid-area: budget; min-width: 0; border-top: 1px solid var(--lr-line); }
.lrp-est-rest { grid-area: rest; min-width: 0; }
/* Both classes sit on this element and .lrp-out sets position: relative for
   its ::before glow, so the compound selector is what makes sticky hold. */
.lrp-est-out { grid-area: out; min-width: 0; }
.lrp-est-out.lrp-out { position: sticky; top: 104px; }
@media (max-width: 1000px) {
  .lrp-est {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "budget" "out" "rest";
    grid-template-rows: auto auto auto;
    row-gap: 32px;
  }
  .lrp-est-out.lrp-out { position: static; }
}
/* Numbered control rows, 01 through 04. */
.lrp-est-row {
  padding: clamp(28px, 3vw, 40px) 0; border-bottom: 1px solid var(--lr-line);
  display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 0 16px;
}
.lrp-est-row > .lrp-num { padding-top: 8px; }
.lrp-est-body { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.lrp-est-body h3 {
  margin: 0; font-family: var(--lr-font-display); font-weight: 600;
  font-size: clamp(20px, 2vw, 26px); letter-spacing: -0.02em; line-height: 1.2;
}
.lrp-est-amount { display: flex; flex-direction: column; gap: 6px; }
.lrp-est-amount b {
  font-family: var(--lr-font-display); font-weight: 700;
  font-size: clamp(40px, 5vw, 64px); line-height: 1;
  letter-spacing: -0.035em; font-feature-settings: 'tnum';
}
.lrp-est-amount span {
  font-size: 13px; font-weight: 600; letter-spacing: 0.05em;
  text-transform: uppercase; color: var(--lr-blue-soft);
}
.lrp-pills { display: flex; flex-wrap: wrap; gap: 10px; }
.lrp-est-note { margin: 0; font-size: 14px; line-height: 1.6; color: var(--lr-fg-2); }
.lrp-est-mix { margin: 24px 0 0; font-size: 13px; line-height: 1.6; color: var(--lr-fg-2); }

/* ── Range: the value-thumb style from the design system ─────────────
   A transparent native input sits over custom layers, which is what lets
   the handle carry real grip bars. The input keeps full keyboard and
   pointer behaviour and a 44px target, well over the 24px WCAG 2.5.8 asks.
   Geometry is taken from the design file, not approximated. */
.lrp-range-wrap { position: relative; padding-top: 8px; }
.lrp-range-rail {
  position: relative; height: 44px; border-radius: 9999px;
  outline: none; outline-offset: 4px;
}
.lrp-range-rail:has(.lrp-range:focus-visible) { outline: 2px solid var(--lr-blue); }
/* 8px track with the filled portion inside it */
.lrp-range-track {
  position: absolute; left: 0; right: 0; top: 50%; height: 8px; margin-top: -4px;
  border-radius: 9999px; background: var(--lr-line); pointer-events: none;
}
.lrp-range-fill {
  height: 100%; border-radius: 9999px; background: var(--lr-blue);
  transition: width 200ms cubic-bezier(0.22, 1, 0.36, 1);
}
/* Stop dots, inset by half the thumb width so the ends line up */
.lrp-range-notches {
  position: absolute; left: 11px; right: 11px; top: 50%; height: 0; pointer-events: none;
}
.lrp-range-notches i {
  position: absolute; top: -2px; width: 4px; height: 4px; margin-left: -2px;
  border-radius: 50%; background: var(--lr-fg-3);
}
.lrp-range-notches i.on { background: rgba(255,255,255,0.55); }
/* The handle: a pill carrying three grip bars */
.lrp-range-thumb {
  position: absolute; top: 50%; transform: translate(-50%, -50%);
  width: 52px; height: 30px; border-radius: 9999px; background: var(--lr-blue);
  display: flex; align-items: center; justify-content: center; gap: 4px;
  pointer-events: none;
  box-shadow: 0 0 0 4px var(--lr-bg), 0 1px 0 rgba(255,255,255,0.18) inset,
              0 10px 30px -10px var(--lr-blue-glow);
  transition: left 200ms cubic-bezier(0.22, 1, 0.36, 1);
}
.lrp-range-thumb span { width: 2px; height: 12px; border-radius: 2px; background: rgba(255,255,255,0.75); }
/* The real control, invisible, on top */
.lrp-range {
  position: absolute; inset: 0; width: 100%; height: 100%;
  margin: 0; opacity: 0; cursor: pointer;
  -webkit-appearance: none; appearance: none;
}
@media (prefers-reduced-motion: reduce) {
  .lrp-range-fill, .lrp-range-thumb { transition: none; }
}
.lrp-ticks { position: relative; height: 30px; margin-top: -8px; }
.lrp-ticks button {
  position: absolute; top: 0; white-space: nowrap;
  background: none; border: 0; cursor: pointer; padding: 6px 2px;
  font-family: var(--lr-font-mono); font-size: 12px; color: var(--lr-fg-2);
}
.lrp-ticks button:hover { color: var(--lr-fg-1); }

/* The result card: deep blue, holds its own contrast in both themes. */
.lrp-out {
  position: relative; overflow: hidden;
  background: var(--lr-blue-ink); color: #FFFFFF;
  border-radius: 24px; padding: clamp(28px, 3.4vw, 48px);
  container-type: inline-size;
}
.lrp-out::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(circle at 80% 0%, rgba(27,75,255,0.45), transparent 60%);
}
.lrp-out-inner { position: relative; }
.lrp-out-label { font-size: 13px; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; color: rgba(255,255,255,0.75); }
.lrp-out-big {
  margin-top: 20px; font-family: var(--lr-font-display); font-weight: 800;
  font-size: clamp(44px, 22cqi, 112px); line-height: 0.92;
  letter-spacing: -0.045em; color: #FFFFFF; white-space: nowrap;
  font-feature-settings: 'tnum';
}
.lrp-out-sub { margin: 12px 0 32px; font-size: 15px; color: rgba(255,255,255,0.75); }
.lrp-out-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.lrp-out-cell { padding: 20px 20px 20px 0; border-top: 1px solid rgba(255,255,255,0.15); }
.lrp-out-cell:nth-child(odd) { border-right: 1px solid rgba(255,255,255,0.15); }
.lrp-out-cell:nth-child(even) { padding-left: 20px; padding-right: 0; }
.lrp-out-cell .k { font-size: 13px; font-weight: 500; letter-spacing: 0.04em; text-transform: uppercase; color: rgba(255,255,255,0.7); }
.lrp-out-cell .v {
  margin-top: 8px; font-family: var(--lr-font-display); font-weight: 700;
  font-size: clamp(20px, 2vw, 26px); color: #FFFFFF; font-feature-settings: 'tnum';
}
.lrp-out-cell .s { margin-top: 4px; font-size: 12px; color: rgba(255,255,255,0.6); }
.lrp-out .lrp-btn { margin-top: 32px; }

/* ─── Method grid ────────────────────────────────────────────────────── */
.lrp-method {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  border-top: 1px solid var(--lr-line); border-left: 1px solid var(--lr-line);
}
.lrp-method > div { padding: 32px; border-right: 1px solid var(--lr-line); border-bottom: 1px solid var(--lr-line); }
.lrp-method h3 {
  font-family: var(--lr-font-display); font-weight: 600; font-size: 18px;
  letter-spacing: -0.015em; line-height: 1.25; margin: 0 0 12px;
}
.lrp-method p { margin: 0; font-size: 14px; line-height: 1.65; color: var(--lr-fg-2); }


/* ─── Format cards ──────────────────────────────────────────────────
   Carried over from the standalone /services page when it was folded
   into this one. Lives here rather than an inline block so the merged
   page keeps a single stylesheet. */
/* ─── Services grid ─── */
  .svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--lr-line);
  border-bottom: 1px solid var(--lr-line);
  }
.svc-card {
  padding: 48px 36px;
  border-right: 1px solid var(--lr-line);
  border-bottom: 1px solid var(--lr-line);
  position: relative;
  display: flex; flex-direction: column;
  min-height: 420px;
  transition: background var(--lr-dur) var(--lr-ease);
  }
.svc-grid > .svc-card:nth-child(3n) { border-right: 0; }
.svc-grid > .svc-card:nth-last-child(-n+3) { border-bottom: 0; }
.svc-card:hover { background: var(--lr-cell-hover); }
.svc-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 32px; }
.svc-num { font-family: var(--lr-font-text); font-size: 13px; font-weight: 700; letter-spacing: 0.04em; color: var(--lr-blue-soft); }
.svc-icon {
  width: 56px; height: 56px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--lr-line);
  border-radius: var(--lr-r-md);
  color: var(--lr-blue-soft);
  }
.svc-icon svg { width: 28px; height: 28px; }
.svc-title { font-family: var(--lr-font-display); font-weight: 700; font-size: 28px; letter-spacing: -0.02em; line-height: 1.1; margin: 0 0 16px; color: var(--lr-fg-1); }
.svc-desc { color: var(--lr-fg-2); font-size: 15px; line-height: 1.6; margin: 0 0 28px; }
.svc-bullets { list-style: none; padding: 0; margin: auto 0 0; border-top: 1px solid var(--lr-line-soft); padding-top: 20px; }
.svc-bullets li { font-family: var(--lr-font-text); font-size: 12px; font-weight: 600; letter-spacing: 0.02em; text-transform: uppercase; color: var(--lr-fg-2); padding: 8px 0; display: flex; gap: 12px; align-items: center; }
.svc-bullets li::before { content: ''; width: 6px; height: 6px; background: var(--lr-blue); border-radius: 50%; flex-shrink: 0; }
@media (max-width: 960px) {
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .svc-grid > .svc-card:nth-child(3n) { border-right: 1px solid var(--lr-line); }
  .svc-grid > .svc-card:nth-child(2n) { border-right: 0; }
  .svc-grid > .svc-card:nth-last-child(-n+3) { border-bottom: 1px solid var(--lr-line); }
  .svc-grid > .svc-card:nth-last-child(-n+2) { border-bottom: 0; }
  }
@media (max-width: 600px) {
  .svc-grid { grid-template-columns: 1fr; }
  .svc-grid > .svc-card { border-right: 0 !important; min-height: auto; }
  }
/* ─── Service info panels ─── */
  .svc-info-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 22px; height: 22px;
  border-radius: 50%;
  border: 1px solid var(--lr-line);
  background: transparent;
  color: var(--lr-fg-3);
  font-size: 12px; font-style: italic; font-weight: 700;
  cursor: pointer;
  transition: all var(--lr-dur) var(--lr-ease);
  flex-shrink: 0;
  margin-top: 12px;
  }
.svc-info-btn:hover, .svc-info-btn[aria-expanded="true"] {
  border-color: var(--lr-blue); background: var(--lr-blue); color: #FFFFFF;
  }
.svc-info-panel {
  display: none;
  padding: 14px 18px;
  background: rgb(var(--lr-blue-rgb) / 0.06);
  border: 1px solid rgb(var(--lr-blue-rgb) / 0.2);
  border-radius: var(--lr-r-sm);
  color: var(--lr-fg-2);
  font-size: 14px;
  line-height: 1.65;
  margin-top: 12px;
  }
.svc-info-panel.open { display: block; }
