:root {
  --paper: #fff9eb;
  --ink: #172033;
  --muted: #5e6879;
  --line: rgba(23, 32, 51, 0.16);
  --red: #ef4f4f;
  --blue: #2478ff;
  --sky: #55c8ff;
  --yellow: #ffd166;
  --green: #3ccf91;
  --pink: #ff7bb8;
  --body: "Noto Sans SC", "PingFang SC", sans-serif;
  --round: "Baloo 2", "Noto Sans SC", sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: var(--body);
  background:
    linear-gradient(rgba(23, 32, 51, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 32, 51, 0.04) 1px, transparent 1px),
    linear-gradient(135deg, #fffdf5 0%, #f2fbff 48%, #fff3cf 100%);
  background-size: 34px 34px, 34px 34px, auto;
}

a { color: inherit; }

.home-shell {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: clamp(36px, 8vw, 86px) 0 56px;
}

.hero {
  display: grid;
  gap: 16px;
  max-width: 820px;
  margin-bottom: 34px;
}

.eyebrow {
  width: fit-content;
  margin: 0;
  padding: 8px 13px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--yellow);
  font: 800 15px/1 var(--round);
}

h1,
h2,
p {
  margin: 0;
}

h1,
h2 {
  font-family: var(--round);
  letter-spacing: 0;
}

h1 {
  max-width: 760px;
  font-size: clamp(48px, 8vw, 96px);
  line-height: 0.96;
}

.intro {
  max-width: 680px;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 23px);
  line-height: 1.55;
  font-weight: 700;
}

.board-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 26px;
}

.board-card {
  min-height: 320px;
  display: grid;
  align-content: space-between;
  gap: 24px;
  padding: 24px;
  border: 4px solid var(--ink);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 8px 8px 0 rgba(23, 32, 51, 0.12);
  text-decoration: none;
}

.board-card.spider {
  background: linear-gradient(135deg, #fff4cf, #eaf8ff);
}

.board-card.pending {
  background: linear-gradient(135deg, #e8fff5, #fff4cf);
}

.board-art {
  position: relative;
  min-height: 164px;
  border: 3px solid var(--ink);
  border-radius: 16px;
  background: #fff;
  overflow: hidden;
}

.board-art::before,
.board-art::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 86%;
  height: 3px;
  border-radius: 999px;
  background: rgba(36, 120, 255, 0.28);
  transform: translate(-50%, -50%) rotate(28deg);
}

.board-art::after {
  transform: translate(-50%, -50%) rotate(-28deg);
}

.board-art i {
  position: absolute;
  width: 50px;
  height: 50px;
  border: 3px solid var(--ink);
  border-radius: 16px;
  background: var(--red);
}

.board-art i:nth-child(1) { left: 12%; top: 18%; background: var(--red); }
.board-art i:nth-child(2) { right: 15%; top: 18%; background: var(--blue); }
.board-art i:nth-child(3) { left: 28%; bottom: 16%; background: var(--yellow); }
.board-art i:nth-child(4) { right: 28%; bottom: 16%; background: var(--pink); }

.board-art.badge {
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, #eaf8ff, #fff);
}

.board-art.badge::before,
.board-art.badge::after {
  width: 0;
  height: 0;
}

.board-art.badge i {
  position: static;
  width: 82px;
  height: 82px;
  border-radius: 26px 26px 34px 34px;
}

.board-art.badge i:nth-child(1) { background: var(--blue); transform: translate(28px, 22px) rotate(12deg); }
.board-art.badge i:nth-child(2) { background: var(--yellow); transform: translate(-34px, -14px) rotate(-10deg); }
.board-art.badge i:nth-child(3) { background: var(--green); transform: translate(22px, -42px) rotate(8deg); }

.board-meta {
  display: grid;
  gap: 8px;
}

.board-meta strong {
  font: 800 clamp(27px, 3vw, 38px)/1 var(--round);
}

.board-meta small {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.45;
  font-weight: 800;
}

.structure-note {
  display: grid;
  gap: 10px;
  padding: 22px;
  border: 3px solid var(--ink);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.86);
}

.structure-note h2 {
  font-size: 28px;
  line-height: 1;
}

.structure-note p {
  color: var(--muted);
  font-weight: 700;
  line-height: 1.6;
}

code {
  padding: 2px 6px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  font-size: 0.95em;
}

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

  .board-card {
    min-height: 280px;
    border-width: 3px;
    border-radius: 18px;
    box-shadow: 5px 5px 0 rgba(23, 32, 51, 0.12);
  }
}
