/* Homepage only: the public introduction to the warm charcoal workspace. */
.api-home.home-dark {
  color-scheme: dark;
  --api-paper: #111111;
  --api-ink: #e8e6e1;
  --api-muted: #aaa8a1;
  --api-line: #343431;
  --paper: #111111;
  --ink: #e8e6e1;
  --muted: #aaa8a1;
  --line: #343431;
  --surface: #20201e;
  --surface-raised: #272724;
  --accent: #a5cdb5;
  background: var(--api-paper);
  color: var(--api-ink);
}
.home-dark ::selection { background: #526357; color: #fff; }
.home-dark :focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
.home-dark .header { border-color: var(--api-line); }
.home-dark .header nav { color: #c5c2ba; }
.home-dark .header nav > a:not(.nav-cta):hover { color: #fff; }
.home-dark .brand-mark { filter: saturate(.55) brightness(1.6); }
.home-dark .header .nav-cta,
.home-dark .api-button,
.home-dark .api-rate-button {
  background: #dedbd2; color: #191918; border-color: #dedbd2;
  box-shadow: 0 1px 0 #ffffff20 inset;
}
.home-dark .header .nav-cta:hover,
.home-dark .api-button:hover,
.home-dark .api-rate-button:hover { background: #f0eee7; border-color: #f0eee7; }
.home-dark .menu-toggle { color: var(--api-ink); background: var(--surface); border-color: var(--api-line); }
.home-dark .api-hero { padding-top: clamp(44px, 5vw, 72px); padding-bottom: clamp(48px, 5vw, 72px); }
.home-dark h1 em,
.home-dark h2 em { color: inherit; }
.home-dark .api-hero-copy h1 { font-weight: 500; }
.home-dark .api-headline-icon {
  background: #272a25; border-color: #3d443a; box-shadow: 2px 3px 0 #0e100d;
}
.home-dark .api-rotating-subject { background: none; color: var(--accent); }
.home-dark .api-hero-lead { color: #bcbab2; }
.home-dark .api-hero-price { color: var(--api-muted); gap: 6px 12px; }
.home-dark .api-hero-price strong { color: var(--accent); }
.home-dark .api-starter-input-row { background: #191919; border-color: #444444; box-shadow: none; }
.home-dark .api-starter-input-row:focus-within { border-color: #b5cec1; box-shadow: none; }
.home-dark .api-source-icon { color: #aaa8a1; }
.home-dark .api-starter-input-row input::placeholder { color: #aaa8a1; }
.home-dark .api-starter-input-row button { background: #dedbd2; color: #191918; }
.home-dark .api-starter-input-row button:hover { background: #f0eee7; color: #191918; }
.home-dark .api-starter-input-row button:focus-visible { outline-color: #b5cec1; }
.home-dark .api-globe::before { background: radial-gradient(circle, #789c7c13, #789c7c06 50%, transparent 72%); filter: blur(30px); }
.home-dark .api-endpoint { background: #252623f5; border-color: #484c43; color: #d5d9cf; box-shadow: 0 7px 24px #00000026; }
.home-dark .api-endpoint i { box-shadow: 0 0 0 3px #ffffff0c; }
.home-dark .api-globe-fallback circle { fill: #252e27; stroke: #8da68b; }
.home-dark .api-globe-fallback ellipse,
.home-dark .api-globe-fallback path[stroke] { stroke: #8da68b; }
/* Catalog: a shared surface, with category color confined to small details. */
.home-dark .catalog-heading h2 { max-width: 800px; }
.home-dark .catalog-controls button { color: #c5c2ba; }
.home-dark .catalog-controls button:hover { color: #fff; }
.home-dark .catalog-pause { border-color: #484842; }
.home-dark .catalog-outcome { --tile-bg: #222420; --tile-ink: #adbd9b; }
.home-dark .catalog-tone-blue { --tile-bg: #202426; --tile-ink: #a4bdca; }
.home-dark .catalog-tone-peach { --tile-bg: #28231f; --tile-ink: #d3af91; }
.home-dark .catalog-tone-lavender { --tile-bg: #242226; --tile-ink: #bdb0ce; }
.home-dark .catalog-tone-sage { --tile-bg: #222620; --tile-ink: #b0c3a0; }
.home-dark .catalog-tone-sand { --tile-bg: #27251f; --tile-ink: #c5b994; }
.home-dark .catalog-outcome article { border-color: #ffffff12; border-radius: 12px; }
.home-dark .catalog-outcome h3 { color: var(--api-ink); }
.home-dark .catalog-outcome p { color: #b8b5ae; opacity: 1; }
.home-dark .catalog-sources-label { opacity: 1; color: #aaa8a1; font-size: 9px; }
.home-dark .catalog-source { font-size: 11px; }
.home-dark .catalog-mark { background: #ffffff0a; border-color: #ffffff12; }
.home-dark .catalog-search input { background: var(--surface); border-color: #484842; }
.home-dark .catalog-results { color: var(--api-muted); }
/* Repair: neutral browser frames, semantic mint / amber / coral signals. */
.home-dark .api-reliability { background: #1b1b19; border-color: var(--api-line); }
.home-dark .reliability-heading > p,
.home-dark .speed-heading > p,
.home-dark .api-pricing-heading > p { color: var(--api-muted); }
.home-dark .speed-heading > p strong { color: #d0cdc5; }
.home-dark .pipeline-demo { --signal: #a5cdb5; background: #20201e; border-color: #3b3b36; color: var(--api-ink); box-shadow: 0 20px 60px #00000012; }
.home-dark .pipeline-demo[data-phase="broken"] { --signal: #e6aa91; }
.home-dark .pipeline-demo[data-phase="repairing"] { --signal: #d8bd8d; }
.home-dark .repair-source,
.home-dark .repair-output { background: #191918; border-color: #41413a; }
.home-dark .mini-browser,
.home-dark .output-heading,
.home-dark .output-note { border-color: #393933; }
.home-dark .mini-browser i { background: #65655b; }
.home-dark .mini-browser > span,
.home-dark .output-heading,
.home-dark .output-row > span,
.home-dark #repair-detail { color: #b8b5ad; }
.home-dark .source-picture { background: #30332c; color: var(--accent); }
.home-dark .source-picture img { filter: brightness(.82) saturate(.6); }
.home-dark .source-price,
.home-dark .output-heading b { color: var(--accent); }
.home-dark .source-listing small { color: var(--api-muted); }
.home-dark .source-obstacle { background: #2e2621; }
.home-dark .pipeline-demo[data-scenario="layout"]:not([data-phase="healthy"]) .source-price { background: #29372d; }
.home-dark .repair-link { background: #53604e; }
.home-dark .engine-orbit { background: #29332b; border-color: #617561; }
.home-dark .engine-orbit::before { border-color: #414e41; }
.home-dark [data-phase="broken"] .engine-orbit { background: #493a2f; }
.home-dark .output-row { border-color: #30302b; }
.home-dark .repair-progress button,
.home-dark #repair-play { color: #b4b1a8; }
.home-dark .repair-progress button[aria-pressed="true"] { background: #2e382e; color: var(--signal); }
.home-dark #repair-play:hover { color: #eeeae1; }
/* Transport comparison: subdued amber for browser work, mint for the API. */
.home-dark .speed-comparison { background: var(--surface); border-color: #3b3b36; }
.home-dark .speed-topline { border-color: #3b3b36; }
.home-dark .speed-topline > span,
.home-dark #speed-play { color: #b4b1a8; }
.home-dark #speed-play:hover { color: #fff; }
.home-dark .browser-lane { background: #25221e; color: #c1af98; }
.home-dark .speed-station { background: #2d2923; border-color: #474035; }
.home-dark .speed-station.is-current { background: #493a28; color: #ecd0a6; border-color: #9b7b50; box-shadow: none; }
.home-dark .speed-station.is-complete { color: #c1af98; border-color: #66553d; }
.home-dark .speed-connector { background: #5b4b36; }
.home-dark .speed-result { color: #aaa69b; }
.home-dark .speed-result > span { border-color: #656052; }
.home-dark .speed-result.is-ready { color: #b9cbaa; }
.home-dark .speed-result.is-ready > span { background: #303b2b; border-color: #5e7150; }
.home-dark .direct-lane { background: #212922; color: #c0d4bd; border-color: #3e4b3d; }
.home-dark .speed-brand { background: #a5cdb5; }
.home-dark .direct-request { background: #1b211c; border-color: #53664f; box-shadow: none; }
.home-dark .direct-request > span { color: #a1b29b; }
.home-dark .direct-request code { color: #d4e3cb; }
.home-dark .direct-request i { color: #b3d59e; }
.home-dark .direct-line { background: #5f7c50; }
.home-dark .direct-line i { background: #b3d59e; box-shadow: 0 0 10px #b3d59e55; }
.home-dark .direct-line::after { background: linear-gradient(90deg, transparent, #a9ca93, #eef5e7); }
.home-dark .direct-result.is-ready { color: #c3dfaf; }
.home-dark .direct-result.is-ready > span { background: #344a2c; border-color: #769564; animation-name: home-speed-arrival; }
@keyframes home-speed-arrival { 0% { box-shadow: 0 0 0 0 #a9ca9326; } 80%,100% { box-shadow: 0 0 0 12px #a9ca9300; } }
/* Pricing: material and hierarchy match the workspace, without a green slab. */
.home-dark .api-rate-card { background: #242420; border-color: #45453d; color: var(--api-ink); }
.home-dark .api-rate-main .api-rate-price,
.home-dark .api-unlimited strong { color: #e8e6e1; }
.home-dark .api-rate-decimal { color: #aaa89c; }
.home-dark .api-rate-main .api-rate-unit { color: #c8c5ba; }
.home-dark .api-rate-no-subscription,
.home-dark .api-rate-no-card { color: #b8b5aa; }
.home-dark .api-unlimited li { border-color: #3d3d35; }
.home-dark .api-unlimited li > span { color: #c2c0b5; font: 400 21px/1.2 "DM Sans", sans-serif; letter-spacing: -.035em; }
.home-dark .api-rate-volume { background: #1d1e1a; border-color: #3d3d35; }
.home-dark .api-credit-message h3 { color: #e0ded5; font-family: inherit; font-style: normal; font-size: 30px; }
.home-dark .api-credit-message p { color: #b8b5aa; }
.home-dark .api-timeline-caption { fill: #cccfc0; }
.home-dark .api-timeline-dates { fill: #aaa89c; }
.home-dark .api-credit-timeline > path:first-of-type { stroke: #4d5948; }
.home-dark .api-credit-timeline > g[stroke] { fill: #1d1e1a; }
/* Quiet, readable close; no new color system after the product sections. */
.home-dark .api-faq { background: #1b1b19; border-color: var(--api-line); }
.home-dark .api-faq h2 { font-size: clamp(25px, 3vw, 40px); }
.home-dark .api-faq-list,
.home-dark .api-faq-list li { border-color: var(--api-line); }
.home-dark .api-faq-number { color: #aaa89c; font-family: var(--mono); font-style: normal; font-size: 20px; padding-top: 4px; letter-spacing: -.03em; }
.home-dark .api-faq-topic { color: #aaa89c; }
.home-dark .api-faq-heading a:hover,
.home-dark .api-faq-list a:hover { color: var(--accent); }
.home-dark .api-kicker { color: var(--accent); }
.home-dark .api-closing p,
.home-dark .api-footer-identity p,
.home-dark .api-footer-group a,
.home-dark .api-footer-bottom { color: var(--api-muted); }
.home-dark .api-footer-group a:hover,
.home-dark .api-footer-bottom a:hover { color: #eeeae1; }
@media (max-width: 760px) {
  .home-dark .header nav.open { background: #222220; border-color: #3d3d36; box-shadow: 0 16px 30px #00000030; }
  .home-dark .api-hero { padding-block: 36px 44px; }
  .home-dark .api-hero-copy h1 { font-size: clamp(36px, 8.4vw, 58px); }
  .home-dark .api-hero-price { gap: 5px 12px; }
}

/* Composition and type hierarchy. All overrides remain homepage-scoped. */
.home-dark { --api-paper: #111111; --api-line: #30312f; --api-muted: #b1b2ac; --surface: #1c1d1b; --surface-raised: #232522; --accent: #b5cec1; }
.home-dark .wrap { max-width: 1200px; width: calc(100% - 96px); }
.home-dark .header { height: 88px; border: 0; }
.home-dark .header .brand { font-size: 25px; letter-spacing: -.035em; }
.home-dark .header nav { font-size: 14px; }
.home-dark .header .nav-cta { background: #282a27; border-color: #454842; color: #edeee8; border-radius: 8px; }
.home-dark .header .nav-cta:hover { background: #343730; }
.home-dark h1, .home-dark h2, .home-dark h3 { font-family: "DM Sans", sans-serif; letter-spacing: -.03em; font-weight: 450; }
.home-dark .api-hero { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 0; align-items: center; padding-block: 100px 120px; position: relative; }
.home-dark .api-hero-copy { position: relative; z-index: 2; align-self: center; }
.home-dark .api-hero-copy h1 { font-size: clamp(64px, 5.25vw, 76px); font-weight: 450; letter-spacing: -.035em; line-height: 1.08; margin-bottom: 28px; }
.home-dark .api-headline-intro { display: inline; margin: 0; }
.home-dark .api-rotating-subject { display: inline; color: inherit; font-size: inherit; line-height: inherit; white-space: nowrap; height: auto; margin: 0; }
.home-dark .api-hero-copy h1 em { color: #b3b5ad; font-size: inherit; line-height: inherit; }
.home-dark .api-hero-lead { font-size: 19px; line-height: 1.65; max-width: 470px; }
.home-dark .api-starter-form { margin-top: 32px; max-width: 470px; }
.home-dark .api-starter-input-row { min-height: 62px; padding: 7px; border-radius: 6px; background: #191919; border-color: #444444; }
.home-dark .api-starter-description { font-size: 15px; line-height: 1.6; max-width: 430px; }
.home-dark .api-hero-price { margin-top: 20px; gap: 5px 12px; }
.home-dark .api-hero-price strong, .home-dark .api-hero-price span { font-size: 13px; font-weight: 400; }
.home-dark .api-globe { width: 600px; max-width: 125%; margin-left: -20px; }
.home-dark .api-globe-canvas { image-rendering: auto; }
.home-dark .api-endpoint { font-size: 10px; font-weight: 400; background: #202620e8; border-color: #465246; }
.home-dark .api-globe::before { inset: 18%; background: radial-gradient(circle, #52695512, transparent 70%); }
/* Product example: one open composition, with details below the initial result. */
.home-dark .api-reliability { padding-block: 96px 80px; background: radial-gradient(ellipse at 50% 55%, #24332b28, transparent 65%); border-top: 1px solid var(--api-line); border-bottom: 0; }
.home-dark .reliability-heading { display: block; text-align: center; margin: 0 auto 48px; max-width: 780px; }
.home-dark .reliability-heading h2, .home-dark .speed-heading h2, .home-dark .api-pricing-heading h2 { font-size: clamp(36px, 3.35vw, 48px); line-height: 1.17; letter-spacing: -.03em; font-weight: 450; }
.home-dark .reliability-heading h2 { max-width: 730px; margin: auto; }
.home-dark .reliability-heading > p { font-size: 17px; line-height: 1.65; max-width: 620px; margin: 24px auto 0; }
.home-dark .pipeline-demo { max-width: 1080px; border: 0; background: transparent; border-radius: 0; box-shadow: none; }
.home-dark .repair-scene { padding: 12px 0 28px; align-items: center; }
.home-dark .repair-source, .home-dark .repair-output { box-shadow: 0 12px 45px #00000015; border-color: #3d463c; background: linear-gradient(145deg, #202620, #191c19); border-radius: 12px; }
.home-dark .repair-source { max-width: 320px; }
.home-dark .repair-output { max-width: 370px; }
.home-dark .source-content { height: auto; padding: 16px; gap: 14px; }
.home-dark .source-picture { height: 115px; border-radius: 6px; }
.home-dark .source-picture img { filter: saturate(.35) brightness(.78); }
.home-dark .source-listing strong { font-size: 16px; }
.home-dark .source-price { font-size: 22px; }
.home-dark .source-listing small { font-size: 13px; }
.home-dark .mini-browser > span, .home-dark .output-heading { font-size: 13px; }
.home-dark .repair-engine { width: 160px; }
.home-dark .engine-orbit { width: 66px; height: 66px; margin-bottom: 18px; border-color: #516955; background: #26362b; }
.home-dark .engine-orbit::before { inset: -7px; border-width: 1px; }
.home-dark .engine-icon { width: 30px; height: 30px; }
.home-dark .repair-engine > strong { font-size: 14px; }
.home-dark #repair-action { font-size: 12px; }
.home-dark .output-row { font-size: 14px; padding: 21px 18px; }
.home-dark .output-row strong { font-size: 20px; }
.home-dark .repair-caption { min-height: 0; padding: 16px 0 28px; gap: 8px; }
.home-dark #repair-status { font-size: 17px; font-weight: 500; }
.home-dark #repair-detail { font-size: 15px; line-height: 1.6; }
.home-dark summary { cursor: pointer; list-style: none; }
.home-dark summary::-webkit-details-marker { display: none; }
/* Stationary, finite selection; full catalog available through explicit browsing. */
.home-dark .api-catalog { padding-block: 70px 90px; background: transparent; border: 0; }
.home-dark .catalog-heading { align-items: end; margin-bottom: 32px; }
.home-dark .catalog-heading h2 { max-width: 620px; font-size: 36px; line-height: 1.2; letter-spacing: -.03em; }
.home-dark .catalog-controls { gap: 10px; }
.home-dark .catalog-prev, .home-dark .catalog-next { width: 40px; height: 40px; background: transparent; border: 1px solid #454941; border-radius: 50%; font-size: 20px; }
.home-dark .catalog-controls button:disabled { opacity: .35; cursor: default; }
.home-dark .catalog-browse { margin-left: 12px; font-size: 14px !important; }
.home-dark .catalog-viewport, .home-dark .api-catalog.is-browsing .catalog-viewport { width: calc(100% - 96px); max-width: 1200px; margin: auto; padding: 0; mask-image: none; overflow: visible; max-height: none; }
.home-dark .catalog-track { display: block; width: auto; }
.home-dark .catalog-group, .home-dark .api-catalog.is-browsing .catalog-group { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; padding: 0; }
.home-dark .catalog-outcome { width: auto; }
.home-dark .catalog-outcome article, .home-dark .api-catalog.is-browsing .catalog-outcome article { background: transparent; border: 0; border-top: 1px solid #41483e; border-radius: 0; padding: 26px 0 8px; min-height: 288px; height: auto; }
.home-dark .catalog-eyebrow { font-size: 11px; color: var(--tile-ink); }
.home-dark .catalog-outcome h3 { font-size: 25px; line-height: 1.25; letter-spacing: -.025em; font-weight: 450; margin: 18px 0 14px; max-width: 320px; }
.home-dark .catalog-outcome p { font-size: 16px; line-height: 1.6; max-width: 340px; }
.home-dark .catalog-sources { padding-top: 24px; }
.home-dark .catalog-sources-label { font-size: 10px; }
.home-dark .catalog-source { font-size: 12px; }
.home-dark .catalog-mark { width: 22px; height: 22px; background: transparent; border: 0; border-radius: 4px; }
/* Supporting feature: an asymmetric, compact comparison. */
.home-dark .api-speed { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 64px; align-items: center; padding-block: 100px; border-top: 1px solid var(--api-line); }
.home-dark .speed-heading { display: block; margin: 0; }
.home-dark .speed-heading > p { margin-top: 24px; max-width: 350px; font-size: 17px; line-height: 1.65; }
.home-dark .speed-comparison { background: #191b18; border-radius: 12px; border-color: #353c32; }
.home-dark .speed-topline { padding: 16px 22px; }
.home-dark .speed-topline > span { font-size: 10px; }
.home-dark .speed-lane { grid-template-columns: minmax(0, 1fr) 76px; gap: 22px 16px; padding: 28px 22px; min-height: 0; }
.home-dark .speed-lane-label { grid-column: 1 / -1; padding-left: 34px; }
.home-dark .speed-lane-label > strong { font-size: 15px; }
.home-dark .speed-lane-label > small { font-size: 12px; }
.home-dark .browser-lane { background: #20211e; color: #b8b9ad; }
.home-dark .speed-station { width: auto; flex: 1; min-width: 0; height: 76px; gap: 12px; background: #282a24; border: 0; font-size: 11px; }
.home-dark .speed-connector { flex: .2; min-width: 4px; }
.home-dark .direct-lane { background: #202a22; border-color: #364433; }
.home-dark .direct-request { padding: 16px; gap: 12px; }
.home-dark .direct-request code { font-size: 13px; }
.home-dark .direct-request i { margin-left: 0; }
/* Pricing: heading and explanation sit beside a single decision surface. */
.home-dark .api-pricing { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 64px; align-items: start; padding-block: 90px 120px; }
.home-dark .api-pricing-heading { display: block; margin: 28px 0 0; }
.home-dark .api-pricing-heading > p { font-size: 17px; line-height: 1.65; margin: 24px 0 0; max-width: 340px; }
.home-dark .api-rate-card { display: block; width: 100%; margin: 0; max-width: none; background: #1e211c; border-color: #3a4235; border-radius: 12px; }
.home-dark .api-rate-main { padding: 32px 36px 20px; }
.home-dark .api-rate-quote { margin: 0; display: flex; align-items: baseline; gap: 18px; flex-wrap: wrap; }
.home-dark .api-rate-main .api-rate-price { font-size: 76px; letter-spacing: -.055em; }
.home-dark .api-rate-main .api-rate-unit { font-size: 16px; }
.home-dark .api-rate-no-subscription { font-size: 14px; margin-top: 16px; }
.home-dark .api-rate-details { padding: 0 36px 28px; }
.home-dark .api-unlimited { margin: 0 0 26px; }
.home-dark .api-unlimited li { padding: 10px 0; }
.home-dark .api-unlimited li > span { font-size: 16px; letter-spacing: 0; }
.home-dark .api-unlimited strong { font-size: 15px; }
.home-dark .api-rate-button { font-size: 15px; min-height: 50px; border-radius: 6px; }
.home-dark .api-rate-no-card { font-size: 12px; }
.home-dark .api-rate-volume { padding: 26px 36px; display: block; background: #191d17; }
.home-dark .api-credit-message h3 { font-size: 24px; letter-spacing: -.025em; }
.home-dark .api-credit-message p { font-size: 15px; }
.home-dark .api-credit-timeline { margin-top: 24px; width: 100%; max-width: 380px; height: auto; }
/* Readable disclosure rows instead of a wall of answers. */
.home-dark .api-faq { background: transparent; padding-block: 90px; border-bottom: 0; }
.home-dark .api-faq > .wrap { display: grid; grid-template-columns: minmax(0, .65fr) minmax(0, 1.35fr); gap: 64px; align-items: start; }
.home-dark .api-faq-heading { display: block; margin: 8px 0 0; }
.home-dark .api-faq h2 { font-size: 30px; line-height: 1.25; letter-spacing: -.025em; }
.home-dark .api-faq-heading p { font-size: 16px; margin-top: 24px; }
.home-dark .api-faq-list { border-bottom: 1px solid var(--api-line); }
.home-dark .api-faq-list li { display: block; padding: 0; }
.home-dark .api-faq-list details { border: 0; }
.home-dark .api-faq-list summary { display: grid; grid-template-columns: 26px minmax(0, 1fr) 20px; gap: 16px; padding: 24px 0; align-items: baseline; }
.home-dark .api-faq-number { font: 12px/1.5 var(--mono); color: #a2a79a; padding: 0; grid-row: auto; }
.home-dark .api-faq-list h3 { margin: 0; font-size: 18px; font-weight: 450; letter-spacing: -.01em; line-height: 1.45; }
.home-dark .api-faq-topic { display: none; }
.home-dark .faq-toggle { font: 300 22px/1 "DM Sans",sans-serif; color: #adb8a4; transition: transform 180ms; }
.home-dark .api-faq-list p { padding: 0; margin: 0 36px 24px 42px; font-size: 16px; line-height: 1.75; }
.home-dark .api-closing { padding-block: 100px 110px; }
.home-dark .api-closing h2 { max-width: 740px; margin: 22px auto 0; font-size: 48px; line-height: 1.17; letter-spacing: -.03em; }
.home-dark .api-closing p { font-size: 17px; line-height: 1.65; max-width: 580px; margin-block: 24px 30px; }
.home-dark .api-button { font-size: 15px; font-weight: 500; border-radius: 7px; }
.home-dark .api-footer-identity p { font-size: 15px; }
.home-dark .api-footer-group a { font-size: 14px; }
@media (max-width: 1100px) {
  .home-dark .api-hero-copy h1 { font-size: 64px; }
  .home-dark .api-globe { max-width: 110%; }
  .home-dark .api-speed, .home-dark .api-pricing, .home-dark .api-faq > .wrap { gap: 40px; }
  .home-dark .speed-lane { grid-template-columns: 1fr; }
  .home-dark .speed-result { flex-direction: row; justify-content: end; }
}
@media (max-width: 900px) {
  .home-dark .wrap, .home-dark .catalog-viewport, .home-dark .api-catalog.is-browsing .catalog-viewport { width: calc(100% - 56px); }
  .home-dark .api-hero { grid-template-columns: 1.2fr .8fr; padding-block: 72px 90px; }
  .home-dark .api-hero-copy h1 { font-size: 54px; }
  .home-dark .api-globe { width: 380px; max-width: 120%; }
  .home-dark .repair-engine { width: 110px; }
  .home-dark .api-speed, .home-dark .api-pricing { grid-template-columns: 1fr; gap: 36px; }
  .home-dark .speed-heading, .home-dark .api-pricing-heading { max-width: 600px; margin: 0; }
  .home-dark .speed-heading > p, .home-dark .api-pricing-heading > p { max-width: 550px; }
  .home-dark .speed-lane { grid-template-columns: minmax(0, 1fr) 80px; }
  .home-dark .speed-result { flex-direction: column; }
  .home-dark .api-faq > .wrap { grid-template-columns: 1fr; gap: 28px; }
  .home-dark .api-faq h2 { font-size: 28px; }
  .home-dark .api-faq-heading p { margin-top: 16px; }
}
@media (max-width: 760px) {
  .home-dark .wrap, .home-dark .catalog-viewport, .home-dark .api-catalog.is-browsing .catalog-viewport { width: calc(100% - 40px); }
  .home-dark .header { height: 76px; }
  .home-dark .header .brand { font-size: 23px; }
  .home-dark .header nav { top: 75px; left: -20px; right: -20px; }
  .home-dark .api-hero { display: flex; flex-direction: column; padding-block: 48px 50px; gap: 0; }
  .home-dark .api-hero-copy { width: 100%; }
  .home-dark .api-hero-copy h1 { font-size: clamp(42px, 8.2vw, 62px); line-height: 1.1; letter-spacing: -.035em; max-width: 580px; margin-bottom: 24px; }
  .home-dark .api-headline-intro { display: inline; }
  .home-dark .api-rotating-subject { display: inline; font-size: inherit; line-height: inherit; }
  .home-dark .api-hero-lead { font-size: 17px; max-width: 430px; }
  .home-dark .api-starter-form { margin-top: 28px; max-width: none; }
  .home-dark .api-starter-description { font-size: 15px; }
  .home-dark .api-hero-price { flex-direction: row; flex-wrap: wrap; margin-top: 18px; }
  .home-dark .api-globe { width: 330px; max-width: 100%; margin: 2px auto -24px; aspect-ratio: 1; }
  .home-dark .api-endpoint { font-size: 9px; }
  .home-dark .api-reliability { padding-block: 64px 52px; }
  .home-dark .reliability-heading { text-align: left; margin-bottom: 28px; }
  .home-dark .reliability-heading h2, .home-dark .speed-heading h2, .home-dark .api-pricing-heading h2 { font-size: 34px; line-height: 1.2; }
  .home-dark .reliability-heading > p, .home-dark .speed-heading > p, .home-dark .api-pricing-heading > p { font-size: 16px; line-height: 1.7; margin-top: 20px; }
  .home-dark .repair-scene { display: grid; grid-template-columns: 1fr; padding: 0; gap: 18px; }
  .home-dark .repair-source, .home-dark .repair-output { max-width: none; width: 100%; }
  .home-dark .mini-browser { padding: 10px 14px; }
  .home-dark .source-content { flex-direction: row; align-items: center; gap: 16px; padding: 14px; height: auto; min-height: 102px; }
  .home-dark .source-picture { width: 90px; height: 76px; flex: none; }
  .home-dark .pipeline-demo[data-scenario="layout"]:not([data-phase="healthy"]) .source-content { flex-direction: row-reverse; }
  .home-dark .pipeline-demo[data-scenario="layout"]:not([data-phase="healthy"]) .source-picture { width: 76px; height: 76px; }
  .home-dark .source-listing { min-width: 0; }
  .home-dark .source-listing strong { font-size: 15px; }
  .home-dark .source-price { font-size: 20px; }
  .home-dark .repair-link { display: none; }
  .home-dark .repair-engine { display: grid; grid-template-columns: 36px 1fr; gap: 2px 12px; width: auto; max-width: none; margin: 0 18px; }
  .home-dark .engine-orbit { width: 32px; height: 32px; margin: 0; grid-row: span 2; }
  .home-dark .engine-orbit::before { display: none; }
  .home-dark .engine-icon { width: 19px; height: 19px; }
  .home-dark .repair-engine > strong { font-size: 13px; }
  .home-dark #repair-action { font-size: 12px; min-height: 0; }
  .home-dark .output-heading { padding: 13px 15px; }
  .home-dark .output-row { padding: 14px 15px; font-size: 13px; }
  .home-dark .output-row strong { font-size: 18px; }
  .home-dark .repair-caption { text-align: left; align-items: start; padding: 24px 0; }
  .home-dark #repair-detail { font-size: 15px; }
  .home-dark .api-catalog { padding-block: 48px 64px; }
  .home-dark .catalog-heading { gap: 24px; margin-bottom: 20px; align-items: start; }
  .home-dark .catalog-heading h2 { font-size: 30px; line-height: 1.25; }
  .home-dark .catalog-controls { flex-direction: row; width: 100%; }
  .home-dark .catalog-browse { margin-left: auto; }
  .home-dark .catalog-group, .home-dark .api-catalog.is-browsing .catalog-group { grid-template-columns: 1fr; gap: 24px; }
  .home-dark .catalog-outcome article, .home-dark .api-catalog.is-browsing .catalog-outcome article { min-height: 280px; padding-top: 24px; }
  .home-dark .catalog-outcome h3 { font-size: 25px; }
  .home-dark .api-speed { padding-block: 64px; gap: 30px; }
  .home-dark .speed-lane { grid-template-columns: 1fr; padding: 24px 18px; gap: 20px; }
  .home-dark .speed-result { flex-direction: row; }
  .home-dark .speed-topline { padding: 10px 18px; }
  .home-dark .speed-topline > span { font-size: 9px; letter-spacing: .02em; }
  .home-dark .direct-request { padding: 14px; gap: 10px; }
  .home-dark .direct-request code { font-size: 12px; }
  .home-dark .api-pricing { padding-block: 24px 64px; gap: 30px; }
  .home-dark .api-rate-main { padding: 28px 24px 20px; }
  .home-dark .api-rate-quote { gap: 8px 16px; }
  .home-dark .api-rate-main .api-rate-price { font-size: 68px; }
  .home-dark .api-rate-details { padding: 0 24px 26px; }
  .home-dark .api-rate-volume { padding: 24px; }
  .home-dark .api-faq { padding-block: 64px 24px; }
  .home-dark .api-faq h2 { font-size: 24px; }
  .home-dark .api-faq-list summary { gap: 10px; grid-template-columns: 22px 1fr 18px; padding-block: 22px; }
  .home-dark .api-faq-list h3 { font-size: 17px; line-height: 1.5; }
  .home-dark .api-faq-list p { margin: 0 0 24px 32px; font-size: 16px; }
  .home-dark .api-closing { padding-block: 72px; }
  .home-dark .api-closing h2 { font-size: 34px; line-height: 1.2; }
  .home-dark .api-closing h2 br { display: none; }
  .home-dark .api-closing p { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) { .home-dark .faq-toggle { transition: none; } }

/* Functional controls enhance the static examples only after initialization. */
.home-dark .pipeline-demo:not([data-ready]) .repair-explorer,
.home-dark .speed-comparison:not([data-ready]) #speed-play { display: none; }

@media (min-width: 761px) and (max-width: 900px) {
  .home-dark .repair-scene { flex-direction: row; padding: 12px 0 28px; }
  .home-dark .repair-source, .home-dark .repair-output { flex: 1; width: auto; min-width: 0; }
  .home-dark .repair-engine { display: block; width: 108px; max-width: none; text-align: center; }
  .home-dark .engine-orbit { margin: 0 auto 18px; }
  .home-dark #repair-action { min-height: 34px; margin-top: 5px; }
  .home-dark .repair-link, .home-dark .repair-engine + .repair-link { display: block; flex: .1; width: auto; height: 1px; margin: 0 8px; }
  .home-dark .output-row { padding-inline: 12px; font-size: 12px; }
  .home-dark .output-row strong { font-size: 18px; }
}

/* Playback controls remain visible even while advanced scenarios are collapsed. */
.home-dark .demo-topline { display: flex; align-items: center; justify-content: flex-end; gap: 20px; margin-bottom: 20px; }
.home-dark .demo-topline #repair-play { min-width: 88px; font-size: 13px; }
.home-dark .pipeline-demo:not([data-ready]) #repair-play { display: none; }
.home-dark .catalog-autoplay { width: 40px; height: 40px; flex: none; border: 1px solid #454941; border-radius: 50%; background: transparent; font-size: 15px; }
.home-dark .catalog-viewport { overflow-x: clip; }
@media (max-width: 380px) { .home-dark .catalog-controls { gap: 7px; flex-wrap: wrap; } .home-dark .catalog-browse { gap: 8px; } }

.home-dark .repair-source { min-height: 292px; }
.home-dark .source-content { min-height: 244px; }
.home-dark .repair-caption { min-height: 120px; }
@media (max-width: 760px) {
  .home-dark .repair-source { min-height: 0; }
  .home-dark .source-content { min-height: 102px; }
  .home-dark .repair-caption { min-height: 150px; }
}

/* A passive repair story: scenarios and stages indicate progress, never ask for input. */
.home-dark .demo-topline { justify-content: space-between; margin-bottom: 24px; }
.home-dark .repair-scenarios { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 24px; }
.home-dark .repair-scenarios span { color: #a2a79e; font-size: 13px; padding-block: 8px; border-bottom: 1px solid transparent; transition: color .25s, border-color .25s; }
.home-dark .repair-scenarios span[aria-current="true"] { color: #d0e4d6; border-color: #a5cdb5; }
.home-dark .repair-stages { display: flex; justify-content: center; gap: 0; list-style: none; padding: 20px 0 0; margin: 0 auto; max-width: 720px; border-top: 1px solid #30382e; }
.home-dark .repair-stages li { flex: 1; text-align: center; font-size: 13px; color: #999f93; position: relative; padding-top: 14px; }
.home-dark .repair-stages li::before { content: ""; position: absolute; top: -24px; left: calc(50% - 4px); width: 7px; height: 7px; border-radius: 50%; background: #4f5949; box-shadow: 0 0 0 5px #111111; }
.home-dark .repair-stages li[data-state="current"] { color: var(--signal); }
.home-dark .repair-stages li[data-state="current"]::before { background: var(--signal); box-shadow: 0 0 0 5px #111111, 0 0 16px #a5cdb52a; }
.home-dark .repair-stages li[data-state="complete"] { color: #c4d4ba; }
.home-dark .repair-stages li[data-state="complete"]::before { background: #a5cdb5; }
/* Continuous, edge-to-edge collection strip with individually illustrated cards. */
.home-dark .api-catalog { padding-block: 80px 90px; overflow: hidden; }
.home-dark .catalog-heading { margin-bottom: 36px; }
.home-dark .catalog-heading h2 { max-width: 680px; }
.home-dark .catalog-viewport { width: 100%; max-width: none; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; padding-block: 8px 20px; mask-image: linear-gradient(90deg, transparent, #000 32px, #000 calc(100% - 32px), transparent); }
.home-dark .catalog-track { display: flex; width: max-content; }
.home-dark .catalog-group { display: flex; gap: 20px; padding: 0 20px 0 0; width: max-content; align-items: stretch; }
.home-dark .catalog-outcome { width: 370px; flex: none; }
.home-dark .catalog-outcome article { height: 100%; min-height: 400px; border: 1px solid color-mix(in srgb, var(--tile-ink) 22%, transparent); border-radius: 18px; padding: 28px; overflow: hidden; position: relative; background: radial-gradient(ellipse at 100% 0, color-mix(in srgb, var(--tile-ink) 15%, transparent), transparent 70%), var(--tile-bg); }
.home-dark .catalog-outcome article::after { content: ""; width: 180px; height: 180px; border: 1px solid color-mix(in srgb, var(--tile-ink) 9%, transparent); border-radius: 50%; position: absolute; top: -70px; right: -60px; pointer-events: none; }
.home-dark .catalog-card-top { display: flex; align-items: center; gap: 18px; min-height: 64px; }
.home-dark .catalog-glyph { display: grid; place-items: center; width: 58px; height: 58px; flex: none; border-radius: 16px; color: var(--tile-ink); background: color-mix(in srgb, var(--tile-ink) 9%, transparent); border: 1px solid color-mix(in srgb, var(--tile-ink) 15%, transparent); }
.home-dark .catalog-glyph svg { width: 40px; height: 40px; }
.home-dark .catalog-eyebrow { max-width: 180px; font: 11px/1.65 var(--mono); letter-spacing: .035em; }
.home-dark .catalog-outcome h3 { font-size: 27px; line-height: 1.18; margin: 28px 0 16px; max-width: none; }
.home-dark .catalog-outcome p { font-size: 16px; line-height: 1.6; }
.home-dark .catalog-sources { padding-top: 28px; }
.home-dark .catalog-mark { background: #ffffff0a; border: 1px solid #ffffff0c; width: 26px; height: 26px; border-radius: 7px; }
.home-dark .catalog-controls { flex: none; }
.home-dark .api-catalog.is-browsing .catalog-viewport { width: calc(100% - 96px); max-width: 1200px; overflow: visible; mask-image: none; }
.home-dark .api-catalog.is-browsing .catalog-track { display: block; width: auto; }
.home-dark .api-catalog.is-browsing .catalog-group { display: grid; width: auto; grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 0; gap: 20px; }
.home-dark .api-catalog.is-browsing .catalog-outcome { width: auto; }
.home-dark .api-catalog.is-browsing .catalog-outcome article { min-height: 400px; padding: 24px; }
@media (max-width: 900px) {
  .home-dark .api-catalog.is-browsing .catalog-viewport { width: calc(100% - 56px); }
  .home-dark .api-catalog.is-browsing .catalog-group { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .home-dark .demo-topline { gap: 12px; align-items: start; }
  .home-dark .repair-scenarios { gap: 4px 14px; }
  .home-dark .repair-scenarios span { font-size: 12px; }
  .home-dark .demo-topline #repair-play { min-width: 65px; padding-inline: 0; }
  .home-dark .repair-stages { padding-top: 18px; }
  .home-dark .repair-stages li { font-size: 12px; }
  .home-dark .repair-stages li::before { top: -22px; }
  .home-dark .api-catalog { padding-block: 56px 64px; }
  .home-dark .catalog-viewport { width: 100%; mask-image: linear-gradient(90deg, transparent, #000 12px, #000 calc(100% - 12px), transparent); }
  .home-dark .catalog-outcome { width: min(330px, calc(100vw - 48px)); }
  .home-dark .catalog-outcome article { padding: 24px; min-height: 400px; }
  .home-dark .catalog-group { gap: 16px; padding-right: 16px; }
  .home-dark .catalog-outcome h3 { font-size: 25px; }
  .home-dark .catalog-card-top { gap: 12px; }
  .home-dark .catalog-glyph { width: 48px; height: 48px; border-radius: 13px; }
  .home-dark .catalog-glyph svg { width: 34px; height: 34px; }
  .home-dark .catalog-eyebrow { font-size: 10px; }
  .home-dark .api-catalog.is-browsing .catalog-viewport { width: calc(100% - 40px); }
  .home-dark .api-catalog.is-browsing .catalog-group { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { .home-dark .repair-scenarios span { transition: none; } }
.home-dark #repair-play[hidden] { display: none; }

/* Every phrase participates in sizing; swapping letters never resizes the hero. */
.home-dark .api-headline-intro { display: block; }
.home-dark .api-rotating-subject { display: grid; width: 100%; height: auto; margin: 0; white-space: normal; line-height: inherit; }
.home-dark .headline-variant { grid-area: 1 / 1; min-width: 0; visibility: hidden; pointer-events: none; }
.home-dark .headline-variant.is-current { visibility: visible; }
.home-dark .headline-word { display: inline-block; white-space: nowrap; }
.home-dark .headline-letter { display: inline-block; }
.home-dark .headline-variant.is-leaving .headline-letter { animation: headline-letter-out 240ms ease-in both; animation-delay: calc(var(--letter-delay) * .5); }
.home-dark .headline-variant.is-entering .headline-letter { animation: headline-letter-in 360ms cubic-bezier(.2,.75,.25,1) both; animation-delay: var(--letter-delay); }
@keyframes headline-letter-out { to { opacity: 0; transform: translateY(-.18em) rotateX(35deg); } }
@keyframes headline-letter-in { from { opacity: 0; transform: translateY(.22em) rotateX(-40deg); } to { opacity: 1; transform: none; } }
@media(prefers-reduced-motion: reduce) {
  .home-dark .headline-variant .headline-letter { animation: none !important; }
}
.home-dark .api-hero-copy { container-type: inline-size; }
@container (max-width: 260px) {
  .home-dark .api-hero-copy h1 { font-size: min(42px, 16cqi); }
}
@media (min-width: 761px) {
  .home-dark .api-globe { max-width: calc(100% + 40px); }
}

/* Small category glyphs share the headline's fixed layout and muted palette. */
.home-dark .api-headline-intro { display: flex; align-items: center; gap: .24em; }
.home-dark .api-headline-icon {
  display: grid; width: .7em; height: .7em; font: inherit;
  color: #b5cec1; background: #202620; border: 1px solid #3b473d;
  border-radius: .18em; box-shadow: inset 0 1px 0 #ffffff06;
  transform: none; overflow: hidden;
}
.home-dark .api-headline-icon::before { content: none; }
.home-dark .headline-category-icon {
  grid-area: 1 / 1; width: 60%; height: 60%; place-self: center;
  opacity: 0; transform: translateY(3px); transition: opacity 200ms ease, transform 200ms ease;
}
.home-dark .headline-category-icon.is-current { opacity: 1; transform: none; }
@media(prefers-reduced-motion: reduce) {
  .home-dark .headline-category-icon { transition: none; }
}
.home-dark .api-headline-icon { grid-template: 1fr / 1fr; }

/* An open repair flow held together by shared alignment and spacing. */
.home-dark .pipeline-demo { max-width: 944px; background: transparent; border: 0; border-radius: 0; }
.home-dark .pipeline-demo .demo-topline { justify-content: flex-start; margin: 0; padding: 0 0 24px; border-bottom: 0; }
.home-dark .repair-scenarios { gap: 24px; }
.home-dark .repair-scene { display: grid; grid-template-columns: minmax(0,1fr) 28px 112px 28px minmax(0,1fr); align-items: center; gap: 0; padding: 0; }
.home-dark .repair-source, .home-dark .repair-output { width: 100%; max-width: none; height: 268px; min-height: 0; box-shadow: none; background: #1c211c; border-radius: 10px; overflow: hidden; }
.home-dark .mini-browser, .home-dark .output-heading { height: 44px; padding: 12px 14px; }
.home-dark .source-content { height: 222px; min-height: 0; padding: 14px; gap: 10px; }
.home-dark .source-picture { height: 108px; }
.home-dark .source-listing strong { font-size: 15px; }
.home-dark .source-price { font-size: 20px; }
.home-dark .repair-link, .home-dark .repair-engine + .repair-link { display: block; width: 100%; height: 1px; margin: 0; }
.home-dark .repair-engine { display: block; width: 112px; margin: 0; text-align: center; }
.home-dark .engine-orbit { width: 48px; height: 48px; margin: 0 auto 14px; }
.home-dark .engine-icon { width: 24px; height: 24px; }
.home-dark .repair-engine > strong { font-size: 13px; }
.home-dark #repair-action { font-size: 11px; min-height: 32px; padding-inline: 4px; }
.home-dark .output-row { height: 61px; padding: 18px 14px; }
.home-dark .output-note { display: block; visibility: hidden; height: 39px; padding: 10px 14px; }
.home-dark .pipeline-demo:is([data-phase="broken"], [data-phase="repairing"]) .output-note { visibility: visible; }
.home-dark .repair-summary { display: grid; grid-template-columns: minmax(0,1.2fr) minmax(0,1fr); align-items: center; gap: 32px; padding: 22px 0 0; border-top: 0; background: transparent; }
.home-dark .repair-caption { text-align: left; align-items: flex-start; min-height: 76px; padding: 0; gap: 6px; }
.home-dark #repair-status { font-size: 15px; }
.home-dark #repair-detail { font-size: 13px; line-height: 1.6; }
.home-dark .repair-stages { width: 100%; margin: 0; padding: 0; border: 0; gap: 6px; }
.home-dark .repair-stages li { font-size: 12px; padding: 16px 0 0; color: #929b90; }
.home-dark .repair-stages li::before { top: 0; left: 0; width: 100%; height: 2px; border-radius: 2px; box-shadow: none; background: #384136; }
.home-dark .repair-stages li[data-state="current"]::before { background: var(--signal); box-shadow: 0 0 10px #a5cdb51a; }
.home-dark .repair-stages li[data-state="complete"]::before { background: #647e6c; }
@media (min-width:761px) and (max-width:1000px) {
  .home-dark .repair-scene { grid-template-columns: minmax(0,1fr) 16px 92px 16px minmax(0,1fr); padding: 0; }
  .home-dark .repair-engine { width: 92px; }
  .home-dark .pipeline-demo[data-scenario="layout"]:not([data-phase="healthy"]) .source-picture { width: 60px; }
  .home-dark .source-listing strong { font-size: 13px; }
  .home-dark .source-price { font-size: 17px; }
}
@media(max-width:760px) {
  .home-dark .pipeline-demo .demo-topline { padding: 0 0 20px; }
  .home-dark .repair-scenarios { gap: 14px; }
  .home-dark .repair-scenarios span { font-size: 11px; }
  .home-dark .repair-scene { grid-template-columns: minmax(0,1fr); padding: 0; gap: 14px; }
  .home-dark .repair-source { height: 170px; }
  .home-dark .source-content { height: 124px; padding: 12px; gap: 12px; }
  .home-dark .source-picture { height: 86px; width: 72px; }
  .home-dark .source-price { font-size: 18px; }
  .home-dark .repair-link, .home-dark .repair-engine + .repair-link { display: none; }
  .home-dark .repair-engine { display: grid; grid-template-columns: 36px 1fr; width: auto; gap: 2px 12px; text-align: left; margin-inline: 12px; }
  .home-dark .engine-orbit { grid-row: span 2; width: 34px; height: 34px; margin: 0; }
  .home-dark #repair-action { min-height: 0; padding: 0; margin: 0; }
  .home-dark .repair-output { height: 233px; }
  .home-dark .output-row { height: 50px; padding: 15px 14px; }
  .home-dark .repair-summary { grid-template-columns: minmax(0,1fr); padding: 20px 0 0; gap: 14px; }
  .home-dark .repair-caption { min-height: 100px; }
}
@media(max-width:380px) {
  .home-dark .repair-scenarios { width: 100%; justify-content: space-between; gap: 6px; }
  .home-dark .repair-scenarios span { font-size: 10px; white-space: nowrap; }
}

.home-dark .catalog-controls .catalog-browse { color: #c5c2ba; }
.home-dark .catalog-controls .catalog-browse:hover { color: #fff; }

/* Let whitespace connect the homepage sections, without horizontal dividers. */
.api-home.home-dark main > section { border-top: 0; border-bottom: 0; }
.home-dark .api-reliability,
.home-dark .api-speed,
.home-dark .api-catalog,
.home-dark .api-pricing,
.home-dark .api-faq,
.home-dark .api-closing { padding-block: clamp(100px, 9vw, 140px); }
.home-dark .api-footer { border-top: 0; }
.home-dark .catalog-heading { margin-bottom: 48px; }
/* Reserve the description space so revealing it never shifts the moving strip. */
.home-dark .catalog-outcome article > p {
  opacity: 0; transform: translateY(5px); pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
}
.home-dark .catalog-outcome article:hover > p,
.home-dark .catalog-outcome article:focus-within > p { opacity: .9; transform: none; }
.home-dark .catalog-outcome article:focus-visible { outline: 2px solid var(--tile-ink); outline-offset: -3px; }
@media(max-width:760px) {
  .home-dark .api-reliability,
  .home-dark .api-speed,
  .home-dark .api-catalog,
  .home-dark .api-pricing,
  .home-dark .api-faq,
  .home-dark .api-closing { padding-block: 80px; }
  .home-dark .catalog-heading { margin-bottom: 32px; }
}
@media(prefers-reduced-motion: reduce) {
  .home-dark .catalog-outcome article > p { transition: none; transform: none; }
}

/* A single event: changed source, repair, verified output. */
.home-dark .api-reliability { background: transparent; }
.home-dark .repair-scene { grid-template-columns: minmax(0,1fr) 24px 168px 24px minmax(0,1fr); }
.home-dark .repair-source, .home-dark .repair-output { background: #1c1c1b; border-color: #383836; height: 268px; }
.home-dark .mini-browser, .home-dark .output-heading { border-color: #353533; color: #c5c3bd; }
.home-dark .mini-browser i { background: #64645f; }
.home-dark .source-content { flex-direction: row; align-items: center; gap: 18px; }
.home-dark .source-picture { width: 72px; height: 112px; opacity: .65; flex: none; }
.home-dark .source-listing strong { font-size: 16px; color: #eceae4; }
.home-dark .source-listing small { color: #aaa9a3; }
.home-dark .source-price { margin-top: 12px; padding: 6px 0; font-size: 25px; color: #e5e3dc; }
.home-dark .pipeline-demo[data-scenario="layout"]:not([data-phase="healthy"]) .source-content { flex-direction: row-reverse; }
.home-dark .pipeline-demo[data-scenario="layout"]:not([data-phase="healthy"]) .source-picture { width: 72px; height: 112px; }
.home-dark .pipeline-demo[data-scenario="layout"]:not([data-phase="healthy"]) .source-price { color: var(--signal); background: transparent; padding: 6px 0; box-shadow: 0 2px 0 var(--signal); }
.home-dark .repair-engine { width: 168px; }
.home-dark .engine-orbit { width: 56px; height: 56px; background: #252624; border-color: #484c46; }
.home-dark .engine-orbit::before { border-color: #3c403b; }
.home-dark .repair-engine > strong { font-size: 15px; color: #eceae4; }
.home-dark #repair-action { font-size: 13px; line-height: 1.5; min-height: 40px; margin-top: 8px; }
.home-dark .repair-link { background: #4a4e47; }
.home-dark .output-row { height: 74px; align-items: center; border-color: #30302e; font-size: 15px; }
.home-dark .output-row strong { font-size: 22px; color: #dedcd5; background: none; }
.home-dark .output-row:first-of-type strong, .home-dark .output-heading b { color: #dedcd5; }
.home-dark .pipeline-demo[data-phase="restored"] #output-rent { color: var(--signal); background: #a5cdb510; }
.home-dark .pipeline-demo:is([data-phase="broken"],[data-phase="repairing"]) .output-row strong { color: var(--signal); background: transparent; }
@media(min-width:761px) and (max-width:1000px) {
  .home-dark .repair-scene { grid-template-columns: minmax(0,1fr) 16px 140px 16px minmax(0,1fr); }
  .home-dark .repair-engine { width: 140px; }
  .home-dark .source-content { gap: 12px; }
  .home-dark .source-picture, .home-dark .pipeline-demo[data-scenario="layout"]:not([data-phase="healthy"]) .source-picture { width: 48px; }
  .home-dark .source-price { font-size: 22px; }
}
@media(max-width:760px) {
  .home-dark .repair-scene { grid-template-columns: minmax(0,1fr); gap: 22px; }
  .home-dark .repair-source { height: 184px; }
  .home-dark .source-content { height: 138px; }
  .home-dark .source-picture, .home-dark .pipeline-demo[data-scenario="layout"]:not([data-phase="healthy"]) .source-picture { height: 90px; width: 62px; }
  .home-dark .repair-engine { width: auto; grid-template-columns: 40px 1fr; }
  .home-dark .engine-orbit { width: 38px; height: 38px; }
  .home-dark #repair-action { min-height: 0; margin-top: 2px; }
  .home-dark .repair-output { height: 225px; }
  .home-dark .output-row { height: 60px; }
}

/* A recognizable source webpage, with progression above the API result. */
.home-dark .pipeline-demo .demo-topline { display: grid; grid-template-columns: minmax(0,1fr) 216px minmax(0,1fr); align-items: end; gap: 0; }
.home-dark .demo-topline .repair-stages { grid-column: 3; padding-bottom: 8px; }
.home-dark .repair-scenarios { gap: 16px; flex-wrap: nowrap; }
.home-dark .repair-scenarios span { white-space: nowrap; font-size: 12px; }
.home-dark .repair-source { background: #222826; border-color: #465249; }
.home-dark .repair-output { background: linear-gradient(135deg, #202b26, #191f1c); border-color: #405248; }
.home-dark .source-content,
.home-dark .pipeline-demo[data-scenario="layout"]:not([data-phase="healthy"]) .source-content { display: flex; flex-direction: column; align-items: stretch; gap: 0; padding: 18px; }
.home-dark .source-site-header { display: flex; align-items: center; justify-content: space-between; padding-bottom: 14px; border-bottom: 1px solid #ffffff12; color: #b5bdb6; font-size: 10px; }
.home-dark .source-site-header b { font-size: 19px; font-weight: 600; color: #e4e8e1; letter-spacing: -.04em; }
.home-dark .source-site-header b span { color: #bdd6a7; }
.home-dark .source-breadcrumb { font-size: 10px; color: #9ba99d; margin: 12px 0; }
.home-dark .source-listing { position: relative; gap: 6px; }
.home-dark .source-listing strong { font-size: 20px; font-weight: 500; }
.home-dark .source-price { margin: 0; padding: 3px 0; color: #bdd6a7; font-size: 25px; }
.home-dark .source-listing small { font-size: 12px; color: #bbc3ba; }
.home-dark .source-listing-meta { display: flex; gap: 8px; margin-top: 7px; color: #aab6aa; font-size: 10px; }
.home-dark .source-listing-meta span { border: 1px solid #465047; padding: 3px 7px; border-radius: 4px; }
.home-dark .pipeline-demo[data-scenario="layout"]:not([data-phase="healthy"]) .source-price { order: 0; align-self: flex-end; padding: 3px 8px; background: #a5cdb510; box-shadow: inset 0 -2px var(--signal); }
.home-dark .engine-orbit { background: radial-gradient(circle at 40% 30%, #3b5547, #26352d); border-color: #7d9987; box-shadow: 0 0 32px #a5cdb514; }
.home-dark .engine-orbit::before { border-color: #526859; }
.home-dark .pipeline-demo[data-phase="broken"] .engine-orbit { background: #49372c; border-color: #bd886f; }
.home-dark .pipeline-demo[data-phase="repairing"] .engine-orbit { background: #403c2e; border-color: #c6af7e; }
.home-dark .output-heading b, .home-dark #output-rent { color: #b6d7bf; }
@media(min-width:761px) and (max-width:1000px) {
  .home-dark .pipeline-demo .demo-topline { grid-template-columns: minmax(0,1fr) 172px minmax(0,1fr); }
  .home-dark .repair-scenarios { gap: 10px; }
  .home-dark .repair-scenarios span { font-size: 10px; }
  .home-dark .source-content { padding: 14px; }
}
@media(max-width:760px) {
  .home-dark .pipeline-demo .demo-topline { grid-template-columns: minmax(0,1fr); gap: 18px; }
  .home-dark .demo-topline .repair-stages { grid-column: 1; padding-bottom: 0; }
  .home-dark .repair-source { height: 268px; }
  .home-dark .source-content { height: 222px; }
  .home-dark .repair-scenarios { justify-content: space-between; gap: 8px; }
  .home-dark .repair-scenarios span { font-size: 11px; }
}
.home-dark .source-listing { line-height: 1.3; }
.home-dark .source-site-header { line-height: 1.3; }
.home-dark .source-breadcrumb { line-height: 1.4; margin-block: 10px; }

/* Scenario and phase indicators share one visual language. */
.home-dark .repair-scenarios { display: flex; width: 100%; gap: 6px; padding-bottom: 8px; align-items: stretch; }
.home-dark .repair-scenarios span {
  flex: 1; position: relative; text-align: center; padding: 16px 0 0;
  border: 0; font-size: 12px; line-height: 1.5; color: #929b90;
}
.home-dark .repair-scenarios span::before {
  content: ""; position: absolute; inset: 0 0 auto; height: 2px;
  border-radius: 2px; background: #384136;
}
.home-dark .repair-scenarios span[aria-current="true"] { color: var(--signal); border: 0; }
.home-dark .repair-scenarios span[aria-current="true"]::before { background: var(--signal); }
.home-dark .repair-stages li { line-height: 1.5; }
@media(min-width:761px) and (max-width:1000px) {
  .home-dark .repair-scenarios span { font-size: 11px; }
}
@media(max-width:760px) {
  .home-dark .repair-scenarios { padding-bottom: 0; }
  .home-dark .repair-scenarios span { font-size: 11px; }
}

/* Warm listing page, cool API response: separate roles with readable color. */
.home-dark .pipeline-demo { max-width: 1160px; }
.home-dark .repair-scene, .home-dark .pipeline-demo .demo-topline { grid-template-columns: minmax(0,1fr) 24px 144px 24px minmax(0,1fr); }
.home-dark .demo-topline .repair-stages { grid-column: 5; }
.home-dark .repair-engine { width: 144px; }
.home-dark .repair-source, .home-dark .repair-output { height: 420px; border-radius: 14px; }
.home-dark .repair-source { background: #f0eae0; border-color: #c9bba7; color: #302b27; }
.home-dark .repair-source .mini-browser { background: #e1d8ca; border-color: #cabda9; height: 46px; }
.home-dark .repair-source .mini-browser > span { color: #534a40; }
.home-dark .repair-source .mini-browser i { background: #9e8f7c; }
.home-dark .source-content,
.home-dark .pipeline-demo[data-scenario="layout"]:not([data-phase="healthy"]) .source-content { height: 372px; padding: 20px; }
.home-dark .source-site-header { color: #655b50; border-color: #cfc4b5; padding-bottom: 10px; }
.home-dark .source-site-header b { color: #342c25; }
.home-dark .source-site-header b span { color: #ab6038; }
.home-dark .source-breadcrumb { color: #766656; margin-block: 9px; }
.home-dark .listing-photo { display: block; width: 100%; height: 165px; object-fit: cover; border-radius: 7px; margin-bottom: 14px; }
.home-dark .source-listing { gap: 5px; }
.home-dark .source-listing strong { color: #302921; font-size: 21px; }
.home-dark .source-listing small { color: #6d6053; font-size: 13px; }
.home-dark .source-price { color: #92502b; font-size: 26px; }
.home-dark .pipeline-demo[data-scenario="layout"]:not([data-phase="healthy"]) .source-price { color: #89481f; background: #dec39b60; box-shadow: inset 0 -2px #bc793b; }
.home-dark .repair-output { background: linear-gradient(145deg, #242c40, #1b2232); border-color: #495776; }
.home-dark .output-heading { height: 46px; padding-inline: 22px; border-color: #43506a; color: #dbe3f5; }
.home-dark .output-heading b { color: #a3bfff; }
.home-dark .output-row { height: 124px; padding: 28px 24px; border-color: #36425c; font-size: 16px; }
.home-dark .output-row > span { color: #c1cce2; }
.home-dark .output-row strong { color: #e0e7f8; font-size: 28px; }
.home-dark #output-rent { color: #b6caff; }
.home-dark #output-city { color: #dfbde9; }
.home-dark #output-beds { color: #e9d2a2; }
.home-dark .pipeline-demo:is([data-phase="broken"],[data-phase="repairing"]) .output-row strong { color: var(--signal); }
@media(min-width:761px) and (max-width:1000px) {
  .home-dark .repair-scene, .home-dark .pipeline-demo .demo-topline { grid-template-columns: minmax(0,1fr) 12px 108px 12px minmax(0,1fr); }
  .home-dark .repair-engine { width: 108px; }
  .home-dark .source-content, .home-dark .pipeline-demo[data-scenario="layout"]:not([data-phase="healthy"]) .source-content { padding: 16px; }
  .home-dark .source-listing strong { font-size: 19px; }
  .home-dark .output-row { padding-inline: 18px; font-size: 14px; }
}
@media(max-width:760px) {
  .home-dark .repair-scene, .home-dark .pipeline-demo .demo-topline { grid-template-columns: minmax(0,1fr); }
  .home-dark .demo-topline .repair-stages { grid-column: 1; }
  .home-dark .repair-source, .home-dark .repair-output { height: 400px; }
  .home-dark .source-content, .home-dark .pipeline-demo[data-scenario="layout"]:not([data-phase="healthy"]) .source-content { height: 352px; padding: 16px; }
  .home-dark .listing-photo { height: 148px; }
  .home-dark .repair-engine { width: auto; }
  .home-dark .output-row { height: 117px; padding-inline: 20px; }
}

/* Keep the cards compact and leave room for a visible data connection. */
.home-dark .pipeline-demo { max-width: 1080px; }
.home-dark .repair-scene, .home-dark .pipeline-demo .demo-topline { grid-template-columns: minmax(0,1fr) 52px 140px 52px minmax(0,1fr); }
.home-dark .repair-engine { width: 140px; }
.home-dark .repair-source, .home-dark .repair-output { height: 360px; }
.home-dark .source-content, .home-dark .pipeline-demo[data-scenario="layout"]:not([data-phase="healthy"]) .source-content { height: 312px; padding: 16px; }
.home-dark .listing-photo { height: 120px; margin-bottom: 10px; }
.home-dark .source-listing strong { font-size: 19px; }
.home-dark .source-price { font-size: 23px; }
.home-dark .output-row { height: 104px; padding: 20px; font-size: 15px; }
.home-dark .output-row strong { font-size: 25px; }
.home-dark .repair-link, .home-dark .repair-engine + .repair-link { height: 2px; background: #728c83; }
.home-dark .repair-link i { width: 7px; height: 7px; top: -2.5px; border-radius: 50%; background: #c2e6d2; box-shadow: 0 0 10px #b4dfc980; }
.home-dark .pipeline-demo:is([data-phase="broken"],[data-phase="repairing"]) .repair-link { background: repeating-linear-gradient(to right, #bd9d72 0 6px, transparent 6px 10px); }
.home-dark .pipeline-demo[data-scenario="layout"]:is([data-phase="broken"],[data-phase="repairing"]) #output-beds { color: #e9d2a2; }
.home-dark .pipeline-demo[data-scenario="layout"]:is([data-phase="broken"],[data-phase="repairing"]) #output-city { color: #dfbde9; }
@media(min-width:761px) and (max-width:1000px) {
  .home-dark .repair-scene, .home-dark .pipeline-demo .demo-topline { grid-template-columns: minmax(0,1fr) 28px 104px 28px minmax(0,1fr); }
  .home-dark .repair-engine { width: 104px; }
  .home-dark .source-listing strong { font-size: 17px; }
  .home-dark .output-row { padding-inline: 16px; font-size: 13px; }
  .home-dark .repair-scenarios span { font-size: 10px; }
}
@media(max-width:760px) {
  .home-dark .repair-scene, .home-dark .pipeline-demo .demo-topline { grid-template-columns: minmax(0,1fr); }
  .home-dark .repair-engine { width: auto; }
  .home-dark .repair-scene { gap: 12px; }
  .home-dark .repair-link, .home-dark .repair-engine + .repair-link { display: block; width: 2px; height: 18px; margin: 0 30px; }
  .home-dark .repair-link i { display: block; width: 5px; height: 5px; left: -1.5px; top: 0; }
  .home-dark .is-playing:is([data-phase="healthy"],[data-phase="restored"]) .repair-link i { animation: repair-packet-down 1.6s linear infinite; }
}
@keyframes repair-packet-down { from { transform: translateY(0); } to { transform: translateY(14px); } }

/* Open speed paths: warm browser work and a violet direct beam. */
.home-dark .speed-heading h2 em {
  display: inline-block; position: relative; color: #c6a4ff;
  font-style: normal; transform: skewX(-7deg); isolation: isolate;
  text-shadow: 7px 0 9px #a879ee32, 18px 0 17px #a879ee18;
}
.home-dark .speed-heading h2 em::after {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  left: 55%; right: -8px; top: 32%; height: 42%;
  background: repeating-linear-gradient(0deg, transparent 0 6px, #b38af329 7px 8px, transparent 9px 13px);
  filter: blur(3px); mask-image: linear-gradient(90deg, transparent, #000 30%, transparent);
}
.home-dark .speed-heading > p strong { color: #c6a4ff; }
.home-dark .speed-comparison { background: transparent; border: 0; border-radius: 0; overflow: visible; }
.home-dark .speed-topline { padding: 0 0 22px; border: 0; }
.home-dark .speed-topline > span { color: #aaa4b4; }
.home-dark .speed-lane { padding: 22px 0; background: transparent; border: 0; }
.home-dark .browser-lane { color: #e3b78b; }
.home-dark .direct-lane { color: #d2b8ff; margin-top: 24px; }
.home-dark .speed-lane-label > small { color: #b5afb9; opacity: 1; }
.home-dark .speed-browser-icon, .home-dark .speed-browser-icon::after { border-color: #d1a479; }
.home-dark .speed-station { background: transparent; border: 0; border-radius: 0; color: #b7a590; }
.home-dark .speed-station.is-current { color: #ffd29e; background: transparent; box-shadow: none; }
.home-dark .speed-station.is-complete { color: #dbb68d; background: transparent; }
.home-dark .speed-station.is-current::after { background: #eab879; }
.home-dark .speed-connector { background: #67523d; }
.home-dark .speed-station.is-complete + .speed-connector::after { background: #dba66e; }
.home-dark .browser-result { color: #baa997; }
.home-dark .browser-result > span { border-color: #765b40; }
.home-dark .browser-result.is-ready { color: #f1c693; }
.home-dark .browser-result.is-ready > span { background: #493723; border-color: #a77c4c; }
.home-dark .speed-brand { background: #bb91ff; }
.home-dark .direct-request { background: transparent; border: 0; box-shadow: none; padding: 16px 12px 16px 0; }
.home-dark .direct-request > span { color: #b899eb; }
.home-dark .direct-request code { color: #e4d5ff; }
.home-dark .direct-request i { color: #c79fff; }
.home-dark .direct-line { background: #685086; height: 2px; }
.home-dark .direct-line i { background: #e2caff; box-shadow: 0 0 16px #b581ff; }
.home-dark .direct-line::after { background: linear-gradient(90deg, transparent, #ac78f5, #efe4ff); box-shadow: 0 0 12px #b481ff66; }
.home-dark .direct-result.is-ready { color: #d8baff; }
.home-dark .direct-result.is-ready > span { background: #362448; border-color: #b188e2; }
@media(prefers-reduced-motion: reduce) {
  .home-dark .speed-heading h2 em { transform: none; text-shadow: none; }
  .home-dark .speed-heading h2 em::after { display: none; }
}

/* Give the speed comparison its own full-height section. */
.home-dark .api-speed { min-height: 780px; padding-block: 160px; }
.home-dark .speed-lane { padding-block: 34px; }
.home-dark .direct-lane { margin-top: 48px; }
@media(max-width:760px) {
  .home-dark .api-speed { min-height: 0; padding-block: 112px; gap: 52px; }
  .home-dark .speed-lane { padding-block: 26px; }
  .home-dark .direct-lane { margin-top: 32px; }
}

/* Credit reassurance belongs with the pricing introduction. */
.home-dark .api-pricing-heading h2 em { color: #e9cd82; }
.home-dark .api-pricing-heading .api-rate-volume { margin-top: 38px; padding: 0; background: transparent; border: 0; }
.home-dark .api-pricing-heading .api-credit-message h3 { color: #e8e6e1; font: 450 22px/1.3 "DM Sans", sans-serif; }
.home-dark .api-pricing-heading .api-credit-message p { color: #bcbab2; }
.home-dark .api-pricing-heading .api-credit-timeline { max-width: 350px; margin-top: 20px; }
.home-dark .api-pricing-heading .api-timeline-caption { fill: #e9cd82; }
.home-dark .api-pricing-heading .api-timeline-dates { fill: #bcbab2; }
.home-dark .api-pricing-heading .api-timeline-trail { stroke: #e9cd82; }

/* Integration: one request, the same records, in your own language. */
.home-dark .api-integration { padding-block: 110px 130px; }
.home-dark .integration-heading { text-align: center; max-width: 700px; margin: 0 auto 48px; }
.home-dark .integration-heading h2 { font-size: clamp(34px, 3.35vw, 48px); line-height: 1.17; letter-spacing: -.03em; font-weight: 450; }
.home-dark .integration-heading h2 span { color: #a9c7ff; }
.home-dark .integration-heading p { color: #bcbab2; font-size: 17px; line-height: 1.65; margin: 22px auto 16px; max-width: 560px; }
.home-dark .integration-heading > a { color: #bad2ff; font-size: 14px; }
.home-dark .integration-demo { display: grid; grid-template-columns: minmax(0,1.2fr) minmax(0,1fr); gap: 24px; max-width: 1100px; margin: auto; }
.home-dark .integration-request, .home-dark .integration-response { min-width: 0; border-radius: 12px; overflow: hidden; border: 1px solid #383e49; background: #1a1d23; }
.home-dark .integration-tabs { display: flex; gap: 24px; min-height: 58px; padding-inline: 24px; border-bottom: 1px solid #323846; }
.home-dark .integration-tabs button { font: 13px "DM Sans",sans-serif; color: #acb4c2; background: none; border: 0; border-bottom: 2px solid transparent; padding: 16px 0; cursor: pointer; }
.home-dark .integration-tabs button[aria-selected="true"] { color: #bdd5ff; border-bottom-color: #a9c7ff; }
.home-dark .integration-demo pre { margin: 0; min-height: 0; padding: 24px; font: 12px/1.75 ui-monospace, SFMono-Regular, Menlo, monospace; color: #d4dced; overflow: auto; white-space: pre; background: transparent; }
.home-dark .integration-code { height: 370px; }
.home-dark .integration-code pre { height: 370px; }
.home-dark .integration-config { margin: 0; padding: 16px 24px; color: #aeb7c7; font-size: 12px; border-top: 1px solid #323846; }
.home-dark .integration-response { display: flex; flex-direction: column; background: radial-gradient(ellipse at top right, #25395360, transparent 80%), #181d25; }
.home-dark .integration-response-header { display: flex; align-items: center; justify-content: space-between; padding: 20px 24px; min-height: 58px; font: 11px ui-monospace, monospace; color: #aebbd1; border-bottom: 1px solid #323846; }
.home-dark .integration-http { color: #b4dec5; }
.home-dark .integration-response pre { flex: 1; font-size: 16px; line-height: 1.9; padding-block: 36px; }
.home-dark .json-key { color: #b6cef3; }
.home-dark .json-number { color: #ebce94; }
.home-dark .json-string { color: #cbb2ee; }
.home-dark .integration-events { display: flex; align-items: center; gap: 14px; padding: 20px 24px; color: #a8bddb; font-size: 12px; }
.home-dark .integration-events i { position: relative; height: 1px; flex: 1; background: #435774; }
.home-dark .integration-events i::after { content: ""; position: absolute; width: 5px; height: 5px; right: 0; top: -2px; background: #a9c7ff; border-radius: 50%; }
.home-dark .integration-delivered { color: #bfd8f9; }
.home-dark .integration-delivered b { color: #abd4ba; padding-left: 4px; }
.home-dark .integration-demo[data-state="requesting"] .integration-events i::after { animation: integration-request 850ms ease-in-out both; }
.home-dark .integration-demo[data-state="requesting"] .integration-response pre,
.home-dark .integration-demo[data-state="requesting"] .integration-http,
.home-dark .integration-demo[data-state="requesting"] .integration-delivered { opacity: .18; }
.home-dark .integration-response pre, .home-dark .integration-http, .home-dark .integration-delivered { transition: opacity 250ms ease; }
.home-dark .integration-demo :focus-visible { outline: 2px solid #a9c7ff; outline-offset: -3px; }
.home-dark .integration-demo:not([data-ready]) .integration-tabs { pointer-events: none; }
@keyframes integration-request { from { right: 100%; } to { right: 0; } }
@media(max-width:760px) {
  .home-dark .api-integration { padding-block: 80px; }
  .home-dark .integration-demo { grid-template-columns: minmax(0,1fr); gap: 20px; }
  .home-dark .integration-heading { text-align: left; margin-bottom: 32px; }
  .home-dark .integration-heading p { font-size: 16px; }
  .home-dark .integration-tabs { padding-inline: 18px; gap: 22px; }
  .home-dark .integration-demo pre { padding-inline: 18px; }
  .home-dark .integration-response pre { font-size: 14px; }
  .home-dark .integration-config, .home-dark .integration-events, .home-dark .integration-response-header { padding-inline: 18px; }
}
@media(prefers-reduced-motion: reduce) {
  .home-dark .integration-demo *, .home-dark .integration-demo *::after { animation: none !important; transition: none !important; }
}
.home-dark .integration-code, .home-dark .integration-code pre { height: 420px; }
.home-dark .integration-demo pre code { font: inherit; }

/* Developer experience is an editorial statement, supported by a workspace. */
.home-dark .api-integration { display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); align-items: center; gap: 64px; }
.home-dark .integration-heading { text-align: left; margin: 0; max-width: 500px; }
.home-dark .integration-heading p { margin: 24px 0 0; max-width: 440px; font-size: 18px; line-height: 1.75; }
.home-dark .integration-heading p + p { margin-top: 18px; }
.home-dark .integration-heading p em { color: #e6e9f0; }
.home-dark .integration-heading > a { display: inline-block; margin-top: 28px; }
.home-dark .integration-demo { display: block; width: 100%; min-width: 0; }
.home-dark .integration-request { background: linear-gradient(145deg,#202734,#191b22); border-color: #3c485b; }
@media(max-width:900px) {
  .home-dark .api-integration { grid-template-columns: minmax(0,1fr); gap: 40px; }
  .home-dark .integration-heading { max-width: 680px; }
  .home-dark .integration-heading p { max-width: 600px; }
}

/* Developer-specific capabilities, each with a concrete visual explanation. */
.home-dark .api-integration { display: block; }
.home-dark .integration-heading { margin: 0 auto 56px; text-align: center; max-width: 780px; }
.home-dark .integration-heading p { max-width: 680px; margin-inline: auto; }
.home-dark .developer-features { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 36px; }
.home-dark .developer-feature { min-width: 0; }
.home-dark .developer-feature h3 { color: #ebe9e3; font-size: 23px; line-height: 1.25; letter-spacing: -.025em; margin: 28px 0 14px; font-weight: 450; }
.home-dark .developer-feature p { color: #bcbab2; font-size: 15px; line-height: 1.75; margin-bottom: 20px; }
.home-dark .developer-feature > a { color: #bfd1f3; font-size: 13px; }
.home-dark .developer-visual { height: 200px; border-radius: 12px; padding: 24px; display: flex; flex-direction: column; justify-content: center; gap: 16px; font: 16px/1.5 ui-monospace,monospace; }
.home-dark .developer-visual code { font: inherit; }
.home-dark .developer-visual .visual-output { font-size: 18px; }
.home-dark .contract-visual { background: radial-gradient(at top right,#293b59,#1b202a); border: 1px solid #3a4a65; color: #b7cff6; }
.home-dark .contract-diff { display: grid; gap: 8px; }
.home-dark .contract-diff .diff-removed { color: #dcadb3; }
.home-dark .contract-diff .diff-added { color: #b8d6bc; }
.home-dark .contract-result strong { display: inline-block; color: #eac48a; font-size: 14px; font-weight: 500; padding: 4px 10px; border: 1px solid #eac48a30; border-radius: 5px; }
.home-dark .schema-visual { background: radial-gradient(at top right,#40304c,#241e2b); border: 1px solid #584263; padding: 20px; gap: 10px; }
.home-dark .schema-input { display: grid; gap: 2px; color: #baa6c8; }
.home-dark .schema-input > span, .home-dark .schema-output > span { color: #c0a9ce; font: 12px/1.3 "DM Sans",sans-serif; }
.home-dark .schema-output { display: grid; gap: 4px; }
.home-dark .schema-visual .visual-output { color: #e0c5ee; }
.home-dark .agentic-visual { background: radial-gradient(at top right,#443b27,#252219); border: 1px solid #5b4d30; color: #e9d5a8; }
.home-dark .agentic-contract-flow { display: flex; align-items: center; gap: 8px; color: #dcc69c; font: 14px/1.5 "DM Sans",sans-serif; }
.home-dark .agentic-contract-flow > span { opacity: .6; }
.home-dark .agentic-plan { display: grid; gap: 8px; }
.home-dark .agentic-plan > div { display: flex; justify-content: space-between; gap: 8px; }
.home-dark .agentic-plan > div > span { color: #c9af7d; font: 15px/1.6 "DM Sans",sans-serif; }
.home-dark .agentic-plan code { color: #f2dfb9; }
@media(max-width:900px) {
  .home-dark .developer-features { grid-template-columns: minmax(0,1fr); gap: 44px; max-width: 620px; margin: auto; }
}
@media(max-width:760px) {
  .home-dark .integration-heading { text-align: left; margin-bottom: 36px; }
}

/* Developer section typography, following the supplied display treatment. */
.home-dark .integration-heading { max-width: 900px; text-align: center; }
.home-dark .integration-heading h2 {
  font-family: "DM Sans", sans-serif; font-size: 48px; font-weight: 450;
  line-height: 1.2; letter-spacing: -.05em; margin-bottom: 8px;
  color: #e9e8e4; background: linear-gradient(180deg, #faf9f6 20%, #a7a7a1 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  text-wrap: balance;
}
.home-dark .integration-heading h2 span { color: inherit; }
.home-dark .integration-heading p {
  font-size: 16px; font-weight: 400; line-height: 1.5;
  color: #b7b7b1; max-width: 760px; margin: 12px auto 0;
  text-align: center; text-wrap: balance;
}
.home-dark .integration-heading p + p { margin-top: 8px; }
@media(min-width:768px) {
  .home-dark .integration-heading h2 { font-size: 56px; }
  .home-dark .integration-heading p { font-size: 18px; }
}
@media(forced-colors:active) {
  .home-dark .integration-heading h2 { background: none; -webkit-text-fill-color: CanvasText; }
}

/* Consistent display and supporting-copy typography across homepage sections. */
.api-home.home-dark :is(#process-title, #catalog-title, #speed-title, #integration-title, #pricing-title, #faq-title, #closing-title) {
  font-family: "DM Sans", sans-serif; font-size: 48px; font-weight: 450;
  line-height: 1.2; letter-spacing: -.05em; text-wrap: balance;
  color: #e9e8e4; background: linear-gradient(180deg, #faf9f6 20%, #a7a7a1 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.api-home.home-dark #process-title em { color: #bdbdb7; -webkit-text-fill-color: currentColor; }
.home-dark .repair-phrase { position: relative; white-space: nowrap; }
.home-dark .repair-phrase::before,
.home-dark .repair-phrase::after {
  content: ""; position: absolute; bottom: -.06em; height: 1px;
  pointer-events: none; background: #aaa8a1; opacity: .65;
}
.home-dark .repair-phrase::before {
  left: 0; right: 0;
  background: linear-gradient(to right, #aaa8a1 44%, transparent 44%, transparent 56%, #aaa8a1 56%);
}
.home-dark .repair-phrase::after { left: 44%; width: 12%; transform: scaleX(1); }
.home-dark .repair-phrase.is-waiting::after { transform: scaleX(0); }
.home-dark .repair-phrase.is-repaired::after {
  transition: transform 700ms ease-out 180ms;
}
@media (prefers-reduced-motion: reduce) {
  .home-dark .repair-phrase.is-waiting::after { transform: scaleX(1); }
  .home-dark .repair-phrase.is-repaired::after { transition: none; }
}
.api-home.home-dark #integration-title .developer-terminal {
  font: inherit; letter-spacing: inherit;
  color: inherit; -webkit-text-fill-color: inherit;
}
.api-home.home-dark #integration-title .developer-terminal-prompt {
  margin-right: .18em; font-style: normal;
  color: #a5cdb5; -webkit-text-fill-color: currentColor;
}
.api-home.home-dark #integration-title .developer-terminal-cursor {
  display: inline-block; width: .18em; height: .72em;
  margin-left: .12em; vertical-align: -.04em;
  background: currentColor; opacity: .65;
}
.api-home.home-dark #speed-title em { -webkit-text-fill-color: #c6a4ff; }
.api-home.home-dark #pricing-title em { -webkit-text-fill-color: #e9cd82; }
.api-home.home-dark :is(.reliability-heading, .speed-heading, .integration-heading, .api-pricing-heading, .api-faq-heading, .api-closing) > p {
  font-size: 16px; font-weight: 400; line-height: 1.5; color: #b7b7b1; text-wrap: balance;
}
@media(min-width:768px) {
  .api-home.home-dark :is(#process-title, #catalog-title, #speed-title, #integration-title, #pricing-title, #faq-title, #closing-title) { font-size: 56px; }
  .api-home.home-dark :is(.reliability-heading, .speed-heading, .integration-heading, .api-pricing-heading, .api-faq-heading, .api-closing) > p { font-size: 18px; }
}
@media(forced-colors:active) {
  .api-home.home-dark :is(#process-title, #catalog-title, #speed-title, #integration-title, #pricing-title, #faq-title, #closing-title),
  .api-home.home-dark #process-title em, .api-home.home-dark #integration-title span,
  .api-home.home-dark #speed-title em, .api-home.home-dark #pricing-title em { background: none; -webkit-text-fill-color: CanvasText; }
}
.api-home.home-dark #faq-title { text-transform: none; }
.home-dark .speed-heading, .home-dark .api-pricing-heading, .home-dark .api-faq-heading { min-width: 0; }

/* Neutral labels stay readable over each card's accent palette. */
.home-dark .catalog-source { color: #e8e6e1; }
.home-dark .catalog-sources-label { color: #c3c2bc; opacity: 1; }
.home-dark .catalog-eyebrow { color: #b9b8b4; }

/* Align pricing's introduction and decision card on the same top edge. */
.home-dark .api-pricing-heading { margin-top: 0; }
.home-dark .api-pricing-heading h2 { margin-top: 0; }
.home-dark .api-pricing-heading > p { max-width: 400px; }
.home-dark .api-pricing-heading .api-rate-volume { margin-top: 28px; }
.home-dark .api-pricing-heading .api-credit-timeline { margin-top: 16px; }

/* Console entry: a text action, with a quiet baseline instead of a box. */
.home-dark .header .console-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  height: 42px;
  min-height: 42px;
  padding: 0 0 0 2px;
  border: 0;
  border-bottom: 1px solid #62665e;
  border-radius: 0;
  background: none;
  color: #e8e6e1;
  font-size: 14px;
  font-weight: 450;
  line-height: 1.4;
  box-shadow: none;
  transform: none;
  transition: color 150ms ease, border-color 150ms ease;
}
.home-dark .header .console-arrow {
  display: inline-block;
  margin: 0;
  padding: 0;
  border: 0;
  color: #b5cec1;
  font-size: 16px;
  line-height: 1;
  transform: none;
  transition: none;
}
.home-dark .header .console-cta:hover {
  background: none;
  border-color: #b5cec1;
  color: #fff;
  transform: none;
}
.home-dark .header .console-cta:hover .console-arrow { transform: none; }
.home-dark .header .console-cta:focus-visible {
  outline: 2px solid #b5cec1;
  outline-offset: 4px;
}
.home-dark .header .console-cta:active { background: none; color: #b5cec1; }
/* A warm, quiet invitation at the end of the technical story. */
.home-dark .closing-handshake {
  position: relative;
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  margin: 0 auto;
  border: 1px solid #b5cec12e;
  border-radius: 50%;
  color: #b5cec1;
  background: radial-gradient(circle, #b5cec112, #b5cec104);
  box-shadow: 0 0 64px 12px #b5cec10a;
}
.home-dark .closing-handshake svg { width: 36px; height: 36px; }
.api-home.home-dark #closing-title {
  margin-top: 24px;
  font-size: clamp(56px, 6vw, 80px);
  font-weight: 450;
  letter-spacing: -.055em;
  line-height: 1.08;
}
.api-home.home-dark #closing-title span { color: #b5cec1; -webkit-text-fill-color: currentColor; }
.home-dark .api-closing p { margin-top: 22px; }
@media (prefers-reduced-motion: reduce) {
  .home-dark .header .console-cta { transition: none; }
}
