/* ============================================================
   Design tokens
   ============================================================ */
:root {
  --brand: #0d6efd;
  --brand-dark: #0a58ca;
  --danger: #dc3545;
  --success: #198754;
  --text-muted: #495057;
  --text-strong: #212529;
  --surface: #fff;

  /* Brand tints (derived from --brand) */
  --brand-a02: rgba(13, 110, 253, .02);
  --brand-a05: rgba(13, 110, 253, .05);
  --brand-a08: rgba(13, 110, 253, .08);
  --brand-a10: rgba(13, 110, 253, .1);
  --brand-a12: rgba(13, 110, 253, .12);
  --brand-a15: rgba(13, 110, 253, .15);
  --brand-a18: rgba(13, 110, 253, .18);
  --brand-a20: rgba(13, 110, 253, .2);
  --brand-a25: rgba(13, 110, 253, .25);
  --brand-a30: rgba(13, 110, 253, .3);
  --brand-a35: rgba(13, 110, 253, .35);

  /* Success tint */
  --success-a12: rgba(25, 135, 84, .12);

  --border-subtle: rgba(0, 0, 0, .06);
  --shadow-hover: 0 .5rem 1rem rgba(0, 0, 0, .1);
  --shadow-frame: 0 .75rem 2rem var(--brand-a12);
  --card-radius: .75rem;
  --scroll-offset: 6rem;
}

/* ============================================================
   Base layout: sticky footer
   ============================================================ */
html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  display: flex;
  min-height: 100vh;
  flex-direction: column;
}

main {
  flex: 1;
}

/* ============================================================
   Accessibility
   ============================================================ */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 2000;
  padding: .75rem 1.25rem;
  background: var(--brand);
  color: var(--surface);
  text-decoration: none;
  border-radius: 0 0 .5rem 0;
}

.skip-link:focus {
  left: 0;
  color: var(--surface);
  outline: 3px solid var(--brand-dark);
}

a:focus-visible,
button:focus-visible,
.btn:focus-visible {
  outline: 3px solid var(--brand-dark);
  outline-offset: 2px;
}

/* ============================================================
   Shared icon-badge pattern
   ============================================================ */
.feature-icon,
.testimonial-avatar,
.download-icon,
.login-icon,
.thanks-icon,
.author-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: var(--brand-a10);
  color: var(--brand);
}

.feature-icon {
  width: 3rem;
  height: 3rem;
  border-radius: var(--card-radius);
  font-size: 1.4rem;
}

.testimonial-avatar {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  font-weight: 700;
}

.download-icon {
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 1rem;
  font-size: 2.25rem;
}

.login-icon {
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 50%;
  font-size: 2rem;
}

.thanks-icon {
  width: 5.5rem;
  height: 5.5rem;
  border-radius: 50%;
  background: var(--success-a12);
  color: var(--success);
  font-size: 2.75rem;
}

.author-avatar {
  width: 7rem;
  height: 7rem;
  border-radius: 50%;
  font-size: 2.5rem;
  font-weight: 700;
}

/* ============================================================
   Hero band
   ============================================================ */
.hero {
  background: linear-gradient(180deg, var(--brand-a08), rgba(13, 110, 253, 0));
  border-bottom: 1px solid var(--brand-a15);
}

/* ============================================================
   Section heading accent
   ============================================================ */
.section-title {
  position: relative;
  padding-bottom: .5rem;
}

.section-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 3rem;
  height: .25rem;
  border-radius: .25rem;
  background: var(--brand);
}

.section-title.text-center-line::after {
  left: 50%;
  transform: translateX(-50%);
}

/* ============================================================
   Stat band
   ============================================================ */
.stat-value {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 700;
  color: var(--brand);
}

/* ============================================================
   Cards
   ============================================================ */
.feature-card,
.post-card,
.pricing-card {
  height: 100%;
  transition: transform .15s ease, box-shadow .15s ease;
}

@media (prefers-reduced-motion: no-preference) {
  .feature-card:hover,
  .post-card:hover,
  .pricing-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
  }
}

/* ============================================================
   Icon / link lists
   ============================================================ */
.icon-list,
.customer-list,
.firm-list,
.sitemap-list,
.legal-toc {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
}

.icon-list li,
.customer-list li,
.sitemap-list li {
  display: flex;
  gap: .6rem;
  align-items: flex-start;
  margin-bottom: .5rem;
}

.sitemap-list li {
  margin-bottom: .6rem;
}

.icon-list li .bi,
.customer-list li .bi,
.sitemap-list li .bi {
  color: var(--brand);
  flex-shrink: 0;
  margin-top: .2rem;
}

/* ============================================================
   Install steps
   ============================================================ */
.install-steps {
  counter-reset: step;
  list-style: none;
  padding-left: 0;
}

.install-steps li {
  counter-increment: step;
  position: relative;
  padding-left: 2.75rem;
  margin-bottom: .75rem;
}

.install-steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--brand-a10);
  color: var(--brand);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* ============================================================
   Testimonials
   ============================================================ */
.testimonial-card {
  height: 100%;
  border: 0;
  border-top: .25rem solid var(--brand);
  border-radius: .5rem;
}

.testimonial-card blockquote {
  position: relative;
  margin: 0;
  font-size: 1rem;
  line-height: 1.6;
}

.testimonial-card .quote-mark,
.testimonial-card .bi-quote {
  font-size: 2.5rem;
  line-height: 1;
  color: var(--brand-a35);
}

/* ============================================================
   Timeline
   ============================================================ */
.timeline {
  list-style: none;
  padding-left: 0;
  position: relative;
}

.timeline::before {
  content: "";
  position: absolute;
  left: .95rem;
  top: .5rem;
  bottom: .5rem;
  width: 2px;
  background: var(--brand-a25);
}

.timeline li {
  position: relative;
  padding-left: 3rem;
  margin-bottom: 1.5rem;
}

.timeline li::before {
  content: "";
  position: absolute;
  left: .45rem;
  top: .35rem;
  width: 1.1rem;
  height: 1.1rem;
  border-radius: 50%;
  background: var(--surface);
  border: 3px solid var(--brand);
}

/* ============================================================
   Blog / post cards
   ============================================================ */
.post-thumb {
  height: 8rem;
  border-radius: .5rem .5rem 0 0;
  background: linear-gradient(135deg, var(--brand-a15), var(--brand-a05));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand);
  font-size: 2.25rem;
}

.post-card .stretched-title {
  color: inherit;
  text-decoration: none;
}

.post-meta {
  font-size: .85rem;
}

/* ============================================================
   Plain links (underline on hover/focus)
   ============================================================ */
.sitemap-list a,
.legal-toc a,
footer a {
  text-decoration: none;
}

.post-card .stretched-title:hover,
.post-card .stretched-title:focus {
  color: var(--brand);
  text-decoration: underline;
}

.sitemap-list a:hover,
.sitemap-list a:focus,
.legal-toc a:hover,
.legal-toc a:focus,
footer a:hover,
footer a:focus {
  text-decoration: underline;
}

/* ============================================================
   Legal document pages
   ============================================================ */
.legal-doc h2 {
  font-size: 1.35rem;
  font-weight: 700;
  margin-top: 2.5rem;
  scroll-margin-top: var(--scroll-offset);
}

.legal-doc h2:first-of-type {
  margin-top: 0;
}

.legal-doc h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-top: 1.75rem;
  scroll-margin-top: var(--scroll-offset);
}

.legal-doc p,
.legal-doc li {
  color: var(--text-muted);
}

.legal-toc {
  counter-reset: toc;
}

.legal-toc li {
  counter-increment: toc;
  margin-bottom: .4rem;
}

.legal-toc li::before {
  content: counter(toc) ". ";
  color: var(--brand);
  font-weight: 700;
}

/* Legal: lettered sub-clauses */
.clause-list {
  list-style: upper-alpha;
  padding-left: 1.5rem;
}

.clause-list li {
  margin-bottom: .5rem;
  padding-left: .35rem;
}

.clause-list li::marker {
  color: var(--brand);
  font-weight: 700;
}

/* Legal: emphasized notice blocks */
.legal-notice {
  background: var(--brand-a05);
  border-left: .25rem solid var(--brand);
  border-radius: 0 .5rem .5rem 0;
  padding: 1.25rem 1.5rem;
}

/* ============================================================
   FAQ accordions
   ============================================================ */
.faq-group {
  scroll-margin-top: var(--scroll-offset);
}

.faq-group .accordion-button {
  font-weight: 600;
}

.faq-group .accordion-button:not(.collapsed) {
  background: var(--brand-a08);
  color: var(--brand-dark);
}

/* ============================================================
   Pricing
   ============================================================ */
.pricing-card.pricing-featured,
.pricing-card-single,
.download-card,
.login-card {
  border: 2px solid var(--brand);
}

.pricing-card-single {
  border-radius: 1rem;
}

.pricing-price,
.price-amount {
  font-weight: 700;
  color: var(--danger);
}

.pricing-price {
  font-size: clamp(2rem, 4vw, 2.75rem);
}

.price-amount {
  font-size: clamp(2rem, 5vw, 3rem);
}

.pricing-badge {
  position: absolute;
  top: -.8rem;
  left: 50%;
  transform: translateX(-50%);
}

/* ============================================================
   Trust strip
   ============================================================ */
.trust-item {
  display: flex;
  align-items: center;
  gap: .6rem;
  color: var(--text-muted);
}

.trust-item .bi {
  color: var(--brand);
  font-size: 1.3rem;
  flex-shrink: 0;
}

/* ============================================================
   Download files
   ============================================================ */
.file-meta {
  font-size: .9rem;
}

.file-meta .bi {
  color: var(--brand);
}

/* ============================================================
   Screenshot
   ============================================================ */
.screenshot-frame {
  border: 1px solid var(--brand-a25);
  border-radius: var(--card-radius);
  overflow: hidden;
  box-shadow: var(--shadow-frame);
}

/* ============================================================
   Contact page & forms
   ============================================================ */
.contact-channel {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.contact-channel .feature-icon {
  flex-shrink: 0;
}

.form-label {
  font-weight: 600;
}

.form-section-legend {
  font-size: 1.1rem;
  font-weight: 700;
  border-bottom: 2px solid var(--brand-a25);
  padding-bottom: .4rem;
  margin-bottom: 1rem;
}

/* Honeypot field — hidden from humans, visible to bots */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  top: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ============================================================
   About page: insights / article body
   ============================================================ */
.article-body h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-top: 2.5rem;
  scroll-margin-top: var(--scroll-offset);
}

.article-body h2:first-of-type {
  margin-top: 0;
}

.article-body h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-top: 1.75rem;
  scroll-margin-top: var(--scroll-offset);
}

.article-body p,
.article-body li {
  color: var(--text-muted);
}

.article-body .icon-list li strong {
  color: var(--text-strong);
}

.article-promo {
  background: linear-gradient(135deg, var(--brand-a08), var(--brand-a02));
  border: 1px solid var(--brand-a20);
  border-radius: var(--card-radius);
}

/* ============================================================
   404 error page
   ============================================================ */
.error-code {
  font-size: clamp(5rem, 15vw, 9rem);
  font-weight: 800;
  line-height: 1;
  color: var(--brand-a18);
  user-select: none;
}

.error-path {
  word-break: break-all;
}

/* ============================================================
   Directory: A–Z pager
   ============================================================ */
.alpha-nav {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
  justify-content: center;
}

.alpha-nav a,
.alpha-nav span.alpha-current {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: .5rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid var(--brand-a30);
  color: var(--brand);
  background: var(--surface);
}

.alpha-nav a:hover,
.alpha-nav a:focus {
  background: var(--brand-a10);
}

.alpha-nav span.alpha-current {
  background: var(--brand);
  color: var(--surface);
  border-color: var(--brand);
}

/* ============================================================
   Directory: column lists
   ============================================================ */
.firm-list,
.customer-list {
  column-gap: 2rem;
  columns: 1;
}

.firm-list li,
.customer-list li {
  break-inside: avoid;
}

.firm-list li {
  padding: .3rem 0;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border-subtle);
}

@media (min-width: 576px) {
  .firm-list,
  .customer-list {
    columns: 2;
  }
}

@media (min-width: 768px) {
  .firm-list {
    columns: 3;
  }
}

@media (min-width: 992px) {
  .firm-list {
    columns: 4;
  }

  .customer-list {
    columns: 3;
  }
}

/* Customer list grid tiles */
.customer-tile {
  background: var(--surface);
  border: 1px solid var(--bs-border-color, #dee2e6);
  border-radius: .375rem;
  padding: .5rem .875rem;
  height: 100%;
  font-size: .9375rem;
  line-height: 1.4;
  display: flex;
  align-items: center;
  overflow-wrap: anywhere;
}


    :root {
      scroll-behavior: smooth;
    }

    body {
      display: flex;
      min-height: 100vh;
      flex-direction: column;
    }

    main {
      flex: 1;
    }

    /* Accessible skip link */
    .skip-link {
      position: absolute;
      left: -9999px;
      top: 0;
      z-index: 2000;
      padding: .75rem 1.25rem;
      background: #0d6efd;
      color: #fff;
      text-decoration: none;
      border-radius: 0 0 .5rem 0;
    }

    .skip-link:focus {
      left: 0;
      color: #fff;
      outline: 3px solid #0a58ca;
    }

    /* Visible keyboard focus */
    a:focus-visible,
    button:focus-visible,
    .btn:focus-visible {
      outline: 3px solid #0a58ca;
      outline-offset: 2px;
    }

    /* Hero band */
    .hero {
      background: linear-gradient(180deg, rgba(13, 110, 253, .08), rgba(13, 110, 253, 0));
      border-bottom: 1px solid rgba(13, 110, 253, .15);
    }

    /* Section heading accent */
    .section-title {
      position: relative;
      padding-bottom: .5rem;
    }

    .section-title::after {
      content: "";
      position: absolute;
      left: 0;
      bottom: 0;
      width: 3rem;
      height: .25rem;
      border-radius: .25rem;
      background: #0d6efd;
    }

    .section-title.text-center-line::after {
      left: 50%;
      transform: translateX(-50%);
    }

    /* Stat band */
    .stat-value {
      font-size: clamp(1.5rem, 3vw, 2.25rem);
      font-weight: 700;
      color: #0d6efd;
    }

    /* Feature cards */
    .feature-card {
      transition: transform .15s ease, box-shadow .15s ease;
      height: 100%;
    }

    @media (prefers-reduced-motion: no-preference) {
      .feature-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .1);
      }
    }

    .feature-icon {
      width: 3rem;
      height: 3rem;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      border-radius: .75rem;
      background: rgba(13, 110, 253, .1);
      color: #0d6efd;
      font-size: 1.4rem;
    }

    /* Checklist */
    .icon-list {
      list-style: none;
      padding-left: 0;
    }

    .icon-list li {
      display: flex;
      gap: .6rem;
      margin-bottom: .5rem;
      align-items: flex-start;
    }

    .icon-list li .bi {
      color: #0d6efd;
      flex-shrink: 0;
      margin-top: .2rem;
    }

    /* Install steps */
    .install-steps {
      counter-reset: step;
      list-style: none;
      padding-left: 0;
    }

    .install-steps li {
      counter-increment: step;
      position: relative;
      padding-left: 2.75rem;
      margin-bottom: .75rem;
    }

    .install-steps li::before {
      content: counter(step);
      position: absolute;
      left: 0;
      top: 0;
      width: 2rem;
      height: 2rem;
      border-radius: 50%;
      background: rgba(13, 110, 253, .1);
      color: #0d6efd;
      font-weight: 700;
      display: inline-flex;
      align-items: center;
      justify-content: center;
    }

    /* Testimonial cards */
    .testimonial-card blockquote {
      position: relative;
      margin: 0;
    }

    .testimonial-card .quote-mark {
      font-size: 2.5rem;
      line-height: 1;
      color: rgba(13, 110, 253, .25);
    }

    .testimonial-avatar {
      width: 3rem;
      height: 3rem;
      border-radius: 50%;
      background: rgba(13, 110, 253, .1);
      color: #0d6efd;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      font-weight: 700;
      flex-shrink: 0;
    }

    /* Form section legends */
    .form-section-legend {
      font-size: 1.1rem;
      font-weight: 700;
      border-bottom: 2px solid rgba(13, 110, 253, .25);
      padding-bottom: .4rem;
      margin-bottom: 1rem;
    }

    /* Footer */
    footer a {
      text-decoration: none;
    }

    footer a:hover,
    footer a:focus {
      text-decoration: underline;
    }
