/* SEO Pro theme: fast, accessible, readable. Works on top of Bootstrap 5.3 and the shipped pages. */
:root {
  --brand: #4338ca; --brand-2: #7c3aed; --ink: #111827; --muted: #5b6475; --line: #e5e7eb; --surface: #ffffff; --bg: #f6f7fb;
  --bs-body-color: var(--ink); --bs-secondary-color: var(--muted); --bs-link-color: var(--brand); --bs-link-hover-color: var(--brand-2);
  --radius: 1rem; --shadow: 0 1px 2px rgba(16, 24, 40, .06), 0 4px 14px rgba(16, 24, 40, .06);
}
html { scroll-behavior: smooth; scroll-padding-top: 5rem; }
body { background: var(--bg); color: var(--ink); font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
h1, h2, h3, h4 { letter-spacing: -.02em; text-wrap: balance; }
p { text-wrap: pretty; }
.text-muted, .text-body-secondary { color: var(--muted) !important; }
a { text-underline-offset: .18em; }

/* keyboard focus must be visible everywhere */
:focus-visible { outline: 3px solid #a5b4fc; outline-offset: 2px; border-radius: 4px; }
.skip-link { border-radius: .5rem; box-shadow: var(--shadow); font-weight: 600; }

/* header and footer */
.site-header { z-index: 1030; }
.site-header .navbar { backdrop-filter: saturate(1.4) blur(8px); background: rgba(255, 255, 255, .92) !important; }
.navbar-brand { font-weight: 800; letter-spacing: -.03em; }
.nav-link { font-weight: 500; color: #374151; }
.nav-link:hover, .nav-link.active { color: var(--brand); }
.site-footer { color: var(--muted); }
.site-footer a { text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: var(--brand) !important; }
.site-footer li { margin-bottom: .35rem; }

/* buttons, cards, pills */
.btn { border-radius: .65rem; font-weight: 600; }
.btn-brand { background: linear-gradient(135deg, var(--brand), var(--brand-2)); border: 0; color: #fff; box-shadow: 0 4px 14px rgba(67, 56, 202, .28); }
.btn-brand:hover, .btn-brand:focus-visible { color: #fff; filter: brightness(1.08); transform: translateY(-1px); }
.text-brand { color: var(--brand) !important; }
.card { border: 0; border-radius: var(--radius); box-shadow: var(--shadow); background: var(--surface); }
.card-header { background: transparent; font-weight: 700; border-bottom: 1px solid var(--line); padding: .9rem 1.1rem; }
.balance-pill { background: #eef2ff; color: var(--brand); font-weight: 700; border-radius: 999px; padding: .3rem .8rem; }
.stat-pill { background: rgba(255, 255, 255, .18); border-radius: 999px; padding: .4rem 1rem; font-weight: 600; }
.link-cell { max-width: 260px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: inline-block; vertical-align: bottom; }
pre.code { background: #0f172a; color: #e2e8f0; border-radius: .75rem; padding: 1rem; overflow-x: auto; font-size: .85rem; }
.table > :not(caption) > * > * { padding-top: .75rem; padding-bottom: .75rem; }
.table-light { --bs-table-bg: #f8fafc; }
.form-control, .form-select { border-radius: .65rem; border-color: #d1d5db; }
.form-control:focus, .form-select:focus { border-color: #818cf8; box-shadow: 0 0 0 .25rem rgba(99, 102, 241, .2); }

/* landing page */
.hero { background: radial-gradient(1200px 400px at 90% -10%, rgba(255, 255, 255, .18), transparent 60%), linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; border-radius: 1.5rem; box-shadow: 0 18px 40px rgba(67, 56, 202, .25); }
.hero h1 { line-height: 1.1; }
.hero .lead { opacity: .95; }
.feature { transition: transform .2s ease, box-shadow .2s ease; }
.feature:hover { transform: translateY(-3px); box-shadow: 0 10px 28px rgba(16, 24, 40, .12); }
.steps .step-no { display: inline-grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%; background: #eef2ff; color: var(--brand); font-weight: 800; }
.faq { max-width: 52rem; }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 700; color: var(--brand); }
.faq details[open] summary::after { content: "\2212"; }
.cta { background: linear-gradient(135deg, #1e1b4b, #4338ca); color: #fff; border-radius: 1.5rem; }

/* services page */
.cat-jump { display: flex; flex-wrap: wrap; gap: .5rem; }
.cat-jump .badge { background: #fff; color: var(--ink); border: 1px solid var(--line); font-weight: 600; padding: .5rem .8rem; }
.cat-jump .badge:hover { border-color: var(--brand); color: var(--brand); }
tr:target { background: #eef2ff; }

/* blog and pages */
.post-body, .page-body { max-width: 46rem; margin-inline: auto; }
.post-body img, .page-body img { max-width: 100%; height: auto; }

/* small screens */
@media (max-width: 575.98px) {
  .hero { border-radius: 1rem; }
  .hero h1 { font-size: 1.9rem; }
  .table-responsive { -webkit-overflow-scrolling: touch; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
@media print {
  .site-header, .site-footer, .skip-link, .btn { display: none !important; }
  body { background: #fff; }
  .card { box-shadow: none; border: 1px solid var(--line); }
}
