/* The blog's pages (server/blog.js): the landing page's colors and type, a reading column, no script. */
/* The fonts, served from web/fonts (licence: web/fonts/OFL.txt), so no other host can hold up the first paint.
   The same @font-face lines are in styles.css, landing.html, blog.css and legal.css (server/test/fonts.test.js checks they match). */
@font-face{font-family:'Bricolage Grotesque';font-style:normal;font-weight:400 800;font-stretch:100%;font-display:swap;src:url(/fonts/bricolage-grotesque-v9-vietnamese.woff2) format('woff2');unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}
@font-face{font-family:'Bricolage Grotesque';font-style:normal;font-weight:400 800;font-stretch:100%;font-display:swap;src:url(/fonts/bricolage-grotesque-v9-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Bricolage Grotesque';font-style:normal;font-weight:400 800;font-stretch:100%;font-display:swap;src:url(/fonts/bricolage-grotesque-v9-latin.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Inter';font-style:normal;font-weight:400 700;font-display:swap;src:url(/fonts/inter-v20-cyrillic-ext.woff2) format('woff2');unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}
@font-face{font-family:'Inter';font-style:normal;font-weight:400 700;font-display:swap;src:url(/fonts/inter-v20-cyrillic.woff2) format('woff2');unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:'Inter';font-style:normal;font-weight:400 700;font-display:swap;src:url(/fonts/inter-v20-greek-ext.woff2) format('woff2');unicode-range:U+1F00-1FFF}
@font-face{font-family:'Inter';font-style:normal;font-weight:400 700;font-display:swap;src:url(/fonts/inter-v20-greek.woff2) format('woff2');unicode-range:U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF}
@font-face{font-family:'Inter';font-style:normal;font-weight:400 700;font-display:swap;src:url(/fonts/inter-v20-vietnamese.woff2) format('woff2');unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}
@font-face{font-family:'Inter';font-style:normal;font-weight:400 700;font-display:swap;src:url(/fonts/inter-v20-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Inter';font-style:normal;font-weight:400 700;font-display:swap;src:url(/fonts/inter-v20-latin.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
:root{
  color-scheme:dark;
  --ink:#120A0F;--surface:#1D1218;--surface2:#2A1A22;--line:rgba(255,226,236,.10);
  --text:#F7EEF1;--soft:#E2D4D9;--muted:#A8919B;--coral:#FF5E5B;--peach:#FFB199;--lilac:#D9CCFF;
  --holo:linear-gradient(120deg,#C8B6FF 0%,#9EF0E1 40%,#FFD3A8 75%,#FF9EC4 100%);
  --display:'Bricolage Grotesque','Avenir Next',system-ui,sans-serif;
  --body:'Inter',system-ui,-apple-system,sans-serif;
  --pad:clamp(16px,5vw,32px);
}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;text-size-adjust:100%}
body{margin:0;background:var(--ink);color:var(--text);font:17px/1.7 var(--body);-webkit-font-smoothing:antialiased;overflow-wrap:break-word}
a{color:var(--peach);text-underline-offset:3px}
:focus-visible{outline:2px solid var(--peach);outline-offset:2px}
.holo{background:var(--holo);-webkit-background-clip:text;background-clip:text;color:transparent}

/* top bar and footer: as wide as the landing's */
.bar{max-width:1120px;margin:0 auto;padding:0 var(--pad);display:flex;align-items:center;justify-content:space-between;gap:12px}
.top{position:sticky;top:0;z-index:5;background:rgba(18,10,15,.86);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);border-bottom:1px solid var(--line)}
.top .bar{height:60px}
.logo{display:flex;align-items:center;gap:10px;flex:none;font:800 19px/1 var(--display);letter-spacing:-.02em;color:var(--text);text-decoration:none}
.logo i{width:22px;height:22px;border-radius:50%;background:radial-gradient(circle at 35% 35%,#C8B6FF,#9EF0E1 45%,transparent 70%);box-shadow:10px 0 0 -2px rgba(255,94,91,.75)}
.top nav{display:flex;align-items:center;gap:18px;font-size:14px}
.top nav a:not(.btn){color:var(--muted);text-decoration:none}
.top nav a:not(.btn):hover{color:var(--text)}
@media (max-width:379px){.top .hide-xs{display:none}}
.btn{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:0 22px;border-radius:14px;background:var(--coral);color:#fff;font:700 16px/1 var(--body);text-decoration:none;white-space:nowrap;transition:filter .15s,transform .15s}
.btn:hover{filter:brightness(1.06)}
.btn:active{transform:scale(.98)}
.btn.small{min-height:38px;padding:0 14px;border-radius:11px;font-size:14px}
footer{border-top:1px solid var(--line);margin-top:72px;padding:28px 0 calc(28px + env(safe-area-inset-bottom));color:var(--muted);font-size:14px}
footer .bar{flex-wrap:wrap;gap:12px 16px}
footer nav{display:flex;flex-wrap:wrap;gap:6px 18px}
footer a{color:var(--muted);text-decoration:none}
footer a:hover{color:var(--text)}

/* the reading column */
.wrap{max-width:720px;margin:0 auto;padding:40px var(--pad) 0}
h1{font:800 clamp(34px,8.5vw,54px)/1.02 var(--display);letter-spacing:-.035em;margin:0 0 14px;text-wrap:balance}
.kicker{font:600 13px/1 var(--body);letter-spacing:.04em;color:var(--lilac);margin:0 0 14px}
.kicker a{color:inherit;text-decoration:none}
.kicker a:hover{text-decoration:underline}
.byline{color:var(--muted);font-size:14px;margin:0 0 32px}
.lede{color:var(--soft);font-size:18px;line-height:1.55;margin:0 0 32px;max-width:34em}

/* a post's text */
.post h2{font:800 clamp(24px,5.6vw,30px)/1.12 var(--display);letter-spacing:-.025em;margin:44px 0 12px;text-wrap:balance}
.post h3{font:700 20px/1.25 var(--display);letter-spacing:-.01em;margin:32px 0 8px}
.post p{color:var(--soft);margin:0 0 18px}
.post ul,.post ol{color:var(--soft);margin:0 0 18px;padding-left:22px}
.post li{margin:8px 0;padding-left:4px}
.post li::marker{color:var(--peach)}
.post strong{color:var(--text);font-weight:700}
.post a{color:var(--peach)}

/* get early access */
.cta{margin:48px 0 0;padding:24px;border:1px solid var(--line);border-radius:22px;background:radial-gradient(120% 90% at 15% 0%,rgba(255,158,196,.16),transparent 60%),var(--surface)}
.cta-line{font:800 clamp(24px,6vw,30px)/1.08 var(--display);letter-spacing:-.025em;color:var(--text);margin:0 0 18px;text-wrap:balance}
.cta .btn{width:100%;max-width:320px}
.fine{color:var(--muted);font-size:14px;line-height:1.5;margin:12px 0 0}

/* lists of posts: /blog, and "More from the blog" under a post */
.posts{list-style:none;margin:0;padding:0;display:grid;gap:12px}
.posts a{display:block;padding:20px;border:1px solid var(--line);border-radius:20px;background:var(--surface);color:var(--text);text-decoration:none;transition:border-color .15s}
.posts a:hover{border-color:rgba(255,177,153,.45)}
.posts time{display:block;font-size:13px;line-height:1.3;color:var(--muted)}
.posts h2{font:800 22px/1.15 var(--display);letter-spacing:-.02em;margin:8px 0;text-wrap:balance}
.posts p{margin:0;color:var(--soft);font-size:15.5px;line-height:1.55}
.more{margin-top:56px}
.more .kicker{margin-bottom:16px}

/* 404 */
.gone{padding-top:72px}
.gone .lede{margin-bottom:28px}

@media (prefers-reduced-motion:reduce){*{transition:none!important}}
