/* trenty.org — shared styles (Cloudflare Pages). */
:root {
  --ink: #16181d;
  --muted: #5b6270;
  --bg: #fafafa;
  --card: #ffffff;
  --divider: #e5e7eb;
  --accent: #2d5bff;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
header.site {
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 760px;
  margin: 0 auto;
}
header.site .brand { font-size: 18px; font-weight: 700; letter-spacing: .3px; }
header.site nav a {
  color: var(--muted); text-decoration: none; font-size: 14px; margin-left: 18px;
}
header.site nav a:hover { color: var(--ink); }
main {
  max-width: 760px;
  margin: 0 auto;
  padding: 40px 22px 80px;
}
.hero { padding: 30px 0 10px; }
.hero h1 { font-size: 34px; line-height: 1.2; margin-bottom: 10px; }
.hero p { font-size: 18px; color: var(--muted); max-width: 55ch; }
.projects { display: grid; gap: 12px; margin-top: 34px; }
.projects a {
  display: block; background: var(--card); border: 1px solid var(--divider);
  border-radius: 12px; padding: 18px 20px; text-decoration: none; color: var(--ink);
}
.projects a:hover { border-color: var(--accent); }
.projects a strong { display: block; font-size: 16px; }
.projects a span { display: block; font-weight: 400; color: var(--muted); font-size: 14px; margin-top: 4px; }
footer.site {
  max-width: 760px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 13px;
  padding: 30px 22px 50px;
}
footer.site a { color: var(--muted); }
