/* =========================================================
   Content page components shared by the public site and the dashboard
   (Support, Contact, FAQ, Sitemap, Pricing, legal and error pages).
   Uses the --ui-* tokens defined by site-theme.css or dashboard-theme.css.
   ========================================================= */
/* ---------- Page header for content pages ---------- */
.site-page-head{
  position: relative; overflow: hidden; color: #fff; padding: 56px 0 48px;
  background:
    radial-gradient(60% 140% at 100% 0%, rgba(208, 32, 46, .38) 0%, rgba(208, 32, 46, 0) 60%),
    radial-gradient(50% 120% at 0% 100%, rgba(143, 180, 227, .22) 0%, rgba(143, 180, 227, 0) 60%),
    var(--ui-grad-brand);
}
.site-page-head h1{ color: #fff; font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 800; margin: 10px 0 8px; }
.site-page-head p{ color: rgba(255,255,255,.8); max-width: 680px; margin: 0; font-size: 1.05rem; }
.site-kicker{
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px;
  font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25); color: #fff;
}
.site-kicker--light{ background: var(--ui-brand-red-soft); border-color: rgba(208, 32, 46, .2); color: var(--ui-brand-red); }
.site-section{ padding: 64px 0; }
.site-section--tint{ background: var(--ui-bg); }
.site-section__head{ max-width: 680px; margin-bottom: 32px; }
.site-section__head h2{ font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 800; margin: 10px 0 8px; }
.site-section__head p{ color: var(--ui-muted); font-size: 1.02rem; margin: 0; }
.site-card{
  height: 100%; background: var(--ui-surface); border: 1px solid var(--ui-border); border-radius: var(--ui-radius);
  padding: 24px; box-shadow: var(--ui-shadow);
}
.site-card h3{ font-size: 1.1rem; font-weight: 700; margin: 0 0 6px; }
.site-card p{ color: var(--ui-muted); margin: 0; }
.site-prose{ max-width: 780px; }
.site-prose h2{ font-size: 1.3rem; font-weight: 700; margin: 28px 0 10px; }
.site-prose p, .site-prose li{ color: var(--ui-text); line-height: 1.7; }


/* Inside the logged-in dashboard the page header becomes a rounded banner */
.app-body .site-page-head{ border-radius: 18px; padding: 28px 28px 26px; margin-bottom: 8px; }
.app-body .site-page-head .container{ padding: 0; max-width: none; }
.app-body .site-page-head h1{ font-size: 1.6rem; }
.app-body .site-section{ padding: 24px 0; }
.app-body .site-section .container{ padding: 0; max-width: none; }
.site-card__icon{ width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; font-size: 1.25rem; background: var(--ui-brand-red-soft, #fdecee); color: var(--ui-brand-red, #d0202e); margin-bottom: 14px; }
.site-link-list{ list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-link-list a{ display: flex; align-items: center; gap: 8px; text-decoration: none; color: var(--ui-text); padding: 6px 0; }
.site-link-list a:hover{ color: var(--ui-brand-red, #d0202e); }
.site-link-list i{ color: var(--ui-brand-blue, #1d4f8a); }
.site-error{ padding: 80px 0; text-align: center; }
.site-error__code{ font-size: clamp(4rem, 12vw, 7rem); font-weight: 800; line-height: 1; background: linear-gradient(135deg, var(--ui-brand-navy, #0f2c52), var(--ui-brand-red, #d0202e)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.site-error h1{ font-size: 1.6rem; font-weight: 800; margin: 12px 0 8px; }
.site-error p{ color: var(--ui-muted); max-width: 480px; margin: 0 auto 24px; }
