/* ═══════════════════════════════════════════════════════════════════
   DigiVirtual tool-suite landing — chat-fix-landing-style (2026-11-04)
   ADDITIVE page CSS only. Everything else (header, footer, hero banner,
   tool cards, buttons, Dana font, tokens) comes from the live site
   stylesheet /assets/css/site.css — this file must stay tiny.
   ═══════════════════════════════════════════════════════════════════ */

/* hero-banner heading is a <strong> (h1 lives in tools-hero) — mirror the
   site's .hero-banner h1 rules so the banner is pixel-identical */
.hero-banner .banner-title { display: block; position: relative; margin: 0;
  font-size: 1.95rem; font-weight: 900; line-height: 1.65; max-width: 58%; }

/* steps: tool-card grid with the step number in the tool-icon square */
.tool-icon.dv-step-num { font-weight: 900; font-size: 1.3rem; line-height: 1; }

/* FAQ inside the site's .custom-content card */
.dv-faq details { border: 1px solid var(--border); border-radius: 10px;
  background: var(--surface); padding: .85rem 1.1rem; margin-bottom: .65rem; }
.dv-faq summary { cursor: pointer; font-weight: 700; font-size: .95rem;
  display: flex; align-items: center; justify-content: space-between; gap: .6rem;
  list-style: none; }
.dv-faq summary::-webkit-details-marker { display: none; }
.dv-faq summary > i { color: var(--primary); font-size: 1.25rem; flex: none;
  transition: transform .15s ease; }
.dv-faq details[open] summary > i { transform: rotate(180deg); }
.dv-faq details > p { margin: .6rem 0 0; color: var(--muted); font-size: .88rem; }

/* tool-featured — from the live /tools/ hub inline style so the landing CTA
   card matches the hub card exactly (vars resolve against site.css tokens) */
.tool-featured {
  display: flex; align-items: center; justify-content: space-between; gap: 1.4rem;
  margin: 0 0 1.4rem; padding: 1.5rem 1.6rem;
  background: linear-gradient(135deg, var(--primary-soft, #fff0f4), var(--surface, #fff) 70%);
  border: 1.5px solid var(--primary, #f40041);
  border-radius: calc(var(--radius, 12px) + 2px);
  text-decoration: none; color: var(--text, inherit);
  box-shadow: var(--shadow, 0 1px 3px rgba(0,0,0,.06));
  transition: transform .15s ease, box-shadow .15s ease;
}
.tool-featured:hover, .tool-featured:focus-visible {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover, 0 10px 24px rgba(0,0,0,.14));
}
.tool-featured-main { display: flex; flex-direction: column; gap: .5rem; min-width: 0; }
.tool-featured-badge {
  display: inline-flex; align-items: center; gap: .4rem; width: fit-content;
  background: var(--primary, #f40041); color: #fff;
  border-radius: 999px; padding: .3rem .85rem;
  font-size: .78rem; font-weight: 800; letter-spacing: .02em;
}
.tool-featured-badge i { font-size: 1rem; }
.tool-featured-title {
  display: flex; align-items: center; gap: .6rem;
  font-size: 1.35rem; font-weight: 800; line-height: 1.3; color: var(--text, inherit);
}
.tool-featured-title i { color: var(--primary, #f40041); font-size: 1.6rem; }
.tool-featured-desc { font-size: .92rem; color: var(--muted, #8b8b8b); line-height: 1.7; }
.tool-featured-side { display: flex; flex-direction: column; align-items: center; gap: .55rem; flex-shrink: 0; }
.tool-featured-count {
  display: inline-flex; align-items: center; gap: .35rem;
  font-weight: 800; font-size: 1.05rem; color: var(--primary, #f40041);
  background: rgba(244, 0, 65, .08); border-radius: 999px; padding: .35rem .9rem;
}
.tool-featured-cta {
  display: inline-flex; align-items: center; gap: .3rem;
  font-weight: 700; font-size: .88rem; color: var(--primary, #f40041);
}
.tool-featured:hover .tool-featured-cta i { margin-inline-start: .3rem; }

/* 404 */
.dv-404 { text-align: center; padding-block: 2.4rem; }
.dv-404 h1 { font-size: 2.3rem; font-weight: 900; }
.dv-404 .cta-row { display: flex; justify-content: center; gap: .7rem; margin-top: 1.2rem; flex-wrap: wrap; }

@media (max-width: 900px) {
  .hero-banner .banner-title { font-size: 1.4rem; }
  .hero-banner .banner-title, .hero-banner p { max-width: none; }
}
@media (max-width: 640px) {
  .tool-featured { flex-direction: column; align-items: flex-start; }
  .tool-featured-side { align-items: flex-start; }
}
