/* MalGuard Research 2026 / editorial landing. Static and motion-free. */
:root{color-scheme:dark;--bg:#05080e;--panel:#080b12;--border:#303845;--text:#f6f7fb;--muted:#b0bacb;--blue:#2f6bff}
*{box-sizing:border-box}html{scroll-behavior:auto}body{margin:0;background:var(--bg);color:var(--text);font-family:Inter,"Helvetica Neue",Arial,system-ui,sans-serif;-webkit-font-smoothing:antialiased}a{color:inherit;text-decoration:none}a:focus-visible{outline:3px solid #9ac1ff;outline-offset:5px}.home-wrap{width:min(100% - 72px,1360px);margin:auto}
.research-header{height:92px;display:flex;align-items:center;justify-content:space-between;gap:25px;position:relative;z-index:2}
.research-brand{display:inline-flex;align-items:center;gap:12px;white-space:nowrap;font-size:24px;font-weight:750;letter-spacing:-.05em}.research-brand img{width:45px;height:45px}.research-brand .brand-divider{width:1px;height:32px;background:#546071;margin:0 11px}.research-brand .brand-suffix{font-size:17px;letter-spacing:0;font-weight:400}
.research-nav{display:flex;align-items:center;gap:35px;font-size:14px;font-weight:550}.research-nav a:hover{text-decoration:underline;text-underline-offset:6px}
.nav-actions{display:flex;gap:12px;align-items:center}.nav-contact{background:#fff;color:#0a0d14;border:1px solid #fff;border-radius:13px;padding:12px 23px;font-weight:700;font-size:13px}.nav-contact:hover{background:#dbe6ff}.nav-source{border:1px solid #39475c;border-radius:12px;padding:11px 16px;font-size:13px;font-weight:600}.nav-source:hover{background:#15233c}
.hero-sky{position:relative;isolation:isolate;overflow:hidden;background:radial-gradient(ellipse 42% 65% at 52% 7%,rgba(15,57,152,.78),transparent 100%),radial-gradient(ellipse 70% 70% at 55% 45%,rgba(8,31,82,.85),transparent 75%),linear-gradient(90deg,#05080d 0%,#061026 45%,#071a43 63%,#04070d 100%);min-height:660px}
.hero-sky::before{content:"";position:absolute;inset:0;z-index:-1;opacity:.65;background:linear-gradient(90deg,transparent 16%,rgba(31,86,202,.08) 26%,transparent 33%,rgba(28,76,165,.08) 48%,transparent 54%,rgba(21,85,223,.1) 66%,transparent 79%),radial-gradient(ellipse 48% 58% at 50% 45%,rgba(17,59,149,.24),transparent 95%)}
.hero-sky::after{content:"";position:absolute;z-index:-1;left:-22%;right:-22%;bottom:-395px;height:560px;border-radius:50%;border-top:2px solid rgba(66,153,255,.85);box-shadow:0 -12px 45px rgba(23,105,255,.32),0 -28px 110px rgba(19,93,215,.22),inset 0 15px 50px rgba(28,97,205,.11);background:radial-gradient(ellipse 60% 36% at 50% 0%,rgba(22,100,221,.19),transparent 80%),repeating-radial-gradient(ellipse at 50% -80%,transparent 0 24px,rgba(67,139,248,.065) 25px 26px,transparent 27px 48px)}
.hero-content{padding:48px 0 140px;text-align:center;max-width:1020px;margin:auto}
.hero-eyebrow{font-size:12px;letter-spacing:.27em;font-weight:650;color:#d3dff7;margin:0 0 26px}
.hero-title{font-size:clamp(51px,6.6vw,89px);font-weight:740;line-height:1.04;letter-spacing:-.055em;margin:0 auto 23px;max-width:990px;text-wrap:balance}
.hero-title span{display:block}.hero-lead{font-size:clamp(15px,1.55vw,19px);line-height:1.65;color:#c0cbdf;max-width:700px;margin:0 auto 26px}
.hero-actions{display:flex;align-items:center;justify-content:center;gap:15px;flex-wrap:wrap}.action{display:inline-flex;justify-content:center;align-items:center;gap:20px;border-radius:12px;padding:15px 26px;font-size:15px;font-weight:700;min-height:52px;border:1px solid #52637c}.action.primary{background:#fff;color:#0b0d14;border-color:#fff}.action.primary:hover{background:#dce8ff}.action.secondary{background:rgba(15,30,57,.75);color:#fff}.action.secondary:hover{background:#1a3359}
.content-region{position:relative;margin-top:-104px;padding-bottom:72px;z-index:1;background:linear-gradient(to bottom,transparent 0 105px,#05080e 105px 100%)}
.featured{display:grid;grid-template-columns:1fr .98fr;gap:35px;align-items:stretch;background:rgba(5,8,15,.96);border:1px solid #3b4658;border-radius:17px;padding:26px 25px 26px 34px;box-shadow:0 20px 70px rgba(0,0,0,.26)}
.featured-copy{padding:16px 0 12px}.label-blue{display:inline-flex;padding:7px 11px;background:#123c99;border-radius:5px;color:#fff;font-size:11px;font-weight:700}.featured h2{font-size:clamp(28px,2.6vw,38px);line-height:1.16;letter-spacing:-.035em;margin:20px 0 17px;font-weight:700}.featured p{font-size:15px;line-height:1.7;color:#b2bccb;max-width:550px;margin:0 0 27px}.feature-links{display:flex;align-items:center;gap:17px;flex-wrap:wrap;font-size:12px}.feature-links a{color:#d5dbea;text-decoration:underline;text-underline-offset:4px}.feature-links a:first-child{background:#fff;color:#0a0c10;padding:11px 17px;border-radius:9px;font-weight:750;text-decoration:none}.feature-links a:first-child:hover{background:#dce8ff}.feature-links .link-separator{width:1px;height:22px;background:#536070}
.paper-stage{display:grid;place-items:center;min-height:345px;padding:28px;background:linear-gradient(145deg,#141820,#0b0f16);border:1px solid #313744;border-radius:12px;overflow:hidden}
.book{position:relative;display:flex;width:min(100%,420px);height:265px;filter:drop-shadow(10px 18px 13px rgba(0,0,0,.58));transform:perspective(1000px) rotateX(5deg)}
.book-page{position:relative;flex:1;background:#f4f4f1;color:#1c1c1c;padding:20px 16px;border:1px solid #a5a5a2;overflow:hidden}.book-page.left{border-radius:3px 0 0 4px;box-shadow:inset -12px 0 16px -15px #111;transform:skewY(-1deg)}.book-page.right{border-radius:0 4px 4px 0;box-shadow:inset 12px 0 16px -15px #111;transform:skewY(1deg)}.book::after{content:"";position:absolute;top:0;bottom:0;left:50%;width:2px;background:#aaa;box-shadow:0 0 9px #555}
.paper-title{display:block;font-family:Georgia,serif;text-align:center;font-size:9px;line-height:1.3;font-weight:700;margin-bottom:12px}.paper-sub{display:block;font-family:Georgia,serif;text-align:center;font-size:5px;color:#555;margin-bottom:14px}.paper-heading{display:block;font-family:Georgia,serif;font-weight:bold;font-size:7px;margin:12px 0 7px}.paper-lines{display:block;height:70px;background:repeating-linear-gradient(to bottom,#555 0 1px,transparent 1px 6px);opacity:.5}.paper-lines.short{height:42px}.paper-columns{display:grid;grid-template-columns:1fr 1fr;gap:9px}.paper-columns .paper-lines{height:94px}.paper-rule{display:block;border-top:1px solid #555;margin:10px 0}
.section-head{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:77px 0 25px}.section-head h2{font-size:28px;letter-spacing:-.03em;margin:0}.section-head span{color:#9faabc;font-size:12px}
.papers-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:19px}.paper-card{display:flex;flex-direction:column;padding:27px;background:#0b101a;border:1px solid #313b4d;border-radius:13px;min-height:315px}.paper-card:hover{border-color:#7397d3}.paper-card small{color:#9fbfff;letter-spacing:.1em;font-size:10px;font-weight:700}.paper-card h3{font-size:22px;line-height:1.3;letter-spacing:-.025em;margin:19px 0 12px}.paper-card p{font-size:13px;line-height:1.8;color:#aeb8c8;margin:0 0 20px}.paper-card a{margin-top:auto;display:inline-flex;align-items:center;justify-content:space-between;gap:10px;border:1px solid #58687f;border-radius:8px;padding:10px 13px;font-size:12px;font-weight:700;background:#141f30}.paper-card a:hover{background:#213452}
.research-note{display:flex;justify-content:space-between;align-items:center;gap:30px;border:1px solid #313b4d;border-radius:13px;padding:29px 34px;margin:52px 0 70px;background:#0a0e16}.research-note h2{font-size:21px;margin:0 0 8px}.research-note p{color:#abb6c6;font-size:13px;line-height:1.7;max-width:730px;margin:0}.research-note a{flex-shrink:0;border:1px solid #5e6c80;border-radius:9px;padding:12px 18px;font-size:12px;font-weight:700}
.home-footer{border-top:1px solid #263040;padding:30px 0 50px;display:flex;justify-content:space-between;gap:20px;color:#9da8bb;font-size:12px}.home-footer a{text-decoration:underline}
@media(max-width:1050px){.research-nav{gap:16px}.featured{gap:20px}.paper-stage{min-height:290px}.book{height:225px}.featured h2{font-size:29px}.hero-content{padding-bottom:130px}}
@media(max-width:760px){.home-wrap{width:min(100% - 36px,1360px)}.research-header{height:auto;min-height:80px;flex-wrap:wrap;padding:16px 0;gap:14px}.research-brand{font-size:20px}.research-brand img{width:38px;height:38px}.research-brand .brand-suffix{font-size:15px}.research-nav{order:3;width:100%;gap:18px;overflow-x:auto;padding-bottom:6px;font-size:12px}.nav-actions{margin-left:auto}.nav-contact{padding:9px 12px}.nav-source{display:none}.hero-sky{min-height:620px}.hero-content{padding:54px 0 130px}.hero-title{font-size:clamp(43px,9.4vw,67px)}.hero-lead{font-size:16px}.hero-sky::after{bottom:-440px}.content-region{margin-top:-70px}.featured{grid-template-columns:1fr;padding:22px;gap:22px}.featured-copy{padding:5px 0}.paper-stage{min-height:260px}.book{height:210px;max-width:330px}.papers-grid{grid-template-columns:1fr}.paper-card{min-height:0}.research-note{align-items:flex-start;flex-direction:column;padding:24px}.home-footer{flex-direction:column}.section-head{margin-top:52px}}
@media(max-width:420px){.research-brand{font-size:18px}.research-brand .brand-divider{margin:0 2px}.research-brand .brand-suffix{font-size:13px}.nav-contact{font-size:11px}.hero-title{font-size:42px}.hero-eyebrow{font-size:10px}.hero-actions .action{width:100%}.feature-links{gap:10px}.paper-stage{padding:15px}.book{height:190px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}

/* Unified editorial pages: identical header, palette and buttons to home */
.detail-page{background:#05080e;color:#f6f7fb;min-height:100vh}
.detail-page .detail-hero{position:relative;overflow:hidden;background:radial-gradient(ellipse 50% 90% at 52% 0%,rgba(20,64,157,.65),transparent 90%),linear-gradient(115deg,#05080e,#081b43 57%,#05080e);border-bottom:1px solid #27374f}
.detail-page .detail-hero .home-wrap{padding-bottom:60px}
.detail-page .detail-eyebrow{display:inline-block;color:#adc6f8;font-size:11px;letter-spacing:.19em;font-weight:750;text-transform:uppercase;margin:65px 0 18px}
.detail-page .detail-eyebrow a{text-decoration:underline;text-underline-offset:4px}
.detail-page .detail-title{font-size:clamp(40px,5.6vw,74px);letter-spacing:-.05em;line-height:1.09;font-weight:730;max-width:960px;margin:0 0 25px;text-wrap:balance}
.detail-page .detail-lead{font-size:clamp(17px,1.7vw,21px);line-height:1.72;color:#c3cee1;max-width:810px;margin:0}
.detail-content{width:min(100% - 72px,990px);margin:0 auto;padding:48px 0 95px}
.detail-card{background:#0b101a;border:1px solid #354156;border-radius:17px;padding:48px 56px;box-shadow:0 20px 50px rgba(0,0,0,.15)}
.detail-card section+section{border-top:1px solid #303b4e;margin-top:37px;padding-top:22px}
.detail-card h2{font-size:clamp(23px,2.7vw,31px);line-height:1.28;letter-spacing:-.035em;margin:0 0 14px;font-weight:700}
.detail-card p{font-size:17px;line-height:1.9;color:#c3cedc;margin:0 0 19px}
.detail-card p:last-child{margin-bottom:0}
.detail-card a{color:#d8e6ff;text-decoration:underline;text-underline-offset:4px}
.detail-card .warning{border:1px solid #3b547b;border-left:4px solid #5e95ff;border-radius:9px;background:#111d31;color:#d8e3f6;padding:17px 20px;margin:0 0 34px;font-size:13px;line-height:1.8}
.detail-links{display:flex;gap:12px;flex-wrap:wrap;margin-top:42px;padding-top:26px;border-top:1px solid #354156}
.detail-links a,.detail-back{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:11px 18px;border:1px solid #64799a;border-radius:9px;color:#fff!important;text-decoration:none!important;font-size:13px;font-weight:700}
.detail-links a:first-child,.detail-back{background:#fff;border-color:#fff;color:#09101c!important}
.detail-links a:hover,.detail-back:hover{background:#dce8ff;color:#09101c!important}
.detail-404{min-height:55vh}
.detail-404 .detail-back{margin-top:28px}
@media(max-width:760px){.detail-page .detail-hero .home-wrap{padding-bottom:40px}.detail-page .detail-eyebrow{margin-top:37px}.detail-page .detail-title{font-size:clamp(40px,9vw,59px)}.detail-content{width:min(100% - 36px,990px);padding:28px 0 60px}.detail-card{padding:27px 22px;border-radius:13px}.detail-card p{font-size:16px}.detail-links{flex-direction:column;align-items:stretch}.detail-links a{width:100%}}
