/* CarMood product pages (mileage-tracker, fuel-tracker, speedometer, no-carplay). Loaded only by those pages;
   everything else comes from style.css. */
.lp-hero { position: relative; padding: 40px 0 24px; overflow: hidden; }
.lp-hero::before { content: ""; position: absolute; inset: -30% -10% auto; height: 680px; pointer-events: none;
  background: radial-gradient(closest-side, rgba(91, 227, 125, .18), transparent 70%); }
.lp-hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 48px; align-items: center; }
.lp-hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); }
.lp-hero .lead { max-width: 46ch; }
.lp-hero .crumbs { margin-bottom: 14px; }
.lp-hero-media { margin: 0; display: flex; justify-content: center; }
.lp-hero-media img { width: min(100%, 340px); height: auto; border-radius: 28px;
  box-shadow: 0 40px 120px rgba(0, 0, 0, .6), 0 0 0 1px rgba(255, 255, 255, .06); }
.lp-features { padding-top: 56px; }
.lp-grid { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.lp-grid .card h3 { margin-bottom: .4em; }
.lp-qa { padding-top: 8px; }
.lp-qa .article h2 { margin-top: 1.6em; }
.lp-qa .article h2:first-child { margin-top: 0; }
.lp-figure { margin: 28px auto 36px; max-width: 320px; text-align: center; }
.lp-figure.is-square { max-width: 240px; }
.lp-figure img { width: 100%; height: auto; border-radius: 22px; border: 1px solid var(--stroke); box-shadow: 0 24px 60px rgba(0, 0, 0, .45); }
.lp-figure figcaption { color: var(--muted); font-size: .9rem; margin-top: 10px; }
.lp-related { padding-top: 0; }
.lp-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.lp-links li { display: flex; min-width: 0; }
.lp-links a { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; min-height: 84px;
  padding: 20px 22px; background: var(--card); border: 1px solid var(--stroke); border-radius: var(--radius);
  color: var(--text); font-weight: 700; overflow-wrap: anywhere; }
.lp-links a::after { content: "→"; flex-shrink: 0; color: var(--green); }
[dir="rtl"] .lp-links a::after { content: "←"; }
.lp-links a:hover { text-decoration: none; border-color: var(--green); }
.lp-links a:focus-visible { outline: 2px solid var(--green); outline-offset: 4px; }
@media (max-width: 900px) {
  .lp-hero-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .lp-hero-media img { width: min(76%, 300px); }
}
