:root {
  color-scheme: dark;
  --ink: #eef8ff;
  --muted: #a9bfd4;
  --faint: #7797b1;
  --canvas: #07172b;
  --surface: #102740;
  --surface-2: #15334c;
  --line: rgba(167, 211, 239, .16);
  --mint: #70e4ee;
  --mint-deep: #123c58;
  --blue: #83c6ff;
  --amber: #f8c781;
  --rose: #ff9d99;
  --code: #071a2c;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--canvas); }
body {
  margin: 0;
  min-width: 0;
  color: var(--ink);
  background:
    radial-gradient(ellipse at 82% -12%, rgba(33, 151, 204, .19), transparent 34rem),
    radial-gradient(ellipse at 8% 28%, rgba(39, 202, 213, .12), transparent 28rem),
    var(--canvas);
  font-size: 15px;
  line-height: 1.6;
}

a { color: var(--mint); text-decoration: none; }
a:hover { color: #c1f7ff; }
button, input, select { font: inherit; }
button, a, select { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, summary:focus-visible {
  outline: 2px solid var(--mint);
  outline-offset: 3px;
}

.skip-link { position: absolute; top: -60px; left: 1rem; z-index: 99; padding: .6rem .85rem; color: #061729; background: var(--mint); border-radius: 8px; }
.skip-link:focus { top: 1rem; }
.page-width { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }
.topbar { position: sticky; top: 0; z-index: 20; border-bottom: 1px solid var(--line); background: rgba(8, 18, 27, .88); backdrop-filter: blur(18px); }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 74px; min-width: 0; }
.brand { display: inline-flex; align-items: center; gap: .7rem; flex: 0 0 auto; color: var(--ink); }
.brand img { display: block; width: 42px; height: 38px; object-fit: contain; }
.brand-copy { display: grid; line-height: 1.12; }
.brand-copy strong { font-size: .94rem; letter-spacing: -.02em; }
.brand-copy small { margin-top: .28rem; color: var(--muted); font-size: .61rem; font-weight: 750; letter-spacing: .15em; }
.main-nav { display: flex; align-items: center; gap: .22rem; min-width: 0; }
.main-nav a { padding: .52rem .76rem; color: var(--muted); font-size: .83rem; border-radius: 8px; white-space: nowrap; }
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--ink); background: rgba(255,255,255,.06); }
.nav-cta { margin-left: .5rem; padding: .56rem .85rem !important; color: #06192a !important; background: var(--mint) !important; font-weight: 750; }
.nav-cta:hover { background: #b1f7ff !important; }

.hero { position: relative; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr); gap: 3.2rem; align-items: center; min-height: 445px; padding: 76px 0 66px; }
.hero > * { min-width: 0; }
.hero:after { position: absolute; right: 3%; top: 18%; width: 340px; height: 340px; content: ""; border: 1px solid rgba(95, 211, 239, .08); border-radius: 50%; pointer-events: none; }
.eyebrow { display: inline-flex; align-items: center; gap: .55rem; margin: 0 0 1rem; color: var(--mint); font-size: .72rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow:before { width: 7px; height: 7px; content: ""; background: var(--mint); border-radius: 50%; box-shadow: 0 0 15px rgba(95,211,239,.7); }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 740px; margin-bottom: 1.2rem; font-size: clamp(2.55rem, 5.6vw, 4.75rem); line-height: 1.02; letter-spacing: -.065em; }
.hero h1 span { color: var(--mint); }
.hero-copy { max-width: 680px; min-width: 0; margin-bottom: 1.7rem; color: #b4c6ca; font-size: 1.1rem; line-height: 1.7; overflow-wrap: anywhere; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; min-width: 0; }
.hero-actions > .button { min-width: 0; max-width: 100%; overflow-wrap: anywhere; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: .5rem; min-height: 44px; padding: .68rem 1rem; border: 1px solid var(--line); border-radius: 10px; font-size: .9rem; font-weight: 750; transition: transform .15s ease, border-color .15s ease, background .15s ease; }
.button:hover { transform: translateY(-1px); border-color: rgba(95,211,239,.4); }
.button-primary { color: #06192a; border-color: transparent; background: var(--mint); }
.button-primary:hover { color: #06192a; background: #b1f7ff; }
.button-secondary { color: var(--ink); background: rgba(255,255,255,.035); }
.micro-note { display: flex; align-items: center; gap: .5rem; margin: 1.3rem 0 0; color: var(--muted); font-size: .8rem; }
.micro-note svg { display: block; flex: 0 0 auto; width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; color: var(--mint); }
.button svg { display: block; flex: 0 0 auto; width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.hero-console { position: relative; z-index: 1; width: 100%; min-width: 0; padding: 1rem; border: 1px solid rgba(152, 199, 201, .2); border-radius: 18px; background: linear-gradient(145deg, rgba(23, 43, 53, .96), rgba(12, 25, 34, .95)); box-shadow: 0 26px 70px rgba(0,0,0,.3); }
.console-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem; padding: .15rem .25rem .9rem; color: #a5bac1; font-size: .74rem; }
.window-dots { display: flex; gap: .32rem; }
.window-dots i { width: 7px; height: 7px; border-radius: 50%; background: #55727b; }
.window-dots i:first-child { background: #ef9b89; }
.window-dots i:nth-child(2) { background: #eec77e; }
.window-dots i:nth-child(3) { background: #7cdaa7; }
.console-code { min-height: 182px; padding: 1.2rem; border: 1px solid rgba(255,255,255,.06); border-radius: 12px; background: var(--code); color: #b7d1d2; font: 500 .83rem/1.9 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; overflow: auto; }
.console-code .comment { color: #718b91; }
.console-code .command { color: #f4d093; }
.console-code .value { color: var(--mint); }
.console-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .8rem; padding: .85rem .25rem .1rem; color: var(--muted); font-size: .72rem; }
.status-inline { display: inline-flex; align-items: center; gap: .4rem; color: #c0f3ff; }
.status-inline:before { width: 6px; height: 6px; content: ""; background: #70e3c0; border-radius: 50%; }

.stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin: .1rem 0 4rem; border: 1px solid var(--line); border-radius: 14px; background: var(--line); overflow: hidden; }
.stat { min-height: 112px; padding: 1.2rem 1.5rem; background: rgba(15, 29, 39, .9); }
.stat strong { display: block; color: var(--ink); font-size: 2rem; line-height: 1.1; letter-spacing: -.04em; }
.stat span { display: block; margin-top: .4rem; color: var(--muted); font-size: .82rem; }
.notice { display: flex; gap: .9rem; align-items: flex-start; margin: 1.3rem 0; padding: 1rem 1.1rem; border: 1px solid rgba(248, 199, 129, .25); border-radius: 12px; background: rgba(116, 77, 33, .13); }
.notice-icon { display: grid; flex: 0 0 24px; width: 24px; height: 24px; place-items: center; border-radius: 50%; color: #1a1308; background: var(--amber); font-size: .8rem; font-weight: 900; }
.notice p { min-width: 0; margin: 0; color: #e7d5b6; font-size: .88rem; overflow-wrap: anywhere; }
.notice strong { color: #ffdfad; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; margin: 3rem 0 1.2rem; }
.section-heading h2 { margin: 0; font-size: clamp(1.45rem, 2.8vw, 2.05rem); letter-spacing: -.04em; }
.section-heading p { margin: .3rem 0 0; color: var(--muted); }
.section-label { color: var(--mint); font-size: .7rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-bottom: 4rem; }
.feature-card { min-height: 208px; padding: 1.35rem; border: 1px solid var(--line); border-radius: 15px; background: linear-gradient(145deg, rgba(17,32,42,.94), rgba(11,23,31,.94)); transition: border-color .15s ease, transform .15s ease; }
.feature-card:hover { transform: translateY(-2px); border-color: rgba(95,211,239,.34); }
.feature-icon { display: grid; width: 40px; height: 40px; margin-bottom: 1.05rem; place-items: center; border: 1px solid rgba(95,211,239,.19); border-radius: 12px; color: var(--mint); background: rgba(95,211,239,.08); }
.feature-icon svg { display: block; width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.feature-card h3 { margin-bottom: .45rem; font-size: 1.05rem; }
.feature-card p { margin-bottom: .95rem; color: var(--muted); font-size: .88rem; }
.feature-card .card-link { font-size: .82rem; font-weight: 750; }
.wide-callout { display: grid; grid-template-columns: 1fr auto; gap: 1.5rem; align-items: center; margin: 3.5rem 0 4rem; padding: 1.6rem 1.8rem; border: 1px solid rgba(95,211,239,.19); border-radius: 16px; background: linear-gradient(105deg, rgba(13,70,105,.78), rgba(13,31,41,.75)); }
.wide-callout h2 { margin: 0 0 .4rem; font-size: 1.4rem; letter-spacing: -.035em; }
.wide-callout p { max-width: 720px; margin: 0; color: #afc4c2; font-size: .9rem; }

.page-intro { padding: 3.2rem 0 1.5rem; }
.page-intro h1 { max-width: 900px; margin-bottom: .8rem; font-size: clamp(2.3rem, 4.8vw, 3.65rem); }
.page-intro p { max-width: 820px; min-width: 0; margin: 0; color: var(--muted); font-size: 1.02rem; overflow-wrap: anywhere; }
.crumb { margin-bottom: .75rem; color: var(--muted); font-size: .78rem; }
.crumb a { color: var(--muted); }
.crumb span { margin: 0 .4rem; color: var(--faint); }
.content-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(260px, .6fr); gap: 1.2rem; align-items: start; padding-bottom: 4rem; }
.content-stack { display: grid; gap: 1rem; }
.content-card { padding: 1.35rem; border: 1px solid var(--line); border-radius: 14px; background: rgba(15, 29, 39, .87); }
.content-card h2 { margin-bottom: .7rem; font-size: 1.16rem; letter-spacing: -.025em; }
.content-card h3 { margin: 1.2rem 0 .45rem; font-size: .94rem; }
.content-card p, .content-card li { color: #b1c1c5; font-size: .91rem; }
.content-card p:last-child { margin-bottom: 0; }
.content-card ul, .content-card ol { padding-left: 1.2rem; }
.content-card li + li { margin-top: .4rem; }
.soft-card { background: rgba(14, 33, 40, .85); }
.side-note { position: sticky; top: 94px; }
.pill { display: inline-flex; align-items: center; gap: .35rem; padding: .25rem .58rem; border: 1px solid var(--line); border-radius: 999px; color: #b8c9ca; background: rgba(255,255,255,.035); font-size: .72rem; font-weight: 750; }
.pill-green { border-color: rgba(95,211,239,.24); color: #b8f4ff; background: rgba(32,142,183,.13); }
.pill-amber { border-color: rgba(248,199,129,.25); color: #ffdda8; background: rgba(124,87,45,.16); }
.pill-rose { border-color: rgba(255,157,153,.25); color: #ffc0bd; background: rgba(120,55,56,.18); }
.pill-blue { border-color: rgba(143,199,255,.25); color: #b6d9ff; background: rgba(54,95,133,.16); }
.flow { display: grid; grid-template-columns: repeat(3, 1fr); gap: .7rem; margin: 1rem 0; }
.flow-step { padding: .85rem; border: 1px solid var(--line); border-radius: 11px; background: rgba(255,255,255,.025); }
.flow-step b { display: block; margin-bottom: .3rem; color: var(--mint); font-size: .72rem; letter-spacing: .09em; text-transform: uppercase; }
.flow-step span { color: #bdcccf; font-size: .82rem; }
.code-card { margin: .85rem 0; border: 1px solid rgba(177,214,214,.12); border-radius: 11px; background: var(--code); overflow: hidden; }
.code-head { display: flex; align-items: center; justify-content: space-between; gap: .8rem; padding: .6rem .85rem; border-bottom: 1px solid rgba(177,214,214,.1); color: var(--muted); font-size: .73rem; }
.copy-button { padding: .28rem .55rem; border: 1px solid var(--line); border-radius: 7px; color: var(--ink); background: transparent; font-size: .72rem; cursor: pointer; }
.copy-button:hover { border-color: rgba(95,211,239,.4); }
pre, code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.code-card pre { margin: 0; padding: .95rem 1rem; color: #d6e4e4; font-size: .78rem; line-height: 1.65; white-space: pre; overflow: auto; }
.table-wrap { max-width: 100%; overflow-x: auto; }
.inline-code { padding: .12rem .34rem; border: 1px solid rgba(177,214,214,.11); border-radius: 5px; color: #c2f5ff; background: rgba(4,13,20,.65); font-size: .83em; }
.scope-list { display: flex; flex-wrap: wrap; gap: .4rem; margin: .8rem 0; }
.scope-list code { padding: .3rem .5rem; border: 1px solid var(--line); border-radius: 7px; color: #c7def2; background: rgba(255,255,255,.035); font-size: .74rem; }
.divider { height: 1px; margin: 1.1rem 0; background: var(--line); }
.muted { color: var(--muted) !important; }
.small { font-size: .79rem !important; }
.mcp-status { display: flex; align-items: flex-start; gap: 1rem; margin: .8rem 0 1.3rem; padding: 1rem; border: 1px solid rgba(248,199,129,.26); border-radius: 13px; background: rgba(125,84,38,.13); }
.status-mark { display: grid; flex: 0 0 36px; width: 36px; height: 36px; place-items: center; border: 1px solid rgba(248,199,129,.3); border-radius: 11px; color: var(--amber); background: rgba(248,199,129,.1); font-size: 1rem; font-weight: 900; }
.mcp-status strong { display: block; margin-bottom: .2rem; color: #ffe0b3; }
.mcp-status p { margin: 0; color: #d0bea5; font-size: .87rem; }
.requirements { display: grid; gap: .65rem; margin: 1rem 0 0; }
.requirement { display: flex; gap: .7rem; align-items: flex-start; padding: .8rem .85rem; border: 1px solid var(--line); border-radius: 10px; background: rgba(255,255,255,.025); }
.requirement b { display: block; margin-bottom: .15rem; color: var(--ink); font-size: .86rem; }
.requirement span { color: var(--muted); font-size: .79rem; }
.requirement-dot { width: 8px; height: 8px; margin-top: .45rem; flex: 0 0 8px; border-radius: 50%; background: var(--amber); }
.version-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .7rem; margin: 1rem 0; }
.version-cell { padding: .85rem; border: 1px solid var(--line); border-radius: 10px; background: rgba(255,255,255,.025); }
.version-cell span { display: block; color: var(--muted); font-size: .71rem; text-transform: uppercase; letter-spacing: .08em; }
.version-cell strong { display: block; margin-top: .2rem; overflow-wrap: anywhere; color: var(--ink); font-size: 1rem; }
.admin-list { display: grid; gap: .5rem; margin-top: .8rem; }
.admin-row { display: grid; grid-template-columns: 52px minmax(0,1fr); gap: .6rem; align-items: start; padding: .55rem; border: 1px solid rgba(248,199,129,.13); border-radius: 8px; background: rgba(255,255,255,.02); }
.admin-row code { color: #dac9ad; font-size: .7rem; overflow-wrap: anywhere; }
.admin-row .method { width: 47px; }

.api-layout { display: grid; grid-template-columns: minmax(310px, .84fr) minmax(0, 1.16fr); gap: 1rem; align-items: start; padding-bottom: 1.8rem; }
.api-browser, .api-detail { min-width: 0; border: 1px solid var(--line); border-radius: 14px; background: rgba(15,29,39,.9); }
.api-browser { overflow: hidden; }
.api-controls { display: grid; grid-template-columns: 1fr 120px; gap: .55rem; padding: .9rem; border-bottom: 1px solid var(--line); }
.api-controls input, .api-controls select { width: 100%; min-width: 0; padding: .68rem .72rem; border: 1px solid rgba(177,214,214,.16); border-radius: 8px; color: var(--ink); background: #0a1720; font-size: .78rem; }
.api-controls input::placeholder { color: #71878e; }
.filter-row { display: grid; grid-template-columns: 1fr 1fr; gap: .55rem; grid-column: 1 / -1; }
.results-count { padding: .48rem .95rem; color: var(--muted); font-size: .73rem; }
.operation-list { max-height: 640px; overflow: auto; overscroll-behavior: contain; }
.operation-row { display: grid; grid-template-columns: 58px minmax(0,1fr) 14px; gap: .62rem; align-items: center; width: 100%; padding: .72rem .85rem; border: 0; border-top: 1px solid rgba(177,214,214,.075); color: var(--ink); text-align: left; background: transparent; cursor: pointer; }
.operation-row:hover { background: rgba(255,255,255,.035); }
.operation-row[aria-current="true"] { background: rgba(95,211,239,.095); box-shadow: inset 2px 0 var(--mint); }
.operation-name { min-width: 0; }
.operation-name code { display: block; overflow-wrap: anywhere; color: #d6e2e5; font-size: .7rem; line-height: 1.4; }
.operation-name span { display: block; margin-top: .17rem; overflow: hidden; color: var(--muted); font-size: .68rem; text-overflow: ellipsis; white-space: nowrap; }
.operation-arrow { color: #789097; font-size: 1.1rem; }
.method { display: inline-flex; justify-content: center; min-width: 48px; padding: .21rem .32rem; border-radius: 6px; color: #071a21; font-size: .6rem; font-weight: 900; letter-spacing: .05em; }
.method-get { background: #83e4ea; }
.method-post { background: #91c7ff; }
.method-put { background: #f3ca82; }
.method-patch { background: #c7a8ff; }
.method-delete { background: #ff9d99; }
.method-other { background: #c2d0d3; }
.api-detail { position: sticky; top: 92px; padding: 1.1rem; }
.detail-topline { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem; margin-bottom: .55rem; }
.detail-path { margin: 0 0 .4rem; overflow-wrap: anywhere; color: #e3ecec; font: 650 1.05rem/1.5 ui-monospace, SFMono-Regular, Menlo, monospace; }
.detail-summary { margin: .45rem 0 .8rem; color: #c1d0d3; font-size: .88rem; }
.detail-description { color: var(--muted); font-size: .83rem; white-space: pre-line; }
.detail-section { margin-top: 1.1rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.detail-section h3 { margin: 0 0 .55rem; color: #dbe8e8; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; }
.detail-section p { color: var(--muted); font-size: .79rem; }
.param-table { width: 100%; border-collapse: collapse; }
.param-table th, .param-table td { padding: .52rem .45rem; border-top: 1px solid rgba(177,214,214,.09); text-align: left; vertical-align: top; font-size: .72rem; }
.param-table th { color: #829ba0; font-size: .65rem; text-transform: uppercase; letter-spacing: .06em; }
.param-table td { color: #b9cacc; }
.param-table code { color: #d9ecea; font-size: .7rem; }
.response-row { display: grid; grid-template-columns: 50px minmax(0,1fr); gap: .55rem; align-items: start; margin: .5rem 0; padding: .55rem; border: 1px solid rgba(177,214,214,.09); border-radius: 8px; background: rgba(255,255,255,.02); }
.response-code { color: var(--mint); font: 800 .7rem ui-monospace, monospace; }
.response-description { color: var(--muted); font-size: .71rem; }
.json-block { max-height: 270px; margin: .45rem 0 0; padding: .72rem; border: 1px solid rgba(177,214,214,.1); border-radius: 8px; color: #c5d7d7; background: #07131a; font: .68rem/1.55 ui-monospace, SFMono-Regular, Menlo, monospace; white-space: pre-wrap; overflow: auto; overflow-wrap: anywhere; }
.admin-details { margin: 0 0 4rem; border: 1px solid rgba(248,199,129,.2); border-radius: 13px; background: rgba(84,62,35,.1); }
.admin-details summary { display: flex; justify-content: space-between; gap: .8rem; align-items: center; padding: .9rem 1rem; color: #f0d7b4; cursor: pointer; list-style: none; font-weight: 750; }
.admin-details summary::-webkit-details-marker { display: none; }
.admin-details summary:after { content: "+"; color: var(--amber); font-size: 1.2rem; }
.admin-details[open] summary:after { content: "−"; }
.admin-detail-body { padding: 0 1rem 1rem; }
.admin-detail-body > p { max-width: 900px; color: #bfb29d; font-size: .82rem; }
.source-note { margin: 1rem 0; padding: .8rem .9rem; border-left: 2px solid var(--blue); color: #a9bdc4; background: rgba(81,133,176,.08); font-size: .78rem; }
.empty-state { padding: 2rem 1rem; color: var(--muted); text-align: center; font-size: .82rem; }
.error-banner { margin: 1rem 0; padding: 1rem; border: 1px solid rgba(255,157,153,.3); border-radius: 10px; color: #ffd0cd; background: rgba(130,47,47,.14); }

.site-footer { border-top: 1px solid var(--line); background: rgba(6,14,21,.5); }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 1.3rem; padding: 1.2rem 0; color: var(--muted); font-size: .75rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 1rem; }
.footer-links a { color: var(--muted); }
.footer-links a:hover { color: var(--mint); }

@media (max-width: 920px) {
  .topbar-inner { flex-wrap: wrap; gap: .55rem; padding: .65rem 0; }
  .main-nav { width: 100%; flex: 0 0 100%; order: 2; min-width: 0; flex-wrap: wrap; overflow: visible; padding-bottom: .15rem; }
  .main-nav a { padding: .43rem .63rem; }
  .nav-cta { margin-left: 0; }
  .hero { grid-template-columns: minmax(0, 1fr); gap: 2rem; min-height: unset; padding-top: 55px; }
  .hero-console { max-width: 610px; }
  .hero:after { right: 10%; top: 24%; }
  .api-layout { grid-template-columns: 1fr; }
  .api-detail { position: static; }
  .operation-list { max-height: 430px; }
  .content-grid { grid-template-columns: minmax(0, 1fr); min-width: 0; }
  .content-grid > *, .content-stack, .content-card { min-width: 0; }
  .side-note { position: static; }
}
@media (max-width: 640px) {
  .page-width { width: min(1180px, calc(100% - 32px)); min-width: 0; }
  .main-nav { row-gap: .15rem; }
  .main-nav a { padding: .38rem .48rem; font-size: .78rem; }
  .hero { padding: 42px 0 44px; }
  .hero > div { min-width: 0; }
  .hero h1 { max-width: 100%; font-size: clamp(2rem, 9vw, 2.45rem); overflow-wrap: break-word; }
  .hero h1 span { display: block; }
  .hero-copy, .page-intro > p, .notice p { width: 100%; max-width: 100%; overflow-wrap: anywhere; }
  .hero-copy { font-size: .98rem; }
  .hero-console { padding: .72rem; }
  .console-code { padding: .9rem; font-size: .72rem; }
  .stat-grid { grid-template-columns: 1fr; margin-bottom: 3rem; }
  .stat { min-height: unset; padding: 1rem 1.1rem; }
  .stat strong { display: inline-block; min-width: 5rem; font-size: 1.45rem; }
  .stat span { display: inline; margin: 0; }
  .card-grid { grid-template-columns: 1fr; }
  .feature-card { min-height: 0; }
  .wide-callout { grid-template-columns: 1fr; padding: 1.25rem; }
  .wide-callout .button { justify-self: start; }
  .page-intro { padding-top: 2.3rem; }
  .page-intro h1 { font-size: 2.45rem; }
  .flow { grid-template-columns: minmax(0, 1fr); min-width: 0; }
  .flow-step { min-width: 0; overflow-wrap: anywhere; }
  .api-controls { grid-template-columns: 1fr; }
  .filter-row { grid-template-columns: 1fr 1fr; }
  .api-detail { padding: .9rem; }
  .detail-path { font-size: .88rem; }
  .operation-row { grid-template-columns: 54px minmax(0,1fr) 12px; gap: .45rem; padding: .68rem .7rem; }
  .footer-inner { align-items: flex-start; flex-direction: column; }
  .version-grid { grid-template-columns: minmax(0, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0s !important; animation-duration: .01ms !important; }
}

/* Keep keyboard focus visible on controls and horizontal code/table regions. */
:focus-visible:focus { outline: 2px solid var(--mint); outline-offset: 3px; }
.detail-path, .inline-code { overflow-wrap: anywhere; word-break: break-word; }
.api-detail { overflow-wrap: anywhere; }
.api-detail > *, .response-row > * { min-width: 0; }
.notice p a { text-decoration: underline; text-underline-offset: .15em; }
