:root { --bg: oklch(0.972 0.004 250); --surface: oklch(0.99 0.002 250); --surface2: oklch(0.945 0.006 250); --border: oklch(0.885 0.007 250); --text: oklch(0.24 0.012 250); --muted: oklch(0.52 0.015 250); --accent: oklch(0.55 0.17 255); --accent-soft: oklch(0.55 0.17 255 / .1); }
@media (prefers-color-scheme: dark) { :root { --bg: oklch(0.235 0.008 250); --surface: oklch(0.28 0.009 250); --surface2: oklch(0.325 0.01 250); --border: oklch(0.38 0.01 250); --text: oklch(0.93 0.006 250); --muted: oklch(0.70 0.012 250); --accent: oklch(0.72 0.14 255); --accent-soft: oklch(0.72 0.14 255 / .14); } }
* { box-sizing: border-box; } body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.65 -apple-system, BlinkMacSystemFont, system-ui, sans-serif; -webkit-font-smoothing: antialiased; } a { color: var(--accent); text-decoration: none; } a:hover { text-decoration: underline; } .wrap { width: min(100% - 40px, 1040px); margin: auto; } .topbar { border-bottom: 1px solid var(--border); } .topbar .wrap { min-height: 60px; display: flex; align-items: center; justify-content: space-between; gap: 18px; } .brand { color: var(--text); font-weight: 600; } nav { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; font-size: .88rem; } nav a { color: var(--muted); } .langs { position: relative; display: inline-flex; align-self: flex-start; border-bottom: none; margin: 0; } .langs summary { display: flex; align-items: center; list-style: none; cursor: pointer; padding: 4px; border: 1px solid var(--border); border-radius: 7px; background: var(--surface); } .langs summary::-webkit-details-marker { display: none; } .langs summary::after { content: none; } .langs summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; } .langs .flag { display: block; width: 20px; height: 14px; border-radius: 2px; } .langs-menu { position: absolute; top: calc(100% + 6px); right: 0; z-index: 20; display: flex; flex-direction: column; gap: 2px; margin: 0; padding: 6px; list-style: none; border: 1px solid var(--border); border-radius: 8px; background: var(--surface); box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18); } .langs-menu a { display: flex; align-items: center; gap: 8px; padding: 6px 8px; border-radius: 6px; white-space: nowrap; } .langs-menu a:hover, .langs-menu a:focus-visible { background: var(--surface2); text-decoration: none; } .langs-menu a:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; } .langs-menu a[aria-current="page"] { background: var(--accent-soft); font-weight: 600; } .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; } main { padding: 64px 0 82px; } .eyebrow { color: var(--accent); font-size: .76rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; } h1, h2, h3 { line-height: 1.2; letter-spacing: -.02em; } h1 { font-size: clamp(2.2rem, 6vw, 4.2rem); max-width: 16ch; margin: 12px 0 20px; } h2 { font-size: 1.8rem; margin: 0 0 14px; } h3 { font-size: 1.1rem; margin: 0 0 7px; } p { max-width: 68ch; } .lead { color: var(--muted); font-size: 1.15rem; max-width: 58ch; } .actions { display: flex; gap: 10px; flex-wrap: wrap; margin: 28px 0; } .btn { display: inline-block; padding: 9px 15px; border: 1px solid var(--border); border-radius: 7px; background: var(--surface); color: var(--text); } .btn-primary { border-color: transparent; background: var(--accent); color: white; } .rule { border: 0; border-top: 1px solid var(--border); margin: 54px 0; } .grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 28px; } .item { padding-top: 16px; border-top: 2px solid var(--accent); } .item p, .muted { color: var(--muted); } .wide { max-width: 760px; } .doc-nav { display: flex; gap: 12px; flex-wrap: wrap; margin: 20px 0 42px; } .doc-nav a { padding: 7px 11px; border: 1px solid var(--border); border-radius: 7px; background: var(--surface); } .doc-section { margin: 0 0 44px; } .doc-section ul { padding-left: 22px; } .legal-note { padding: 14px 16px; border: 1px solid var(--border); border-radius: 8px; background: var(--accent-soft); } footer { padding: 34px 0; border-top: 1px solid var(--border); color: var(--muted); font-size: .88rem; } footer .wrap { display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; } .mcp-grid > *, .install-grid > *, .code, .term { min-width: 0; } @media (max-width: 700px) { .topbar .wrap { align-items: flex-start; padding: 12px 0; } .topbar nav { width: 100%; gap: 10px 14px; } .grid { grid-template-columns: 1fr; gap: 28px; } main { padding: 44px 0 60px; } .price-strip .wrap { grid-template-columns: 1fr; } .mcp-grid, .install-grid { grid-template-columns: 1fr; } .mcp-text, .mcp-text .li, .mcp-text .li > * { min-width: 0; } .code pre { white-space: pre-wrap; overflow-wrap: anywhere; } .term { white-space: normal !important; overflow-wrap: anywhere !important; } }
