.home-page {
  min-height: 100vh;
  background: radial-gradient(ellipse at 80% 30%, #2b2530, transparent 60%);
}
.home {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  align-items: center;
  gap: 20px clamp(24px, 5vw, 64px);
  padding-block: clamp(30px, 5vw, 62px) 48px;
  max-width: 990px;
}
.home-intro h1 {
  max-width: 19ch;
  font-size: clamp(2.1rem, 4.5vw, 2.85rem);
  letter-spacing: -.025em;
  text-wrap: balance;
}
.home-intro p { margin-top: 10px; max-width: 46ch; color: var(--muted); font-size: 1.05rem; }
.home-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; margin-top: 18px; }
.home-actions a, .home-study-header a { display: inline-flex; align-items: center; text-decoration: none; }
.home-actions .text-button { min-height: 44px; padding-inline: 3px; }
.home-study {
  width: min(100%, 392px);
  justify-self: center;
  padding: 12px;
  border: 1px solid var(--edge);
  border-radius: 12px;
  background: var(--surface);
}
.home-study-header { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 5px 10px; margin-bottom: 9px; }
.home-study-header h2 { font-size: .98rem; font-weight: 670; }
.home-study-header .secondary { min-height: 40px; padding: 6px 10px; font-size: .83rem; }
.home-study figure { margin: 0; }
.home-study figcaption {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 4px 12px;
  margin-top: 7px;
  color: var(--muted);
  font-size: .86rem;
}
.home-board {
  aspect-ratio: 1;
  display: grid;
  grid-template: repeat(8, minmax(0, 1fr)) / repeat(8, minmax(0, 1fr));
  border-radius: 5px;
  overflow: hidden;
  background: conic-gradient(var(--board-dark) 25%, var(--board-light) 0 50%, var(--board-dark) 0 75%, var(--board-light) 0) 0 0 / 25% 25%;
}
.home-board img { width: 100%; height: 100%; object-fit: contain; }

@media (max-width: 700px) {
  .home { grid-template-columns: minmax(0, 1fr); }
  .home-study { justify-self: start; }
  .home-study-header .secondary { min-height: 44px; }
}
