:root {
  --md-sys-color-primary: #315b3b;
  --md-sys-color-on-primary: #ffffff;
  --md-sys-color-primary-container: #d9ead7;
  --md-sys-color-on-primary-container: #142b17;
  --md-sys-color-secondary: #536653;
  --md-sys-color-on-secondary: #ffffff;
  --md-sys-color-secondary-container: #dce8dc;
  --md-sys-color-on-secondary-container: #131d18;
  --md-sys-color-tertiary: #6d5c5c;
  --md-sys-color-on-tertiary: #ffffff;
  --md-sys-color-tertiary-container: #f5dadb;
  --md-sys-color-on-tertiary-container: #201314;
  --md-sys-color-background: #f7f8f2;
  --md-sys-color-on-background: #1c1b1f;
  --md-sys-color-surface: #fbfcf7;
  --md-sys-color-on-surface: #1c1b1f;
  --md-sys-color-surface-variant: #e7e0ec;
  --md-sys-color-on-surface-variant: #49454f;
  --md-sys-color-outline: #79747e;
  --md-sys-color-outline-variant: #cac4d0;
  --md-sys-color-shadow: #000000;
  --md-sys-color-inverse-surface: #313034;
  --md-sys-color-inverse-on-surface: #f2eff4;
  --md-sys-color-inverse-primary: #b3c9ff;
  --md-sys-color-surface-dim: #d8ccc8;
  --md-sys-color-surface-bright: #fdf6ff;
  --md-sys-color-surface-container-lowest: #fcfbfd;
  --md-sys-color-surface-container-low: #f0f3ea;
  --md-sys-color-surface-container: #f0eaf2;
  --md-sys-color-surface-container-high: #e9efe3;
  --md-sys-color-surface-container-highest: #e5dfe7;
}

@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap');

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

body {
  font-family: 'Roboto', sans-serif;
  background-color: var(--md-sys-color-background);
  color: var(--md-sys-color-on-background);
  line-height: 1.6;
}

header {
  background-color: var(--md-sys-color-surface);
  border-bottom: 1px solid var(--md-sys-color-outline-variant);
  padding: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

header h1 {
  color: var(--md-sys-color-primary);
  font-weight: 700;
  font-size: 1.5rem;
}

nav a {
  color: var(--md-sys-color-on-surface);
  text-decoration: none;
  margin-left: 1.5rem;
  font-weight: 500;
  padding: 0.5rem 0;
  border-bottom: 2px solid transparent;
}

nav a:hover,
nav a.active {
  border-bottom-color: var(--md-sys-color-primary);
}

main {
  max-width: 800px;
  margin: 2rem auto;
  padding: 0 1rem;
}

.hero {
  text-align: center;
  padding: 4rem 1rem;
  background-color: var(--md-sys-color-surface-container-high);
  border-radius: 16px;
  margin-bottom: 2rem;
}

.hero h2 {
  color: var(--md-sys-color-primary);
  font-size: 2rem;
  margin-bottom: 1rem;
}

.hero p {
  color: var(--md-sys-color-on-surface-variant);
  font-size: 1.25rem;
  margin-bottom: 2rem;
}

.btn {
  display: inline-block;
  background-color: var(--md-sys-color-primary);
  color: var(--md-sys-color-on-primary);
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s;
}

.btn:hover {
  background-color: var(--md-sys-color-primary-container);
  color: var(--md-sys-color-on-primary-container);
}

section {
  margin-bottom: 3rem;
}

section h2,
section h3 {
  color: var(--md-sys-color-on-surface);
  margin-bottom: 1rem;
  font-weight: 500;
}

section h2 {
  font-size: 1.75rem;
}

section h3 {
  font-size: 1.5rem;
}

ul {
  margin-left: 2rem;
  margin-bottom: 1.5rem;
}

li {
  margin-bottom: 0.5rem;
}

ol {
  margin-left: 2rem;
  margin-bottom: 1.5rem;
}

.takeaway {
  background-color: var(--md-sys-color-surface-container-low);
  border-left: 4px solid var(--md-sys-color-primary);
  padding: 1rem;
  margin: 2rem 0;
  border-radius: 0 8px 8px 0;
}

footer {
  text-align: center;
  padding: 2rem;
  color: var(--md-sys-color-on-surface-variant);
  font-size: 0.9rem;
  border-top: 1px solid var(--md-sys-color-outline-variant);
}

@media (max-width: 600px) {
  header {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  
  nav a {
    margin: 0.5rem 0;
  }
  
  .hero {
    padding: 3rem 1rem;
  }
  
  .hero h2 {
    font-size: 1.75rem;
  }
  
  main {
    margin: 1.5rem auto;
    padding: 0 0.5rem;
  }
}
.site-name { text-decoration: none; }
.about-intro { background: var(--md-sys-color-surface-container-low); padding: 1.5rem; border-radius: 16px; }
.about-intro p { margin-bottom: .75rem; }
input, textarea { max-width: 100%; padding: .65rem; border: 1px solid var(--md-sys-color-outline); border-radius: 8px; font: inherit; }
