:root {
  --primary: #0d6efd;
  --primary-dark: #0b5ed7;
  --success: #198754;
  --danger: #dc3545;
  --warning: #ffc107;
  --info: #0dcaf0;
  --ink: #212529;
  --muted: #6c757d;
  --line: #dee2e6;
  --surface: #ffffff;
  --soft: #f8f9fa;
  --panel: #343a40;
  --panel-soft: #495057;
  --shadow: 0 0.5rem 1.25rem rgba(33, 37, 41, 0.1);
  --shadow-soft: 0 0.125rem 0.375rem rgba(33, 37, 41, 0.08);
  --radius: 0.5rem;
}

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  color: var(--ink);
  background: #f4f6f9;
  font-family: "Source Sans 3", system-ui, -apple-system, "Segoe UI", sans-serif;
  line-height: 1.55;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  padding: 0.6rem 0.8rem;
  border-radius: var(--radius);
  color: #fff;
  background: var(--panel);
}
.skip-link:focus { top: 0.75rem; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(222, 226, 230, 0.7);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  transition: box-shadow 180ms ease, border-color 180ms ease;
}
.site-header.scrolled {
  border-color: var(--line);
  box-shadow: var(--shadow-soft);
}
.nav-shell,
.hero,
.section,
.footer,
.stats-band {
  width: min(1160px, calc(100% - 2rem));
  margin-right: auto;
  margin-left: auto;
}
.nav-shell {
  min-height: 4.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.brand-mark {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
}
.brand-logo {
  width: min(180px, 48vw);
  height: 42px;
  object-fit: contain;
}
.brand-icon {
  width: 2.5rem;
  height: 2.5rem;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  color: #fff;
  background: var(--primary);
  box-shadow: var(--shadow-soft);
}
.brand-mark strong,
.brand-mark small {
  display: block;
}
.brand-mark strong {
  font-size: 1rem;
  line-height: 1.1;
}
.brand-mark small {
  margin-top: 0.1rem;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.nav-toggle {
  width: 2.75rem;
  height: 2.75rem;
  display: grid;
  place-content: center;
  gap: 0.32rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  cursor: pointer;
  box-shadow: var(--shadow-soft);
}
.nav-toggle span:not(.sr-only) {
  width: 1.25rem;
  height: 2px;
  display: block;
  border-radius: 999px;
  background: var(--ink);
  transition: transform 180ms ease, opacity 180ms ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(0.44rem) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-0.44rem) rotate(-45deg); }
.nav-menu {
  position: fixed;
  inset: 4.5rem 1rem auto 1rem;
  display: grid;
  gap: 0.25rem;
  padding: 0.65rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-0.5rem);
  transition: opacity 180ms ease, transform 180ms ease;
}
.nav-menu.open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.nav-menu a {
  min-height: 2.75rem;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.6rem 0.75rem;
  border-radius: var(--radius);
  color: #3d4957;
  font-weight: 700;
}
.nav-menu a:hover,
.nav-menu a:focus-visible {
  outline: 0;
  color: var(--primary-dark);
  background: #e7f1ff;
}
.nav-login {
  justify-content: center;
  color: #fff !important;
  background: var(--primary);
}
.nav-login:hover,
.nav-login:focus-visible {
  color: #fff !important;
  background: var(--primary-dark) !important;
}

.hero {
  min-height: calc(100vh - 4.25rem);
  display: grid;
  gap: 2rem;
  align-items: center;
  padding: 3rem 0 2.5rem;
}
.eyebrow {
  margin: 0 0 0.65rem;
  color: var(--primary-dark);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}
h1, h2, h3, p { overflow-wrap: anywhere; }
h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(1.9rem, 5.6vw, 3.25rem);
  line-height: 1.08;
}
h2 {
  margin: 0;
  font-size: clamp(1.65rem, 5vw, 2.5rem);
  line-height: 1.14;
}
h3 {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.25;
}
.hero-text {
  max-width: 680px;
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 1.08rem;
}
.hero-actions,
.footer nav,
.modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.hero-actions { margin-top: 1.5rem; }
.cta {
  min-height: 2.9rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.72rem 1rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 800;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}
.cta:hover,
.cta:focus-visible {
  outline: 0;
  transform: translateY(-2px);
}
.cta.primary {
  color: #fff;
  background: var(--primary);
  box-shadow: 0 0.75rem 1.5rem rgba(13, 110, 253, 0.2);
}
.cta.primary:hover { background: var(--primary-dark); }
.cta.secondary {
  color: var(--ink);
  background: var(--surface);
  border-color: var(--line);
  box-shadow: var(--shadow-soft);
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 1.65rem 0 0;
}
.trust-strip div,
.module-grid article,
.timeline article,
.report-grid article,
.testimonial,
.faq-list details,
.split-panel,
.contact-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}
.trust-strip div {
  padding: 0.85rem;
}
.trust-strip dt {
  color: var(--primary-dark);
  font-size: 1.55rem;
  font-weight: 900;
  line-height: 1;
}
.trust-strip dd {
  margin: 0.25rem 0 0;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.hero-visual {
  min-width: 0;
}
.dashboard-preview {
  min-width: 0;
  display: grid;
  grid-template-columns: 6.5rem minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}
.dashboard-preview aside {
  padding: 0.9rem;
  color: #f8f9fa;
  background: var(--panel);
}
.preview-brand {
  display: grid;
  gap: 0.4rem;
  justify-items: center;
  margin-bottom: 1rem;
  text-align: center;
  font-weight: 800;
}
.preview-brand img {
  width: 100%;
  max-width: 8rem;
  height: 2.75rem;
  object-fit: contain;
  border-radius: var(--radius);
  background: #fff;
}
.preview-brand i {
  width: 2.4rem;
  height: 2.4rem;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  background: var(--primary);
}
.dashboard-preview nav {
  display: grid;
  gap: 0.45rem;
}
.dashboard-preview nav span {
  min-height: 2.45rem;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  color: #d7dde4;
  font-size: 0;
}
.dashboard-preview nav span i {
  font-size: 1.15rem;
}
.dashboard-preview nav .active {
  color: #fff;
  background: var(--panel-soft);
}
.dashboard-preview section {
  min-width: 0;
  padding: 1rem;
  background: #f4f6f9;
}
.preview-topbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.9rem;
}
.preview-topbar strong,
.preview-topbar span {
  display: block;
}
.preview-topbar span {
  color: var(--muted);
  font-size: 0.82rem;
}
.status-pill {
  min-height: 1.65rem;
  display: inline-flex !important;
  align-items: center;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  color: #0f5132 !important;
  background: #d1e7dd;
  font-weight: 800;
}
.preview-cards {
  display: grid;
  gap: 0.7rem;
  margin-bottom: 0.9rem;
}
.preview-cards article,
.preview-table {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}
.preview-cards article {
  position: relative;
  min-height: 5.2rem;
  padding: 0.75rem 0.75rem 0.75rem 3.6rem;
}
.preview-cards i {
  position: absolute;
  left: 0.75rem;
  top: 0.8rem;
  width: 2.25rem;
  height: 2.25rem;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  color: #fff;
  background: var(--primary);
}
.preview-cards article:nth-child(2) i { background: var(--success); }
.preview-cards article:nth-child(3) i { color: var(--ink); background: var(--info); }
.preview-cards span {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
}
.preview-cards strong {
  display: block;
  margin-top: 0.1rem;
  font-size: 0.8rem;
}
.preview-table {
  display: grid;
  gap: 0.15rem;
  padding: 0.7rem;
}
.preview-table div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.25rem 0.75rem;
  padding: 0.55rem;
  border-radius: var(--radius);
}
.preview-table div:nth-child(odd) {
  background: var(--soft);
}
.preview-table span {
  font-weight: 800;
}
.preview-table b {
  color: #842029;
  font-size: 0.8rem;
}
.preview-table b.ok { color: #0f5132; }
.preview-table b.warn { color: #664d03; }
.preview-table em {
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: 0.78rem;
  font-style: normal;
}
.float-panel {
  animation: none;
}

.section {
  padding: 3.5rem 0;
}
.section-heading {
  max-width: 760px;
  margin-bottom: 1.5rem;
}
.split-panel {
  display: grid;
  gap: 1.25rem;
  padding: 1.25rem;
}
.split-panel p,
.module-grid p,
.timeline p,
.report-grid p,
.contact-panel p,
.faq-list p {
  margin: 0.6rem 0 0;
  color: var(--muted);
}
.assurance-list {
  display: grid;
  gap: 0.65rem;
}
.assurance-list span {
  min-height: 2.75rem;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.65rem 0.75rem;
  border-radius: var(--radius);
  color: #084298;
  background: #cfe2ff;
  font-weight: 800;
}

.module-grid,
.report-grid,
.timeline {
  display: grid;
  gap: 1rem;
}
.module-grid article,
.report-grid article {
  padding: 1.1rem;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}
.module-grid article:hover,
.report-grid article:hover {
  transform: translateY(-3px);
  border-color: #b6d4fe;
  box-shadow: var(--shadow);
}
.module-grid i,
.report-grid i {
  width: 2.6rem;
  height: 2.6rem;
  display: grid;
  place-items: center;
  margin-bottom: 0.85rem;
  border-radius: var(--radius);
  color: #fff;
  background: var(--primary);
  font-size: 1.2rem;
}
.module-grid article:nth-child(2) i,
.module-grid article:nth-child(5) i,
.report-grid article:nth-child(2) i { background: var(--success); }
.module-grid article:nth-child(3) i,
.report-grid article:nth-child(3) i { color: var(--ink); background: var(--warning); }
.module-grid article:nth-child(4) i { background: var(--danger); }
.module-grid article:nth-child(6) i { color: var(--ink); background: var(--info); }
.module-grid span {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--primary-dark);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.stats-band {
  display: grid;
  gap: 0.75rem;
  margin-top: 1rem;
  margin-bottom: 1rem;
  padding: 1rem;
  border-radius: var(--radius);
  background: var(--panel);
}
.stats-band div {
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
}
.stats-band strong,
.stats-band span {
  display: block;
  color: #fff;
}
.stats-band strong {
  font-size: 1.9rem;
  line-height: 1;
}
.stats-band span {
  margin-top: 0.45rem;
  color: #d7dde4;
  font-weight: 700;
}

.timeline article {
  position: relative;
  padding: 1.1rem 1.1rem 1.1rem 4.3rem;
}
.timeline article span {
  position: absolute;
  left: 1.1rem;
  top: 1.1rem;
  width: 2.2rem;
  height: 2.2rem;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  color: #fff;
  background: var(--primary);
  font-weight: 900;
}

.report-section {
  padding-top: 2.5rem;
}
.testimonial-shell {
  position: relative;
  min-height: 14rem;
}
.testimonial {
  position: absolute;
  inset: 0;
  display: grid;
  align-content: center;
  padding: 1.35rem;
  opacity: 0;
  transform: translateX(1rem);
  transition: opacity 360ms ease, transform 360ms ease;
}
.testimonial.active {
  opacity: 1;
  transform: translateX(0);
}
.testimonial p {
  margin: 0 0 1rem;
  color: #2b3035;
  font-size: 1.18rem;
}
.testimonial strong,
.testimonial span {
  display: block;
}
.testimonial span {
  color: var(--muted);
}

.faq-list {
  display: grid;
  gap: 0.75rem;
}
.faq-list details {
  overflow: hidden;
}
.faq-list summary {
  min-height: 3.4rem;
  display: flex;
  align-items: center;
  padding: 0.9rem 1rem;
  cursor: pointer;
  font-weight: 850;
}
.faq-list summary:focus-visible {
  outline: 3px solid rgba(13, 110, 253, 0.18);
  outline-offset: -3px;
}
.faq-list p {
  padding: 0 1rem 1rem;
}
.contact-panel {
  display: grid;
  gap: 1rem;
  align-items: center;
  padding: 1.25rem;
}

.footer {
  display: grid;
  gap: 1rem;
  padding: 1.75rem 0 2.25rem;
  border-top: 1px solid var(--line);
}
.footer strong,
.footer span {
  display: block;
}
.footer-logo {
  width: min(170px, 50vw);
  height: 42px;
  object-fit: contain;
  margin-bottom: 0.35rem;
}
.footer span {
  margin-top: 0.2rem;
  color: var(--muted);
}
.footer a {
  color: var(--muted);
  font-weight: 800;
}
.footer a:hover,
.footer a:focus-visible {
  color: var(--primary-dark);
  outline: 0;
}

.section-reveal {
  opacity: 0;
  transform: translateY(1.3rem);
  transition: opacity 520ms ease, transform 520ms ease;
}
.section-reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}
.hero.section-reveal {
  transition-duration: 700ms;
}

@keyframes floatPanel {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-0.55rem); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 1ms !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }
}

@media (min-width: 720px) {
  .nav-shell,
  .hero,
  .section,
  .footer,
  .stats-band {
    width: min(1160px, calc(100% - 3rem));
  }
  .nav-toggle { display: none; }
  .nav-menu {
    position: static;
    display: flex;
    align-items: center;
    gap: 0.15rem;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }
  .nav-menu a {
    min-height: 2.5rem;
    padding: 0.5rem 0.65rem;
  }
  .nav-login {
    margin-left: 0.35rem;
    padding-inline: 0.9rem !important;
  }
  .hero {
    grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
    padding-top: 4.2rem;
  }
  .dashboard-preview {
    grid-template-columns: 11rem minmax(0, 1fr);
  }
  .dashboard-preview nav span {
    grid-template-columns: 1.25rem minmax(0, 1fr);
    justify-items: start;
    gap: 0.65rem;
    padding: 0 0.75rem;
    font-size: 0.9rem;
  }
  .preview-cards,
  .module-grid,
  .report-grid,
  .timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .split-panel {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    align-items: center;
    padding: 1.5rem;
  }
  .stats-band {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .contact-panel {
    grid-template-columns: minmax(0, 1fr) auto;
    padding: 1.5rem;
  }
  .footer {
    grid-template-columns: 1fr auto;
    align-items: center;
  }
}

@media (min-width: 1040px) {
  .preview-cards,
  .module-grid,
  .report-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .nav-shell,
  .hero,
  .section,
  .footer,
  .stats-band {
    width: min(100% - 1.25rem, 1160px);
  }
  .hero {
    padding-top: 2rem;
  }
  .hero-actions .cta,
  .contact-panel .cta {
    width: 100%;
  }
  .trust-strip {
    grid-template-columns: 1fr;
  }
  .dashboard-preview {
    grid-template-columns: 4.8rem minmax(0, 1fr);
  }
  .dashboard-preview aside {
    padding: 0.65rem;
  }
  .preview-brand span {
    display: none;
  }
  .dashboard-preview section {
    padding: 0.75rem;
  }
  .preview-topbar {
    display: grid;
  }
  .preview-cards article {
    min-height: 4.8rem;
  }
  .section {
    padding: 2.55rem 0;
  }
  .testimonial-shell {
    min-height: 16rem;
  }
}
