/* ==========================================================================
   RoofLeadHQ — Homepage sections (Phase 1, 2026-09-24)
   Builds on public.css. Every selector is scoped under `.rl`.
   Motion states live at the bottom and only apply under html.rl-motion.
   ========================================================================== */

/* -------------------------------------------------------------- shared -- */
.rl .section-head { max-width: 820px; margin-bottom: clamp(40px, 5vw, 64px); }
.rl .section-head .eyebrow { margin-bottom: 18px; }
.rl .section-head .lead { margin-top: 20px; }
.rl .section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.rl .section-head--center .eyebrow { justify-content: center; }
.rl .section-head--center .lead { margin-left: auto; margin-right: auto; }
.rl .checks li, .rl .ticks li { position: relative; padding-left: 30px; margin-top: 12px; }
.rl .checks li::before, .rl .ticks li::before { content: ""; position: absolute; left: 0; top: 0.42em; width: 16px; height: 9px; border-left: 2.5px solid var(--rl-green); border-bottom: 2.5px solid var(--rl-green); transform: rotate(-45deg); }
.rl .ticks li::before { border-color: var(--rl-copper); }

/* ================================================================ HERO === */
.rl .hero { position: relative; overflow: hidden; padding: clamp(56px, 8vw, 112px) 0 clamp(64px, 8vw, 120px); background:
    radial-gradient(900px 480px at 85% 10%, rgba(10, 114, 185, 0.18), transparent 60%),
    linear-gradient(180deg, #070E22 0%, #0A1330 100%); }
.rl .hero__grid-lines { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px); background-size: 64px 64px; -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,0.9), transparent 85%); mask-image: linear-gradient(180deg, rgba(0,0,0,0.9), transparent 85%); pointer-events: none; }
.rl .hero__inner { position: relative; display: grid; gap: 56px; align-items: center; }
.rl .hero .eyebrow { margin-bottom: 24px; }
.rl .hero h1 { max-width: 15ch; }
.rl .hero__lead { margin-top: 26px; color: var(--rl-on-dark-2); max-width: 58ch; }
.rl .hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.rl .hero__assure { margin-top: 26px; font-size: 15px; font-weight: 600; color: #fff; letter-spacing: 0.01em; padding-left: 14px; border-left: 2px solid var(--rl-copper); max-width: 52ch; }
@media (min-width: 1024px) { .rl .hero__inner { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 64px; } }

/* Hero workflow illustration */
.rl .hero-flow { margin: 0; background: linear-gradient(180deg, rgba(22, 34, 61, 0.92), rgba(16, 26, 50, 0.92)); border: 1px solid var(--rl-line-dark); border-radius: var(--rl-radius-lg); padding: 22px; box-shadow: var(--rl-shadow-dark); color: var(--rl-on-dark); }
.rl .hero-flow__head { display: flex; justify-content: space-between; align-items: center; font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--rl-on-dark-2); }
.rl .hero-flow__tag { border: 1px solid var(--rl-line-dark); border-radius: 999px; padding: 3px 10px; font-size: 11px; letter-spacing: 0.08em; }
.rl .hero-flow__sources { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 18px; }
.rl .hero-flow__src { display: grid; justify-items: center; gap: 4px; padding: 14px 8px; background: rgba(255,255,255,0.04); border: 1px solid var(--rl-line-dark); border-radius: var(--rl-radius); text-align: center; }
.rl .hero-flow__src svg { width: 22px; height: 22px; color: var(--rl-copper); }
.rl .hero-flow__src span { font-weight: 700; font-size: 15px; color: #fff; }
.rl .hero-flow__src small { font-size: 12px; color: var(--rl-on-dark-2); }
.rl .hero-flow__merge svg { width: 100%; height: 44px; }
.rl .hero-flow__path { fill: none; stroke: rgba(217, 126, 31, 0.75); stroke-width: 1.6; stroke-dasharray: 4 5; vector-effect: non-scaling-stroke; }
.rl .hero-flow__core { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 14px; border-radius: var(--rl-radius); background: #0B1430; border: 1px solid rgba(217, 126, 31, 0.55); box-shadow: 0 0 0 4px rgba(217, 126, 31, 0.08); font-family: var(--rl-display); font-weight: 800; font-size: 18px; color: #fff; }
.rl .hero-flow__core img { width: 28px; height: 28px; }
.rl .hero-flow__track { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); position: relative; }
.rl .hero-flow__track::before { content: ""; position: absolute; left: 12.5%; right: 12.5%; top: 9px; height: 2px; background: var(--rl-green-on-dark); opacity: 0.7; transform-origin: left center; }
.rl .hero-flow__track li { position: relative; display: grid; justify-items: center; gap: 8px; text-align: center; }
.rl .hero-flow__track .dot { width: 20px; height: 20px; border-radius: 50%; background: var(--rl-navy); border: 2px solid var(--rl-green-on-dark); box-shadow: inset 0 0 0 4px var(--rl-navy); background-color: var(--rl-green-on-dark); z-index: 1; }
.rl .hero-flow__track .lbl { font-size: 12px; font-weight: 600; color: var(--rl-on-dark-2); line-height: 1.25; }
.rl .hero-flow__track .is-final .lbl { color: var(--rl-green-on-dark); font-weight: 700; }

/* ============================================================= PROBLEM === */
.rl .problem { display: grid; gap: 48px; }
.rl .problem__main .eyebrow { margin-bottom: 18px; }
.rl .problem__main .lead { margin-top: 22px; }
.rl .problem__answer { margin-top: 30px; padding: 22px 24px; background: var(--rl-paper); border: 1px solid var(--rl-line); border-left: 3px solid var(--rl-copper); border-radius: var(--rl-radius); max-width: 62ch; }
.rl .problem__answer p:first-child { font-size: 18px; color: var(--rl-ink); font-weight: 600; line-height: 1.55; }
.rl .problem__note { margin-top: 10px; font-size: 14px; color: var(--rl-muted); }
.rl .problem__support { margin-top: 22px; font-weight: 700; color: var(--rl-ink); }
.rl .problem__second { align-self: start; padding: 30px 28px; border-top: 3px solid var(--rl-ink); background: var(--rl-paper); border-radius: 0 0 var(--rl-radius) var(--rl-radius); box-shadow: var(--rl-shadow); }
.rl .problem__num { font-family: var(--rl-display); font-weight: 800; font-size: 14px; color: var(--rl-copper-text); letter-spacing: 0.1em; margin-bottom: 10px; }
.rl .problem__second h3 { margin-bottom: 14px; }
.rl .problem__qs { margin-top: 18px; border-top: 1px solid var(--rl-line); }
.rl .problem__qs li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--rl-line); font-size: 15px; font-weight: 600; color: var(--rl-ink); }
.rl .problem__qs li::after { content: "?"; font-family: var(--rl-display); font-weight: 800; color: var(--rl-amber); font-size: 16px; }
.rl .bridge { margin-top: clamp(56px, 7vw, 96px); padding-top: clamp(40px, 5vw, 56px); border-top: 1px solid var(--rl-line); display: grid; gap: 18px; }
.rl .bridge__big { font-family: var(--rl-display); font-weight: 800; font-size: clamp(30px, 3.6vw, 46px); color: var(--rl-ink); letter-spacing: -0.02em; line-height: 1.08; }
@media (min-width: 960px) {
  .rl .problem { grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.9fr); gap: 72px; }
  .rl .bridge { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); align-items: end; gap: 56px; }
}

/* ============================================================= JOURNEY === */
.rl .journey-section { background: linear-gradient(180deg, var(--rl-navy), #0A142D); }
.rl .journey { position: relative; }
.rl .journey__phase { display: none; }
.rl .journey__steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; position: relative; }
/* Mobile / default: vertical journey */
.rl .journey__steps::before { content: ""; position: absolute; left: 21px; top: 22px; bottom: 22px; width: 2px; background: linear-gradient(180deg, var(--rl-copper) 0%, var(--rl-copper) 78%, var(--rl-green-on-dark) 100%); opacity: 0.8; transform-origin: top center; }
.rl .journey__step { position: relative; padding: 0 0 34px 68px; }
.rl .journey__step:last-child { padding-bottom: 0; }
.rl .journey__node { position: absolute; left: 0; top: 0; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-family: var(--rl-display); font-weight: 800; font-size: 17px; background: var(--rl-copper); color: var(--rl-copper-ink); box-shadow: 0 0 0 6px var(--rl-navy); }
.rl .journey__step--after .journey__node { background: var(--rl-green-on-dark); color: #06231A; }
.rl .journey__step h3 { font-size: 21px; margin: 9px 0 8px; }
.rl .journey__step p { color: var(--rl-on-dark-2); font-size: 16px; max-width: 58ch; }
.rl .journey__step--after { margin-top: 10px; padding-top: 24px; border-top: 1px dashed rgba(79, 211, 154, 0.35); }
.rl .journey__step--after::before { content: "After the inspection"; position: absolute; top: -12px; left: 68px; background: var(--rl-navy); padding: 0 10px 0 0; font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--rl-green-on-dark); }
.rl .journey__step--after .journey__node { top: 24px; }
.rl .journey__token { display: none; }
@media (min-width: 1080px) {
  /* Desktop: one horizontal connected path */
  .rl .journey { padding-top: 40px; }
  .rl .journey__phase { display: block; position: absolute; top: 0; font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
  .rl .journey__phase--before { left: 0; right: calc(100% / 6 + 12px); color: var(--rl-copper); border-bottom: 1px solid rgba(217, 126, 31, 0.4); padding-bottom: 8px; }
  .rl .journey__phase--after { right: 0; width: calc(100% / 6 - 12px); color: var(--rl-green-on-dark); border-bottom: 1px solid rgba(79, 211, 154, 0.4); padding-bottom: 8px; }
  .rl .journey__steps { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 24px; padding-top: 30px; }
  .rl .journey__steps::before { left: 22px; right: auto; top: 52px; bottom: auto; width: calc((100% - 120px) * 5 / 6 + 120px); height: 2px; background: linear-gradient(90deg, var(--rl-copper) 0%, var(--rl-copper) 82%, var(--rl-green-on-dark) 100%); transform-origin: left center; }
  .rl .journey__step { padding: 0; }
  .rl .journey__node { position: relative; margin-bottom: 18px; }
  .rl .journey__step h3 { margin-top: 0; font-size: 19px; }
  .rl .journey__step p { font-size: 15px; }
  .rl .journey__step--after { margin-top: 0; padding-top: 0; border-top: 0; }
  .rl .journey__step--after::before { display: none; }
  .rl .journey__step--after .journey__node { top: 0; }
  .rl .journey__token { display: block; position: absolute; left: 0; right: 0; top: 92px; height: 0; pointer-events: none; }
  .rl .journey__token span { position: absolute; left: 15px; top: -7px; width: 14px; height: 14px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 5px rgba(255,255,255,0.14); opacity: 0; }
}

/* ================================================================ DEMO === */
.rl .demo-head { display: grid; gap: 22px; margin-bottom: clamp(36px, 5vw, 56px); }
.rl .demo-head .eyebrow { margin-bottom: 18px; }
@media (min-width: 960px) { .rl .demo-head { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); align-items: end; gap: 56px; } }
.rl .demo { display: grid; gap: 22px; }
@media (min-width: 900px) { .rl .demo { grid-template-columns: 1fr 1fr; } }
.rl .demo-card { display: flex; flex-direction: column; padding: clamp(24px, 3vw, 36px); border: 1px solid var(--rl-line-cool); border-radius: var(--rl-radius-lg); background: var(--rl-paper); transition: border-color var(--rl-t-comp) var(--rl-ease), box-shadow var(--rl-t-comp) var(--rl-ease); }
.rl .demo-card:hover, .rl .demo-card:focus-within, .rl .demo-card.is-active { border-color: rgba(217, 126, 31, 0.6); box-shadow: var(--rl-shadow); }
.rl .demo-card__top { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.rl .demo-card__icon { width: 46px; height: 46px; border-radius: var(--rl-radius); display: grid; place-items: center; background: var(--rl-midnight); color: var(--rl-copper); }
.rl .demo-card__icon svg { width: 22px; height: 22px; }
.rl .demo-card > p { color: var(--rl-body); }
.rl .demo-states { list-style: none; padding: 0; margin: 22px 0 26px; border-top: 1px solid var(--rl-line-cool); }
.rl .demo-states li { display: grid; grid-template-columns: 118px 1fr; align-items: center; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--rl-line-cool); font-size: 15px; color: var(--rl-body); }
.rl .demo-thread { margin: 22px 0 26px; padding: 18px; background: var(--rl-mist); border-radius: var(--rl-radius); display: grid; gap: 10px; }
.rl .demo-thread__label { font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--rl-muted); }
.rl .bubble { max-width: 88%; padding: 10px 14px; border-radius: 12px; font-size: 15px; line-height: 1.45; }
.rl .bubble--in { background: var(--rl-paper); border: 1px solid var(--rl-line-cool); color: var(--rl-ink); justify-self: start; border-bottom-left-radius: 4px; }
.rl .bubble--out { background: var(--rl-midnight); color: #fff; justify-self: end; border-bottom-right-radius: 4px; }
.rl .demo-card__cta { margin-top: auto; align-self: flex-start; }
.rl .demo-card__num { margin-top: 10px; font-size: 14px; color: var(--rl-muted); font-variant-numeric: tabular-nums; }
.rl .demo-foot { margin-top: 36px; display: grid; gap: 10px; }
.rl .demo-foot__line { font-family: var(--rl-display); font-weight: 700; font-size: 20px; color: var(--rl-ink); }
.rl .demo-foot__note { font-size: 14px; color: var(--rl-muted); }
.rl .demo-foot .text-link { margin-top: 8px; justify-self: start; }

/* ============================================================ FEATURES === */
.rl .features { display: grid; gap: 0; border-top: 2px solid var(--rl-ink); }
.rl .features__col { padding: 28px 0; border-bottom: 1px solid var(--rl-line); }
.rl .features__stage { display: flex; align-items: baseline; gap: 12px; font-family: var(--rl-display); font-weight: 800; font-size: 28px; color: var(--rl-ink); margin-bottom: 16px; letter-spacing: -0.02em; }
.rl .features__stage span { font-size: 13px; color: var(--rl-copper-text); letter-spacing: 0.1em; }
.rl .features__col li { position: relative; padding: 10px 0 10px 22px; border-top: 1px solid var(--rl-line); font-size: 16px; color: var(--rl-ink); font-weight: 500; }
.rl .features__col li::before { content: ""; position: absolute; left: 2px; top: 1.05em; width: 8px; height: 8px; border-radius: 2px; background: var(--rl-copper); }
@media (min-width: 900px) {
  .rl .features { grid-template-columns: repeat(3, 1fr); }
  .rl .features__col { padding: 32px 32px 32px 0; border-bottom: 0; }
  .rl .features__col + .features__col { padding-left: 32px; border-left: 1px solid var(--rl-line); }
}
.rl .inventory { margin-top: 36px; border: 1px solid var(--rl-line); border-radius: var(--rl-radius); background: var(--rl-paper); }
.rl .inventory summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 60px; padding: 0 24px; cursor: pointer; font-weight: 700; font-size: 17px; color: var(--rl-ink); list-style: none; }
.rl .inventory summary::-webkit-details-marker { display: none; }
.rl .inventory summary span { border-bottom: 2px solid var(--rl-copper); }
.rl .inventory summary svg { transition: transform var(--rl-t-comp) var(--rl-ease); }
.rl .inventory[open] summary svg { transform: rotate(180deg); }
.rl .inventory__grid { display: grid; gap: 28px; padding: 8px 24px 28px; border-top: 1px solid var(--rl-line); }
.rl .inventory__grid h3 { font-size: 20px; margin: 20px 0 6px; }
.rl .inventory dt { font-weight: 700; color: var(--rl-ink); margin-top: 14px; font-size: 15px; }
.rl .inventory dd { margin: 4px 0 0; font-size: 15px; color: var(--rl-body); }
@media (min-width: 900px) { .rl .inventory__grid { grid-template-columns: repeat(3, 1fr); gap: 36px; } }
.rl .features__role { margin-top: 40px; max-width: 70ch; font-size: 19px; line-height: 1.55; color: var(--rl-ink); font-weight: 500; padding-left: 18px; border-left: 3px solid var(--rl-copper); }

/* =========================================================== DASHBOARD === */
.rl .dash-section { background: radial-gradient(1000px 500px at 15% 0%, rgba(10, 114, 185, 0.14), transparent 60%), var(--rl-midnight); }
.rl .dash-head { display: grid; gap: 22px; margin-bottom: clamp(36px, 5vw, 56px); }
.rl .dash-head .eyebrow { margin-bottom: 18px; }
@media (min-width: 960px) { .rl .dash-head { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); align-items: end; gap: 56px; } }
.rl .dash { margin: 0; background: #0E1834; border: 1px solid var(--rl-line-dark); border-radius: var(--rl-radius-lg); box-shadow: var(--rl-shadow-dark); overflow: hidden; color: var(--rl-on-dark); }
.rl .dash__chrome { display: flex; align-items: center; gap: 14px; padding: 12px 18px; border-bottom: 1px solid var(--rl-line-dark); background: #0B142D; font-size: 13px; }
.rl .dash__dots { display: inline-flex; gap: 6px; }
.rl .dash__dots i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,0.18); }
.rl .dash__title { font-weight: 700; color: #fff; }
.rl .dash__sample { margin-left: auto; font-size: 12px; font-weight: 600; color: var(--rl-amber-on-dark); border: 1px solid rgba(242, 190, 69, 0.35); border-radius: 999px; padding: 3px 10px; white-space: nowrap; }
.rl .dash__kpis { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--rl-line-dark); border-bottom: 1px solid var(--rl-line-dark); }
.rl .kpi { background: #0E1834; padding: 16px 18px; display: grid; gap: 4px; }
.rl .kpi__v { font-family: var(--rl-display); font-weight: 800; font-size: 28px; color: #fff; line-height: 1; }
.rl .kpi__l { font-size: 12.5px; color: var(--rl-on-dark-2); line-height: 1.3; }
.rl .kpi--attn .kpi__v { color: var(--rl-amber-on-dark); }
.rl .kpi:last-child { grid-column: span 2; }
@media (min-width: 760px) { .rl .dash__kpis { grid-template-columns: repeat(5, 1fr); } .rl .kpi:last-child { grid-column: auto; } }
.rl .dash__body { display: grid; gap: 1px; background: var(--rl-line-dark); }
.rl .dash__panel { background: #0E1834; padding: 18px; min-width: 0; }
.rl .dash__ph { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 12px; }
.rl .dash__ph h3 { font-family: var(--rl-sans); font-size: 15px; font-weight: 700; color: #fff; letter-spacing: 0; }
.rl .dash__ph span { font-size: 11.5px; color: var(--rl-on-dark-2); opacity: 0.8; }
.rl .dash__table { display: grid; font-size: 13.5px; }
.rl .dash__tr { display: grid; grid-template-columns: 1.1fr 1.4fr 0.8fr 0.8fr 0.7fr; gap: 10px; align-items: center; padding: 10px 0; border-top: 1px solid var(--rl-line-dark); color: var(--rl-on-dark); }
.rl .dash__tr--head { font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--rl-on-dark-2); border-top: 0; padding-top: 0; }
.rl .dash__tr--appt { grid-template-columns: 1.4fr 0.9fr 1.3fr; }
.rl .dash__tr em { display: block; font-style: normal; font-size: 12px; color: var(--rl-on-dark-2); }
.rl .dash__act { font-weight: 700; color: var(--rl-copper); }
.rl .dash__swap { position: relative; display: inline-grid; }
.rl .dash__swap > * { grid-area: 1 / 1; justify-self: start; }
.rl .dash__before { visibility: hidden; }            /* static default = the finished state */
.rl .dash__live { border-radius: 4px; }
.rl .fup { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.rl .fup div { display: grid; gap: 2px; }
.rl .fup span { font-family: var(--rl-display); font-weight: 800; font-size: 24px; color: #fff; line-height: 1.1; }
.rl .fup small { font-size: 12px; color: var(--rl-on-dark-2); }
.rl .pif { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--rl-line-dark); }
.rl .pif__t { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--rl-on-dark-2); margin-bottom: 8px; }
.rl .pif__row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; align-items: center; font-size: 13.5px; }
.rl .dash__next { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; padding: 14px 18px; border-top: 1px solid var(--rl-line-dark); background: rgba(217, 126, 31, 0.08); }
.rl .dash__next-k { font-size: 11px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--rl-copper); }
.rl .dash__next-v { font-size: 14.5px; font-weight: 600; color: #fff; }
@media (min-width: 1000px) {
  .rl .dash__body { grid-template-columns: 1fr 1fr; }
  .rl .dash__panel--attn { grid-column: 1 / -1; }
}
/* Mobile: a focused crop, not a shrunken desktop. Hide the low-value columns. */
@media (max-width: 640px) {
  .rl .dash__tr { grid-template-columns: 1fr auto; }
  .rl .dash__tr > :nth-child(2), .rl .dash__tr > :nth-child(3), .rl .dash__tr > :nth-child(5) { display: none; }
  .rl .dash__tr--appt { grid-template-columns: 1fr; gap: 6px; }
  .rl .dash__tr--appt > :nth-child(2) { display: none; }
  .rl .dash__tr--appt > :nth-child(3) { display: block; }
  .rl .dash__tr--head.dash__tr--appt > :nth-child(3) { display: none; }
  .rl .dash__sample { font-size: 11px; }
  .rl .dash__title { display: none; }
}
.rl .dash-foot { display: grid; gap: 32px; margin-top: 44px; }
.rl .dash-list { display: grid; gap: 0 28px; grid-template-columns: 1fr; }
.rl .dash-list li { padding: 10px 0 10px 24px; border-top: 1px solid var(--rl-line-dark); position: relative; color: var(--rl-on-dark); font-size: 15.5px; }
.rl .dash-list li::before { content: ""; position: absolute; left: 2px; top: 1.1em; width: 8px; height: 8px; border-radius: 50%; background: var(--rl-green-on-dark); }
.rl .dash-foot__state { font-size: 18px; line-height: 1.6; color: var(--rl-on-dark-2); }
.rl .dash-foot__close { margin-top: 18px; font-family: var(--rl-display); font-weight: 800; font-size: clamp(22px, 2.3vw, 28px); line-height: 1.2; color: #fff; }
@media (min-width: 720px) { .rl .dash-list { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .rl .dash-foot { grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: start; } }

/* ============================================================ OPERATION === */
.rl .ops { display: grid; gap: 48px; align-items: center; }
.rl .ops__copy .eyebrow { margin-bottom: 18px; }
.rl .ops__sub { margin-top: 16px; font-family: var(--rl-display); font-weight: 700; font-size: 21px; color: var(--rl-ink); line-height: 1.3; }
.rl .ops__copy .lead { margin-top: 16px; }
.rl .ops__copy .checks { margin-top: 18px; }
.rl .ops__copy .checks li { color: var(--rl-ink); font-weight: 500; }
@media (min-width: 1000px) { .rl .ops { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 64px; } }
.rl .hub { position: relative; margin: 0 auto; width: 100%; max-width: 440px; aspect-ratio: 1 / 1; }
.rl .hub__lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.rl .hub__lines path { fill: none; stroke: var(--rl-copper); stroke-width: 1.6; stroke-dasharray: 5 6; opacity: 0.8; }
.rl .hub__core { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: grid; justify-items: center; gap: 6px; padding: 18px 20px; border-radius: var(--rl-radius-lg); background: var(--rl-midnight); color: #fff; font-family: var(--rl-display); font-weight: 800; font-size: 16px; box-shadow: 0 12px 30px rgba(7, 14, 34, 0.3); z-index: 1; }
.rl .hub__core img { width: 34px; height: 34px; }
.rl .hub__n { position: absolute; transform: translate(-50%, -50%); background: var(--rl-paper); border: 1px solid var(--rl-line-cool); border-radius: var(--rl-radius); padding: 9px 12px; box-shadow: var(--rl-shadow); text-align: center; min-width: 116px; z-index: 1; }
.rl .hub__n b { display: block; font-size: 14px; color: var(--rl-ink); }
.rl .hub__n small { display: block; font-size: 12px; color: var(--rl-muted); }
.rl .hub__n--1 { left: 17.5%; top: 17.5%; }
.rl .hub__n--2 { left: 82.5%; top: 17.5%; }
.rl .hub__n--3 { left: 15%; top: 62.5%; }
.rl .hub__n--4 { left: 85%; top: 62.5%; border-color: rgba(217, 126, 31, 0.6); }
.rl .hub__n--5 { left: 50%; top: 88.75%; }
.rl .ops__grid { display: grid; gap: 36px; margin-top: clamp(48px, 6vw, 72px); padding-top: clamp(36px, 5vw, 48px); border-top: 1px solid var(--rl-line-cool); }
.rl .ops__h { font-size: 20px; margin-bottom: 6px; }
.rl .ops__grid .ticks { columns: 1; }
@media (min-width: 720px) { .rl .ops__grid .ticks { columns: 2; column-gap: 32px; } .rl .ops__grid .ticks li { break-inside: avoid; } }
@media (min-width: 1000px) { .rl .ops__grid { grid-template-columns: 1.3fr 0.9fr; gap: 56px; } }
.rl .jn { align-self: start; padding: 26px; border-radius: var(--rl-radius-lg); background: var(--rl-midnight); color: var(--rl-on-dark-2); }
.rl .jn__k { font-family: var(--rl-display); font-weight: 800; font-size: 20px; color: #fff; margin-bottom: 10px; }
.rl .jn__fine { margin-top: 14px; font-size: 14px; padding-top: 14px; border-top: 1px solid var(--rl-line-dark); }
.rl .ops__role { margin-top: clamp(40px, 5vw, 56px); font-family: var(--rl-display); font-weight: 700; font-size: clamp(22px, 2.4vw, 30px); line-height: 1.3; color: var(--rl-ink); max-width: 36ch; letter-spacing: -0.01em; }

/* ================================================================ BAND === */
.rl .band { background: linear-gradient(90deg, #0C1733, #13213F); color: var(--rl-on-dark-2); padding: clamp(48px, 6vw, 72px) 0; border-top: 3px solid var(--rl-copper); }
.rl .band__inner { display: grid; gap: 36px; align-items: center; }
.rl .band h2 { color: #fff; font-size: clamp(26px, 3vw, 38px); line-height: 1.1; margin-bottom: 16px; }
.rl .band p + p { margin-top: 10px; }
.rl .band__close { color: #fff; font-weight: 700; }
.rl .rules { background: rgba(255,255,255,0.04); border: 1px solid var(--rl-line-dark); border-radius: var(--rl-radius-lg); padding: 22px; }
.rl .rules ul { display: flex; flex-wrap: wrap; gap: 8px; }
.rl .rules li { font-size: 14px; font-weight: 600; color: #fff; padding: 7px 12px; border: 1px solid rgba(79, 211, 154, 0.4); border-radius: var(--rl-radius); background: rgba(79, 211, 154, 0.07); }
.rl .rules li::before { content: "✓ "; color: var(--rl-green-on-dark); }
.rl .rules__out { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--rl-line-dark); }
@media (min-width: 960px) { .rl .band__inner { grid-template-columns: 1.2fr 0.8fr; gap: 64px; } }

/* ============================================================= PRICING === */
.rl .billing { display: grid; justify-items: center; gap: 12px; margin-bottom: 40px; }
.rl .billing__toggle { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--rl-paper); border: 1px solid var(--rl-line-cool); }
.rl .billing__toggle button { min-height: 44px; padding: 0 24px; border: 0; border-radius: 999px; background: transparent; font: inherit; font-weight: 700; font-size: 15px; color: var(--rl-muted); cursor: pointer; transition: background-color var(--rl-t-micro), color var(--rl-t-micro); }
.rl .billing__toggle button[aria-pressed="true"] { background: var(--rl-ink); color: #fff; }
.rl .billing__note { font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--rl-muted); }
.rl .plans { display: grid; gap: 18px; }
@media (min-width: 720px) { .rl .plans { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1160px) { .rl .plans { grid-template-columns: repeat(4, 1fr); } }
.rl .plan { position: relative; display: flex; flex-direction: column; padding: 30px 26px; background: var(--rl-paper); border: 1px solid var(--rl-line); border-radius: var(--rl-radius-lg); transition: box-shadow var(--rl-t-comp) var(--rl-ease), transform var(--rl-t-comp) var(--rl-ease); }
.rl .plan:hover { box-shadow: var(--rl-shadow); }
.rl .plan--featured { border: 2px solid var(--rl-copper); }
.rl .plan__badge { position: absolute; top: -13px; right: 20px; background: var(--rl-copper); color: var(--rl-copper-ink); font-size: 12px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; padding: 4px 12px; border-radius: 999px; }
.rl .plan__name { font-family: var(--rl-sans); font-size: 14px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--rl-ink); }
.rl .plan__for { margin-top: 6px; font-size: 14px; color: var(--rl-muted); min-height: 2.8em; }
.rl .plan__price { display: flex; align-items: baseline; gap: 6px; margin-top: 16px; }
.rl .plan__price [data-price] { font-family: var(--rl-display); font-weight: 800; font-size: 46px; color: var(--rl-ink); line-height: 1; letter-spacing: -0.02em; }
.rl .plan__price [data-period] { font-size: 17px; color: var(--rl-muted); }
.rl .plan__note { margin-top: 6px; font-size: 13px; color: var(--rl-muted); }
.rl .plan__vol { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--rl-line); font-size: 15px; color: var(--rl-muted); }
.rl .plan__vol b { display: block; font-family: var(--rl-display); font-size: 22px; color: var(--rl-ink); }
.rl .plan__list { margin: 16px 0 26px; }
.rl .plan__list li { position: relative; padding: 6px 0 6px 22px; font-size: 14.5px; color: var(--rl-body); }
.rl .plan__list li::before { content: "+"; position: absolute; left: 2px; top: 5px; font-weight: 800; color: var(--rl-copper-text); }
.rl .plan__cta { margin-top: auto; width: 100%; }
.rl .price-notes { max-width: 900px; margin: 44px auto 0; text-align: center; display: grid; gap: 12px; justify-items: center; }
.rl .price-notes__big { font-family: var(--rl-display); font-weight: 800; font-size: 24px; color: var(--rl-ink); }
.rl .price-notes > p { color: var(--rl-body); max-width: 70ch; }
.rl .price-notes__row { display: grid; gap: 16px; width: 100%; margin: 14px 0 6px; text-align: left; }
@media (min-width: 800px) { .rl .price-notes__row { grid-template-columns: 1.4fr 1fr; } }
.rl .loc { padding: 22px; background: var(--rl-paper); border: 1px solid var(--rl-line); border-radius: var(--rl-radius); }
.rl .loc h3 { font-size: 18px; margin-bottom: 8px; }
.rl .loc p { font-size: 15px; }
.rl .loc .text-link { margin-top: 12px; }

.rl .setup { margin-top: clamp(72px, 9vw, 120px); padding-top: clamp(48px, 6vw, 72px); border-top: 1px solid var(--rl-line); }
.rl .setup__head { max-width: 760px; }
.rl .setup__head .eyebrow { margin-bottom: 18px; }
.rl .setup__head .lead { margin-top: 18px; }
.rl .setup__steps { list-style: none; padding: 0; margin: 40px 0 0; display: grid; gap: 0; counter-reset: s; border-top: 2px solid var(--rl-ink); }
.rl .setup__steps li { padding: 24px 0; border-bottom: 1px solid var(--rl-line); display: grid; align-content: start; grid-template-columns: 48px 1fr; gap: 4px 16px; }
.rl .setup__n { grid-row: span 2; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--rl-ink); color: #fff; font-family: var(--rl-display); font-weight: 800; }
.rl .setup__steps li:last-child .setup__n { background: var(--rl-green); }
.rl .setup__steps h3 { font-size: 19px; }
.rl .setup__steps p { font-size: 15.5px; }
@media (min-width: 960px) {
  .rl .setup__steps { grid-template-columns: repeat(4, 1fr); }
  .rl .setup__steps li { grid-template-columns: 1fr; padding: 26px 24px 26px 0; border-bottom: 0; }
  .rl .setup__steps li + li { padding-left: 24px; border-left: 1px solid var(--rl-line); }
  .rl .setup__n { grid-row: auto; margin-bottom: 10px; }
}
.rl .setup__split { display: grid; gap: 32px; margin-top: 44px; }
.rl .setup__handles { margin-top: 12px; font-size: 18px; color: var(--rl-ink); }
@media (min-width: 900px) { .rl .setup__split { grid-template-columns: 1fr 1fr; gap: 56px; } }

/* ============================================================ ANALYSIS === */
.rl .analysis { display: grid; gap: 48px; align-items: center; }
.rl .analysis__copy .eyebrow { margin-bottom: 18px; }
.rl .analysis__copy .lead { margin-top: 20px; }
.rl .analysis__q { margin: 24px 0 26px; font-family: var(--rl-display); font-weight: 700; font-size: 21px; line-height: 1.35; color: var(--rl-ink); max-width: 40ch; }
.rl .analysis__support { margin-top: 14px; font-size: 15px; color: var(--rl-muted); }
@media (min-width: 1000px) { .rl .analysis { grid-template-columns: 1.05fr 0.95fr; gap: 72px; } }
.rl .summary { margin: 0; display: grid; gap: 14px; }
.rl .summary__in { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.rl .summary__file { font-size: 14px; font-weight: 700; padding: 9px 14px; border: 1px dashed var(--rl-muted); border-radius: var(--rl-radius); color: var(--rl-ink); background: var(--rl-mist); }
.rl .summary__or { font-size: 13px; color: var(--rl-muted); }
.rl .summary__arrow { width: 2px; height: 28px; margin-left: 24px; background: var(--rl-copper); position: relative; }
.rl .summary__arrow::after { content: ""; position: absolute; left: -5px; bottom: -2px; border: 6px solid transparent; border-top-color: var(--rl-copper); border-bottom: 0; }
.rl .summary__card { padding: 24px; border-radius: var(--rl-radius-lg); background: var(--rl-paper); border: 1px solid var(--rl-line-cool); box-shadow: var(--rl-shadow); }
.rl .summary__t { font-size: 12px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--rl-muted); margin-bottom: 10px; }
.rl .summary__card li { display: flex; justify-content: space-between; align-items: center; padding: 11px 0; border-top: 1px solid var(--rl-line-cool); font-weight: 600; color: var(--rl-ink); font-size: 15.5px; }
.rl .summary__card li::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--rl-brand-blue); opacity: 0.7; }

/* =============================================================== ABOUT === */
.rl .about { display: grid; gap: 32px; }
.rl .about__head .eyebrow { margin-bottom: 18px; }
.rl .about__sub { margin-top: 14px; font-family: var(--rl-display); font-weight: 700; font-size: 21px; color: var(--rl-ink); }
.rl .about__body p + p { margin-top: 14px; }
.rl .about__body p { font-size: 18px; max-width: 64ch; }
.rl .about__founder { color: var(--rl-ink); font-weight: 500; padding-left: 16px; border-left: 3px solid var(--rl-copper); }
.rl .about__points { display: grid; gap: 0; border-top: 1px solid var(--rl-line); }
.rl .about__points li { padding: 14px 0 14px 30px; border-bottom: 1px solid var(--rl-line); position: relative; font-weight: 600; color: var(--rl-ink); }
.rl .about__points li::before { content: ""; position: absolute; left: 0; top: 1.25em; width: 16px; height: 2px; background: var(--rl-copper); }
.rl .about__close p { font-size: 18px; color: var(--rl-body); max-width: 60ch; margin-bottom: 24px; }
@media (min-width: 1000px) {
  .rl .about { grid-template-columns: 1fr 1fr; gap: 40px 72px; }
  .rl .about__head { grid-column: 1 / -1; max-width: 820px; }
}

/* ================================================================= FAQ === */
.rl .faq { display: grid; gap: 32px; }
.rl .faq__head .eyebrow { margin-bottom: 18px; }
@media (min-width: 1000px) { .rl .faq { grid-template-columns: 0.8fr 1.2fr; gap: 72px; } }
.rl .faq__list { border-top: 2px solid var(--rl-ink); }
.rl .faq__list details { border-bottom: 1px solid var(--rl-line-cool); }
.rl .faq__list summary { position: relative; list-style: none; cursor: pointer; padding: 20px 44px 20px 0; font-weight: 700; font-size: 17.5px; color: var(--rl-ink); min-height: 44px; }
.rl .faq__list summary::-webkit-details-marker { display: none; }
.rl .faq__list summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 12px; height: 12px; margin-top: -8px; border-right: 2px solid var(--rl-copper-text); border-bottom: 2px solid var(--rl-copper-text); transform: rotate(45deg); transition: transform var(--rl-t-comp) var(--rl-ease); }
.rl .faq__list details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.rl .faq__list details p { padding: 0 0 22px; max-width: 66ch; color: var(--rl-body); }

/* =========================================================== FINAL CTA === */
.rl .final { background: radial-gradient(900px 500px at 90% 100%, rgba(217, 126, 31, 0.12), transparent 60%), var(--rl-midnight); }
.rl .final__inner { display: grid; gap: 48px; align-items: start; }
.rl .final__copy .eyebrow { margin-bottom: 18px; }
.rl .final__copy .lead { margin-top: 20px; }
.rl .final__track { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.rl .final__track li { display: inline-flex; align-items: center; gap: 8px; }
.rl .final__track li + li::before { content: ""; width: 18px; height: 2px; background: rgba(255,255,255,0.25); }
.rl .final__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.rl .final__assure { margin-top: 24px; font-size: 15px; font-weight: 600; color: #fff; }
.rl .final__form { background: var(--rl-paper); border-radius: var(--rl-radius-lg); padding: clamp(24px, 3vw, 34px); color: var(--rl-body); box-shadow: var(--rl-shadow-dark); }
.rl .final__form-title, .rl .section--midnight .final__form-title { font-size: 24px; color: var(--rl-ink); }
.rl .final__form-sub { margin: 6px 0 18px; font-size: 15px; color: var(--rl-muted); }
.rl .field-row { display: grid; gap: 0 14px; }
@media (min-width: 560px) { .rl .field-row { grid-template-columns: 1fr 1fr; } }
.rl .field { display: grid; gap: 6px; margin-bottom: 14px; }
.rl .field label { font-size: 14px; font-weight: 600; color: var(--rl-ink); }
.rl .field label span { font-weight: 400; color: var(--rl-muted); }
.rl .field input, .rl .field textarea { font: inherit; font-size: 16px; min-height: 48px; padding: 10px 12px; border: 1px solid var(--rl-line-cool); border-radius: var(--rl-radius); background: #fff; color: var(--rl-ink); width: 100%; transition: border-color var(--rl-t-micro), box-shadow var(--rl-t-micro); }
.rl .field textarea { min-height: 88px; resize: vertical; }
.rl .field input:focus, .rl .field textarea:focus { outline: none; border-color: var(--rl-copper); box-shadow: 0 0 0 3px rgba(217, 126, 31, 0.2); }
.rl .form-error { margin: 4px 0 12px; padding: 10px 12px; border-radius: var(--rl-radius); background: var(--rl-red-soft); color: var(--rl-red); font-size: 14.5px; font-weight: 600; }
.rl .form-submit { width: 100%; margin-top: 6px; }
.rl .form-fine { margin-top: 12px; font-size: 13px; color: var(--rl-muted); }
.rl .form-fine a { color: var(--rl-ink); }
/* script.js replaces the form with a white-on-dark success message; keep it legible on the white card. */
.rl .final__form [role="status"] p { color: var(--rl-ink) !important; }
@media (min-width: 1000px) { .rl .final__inner { grid-template-columns: 1.05fr 0.95fr; gap: 72px; } }

/* ======================================================================
   NARRATIVE MOTION — only under html.rl-motion (JS on, motion allowed).
   Every sequence runs ONCE when its container gains .is-run.
   ====================================================================== */
@keyframes rl-rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes rl-draw { to { stroke-dashoffset: 0; } }
@keyframes rl-grow-x { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes rl-grow-y { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes rl-light { 0% { background-color: var(--rl-navy); box-shadow: inset 0 0 0 4px var(--rl-navy), 0 0 0 0 rgba(79,211,154,0.5); } 60% { box-shadow: inset 0 0 0 4px var(--rl-navy), 0 0 0 8px rgba(79,211,154,0); } 100% { background-color: var(--rl-green-on-dark); box-shadow: inset 0 0 0 4px var(--rl-navy), 0 0 0 0 rgba(79,211,154,0); } }
@keyframes rl-token { 0% { left: 15px; opacity: 0; } 8% { opacity: 1; } 100% { left: calc((100% - 120px) * 5 / 6 + 135px); opacity: 1; } }
@keyframes rl-flash { 0% { background: rgba(79, 211, 154, 0.22); } 100% { background: transparent; } }

/* Hero: sources arrive → paths draw → core → statuses light in order (~1.6s, once) */
.rl-motion .rl .hero-flow:not(.is-run) .hero-flow__src,
.rl-motion .rl .hero-flow:not(.is-run) .hero-flow__core,
.rl-motion .rl .hero-flow:not(.is-run) .hero-flow__track .lbl { opacity: 0; }
.rl-motion .rl .hero-flow:not(.is-run) .hero-flow__track::before { transform: scaleX(0); }
.rl-motion .rl .hero-flow:not(.is-run) .hero-flow__track .dot { background-color: var(--rl-navy); }
.rl-motion .rl .hero-flow.is-run .hero-flow__src { animation: rl-rise 420ms var(--rl-ease) both; animation-delay: calc(var(--i) * 110ms); }
.rl-motion .rl .hero-flow .hero-flow__path { stroke-dashoffset: 0; }
.rl-motion .rl .hero-flow.is-run .hero-flow__path { stroke-dasharray: 4 5; animation: rl-rise 380ms var(--rl-ease) 380ms both; }
.rl-motion .rl .hero-flow.is-run .hero-flow__core { animation: rl-rise 380ms var(--rl-ease) 560ms both; }
.rl-motion .rl .hero-flow.is-run .hero-flow__track::before { animation: rl-grow-x 900ms var(--rl-ease) 820ms both; }
.rl-motion .rl .hero-flow.is-run .hero-flow__track .lbl { animation: rl-rise 320ms var(--rl-ease) both; animation-delay: calc(820ms + var(--i) * 260ms); }
.rl-motion .rl .hero-flow.is-run .hero-flow__track .dot { animation: rl-light 420ms var(--rl-ease) both; animation-delay: calc(820ms + var(--i) * 260ms); }

/* Journey: the path grows, nodes light in order, the opportunity token travels once (~1.6s) */
.rl-motion .rl .journey:not(.is-run) .journey__steps::before { transform: scaleY(0); }
.rl-motion .rl .journey:not(.is-run) .journey__step { opacity: 0.25; }
.rl-motion .rl .journey.is-run .journey__steps::before { animation: rl-grow-y 1500ms var(--rl-ease) both; }
.rl-motion .rl .journey.is-run .journey__step { animation: rl-rise 450ms var(--rl-ease) both; animation-delay: calc(var(--i) * 230ms); }
@media (min-width: 1080px) {
  .rl-motion .rl .journey:not(.is-run) .journey__steps::before { transform: scaleX(0); }
  .rl-motion .rl .journey.is-run .journey__steps::before { animation-name: rl-grow-x; }
  .rl-motion .rl .journey.is-run .journey__token span { animation: rl-token 1500ms var(--rl-ease) 150ms both; }
}
.rl .journey__token span { left: calc((100% - 120px) * 5 / 6 + 135px); opacity: 0; }

/* Demo: the voice states step through on hover/focus/tap; the thread types in */
.rl-motion .rl .demo-card[data-demo="voice"] .demo-states li { transition: opacity var(--rl-t-comp) var(--rl-ease), transform var(--rl-t-comp) var(--rl-ease); }
.rl-motion .rl .demo-card[data-demo="voice"]:not(.is-active) .demo-states li:not(:first-child) { opacity: 0.45; }
.rl-motion .rl .demo-card[data-demo="voice"].is-active .demo-states li { opacity: 1; }
.rl-motion .rl .demo-card[data-demo="voice"].is-active .demo-states li:nth-child(2) { transition-delay: 180ms; }
.rl-motion .rl .demo-card[data-demo="voice"].is-active .demo-states li:nth-child(3) { transition-delay: 360ms; }
.rl-motion .rl .demo-card[data-demo="voice"].is-active .demo-states li:nth-child(4) { transition-delay: 540ms; }
.rl-motion .rl .demo-card[data-demo="text"]:not(.is-active) .bubble:not(:first-of-type) { opacity: 0.45; }
.rl-motion .rl .demo-card[data-demo="text"] .bubble { transition: opacity var(--rl-t-comp) var(--rl-ease); }
.rl-motion .rl .demo-card[data-demo="text"].is-active .bubble:nth-of-type(2) { transition-delay: 200ms; }
.rl-motion .rl .demo-card[data-demo="text"].is-active .bubble:nth-of-type(3) { transition-delay: 450ms; }

/* Features: Respond → Qualify → Manage activate as connected stages */
.rl-motion .rl .features:not(.is-run) .features__col { opacity: 0.3; }
.rl-motion .rl .features.is-run .features__col { animation: rl-rise 520ms var(--rl-ease) both; animation-delay: calc(var(--i) * 260ms); }
.rl-motion .rl .features .features__stage span { transition: color var(--rl-t-comp); }

/* Dashboard: the sample lead books, then the confirmation surfaces */
.rl-motion .rl .dash:not(.is-run) .dash__before,
.rl-motion .rl .dash.is-run .dash__before { visibility: visible; }
.rl-motion .rl .dash:not(.is-run) .dash__after { opacity: 0; }
.rl-motion .rl .dash.is-run .dash__before { animation: rl-hide 1ms linear 1200ms both; }
.rl-motion .rl .dash.is-run .dash__after { animation: rl-rise 350ms var(--rl-ease) 1200ms both; }
.rl-motion .rl .dash.is-run .dash__live { animation: rl-flash 1200ms ease-out 1200ms both; }
.rl-motion .rl .dash:not(.is-run) .dash__next { opacity: 0; }
.rl-motion .rl .dash.is-run .dash__next { animation: rl-rise 450ms var(--rl-ease) 1650ms both; }
@keyframes rl-hide { to { visibility: hidden; opacity: 0; } }

/* Existing operation: connection lines draw to each system */
.rl-motion .rl .hub:not(.is-run) .hub__n { opacity: 0; }
.rl-motion .rl .hub:not(.is-run) .hub__lines path { opacity: 0; }
.rl-motion .rl .hub.is-run .hub__lines path { animation: rl-rise 600ms var(--rl-ease) both; }
.rl-motion .rl .hub.is-run .hub__lines path:nth-child(2) { animation-delay: 150ms; }
.rl-motion .rl .hub.is-run .hub__lines path:nth-child(3) { animation-delay: 300ms; }
.rl-motion .rl .hub.is-run .hub__lines path:nth-child(4) { animation-delay: 450ms; }
.rl-motion .rl .hub.is-run .hub__lines path:nth-child(5) { animation-delay: 600ms; }
.rl-motion .rl .hub.is-run .hub__n { animation: rl-rise 420ms var(--rl-ease) both; animation-delay: calc(200ms + var(--i) * 150ms); }
.rl-motion .rl .hub.is-run .hub__n { transform: translate(-50%, -50%); }
@keyframes rl-rise-c { from { opacity: 0; transform: translate(-50%, calc(-50% + 10px)); } to { opacity: 1; transform: translate(-50%, -50%); } }
.rl-motion .rl .hub.is-run .hub__n { animation-name: rl-rise-c; }

/* Managed band: rules check in, then the workflow goes active */
.rl-motion .rl .rules:not(.is-run) li, .rl-motion .rl .rules:not(.is-run) .rules__out { opacity: 0; }
.rl-motion .rl .rules.is-run li { animation: rl-rise 300ms var(--rl-ease) both; animation-delay: calc(var(--i) * 140ms); }
.rl-motion .rl .rules.is-run .rules__out { animation: rl-rise 350ms var(--rl-ease) 820ms both; }

/* Setup steps and analysis summary */
.rl-motion .rl .setup__steps:not(.is-run) li { opacity: 0; }
.rl-motion .rl .setup__steps.is-run li { animation: rl-rise 460ms var(--rl-ease) both; animation-delay: calc(var(--i) * 170ms); }
.rl-motion .rl .summary:not(.is-run) .summary__card li { opacity: 0; }
.rl-motion .rl .summary.is-run .summary__card li { animation: rl-rise 320ms var(--rl-ease) both; animation-delay: calc(300ms + var(--i) * 140ms); }
.rl-motion .rl .summary:not(.is-run) .summary__arrow { transform: scaleY(0); }
.rl-motion .rl .summary.is-run .summary__arrow { transform-origin: top; animation: rl-grow-y 350ms var(--rl-ease) both; }

/* Final CTA: an inquiry advances toward Inspection Booked */
.rl-motion .rl .final__track:not(.is-run) li { opacity: 0.3; }
.rl-motion .rl .final__track.is-run li { animation: rl-rise 360ms var(--rl-ease) both; animation-delay: calc(var(--i) * 300ms); }
.rl .setup__when { margin-top: 10px; font-size: 15px; font-weight: 600; color: var(--rl-ink); }

/* ---- Contact form carried forward verbatim from main: styled here by id/role, not by its
        (now-inert) Tailwind utility classes. ---- */
.rl #contact-form { display: grid; gap: 14px; }
.rl #contact-form > div { display: grid; gap: 6px; }
.rl #contact-form label { font-size: 14px; font-weight: 600; color: var(--rl-ink); }
.rl #contact-form label span { font-weight: 400; color: var(--rl-muted); }
.rl #contact-form .form-input { font: inherit; font-size: 16px; min-height: 50px; padding: 10px 14px; border: 1px solid var(--rl-line-cool); border-radius: var(--rl-radius); background: #fff; color: var(--rl-ink); width: 100%; transition: border-color var(--rl-t-micro), box-shadow var(--rl-t-micro); }
.rl #contact-form textarea.form-input { min-height: 96px; resize: vertical; }
.rl #contact-form .form-input:focus { outline: none; border-color: var(--rl-copper); box-shadow: 0 0 0 3px rgba(217, 126, 31, 0.2); }
.rl #contact-form #review-fields { display: grid; gap: 14px; }
.rl #contact-form #review-fields > div { display: grid; gap: 6px; }
.rl #contact-error { margin: 0; padding: 10px 12px; border-radius: var(--rl-radius); background: var(--rl-red-soft); color: var(--rl-red); font-size: 14.5px; font-weight: 600; }
.rl #submit-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; width: 100%; border: 0; border-radius: var(--rl-radius); background: var(--rl-copper); color: var(--rl-copper-ink); font: inherit; font-size: 17px; font-weight: 800; cursor: pointer; transition: background-color var(--rl-t-micro), color var(--rl-t-micro); box-shadow: 0 6px 18px rgba(217, 126, 31, 0.28); }
.rl #submit-btn:hover { background: var(--rl-copper-hover); color: #fff; }
.rl #submit-btn:disabled { opacity: 0.7; cursor: default; }
.rl #contact-form > p { font-size: 13px; color: var(--rl-muted); text-align: center; }
.rl #contact-form > p a { color: var(--rl-ink); }

/* ---- "What Counts Toward Your Monthly Leads" (carried forward verbatim from main) ---- */
.rl .counts { width: 100%; text-align: left; }
.rl .counts > div { padding: 26px; background: var(--rl-paper); border: 1px solid var(--rl-line); border-radius: var(--rl-radius-lg); }
.rl .counts h3 { font-size: 20px; text-align: center; }
.rl .counts h3 + p { text-align: center; margin-top: 6px; color: var(--rl-body); }
.rl .counts .grid { display: grid; gap: 24px; margin-top: 20px; }
@media (min-width: 760px) { .rl .counts .grid { grid-template-columns: 1fr 1fr; } }
.rl .counts .grid p { font-size: 12px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--rl-ink); margin-bottom: 10px; }
.rl .counts .grid > div:first-child p { color: var(--rl-green); }
.rl .counts .grid > div:last-child p { color: var(--rl-muted); }
.rl .counts ul li { position: relative; padding: 7px 0 7px 18px; border-top: 1px solid var(--rl-line); font-size: 15px; color: var(--rl-body); }
.rl .counts ul li::before { content: ""; position: absolute; left: 0; top: 1.05em; width: 7px; height: 7px; border-radius: 50%; background: var(--rl-muted); }
.rl .counts .grid > div:first-child li::before { background: var(--rl-green); }
.rl .counts > div > p:last-child { margin-top: 18px; font-size: 14px; color: var(--rl-muted); }
.rl .counts a { color: var(--rl-ink); font-weight: 600; }
