/* tonymars.me — shared styles */

:root {
  --ink: #1f2426;
  --muted: #495257;
  --accent: #0073b9;
  --navy: #003561;
  --bg: #ffffff;
  --line: #e8ecee;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}

a { color: var(--accent); }

.container {
  max-width: 768px;
  margin: 0 auto;
  padding: 64px 24px;
}

h1 { font-size: 2rem; font-weight: 800; letter-spacing: -0.02em; margin: 0 0 1.5rem; }

p { color: var(--muted); font-size: 1.0625rem; }

.home-link {
  display: inline-block;
  margin-top: 2rem;
  font-weight: 600;
  text-decoration: none;
}
.home-link:hover { text-decoration: underline; }

/* simple footer used on inner pages */
.site-footer {
  border-top: 1px solid var(--line);
  background: #f5f7f8;
  padding: 2rem 24px;
  text-align: center;
  font-size: 0.8125rem;
  color: var(--muted);
}
.site-footer a { color: var(--muted); text-decoration: none; margin: 0 0.5rem; }
.site-footer a:hover { color: var(--accent); }

/* shared header (injected by layout.js) */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1120px;
  margin: 0 auto;
  padding: 1rem 24px;
  border-bottom: 1px solid var(--line);
}
.site-logo { font-weight: 800; letter-spacing: 1px; font-size: 0.9375rem; color: var(--navy); text-decoration: none; }
.site-nav a { color: var(--muted); text-decoration: none; font-size: 0.8125rem; font-weight: 500; margin-left: 1.5rem; }
.site-nav a:hover { color: var(--accent); }
