/* Import fonts for headings and body text */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@600&family=Open+Sans:wght@400;600&display=swap');

/* Color palette variables */
:root {
  --bg: #f6f2ea;
  --text: #123524;
  --accent: #1f5d80;
  --panel: #e4efe8;
  --panel-dark: #545454;
  --link: #885c70;
  --link-hover: #1f226f;
}

/* Global box-sizing */
* {
  box-sizing: border-box;
}

/* Base page styles */
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Open Sans", Arial, sans-serif;
  line-height: 1.6;
}

/* Centered layout container */
header, main, footer {
  max-width: 900px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
}

/* Header styling */
header {
  background: #ffffff;
  border-bottom: 4px solid var(--accent);
}

/* Main content panel */
main {
  background: var(--bg);
}

/* Footer styling */
footer {
  background: #ffffff;
  border-top: 4px solid var(--accent);
  font-size: 0.95rem;
}

/* Heading typography */
h1, h2, h3 {
  font-family: "Montserrat", Arial, sans-serif;
  color: #545454;
  line-height: 1.2;
}

/* Base text size */
p, li {
  font-size: 1rem;
}

/* List indentation */
ul {
  padding-left: 1.25rem;
}

/* Link styling */
a {
  color: var(--link);
  text-decoration: none;
  font-weight: 600;
}

/* Link hover/focus */
a:hover, a:focus {
  color: var(--link-hover);
  text-decoration: underline;
}

.intro-link {
  color: #1a4fd6;
}

.intro-link:hover,
.intro-link:focus {
  color: #114738;
}

/* Figure spacing */
figure {
  margin: 1rem 0;
}

/* Responsive images */
img {
  max-width: 100%;
  height: auto;
  border: 3px solid var(--panel-dark);
}

/* Blockquote styling */
blockquote {
  margin: 1rem 0;
  padding: 0.75rem 1rem;
  background: var(--panel);
  border-left: 4px solid var(--accent);
}