/* Static pages (grass-credits.html, 404.html): same tokens and components as the app (layerdex-ui.css, loaded first),
   on a still of the meadow. No dark page, no dark bar: the scene photo sits behind light glass like the live site. */
*,*::before,*::after{box-sizing:border-box}
html{background:#f2c9a8;color-scheme:light}
body.static-page{margin:0;min-height:100dvh;color:var(--t1);font:400 15px/22px var(--font);letter-spacing:-.011em;-webkit-font-smoothing:antialiased}
body.static-page::before{content:"";position:fixed;inset:0;z-index:-1;background:#9db86a url(assets/brand/meadow.jpg) center 62%/cover no-repeat}
@media (max-aspect-ratio:3/4){body.static-page::before{background-image:url(assets/brand/meadow-phone.jpg);background-position:center 70%}}
.static-site{display:flex;flex-direction:column;min-height:100dvh}
.static-main{flex:1 0 auto;width:100%;max-width:1440px;margin:0 auto;padding:0 48px 24px}
.static-page a{color:inherit}
.static-page .btn{text-decoration:none}
.static-back{height:40px;padding:0 16px 0 12px;gap:8px;font:620 14px/20px var(--font)}
.static-header .ld-actions:empty{display:block}
.static-page .lx-page-head{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin:0 0 26px;padding:30px 0 0}
.static-page .lx-page-head > div{position:relative;isolation:isolate;max-width:720px}
.static-page .lx-page-head > div::before{content:"";position:absolute;inset:-40px -90px -40px -60px;z-index:-1;pointer-events:none;background:radial-gradient(closest-side,var(--scrim-hero),var(--scrim-hero-2) 58%,transparent);filter:blur(10px)}
.static-page .lx-title{margin:0;font:760 52px/56px var(--font-display);letter-spacing:-.035em;color:var(--scene-ink)}
.static-page .lx-subtitle{margin:10px 0 0;max-width:58ch;font:540 17px/26px var(--font);letter-spacing:-.014em;color:var(--scene-ink)}
.static-page .h-card{margin:0 0 4px}
.credits-grid{align-items:start}
.credits-col{display:flex;flex-direction:column;gap:20px;min-width:0}
.credit a.chip{text-decoration:none}
.credit a.chip:hover{filter:brightness(.97)}
.credit .tlink{display:inline;font-weight:560}
.credit-note{margin:6px 0 4px}
.ctable{margin-top:12px}
.ctable > div > span{min-width:0;overflow-wrap:anywhere}
.ctable .tlink{font-size:12.5px;font-weight:560;color:var(--t1)}
.ctable > div:not(.ch) > span:nth-child(2){color:var(--t1);font-weight:560}
.ctable > div:not(.ch) > span:nth-child(3){color:var(--t3)}
.static-nf{min-height:calc(100dvh - 220px);justify-content:center;padding:24px 0 40px}
.static-nf .nf-text{position:relative;isolation:isolate}
.static-nf .nf-text::before{content:"";position:absolute;inset:-30px -80px;z-index:-1;pointer-events:none;background:radial-gradient(closest-side,var(--scrim-hero),var(--scrim-hero-2) 60%,transparent);filter:blur(12px)}
.static-nf .nf-h{max-width:20ch;margin:6px auto 0;text-wrap:balance}
.static-nf .nf-card{width:min(460px,100%)}
.nf-lead{margin:0;font:450 15px/22px var(--font);color:var(--t2);text-wrap:balance}
.nf-actions{display:flex;flex-wrap:wrap;justify-content:center;gap:10px;margin-top:16px}
.static-page .lx-footer.ld-footer{position:relative;z-index:3;display:flex;justify-content:center;width:100%;margin:24px 0 0;padding:0 16px 24px}
.static-page .ld-footer a{text-decoration:none}
.static-page .ld-footer .lx-ui-icon{width:14px;height:14px;flex:none}
.static-page .lx-brand-logo{display:block;height:24px;width:auto;filter:drop-shadow(0 1px 3px rgba(0,0,0,.55))}
.static-page :is(a,button,summary):focus-visible{outline:none;box-shadow:var(--focus)}
@media (max-width:1080px){.static-main{padding:0 24px 24px}}
@media (max-width:900px){.credits-grid{grid-template-columns:minmax(0,1fr)}}
@media (max-width:560px){
  .static-main{padding:0 16px 16px}
  .static-page .lx-brand-logo{height:19px}
  .static-page .lx-page-head{padding-top:18px;margin-bottom:20px}
  .static-page .lx-page-head > div::before{inset:-24px -16px}
  .static-page .lx-title{font-size:34px;line-height:38px;letter-spacing:-.03em}
  .static-page .lx-subtitle{font-size:15.5px;line-height:23px}
  .static-page .card.pad{padding:20px 16px}
  .static-back{padding:0 14px 0 10px}
  .static-nf{min-height:0;padding-top:28px}
  .static-nf .nf-h{font-size:26px;line-height:32px}
  .nf-actions .btn{flex:1 1 100%}
}
html,body.static-page{overflow-x:clip}
.static-header.no-nav{grid-template-columns:1fr auto}
.static-nf .nf-h{max-width:28ch}
@media (max-width:560px){.static-header.no-nav{grid-template-rows:56px;padding-bottom:8px}.static-nf .nf-h{max-width:20ch}}
/* the 404 sits on the sky like the in-app one (the cat stays visible below the card) */
.static-nf{min-height:0;justify-content:flex-start;padding-top:min(9vh,80px)}
.static-nf .nf-text::before{background:radial-gradient(closest-side,rgb(255 255 255/.7),rgb(255 255 255/.3) 60%,transparent)}
/* Scene text keeps the halo so it passes contrast over the meadow photo (fix round 1). */
.static-page :is(.lx-title,.lx-subtitle),.static-nf .nf-h{text-shadow:var(--scene-halo)}
