@font-face{font-family:"Geist";src:url("/fonts/Geist-Regular.woff2") format("woff2");font-weight:400;font-display:swap}
@font-face{font-family:"Geist";src:url("/fonts/Geist-Medium.woff2") format("woff2");font-weight:500;font-display:swap}
@font-face{font-family:"Geist";src:url("/fonts/Geist-SemiBold.woff2") format("woff2");font-weight:600;font-display:swap}
@font-face{font-family:"Geist";src:url("/fonts/Geist-Black.woff2") format("woff2");font-weight:900;font-display:swap}
@font-face{font-family:"Geist Pixel";src:url("/fonts/GeistPixel-Square.woff2") format("woff2");font-display:swap}
@font-face{font-family:"Geist Mono";src:url("/fonts/GeistMono-Regular.woff2") format("woff2");font-display:swap}

/* Tokens, taken from his own banner and profile photo
   paper  #FFFFFF  white, like the banner
   ink    #111111
   hl     #E5E6EB  the box behind the bold words ("in public.")
   tile   #F4F4F6
   mute   #6B6B6B
   live   #30D158  only for "agent is running" dots */
:root{
  color-scheme: light only;
  --paper:#fff;--card:#fff;--ink:#111;--mute:#6B6B6B;--hair:#E3E3E6;--live:#30D158;--hl:#E5E6EB;--tile:#F4F4F6;
  --pixel:"Geist Pixel",ui-monospace,monospace;
  --pop:cubic-bezier(.34,1.56,.64,1);
  --lift:0 1px 0 rgba(0,0,0,.04),0 10px 24px -12px rgba(0,0,0,.28);
  /* stepped pixel corners instead of round ones, like the dither in his banner */
  --px:polygon(0 8px,4px 8px,4px 4px,8px 4px,8px 0,calc(100% - 8px) 0,calc(100% - 8px) 4px,calc(100% - 4px) 4px,calc(100% - 4px) 8px,100% 8px,100% calc(100% - 8px),calc(100% - 4px) calc(100% - 8px),calc(100% - 4px) calc(100% - 4px),calc(100% - 8px) calc(100% - 4px),calc(100% - 8px) 100%,8px 100%,8px calc(100% - 4px),4px calc(100% - 4px),4px calc(100% - 8px),0 calc(100% - 8px));
  --pxs:polygon(0 4px,4px 4px,4px 0,calc(100% - 4px) 0,calc(100% - 4px) 4px,100% 4px,100% calc(100% - 4px),calc(100% - 4px) calc(100% - 4px),calc(100% - 4px) 100%,4px 100%,4px calc(100% - 4px),0 calc(100% - 4px));
}
.px{clip-path:var(--px);border-radius:0!important}
.pxs{clip-path:var(--pxs);border-radius:0!important}
/* a 1px outline that follows the pixel corners */
.ol{filter:drop-shadow(1px 0 0 var(--line,#D9D9DE)) drop-shadow(-1px 0 0 var(--line,#D9D9DE)) drop-shadow(0 1px 0 var(--line,#D9D9DE)) drop-shadow(0 -1px 0 var(--line,#D9D9DE))}
*{box-sizing:border-box;margin:0;padding:0}
html{-webkit-text-size-adjust:100%;background:var(--paper);overflow-x:clip}
body{overflow-x:clip}
body{background:var(--paper);color:var(--ink);font-family:"Geist",-apple-system,system-ui,sans-serif;font-size:17px;line-height:1.55;-webkit-font-smoothing:antialiased}
a{color:inherit;text-decoration:none}
:focus-visible{outline:2px solid var(--ink);outline-offset:3px;border-radius:6px}
.wrap{max-width:600px;margin:0 auto;padding:22px 22px 48px}

/* top bar */
.top{display:flex;justify-content:space-between;align-items:center;font-family:var(--pixel);font-size:15px}
.top .mark{font-size:19px}
.top .when{color:var(--mute);display:flex;align-items:center;gap:8px}
.dot{width:8px;height:8px;border-radius:50%;background:var(--live);box-shadow:0 0 0 3px rgba(48,209,88,.18);display:inline-block}

/* display type */
h1,h2{font-weight:400;letter-spacing:-.025em;line-height:1.08}
h1{font-size:clamp(40px,11vw,64px)}
h2{font-size:clamp(30px,8vw,40px);margin-bottom:18px}
mark{background:var(--hl);color:inherit;font-weight:600;padding:0 .16em;box-decoration-break:clone;-webkit-box-decoration-break:clone}
.lead{font-size:19px;line-height:1.45;max-width:30ch}

/* forms: one bar with the email and the button inside, pixel corners */
form{display:grid;gap:8px}
.bar{--line:#CFCFD6}
.bar:focus-within{--line:#111}
.bar .in{display:flex;align-items:center;gap:6px;background:#fff;padding:6px}
input[type=email]{flex:1;min-width:0;font:inherit;font-size:17px;padding:12px 10px;border:0;background:transparent;color:var(--ink);outline:none;-webkit-appearance:none;border-radius:0}
input[type=email]::placeholder{color:#9A9A9A}
button,.btn{font-family:var(--pixel);font-weight:400;font-size:16px;letter-spacing:.01em;padding:14px 18px;border:0;background:var(--ink);color:#fff;cursor:pointer;text-align:center;display:block;-webkit-appearance:none;border-radius:0}
button:hover,.btn:hover{background:#333}
button:focus-visible,.btn:focus-visible{outline:none;background:#333;text-decoration:underline}
button:disabled{opacity:.55;cursor:default}
.btn{width:100%;padding:16px}
.fine{font-size:14px;color:var(--mute)}
.err{font-size:14px;color:#D70015;min-height:1em}

/* footer */
.foot{margin-top:72px;padding-top:18px;border-top:1px solid var(--hair);font-family:var(--pixel);font-size:14px;color:var(--mute);display:flex;justify-content:space-between;gap:12px}
.foot nav{display:flex;gap:18px}
.foot a{color:var(--ink)}

/* guide page */
.step{margin-top:72px}
.step .num{font-family:var(--pixel);font-size:15px;color:var(--mute);margin-bottom:10px}
.step p{margin:0 0 12px;color:#2B2B2B;max-width:60ch}
.code{position:relative;margin:20px 0 10px;background:#111;color:#EDEDED;clip-path:var(--px);padding:20px;font-family:"Geist Mono",ui-monospace,monospace;font-size:13.5px;line-height:1.65;box-shadow:var(--lift)}
.code .file{font-family:var(--pixel);font-size:13px;color:#8A8A8A}
.code .copy{position:absolute;top:12px;right:12px;width:auto;padding:7px 12px;font-size:13px;background:#fff;color:#000;clip-path:var(--pxs)}
.code .copy:hover{background:#E5E6EB}
.code pre{margin-top:22px;font:inherit;white-space:pre-wrap;word-wrap:break-word}
.note{font-size:15px;color:var(--mute)}
.end{margin-top:72px;padding:24px;background:var(--tile);clip-path:var(--px)}
.end p{margin-bottom:16px}

@media (prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}

.band{height:64px;image-rendering:pixelated;background:url("/img/band.png") left bottom/auto 100% repeat-x;image-rendering:pixelated}
