:root { --bg: #0b0d12; --panel: #11151b; --panel-soft: #151a22; --line: #232a35; --text: #eef2f7; --muted: #9aa5b4; --accent: #d7e2f0; --link: #c7d6e9; --font-body: "IBM Plex Sans", sans-serif; --font-mono: "IBM Plex Mono", monospace; --shell: 920px; --radius: 12px; } *, *::before, *::after { box-sizing: border-box; } html { scroll-behavior: smooth; } body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font-body); line-height: 1.55; color-scheme: dark; } a { color: inherit; text-decoration: none; } button, input, textarea, select { font: inherit; } button { border: 0; background: none; color: inherit; cursor: pointer; } code, pre { font-family: var(--font-mono); } pre { margin: 0; white-space: pre-wrap; } .skip-link { position: absolute; left: -999px; top: 12px; } .skip-link:focus { left: 12px; z-index: 10; padding: 8px 12px; border-radius: 8px; background: var(--panel); border: 1px solid var(--line); } .shell { width: min(var(--shell), calc(100vw - 32px)); margin: 0 auto; } .site-header { border-bottom: 1px solid var(--line); background: var(--bg); position: sticky; top: 0; } .header-row, .footer-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 58px; } .brand { display: inline-flex; align-items: center; gap: 12px; } .brand strong { display: block; font-size: 0.92rem; } .brand span span { display: block; color: var(--muted); font-size: 0.78rem; } .brand-mark { width: 16px; height: 16px; border-radius: 3px; background: linear-gradient(135deg, #dbe5f1, #91a6bd); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.16); } .site-nav, .footer-links, .button-row { display: flex; flex-wrap: wrap; gap: 10px; } .site-nav a, .footer-links a { color: var(--muted); font-size: 0.88rem; } .site-nav a:hover, .site-nav a:focus-visible, .footer-links a:hover, .footer-links a:focus-visible, .link-card:hover, .link-card:focus-visible { color: var(--text); } .page { padding: 24px 0 48px; } .hero, .section { padding: 16px 0 20px; } .eyebrow { margin: 0 0 10px; color: var(--muted); font-size: 0.76rem; font-family: var(--font-mono); text-transform: uppercase; letter-spacing: 0.08em; } h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -0.02em; } .hero h1, .page-title { font-size: clamp(1.7rem, 3.6vw, 2.35rem); max-width: 15ch; } .section-head { margin-bottom: 14px; } .section-head h2 { font-size: 1.14rem; } .lede, .section-head p, .demo-text, .link-card span, .card p { margin: 12px 0 0; color: var(--muted); font-size: 0.94rem; } .button { display: inline-flex; align-items: center; justify-content: center; min-height: 34px; padding: 0 10px; border: 1px solid var(--line); border-radius: 10px; background: var(--panel); color: var(--accent); } .button-primary { background: var(--accent); color: #0b0d12; border-color: var(--accent); font-weight: 600; } .button-small { min-height: 28px; font-size: 0.8rem; } .hero-grid, .demo-body { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 16px; } .panel, .card, .link-card, .table-panel { border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); } .panel, .card, .link-card { padding: 14px; } .panel-code, .card pre { background: var(--panel-soft); } .panel-head, .card-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 8px; } .panel-head span, .card-top span, .demo-label { color: var(--muted); font-family: var(--font-mono); font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.06em; } .key-list { margin: 12px 0 0; padding-left: 18px; } .key-list li + li { margin-top: 8px; } .mini-table { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 12px; } .mini-table div { padding: 10px 11px; border: 1px solid var(--line); border-radius: 10px; background: var(--panel-soft); } .mini-table span { display: block; color: var(--muted); font-family: var(--font-mono); font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.06em; } .mini-table strong { display: block; margin-top: 6px; font-size: 0.92rem; font-weight: 600; } .card-grid, .link-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } .card h3 { font-size: 0.96rem; margin-bottom: 8px; } .card pre, .panel pre { overflow: auto; border-radius: 10px; border: 1px solid var(--line); } .card code, .panel code { display: block; padding: 10px; color: #e8edf6; font-size: 0.88rem; } .demo { border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); overflow: hidden; } .demo-tabs { display: flex; gap: 8px; flex-wrap: wrap; padding: 10px; border-bottom: 1px solid var(--line); } .demo-body { padding: 10px; margin-top: 0; } .demo-tab { min-height: 30px; padding: 0 9px; border-radius: 999px; border: 1px solid var(--line); background: var(--panel-soft); color: var(--muted); } .demo-tab.is-active { background: var(--accent); color: #0b0d12; border-color: var(--accent); } .table-panel { overflow: hidden; } .info-table { width: 100%; border-collapse: collapse; } .info-table th, .info-table td { padding: 10px 12px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); } .info-table th { color: var(--muted); font-size: 0.86rem; font-weight: 500; } .link-card { display: block; } .link-card strong { display: block; margin-bottom: 6px; font-size: 0.94rem; } .site-footer { border-top: 1px solid var(--line); } .toast { position: fixed; left: 50%; bottom: 18px; transform: translateX(-50%) translateY(16px); opacity: 0; pointer-events: none; padding: 10px 14px; border-radius: 999px; background: var(--panel-soft); border: 1px solid var(--line); color: var(--text); transition: opacity 120ms ease, transform 120ms ease; } .toast.is-visible { opacity: 1; transform: translateX(-50%) translateY(0); } @media (max-width: 760px) { .header-row, .footer-row, .hero-grid, .demo-body, .card-grid, .link-grid, .mini-table { grid-template-columns: 1fr; flex-direction: column; align-items: flex-start; } .page { padding-top: 20px; } .hero h1, .page-title { max-width: none; } }