:root{--bg:#100d17;--side:#141020;--panel:#181324;--panel2:#221a32;--line:#31263f;--line2:#453652;--fg:#f1ecf8;--text:#c5bacf;--muted:#a99cb8;--accent:#ddc9ff;--cyan:#be9af4;--violet:#cda9ff;--green:#a2d9c3;--red:#ff9ea9;--wrap:1240px;font-family:"Inter","Aptos","Segoe UI",system-ui,sans-serif}
body{background:radial-gradient(ellipse 900px 490px at 70% 0,#1a1126 0,transparent 76%),var(--bg)}
.site-header{position:relative;z-index:10;border-bottom:1px solid #352941;background:#120e1ce8}
.site-header-inner{margin:auto;padding:0 clamp(16px,4vw,44px);max-width:1440px;height:75px;display:flex;align-items:center;justify-content:space-between;gap:26px}
.brand{gap:11px;padding:0;font-size:1.06rem;letter-spacing:.095em;white-space:nowrap}
.brand .brand-icon{background:#211830;border:1px solid #544071;color:#d1b1f9;width:39px;height:39px;border-radius:12px}
.brand span span,.mobile-brand span{color:#c8a6f3}
.brand small{letter-spacing:.18em;font-size:.54rem;color:#aa9db5;margin-top:4px}
.primary-nav{display:flex;align-items:center;justify-content:center;gap:clamp(16px,2.35vw,32px)}
.primary-nav a,.profile-link{color:#bcafcb;white-space:nowrap;text-decoration:none;font-weight:560;font-size:.86rem}
.primary-nav a:hover,.primary-nav a[aria-current=page],.profile-link:hover{color:#f3eaff}
.top-controls{gap:10px;margin:0}
.site-header .search-button{min-width:38px;min-height:38px;padding:7px;border-radius:9px;background:#1a1326;color:#d8c8ec;border-color:#392b46}
.profile-link{display:flex;align-items:center;gap:7px;background:#21182d;border:1px solid #402e50;border-radius:9px;padding:8px 10px;min-height:38px}
.site-header .lang{background:#171222;border-color:#3b2c49}
.locale-links{display:flex;align-items:center;gap:2px;border:1px solid var(--line2);padding:3px;border-radius:9px;background:var(--bg)}
.locale-links a{color:var(--muted);text-decoration:none;font-size:.82rem;padding:5px 8px;border-radius:5px;font-weight:640}
.locale-links a[aria-current=page]{color:var(--accent);background:var(--panel2)}
.nav-drawer{display:none;flex-wrap:wrap;gap:6px;padding:10px 18px 15px;background:#160f20;border-top:1px solid #352641}
.nav-drawer a{display:flex;align-items:center;gap:9px;text-decoration:none;color:#d9cce9;font-size:.9rem;padding:6px 8px;border-radius:7px;min-height:42px}
.nav-drawer a.active{background:#2e2043;color:#f4e9ff}
.content{max-width:var(--wrap);padding:34px clamp(18px,4vw,48px) 26px;margin:auto}
.content.home{max-width:1360px;padding-top:36px}
.hero.immersive{min-height:568px;border:1px solid #372849;border-radius:25px;background:#0f0a18;position:relative;isolation:isolate}
.hero-plate,.hero-art{position:absolute;inset:0;pointer-events:none}
.hero-art{left:39%;z-index:-2;display:block;overflow:hidden}
.hero-art img{width:100%;height:100%;display:block;object-fit:cover;object-position:55% 47%}
.hero-art:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#0f0a18 0%,#0f0a18b0 9%,transparent 38%),linear-gradient(0deg,#0f0a18bd 0,transparent 28%)}
.hero-plate{z-index:-1;overflow:hidden;background:linear-gradient(115deg,#44216816,transparent 50%);background-size:100% 100%}
.orbit{border:1px solid #ae7cda32;position:absolute;border-radius:50%;pointer-events:none}
.orbit-one{width:61%;height:39%;right:-5%;top:33%;transform:rotate(-24deg)}
.orbit-two{width:54%;height:49%;right:-2%;top:28%;transform:rotate(34deg);border-color:#9462bf25}
.orbit-cross{position:absolute;top:26px;left:28px;right:28px;bottom:26px;background-image:radial-gradient(#a98bce40 1px,transparent 1px);background-size:24px 24px;opacity:.33;mask-image:linear-gradient(90deg,black 0,transparent 47%)}
.hero.immersive .hero-copy{position:relative;width:min(655px,100%);padding:60px 0 59px clamp(27px,5.3vw,76px);color:#fcf8ff}
.immersive .hero-kicker{color:#d8b9f3;font-size:.73rem;letter-spacing:.16em;margin:0 0 23px;line-height:1.5}
.immersive .hero-kicker span{background:#d6abff;box-shadow:0 0 12px #c88afa85}
.immersive h1{font-family:Georgia,"Times New Roman",serif;font-size:clamp(4.55rem,7.85vw,7.7rem);line-height:.91;letter-spacing:-.066em;font-weight:400;color:#f9f3ff;margin:0 0 26px}
.immersive h1 em{font-weight:400;font-style:italic;letter-spacing:-.073em;color:#e1c8ff;background:linear-gradient(108deg,#f1dfff 4%,#b991f2 88%);background-clip:text}
.immersive .hero-lede{max-width:390px;margin:0 0 29px;color:#cbbcdb;font-size:clamp(.95rem,1.35vw,1.10rem);line-height:1.57}
.button{border-radius:10px;min-height:44px}
.button.primary{background:#e7d4ff;border-color:#e7d4ff;color:#221236}
.button.primary:hover{background:#f1e2ff}
.button.secondary{background:var(--panel2);border-color:var(--line2)}
.immersive .button{padding:12px 16px;min-height:46px}
.immersive .button.secondary{background:#21172bbf;border-color:#5c4470;color:#ede2f6}
.specimen-label{position:absolute;right:clamp(20px,3.1vw,40px);bottom:clamp(21px,3vw,34px);display:flex;gap:10px;align-items:center;color:#e9d9fb;border:1px solid #73568b;background:#1b1228df;border-radius:13px;padding:8px 11px;text-decoration:none;box-shadow:0 12px 25px #0d07175c}
.specimen-label:hover{border-color:#c6a0f5;color:white}
.specimen-label strong,.specimen-label small{display:block;line-height:1.3}
.specimen-label strong{font-size:.87rem;font-weight:650}.specimen-label small{font-size:.74rem;color:#b8a1ce;margin-top:2px}
.specimen-icon,.feature-icon{display:grid;place-items:center;flex:none;background:#302043;border:1px solid #634580;border-radius:9px;color:#d7baff;width:37px;height:37px}
.lab-index{display:grid;grid-template-columns:repeat(4,minmax(0,1fr)) auto;padding:20px 5px;border-bottom:1px solid var(--line);gap:12px}
.lab-index>div{display:flex;align-items:center;gap:7px;color:var(--muted);font-size:.89rem;padding-left:10px}
.lab-index div svg{color:#be99f1;flex:none}.lab-index strong{color:var(--fg);font-size:1.05rem}.lab-index>a{align-self:center;padding:5px 10px;border:1px solid var(--line2);border-radius:20px;font-size:.82rem;text-decoration:none;white-space:nowrap}
.lab-section{margin:36px 0 26px}
.lab-section .section-heading{margin-bottom:16px}
.lab-section .section-heading h2,.home-study h2{font-family:Georgia,serif;font-weight:400;font-size:clamp(2.14rem,4vw,3.28rem);letter-spacing:-.05em}
.title-link{display:flex;align-items:center;gap:7px;font-size:.88rem;text-decoration:none;white-space:nowrap}
.feature-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}
.feature{position:relative;isolation:isolate;min-height:224px;display:flex;align-items:flex-end;border:1px solid var(--line2);border-radius:17px;overflow:hidden;background:radial-gradient(ellipse at 80% 10%,#3b2456 0,transparent 75%),#191226}
.feature:hover,.feature:focus-within{border-color:#a282bf;background:radial-gradient(ellipse at 80% 10%,#4e2e6a 0,transparent 80%),#1c142b}
.feature-copy{padding:20px;position:relative;pointer-events:none}
.feature-copy h3{color:#f0e7fa;font-size:1.23rem;margin-top:13px}
.feature-copy h3 a{color:inherit;text-decoration:none;pointer-events:auto}
.feature-copy h3 a:after{content:"";position:absolute;inset:0}
.feature-copy p{font-size:.89rem;color:#c8b9d4;margin-top:7px;max-width:34ch}
.feature-art{position:absolute;top:8px;right:13px;width:51%;height:120px;display:grid;place-items:center;z-index:-1;color:#b28ae99e;opacity:.82}
.feature-art svg{width:100%;height:100%;stroke-width:.75}
.feature-signal .feature-art{width:67%;height:89px;top:19px}.feature-experiment .feature-art{height:110px}
.feature-orbits{position:absolute;right:14px;top:14px;border:1px solid #9d78ca43;width:121px;height:97px;border-radius:50%;transform:rotate(-35deg);z-index:-1}
.feature-atlas .feature-art svg{width:90px}.feature-art svg path[stroke-width="2"]{filter:drop-shadow(0 0 4px #c69fff)}
.home-study{display:grid;grid-template-columns:1fr 1.2fr;gap:22px;margin-top:34px;align-items:stretch}
.daily-feature{margin:0;background:linear-gradient(145deg,#251833,#181321);padding:23px}
.daily-feature h2{font-size:clamp(1.9rem,3.35vw,2.78rem);margin:10px 0 10px;color:#f0e9f8}
.daily-feature .button{margin-top:15px}.home-reading{padding:13px 0}.home-reading h2{font-size:clamp(1.9rem,3.35vw,2.78rem);margin-bottom:13px}
.home-reading .link-grid{grid-template-columns:1fr}.home-reading .link-grid>a{background:transparent;border:0;border-bottom:1px solid var(--line);border-radius:0;padding:7px 4px}
.home-topics .link-grid{grid-template-columns:repeat(4,1fr)}.home-topics .link-grid>a{font-size:.84rem;padding:8px 10px;gap:5px}
.page-heading{padding:12px 0 20px;margin-bottom:10px}
.page-heading h1{font-family:Georgia,serif;font-weight:400;letter-spacing:-.048em;font-size:clamp(2.55rem,5.5vw,5rem)}
.page-heading>p:not(.eyebrow){font-size:1.05rem}
.panel,.card{border-radius:15px}
.panel{padding:clamp(16px,2.2vw,24px)}
.flow li{border-color:#58436d}
.form-warning{color:var(--red)}
.account-grid{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:15px}
.account-grid .panel{margin:0}
.account-grid [data-auth-form]{margin:12px 0}
.account-grid [data-turnstile]:not(:empty){margin-bottom:10px;overflow:auto}
.account-grid [data-auth-status]:empty{display:none}
.brain-stage-3d{min-width:0!important;background:radial-gradient(ellipse 58% 55% at 51% 48%,#2b1c44,#161023 78%,#130e1d)}
.brain-stage-3d canvas{display:block;width:100%;height:clamp(230px,32vw,395px);touch-action:none;cursor:grab}.brain-stage-3d canvas:active{cursor:grabbing}
.brain-stage-3d>.caption{margin:9px 12px;padding-bottom:9px;color:#c5afd7}
.view-controls{display:flex;justify-content:center;gap:5px;margin-top:-7px;position:relative}
.view-controls button{background:#281c3c;color:#ebdafa;border:1px solid #674a7d;border-radius:7px;min-height:34px;padding:5px 9px;font-size:.83rem}
.site-footer{display:grid;grid-template-columns:1fr 1fr 1fr;gap:25px;padding:28px 0;margin-top:38px}
.site-footer .brand{width:max-content;margin-bottom:9px}
.site-footer p{color:var(--muted);font-weight:400}
.site-footer nav{display:grid;gap:8px;align-content:start}
html[data-theme=light]{--bg:#f4eff9;--side:#f9f4ff;--panel:#fff;--panel2:#eee5f8;--line:#d7c9e4;--line2:#bfb0d2;--fg:#22162d;--text:#3e324d;--muted:#5c4a6e;--accent:#653f93;--cyan:#7547a2;--violet:#6d3c9b}
html[data-theme=light] body{background:var(--bg)}
html[data-theme=light] .site-header{background:#f7f0fc;border-color:#dacde9}
html[data-theme=light] .primary-nav a,html[data-theme=light] .profile-link{color:#3a234e}
html[data-theme=light] .profile-link,html[data-theme=light] .site-header .search-button,html[data-theme=light] .site-header .lang{background:#ecdef8;border-color:#c8b3dc;color:#482a60}
html[data-theme=light] .feature-icon,html[data-theme=light] .brand .brand-icon{color:#d7baff}.feature-copy .feature-icon{background:#302043}
html[data-theme=light] .daily-feature p{color:#ded3e6}
html[data-theme=light] .daily-feature .button{background:#302043;color:#f5edf9;border-color:#775d89}
@media(max-width:1100px){
 .site-header-inner{gap:14px}.primary-nav{gap:15px}.top-controls{gap:6px}
 .immersive h1{font-size:clamp(4.2rem,8.2vw,6.5rem)}.hero.immersive{min-height:512px}
 .site-header .brand small{display:none}
}
@media(max-width:930px){
 .site-header-inner{height:63px;gap:8px;justify-content:flex-start}
 .site-header .mobile-menu{display:inline-flex;flex:none}
 .top-controls{margin-left:auto}
 .site-header .primary-nav{display:none}
 .nav-drawer.is-open{display:flex}
 .content.home{padding-top:24px}
 .hero.immersive{min-height:480px}
 .home-topics .link-grid{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:680px){
 .content,.content.home{padding:16px 12px 19px}
 .site-header-inner{padding:0 9px;height:58px;gap:7px}
 .site-header .brand{font-size:.88rem;gap:6px;letter-spacing:.055em}
 .site-header .brand .brand-icon{display:none}
 .site-header .profile-link{padding:6px;min-height:34px}
 .site-header .profile-link span{display:none}
 .site-header .search-button{min-width:34px;min-height:34px;padding:5px}
 .locale-links a{padding:4px 5px;font-size:.72rem}
 .hero.immersive{min-height:520px;display:block;border-radius:17px}
 .hero-art{left:0;right:0;top:0;height:57%;bottom:auto}
 .hero-art img{object-position:51% 48%}
 .hero-art:after{background:linear-gradient(0deg,#0f0a18 0%,#0f0a1890 22%,transparent 56%)}
 .hero-plate{background:linear-gradient(145deg,#43236714,transparent)}
 .orbit-one{right:0;top:12%;width:87%;height:23%}.orbit-two{top:9%;width:82%;height:25%}
 .orbit-cross{opacity:.24}
 .hero.immersive .hero-copy{width:100%;padding:233px 16px 19px}
 .immersive .hero-kicker{font-size:.59rem;margin-bottom:10px;letter-spacing:.115em}
 .immersive h1{font-size:clamp(3.42rem,13vw,5.3rem);margin-bottom:12px}
 .immersive .hero-lede{font-size:.94rem;margin-bottom:16px;max-width:38ch}
 .immersive .button{min-height:40px;padding:8px 10px}
 .specimen-label{right:12px;top:12px;bottom:auto;padding:7px;gap:7px;border-radius:9px}
 .specimen-label .specimen-icon{height:29px;width:29px}
 .specimen-label strong{font-size:.74rem}.specimen-label small{font-size:.66rem}
 .lab-index{grid-template-columns:repeat(2,minmax(0,1fr));padding:13px 0;gap:9px}
 .lab-index>a{justify-self:start;margin-left:2px;grid-column:span 2}
 .lab-index>div{padding-left:4px}
 .lab-section{margin-top:25px}
 .title-link{font-size:.78rem}
 .feature-grid{grid-template-columns:1fr;gap:9px}
 .feature{min-height:148px}
 .feature-copy{padding:14px}
 .feature-art{right:13px;width:35%;height:99px}
 .feature-signal .feature-art{width:47%;height:62px;top:13px}
 .feature-experiment .feature-art{height:78px}
 .home-study,.account-grid{grid-template-columns:1fr;gap:12px}
 .home-study{margin-top:16px}
 .home-topics .link-grid{grid-template-columns:1fr}
 .site-footer{grid-template-columns:1fr 1fr;gap:16px}
 .site-footer>div{grid-column:span 2}
 .page-heading h1{font-size:clamp(2.5rem,10vw,3.65rem)}
}
@media(max-width:350px){.site-header .profile-link{display:none}.site-header .brand{font-size:.8rem}.site-header .lang button{padding-inline:4px}.site-header-inner{gap:6px}.site-header .top-controls{gap:4px}}
.feature-copy{position:static}
.map-stage>div{min-width:0}
@media(max-width:440px){
 .explorer .tool-row [aria-label="Anatomical view"]{flex:1 1 100%;max-width:100%}
 .explorer .tool-row [aria-label="Anatomical view"] button{flex:1;min-width:0;white-space:normal;padding-inline:4px;font-size:.77rem}
}
