The Open Standard for Generative UI
.section {
display: flex;
flex-direction: column;
gap: clamp(2.25rem, 4.5vw, 3.25rem);
width: 100%;
/* Taller, so the fold reads at the same scale as the hero above it. */
padding-block: clamp(2rem, 6vw, 6rem);
}
/* Same measure and gutters as the home fold (hero + comparison), so the
edges line up: a 75rem content box inside 3vw gutters capped at 2.5rem. */
.container {
--fold-gutter: clamp(1.25rem, 3vw, 2.5rem);
box-sizing: border-box;
width: 100%;
max-width: calc(var(--home-container-max) + 2 * var(--fold-gutter));
margin-inline: auto;
padding-inline: var(--fold-gutter);
}
/* ── Plain-language cards ── */
/* One panel, four columns split by hairlines: the same rhythm as the feature
grid above, rather than four separate boxes. */
.cards {
display: grid;
grid-template-columns: repeat(4, minmax(0, 1fr));
/* Full width of the fold-sized container. */
max-width: none;
margin: 0;
padding: 0;
overflow: hidden;
border: 1px solid var(--openui-border-default);
border-radius: 20px;
background: var(--openui-foreground);
list-style: none;
}
.card {
display: flex;
flex-direction: column;
padding: clamp(2rem, 4vw, 3.25rem) 1.75rem clamp(2rem, 4vw, 3rem);
}
.card + .card {
border-left: 1px solid var(--openui-border-default);
}
.cardLogos {
--stack-logo-size: 34px;
--stack-logo-glyph: 18px;
display: flex;
flex-wrap: nowrap;
margin-bottom: 1.5rem;
padding-left: 4px;
}
/* Overlapping marks, each ringed in the panel colour so the overlap reads as a
stack rather than a collision. */
.cardLogo {
display: flex;
margin-left: -4px;
border-radius: 999px;
box-shadow: 0 0 0 2px var(--openui-foreground);
transition: transform 150ms ease;
}
.cardLogo:hover {
position: relative;
z-index: 1;
transform: translateY(-3px);
}
.cardTitle {
margin: 0 0 0.375rem;
font-family: var(--home-font-display);
font-size: 1.125rem;
font-weight: 600;
letter-spacing: -0.01em;
color: var(--openui-text-neutral-primary);
text-align: center;
}
.cardDescription {
margin: 0;
text-align: center;
font-family: var(--home-font-text);
font-size: 0.9375rem;
line-height: 1.5;
color: var(--openui-text-neutral-secondary);
text-wrap: balance;
}
.cardNames {
margin: auto 0 0;
padding-top: 1.25rem;
font-family: var(--home-font-text);
font-size: 0.8125rem;
line-height: 1.55;
color: var(--openui-text-neutral-tertiary, var(--openui-text-neutral-secondary));
}
@media (max-width: 1023px) {
.cards {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
.card:nth-child(3) {
border-left: 0;
}
.card:nth-child(n + 3) {
border-top: 1px solid var(--openui-border-default);
}
}
/* Phones: a swipeable row of separate cards, one per view with the next
peeking in at the edge. The row bleeds to the screen edges so cards scroll
under them, and snaps to the same 16px gutter it starts at. */
@media (max-width: 767px) {
.cards {
display: flex;
gap: 0.75rem;
margin-inline: calc(-1 * var(--fold-gutter));
padding: 0.25rem 1rem 0.5rem;
overflow-x: auto;
overscroll-behavior-x: contain;
scroll-snap-type: x mandatory;
scroll-padding-inline: 1rem;
scrollbar-width: none;
border: 0;
border-radius: 0;
background: none;
}
.cards::-webkit-scrollbar {
display: none;
}
.card {
flex: 0 0 82%;
padding: 1.75rem 1.25rem;
scroll-snap-align: start;
border: 1px solid var(--openui-border-default);
border-radius: 20px;
background: var(--openui-foreground);
}
.card + .card {
border-left: 1px solid var(--openui-border-default);
}
.card:nth-child(3) {
border-left: 1px solid var(--openui-border-default);
}
.card:nth-child(n + 3) {
border-top: 1px solid var(--openui-border-default);
}
.cardLogos {
margin-bottom: 1rem;
}
}