Skip to content

The Open Standard for Generative UI

2.1 KB
Raw Blame
/* No surface of its own: the CTA sits straight on the page. The FAQ band below
   brings its own top gap, so this only tops that up rather than stating the
   full measure again. */
.section {
  width: 100%;
  padding: var(--observability-section-gap, 160px) var(--home-section-padding-inline)
    calc(var(--observability-section-gap, 160px) / 2);
}

/* One centred column, read top to bottom: the ask, the field that answers it,
   then the terms. A two-column split put the title and the field on opposite
   sides of 1200px, with the eye crossing the page between reading and acting. */
.inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  text-align: center;
}

.copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
}

/* The offer line above the title. inline-flex rather than a run of text, so the
   mark sits on the line's centre instead of its baseline; the gap replaces the
   space flex layout drops between the children.

   Green is the same #049156 the trace diagram's pass marks and the hero's own
   offer line use. Centred by the column, so it needs no alignment of its own. */
.offer {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 12px;
  color: #049156;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.5;
}

[data-theme="dark"] .offer {
  /* The solid reads as near-black on the dark ground, so the line lifts. */
  color: #3ecf8e;
}

.offerIcon {
  flex: none;
}

.title {
  min-width: 0;
  max-width: 40rem;
  margin: 0;
  color: var(--openui-text-neutral-primary);
  font-family: var(--home-font-display);
  font-size: var(--home-title-size);
  font-weight: var(--home-title-weight);
  line-height: var(--home-title-leading);
  letter-spacing: var(--home-title-tracking);
  text-wrap: balance;
}

.actions {
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
  align-items: center;
  /* The only gap in here, between the field and the link below it. */
  gap: 20px;
}

@media (max-width: 767px) {
  .actions {
    width: 100%;
    max-width: 320px;
  }
}