/* Shared public developer components: match the site's slate surfaces and orange actions. */
.developer-page,.developer-sdk,.developer-mcp-feature,.dev-affiliate,.mcp-page{
  --dev-accent:#ff5e00;
  --dev-surface:#fff;
  --dev-subtle:#f8fafc;
  --dev-line:rgb(0 0 0 / .1);
  --dev-ink:#000000;
  --dev-muted:#64748b;
  --dev-radius:16px;
  color:var(--dev-ink);
}
.dark :is(.developer-page,.developer-sdk,.developer-mcp-feature,.dev-affiliate,.mcp-page){
  --dev-surface:#0f172a;
  --dev-subtle:#020617;
  --dev-line:#334155;
  --dev-ink:#f1f5f9;
  --dev-muted:#cbd5e1;
}
:is(.developer-page,.developer-sdk,.developer-mcp-feature,.dev-affiliate,.mcp-page) *{box-sizing:border-box}
.developer-page{padding-bottom:64px}
.dev-page-hero{padding:64px 0 0;max-width:820px}
.dev-page-hero h1{font-size:clamp(36px,4.4vw,60px);font-weight:800;line-height:1.15;letter-spacing:-.035em;margin:16px 0 20px;text-wrap:balance}
.dev-page-hero>p{font-size:18px;line-height:1.7;color:var(--dev-muted);margin:0;max-width:720px}
.developer-sdk{padding:64px 0}
.dev-section-heading{display:flex;gap:24px;align-items:flex-end;justify-content:space-between;margin-bottom:28px}
.dev-section-heading>div{min-width:0;max-width:720px}
.dev-eyebrow{display:block;font-size:12px;line-height:1.5;letter-spacing:.1em;font-weight:700;color:var(--dev-accent)}
.dev-section-heading h2{font-size:clamp(26px,2.8vw,32px);line-height:1.25;font-weight:700;letter-spacing:-.025em;margin:8px 0 12px;text-wrap:balance}
.dev-section-heading p{font-size:16px;line-height:1.7;margin:0;color:var(--dev-muted)}
.dev-text-link{display:inline-flex;align-items:center;min-height:44px;gap:6px;font-size:14px;line-height:1.5;font-weight:600;color:var(--dev-accent);text-decoration:none;overflow-wrap:anywhere}
.dev-section-heading>.dev-text-link{flex-shrink:0}
.dev-text-link:hover{text-decoration:underline;text-underline-offset:4px}
.dev-product-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;align-items:start}
.dev-product-grid-single{grid-template-columns:minmax(0,1fr)}
.dev-product-grid-single .dev-product>.dev-language-tabs{grid-template-columns:repeat(6,minmax(0,1fr))}
.dev-product{min-width:0;overflow:hidden;border:1px solid var(--dev-line);border-radius:var(--dev-radius);background:var(--dev-surface)}
.dev-product>header{display:flex;align-items:center;gap:16px;padding:24px}
.dev-product>header>div{min-width:0}
.dev-product-icon{display:grid;place-items:center;width:44px;height:44px;border-radius:12px;background:#ff5e000d;color:var(--dev-accent);flex:none}
.dev-product-icon svg{width:24px;height:24px}
.dev-product h3{font-size:22px;line-height:1.3;font-weight:700;letter-spacing:-.02em;margin:0}
.dev-product header p{font-size:13px;line-height:1.5;margin:6px 0 0;color:var(--dev-muted)}
.dev-version{flex:none;margin-inline-start:auto;font-size:12px;line-height:1.5;color:var(--dev-muted);padding:4px 8px;border:1px solid var(--dev-line);border-radius:8px}
.dev-language-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;min-width:0}
.dev-product>.dev-language-tabs{padding:0 24px 24px}
.dev-language-tabs button{appearance:none;min-width:0;min-height:44px;display:flex;justify-content:center;align-items:center;border:1px solid transparent;background:var(--dev-subtle);color:var(--dev-muted);border-radius:10px;padding:10px 8px;cursor:pointer;text-align:center}
.dev-language-tabs button{font-family:inherit;font-size:14px;font-weight:600;line-height:1.4}
.dev-language-tabs button:hover{color:var(--dev-ink);border-color:var(--dev-line)}
.dev-language-tabs button[aria-selected=true]{background:#ff5e0010;color:var(--dev-accent);border-color:#ff5e0033}
:is(.dev-language-tabs button,.dev-button,.dev-text-link,.dev-install button):focus-visible{outline:2px solid var(--dev-accent);outline-offset:3px}
.dev-language-panel{padding:0 24px 24px}
[data-dev-panel][hidden]{display:none!important}
.dev-package{display:grid;gap:6px;margin-bottom:20px;min-height:48px}
.dev-package>span{font-size:12px;font-weight:500;color:var(--dev-muted)}
.dev-package>code{font-size:14px;line-height:1.6;overflow-wrap:anywhere;font-family:ui-monospace,SFMono-Regular,Consolas,monospace}
.dev-install{min-width:0;border:1px solid var(--dev-line);border-radius:12px;overflow:hidden;background:var(--dev-subtle)}
.dev-install>div{display:flex;gap:12px;justify-content:space-between;align-items:center;padding:8px 16px;min-height:48px;border-bottom:1px solid var(--dev-line);font-size:12px;font-weight:500;line-height:1.5;color:var(--dev-muted)}
.dev-install button{flex:none;min-height:32px;padding:6px 0;border:0;background:transparent;color:var(--dev-accent);font-family:inherit;font-size:13px;line-height:1.5;font-weight:600;cursor:pointer}
.dev-install pre{margin:0;padding:16px;font-size:13px;line-height:1.8;max-width:100%;overflow-x:auto;white-space:pre-wrap;overflow-wrap:anywhere;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;tab-size:2}
.dev-install pre code{font:inherit}
.dev-panel-actions{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin-top:24px}
.dev-button{display:inline-flex;justify-content:center;align-items:center;gap:8px;min-height:44px;text-decoration:none;padding:10px 16px;border:1px solid var(--dev-line);border-radius:12px;background:var(--dev-surface);font-family:inherit;font-size:14px;font-weight:600;color:var(--dev-ink);line-height:1.5;text-align:center;cursor:pointer}
.dev-button:hover{background:var(--dev-subtle)}
.dev-button-primary{color:white;border-color:var(--dev-accent);background:var(--dev-accent)}
.dev-button-primary:hover{background:#e95500;border-color:#e95500}
.dev-panel-actions>.dev-text-link{margin-inline-start:auto}
.dev-product>footer{display:flex;justify-content:space-between;align-items:center;gap:12px;border-top:1px solid var(--dev-line);padding:16px 24px;font-size:13px;line-height:1.6;color:var(--dev-muted)}
.dev-product footer a{color:var(--dev-accent);font-weight:600;text-decoration:none;padding:4px 0}
.dev-small-note{font-size:13px;line-height:1.7;color:var(--dev-muted);margin:12px 0 0}
.dev-mcp-teaser{display:grid;grid-template-columns:44px minmax(0,1fr) auto;align-items:center;gap:20px;padding:24px;margin-top:24px;border:1px solid var(--dev-line);border-radius:var(--dev-radius);background:var(--dev-surface)}
.dev-code-symbol{display:grid;place-items:center;width:44px;height:44px;border-radius:12px;background:#ff5e000d;color:var(--dev-accent);font-family:ui-monospace,monospace;font-size:20px}
.dev-mcp-teaser h3{font-size:20px;line-height:1.35;font-weight:700;margin:0 0 8px;letter-spacing:-.02em}
.dev-mcp-teaser p{font-size:14px;line-height:1.7;color:var(--dev-muted);margin:0;max-width:620px}
.dev-mcp-teaser>div:last-child{display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-end}
.dev-mcp-teaser a{display:inline-flex;align-items:center;min-height:44px;border:1px solid var(--dev-line);border-radius:10px;padding:10px 12px;font-size:14px;font-weight:600;color:var(--dev-accent);text-decoration:none;line-height:1.5}
.dev-affiliate{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:40px;align-items:start;margin:0 0 64px;padding:32px;border:1px solid var(--dev-line);border-radius:var(--dev-radius);background:var(--dev-subtle)}
.developer-page>.dev-affiliate{margin-bottom:0}
.dev-affiliate h2{font-size:clamp(26px,2.8vw,32px);line-height:1.25;font-weight:700;letter-spacing:-.025em;margin:8px 0 16px;text-wrap:balance}
.dev-affiliate>div>p{font-size:15px;color:var(--dev-muted);line-height:1.75;margin:0}
.dev-affiliate-actions{display:flex;align-items:center;flex-wrap:wrap;gap:12px 20px;margin-top:24px}
.dev-affiliate-terms{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px 16px;padding-top:8px}
.dev-affiliate-terms article{min-width:0;padding:0}
.dev-affiliate-terms strong{display:block;font-size:28px;line-height:1.25;font-weight:700;color:var(--dev-accent);letter-spacing:-.03em}
.dev-affiliate-terms span{display:block;margin-top:8px;font-size:13px;line-height:1.6;color:var(--dev-muted)}
.dev-affiliate-terms p{grid-column:1/-1;font-size:13px;line-height:1.75;margin:0;color:var(--dev-muted)}
.dev-affiliate-terms a{color:var(--dev-accent);text-underline-offset:3px}
@media(max-width:1023px){
  .dev-mcp-teaser{grid-template-columns:44px minmax(0,1fr)}
  .dev-mcp-teaser>div:last-child{grid-column:2;justify-content:flex-start}
  .dev-affiliate{grid-template-columns:minmax(0,1fr);gap:32px}
}
@media(max-width:767px){
  .dev-product-grid{grid-template-columns:minmax(0,1fr)}
  .dev-product-grid-single .dev-product>.dev-language-tabs{grid-template-columns:repeat(3,minmax(0,1fr))}
  .dev-page-hero{padding-top:40px}
  .dev-page-hero h1{font-size:36px;line-height:1.2;margin:12px 0 16px}
  .dev-page-hero>p{font-size:16px}
  .developer-page{padding-bottom:40px}
  .developer-sdk{padding:40px 0}
  .dev-section-heading{align-items:flex-start;flex-direction:column;gap:12px;margin-bottom:24px}
  .dev-section-heading>.dev-text-link{min-height:32px}
  .dev-section-heading h2,.dev-affiliate h2{font-size:28px}
  .dev-section-heading p{font-size:15px}
  .dev-product>header{padding:20px;gap:12px}
  .dev-product h3{font-size:20px}
  .dev-product>.dev-language-tabs{padding:0 20px 20px}
  .dev-language-panel{padding:0 20px 20px}
  .dev-panel-actions>.dev-text-link{margin-inline-start:0}
  .dev-product>footer{padding:16px 20px;flex-wrap:wrap}
  .dev-mcp-teaser{padding:20px;gap:16px}
  .dev-mcp-teaser h3{font-size:18px}
  .dev-affiliate{padding:24px;gap:28px;margin-bottom:40px}
}
@media(max-width:374px){
  .dev-page-hero h1{font-size:32px}
  .dev-product>header{flex-wrap:wrap}
  .dev-version{margin-inline-start:auto}
  .dev-product>.dev-language-tabs,.dev-language-panel{padding-inline:16px}
  .dev-language-tabs button{font-size:13px}
  .dev-panel-actions>.dev-button{flex:1 1 auto}
  .dev-mcp-teaser>div:last-child{grid-column:1/-1}
  .dev-affiliate{padding:20px}
  .dev-affiliate-terms{gap:20px 12px}
  .dev-affiliate-terms strong{font-size:24px}
}
/* Use the existing product pages' type scale and action dimensions. */
.developer-page,.developer-sdk,.developer-mcp-feature,.dev-affiliate,.mcp-page{--dev-ink:#000000;--dev-muted:rgb(0 0 0 / .65)}
.dark :is(.developer-page,.developer-sdk,.developer-mcp-feature,.dev-affiliate,.mcp-page){--dev-muted:#cbd5e1}
.dev-page-hero h1{font-size:36px;line-height:1.25;letter-spacing:normal}
.dev-section-heading h2,.dev-affiliate h2{font-size:30px;line-height:36px;letter-spacing:normal}
.dev-product h3,.dev-mcp-teaser h3{font-size:20px;line-height:28px;font-weight:600;letter-spacing:normal}
.dev-page-hero>p{font-size:18px;line-height:28px}
.dev-section-heading p,.dev-affiliate>div>p{font-size:16px;line-height:24px}
.dev-button{font-size:16px;line-height:24px;padding:12px 24px;min-height:50px}
.dev-button-primary:hover{background:#e55500;border-color:#e55500}
.dev-product footer,.dev-small-note,.dev-affiliate-terms p{font-size:15px;line-height:24px}
.dev-affiliate-terms strong{letter-spacing:normal}
@media(min-width:640px){.dev-page-hero h1{font-size:60px;line-height:1}}
.dev-affiliate-terms strong{white-space:nowrap}
.developer-mcp-feature{padding:32px 0 48px}
.dev-mcp-products{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
.dev-mcp-product{display:flex;flex-direction:column;align-items:flex-start;gap:20px;padding:24px;border:1px solid var(--dev-line);border-radius:16px;background:var(--dev-surface)}
.dev-mcp-product-heading{display:flex;gap:16px;align-items:center}
.dev-mcp-product h3{font-size:20px;line-height:28px;font-weight:600;margin:0}
.dev-mcp-product-heading p{font-size:14px;line-height:20px;color:var(--dev-muted);margin:4px 0 0}
.dev-mcp-product>p{font-size:16px;line-height:24px;color:var(--dev-muted);margin:0}
.dev-mcp-product>.dev-button{margin-top:auto}
.dev-mcp-license-note{font-size:15px;line-height:24px;color:var(--dev-muted);margin:20px 0 0}
@media(max-width:767px){.developer-mcp-feature{padding:16px 0 32px}.dev-mcp-products{grid-template-columns:minmax(0,1fr);gap:16px}.dev-mcp-product{padding:20px}.dev-mcp-product>.dev-button{width:100%}}
.dev-eyebrow{font-size:14px;line-height:20px;font-weight:600;letter-spacing:.2em}
/* Shared copy control: steady layout, clear success feedback, reduced-motion support. */
.dev-install>div>span{min-width:0;overflow-wrap:anywhere}
.dev-install .dev-copy-button{position:relative;display:inline-flex;align-items:center;justify-content:center;gap:6px;min-width:132px;min-height:36px;padding:6px 8px;border:1px solid transparent;border-radius:8px;transition:background-color .18s,color .18s,border-color .18s}
.dev-copy-button:hover{background:#ff5e000d}
.dev-copy-icons{display:grid;place-items:center;width:16px;height:16px;flex-shrink:0}
.dev-copy-icon{grid-area:1/1;width:16px;height:16px;transition:opacity .18s,transform .22s}
.dev-copy-icon-done{opacity:0;transform:scale(.6) rotate(-15deg)}
.dev-copy-button[data-copy-state=success]{color:#15803d;background:#22c55e12;border-color:#22c55e40}
.dark .dev-copy-button[data-copy-state=success]{color:#86efac;background:#22c55e18}
.dev-copy-button[data-copy-state=success] .dev-copy-icon-idle{opacity:0;transform:translateY(-3px) scale(.8)}
.dev-copy-button[data-copy-state=success] .dev-copy-icon-done{opacity:1;transform:scale(1) rotate(0)}
.dev-copy-status{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
@media(prefers-reduced-motion:reduce){.dev-install .dev-copy-button,.dev-copy-icon{transition:none}}
@media(max-width:374px){
 .dev-install .dev-copy-button{min-width:40px;width:40px;min-height:40px;padding:10px}
 .dev-copy-button .dev-copy-label{display:none}
}
