:root {
  color-scheme: dark;
  --background: #071116;
  --surface: #0f1f28;
  --surface-alt: #132a35;
  --text: #f5f7fa;
  --muted: #9bb1bd;
  --accent: #38a874;
  --accent-strong: #34a06e;
  --highlight: #f55050;
  --border: rgba(255,255,255,0.08);
  --radius: 24px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background-color: var(--background);
  background-image: linear-gradient(180deg, rgba(19,42,53,0.55), rgba(7,17,22,0) 45%),
                    linear-gradient(0deg, rgba(15,31,40,0.6), rgba(7,17,22,0) 35%);
  color: var(--text);
  min-height: 100vh;
  position: relative;
}

/* Drifting colour field in the logo's green / amber / red. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background: radial-gradient(38vmax 30vmax at 10% 4%, rgba(56,168,116,0.38), transparent 62%),
              radial-gradient(34vmax 26vmax at 86% 14%, rgba(196,148,37,0.22), transparent 64%),
              radial-gradient(42vmax 34vmax at 80% 76%, rgba(245,80,80,0.26), transparent 62%),
              radial-gradient(32vmax 30vmax at 22% 88%, rgba(45,140,98,0.28), transparent 66%);
  transform: scale(1.08);
  animation: aurora-drift 46s ease-in-out infinite alternate;
  will-change: transform;
}

/* Faint grid echoing the heat-map squares in the logo mark. */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(ellipse 120% 90% at 50% 0%, #000 20%, rgba(0,0,0,0.45) 60%, transparent 92%);
  mask-image: radial-gradient(ellipse 120% 90% at 50% 0%, #000 20%, rgba(0,0,0,0.45) 60%, transparent 92%);
}

@keyframes aurora-drift {
  0% { transform: scale(1.08) translate3d(0, 0, 0); }
  50% { transform: scale(1.16) translate3d(-2.5%, 2%, 0); }
  100% { transform: scale(1.1) translate3d(2%, -1.5%, 0); }
}

@media (prefers-reduced-motion: reduce) {
  body::before {
    animation: none;
  }
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  padding: 2rem 1.5rem 0.75rem;
  position: sticky;
  top: 0;
  z-index: 10;
  background: linear-gradient(180deg, rgba(7,17,22,0.82), rgba(7,17,22,0.66));
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  border-image: linear-gradient(90deg, rgba(56,168,116,0.45), rgba(196,148,37,0.28) 45%, rgba(245,80,80,0.35)) 1;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo {
  width: 160px;
  height: auto;
}

.eyebrow {
  margin: 0 0 0.5rem;
  color: var(--accent);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

.site-header h1 {
  margin: 0;
  font-size: clamp(1.5rem, 2vw, 2.25rem);
}

.top-nav {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
  align-items: center;
}

.top-nav a {
  color: var(--muted);
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.top-nav a:hover {
  color: var(--text);
}

main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1.5rem 4rem;
}

/* Keep anchored sections clear of the sticky header when jumped to. */
main section[id] {
  scroll-margin-top: calc(var(--header-height, 8rem) + 1.5rem);
}

.hero {
  position: relative;
  padding: 3rem 0 3.5rem;
  margin-bottom: 2rem;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -220px;
  left: 50%;
  width: 900px;
  height: 500px;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(56,168,116,0.28), transparent 70%);
  pointer-events: none;
  z-index: -1;
}

.hero-copy h2 {
  margin: 0;
  max-width: 46rem;
  font-size: clamp(2.75rem, 5vw, 4.5rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
}

.text-gradient {
  background: linear-gradient(120deg, var(--accent) 10%, #7fe3b4 45%, var(--highlight) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-copy p {
  max-width: 52rem;
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.85;
  margin-top: 1.5rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2.25rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 1.75rem;
  border-radius: 999px;
  font-weight: 600;
  transition: transform 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: #071116;
  box-shadow: 0 8px 30px -8px rgba(56,168,116,0.65);
}

.primary:hover {
  box-shadow: 0 12px 36px -6px rgba(56,168,116,0.8);
}

.secondary {
  border: 1px solid rgba(255,255,255,0.12);
  color: var(--text);
  background: rgba(255,255,255,0.04);
}

.secondary:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.22);
}

.section-intro {
  margin-bottom: 2rem;
}

.section-intro h2 {
  margin: 0.5rem 0 0;
  font-size: clamp(2rem, 3vw, 2.75rem);
}

.section-intro .lede {
  max-width: 46rem;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.8;
  margin: 0.75rem 0 1.25rem;
}

.features {
  margin-bottom: 3rem;
}

.features .feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.platform-trust {
  margin-top: 3.5rem;
  padding-top: 3rem;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.platform-trust .benefit-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.features article,
.platform-trust article {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 24px;
  padding: 1.75rem;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

.features article:hover,
.platform-trust article:hover {
  transform: translateY(-4px);
  border-color: rgba(56,168,116,0.4);
  background: rgba(255,255,255,0.05);
  box-shadow: 0 20px 40px -24px rgba(56,168,116,0.5);
}

.features h3,
.platform-trust h3 {
  margin: 0 0 1rem;
  font-size: 1.25rem;
}

.features p,
.platform-trust p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.use-cases {
  margin-bottom: 3.5rem;
}

.use-case-list {
  display: grid;
  gap: 1px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 24px;
  overflow: hidden;
}

.use-case-row {
  display: grid;
  grid-template-columns: 4.5rem 1fr;
  gap: 1.5rem;
  align-items: start;
  padding: 2rem 2rem;
  background: var(--surface);
  border-left: 3px solid transparent;
  transition: border-color 0.25s ease, background-color 0.25s ease, padding-left 0.25s ease;
}

.use-case-row:hover {
  border-left-color: var(--accent);
  background: var(--surface-alt);
  padding-left: 2.25rem;
}

.use-case-index {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  background: linear-gradient(135deg, var(--accent), #7fe3b4);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.use-case-body h3 {
  margin: 0 0 0.6rem;
  font-size: 1.3rem;
}

.use-case-body p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
  max-width: 46rem;
}

.coverage {
  margin-bottom: 3rem;
  text-align: center;
}

.coverage-copy {
  max-width: 40rem;
  margin: 0 auto;
}

.coverage-copy h2 {
  margin: 0.5rem 0 0;
  font-size: clamp(2rem, 3vw, 2.75rem);
}

.coverage-copy p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.8;
  margin: 1rem 0 0;
}

.coverage-map {
  margin: 2.5rem auto 0;
  max-width: 640px;
  padding: 1.5rem;
}

.coverage-map img {
  width: 100%;
  height: auto;
  opacity: 0.92;
  filter: drop-shadow(0 20px 50px rgba(56,168,116,0.25));
}

.footer-cta {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 28px;
  padding: 2.25rem;
  text-align: center;
}

.footer-cta h2 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 3vw, 2.5rem);
}

.footer-cta p {
  margin: 0 0 1.5rem;
  color: var(--muted);
  line-height: 1.8;
}

.site-footer {
  text-align: center;
  color: var(--muted);
  padding: 1.5rem 1.5rem 2.5rem;
}

@media (max-width: 980px) {
  .features .feature-grid,
  .platform-trust .benefit-list {
    grid-template-columns: 1fr;
  }

  .use-case-row {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding: 1.25rem 1rem 0.75rem;
  }

  .header-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .top-nav {
    width: 100%;
    justify-content: flex-start;
  }

  .hero-copy h2 {
    font-size: 2.25rem;
  }

  .use-case-row {
    padding: 1.5rem;
  }

  .use-case-row:hover {
    padding-left: 1.75rem;
  }
}
