Skip to content

The Open Standard for Generative UI

1.9 KB
Raw Blame
.section {
  width: 100%;
  padding: 2rem var(--home-section-padding-inline);
}

.container {
  max-width: var(--home-container-max);
  margin-inline: auto;
}

.header {
  max-width: 46rem;
  margin: 0 auto clamp(2.5rem, 5vw, 3.5rem);
  text-align: center;
}

.title {
  margin: 0;
  font-family: var(--home-font-display);
  font-size: clamp(1.875rem, 4vw, 2.5rem);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: var(--home-title-tracking);
  color: var(--openui-text-neutral-primary);
}

.subtitle {
  margin: 0;
  font-family: var(--home-font-display);
  font-size: clamp(1.875rem, 4vw, 2.5rem);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: var(--home-title-tracking);
  color: var(--openui-text-neutral-secondary);
}

.caption {
  margin: 0.85rem 0 0;
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--openui-text-neutral-secondary);
}

.ctaWrap {
  display: flex;
  justify-content: center;
  margin-top: 2.5rem;
}

.ctaLink {
  width: 100%;
  max-width: 280px;
  text-decoration: none;
}

.ctaButton {
  display: flex;
  height: 3rem;
  width: 100%;
  align-items: center;
  justify-content: center;
  padding-inline: 1rem;
  border: 1.25px solid var(--openui-border-interactive);
  border-radius: var(--openui-radius-full);
  background: var(--openui-foreground);
  box-shadow: var(--openui-shadow-l);
  color: var(--openui-text-neutral-primary);
  cursor: pointer;
  transition: box-shadow 0.2s ease;
  font-family: var(--home-font-text);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5rem;
}

.ctaButton:hover {
  box-shadow: none;
}

.mobileLabel {
  display: inline;
}

.desktopLabel {
  display: none;
}

@media (min-width: 1024px) {
  .section {
    padding: 3rem 2rem;
  }

  .ctaWrap {
    margin-top: 5rem;
  }

  .ctaLink {
    width: auto;
    max-width: none;
  }

  .ctaButton {
    width: auto;
    font-size: 18px;
  }

  .mobileLabel {
    display: none;
  }

  .desktopLabel {
    display: inline;
  }
}