/* Concept B "Clear Path": styles for the one-loan-per-page set (va-loans.html, fha-loans.html ... hard-money-loans.html).
   Builds on css/site.css (page-hero, crumbs, ticks, dots, glance, two-col, side-card, path, videos, faq, final).
   Only the palette tokens from site.css :root are used here (no hard-coded colors), so every palette in
   css/palette.css works on these pages too. */

/* ---------- hero: copy + "at a glance" card ---------- */
.lp-hero { padding: 36px 0 56px; }
.lp-hero-grid { display: grid; gap: 28px; align-items: center; }
@media (min-width: 960px) { .lp-hero-grid { grid-template-columns: 1.25fr .9fr; gap: 56px; } .lp-hero { padding: 40px 0 72px; } }
.lp-hero .eyebrow { margin-bottom: 10px; }
.lp-hero h1 { max-width: 16em; }
.lp-hero .lede { margin-bottom: 26px; }
.lp-hero .hero-ctas { margin-bottom: 0; }
.lp-hero .va-disc, .lp-hero .lp-hero-note { max-width: 38em; }
.lp-hero-note { font-size: .875rem; color: var(--on-hero-muted); margin: 18px 0 0; }
.lp-card { background: var(--surface); color: var(--text); border-radius: 22px; padding: 26px 26px 22px; box-shadow: var(--shadow-lg); --focus: var(--primary); }
.lp-card h2 { font-size: 1.05rem; letter-spacing: .02em; color: var(--ink); margin-bottom: 14px; display: flex; align-items: center; gap: 10px; }
.lp-card h2 .icon { color: var(--primary); width: 22px; height: 22px; }
.lp-card .ticks { gap: 12px; }
.lp-card .ticks li { font-weight: 500; color: var(--ink); }
.lp-card-foot { margin: 18px 0 0; padding-top: 14px; border-top: 1px solid var(--line); font-size: .9rem; color: var(--muted); display: flex; gap: 8px; align-items: flex-start; }
.lp-card-foot .icon { color: var(--primary); margin-top: .1em; }
@media (max-width: 479px) { .lp-card { padding: 22px 18px 18px; border-radius: 18px; } }

/* ---------- "who it's for" cards ---------- */
.lp-fit { list-style: none; display: grid; gap: 16px; }
@media (min-width: 640px) { .lp-fit { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .lp-fit.lp-3 { grid-template-columns: repeat(3, 1fr); } }
.lp-fit li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 18px; }
.lp-fit h3 { font-size: 1.05rem; margin: 2px 0 .25em; }
.lp-fit p { margin: 0; color: var(--muted); font-size: .975rem; }
.sec-tint .lp-fit li { box-shadow: 0 1px 2px rgba(var(--shadow-rgb), .04); }

/* ---------- key features (glance cards, 3 across for 6 items) ---------- */
.lp-feats { list-style: none; display: grid; gap: 16px; }
@media (min-width: 600px) { .lp-feats { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .lp-feats.lp-3 { grid-template-columns: repeat(3, 1fr); } .lp-feats.lp-4 { grid-template-columns: repeat(4, 1fr); } }
.lp-feats li { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 20px; }
.sec-tint .lp-feats li { box-shadow: 0 1px 2px rgba(var(--shadow-rgb), .04); }
.lp-feats .icon { width: 30px; height: 30px; color: var(--primary); margin-bottom: 10px; }
.lp-feats h3 { font-size: 1.05rem; margin-bottom: .3em; }
.lp-feats p { margin: 0; font-size: .95rem; color: var(--muted); }
.lp-feats a { font-weight: 600; }
.lp-after { margin: 24px 0 0; max-width: 52em; color: var(--muted); font-size: .95rem; }
.lp-after strong { color: var(--ink); }

/* ---------- requirements / documents ---------- */
.lp-req h3 { font-size: 1.1rem; margin: 28px 0 12px; }
.lp-req h3:first-of-type { margin-top: 8px; }
.lp-req .dots li strong { color: var(--ink); }
.lp-req > div > p:not(.eyebrow) { color: var(--text); }
.side-card h3 { font-size: 1.15rem; }
.side-card .btn { white-space: normal; text-align: center; }
.side-card .link-arrow { margin-top: 14px; }
.lp-src { font-size: .85rem; color: var(--muted); }

/* ---------- options inside a page (refinance types, investor loan types) ---------- */
.lp-opts { display: grid; gap: 20px; }
@media (min-width: 900px) { .lp-opts.lp-3 { grid-template-columns: repeat(3, 1fr); } }
.lp-opt { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); scroll-margin-top: calc(var(--header-h) + 16px); }
.lp-opt:target { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(var(--primary-rgb), .12); }
.lp-opt h3 { font-size: 1.25rem; margin-bottom: .35em; }
.lp-opt > p { color: var(--muted); }
.lp-opt .ticks { margin-bottom: 20px; }
.lp-opt .btn { margin-top: auto; align-self: flex-start; white-space: normal; text-align: center; }
.lp-opt .gov-note { margin-top: 14px; }
@media (max-width: 479px) { .lp-opt { padding: 22px 16px; } .lp-opt .btn { align-self: stretch; } }

/* ---------- "how Harmony helps": their 4-step path, 4 across on desktop ---------- */
@media (min-width: 1024px) {
  .path.lp-path4 { grid-template-columns: repeat(4, 1fr); gap: 28px; }
  .path.lp-path4::before { left: 12%; right: 12%; background: var(--primary); }
}
.path.lp-path4::before { background: var(--primary); }
@media (min-width: 1024px) {
  .path.lp-path5 { grid-template-columns: repeat(5, 1fr); gap: 24px; }
  .path.lp-path5::before { left: 10%; right: 10%; background: var(--primary); }
}
.path.lp-path5::before { background: var(--primary); }
.lp-help-cta { margin-top: 40px; }
.sec-tint .path .node { box-shadow: 0 0 0 6px var(--tint-2), 0 8px 20px rgba(var(--primary-rgb), .3); }

/* ---------- reviews (static cards from js/reviews-data.js text, full text shown) ---------- */
.lp-reviews { list-style: none; display: grid; gap: 20px; }
@media (min-width: 760px) { .lp-reviews { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .lp-reviews { grid-template-columns: repeat(3, 1fr); } }
.lp-reviews .rc-card { flex: none; }
.lp-reviews .rc-text { display: block; -webkit-line-clamp: unset; overflow: visible; }
.lp-rv-foot { margin: 20px 0 0; font-size: .9rem; color: var(--muted); }

/* ---------- related loans ---------- */
.lp-related { list-style: none; display: grid; gap: 20px; }
@media (min-width: 720px) { .lp-related { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 720px) and (max-width: 1023px) { .lp-related.lp-6 { grid-template-columns: repeat(2, 1fr); } }
.lp-rel { position: relative; display: flex; flex-direction: column; height: 100%; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); transition: transform .15s, box-shadow .15s, border-color .15s; }
.lp-rel:hover { transform: translateY(-2px); border-color: var(--line-2); box-shadow: var(--shadow-lg); }
.lp-rel h3 { font-size: 1.15rem; margin-bottom: .35em; }
.lp-rel h3 a { color: var(--ink); text-decoration: none; }
.lp-rel h3 a::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius); }
.lp-rel h3 a:hover { color: var(--primary); }
.lp-rel p { color: var(--muted); font-size: .975rem; margin-bottom: 16px; }
.lp-rel .g-ico { margin-bottom: 14px; }
.lp-rel .lp-go { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; color: var(--primary); font-family: var(--font-h); font-weight: 600; font-size: .95rem; }
@media (prefers-reduced-motion: reduce) { .lp-rel, .lp-rel:hover { transition: none; transform: none; } }

/* ---------- further reading (their blog titles) ---------- */
.lp-read { list-style: none; display: grid; gap: 10px; margin-top: 8px; }
.lp-read a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 600; }

/* ---------- small helpers ---------- */
.lp-note { font-size: .875rem; color: var(--muted); margin: 18px 0 0; max-width: 52em; }
.final .lp-note { color: var(--on-hero-muted); }
.lp-sec-cta { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
@media (max-width: 559px) { .lp-sec-cta .btn { width: 100%; white-space: normal; text-align: center; } }

/* ---------- phones: denser cards, videos two across ---------- */
@media (max-width: 599px) {
  .lp-feats li { display: grid; grid-template-columns: 30px 1fr; column-gap: 14px; padding: 16px; }
  .lp-feats li .icon { grid-row: span 2; width: 26px; height: 26px; margin: 2px 0 0; }
  .lp-rel { display: grid; grid-template-columns: 44px 1fr; column-gap: 14px; padding: 18px; }
  .lp-rel .g-ico { grid-row: span 3; width: 44px; height: 44px; border-radius: 12px; margin: 0; }
  .lp-rel .g-ico .icon { width: 22px; height: 22px; }
  .lp-rel p { margin-bottom: 8px; }
  .page-loan .videos { gap: 14px; }
  .page-loan .videos .vid { width: calc(50% - 7px); }
  .page-loan .vid-t { font-size: .875rem; left: 12px; right: 12px; bottom: 12px; }
}

/* path steps: keep titles on one line of baseline when one title wraps */
.path.lp-path4 li, .path.lp-path5 li { align-content: start; }
/* four related cards (hard money loan types): 2 x 2, then 4 across */
@media (min-width: 720px) { .lp-related.lp-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .lp-related.lp-4 { grid-template-columns: repeat(4, 1fr); } }
