*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: #1a1a1a;
  background: #fafafa;
}

/* Banner */
.banner {
  background: #1a1a1a;
  padding: 0.65rem 1.5rem;
  text-align: center;
}
.banner a {
  color: #999;
  font-size: 0.8rem;
  text-decoration: none;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.banner a:hover { color: #fff; }

/* Container */
.container {
  max-width: 700px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 4rem;
}

/* Site header */
.site-header {
  margin-bottom: 2.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #e8e8e8;
}
.site-header h1 {
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.site-header p {
  color: #666;
  font-size: 0.95rem;
  margin-top: 0.25rem;
}

/* Typography */
h1 { font-size: 1.5rem; font-weight: 600; margin-bottom: 1rem; }
h2 { font-size: 1.1rem; font-weight: 600; margin: 2rem 0 0.6rem; color: #1a1a1a; }
h3 { font-size: 0.95rem; font-weight: 600; margin: 1.5rem 0 0.4rem; color: #555; text-transform: uppercase; letter-spacing: 0.04em; }
p { margin-bottom: 1rem; color: #333; }

a { color: #1a1a1a; }
a:hover { color: #555; }

/* Tables */
table { width: 100%; border-collapse: collapse; margin: 0.75rem 0 1.5rem; font-size: 0.9rem; }
td, th { padding: 0.45rem 0; border-bottom: 1px solid #eee; text-align: left; vertical-align: top; }
td:first-child { color: #999; width: 110px; padding-right: 1rem; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.04em; }

/* Lists */
ul, ol { padding-left: 1.25rem; margin-bottom: 1rem; }
li { margin-bottom: 0.4rem; color: #333; }
li > ul, li > ol { margin-top: 0.4rem; margin-bottom: 0.25rem; }
li > p { margin-bottom: 0.25rem; }

/* Back link */
a[href="/"] {
  display: inline-block;
  margin-top: 2rem;
  font-size: 0.85rem;
  color: #aaa;
  text-decoration: none;
}
a[href="/"]:hover { color: #1a1a1a; }

/* Centered full-page layout (placeholder pages) */
main.centered {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 2.75rem);
}
main.centered h1 {
  font-size: 2rem;
  letter-spacing: -0.01em;
  margin-bottom: 0;
}

/* Footer */
.site-footer {
  margin-top: 3rem;
  padding-top: 1rem;
  border-top: 1px solid #eee;
  font-size: 0.8rem;
  color: #bbb;
}
.site-footer a { color: #bbb; text-decoration: none; }
.site-footer a:hover { color: #666; }
