/* Base */
html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  -webkit-font-smoothing: antialiased;
  background: #ffffff;
  color: #1e293b;
}

/* Typography scale */
.hero-title {
  font-size: 2.8rem;
  line-height: 1.1;
  letter-spacing: -0.04em;
  font-weight: 700;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 3.9rem;
  }
}

.section-title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  line-height: 1.1;
  letter-spacing: -0.025em;
  font-weight: 600;
}

.card-title {
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  line-height: 1.25;
  font-weight: 600;
}

.body-lg {
  font-size: clamp(1.0625rem, 2vw, 1.1875rem);
  line-height: 1.65;
}

.body-base {
  font-size: 1rem;
  line-height: 1.65;
}

.eyebrow {
  font-size: 0.8125rem;
  line-height: 1.2;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
}

/* FAQ */
.faq-answer-wrapper {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.active .faq-answer-wrapper {
  grid-template-rows: 1fr;
}

.faq-answer-content {
  overflow: hidden;
}

.faq-item.active span:first-child {
  font-weight: 500;
}

.faq-item.active {
  background-color: rgba(99, 102, 241, 0.04);
}

/* Testimonials */
.testimonial-track {
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-grid {
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .hero-grid {
    grid-template-columns: 1fr 420px;
  }
}

.card-polish {
  transition: transform 150ms ease, box-shadow 150ms ease, border-color 150ms ease, background-color 150ms ease;
}

.faq-item {
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

/* Slide images for pitch deck pages */
.img-slide,
.slide-image {
  border-radius: 1rem;
  border: 1px solid #e2e8f0;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
  margin-top: 1rem;
  max-width: 100%;
  height: auto;
}

/* Investment memo boxes */
.investment-memo-box {
  border-radius: 1rem;
  border: 1px solid #e2e8f0;
  background-color: #f8fafc;
  padding: 1.5rem;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
}

@media (min-width: 768px) {
  .investment-memo-box {
    padding: 2rem;
  }
}

.investment-memo-box h5 {
  font-size: 0.875rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 1rem;
  border-bottom: 1px solid #e2e8f0;
  padding-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.investment-memo-box ul,
.investment-memo-box ol {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  color: #475569;
  padding-left: 1.25rem;
}

.investment-memo-box ul {
  list-style-type: disc;
}

.investment-memo-box ol {
  list-style-type: decimal;
}