.home-section {
  padding-block: clamp(64px, 10vh, 120px);
  background: transparent;
}

.home-section + .home-section {
  border-top: 1px solid var(--border);
}

.home-section h2,
.home-footer-cta h2 {
  margin-bottom: 40px;
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.25;
}

.home-highlights {
  text-align: center;
}

.home-intro {
  max-width: 560px;
  margin: 0 0 40px;
  font-size: 16px;
}

.home-intro--center {
  margin-inline: auto;
}

.home-inline-link {
  border-bottom: 1.5px solid currentColor;
  color: var(--accent);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
}

.home-inline-link:hover {
  color: var(--fg);
}

.home-steps,
.home-trust__grid,
.home-card-grid,
.home-faq__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
}

.home-step,
.home-info-card,
.home-faq__item {
  position: relative;
  text-align: left;
}

.home-step {
  padding-top: 52px;
}

.home-info-card,
.home-faq__item {
  padding: 24px;
}

.home-step h3,
.home-highlight__text h3,
.home-trust-item h3,
.home-info-card h3,
.home-faq__item h3 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-weight: 500;
}

.home-highlight__text h3 {
  font-size: 32px;
  line-height: 1.25;
}

.home-step p,
.home-highlight__text p,
.home-trust-item p,
.home-info-card p,
.home-faq__item p {
  margin: 0;
  font-size: 16px;
  line-height: 1.65;
}

.home-text-link {
  display: inline-flex;
  margin-top: 18px;
  color: var(--accent);
  font-size: 14px;
  font-weight: 700;
}

.home-faq__list {
  margin-top: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.home-card-grid--four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

#learning-behavior .home-card-grid--four {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

#pain.home-section,
#loop.home-section,
#capabilities.home-section,
#use-cases.home-section,
#difference.home-section,
#learning-behavior.home-section,
#faq.home-section,
#trust.home-section {
  border-top: none;
}

#pain .home-intro,
#loop .home-intro,
#use-cases .home-intro,
#difference .home-intro,
#learning-behavior .home-intro,
#trust .home-intro {
  width: 100%;
  max-width: none;
}

#pain .home-info-card h3,
#loop .home-info-card h3,
#capabilities .home-info-card h3,
#use-cases .home-info-card h3,
#difference .home-info-card h3,
#learning-behavior .home-info-card h3,
#faq .home-faq__item h3,
#trust .home-trust-item h3 {
  font-weight: 700;
}

#pain .home-card,
#loop .home-card,
#capabilities .home-card,
#use-cases .home-card,
#difference .home-card,
#learning-behavior .home-card,
#faq .home-card,
#trust .home-card {
  border: none;
}

#extension.home-section {
  border-top: none;
}

#extension.home-section + .home-section {
  border-top: none;
}

.home-steps--products {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

#extension .home-step--product {
  padding-top: 0;
}

#extension .home-step h3 {
  font-weight: 700;
}

.home-step--product .home-cta-button {
  display: inline-flex;
  width: 222.5px;
  min-width: 0;
  max-width: 100%;
  margin-top: 18px;
  border: none;
}

.home-step--product .home-cta-button:hover {
  border: none;
}

.home-highlight {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(40px, 8vw, 80px);
  padding-block: 48px;
  text-align: left;
}

.home-highlights .home-intro + .home-highlight {
  padding-top: 0;
}

.home-highlight--reverse .home-highlight__image {
  order: -1;
}

.home-highlight__image {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 24px;
}

.home-highlight__image img {
  width: 100%;
  height: auto;
}

.home-highlight__image figcaption {
  position: absolute;
  bottom: 16px;
  left: 50%;
  padding: 6px 16px;
  transform: translateX(-50%);
  border: 1px solid var(--border);
  border-radius: 999px;
  background: oklch(98% 0.004 95 / 0.92);
  color: var(--muted);
  font-size: 12px;
  white-space: nowrap;
}

.home-card {
  border-radius: 14px;
}

.home-trust-item {
  padding: 24px;
  text-align: left;
}

.home-trust-item svg {
  display: block;
  width: 32px;
  height: 32px;
  margin-bottom: 56px;
  color: var(--accent);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.home-footer-cta {
  padding-block: clamp(80px, 12vh, 120px);
  text-align: center;
}

.home-footer-cta p {
  width: 100%;
  max-width: none;
  margin: 0 0 40px;
  font-size: 16px;
}

.home-footer-cta__actions {
  justify-content: center;
}

.home-footer-cta__actions .home-cta-button {
  border: none;
}

.home-footer-cta__actions .home-cta-button:hover {
  border: none;
}

.home-footer {
  display: grid;
  grid-template-columns: minmax(180px, 0.8fr) minmax(0, 1.6fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
  padding-block: clamp(48px, 8vw, 80px);
  border-top: 1px solid var(--border);
}

.home-footer__brand span,
.home-footer a {
  color: var(--muted);
  font-size: 13px;
}

.home-footer__brand {
  display: grid;
  gap: 12px;
}

.home-footer__columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(28px, 5vw, 64px);
}

.home-footer__column {
  display: grid;
  gap: 14px;
  align-content: start;
}

.home-footer__column h2 {
  margin: 0 0 8px;
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
}

.home-footer__column a {
  text-decoration: none;
}

.home-footer__column a:hover {
  color: var(--accent);
}

@media (max-width: 1024px) {
  .home-hero__inner,
  .home-highlight {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .home-steps--products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-hero__text {
    align-items: center;
  }

  .home-hero__visual {
    order: -1;
  }

  .home-highlight--reverse .home-highlight__image {
    order: 0;
  }

  .home-highlight__text {
    text-align: center;
  }

  .home-steps,
  .home-trust__grid,
  .home-card-grid,
  .home-card-grid--four,
  .home-faq__list {
    grid-template-columns: 1fr;
  }

  #learning-behavior .home-card-grid--four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .home-hero {
    padding-block: 64px 48px;
  }

  .home-hero h1 {
    font-size: 42px;
  }

  .home-hero__visual {
    order: -1;
  }

  .home-cta-button {
    width: 100%;
  }

  .home-hero__actions,
  .home-hero__platform-actions,
  .home-footer-cta__actions {
    width: 100%;
  }

  .home-section {
    padding-block: 48px;
  }

  #learning-behavior .home-card-grid--four {
    grid-template-columns: 1fr;
  }

  .home-footer {
    grid-template-columns: 1fr;
  }

  .home-footer__columns {
    grid-template-columns: 1fr;
  }

  .home-footer {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .home-footer__column {
    justify-items: center;
  }
}
