:root {
    color-scheme: light;
    --page: #ffffff;
    --page-soft: #f7f9fc;
    --surface: #ffffff;
    --surface-strong: #eef3fb;
    --ink: #111b32;
    --ink-soft: #263451;
    --muted: #65728a;
    --line: #e2e8f2;
    --line-strong: #cfd8e8;
    --primary: #315efb;
    --primary-dark: #2347d8;
    --primary-soft: #edf2ff;
    --red: #ef3340;
    --red-soft: #fff0f1;
    --success: #12a56a;
    --navy: #111827;
    --code: #0c1527;
    --code-line: #24324b;
    --shadow-sm: 0 10px 35px rgba(31, 46, 83, 0.08);
    --shadow-lg: 0 32px 90px rgba(31, 46, 83, 0.16);
    --radius-sm: 12px;
    --radius: 20px;
    --radius-lg: 30px;
    --shell: 1180px;
}

html[data-theme="dark"] {
    color-scheme: dark;
    --page: #08111f;
    --page-soft: #0b1526;
    --surface: #101c30;
    --surface-strong: #15233a;
    --ink: #edf4ff;
    --ink-soft: #c5d1e3;
    --muted: #93a3ba;
    --line: #22314a;
    --line-strong: #31425f;
    --primary: #7b9cff;
    --primary-dark: #9ab2ff;
    --primary-soft: #15264d;
    --red: #ff4c58;
    --red-soft: #321b28;
    --success: #41d99a;
    --navy: #07101e;
    --shadow-sm: 0 12px 38px rgba(0, 0, 0, 0.18);
    --shadow-lg: 0 35px 90px rgba(0, 0, 0, 0.3);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body.scrape-site {
    min-width: 320px;
    margin: 0;
    overflow-x: hidden;
    background: var(--page);
    color: var(--ink);
    font-family: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 17px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    transition: background-color 180ms ease, color 180ms ease;
}

body.scrape-site a {
    color: inherit;
}

body.scrape-site img {
    max-width: 100%;
}

body.scrape-site h1,
body.scrape-site h2,
body.scrape-site h3,
body.scrape-site h4,
body.scrape-site p {
    margin-top: 0;
}

body.scrape-site h1,
body.scrape-site h2,
body.scrape-site h3,
body.scrape-site h4 {
    color: var(--ink);
    font-family: "Manrope", system-ui, sans-serif;
    font-weight: 800;
    letter-spacing: -0.045em;
}

button,
input,
select,
textarea {
    font: inherit;
}

::selection {
    background: var(--primary);
    color: #fff;
}

.shell {
    width: min(calc(100% - 40px), var(--shell));
    margin-inline: auto;
}

.skip-link {
    position: fixed;
    z-index: 9999;
    top: 12px;
    left: 12px;
    padding: 10px 16px;
    transform: translateY(-150%);
    border-radius: 8px;
    background: var(--ink);
    color: var(--page) !important;
    font-weight: 700;
    transition: transform 150ms ease;
}

.skip-link:focus {
    transform: translateY(0);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
    outline: 3px solid color-mix(in srgb, var(--primary) 45%, transparent);
    outline-offset: 3px;
}

.button {
    display: inline-flex;
    min-height: 52px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 13px 22px;
    border: 1px solid var(--primary);
    border-radius: 12px;
    background: var(--primary);
    box-shadow: 0 10px 25px color-mix(in srgb, var(--primary) 22%, transparent);
    color: #fff !important;
    font-size: 14px;
    font-weight: 800;
    line-height: 1;
    text-decoration: none;
    transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.button:hover {
    border-color: var(--primary-dark);
    background: var(--primary-dark);
    box-shadow: 0 14px 30px color-mix(in srgb, var(--primary) 30%, transparent);
    transform: translateY(-2px);
}

.button--small {
    min-height: 42px;
    padding: 10px 17px;
    border-radius: 10px;
    font-size: 13px;
}

.button--ghost {
    border-color: var(--line-strong);
    background: transparent;
    box-shadow: none;
    color: var(--ink) !important;
}

.button--ghost:hover {
    border-color: var(--ink);
    background: var(--surface-strong);
}

.text-link,
.blog-card__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary) !important;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
}

.text-link:hover,
.blog-card__link:hover {
    text-decoration: underline;
    text-underline-offset: 4px;
}

.eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    color: var(--primary);
    font-family: "IBM Plex Mono", monospace;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.13em;
    line-height: 1.3;
}

.eyebrow > span {
    width: 22px;
    height: 2px;
    border-radius: 2px;
    background: var(--red);
}

/* Header and brand */

.site-header {
    position: sticky;
    z-index: 1000;
    top: 0;
    border-bottom: 1px solid color-mix(in srgb, var(--line) 78%, transparent);
    background: color-mix(in srgb, var(--page) 90%, transparent);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
}

.site-header__inner {
    display: grid;
    min-height: 76px;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 32px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--ink) !important;
    text-decoration: none;
}

.brand__mark {
    display: grid;
    width: 43px;
    height: 43px;
    flex: 0 0 43px;
    place-items: center;
    overflow: hidden;
}

.brand__mark img {
    width: 43px;
    height: 43px;
    object-fit: contain;
}

.brand__name {
    display: flex;
    align-items: baseline;
    white-space: nowrap;
    font-size: 18px;
    font-weight: 800;
    letter-spacing: -0.045em;
    line-height: 1;
}

.brand__name b {
    margin-right: 2px;
    color: var(--red);
}

.brand__name strong {
    color: var(--ink);
}

.brand__name small {
    margin-left: 3px;
    color: var(--muted);
    font-family: "IBM Plex Mono", monospace;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: -.08em;
}

.site-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: clamp(4px, 1vw, 14px);
}

.site-nav a {
    position: relative;
    padding: 11px 10px;
    border-radius: 9px;
    color: var(--ink-soft) !important;
    font-size: 14px;
    font-weight: 750;
    line-height: 1.2;
    text-decoration: none;
    transition: background-color 160ms ease, color 160ms ease;
}

.site-nav a::after {
    position: absolute;
    right: 10px;
    bottom: 6px;
    left: 10px;
    height: 2px;
    border-radius: 2px;
    background: var(--primary);
    content: "";
    transform: scaleX(0);
    transition: transform 160ms ease;
}

.site-nav a:hover {
    background: var(--page-soft);
    color: var(--ink) !important;
}

.site-nav a:hover::after {
    transform: scaleX(1);
}

.site-nav a.site-nav__apis {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    gap: 9px;
    padding: 7px 11px 7px 10px;
    border: 1px solid color-mix(in srgb, var(--primary) 24%, var(--line));
    border-radius: 12px;
    background: var(--primary-soft);
    box-shadow: 0 6px 18px color-mix(in srgb, var(--primary) 10%, transparent);
    color: var(--ink) !important;
    transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.site-nav a.site-nav__apis::after {
    display: none;
}

.site-nav__apis > i {
    width: 8px;
    height: 8px;
    flex: 0 0 8px;
    border-radius: 50%;
    background: var(--success);
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--success) 14%, transparent);
}

.site-nav__apis > span {
    display: grid;
    gap: 2px;
}

.site-nav__apis strong {
    font-size: 13px;
    font-weight: 800;
    white-space: nowrap;
}

.site-nav__apis small {
    color: var(--muted);
    font-family: "IBM Plex Mono", monospace;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.04em;
    line-height: 1;
    text-transform: uppercase;
    white-space: nowrap;
}

.site-nav__apis > b {
    color: var(--primary);
    font-size: 15px;
    transition: transform 160ms ease;
}

.site-nav a.site-nav__apis:hover {
    border-color: color-mix(in srgb, var(--primary) 48%, var(--line));
    background: var(--primary-soft);
    box-shadow: 0 9px 24px color-mix(in srgb, var(--primary) 16%, transparent);
    transform: translateY(-1px);
}

.site-nav__apis:hover > b {
    transform: translateX(2px);
}

.site-header__actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.theme-toggle,
.nav-toggle {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--surface);
    color: var(--ink);
    cursor: pointer;
}

.theme-toggle svg {
    width: 19px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.theme-toggle__moon {
    display: none;
}

html[data-theme="dark"] .theme-toggle__sun {
    display: none;
}

html[data-theme="dark"] .theme-toggle__moon {
    display: block;
}

.nav-toggle {
    display: none;
    align-content: center;
    gap: 4px;
}

.nav-toggle > span:not(.visually-hidden) {
    display: block;
    width: 19px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
}

/* Home hero */

.hero {
    position: relative;
    overflow: hidden;
    padding: 108px 0 112px;
    background:
        linear-gradient(180deg, color-mix(in srgb, var(--primary-soft) 35%, var(--page)) 0%, var(--page) 76%);
}

.hero::before {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(color-mix(in srgb, var(--primary) 25%, transparent) 0.7px, transparent 0.7px);
    background-size: 20px 20px;
    content: "";
    mask-image: linear-gradient(to bottom, rgba(0,0,0,.4), transparent 72%);
    opacity: .32;
}

.hero__glow {
    position: absolute;
    border-radius: 999px;
    filter: blur(2px);
    opacity: .55;
    pointer-events: none;
}

.hero__glow--one {
    width: 520px;
    height: 520px;
    top: -310px;
    right: 4%;
    background: radial-gradient(circle, color-mix(in srgb, var(--primary) 24%, transparent), transparent 70%);
}

.hero__glow--two {
    width: 370px;
    height: 370px;
    bottom: -260px;
    left: -80px;
    background: radial-gradient(circle, color-mix(in srgb, var(--red) 17%, transparent), transparent 70%);
}

.hero__grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(470px, .95fr);
    align-items: center;
    gap: clamp(60px, 8vw, 110px);
}

.hero h1 {
    max-width: 720px;
    margin-bottom: 26px;
    font-size: clamp(48px, 5.8vw, 76px);
    line-height: 1.03;
}

.hero h1 em {
    position: relative;
    display: inline-block;
    color: var(--primary);
    font-style: normal;
}

.hero h1 em::after {
    position: absolute;
    right: 2px;
    bottom: -5px;
    left: 2px;
    height: 8px;
    border-radius: 50%;
    background: var(--red);
    content: "";
    opacity: .8;
    transform: rotate(-1.5deg) scaleY(.25);
}

.hero__lead {
    max-width: 650px;
    margin-bottom: 34px;
    color: var(--muted);
    font-size: clamp(17px, 1.7vw, 20px);
    line-height: 1.7;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 32px;
}

.hero__proof {
    display: flex;
    flex-wrap: wrap;
    gap: 13px 24px;
    color: var(--ink-soft);
    font-size: 12px;
    font-weight: 700;
}

.hero__proof span {
    display: flex;
    align-items: center;
    gap: 7px;
}

.hero__proof i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--success);
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--success) 12%, transparent);
}

.hero-product {
    position: relative;
    padding: 22px 0;
}

.hero-product::before {
    position: absolute;
    inset: -45px -35px;
    border: 1px solid color-mix(in srgb, var(--primary) 18%, transparent);
    border-radius: 50%;
    content: "";
    transform: rotate(-6deg);
}

.hero-product::after {
    position: absolute;
    z-index: -1;
    inset: 14% -8% -12% 12%;
    border-radius: 42px;
    background: linear-gradient(135deg, color-mix(in srgb, var(--primary) 19%, transparent), color-mix(in srgb, var(--red) 9%, transparent));
    content: "";
    filter: blur(18px);
}

.hero-product__orbit {
    position: absolute;
    z-index: 2;
    padding: 8px 12px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--surface);
    box-shadow: var(--shadow-sm);
    color: var(--muted);
    font-family: "IBM Plex Mono", monospace;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: .06em;
}

.hero-product__orbit--top {
    top: -8px;
    right: -16px;
}

.hero-product__orbit--bottom {
    bottom: -2px;
    left: -28px;
}

.api-window,
.api-schema-preview {
    position: relative;
    overflow: hidden;
    border: 1px solid #27344b;
    border-radius: 18px;
    background: var(--code);
    box-shadow: var(--shadow-lg);
    color: #cbd5e1;
}

.api-window__bar {
    display: grid;
    min-height: 48px;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 0 18px;
    border-bottom: 1px solid var(--code-line);
    color: #7f8ca3;
    font-size: 10px;
}

.api-window__bar > span {
    display: flex;
    gap: 6px;
}

.api-window__bar > span i,
.api-schema-preview > div > span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #475569;
}

.api-window__bar > span i:first-child,
.api-schema-preview > div > span:first-child {
    background: var(--red);
}

.api-window__bar > span i:nth-child(2),
.api-schema-preview > div > span:nth-child(2) {
    background: #f0b429;
}

.api-window__bar > span i:last-child,
.api-schema-preview > div > span:nth-child(3) {
    background: var(--success);
}

.api-window__bar code {
    color: #9aa8bc;
    font-family: "IBM Plex Mono", monospace;
    font-size: 9px;
}

.api-window__bar b {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
    color: #54d99e;
    font-family: "IBM Plex Mono", monospace;
    font-size: 9px;
    font-weight: 500;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.api-window__bar b i {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #54d99e;
    box-shadow: 0 0 0 3px rgba(84,217,158,.12);
}

.api-window__request {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    margin: 18px;
    padding: 11px 12px;
    border: 1px solid var(--code-line);
    border-radius: 8px;
    background: #111e33;
}

.api-window__request span {
    color: #62d9a3;
    font-family: "IBM Plex Mono", monospace;
    font-size: 10px;
    font-weight: 600;
}

.api-window__request code {
    overflow: hidden;
    color: #bec9d9;
    font-family: "IBM Plex Mono", monospace;
    font-size: 9px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.api-window__request b {
    color: #62d9a3;
    font-family: "IBM Plex Mono", monospace;
    font-size: 9px;
}

.api-window__body {
    display: grid;
    grid-template-columns: 35px 1fr;
    min-height: 300px;
    padding: 3px 18px 18px 0;
}

.api-window__rail {
    display: flex;
    flex-direction: column;
    padding-top: 15px;
    border-right: 1px solid var(--code-line);
    color: #44516a;
    font-family: "IBM Plex Mono", monospace;
    font-size: 9px;
    line-height: 1.9;
    text-align: center;
}

.api-window pre,
.api-schema-preview pre {
    margin: 0;
    overflow: auto;
    padding: 13px 0 0 18px;
    color: #c4cede;
    font-family: "IBM Plex Mono", monospace;
    font-size: 11px;
    line-height: 1.9;
}

.api-window pre b,
.api-schema-preview pre b {
    color: #8eaaff;
    font-weight: 500;
}

.api-window pre span,
.api-schema-preview pre span {
    color: #61d6a0;
}

.api-window pre strong,
.api-schema-preview pre strong {
    color: #f5bb68;
    font-weight: 500;
}

.api-window__footer {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    padding: 11px 18px;
    border-top: 1px solid var(--code-line);
    color: #66758e;
    font-family: "IBM Plex Mono", monospace;
    font-size: 8px;
}

.trust-bar {
    border-block: 1px solid var(--line);
    background: var(--surface);
}

.trust-bar__inner {
    display: flex;
    min-height: 82px;
    align-items: center;
    justify-content: space-between;
    gap: 35px;
}

.trust-bar p {
    margin: 0;
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
}

.trust-bar__inner > div {
    display: flex;
    flex: 1;
    justify-content: flex-end;
    gap: clamp(24px, 4vw, 58px);
}

.trust-bar span {
    position: relative;
    color: var(--ink-soft);
    font-size: 12px;
    font-weight: 800;
}

.trust-bar span + span::before {
    position: absolute;
    top: 50%;
    left: clamp(-30px, -2vw, -14px);
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: var(--red);
    content: "";
}

/* Shared sections */

.home-section {
    padding: 112px 0;
}

.home-section--apis {
    background: var(--page);
}

.section-heading {
    max-width: 650px;
    margin-bottom: 54px;
}

.section-heading--split {
    display: grid;
    max-width: none;
    grid-template-columns: 1fr minmax(300px, .68fr);
    align-items: end;
    gap: 70px;
}

.section-heading--split > div:last-child {
    padding-bottom: 7px;
}

.section-heading--center {
    margin-right: auto;
    margin-left: auto;
    text-align: center;
}

.section-heading--center .eyebrow {
    justify-content: center;
}

.section-heading h2,
.catalog-toolbar h2,
.api-section-title h2,
.home-cta h2,
.custom-api-cta h2,
.api-inline-cta h2 {
    margin-bottom: 18px;
    font-size: clamp(36px, 4.5vw, 56px);
    line-height: 1.08;
}

.section-heading p:not(.eyebrow),
.api-section-title > p:last-child {
    color: var(--muted);
    font-size: 16px;
}

.api-home-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 18px;
}

.api-home-card,
.catalog-card {
    --card-accent: #315efb;
    --card-tint: #edf2ff;
    display: flex;
    min-height: 310px;
    flex-direction: column;
    justify-content: space-between;
    padding: 26px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: 0 1px 0 rgba(15, 23, 42, .02);
    color: var(--ink) !important;
    text-decoration: none;
    transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.api-home-card:hover,
.catalog-card:hover {
    border-color: color-mix(in srgb, var(--card-accent) 45%, var(--line));
    box-shadow: var(--shadow-sm);
    transform: translateY(-5px);
}

.api-card--red,
.catalog-card--red {
    --card-accent: #ef3340;
    --card-tint: #fff0f1;
}

.api-card--violet,
.catalog-card--violet {
    --card-accent: #7956d8;
    --card-tint: #f3efff;
}

.api-card--cyan,
.catalog-card--cyan {
    --card-accent: #0f9bb7;
    --card-tint: #e9fafd;
}

.api-card--amber,
.catalog-card--amber {
    --card-accent: #cc7a08;
    --card-tint: #fff6e7;
}

.api-card--slate {
    --card-accent: #40516d;
    --card-tint: #eef2f7;
}

html[data-theme="dark"] .api-home-card,
html[data-theme="dark"] .catalog-card {
    --card-tint: var(--surface-strong);
}

.api-home-card__head,
.catalog-card__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 42px;
}

.api-home-card__icon,
.catalog-card__icon {
    display: grid;
    width: 45px;
    height: 45px;
    place-items: center;
    border-radius: 13px;
    background: var(--card-tint);
    color: var(--card-accent);
    font-size: 16px;
    font-weight: 800;
}

.api-home-card__status,
.catalog-card__status {
    display: flex;
    align-items: center;
    gap: 7px;
    color: var(--muted);
    font-size: 10px;
    font-weight: 700;
}

.api-home-card__status i,
.catalog-card__status i,
.api-title-meta i {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--success);
}

.api-home-card__route,
.catalog-card__route {
    display: block;
    margin-bottom: 9px;
    color: var(--card-accent);
    font-family: "IBM Plex Mono", monospace;
    font-size: 9px;
    font-weight: 600;
}

.api-home-card h3,
.catalog-card h3 {
    margin-bottom: 12px;
    font-size: 23px;
    line-height: 1.18;
}

.api-home-card p,
.catalog-card p {
    display: -webkit-box;
    margin-bottom: 24px;
    overflow: hidden;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.65;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.api-home-card__link,
.catalog-card__link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 18px;
    border-top: 1px solid var(--line);
    color: var(--ink-soft);
    font-size: 12px;
    font-weight: 800;
}

.api-home-card__link span,
.catalog-card__link span {
    color: var(--card-accent);
    font-size: 17px;
}

/* Process */

.process {
    border-block: 1px solid var(--line);
    background: var(--page-soft);
}

.process__grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.process__grid::before {
    position: absolute;
    z-index: 0;
    top: 55px;
    right: 17%;
    left: 17%;
    border-top: 1px dashed var(--line-strong);
    content: "";
}

.process article {
    position: relative;
    z-index: 1;
    padding: 32px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
}

.process__number {
    position: absolute;
    top: 22px;
    right: 25px;
    color: var(--line-strong);
    font-family: "IBM Plex Mono", monospace;
    font-size: 12px;
    font-weight: 600;
}

.process__icon {
    display: grid;
    width: 48px;
    height: 48px;
    margin-bottom: 42px;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--primary-soft);
    color: var(--primary);
}

.process__icon svg {
    width: 23px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.6;
}

.process h3 {
    margin-bottom: 12px;
    font-size: 21px;
}

.process article p {
    min-height: 78px;
    margin-bottom: 18px;
    color: var(--muted);
    font-size: 13px;
}

.process article code {
    display: block;
    overflow: hidden;
    padding: 10px 12px;
    border-radius: 8px;
    background: var(--page-soft);
    color: var(--primary);
    font-family: "IBM Plex Mono", monospace;
    font-size: 9px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Use cases */

.use-cases__grid {
    display: grid;
    grid-template-columns: minmax(280px, .7fr) minmax(0, 1.3fr);
    align-items: start;
    gap: clamp(60px, 9vw, 120px);
}

.use-cases .section-heading {
    position: sticky;
    top: 120px;
    margin-bottom: 0;
}

.use-cases__board {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.use-case {
    position: relative;
    min-height: 280px;
    overflow: hidden;
    padding: 30px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
}

.use-case--wide {
    min-height: 330px;
    grid-column: 1 / -1;
    padding-right: 45%;
    background: linear-gradient(135deg, var(--primary-soft), var(--surface) 70%);
}

.use-case--dark {
    border-color: #26334a;
    background: var(--code);
}

.use-case > span {
    display: block;
    margin-bottom: 34px;
    color: var(--primary);
    font-family: "IBM Plex Mono", monospace;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: .09em;
}

.use-case--dark > span {
    color: #8eaaff;
}

.use-case h3 {
    margin-bottom: 12px;
    font-size: 25px;
}

body.scrape-site .use-case--dark h3 {
    color: #f1f5f9;
}

.use-case p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
}

.use-case--dark p {
    color: #92a0b5;
}

.signal-lines {
    position: absolute;
    right: 30px;
    bottom: 28px;
    display: flex;
    width: 38%;
    height: 170px;
    align-items: flex-end;
    gap: 8px;
    padding: 18px;
    border: 1px solid color-mix(in srgb, var(--primary) 18%, transparent);
    border-radius: 15px;
    background: color-mix(in srgb, var(--surface) 78%, transparent);
}

.signal-lines i {
    flex: 1;
    border-radius: 5px 5px 2px 2px;
    background: linear-gradient(to top, var(--primary), #8ba4ff);
}

.signal-lines i:nth-child(1) { height: 35%; }
.signal-lines i:nth-child(2) { height: 53%; }
.signal-lines i:nth-child(3) { height: 45%; }
.signal-lines i:nth-child(4) { height: 72%; }
.signal-lines i:nth-child(5) { height: 63%; }
.signal-lines i:nth-child(6) { height: 88%; background: linear-gradient(to top, var(--red), #ff8b93); }

.home-cta {
    padding: 0 0 112px;
    background: var(--page);
}

.home-cta__inner {
    position: relative;
    display: flex;
    overflow: hidden;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    padding: clamp(42px, 6vw, 72px);
    border: 1px solid color-mix(in srgb, var(--primary) 20%, var(--line));
    border-radius: var(--radius-lg);
    background:
        radial-gradient(circle at 90% 10%, color-mix(in srgb, var(--primary) 20%, transparent), transparent 34%),
        linear-gradient(135deg, var(--primary-soft), var(--surface));
}

.home-cta__inner::after {
    position: absolute;
    right: -45px;
    bottom: -80px;
    width: 240px;
    height: 240px;
    border: 1px solid color-mix(in srgb, var(--primary) 15%, transparent);
    border-radius: 50%;
    content: "";
}

.home-cta__inner > * {
    position: relative;
    z-index: 1;
}

.home-cta h2 {
    margin-bottom: 12px;
    font-size: clamp(34px, 4vw, 50px);
}

.home-cta__inner > div:first-child > p:last-child {
    max-width: 650px;
    margin: 0;
    color: var(--muted);
}

.home-cta__actions {
    display: flex;
    min-width: 250px;
    flex-direction: column;
    gap: 10px;
}

/* Shared page heroes */

.page-hero {
    position: relative;
    overflow: hidden;
    padding: 68px 0 90px;
    border-bottom: 1px solid var(--line);
    background: linear-gradient(180deg, var(--page-soft), var(--page));
}

.page-hero::before {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(color-mix(in srgb, var(--primary) 25%, transparent) .7px, transparent .7px);
    background-size: 21px 21px;
    content: "";
    mask-image: linear-gradient(90deg, rgba(0,0,0,.34), transparent 72%);
    opacity: .32;
}

.page-hero__glow {
    position: absolute;
    width: 500px;
    height: 500px;
    top: -320px;
    right: -70px;
    border-radius: 50%;
    background: radial-gradient(circle, color-mix(in srgb, var(--primary) 24%, transparent), transparent 70%);
}

.page-hero__grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(330px, .8fr);
    align-items: end;
    gap: clamp(60px, 9vw, 120px);
}

.breadcrumb-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 40px;
    color: var(--muted);
    font-size: 11px;
    font-weight: 600;
}

.breadcrumb-nav a {
    color: var(--muted) !important;
    text-decoration: none;
}

.breadcrumb-nav a:hover {
    color: var(--primary) !important;
}

.page-hero h1 {
    max-width: 820px;
    margin-bottom: 24px;
    font-size: clamp(44px, 5.5vw, 70px);
    line-height: 1.04;
}

.page-hero__lead {
    max-width: 720px;
    margin-bottom: 0;
    color: var(--muted);
    font-size: 18px;
    line-height: 1.7;
}

/* Catalog */

.catalog-search-card,
.blog-hero-card {
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: var(--shadow-sm);
}

.catalog-search-card > label,
.blog-hero-card > span {
    display: block;
    margin-bottom: 14px;
    color: var(--ink);
    font-size: 13px;
    font-weight: 800;
}

.catalog-search {
    position: relative;
}

.catalog-search svg {
    position: absolute;
    top: 50%;
    left: 14px;
    width: 18px;
    fill: none;
    stroke: var(--muted);
    stroke-linecap: round;
    stroke-width: 1.8;
    transform: translateY(-50%);
}

.catalog-search input {
    width: 100%;
    height: 52px;
    padding: 0 16px 0 43px;
    border: 1px solid var(--line);
    border-radius: 11px;
    outline: 0;
    background: var(--page-soft);
    color: var(--ink);
    font-size: 13px;
}

.catalog-search input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 12%, transparent);
}

.catalog-search-card__meta {
    display: flex;
    justify-content: space-between;
    margin-top: 16px;
    color: var(--muted);
    font-size: 10px;
    font-weight: 700;
}

.catalog-search-card__meta strong {
    color: var(--primary);
}

.catalog {
    padding: 92px 0 112px;
    background: var(--page);
}

.catalog-toolbar {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 42px;
}

.catalog-toolbar .eyebrow {
    margin-bottom: 12px;
}

.catalog-toolbar h2 {
    margin: 0;
    font-size: 38px;
}

.catalog-toolbar > p {
    margin: 0;
    color: var(--muted);
    font-family: "IBM Plex Mono", monospace;
    font-size: 10px;
}

.catalog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.catalog-card {
    min-height: 330px;
}

.catalog-card[hidden] {
    display: none;
}

.catalog-no-results {
    padding: 50px;
    border: 1px dashed var(--line-strong);
    border-radius: var(--radius);
    color: var(--muted);
    text-align: center;
}

.catalog-empty {
    padding: 60px;
    border: 1px dashed var(--line-strong);
    border-radius: var(--radius);
    background: var(--page-soft);
    text-align: center;
}

.catalog-empty h2,
.catalog-empty h3 {
    margin-bottom: 12px;
    font-size: 30px;
}

.catalog-empty p {
    color: var(--muted);
}

.custom-api-cta {
    display: grid;
    margin-top: 90px;
    overflow: hidden;
    grid-template-columns: minmax(0, 1fr) minmax(300px, .7fr);
    gap: clamp(50px, 8vw, 100px);
    padding: clamp(40px, 6vw, 72px);
    border-radius: var(--radius-lg);
    background: var(--code);
    color: #cbd5e1;
}

body.scrape-site .custom-api-cta h2 {
    color: #f8fafc;
    font-size: clamp(36px, 4vw, 52px);
}

.custom-api-cta > div:first-child > p:not(.eyebrow) {
    max-width: 650px;
    margin-bottom: 30px;
    color: #98a7bc;
}

.custom-api-cta__ticket {
    display: flex;
    flex-direction: column;
    padding: 26px;
    border: 1px solid #2c3a51;
    border-radius: 16px;
    background: #101d31;
}

.custom-api-cta__ticket > span {
    margin-bottom: 35px;
    color: #718096;
    font-family: "IBM Plex Mono", monospace;
    font-size: 9px;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.custom-api-cta__ticket code {
    margin-bottom: 5px;
    color: #7897ff;
    font-size: 9px;
}

.custom-api-cta__ticket strong {
    padding-bottom: 20px;
    border-bottom: 1px solid #2c3a51;
    color: #d7e1ef;
    font-family: "IBM Plex Mono", monospace;
    font-size: 11px;
}

.custom-api-cta__ticket ul {
    display: grid;
    gap: 12px;
    margin: 22px 0 0;
    padding: 0;
    color: #9aa8bb;
    font-size: 11px;
    list-style: none;
}

.custom-api-cta__ticket li {
    display: flex;
    align-items: center;
    gap: 8px;
}

.custom-api-cta__ticket li i {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #54d99e;
}

/* API detail */

.page-hero--api {
    padding-bottom: 100px;
}

.page-hero--api .shell {
    position: relative;
    z-index: 1;
}

.api-title-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(360px, .75fr);
    align-items: center;
    gap: clamp(60px, 9vw, 120px);
}

.api-availability {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 22px;
    padding: 7px 11px;
    border: 1px solid color-mix(in srgb, var(--success) 28%, var(--line));
    border-radius: 999px;
    background: color-mix(in srgb, var(--success) 8%, var(--surface));
    color: var(--success);
    font-size: 10px;
    font-weight: 800;
}

.api-availability i {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--success) 12%, transparent);
}

.api-route {
    margin-bottom: 13px;
    color: var(--primary);
    font-family: "IBM Plex Mono", monospace;
    font-size: 11px;
    font-weight: 600;
}

.api-title-copy h1 {
    margin-bottom: 22px;
    font-size: clamp(46px, 6vw, 72px);
    line-height: 1.02;
}

.api-lead {
    max-width: 680px;
    margin-bottom: 30px;
    color: var(--muted);
    font-size: 18px;
}

.api-title-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 11px;
}

.api-title-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-top: 25px;
    color: var(--muted);
    font-size: 10px;
    font-weight: 700;
}

.api-title-meta span {
    display: flex;
    align-items: center;
    gap: 7px;
}

.api-featured-image {
    position: relative;
    margin: 0;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: var(--shadow-lg);
}

.api-featured-image img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.api-featured-image figcaption {
    position: absolute;
    right: 14px;
    bottom: 14px;
    padding: 7px 10px;
    border-radius: 8px;
    background: rgba(9, 16, 30, .82);
    color: #cbd5e1;
    font-family: "IBM Plex Mono", monospace;
    font-size: 8px;
    -webkit-backdrop-filter: blur(7px);
    backdrop-filter: blur(7px);
}

.api-schema-preview > div {
    display: flex;
    height: 45px;
    align-items: center;
    gap: 6px;
    padding: 0 17px;
    border-bottom: 1px solid var(--code-line);
}

.api-schema-preview > div > b {
    margin-left: auto;
    color: #708098;
    font-family: "IBM Plex Mono", monospace;
    font-size: 8px;
    font-weight: 500;
}

.api-schema-preview pre {
    min-height: 290px;
    padding: 28px;
}

.api-article-shell {
    padding-top: 90px;
    padding-bottom: 112px;
}

.api-prose {
    max-width: 840px;
    margin: 0 auto 100px;
    color: var(--ink-soft);
    font-size: 17px;
}

.api-prose h2,
.api-prose h3 {
    margin-top: 48px;
    margin-bottom: 18px;
}

.api-prose h2 {
    font-size: 34px;
}

.api-prose h3 {
    font-size: 24px;
}

.api-prose a {
    color: var(--primary) !important;
}

.api-prose pre,
.api-prose code {
    font-family: "IBM Plex Mono", monospace;
}

.api-prose pre {
    overflow: auto;
    padding: 24px;
    border-radius: 14px;
    background: var(--code);
    color: #cbd5e1;
    font-size: 12px;
}

.api-prose :not(pre) > code {
    padding: 2px 6px;
    border-radius: 5px;
    background: var(--primary-soft);
    color: var(--primary);
    font-size: .85em;
}

/*
 * Product content is authored in the CMS. Normalize embedded RapidAPI calls
 * to action so legacy inline styles cannot break the API page design.
 */
.api-prose :is(div, aside, section, blockquote):is(
    :has(> a:is([href*="rapidapi.com"], [href^="/go/api/"])),
    :has(> p > a:is([href*="rapidapi.com"], [href^="/go/api/"]))
) {
    position: relative;
    display: grid !important;
    min-height: 0 !important;
    height: auto !important;
    gap: 22px !important;
    margin: 38px 0 56px !important;
    overflow: hidden;
    padding: clamp(28px, 4vw, 42px) !important;
    border: 1px solid color-mix(in srgb, var(--primary) 25%, var(--line)) !important;
    border-radius: var(--radius) !important;
    background: linear-gradient(135deg, var(--primary-soft), var(--surface)) !important;
    box-shadow: var(--shadow-sm);
}

.api-prose :is(div, aside, section, blockquote):is(
    :has(> a:is([href*="rapidapi.com"], [href^="/go/api/"])),
    :has(> p > a:is([href*="rapidapi.com"], [href^="/go/api/"]))
)::before {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 4px;
    background: var(--primary);
    content: "";
}

.api-prose :is(div, aside, section, blockquote):is(
    :has(> a:is([href*="rapidapi.com"], [href^="/go/api/"])),
    :has(> p > a:is([href*="rapidapi.com"], [href^="/go/api/"]))
) p {
    max-width: 720px;
    margin: 0 !important;
    color: var(--ink-soft) !important;
    font-size: 17px !important;
    line-height: 1.7;
}

.api-prose a:is([href*="rapidapi.com"], [href^="/go/api/"]) {
    display: inline-flex !important;
    width: fit-content !important;
    min-height: 52px;
    align-items: center;
    justify-content: center;
    padding: 13px 22px !important;
    border: 1px solid var(--primary) !important;
    border-radius: 12px !important;
    background: #3047ff !important;
    box-shadow: 0 10px 25px color-mix(in srgb, var(--primary) 22%, transparent) !important;
    color: #fff !important;
    font-size: 14px !important;
    font-weight: 800;
    line-height: 1 !important;
    text-decoration: none !important;
    transition: transform 160ms ease, background-color 160ms ease, box-shadow 160ms ease;
}

.api-prose a:is([href*="rapidapi.com"], [href^="/go/api/"]):hover {
    border-color: #142adc !important;
    background: #142adc !important;
    box-shadow: 0 14px 30px color-mix(in srgb, var(--primary) 30%, transparent) !important;
    transform: translateY(-2px);
}

.api-section {
    padding-top: 90px;
    border-top: 1px solid var(--line);
}

.api-section + .api-section {
    margin-top: 100px;
}

.api-section-title {
    max-width: 700px;
    margin-bottom: 45px;
}

.api-section-title .eyebrow {
    margin-bottom: 14px;
}

.api-section-title h2 {
    margin-bottom: 12px;
    font-size: 44px;
}

.api-pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.api-price-card {
    position: relative;
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
}

.api-price-card--featured {
    border-color: var(--primary);
    box-shadow: 0 18px 45px color-mix(in srgb, var(--primary) 12%, transparent);
}

.api-price-card__badge {
    position: absolute;
    top: -12px;
    left: 20px;
    padding: 5px 10px;
    border-radius: 999px;
    background: var(--primary);
    color: #fff;
    font-size: 8px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.api-price-card h3 {
    margin-bottom: 26px;
    font-size: 18px;
}

.api-price {
    margin-bottom: 25px;
    color: var(--ink);
    font-size: 32px;
    font-weight: 800;
    letter-spacing: -.05em;
}

.api-price small {
    margin-right: 2px;
    color: var(--muted);
    font-size: 14px;
    vertical-align: 9px;
}

.api-price span {
    color: var(--muted);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0;
}

.api-requests {
    display: flex;
    min-height: 60px;
    flex-direction: column;
    justify-content: center;
    margin-bottom: 24px;
    padding-block: 16px;
    border-block: 1px solid var(--line);
}

.api-requests span {
    color: var(--muted);
    font-size: 9px;
}

.api-requests strong {
    color: var(--ink);
    font-size: 14px;
}

.api-price-card > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--primary) !important;
    font-size: 11px;
    font-weight: 800;
    text-decoration: none;
}

.api-related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.api-related-card {
    display: flex;
    min-height: 300px;
    flex-direction: column;
    padding: 25px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    color: var(--ink) !important;
    text-decoration: none;
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.api-related-card:hover {
    box-shadow: var(--shadow-sm);
    transform: translateY(-4px);
}

.api-related-card img {
    width: calc(100% + 50px);
    max-width: none;
    height: 150px;
    margin: -25px -25px 23px;
    border-radius: var(--radius) var(--radius) 0 0;
    object-fit: cover;
}

.api-related-card > span {
    margin-bottom: 18px;
    color: var(--primary);
    font-family: "IBM Plex Mono", monospace;
    font-size: 9px;
    font-weight: 600;
    text-transform: uppercase;
}

.api-related-card h3 {
    margin-bottom: 12px;
    font-size: 20px;
}

.api-related-card p {
    margin-bottom: 22px;
    color: var(--muted);
    font-size: 12px;
}

.api-related-card b {
    margin-top: auto;
    color: var(--primary);
    font-size: 11px;
}

.api-inline-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    margin-top: 100px;
    padding: 38px 42px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--page-soft);
}

.api-inline-cta span {
    color: var(--primary);
    font-size: 10px;
    font-weight: 800;
}

.api-inline-cta h2 {
    margin: 5px 0 0;
    font-size: 30px;
}

/* Blog index */

.blog-hero-card ul {
    display: grid;
    gap: 13px;
    margin: 0;
    padding: 0;
    color: var(--ink-soft);
    font-size: 12px;
    list-style: none;
}

.blog-hero-card li {
    display: flex;
    align-items: center;
    gap: 11px;
    padding-top: 13px;
    border-top: 1px solid var(--line);
}

.blog-hero-card i {
    color: var(--primary);
    font-family: "IBM Plex Mono", monospace;
    font-size: 9px;
    font-style: normal;
}

.blog-listing {
    padding: 52px 0 112px;
    background: var(--page);
}

.category-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 48px;
}

.category-nav a {
    padding: 9px 14px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--surface);
    color: var(--muted) !important;
    font-size: 11px;
    font-weight: 700;
    text-decoration: none;
}

.category-nav a:hover,
.category-nav a.active {
    border-color: var(--primary);
    background: var(--primary-soft);
    color: var(--primary) !important;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.blog-card {
    display: flex;
    overflow: hidden;
    flex-direction: column;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.blog-card:hover {
    box-shadow: var(--shadow-sm);
    transform: translateY(-4px);
}

.blog-card__image {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    background: var(--surface-strong);
}

.blog-card__image.is-fallback {
    isolation: isolate;
    background:
        radial-gradient(circle at 76% 18%, rgba(50, 94, 255, .26), transparent 30%),
        linear-gradient(140deg, #0c172a 0%, #12233e 58%, #182b4a 100%);
}

.blog-card__image.is-fallback::before {
    position: absolute;
    inset: 0;
    z-index: -1;
    content: "";
    opacity: .36;
    background-image:
        linear-gradient(rgba(133, 158, 205, .18) 1px, transparent 1px),
        linear-gradient(90deg, rgba(133, 158, 205, .18) 1px, transparent 1px);
    background-size: 38px 38px;
    mask-image: linear-gradient(to bottom right, #000, transparent 76%);
}

.blog-card__image.is-fallback::after {
    position: absolute;
    top: 50%;
    left: 50%;
    content: "</>";
    color: rgba(255, 255, 255, .92);
    font-family: var(--font-mono);
    font-size: clamp(30px, 5vw, 58px);
    font-weight: 600;
    letter-spacing: -.08em;
    text-shadow: 0 0 36px rgba(78, 117, 255, .65);
    transform: translate(-50%, -50%);
}

.blog-card__image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 400ms ease;
}

.blog-card:hover .blog-card__image img {
    transform: scale(1.03);
}

.blog-card__image > span {
    position: absolute;
    bottom: 14px;
    left: 14px;
    padding: 6px 9px;
    border-radius: 7px;
    background: rgba(9, 16, 30, .82);
    color: #fff;
    font-size: 8px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}

.blog-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 25px;
}

.blog-card__meta {
    display: flex;
    gap: 14px;
    margin-bottom: 15px;
    color: var(--muted);
    font-family: "IBM Plex Mono", monospace;
    font-size: 8px;
}

.blog-card h2 {
    margin-bottom: 13px;
    font-size: 21px;
    line-height: 1.28;
}

.blog-card h2 a {
    color: var(--ink) !important;
    text-decoration: none;
}

.blog-card__excerpt {
    display: -webkit-box;
    margin-bottom: 22px;
    overflow: hidden;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.7;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.blog-card__excerpt > :last-child {
    margin-bottom: 0;
}

.blog-card__link {
    margin-top: auto;
}

.blog-card--featured {
    display: grid;
    grid-column: 1 / -1;
    grid-template-columns: 1.1fr .9fr;
}

.blog-card--featured .blog-card__image {
    min-height: 390px;
    aspect-ratio: auto;
}

.blog-card--featured .blog-card__body {
    justify-content: center;
    padding: clamp(35px, 5vw, 62px);
}

.blog-card--featured h2 {
    font-size: clamp(28px, 3vw, 40px);
}

/* Article */

.article-page {
    background: var(--page);
}

.article-hero {
    padding: 66px 0 74px;
    background: linear-gradient(180deg, var(--page-soft), var(--page));
}

.article-hero__inner {
    max-width: 940px;
}

.article-hero__category {
    display: inline-flex;
    margin-bottom: 20px;
    padding: 7px 11px;
    border-radius: 999px;
    background: var(--primary-soft);
    color: var(--primary) !important;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .07em;
    text-decoration: none;
    text-transform: uppercase;
}

.article-hero h1 {
    margin-bottom: 25px;
    font-size: clamp(42px, 6vw, 72px);
    line-height: 1.07;
}

.article-hero__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 24px;
    color: var(--muted);
    font-family: "IBM Plex Mono", monospace;
    font-size: 9px;
}

.article-hero__meta span + span {
    position: relative;
}

.article-hero__meta span + span::before {
    position: absolute;
    top: 50%;
    left: -13px;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: var(--red);
    content: "";
}

.article-cover {
    position: relative;
    z-index: 1;
    max-width: 1080px;
    margin-top: -10px;
}

.article-cover img {
    display: block;
    width: 100%;
    max-height: 570px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    object-fit: cover;
}

.article-layout {
    display: grid;
    grid-template-columns: minmax(0, 770px) minmax(250px, 1fr);
    gap: clamp(50px, 8vw, 100px);
    padding-top: 70px;
    padding-bottom: 112px;
}

.provider-box {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 32px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: var(--page-soft);
}

.provider-box__icon {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border-radius: 11px;
    background: var(--primary-soft);
    color: var(--primary);
    font-family: "IBM Plex Mono", monospace;
    font-size: 9px;
    font-weight: 600;
}

.provider-box > div {
    display: flex;
    flex-direction: column;
}

.provider-box > div > span {
    color: var(--muted);
    font-size: 9px;
}

.provider-box a {
    color: var(--primary) !important;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
}

.article-summary {
    margin-bottom: 35px;
    color: var(--ink-soft);
    font-size: 20px;
    font-weight: 500;
    line-height: 1.65;
}

.key-takeaways {
    margin: 42px 0;
    padding: 28px 32px;
    border: 1px solid color-mix(in srgb, var(--primary) 24%, var(--line));
    border-left: 4px solid var(--primary);
    border-radius: 0 var(--radius) var(--radius) 0;
    background: var(--primary-soft);
}

.key-takeaways > span,
.article-toc > span,
.post-tags > span {
    display: block;
    margin-bottom: 15px;
    color: var(--primary);
    font-family: "IBM Plex Mono", monospace;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.key-takeaways ul {
    margin: 0;
    padding-left: 20px;
}

.key-takeaways li {
    margin: 7px 0;
    color: var(--ink-soft);
}

.article-toc {
    margin: 42px 0;
    padding: 25px 28px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: var(--page-soft);
}

.article-toc ul {
    margin: 0;
    padding-left: 18px;
}

.article-toc a {
    color: var(--ink-soft) !important;
    font-size: 13px;
    text-decoration: none;
}

.article-toc a:hover {
    color: var(--primary) !important;
}

.article-body,
.post__content {
    color: var(--ink-soft);
    font-size: 16px;
    line-height: 1.85;
}

.article-body h2,
.article-body h3,
.article-body h4,
.post__content h2,
.post__content h3 {
    scroll-margin-top: 110px;
}

.article-body h2,
.post__content h2 {
    margin-top: 56px;
    margin-bottom: 20px;
    font-size: 34px;
    line-height: 1.2;
}

.article-body h3,
.post__content h3 {
    margin-top: 40px;
    margin-bottom: 16px;
    font-size: 25px;
}

.article-body a,
.post__content a {
    color: var(--primary) !important;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.article-body img,
.post__content img {
    height: auto;
    margin-block: 25px;
    border-radius: var(--radius-sm);
}

.article-body figure[hidden],
.article-cover[hidden],
.sidebar-post img[hidden] {
    display: none;
}

.article-body pre,
.post__content pre {
    overflow: auto;
    padding: 24px;
    border-radius: 14px;
    background: var(--code);
    color: #cbd5e1;
    font: 12px/1.8 "IBM Plex Mono", monospace;
}

.article-body :not(pre) > code,
.post__content :not(pre) > code {
    padding: 2px 6px;
    border-radius: 5px;
    background: var(--primary-soft);
    color: var(--primary);
    font-family: "IBM Plex Mono", monospace;
    font-size: .84em;
}

.article-body blockquote,
.post__content blockquote {
    margin: 35px 0;
    padding: 20px 26px;
    border-left: 3px solid var(--red);
    background: var(--page-soft);
    color: var(--ink);
    font-size: 18px;
    font-weight: 600;
}

.article-body table,
.post__content table {
    width: 100%;
    margin-block: 30px;
    border-collapse: collapse;
    font-size: 13px;
}

.article-body th,
.article-body td,
.post__content th,
.post__content td {
    padding: 12px;
    border: 1px solid var(--line);
}

.article-body th,
.post__content th {
    background: var(--page-soft);
    color: var(--ink);
    text-align: left;
}

.article-inline-cta {
    display: grid;
    margin: 45px 0;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 10px 30px;
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--page-soft);
}

.article-inline-cta > span {
    color: var(--muted);
    font-size: 10px;
}

.article-inline-cta > strong {
    color: var(--ink);
    font-size: 17px;
}

.article-inline-cta > a {
    grid-row: 1 / 3;
    grid-column: 2;
    color: var(--primary) !important;
    font-size: 12px;
    font-weight: 800;
}

.post-tags {
    margin-top: 55px;
    padding-top: 30px;
    border-top: 1px solid var(--line);
}

.post-tags > div {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.post-tags a {
    padding: 7px 10px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--muted) !important;
    font-size: 10px;
    text-decoration: none;
}

.article-end-cta {
    margin-top: 60px;
    padding: 35px;
    border-radius: var(--radius);
    background: var(--code);
    color: #cbd5e1;
}

.article-end-cta > div > span {
    color: #8290a7;
    font-size: 10px;
}

.article-end-cta h2 {
    margin: 7px 0 24px;
    color: #f8fafc;
    font-size: 29px;
}

.article-sidebar__inner {
    position: sticky;
    top: 110px;
}

.sidebar-post {
    display: grid;
    grid-template-columns: 68px 1fr;
    align-items: center;
    gap: 13px;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
    color: var(--ink) !important;
    text-decoration: none;
}

.sidebar-post img {
    width: 68px;
    height: 62px;
    border-radius: 10px;
    object-fit: cover;
}

.sidebar-post--no-image {
    grid-template-columns: 1fr;
}

.sidebar-post span {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 5px;
}

.sidebar-post strong {
    display: -webkit-box;
    overflow: hidden;
    color: var(--ink);
    font-size: 11px;
    line-height: 1.45;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.sidebar-post small {
    color: var(--muted);
    font-size: 8px;
}

.article-sidebar .text-link {
    margin-top: 20px;
}

/* Contact, FAQ, legal and generic content */

.contact-shell {
    padding: 80px 0 112px;
    background: linear-gradient(180deg, var(--page-soft), var(--page) 45%);
}

.contact-intro {
    max-width: 800px;
    margin-bottom: 50px;
}

.contact-intro h1 {
    margin-bottom: 20px;
    font-size: clamp(44px, 6vw, 70px);
    line-height: 1.05;
}

.contact-intro > p:last-child {
    max-width: 650px;
    color: var(--muted);
    font-size: 18px;
}

.contact-grid {
    display: grid;
    overflow: hidden;
    grid-template-columns: minmax(300px, .65fr) minmax(0, 1.35fr);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--surface);
    box-shadow: var(--shadow-sm);
}

.contact-panel {
    padding: clamp(35px, 5vw, 58px);
    background: var(--code);
    color: #aab7ca;
}

.contact-panel h2 {
    margin-bottom: 18px;
    color: #f8fafc;
    font-size: 35px;
}

.contact-panel p,
.contact-panel li {
    font-size: 13px;
}

.contact-panel ul {
    display: grid;
    gap: 8px;
    margin: 10px 0 35px;
    padding-left: 18px;
}

.contact-panel > a {
    color: #8eaaff !important;
    font-weight: 800;
}

.contact-form {
    padding: clamp(35px, 5vw, 58px);
}

.contact-form .form-label {
    margin-bottom: 7px;
    color: var(--ink);
    font-size: 11px;
    font-weight: 800;
}

.contact-form .form-control,
.contact-form .form-select {
    min-height: 49px;
    border-color: var(--line);
    border-radius: 10px;
    background-color: var(--page-soft);
    color: var(--ink);
    font-size: 13px;
}

.contact-form textarea.form-control {
    min-height: 160px;
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 12%, transparent);
}

.contact-form .form-text,
.contact-form .form-check-label {
    color: var(--muted);
    font-size: 10px;
}

.contact-form .form-check-label a {
    color: var(--primary) !important;
}

.success-box {
    padding: 12px 14px;
    border: 1px solid color-mix(in srgb, var(--success) 30%, var(--line));
    border-radius: 10px;
    background: color-mix(in srgb, var(--success) 8%, var(--surface));
    color: var(--success);
    font-size: 12px;
}

.api-detail-hero {
    padding: 75px 0;
    border-bottom: 1px solid var(--line);
    background: linear-gradient(180deg, var(--page-soft), var(--page));
}

.api-detail-hero h1 {
    max-width: 800px;
    margin-bottom: 20px;
    font-size: clamp(42px, 5vw, 64px);
    line-height: 1.08;
}

.api-detail-hero .api-lead {
    margin-bottom: 0;
}

.api-faq details {
    border-top: 1px solid var(--line);
}

.api-faq details:last-child {
    border-bottom: 1px solid var(--line);
}

.api-faq summary {
    position: relative;
    padding: 22px 42px 22px 0;
    color: var(--ink);
    font-size: 15px;
    font-weight: 800;
    cursor: pointer;
    list-style: none;
}

.api-faq summary::-webkit-details-marker {
    display: none;
}

.api-faq summary::after {
    position: absolute;
    top: 19px;
    right: 8px;
    color: var(--primary);
    content: "+";
    font-size: 22px;
    font-weight: 500;
}

.api-faq details[open] summary::after {
    content: "−";
}

.api-faq details > div {
    max-width: 800px;
    padding: 0 0 24px;
    color: var(--muted);
    font-size: 14px;
}

.api-faq a {
    color: var(--primary) !important;
}

.section.layout_padding {
    min-height: 60vh;
    padding: 80px 0 112px !important;
    background: var(--page);
}

.section.layout_padding > .container {
    max-width: 920px;
}

.post {
    border: 0;
    background: transparent;
}

.post__body {
    padding: 0;
}

.post__title {
    margin-bottom: 20px;
    color: var(--ink) !important;
    font-size: clamp(40px, 5vw, 60px) !important;
}

.post__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 22px;
    margin-bottom: 42px;
    color: var(--muted);
    font-family: "IBM Plex Mono", monospace;
    font-size: 9px;
}

.post__content {
    max-width: 820px;
}

.post__content > h2:first-child {
    margin-top: 0;
}

/* Footer and cookie banner */

.site-footer {
    padding: 78px 0 24px;
    border-top: 1px solid #263349;
    background: #0c1527;
    color: #98a6ba;
}

.site-footer .brand__name strong,
.site-footer .brand__name small {
    color: #f8fafc;
}

.site-footer__lead {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: end;
    gap: 60px;
    padding-bottom: 55px;
    border-bottom: 1px solid #263349;
}

.site-footer__lead > div:first-child > p {
    max-width: 480px;
    margin: 18px 0 0;
    color: #7e8ca2;
    font-size: 13px;
}

.site-footer__prompt {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.site-footer__prompt > span {
    margin-bottom: 8px;
    color: #75849a;
    font-size: 10px;
}

.site-footer__prompt a {
    color: #f8fafc !important;
    font-size: 16px;
    font-weight: 800;
    text-decoration: none;
}

.site-footer__links {
    display: grid;
    max-width: 680px;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
    padding: 50px 0;
}

.site-footer__links > div {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.site-footer__links span {
    margin-bottom: 8px;
    color: #f8fafc;
    font-size: 11px;
    font-weight: 800;
}

.site-footer__links a {
    color: #7e8ca2 !important;
    font-size: 11px;
    text-decoration: none;
}

.site-footer__links a:hover {
    color: #fff !important;
}

.site-footer__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 21px;
    border-top: 1px solid #263349;
    color: #637188;
    font-size: 9px;
}

.site-status {
    display: flex;
    align-items: center;
    gap: 8px;
}

.site-status i {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #41d99a;
    box-shadow: 0 0 0 4px rgba(65,217,154,.1);
}

.cookie-banner {
    position: fixed;
    z-index: 2000;
    right: 20px;
    bottom: 20px;
    display: none;
    width: min(390px, calc(100% - 40px));
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--surface);
    box-shadow: var(--shadow-lg);
}

.cookie-banner p {
    margin-bottom: 14px;
    color: var(--muted);
    font-size: 11px;
}

.cookie-banner p a {
    color: var(--primary) !important;
}

.cookie-banner > div {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
}

.cookie-banner button {
    padding: 8px 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
    color: var(--ink);
    font-size: 10px;
    font-weight: 800;
    cursor: pointer;
}

#cookie-accept {
    border-color: var(--primary);
    background: var(--primary);
    color: #fff;
}

/* Legibility pass: keep supporting copy and technical labels comfortably readable. */

.button--small {
    font-size: 14px;
}

.eyebrow {
    font-size: 12px;
}

.site-nav__apis small {
    font-size: 10px;
}

.hero__proof,
.trust-bar p,
.trust-bar span {
    font-size: 14px;
}

.hero-product__orbit,
.api-window__bar code,
.api-window__bar b,
.api-window__request code,
.api-window__request b,
.api-window__rail,
.api-window__footer {
    font-size: 11px;
}

.api-window__bar,
.api-window__request span {
    font-size: 12px;
}

.api-window pre,
.api-schema-preview pre {
    font-size: 13px;
}

.api-home-card__status,
.catalog-card__status {
    font-size: 12px;
}

.api-home-card__route,
.catalog-card__route,
.use-case > span {
    font-size: 11px;
}

.api-home-card p,
.catalog-card p,
.process article p,
.use-case p {
    font-size: 15px;
}

.api-home-card__link,
.catalog-card__link {
    font-size: 14px;
}

.process article code {
    padding: 12px 14px;
    font-size: 12px;
    line-height: 1.45;
}

.site-footer__links span,
.site-footer__links a,
.site-footer__bottom,
.cookie-banner p,
.cookie-banner button {
    font-size: 12px;
}

@media (max-width: 1050px) {
    .site-header__inner {
        grid-template-columns: auto 1fr;
    }

    .site-header__actions {
        justify-self: end;
    }

    .nav-toggle {
        display: grid;
    }

    .site-nav {
        position: absolute;
        top: calc(100% + 1px);
        right: 20px;
        left: 20px;
        display: none;
        padding: 14px;
        border: 1px solid var(--line);
        border-radius: 14px;
        background: var(--surface);
        box-shadow: var(--shadow-lg);
    }

    .site-nav.is-open {
        display: grid;
    }

    .site-nav a {
        padding: 11px 12px;
        border-radius: 8px;
    }

    .site-nav a.site-nav__apis {
        width: 100%;
        min-height: 54px;
        padding: 9px 12px;
    }

    .site-nav__apis > b {
        margin-left: auto;
    }

    .site-nav a:hover {
        background: var(--page-soft);
    }

    .site-nav a::after {
        display: none;
    }

    .hero__grid,
    .page-hero__grid,
    .api-title-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .hero__copy {
        max-width: 800px;
    }

    .hero-product {
        width: min(100%, 620px);
        margin-inline: auto;
    }

    .api-home-grid,
    .catalog-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .api-pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .use-cases__grid {
        gap: 55px;
    }

    .article-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .article-sidebar__inner {
        position: static;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 0 24px;
    }

    .article-sidebar .eyebrow,
    .article-sidebar .text-link {
        grid-column: 1 / -1;
    }
}

@media (max-width: 760px) {
    .shell {
        width: min(calc(100% - 28px), var(--shell));
    }

    .site-header__inner {
        min-height: 68px;
        gap: 12px;
    }

    .brand__mark {
        width: 38px;
        height: 38px;
        flex-basis: 38px;
    }

    .brand__mark img {
        width: 38px;
        height: 38px;
    }

    .brand__name {
        font-size: 15px;
    }

    .brand__name small {
        font-size: 10px;
    }

    .site-header__cta {
        display: none;
    }

    .hero {
        padding: 74px 0 82px;
    }

    .hero__grid {
        gap: 50px;
    }

    .hero h1 {
        font-size: clamp(42px, 13vw, 58px);
    }

    .hero__lead,
    .page-hero__lead {
        font-size: 16px;
    }

    .hero__actions,
    .home-cta__actions {
        align-items: stretch;
        flex-direction: column;
    }

    .hero__actions .button,
    .home-cta__actions .button {
        width: 100%;
    }

    .hero-product::before,
    .hero-product__orbit {
        display: none;
    }

    .api-window__body {
        min-height: 255px;
    }

    .api-window pre {
        font-size: 9px;
    }

    .trust-bar__inner {
        align-items: flex-start;
        flex-direction: column;
        gap: 14px;
        padding-block: 25px;
    }

    .trust-bar__inner > div {
        justify-content: flex-start;
        flex-wrap: wrap;
        gap: 10px 20px;
    }

    .trust-bar span + span::before {
        display: none;
    }

    .home-section,
    .catalog,
    .api-article-shell,
    .blog-listing {
        padding-block: 78px;
    }

    .section-heading--split {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .section-heading h2,
    .api-section-title h2 {
        font-size: 37px;
    }

    .api-home-grid,
    .catalog-grid,
    .process__grid,
    .use-cases__grid,
    .use-cases__board,
    .api-related-grid,
    .blog-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .api-home-card,
    .catalog-card {
        min-height: 285px;
    }

    .process__grid::before {
        display: none;
    }

    .use-cases .section-heading {
        position: static;
    }

    .use-case--wide {
        grid-column: auto;
        padding-right: 30px;
    }

    .signal-lines {
        display: none;
    }

    .home-cta {
        padding-bottom: 78px;
    }

    .home-cta__inner,
    .api-inline-cta,
    .site-footer__lead {
        align-items: flex-start;
        flex-direction: column;
    }

    .home-cta__inner {
        display: flex;
        padding: 36px 28px;
    }

    .page-hero {
        padding: 50px 0 68px;
    }

    .page-hero h1,
    .api-title-copy h1 {
        font-size: clamp(40px, 12vw, 58px);
    }

    .breadcrumb-nav {
        margin-bottom: 28px;
    }

    .catalog-toolbar {
        align-items: flex-start;
        flex-direction: column;
    }

    .custom-api-cta {
        grid-template-columns: 1fr;
        padding: 38px 26px;
    }

    .api-pricing-grid {
        grid-template-columns: 1fr;
    }

    .api-section + .api-section {
        margin-top: 75px;
    }

    .blog-card--featured {
        display: flex;
        grid-column: auto;
    }

    .blog-card--featured .blog-card__image {
        min-height: 0;
        aspect-ratio: 16 / 10;
    }

    .blog-card--featured .blog-card__body {
        padding: 25px;
    }

    .article-hero {
        padding: 48px 0 58px;
    }

    .article-cover img {
        border-radius: var(--radius);
    }

    .article-layout {
        padding-top: 50px;
        padding-bottom: 80px;
    }

    .article-inline-cta {
        display: flex;
        align-items: flex-start;
        flex-direction: column;
    }

    .article-sidebar__inner {
        grid-template-columns: 1fr;
    }

    .contact-shell {
        padding: 60px 0 80px;
    }

    .contact-intro h1 {
        font-size: 43px;
    }

    .contact-panel,
    .contact-form {
        padding: 30px 24px;
    }

    .site-footer {
        padding-top: 58px;
    }

    .site-footer__lead {
        display: flex;
        gap: 30px;
    }

    .site-footer__prompt {
        align-items: flex-start;
    }

    .site-footer__links {
        grid-template-columns: repeat(2, 1fr);
        gap: 38px 30px;
    }
}

@media (max-width: 450px) {
    .theme-toggle {
        display: none;
    }

    .hero h1 {
        font-size: 40px;
    }

    .api-window__request code {
        max-width: 180px;
    }

    .api-window__footer span:last-child {
        display: none;
    }

    .catalog-empty {
        padding: 38px 22px;
    }

    .site-footer__links {
        grid-template-columns: 1fr;
    }

    .site-footer__bottom {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
    }
}

/* ==========================================================================
   Extraction Room — public-site visual system
   ========================================================================== */

:root {
    --page: #f4f6ff;
    --page-soft: #e9edff;
    --surface: #ffffff;
    --surface-strong: #dce3ff;
    --ink: #10142d;
    --ink-soft: #272d50;
    --muted: #626b8d;
    --line: #bec6e5;
    --line-strong: #10142d;
    --primary: #3047ff;
    --primary-dark: #142adc;
    --primary-soft: #dfe5ff;
    --red: #ff5a1f;
    --red-soft: #fff0e9;
    --success: #00a978;
    --navy: #10142d;
    --code: #10142d;
    --code-line: #353c66;
    --capture: #ff5a1f;
    --decoder: #bfffe0;
    --violet: #8c72ff;
    --hard-shadow: #10142d;
    --shadow-sm: 6px 6px 0 rgba(16, 20, 45, .12);
    --shadow-lg: 14px 14px 0 rgba(16, 20, 45, .16);
    --radius-sm: 8px;
    --radius: 12px;
    --radius-lg: 18px;
}

html[data-theme="dark"] {
    --page: #0c1024;
    --page-soft: #111733;
    --surface: #171d3b;
    --surface-strong: #20284d;
    --ink: #f5f6ff;
    --ink-soft: #d8dcf2;
    --muted: #9ba5ca;
    --line: #3b456e;
    --line-strong: #eef0ff;
    --primary: #8794ff;
    --primary-dark: #a7b0ff;
    --primary-soft: #222c60;
    --red: #ff6a35;
    --red-soft: #3a2130;
    --success: #45d9a5;
    --code: #090c1c;
    --code-line: #303960;
    --capture: #ff6a35;
    --decoder: #79e9b8;
    --hard-shadow: #02030a;
    --shadow-sm: 6px 6px 0 rgba(0, 0, 0, .35);
    --shadow-lg: 14px 14px 0 rgba(0, 0, 0, .45);
}

body.scrape-site {
    background-color: var(--page);
}

body.scrape-site h1,
body.scrape-site h2,
body.scrape-site h3,
body.scrape-site h4 {
    font-family: "Bricolage Grotesque", "Manrope", sans-serif;
    font-variation-settings: "wdth" 86;
    letter-spacing: -.055em;
}

.site-header {
    border-bottom: 2px solid var(--line-strong);
    background: color-mix(in srgb, var(--page) 94%, transparent);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
}

.site-header__inner {
    min-height: 82px;
}

.brand__mark {
    border: 2px solid var(--line-strong);
    border-radius: 8px;
    background: #f7f8ff;
    box-shadow: 3px 3px 0 var(--capture);
}

.brand__name {
    font-family: "Bricolage Grotesque", sans-serif;
    font-size: 20px;
    font-variation-settings: "wdth" 88;
    letter-spacing: -.055em;
}

.brand__name b,
.brand__name strong {
    font-weight: 800;
}

.site-nav a {
    font-weight: 800;
}

.site-nav a:hover {
    background: var(--decoder);
    color: #10142d !important;
}

.site-nav a.site-nav__apis {
    border: 2px solid var(--line-strong);
    border-radius: 8px;
    background: var(--capture);
    box-shadow: 4px 4px 0 var(--hard-shadow);
    color: #10142d !important;
}

.site-nav a.site-nav__apis:hover {
    border-color: var(--line-strong);
    background: var(--capture);
    box-shadow: 2px 2px 0 var(--hard-shadow);
    transform: translate(2px, 2px);
}

.site-nav__apis > i {
    background: #10142d;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, .45);
}

.site-nav__apis small,
.site-nav__apis > b {
    color: #10142d;
}

.theme-toggle,
.nav-toggle {
    border: 2px solid var(--line-strong);
    border-radius: 7px;
    box-shadow: 3px 3px 0 color-mix(in srgb, var(--hard-shadow) 25%, transparent);
}

.button {
    border: 2px solid var(--line-strong);
    border-radius: 7px;
    background: #3047ff;
    box-shadow: 5px 5px 0 var(--hard-shadow);
    color: #fff !important;
}

.button:hover {
    border-color: var(--line-strong);
    background: #142adc;
    box-shadow: 2px 2px 0 var(--hard-shadow);
    transform: translate(3px, 3px);
}

.button--ghost {
    border-color: var(--line-strong);
    background: var(--surface);
    color: var(--ink) !important;
}

.button--ghost:hover {
    border-color: var(--line-strong);
    background: var(--decoder);
    color: #10142d !important;
}

.eyebrow {
    color: var(--primary);
    letter-spacing: .16em;
}

.eyebrow > span {
    width: 30px;
    height: 7px;
    border: 2px solid var(--line-strong);
    border-radius: 0;
    background: var(--capture);
    box-shadow: 3px 3px 0 var(--hard-shadow);
}

.hero {
    padding: 96px 0 0;
    border-bottom: 0;
    background:
        linear-gradient(90deg, color-mix(in srgb, var(--line) 38%, transparent) 1px, transparent 1px),
        linear-gradient(color-mix(in srgb, var(--line) 38%, transparent) 1px, transparent 1px),
        var(--page);
    background-size: 38px 38px;
}

.hero::before {
    position: absolute;
    top: 70px;
    right: -90px;
    width: 280px;
    height: 90px;
    border: 2px solid var(--line-strong);
    background: var(--decoder);
    content: "LIVE DATA / NO HTML PARSING";
    color: #10142d;
    font: 700 11px/86px "IBM Plex Mono", monospace;
    letter-spacing: .1em;
    text-align: center;
    transform: rotate(8deg);
}

.hero__glow {
    display: none;
}

.hero__grid {
    position: relative;
    z-index: 1;
    min-height: 620px;
    align-items: center;
    gap: clamp(70px, 8vw, 115px);
}

.hero__copy {
    position: relative;
}

.hero__copy::before {
    position: absolute;
    top: -26px;
    left: -24px;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--capture);
    box-shadow: 0 26px 0 var(--primary), 0 52px 0 var(--success);
    content: "";
}

.hero h1 {
    max-width: 720px;
    font-size: clamp(58px, 7vw, 92px);
    font-variation-settings: "wdth" 78;
    line-height: .91;
}

.hero h1 em {
    display: inline;
    padding: 0 .09em .04em;
    background: var(--capture);
    box-decoration-break: clone;
    color: #10142d;
    font-style: normal;
    -webkit-box-decoration-break: clone;
}

.hero h1 em::after {
    display: none;
}

.hero__lead {
    max-width: 680px;
    color: var(--ink-soft);
    font-size: 19px;
}

.hero__proof {
    color: var(--ink);
    font-family: "IBM Plex Mono", monospace;
    font-size: 12px;
}

.hero__proof span {
    padding: 5px 8px;
    border: 1px solid var(--line-strong);
    background: var(--surface);
}

.hero__proof i {
    border-radius: 0;
    background: var(--success);
    box-shadow: none;
}

.hero-product {
    transform: rotate(1.1deg);
}

.hero-product::before {
    inset: -24px 18px 8px -24px;
    border: 2px dashed var(--primary);
    border-radius: 4px;
    transform: rotate(-2.4deg);
}

.hero-product::after {
    inset: 26px -20px -20px 28px;
    border: 2px solid var(--line-strong);
    border-radius: 4px;
    background: var(--capture);
    filter: none;
}

.api-window,
.api-schema-preview {
    border: 2px solid var(--line-strong);
    border-radius: 6px;
    box-shadow: 10px 10px 0 var(--hard-shadow);
}

.hero-product__orbit {
    border: 2px solid var(--line-strong);
    border-radius: 4px;
    box-shadow: 4px 4px 0 var(--hard-shadow);
    color: var(--ink);
}

.hero-product__orbit--top {
    background: var(--decoder);
    color: #10142d;
}

.hero-product__orbit--bottom {
    background: var(--capture);
    color: #10142d;
}

.hero-trace {
    position: relative;
    z-index: 2;
    display: grid;
    min-height: 68px;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    align-items: center;
    margin-top: 76px;
    border: 2px solid var(--line-strong);
    border-bottom: 0;
    background: var(--surface);
    box-shadow: 8px 0 0 var(--capture);
    color: var(--ink);
    font: 600 12px/1.2 "IBM Plex Mono", monospace;
}

.hero-trace span {
    padding: 18px 22px;
}

.hero-trace b {
    margin-right: 10px;
    color: var(--primary);
}

.hero-trace i {
    color: var(--capture);
    font-size: 24px;
    font-style: normal;
}

.trust-bar {
    border-block: 2px solid var(--line-strong);
    background: var(--ink);
}

.trust-bar p {
    color: var(--capture);
    font-family: "IBM Plex Mono", monospace;
    text-transform: uppercase;
}

.trust-bar span {
    color: var(--page);
}

.home-section {
    position: relative;
}

.home-section--apis {
    background:
        linear-gradient(135deg, transparent 75%, color-mix(in srgb, var(--primary) 8%, transparent) 75%),
        var(--page);
    background-size: 32px 32px;
}

.section-heading h2,
.catalog-toolbar h2,
.api-section-title h2,
.home-cta h2 {
    font-variation-settings: "wdth" 80;
}

.api-home-card,
.catalog-card {
    border: 2px solid var(--line-strong);
    border-radius: 8px;
    box-shadow: 6px 6px 0 var(--card-accent);
}

.api-home-card:hover,
.catalog-card:hover {
    border-color: var(--line-strong);
    box-shadow: 10px 10px 0 var(--card-accent);
    transform: translate(-4px, -4px);
}

.api-home-card__icon,
.catalog-card__icon {
    border: 1px solid var(--line-strong);
    border-radius: 5px;
}

.api-home-card__status,
.catalog-card__status {
    padding: 4px 7px;
    border: 1px solid var(--line);
    background: var(--page-soft);
    font-family: "IBM Plex Mono", monospace;
}

.api-home-card__route,
.catalog-card__route {
    display: inline-block;
    width: fit-content;
    padding: 4px 7px;
    background: var(--card-tint);
}

.process {
    border-block: 2px solid var(--line-strong);
    background: var(--surface-strong);
}

.process__grid {
    gap: 22px;
}

.process__grid::before {
    top: 38px;
    height: 3px;
    background: var(--line-strong);
}

.process article {
    padding: 24px;
    border: 2px solid var(--line-strong);
    border-radius: 8px;
    background: var(--surface);
    box-shadow: 6px 6px 0 var(--hard-shadow);
}

.process article:nth-child(2) {
    transform: translateY(24px);
}

.process__number {
    color: var(--ink);
    background: var(--capture);
    box-shadow: 3px 3px 0 var(--hard-shadow);
}

.process__icon {
    border: 2px solid var(--line-strong);
    border-radius: 5px;
    background: var(--decoder);
    color: #10142d;
}

.process article code {
    border: 1px solid var(--line-strong);
    border-radius: 4px;
    background: var(--page-soft);
}

.use-case {
    border: 2px solid var(--line-strong);
    border-radius: 8px;
    box-shadow: 7px 7px 0 var(--primary);
}

.use-case--wide {
    background: var(--decoder);
}

.use-case--dark {
    border-color: var(--line-strong);
    background: var(--ink);
    box-shadow: 7px 7px 0 var(--capture);
}

.use-case > span {
    display: inline-block;
    width: fit-content;
    padding: 5px 8px;
    border: 1px solid currentColor;
    background: var(--surface);
}

.use-case--dark > span {
    background: transparent;
}

.home-cta {
    background: var(--page);
}

.home-cta__inner {
    border: 2px solid var(--line-strong);
    border-radius: 10px;
    background: #3047ff;
    box-shadow: 12px 12px 0 var(--capture);
}

body.scrape-site .home-cta h2,
.home-cta__inner > div:first-child > p:last-child {
    color: #fff;
}

.home-cta__inner::after {
    border: 2px solid rgba(255, 255, 255, .65);
    background:
        repeating-linear-gradient(90deg, transparent 0 12px, rgba(255, 255, 255, .16) 12px 14px);
}

.page-hero {
    border-bottom: 2px solid var(--line-strong);
    background:
        linear-gradient(90deg, color-mix(in srgb, var(--line) 35%, transparent) 1px, transparent 1px),
        linear-gradient(color-mix(in srgb, var(--line) 35%, transparent) 1px, transparent 1px),
        var(--page-soft);
    background-size: 38px 38px;
}

.page-hero::before {
    height: 9px;
    background: repeating-linear-gradient(90deg, var(--primary) 0 36px, var(--capture) 36px 72px, var(--decoder) 72px 108px);
    opacity: 1;
}

.page-hero__glow {
    display: none;
}

.breadcrumb-nav,
.api-route,
.api-availability {
    font-family: "IBM Plex Mono", monospace;
}

.api-availability {
    border: 2px solid var(--line-strong);
    border-radius: 4px;
    background: var(--decoder);
    color: #10142d;
    box-shadow: 4px 4px 0 var(--hard-shadow);
}

.api-featured-image {
    border: 2px solid var(--line-strong);
    border-radius: 8px;
    box-shadow: 10px 10px 0 var(--capture);
}

.catalog-search-card,
.catalog-empty,
.contact-panel,
.contact-form,
.faq-list details {
    border: 2px solid var(--line-strong);
    border-radius: 8px;
    box-shadow: 6px 6px 0 color-mix(in srgb, var(--hard-shadow) 18%, transparent);
}

.catalog {
    background: var(--page);
}

.api-price-card,
.api-related-card,
.api-inline-cta {
    border: 2px solid var(--line-strong);
    border-radius: 8px;
}

.api-price-card--featured {
    box-shadow: 7px 7px 0 var(--primary);
}

.api-prose pre {
    border: 2px solid var(--line-strong);
    border-radius: 6px;
    box-shadow: 7px 7px 0 var(--capture);
}

.blog-card,
.article-summary,
.article-inline-cta {
    border-width: 2px;
    border-color: var(--line-strong);
    border-radius: 8px;
}

.blog-card {
    box-shadow: 6px 6px 0 var(--primary);
}

.site-footer {
    border-top: 10px solid var(--capture);
    background: #0c1024;
}

.site-footer__prompt {
    box-sizing: border-box;
    width: min(420px, 100%);
    padding: 16px 20px 18px;
    border: 1px solid #4b557f;
    border-radius: 6px;
    background: #131a38;
    box-shadow: 5px 5px 0 #3047ff;
}

.site-footer__prompt > span {
    margin-bottom: 10px;
}

.site-footer__prompt a {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

@media (max-width: 1050px) {
    .site-nav {
        border: 2px solid var(--line-strong);
        border-radius: 8px;
        box-shadow: 7px 7px 0 var(--hard-shadow);
    }

    .hero__grid {
        min-height: auto;
    }

    .hero-product {
        width: min(100%, 680px);
        margin-inline: auto;
    }

    .hero-trace {
        margin-top: 88px;
    }

    .process article:nth-child(2) {
        transform: none;
    }
}

@media (max-width: 760px) {
    .hero {
        padding-top: 70px;
    }

    .hero::before {
        display: none;
    }

    .hero h1 {
        font-size: clamp(46px, 14vw, 66px);
    }

    .hero__copy::before {
        display: none;
    }

    .hero-product {
        transform: none;
    }

    .hero-trace {
        grid-template-columns: 1fr;
        margin-top: 72px;
        padding: 8px 0;
        border-bottom: 2px solid var(--line-strong);
    }

    .hero-trace span {
        padding: 9px 16px;
    }

    .hero-trace i {
        display: none;
    }

    .trust-bar__inner,
    .trust-bar__inner > div {
        align-items: flex-start;
        flex-direction: column;
    }

    .trust-bar__inner {
        padding-block: 24px;
    }

    .trust-bar__inner > div {
        gap: 9px;
    }

    .trust-bar span + span::before {
        display: none;
    }

    .process article,
    .api-home-card,
    .catalog-card,
    .use-case {
        box-shadow: 4px 4px 0 var(--hard-shadow);
    }

    .home-cta__inner {
        box-shadow: 7px 7px 0 var(--capture);
    }
}

/* Hero restraint pass — one signature, quieter supporting elements. */

.eyebrow > span {
    width: 24px;
    height: 3px;
    border: 0;
    border-radius: 2px;
    background: var(--capture);
    box-shadow: none;
}

.hero {
    padding-top: 92px;
    background:
        linear-gradient(90deg, color-mix(in srgb, var(--line) 16%, transparent) 1px, transparent 1px),
        linear-gradient(color-mix(in srgb, var(--line) 16%, transparent) 1px, transparent 1px),
        radial-gradient(circle at 18% 24%, var(--surface) 0, transparent 44%),
        var(--page);
    background-size: 56px 56px, 56px 56px, auto, auto;
}

.hero::before,
.hero__copy::before {
    display: none;
}

.hero__grid {
    min-height: 580px;
    gap: clamp(60px, 7vw, 96px);
}

.hero h1 {
    max-width: 660px;
    font-size: clamp(54px, 5.7vw, 78px);
    font-variation-settings: "wdth" 90;
    line-height: .98;
}

.hero h1 em {
    position: relative;
    padding: 0;
    background: transparent;
    color: var(--capture);
}

.hero h1 em::after {
    position: absolute;
    right: 2px;
    bottom: -5px;
    left: 2px;
    display: block;
    height: 4px;
    border-radius: 4px;
    background: var(--capture);
    content: "";
    opacity: .75;
    transform: none;
}

.hero-product {
    transform: none;
}

.hero-product::before {
    inset: -18px 12px 12px -18px;
    border: 1px dashed color-mix(in srgb, var(--primary) 55%, transparent);
    border-radius: 10px;
    opacity: .65;
    transform: none;
}

.hero-product::after {
    inset: 16px -14px -14px 18px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: color-mix(in srgb, var(--primary) 8%, var(--surface));
}

.api-window,
.api-schema-preview {
    border-width: 1px;
    border-radius: 10px;
    box-shadow: 8px 8px 0 color-mix(in srgb, var(--hard-shadow) 18%, transparent);
}

.hero-product__orbit {
    border-width: 1px;
    border-radius: 6px;
    box-shadow: 0 4px 14px color-mix(in srgb, var(--hard-shadow) 12%, transparent);
}

.hero-trace {
    min-height: 62px;
    margin-top: 64px;
    border-width: 1px;
    border-color: var(--line);
    background: color-mix(in srgb, var(--surface) 92%, var(--primary-soft));
    box-shadow: none;
    font-size: 11px;
}

.hero-trace i {
    color: var(--muted);
    font-size: 18px;
}

@media (max-width: 760px) {
    .hero {
        padding-top: 68px;
        background-size: 44px 44px, 44px 44px, auto, auto;
    }

    .hero h1 {
        font-size: clamp(44px, 12.5vw, 60px);
        line-height: 1;
    }

    .hero-trace {
        margin-top: 68px;
    }
}

/* API source imagery — subtle pixel-buffer treatment. */

.api-featured-image {
    isolation: isolate;
    border-radius: 2px;
    clip-path: polygon(
        0 7px,
        7px 7px,
        7px 0,
        calc(100% - 7px) 0,
        calc(100% - 7px) 7px,
        100% 7px,
        100% calc(100% - 7px),
        calc(100% - 7px) calc(100% - 7px),
        calc(100% - 7px) 100%,
        7px 100%,
        7px calc(100% - 7px),
        0 calc(100% - 7px)
    );
}

.api-featured-image img,
.api-prose img {
    image-rendering: pixelated;
    filter: none;
}

.api-featured-image::after {
    display: none;
}

.api-featured-image figcaption {
    z-index: 2;
    border-radius: 2px;
}

.api-prose img {
    display: block;
    width: auto;
    max-width: 100%;
    margin-block: 32px;
    border: 1px solid var(--line-strong);
    border-radius: 2px;
    box-shadow: 6px 6px 0 color-mix(in srgb, var(--primary) 22%, transparent);
}

.api-featured-image img.is-pixel-art,
.api-prose img.is-pixel-art {
    image-rendering: crisp-edges;
    image-rendering: pixelated;
}

/* Live API navigation status. */

.site-nav a.site-nav__apis {
    border-color: #082f24;
    background: #bfffe0;
    color: #063b2c !important;
}

.site-nav a.site-nav__apis:hover {
    border-color: #082f24;
    background: #a9f4ce;
    color: #063b2c !important;
}

.site-nav__apis small {
    color: #0b5b41;
}

.site-nav__apis > b {
    color: #063b2c;
}

.site-nav__apis > i {
    border: 2px solid #0b5b41;
    background: #32d88a;
    box-shadow: 0 0 0 0 rgba(11, 122, 85, .45);
    animation: api-live-pulse 1.8s ease-out infinite;
}

@keyframes api-live-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(11, 122, 85, .5);
    }

    70% {
        box-shadow: 0 0 0 8px rgba(11, 122, 85, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(11, 122, 85, 0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .site-nav__apis > i {
        animation: none;
        box-shadow: 0 0 0 4px rgba(86, 243, 155, .18);
    }
}

/* Queue-backed scraping infrastructure diagram. */

.infrastructure {
    border-bottom: 2px solid var(--line-strong);
    background:
        radial-gradient(circle at 82% 12%, color-mix(in srgb, var(--decoder) 35%, transparent), transparent 28%),
        var(--page);
}

.infrastructure__heading {
    margin-bottom: 54px;
}

.infrastructure-map {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 46px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.infrastructure-node {
    position: relative;
    min-height: 318px;
    padding: 20px;
    border: 2px solid var(--line-strong);
    border-radius: 8px;
    background: var(--surface);
    box-shadow: 5px 5px 0 color-mix(in srgb, var(--hard-shadow) 14%, transparent);
}

.infrastructure-node:not(:last-child)::after {
    position: absolute;
    z-index: 3;
    top: calc(50% - 15px);
    right: -40px;
    width: 34px;
    height: 30px;
    background: var(--page);
    color: var(--primary);
    content: "\2192";
    font: 800 22px/30px "IBM Plex Mono", monospace;
    pointer-events: none;
    text-align: center;
}

.infrastructure-node:not(:last-child)::before {
    position: absolute;
    z-index: 4;
    top: calc(50% - 3px);
    right: -25px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--capture);
    content: "";
    animation: infrastructure-packet 1.8s ease-in-out infinite;
    pointer-events: none;
}

.infrastructure-node:nth-child(2)::before {
    animation-delay: .25s;
}

.infrastructure-node:nth-child(3)::before {
    animation-delay: .5s;
}

.infrastructure-node:nth-child(4)::before {
    animation-delay: .75s;
}

@keyframes infrastructure-packet {
    0%,
    20% {
        opacity: 0;
        transform: translateX(-14px) scale(.7);
    }

    45% {
        opacity: 1;
    }

    80%,
    100% {
        opacity: 0;
        transform: translateX(16px) scale(1);
    }
}

.infrastructure-node__index {
    display: block;
    margin-bottom: 28px;
    color: var(--muted);
    font: 600 10px/1 "IBM Plex Mono", monospace;
    letter-spacing: .08em;
}

body.scrape-site .infrastructure-node h3 {
    margin: 32px 0 9px;
    font-size: 22px;
}

.infrastructure-node p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.55;
}

.infrastructure-request {
    display: flex;
    min-height: 72px;
    align-items: center;
    gap: 9px;
    padding: 12px;
    border: 1px solid var(--line-strong);
    border-radius: 5px;
    background: var(--page-soft);
}

.infrastructure-request b {
    padding: 5px 7px;
    border: 1px solid #0b5b41;
    border-radius: 3px;
    background: #bfffe0;
    color: #063b2c;
    font: 700 11px/1 "IBM Plex Mono", monospace;
}

.infrastructure-request code {
    overflow: hidden;
    color: var(--ink-soft);
    font: 500 11px/1.4 "IBM Plex Mono", monospace;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.infrastructure-api-mark {
    display: grid;
    width: 72px;
    height: 72px;
    place-items: center;
    border: 2px solid var(--line-strong);
    border-radius: 8px;
    background: var(--primary);
    box-shadow: 4px 4px 0 var(--hard-shadow);
    color: #fff;
    font: 700 18px/1 "IBM Plex Mono", monospace;
}

.infrastructure-queue {
    display: grid;
    height: 72px;
    align-content: center;
    gap: 6px;
    padding: 12px;
    border: 2px solid var(--line-strong);
    border-radius: 6px;
    background: var(--red-soft);
}

.infrastructure-queue i {
    display: block;
    height: 7px;
    border: 1px solid var(--line-strong);
    border-radius: 2px;
    background: var(--capture);
}

.infrastructure-queue i:nth-child(2) {
    width: 82%;
}

.infrastructure-queue i:nth-child(3) {
    width: 64%;
}

.infrastructure-queue i:nth-child(4) {
    width: 42%;
}

.infrastructure-workers {
    display: grid;
    gap: 5px;
}

.infrastructure-workers span {
    display: flex;
    min-height: 31px;
    align-items: center;
    gap: 8px;
    padding: 6px 8px;
    border: 1px solid #082f24;
    border-radius: 4px;
    background: #d9ffeb;
    color: #063b2c;
    font: 500 10px/1 "IBM Plex Mono", monospace;
}

.infrastructure-workers i {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #21b978;
    box-shadow: 0 0 0 3px rgba(11, 122, 85, .14);
}

.infrastructure-node--response {
    background: var(--code);
}

.infrastructure-node--response .infrastructure-node__index {
    color: #8e9abd;
}

.infrastructure-node--response pre {
    min-height: 105px;
    margin: 0;
    overflow: hidden;
    padding: 14px;
    border: 1px solid var(--code-line);
    border-radius: 5px;
    background: #0a0e20;
    color: #bfffe0;
    font: 500 10px/1.65 "IBM Plex Mono", monospace;
}

body.scrape-site .infrastructure-node--response h3 {
    color: #f5f6ff;
}

.infrastructure-node--response p {
    color: #9ba5ca;
}

.infrastructure-trust {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin-top: 38px;
    border: 1px solid var(--line);
    border-radius: 7px;
    background: var(--surface);
}

.infrastructure-trust span {
    display: flex;
    min-height: 58px;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 12px 18px;
    color: var(--muted);
    font-size: 12px;
}

.infrastructure-trust span + span {
    border-left: 1px solid var(--line);
}

.infrastructure-trust i {
    width: 7px;
    height: 7px;
    flex: 0 0 7px;
    border-radius: 50%;
    background: var(--success);
}

.infrastructure-trust b {
    color: var(--ink);
}

.infrastructure-contact {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 38px;
    margin-top: 26px;
    padding: 30px 34px;
    border: 2px solid var(--line-strong);
    border-radius: 8px;
    background: var(--code);
    box-shadow: 7px 7px 0 var(--capture);
}

.infrastructure-contact > div > span {
    color: #9ba5ca;
    font: 600 10px/1.4 "IBM Plex Mono", monospace;
    letter-spacing: .06em;
    text-transform: uppercase;
}

body.scrape-site .infrastructure-contact h3 {
    max-width: 720px;
    margin: 8px 0 0;
    color: #f5f6ff;
    font-size: 26px;
    line-height: 1.15;
}

.infrastructure-contact .button {
    flex: 0 0 auto;
}

@media (max-width: 1050px) {
    .infrastructure-map {
        max-width: 680px;
        grid-template-columns: 1fr;
        gap: 46px;
        margin-inline: auto;
    }

    .infrastructure-node {
        min-height: 0;
    }

    .infrastructure-node:not(:last-child)::after {
        top: auto;
        right: auto;
        bottom: -38px;
        left: calc(50% - 17px);
        background: var(--page);
        content: "\2193";
    }

    .infrastructure-node:not(:last-child)::before {
        top: auto;
        right: auto;
        bottom: -25px;
        left: calc(50% - 3px);
        animation-name: infrastructure-packet-vertical;
    }

    @keyframes infrastructure-packet-vertical {
        0%,
        20% {
            opacity: 0;
            transform: translateY(-12px) scale(.7);
        }

        45% {
            opacity: 1;
        }

        80%,
        100% {
            opacity: 0;
            transform: translateY(17px) scale(1);
        }
    }
}

@media (max-width: 760px) {
    .infrastructure-trust {
        grid-template-columns: 1fr;
    }

    .infrastructure-trust span {
        justify-content: flex-start;
    }

    .infrastructure-trust span + span {
        border-top: 1px solid var(--line);
        border-left: 0;
    }

    .infrastructure-contact {
        align-items: flex-start;
        flex-direction: column;
        padding: 26px 22px;
        box-shadow: 5px 5px 0 var(--capture);
    }

    body.scrape-site .infrastructure-contact h3 {
        font-size: 23px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .infrastructure-node:not(:last-child)::before {
        animation: none;
        opacity: 1;
    }
}
