@font-face {font-family: 'PT Root UI';src: url(pt-root-ui_vf.woff);font-weight: 400;font-style: normal;font-display: swap;}
@font-face {font-family: 'Manrope';src: url(Manrope-VariableFont_wght.ttf);font-weight: 400;font-style: normal;font-display: swap;}
@font-face {font-family: 'JetBrains Mono';src: url(JetBrainsMono[wght].ttf);font-weight: 400;font-style: normal;font-display: swap;}
* {-webkit-tap-highlight-color: transparent;}
:root{
  --head:'PT Root UI','Manrope','PingFang SC','Microsoft YaHei','Noto Sans CJK SC',sans-serif;
  --font:'Manrope',system-ui,-apple-system,'Segoe UI','PingFang SC','Microsoft YaHei','Noto Sans CJK SC',sans-serif;
  --mono:'JetBrains Mono',ui-monospace,monospace;
  --r:12px; --ease:cubic-bezier(.2,.7,.2,1);
}
[data-theme=dark]{--bg:#101214;--surface:#1d2024;--line:#2b3036;--text:#eceded;--muted:#8f969d;--btn-bg:#eceded;--btn-fg:#1d2024;--hover:#262a30;--bad:#ef7a68;--dot:rgba(255,255,255,.055);--shadow-pop:0 10px 28px rgba(0,0,0,.32);color-scheme:dark}
[data-theme=light]{--bg:#f6f6f4;--surface:#fff;--line:#e2e2de;--text:#1d2024;--muted:#6a7076;--btn-bg:#1d2024;--btn-fg:#f6f6f4;--hover:#efefec;--bad:#c4361f;--dot:rgba(0,0,0,.07);--shadow-pop:0 4px 14px rgba(16,18,20,.06);color-scheme:light}

:root{--accent:var(--text);--accent-fg:var(--bg)}

*{box-sizing:border-box;margin:0}
html{scrollbar-width:thin;scrollbar-color:var(--line) transparent}
body{min-height:100vh;display:flex;flex-direction:column;background:var(--bg) radial-gradient(var(--dot) 1px,transparent 1px) 0 0/24px 24px;color:var(--text);font:400 16px/1.55 var(--font);-webkit-font-smoothing:antialiased;transition:background-color .25s,color .25s}
h1,h2,.brand{font-family:var(--head)}
a{color:inherit}
.intro-a{text-decoration: none; border-bottom: 1px dotted var(--muted);}
.intro-a:hover {border-bottom: 1px solid var(--muted);}
button,input,textarea{font:inherit;color:inherit}
:focus-visible{outline:2px solid var(--accent);outline-offset:3px;}
::selection{background:var(--accent);color:var(--accent-fg)}
::-webkit-scrollbar{width:12px;height:12px}
::-webkit-scrollbar-track{background:transparent}
::-webkit-scrollbar-thumb{background:var(--line);border:3px solid var(--bg);border-radius:12px}
::-webkit-scrollbar-thumb:hover{background:var(--muted)}
.wrap{width:100%;max-width:1160px;margin-inline:auto;padding-inline:clamp(20px,6vw,72px)}
@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}
