/* whatagentswant.ai on top of the shared kfa-default theme (the blog keeps the theme as it is).
   Polish pass following the unslop skill (heydamir/unslop, CC BY 4.0), 2026-11-30. Direction:
   - Product: a news site for agents and the people who run them; every service and skill is opened and checked by hand.
   - Character: exact, dry, a little wary.
   - World: an inspection bench. Graphite neutrals; the accent is the amber of an inspection tag.
   - Moments: the summary table for agents, and the screenshots from the isolated browser.
   - Signature: the "checked on" stamp next to every post's date. */

:root {
  --bg: #111213;
  --bg-secondary: #1a1b1d;
  --text: #e6e6e3;
  --text-secondary: #b4b4ae;
  --text-muted: #8a8a85;
  --accent: #e0a43a;
  --border: rgba(230, 230, 227, 0.09);
  --font-sans: -apple-system, BlinkMacSystemFont, "PingFang TC", "Noto Sans TC", "Noto Sans CJK TC", "Segoe UI", sans-serif;
  --font-mono: "SF Mono", "JetBrains Mono", "Fira Code", ui-monospace, monospace;
}

body { font-family: var(--font-sans); font-size: 16px; line-height: 1.75; }
a { color: var(--accent); text-underline-offset: 3px; }

/* header: the name in the main family, quiet links */
.site-header { padding: 20px 32px; }
.site-title { font-weight: 500; font-size: 17px; letter-spacing: 0; }
.site-title:hover { color: var(--text); }
.nav-links { gap: 24px; }
.nav-links a { font-size: 14px; }

main { padding: 48px 32px; }

/* home intro: text on calm space, separated from the list */
.intro { padding-bottom: 32px; margin-bottom: 40px; border-bottom: 1px solid var(--border); color: var(--text-secondary); }
.intro p { margin-bottom: 12px; }
.intro p:last-child { margin-bottom: 0; }
.intro strong { color: var(--text); font-weight: 500; }
.intro code { font-family: var(--font-mono); font-size: 0.9em; }

/* post list */
.posts { gap: 40px; }
.post-summary time, .post-header time { font-family: var(--font-mono); font-size: 13px; color: var(--text-muted); font-variant-numeric: tabular-nums; }
.post-summary h2 { font-size: 21px; font-weight: 500; line-height: 1.45; margin: 4px 0 8px; }
.post-summary p { font-size: 15px; color: var(--text-secondary); }

/* tags become quiet meta text */
.tags { gap: 0; margin-top: 8px; }
.tag { background: none; padding: 0; border-radius: 0; font-family: var(--font-mono); font-size: 12px; color: var(--text-muted); }
.tag + .tag::before { content: " · "; white-space: pre; }

/* the signature: when the facts were last checked */
.stamp { display: inline-block; margin-left: 12px; padding: 0 6px; border: 1px solid rgba(224, 164, 58, 0.45); border-radius: 4px;
         font-family: var(--font-mono); font-size: 12px; line-height: 20px; color: var(--accent); font-variant-numeric: tabular-nums; vertical-align: 1px; }
.lang { font-family: var(--font-mono); font-size: 12px; font-weight: 400; color: var(--text-muted); border-color: var(--border); opacity: 1; vertical-align: 3px; }

/* single post */
.post-header { margin-bottom: 32px; }
.post-header h1 { font-size: 30px; font-weight: 500; line-height: 1.35; margin: 8px 0 12px; }
.translation { margin-top: 8px; font-size: 14px; }
.post-content { font-size: 16px; }
.post-content h2 { font-family: var(--font-sans); font-size: 21px; font-weight: 500; margin: 40px 0 12px; }
.post-content h3 { font-family: var(--font-sans); font-size: 18px; font-weight: 500; margin: 28px 0 8px; }
.post-content strong { font-weight: 600; color: var(--text); }
.post-content p { margin-bottom: 16px; }
.post-content li { margin-bottom: 4px; }
.post-content blockquote { border-left: 2px solid var(--border); color: var(--text-secondary); padding-left: 16px; }
.post-content img { border-radius: 8px; border: 1px solid var(--border); margin: 16px 0; }
.post-content code { background: var(--bg-secondary); border-radius: 4px; }
.post-content pre { border-radius: 8px; border: 1px solid var(--border); }

/* the summary table is the moment: calm grid, figures aligned */
.post-content table { font-size: 15px; font-variant-numeric: tabular-nums; margin: 16px 0 24px; }
.post-content th, .post-content td { border: 0; border-bottom: 1px solid var(--border); padding: 8px 12px; vertical-align: top; }
.post-content th { background: none; font-family: var(--font-sans); font-weight: 500; color: var(--text-secondary); border-bottom-color: rgba(230, 230, 227, 0.18); }
.post-content td:first-child, .post-content th:first-child { padding-left: 0; }

/* tip: quiet, no emoji, no colored border */
.tip { margin-top: 48px; padding-top: 24px; }
.tip a { padding: 8px 16px; border: 1px solid rgba(230, 230, 227, 0.18); border-radius: 8px; color: var(--text); transition: background-color 120ms ease-out; }
.tip a:hover { background: var(--bg-secondary); color: var(--text); text-decoration: none; }
.tip p { margin-top: 8px; font-size: 13px; }

.site-footer { font-family: var(--font-mono); font-size: 12px; padding: 24px 32px; }

a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 2px; }

@media (max-width: 600px) {
  .site-header { padding: 16px; }
  main { padding: 32px 16px; }
  .post-header h1 { font-size: 24px; }
  .post-summary h2 { font-size: 19px; }
  .stamp { margin-left: 8px; }
}

/* lead image: the most telling screenshot right under the title (only posts that have a real one) */
.lead { margin: 0 0 32px; }
.lead img { display: block; width: 100%; height: auto; border-radius: 8px; border: 1px solid var(--border); }
