/* Journal post pages. Colours and type follow index.html. */
:root{color-scheme:light;--ink:#17181b;--soft:#595b60;--pale:#ededeb;--y:#ffe600}
*{box-sizing:border-box}
body{margin:0;background:#fff;color:var(--ink);font:18px/1.6 'Familjen Grotesk',system-ui,sans-serif}
.post{max-width:760px;margin:auto;padding:24px clamp(18px,4vw,28px) 64px}
nav,footer{display:flex;justify-content:space-between;gap:24px;font-size:16px}
nav{margin-bottom:clamp(40px,8vw,88px)}
footer{border-top:1px solid #a9aaa8;margin-top:56px;padding-top:20px}
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}
.kicker{display:flex;align-items:center;gap:10px;color:var(--soft);font-size:16px;margin:0 0 14px}
.kicker::before{content:"";width:12px;height:12px;border-radius:50%;background:var(--y)}
h1{font-size:clamp(32px,5vw,52px);line-height:1.05;letter-spacing:-.03em;font-weight:500;margin:0 0 32px;text-wrap:balance}
h2{font-size:clamp(23px,3vw,30px);line-height:1.15;letter-spacing:-.02em;font-weight:500;margin:48px 0 14px}
.cover{display:block;width:100%;height:auto;border-radius:6px;background:var(--ink);margin-bottom:40px}
p,ul,ol{margin:0 0 18px}
ul,ol{padding-left:1.3em}
li{margin-bottom:8px}
code{font:.86em/1.4 ui-monospace,Consolas,monospace;background:var(--pale);border-radius:4px;padding:.12em .35em}
pre{background:var(--ink);color:#fff;border-radius:6px;padding:18px 20px;overflow-x:auto;margin:0 0 22px}
pre code{background:none;padding:0;font-size:14px;line-height:1.6}
/* a prompt readers copy into their own agent */
.prompt{position:relative;background:var(--pale);border-radius:6px;margin:0 0 22px;scroll-margin-top:24px}
.prompt pre{background:none;color:var(--ink);margin:0;padding:60px 20px 20px;white-space:pre-wrap}
.copy{position:absolute;top:12px;right:12px;font:inherit;font-size:15px;color:#fff;background:var(--ink);border:0;border-radius:99px;min-height:38px;padding:0 16px;cursor:pointer}
.copy:hover{background:#34363b}
.copy.done{background:var(--y);color:var(--ink)}
.copy:focus-visible{outline:2px solid var(--ink);outline-offset:3px}
/* navigation */
nav span{display:flex;gap:20px}
.kicker a{text-decoration:none}
.kicker a:hover{text-decoration:underline}
/* the journal's list of posts */
.lede{font-size:clamp(19px,2.2vw,23px);line-height:1.35;color:var(--soft);margin:0 0 48px}
.entries{list-style:none;padding:0;margin:0}
.entries li{border-top:1px solid #a9aaa8;padding:24px 0 8px;margin:0}
.entries time{color:var(--soft);font-size:16px}
.entries h2{margin:6px 0 10px}
.entries h2 a{text-decoration:none}
.entries h2 a:hover{text-decoration:underline}
