@font-face{font-family:Geist; src:url("/assets/geist.woff2") format("woff2"); font-weight:100 900; font-display:swap}
/* Linen Labs: one quiet page. Tokens follow brand/BRAND.md; the artwork reads the --art-* ones. */
:root{
  --bg:#F3F4F5; --ink:#121419; --ink2:#5C6168; --line:#DCDFE3;
  --art-bg:#DADCE0; --art-ink:#121419; --art-thread:#9C978D; --art-gauze:#FFFFFF; --art-dark:0;
  --text:Geist, "Helvetica Neue", Arial, sans-serif; color-scheme:light;
}
@media (prefers-color-scheme: dark){ :root:not([data-theme="light"]){
  --bg:#0B0C0F; --ink:#DDD5C5; --ink2:#9B9890; --line:#25282D;
  --art-bg:#090A0D; --art-ink:#DDD5C5; --art-thread:#D8D1C3; --art-gauze:#CFC8BA; --art-dark:1; color-scheme:dark } }
:root[data-theme="dark"]{
  --bg:#0B0C0F; --ink:#DDD5C5; --ink2:#9B9890; --line:#25282D;
  --art-bg:#090A0D; --art-ink:#DDD5C5; --art-thread:#D8D1C3; --art-gauze:#CFC8BA; --art-dark:1; color-scheme:dark }
*{box-sizing:border-box}
[hidden]{display:none!important}
html,body{margin:0}
body{background:var(--bg); color:var(--ink); font:16px/1.65 var(--text); font-weight:350; -webkit-font-smoothing:antialiased}
a{color:inherit; text-underline-offset:3px; text-decoration-thickness:1px}
a:hover{text-decoration-thickness:2px}
a:focus-visible{outline:2px solid var(--ink); outline-offset:3px}
.wrap{max-width:1120px; margin:0 auto; padding-left:max(20px, env(safe-area-inset-left,0px)); padding-right:max(20px, env(safe-area-inset-right,0px))}
.sr-only{position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap}

/* home: the artwork fills the screen; the line sits under the name, the details along the bottom */
body.home{background:var(--art-bg)}
.art{position:relative; height:100vh; height:100svh; min-height:480px; overflow:hidden; touch-action:pan-y}
.art canvas{position:absolute; inset:0; width:100%; height:100%; display:block}
.art .fallback{position:absolute; inset:0; display:grid; place-items:center; padding:10%}
.art .fallback img{width:min(820px, 100%); height:auto}
.under{position:absolute; left:0; right:0; top:calc(50% + min(4.6vw, 8.5vh) + 26px); text-align:center; pointer-events:none; padding:0 20px}
.under p{margin:0}
.line{font-size:clamp(17px, 1.7vw, 21px); font-weight:300; letter-spacing:.005em}
.products li::marker{content:none}
.products{list-style:none; margin:18px 0 0; padding:0; display:flex; flex-direction:column; align-items:center; gap:6px; font-size:15px; color:var(--ink2); letter-spacing:.04em}
.products a{pointer-events:auto; text-decoration:none}
.products a:hover{text-decoration:underline}
.foot{position:absolute; left:0; right:0; bottom:0; padding-block:18px calc(18px + env(safe-area-inset-bottom,0px))}
.foot .wrap{display:flex; flex-wrap:wrap; justify-content:space-between; gap:8px 24px; font-size:13px; line-height:1.5; color:var(--ink2)}
.foot nav{display:flex; gap:18px; flex-wrap:wrap}
.foot nav a{text-decoration:none} .foot nav a:hover{text-decoration:underline}

/* policy pages */
.top{padding-block:28px; border-bottom:1px solid var(--line)}
.top a{display:inline-block} .top img{height:20px; width:auto; display:block}
.top .light-only{display:block} .top .dark-only{display:none}
@media (prefers-color-scheme: dark){ :root:not([data-theme="light"]) .top .light-only{display:none} :root:not([data-theme="light"]) .top .dark-only{display:block} }
:root[data-theme="dark"] .top .light-only{display:none} :root[data-theme="dark"] .top .dark-only{display:block}
article{max-width:680px; padding-block:56px 72px}
article h1{font-weight:300; font-size:clamp(30px, 4vw, 40px); line-height:1.15; letter-spacing:-.01em; margin:0 0 6px}
article .updated{color:var(--ink2); font-size:14px; margin:0 0 36px}
article h2{font-weight:450; font-size:18px; margin:36px 0 8px}
article p, article li{max-width:65ch}
article ul{padding-left:20px}
article table{border-collapse:collapse; width:100%; font-size:15px; margin:12px 0}
article th, article td{text-align:left; vertical-align:top; padding:10px 12px 10px 0; border-bottom:1px solid var(--line)}
article th{font-weight:450}
.page-foot{border-top:1px solid var(--line); padding-block:22px 32px; font-size:13px; color:var(--ink2)}
.page-foot .wrap{display:flex; flex-wrap:wrap; justify-content:space-between; gap:8px 24px}
.page-foot nav{display:flex; gap:18px; flex-wrap:wrap}
.page-foot nav a{text-decoration:none} .page-foot nav a:hover{text-decoration:underline}
@media (max-width:640px){ .foot .wrap, .page-foot .wrap{flex-direction:column} }
