@font-face { font-family: 'Geist'; font-style: normal; font-weight: 100 900; font-display: swap; src: url('/fonts/geist-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: 'Geist'; font-style: normal; font-weight: 100 900; font-display: swap; src: url('/fonts/geist-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Geist Mono'; font-style: normal; font-weight: 100 900; font-display: swap; src: url('/fonts/geist-mono-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 {
  --paper: #FCFDFD; --card: #F1F4F6; --hairline: #E2E7EA;
  --blue: #6FA6C9; --link: #2F6E8F;
  --ink: #0B0C0D; --body: #2B2F33; --muted: #676D72;
  --sans: 'Geist', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --mono: 'Geist Mono', ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  color-scheme: light;
}
:root[data-theme="dark"] { color-scheme: dark;
  --paper: #14161C; --card: #1B1F27; --hairline: #2A2F38;
  --blue: #7FB0CE; --link: #9BC4DB;
  --ink: #F1F3F5; --body: #C4C9CF; --muted: #8A9198;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--body); font-family: var(--sans); font-size: 17px; line-height: 1.7; -webkit-font-smoothing: antialiased; }
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }
.col { max-width: 660px; margin: 0 auto; padding: 0 20px; }

/* header: logo left, section name right */
.top { padding: 28px 0 0; }
.top .col { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: inline-flex; }
.brand-logo { height: 40px; width: auto; display: block; }
.brand-for-dark { display: none; }
:root[data-theme="dark"] .brand-for-light { display: none; }
:root[data-theme="dark"] .brand-for-dark { display: block; }
.brand-pic { display: contents; } .brand-pic source { display: none; }
.section { font: 400 12px/1 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }

main { padding: clamp(48px, 9vw, 96px) 0 64px; }
h1 { font-size: clamp(30px, 5vw, 40px); line-height: 1.12; letter-spacing: -0.025em; font-weight: 600; color: var(--ink); margin: 0 0 14px; }
.intro { color: var(--muted); margin: 0 0 48px; }

.hero { margin: 0 0 40px; }
.hero img, .hero video { display: block; width: 100%; height: auto; border-radius: 3px; background: var(--card); }

/* index: plain list, like a personal site */
.posts { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--hairline); }
.posts li { border-bottom: 1px solid var(--hairline); }
.posts a { display: flex; align-items: baseline; gap: 24px; padding: 16px 0; color: var(--ink); }
.posts a:hover { text-decoration: none; }
.posts a:hover .t { text-decoration: underline; }
.posts time { flex: 0 0 auto; width: 96px; font: 400 13px/1.5 var(--mono); color: var(--muted); }
.posts .t { font-size: 18px; line-height: 1.4; }

/* post */
.meta { font: 400 13px/1.5 var(--mono); color: var(--muted); margin: 0 0 44px; }
.prose p { margin: 0 0 1.15em; }
.prose h2 { font-size: 21px; line-height: 1.3; letter-spacing: -0.01em; color: var(--ink); margin: 2em 0 0.6em; }
.prose ul { margin: 0 0 1.15em; padding-left: 1.2em; }
.prose li { margin: 0 0 0.45em; }
.prose b, .prose strong { color: var(--ink); font-weight: 600; }
.prose blockquote { margin: 0 0 1.15em; padding-left: 18px; border-left: 2px solid var(--blue); color: var(--ink); }
.sign { margin-top: 2em; color: var(--ink); }
.back { display: inline-block; margin-top: 40px; font: 400 12px/1 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }

/* newsletter */
.sub { margin-top: 56px; padding: 22px 24px; background: var(--card); border: 1px solid var(--hairline); border-radius: 3px; }
.sub p { margin: 0 0 14px; font-size: 15px; }
.sub form { display: flex; flex-wrap: wrap; gap: 10px; }
.sub input[type=email] { flex: 1 1 220px; min-width: 0; font: inherit; font-size: 15px; padding: 10px 12px; color: var(--ink); background: var(--paper); border: 1px solid var(--hairline); border-radius: 3px; }
.sub input[type=email]:focus { outline: 2px solid var(--blue); outline-offset: -1px; }
.sub button { font: 500 13px/1 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; padding: 12px 18px; color: var(--paper); background: var(--ink); border: 0; border-radius: 3px; cursor: pointer; }
.sub button:disabled { opacity: .5; cursor: default; }
.sub .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.sub .note { flex-basis: 100%; margin: 4px 0 0; font-size: 13px; color: var(--muted); min-height: 1.2em; }
.sub .note.ok { color: var(--link); }

.foot { border-top: 1px solid var(--hairline); }
.foot .col { display: flex; flex-wrap: wrap; gap: 8px 22px; justify-content: space-between; padding-top: 24px; padding-bottom: 40px; font: 400 12px/1.6 var(--mono); letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); }
.foot a { color: var(--muted); }

@media (max-width: 480px) {
  .posts a { flex-direction: column; gap: 2px; }
  .posts time { width: auto; }
}
.coming { margin: 2em 0 0; padding-top: 1.2em; border-top: 1px solid var(--hairline); font: 400 13px/1.5 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.coming .countdown { color: var(--ink); font-variant-numeric: tabular-nums; }
