:root {
  --ground: #F6F5F1;
  --ink: #1A1A1A;
  --muted: #55524C;
  --line: #D9D6CF;
  --card: #FFFFFF;
  --overdue: #B42318;
  --today: #D8431F;
  --tomorrow: #E8750A;
  --soon: #C99A00;
  --later: #2F6B5A;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: 'Inter', -apple-system, system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.55;
}

.wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 24px;
}

header.site {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
}

.brand img { width: 36px; height: 36px; border-radius: 9px; }

.brand span {
  font-family: 'Luckiest Guy', cursive;
  font-size: 22px;
  letter-spacing: 0.5px;
}

nav.site a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  margin-left: 20px;
}

nav.site a:hover { color: var(--ink); }

.hero {
  text-align: center;
  padding: 48px 0 12px;
}

.hero h1 {
  font-family: 'Luckiest Guy', cursive;
  font-size: 56px;
  margin: 0 0 8px;
  letter-spacing: 0.5px;
}

.hero p.tagline {
  font-size: 20px;
  color: var(--muted);
  margin: 0 0 28px;
  font-weight: 500;
}

.hero img.hero-art {
  width: 220px;
  height: 220px;
  border-radius: 28px;
  margin: 0 0 28px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}

.cta {
  display: inline-block;
  background: var(--ink);
  color: #fff !important;
  text-decoration: none;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: 14px;
  font-size: 16px;
}

.cta-note {
  display: block;
  margin-top: 10px;
  font-size: 13px;
  color: var(--muted);
}

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 48px 0;
}

@media (max-width: 640px) {
  .features { grid-template-columns: 1fr; }
  .hero h1 { font-size: 42px; }
}

.feature {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px;
}

.feature .tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 3px 9px;
  border-radius: 999px;
  margin-bottom: 10px;
}

.tag.later { background: #E6EFEC; color: var(--later); }
.tag.soon { background: #FBF2D0; color: #7A5C00; }
.tag.overdue { background: #FCE4E1; color: #9A1D13; }

.feature h3 { margin: 0 0 6px; font-size: 17px; }
.feature p { margin: 0; color: var(--muted); font-size: 14.5px; }

section.panel {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 32px;
  margin: 24px 0;
}

h1.page-title {
  font-family: 'Luckiest Guy', cursive;
  font-size: 36px;
  margin: 40px 0 4px;
}

p.page-sub { color: var(--muted); margin: 0 0 28px; }

h2.section-h {
  font-size: 19px;
  margin: 28px 0 8px;
}

details.faq {
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
}

details.faq summary {
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

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

details.faq summary:before {
  content: '+';
  display: inline-block;
  width: 20px;
  color: var(--today);
  font-weight: 700;
}

details.faq[open] summary:before { content: '–'; }

details.faq p { margin: 10px 0 0 20px; color: var(--muted); }

a { color: var(--today); }

footer.site {
  text-align: center;
  color: var(--muted);
  font-size: 13px;
  padding: 40px 0 60px;
}

footer.site a { color: var(--muted); margin: 0 8px; }
