.contents .home-lead,
.contents .home-layers,
.contents .home-layers__cell,
.contents .home-plans,
.contents .home-plans__card,
.contents .home-eval,
.contents .home-docs,
.contents .home-docs__cell {
  box-sizing: border-box;
  min-width: 0;
  max-width: 100%;
}

.contents .home-lead p,
.contents .home-layers p,
.contents .home-plans p,
.contents .home-eval p,
.contents .home-docs p,
.contents p.home-eval__mail-row,
.contents p.home-plans__more,
.contents p.home-group {
  margin-top: 0;
  margin-bottom: 0;
}

.contents .home-lead {
  width: 100%;
  margin: 0.15rem 0 1.85rem;
}

.contents .home-lead__title {
  max-width: 38rem;
  font-size: 1.45rem;
  font-weight: 500;
  line-height: 1.3;
  color: #F2F2F2;
}

.contents .home-lead__text {
  max-width: 40rem;
  margin-top: 0.7rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.55;
  color: #C6C6C6;
}

.contents .home-lead__meta {
  max-width: 44rem;
  margin-top: 0.85rem;
  font-size: 0.8rem;
  font-weight: 400;
  line-height: 1.55;
  color: #8A8A8A;
}

.contents .home-layers,
.contents .home-plans,
.contents .home-docs {
  width: 100%;
  margin-left: 0;
  margin-right: 0;
}

.contents .home-layers,
.contents .home-docs {
  display: grid;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  overflow: hidden;
  background: #161616;
}

.contents .home-layers { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-bottom: 2rem; }
.contents .home-docs { grid-template-columns: 1fr 1fr; margin-top: 1rem; }

.contents .home-layers__cell,
.contents .home-docs__cell {
  padding: 1.2rem 1.3rem 0.85rem;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.contents .home-layers__cell:nth-child(3n) { border-right: 0; }
.contents .home-layers__cell:nth-child(n+4) { border-bottom: 0; }
.contents .home-docs__cell:nth-child(2n) { border-right: 0; }
.contents .home-docs__cell:nth-child(n+3) { border-bottom: 0; }

.contents .home-layers__name,
.contents .home-plans__name,
.contents p.home-group {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  line-height: 1.3;
  color: #D0D0D0;
}

.contents p.home-group { color: #8A8A8A; }

.contents .home-layers__item,
.contents .home-plans__item {
  padding: 0.48rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.92rem;
  font-weight: 400;
  line-height: 1.35;
  color: #E6E6E6;
}

.contents .home-layers__name + .home-layers__item { margin-top: 0.85rem; }

.contents .home-eval { width: 100%; margin: 0; }

.contents h2.home-eval__title,
.contents h2.home-section {
  margin: 0 0 0.7rem;
  padding: 0 0 0.55rem;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 1.35rem;
  font-weight: 500;
  line-height: 1.3;
  color: #F2F2F2;
}

.contents h2.home-section { margin-top: 0.4rem; }

.contents .home-eval__lead {
  max-width: 40rem;
  font-size: 0.95rem;
  font-weight: 400;
  line-height: 1.5;
  color: #B0B0B0;
}

.contents .home-plans {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 1.25rem;
  margin-bottom: 0;
}

.contents .home-plans__card {
  display: flex;
  flex-direction: column;
  padding: 1.45rem 1.45rem 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  background: #161616;
}

.contents .home-plans__card--ent { border-color: #786D0A; }
.contents .home-plans__card--ent .home-plans__name { color: #E6D48A; }

.contents .home-plans__lead {
  margin-top: 0.75rem;
  font-size: 1.2rem;
  font-weight: 400;
  line-height: 1.35;
  color: #F2F2F2;
}

.contents .home-plans__text {
  margin-top: 0.5rem;
  font-size: 0.88rem;
  font-weight: 400;
  line-height: 1.5;
  color: #9A9A9A;
}

.contents .home-plans__text + .home-plans__item { margin-top: 1rem; }

.contents p.home-eval__mail-row { margin: 1.15rem 0 0; text-align: center; }

.contents a.home-eval__mail,
.contents a.home-eval__mail:hover,
.contents a.home-eval__mail:visited {
  color: #E6D48A !important;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.3;
  text-decoration: none;
}

.contents a.home-eval__mail .home-eval__cta {
  margin-right: 0.85rem;
  color: #F2F2F2 !important;
}

.contents a.home-eval__mail:hover { color: #F3E7B8 !important; }
.contents a.home-eval__mail:hover .home-eval__cta { color: #FFFFFF !important; }

.contents p.home-plans__more { margin: 0.35rem 0 2.25rem; text-align: center; }

.contents p.home-plans__more a,
.contents p.home-plans__more a:hover,
.contents p.home-plans__more a:visited {
  color: #8A8A8A !important;
  font-size: 0.75rem;
  font-weight: 400;
  line-height: 1.4;
  text-decoration: none;
}

.contents p.home-plans__more a:hover { color: #B0B0B0 !important; }

.contents .home-group + a.home-docs__link { margin-top: 0.55rem; }

.contents a.home-docs__link,
.contents a.home-docs__link:visited {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.62rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: #E8E8E8 !important;
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.35;
  text-decoration: none;
}

.contents a.home-docs__link::after {
  content: "→";
  flex: 0 0 auto;
  color: #6E6E6E;
}

.contents a.home-docs__link:hover {
  color: #F5F5F5 !important;
  text-decoration: none;
}

.contents a.home-docs__link:hover::after { color: #E6D48A; }

@media (max-width: 782px) {
  .contents .home-layers,
  .contents .home-plans,
  .contents .home-docs { grid-template-columns: 1fr; }
  .contents .home-layers__cell,
  .contents .home-docs__cell { border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
  .contents .home-layers__cell:last-child,
  .contents .home-docs__cell:last-child { border-bottom: 0; }
}
