@import url("https://fonts.googleapis.com/css2?family=Fraunces:wght@400;600;700&family=Space+Grotesk:wght@400;500;600&display=swap");

:root {
  color-scheme: light;
  --bg: #f6f1e7;
  --ink: #1d1a16;
  --muted: #6c6358;
  --accent: #0f3d2e;
  --accent-2: #915f2a;
  --card: #fffdf8;
  --stroke: rgba(29, 26, 22, 0.12);
  --highlight: #f5c26b;
  --shadow: 0 18px 45px rgba(28, 23, 18, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Space Grotesk", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: radial-gradient(circle at 10% 10%, #fff7e4 0%, transparent 50%),
    radial-gradient(circle at 90% 20%, #e3efe6 0%, transparent 55%),
    linear-gradient(120deg, #f7f3ea 0%, #f1e6d5 100%);
  min-height: 100vh;
}

a {
  color: inherit;
  text-decoration: none;
}

.page {
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 20px 80px;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  font-size: 0.95rem;
}

.nav .brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
}

.nav .dot {
  width: 12px;
  height: 12px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 0 6px rgba(15, 61, 46, 0.12);
}

.hero {
  display: grid;
  gap: 18px;
  margin-bottom: 32px;
}

.hero h1 {
  font-family: "Fraunces", "Times New Roman", serif;
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  margin: 0;
  line-height: 1.1;
}

.hero p {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.panel {
  background: var(--card);
  border: 1px solid var(--stroke);
  border-radius: 20px;
  padding: 20px;
  box-shadow: var(--shadow);
}

.panel + .panel {
  margin-top: 20px;
}

.controls {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(15, 61, 46, 0.08);
  color: var(--accent);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 500;
}

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

input,
select,
textarea {
  width: 100%;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--stroke);
  font-family: inherit;
  font-size: 0.95rem;
  background: #fff;
}

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

button {
  border: none;
  border-radius: 999px;
  padding: 10px 18px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  background: var(--accent);
  color: #fff;
  box-shadow: 0 12px 20px rgba(15, 61, 46, 0.2);
}

button.secondary {
  background: #fff;
  color: var(--accent);
  border: 1px solid rgba(15, 61, 46, 0.2);
  box-shadow: none;
}

button.ghost {
  background: transparent;
  color: var(--accent);
  border: 1px dashed rgba(15, 61, 46, 0.4);
  box-shadow: none;
}

button:active {
  transform: translateY(1px);
}

.grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.card {
  background: #fff;
  border-radius: 18px;
  border: 1px solid var(--stroke);
  padding: 18px;
  display: grid;
  gap: 10px;
  box-shadow: 0 12px 24px rgba(28, 23, 18, 0.08);
}

.card h3 {
  margin: 0;
  font-family: "Fraunces", "Times New Roman", serif;
  font-size: 1.2rem;
}

.card .meta {
  color: var(--muted);
  font-size: 0.9rem;
  display: grid;
  gap: 4px;
}

.card .tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(145, 95, 42, 0.12);
  color: var(--accent-2);
  font-weight: 600;
  width: fit-content;
}

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

.card .actions input {
  width: 160px;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 0.85rem;
}

.status .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--highlight);
}

.status.off .dot {
  background: #c4bdb2;
}

.two-col {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.note {
  color: var(--muted);
  font-size: 0.9rem;
}

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

@media (max-width: 720px) {
  .nav {
    flex-direction: column;
    align-items: flex-start;
  }
}
