:root {
  --bg: #f6f3ef;
  --ink: #1d1b18;
  --accent: #0f6d5c;
  --muted: #6b645f;
  --panel: #ffffff;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: "Trebuchet MS", "Gill Sans", "Segoe UI", sans-serif;
  background: linear-gradient(120deg, #f6f3ef 0%, #fbf8f3 60%, #efe9df 100%);
  color: var(--ink);
}
header {
  padding: 24px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #e6dfd6;
  background: rgba(255, 255, 255, 0.85);
  position: sticky;
  top: 0;
  backdrop-filter: blur(6px);
}
header a {
  color: var(--ink);
  text-decoration: none;
  margin-left: 16px;
  font-weight: 600;
}
.logo {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.5px;
}
main {
  max-width: 1100px;
  margin: 40px auto;
  padding: 0 24px 80px;
}
.hero {
  background: var(--panel);
  padding: 32px;
  border-radius: 20px;
  box-shadow: 0 18px 50px rgba(20, 18, 14, 0.08);
  margin-bottom: 28px;
}
.hero h1 {
  font-size: 34px;
  margin: 0 0 12px;
}
.hero p {
  margin: 0 0 16px;
  color: var(--muted);
  line-height: 1.6;
}
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 24px;
}
.card {
  background: var(--panel);
  padding: 20px;
  border-radius: 16px;
  border: 1px solid #efe7dd;
}
.card h3 { margin-top: 0; }
.button {
  display: inline-block;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  border: none;
  cursor: pointer;
}
form label { display: block; margin-bottom: 8px; font-weight: 600; }
form input, form select, form textarea {
  width: 100%;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid #dcd2c6;
  margin-bottom: 16px;
  font-size: 14px;
}
.messages {
  margin: 16px 0;
  padding: 12px 16px;
  border-radius: 10px;
  background: #fff5db;
  color: #7a4f00;
}
footer {
  padding: 24px 40px 60px;
  color: var(--muted);
  text-align: center;
}
footer a { color: var(--muted); margin: 0 8px; text-decoration: none; }
.inline {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}
.pill {
  background: #efe7dd;
  color: #4d433c;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
}
.checkbox-grid-items {
  display: grid;
  grid-template-columns: repeat(3, minmax(180px, 1fr));
  gap: 8px 16px;
}
.check-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
}
.check-item input[type="checkbox"] {
  width: auto;
  margin: 0;
}
@media (max-width: 820px) {
  .checkbox-grid-items {
    grid-template-columns: repeat(2, minmax(180px, 1fr));
  }
}
