/* GenAlpha post pages.
   Tokens are the house set, identical to slidekit/parts/style.css and the
   outreach email templates. Plain static CSS: no build step, as with the rest
   of Site/. */

@import url('https://fonts.googleapis.com/css2?family=Inconsolata:wght@400;700&display=swap');

:root {
  --bg:       #1e1e1e;
  --body:     #cccccc;
  --title:    #9cdcfe;
  --subtitle: #e8e6a0;
  --heading:  #c792ea;
  --teal:     #5fd7bf;
  --muted:    #888888;
  --faint:    #666666;
  --rule:     #3c3c3c;
  --mono: 'Inconsolata', ui-monospace, 'Cascadia Code', 'SF Mono', Menlo, Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }

html { color-scheme: dark; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--body);
  font-family: var(--mono);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

.wrap { max-width: 656px; margin: 0 auto; padding: 32px 28px 56px; }

a { color: var(--title); text-decoration: underline; text-underline-offset: 3px; }
a:hover { color: var(--teal); }
a:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }

/* wordmark, same lockup as the emails and the decks */
.wordmark {
  display: inline-block; font-size: 24px; font-weight: 700; letter-spacing: .5px;
  margin: 0 0 28px; text-decoration: none;
}
.wordmark .gen   { color: var(--heading); }
.wordmark .alpha { color: var(--teal); }
.wordmark:hover .gen, .wordmark:hover .alpha { filter: brightness(1.15); }

h1 {
  color: var(--title); font-weight: 700; font-size: 38px; line-height: 1.1;
  margin: 0; text-wrap: balance;
}
h2 {
  color: var(--subtitle); font-weight: 700; font-size: 26px; line-height: 1.2;
  margin: 6px 0 0; text-wrap: balance;
}
.datestamp { color: var(--muted); font-size: 14px; margin: 14px 0 26px; }

p { margin: 0 0 22px; }
p:last-of-type { margin-bottom: 0; }
b, strong { color: #ffffff; }

figure { margin: 0 0 28px; }
figure img {
  display: block; width: 100%; height: auto;
  border: 1px solid var(--rule); border-radius: 6px;
}
figcaption { color: var(--muted); font-size: 13px; text-align: center; margin-top: 8px; }

.cta {
  display: inline-block; margin: 6px 0 8px;
  background: var(--teal); color: #1e1e1e;
  font-family: var(--mono); font-size: 17px; font-weight: 700;
  padding: 14px 30px; border-radius: 6px; text-decoration: none;
}
.cta:hover { color: #1e1e1e; filter: brightness(1.08); }

.foot { border: 0; border-top: 1px solid var(--rule); margin: 34px 0 12px; }
.foot-txt { color: var(--faint); font-size: 12px; margin: 0; }
.foot-txt a { color: var(--faint); }

/* index of posts */
.posts { display: flex; flex-direction: column; margin-top: 4px; }
.post {
  display: block; text-decoration: none; color: inherit;
  padding: 18px 0; border-top: 1px solid var(--rule);
}
.post:first-child { border-top: 0; padding-top: 0; }
.post-title { color: var(--title); font-weight: 700; font-size: 19px; line-height: 1.3; }
.post:hover .post-title { color: var(--teal); }
.post-meta { color: var(--muted); font-size: 13px; margin-top: 4px; }
.post-desc { font-size: 15px; margin-top: 7px; color: var(--body); }

.note { font-size: 15px; color: var(--muted); }
.note a { color: var(--title); }

/* ---------- job postings ---------- */
.meta-row {
  display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 26px;
}
.meta-row span {
  font-size: 13px; color: var(--muted);
  border: 1px solid var(--rule); border-radius: 999px; padding: 3px 11px;
}
h3 {
  color: var(--heading); font-weight: 700; font-size: 19px;
  margin: 28px 0 10px;
}
ul.bullets { margin: 0 0 22px; padding-left: 0; list-style: none; }
ul.bullets > li { position: relative; padding-left: 20px; margin-bottom: 9px; }
ul.bullets > li::before { content: "·"; position: absolute; left: 6px; color: var(--teal); font-weight: 700; }
.req { color: var(--faint); font-size: 12px; margin: 26px 0 0; }
.backlink { display: inline-block; font-size: 14px; margin: 0 0 22px; }
