:root {
  --bg: #faf7f5;
  --card: #ffffff;
  --text: #2b2b2b;
  --muted: #7a7a7a;
  --primary: #2f6f6b;
  --primary-soft: #e4f1ef;
  --border: #ececec;
  --danger: #c94b4b;
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

/* ---------- Header ---------- */

header {
  position: sticky;
  top: 0;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

header strong {
  font-size: 1.1rem;
  letter-spacing: 0.4px;
}

nav a {
  margin-left: 16px;
  text-decoration: none;
  color: var(--muted);
  font-size: 0.95rem;
}

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

/* ---------- Layout ---------- */

main {
  max-width: 960px;
  margin: 0 auto;
  padding: 32px 20px;
}

/* ---------- Cards ---------- */

.card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 28px;
  margin-bottom: 24px;
  border: 1px solid var(--border);
}

.card.soft {
  background: var(--primary-soft);
  border: none;
}

.card h1,
.card h2,
.card h3 {
  margin-top: 0;
}

/* ---------- Text ---------- */

p.muted {
  color: var(--muted);
}

/* ---------- Buttons ---------- */

button {
  appearance: none;
  border: none;
  border-radius: 999px;
  padding: 10px 20px;
  font-size: 0.95rem;
  cursor: pointer;
  background: var(--primary);
  color: #fff;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

button:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

button.secondary {
  background: #e0e0e0;
  color: var(--text);
}

button.danger {
  background: var(--danger);
}

/* ---------- Forms ---------- */

form {
  display: grid;
  gap: 16px;
}

label {
  font-size: 0.85rem;
  color: var(--muted);
}

input,
textarea,
select {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  font-size: 0.95rem;
}

textarea {
  resize: vertical;
  min-height: 100px;
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--primary);
}

/* ---------- Footer ---------- */

footer {
  text-align: center;
  padding: 32px 20px;
  color: var(--muted);
  font-size: 0.85rem;
}

/* ---------- Utility ---------- */

.actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
