/* ==========================================================================
   Luma Biotec · secondary pages (privacy notice, page not found).
   Loaded after site.css, only by those pages. Uses the same tokens and type.
   ========================================================================== */

/* Header: light and always solid, no section menu */
html header.sub{position:sticky;top:0;color:var(--ink);font-size:17px;letter-spacing:0}
header.sub::before{opacity:1}
header.sub .nav{gap:14px}
header.sub .back{margin-left:auto;font-size:14px;font-weight:500;letter-spacing:0;color:var(--ink);text-decoration:none;padding:10px 4px;white-space:nowrap}
header.sub .back:hover{color:var(--teal)}
header.sub .brand{margin-right:0;color:var(--ink)}
header.sub .lang{order:0}
header.sub .lang a[aria-current]{background:var(--teal);color:var(--white)}

/* Privacy notice */
.legal{padding:clamp(56px,8vw,120px) 0 clamp(72px,9vw,140px)}
.legal .wrap{display:block}
.legal .col{max-width:44em}
.legal .eyebrow{margin-bottom:22px}
.legal h1{font-size:clamp(36px,4.4vw,64px);line-height:1.04;letter-spacing:-.032em;color:var(--ink)}
.legal .lede{margin:28px 0 0;font-size:clamp(19px,1.5vw,22px);line-height:1.5;letter-spacing:-.01em;color:var(--ink)}
.legal .updated{margin:18px 0 0;font-size:14px;color:var(--slate)}
.legal section{margin-top:clamp(36px,4vw,52px);padding:clamp(26px,2.6vw,34px) 0 0;border-top:1px solid var(--line)}
.legal h2{font-size:clamp(22px,1.9vw,28px);line-height:1.2;letter-spacing:-.018em;margin:0 0 14px}
.legal p{margin:0 0 14px;color:var(--slate)}
.legal p:last-child{margin-bottom:0}
.legal ul{margin:0 0 14px;padding:0;list-style:none}
.legal li{position:relative;padding-left:22px;margin:0 0 8px;color:var(--slate)}
.legal li::before{content:"";position:absolute;left:0;top:.78em;width:10px;height:1px;background:var(--teal)}
.legal strong{font-weight:500;color:var(--ink)}
.legal .actions{margin-top:clamp(40px,4.4vw,60px)}

/* Page not found */
body.nf{min-height:100vh;min-height:100svh;display:flex;background:var(--abyss);color:var(--pale)}
.nf main{position:relative;isolation:isolate;flex:1;display:flex;align-items:center;overflow:hidden;padding:clamp(48px,8vw,96px) 0}
.nf main::before{content:"";position:absolute;inset:0;z-index:-2;background:radial-gradient(120% 90% at 78% 30%,rgba(6,150,183,.22),rgba(3,20,26,0) 62%)}
/* the brand element is the same animated symbol as the home page hero; site.css places and sizes it (.hero-mark) */
.nf .hero-mark{z-index:-1;transform:translateY(-50%)}
.nf .wrap{display:block;width:100%}
.nf .brand{display:inline-flex;color:var(--white);margin-bottom:clamp(48px,8vh,96px)}
.nf .brand svg{height:30px;width:auto}
.nf .eyebrow{color:var(--ice);margin-bottom:22px}
.nf h1{font-size:clamp(38px,5vw,76px);line-height:1.02;letter-spacing:-.034em;color:var(--white);max-width:12em}
.nf p{margin:22px 0 0;max-width:30em;font-size:clamp(17px,1.35vw,20px);line-height:1.5;color:var(--pale)}
.nf .en{margin-top:10px;font-size:16px;opacity:.78}
.nf .actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:clamp(32px,4vw,48px)}

@media (max-width:720px){
  header.sub .back{display:none}
  header.sub .lang{margin-left:auto}
  .nf .actions .btn{width:100%}
}
