:root {
  --bg: #f6f5f3;
  --card: #ffffff;
  --text: #2f2f2f;
  --muted: #7a7a7a;
  --accent: #8daaa0;
  --border: #e6e4e1;
}

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
}

/* Header */
header {
  text-align: center;
  padding: 60px 20px 40px;
}

header h1 {
  font-family: 'Playfair Display', serif;
  font-size: 42px;
  margin: 0;
}

header p {
  color: var(--muted);
  margin-top: 10px;
}

/* Nav */
nav {
  display: flex;
  justify-content: center;
  gap: 10px;
  padding-bottom: 20px;
}

nav button {
  background: transparent;
  border: 1px solid var(--border);
  padding: 8px 16px;
  border-radius: 20px;
  cursor: pointer;
  color: var(--text);
  transition: all 0.2s ease;
}

nav button:hover {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
}

/* Layout */
main {
  max-width: 700px;
  margin: auto;
  padding: 20px;
}

/* Card style */
.card {
  display: none;
  background: var(--card);
  padding: 35px;
  border-radius: 16px;
  border: 1px solid var(--border);
  box-shadow: 0 10px 30px rgba(0,0,0,0.03);
  animation: fadeIn 0.3s ease;
}

.card.active {
  display: block;
}

h2 {
  font-family: 'Playfair Display', serif;
  margin-top: 0;
}

/* Button */
.primary {
  margin-top: 15px;
  background: var(--accent);
  color: white;
  border: none;
  padding: 12px 18px;
  border-radius: 8px;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.primary:hover {
  opacity: 0.85;
}

/* Footer */
footer {
  text-align: center;
  padding: 40px 20px;
  color: var(--muted);
  font-size: 14px;
}

/* Animation */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}