
/* Xiaohe: midnight surface and slow lavender particles. 2026-11-16. */
:root{color-scheme:dark;--paper:#0b0c15;--pale:#181827;--line:#333147;--white:#11121e;--ink:#f0eef9;--muted:#aaa9be;--blue:#c4b0f2;--bright:#c8b6f4}
html{background:#0b0c15}
body{isolation:isolate;background:radial-gradient(ellipse at 9% 8%,#25203888 0,transparent 47%),radial-gradient(ellipse at 93% 45%,#30233f66 0,transparent 50%),linear-gradient(130deg,#0c0d17,#11111e 48%,#0a0b14);background-attachment:fixed;color:var(--ink)}
body::before{content:"";position:fixed;inset:0;z-index:-2;pointer-events:none;background:linear-gradient(115deg,transparent 24%,#b9a5e608 42%,transparent 60%);opacity:.8}
#gold-flow{position:fixed;inset:0;width:100%;height:100%;z-index:-1;pointer-events:none}
::selection{background:#6c578a;color:#fff}
::-webkit-scrollbar-thumb{background:#696078;border-color:#11121e}
.site-header{background:#0d0e19d9;border-bottom:1px solid #b8a0ed24;backdrop-filter:blur(18px)}
.menu{color:var(--ink)}.skip{background:#252335}
.home-intro{border-bottom-color:#b5a0dd30}
.intro-copy h1 span{color:#d0b9fc}
.intro-photo>a{box-shadow:0 22px 68px #0008,0 0 38px #a68cd510;border:1px solid #b5a0dd42}
.home-methods,.about-records,.about-principles,.faq{background:linear-gradient(120deg,#1e1c2e8a,#1615238a)}
.source-note,.article-body blockquote{background:#2421329c;border:1px solid #b8a0dd2b;color:#d9d1eb}
.evidence-figure>a{background:#171722}.qr-pair figure>a{background:#f3f2f7}
.button{background:#8864c5;color:#fff}.button:hover{background:#9d78db}
.button.secondary,.hero-actions .secondary{background:#30293f;color:#e4d8f6;border:1px solid #a890cb45}
.button.secondary:hover,.hero-actions .secondary:hover{background:#413251}
.project-row,.method-row,.spec-row,.principle{border-color:#aaa0bf30}
.project-link:hover,.method-row:hover{background:#bda8e308}
.project-link:hover h3,.method-row a:hover h3,.featured-project h2 a:hover,.guide-preview h2 a:hover,.article-aside nav a:hover,.header-inner nav a:hover{color:#d0b9fc}
.contact-form,.faq-list details,.faq-item,.guide-row{background-color:#171724a6}
.form-panel{background:#1414209c}
.field input,.field select,.field textarea{background:#0f101a;color:var(--ink);border-color:#5b516d}
.field input::placeholder,.field textarea::placeholder{color:#9390a6}
.field-error{color:#ffa6ba}.field [aria-invalid=true]{border-color:#ffa6ba}
.check-row input{accent-color:#a589d5}
.success-mark{background:#203c33;color:#a1e6be}
.services-overview{background:#221c34}
.services-overview .section-head p,.service-row p{color:#cdc4dd}
.service-row,.service-row:first-of-type{border-color:#b6a3d03b}
.jump-links a:hover{background:#393044}
.film,.answer,.browser-bar{background:#1d1c2b}.film>span{color:var(--muted)}
.demo-question{background:#46335f}.web-demo{border-color:var(--line)}
.site-footer{background:#080910b8;color:#e5dff1}
@media(max-width:760px){.site-header,.header-inner nav{background:#10101def}.study-stage{background:#171723}.board-copy{color:var(--ink)}}
@media(prefers-reduced-motion:reduce){#gold-flow{opacity:.5}}

