.page-home {
  --study-paper: #f6f9f7;
  --study-ink: #173634;
  --study-rule: #c8dacf;
  --study-mint: #e4f2ea;
  background: var(--study-paper);
}
.page-home .site-header { align-items: center; }
.page-home .site-nav { min-width: 0; }
.page-home .home { width: min(1120px, 100%); }
.page-home .hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .9fr);
  gap: clamp(20px, 6vw, 72px);
  align-items: center;
  padding: clamp(24px, 5vw, 54px);
  border: 1px solid var(--study-rule);
  border-radius: 20px;
  background: #fff;
  box-shadow: none;
}
.page-home .hero h1 {
  font-size: clamp(36px, 5.9vw, 68px);
  line-height: 1.14;
  color: var(--study-ink);
}
.page-home .hero .eyebrow { color: var(--brand-strong); font-size: 1rem; }
.page-home .hero .lede { font-size: 1.0625rem; max-width: 34ch; }
.page-home .hero-actions { display: flex; flex-wrap: wrap; align-items: center; }
.page-home .hero-art {
  display: block;
  min-width: 0;
  border: 0;
  padding: 0;
  background: transparent;
  text-align: left;
}
.page-home .hero-art[hidden] { display: none; }
.page-home .hero.hero-single { grid-template-columns: 1fr; }
.map-example {
  padding: clamp(20px, 4vw, 36px);
  min-height: 100%;
  color: #f4fffa;
  background: #174640;
  border-radius: 16px;
}
.map-label { font-weight: 700; font-size: 1rem; }
.map-example ol {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  border-left: 1px solid #6a9c8b;
}
.map-example li {
  display: grid;
  gap: 2px;
  position: relative;
  margin: 0 0 18px;
  padding-inline-start: 20px;
}
.map-example li:last-child { margin-bottom: 0; }
.map-example li::before {
  content: "";
  position: absolute;
  left: -5px;
  top: 8px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #ccead4;
}
.map-example li span { color: #ccead4; font-size: .9rem; }
.map-example li strong { font-size: 1.17rem; }
.page-home .study-heading { margin-top: 32px; font-size: 1.5rem; }
.page-home .subject-pills { align-items: start; margin-top: 10px; }
.page-home .pill-row {
  display: grid;
  grid-template-columns: repeat(10, minmax(0, 1fr));
  overflow: visible;
  padding: 0;
}
.page-home .pill-row .pill { justify-content: center; padding-inline: 4px; }
.page-home .pill, .page-home .pill-more { min-height: 44px; }
.study-tools { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.page-home .study-tools .entry-card { margin: 0; min-width: 0; align-content: start; }
.device-help {
  margin: 28px 0 18px;
  padding: 12px 18px;
  border: 1px solid var(--study-rule);
  border-radius: 12px;
  background: var(--study-mint);
  color: var(--study-ink);
}
.device-help summary {
  display: list-item;
  min-height: 44px;
  align-content: center;
  font-weight: 700;
  cursor: pointer;
}
.device-help p { max-width: 70ch; margin: 8px 0 14px; }
.page-home :focus-visible { outline: 3px solid #b05527; outline-offset: 3px; }

@media (max-width: 870px) {
  .page-home .pill-row { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  .page-home .hero { grid-template-columns: 1fr; }
  .page-home .hero h1 br { display: none; }
  .page-home .hero-art { max-width: none; }
  .map-example ol { margin-top: 12px; }
  .map-example li { margin-bottom: 10px; }
  .study-tools { grid-template-columns: 1fr; }
}
@media (prefers-color-scheme: dark) {
  .page-home { --study-paper: #172220; --study-ink: #e4f7ed; --study-rule: #466358; --study-mint: #253f37; }
  .page-home .hero { background: #232f2b; }
}
