The Open Standard for Generative UI
.section {
display: flex;
flex-direction: column;
gap: var(--observability-section-gap, 160px);
width: 100%;
max-width: 1200px;
/* The next section owns its top space, so margins do not double the gap. */
margin: var(--observability-section-gap, 160px) auto 0;
padding-bottom: var(--observability-section-gap, 160px);
}
.header {
width: 100%;
max-width: 46rem;
margin-inline: auto;
text-align: center;
}
.header h2 {
scroll-margin-top: 112px;
}
.featureList {
display: flex;
flex-direction: column;
gap: var(--observability-section-gap, 160px);
}
.card {
display: flex;
align-items: stretch;
justify-content: space-between;
gap: 80px;
width: 100%;
}
/* The stage: shader behind, artwork on top. Shrinks below the 1200px design
width instead of overflowing; the gap above is the floor, space-between
distributes anything left over.
The stroke is the shader's own base colour, so the edge is the same shade as
the fill inside it. Keep in step with TONES in FadedDitherCanvas.tsx. */
.shot {
--shot-stroke: #f8f8f8;
position: relative;
flex: 0 1 720px;
align-self: center;
min-width: 0;
aspect-ratio: 720 / 400;
overflow: hidden;
border: 1px solid var(--shot-stroke);
border-radius: 24px;
}
[data-theme="dark"] .shot {
--shot-stroke: #0e0e0e;
}
.shotShader {
position: absolute;
z-index: 0;
inset: 0;
}
.shotShader > * {
width: 100%;
height: 100%;
}
.featureImage {
position: relative;
z-index: 1;
display: block;
width: 100%;
height: 100%;
object-fit: cover;
}
.featureImageWide {
display: contents;
}
.featureImageCompact {
display: none;
}
.featureImageSessionReplay {
/* This source is slightly taller than the shared 720×400 feature slot.
Preserve the designed top/side inset instead of centering the crop. */
object-position: center top;
}
.featureImageDark {
display: none;
}
[data-theme="dark"] .featureImageLight {
display: none;
}
[data-theme="dark"] .featureImageDark {
display: block;
}
.content {
display: flex;
flex: 0 0 400px;
flex-direction: column;
align-self: stretch;
justify-content: space-between;
min-width: 0;
width: auto;
text-align: left;
}
.headingGroup {
display: flex;
flex-direction: column;
}
.primaryHeading,
.secondaryHeading {
margin: 0;
font-family: "Inter Display", sans-serif;
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);
}
.primaryHeading {
color: var(--openui-text-neutral-primary);
}
.secondaryHeading {
color: var(--openui-text-neutral-secondary);
}
.body {
margin: 0;
color: var(--openui-text-neutral-secondary);
font-family: "Inter Display", sans-serif;
font-size: var(--home-lead-size);
font-weight: var(--home-lead-weight);
line-height: var(--home-lead-leading);
}
.bodyGroup {
display: flex;
flex-direction: column;
align-items: flex-start;
gap: 20px;
}
.supportingFeatures {
--home-hairline: var(--openui-border-interactive);
margin-top: 160px;
padding-bottom: 160px;
}
/* Below the 1200px design width the section would otherwise run edge to edge.
Same inset the sibling sections on this page use. */
@media (max-width: 1279px) {
.section {
width: calc(100% - 64px);
}
}
@media (max-width: 1023px) {
.card {
flex-direction: column;
gap: 32px;
}
.shot {
flex: 0 0 auto;
width: 100%;
aspect-ratio: 720 / 400;
}
.content {
flex: 0 0 auto;
width: 100%;
}
.supportingFeatures {
margin-top: 96px;
padding-bottom: 96px;
}
}
@media (max-width: 767px) {
.captionBreak {
display: none;
}
.section {
width: calc(100% - 32px);
}
/* One gap governs both sides of the shot, so heading-to-image and
image-to-description stay equal by construction. */
.card {
gap: 20px;
}
.shot {
aspect-ratio: 720 / 600;
border-radius: 12px;
}
.featureImageWide {
display: none;
}
.featureImageCompact {
display: contents;
}
/* Name the feature, show it, then explain it. display:contents drops .content
as a box so its two halves join the card's column and the shot can be
ordered between them. The orders are absolute rather than relative, so
every card reads the same way whichever side its art takes on desktop. */
.content {
display: contents;
}
.headingGroup {
order: 1;
}
.shot,
.shotPlaceholder {
order: 2;
}
.bodyGroup {
order: 3;
}
}
/* Holds a feature's slot until its artwork lands. Sits on top of .featureImage,
which supplies the 720x400 sizing. Delete once every card has an image. */
.featurePlaceholder {
background: rgba(10, 10, 10, 0.04);
}
[data-theme="dark"] .featurePlaceholder {
background: rgba(255, 255, 255, 0.05);
}
/* Stand-in for a step whose screenshot pair has not been made. Mirrors
.featureImage's box exactly so the row keeps its proportions; delete these
rules once every step has art. */
.shotPlaceholder {
display: flex;
flex: 0 1 720px;
align-self: center;
align-items: center;
justify-content: center;
min-width: 0;
padding: clamp(1.5rem, 4vw, 3rem);
aspect-ratio: 720 / 400;
border: 1px dashed var(--openui-border-subtle, rgba(10, 10, 10, 0.28));
border-radius: 24px;
}
[data-theme="dark"] .shotPlaceholder {
border-color: rgba(255, 255, 255, 0.22);
}
.shotPlaceholderLabel {
max-width: 28rem;
margin: 0;
font-size: 0.9375rem;
line-height: 1.6;
text-align: center;
color: var(--openui-text-neutral-secondary);
}
@media (max-width: 1023px) {
.shotPlaceholder {
flex: 0 0 auto;
width: 100%;
height: auto;
}
}