:root {
  --sand: #f6f1e8;
  --sun: #f7d47c;
  --clay: #d08963;
  --forest: #2f4d43;
  --moss: #7f9d76;
  --ink: #1f2a28;
  --card: #fffdf8;
  --line: #e9dfce;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Work Sans", "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 12%, #ffeec2 0, rgba(255, 238, 194, 0) 45%),
    radial-gradient(circle at 85% 0, #f2caa8 0, rgba(242, 202, 168, 0) 42%),
    linear-gradient(160deg, #faf4e8 0%, #f2e4d2 100%);
}

.sky-glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(
    120deg,
    rgba(255, 255, 255, 0.12),
    rgba(255, 255, 255, 0.12) 16px,
    rgba(255, 255, 255, 0) 16px,
    rgba(255, 255, 255, 0) 32px
  );
  opacity: 0.35;
}

.site-title,
.hero-title,
.section-title {
  font-family: "Fraunces", Georgia, serif;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  font-size: 0.78rem;
  color: var(--forest);
}

.site-title {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  color: var(--forest);
}

.today-chip {
  display: inline-flex;
  gap: 0.6rem;
  align-items: center;
  background: rgba(255, 253, 248, 0.75);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.45rem 0.9rem;
  font-weight: 600;
}

.today-chip .label {
  color: #5f6b67;
  font-size: 0.85rem;
}

.hero-card {
  border-radius: 1.4rem;
  background: linear-gradient(130deg, rgba(255, 250, 240, 0.95), rgba(251, 240, 223, 0.9));
  border: 1px solid #ecdcc3;
  box-shadow: 0 16px 36px rgba(68, 65, 47, 0.16);
}

.hero-title {
  font-size: clamp(1.6rem, 4vw, 2.5rem);
  color: #223a32;
}

.hero-text,
.section-note {
  color: #4a5753;
}

.btn-hill {
  background: var(--forest);
  color: #fff;
  border: none;
  border-radius: 999px;
  padding-inline: 1rem;
  font-weight: 600;
}

.btn-hill:hover {
  background: #243f36;
  color: #fff;
}

.btn-outline-hill {
  border: 1px solid var(--forest);
  color: var(--forest);
  border-radius: 999px;
  padding-inline: 1rem;
  font-weight: 600;
}

.btn-outline-hill:hover {
  background: rgba(47, 77, 67, 0.08);
  color: var(--forest);
}

.sun-panel {
  background: linear-gradient(170deg, var(--sun), #f2ba63);
  border-radius: 1rem;
  color: #2b2b2b;
}

.panel-title {
  font-weight: 700;
}

.shell {
  border: 1px solid var(--line);
  background: rgba(255, 253, 248, 0.9);
  border-radius: 1rem;
  box-shadow: 0 10px 24px rgba(82, 74, 55, 0.1);
}

.section-title {
  color: #213d35;
  font-size: 1.45rem;
}

.schedule-table th {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #54615e;
}

.schedule-table td {
  background: transparent;
}

.checklist {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.checklist li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.45rem 0;
}

.checklist label {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  cursor: pointer;
}

.board-note {
  border-left: 4px solid var(--clay);
  background: #fff6ea;
  border-radius: 0.5rem;
  padding: 0.7rem 0.8rem;
  margin-bottom: 0.7rem;
}

.rules li {
  padding: 0.3rem 0;
}

.footer-text {
  text-align: center;
  font-size: 0.92rem;
  color: #556561;
}

.reveal {
  animation: rise 520ms ease both;
}

.reveal:nth-child(2) {
  animation-delay: 90ms;
}

@keyframes rise {
  from {
    transform: translateY(10px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.dashboard-note {
  background: rgba(47, 77, 67, 0.08);
  border-left: 4px solid var(--forest);
  padding: 0.65rem 0.8rem;
  border-radius: 0.4rem;
  margin: 0;
}

.dashboard-input {
  border-radius: 0.75rem;
  border: 1px solid var(--line);
  background: #fffdfa;
}

.dashboard-input:focus {
  border-color: #9fb6ad;
  box-shadow: 0 0 0 0.2rem rgba(47, 77, 67, 0.12);
}

#weeklyTable td[contenteditable="true"] {
  border-bottom: 1px dashed #d8c8ab;
  min-width: 8rem;
}

#weeklyTable td[contenteditable="true"]:focus {
  outline: 2px solid rgba(47, 77, 67, 0.2);
  outline-offset: -2px;
  background: #fffaf0;
}

.dashboard-status {
  min-height: 1.5rem;
  color: #325046;
  font-weight: 600;
}

@media (max-width: 768px) {
  .hero-card,
  .shell {
    border-radius: 0.9rem;
  }

  .site-title {
    max-width: 18ch;
  }
}

.dashboard-meta {
  min-height: 1.5rem;
  color: #4e5f5a;
  font-size: 0.92rem;
}

.today-divider {
  color: #7b8884;
  font-size: 0.85rem;
}
