/* Reset & Base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Georgia', 'Times New Roman', serif; font-size: 17px; color: #e8e8e8; background: #1a1a1a; line-height: 1.75; }

/* Header */
header { background: #212121; border-bottom: 2px solid #226E93; padding: 0; }
.header-inner { max-width: 900px; margin: 0 auto; padding: 20px 24px; }
.site-title { color: #49AAD4; text-decoration: none; font-size: 1.7rem; font-weight: 700; font-family: 'Lato', 'Helvetica Neue', Arial, sans-serif; letter-spacing: 1px; }
.site-title:hover { color: #7fcce8; }

/* Nav */
nav { background: #212121; border-bottom: 1px solid #333; }
.nav-inner { max-width: 900px; margin: 0 auto; padding: 0 24px; display: flex; flex-wrap: wrap; }
.nav-link { display: block; color: #aaaaaa; text-decoration: none; padding: 12px 16px; font-size: 0.9rem; font-family: 'Lato', 'Helvetica Neue', Arial, sans-serif; }
.nav-link:hover { color: #49AAD4; }

/* Main content */
.container { max-width: 760px; margin: 0 auto; padding: 40px 24px; }
h1 { font-size: 1.9rem; font-weight: 700; color: #ffffff; margin-bottom: 28px; font-family: 'Lato', 'Helvetica Neue', Arial, sans-serif; }
h2 { font-size: 1.4rem; font-weight: 700; color: #49AAD4; margin-top: 40px; margin-bottom: 16px; font-family: 'Lato', 'Helvetica Neue', Arial, sans-serif; }
h3 { font-size: 1.1rem; font-weight: 600; color: #7fcce8; margin-top: 28px; margin-bottom: 10px; font-family: 'Lato', 'Helvetica Neue', Arial, sans-serif; }
p { margin-bottom: 20px; }
a { color: #226E93; text-decoration: none; }
a:hover { color: #49AAD4; }
ul, ol { margin: 0 0 20px 28px; }
li { margin-bottom: 8px; }
em { color: #c8c8c8; font-style: italic; }
strong { color: #ffffff; }

/* Blockquote */
blockquote { border-left: 3px solid #226E93; padding: 12px 20px; margin: 24px 0; color: #aaaaaa; font-style: italic; background: #242424; border-radius: 0 4px 4px 0; }
blockquote p { margin-bottom: 8px; }
blockquote p:last-child { margin-bottom: 0; }

/* Horizontal rule */
hr { border: none; border-top: 1px solid #333; margin: 32px 0; }

/* Code */
code { background: #2a2a2a; padding: 2px 6px; border-radius: 3px; font-family: 'Courier New', monospace; font-size: 0.88em; color: #49AAD4; }
pre { background: #242424; padding: 20px; border-radius: 4px; overflow-x: auto; margin: 16px 0; border-left: 3px solid #226E93; }
pre code { background: none; padding: 0; color: #d4d4d4; }

/* Home */
.home-content { font-size: 1.05rem; }

/* Page list */
.page-list { list-style: none; margin: 0; padding: 0; }
.page-list li { border-bottom: 1px solid #2a2a2a; }
.page-list li a { display: block; padding: 12px 0; color: #226E93; text-decoration: none; }
.page-list li a:hover { color: #49AAD4; }

/* Footer */
footer { background: #212121; border-top: 1px solid #333; color: #555; padding: 24px; text-align: center; margin-top: 60px; }
footer a { color: #226E93; text-decoration: none; }
footer a:hover { color: #49AAD4; }
footer p { font-size: 0.85rem; font-family: 'Lato', 'Helvetica Neue', Arial, sans-serif; }

/* Responsive */
@media (max-width: 600px) {
  .nav-inner { flex-direction: column; }
  .container { padding: 24px 16px; }
}
