Skip to content

The Open Standard for Generative UI

Refresh Gateway reliability page and Autofix surfaces (#1230)

rahuldovalb4057c8f6c77
diff --git a/docs/app/(home)/benchmarks/BenchmarksContent.tsx b/docs/app/(home)/benchmarks/BenchmarksContent.tsx
index 6d6fa8321..da11e771f 100644
--- a/docs/app/(home)/benchmarks/BenchmarksContent.tsx
+++ b/docs/app/(home)/benchmarks/BenchmarksContent.tsx
@@ -28,6 +28,7 @@ import { ArrowUpRight } from "lucide-react";
import type { ReactNode } from "react";
import { CloudCtaSection } from "../cloud/CloudCtaSection";
import { BevelButton } from "../components/Button/BevelButton";
+import { InsightBar } from "../components/InsightBar/InsightBar";
import {
FeatureGridSection,
type GridFeature,
@@ -115,9 +116,7 @@ function Section({
<p>{description}</p>
</div>
</div>
- <div className={s.insightBar}>
- <p>{insight}</p>
- </div>
+ <InsightBar>{insight}</InsightBar>
<div className={s.sectionBody}>{children}</div>
</section>
);
diff --git a/docs/app/(home)/benchmarks/benchmarks.module.css b/docs/app/(home)/benchmarks/benchmarks.module.css
index 7b5ff94b8..85e5d4064 100644
--- a/docs/app/(home)/benchmarks/benchmarks.module.css
+++ b/docs/app/(home)/benchmarks/benchmarks.module.css
@@ -380,28 +380,6 @@
font-size: 15px;
}
-.insightBar {
- display: flex;
- min-height: 47px;
- align-items: center;
- padding: 12px 16px;
- border-left: 2px solid var(--openui-text-neutral-primary);
- background: linear-gradient(
- to right,
- color-mix(in srgb, var(--openui-text-neutral-primary) 6%, transparent),
- transparent
- );
-}
-
-.insightBar p {
- margin: 0;
- font-size: 16px;
- font-weight: 500;
- line-height: 1.45;
- color: var(--openui-text-neutral-primary);
- text-wrap: pretty;
-}
-
.sectionBody {
display: flex;
min-width: 0;
@@ -598,14 +576,6 @@
padding-inline: 0;
}
- .insightBar {
- align-items: flex-start;
- }
-
- .insightBar p {
- font-size: 15px;
- }
-
.sectionBody,
.sectionSpacious .sectionBody {
gap: 40px;
diff --git a/docs/app/(home)/cloud/CloudIntegrationSection.module.css b/docs/app/(home)/cloud/CloudIntegrationSection.module.css
index 08e49f84a..7b52b490b 100644
--- a/docs/app/(home)/cloud/CloudIntegrationSection.module.css
+++ b/docs/app/(home)/cloud/CloudIntegrationSection.module.css
@@ -304,27 +304,9 @@
width: 100%;
}
- .customers {
- width: calc(100% - 48px);
- margin-top: 120px;
- }
-
- .customerGrid {
- grid-template-columns: repeat(2, minmax(0, 1fr));
- }
-}
-
-@media (max-width: 767px) {
- .inner {
- width: calc(100% - 32px);
- }
-
- /* A host that sets this to `contents` drops .content as a box, so its two
- children join .inner's column and the orders below can put the code between
- them. Left as `flex` the orders are inert: .intro and .stepper are ordered
- inside .content in the sequence they already appear in, and .codeColumn is
- the second of .inner's two items either way. */
.content {
+ /* A host can flatten the copy column once the two desktop columns stack,
+ allowing the code panel to sit between the intro and the steps. */
display: var(--cloud-setup-content-display, flex);
gap: 32px;
}
@@ -341,6 +323,25 @@
order: 3;
}
+ .integrationAction {
+ order: 4;
+ }
+
+ .customers {
+ width: calc(100% - 48px);
+ margin-top: 120px;
+ }
+
+ .customerGrid {
+ grid-template-columns: repeat(2, minmax(0, 1fr));
+ }
+}
+
+@media (max-width: 767px) {
+ .inner {
+ width: calc(100% - 32px);
+ }
+
.stepper[data-interactive="true"][data-step-count="2"] {
height: 248px;
}
diff --git a/docs/app/(home)/cloud/FeaturesSection.module.css b/docs/app/(home)/cloud/FeaturesSection.module.css
index aa7d42433..189437178 100644
--- a/docs/app/(home)/cloud/FeaturesSection.module.css
+++ b/docs/app/(home)/cloud/FeaturesSection.module.css
@@ -37,6 +37,55 @@
background: var(--home-color-surface-soft);
}
+.featureStage {
+ --cloud-feature-stage-stroke: #f8f8f8;
+
+ position: relative;
+ flex: 0 1 720px;
+ align-self: center;
+ min-width: 0;
+ aspect-ratio: 720 / 400;
+ overflow: hidden;
+ border: 1px solid var(--cloud-feature-stage-stroke);
+ border-radius: 24px;
+}
+
+[data-theme="dark"] .featureStage {
+ --cloud-feature-stage-stroke: #0e0e0e;
+}
+
+.featureShader {
+ position: absolute;
+ z-index: 0;
+ inset: 0;
+}
+
+.featureShader > * {
+ width: 100%;
+ height: 100%;
+}
+
+.featureStageArtwork {
+ position: relative;
+ z-index: 1;
+ width: 100%;
+ height: 100%;
+}
+
+.featureStageArtwork .featureImage {
+ width: 100%;
+ height: 100%;
+}
+
+.featureImagePair,
+.featureImageWide {
+ display: contents;
+}
+
+.featureImageCompact {
+ display: none;
+}
+
.featureImageDark {
display: none;
}
@@ -132,11 +181,37 @@
aspect-ratio: 720 / 400;
}
+ .featureStage {
+ flex: 0 0 auto;
+ width: 100%;
+ }
+
.content {
flex: 0 0 auto;
width: 100%;
}
+ /* Observability's feature cards use the stronger stacked reading order:
+ name the feature, show it, then explain it. Opt-in so existing Cloud cards
+ keep their current composition while Gateway can use the refined one from
+ the moment the desktop columns collapse. */
+ .cardEditorialStack .content {
+ display: contents;
+ }
+
+ .cardEditorialStack .headingGroup {
+ order: 1;
+ }
+
+ .cardEditorialStack .featureImage,
+ .cardEditorialStack .featureStage {
+ order: 2;
+ }
+
+ .cardEditorialStack .bodyGroup {
+ order: 3;
+ }
+
.supportingFeatures {
margin-top: 96px;
padding-bottom: 96px;
@@ -148,10 +223,36 @@
width: calc(100% - 32px);
}
+ .cardEditorialStack {
+ gap: 20px;
+ }
+
.featureImage {
order: -1;
border-radius: 12px;
}
+ .featureStage {
+ order: -1;
+ border-radius: 12px;
+ }
+
+ .cardEditorialStack .featureImage,
+ .cardEditorialStack .featureStage {
+ order: 2;
+ }
+
+ .featureStageResponsive {
+ aspect-ratio: 720 / 600;
+ border-radius: 16px;
+ }
+
+ .featureImageWide {
+ display: none;
+ }
+
+ .featureImageCompact {
+ display: contents;
+ }
.content {
gap: 20px;
diff --git a/docs/app/(home)/cloud/FeaturesSection.tsx b/docs/app/(home)/cloud/FeaturesSection.tsx
index 94d1473a2..76e77f4ca 100644
--- a/docs/app/(home)/cloud/FeaturesSection.tsx
+++ b/docs/app/(home)/cloud/FeaturesSection.tsx
@@ -1,6 +1,7 @@
import { Button } from "@/components/button";
import Image from "next/image";
import type { ReactNode } from "react";
+import { FadedDither } from "../components/FadedDither/FadedDither";
import {
FeatureGridSection,
type GridFeature,
@@ -64,6 +65,8 @@ function FeatureCopy({
export function CloudFeatureCard({
image,
imageDark,
+ imageMobile,
+ imageMobileDark,
imageAlt,
title,
headline,
@@ -72,9 +75,13 @@ export function CloudFeatureCard({
ctaText,
imageFirst = true,
unoptimized = false,
+ withDither = false,
+ stackedEditorialOrder = false,
}: {
image?: string;
imageDark?: string;
+ imageMobile?: string;
+ imageMobileDark?: string;
imageAlt?: string;
title: string;
headline: ReactNode;
@@ -83,27 +90,57 @@ export function CloudFeatureCard({
ctaText?: string;
imageFirst?: boolean;
unoptimized?: boolean;
+ withDither?: boolean;
+ /** When the card stacks, read it as heading, artwork, then description. */
+ stackedEditorialOrder?: boolean;
}) {
- const artwork =
+ const images =
image && imageDark ? (
<>
- <Image
- className={`${styles.featureImage} ${styles.featureImageLight}`}
- src={image}
- alt={imageAlt ?? ""}
- width={720}
- height={400}
- unoptimized={unoptimized}
- />
- <Image
- className={`${styles.featureImage} ${styles.featureImageDark}`}
- src={imageDark}
- alt=""
- aria-hidden="true"
- width={720}
- height={400}
- unoptimized={unoptimized}
- />
+ <span
+ className={
+ imageMobile && imageMobileDark ? styles.featureImageWide : styles.featureImagePair
+ }
+ >
+ <Image
+ className={`${styles.featureImage} ${styles.featureImageLight}`}
+ src={image}
+ alt={imageAlt ?? ""}
+ width={720}
+ height={400}
+ unoptimized={unoptimized}
+ />
+ <Image
+ className={`${styles.featureImage} ${styles.featureImageDark}`}
+ src={imageDark}
+ alt=""
+ aria-hidden="true"
+ width={720}
+ height={400}
+ unoptimized={unoptimized}
+ />
+ </span>
+ {imageMobile && imageMobileDark ? (
+ <span className={styles.featureImageCompact}>
+ <Image
+ className={`${styles.featureImage} ${styles.featureImageLight}`}
+ src={imageMobile}
+ alt={imageAlt ?? ""}
+ width={720}
+ height={600}
+ unoptimized={unoptimized}
+ />
+ <Image
+ className={`${styles.featureImage} ${styles.featureImageDark}`}
+ src={imageMobileDark}
+ alt=""
+ aria-hidden="true"
+ width={720}
+ height={600}
+ unoptimized={unoptimized}
+ />
+ </span>
+ ) : null}
</>
) : (
<div
@@ -112,6 +149,19 @@ export function CloudFeatureCard({
/>
);
+ const artwork = withDither ? (
+ <div
+ className={`${styles.featureStage} ${
+ imageMobile && imageMobileDark ? styles.featureStageResponsive : ""
+ }`.trim()}
+ >
+ <FadedDither band="light" className={styles.featureShader} />
+ <div className={styles.featureStageArtwork}>{images}</div>
+ </div>
+ ) : (
+ images
+ );
+
const copy = (
<FeatureCopy
title={title}
@@ -123,7 +173,9 @@ export function CloudFeatureCard({
);
return (
- <article className={styles.card}>
+ <article
+ className={`${styles.card} ${stackedEditorialOrder ? styles.cardEditorialStack : ""}`.trim()}
+ >
{imageFirst ? artwork : copy}
{imageFirst ? copy : artwork}
</article>
diff --git a/docs/app/(home)/cloud/gateway/FailureBreakdown.module.css b/docs/app/(home)/cloud/gateway/FailureBreakdown.module.css
index 3943c04e9..0964ce0ac 100644
--- a/docs/app/(home)/cloud/gateway/FailureBreakdown.module.css
+++ b/docs/app/(home)/cloud/gateway/FailureBreakdown.module.css
@@ -73,14 +73,21 @@ figure.figure {
width: 100%;
height: 100%;
fill: none;
- stroke: color-mix(in srgb, var(--openui-text-neutral-primary) 32%, transparent);
- stroke-width: 1.25px;
- stroke-dasharray: 1 5;
+ stroke: color-mix(in srgb, var(--openui-text-neutral-primary) 22%, transparent);
+ stroke-width: 1.1px;
+ stroke-dasharray: 1.35 5;
stroke-linecap: round;
stroke-linejoin: round;
overflow: visible;
}
+:global(.dark) .horizontalConnectors,
+:global(.dark) .verticalConnectors,
+:global([data-theme="dark"]) .horizontalConnectors,
+:global([data-theme="dark"]) .verticalConnectors {
+ stroke: color-mix(in srgb, var(--openui-text-neutral-primary) 12%, transparent);
+}
+
.verticalConnectors {
display: none;
}
@@ -105,6 +112,10 @@ figure.figure {
text-align: left;
}
+.mobileKey {
+ display: none;
+}
+
.share {
color: var(--openui-text-neutral-primary);
font-size: 21px;
@@ -119,63 +130,68 @@ figure.figure {
text-wrap: wrap;
}
-/* Rotate the same proportional bar on small screens. Labels have their own
- equal-height rows, so neither the 4% slice nor long text can cause overlaps. */
+/* Keep the data horizontal on phones. The bar still communicates proportion;
+ the labels become direct, roomy rows instead of squeezing into four narrow
+ columns or rotating the entire chart. */
@media (max-width: 639px) {
figure.figure {
margin-top: 48px;
}
.chartBody {
- display: grid;
- grid-template-columns: 48px 40px minmax(0, 1fr);
+ display: block;
}
.bar {
- height: auto;
+ height: 64px;
}
.segment {
- grid-column: 1 / -1;
- grid-row: auto;
- min-height: 0;
- border-inline-end: 0;
- border-bottom: 3px solid var(--openui-background);
+ grid-row: 1 / -1;
}
.connectors {
- height: auto;
- }
-
- .horizontalConnectors {
display: none;
}
- .verticalConnectors {
- display: block;
- }
-
.labels {
grid-template-columns: minmax(0, 1fr);
- grid-template-rows: repeat(4, minmax(88px, 1fr));
+ min-height: 0;
+ margin-top: 20px;
}
.label {
- align-items: flex-start;
- justify-content: center;
- gap: 4px;
- padding: 12px 0 12px 12px;
+ display: grid;
+ grid-template-columns: 12px 3.25rem minmax(0, 1fr);
+ align-items: center;
+ gap: 12px;
+ padding: 14px 0;
+ border-top: 1px solid var(--home-hairline);
text-align: left;
}
+ .label:first-child {
+ border-top: 0;
+ }
+
+ .mobileKey {
+ display: block;
+ width: 12px;
+ height: 12px;
+ border-radius: 3px;
+ background-size: 100% 100%;
+ }
+
.share {
- width: 3.25ch;
- text-align: right;
+ width: auto;
+ text-align: left;
font-variant-numeric: tabular-nums;
}
.family {
+ width: 100%;
max-width: none;
- text-wrap: pretty;
+ text-align: right;
+ text-wrap: balance;
}
}
diff --git a/docs/app/(home)/cloud/gateway/FailureBreakdown.tsx b/docs/app/(home)/cloud/gateway/FailureBreakdown.tsx
index 50fa45129..b941067d9 100644
--- a/docs/app/(home)/cloud/gateway/FailureBreakdown.tsx
+++ b/docs/app/(home)/cloud/gateway/FailureBreakdown.tsx
@@ -75,8 +75,9 @@ export function FailureBreakdown() {
</div>
<ul className={styles.labels}>
- {categories.map((entry) => (
+ {categories.map((entry, index) => (
<li key={entry.family} className={styles.label}>
+ <span className={`${styles.mobileKey} ${fills[index]}`} aria-hidden="true" />
<span className={styles.share}>{entry.share}%</span>
<span className={styles.family}>
{entry.label === "Enum, type and argument errors" ? (
diff --git a/docs/app/(home)/cloud/gateway/IntegrateSection.tsx b/docs/app/(home)/cloud/gateway/IntegrateSection.tsx
index 1d9183915..2aeee830a 100644
--- a/docs/app/(home)/cloud/gateway/IntegrateSection.tsx
+++ b/docs/app/(home)/cloud/gateway/IntegrateSection.tsx
@@ -35,7 +35,12 @@ export function IntegrateSection() {
return (
<section className={styles.adoptionSection} aria-labelledby="gateway-integrate">
<CloudIntegrationSetup
- title="Adopt it by changing your base URL"
+ title={
+ <>
+ Adopt it by changing
+ <br className={styles.adoptionTitleBreak} /> your base URL
+ </>
+ }
titleId="gateway-integrate"
steps={STEPS}
code={GATEWAY_EXAMPLE}
diff --git a/docs/app/(home)/cloud/gateway/RepairSection.tsx b/docs/app/(home)/cloud/gateway/RepairSection.tsx
index a27b20b59..a5a25c670 100644
--- a/docs/app/(home)/cloud/gateway/RepairSection.tsx
+++ b/docs/app/(home)/cloud/gateway/RepairSection.tsx
@@ -1,6 +1,7 @@
import { production } from "@/lib/benchmark-data";
import Image from "next/image";
import { ExternalTextLink } from "../../components/ExternalTextLink/ExternalTextLink";
+import { FadedDither } from "../../components/FadedDither/FadedDither";
import {
FeatureGridSection,
type GridFeature,
@@ -76,7 +77,10 @@ export function RepairSection() {
</div>
<div className={`${styles.diagram} ${styles.repairIllustrationSpace}`}>
- <GatewayReliabilityDashboardIllustration />
+ <FadedDither band="light" className={styles.illustrationShader} />
+ <div className={styles.repairIllustrationArt}>
+ <GatewayReliabilityDashboardIllustration />
+ </div>
</div>
<aside className={styles.customerQuote}>
diff --git a/docs/app/(home)/cloud/gateway/SecuritySection.tsx b/docs/app/(home)/cloud/gateway/SecuritySection.tsx
index 5d9d8bb2c..6e193f133 100644
--- a/docs/app/(home)/cloud/gateway/SecuritySection.tsx
+++ b/docs/app/(home)/cloud/gateway/SecuritySection.tsx
@@ -1,6 +1,7 @@
import { ExternalTextLink } from "../../components/ExternalTextLink/ExternalTextLink";
import type { GridFeature } from "../../sections/FeatureGridSection/FeatureGridSection";
import { EnterpriseSection } from "../EnterpriseSection";
+import styles from "./sections.module.css";
export function SecuritySection() {
const features: GridFeature[] = [
@@ -55,6 +56,7 @@ export function SecuritySection() {
title="Built for enterprise requirements"
titleId="gateway-security"
features={features}
+ className={styles.enterpriseSection}
/>
);
}
diff --git a/docs/app/(home)/cloud/gateway/UsageSection.tsx b/docs/app/(home)/cloud/gateway/UsageSection.tsx
index d835fa325..efb153446 100644
--- a/docs/app/(home)/cloud/gateway/UsageSection.tsx
+++ b/docs/app/(home)/cloud/gateway/UsageSection.tsx
@@ -11,11 +11,15 @@ export function UsageSection() {
<CloudFeatureCard
image="/images/gateway/usage-light.webp"
imageDark="/images/gateway/usage-dark.webp"
+ imageMobile="/images/gateway/usage-mobile-light.webp"
+ imageMobileDark="/images/gateway/usage-mobile-dark.webp"
imageAlt="Gateway activity dashboard showing requests, token volume, estimated cost, and usage by model"
title="Usage, cost, and corrections"
headline="in a single view"
description="See where model spend goes, what reaches users, and how often Gateway fixes invalid output before users see it."
unoptimized
+ withDither
+ stackedEditorialOrder
/>
</section>
);
diff --git a/docs/app/(home)/cloud/gateway/WhySection.tsx b/docs/app/(home)/cloud/gateway/WhySection.tsx
index 69a814be3..3d2ef6a4f 100644
--- a/docs/app/(home)/cloud/gateway/WhySection.tsx
+++ b/docs/app/(home)/cloud/gateway/WhySection.tsx
@@ -21,12 +21,11 @@ export function WhySection() {
<FailureBreakdown />
<div className={styles.problemConclusion}>
- <p className={styles.lead}>
- OpenUI beats Google A2UI and Vercel json-render on structural validity while using about
- half the tokens and streaming time. Stronger models reduce errors further. Gateway catches
- and repairs what remains before users see it.
+ <p className={styles.problemConclusionCopy}>
+ OpenUI produces more structurally valid output than Google A2UI and Vercel json-render,
+ with about half the tokens and streaming time. Gateway catches what remains.
</p>
- <div className={styles.linkRow}>
+ <div className={styles.problemConclusionActions}>
<Button href="/benchmarks?view=formats" text="Compare formats" variant="tertiary" />
<Button href="/benchmarks" text="Compare models" variant="tertiary" />
</div>
diff --git a/docs/app/(home)/cloud/gateway/page.module.css b/docs/app/(home)/cloud/gateway/page.module.css
index 804a73a69..257cc8248 100644
--- a/docs/app/(home)/cloud/gateway/page.module.css
+++ b/docs/app/(home)/cloud/gateway/page.module.css
@@ -61,30 +61,70 @@
gap: 12px;
}
+.sectionRhythm {
+ --gateway-section-gap: 160px;
+ --gateway-page-surface: #fff;
+ --gateway-band-surface: var(--openui-background);
+}
+
+[data-theme="dark"] .sectionRhythm {
+ --gateway-page-surface: #000;
+ --gateway-band-surface: var(--openui-background);
+}
+
.heroArtSpace {
+ --gateway-stage-stroke: #f8f8f8;
+
+ position: relative;
overflow: hidden;
width: 100%;
aspect-ratio: 1280 / 520;
- border: 0;
+ border: 1px solid var(--gateway-stage-stroke);
border-radius: 24px;
- background: var(--home-color-surface-soft);
}
-.problemBand,
-.repairBand {
+[data-theme="dark"] .heroArtSpace {
+ --gateway-stage-stroke: #0e0e0e;
+}
+
+.heroShader {
+ position: absolute;
+ z-index: 0;
+ inset: 0;
+}
+
+.heroShader > * {
width: 100%;
- background: var(--openui-foreground);
+ height: 100%;
}
-[data-theme="dark"] .problemBand,
-[data-theme="dark"] .repairBand {
- background: #000;
+.heroArtwork {
+ position: relative;
+ z-index: 1;
+ width: 100%;
+ height: 100%;
+}
+
+.problemBand,
+.repairBand {
+ width: 100%;
+ background: var(--gateway-page-surface);
}
.usageBand {
width: 100%;
- padding-block: 160px;
- background: var(--openui-foreground);
+ padding: var(--gateway-section-gap) 0 calc(var(--gateway-section-gap) / 2);
+ background: var(--gateway-page-surface);
+}
+
+/* The banner is a continuation of the repair story. The following section
+ owns the major gap, so the banner must not add a second one. */
+.autofixBridge {
+ display: flow-root;
+}
+
+.autofixBridge.autofixBridge > section {
+ margin-bottom: 0;
}
.faqContactLink {
@@ -98,6 +138,11 @@
}
@media (max-width: 899.98px) {
+ .titleBlock {
+ align-items: center;
+ gap: 12px;
+ }
+
.title {
font-size: inherit;
}
@@ -118,18 +163,20 @@
}
}
-@media (max-width: 1023.98px) {
- .usageBand {
- padding-block: 112px;
+@media (min-width: 768px) and (max-width: 899.98px) {
+ .ctaGroup {
+ flex-direction: row;
+ width: auto;
}
}
-@media (max-width: 767px) {
- .titleBlock {
- align-items: center;
- gap: 12px;
+@media (max-width: 1023.98px) {
+ .sectionRhythm {
+ --gateway-section-gap: 96px;
}
+}
+@media (max-width: 767px) {
.subtitle {
flex: 0 1 auto;
width: 100%;
@@ -142,10 +189,6 @@
}
.heroArtSpace {
- border-radius: 16px;
- }
-
- .usageBand {
- padding-block: 96px;
+ border-radius: 12px;
}
}
diff --git a/docs/app/(home)/cloud/gateway/page.tsx b/docs/app/(home)/cloud/gateway/page.tsx
index bbe68e287..e3c1ec9ec 100644
--- a/docs/app/(home)/cloud/gateway/page.tsx
+++ b/docs/app/(home)/cloud/gateway/page.tsx
@@ -1,10 +1,12 @@
import { ArrowUpRight } from "lucide-react";
import type { Metadata } from "next";
import { BevelButton } from "../../components/Button/BevelButton";
+import { FadedDither } from "../../components/FadedDither/FadedDither";
import styles from "../../page.module.css";
+import { AutofixSection } from "../../sections/AutofixSection/AutofixSection";
import { Footer } from "../../sections/Footer/Footer";
import { HeroSection } from "../../sections/HeroSection/HeroSection";
-import { GatewayReliabilityIllustration } from "../../sections/ProductIllustrations/ProductIllustrations";
+import { GatewayReliabilityOpenIllustration } from "../../sections/ProductIllustrations/ProductIllustrations";
import { CloudCtaSection } from "../CloudCtaSection";
import { FaqSection } from "./FaqSection";
import { IntegrateSection } from "./IntegrateSection";
@@ -32,7 +34,7 @@ export const metadata: Metadata = {
export default function GatewayPage() {
return (
- <div className={styles.page}>
+ <div className={`${styles.page} ${gatewayStyles.sectionRhythm}`}>
<div className={styles.heroShell}>
<HeroSection
align="left"
@@ -77,13 +79,19 @@ export default function GatewayPage() {
showGitHubBanner={false}
showTagline={false}
desktopPreviewSlot={
- <div className={gatewayStyles.heroArtSpace}>
- <GatewayReliabilityIllustration />
+ <div id="gateway-hero-illustration" className={gatewayStyles.heroArtSpace}>
+ <FadedDither band="light" className={gatewayStyles.heroShader} />
+ <div className={gatewayStyles.heroArtwork}>
+ <GatewayReliabilityOpenIllustration />
+ </div>
</div>
}
mobilePreviewSlot={
<div className={gatewayStyles.heroArtSpace}>
- <GatewayReliabilityIllustration />
+ <FadedDither band="light" className={gatewayStyles.heroShader} />
+ <div className={gatewayStyles.heroArtwork}>
+ <GatewayReliabilityOpenIllustration />
+ </div>
</div>
}
/>
@@ -96,10 +104,13 @@ export default function GatewayPage() {
<div className={gatewayStyles.repairBand}>
<RepairSection />
</div>
- <IntegrateSection />
+ <div className={gatewayStyles.autofixBridge}>
+ <AutofixSection />
+ </div>
<div className={gatewayStyles.usageBand}>
<UsageSection />
</div>
+ <IntegrateSection />
<SecuritySection />
<PricingSection />
<div className={sectionStyles.faqBand}>
diff --git a/docs/app/(home)/cloud/gateway/sections.module.css b/docs/app/(home)/cloud/gateway/sections.module.css
index 43741e34d..faca098de 100644
--- a/docs/app/(home)/cloud/gateway/sections.module.css
+++ b/docs/app/(home)/cloud/gateway/sections.module.css
@@ -3,15 +3,38 @@
width: 100%;
max-width: var(--home-container-max);
margin-inline: auto;
- padding-inline: var(--home-section-padding-inline);
+ padding-inline: var(--home-container-gutter);
}
.problemSection {
- padding-block: 160px;
+ padding-block: var(--gateway-section-gap, 160px);
}
.repairSection {
- padding-bottom: 160px;
+ display: flex;
+ flex-direction: column;
+ padding-bottom: 64px;
+}
+
+/* Match the responsive lockup used by the homepage product bands. The shared
+ section lockup collapses at tablet width, but PD's product lockup stays split
+ until phone width and scales its heading within the band hierarchy. */
+.repairSection > .sectionLockup {
+ grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
+ gap: clamp(1.5rem, 4vw, 4rem);
+}
+
+.repairSection .heading {
+ max-width: 20ch;
+ font-size: clamp(1.75rem, 3vw, 2.5rem);
+ line-height: 1.1;
+ letter-spacing: -0.02em;
+}
+
+.repairSection > .sectionLockup > .lead {
+ font-size: 1.0625rem;
+ font-weight: 400;
+ line-height: 1.55;
}
.sectionLockup {
@@ -64,15 +87,24 @@
}
.problemConclusion {
- box-sizing: border-box;
width: 100%;
- margin-top: 56px;
- padding: 6px 0 6px 16px;
- border-left: 2px solid color-mix(in srgb, var(--openui-text-neutral-primary) 80%, transparent);
+ margin-top: 48px;
}
-.problemConclusion .linkRow {
- margin-top: 18px;
+.problemConclusionCopy {
+ max-width: 54rem;
+ margin: 0;
+ color: var(--openui-text-neutral-secondary);
+ font-size: 1.125rem;
+ line-height: 1.6;
+ text-wrap: pretty;
+}
+
+.problemConclusionActions {
+ display: flex;
+ flex-wrap: wrap;
+ gap: 0.75rem 1.5rem;
+ margin-top: 1rem;
}
.diagram {
@@ -80,6 +112,9 @@
}
.repairIllustrationSpace {
+ --gateway-stage-stroke: #f8f8f8;
+
+ position: relative;
display: flex;
min-height: 0;
width: 100%;
@@ -87,9 +122,30 @@
margin-inline: auto;
aspect-ratio: 1120 / 440;
overflow: hidden;
- border: 0;
+ border: 1px solid var(--gateway-stage-stroke);
border-radius: 24px;
- background: transparent;
+}
+
+[data-theme="dark"] .repairIllustrationSpace {
+ --gateway-stage-stroke: #0e0e0e;
+}
+
+.illustrationShader {
+ position: absolute;
+ z-index: 0;
+ inset: 0;
+}
+
+.illustrationShader > * {
+ width: 100%;
+ height: 100%;
+}
+
+.repairIllustrationArt {
+ position: relative;
+ z-index: 1;
+ width: 100%;
+ height: 100%;
}
/* Compact light customer proof: logo mark, company, then the original claim. */
@@ -157,8 +213,25 @@
--cloud-code-min-height: 448px;
width: 100%;
- padding-block: 60px;
- background: var(--openui-foreground);
+ padding-block: calc(var(--gateway-section-gap, 160px) / 2);
+ background: var(--gateway-band-surface);
+}
+
+.adoptionTitleBreak {
+ display: none;
+}
+
+@media (min-width: 1024px) {
+ .adoptionTitleBreak {
+ display: inline;
+ }
+}
+
+/* Observability uses its enterprise proof as a quieter page section after the
+ grey setup band. Keep the same material change and tighter rhythm here. */
+.enterpriseSection.enterpriseSection {
+ padding-block: calc(var(--gateway-section-gap, 160px) / 2);
+ background: transparent;
}
section.usageSection {
@@ -167,8 +240,23 @@ section.usageSection {
.pricingBand {
width: 100%;
- padding-top: 160px;
- background: var(--openui-foreground);
+ padding-top: calc(var(--gateway-section-gap, 160px) / 2);
+ background: var(--gateway-page-surface);
+}
+
+@media (min-width: 1024px) {
+ .pricingSection > .sectionLockup {
+ grid-template-columns: repeat(4, minmax(0, 1fr));
+ gap: 12px;
+ }
+
+ .pricingSection > .sectionLockup > :first-child {
+ grid-column: 1 / 3;
+ }
+
+ .pricingSection > .sectionLockup > .lead {
+ grid-column: 3 / 5;
+ }
}
.pricingToolbar {
@@ -367,8 +455,9 @@ section.usageSection {
.faqBand {
box-sizing: border-box;
width: 100%;
- padding: 160px var(--home-section-padding-inline);
- background: var(--openui-foreground);
+ padding: var(--gateway-section-gap, 160px) var(--home-section-padding-inline)
+ calc(var(--gateway-section-gap, 160px) / 2);
+ background: var(--gateway-page-surface);
}
.faqBand > section {
@@ -382,6 +471,10 @@ section.usageSection {
}
@media (max-width: 1023px) {
+ .adoptionSection {
+ --cloud-setup-content-display: contents;
+ }
+
.repairIllustrationSpace {
min-height: 0;
}
@@ -392,39 +485,76 @@ section.usageSection {
.planGrid {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
- .problemSection {
- padding-block: 112px;
- }
-
.repairSection {
- padding-bottom: 112px;
+ padding-bottom: 48px;
}
.pricingBand {
- padding-top: 112px;
+ padding-top: calc(var(--gateway-section-gap, 96px) / 2);
}
.sectionLockup {
grid-template-columns: minmax(0, 1fr);
}
+ .repairSection > .sectionLockup {
+ grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
+ }
+
.problemLockup {
grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
gap: 40px;
}
.faqBand {
- padding-block: 112px;
+ padding-top: var(--gateway-section-gap, 96px);
+ padding-bottom: calc(var(--gateway-section-gap, 96px) / 2);
}
}
@media (max-width: 767px) {
+ .adoptionSection {
+ --cloud-code-mobile-zoom: 0.54;
+ --cloud-code-mobile-padding-block: 28px;
+ --cloud-code-min-height: 0;
+ }
+
.repairIllustrationSpace {
min-height: 0;
- aspect-ratio: 4 / 2.4;
+ margin-top: 0;
+ aspect-ratio: 1440 / 1200;
border-radius: 16px;
}
+ /* ProductSection uses the same phone reading order: headline, artwork,
+ description, then capability rows. display:contents lets this section do
+ that without duplicating its copy or changing the desktop markup. */
+ .repairSection > .sectionLockup {
+ display: contents;
+ }
+
+ .repairSection > .sectionLockup > :first-child {
+ order: 1;
+ margin-bottom: clamp(0.75rem, 2vw, 1.75rem);
+ }
+
+ .repairSection > .repairIllustrationSpace {
+ order: 2;
+ }
+
+ .repairSection > .sectionLockup > .lead {
+ order: 3;
+ margin-top: 0.875rem;
+ }
+
+ .repairSection > .customerQuote {
+ order: 4;
+ }
+
+ .repairSection > .repairGrid {
+ order: 5;
+ }
+
.pricingControls {
justify-content: flex-start;
}
@@ -452,16 +582,12 @@ section.usageSection {
scroll-snap-stop: always;
}
- .problemSection {
- padding-block: 96px;
- }
-
.repairSection {
- padding-bottom: 96px;
+ padding-bottom: 48px;
}
.pricingBand {
- padding-top: 96px;
+ padding-top: calc(var(--gateway-section-gap, 96px) / 2);
}
.sectionLockup {
@@ -499,7 +625,8 @@ section.usageSection {
}
.faqBand {
- padding: 96px 24px;
+ padding: var(--gateway-section-gap, 96px) 24px
+ calc(var(--gateway-section-gap, 96px) / 2);
}
.adoptionSection > div {
diff --git a/docs/app/(home)/cloud/observability/FeaturesSection.module.css b/docs/app/(home)/cloud/observability/FeaturesSection.module.css
index 6146f6bf7..44c35b056 100644
--- a/docs/app/(home)/cloud/observability/FeaturesSection.module.css
+++ b/docs/app/(home)/cloud/observability/FeaturesSection.module.css
@@ -77,6 +77,14 @@
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. */
@@ -198,15 +206,19 @@
gap: 20px;
}
- /* The artwork's own ratio, the same as desktop. A 4/3 stage cut roughly a
- quarter of the width off every 1.8 screenshot, straight through the UI, and
- the per-image object-position offsets below it were chasing that crop
- rather than removing it. */
.shot {
- aspect-ratio: 720 / 400;
+ 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
diff --git a/docs/app/(home)/cloud/observability/FeaturesSection.tsx b/docs/app/(home)/cloud/observability/FeaturesSection.tsx
index 0ad4253e7..e320ce789 100644
--- a/docs/app/(home)/cloud/observability/FeaturesSection.tsx
+++ b/docs/app/(home)/cloud/observability/FeaturesSection.tsx
@@ -61,27 +61,52 @@ function FeatureShot({ shot, alt }: { shot?: string; alt: string }) {
page, which is white on a light theme and black on a dark one. */
<div className={styles.shot}>
<FadedDither band="light" className={styles.shotShader} />
- <Image
- className={`${styles.featureImage} ${styles.featureImageLight} ${focalClass}`.trim()}
- src={`/openui-observability/${shot}-light.webp`}
- alt={alt}
- width={2880}
- height={imageHeight}
- quality={95}
- unoptimized
- sizes="(max-width: 767px) calc(100vw - 32px), 720px"
- />
- <Image
- className={`${styles.featureImage} ${styles.featureImageDark} ${focalClass}`.trim()}
- src={`/openui-observability/${shot}-dark.webp`}
- alt=""
- aria-hidden="true"
- width={2880}
- height={imageHeight}
- quality={95}
- unoptimized
- sizes="(max-width: 767px) calc(100vw - 32px), 720px"
- />
+ <span className={styles.featureImageWide}>
+ <Image
+ className={`${styles.featureImage} ${styles.featureImageLight} ${focalClass}`.trim()}
+ src={`/openui-observability/${shot}-light.webp`}
+ alt={alt}
+ width={2880}
+ height={imageHeight}
+ quality={95}
+ unoptimized
+ sizes="720px"
+ />
+ <Image
+ className={`${styles.featureImage} ${styles.featureImageDark} ${focalClass}`.trim()}
+ src={`/openui-observability/${shot}-dark.webp`}
+ alt=""
+ aria-hidden="true"
+ width={2880}
+ height={imageHeight}
+ quality={95}
+ unoptimized
+ sizes="720px"
+ />
+ </span>
+ <span className={styles.featureImageCompact}>
+ <Image
+ className={`${styles.featureImage} ${styles.featureImageLight}`}
+ src={`/openui-observability/${shot}-mobile-light.webp`}
+ alt={alt}
+ width={720}
+ height={600}
+ quality={95}
+ unoptimized
+ sizes="calc(100vw - 32px)"
+ />
+ <Image
+ className={`${styles.featureImage} ${styles.featureImageDark}`}
+ src={`/openui-observability/${shot}-mobile-dark.webp`}
+ alt=""
+ aria-hidden="true"
+ width={720}
+ height={600}
+ quality={95}
+ unoptimized
+ sizes="calc(100vw - 32px)"
+ />
+ </span>
</div>
);
}
diff --git a/docs/app/(home)/components/AgentPicker/AgentPicker.module.css b/docs/app/(home)/components/AgentPicker/AgentPicker.module.css
index ea480f051..8c653773b 100644
--- a/docs/app/(home)/components/AgentPicker/AgentPicker.module.css
+++ b/docs/app/(home)/components/AgentPicker/AgentPicker.module.css
@@ -216,6 +216,34 @@
}
}
+/* Mobile is a persistent choice row. Some hybrid devices and responsive
+ desktop previews still report hover support, so viewport width wins here:
+ every agent remains visible and tappable without a reveal interaction. */
+@media (max-width: 767px) {
+ .picker::after {
+ display: none;
+ }
+
+ .picker > .option:nth-child(2),
+ .picker > .option:nth-child(3),
+ .pickerLeft > .option:nth-child(2),
+ .pickerLeft > .option:nth-child(3) {
+ position: relative;
+ top: auto;
+ right: auto;
+ left: auto;
+ z-index: auto;
+ opacity: 1;
+ pointer-events: auto;
+ transform: none;
+ transition: none;
+ }
+
+ .option::after {
+ display: none;
+ }
+}
+
@media (prefers-reduced-motion: reduce) {
.picker > .option {
transition: opacity 0.12s ease;
diff --git a/docs/app/(home)/components/InsightBar/InsightBar.module.css b/docs/app/(home)/components/InsightBar/InsightBar.module.css
new file mode 100644
index 000000000..49a9f4b39
--- /dev/null
+++ b/docs/app/(home)/components/InsightBar/InsightBar.module.css
@@ -0,0 +1,31 @@
+.bar {
+ display: flex;
+ min-height: 47px;
+ align-items: center;
+ padding: 12px 16px;
+ border-left: 2px solid var(--openui-text-neutral-primary);
+ background: linear-gradient(
+ to right,
+ color-mix(in srgb, var(--openui-text-neutral-primary) 6%, transparent),
+ transparent
+ );
+}
+
+.bar p {
+ margin: 0;
+ color: var(--openui-text-neutral-primary);
+ font-size: 16px;
+ font-weight: 500;
+ line-height: 1.45;
+ text-wrap: pretty;
+}
+
+@media (max-width: 767px) {
+ .bar {
+ align-items: flex-start;
+ }
+
+ .bar p {
+ font-size: 15px;
+ }
+}
diff --git a/docs/app/(home)/components/InsightBar/InsightBar.tsx b/docs/app/(home)/components/InsightBar/InsightBar.tsx
new file mode 100644
index 000000000..73c2b8bc3
--- /dev/null
+++ b/docs/app/(home)/components/InsightBar/InsightBar.tsx
@@ -0,0 +1,17 @@
+import type { ReactNode } from "react";
+
+import styles from "./InsightBar.module.css";
+
+export interface InsightBarProps {
+ children: ReactNode;
+ className?: string;
+}
+
+/** A compact conclusion placed between evidence and the content it explains. */
+export function InsightBar({ children, className = "" }: InsightBarProps) {
+ return (
+ <aside className={`${styles.bar} ${className}`.trim()}>
+ <p>{children}</p>
+ </aside>
+ );
+}
diff --git a/docs/app/(home)/globals.css b/docs/app/(home)/globals.css
index 41e11f1a6..5e017629b 100644
--- a/docs/app/(home)/globals.css
+++ b/docs/app/(home)/globals.css
@@ -21,6 +21,7 @@
/* Layout container */
--home-container-max: 75rem;
--home-container-wide: 90rem;
+ --home-container-gutter: clamp(1.25rem, 4vw, 2.5rem);
--home-section-padding-inline: 1.25rem;
/* Marketing surfaces / borders / shadows */
diff --git a/docs/app/(home)/page.module.css b/docs/app/(home)/page.module.css
index 38f275634..5d836a4e5 100644
--- a/docs/app/(home)/page.module.css
+++ b/docs/app/(home)/page.module.css
@@ -38,7 +38,7 @@
and Observability bands below it rather than sitting 40px wider. */
max-width: var(--home-container-max);
margin-inline: auto;
- padding-inline: clamp(1.25rem, 4vw, 2.5rem);
+ padding-inline: var(--home-container-gutter);
}
/* NB: both breakpoints below override this gap, so editing it here has no
@@ -94,7 +94,6 @@
gap: 7rem;
padding-block: 4rem;
}
-
/* The feature grid states the Lang band's own capabilities, so it should read
as part of that band. The shell's gap is the measure between unrelated
sections, which is too much here; this pulls the grid back up under it. */
diff --git a/docs/app/(home)/sections/AutofixSection/AutofixSection.module.css b/docs/app/(home)/sections/AutofixSection/AutofixSection.module.css
new file mode 100644
index 000000000..7b2d4cb76
--- /dev/null
+++ b/docs/app/(home)/sections/AutofixSection/AutofixSection.module.css
@@ -0,0 +1,386 @@
+.section {
+ --autofix-text: var(--openui-text-neutral-primary);
+ --autofix-muted: var(--openui-text-neutral-secondary);
+ --autofix-surface: #fff;
+ --autofix-border: var(--home-hairline);
+ --autofix-logo-surface: #fff;
+ --autofix-logo-border: rgba(10, 10, 10, 0.1);
+ --autofix-vercel-filter: none;
+ --autofix-tooltip-surface: #171717;
+ --autofix-tooltip-border: rgba(255, 255, 255, 0.12);
+ --autofix-tooltip-text: #fff;
+
+ box-sizing: border-box;
+ width: 100%;
+ max-width: var(--home-container-max);
+ margin: clamp(4.5rem, 8vw, 6.5rem) auto;
+ color: var(--autofix-text);
+}
+
+.section:not(.cloud) {
+ margin-top: clamp(1.25rem, 2vw, 2rem);
+ margin-bottom: clamp(7.5rem, 10vw, 9rem);
+ padding-inline: var(--home-container-gutter);
+}
+
+.cloud {
+ --autofix-text: #fff;
+ --autofix-muted: rgba(255, 255, 255, 0.58);
+ --autofix-surface: rgba(255, 255, 255, 0.042);
+ --autofix-border: rgba(255, 255, 255, 0.075);
+ --autofix-logo-surface: #1b1b1b;
+ --autofix-logo-border: rgba(255, 255, 255, 0.12);
+ --autofix-vercel-filter: invert(1);
+ --autofix-tooltip-surface: #fff;
+ --autofix-tooltip-border: rgba(10, 10, 10, 0.1);
+ --autofix-tooltip-text: #0a0a0a;
+}
+
+.banner {
+ position: relative;
+ display: grid;
+ grid-template-columns: minmax(22rem, 0.9fr) minmax(0, 1.1fr);
+ align-items: stretch;
+ overflow: hidden;
+ min-height: 13.5rem;
+ border: 1px solid var(--autofix-border);
+ border-radius: 20px;
+ background: var(--autofix-surface);
+}
+
+.copy {
+ position: relative;
+ z-index: 1;
+ display: flex;
+ flex-direction: column;
+ align-items: flex-start;
+ justify-content: center;
+ min-width: 0;
+ padding: clamp(1.375rem, 2.4vw, 2rem);
+}
+
+.title {
+ max-width: 25rem;
+ margin: 0;
+ font-family: var(--home-font-display);
+ font-size: 1.375rem;
+ font-weight: var(--home-title-weight);
+ line-height: var(--home-title-leading);
+ letter-spacing: var(--home-title-tracking);
+ text-wrap: balance;
+}
+
+.providerLine {
+ display: flex;
+ align-items: center;
+ gap: 0.5rem;
+ white-space: nowrap;
+}
+
+.providerStack {
+ display: inline-flex;
+ flex: 0 0 auto;
+ align-items: center;
+ padding-right: 0.125rem;
+}
+
+.providerLogo {
+ position: relative;
+ display: grid;
+ width: 1.625rem;
+ height: 1.625rem;
+ place-items: center;
+ border: 1px solid var(--autofix-logo-border);
+ border-radius: 0.4375rem;
+ background: var(--autofix-logo-surface);
+ box-shadow: 0 1px 2px rgba(10, 10, 10, 0.08);
+}
+
+.providerLogo + .providerLogo {
+ margin-left: -0.375rem;
+}
+
+/* Keep the most recognizable gateways visually forward in the stack. */
+.providerLogo:nth-child(1) {
+ z-index: 4;
+}
+
+.providerLogo:nth-child(2) {
+ z-index: 3;
+}
+
+.providerLogo:nth-child(3) {
+ z-index: 2;
+}
+
+.providerLogo:nth-child(4) {
+ z-index: 1;
+}
+
+.providerLogo img {
+ display: block;
+ object-fit: contain;
+}
+
+.openRouterMark {
+ width: 1.0625rem;
+ height: auto;
+}
+
+.azureMark {
+ width: 0.875rem;
+ height: 0.875rem;
+}
+
+.bedrockMark {
+ width: 0.8125rem;
+ height: 0.8125rem;
+}
+
+.vercelMark {
+ width: 0.8125rem;
+ height: 0.8125rem;
+ filter: var(--autofix-vercel-filter);
+}
+
+.providerLogoDark {
+ display: none !important;
+}
+
+.cloud .providerLogoLight,
+[data-theme="dark"] .section:not(.cloud) .providerLogoLight {
+ display: none;
+}
+
+.cloud .providerLogoDark,
+[data-theme="dark"] .section:not(.cloud) .providerLogoDark {
+ display: block !important;
+}
+
+[data-theme="dark"] .cloud .providerLogoLight {
+ display: block;
+}
+
+[data-theme="dark"] .cloud .providerLogoDark {
+ display: none !important;
+}
+
+.providerLogo::after {
+ position: absolute;
+ bottom: calc(100% + 0.5rem);
+ left: 50%;
+ z-index: 20;
+ padding: 0.3125rem 0.4375rem;
+ border: 1px solid var(--autofix-tooltip-border);
+ border-radius: 0.375rem;
+ background: var(--autofix-tooltip-surface);
+ color: var(--autofix-tooltip-text);
+ content: attr(data-tooltip);
+ font-family: var(--home-font-text);
+ font-size: 0.6875rem;
+ font-weight: 500;
+ line-height: 1;
+ opacity: 0;
+ pointer-events: none;
+ transform: translate(-50%, 0.125rem);
+ transition:
+ opacity 120ms ease,
+ transform 120ms ease;
+ visibility: hidden;
+ white-space: nowrap;
+}
+
+.providerLogo:hover,
+.providerLogo:focus-visible {
+ z-index: 10;
+}
+
+.providerLogo:hover::after,
+.providerLogo:focus-visible::after {
+ opacity: 1;
+ transform: translate(-50%, 0);
+ visibility: visible;
+}
+
+.providerLogo:focus-visible {
+ z-index: 2;
+ outline: 2px solid currentColor;
+ outline-offset: 2px;
+}
+
+.titleLine {
+ display: block;
+ white-space: nowrap;
+}
+
+.description {
+ max-width: 31rem;
+ margin: 0.75rem 0 0;
+ font-family: var(--home-font-text);
+ font-size: 0.9375rem;
+ line-height: 1.5;
+ color: var(--autofix-muted);
+ text-wrap: pretty;
+}
+
+.cta {
+ width: fit-content;
+ max-width: none;
+ margin-top: 1rem;
+}
+
+.cloud .cta {
+ background: #0a0a0a;
+ border-color: rgba(255, 255, 255, 0.12);
+ box-shadow: var(--home-bevel-on-dark);
+ color: #fff;
+ --bevel-badge-bg: #fff;
+ --bevel-badge-fg: #0a0a0a;
+}
+
+.visual {
+ position: relative;
+ display: flex;
+ align-items: center;
+ justify-content: flex-end;
+ align-self: stretch;
+ overflow: hidden;
+ min-width: 0;
+}
+
+.illustration {
+ position: absolute;
+ inset: 0;
+ overflow: hidden;
+}
+
+.illustrationImage {
+ position: absolute;
+ top: 50%;
+ right: 0;
+ display: block;
+ width: min(100%, 40.411rem);
+ max-width: none;
+ height: auto;
+ transform: translateY(-50%);
+}
+
+.illustrationImageDark {
+ display: none;
+}
+
+.cloud .illustrationImageLight,
+[data-theme="dark"] .section:not(.cloud) .illustrationImageLight {
+ display: none;
+}
+
+.cloud .illustrationImageDark,
+[data-theme="dark"] .section:not(.cloud) .illustrationImageDark {
+ display: block;
+}
+
+[data-theme="dark"] .cloud .illustrationImageLight {
+ display: block;
+}
+
+[data-theme="dark"] .cloud .illustrationImageDark {
+ display: none;
+}
+
+[data-theme="dark"] .section:not(.cloud) {
+ --autofix-surface: rgba(255, 255, 255, 0.042);
+ --autofix-border: rgba(255, 255, 255, 0.075);
+ --autofix-logo-surface: #1b1b1b;
+ --autofix-logo-border: rgba(255, 255, 255, 0.12);
+ --autofix-vercel-filter: invert(1);
+ --autofix-tooltip-surface: #fff;
+ --autofix-tooltip-border: rgba(10, 10, 10, 0.1);
+ --autofix-tooltip-text: #0a0a0a;
+}
+
+[data-theme="dark"] .cloud {
+ --autofix-text: #0a0a0a;
+ --autofix-muted: rgba(10, 10, 10, 0.58);
+ --autofix-surface: #fff;
+ --autofix-border: rgba(10, 10, 10, 0.075);
+ --autofix-logo-surface: #fff;
+ --autofix-logo-border: rgba(10, 10, 10, 0.1);
+ --autofix-vercel-filter: none;
+ --autofix-tooltip-surface: #171717;
+ --autofix-tooltip-border: rgba(255, 255, 255, 0.12);
+ --autofix-tooltip-text: #fff;
+}
+
+[data-theme="dark"] .cloud .cta {
+ background: var(--home-surface-raised);
+ border-color: rgba(0, 0, 0, 0.08);
+ box-shadow: var(--home-bevel);
+ color: #0a0a0a;
+ --bevel-badge-bg: #0a0a0a;
+ --bevel-badge-fg: #fff;
+}
+
+@media (max-width: 900px) {
+ .banner {
+ grid-template-columns: minmax(0, 1fr);
+ min-height: 0;
+ border-radius: 18px;
+ }
+
+ .copy {
+ padding: 1.375rem;
+ }
+
+ .title {
+ max-width: none;
+ font-size: 18px;
+ font-weight: 500;
+ line-height: 1.25;
+ letter-spacing: -0.01em;
+ }
+
+ .providerLine {
+ justify-content: flex-start;
+ }
+
+ .description {
+ margin-top: 8px;
+ font-size: 14px;
+ line-height: 21px;
+ }
+
+ .visual {
+ min-height: 8.5rem;
+ }
+
+ .illustrationImage {
+ right: auto;
+ left: 0;
+ width: max(100%, 26rem);
+ }
+}
+
+@media (max-width: 767px) {
+ .section {
+ margin-block: 4rem;
+ }
+
+ .section:not(.cloud) {
+ margin-top: 1.5rem;
+ margin-bottom: 6rem;
+ }
+}
+
+@media (max-width: 420px) {
+ .providerLine {
+ flex-direction: column;
+ align-items: flex-start;
+ gap: 0.625rem;
+ white-space: normal;
+ }
+
+ .providerStack {
+ order: -1;
+ padding-right: 0;
+ }
+}
diff --git a/docs/app/(home)/sections/AutofixSection/AutofixSection.tsx b/docs/app/(home)/sections/AutofixSection/AutofixSection.tsx
new file mode 100644
index 000000000..5f97fc4b4
--- /dev/null
+++ b/docs/app/(home)/sections/AutofixSection/AutofixSection.tsx
@@ -0,0 +1,112 @@
+import { ArrowRight } from "@phosphor-icons/react/dist/ssr";
+import Image from "next/image";
+import { BevelButton } from "../../components/Button/BevelButton";
+import styles from "./AutofixSection.module.css";
+
+const PROVIDERS = [
+ {
+ name: "OpenRouter",
+ icon: "/brand-icons/openrouter-glyph.svg",
+ darkIcon: "/brand-icons/openrouter-glyph-dark.svg",
+ markClass: styles.openRouterMark,
+ },
+ { name: "Microsoft Azure", icon: "/brand-icons/azure.svg", markClass: styles.azureMark },
+ { name: "Amazon Bedrock", icon: "/brand-icons/bedrock.svg", markClass: styles.bedrockMark },
+ {
+ name: "Vercel AI Gateway",
+ icon: "/brand-icons/vercel.svg",
+ markClass: styles.vercelMark,
+ },
+] as const;
+
+export function AutofixSection({
+ tone = "page",
+ headingLevel = "h2",
+}: {
+ tone?: "page" | "cloud";
+ headingLevel?: "h2" | "h3";
+}) {
+ const Heading = headingLevel;
+
+ return (
+ <section className={`${styles.section} ${tone === "cloud" ? styles.cloud : ""}`.trim()}>
+ <div className={styles.banner}>
+ <div className={styles.copy}>
+ <Heading className={styles.title}>
+ <span className={styles.providerLine}>
+ <span>Keep your existing model provider,</span>
+ <span
+ className={styles.providerStack}
+ aria-label="Works with leading model providers and AI gateways"
+ >
+ {PROVIDERS.map((provider) => (
+ <span
+ className={styles.providerLogo}
+ key={provider.name}
+ data-tooltip={provider.name}
+ aria-label={provider.name}
+ tabIndex={0}
+ >
+ <Image
+ className={`${provider.markClass} ${"darkIcon" in provider ? styles.providerLogoLight : ""}`.trim()}
+ src={provider.icon}
+ alt=""
+ width={18}
+ height={18}
+ />
+ {"darkIcon" in provider ? (
+ <Image
+ className={`${provider.markClass} ${styles.providerLogoDark}`}
+ src={provider.darkIcon}
+ alt=""
+ width={18}
+ height={18}
+ />
+ ) : null}
+ </span>
+ ))}
+ </span>
+ </span>
+ <span className={styles.titleLine}>Add reliability with Autofix.</span>
+ </Heading>
+ <p className={styles.description}>
+ Keep your existing model calls, direct or through AI gateways. Add one Autofix API call
+ to repair invalid generations before users see them.
+ </p>
+ <BevelButton
+ className={styles.cta}
+ variant="secondary"
+ href="/docs/gateway/api/autofix"
+ label="View docs"
+ badge={<ArrowRight size={16} weight="bold" />}
+ />
+ </div>
+
+ <div
+ className={styles.visual}
+ role="img"
+ aria-label="Invalid generated output corrected into valid UI by Autofix"
+ >
+ <div className={styles.illustration} aria-hidden="true">
+ <Image
+ className={`${styles.illustrationImage} ${styles.illustrationImageLight}`}
+ src="/images/gateway/autofix-illustration-light.webp"
+ alt=""
+ width={1940}
+ height={636}
+ unoptimized
+ />
+ <Image
+ className={`${styles.illustrationImage} ${styles.illustrationImageDark}`}
+ src="/images/gateway/autofix-illustration-dark.webp"
+ alt=""
+ width={1940}
+ height={636}
+ unoptimized
+ />
+ </div>
+ </div>
+ </div>
+ </section>
+ );
+}
diff --git a/docs/app/(home)/sections/CloudBanner/CloudBanner.module.css b/docs/app/(home)/sections/CloudBanner/CloudBanner.module.css
index 0036d39b3..575c911a2 100644
--- a/docs/app/(home)/sections/CloudBanner/CloudBanner.module.css
+++ b/docs/app/(home)/sections/CloudBanner/CloudBanner.module.css
@@ -1,4 +1,4 @@
-/* Floating announcement pill linking to the benchmarks page. Enter and exit are
+/* Floating announcement pill linking to the Gateway page. Enter and exit are
pure transitions, so the exit is the reverse of the entrance. */
.banner {
diff --git a/docs/app/(home)/sections/CloudBanner/CloudBanner.tsx b/docs/app/(home)/sections/CloudBanner/CloudBanner.tsx
index f1e79dcf0..f950f6a8a 100644
--- a/docs/app/(home)/sections/CloudBanner/CloudBanner.tsx
+++ b/docs/app/(home)/sections/CloudBanner/CloudBanner.tsx
@@ -54,17 +54,17 @@ export function CloudBanner() {
return (
<Link
- href="/benchmarks"
+ href="/cloud/gateway"
className={`${styles.banner} ${open ? styles.open : ""}`.trim()}
- aria-label="OpenUI Benchmarks: Compare Generative UI frameworks across models. View the results."
+ aria-label="OpenUI Gateway: Catch and fix invalid output before users see it."
>
<span className={styles.content}>
<span className={styles.text}>
<span className={styles.lead}>
- OpenUI Benchmarks
- <span className={styles.colon}> :</span>
+ OpenUI Gateway
+ <span className={styles.colon}>:</span>
</span>{" "}
- <span className={styles.rest}>Compare Generative UI frameworks across models</span>
+ <span className={styles.rest}>Catch and fix invalid output before users see it</span>
</span>
<ArrowRight className={styles.chevron} size={18} strokeWidth={2.25} aria-hidden="true" />
</span>
diff --git a/docs/app/(home)/sections/CloudSection/CloudSection.module.css b/docs/app/(home)/sections/CloudSection/CloudSection.module.css
index 30a62424f..72c23956d 100644
--- a/docs/app/(home)/sections/CloudSection/CloudSection.module.css
+++ b/docs/app/(home)/sections/CloudSection/CloudSection.module.css
@@ -12,7 +12,7 @@
box-sizing: border-box;
max-width: var(--home-container-max);
margin-inline: auto;
- padding-inline: clamp(1.25rem, 4vw, 2.5rem);
+ padding-inline: var(--home-container-gutter);
}
@keyframes cloudMarquee {
@@ -24,9 +24,7 @@
}
}
-/* Closing contact CTA below the ticker. */
-/* The two product bands. Only the space between them lives here; .header's
- bottom margin and .contact's top margin bound the group. */
+/* The Gateway product band. Observability carries its own composition below it. */
.products {
display: flex;
flex-direction: column;
diff --git a/docs/app/(home)/sections/FaqSection/FaqSection.module.css b/docs/app/(home)/sections/FaqSection/FaqSection.module.css
index f03745e5d..30bddf6b6 100644
--- a/docs/app/(home)/sections/FaqSection/FaqSection.module.css
+++ b/docs/app/(home)/sections/FaqSection/FaqSection.module.css
@@ -12,9 +12,11 @@
/* On top of the content shell's own gap: the FAQ closes the page and wants
more separation from the wall of tweets above it. */
margin-top: clamp(3rem, 6vw, 5.5rem);
+ box-sizing: border-box;
width: 100%;
max-width: var(--home-container-max);
margin-inline: auto;
+ padding-inline: var(--home-container-gutter);
color: var(--faq-text);
}
diff --git a/docs/app/(home)/sections/ProductIllustrations/ProductIllustrations.module.css b/docs/app/(home)/sections/ProductIllustrations/ProductIllustrations.module.css
index 3762376ee..dcd533cf3 100644
--- a/docs/app/(home)/sections/ProductIllustrations/ProductIllustrations.module.css
+++ b/docs/app/(home)/sections/ProductIllustrations/ProductIllustrations.module.css
@@ -1709,6 +1709,14 @@
object-position: center;
}
+.reliabilityDashboardWide {
+ display: contents;
+}
+
+.reliabilityDashboardCompact {
+ display: none;
+}
+
.reliabilityDashboardImageDark {
display: none;
}
@@ -1745,11 +1753,21 @@
display: none;
}
+@media (max-width: 767px) {
+ .reliabilityDashboardWide {
+ display: none;
+ }
+
+ .reliabilityDashboardCompact {
+ display: contents;
+ }
+}
+
/* -------------------------------------------------------------------------- */
/* Gateway hero: whole model responses are checked, fixed, and delivered. */
/* -------------------------------------------------------------------------- */
.responseFlowHero {
- --response-canvas: #f5f5f5;
+ --response-canvas: #f8f8f8;
--response-text: var(--ps-text, var(--openui-text-neutral-primary));
--response-muted: var(--ps-muted, var(--openui-text-neutral-secondary));
--response-border: color-mix(in srgb, var(--response-text) 11%, transparent);
@@ -1759,6 +1777,7 @@
--response-error: #ff5159;
--response-reference: #ff8851;
--response-type: var(--response-error);
+ --response-truncation: #b68cff;
--response-chip: #fff;
position: relative;
@@ -1776,7 +1795,7 @@
:global(.dark) .responseFlowHero,
:global([data-theme="dark"]) .responseFlowHero {
- --response-canvas: #151515;
+ --response-canvas: #0e0e0e;
--response-chip: #202020;
}
@@ -1851,6 +1870,10 @@
color: var(--response-type);
}
+.incomingResponse[data-tone="truncation"] {
+ color: var(--response-truncation);
+}
+
.modelSources {
position: absolute;
z-index: 2;
@@ -1875,10 +1898,18 @@
font-size: 11px;
font-weight: 500;
line-height: 1;
+ transition:
+ opacity 320ms ease,
+ filter 320ms ease;
transform: translateY(-50%);
white-space: nowrap;
}
+.modelSource[data-switching="true"] {
+ opacity: 0.18;
+ filter: blur(7px);
+}
+
.modelSource:nth-child(1) {
top: 18.46%;
}
@@ -1895,11 +1926,24 @@
top: 66.15%;
}
-.modelSource:nth-child(5) {
- top: 81.54%;
+.responseFlowHeroOpen .modelSource:nth-child(1) {
+ top: 20.96%;
+}
+
+.responseFlowHeroOpen .modelSource:nth-child(2) {
+ top: 40.38%;
+}
+
+.responseFlowHeroOpen .modelSource:nth-child(3) {
+ top: 59.62%;
+}
+
+.responseFlowHeroOpen .modelSource:nth-child(4) {
+ top: 79.04%;
}
.modelSourceIcon {
+ position: relative;
display: grid;
width: 24px;
height: 24px;
@@ -1922,125 +1966,97 @@
height: 20px;
}
-.modelSource[data-provider="anthropic"] .modelSourceIcon {
- background: #d4a574;
-}
-
.modelSource[data-provider="meta"] .modelSourceIcon {
- background: #4c7cf3;
-}
-
-.modelSource[data-provider="meta"] .modelSourceIcon img,
-.modelSource[data-provider="xai"] .modelSourceIcon img {
- filter: invert(1);
+ background: #fff;
}
+.modelSource[data-provider="deepseek"] .modelSourceIcon img,
+.modelSource[data-provider="qwen"] .modelSourceIcon img,
+.modelSource[data-provider="gemini"] .modelSourceIcon img,
.modelSource[data-provider="meta"] .modelSourceIcon img {
- width: 17px;
- height: 17px;
+ opacity: 0;
}
-.modelSource[data-provider="xai"] .modelSourceIcon img {
- width: 13px;
- height: 13px;
+.modelSource[data-provider="deepseek"] .modelSourceIcon::after,
+.modelSource[data-provider="qwen"] .modelSourceIcon::after,
+.modelSource[data-provider="gemini"] .modelSourceIcon::after,
+.modelSource[data-provider="meta"] .modelSourceIcon::after {
+ position: absolute;
+ inset: 5px;
+ background: currentColor;
+ content: "";
+ mask-position: center;
+ mask-repeat: no-repeat;
+ mask-size: contain;
}
-.modelSource[data-provider="xai"] .modelSourceIcon {
- background: #0a0a0a;
+.modelSource[data-provider="deepseek"] .modelSourceIcon::after {
+ color: #4d6bfe;
+ mask-image: url("/brand-icons/deepseek.svg");
}
-.responseFlowHeroOpen .modelSource:nth-child(1) {
- top: 11.15%;
+.modelSource[data-provider="qwen"] .modelSourceIcon::after {
+ color: #2f54eb;
+ mask-image: url("/brand-icons/qwen.svg");
}
-.responseFlowHeroOpen .modelSource:nth-child(2) {
- top: 30.58%;
+.modelSource[data-provider="gemini"] .modelSourceIcon::after {
+ background: url("https://www.gstatic.com/lamda/images/gemini_sparkle_aurora_33f86dc0c0257da337c63.svg") center / contain no-repeat;
+ mask-image: none;
}
-.responseFlowHeroOpen .modelSource:nth-child(3) {
- top: 50%;
+.modelSource[data-provider="meta"] .modelSourceIcon::after {
+ inset: 3.5px;
+ color: #0867df;
+ mask-image: url("/brand-icons/meta.svg");
}
-.responseFlowHeroOpen .modelSource:nth-child(4) {
- top: 69.42%;
+.modelSource[data-provider="meta"] .modelSourceIcon img {
+ width: 17px;
+ height: 17px;
}
-.responseFlowHeroOpen .modelSource:nth-child(5) {
- top: 88.85%;
+.modelSource[data-provider="xai"] .modelSourceIcon img {
+ width: 13px;
+ height: 13px;
+ filter: invert(1);
}
-.responseLegend {
- position: absolute;
- z-index: 2;
- bottom: 22px;
- left: 22px;
- display: flex;
- flex-wrap: wrap;
- align-items: center;
- gap: 7px 12px;
- max-width: 340px;
- padding: 8px 10px;
- border-radius: 10px;
- background: color-mix(in srgb, var(--response-canvas) 94%, transparent);
- text-align: left;
+.modelSource[data-provider="xai"] .modelSourceIcon {
+ background: #0a0a0a;
}
-.responseLegendItem {
- display: inline-flex;
- align-items: center;
- gap: 5px;
- color: var(--response-muted);
- font-family: var(--home-font-text);
- font-size: 10px;
- font-weight: 500;
- letter-spacing: 0;
- line-height: 1;
- white-space: nowrap;
+.modelSource[data-provider="kimi"] .modelSourceIcon {
+ background: #050505;
}
-.responseLegendItem > i {
- display: block;
- width: 8px;
- height: 8px;
- flex: none;
- background: currentColor;
+.modelSource[data-provider="kimi"] .modelSourceIcon img {
+ filter: invert(1);
}
-.responseLegendItem[data-tone="valid"] > i,
-.responseLegendItem[data-tone="type"] > i {
+.modelSource[data-provider="kimi"] .modelSourceIcon::after {
+ position: absolute;
+ top: 4px;
+ right: 4px;
+ width: 4px;
+ height: 4px;
border-radius: 50%;
-}
-
-.responseLegendItem[data-tone="valid"] > i {
- background: var(--response-valid);
-}
-
-.responseLegendItem[data-tone="root"] > i {
- background: var(--response-error);
- clip-path: polygon(50% 0, 100% 100%, 0 100%);
-}
-
-.responseLegendItem[data-tone="reference"] > i {
- border-radius: 2px;
- background: var(--response-reference);
-}
-
-.responseLegendItem[data-tone="type"] > i {
- background: var(--response-type);
+ background: #4e7bff;
+ content: "";
}
.responseGatewayNode {
position: absolute;
z-index: 4;
- top: 34.6%;
- left: 28%;
+ top: 50%;
+ left: 21.95%;
display: flex;
- width: 20.55%;
- min-width: 228px;
- height: 30.8%;
- min-height: 160px;
+ width: clamp(270px, 25.3%, 324px);
+ min-width: 270px;
+ height: auto;
+ min-height: 0;
flex-direction: column;
- gap: 4px;
+ gap: 6px;
padding: 6px;
overflow: hidden;
border: 1px solid #303030;
@@ -2050,6 +2066,7 @@
0 20px 50px rgba(0, 0, 0, 0.2),
0 0 0 1px color-mix(in srgb, var(--response-text) 5%, transparent);
color: #fff;
+ transform: translateY(-50%);
}
.gatewayHeader {
@@ -2066,34 +2083,61 @@
white-space: nowrap;
}
-.fixedCount {
+.responseCount {
display: flex;
align-items: center;
- gap: 4px;
+ gap: 0;
font-weight: 600;
}
-.fixedCount small {
+.responseCount .animatedNumber {
+ color: #fff;
+ font: inherit;
+}
+
+.responseCount small {
color: rgba(255, 255, 255, 0.62);
- font-size: 8px;
- letter-spacing: 0.08em;
+ font: inherit;
+ letter-spacing: inherit;
}
.gatewayMetrics {
display: grid;
- flex: 1;
- grid-template-rows: repeat(3, 1fr);
- padding: 7px 12px;
+ grid-template-rows: repeat(4, minmax(32px, auto)) minmax(28px, auto);
+ padding: 8px 12px;
border-radius: 7px 7px 14px 14px;
background: #1b1b1b;
}
+.gatewayMetricsFooter {
+ display: flex;
+ align-items: center;
+ justify-content: space-between;
+ padding: 6px 0;
+ border-top: 1px solid rgba(255, 255, 255, 0.07);
+ color: rgba(255, 255, 255, 0.5);
+ font-family: var(--home-font-mono);
+ font-size: 11px;
+ font-weight: 600;
+ letter-spacing: 0;
+ line-height: 14px;
+}
+
+.gatewayMetricsFooter > .animatedNumber {
+ color: #43ee98;
+ font-family: var(--home-font-text);
+ font-size: 11px;
+ font-weight: 500;
+ letter-spacing: 0;
+}
+
.gatewayMetric {
display: grid;
min-width: 0;
grid-template-columns: 16px minmax(0, 1fr) auto;
align-items: center;
gap: 9px;
+ padding: 8px 0;
color: #d5d5d5;
}
@@ -2125,95 +2169,129 @@
color: #d5d5d5;
}
-.gatewayMetric[data-tone="error"] > i,
-.gatewayMetric[data-tone="error"] > b {
+.gatewayMetric[data-tone="root"] > i,
+.gatewayMetric[data-tone="type"] > i,
+.gatewayMetric[data-tone="root"] > b,
+.gatewayMetric[data-tone="type"] > b {
color: var(--response-error);
}
+.gatewayMetric[data-tone="root"] > i {
+ border-radius: 0;
+ background: var(--response-error);
+ clip-path: none;
+}
+
+.gatewayMetric[data-tone="reference"] > i,
+.gatewayMetric[data-tone="reference"] > b {
+ color: var(--response-reference);
+}
+
+.gatewayMetric[data-tone="reference"] > i {
+ border-radius: 3px;
+ background: var(--response-reference);
+}
+
+.gatewayMetric[data-tone="type"] > i {
+ background: var(--response-error);
+}
+
+.gatewayMetric[data-tone="truncation"] > i,
+.gatewayMetric[data-tone="truncation"] > b {
+ color: #b68cff;
+}
+
+.gatewayMetric[data-tone="truncation"] > i {
+ border-radius: 3px;
+ background: #b68cff;
+ clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
+}
+
+.gatewayMetric[data-tone="root"] > i::before,
+.gatewayMetric[data-tone="reference"] > i::before,
+.gatewayMetric[data-tone="type"] > i::before,
+.gatewayMetric[data-tone="truncation"] > i::before {
+ display: none;
+}
+
+.gatewayMetric[data-tone="root"] > i,
+.gatewayMetric[data-tone="reference"] > i,
+.gatewayMetric[data-tone="type"] > i,
+.gatewayMetric[data-tone="truncation"] > i {
+ transform: scale(0.7);
+}
+
.gatewayMetric[data-tone="valid"] > i,
-.gatewayMetric[data-tone="valid"] > b,
-.gatewayMetric[data-tone="valid"] .slotViewport {
+.gatewayMetric[data-tone="valid"] > b {
color: #43ee98;
}
.gatewayMetric > span:nth-child(2) {
overflow: hidden;
font-family: var(--home-font-text);
- font-size: 9px;
+ font-size: 10px;
font-weight: 500;
- letter-spacing: 0.045em;
+ letter-spacing: 0;
text-overflow: ellipsis;
white-space: nowrap;
}
-.gatewayMetric > b {
+.gatewayMetric > .animatedNumber {
+ color: #fff !important;
font-family: var(--home-font-text);
font-size: 11px;
font-weight: 500;
}
-.slotViewport {
- display: inline-block;
- width: 3ch;
- height: 14px;
+.animatedNumber {
+ display: inline-flex;
overflow: hidden;
- color: inherit;
- font-family: var(--home-font-mono);
- font-size: 11px;
- line-height: 14px;
- text-align: right;
- vertical-align: bottom;
+ font-variant-numeric: tabular-nums;
}
-.slotTrack {
- display: flex;
- flex-direction: column;
- animation: gateway-slot-roll 6.6s steps(5, end) infinite;
- will-change: transform;
-}
-
-.slotTrack b {
- display: block;
- height: 14px;
- flex: 0 0 14px;
- font: inherit;
- line-height: 14px;
-}
-
-@keyframes gateway-slot-roll {
- 0%,
- 10% {
- transform: translateY(0);
- }
- 82%,
- 100% {
- transform: translateY(-70px);
- }
+.diagnosticDigit {
+ display: inline-block;
+ min-width: 0.56em;
+ text-align: center;
+ animation: diagnosticDigitStep 120ms cubic-bezier(0.2, 0, 0, 1);
}
.renderedInterface {
position: absolute;
z-index: 3;
- top: 10%;
- left: 58.5%;
+ top: 50%;
+ right: 3.6%;
+ left: auto;
display: block;
width: 39%;
height: auto;
aspect-ratio: 1716 / 1367;
padding: 0;
overflow: hidden;
- border: 0;
+ border: 1px solid var(--response-border);
border-radius: 24px;
- background: transparent;
+ background: var(--response-panel);
box-shadow: none;
+ transform: translateY(-50%);
}
.responseFlowHeroOpen .renderedInterface {
- top: 4%;
- left: 57.5%;
+ top: 50%;
+ right: 3.6%;
+ left: auto;
width: 42%;
}
+@keyframes diagnosticDigitStep {
+ from {
+ transform: translateY(22%);
+ }
+
+ to {
+ transform: translateY(0);
+ }
+}
+
.renderedInterface img {
display: block;
width: calc(100% + 6px);
@@ -2403,28 +2481,29 @@
}
.modelSources {
- top: 72px;
+ top: 44px;
right: 12px;
bottom: auto;
left: 12px;
display: grid;
- grid-template-columns: repeat(5, minmax(0, 1fr));
- gap: 5px;
+ grid-template-columns: repeat(4, max-content);
+ justify-content: space-between;
+ gap: 4px;
}
.modelSource {
position: static;
- width: 100%;
- max-width: 60px;
+ width: max-content;
+ max-width: none;
min-width: 0;
- height: 64px;
+ height: 34px;
justify-self: center;
- flex-direction: column;
justify-content: center;
- gap: 4px;
- padding: 5px 2px 6px;
- border-radius: 4px;
- font-size: 8px;
+ gap: 5px;
+ padding: 5px 8px 5px 5px;
+ border-radius: 999px;
+ box-shadow: 0 6px 18px color-mix(in srgb, var(--response-text) 7%, transparent);
+ font-size: 8.5px;
transform: none;
}
@@ -2449,110 +2528,99 @@
height: 16px;
}
- .responseLegend {
- top: 18px;
- bottom: auto;
- left: 50%;
- width: max-content;
- max-width: calc(100% - 24px);
- justify-content: center;
- transform: translateX(-50%);
- }
-
- .responseLegendItem {
- font-size: 11px;
- }
-
- .responseLegendItem > i {
- width: 9px;
- height: 9px;
- }
-
.responseGatewayNode {
- top: 34%;
- left: 18%;
- width: 64%;
+ top: 22%;
+ left: 12%;
+ width: 76%;
min-width: 0;
- height: 22%;
+ height: auto;
min-height: 0;
border-radius: 16px;
+ transform: none;
}
.renderedInterface {
- top: 62%;
+ top: auto;
+ right: auto;
+ bottom: 24px;
left: 8%;
width: 84%;
- height: 38%;
+ height: auto;
border-radius: 18px;
+ transform: none;
}
.responseFlowHeroOpen .renderedInterface {
- top: 62%;
+ top: auto;
+ right: auto;
+ bottom: 24px;
left: 8%;
width: 84%;
}
}
@media (max-width: 767px) {
- .responseLegend {
- top: 18px;
- bottom: auto;
- left: 50%;
- gap: 6px 10px;
- max-width: calc(100% - 24px);
- padding: 6px 8px;
- border-radius: 4px;
- }
-
- .responseLegendItem {
- font-size: 10px;
+ .modelSources {
+ top: 12px;
}
- .responseLegendItem > i {
- width: 8px;
- height: 8px;
+ .gatewayPathsMobile {
+ transform: translateY(-32px);
}
.responseGatewayNode {
- top: 34%;
- left: 18%;
- width: 64%;
+ top: calc(22% - 32px);
+ left: 10%;
+ width: 80%;
min-width: 0;
- height: 22%;
+ height: auto;
min-height: 0;
- gap: 2px;
- padding: 4px;
- border-radius: 11px;
+ gap: 5px;
+ padding: 6px;
+ border-radius: 16px;
}
.gatewayHeader {
- min-height: 22px;
- padding: 4px;
- font-size: 8px;
- line-height: 10px;
+ min-height: 30px;
+ padding: 6px 7px;
+ font-size: 10px;
+ line-height: 12px;
}
- .fixedCount {
- gap: 2px;
+ .responseCount {
+ gap: 0;
}
- .fixedCount small {
- font-size: 5px;
+ .responseCount small {
+ font-size: inherit;
}
.gatewayMetrics {
- padding: 3px 5px;
- border-radius: 5px 5px 8px 8px;
+ grid-template-rows: repeat(4, 30px) 26px;
+ padding: 6px 10px;
+ border-radius: 7px 7px 11px 11px;
+ }
+
+ .gatewayMetricsFooter {
+ min-height: 26px;
+ padding: 5px 0 3px;
+ font-size: 8px;
+ line-height: 10px;
+ }
+
+ .gatewayMetricsFooter > .animatedNumber {
+ font-size: 10px;
}
.gatewayMetric {
- grid-template-columns: 11px minmax(0, 1fr) auto;
- gap: 4px;
+ grid-template-columns: 14px minmax(0, 1fr) auto;
+ gap: 7px;
+ padding: 6px 0;
}
.gatewayMetric > i {
- width: 11px;
- height: 11px;
+ width: 14px;
+ height: 14px;
}
.gatewayMetric > i::before {
@@ -2564,42 +2632,27 @@
}
.gatewayMetric > span:nth-child(2) {
- font-size: 6.5px;
- }
-
- .gatewayMetric > b {
- font-size: 8px;
+ font-size: 8.5px;
}
- .slotViewport,
- .slotTrack b {
- height: 10px;
- flex-basis: 10px;
- font-size: 8px;
- line-height: 10px;
- }
-
- @keyframes gateway-slot-roll {
- 0%,
- 10% {
- transform: translateY(0);
- }
- 82%,
- 100% {
- transform: translateY(-50px);
- }
+ .gatewayMetric > .animatedNumber {
+ font-size: 10px;
}
.renderedInterface {
- top: 62%;
+ top: auto;
+ right: auto;
+ bottom: 24px;
left: 6%;
width: 88%;
- height: 38%;
+ height: auto;
border-radius: 12px;
}
.responseFlowHeroOpen .renderedInterface {
- top: 62%;
+ top: auto;
+ right: auto;
+ bottom: 24px;
left: 6%;
width: 88%;
}
@@ -2678,6 +2731,12 @@
animation: none;
transform: translateY(-70px);
}
+
+ .modelSource,
+ .diagnosticDigit {
+ animation: none;
+ transition: none;
+ }
}
@media (max-width: 767px) and (prefers-reduced-motion: reduce) {
diff --git a/docs/app/(home)/sections/ProductIllustrations/ProductIllustrations.tsx b/docs/app/(home)/sections/ProductIllustrations/ProductIllustrations.tsx
index b450cf33c..ef6308cf7 100644
--- a/docs/app/(home)/sections/ProductIllustrations/ProductIllustrations.tsx
+++ b/docs/app/(home)/sections/ProductIllustrations/ProductIllustrations.tsx
@@ -1,4 +1,8 @@
+"use client";
+
+import { failureTaxonomy } from "@/lib/benchmark-data";
import Image from "next/image";
+import { useEffect, useState } from "react";
import styles from "./ProductIllustrations.module.css";
export { OpenSourceIllustration } from "./OpenSourceIllustration";
@@ -16,28 +20,53 @@ export function GatewayReliabilityDashboardIllustration({
inverted ? styles.reliabilityDashboardIllustrationInverted : ""
}`.trim()}
>
- <Image
- className={`${styles.reliabilityDashboardImage} ${styles.reliabilityDashboardImageLight}`}
- src="/images/gateway/[email protected]"
- alt={alt}
- width={3360}
- height={1320}
- unoptimized
- />
- <Image
- className={`${styles.reliabilityDashboardImage} ${styles.reliabilityDashboardImageDark}`}
- src="/images/gateway/[email protected]"
- alt=""
- aria-hidden="true"
- width={3360}
- height={1320}
- unoptimized
- />
+ <span className={styles.reliabilityDashboardWide}>
+ <Image
+ className={`${styles.reliabilityDashboardImage} ${styles.reliabilityDashboardImageLight}`}
+ src="/homepage/gateway-light.webp"
+ alt={alt}
+ width={2240}
+ height={880}
+ quality={95}
+ sizes="(max-width: 1023px) calc(100vw - 64px), 1120px"
+ />
+ <Image
+ className={`${styles.reliabilityDashboardImage} ${styles.reliabilityDashboardImageDark}`}
+ src="/homepage/gateway-dark.webp"
+ alt=""
+ aria-hidden="true"
+ width={2240}
+ height={880}
+ quality={95}
+ sizes="(max-width: 1023px) calc(100vw - 64px), 1120px"
+ />
+ </span>
+ <span className={styles.reliabilityDashboardCompact}>
+ <Image
+ className={`${styles.reliabilityDashboardImage} ${styles.reliabilityDashboardImageLight}`}
+ src="/homepage/gateway-mobile-light.webp"
+ alt={alt}
+ width={1440}
+ height={1200}
+ quality={95}
+ sizes="calc(100vw - 32px)"
+ />
+ <Image
+ className={`${styles.reliabilityDashboardImage} ${styles.reliabilityDashboardImageDark}`}
+ src="/homepage/gateway-mobile-dark.webp"
+ alt=""
+ aria-hidden="true"
+ width={1440}
+ height={1200}
+ quality={95}
+ sizes="calc(100vw - 32px)"
+ />
+ </span>
</div>
);
}
-type ResponseTone = "valid" | "root" | "reference" | "type";
+type ResponseTone = "valid" | "root" | "reference" | "type" | "truncation";
const responseLanes = [
{
@@ -50,24 +79,18 @@ const responseLanes = [
{
path: "M 83 344 H 170 C 204 344 210 332 228 314 S 256 294 284 294 H 304 C 330 294 348 282 405 280",
},
- {
- path: "M 75 424 H 164 C 196 424 204 414 220 392 S 248 360 276 360 H 296 C 322 360 324 330 344 316 S 388 302 405 300",
- },
] as const;
const openResponseLanes = [
{
- path: "M 96 58 H 174 C 204 58 210 84 228 112 S 258 154 286 154 H 304 C 330 154 344 202 405 222",
- },
- {
- path: "M 111 159 H 174 C 206 159 214 178 232 198 S 260 224 288 224 H 306 C 332 224 350 238 405 242",
+ path: "M 96 109 H 174 C 204 109 210 134 228 164 S 258 198 286 198 H 304 C 330 198 344 216 405 222",
},
- { path: "M 97 260 H 190 C 224 260 230 244 256 244 H 286 C 312 244 338 260 405 260" },
{
- path: "M 83 361 H 174 C 206 361 214 342 232 322 S 260 296 288 296 H 306 C 332 296 350 282 405 280",
+ path: "M 111 210 H 174 C 206 210 214 220 232 232 S 260 246 288 246 H 306 C 332 246 350 246 405 246",
},
+ { path: "M 97 310 H 174 C 206 310 214 300 232 288 S 260 274 288 274 H 306 C 332 274 350 274 405 274" },
{
- path: "M 75 462 H 174 C 204 462 210 436 228 408 S 258 366 286 366 H 304 C 330 366 344 318 405 300",
+ path: "M 83 411 H 174 C 204 411 210 386 228 356 S 258 322 286 322 H 304 C 330 322 344 304 405 298",
},
] as const;
@@ -83,20 +106,22 @@ const responseModels = [
{ name: "Gemini", provider: "gemini", src: "/brand-icons/gemini.svg" },
{ name: "Meta", provider: "meta", src: "/brand-icons/meta.svg" },
{ name: "xAI", provider: "xai", src: "/brand-icons/xai.svg" },
+ { name: "DeepSeek", provider: "deepseek", src: "/brand-icons/deepseek.svg" },
+ { name: "Qwen", provider: "qwen", src: "/brand-icons/qwen.svg" },
+ { name: "Kimi", provider: "kimi", src: "/brand-icons/kimi.svg" },
] as const;
const mobileResponseLanes = [
- { path: "M 42 130 V 150 C 42 180 76 184 76 208 C 76 228 116 236 154 248" },
- { path: "M 116 130 V 165 C 116 192 142 198 142 220 C 142 234 166 240 176 248" },
- { path: "M 195 130 V 248" },
- { path: "M 274 130 V 165 C 274 192 248 198 248 220 C 248 234 224 240 214 248" },
- { path: "M 348 130 V 150 C 348 180 314 184 314 208 C 314 228 274 236 236 248" },
+ { path: "M 58 84 C 58 120 72 128 100 140 S 130 160 164 168" },
+ { path: "M 161 84 C 161 116 168 138 180 168" },
+ { path: "M 261 84 C 261 116 244 138 210 168" },
+ { path: "M 348 84 C 348 120 326 128 296 140 S 260 160 226 168" },
] as const;
const mobileValidatedLanes = [
- { path: "M 160 397 V 420 C 160 442 128 444 128 468 V 720" },
- { path: "M 195 397 V 720" },
- { path: "M 230 397 V 420 C 230 442 262 444 262 468 V 720" },
+ { path: "M 160 380 C 160 402 150 410 140 418 S 128 434 128 448 V 520" },
+ { path: "M 195 380 C 195 404 195 424 195 448 V 520" },
+ { path: "M 230 380 C 230 402 240 410 250 418 S 262 434 262 448 V 520" },
] as const;
const incomingResponses: Array<{ lane: number; delay: number; tone: ResponseTone }> = [
@@ -112,74 +137,145 @@ const incomingResponses: Array<{ lane: number; delay: number; tone: ResponseTone
{ lane: 3, delay: -2, tone: "valid" },
{ lane: 3, delay: -4.2, tone: "reference" },
{ lane: 3, delay: -6.4, tone: "valid" },
- { lane: 4, delay: -0.5, tone: "valid" },
- { lane: 4, delay: -2.7, tone: "root" },
- { lane: 4, delay: -4.9, tone: "valid" },
];
+type FailureTone = Exclude<ResponseTone, "valid">;
+
+const failureTones: FailureTone[] = ["root", "reference", "type", "truncation"];
+
+// Smooth weighted round-robin keeps the animated counters close to the
+// observed 44 / 36 / 16 / 4 production split at every point in the cycle,
+// instead of bunching the rare categories together.
+const responseFailureSequence = (() => {
+ const scores = failureTones.map(() => 0);
+
+ return Array.from({ length: 25 }, () => {
+ failureTaxonomy.forEach((entry, index) => {
+ scores[index] += entry.share;
+ });
+ const selectedIndex = scores.indexOf(Math.max(...scores));
+ scores[selectedIndex] -= 100;
+ return failureTones[selectedIndex];
+ });
+})();
+
+const initialDiagnostics = {
+ checked: 147,
+ root: 5,
+ reference: 4,
+ type: 2,
+ truncation: 1,
+};
+
const validatedResponses = incomingResponses.map((_, index) => ({
lane: index % validatedLanes.length,
delay: -index * 0.44,
}));
-const slotValues = {
- fixed: ["08", "09", "10", "11", "12", "13"],
- checked: ["143", "144", "145", "146", "147", "148"],
- delivered: ["143", "144", "145", "146", "147", "148"],
-};
-
function GatewayReliabilityFlow({ openCanvas = false }: { openCanvas?: boolean }) {
+ const [visibleModelIndexes, setVisibleModelIndexes] = useState([0, 1, 2, 3]);
+ const [switchingSlot, setSwitchingSlot] = useState<number | null>(null);
+ const [diagnostics, setDiagnostics] = useState(initialDiagnostics);
+
+ useEffect(() => {
+ if (window.matchMedia("(prefers-reduced-motion: reduce)").matches) return;
+
+ let failureIndex = 0;
+ const counterTimer = window.setInterval(() => {
+ setDiagnostics((current) => {
+ if (current.checked >= 1000) {
+ failureIndex = 0;
+ return initialDiagnostics;
+ }
+
+ const checked = current.checked + 1;
+
+ // Roughly 7% of checked generations enter the failure breakdown.
+ if (checked % 14 !== 0) return { ...current, checked };
+
+ const tone = responseFailureSequence[failureIndex % responseFailureSequence.length];
+ failureIndex += 1;
+ return { ...current, checked, [tone]: current[tone] + 1 };
+ });
+ }, 550);
+
+ return () => window.clearInterval(counterTimer);
+ }, []);
+
+ useEffect(() => {
+ if (window.matchMedia("(prefers-reduced-motion: reduce)").matches) return;
+
+ let slot = 0;
+ let nextModel = 4;
+ let swapTimer: number | undefined;
+ const rotationTimer = window.setInterval(() => {
+ const activeSlot = slot;
+ const replacement = nextModel;
+ setSwitchingSlot(activeSlot);
+ swapTimer = window.setTimeout(() => {
+ setVisibleModelIndexes((current) =>
+ current.map((modelIndex, index) => (index === activeSlot ? replacement : modelIndex)),
+ );
+ setSwitchingSlot(null);
+ }, 320);
+ slot = (slot + 1) % 4;
+ nextModel = (nextModel + 1) % responseModels.length;
+ }, 4800);
+
+ return () => {
+ window.clearInterval(rotationTimer);
+ if (swapTimer) window.clearTimeout(swapTimer);
+ };
+ }, []);
+
+ const totalFixed =
+ diagnostics.root + diagnostics.reference + diagnostics.type + diagnostics.truncation;
+
return (
<div
className={`${styles.responseFlowHero} ${openCanvas ? styles.responseFlowHeroOpen : ""}`.trim()}
role="img"
- aria-label="Model output streams fifteen complete responses through OpenUI Gateway. Gateway checks every response, fixes four kinds of output errors, and delivers the same fifteen valid responses to a rendered analytics interface."
+ aria-label="Model output streams through OpenUI Gateway. Gateway checks every response, shows fixes across no valid root, reference graph, enum, type and argument, and truncation errors, then delivers valid output to a rendered analytics interface."
>
<ResponsePaths openCanvas={openCanvas} />
<ResponsePaths mobile />
<div className={styles.modelSources} aria-hidden="true">
- {responseModels.map((model) => (
- <div className={styles.modelSource} data-provider={model.provider} key={model.name}>
- <span className={styles.modelSourceIcon}>
- <Image src={model.src} alt="" width={14} height={14} />
- </span>
- <span>{model.name}</span>
- </div>
- ))}
- </div>
-
- <div className={styles.responseLegend} aria-hidden="true">
- <span className={styles.responseLegendItem} data-tone="valid">
- <i />
- <span>Valid</span>
- </span>
- <span className={styles.responseLegendItem} data-tone="root">
- <i />
- <span>No valid root</span>
- </span>
- <span className={styles.responseLegendItem} data-tone="reference">
- <i />
- <span>Reference</span>
- </span>
- <span className={styles.responseLegendItem} data-tone="type">
- <i />
- <span>Type / argument</span>
- </span>
+ {visibleModelIndexes.map((modelIndex, slot) => {
+ const model = responseModels[modelIndex];
+ return (
+ <div
+ className={styles.modelSource}
+ data-provider={model.provider}
+ data-switching={switchingSlot === slot ? "true" : undefined}
+ key={`model-slot-${slot}`}
+ >
+ <span className={styles.modelSourceIcon}>
+ <Image src={model.src} alt="" width={14} height={14} />
+ </span>
+ <span>{model.name}</span>
+ </div>
+ );
+ })}
</div>
<div className={styles.responseGatewayNode} aria-hidden="true">
<div className={styles.gatewayHeader}>
<span>OPENUI GATEWAY</span>
- <span className={styles.fixedCount}>
- <Slot values={slotValues.fixed} />
- <small>FIXED</small>
+ <span className={styles.responseCount}>
+ <small>CHECKED/</small>
+ <AnimatedNumber value={diagnostics.checked} />
</span>
</div>
<div className={styles.gatewayMetrics}>
- <GatewayMetric label="RESPONSES CHECKED" values={slotValues.checked} tone="neutral" />
- <GatewayMetric label="ERROR TYPES FIXED" value="4" tone="error" />
- <GatewayMetric label="RESPONSES DELIVERED" values={slotValues.delivered} tone="valid" />
+ <GatewayMetric label="No valid root" value={diagnostics.root} tone="root" />
+ <GatewayMetric label="Reference graph" value={diagnostics.reference} tone="reference" />
+ <GatewayMetric label="Enum, type & argument" value={diagnostics.type} tone="type" />
+ <GatewayMetric label="Truncation" value={diagnostics.truncation} tone="truncation" />
+ <div className={styles.gatewayMetricsFooter}>
+ <span>TOTAL RESPONSES FIXED</span>
+ <AnimatedNumber value={totalFixed} />
+ </div>
</div>
</div>
@@ -272,38 +368,38 @@ function ResponsePaths({
);
}
-function Slot({ values }: { values: string[] }) {
- return (
- <span className={styles.slotViewport}>
- <span className={styles.slotTrack}>
- {values.map((value) => (
- <b key={value}>{value}</b>
- ))}
- </span>
- </span>
- );
-}
-
function GatewayMetric({
label,
value,
- values,
tone,
}: {
label: string;
- value?: string;
- values?: string[];
- tone: "neutral" | "error" | "valid";
+ value?: string | number;
+ tone: "neutral" | "valid" | "root" | "reference" | "type" | "truncation";
}) {
return (
<div className={styles.gatewayMetric} data-tone={tone}>
<i />
<span>{label}</span>
- {values ? <Slot values={values} /> : <b>{value}</b>}
+ <AnimatedNumber value={value ?? ""} />
</div>
);
}
+function AnimatedNumber({ value }: { value: string | number }) {
+ return (
+ <span className={styles.animatedNumber} aria-label={String(value)}>
+ {String(value)
+ .split("")
+ .map((digit, index) => (
+ <span className={styles.diagnosticDigit} key={`${index}-${digit}`} aria-hidden="true">
+ {digit}
+ </span>
+ ))}
+ </span>
+ );
+}
+
function ResponseMarker({ tone }: { tone: ResponseTone }) {
if (tone === "root") {
return (
@@ -311,6 +407,7 @@ function ResponseMarker({ tone }: { tone: ResponseTone }) {
);
}
if (tone === "reference") return <rect x="-5" y="-5" width="10" height="10" rx="2" />;
+ if (tone === "truncation") return <path d="M 0 -6 L 6 0 L 0 6 L -6 0 Z" />;
if (tone === "type") return <circle r="5" />;
return <circle r="5" />;
}
diff --git a/docs/app/(home)/sections/ProductSection/ProductSection.module.css b/docs/app/(home)/sections/ProductSection/ProductSection.module.css
index fccdcd7ac..7809cb6e2 100644
--- a/docs/app/(home)/sections/ProductSection/ProductSection.module.css
+++ b/docs/app/(home)/sections/ProductSection/ProductSection.module.css
@@ -282,7 +282,8 @@
font-size: 18px;
font-weight: 500;
letter-spacing: -0.2px;
- line-height: normal;
+ line-height: 1.25;
+ text-wrap: balance;
}
.cardDescription {
diff --git a/docs/app/(home)/sections/TweetWallSection/TweetWallSection.module.css b/docs/app/(home)/sections/TweetWallSection/TweetWallSection.module.css
index 555e539d9..d5daf81d7 100644
--- a/docs/app/(home)/sections/TweetWallSection/TweetWallSection.module.css
+++ b/docs/app/(home)/sections/TweetWallSection/TweetWallSection.module.css
@@ -1,10 +1,10 @@
.section {
- width: min(100%, var(--home-container-wide));
+ width: min(100%, var(--home-container-max));
/* On top of the content shell's own gap: this follows the black Cloud band
and needs more room than a gap between two light sections. */
margin-top: clamp(3rem, 6vw, 5.5rem);
margin-inline: auto;
- padding-inline: 1.25rem;
+ padding-inline: var(--home-container-gutter);
box-sizing: border-box;
}
@@ -72,6 +72,6 @@
@media (min-width: 1024px) {
.section {
- padding-inline: 2rem;
+ padding-inline: var(--home-container-gutter);
}
}
diff --git a/docs/public/brand-icons/azure.svg b/docs/public/brand-icons/azure.svg
new file mode 100644
index 000000000..e1d065bb4
--- /dev/null
+++ b/docs/public/brand-icons/azure.svg
@@ -0,0 +1,12 @@
+<svg role="img" viewBox="0 0 256 242" xmlns="http://www.w3.org/2000/svg">
+ <title>Microsoft Azure</title>
+ <defs>
+ <linearGradient id="azure-a" x1="58.972%" x2="37.191%" y1="7.411%" y2="103.762%"><stop offset="0%" stop-color="#114a8b"/><stop offset="100%" stop-color="#0669bc"/></linearGradient>
+ <linearGradient id="azure-b" x1="59.719%" x2="52.691%" y1="52.313%" y2="54.864%"><stop offset="0%" stop-opacity=".3"/><stop offset="7.1%" stop-opacity=".2"/><stop offset="32.1%" stop-opacity=".1"/><stop offset="62.3%" stop-opacity=".05"/><stop offset="100%" stop-opacity="0"/></linearGradient>
+ <linearGradient id="azure-c" x1="37.279%" x2="62.473%" y1="4.6%" y2="99.979%"><stop offset="0%" stop-color="#3ccbf4"/><stop offset="100%" stop-color="#2892df"/></linearGradient>
+ </defs>
+ <path fill="url(#azure-a)" d="M85.343.003h75.753L82.457 233a12.08 12.08 0 0 1-11.442 8.216H12.06A12.06 12.06 0 0 1 .633 225.303L73.898 8.219A12.08 12.08 0 0 1 85.343 0z"/>
+ <path fill="#0078d4" d="M195.423 156.282H75.297a5.56 5.56 0 0 0-3.796 9.627l77.19 72.047a12.14 12.14 0 0 0 8.28 3.26h68.02z"/>
+ <path fill="url(#azure-b)" d="M85.343.003a11.98 11.98 0 0 0-11.471 8.376L.723 225.105a12.045 12.045 0 0 0 11.37 16.112h60.475a12.93 12.93 0 0 0 9.921-8.437l14.588-42.991l52.105 48.6a12.33 12.33 0 0 0 7.757 2.828h67.766l-29.721-84.935l-86.643.02L161.37.003z"/>
+ <path fill="url(#azure-c)" d="M182.098 8.207A12.06 12.06 0 0 0 170.67.003H86.245c5.175 0 9.773 3.301 11.428 8.204L170.94 225.3a12.062 12.062 0 0 1-11.428 15.92h84.429a12.062 12.062 0 0 0 11.425-15.92z"/>
+</svg>
diff --git a/docs/public/brand-icons/bedrock.svg b/docs/public/brand-icons/bedrock.svg
new file mode 100644
index 000000000..00f68bb2a
--- /dev/null
+++ b/docs/public/brand-icons/bedrock.svg
@@ -0,0 +1,5 @@
+<svg role="img" viewBox="0 0 40 40" xmlns="http://www.w3.org/2000/svg">
+ <title>Amazon Bedrock</title>
+ <rect width="40" height="40" fill="#01A88D"/>
+ <path fill="#fff" d="m16.516 32.933-2.223-1.27 3.431-1.716-.447-.894-4 2-.98-1.959L9 27.21v-3.401l3.724-1.862-.447-.894-3.741 1.87L6 21.232v-2.423l3.724-1.862-.447-.894L6 17.691v-2.924l2.523-1.681L12 15.038v3.153l-1.723.862.447.894L12.5 19.06l1.777.888.447-.894L13 18.191v-3.423l2.778-1.852A.5.5 0 0 0 16 12.5V9h-1v3.232l-2.722 1.815L9 12.207v-4.172l3-1.378V11h1V6.198l2.492-1.144L19 6.809v14.382l-7.723 3.862.447.894L19 22.309v6.882l-2.484 1.242V12.5h1v20.433Zm14.555-13.933C31.295 19.86 32.071 20.5 33 20.5c1.103 0 2-.897 2-2s-.897-2-2-2c-.929 0-1.705.64-1.929 1.5H22v-3h5.5a.5.5 0 0 0 .5-.5V9.929c.86-.224 1.5-1 1.5-1.929 0-1.103-.897-2-2-2s-2 .897-2 2c0 .929.64 1.705 1.5 1.929V12h-5V6.5a.5.5 0 0 0-.276-.447l-4-2a.5.5 0 0 0-.433-.008l-7 3.215A.5.5 0 0 0 10 7.714v4.518l-2.777 1.852A.5.5 0 0 0 7 14.5v7a.5.5 0 0 0 .223.416L10 23.768V27.5a.5.5 0 0 0 .252.434l7 4A.5.5 0 0 0 17.5 32a.5.5 0 0 0 .224-.053l4-2A.5.5 0 0 0 22 29.5V25h4v1.071c-.86.224-1.5 1-1.5 1.929 0 1.103.898 2 2 2s2-.897 2-2c0-.929-.64-1.705-1.5-1.929V24.5a.5.5 0 0 0-.5-.5H22v-3h6.293l1.491 1.49a2 2 0 1 0 .707-.707l-1.637-1.637A.5.5 0 0 0 28.5 20H22v-3h9.071Zm1.429-.5a.5.5 0 1 1 1 0 .5.5 0 0 1-1 0Zm-5.5-10a.5.5 0 1 1 1 0 .5.5 0 0 1-1 0Zm0 19.5a.5.5 0 1 1-1 0 .5.5 0 0 1 1 0Zm3-5.5a.5.5 0 1 1 1 0 .5.5 0 0 1-1 0Z"/>
+</svg>
diff --git a/docs/public/brand-icons/openrouter-glyph-dark.svg b/docs/public/brand-icons/openrouter-glyph-dark.svg
new file mode 100644
index 000000000..60d2b6fe0
--- /dev/null
+++ b/docs/public/brand-icons/openrouter-glyph-dark.svg
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<svg role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 401.4 293.7">
+ <title>OpenRouter</title>
+ <path fill="#C8FF00" d="M303.9475 17.19926c42.79734 0 77.48933 34.69327 77.48933 77.48933s-34.69199 77.48933-77.48933 77.48933l76.86166 76.86244c9.76367 9.76313 2.84903 26.45667-10.95697 26.45667H148.96884c-71.32686 0-129.14889-57.82202-129.14889-129.14889S77.64197 17.19926 148.96884 17.19926H303.9475ZM148.96884 68.85881c-42.79607 0-77.48933 34.69327-77.48933 77.48933s34.69327 77.48933 77.48933 77.48933 77.48933-34.69327 77.48933-77.48933-34.69327-77.48933-77.48933-77.48933Z"/>
+</svg>
diff --git a/docs/public/brand-icons/openrouter-glyph.svg b/docs/public/brand-icons/openrouter-glyph.svg
new file mode 100644
index 000000000..96e23b8f5
--- /dev/null
+++ b/docs/public/brand-icons/openrouter-glyph.svg
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<svg role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 401.4 293.7">
+ <title>OpenRouter</title>
+ <path fill="#7624F4" d="M303.9475 17.19926c42.79734 0 77.48933 34.69327 77.48933 77.48933s-34.69199 77.48933-77.48933 77.48933l76.86166 76.86244c9.76367 9.76313 2.84903 26.45667-10.95697 26.45667H148.96884c-71.32686 0-129.14889-57.82202-129.14889-129.14889S77.64197 17.19926 148.96884 17.19926H303.9475ZM148.96884 68.85881c-42.79607 0-77.48933 34.69327-77.48933 77.48933s34.69327 77.48933 77.48933 77.48933 77.48933-34.69327 77.48933-77.48933-34.69327-77.48933-77.48933-77.48933Z"/>
+</svg>
diff --git a/docs/public/images/gateway/autofix-illustration-dark.webp b/docs/public/images/gateway/autofix-illustration-dark.webp
new file mode 100644
index 000000000..1992ae518
Binary files /dev/null and b/docs/public/images/gateway/autofix-illustration-dark.webp differ
diff --git a/docs/public/images/gateway/autofix-illustration-light.webp b/docs/public/images/gateway/autofix-illustration-light.webp
new file mode 100644
index 000000000..f5949858f
Binary files /dev/null and b/docs/public/images/gateway/autofix-illustration-light.webp differ
diff --git a/docs/public/images/gateway/usage-dark.webp b/docs/public/images/gateway/usage-dark.webp
index a3b72b4f5..c86e2c858 100644
Binary files a/docs/public/images/gateway/usage-dark.webp and b/docs/public/images/gateway/usage-dark.webp differ
diff --git a/docs/public/images/gateway/usage-light.webp b/docs/public/images/gateway/usage-light.webp
index a4517ed8b..d634c1239 100644
Binary files a/docs/public/images/gateway/usage-light.webp and b/docs/public/images/gateway/usage-light.webp differ
diff --git a/docs/public/images/gateway/usage-mobile-dark.webp b/docs/public/images/gateway/usage-mobile-dark.webp
new file mode 100644
index 000000000..d6ae1ffe9
Binary files /dev/null and b/docs/public/images/gateway/usage-mobile-dark.webp differ
diff --git a/docs/public/images/gateway/usage-mobile-light.webp b/docs/public/images/gateway/usage-mobile-light.webp
new file mode 100644
index 000000000..2f4f9bf87
Binary files /dev/null and b/docs/public/images/gateway/usage-mobile-light.webp differ
diff --git a/docs/public/openui-observability/annotations-mobile-dark.webp b/docs/public/openui-observability/annotations-mobile-dark.webp
new file mode 100644
index 000000000..fb87c4aed
Binary files /dev/null and b/docs/public/openui-observability/annotations-mobile-dark.webp differ
diff --git a/docs/public/openui-observability/annotations-mobile-light.webp b/docs/public/openui-observability/annotations-mobile-light.webp
new file mode 100644
index 000000000..6167afebe
Binary files /dev/null and b/docs/public/openui-observability/annotations-mobile-light.webp differ
diff --git a/docs/public/openui-observability/evals-figma-mobile-dark.webp b/docs/public/openui-observability/evals-figma-mobile-dark.webp
new file mode 100644
index 000000000..10d3c9787
Binary files /dev/null and b/docs/public/openui-observability/evals-figma-mobile-dark.webp differ
diff --git a/docs/public/openui-observability/evals-figma-mobile-light.webp b/docs/public/openui-observability/evals-figma-mobile-light.webp
new file mode 100644
index 000000000..a006f71e9
Binary files /dev/null and b/docs/public/openui-observability/evals-figma-mobile-light.webp differ
diff --git a/docs/public/openui-observability/insights-mobile-dark.webp b/docs/public/openui-observability/insights-mobile-dark.webp
new file mode 100644
index 000000000..26ade1cac
Binary files /dev/null and b/docs/public/openui-observability/insights-mobile-dark.webp differ
diff --git a/docs/public/openui-observability/insights-mobile-light.webp b/docs/public/openui-observability/insights-mobile-light.webp
new file mode 100644
index 000000000..84e178007
Binary files /dev/null and b/docs/public/openui-observability/insights-mobile-light.webp differ
diff --git a/docs/public/openui-observability/session-replay-mobile-dark.webp b/docs/public/openui-observability/session-replay-mobile-dark.webp
new file mode 100644
index 000000000..540431eb0
Binary files /dev/null and b/docs/public/openui-observability/session-replay-mobile-dark.webp differ
diff --git a/docs/public/openui-observability/session-replay-mobile-light.webp b/docs/public/openui-observability/session-replay-mobile-light.webp
new file mode 100644
index 000000000..61682f3c8
Binary files /dev/null and b/docs/public/openui-observability/session-replay-mobile-light.webp differ
diff --git a/docs/public/openui-observability/triage-figma-mobile-dark.webp b/docs/public/openui-observability/triage-figma-mobile-dark.webp
new file mode 100644
index 000000000..5b32fdef8
Binary files /dev/null and b/docs/public/openui-observability/triage-figma-mobile-dark.webp differ
diff --git a/docs/public/openui-observability/triage-figma-mobile-light.webp b/docs/public/openui-observability/triage-figma-mobile-light.webp
new file mode 100644
index 000000000..78202e337
Binary files /dev/null and b/docs/public/openui-observability/triage-figma-mobile-light.webp differ