:root {
  color-scheme: light;
  --bg: #f4efe8;
  --surface: #fffaf4;
  --surface-strong: #f8f1e6;
  --text: #1f2430;
  --muted: #5e6777;
  --border: #e3d8c8;
  --shadow: 0 18px 50px rgba(70, 49, 24, 0.12);
  --todo: #d97706;
  --progress: #2563eb;
  --done: #059669;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(217, 119, 6, 0.12), transparent 28%),
    radial-gradient(circle at bottom right, rgba(37, 99, 235, 0.1), transparent 26%),
    var(--bg);
}

.app-shell {
  width: min(960px, calc(100vw - 32px));
  margin: 0 auto;
  padding: 48px 0 56px;
}

.hero {
  margin-bottom: 24px;
}

.eyebrow {
  margin: 0 0 10px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--muted);
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 10px;
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 0.95;
}

.lede {
  max-width: 52ch;
  margin-bottom: 0;
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--muted);
}

.board {
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: rgba(255, 250, 244, 0.88);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.board-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.board-header h2 {
  margin-bottom: 0;
  font-size: 1.15rem;
}

.legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  color: var(--muted);
  font-size: 0.92rem;
}

.legend-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
}

.dot.todo {
  background: var(--todo);
}

.dot.progress {
  background: var(--progress);
}

.dot.done {
  background: var(--done);
}

.task-list {
  display: grid;
  gap: 14px;
}

.task-card {
  display: grid;
  gap: 10px;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--surface);
}

.task-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.task-title {
  margin: 0;
  font-size: 1.02rem;
}

.task-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
}

.badge.todo {
  color: #9a5a00;
  background: rgba(217, 119, 6, 0.12);
}

.badge.progress {
  color: #1d4ed8;
  background: rgba(37, 99, 235, 0.12);
}

.badge.done {
  color: #047857;
  background: rgba(5, 150, 105, 0.12);
}

.task-desc {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

@media (max-width: 720px) {
  .app-shell {
    width: min(100vw - 24px, 960px);
    padding-top: 24px;
  }

  .board {
    padding: 18px;
    border-radius: 20px;
  }

  .board-header {
    align-items: flex-start;
    flex-direction: column;
  }
}
