/* RecordPathAI homepage — aligned with the Eligibility design system. */
.rp-home {
  --bg: #eef2f8; --surface: #ffffff; --text: #233d70;
  --muted: #667796; --line: #dbe3f0; --blue: #4f88e8;
  --blue-dark: #3774d7; --blue-soft: #e8f1ff;
  --shadow: 0 10px 30px rgba(50,78,128,.08);
  background: #eef2f8;
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
}
.rp-home .site-header {padding:18px 0 10px}
.rp-home main {padding:0 0 40px}
.rp-home .home-hero {padding:26px 0 22px}
.rp-home .home-hero-shell {
  display:grid;grid-template-columns:minmax(0,1.14fr) minmax(320px,.86fr);
  gap:26px;align-items:stretch;
}
.rp-home .home-hero-copy, .rp-home .home-finder-card,
.rp-home .home-section-card,.rp-home .home-feature,
.rp-home .home-bottom-card {
  border:1px solid var(--line);border-radius:30px;
  background:rgba(255,255,255,.9);box-shadow:var(--shadow);
}
.rp-home .home-hero-copy {padding:48px 44px}
.rp-home .home-eyebrow {
  display:inline-block;padding:10px 14px;border-radius:999px;
  background:var(--blue-soft);color:var(--blue-dark);
  font-size:12px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;
}
.rp-home .home-hero h1 {
  color:#233d70;font-size:clamp(40px,4.9vw,66px);
  letter-spacing:-.045em;line-height:1.02;font-weight:800;
  margin:22px 0 18px;
}
.rp-home .home-hero h1 em {font-style:normal;color:var(--blue-dark)}
.rp-home .home-hero p,.rp-home .home-section p,.rp-home .home-feature p,
.rp-home .home-bottom-card p {
  color:var(--muted);line-height:1.65;font-size:16px;
}
.rp-home .home-hero .home-lead {font-size:18px;max-width:610px}
.rp-home .home-actions {display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:28px}
.rp-home .home-btn,
.rp-home .btn-red {
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  border-radius:16px;min-height:50px;padding:14px 22px;
  font-size:15px;font-weight:800;text-decoration:none;
  background:linear-gradient(180deg,#7fb2ff,#5b93eb);border:1px solid #6d9fed;
  color:#fff;box-shadow:0 10px 22px rgba(91,147,235,.18);
  cursor:pointer;
}
.rp-home .home-btn:hover,.rp-home .btn-red:hover {background:#447fdd;color:white}
.rp-home .home-btn-quiet {background:#fff;color:var(--text);border-color:var(--line);box-shadow:none}
.rp-home .home-btn-quiet:hover {background:var(--blue-soft);color:var(--blue-dark)}
.rp-home .home-note {font-size:13px!important;margin-top:20px}
.rp-home .home-finder-card {padding:32px 30px;display:flex;flex-direction:column}
.rp-home .home-finder-heading {display:flex;align-items:center;gap:12px}
.rp-home .home-finder-icon {
  display:grid;place-items:center;flex:0 0 46px;height:46px;
  border-radius:14px;background:var(--blue-soft);color:var(--blue-dark);font-size:22px
}
.rp-home .home-finder-card h2 {margin:0;font-size:25px;line-height:1.2;color:var(--text)}
.rp-home .home-finder-card p {font-size:15px;line-height:1.6}
.rp-home .home-finder-card form {margin-top:auto}
.rp-home .home-finder-card label {display:block;font-size:14px;font-weight:700;margin-bottom:9px}
.rp-home .home-finder-card select {
  display:block;width:100%;height:56px;padding:0 14px;border:1px solid #d5e0ef;
  border-radius:14px;background:#fff;color:#243755;font:inherit;font-size:16px;
}
.rp-home .home-finder-card button {width:100%;margin-top:12px}
.rp-home .home-finder-card .finder-privacy {margin:18px 0 0;font-size:12px}
.rp-home a:not(.home-btn):not(.nav-cta):not(.site-brand):not(.btn-red):not(.nav a) {text-decoration:none}
.rp-home .home-finder-card a,.rp-home .home-section a.home-text-link,
.rp-home .home-footer-links a {color:var(--blue-dark);font-weight:700}
.rp-home .home-section {padding:28px 0}
.rp-home .home-section-head {max-width:760px;margin-bottom:23px}
.rp-home .home-section h2 {font-size:clamp(27px,3vw,39px);line-height:1.15;letter-spacing:-.025em;margin:13px 0 10px;color:var(--text)}
.rp-home .home-grid {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.rp-home .home-feature {padding:26px 24px}
.rp-home .home-step-number {display:inline-flex;color:var(--blue-dark);font-size:15px;font-weight:800;margin-bottom:15px}
.rp-home .home-feature h3 {font-size:20px;color:var(--text);margin:0 0 9px}
.rp-home .home-feature p {font-size:14px;margin:0 0 15px}
.rp-home .home-feature a {color:var(--blue-dark);font-weight:800}
.rp-home .home-two-grid {display:grid;grid-template-columns:1fr 1fr;gap:18px}
.rp-home .home-section-card {padding:30px}
.rp-home .home-section-card h3 {font-size:22px;margin:12px 0 8px}
.rp-home .home-section-card p {margin:0 0 14px}
.rp-home .home-bottom-card {padding:34px;display:flex;align-items:center;justify-content:space-between;gap:24px}
.rp-home .home-bottom-card h2 {margin:0;font-size:clamp(24px,3vw,34px)}
.rp-home .home-bottom-card p {margin:9px 0 0}
.rp-home .home-bottom-card .home-btn {flex-shrink:0}
.rp-home .home-footer {padding:0 0 32px}
.rp-home .home-footer-inner {padding:26px 30px;background:#fff;border:1px solid var(--line);border-radius:22px;box-shadow:var(--shadow)}
.rp-home .home-footer-top {display:flex;justify-content:space-between;gap:25px;flex-wrap:wrap;align-items:flex-start}
.rp-home .home-footer-brand {font-size:20px;color:var(--blue-dark);font-weight:800}
.rp-home .home-footer-links {display:flex;flex-wrap:wrap;gap:12px 18px;max-width:650px;justify-content:flex-end;font-size:14px}
.rp-home .home-footer-legal {font-size:12px;color:var(--muted);line-height:1.6;margin:18px 0 0}
.rp-home dialog {border:1px solid var(--line);border-radius:24px;box-shadow:0 22px 70px rgba(23,53,100,.2);max-width:680px;width:min(90vw,680px);padding:24px;color:var(--text)}
.rp-home dialog::backdrop {background:rgba(11,30,60,.5)}
.rp-home .dialog-top {display:flex;align-items:center;justify-content:space-between;gap:12px}
.rp-home .dialog-top h2 {margin:0;font-size:24px}
.rp-home .dialog-top .close {border:0;background:var(--blue-soft);border-radius:10px;cursor:pointer;padding:9px 12px;font-size:18px}
.rp-home .result {padding:14px 0;border-top:1px solid var(--line)}
.rp-home .result h3 {margin:0 0 5px}
.rp-home .result p {font-size:14px;color:var(--muted)}
.rp-home .result a,.rp-home .status-note {font-size:14px}
.rp-home .result a {color:var(--blue-dark);font-weight:800}
.rp-home .skip-link {position:absolute;left:-10000px;top:auto}
.rp-home .skip-link:focus {left:12px;top:8px;padding:12px;background:#fff;z-index:99}
@media(max-width:980px){
  .rp-home .home-hero-shell {grid-template-columns:1fr}
  .rp-home .home-hero-copy {padding:36px 30px}
}
@media(max-width:760px){
  .rp-home .home-grid,.rp-home .home-two-grid {grid-template-columns:1fr}
  .rp-home .home-bottom-card {flex-direction:column;align-items:stretch}
  .rp-home .home-bottom-card .home-btn {width:100%}
  .rp-home .home-finder-card {padding:26px}
  .rp-home .home-actions .home-btn {width:100%}
}
@media(max-width:420px){.rp-home .home-hero-copy {padding:30px 22px}}

.rp-home .home-faq {border:1px solid var(--line);background:#fff;border-radius:24px;padding:0 24px;box-shadow:var(--shadow)}
.rp-home .home-faq details {padding:20px 2px;border-bottom:1px solid var(--line)}
.rp-home .home-faq details:last-child {border-bottom:0}
.rp-home .home-faq summary {font-size:16px;font-weight:800;color:var(--text);cursor:pointer}
.rp-home .home-faq p {margin:12px 0 0;max-width:820px;font-size:14px;color:var(--muted);line-height:1.6}

/* Conversion-first right rail: three steps and one primary action. */
.rp-home .home-conversion-card {
  display:flex; flex-direction:column; gap:14px;
  padding:34px 30px; background:rgba(255,255,255,.95);
  border:1px solid var(--line); border-radius:30px; box-shadow:var(--shadow);
}
.rp-home .home-conversion-card h2 {
  margin:0; color:var(--text);font-size:clamp(24px,2.5vw,32px);
  letter-spacing:-.025em;line-height:1.2;
}
.rp-home .home-conversion-list {
  list-style:none;display:grid;gap:12px;padding:0;margin:8px 0 14px;
}
.rp-home .home-conversion-list li {
  display:flex;gap:13px;align-items:flex-start;padding:14px;
  border:1px solid var(--line);border-radius:16px;background:#f8fbff;
}
.rp-home .home-conversion-number {
  flex:0 0 34px;display:grid;place-items:center;height:34px;
  border-radius:50%;background:#dfe9fb;color:#3774d7;font-weight:800;
}
.rp-home .home-conversion-list strong {display:block;color:var(--text);font-size:16px}
.rp-home .home-conversion-list small {display:block;color:var(--muted);line-height:1.5;font-size:13px;margin-top:5px}
.rp-home .home-conversion-card > .home-btn {width:100%;margin-top:auto}
.rp-home .home-conversion-price {font-size:13px!important;text-align:center;margin:0!important;line-height:1.5!important}
.rp-home .home-process-action {display:flex;justify-content:center;margin-top:22px}
.rp-home .home-step-caption {display:inline-block;font-size:13px;color:var(--blue-dark);font-weight:800;margin-top:6px}
@media(max-width:760px){.rp-home .home-conversion-card{padding:26px 22px}}

/* Court Finder, RecordWatch, and corrections remain supportive paths. */
@media(min-width:981px){
  .rp-home .home-two-grid {grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(min-width:761px) and (max-width:980px){
  .rp-home .home-two-grid {grid-template-columns:repeat(2,minmax(0,1fr))}
}

/* Distinguish available tools from features still being tested. */
.rp-home .home-capabilities .home-feature{display:flex;flex-direction:column}
.rp-home .home-capabilities .home-feature h3{margin-top:14px}
.rp-home .home-capabilities .home-feature p{flex:1}
.rp-home .home-capability-tag{display:inline-flex;align-self:flex-start;padding:8px 12px;
  border:1px solid #d6e3f8;border-radius:999px;background:#f0f6ff;
  color:#31588f;font-weight:800;font-size:12px;line-height:1.25}
.rp-home .home-capabilities a.home-text-link{font-weight:800;color:var(--blue-dark)}
.rp-home .home-launch-note{padding:18px 22px;margin-top:18px;
  background:#fff;border:1px solid var(--line);border-radius:20px;
  font-size:14px;color:var(--muted);line-height:1.65}
.rp-home .home-launch-note strong{color:var(--text)}
.rp-home .home-launch-note a{font-weight:800;color:var(--blue-dark)}
