html {
            overflow-x: hidden;
        }

        body {
            background-color: #ffffff;
            color: #000000;
            font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
            -webkit-font-smoothing: antialiased;
        }

        h1, h2, h3, .serif { font-family: Georgia, "Times New Roman", serif; }
        .mono { font-family: "JetBrains Mono", "SFMono-Regular", Consolas, "Liberation Mono", monospace; }
        .sr-only {
            position: absolute;
            width: 1px;
            height: 1px;
            padding: 0;
            margin: -1px;
            overflow: hidden;
            clip: rect(0, 0, 0, 0);
            white-space: nowrap;
            border: 0;
        }

        /* Type scale tokens */
        :root {
            --t-eyebrow: 16px; --t-caption: 17px; --t-label: 19px;
            --t-body: 20px;    --t-body-lg: 22px;
            --o-ambient: 0.20; --o-meta: 0.30; --o-secondary: 0.50; --o-primary: 0.65;
        }

        footer {
            background-color: #ffffff;
            color: #000000;
            padding: 40px 5%;
            position: relative;
            z-index: 1200;
            border-top: 1px solid rgba(0,0,0,0.06);
            overflow: visible;
        }

        .footer-inner { gap: 28px; }
        .footer-brand,
        .footer-year { flex-shrink: 0; }
        .footer-groups { flex-wrap: wrap; justify-content: center; row-gap: 14px; }
        .footer-column-trigger { position: relative; cursor: default; padding: 0 0 8px; }
        .footer-column-title {
            font-family: "JetBrains Mono", "SFMono-Regular", Consolas, "Liberation Mono", monospace;
            font-size: 8px;
            text-transform: uppercase;
            letter-spacing: 0.3em;
            opacity: 0.35;
            transition: opacity 0.2s;
        }
        .footer-column-trigger:hover .footer-column-title,
        .footer-column-trigger:focus-within .footer-column-title { opacity: 1; }
        .footer-submenu {
            position: absolute;
            bottom: 100%;
            left: 50%;
            transform: translateX(-50%);
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 7px;
            min-width: max-content;
            padding: 10px 12px 12px;
            background: rgba(255,255,255,0.96);
            border: 1px solid rgba(0,0,0,0.08);
            box-shadow: 0 16px 40px rgba(0,0,0,0.08);
            border-radius: 6px;
            visibility: hidden;
            opacity: 0;
            pointer-events: none;
            transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
            z-index: 1;
        }
        .footer-column-trigger:hover .footer-submenu,
        .footer-column-trigger:focus-within .footer-submenu {
            visibility: visible;
            opacity: 1;
            pointer-events: auto;
            transform: translateX(-50%) translateY(0);
        }
        .footer-link {
            font-family: "JetBrains Mono", "SFMono-Regular", Consolas, "Liberation Mono", monospace;
            font-size: 10px;
            text-transform: uppercase;
            letter-spacing: 0.18em;
            opacity: 0.62;
            white-space: nowrap;
            text-decoration: none;
            color: #000000;
            transition: opacity 0.2s;
        }
        .footer-link:hover { opacity: 1; }
        .locale-active { opacity: 0.9; }

        @media (max-width: 768px) {
            footer { padding: 36px 5%; }
            .footer-inner {
                gap: 24px;
                align-items: center;
                text-align: center;
            }
            .footer-brand {
                flex-direction: column;
                gap: 10px;
            }
            .footer-groups {
                order: 3;
                width: 100%;
                display: grid;
                grid-template-columns: repeat(2, minmax(0, 1fr));
                gap: 18px 20px;
                align-items: start;
            }
            .footer-column-trigger {
                padding: 0;
                display: flex;
                flex-direction: column-reverse;
                align-items: center;
                gap: 8px;
            }
            .footer-column-title {
                opacity: 0.45;
                font-size: 9px;
            }
            .footer-submenu {
                position: static;
                transform: none;
                visibility: visible;
                opacity: 1;
                pointer-events: auto;
                padding: 0;
                background: transparent;
                border: 0;
                box-shadow: none;
                border-radius: 0;
                gap: 8px;
            }
            .footer-column-trigger:hover .footer-submenu,
            .footer-column-trigger:focus-within .footer-submenu {
                transform: none;
            }
            .footer-link {
                opacity: 0.55;
                font-size: 10px;
                letter-spacing: 0.14em;
            }
            .footer-year { order: 4; }
        }

        @media (max-width: 420px) {
            .footer-groups { grid-template-columns: 1fr; }
        }

        #top-nav {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            z-index: 50;
            padding: 28px 5%;
            display: flex;
            justify-content: space-between;
            align-items: center;
            background: rgba(255, 255, 255, 0.92);
            backdrop-filter: blur(18px);
            border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        }
        #menu-overlay {
            position: fixed;
            inset: 0;
            z-index: 100;
            background: rgba(255, 255, 255, 0.96);
            display: flex;
            align-items: center;
            justify-content: center;
            transform: translateY(-100%);
            transition: transform 0.45s ease;
        }
        #menu-overlay.active { transform: translateY(0); }
        .nav-btn-primary {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            padding: 14px 28px;
            border-radius: 999px;
            background: #000;
            color: #fff;
            font-size: 14px;
            text-transform: uppercase;
            letter-spacing: 0.22em;
            text-decoration: none;
            transition: background 0.2s ease, opacity 0.2s ease;
        }
        .nav-btn-primary:hover { background: #333; }
        .workflow-hero {
            padding: 164px 5% 76px;
            border-bottom: 1px solid rgba(0, 0, 0, 0.08);
        }
        .workflow-hero h1 {
            font-size: clamp(3rem, 4.6vw, 4rem);
            line-height: 1;
            overflow-wrap: anywhere;
        }
        .workflow-section {
            padding: 72px 5%;
            border-bottom: 1px solid rgba(0, 0, 0, 0.08);
            overflow-x: clip;
        }
        .workflow-wrap {
            max-width: 1180px;
            margin: 0 auto;
        }
        .workflow-grid {
            display: grid;
            grid-template-columns: minmax(220px, 0.72fr) minmax(0, 1.6fr);
            gap: 70px;
            align-items: start;
        }
        .card-grid {
            display: grid;
            grid-template-columns: repeat(3, minmax(0, 1fr));
            gap: 16px;
        }
        .workflow-grid > .card-grid {
            width: calc(100% + max(0px, (100vw - 1180px) / 2));
            margin-right: calc(-1 * max(0px, (100vw - 1180px) / 2));
            padding: 18px max(0px, calc((100vw - 1180px) / 2)) 18px 0;
            border-top: 1px solid rgba(0, 0, 0, 0.06);
            border-bottom: 1px solid rgba(0, 0, 0, 0.06);
            background:
                linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(0, 0, 0, 0.018) 18%, rgba(0, 0, 0, 0.032) 100%);
        }
        .workflow-card,
        .recipe-panel {
            border: 1px solid rgba(0, 0, 0, 0.1);
            border-radius: 8px;
            background: rgba(0, 0, 0, 0.014);
        }
        .workflow-card {
            display: flex;
            flex-direction: column;
            min-height: 260px;
            padding: 22px;
            color: #000;
            text-decoration: none;
            transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
        }
        .workflow-card:hover {
            transform: translateY(-2px);
            border-color: rgba(0, 0, 0, 0.28);
            background: rgba(0, 0, 0, 0.025);
        }
        .recipe-panel { padding: 24px; }
        .recipe-step {
            display: grid;
            grid-template-columns: 46px minmax(0, 1fr);
            gap: 18px;
            padding: 22px 0;
            border-top: 1px solid rgba(0, 0, 0, 0.08);
        }
        .recipe-step:first-child {
            border-top: 0;
            padding-top: 0;
        }
        .step-number {
            width: 36px;
            height: 36px;
            border: 1px solid rgba(0, 0, 0, 0.16);
            border-radius: 50%;
            display: inline-flex;
            align-items: center;
            justify-content: center;
        }
        .api-line {
            display: inline-flex;
            flex-wrap: wrap;
            gap: 8px;
            max-width: 100%;
            margin: 10px 0 8px;
            padding: 10px 12px;
            border-radius: 6px;
            background: rgba(0, 0, 0, 0.045);
            font-family: "JetBrains Mono", "SFMono-Regular", Consolas, monospace;
            font-size: 13px;
            line-height: 1.55;
            overflow-wrap: anywhere;
        }
        .payload-block {
            margin-top: 12px;
            border: 1px solid rgba(0, 0, 0, 0.08);
            border-radius: 8px;
            background: rgba(255, 255, 255, 0.58);
            overflow: hidden;
        }
        .payload-label {
            padding: 10px 12px 0;
            font-family: "JetBrains Mono", "SFMono-Regular", Consolas, monospace;
            font-size: 11px;
            letter-spacing: 0.18em;
            line-height: 1.4;
            text-transform: uppercase;
            color: rgba(0, 0, 0, 0.38);
        }
        .payload-note {
            padding: 6px 12px 0;
            font-size: 15px;
            line-height: 1.55;
            color: rgba(0, 0, 0, 0.56);
        }
        .payload-block pre {
            margin: 0;
            padding: 10px 12px 14px;
            font-family: "JetBrains Mono", "SFMono-Regular", Consolas, monospace;
            font-size: 12px;
            line-height: 1.6;
            color: rgba(0, 0, 0, 0.68);
            white-space: pre-wrap;
            overflow-wrap: anywhere;
        }
        .feature-list,
        .scope-list,
        .related-list {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
            margin-top: 18px;
        }
        .pill,
        .pill-link {
            display: inline-flex;
            align-items: center;
            min-height: 38px;
            max-width: 100%;
            border: 1px solid rgba(0, 0, 0, 0.12);
            border-radius: 999px;
            padding: 0 15px;
            font-family: "JetBrains Mono", "SFMono-Regular", Consolas, monospace;
            font-size: 13px;
            letter-spacing: 0.12em;
            line-height: 1.35;
            text-transform: uppercase;
            overflow-wrap: anywhere;
        }
        .pill { opacity: 0.56; }
        .pill-link {
            color: #000;
            opacity: 0.86;
            background: rgba(255, 255, 255, 0.72);
            border-color: rgba(0, 0, 0, 0.24);
            text-decoration: underline;
            text-decoration-thickness: 1px;
            text-underline-offset: 4px;
            transition: opacity 0.18s ease, border-color 0.18s ease, background 0.18s ease;
        }
        .pill-link:hover {
            opacity: 0.95;
            border-color: rgba(0, 0, 0, 0.42);
            background: #fff;
        }
        .action-link {
            min-height: 42px;
            border-color: rgba(0, 0, 0, 0.36);
            background: #000;
            color: #fff;
            opacity: 1;
            text-decoration-color: rgba(255, 255, 255, 0.62);
        }
        .action-link:hover {
            border-color: #000;
            background: rgba(0, 0, 0, 0.82);
        }
        .body-list {
            margin: 18px 0 0;
            padding: 0;
            list-style: none;
        }
        .body-list li {
            padding: 16px 0;
            border-top: 1px solid rgba(0, 0, 0, 0.08);
            font-size: 20px;
            line-height: 1.6;
            color: rgba(0, 0, 0, 0.62);
        }
        .body-list li:first-child { border-top: 0; }
        .schema-table {
            width: 100%;
            border-collapse: collapse;
            margin-top: 16px;
            font-size: 16px;
            line-height: 1.55;
        }
        .schema-table th,
        .schema-table td {
            padding: 14px 12px;
            border-top: 1px solid rgba(0, 0, 0, 0.08);
            text-align: left;
            vertical-align: top;
        }
        .schema-table th {
            font-family: "JetBrains Mono", "SFMono-Regular", Consolas, monospace;
            font-size: 11px;
            letter-spacing: 0.18em;
            text-transform: uppercase;
            color: rgba(0, 0, 0, 0.42);
            font-weight: 500;
        }
        .schema-table code {
            font-family: "JetBrains Mono", "SFMono-Regular", Consolas, monospace;
            font-size: 0.92em;
            color: rgba(0, 0, 0, 0.72);
        }
        .schema-scroll {
            max-width: 100%;
            overflow-x: auto;
        }
        @media (max-width: 1020px) {
            .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
        }
        @media (max-width: 768px) {
            #top-nav { padding: 22px 5%; }
            .workflow-hero { padding-top: 132px; }
            .workflow-grid { grid-template-columns: 1fr; gap: 32px; }
            .card-grid { grid-template-columns: 1fr; }
            .workflow-grid > .card-grid {
                width: 100%;
                margin-right: 0;
                padding: 14px 0;
            }
        }
        @media (max-width: 520px) {
            .workflow-hero { padding-bottom: 56px; }
            .workflow-hero h1 {
                font-size: 2.55rem;
                overflow-wrap: anywhere;
            }
            .workflow-section { padding: 54px 5%; }
            .workflow-section h2 { font-size: 2.15rem; }
            .recipe-panel { padding: 18px; }
            .recipe-step { grid-template-columns: 1fr; gap: 10px; }
        }
