/* ============================================================
   Incrementa — style.css
   ============================================================ */

/* --- Reset & Base ------------------------------------------ */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: #0E0E0C;
  color: #F2F2EE;
  font-family: 'Inter', sans-serif;
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* --- Scroll animations ------------------------------------- */

.animate {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.animate.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children inside lists */
.statement-list li.animate:nth-child(1) { transition-delay: 0.05s; }
.statement-list li.animate:nth-child(2) { transition-delay: 0.15s; }
.statement-list li.animate:nth-child(3) { transition-delay: 0.25s; }
.statement-list li.animate:nth-child(4) { transition-delay: 0.35s; }

/* --- Typography -------------------------------------------- */

h1 {
  font-size: clamp(2.4rem, 6vw, 3.6rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #F2F2EE;
  margin-bottom: 1.25rem;
}

h2 {
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: #F2F2EE;
  margin-bottom: 1.25rem;
}

p {
  color: #F2F2EE;
  margin-bottom: 1rem;
}

p:last-child {
  margin-bottom: 0;
}

a {
  color: #4AFF91;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Visually hidden (accessibility) */
.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;
}

/* --- Layout ------------------------------------------------ */

nav,
main,
footer {
  width: 100%;
}

.nav-inner,
.footer-inner {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 24px;
}

main {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Nav --------------------------------------------------- */

nav {
  border-bottom: 1px solid #2A2A26;
  padding: 20px 0;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.nav-logo:hover {
  text-decoration: none;
}

.nav-mark {
  width: 56px;
  height: 31px;
  flex-shrink: 0;
}

.wordmark {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.95rem;
  font-weight: 500;
  color: #F2F2EE;
  letter-spacing: -0.02em;
}


/* --- Sections ---------------------------------------------- */

main section {
  padding: 48px 0;
}

hr {
  border: none;
  border-top: 1px solid #2A2A26;
  margin: 0;
}

/* Data callout breaks out of the main container */
.data-callout {
  background-color: #161614;
  padding: 0 !important;
  margin: 0 -24px;
  width: calc(100% + 48px);
  max-width: none;
}

.data-inner {
  max-width: 720px;
  margin: 0 auto;
  padding: 48px 24px;
  text-align: center;
}

/* --- Section Labels ---------------------------------------- */

.section-label {
  display: block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem;
  color: #888882;
  margin-bottom: 1.25rem;
  letter-spacing: 0.02em;
}

/* --- Hero -------------------------------------------------- */

.hero {
  display: flex;
  flex-direction: column;
  min-height: calc(100vh - 63px); /* 63px = nav height */
}

.hero-text {
  max-width: 720px;
  width: 100%;
  margin: 0 auto;
  padding: 56px 24px 28px;
}

.chart-container {
  flex: 1;
  width: 100%;
  min-height: 300px;
  position: relative;
}

.chart-container canvas {
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

.hero-bottom {
  max-width: 720px;
  width: 100%;
  margin: 0 auto;
  padding: 28px 24px 48px;
}

.subhead {
  font-size: 1.1rem;
  color: #F2F2EE;
  max-width: 560px;
  margin-bottom: 2rem;
  line-height: 1.65;
}


.cta-button {
  display: inline-block;
  background-color: #4AFF91;
  color: #0E0E0C;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 12px 28px;
  border-radius: 4px;
  text-decoration: none;
  transition: filter 0.15s ease;
}

.cta-button:hover {
  filter: brightness(1.1);
  text-decoration: none;
}

/* --- Problem Section --------------------------------------- */

#problem p {
  color: #888882;
  margin-bottom: 1.1rem;
}

#problem p:last-child {
  margin-bottom: 0;
}

/* --- What We Do — Statement List --------------------------- */

.statement-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.statement-list li {
  position: relative;
  margin-bottom: 1.25rem;
  color: #888882;
}

.statement-list li:last-child {
  margin-bottom: 0;
}

/* --- Data Callout ------------------------------------------ */

.data-stat {
  font-family: 'JetBrains Mono', monospace;
  font-size: clamp(3.5rem, 10vw, 5.5rem);
  font-weight: 500;
  color: #4AFF91;
  line-height: 1;
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}

.data-caption {
  font-size: 0.9rem;
  color: #888882;
  max-width: 480px;
  margin: 0 auto;
  line-height: 1.6;
}

/* --- Waitlist Section -------------------------------------- */

#waitlist p {
  color: #888882;
  margin-bottom: 2rem;
}

/* --- Footer ------------------------------------------------ */

footer {
  padding: 32px 0 48px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.85rem;
  color: #888882;
}

.footer-inner span {
  color: #888882;
}

.footer-inner a {
  color: #888882;
  text-decoration: none;
}

.footer-inner a:hover {
  color: #4AFF91;
  text-decoration: underline;
}

/* --- Mobile ----------------------------------------------- */

@media (max-width: 600px) {
  body {
    font-size: 16px;
  }

  .hero-text {
    padding: 40px 24px 20px;
  }

  .chart-container {
    min-height: 240px;
  }

  .hero-bottom {
    padding: 20px 24px 36px;
  }

  main section {
    padding: 36px 0;
  }

  .data-callout {
    margin: 0 -24px;
    width: calc(100% + 48px);
  }

  .data-inner {
    padding: 36px 24px;
  }

  .subhead {
    font-size: 1rem;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
}
