/* Classic ASP page (/asp/default.asp): feature cards, download band, resources and FAQ layout.
   Loaded last, so it overrides richscripts-2026.css and richscripts-legacy.css on this page only.
   Colours come from the theme variables, so dark mode still works. */

/* richscripts-2026.css hides every direct child list of #Common on legacy pages. The feature list is one of them. */
.rs-legacy-page #Common > ul.rs-lp-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:18px;margin:0 auto;padding:0;list-style:none;max-width:1200px}

/* One content column for the hero, features, download band, resources and FAQ. */
.rs-legacy-page #Common > :is(section.rs-lp-hero,h2.rs-lp-heading,ul.rs-lp-grid,section.cl-band,div.rs-classic-resources,section.rs-classic-faq){
  max-width:1200px;margin-left:auto;margin-right:auto;box-sizing:border-box}

.rs-legacy-page #Common h2.rs-lp-heading{margin:56px auto 18px;font-size:clamp(24px,2.6vw,30px);line-height:1.2;font-weight:700;letter-spacing:-.4px;color:var(--rs-text)}

/* Hero */
.rs-legacy-page #Common > section.rs-lp-hero{margin-top:8px}
.rs-legacy-page .rs-lp-hero{padding-top:32px;padding-bottom:48px}
.rs-legacy-page .rs-lp-hero h1{font-size:clamp(34px,3.9vw,54px);line-height:1.12;letter-spacing:-1px;font-weight:700;color:var(--rs-text)}
.rs-legacy-page .rs-lp-hero .rs-lp-lead{font-size:17px;line-height:1.6;color:var(--rs-text-muted)}

.rs-legacy-page .cl-cta{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin:28px 0 0}
.rs-legacy-page .cl-btn{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:10px 22px;border:1px solid transparent;border-radius:8px;
  font-size:16px;font-weight:600;line-height:1.2;text-decoration:none;box-sizing:border-box}
.rs-legacy-page .cl-btn--primary{background:#0b57d0;color:#fff}
.rs-legacy-page .cl-btn--primary:hover{background:#0842a0;color:#fff}
.rs-legacy-page .cl-btn--ghost{background:var(--rs-surface);border-color:var(--rs-border-strong);color:var(--rs-text)}
.rs-legacy-page .cl-btn--ghost:hover{border-color:#0b57d0;color:#0b57d0}
.rs-legacy-page .cl-btn:focus-visible,.rs-legacy-page .cl-text-link:focus-visible{outline:2px solid #0b57d0;outline-offset:3px}
.rs-legacy-page .cl-text-link{display:inline-flex;align-items:center;min-height:44px;padding:0 6px;font-size:16px;font-weight:600;color:#0b57d0;text-decoration:none}
.rs-legacy-page .cl-text-link:hover{text-decoration:underline}
.rs-legacy-page .cl-note{margin:14px 0 0;font-size:14px;line-height:1.5;color:var(--rs-text-subtle)}

/* Feature cards */
.rs-legacy-page .rs-lp-card{padding:24px;border:1px solid var(--rs-border);border-radius:14px;background:var(--rs-surface);box-shadow:0 1px 2px rgba(31,31,31,.04)}
.rs-legacy-page .rs-lp-card h3{margin:0 0 8px;font-size:17px;font-weight:700;color:var(--rs-text)}
.rs-legacy-page .rs-lp-card p{margin:0;font-size:15px;line-height:1.6;color:var(--rs-text-muted)}

/* Download band */
.rs-legacy-page .cl-band{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:24px 32px;margin-top:28px;margin-bottom:8px;padding:28px 32px;
  border:1px solid var(--rs-border);border-radius:16px;background:var(--rs-bg-inset)}
.rs-legacy-page .cl-band-copy{max-width:640px}
.rs-legacy-page .cl-eyebrow{margin:0;font-size:12px;font-weight:700;letter-spacing:.8px;text-transform:uppercase;color:#0b57d0}
.rs-legacy-page .cl-band h2{margin:8px 0 8px;font-size:clamp(22px,2.4vw,26px);font-weight:700;line-height:1.25;color:var(--rs-text)}
.rs-legacy-page .cl-band-copy > p:last-child{margin:0;font-size:15px;line-height:1.6;color:var(--rs-text-muted)}
.rs-legacy-page .cl-band-actions{display:flex;flex-wrap:wrap;align-items:center;gap:12px 16px}
.rs-legacy-page .cl-meta{font-size:14px;color:var(--rs-text-subtle)}

/* Resources: the links become wrapping pills instead of a row that runs off the screen */
.rs-legacy-page .rs-classic-resources{margin-top:56px}
.rs-legacy-page .rs-classic-resources h2.rs-lp-heading{margin-top:0}
.rs-legacy-page .rs-legacy-productnav{display:flex;flex-wrap:wrap;gap:10px;margin:0;overflow:visible}
.rs-legacy-page .rs-legacy-productnav a{display:inline-flex;align-items:center;min-height:40px;padding:8px 16px;border:1px solid var(--rs-border-strong);border-radius:999px;
  background:var(--rs-surface);color:var(--rs-text);font-size:15px;font-weight:600;text-decoration:none;white-space:nowrap}
.rs-legacy-page .rs-legacy-productnav a:hover{border-color:#0b57d0;color:#0b57d0}

/* FAQ */
.rs-legacy-page .rs-classic-faq{margin-top:56px;margin-bottom:0;padding:0}
.rs-legacy-page .rs-classic-faq h3{margin:28px 0 8px;font-size:18px;font-weight:700;color:var(--rs-text)}
.rs-legacy-page .rs-classic-faq p{max-width:72ch;margin:0 0 8px;font-size:16px;line-height:1.7;color:var(--rs-text-muted)}
.rs-legacy-page .rs-classic-faq a{color:#0b57d0}

@media (max-width:640px){
  .rs-legacy-page .rs-lp-hero{padding-top:20px}
  .rs-legacy-page .rs-lp-hero h1{letter-spacing:-.6px}
  .rs-legacy-page .cl-btn{width:100%}
  .rs-legacy-page .cl-text-link{width:auto}
  .rs-legacy-page .cl-band{padding:22px 20px}
  .rs-legacy-page .cl-band-actions{width:100%}
  .rs-legacy-page .cl-band-actions .cl-btn{flex:1 1 100%}
  .rs-legacy-page .rs-legacy-productnav a{font-size:14px;padding:7px 13px}
}
