/* ============================================================
   FastAutoLeasing — guides.css
   Article-only styles. Reuses variables from styles.css.
   No global restyle — scoped to guides + articles.
   ============================================================ */

/* ---------- Guides index ---------- */
.guides-hero {
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(34, 211, 238, 0.18), transparent 60%),
    radial-gradient(700px 420px at -10% 110%, rgba(52, 211, 153, 0.14), transparent 60%),
    var(--dark);
  color: var(--text-on-dark);
  padding: 48px 0;
}
.guides-hero h1 {
  font-size: clamp(1.9rem, 4.5vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}
.guides-hero p {
  color: var(--text-on-dark-muted);
  margin-top: 10px;
  max-width: 40em;
}

.guides-wrap { padding: 48px 0 64px; }

.guides-grid {
  display: grid;
  gap: 20px;
}
@media (min-width: 640px) {
  .guides-grid { grid-template-columns: 1fr 1fr; }
}

.guide-card {
  display: flex;
  flex-direction: column;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 22px;
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  color: var(--text);
  transition: transform 0.12s ease, box-shadow 0.12s ease, border-color 0.12s ease;
}
.guide-card:hover,
.guide-card:focus-visible {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  border-color: var(--accent);
}
.guide-card .guide-eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--accent-dark);
  margin-bottom: 10px;
}
.guide-card h2 {
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.25;
  margin-bottom: 8px;
}
.guide-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 14px;
}
.guide-card .guide-more {
  margin-top: auto;
  font-weight: 700;
  color: var(--accent-dark);
  font-size: 0.9rem;
}

/* ---------- Article reading container ---------- */
.article {
  max-width: 760px;
  margin: 0 auto;
  padding: 44px 20px 64px;
}
.article .article-eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--accent-dark);
  margin-bottom: 12px;
}
.article h1 {
  font-size: clamp(1.7rem, 4.2vw, 2.4rem);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.article-meta {
  color: var(--text-muted);
  font-size: 0.88rem;
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}
.article h2 {
  font-size: clamp(1.3rem, 3vw, 1.6rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.25;
  margin: 36px 0 12px;
}
.article h3 {
  font-size: 1.12rem;
  font-weight: 700;
  margin: 24px 0 8px;
}
.article p {
  font-size: 1.05rem;
  line-height: 1.75;
  margin-bottom: 18px;
  color: var(--text);
}
.article ul,
.article ol {
  padding-left: 24px;
  margin-bottom: 18px;
}
.article li {
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 8px;
}
.article a {
  color: var(--accent-dark);
  font-weight: 600;
}
.article strong { font-weight: 700; }

/* Callout / example box */
.article .callout {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
  margin: 24px 0;
}
.article .callout p:last-child { margin-bottom: 0; }
.article .callout .callout-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent-dark);
  margin-bottom: 6px;
}

/* End-of-article CTA */
.article-cta {
  background: var(--dark);
  color: var(--text-on-dark);
  border-radius: var(--radius);
  padding: 30px 26px;
  margin: 36px 0 8px;
  text-align: center;
}
.article-cta p {
  color: var(--text-on-dark);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 18px;
}

/* Related links */
.article-related {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.article-related h2 {
  font-size: 1.1rem;
  margin: 0 0 12px;
}
.article-related ul { list-style: none; padding-left: 0; }
.article-related li { margin-bottom: 8px; }

/* Article-footer disclaimer */
.article-disclaimer {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 20px 56px;
}
.article-disclaimer p {
  font-size: 0.78rem;
  line-height: 1.65;
  color: var(--text-muted);
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
}
