Skip to content

The Open Standard for Generative UI

7.5 KB
Raw Blame
.featuresBand {
  padding: 104px var(--home-container-gutter) 0;
  background: var(--openui-foreground);
}
/* The lead statement between the hero artwork and the feature cards: a
   display line, then the site's lead text beneath it. */
.statementBand {
  padding: 104px var(--home-container-gutter) 0;
}
.statement {
  max-width: 52rem;
  margin: 0 auto;
  font-family: var(--home-font-display);
  font-size: var(--home-title-medium-size);
  font-weight: var(--home-title-weight);
  line-height: var(--home-title-leading);
  letter-spacing: var(--home-title-tracking);
  text-align: center;
  text-wrap: balance;
  color: var(--openui-text-neutral-primary);
}
.statement span,
.statementLead {
  display: block;
  max-width: 36rem;
  margin: 16px auto 0;
  font-size: var(--home-lead-size);
  font-weight: var(--home-lead-weight);
  line-height: var(--home-lead-leading);
  letter-spacing: normal;
  color: var(--openui-text-neutral-secondary);
}
/* the section-title size, the same as the closing CTA heading */
.statement.statementLarge {
  font-size: var(--home-title-size);
}
.statementLead {
  font-family: var(--home-font-display);
  text-align: center;
  text-wrap: balance;
}
.statementActions {
  justify-content: center;
  margin-top: 32px;
}
/* The how-to band: a full-width gray surface holding a title row and three
   numbered steps. Badge and step type match the home page's StepsSection. */
.howBand {
  margin-top: 104px;
  padding: 104px var(--home-container-gutter);
  background: var(--openui-background);
}
.howInner {
  max-width: 1200px;
  margin-inline: auto;
}
.howHead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.howTitle {
  margin: 0;
  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);
  color: var(--openui-text-neutral-primary);
}
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 56px 0 0;
  padding: 0;
  list-style: none;
}
.step {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-inline: 32px;
}
.step:first-child {
  padding-left: 0;
}
.step:last-child {
  padding-right: 0;
}
.step + .step {
  border-left: 1px solid var(--home-hairline);
}
.stepBadge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.625rem;
  height: 1.625rem;
  border: 1px solid var(--openui-border-default);
  border-radius: 0.4rem;
  background: var(--openui-foreground);
  box-shadow: var(--home-shadow-card);
  font-family: var(--home-font-mono);
  font-size: 0.75rem;
  color: var(--openui-text-neutral-secondary);
}
.stepTitle {
  margin: 16px 0 0;
  font-family: var(--home-font-display);
  font-size: var(--home-heading-size);
  font-weight: var(--home-heading-weight);
  line-height: var(--home-heading-leading);
  letter-spacing: var(--home-heading-tracking);
  color: var(--openui-text-neutral-primary);
}
.stepDescription {
  max-width: 36ch;
  margin: 8px 0 0;
  font-size: var(--home-body-size);
  line-height: var(--home-body-leading);
  color: var(--openui-text-neutral-secondary);
}
@media (max-width: 1023px) {
  .howBand {
    margin-top: 72px;
    padding-block: 72px;
  }
}
@media (max-width: 767px) {
  .howBand {
    margin-top: 56px;
    padding-block: 56px;
  }
  .howHead {
    flex-direction: column;
    align-items: flex-start;
  }
  .steps {
    grid-template-columns: minmax(0, 1fr);
    margin-top: 32px;
  }
  .step,
  .step:first-child,
  .step:last-child {
    padding: 24px 0;
  }
  .step + .step {
    border-top: 1px solid var(--home-hairline);
    border-left: 0;
  }
}
/* A short label between two laurel branches, above a statement. */
.openBadge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 32px;
}
.openLabel {
  font-family: var(--home-font-display);
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  color: var(--openui-text-neutral-primary);
}
.laurel {
  flex: none;
  fill: color-mix(in srgb, var(--openui-text-neutral-primary) 22%, transparent);
}
.laurelStem {
  fill: none;
  stroke: color-mix(in srgb, var(--openui-text-neutral-primary) 22%, transparent);
  stroke-linecap: round;
}
/* The page's last band: more room above, and the gap to the footer below. */
.closingBand {
  padding-top: 160px;
  padding-bottom: 176px;
}
@media (max-width: 767px) {
  .closingBand {
    padding-top: 96px;
    padding-bottom: 128px;
  }
}
.featuresInner {
  max-width: 1200px;
  margin-inline: auto;
}
.pageFocus a:focus-visible,
.pageFocus button:focus-visible {
  outline: 2px solid var(--openui-text-neutral-primary);
  outline-offset: 5px;
}

.heroSubtitle {
  text-wrap: pretty;
  hyphens: none;
  overflow-wrap: normal;
}
.noWrap {
  white-space: nowrap;
}
.productFaqBand {
  padding-top: 104px;
}
.productFaqBand > section {
  margin-top: 0;
}
@media (max-width: 1023px) {
  .productFaqBand {
    padding-top: 72px;
  }
}
@media (max-width: 767px) {
  .productFaqBand {
    padding-top: 56px;
  }
  .ouiArtFrame {
    touch-action: pan-y;
  }
}
@media (max-width: 1023px) {
  .featuresBand,
  .statementBand {
    padding-top: 72px;
  }
}
@media (max-width: 767px) {
  .featuresBand,
  .statementBand {
    padding-top: 56px;
  }
  .statement {
    font-size: 24px;
  }
  .statementBreak {
    display: none;
  }
  .heroSubtitle {
    line-height: 1.4;
  }
}
.ouiPage .featuresBand {
  background: transparent;
}
/* The statement above is this band's heading, so the cards sit closer to it. */
.ouiPage .featuresBand,
.applessPage .featuresBand {
  padding-top: 64px;
}

/* The embedded illustration is a 1584x891 stage fitted to the panel's width.
   The panel is a little shorter, so the bottom of the devices is cropped. */
.ouiPage .ouiArtStage {
  aspect-ratio: 1584 / 820;
}
.ouiArtFrame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  /* The embedded document follows the host theme with its own surface tokens. */
  color-scheme: light;
}

/* ---------- AppLess page ---------- */
.poweredBanner {
  display: flow-root;
  padding-top: 224px;
  padding-bottom: 64px;
}
.poweredBanner > section {
  margin-bottom: 0 !important;
}
/* The banner band already sets the space above; the mascot adds none, and
   the banner closes up to it so Shiro rests on its top edge. */
.poweredPeek > div {
  margin-top: 0;
}
.poweredPeek + section {
  margin-top: 0 !important;
}
.applessPage .featuresBand {
  background: transparent;
}

@media (max-width: 767px) {
  .poweredBanner {
    padding-top: 128px;
  }
  .applessPage .appHeroActions {
    width: fit-content;
    max-width: 100%;
    min-width: 0;
  }
  .appHeroActions a {
    width: auto;
    max-width: 100%;
    min-width: 0;
    height: 44px;
    padding-left: 16px;
    font-size: 14px;
    gap: 12px;
  }
}
/* A compact code preview followed by a proportionate phone on small screens. */
@media (max-width: 767px) {
  .pageFocus .statementActions {
    width: 100%;
    max-width: 320px;
    margin-inline: auto;
  }
  .pageFocus .statementActions a,
  .pageFocus .howHead a {
    box-sizing: border-box;
    min-width: 0;
    max-width: 100%;
    height: 44px;
    font-size: 14px;
    gap: 12px;
  }
}

@media (max-width: 899.98px) {
  .ouiPage div:has(> .ouiArtStage) {
    max-width: none;
  }
  .ouiPage .ouiArtStage {
    aspect-ratio: 358 / 380;
  }
}

.stepInlineLink {
  color: var(--openui-text-neutral-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.stepInlineLink:hover {
  text-decoration-thickness: 2px;
}