/* Landing-page styles.
 *
 * These live in an external file (not an inline <style>) on purpose: the site's
 * Content-Security-Policy (see web/_headers) uses `style-src 'self'`, which
 * blocks inline styles. Served from /styles.css, this is same-origin and allowed.
 *
 * The near-monochrome palette comes from /lib/tokens.css, linked ahead of this
 * file — the same tokens every tool uses, so the site reads as one thing by
 * construction rather than by keeping four copies in step by hand. That file is
 * same-origin too, so the CSP above is satisfied either way.
 *
 * The layout below stays local: this is a single short page with its own
 * rhythm, not the .page frame the tools share via lib/base.css. */

* { box-sizing: border-box; }
body {
  max-width: 42rem;
  margin: 0 auto;
  padding: 4rem 1.25rem 3rem;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

h1 { font-size: var(--text-xl); letter-spacing: -0.01em; margin: 0 0 0.375rem; }
.lede { margin: 0 0 2.5rem; color: var(--text-dim); }

ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-3); }
li {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  transition: border-color 0.15s ease;
}
li:hover { border-color: var(--accent); }
li a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-3);
  padding: 1rem 1.125rem 0.375rem;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
}
li a::after {
  content: "→";
  color: var(--text-dim);
  transition: transform 0.15s ease, color 0.15s ease;
}
li:hover a { color: var(--accent); }
li:hover a::after { color: var(--accent); transform: translateX(3px); }
li span {
  display: block;
  padding: 0 1.125rem 1rem;
  color: var(--text-dim);
  font-size: 0.9rem;
}

footer {
  margin-top: 3.5rem;
  padding-top: var(--space-5);
  border-top: 1px solid var(--border);
  color: var(--text-dim);
  font-size: 0.9rem;
}
footer a { color: inherit; }
footer a:hover { color: var(--accent); }
