:root {
  --ink: #1c1917;
  --muted: #57534e;
  --line: #e7e5e4;
  --bg: #fafaf9;
  --paper: #ffffff;
  --link: #1d4ed8;
  --link-hover: #1e3a8a;
  --max: 40rem;
}

* { box-sizing: border-box; }

html {
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
}

body {
  margin: 0;
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, "Times New Roman", serif;
}

header, main, footer {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.25rem;
}

header {
  padding-top: 2.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--line);
}

header a.site-name {
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.04em;
  font-size: 1.05rem;
}

header p {
  margin: 0.25rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

nav {
  margin-top: 0.85rem;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 0.9rem;
}

nav a {
  margin-right: 1rem;
}

main {
  padding-top: 2rem;
  padding-bottom: 2.5rem;
}

h1 {
  font-size: 1.85rem;
  line-height: 1.25;
  margin: 0 0 1rem;
  font-weight: 700;
}

h2 {
  font-size: 1.2rem;
  margin: 2rem 0 0.6rem;
  font-weight: 700;
}

p, li {
  color: var(--ink);
}

p {
  margin: 0 0 1rem;
}

ul {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
}

li { margin: 0.3rem 0; }

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

a:hover, a:focus {
  color: var(--link-hover);
}

.phone {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

footer {
  border-top: 1px solid var(--line);
  padding-top: 1.25rem;
  padding-bottom: 2.5rem;
  color: var(--muted);
  font-size: 0.9rem;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

footer p { margin: 0 0 0.4rem; color: var(--muted); }

.updated {
  color: var(--muted);
  font-size: 0.9rem;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
