:root {
  /* Primary Palette */
  --color-primary: #7A9B8E;
  --color-primary-hover: #5D7A6E;
  --color-primary-light: #B5C9BF;

  /* Secondary + Accents */
  --color-secondary: #6B8B83;
  --color-accent: #C4B8C4;

  /* Neutrals */
  --color-bg: #F5F1E8;
  --color-bg-alt: #FDFDFB;
  --color-border: #E8EBE9;

  /* Text */
  --color-text: #2D3835;
  --color-text-muted: #6B736F;

  /* Semantic */
  --color-error: #D4917B;
  --color-warning: #E8B878;
  --color-success: #B5C9BF;

  /* Layout + Radii */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --max-width: 680px;
  --max-width-wide: 960px;
  --font-family: "Inter", system-ui, sans-serif;
}
/* Typography & Base */
body {
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-family);
  margin: 0;
  padding: 0;
  line-height: 1.6;
}

h1, h2, h3 {
  color: var(--color-text);
  margin-bottom: 0.5rem;
}

p, label {
  color: var(--color-text-muted);
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2rem 1.5rem;
  background: var(--color-bg-alt);
  border-radius: var(--radius-lg);
}

/* Layout containers */
.center-max {
  max-width: var(--max-width-wide);
  width: 100%;
}

.narrow {
  max-width: var(--max-width);
  width: 100%;
}

/* Form styling */
form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

input[type="text"],
input[type="email"],
input[type="date"],
textarea,
select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: white;
  font-size: 1rem;
  color: var(--color-text);
}

textarea {
  min-height: 120px;
}

input[type="checkbox"],
input[type="radio"] {
  accent-color: var(--color-primary);
}

/* Buttons */
button,
input[type="submit"] {
  padding: 0.75rem 1.5rem;
  background: var(--color-primary);
  color: white;
  border: none;
  border-radius: var(--radius-md);
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s ease;
}

button:hover,
input[type="submit"]:hover {
  background: var(--color-primary-hover);
}

/* Sections */
.section-title {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--color-text);
  margin-top: 2rem;
  margin-bottom: 0.5rem;
}

hr {
  border: none;
  border-top: 1px solid var(--color-border);
  margin: 2rem 0;
}

/* Nav */
nav {
  background: var(--color-bg-alt);
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--color-border);
}

nav a {
  color: var(--color-primary);
  margin-right: 1.25rem;
  text-decoration: none;
  font-weight: 500;
}

nav a:hover {
  color: var(--color-primary-hover);
}

/* Footer */
footer {
  text-align: center;
  padding: 2rem 1rem;
  color: var(--color-text-muted);
  font-size: 0.9rem;
}
