:root {
  color-scheme: light;
  font-family: "Microsoft YaHei", "PingFang SC", "Segoe UI", Arial, sans-serif;
  background: #fbfdfc;
  color: #24302d;
  --ink: #24302d;
  --muted: #6f7e79;
  --line: #dce9e4;
  --panel: #ffffff;
  --mint: #4aa79a;
  --mint-soft: #eef8f5;
  --rose: #ff7b6f;
  --gold: #d8ae5c;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    linear-gradient(135deg, rgba(238, 248, 245, 0.9), rgba(255, 249, 244, 0.85)),
    #fbfdfc;
}

.home-shell {
  width: min(960px, 100%);
  min-height: 100vh;
  display: grid;
  align-content: start;
  gap: 24px;
  margin: 0 auto;
  padding: clamp(28px, 7vw, 72px) clamp(16px, 4vw, 32px);
}

.intro {
  display: grid;
  gap: 10px;
}

.eyebrow {
  margin: 0;
  color: var(--mint);
  font-size: 14px;
  font-weight: 700;
}

h1 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(34px, 8vw, 64px);
  line-height: 1;
  letter-spacing: 0;
}

.summary {
  max-width: 540px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(15px, 2vw, 18px);
  line-height: 1.7;
}

.link-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
}

.tool-card {
  min-height: 116px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
  color: inherit;
  text-decoration: none;
  box-shadow: 0 10px 28px rgba(54, 92, 83, 0.08);
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.tool-card:hover,
.tool-card:focus-visible {
  transform: translateY(-2px);
  border-color: #b9dad2;
  box-shadow: 0 14px 34px rgba(54, 92, 83, 0.12);
  outline: none;
}

.card-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--mint-soft);
  color: var(--mint);
  font-size: 22px;
  font-weight: 800;
}

.calendar-card .card-mark {
  background: linear-gradient(135deg, #edf8f4, #fff5f3);
  color: #2f8d80;
}

.puzzle-card .card-mark {
  background: linear-gradient(135deg, #fff2f4, #fff8e7);
  color: #c96b7d;
}

.tomato-card .card-mark {
  background: linear-gradient(135deg, #fff0ec, #eef8e9);
  color: #bf3f32;
}

.sight-card .card-mark {
  background: linear-gradient(135deg, #e9f0f7, #eaf7ef);
  color: #315f8d;
}

.sight-card:hover,
.sight-card:focus-visible {
  border-color: #b6cee3;
}

.puzzle-card:hover,
.puzzle-card:focus-visible {
  border-color: #ecc8d0;
}

.tomato-card:hover,
.tomato-card:focus-visible {
  border-color: #efb6a8;
}

.card-copy {
  min-width: 0;
  display: grid;
  gap: 6px;
}

.card-title {
  color: var(--ink);
  font-size: 20px;
  font-weight: 800;
  line-height: 1.2;
}

.card-desc {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.card-action {
  padding: 7px 10px;
  border-radius: 999px;
  background: var(--mint-soft);
  color: #3b7f75;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

@media (max-width: 560px) {
  .home-shell {
    gap: 18px;
  }

  .tool-card {
    min-height: 104px;
    grid-template-columns: auto minmax(0, 1fr);
    padding: 14px;
  }

  .card-action {
    display: none;
  }
}
