/* ==========================================================================
   Field Rep CRM — /field-rep-crm
   Builds on css/site.css. Everything here is prefixed .fr- .
   ========================================================================== */

/* ---------- page head (centered, text-only, over full-width content) ---------- */
.fr-hero { padding: 72px 0 48px; text-align: center; }
.fr-hero h1.hero-h1 { margin: 0 auto 18px; }
.fr-hero .hero-lede { max-width: 62ch; margin: 0 auto; color: var(--oak-55); }

/* warm paper band, same tone as the homepage dashboard section */
section.fr-band { background: #F5F1E8; }
section.fr-band + section { border-top: 0; }

/* ---------- the visit form, captured from the app ---------- */
.fr-shot { max-width: 980px; margin: 0 auto; }
.fr-shot-hint { margin-left: auto; font-size: 12px; color: var(--muted); }
.fr-shot-scroll {
  max-height: 720px; overflow-y: auto; overscroll-behavior: contain;
  background: #1a1613; border-top: 1px solid var(--line);
}
.fr-shot-scroll img { display: block; width: 100%; height: auto; }

/* ---------- why: reuse the homepage step grid, 5 across ---------- */
.fr-why .step p { font-size: 14.5px; }

/* ---------- the loop ---------- */
.fr-loop {
  list-style: none; margin: 0 auto; padding: 0;
  max-width: 980px;
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  overflow: hidden;
}
.fr-loop li {
  display: grid; grid-template-columns: 56px 1fr; gap: 0 20px;
  padding: 26px 28px 26px 24px;
  border-top: 1px solid var(--line);
}
.fr-loop li:first-child { border-top: 0; }
.fr-loop-n {
  grid-row: 1 / span 2;
  width: 40px; height: 40px; border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--oak); color: var(--cream);
  font-weight: 700; font-size: 15px; font-variant-numeric: tabular-nums;
}
.fr-loop h3 { margin: 6px 0 6px; font-size: 19px; font-weight: 700; letter-spacing: -0.015em; color: var(--ink-2); }
.fr-loop p { margin: 0; font-size: 15.5px; line-height: 1.55; color: var(--ink-70); max-width: 68ch; }

/* ---------- roles ---------- */
.fr-roles {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px;
  max-width: 980px; margin: 0 auto;
}
.fr-role {
  border: 1px solid var(--line); border-radius: 12px; padding: 30px 32px;
}
.fr-role h3 { margin: 0 0 10px; font-size: 20px; font-weight: 700; letter-spacing: -0.015em; color: var(--ink-2); }
.fr-role p { margin: 0; font-size: 15.5px; line-height: 1.55; color: var(--ink-70); }
.fr-pricing-link { text-align: center; margin: 28px 0 0; }
.fr-pricing-link a { color: var(--ink-2); font-weight: 600; text-decoration: none; border-bottom: 1.5px solid var(--amber); padding-bottom: 2px; }
.fr-pricing-link a:hover { color: var(--amber); }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .fr-roles { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .fr-hero { padding: 48px 0 32px; }
  .fr-shot-scroll { max-height: 560px; }
  .fr-loop li { grid-template-columns: 40px 1fr; padding: 20px 18px; gap: 0 12px; }
  .fr-loop-n { width: 32px; height: 32px; font-size: 13px; }
}
