:root { --bg: #dce0e8; --page-bg: #dce0e8; --fg: #4c4f69; --muted: #6c6f85; --border: #bcc0cc; --link: #1e66f5; --panel: #ccd0da; --hero: #bcc0cc; --ring: #7287fd; } @media (prefers-color-scheme: dark) { :root[data-theme-mode="system"] { --bg: #11111b; --page-bg: linear-gradient( 180deg, #090d18 0%, #0f1220 28%, #11111b 58%, #11111b 100% ); --fg: #b9c2df; --muted: #8d98b6; --border: #3a3d52; --link: #7ea7f7; --panel: #141520; --hero: #1e1e2e; --ring: #9ea9ff; } } :root[data-theme-mode="light"] { --bg: #dce0e8; --page-bg: #dce0e8; --fg: #4c4f69; --muted: #6c6f85; --border: #bcc0cc; --link: #1e66f5; --panel: #ccd0da; --hero: #bcc0cc; --ring: #7287fd; } :root[data-theme-mode="dark"] { --bg: #11111b; --page-bg: linear-gradient( 180deg, #090d18 0%, #0f1220 28%, #11111b 58%, #11111b 100% ); --fg: #b9c2df; --muted: #8d98b6; --border: #3a3d52; --link: #7ea7f7; --panel: #141520; --hero: #1e1e2e; --ring: #9ea9ff; } * { box-sizing: border-box; } html, body { margin: 0; padding: 0; min-height: 100%; background: var(--page-bg); color: var(--fg); font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, Apple Color Emoji, Segoe UI Emoji; line-height: 1.65; overflow-x: hidden; } main { max-width: 860px; margin: 0 auto; padding: 0 1.25rem 4rem; } .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; } .theme-control { border: 1px solid var(--border); border-radius: 999px; padding: 0.25rem 0.6rem; background: color-mix(in srgb, var(--panel) 92%, transparent); color: var(--fg); font-size: 0.9rem; } .theme-control:focus-visible { outline: 2px solid var(--ring); outline-offset: 2px; } h1, h2, h3 { line-height: 1.25; margin-top: 2rem; margin-bottom: 0.8rem; } h1 { margin-top: 0; font-size: clamp(2rem, 5vw, 3rem); letter-spacing: -0.02em; } p, ul, ol, blockquote, pre { margin: 0.9rem 0; } ul, ol { padding-left: 1.4rem; } a { color: var(--link); text-underline-offset: 0.15em; } strong { font-weight: 650; } blockquote { margin: 1.1rem 0; border-left: 4px solid var(--ring); padding: 0.35rem 0 0.35rem 0.9rem; color: var(--muted); } blockquote p { margin: 0.2rem 0; } code { font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, Liberation Mono, Courier New, monospace; border: 1px solid var(--border); border-radius: 6px; font-size: 0.92em; } :not(pre) > code { padding: 0.12rem 0.36rem; background: color-mix(in srgb, var(--panel) 85%, transparent); } .hero { --hero-content-width: min(70ch, calc(100vw - 2.5rem)); position: relative; width: 100vw; margin: 0 0 3.5rem calc(50% - 50vw); min-height: 68svh; padding: clamp(1.5rem, 3.5vw, 2.8rem); display: flex; flex-direction: column; justify-content: center; align-items: center; background: linear-gradient(180deg, #e9edf6 0%, #d4dae8 100%); text-align: left; color: #1f2430; } .hero::after { content: none; } .hero-header { display: flex; align-items: center; justify-content: space-between; gap: 0.8rem; width: var(--hero-content-width); margin-bottom: 1rem; } .hero-header h1 { color: #1a2031; margin-bottom: 0; } .hero p { color: #37415f; margin: 0.2rem 0; width: var(--hero-content-width); max-width: 100%; } .expressive-code { margin: 1rem 0; } details { margin: 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); overflow: hidden; } details + details { border-top: 0; } details > summary { cursor: pointer; list-style: none; font-weight: 650; padding: 0.75rem 1.4rem 0.75rem 0; position: relative; } details > summary::-webkit-details-marker { display: none; } details > summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); color: var(--muted); font-weight: 500; font-size: 1.1rem; } details[open] > summary::after { content: "−"; } details > *:not(summary) { margin: 0; padding: 0 0 0.8rem; color: var(--muted); } .site-disclosure { margin-top: 2.5rem; margin-bottom: 0.5rem; text-align: center; color: var(--muted); font-size: 0.9rem; } :root[data-theme-mode="dark"] .hero { background: linear-gradient(180deg, rgb(8 11 20 / 82%), rgb(4 6 12 / 92%)), url("/og.png"); background-size: cover; background-position: center; color: #edf2ff; } :root[data-theme-mode="dark"] .hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: clamp(140px, 24svh, 320px); pointer-events: none; background: linear-gradient( 180deg, rgb(17 17 27 / 0%) 0%, rgb(17 17 27 / 18%) 42%, rgb(17 17 27 / 46%) 68%, var(--bg) 100% ); } :root[data-theme-mode="dark"] .hero-header h1 { color: #f8fbff; } :root[data-theme-mode="dark"] .hero p { color: rgb(237 242 255 / 92%); } :root[data-theme-mode="dark"] .hero .theme-control { color: #eef3ff; border-color: rgb(255 255 255 / 45%); background: rgb(10 14 24 / 48%); backdrop-filter: blur(4px); } @media (prefers-color-scheme: dark) { :root[data-theme-mode="system"] .hero { background: linear-gradient(180deg, rgb(8 11 20 / 82%), rgb(4 6 12 / 92%)), url("/og.png"); background-size: cover; background-position: center; color: #edf2ff; } :root[data-theme-mode="system"] .hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: clamp(140px, 24svh, 320px); pointer-events: none; background: linear-gradient( 180deg, rgb(17 17 27 / 0%) 0%, rgb(17 17 27 / 18%) 42%, rgb(17 17 27 / 46%) 68%, var(--bg) 100% ); } :root[data-theme-mode="system"] .hero-header h1 { color: #f8fbff; } :root[data-theme-mode="system"] .hero p { color: rgb(237 242 255 / 92%); } :root[data-theme-mode="system"] .hero .theme-control { color: #eef3ff; border-color: rgb(255 255 255 / 45%); background: rgb(10 14 24 / 48%); backdrop-filter: blur(4px); } } @media (max-width: 640px) { .hero-header { flex-direction: column; align-items: flex-start; justify-content: flex-start; } .hero { min-height: 62svh; margin-bottom: 2.1rem; padding: 1.25rem; } .hero::after { height: clamp(96px, 16svh, 180px); } }