/* NULLDRM - flat surfaces, soft depth, one accent. Light only. */ :root { color-scheme: light; --accent: #4c6ef5; --accent-ink: #ffffff; --accent-soft: #eef1fe; --accent-line: #c9d4fb; /* white with a slight grey tint */ --bg: #f6f7f9; --surface: #ffffff; --surface-2: #f0f2f5; --ink: #15181d; --ink-2: #434a53; --muted: #6b7280; --line: #e4e7ec; --line-strong: #d4d9e0; --ok: #1a7f52; --warn: #9a6a00; /* the terminal card stays dark on purpose - it is a terminal */ --term-bg: #15181f; --term-ink: #d9dee8; --term-dim: #7b8595; --term-ok: #6fd79b; --term-url: #8fb6ff; --term-redact: #5c6678; --radius: 12px; --radius-sm: 8px; --shadow: 0 1px 2px rgba(16, 20, 30, 0.05), 0 6px 20px -8px rgba(16, 20, 30, 0.12); --shadow-sm: 0 1px 2px rgba(16, 20, 30, 0.06); --maxw: 1080px; --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, Helvetica, Arial, sans-serif; --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace; } /* The hidden attribute must win over any display rule below. */ [hidden] { display: none !important; } * { box-sizing: border-box; } html { scroll-behavior: smooth; } @media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } } body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.65 var(--sans); -webkit-font-smoothing: antialiased; } h1, h2, h3 { line-height: 1.2; letter-spacing: -0.015em; margin: 0; } h1 { font-size: clamp(2rem, 5vw, 3rem); font-weight: 680; } h2 { font-size: clamp(1.3rem, 3vw, 1.6rem); font-weight: 650; } h3 { font-size: 1.02rem; font-weight: 640; } p { margin: 0; } a { color: var(--accent); text-decoration: none; } a:hover { text-decoration: underline; } code, pre, kbd { font-family: var(--mono); } code { font-size: 0.88em; background: var(--surface-2); border: 1px solid var(--line); border-radius: 5px; padding: 0.1em 0.38em; } .skip { position: absolute; left: -9999px; } .skip:focus { left: 12px; top: 12px; z-index: 100; background: var(--surface); color: var(--ink); padding: 10px 14px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); } :focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; } .shell { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; } /* ---------- header ---------- */ .site-header { position: sticky; top: 0; z-index: 20; background: rgba(246, 247, 249, 0.85); backdrop-filter: saturate(140%) blur(10px); border-bottom: 1px solid var(--line); } .header-row { display: flex; align-items: center; gap: 20px; min-height: 60px; } .brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 660; letter-spacing: -0.02em; } .brand:hover { text-decoration: none; } .mark { width: 26px; height: 26px; border-radius: 7px; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; font: 700 14px/1 var(--sans); } .site-nav { margin-left: auto; display: flex; align-items: center; gap: 4px; flex-wrap: wrap; } .site-nav a { color: var(--ink-2); padding: 7px 11px; border-radius: 7px; font-size: 0.925rem; } .site-nav a:hover { background: var(--surface-2); color: var(--ink); text-decoration: none; } .site-nav a.active { color: var(--accent); background: var(--accent-soft); } /* ---------- sections ---------- */ section { padding: 56px 0; border-top: 1px solid var(--line); } section:first-of-type { border-top: 0; } .section-head { max-width: 62ch; margin-bottom: 28px; } .section-head p { color: var(--muted); margin-top: 8px; } .eyebrow { display: block; font: 600 0.76rem/1 var(--sans); letter-spacing: 0.09em; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; } /* ---------- hero ---------- */ .hero { padding: 72px 0 60px; } .hero h1 { max-width: 20ch; } .hero .tagline { font-size: clamp(1.05rem, 2.4vw, 1.3rem); color: var(--ink-2); margin-top: 16px; max-width: 48ch; } .pill { display: inline-flex; align-items: center; gap: 8px; font-size: 0.82rem; font-weight: 550; color: var(--ink-2); background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 5px 13px; margin-bottom: 22px; box-shadow: var(--shadow-sm); } .pill .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); } .actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; } .btn { display: inline-flex; align-items: center; gap: 8px; font: 550 0.94rem/1 var(--sans); padding: 11px 17px; border-radius: var(--radius-sm); border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink); box-shadow: var(--shadow-sm); cursor: pointer; } .btn:hover { text-decoration: none; border-color: var(--muted); } .btn-primary { background: var(--accent); border-color: transparent; color: var(--accent-ink); background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0)); } .btn-primary:hover { filter: brightness(1.06); } /* ---------- cards ---------- */ .grid { display: grid; gap: 16px; } .grid-3 { grid-template-columns: repeat(auto-fit, minmax(255px, 1fr)); } .card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); } .card h3 { margin-bottom: 8px; } .card p { color: var(--ink-2); font-size: 0.945rem; } .card ul { margin: 14px 0 0; padding-left: 18px; color: var(--muted); font-size: 0.9rem; } .card li + li { margin-top: 5px; } .step { display: grid; place-items: center; width: 25px; height: 25px; border-radius: 7px; background: var(--accent-soft); color: var(--accent); border: 1px solid var(--accent-line); font: 650 0.82rem/1 var(--mono); margin-bottom: 13px; } .note { margin-top: 20px; padding: 15px 18px; background: var(--accent-soft); border: 1px solid var(--accent-line); border-radius: var(--radius-sm); color: var(--ink-2); font-size: 0.93rem; } /* ---------- terminal ---------- */ .terminal { background: var(--term-bg); border: 1px solid var(--line-strong); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; } .term-bar { display: flex; align-items: center; gap: 9px; padding: 11px 14px; border-bottom: 1px solid rgba(255, 255, 255, 0.07); background: rgba(255, 255, 255, 0.03); } .term-bar .lamp { width: 10px; height: 10px; border-radius: 50%; background: #39404e; } .term-bar .name { margin-left: 6px; color: var(--term-dim); font: 500 0.8rem/1 var(--mono); } .terminal pre { margin: 0; padding: 18px; overflow-x: auto; color: var(--term-ink); font-size: 0.815rem; line-height: 1.75; tab-size: 2; } .terminal .t-dim { color: var(--term-dim); } .terminal .t-ok { color: var(--term-ok); } .terminal .t-url { color: var(--term-url); } .terminal .t-redact { color: var(--term-redact); } .terminal .t-prompt { color: var(--term-ok); } .term-legend { margin-top: 14px; color: var(--muted); font-size: 0.88rem; max-width: 68ch; } /* ---------- code blocks ---------- */ pre.code { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; overflow-x: auto; font-size: 0.85rem; line-height: 1.75; box-shadow: var(--shadow-sm); color: var(--ink); } pre.code .c { color: var(--muted); } /* ---------- table ---------- */ .table-wrap { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--surface); box-shadow: var(--shadow-sm); } table { width: 100%; border-collapse: collapse; font-size: 0.93rem; } th, td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: top; } th { background: var(--surface-2); font-weight: 600; font-size: 0.8rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); } tbody tr:last-child td { border-bottom: 0; } td code { white-space: nowrap; } td p { color: var(--ink-2); } /* ---------- source / stats ---------- */ .stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 12px; margin-bottom: 20px; } .stat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 15px 16px; box-shadow: var(--shadow-sm); } .stat-value { display: block; font: 650 1.4rem/1.1 var(--sans); letter-spacing: -0.02em; } .stat-label { display: block; margin-top: 5px; color: var(--muted); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; } .releases { list-style: none; margin: 16px 0 0; padding: 0; } .releases li { padding: 14px 0; border-top: 1px solid var(--line); } .release-title { font-weight: 600; } .release-meta { color: var(--muted); font-size: 0.85rem; margin-top: 3px; } .release-body { color: var(--ink-2); font-size: 0.9rem; margin-top: 7px; } .status-msg { color: var(--muted); font-size: 0.92rem; } /* ---------- footer ---------- */ .site-footer { border-top: 1px solid var(--line); padding: 32px 0 48px; color: var(--muted); font-size: 0.9rem; } .footer-row { display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; } .footer-row nav { display: flex; gap: 18px; margin-left: auto; flex-wrap: wrap; } /* ---------- docs page ---------- */ .docs-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 28px; align-items: start; } .docs-nav { position: sticky; top: 80px; } .docs-nav h3 { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.07em; color: var(--muted); margin-bottom: 10px; } .docs-nav ul { list-style: none; margin: 0; padding: 0; } .docs-nav li + li { margin-top: 2px; } .docs-nav a { display: block; padding: 7px 10px; border-radius: 7px; color: var(--ink-2); font-size: 0.9rem; } .docs-nav a:hover { background: var(--surface-2); color: var(--ink); text-decoration: none; } .docs-nav a.active { background: var(--accent-soft); color: var(--accent); font-weight: 550; } /* min-width:0 so wide code blocks scroll instead of stretching the grid. */ .docs-main { min-width: 0; } .docs-toolbar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding-bottom: 12px; margin-bottom: 20px; border-bottom: 1px solid var(--line); } .docs-toolbar strong { font-family: var(--mono); font-size: 0.9rem; font-weight: 600; } .docs-toolbar a { margin-left: auto; font-size: 0.88rem; } .docs-content { max-width: 74ch; } .docs-content > *:first-child { margin-top: 0; } .docs-content h1 { font-size: 1.85rem; margin: 36px 0 14px; } .docs-content h2 { font-size: 1.32rem; margin: 34px 0 12px; padding-top: 14px; border-top: 1px solid var(--line); } .docs-content h3 { font-size: 1.04rem; margin: 24px 0 8px; } .docs-content p, .docs-content ul, .docs-content ol { margin: 0 0 14px; } .docs-content ul, .docs-content ol { padding-left: 22px; } .docs-content li + li { margin-top: 4px; } .docs-content pre { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 15px; overflow-x: auto; font-size: 0.84rem; line-height: 1.7; margin: 0 0 16px; } .docs-content pre code { background: none; border: 0; padding: 0; font-size: inherit; } .docs-content table { margin: 0 0 18px; border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; } .docs-content blockquote { margin: 0 0 16px; padding: 2px 0 2px 16px; border-left: 3px solid var(--accent-line); color: var(--ink-2); } .docs-content hr { border: 0; border-top: 1px solid var(--line); margin: 28px 0; } .docs-content img { max-width: 100%; } .docs-content input[type="checkbox"] { margin-right: 6px; } /* ---------- telegram invite ---------- */ .tg-modal[hidden] { display: none !important; } .tg-modal { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; padding: 20px; } .tg-backdrop { position: absolute; inset: 0; background: rgba(21, 24, 29, 0.4); backdrop-filter: blur(3px); } .tg-dialog { position: relative; width: 100%; max-width: 400px; background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--radius); padding: 26px; box-shadow: 0 20px 60px -14px rgba(16, 20, 30, 0.3); } .tg-dialog h2 { font-size: 1.2rem; margin-bottom: 8px; } .tg-dialog p { color: var(--ink-2); font-size: 0.93rem; } .tg-actions { display: flex; gap: 10px; margin-top: 22px; flex-wrap: wrap; } .tg-close { position: absolute; top: 12px; right: 12px; width: 30px; height: 30px; border-radius: 7px; border: 1px solid var(--line); background: var(--surface); color: var(--muted); font-size: 1rem; line-height: 1; cursor: pointer; } .tg-close:hover { color: var(--ink); background: var(--surface-2); } /* ---------- responsive ---------- */ @media (max-width: 820px) { .docs-layout { grid-template-columns: 1fr; } .docs-nav { position: static; } .docs-nav ul { display: flex; flex-wrap: wrap; gap: 4px; } } @media (max-width: 640px) { .shell { padding: 0 16px; } section { padding: 44px 0; } .hero { padding: 48px 0 40px; } .header-row { min-height: 54px; gap: 10px; } .site-nav { gap: 0; } .site-nav a { padding: 6px 8px; font-size: 0.875rem; } .card { padding: 18px; } .terminal pre { font-size: 0.74rem; padding: 14px; } .footer-row nav { margin-left: 0; } }