/* Extend the real detail link across its card, keeping Save independently usable. */
.api-card { position: relative; }
.api-card .open-card::after { content: ''; position: absolute; inset: 0; z-index: 1; border-radius: var(--card-radius); cursor: pointer; }
.api-card .bookmark { position: relative; z-index: 2; }
.api-card .open-card:focus-visible::after { outline: 3px solid #ae3509; outline-offset: 3px; }
:root {
  --ink: #050712;
  --muted: #7d8790;
  --soft: #f5f7f8;
  --line: #e8ebed;
  --blue: #ff5a1f;
  --blue-soft: #fff1e9;
  --green: #25a974;
  --sidebar: 260px;
  --shadow: 0 16px 50px rgba(25, 35, 52, .12);
  --card-radius: 9px;
  --desktop-columns: 3;
}

* { box-sizing: border-box; }
html { scroll-behavior: auto; }
body { margin: 0; background: #fff; color: var(--ink); font-family: 'Plus Jakarta Sans', system-ui, sans-serif; }
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }

.app-shell { min-height: 100vh; display: flex; }
.sidebar { width: var(--sidebar); flex: 0 0 var(--sidebar); border-right: 1px solid var(--line); padding: 28px 16px 20px; display: flex; flex-direction: column; position: sticky; top: 0; height: 100vh; overflow: hidden; background: #fff; z-index: 30; }
.brand-lockup { display: flex; align-items: center; gap: 10px; padding: 0 10px 30px; position: relative; }
.brand-mark { width: 28px; height: 28px; display: flex; align-items: flex-end; gap: 3px; }
.brand-mark span { display: block; width: 7px; border-radius: 3px 3px 1px 1px; background: var(--blue); }
.brand-mark span:nth-child(1) { height: 14px; opacity: .66; }.brand-mark span:nth-child(2) { height: 23px; }.brand-mark span:nth-child(3) { height: 18px; opacity: .8; }
.brand-name, .mobile-brand { margin: 0; font-size: 22px; font-weight: 800; letter-spacing: -.06em; line-height: .95; }.brand-name span, .mobile-brand span, .brand-period { color: var(--blue); }
.brand-subtitle { margin: 4px 0 0; color: var(--muted); font-size: 9px; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; }
.nav-label { margin: 0 11px 10px; color: #a0a8ae; text-transform: uppercase; letter-spacing: .14em; font: 500 10px 'DM Mono', monospace; }.category-label { margin-top: 27px; }
.side-nav { flex: 1; min-height: 0; padding-top: 24px; }.nav-item { width: 100%; border: 0; background: transparent; color: #6b747c; display: flex; align-items: center; gap: 11px; padding: 10px 11px; margin: 2px 0; border-radius: 8px; font-size: 12px; text-align: left; transition: .2s; }.nav-item:hover { background: var(--soft); color: var(--ink); }.nav-item.active { background: var(--blue-soft); color: var(--blue); font-weight: 700; }.nav-icon { font-size: 17px; width: 15px; text-align: center; color: currentColor; }.nav-count { margin-left: auto; color: #a3abb2; font: 10px 'DM Mono', monospace; }.nav-dot { margin-left: auto; width: 5px; height: 5px; border-radius: 50%; background: var(--blue); }.category-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--blue); margin: 0 3px; }.category-dot.pay { background: #f58b5e; }.category-dot.comm { background: #d87ad3; }.category-dot.data { background: #16a699; }.category-dot.maps { background: #e6b247; }.category-dot.dev { background: #8f7fea; }.category-dot.security { background: #e16072; }.category-dot.shop { background: #6fbe7b; }
@media (min-width: 821px) {
  .sidebar { padding-top: 14px; }
  .side-nav { display: flex; flex-direction: column; }
  .brand-lockup { padding-bottom: 6px; }
  .nav-label { margin-bottom: 2px; }
  .category-label { margin-top: 4px; }
  .nav-item { margin-block: 0; padding-block: 0; line-height: 1.45; }
}
.sidebar-footer { padding-top: 20px; }.catalog-note { padding: 12px; border: 1px solid var(--line); border-radius: 9px; display: flex; align-items: center; gap: 9px; background: #fbfcfc; }.note-icon { width: 25px; height: 25px; display: grid; place-items: center; border-radius: 7px; color: var(--blue); background: var(--blue-soft); }.catalog-note strong, .catalog-note span { display: block; }.catalog-note strong { font-size: 11px; }.catalog-note span { color: var(--muted); font-size: 9px; margin-top: 2px; }.mini-arrow { border: 0; background: none; color: var(--blue); margin-left: auto; }.sidebar-meta { margin: 14px 12px 0; color: #b4bbc0; font: 9px 'DM Mono', monospace; }

.main-content { min-width: 0; flex: 1; }.topbar { height: 76px; border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 22px; padding: 0 42px; position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.92); backdrop-filter: blur(14px); }.search-box { height: 38px; max-width: 560px; flex: 1; display: flex; align-items: center; padding: 0 11px; border: 1px solid #e0e4e7; border-radius: 7px; background: #fafbfc; transition: .2s; }.search-box:focus-within { background: #fff; border-color: #a9bdf4; box-shadow: 0 0 0 3px rgba(54,103,232,.08); }.search-icon { color: #8e979d; font-size: 20px; transform: rotate(-15deg); margin-right: 7px; }.search-box input { min-width: 0; width: 100%; border: 0; outline: 0; background: none; font-size: 12px; color: var(--ink); }.search-box kbd { color: #a4abb0; border: 1px solid #dfe4e6; border-bottom-width: 2px; border-radius: 4px; padding: 1px 6px; font: 10px 'DM Mono', monospace; }.topbar-actions { display: flex; align-items: center; gap: 20px; margin-left: auto; }.top-link { border: 0; background: transparent; color: #69747b; font-size: 11px; }.avatar { width: 28px; height: 28px; border: 0; border-radius: 50%; background: #192531; color: #fff; font-size: 9px; font-weight: 700; }.menu-button, .sidebar-close, .mobile-brand { display: none; }
.content-wrap { max-width: 1240px; margin: 0 auto; padding: 0 42px 24px; }.hero-section { display: flex; justify-content: space-between; min-height: 366px; padding: 76px 0 60px; border-bottom: 1px solid var(--line); }.eyebrow, .section-kicker { color: var(--blue); font: 500 10px 'DM Mono', monospace; letter-spacing: .13em; margin: 0 0 20px; }.eyebrow { display: flex; align-items: center; gap: 8px; }.eyebrow-line { width: 22px; height: 1px; background: var(--blue); }.hero-copy h1 { margin: 0; font-size: clamp(38px, 4.5vw, 64px); line-height: 1.08; letter-spacing: -.065em; font-weight: 800; }.hero-copy h1 em { color: var(--blue); font-style: normal; }.hero-description { max-width: 460px; margin: 22px 0 28px; color: #6f7981; font-size: 14px; line-height: 1.75; }.hero-actions { display: flex; align-items: center; gap: 26px; }.primary-button, .secondary-button { border: 0; border-radius: 6px; padding: 11px 15px; font-size: 11px; font-weight: 700; }.primary-button { color: #fff; background: var(--blue); box-shadow: 0 6px 15px rgba(54,103,232,.2); }.primary-button span { font-size: 15px; margin-left: 7px; }.micro-proof { display: flex; align-items: center; gap: 9px; color: #949da3; font-size: 10px; }.proof-avatars { display: flex; }.proof-avatars i { display: grid; place-items: center; width: 22px; height: 22px; border: 2px solid #fff; border-radius: 50%; margin-left: -5px; color: #fff; background: #e6a873; font-style: normal; font-size: 7px; font-weight: 700; }.proof-avatars i:first-child { margin-left: 0; background: #6375c9; }.proof-avatars i:last-child { background: #5f9f88; }
.hero-aside { align-self: center; width: 270px; text-align: center; }.orbit-card { height: 190px; position: relative; }.orbit-center { position: absolute; top: 66px; left: 50%; transform: translateX(-50%); width: 54px; height: 54px; display: grid; place-items: center; color: #fff; background: var(--blue); box-shadow: 0 13px 25px rgba(54,103,232,.25); border-radius: 50%; font: 500 11px 'DM Mono', monospace; z-index: 2; }.orbit-ring { position: absolute; border: 1px solid #dce4f8; border-radius: 50%; left: 50%; top: 50%; transform: translate(-50%, -50%); }.ring-one { width: 150px; height: 150px; }.ring-two { width: 250px; height: 96px; transform: translate(-50%, -50%) rotate(-35deg); border-color: #e4e9f4; }.orbit-node { position: absolute; z-index: 3; display: grid; place-items: center; width: 29px; height: 29px; border-radius: 50%; background: #fff; box-shadow: 0 5px 14px rgba(27,48,90,.12); color: var(--blue); font: 500 9px 'DM Mono', monospace; }.node-one { top: 15px; left: 92px; }.node-two { top: 80px; right: 8px; color: #d87ad3; }.node-three { bottom: 11px; left: 69px; color: #f58b5e; }.node-four { bottom: 27px; right: 50px; color: #16a699; }.hero-aside p { color: #9aa2a8; font-size: 10px; line-height: 1.6; }.hero-aside strong { color: var(--ink); font-size: 16px; }
.stats-strip { display: flex; align-items: center; gap: 0; border-bottom: 1px solid var(--line); }.stats-strip > div:not(.stats-note) { padding: 22px 70px 22px 0; margin-right: 40px; border-right: 1px solid var(--line); }.stats-strip strong, .stats-strip span { display: block; }.stats-strip strong { font-size: 20px; letter-spacing: -.04em; }.stats-strip span { margin-top: 3px; color: #9aa2a8; font: 9px 'DM Mono', monospace; text-transform: uppercase; letter-spacing: .07em; }.stats-note { display: flex; gap: 7px; align-items: center; color: #8e989e; font: 10px 'DM Mono', monospace; margin-left: auto; }.live-dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(37,169,116,.1); }
.catalog-section { padding: 70px 0 85px; }.catalog-head { display: flex; align-items: flex-end; justify-content: space-between; }.catalog-head h2, .sources-section h2 { margin: 0; font-size: 28px; letter-spacing: -.055em; }.section-kicker { margin-bottom: 11px; }.catalog-controls { display: flex; align-items: center; gap: 24px; color: #9aa2a8; font: 10px 'DM Mono', monospace; }.result-count { color: var(--blue); }.sort-control { display: flex; align-items: center; gap: 7px; }.sort-control select { border: 0; background: transparent; color: var(--ink); outline: 0; font: 10px 'DM Mono', monospace; cursor: pointer; }.filter-row { display: flex; gap: 8px; overflow-x: auto; padding: 27px 0 23px; scrollbar-width: none; }.filter-row::-webkit-scrollbar { display: none; }.filter-chip { border: 1px solid var(--line); border-radius: 5px; padding: 8px 11px; color: #7c878e; background: #fff; white-space: nowrap; font: 10px 'DM Mono', monospace; }.filter-chip:hover { border-color: #bcc8eb; color: var(--blue); }.filter-chip.active { background: var(--ink); border-color: var(--ink); color: #fff; }
.api-grid { display: grid; grid-template-columns: repeat(var(--desktop-columns), 1fr); gap: 14px; }.api-card { min-height: 265px; border: 1px solid var(--line); border-radius: var(--card-radius); padding: 17px; display: flex; flex-direction: column; transition: .22s ease; background: #fff; }.api-card:hover { border-color: #b8c7f0; box-shadow: 0 12px 25px rgba(30,45,78,.07); transform: translateY(-3px); }.card-top { display: flex; justify-content: space-between; align-items: center; }.category-pill { padding: 5px 7px; border-radius: 4px; color: var(--blue); background: var(--blue-soft); font: 9px 'DM Mono', monospace; }.category-pill.payments { color: #ce6d48; background: #fff0ea; }.category-pill.communication { color: #ad56a9; background: #f8eefa; }.category-pill.data { color: #078c81; background: #e8f8f6; }.category-pill.maps { color: #ab7a11; background: #fff8dc; }.category-pill.developer { color: #7161c9; background: #efedff; }.category-pill.security { color: #c14b5b; background: #fff0f2; }.category-pill.ecommerce { color: #4d9d5a; background: #eaf8ec; }.bookmark { border: 0; background: transparent; color: #bcc3c7; font-size: 16px; }.bookmark.saved { color: var(--blue); }.api-card h3 { margin: 20px 0 7px; font-size: 17px; letter-spacing: -.045em; }.api-card p { margin: 0; color: #7f8990; font-size: 11px; line-height: 1.65; }.card-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 15px; }.card-tags span { padding: 4px 6px; border-radius: 3px; background: #f5f7f8; color: #89939a; font: 9px 'DM Mono', monospace; }.card-footer { display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding-top: 21px; }.card-auth { color: #9ca5aa; font: 9px 'DM Mono', monospace; }.card-auth b { color: var(--green); font-weight: 500; }.open-card { border: 0; padding: 0; background: none; color: var(--blue); font-size: 10px; font-weight: 700; }.empty-state { text-align: center; padding: 60px 0; border: 1px dashed var(--line); border-radius: var(--card-radius); }.empty-symbol { color: var(--blue); font-size: 30px; }.empty-state h3 { margin: 8px 0 5px; }.empty-state p { color: var(--muted); font-size: 12px; }.secondary-button { border: 1px solid var(--line); background: #fff; color: var(--ink); }
.sources-section { display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px 80px; padding: 50px 0 62px; border-top: 1px solid var(--line); }.sources-section > p { align-self: end; max-width: 430px; margin: 0; color: #7f8990; font-size: 12px; line-height: 1.8; }.source-links { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 18px; padding-top: 20px; border-top: 1px solid var(--line); color: #9aa2a8; font: 9px 'DM Mono', monospace; }.source-links a { color: var(--blue); }.footer { display: flex; justify-content: space-between; padding: 20px 0; color: #a5adb2; border-top: 1px solid var(--line); font: 9px 'DM Mono', monospace; }.backdrop { display: none; position: fixed; inset: 0; background: rgba(14, 24, 35, .28); z-index: 35; }.detail-drawer { position: fixed; top: 0; right: 0; width: min(550px, 100%); height: 100vh; z-index: 40; padding: 42px 40px; overflow-y: auto; background: #fff; box-shadow: -20px 0 50px rgba(20,35,56,.14); transform: translateX(110%); transition: transform .3s ease; }.detail-drawer.open { transform: translateX(0); }.backdrop.open { display: block; }.drawer-close { position: absolute; top: 20px; right: 25px; }.drawer-eyebrow { color: var(--blue); font: 10px 'DM Mono', monospace; text-transform: uppercase; letter-spacing: .12em; }.drawer-title { margin: 13px 0 10px; font-size: 37px; letter-spacing: -.06em; }.drawer-description { color: #737e86; font-size: 13px; line-height: 1.7; max-width: 430px; }.drawer-meta { display: flex; flex-wrap: wrap; gap: 7px; padding: 20px 0 27px; border-bottom: 1px solid var(--line); }.drawer-meta span { padding: 7px 8px; background: var(--soft); color: #79848c; font: 9px 'DM Mono', monospace; border-radius: 4px; }.drawer-section { padding: 25px 0; border-bottom: 1px solid var(--line); }.drawer-section h4 { margin: 0 0 13px; color: #9aa2a8; font: 10px 'DM Mono', monospace; text-transform: uppercase; letter-spacing: .12em; }.drawer-section p, .drawer-section li { color: #66727b; font-size: 12px; line-height: 1.65; }.drawer-section ul { margin: 0; padding-left: 17px; }.pros-cons { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }.pros-cons h5 { margin: 0 0 7px; color: var(--green); font: 10px 'DM Mono', monospace; text-transform: uppercase; }.pros-cons .cons h5 { color: #dc6875; }.drawer-link { color: var(--blue); font-size: 12px; font-weight: 700; }.alt-link { display: inline-block; margin: 4px 5px 0 0; padding: 7px 9px; border: 1px solid var(--line); border-radius: 4px; color: var(--blue); font: 10px 'DM Mono', monospace; }.toast { position: fixed; left: 50%; bottom: 22px; transform: translate(-50%, 20px); padding: 10px 13px; border-radius: 5px; color: #fff; background: #1b2732; font-size: 11px; opacity: 0; pointer-events: none; transition: .2s; z-index: 70; }.toast.show { opacity: 1; transform: translate(-50%, 0); }
@media (max-width: 1080px) { .api-grid { grid-template-columns: repeat(3, 1fr); }.content-wrap { padding-left: 28px; padding-right: 28px; }.topbar { padding: 0 28px; }.hero-aside { width: 230px; } }
@media (max-width: 820px) { :root { --sidebar: 260px; }.sidebar { position: fixed; left: 0; transform: translateX(-105%); transition: transform .25s ease; box-shadow: var(--shadow); }.sidebar.open { transform: translateX(0); }.sidebar-close, .menu-button, .mobile-brand { display: block; }.sidebar-close { position: absolute; right: -16px; top: -8px; width: 44px; height: 44px; padding: 0; border: 0; background: transparent; color: #66727b; font-size: 24px; line-height: 1; }.sidebar-close:hover { background: var(--soft); border-radius: 8px; }.menu-button { border: 0; background: none; color: var(--ink); font-size: 19px; padding: 0; }.mobile-brand { font-size: 19px; }.topbar { gap: 14px; padding: 0 20px; }.topbar-actions { gap: 10px; }.top-link { display: none; }.hero-section { padding-top: 52px; }.hero-aside { display: none; }.api-grid { grid-template-columns: repeat(2, 1fr); }.stats-strip > div:not(.stats-note) { padding-right: 26px; margin-right: 20px; }.stats-note { display: none; } }
@media (max-width: 560px) { .content-wrap { padding: 0 18px 20px; }.topbar { height: 64px; padding: 0 16px; }.search-box { height: 35px; }.search-box kbd { display: none; }.hero-section { padding: 46px 0 40px; }.hero-copy h1 { font-size: 39px; }.hero-description { font-size: 12px; }.hero-actions { align-items: flex-start; flex-direction: column; gap: 18px; }.stats-strip { overflow-x: auto; }.stats-strip > div:not(.stats-note) { min-width: 98px; padding: 18px 20px 18px 0; margin-right: 18px; }.catalog-section { padding: 52px 0 60px; }.catalog-head { display: block; }.catalog-controls { margin-top: 20px; justify-content: space-between; }.api-grid { grid-template-columns: 1fr; }.api-card { min-height: 230px; }.sources-section { display: block; }.sources-section > p { margin-top: 21px; }.source-links { margin-top: 26px; gap: 13px; }.footer { font-size: 8px; }.detail-drawer { padding: 40px 22px; }.drawer-title { font-size: 31px; }.pros-cons { gap: 12px; } }
.drawer-section h4 { display: flex; align-items: center; gap: 8px; margin: 0 0 13px; padding-bottom: 9px; border-bottom: 1px solid #e5ebff; color: var(--blue); font: 500 10px 'DM Mono', monospace; text-transform: uppercase; letter-spacing: .12em; }
.drawer-section h4::before { content: ''; width: 18px; height: 2px; border-radius: 2px; background: var(--blue); }
/* Clip horizontal overflow without creating a scroll container that breaks sticky navigation. */
html, body { overflow-x: clip; }
body { min-width: 320px; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid rgba(54, 103, 232, .28); outline-offset: 3px; }
.sidebar, .detail-drawer { height: 100dvh; }
@media (max-width: 820px) {
  .sidebar { z-index: 40; max-width: calc(100vw - 48px); overflow: hidden; }
  .sidebar .brand-lockup { flex-shrink: 0; }
  .sidebar .side-nav { min-height: 0; overflow-y: auto; overscroll-behavior-y: contain; }
  html:has(.sidebar.open), body:has(.sidebar.open) { overflow: hidden; }
  .backdrop { touch-action: none; }
}
.api-card, .filter-chip, .primary-button, .secondary-button, .nav-item, .open-card, .bookmark { touch-action: manipulation; }
@media (min-width: 1280px) { .content-wrap { max-width: 1380px; }.api-grid { grid-template-columns: repeat(var(--desktop-columns), minmax(0, 1fr)); }.hero-section { min-height: 390px; }.hero-copy h1 { font-size: clamp(52px, 4.6vw, 70px); } }
@media (max-width: 820px) { .content-wrap { width: 100%; }.hero-section { min-height: auto; }.catalog-section { scroll-margin-top: 80px; }.api-card { min-height: 250px; }.filter-row { padding-bottom: 18px; }.detail-drawer { width: min(560px, 100%); } }
@media (max-width: 560px) { .topbar { gap: 9px; }.mobile-brand { flex: 0 0 auto; }.search-box { min-width: 0; }.search-box input { font-size: 11px; }.search-icon { margin-right: 4px; }.topbar-actions { margin-left: 0; }.topbar-actions .avatar { display: none; }.hero-copy h1 { max-width: 340px; }.hero-description { max-width: 330px; line-height: 1.65; }.stats-strip { margin-right: -18px; padding-right: 18px; }.filter-row { margin-right: -18px; padding-right: 18px; }.catalog-controls { flex-wrap: wrap; gap: 13px; }.sort-control { margin-left: auto; }.api-card { min-height: 0; }.card-footer { padding-top: 24px; }.detail-drawer { padding: 52px 20px 30px; }.drawer-meta { gap: 6px; padding-bottom: 21px; }.drawer-meta span { max-width: 100%; line-height: 1.45; }.drawer-section { padding: 21px 0; }.drawer-title { max-width: 320px; overflow-wrap: anywhere; } }
@media (max-width: 380px) { .mobile-brand { display: none; }.topbar { padding-left: 14px; padding-right: 14px; }.hero-copy h1 { font-size: 35px; }.catalog-head h2, .sources-section h2 { font-size: 25px; }.search-icon { display: none; }.search-box { padding-left: 9px; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; } }
.drawer-section h4 { color: var(--green); border-bottom-color: #dff1e8; }
.drawer-section h4::before { background: var(--green); }
.drawer-section ul { list-style: none; padding-left: 0; }
.drawer-section li { position: relative; padding-left: 18px; }
.drawer-section li::before { content: '•'; position: absolute; left: 0; top: -1px; color: var(--green); font-size: 19px; line-height: 1; }
.pros-cons .cons li::before { color: #dc6875; }
.drawer-section h4 { color: #111820; border-bottom-color: #e2e5e7; }
.drawer-section h4::before { background: #111820; }
.drawer-section li::before { color: #111820; }
.drawer-section h4::before { content: '◆'; width: auto; height: auto; background: none; color: #111820; font-size: 9px; line-height: 1; }
.pros-cons > div:first-child li::before { color: var(--green); }
.drawer-section h4, .pros-cons h5 { font-size: 13px; }
/* Contrast pass: keep the calm palette, but make the interface feel crisp rather than faded. */
:root { --ink: #111820; --muted: #5f6b73; --soft: #f2f4f6; --line: #dce2e5; --blue-soft: #e8efff; }
body { color: #111820; }
.brand-subtitle, .sidebar-meta { color: #6d7880; }
.nav-item { color: #58656e; }
.nav-item:hover { color: #111820; }
.nav-count { color: #748089; }
.top-link { color: #52616b; }
.search-box { border-color: #d4dce0; background: #f7f9fa; }
.search-box input { color: #111820; }
.search-box input::placeholder { color: #71808a; opacity: 1; }
.hero-description { color: #59666f; }
.micro-proof { color: #6f7b83; }
.stats-strip span, .stats-note { color: #68757d; }
.catalog-controls { color: #6b7880; }
.api-card { border-color: #dce2e5; box-shadow: 0 4px 14px rgba(25, 35, 52, .035); }
.api-card:hover { border-color: #9fb3e9; box-shadow: 0 14px 28px rgba(30, 45, 78, .1); }
.api-card p { color: #5f6b73; }
.card-tags span { background: #eef1f3; color: #5e6a72; }
.card-auth { color: #64717a; }
.drawer-description, .drawer-section p, .drawer-section li { color: #56636c; }
.drawer-meta span { background: #eef1f3; color: #5d6a72; }

.api-page-body { min-height: 100vh; background: #f7f9fa; }
.api-page-topbar { position: sticky; top: 0; z-index: 10; min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 16px clamp(18px, 5vw, 56px); border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, .94); backdrop-filter: blur(16px); }
.api-page-actions { display: flex; align-items: center; gap: 10px; }
.api-page-topbar .admin-brand { display: flex; align-items: center; gap: 10px; color: var(--ink); font-size: 22px; font-weight: 800; letter-spacing: 0; }
.api-page-topbar .brand-mark { width: 24px; height: 25px; }
.api-page-topbar .brand-mark i { display: block; width: 6px; border-radius: 3px 3px 1px 1px; background: var(--blue); }
.api-page-topbar .brand-mark i:nth-child(1) { height: 13px; opacity: .66; }
.api-page-topbar .brand-mark i:nth-child(2) { height: 22px; }
.api-page-topbar .brand-mark i:nth-child(3) { height: 17px; opacity: .8; }
.api-page-main { width: min(980px, calc(100% - 36px)); margin: 0 auto; padding: 34px 0 70px; }
.back-link { display: inline-flex; margin-bottom: 22px; color: var(--blue); font-size: 12px; font-weight: 800; }
.api-detail-page { padding: clamp(24px, 5vw, 46px); border: 1px solid #dce2e5; border-radius: 9px; background: #fff; box-shadow: 0 16px 44px rgba(25, 35, 52, .08); }
.alt-muted { color: #7d8991; background: #f5f7f8; }
.api-detail-page .drawer-title { font-size: clamp(34px, 6vw, 58px); max-width: 760px; }
.api-detail-page .drawer-description { max-width: 760px; font-size: 15px; color: #4f5c65; }
.detail-page-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 34px; }
.detail-page-grid .drawer-section { min-width: 0; }
.detail-page-grid .pros-cons { grid-column: 1 / -1; }

@media (max-width: 720px) {
  .api-page-topbar { align-items: flex-start; flex-direction: column; }
  .api-page-actions { width: 100%; justify-content: space-between; }
  .detail-page-grid { grid-template-columns: 1fr; }
  .api-detail-page { padding: 24px 20px; }
}
.source-links { color: #68757d; }
.empty-state p { color: #65727a; }
.footer { color: #6f7b83; }

.brand-logo { display: block; width: 118px; height: auto; }
.sidebar .brand-lockup { justify-content: center; }
.sidebar .brand-logo { width: 148px; max-width: 100%; }
.brand-copy, .admin-brand > span:last-child { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.mobile-logo { display: none; width: 92px; height: auto; flex: 0 0 auto; }
.admin-logo { display: block; width: 120px; height: auto; }
.api-page-topbar .admin-logo { width: 120px; }

@media (max-width: 820px) {
  .mobile-logo { display: block; }
}

@media (max-width: 380px) {
  .mobile-logo { width: 82px; }
}

/* Logo-aligned accent pass */
:root { --ink: #050712; --blue: #ff5a1f; --blue-soft: #fff1e9; }
.search-box:focus-within { border-color: #ffb18f; box-shadow: 0 0 0 3px rgba(255, 90, 31, .1); }
.primary-button { box-shadow: 0 6px 15px rgba(255, 90, 31, .22); }
.orbit-center { box-shadow: 0 13px 25px rgba(255, 90, 31, .24); }
.orbit-ring { border-color: #ffe0d1; }
.ring-two { border-color: #ffe8dc; }
.api-card:hover { border-color: #ffba99; box-shadow: 0 14px 28px rgba(255, 90, 31, .11); }
.filter-chip:hover { border-color: #ffba99; }
.drawer-section h4 { color: #050712; }
.drawer-section h4::before { color: #ff5a1f; }
.micro-proof, .proof-avatars, .avatar { display: none !important; }

/* Detail pages: readable, semantic content sections. */
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.api-page-body { background: #fafaf9; }
.api-page-main { width: min(1120px, calc(100% - 48px)); padding: 24px 0 40px; }
.api-detail-page { padding: clamp(24px, 4vw, 44px); border-color: #e5e6e8; border-radius: 12px; box-shadow: 0 4px 18px rgba(20,25,35,.03); }
.api-page-topbar .top-link { display: inline-flex; align-items: center; min-height: 44px; font-size: 13px; }
.detail-intro { max-width: 900px; }
.detail-category { margin: 0 0 16px; font-size: 12px; font-weight: 650; line-height: 1.7; color: #a9350a; }
.detail-title-row { display: flex; align-items: center; gap: 18px; }
.detail-title-row h1 { margin: 0; font-size: clamp(29px, 4.5vw, 46px); font-weight: 600; line-height: 1.18; letter-spacing: -.035em; overflow-wrap: anywhere; }
.detail-description { margin: 20px 0; max-width: 78ch; color: #4e5a65; font-size: 15px; line-height: 1.85; }
.detail-resource-links { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0 0; }
.detail-action { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 46px; padding: 11px 17px; border: 1px solid #e1e5e8; border-radius: 8px; background: #fff; font-size: 13px; font-weight: 600; color: #303d49; }
.detail-action-primary { background: #fff1e9; color: #a9350a; border-color: #ffbb9c; }
.detail-action:hover { border-color: #ffac86; background: #fff6f0; }
.resource-caption { flex-basis: 100%; margin: 0; font-size: 11px; color: #6a747d; }
.verified-date { font-size: 12px; color: #52616b; }
.verified-date a { text-decoration: underline; }
.detail-jumps { display: flex; flex-wrap: wrap; gap: 4px 18px; padding: 18px 0; margin-top: 24px; border-block: 1px solid #e9ebed; }
.detail-jumps a { display: inline-flex; align-items: center; min-height: 38px; font-size: 12px; font-weight: 500; color: #58636e; }
.detail-jumps a:hover { color: #a9350a; text-decoration: underline; text-underline-offset: 5px; }
.detail-sections { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 36px; }
.detail-wide { grid-column: 1 / -1; }
.detail-block { min-width: 0; padding: 28px 0; border-bottom: 1px solid #e9ebed; scroll-margin-top: 100px; }
.detail-block:last-child { border-bottom: 0; padding-bottom: 0; }
.detail-block h2 { margin: 0 0 16px; font-size: 18px; font-weight: 600; line-height: 1.45; letter-spacing: -.015em; }
.detail-block h2::before { content: none; }
.detail-block p, .detail-block li { font-size: 14px; line-height: 1.8; color: #4c5864; overflow-wrap: anywhere; }
.detail-block p { margin: 10px 0; max-width: 85ch; }
.detail-block .pricing-label { display: inline-block; margin: 0 0 6px; color: #a9350a; background: #fff1e9; border-radius: 6px; padding: 5px 10px; font-size: 12px; font-weight: 750; }
.detail-chips { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px; }
.detail-chips li { padding: 8px 0; border: 0; border-bottom: 1px solid #e9ebed; border-radius: 0; background: transparent; font-size: 13px; color: #3d4a55; }
.sdk-chips li { font-family: 'DM Mono', ui-monospace, monospace; font-size: 12px; }
.detail-list { margin: 0; padding-left: 20px; }
.detail-list li { padding: 3px 0 3px 4px; }
.detail-list li::marker { color: #c2410c; }
.tradeoff-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.tradeoff { border: 0; border-top: 1px solid #dfe5e1; background: transparent; border-radius: 0; padding: 16px 0 0; }
.tradeoff.cons { background: transparent; border-color: #eadfdd; }
.tradeoff h3 { margin: 0 0 12px; font-size: 14px; color: #17704b; }
.tradeoff.cons h3 { color: #a44235; }
.tradeoff ul { margin: 0; padding-left: 18px; }
.tradeoff li { padding: 3px 0 3px 3px; font-size: 13px; }
.tradeoff li::marker { color: #238957; }
.tradeoff.cons li::marker { color: #b4594b; }
.related-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px; margin-top: 16px; }
.related-api { display: flex; align-items: center; gap: 12px; border: 0; border-top: 1px solid #e4e8eb; padding: 14px 0; border-radius: 0; min-width: 0; }
.related-api > span:first-child { flex: 1; min-width: 0; }
.related-api strong { display: block; font-size: 13px; line-height: 1.5; overflow-wrap: anywhere; }
.related-api small { display: block; margin-top: 4px; font-size: 11px; color: #64717c; }
.related-api:hover { background: transparent; border-color: #ffbb9c; }
.related-api svg { width: 26px; height: 26px; }
.detail-block .related-note { font-size: 12px; color: #64717c; }
@media (max-width: 720px) { .api-page-topbar { flex-direction: row; align-items: center; padding: 12px 20px; } .api-page-actions { width: auto; gap: 16px; } .api-page-main { width: calc(100% - 28px); padding-top: 20px; } .detail-sections, .detail-chips { grid-template-columns: 1fr; } .detail-wide { grid-column: auto; } .detail-block { padding: 24px 0; } .detail-description { font-size: 14px; } }
@media (max-width: 480px) { .api-detail-page { padding: 22px 18px; border-radius: 12px; } .detail-title-row { gap: 12px; align-items: flex-start; } .detail-title-row h1 { font-size: 34px; line-height: 1.12; } .tradeoff-grid, .related-grid { grid-template-columns: 1fr; } .detail-resource-links .detail-action { flex: 1 0 100%; } .detail-jumps { gap: 4px 14px; } .detail-block h2 { font-size: 17px; } .api-page-topbar .admin-logo { width: 100px; } }

/* dockPI refinement: keep the existing shell and brand, improve density and rhythm. */
.content-wrap { max-width: 1460px; padding-inline: clamp(20px, 3vw, 42px); }
.hero-section { min-height: 0; padding: 42px 0 36px; gap: 24px; align-items: center; }
.hero-copy { min-width: 0; }
.hero-copy h1 { font-size: clamp(36px, 4.1vw, 60px); letter-spacing: -.055em; }
.hero-actions { margin-top: 24px; }
.catalog-section > .filter-row:first-child { padding-top: 0; }
.hero-aside { flex: 0 0 220px; }
.eyebrow { color: #ae3509; margin-bottom: 16px; }
.primary-button { min-height: 44px; border-radius: 9px; padding: 12px 18px; }
.search-box { height: 44px; max-width: 650px; border-radius: 10px; }
.search-box input { font-size: 14px; }
.nav-item { min-height: 42px; font-size: 13px; padding-block: 10px; }
.nav-label { color: #69737c; }
.nav-item.active { color: #a9350a; }
.catalog-section { padding: 28px 0 36px; scroll-margin-top: 95px; }
.catalog-head { align-items: center; gap: 16px; }
.results-summary { margin: 0; color: #4f5963; font-size: 14px; font-weight: 650; overflow-wrap: anywhere; }
.catalog-controls { margin: 0; flex-shrink: 0; }
.sort-control { font: 12px 'Plus Jakarta Sans', system-ui, sans-serif; color: #59636d; }
.sort-control select { min-height: 42px; padding: 8px 12px; border: 1px solid #e3e6e9; border-radius: 8px; background: #fff; font: 600 12px 'Plus Jakarta Sans', system-ui, sans-serif; }
.filter-row { flex-wrap: wrap; gap: 8px; padding: 18px 0 22px; overflow: visible; margin-right: 0; }
.filter-chip { min-height: 40px; padding: 9px 14px; border-radius: 20px; font: 600 12px 'Plus Jakarta Sans', system-ui, sans-serif; color: #505964; }
.filter-chip.active { background: #fff1e9; color: #a9350a; border-color: #ffb996; }
.filter-chip:hover { background: #fff8f4; color: #a9350a; }
.api-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; grid-auto-rows: auto; }
.api-card { min-width: 0; min-height: 0; padding: 18px 22px; border: 1px solid #e3e6e9; border-radius: var(--card-radius, 12px); box-shadow: 0 2px 8px rgba(25,35,52,.025); transition: border-color .16s, box-shadow .16s, transform .16s; }
.api-card:hover { transform: translateY(-2px); border-color: #ffbe9e; box-shadow: 0 8px 22px rgba(60,35,20,.07); }
.card-top { gap: 10px; min-height: 44px; }
.category-pill { font: 600 12px 'Plus Jakarta Sans', system-ui, sans-serif; color: #a9350a; padding: 5px 8px; }
.category-dot.finance { background: #ff5900; }
.category-pill.finance { color: #a9350a; background: #fff1e9; }
.bookmark { margin-left: auto; flex-shrink: 0; display: grid; place-items: center; min-width: 36px; min-height: 40px; color: #6b7580; border-radius: 8px; }
.bookmark:hover { background: #fff1e9; color: #a9350a; }
.api-card h3 { margin: 14px 0 8px; font-size: 18px; line-height: 1.4; letter-spacing: -.035em; font-weight: 800; overflow-wrap: anywhere; }
.api-card p { margin-bottom: 20px; font-size: 13px; line-height: 1.8; color: #52606c; }
.card-tags { gap: 6px; flex-wrap: wrap; margin-top: 12px; margin-bottom: 14px; }
.card-tags span { font: 500 10px/1.5 'Plus Jakarta Sans', system-ui, sans-serif; padding: 4px 7px; border-radius: 5px; color: #56616c; background: #f3f5f6; }
.card-footer { padding-top: 12px; gap: 10px; border-top: 1px solid #eef0f2; align-items: center; }
.card-auth { min-width: 0; font: 10px/1.55 'Plus Jakarta Sans', system-ui, sans-serif; color: #67727c; }
.card-auth b { display: block; margin-top: 3px; color: #46525d; font-size: 11px; overflow-wrap: anywhere; }
.open-card { display: inline-flex; align-items: center; justify-content: center; gap: 8px; flex-shrink: 0; min-height: 40px; padding: 10px 12px; border-radius: 8px; background: #fff1e9; color: #a9350a; font-size: 12px; font-weight: 800; white-space: nowrap; }
.api-card:hover .open-card { background: #ffe4d4; }
.sources-section { padding: 28px 0; gap: 24px; align-items: center; }
.sources-section h2 { font-size: 25px; }
.sources-section > p { font-size: 13px; line-height: 1.8; color: #59636d; }

/* Plus Jakarta Sans typography scale. */
body { font-size: 15px; font-weight: 400; line-height: 1.6; }
button, input, select, textarea { font-family: inherit; }
.hero-copy h1 { font-size: 60px; font-weight: 800; line-height: 1.05; letter-spacing: -.04em; }
.detail-title-row h1 { font-size: 46px; font-weight: 600; letter-spacing: -.035em; }
.api-card h3 { font-size: 18px; font-weight: 700; }
.detail-block h2, .drawer-section h4, .pros-cons h5 { font-size: 16px; font-weight: 600; }
.detail-description, .detail-block p, .detail-block li, .drawer-description, .drawer-section p, .drawer-section li { font-size: 15px; font-weight: 400; line-height: 1.6; }
.api-card p { font-size: 14px; font-weight: 400; line-height: 1.5; }
.nav-item { font-size: 14px; font-weight: 500; }
.nav-item.active { font-weight: 500; }
.primary-button, .secondary-button, .open-card, .detail-action, .text-button { font-size: 14px; font-weight: 600; }
.category-pill, .filter-chip { font-size: 12px; font-weight: 600; }
@media (max-width: 820px) { .hero-copy h1 { font-size: 40px; } .detail-title-row h1 { font-size: 40px; } }
@media (max-width: 560px) { .hero-copy h1 { font-size: clamp(36px, 10.5vw, 40px); } }
@media (max-width: 380px) { .hero-copy h1 { font-size: 36px; } }
:focus-visible { outline: 3px solid #ae3509; outline-offset: 3px; }
/* Responsive API card grid. */
.api-grid { grid-template-columns: minmax(0, 1fr); }
.api-card { min-height: 280px; height: 100%; border-color: #e9ecef; }
.api-card > p { display: -webkit-box; max-height: 7.5em; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 5; line-clamp: 5; }
@media (min-width: 768px) { .api-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .api-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1440px) { .api-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } .api-card { padding-inline: 20px; } }
@media (min-width: 1740px) { .api-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } .api-card { padding-inline: 18px; } }
@media (min-width: 821px) and (max-width: 1150px) { .hero-aside { display: none; } }
@media (max-width: 820px) { .hero-section { padding: 30px 0; } .topbar { padding-inline: 20px; } }
@media (max-width: 560px) {
  .topbar { height: auto; min-height: 76px; padding: 12px 16px; flex-wrap: wrap; }
  .search-box { flex-basis: 100%; order: 3; }
  .search-box input { font-size: 16px; }
  .mobile-logo { width: 100px; }
  .hero-section { padding: 26px 0 24px; }
  .hero-copy h1 { font-size: 36px; }
  .detail-title-row h1 { font-size: 34px; }
  .hero-description { font-size: 15px; }
  .hero-actions { gap: 12px; }
  .catalog-section { padding-top: 24px; scroll-margin-top: 130px; }
  .catalog-head { display: flex; flex-wrap: wrap; gap: 10px; }
  .catalog-controls { margin: 0; }
  .filter-row { flex-wrap: nowrap; gap: 7px; margin-right: -18px; padding: 16px 18px 18px 0; overflow-x: auto; scroll-snap-type: x proximity; }
  .filter-chip { flex: 0 0 auto; min-height: 42px; scroll-snap-align: start; }
  .api-grid { grid-template-columns: 1fr; grid-auto-rows: auto; gap: 14px; }
  .api-card { min-height: 0; padding: 18px; }
  .api-card p { font-size: 15px; }
}
.search-active .hero-section,
.search-active .catalog-head,
.search-active .filter-row { display: none; }
.search-active .catalog-section { padding-top: 12px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .api-card, .sidebar, .detail-drawer { transition: none; } .api-card:hover { transform: none; } }

/* Catalog pagination and the shared public footer. */
.catalog-pagination { display: flex; align-items: center; justify-content: center; gap: 20px; margin-top: 34px; padding-top: 24px; border-top: 1px solid var(--line); }
.catalog-pagination[hidden] { display: none; }
.pagination-nav, .pagination-pages { display: flex; align-items: center; gap: 7px; }
.pagination-step, .pagination-page { min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid #dfe3e6; border-radius: 8px; background: #fff; color: #46515b; font-size: 13px; font-weight: 700; }
.pagination-step { padding-inline: 14px; }
.pagination-step:hover, .pagination-page:hover { border-color: #ffb48f; color: #a9350a; background: #fff8f4; }
.pagination-page.active { border-color: #ff5a1f; color: #fff; background: #ff5a1f; }
.pagination-step.disabled { color: #9ca4ab; background: #f4f5f6; cursor: not-allowed; }
.pagination-ellipsis { min-width: 24px; text-align: center; color: #6f7880; }
.pagination-mobile-status { display: none; color: #4f5a64; font-size: 13px; font-weight: 700; white-space: nowrap; }
.analytics-settings { display: none !important; }

.public-footer { width: 100%; margin-top: 48px; padding: 48px clamp(22px, 4vw, 64px) 30px; color: #c4c8ce; background: #17191e; }
.footer-inner, .footer-bottom { width: min(1380px, 100%); margin-inline: auto; }
.footer-inner { display: block; }
.footer-legal h2 { margin: 0 0 12px; color: #fff; font-size: 15px; line-height: 1.5; }
.legal-links { display: grid; grid-template-columns: repeat(5, minmax(120px, max-content)); gap: 2px clamp(22px, 3vw, 48px); }
.legal-links a { min-height: 44px; display: inline-flex; align-items: center; color: #c4c8ce; font-size: 13px; font-weight: 600; }
.legal-links a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 24px 48px; margin-top: 34px; padding-top: 22px; border-top: 1px solid #34373d; }
.footer-bottom p { margin: 0; max-width: 76ch; color: #adb3bc; font-size: 12px; line-height: 1.65; }
.footer-bottom p:first-child { white-space: nowrap; }
body:has(.analytics-consent) .public-footer { padding-bottom: 170px; }

.analytics-consent { position: fixed; z-index: 10000; left: 1rem; right: 1rem; bottom: 1rem; display: flex; align-items: center; gap: 1rem; max-width: 900px; margin: auto; padding: 1rem 1.1rem; border: 1px solid #d9dce3; border-radius: 14px; background: #fff; color: #10131a; box-shadow: 0 14px 40px rgba(16, 19, 26, .18); font: 500 16px/1.5 "Plus Jakarta Sans", system-ui, sans-serif; }
.analytics-consent p { flex: 1; margin: 0; }
.analytics-consent a { color: #d8420d; }
.analytics-consent-actions { display: flex; gap: .65rem; flex-wrap: wrap; }
.analytics-consent button { min-height: 44px; border-radius: 10px; padding: .65rem .9rem; font: 700 14px/1 system-ui, sans-serif; cursor: pointer; }
.analytics-consent-allow { border: 1px solid #f15a24; background: #f15a24; color: #fff; }
.analytics-consent-deny { border: 1px solid #c8ccd5; background: #fff; color: #10131a; }

@media (max-width: 1100px) {
  .legal-links { grid-template-columns: repeat(3, minmax(120px, max-content)); }
  .footer-bottom { align-items: flex-start; flex-direction: column; }
  .footer-bottom p:first-child { white-space: normal; }
}

@media (max-width: 700px) {
  .analytics-consent { align-items: stretch; flex-direction: column; font-size: 14px; }
  .analytics-consent-actions { width: 100%; }
  .analytics-consent-actions button { flex: 1 1 140px; }
  .catalog-pagination { align-items: stretch; flex-direction: column; }
  .pagination-nav { justify-content: space-between; gap: 6px; }
  .pagination-pages { display: flex; gap: 4px; }
  .pagination-mobile-status { display: none; }
  .pagination-step { padding-inline: 10px; }
  .pagination-page { min-width: 40px; }
  .public-footer { padding: 38px 20px 96px; }
  .legal-links { grid-template-columns: 1fr; }
  body:has(.analytics-consent) .public-footer { padding-bottom: 370px; }
}

@media (max-width: 360px) {
  .pagination-nav { flex-wrap: wrap; }
  .pagination-pages { order: 3; width: 100%; justify-content: center; }
}

@media (max-width: 380px) {
  .analytics-consent { left: .65rem; right: .65rem; bottom: .65rem; padding: .85rem; }
  .analytics-consent-actions { flex-direction: column; }
  .analytics-consent-actions button { width: 100%; flex-basis: auto; }
}

/* Unslop polish: quiet chrome, deliberate hierarchy, and one dockPI accent. */
.brand-subtitle, .nav-label, .eyebrow, .section-kicker {
  text-transform: none;
  letter-spacing: .02em;
}
.brand-subtitle { font-size: 11px; font-weight: 500; }
.nav-label { color: #737d85; font: 500 12px/16px 'Plus Jakarta Sans', system-ui, sans-serif; }
.eyebrow, .section-kicker { font: 500 12px/16px 'DM Mono', monospace; }
.hero-copy h1 { font-weight: 600; letter-spacing: -.035em; }
.catalog-head h2 { font-size: 28px; font-weight: 600; line-height: 34px; letter-spacing: -.02em; }
.api-card h3 { font-weight: 600; letter-spacing: -.025em; }
.card-auth, .card-auth b { font-size: 12px; line-height: 16px; }
.card-auth { font-weight: 400; }
.card-auth b { font-weight: 500; }
.back-link { font-size: 13px; font-weight: 500; line-height: 20px; }
.related-api small { font-size: 12px; line-height: 16px; }
.footer-legal h2 { font-weight: 600; line-height: 22px; }
.nav-icon { display: grid; place-items: center; width: 18px; height: 18px; font-size: 0; }
.nav-icon svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.filter-chip { border-radius: 10px; }
.api-card { transition: border-color .16s ease, box-shadow .16s ease; }
.api-card:hover { transform: none; border-color: #ffc1a3; box-shadow: 0 4px 16px rgba(50, 35, 25, .06); }
.open-card > span[aria-hidden], .detail-action > span[aria-hidden], .related-api > span:last-child { display: none; }
@media (max-width: 560px) { .empty-state { padding-block: 36px; } }

/* Brand consistency: no interface text below 11px. */
.nav-count,
.catalog-note span,
.sidebar-meta,
.search-box kbd,
.avatar,
.micro-proof,
.hero-aside p,
.orbit-node,
.stats-strip span,
.stats-note,
.catalog-controls,
.sort-control select,
.source-links,
.footer,
.drawer-eyebrow,
.drawer-meta span,
.drawer-section h4,
.pros-cons h5,
.alt-link { font-size: 11px; }

.proof-avatars i { font-size: 11px; }
.card-tags span,
.card-auth,
.card-auth b { font-size: 12px; }

@media (max-width: 560px) {
  .footer { font-size: 11px; }
}

@media (max-width: 820px) {
  .sidebar .brand-lockup { justify-content: flex-start; }
}
