The Open Standard for Generative UI
/* Every colour comes through the --fg-* tokens below, each of which takes a
--feature-grid-* override first. The indirection is what makes a host able to
re-point them: .section declares --fg-* on itself, so a value inherited from
an ancestor under that same name would lose to it. The product bands set the
--feature-grid-* names, because the Cloud band inverts independently of the
page and the page tokens leave the rows and icon tiles invisible on it. */
.section {
--fg-text: var(--feature-grid-text, var(--openui-text-neutral-primary));
--fg-muted: var(--feature-grid-muted, var(--openui-text-neutral-secondary));
--fg-faint: var(--feature-grid-faint, var(--openui-text-neutral-tertiary));
--fg-line: var(--feature-grid-line, var(--home-hairline));
--fg-surface: var(--feature-grid-surface, var(--openui-foreground));
--fg-border: var(--feature-grid-border, var(--openui-border-default));
--fg-shadow: var(--feature-grid-shadow, var(--home-shadow-card));
width: 100%;
padding: 0 var(--home-section-padding-inline);
}
.section.sectionFlushPadding {
padding-inline: 0;
}
.header {
max-width: 46rem;
margin: 0 auto clamp(1.25rem, 2.5vw, 2rem);
text-align: center;
}
/* A page tagline used as the section headline (mirrors the home --home-title scale). */
.taglineHeader {
max-width: 60rem;
margin: 0 auto clamp(2.25rem, 4vw, 3rem);
text-align: center;
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(--fg-text);
text-wrap: balance;
}
.ctaWrap {
display: flex;
justify-content: center;
margin-top: 1.5rem;
}
.grid {
max-width: 75rem;
margin-inline: auto;
display: grid;
grid-template-columns: 1fr;
}
.feature {
position: relative;
display: flex;
flex-direction: column;
gap: 1rem;
padding: clamp(1.75rem, 2.5vw, 2.5rem);
min-height: var(--feature-grid-card-min-height, auto);
}
.lead {
display: flex;
flex-direction: column;
justify-content: space-between;
min-height: var(--feature-grid-card-min-height, auto);
padding: clamp(1.75rem, 2.5vw, 2.5rem);
}
/* Mobile: faint top divider on every card except the first. */
.feature:not(:first-child)::before {
content: "";
position: absolute;
top: 0;
inset-inline: 0;
height: 1px;
background: linear-gradient(
to right,
transparent,
var(--fg-line) 15%,
var(--fg-line) 85%,
transparent
);
}
.icon {
display: inline-flex;
margin-bottom: 0.25rem;
color: var(--fg-text);
}
.iconPlaceholder {
width: 100%;
height: 256px;
margin-bottom: 16px;
background: rgba(128, 128, 128, 0.25);
}
.featureTitle {
margin: 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(--fg-text);
}
.featureDescription {
margin: 0;
font-size: var(--home-body-size);
line-height: var(--home-body-leading);
color: var(--fg-muted);
}
.featureDescription a {
color: inherit;
text-underline-offset: 3px;
}
/* Mobile-only expand affordance; hidden on desktop. */
.chevron {
display: none;
}
/* Horizontal separator below the grid; the grid's vertical lines meet it. */
/* Space in place of a rule when the compatibility band leads the section, and
the breathing room above the header that follows it. */
.compatLead {
margin-bottom: clamp(4.5rem, 9vw, 8rem);
}
/* Same job as .compatLead, for the grid when it runs above the header: without
it the last row of cards butts straight into "Renders 3x faster". */
.gridLead {
margin-bottom: clamp(4.5rem, 9vw, 8rem);
}
.separator {
width: 100%;
max-width: 75rem;
height: 1px;
margin-inline: auto;
background: linear-gradient(
to right,
transparent,
var(--fg-line) 8%,
var(--fg-line) 92%,
transparent
);
}
.compat {
margin-top: clamp(3rem, 6vw, 6rem);
}
/* Desktop-only line break between the two sentences of the compat description. */
.compatDescBreak {
display: none;
}
@media (min-width: 1024px) {
.compatDescBreak {
display: inline;
}
}
.separatorBottom {
margin-top: clamp(2.5rem, 5vw, 3.5rem);
}
@media (min-width: 1024px) {
.section {
padding: 0 2rem;
}
.ctaWrap {
margin-top: 2rem;
}
.grid {
grid-template-columns: repeat(3, 1fr);
background-image:
linear-gradient(transparent, var(--fg-line) 10%, var(--fg-line) 90%, transparent),
linear-gradient(transparent, var(--fg-line) 10%, var(--fg-line) 90%, transparent),
linear-gradient(to right, transparent, var(--fg-line) 8%, var(--fg-line) 92%, transparent);
background-size:
1px 100%,
1px 100%,
100% 1px;
background-position:
33.33% 0,
66.66% 0,
0 50%;
background-repeat: no-repeat;
}
/* Vertical column dividers fade in at the top and out toward the bottom
(size/position inherited). */
.gridFadeLines {
background-image:
linear-gradient(transparent, var(--fg-line) 10%, transparent),
linear-gradient(transparent, var(--fg-line) 10%, transparent),
linear-gradient(to right, transparent, var(--fg-line) 8%, var(--fg-line) 92%, transparent);
}
.gridSingleRow {
background-image:
linear-gradient(transparent, var(--fg-line) 10%, var(--fg-line) 90%, transparent),
linear-gradient(transparent, var(--fg-line) 10%, var(--fg-line) 90%, transparent);
background-size:
1px 100%,
1px 100%;
background-position:
33.33% 0,
66.66% 0;
background-repeat: no-repeat;
}
.gridFourColumns {
grid-template-columns: repeat(4, 1fr);
background-image:
linear-gradient(transparent, var(--fg-line) 10%, var(--fg-line) 90%, transparent),
linear-gradient(transparent, var(--fg-line) 10%, var(--fg-line) 90%, transparent),
linear-gradient(transparent, var(--fg-line) 10%, var(--fg-line) 90%, transparent),
linear-gradient(to right, transparent, var(--fg-line) 8%, var(--fg-line) 92%, transparent);
background-size:
1px 100%,
1px 100%,
1px 100%,
100% 1px;
background-position:
25% 0,
50% 0,
75% 0,
0 50%;
background-repeat: no-repeat;
}
.gridFourColumns.gridSingleRow {
background-image:
linear-gradient(transparent, var(--fg-line) 10%, var(--fg-line) 90%, transparent),
linear-gradient(transparent, var(--fg-line) 10%, var(--fg-line) 90%, transparent),
linear-gradient(transparent, var(--fg-line) 10%, var(--fg-line) 90%, transparent);
background-size:
1px 100%,
1px 100%,
1px 100%;
background-position:
25% 0,
50% 0,
75% 0;
}
.gridFourColumns .feature {
padding-inline: clamp(1.5rem, 2vw, 2rem);
}
.gridSingleRow .feature:first-child {
padding-left: 0;
}
.gridSingleRow .feature:last-child {
padding-right: 0;
}
.gridFlushOuterCards > :nth-child(1),
.gridFlushOuterCards > :nth-child(4) {
padding-left: 0;
}
.gridFlushOuterCards > :nth-child(3),
.gridFlushOuterCards > :nth-child(6) {
padding-right: 0;
}
.gridBalancedLastRow {
grid-template-columns: repeat(6, minmax(0, 1fr));
background-image: linear-gradient(
to right,
transparent,
var(--fg-line) 8%,
var(--fg-line) 92%,
transparent
);
background-size: 100% 1px;
background-position: 0 50%;
background-repeat: no-repeat;
}
.gridBalancedLastRow > .feature {
grid-column: span 2;
}
.gridBalancedLastRow > .feature:nth-last-child(-n + 2) {
grid-column: span 3;
}
.gridBalancedLastRow > .feature:nth-child(2),
.gridBalancedLastRow > .feature:nth-child(3),
.gridBalancedLastRow > .feature:nth-child(5) {
border-left: 1px solid var(--fg-line);
}
.gridBalancedLastRow.gridFlushOuterCards > :nth-child(5) {
padding-right: 0;
}
.feature::before {
display: none;
}
}
/* Nested flush grids keep their content aligned with the parent illustration
while the desktop columns are stacked. Mobile already removes card padding. */
@media (min-width: 768px) and (max-width: 1023px) {
.sectionFlushPadding .gridFlushOuterCards > .feature {
padding-inline: 0;
}
}
/* Mobile-only: smaller header headings + compact feature rows. */
@media (max-width: 767px) {
/* Section separators run edge to edge and fade out on the left, matching the
row dividers. */
.separator {
width: auto;
max-width: none;
margin-inline: calc(0px - var(--home-section-padding-inline));
background: linear-gradient(to right, transparent, var(--fg-line) 15%);
}
/* Feature rows: icon tile (left) + title, chevron (right), description below
aligned to the title. One row is always expanded. */
.feature {
display: grid;
grid-template-columns: auto 1fr auto;
column-gap: 0.75rem;
row-gap: 0;
align-items: center;
padding: 1.25rem 0;
font-family: var(--home-font-display);
cursor: pointer;
-webkit-tap-highlight-color: transparent;
}
.lead {
min-height: auto;
padding: 1.25rem 0 2.5rem;
}
/* Separator runs edge to edge (breaks out of the section padding) and fades
out on the left. */
.feature:not(:first-child)::before {
inset-inline: calc(0px - var(--home-section-padding-inline));
background: linear-gradient(to right, transparent, var(--fg-line) 15%);
}
/* Icon tile, matching the stepper number tile. */
.icon {
grid-column: 1;
grid-row: 1;
display: inline-flex;
align-items: center;
justify-content: center;
align-self: center;
justify-self: start;
width: 1.375rem;
height: 1.375rem;
margin-bottom: 0;
border: 1px solid var(--fg-border);
border-radius: 0.4rem;
background: var(--fg-surface);
box-shadow: var(--fg-shadow);
color: var(--fg-muted);
opacity: 1;
}
.icon svg {
width: 0.875rem;
height: 0.875rem;
}
.featureWithPlaceholder {
display: flex;
flex-direction: column;
align-items: stretch;
gap: 16px;
cursor: default;
}
.featureWithPlaceholder .icon.iconPlaceholder {
width: 100%;
height: 256px;
margin-bottom: 16px;
border: 0;
border-radius: 0;
background: rgba(128, 128, 128, 0.25);
box-shadow: none;
}
.featureWithPlaceholder .chevron {
display: none;
}
.featureWithPlaceholder .featureDescription {
display: block;
max-width: none;
}
.featureWithPlaceholder .featureDescriptionInner {
overflow: visible;
}
.featureTitle {
grid-column: 2;
grid-row: 1;
text-wrap: balance;
}
.chevron {
grid-column: 3;
grid-row: 1;
display: inline-flex;
align-items: center;
justify-content: center;
color: var(--fg-faint);
transition: transform 0.2s ease;
}
.feature[data-open] .chevron {
transform: rotate(180deg);
}
/* Description aligns under the title; collapsed by default, fluidly revealed on
tap via the grid-template-rows 0fr->1fr animation. */
.featureDescription {
grid-column: 2;
grid-row: 2;
display: grid;
grid-template-rows: 0fr;
max-width: 16rem;
text-wrap: pretty;
transition: grid-template-rows 0.32s ease;
}
.featureDescriptionInner {
overflow: hidden;
min-height: 0;
}
.feature[data-open] .featureDescription {
grid-template-rows: 1fr;
}
/* Gap only when open, so the collapsed 0fr row closes fully (no residual). */
.feature[data-open] .featureDescriptionInner {
padding-top: 0.375rem;
}
.sectionStatic .feature {
cursor: default;
}
.sectionStatic .chevron {
display: none;
}
.sectionStatic .featureDescription {
grid-column: 2 / -1;
grid-template-rows: 1fr;
max-width: none;
}
.sectionStatic .featureDescriptionInner {
padding-top: 0.375rem;
}
@media (prefers-reduced-motion: reduce) {
.featureDescription {
transition: none;
}
}
}
.speedCaption {
display: block;
max-width: 30rem;
margin-inline: auto;
font-size: clamp(1rem, 1.3vw, 1.125rem);
line-height: 1.5;
text-wrap: balance;
}