/* ==========================================================================
   Resources 2026: the alternative pages and the guides, carried over to the
   homepage and features page look.

   Load AFTER lawapp-2026.css and AFTER the page's own <style>, so these rules
   win on equal specificity. Tokens come from lawapp-2026.css.

   Two parts:
   1. .rh, the shared hero. Same ink as the navigation so the two meet with
      no seam, fading into Brand Navy. Text left, a real Law App screen right.
   2. Light-touch harmonising of the four older section families (lp-*,
      alt/hero, fp-*, guide). Typeface, heading weight, accent words, dark
      bands and buttons only. Layout and copy are left alone.
   ========================================================================== */

:root{
  --rh-card:#141C33;
  --rh-line:rgba(255,255,255,.14);
  --rh-on:#C3C7D0;
  --rh-text:#151C2F;
  --rh-muted:#5B6480;
  --rh-wash:#F5F6F9;
  --rh-rule:#E2E5EE;
  --rh-sans:'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;
  --rh-display:'Inter Tight','Inter',-apple-system,sans-serif;
}

::selection{background:var(--la-orange-tint);color:var(--la-ink)}

/* ── 1. hero ─────────────────────────────────────────────────────────── */
.rh{background:var(--la-grad-ink);color:#fff;position:relative;overflow:hidden;
  padding:calc(var(--rh-navpad,0px) + 56px) 0 0;font-family:var(--rh-sans)}
.rh .container{max-width:1140px;margin:0 auto;width:100%;padding:0 40px;text-align:left}
.rh-grid{display:grid;grid-template-columns:minmax(0,1.12fr) minmax(0,.88fr);gap:52px;align-items:center;padding-bottom:72px}
.rh-crumb{font-size:13px;color:var(--rh-on);margin:0 0 26px}
.rh-crumb a{color:var(--rh-on)}
.rh-crumb a:hover{color:#fff}
.rh-eyebrow{font-size:12.5px;letter-spacing:.14em;text-transform:uppercase;
  color:var(--la-amber-300);font-weight:600;margin:0}
.rh h1{font-family:var(--rh-display);font-weight:500;letter-spacing:-.03em;color:#fff;
  font-size:clamp(32px,3.9vw,46px);line-height:1.08;margin:14px 0 18px;text-wrap:balance}
.rh h1 em,.rh h1 .fp-orange{font-style:normal;font-weight:500;
  color:var(--la-amber-300);background:var(--la-grad-text-dark);
  -webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent}
.rh-sub{color:var(--rh-on);font-size:18px;line-height:1.6;max-width:600px;margin:0}
.rh-sub a{color:var(--la-amber-300);text-decoration:underline;text-underline-offset:3px}
.rh-meta{font-size:13px;color:#888FA1;margin:14px 0 0}
.rh-btns{display:flex;flex-wrap:wrap;gap:12px;margin:30px 0 0}
.rh-btn{display:inline-flex;align-items:center;gap:8px;border-radius:8px;padding:13px 22px;
  font:600 15px/1 var(--rh-sans);border:1px solid transparent;text-decoration:none;
  transition:background .15s,border-color .15s,color .15s}
.rh-btn-orange{background:var(--la-grad-button);color:#fff;box-shadow:var(--la-shine),var(--la-glow)}
.rh-btn-orange:hover{background:var(--la-grad-button-hover);color:#fff}
.rh-btn-orange svg{width:16px;height:16px;transition:transform .2s cubic-bezier(.16,1,.3,1)}
.rh-btn-orange:hover svg{transform:translateX(3px)}
.rh-btn-ghost{color:#fff;border-color:rgba(255,255,255,.22)}
.rh-btn-ghost:hover{border-color:rgba(255,255,255,.55);color:#fff}
.rh-btn:focus-visible{outline:2px solid var(--la-amber-300);outline-offset:3px}
.rh-ticks{list-style:none;margin:26px 0 0;padding:0;display:flex;flex-wrap:wrap;gap:8px 22px;
  font-size:14px;color:var(--rh-on)}
.rh-ticks li{position:relative;padding-left:20px}
.rh-ticks li:before{content:"";position:absolute;left:2px;top:.5em;width:9px;height:4px;
  border-left:1.6px solid var(--la-amber-300);border-bottom:1.6px solid var(--la-amber-300);
  transform:rotate(-45deg)}
.rh-note{margin:22px 0 0;font-size:14px;color:var(--rh-on);max-width:560px}
.rh-note b{color:#fff;font-weight:600}

/* the screen: a quiet window frame, lifted off the ink, a little of it
   running past the right edge so it reads as the product, not a thumbnail */
.rh-shot{margin:0;position:relative}
.rh-shot:before{content:"";position:absolute;inset:12% -10% -6% 8%;
  background:radial-gradient(60% 60% at 50% 50%,rgba(242,107,33,.22),transparent 70%);
  filter:blur(30px);pointer-events:none}
.rh-frame{position:relative;border-radius:12px;overflow:hidden;background:#fff;
  border:1px solid rgba(255,255,255,.18);
  box-shadow:0 30px 60px -20px rgba(0,0,0,.55),0 12px 24px -12px rgba(0,0,0,.4);
  transform:perspective(1600px) rotateY(-6deg) rotateX(2deg);transform-origin:left center;
  transition:transform .6s cubic-bezier(.16,1,.3,1)}
.rh-shot:hover .rh-frame{transform:perspective(1600px) rotateY(-2deg) rotateX(1deg)}
.rh-bar{display:flex;gap:6px;align-items:center;height:26px;padding:0 12px;
  background:#EEF0F4;border-bottom:1px solid var(--rh-rule)}
.rh-bar span{width:9px;height:9px;border-radius:50%;background:#CDD2DC}
.rh-frame img{display:block;width:100%;height:auto}
.rh-shot figcaption{margin:14px 0 0;font-size:12.5px;color:#888FA1;text-align:right}

/* tiles under the hero, carried from the features page map: used where a
   page's old hero held a list (Affinity, LawMaster, Practice Evolve) */
.rh-tiles-h{font-size:14px;color:var(--rh-on);margin:0 0 12px}
.rh-tiles{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;padding-bottom:64px;margin:0;list-style:none;padding-left:0}
.rh-tile{background:var(--rh-card);border:1px solid var(--rh-line);border-radius:12px;padding:16px 18px;
  font-size:14.5px;line-height:1.5;color:#fff}
.rh-tile svg{width:20px;height:20px;color:var(--la-amber-300);display:block;margin-bottom:10px}

/* the intro that the comparison page used to carry in its hero */
.rh-intro{background:#fff;padding:56px 0 8px}
.rh-intro .container{max-width:1140px;margin:0 auto;padding:0 40px;text-align:left}
.rh-intro p{max-width:760px;color:#374151;font-size:16px;line-height:1.7;margin:0 0 14px;font-family:var(--rh-sans)}
.rh-intro .sig{color:var(--rh-muted);font-size:14px}
.rh-intro a{color:var(--la-orange-700);text-decoration:underline;text-underline-offset:3px}

@media (prefers-reduced-motion:reduce){
  .rh-frame,.rh-shot:hover .rh-frame{transform:none;transition:none}
  .rh-btn-orange svg{transition:none}
}
@media (max-width:1080px){
  .rh-grid{grid-template-columns:1fr;gap:40px}
  .rh-frame{transform:none}
  .rh-shot figcaption{text-align:left}
  .rh-tiles{grid-template-columns:repeat(2,1fr)}
}
@media (max-width:720px){
  .rh .container,.rh-intro .container{padding:0 20px}
  .rh{padding-top:calc(var(--rh-navpad,0px) + 36px)}
  .rh-sub{font-size:16.5px}
  .rh-grid{padding-bottom:48px}
  .rh-tiles{grid-template-columns:1fr;padding-bottom:48px}
  .rh-btn{flex:1 1 auto;justify-content:center}
}

/* ── 2. harmonising the older section families ───────────────────────── */

/* one typeface family, as on the homepage and features page */
body.rp{font-family:var(--rh-sans)}
body.rp h1,body.rp h2,body.rp h3,
body.rp .section-h2,body.rp .section-title{font-family:var(--rh-display);letter-spacing:-.025em}
body.rp section:not(.rh) h2,body.rp .section-h2{font-weight:600}

/* accent words on light grounds: the light ramp, as .sec-h h2 em on the
   features page. Dark bands keep their own amber. */
body.rp section:not(.rh):not(.lp-cta):not(.section-navy):not(.cta-section):not(.fp-cta):not(.la-conv):not(.dark):not(.lp-strip) h2 em,
body.rp section:not(.rh):not(.lp-cta):not(.section-navy):not(.cta-section):not(.fp-cta):not(.la-conv):not(.dark):not(.lp-strip) h2 .fp-orange{
  font-style:normal;color:var(--la-orange-700);background:var(--la-grad-text-light);
  -webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent}

/* dark bands: start on the ink and fade to navy, the house treatment for
   tall dark sections */
body.rp .lp-cta,body.rp .section-navy,body.rp .cta-section,body.rp .fp-cta{background:var(--la-grad-ink)!important}

/* body buttons carry the homepage's orange ramp */
body.rp .btn-orange,body.rp .fp-btn-primary,body.rp .btn-primary,body.rp .cta-btn-primary{
  background:var(--la-grad-button)!important;box-shadow:var(--la-shine),var(--la-glow);border-color:transparent!important}
body.rp .btn-orange:hover,body.rp .fp-btn-primary:hover,body.rp .btn-primary:hover,body.rp .cta-btn-primary:hover{
  background:var(--la-grad-button-hover)!important}

/* stats strip labels: CLAUDE.md DARK STATS STRIP spec, 11px #888FA1, which
   clears AA on navy (the old 9px #4B6280 was 2.5:1) */
body.rp .strip-label{font-size:11px;color:#888FA1}

/* light bands: the features page wash */
body.rp .section-off{background:var(--rh-wash)}

/* tables scroll sideways on phones and keep the Law App column (CLAUDE.md) */
body.rp .table-wrap,body.rp .rules-wrap{overflow-x:auto;-webkit-overflow-scrolling:touch}
body.rp table{font-variant-numeric:tabular-nums}

body.rp a:focus-visible{outline:2px solid var(--la-orange-500);outline-offset:2px;border-radius:4px}
