:root {
  --color-bg: #F7F8FA;
  --color-text: #0E1116;
  --color-accent: #1F7AE0;
  --color-accent-soft: #EEF5FF;
  --radius-xl: 1.25rem;
  --radius-2xl: 1.5rem;
}

/* Layout & typography */
html,
body {
  height: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  display: flex;
  flex-direction: column;
  background-color: var(--color-bg);
  color: var(--color-text);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;

  /* subtle dotted texture */
  background-image: radial-gradient(
    circle at 1px 1px,
    rgba(15, 23, 42, 0.035) 0,
    rgba(15, 23, 42, 0.035) 1px,
    transparent 1px
  );
  background-size: 28px 28px;
}

main {
  flex: 1;
}

/* Cards & subtle motion */
.card {
  border-radius: var(--radius-2xl);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.075);
  transition:
    box-shadow 150ms ease,
    transform 150ms ease;
  background-color: #ffffff;
}

.card:hover {
  box-shadow: 0 35px 70px rgba(0, 0, 0, 0.12);
  transform: translateY(-2px);
}

/* Stat cards under hero */
.stat-card {
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: "";
  position: absolute;
  inset-inline: 0.75rem;
  top: 0.75rem;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(
    to right,
    rgba(31, 122, 224, 0.8),
    rgba(11, 99, 209, 0.2)
  );
}

.stat-card-label {
  font-size: 0.85rem;
  font-weight: 500;
  color: #4b5563;
  margin-top: 0.75rem; /* clears the accent line */
}

.stat-card-value {
  font-size: 1.35rem;
  font-weight: 600;
  margin-top: 0.25rem;
}

  .persona-card-active {
    border-color: #0B63D1;
    background: #EEF5FF;
    box-shadow: 0 15px 40px rgba(11, 99, 209, 0.16);
  }

/* Header nav */
.nav-link {
  position: relative;
  padding-bottom: 0.1rem;
  color: #111827;
  text-decoration: none;
  transition:
    color 150ms ease,
    transform 150ms ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.15rem;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: var(--color-accent);
  transition: width 150ms ease;
}

.nav-link:hover {
  color: var(--color-accent);
  transform: translateY(-1px);
}

.nav-link:hover::after {
  width: 100%;
}

/* Mobile nav */
.mobile-nav-link {
  border-radius: 0.75rem;
  padding-inline: 0.75rem;
  padding-block: 0.5rem;
  transition:
    background-color 120ms ease,
    color 120ms ease;
}

.mobile-nav-link:hover {
  background-color: rgba(31, 122, 224, 0.06);
  color: var(--color-accent);
}

/* Skip link (accessibility) */
.skip-link {
  position: absolute;
  left: 0.75rem;
  top: 0.75rem;
  padding: 0.5rem 0.75rem;
  border-radius: 0.75rem;
  background: #111827;
  color: #ffffff;
  font-size: 0.875rem;
  transform: translateY(-150%);
  opacity: 0;
  z-index: 50;
  transition:
    transform 120ms ease,
    opacity 120ms ease;
}

.skip-link:focus-visible {
  transform: translateY(0);
  opacity: 1;
}

/* Hero */
.hero-parallax {
  position: relative;
  background-image: url("/assets/aerial-hero.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed; /* parallax effect */
}

/* Avoid jank on mobile where fixed backgrounds are buggy */
@media (max-width: 768px) {
  .hero-parallax {
    background-attachment: scroll;
  }
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.2rem 0.85rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
}

.hero-kicker-dot {
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 999px;
  background: #4ade80;
}

/* Scroll hint at bottom of hero */
.scroll-indicator {
  position: absolute;
  inset-inline: 0;
  bottom: 1.75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  pointer-events: none;
}

.scroll-indicator__label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: rgba(255, 255, 255, 0.7);
}

.scroll-indicator__dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  position: relative;
  overflow: hidden;
}

.scroll-indicator__dot::after {
  content: "";
  position: absolute;
  inset: 2px;
  border-radius: inherit;
  background: #ffffff;
  opacity: 0.9;
  animation: scroll-pulse 1.4s ease-in-out infinite;
}

@keyframes scroll-pulse {
  0% {
    transform: translateY(-2px);
    opacity: 0;
  }
  40% {
    transform: translateY(2px);
    opacity: 1;
  }
  100% {
    transform: translateY(8px);
    opacity: 0;
  }
}

/* FAQ details styling */
.faq-details {
  border-radius: 1.25rem;
}

.faq-details + .faq-details {
  border-top: 1px solid rgba(15, 23, 42, 0.06);
}

.faq-summary {
  list-style: none;
}

.faq-summary::-webkit-details-marker {
  display: none;
}

.faq-summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-summary-label {
  font-weight: 600;
}

.faq-summary-icon {
  flex-shrink: 0;
  margin-left: 0.75rem;
  width: 1.1rem;
  height: 1.1rem;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  color: rgba(15, 23, 42, 0.6);
  transition: transform 120ms ease;
}

details[open] .faq-summary-icon {
  transform: rotate(90deg);
}

/* Chips / keyword pills */
.chip {
  display: inline-block;
  padding: 0.35rem 0.6rem;
  border-radius: 9999px;
  background: #e9eef3;
  margin: 0.25rem 0.25rem 0 0;
  font-size: 0.8rem;
  color: #374151;
  white-space: nowrap;
  transition: background-color 120ms ease, transform 120ms ease;
}

.chip:hover {
  background-color: #dde5f0;
  transform: translateY(-1px);
}

/* Footer */
.site-footer {
  background: #0e1116;
  color: #ffffff;
  margin-top: 3rem;
}

.footer-link {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  transition:
    color 150ms ease,
    transform 150ms ease;
}

.footer-link:hover {
  color: #ffffff;
  transform: translateY(-1px);
}

.footer-meta-link {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
}

.footer-meta-link:hover {
  color: #ffffff;
}

/* Utility caption text */
.caption {
  font-size: 0.8rem;
  color: #6b7280;
}
