:root {
  --bg: #f7f1e8;
  --bg-soft: #fffaf3;
  --card: rgba(255, 250, 243, 0.88);
  --line: rgba(91, 66, 44, 0.12);
  --text: #2f241c;
  --muted: #725c49;
  --accent: #d6693c;
  --accent-strong: #b84a1f;
  --accent-soft: #ffd8c7;
  --mint: #b8dbc7;
  --gold: #f3c96f;
  --shadow: 0 20px 50px rgba(91, 66, 44, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(243, 201, 111, 0.55), transparent 28%),
    radial-gradient(circle at top right, rgba(184, 219, 199, 0.6), transparent 24%),
    linear-gradient(180deg, #fcf7ef 0%, var(--bg) 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.24) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.22) 1px, transparent 1px);
  background-size: 34px 34px;
  pointer-events: none;
  opacity: 0.4;
}

.page-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 32px 0 56px;
  position: relative;
}

.hero {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
  align-items: center;
  margin-bottom: 24px;
}

.hero__copy,
.status-panel,
.checklist-section details {
  background: var(--card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.hero__copy {
  border-radius: 32px;
  padding: 32px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent-strong);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.hero__text {
  margin: 18px 0 0;
  max-width: 52ch;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.65;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  border: 0;
  border-radius: 999px;
  padding: 14px 20px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button--primary {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-strong) 100%);
  color: #fff;
  box-shadow: 0 12px 24px rgba(214, 105, 60, 0.28);
}

.button--secondary {
  background: linear-gradient(135deg, #2f6f68 0%, #4b9d8a 100%);
  color: #fff;
  box-shadow: 0 12px 24px rgba(75, 157, 138, 0.24);
}

.button--ghost {
  background: rgba(255, 255, 255, 0.68);
  color: var(--text);
  border: 1px solid var(--line);
}

.hero__art {
  min-height: 320px;
  position: relative;
}

.art-card {
  position: absolute;
  border-radius: 32px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.45);
  overflow: hidden;
}

.art-card::before,
.art-card::after {
  content: "";
  position: absolute;
}

.art-card--sun {
  inset: 0 10% 10% 0;
  background:
    radial-gradient(circle at 72% 24%, rgba(255, 239, 181, 0.95), rgba(255, 239, 181, 0) 16%),
    linear-gradient(180deg, #f7d97c 0%, #f0a85d 100%);
}

.art-card--sun::before {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  top: 26px;
  right: 34px;
  background: rgba(255, 248, 219, 0.75);
}

.art-card--room {
  inset: 18% 24% 0 12%;
  background:
    linear-gradient(180deg, #fff7ed 0 44%, #dba87a 44% 46%, #b97a4f 46% 100%);
}

.art-card--room::before {
  inset: 18% 14% 24%;
  border-radius: 22px 22px 8px 8px;
  background:
    linear-gradient(90deg, #c9e4e4 0 18%, #fff7ed 18% 82%, #c9e4e4 82% 100%);
  box-shadow:
    inset 0 -50px #f0d6be,
    inset 0 -92px #d78959;
}

.art-card--room::after {
  width: 120px;
  height: 60px;
  left: 50%;
  bottom: 48px;
  transform: translateX(-50%);
  border-radius: 999px 999px 16px 16px;
  background: #fff3db;
  box-shadow:
    -70px -14px 0 -12px #7db39d,
    70px -12px 0 -10px #d86f47;
}

.art-card--spark {
  width: 110px;
  height: 110px;
  right: 0;
  top: 14px;
  background:
    radial-gradient(circle, rgba(255, 255, 255, 0.96) 0 24%, transparent 25%),
    conic-gradient(from 0deg, #fff5bf, #ffd7a2, #ffd1d1, #fff5bf);
  animation: drift 3.6s ease-in-out infinite;
}

.art-card--spark::before {
  inset: 12px;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.3);
}

.status-panel {
  border-radius: 28px;
  padding: 22px 24px;
  display: grid;
  gap: 12px;
  margin-bottom: 22px;
}

.status-panel__label,
.status-panel__hint {
  margin: 0;
  color: var(--muted);
}

.status-panel__value {
  margin: 4px 0 0;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.04em;
}

.progress {
  width: 100%;
  height: 14px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 999px;
  overflow: hidden;
}

.progress__bar {
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--mint), var(--accent), var(--gold));
  transition: width 220ms ease;
}

.checklist-grid {
  display: grid;
  gap: 18px;
}

.checklist-section details {
  border-radius: 28px;
  padding: 8px 20px 20px;
}

.checklist-section summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  padding: 18px 2px 14px;
}

.checklist-section summary::-webkit-details-marker {
  display: none;
}

.section-heading {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.section-icon {
  width: 54px;
  height: 54px;
  display: inline-grid;
  place-items: center;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(255, 216, 199, 0.88), rgba(243, 201, 111, 0.8));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
  overflow: hidden;
}

.section-icon__image {
  width: 34px;
  height: 34px;
  display: block;
}

.section-title {
  display: block;
  font-size: 1.15rem;
  font-weight: 800;
}

.section-subtitle,
.section-progress {
  color: var(--muted);
  font-size: 0.95rem;
}

.section-visual {
  margin: 4px 0 18px;
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow: 0 16px 32px rgba(91, 66, 44, 0.12);
  background:
    linear-gradient(135deg, rgba(255, 248, 237, 0.92), rgba(255, 233, 213, 0.72));
}

.section-visual::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 45%;
  background: linear-gradient(180deg, rgba(47, 36, 28, 0), rgba(47, 36, 28, 0.1));
  pointer-events: none;
}

.section-visual__image {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 7;
  object-fit: cover;
}

.tasks {
  display: grid;
  gap: 12px;
}

.task-item {
  display: grid;
  grid-template-columns: 24px 24px minmax(max-content, 1fr);
  gap: 14px;
  align-items: start;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(91, 66, 44, 0.08);
  border-radius: 20px;
  padding: 14px 16px;
  cursor: pointer;
  overflow-x: auto;
  overflow-y: hidden;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background 160ms ease;
}

.task-item:hover {
  transform: translateY(-1px);
  border-color: rgba(214, 105, 60, 0.2);
}

.task-checkbox {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.task-item__box {
  width: 24px;
  height: 24px;
  margin-top: 2px;
  border-radius: 8px;
  border: 2px solid rgba(114, 92, 73, 0.32);
  background: #fff;
  position: relative;
  transition:
    background 160ms ease,
    border-color 160ms ease,
    transform 160ms ease;
}

.task-item__box::after {
  content: "";
  position: absolute;
  left: 7px;
  top: 2px;
  width: 6px;
  height: 12px;
  border-right: 3px solid #fff;
  border-bottom: 3px solid #fff;
  transform: rotate(45deg) scale(0.2);
  opacity: 0;
  transition: transform 160ms ease, opacity 160ms ease;
}

.task-item__text {
  color: var(--text);
  line-height: 1.52;
  display: block;
  white-space: nowrap;
  min-width: max-content;
}

.task-checkbox:checked + .task-item__box {
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  border-color: transparent;
  transform: scale(1.04);
}

.task-checkbox:checked + .task-item__box::after {
  transform: rotate(45deg) scale(1);
  opacity: 1;
}

.task-checkbox:checked ~ .task-item__text {
  color: rgba(47, 36, 28, 0.58);
  text-decoration: line-through;
  text-decoration-thickness: 2px;
}

@keyframes drift {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(8px) rotate(5deg);
  }
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .hero__art {
    min-height: 240px;
  }
}

@media (max-width: 640px) {
  .page-shell {
    width: min(100% - 20px, 100%);
    padding-top: 20px;
  }

  .hero__copy,
  .status-panel,
  .checklist-section details {
    border-radius: 24px;
  }

  .hero__copy {
    padding: 24px;
  }

  .checklist-section details {
    padding-left: 16px;
    padding-right: 16px;
  }

  .checklist-section summary {
    align-items: start;
    flex-direction: column;
  }

  .section-visual__image {
    aspect-ratio: 16 / 9;
  }

  .task-item {
    grid-template-columns: 24px 24px 1fr;
    padding: 14px;
  }
}
