/* Base Styles */
body {
  max-width: 720px;
  padding: 0 20px;
  margin: 0 auto;
  font-family: 'Google Sans', 'Product Sans', Roboto, -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  line-height: 1.6;
  color: #202124;
  background-color: #ffffff;
}

.header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 20px 0;
}

/* Navigation - Google Style */
nav {
  border-bottom: 1px solid #dadce0;
}

nav a {
  margin-right: 20px;
  padding: 20px 0;
  text-decoration: none;
  color: #0071ff;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.25px;
  transition: color 0.2s ease;
  display: inline-block;
}

nav a:hover {
  color: #1a73e8;
}

/* Headings - Minimal Google Typography */
h1 {
  font-size: 2rem;
  font-weight: 400;
  margin: 0;
  color: #202124;
  line-height: 1.3;
  letter-spacing: -0.5px;
}

h2 {
  font-size: 1.375rem;
  font-weight: 500;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  color: #202124;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #e8eaed;
}

h3 {
  font-size: 1.125rem;
  font-weight: 500;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  color: #202124;
}

/* Paragraph & Text */
p {
  margin-bottom: 1rem;
  color: #3c4043;
  font-size: 16px;
  line-height: 1.6;
}

strong {
  font-weight: 500;
  color: #202124;
}

/* Links - Google Blue */
a {
  color: #1a73e8;
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: #174ea6;
  text-decoration: underline;
}

a:visited {
  color: #8430ce;
}

/* Lists */
ul, ol {
  margin: 1rem 0;
  padding-left: 1.5rem;
  color: #3c4043;
}

li {
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

/* Horizontal Rule */
hr {
  border: none;
  border-top: 1px solid #dadce0;
  margin: 2rem 0;
}

/* Blockquote - Material Card Style */
blockquote {
  margin: 1.5rem 0;
  padding: 16px 20px;
  background-color: #f8f9fa;
  border-left: 4px solid #1a73e8;
  border-radius: 4px;
  color: #3c4043;
  font-style: normal;
}

/* Code - Google Docs Style */
code {
  background: #f1f3f4;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.9em;
  font-family: 'Roboto Mono', 'Courier New', monospace;
  color: #c5221f;
}

pre {
  background: #f8f9fa;
  padding: 16px;
  border-radius: 8px;
  border: 1px solid #dadce0;
  overflow-x: auto;
  margin: 1.5rem 0;
}

pre code {
  background: none;
  padding: 0;
  color: #202124;
}

/* Special Elements for Your Homepage */
/* Subtitle/tagline under h1 */
h1 + p strong {
  font-size: 1rem;
  color: #5f6368;
  font-weight: 400;
}

/* Email and location icons */
a[href^="mailto:"] {
  color: #1a73e8;
  font-weight: 400;
}

/* Footer tagline styling */
em {
  color: #5f6368;
  font-style: italic;
  display: block;
  text-align: center;
  margin-top: 3rem;
  font-size: 0.875rem;
  padding: 1rem 0;
  border-top: 1px solid #dadce0;
}

/* Footer */

footer {
  margin-bottom: 40px;
}

/* Responsive Design */
@media (max-width: 768px) {
  body {
    padding: 0 16px;
  }
  
  h1 {
    font-size: 1.75rem;
  }
  
  h2 {
    font-size: 1.25rem;
  }
  
  h3 {
    font-size: 1rem;
  }
  
  nav a {
    margin-right: 16px;
    font-size: 13px;
  }
}

/* Accessibility - Material Design Focus */
a:focus, 
nav a:focus {
  outline: 2px solid #1a73e8;
  outline-offset: 2px;
  border-radius: 2px;
}

/* Selection color - Google Blue */
::selection {
  background-color: #a8c7fa;
  color: #202124;
}

::-moz-selection {
  background-color: #a8c7fa;
  color: #202124;
}